Guest User

Untitled

a guest
Jun 24th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. contract Storage {
  2. function getWeight() public view returns(uint8);
  3. function setWeight(uint8 weight) public view returns(bool);
  4. }
  5.  
  6. contract Reader {
  7. Storage private storage;
  8. constructor(address storageAddress) {
  9. storage = Storage(storageAddress);
  10. }
  11. }
Add Comment
Please, Sign In to add comment