Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. function Enquiry (address _address) returns (bool flag) {
  2.  
  3. event itemsListDisplay (bytes32 itemId, bytes32 itemDescription, bytes32 auctionStatus);
  4.  
  5.  
  6. if (approvedParticipantsList[_address].isValue) {
  7.  
  8. uint len = itemsList.keys.length;
  9.  
  10. for (uint i = 0; i < len; i++) {
  11.  
  12. bytes32 myItemId = itemsList.keys[i].itemId;
  13. bytes32 myItemDescription = itemsList.keys[i].itemDescription;
  14. bytes32 myAuctionStatus = itemsList.keys[i].auctionStatus;
  15.  
  16. itemsListDisplay(myItemId, myItemDescription, myAuctionStatus);
  17.  
  18.  
  19. }
  20.  
  21.  
  22.  
  23. return true;
  24.  
  25. }
  26.  
  27. return false;
  28.  
  29. }
  30.  
  31. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement