Guest User

Untitled

a guest
Jan 18th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. struct Item {
  2. uint256 amt;
  3. bool isActive;
  4. address owner;
  5. }
  6. Item[] public items;
  7. function createItem(uint amt) returns(uint a){
  8. items.push(Item({
  9. ...
  10. }))
  11. return (items.length);
  12. }
Add Comment
Please, Sign In to add comment