daily pastebin goal
48%
SHARE
TWEET

Untitled

a guest Nov 24th, 2017 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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;
RAW Paste Data
Top