Guest User

Untitled

a guest
Nov 24th, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. function bid(uint256 _userCode, uint256 _amount) public {
  2. assert(_userCode> 0);
  3. assert(_amount> 0);
  4.  
  5. winningBid.userCode= _userCode;
  6. winningBid.amount= _amount;
  7.  
  8. var bidData= Bid(_userCode, _amount);
  9. bids.push(bidData);
  10. }
  11.  
  12. var result = bidFunction.SendTransactionAndWaitForReceiptAsync(address, gas, balance, null, userCode, amount).Result;
Add Comment
Please, Sign In to add comment