Skip to content

Instantly share code, notes, and snippets.

@brynbellomy
Last active June 29, 2017 19:51
Show Gist options
  • Select an option

  • Save brynbellomy/763d4bc71f1e1ab03e2e29f6fbefedc0 to your computer and use it in GitHub Desktop.

Select an option

Save brynbellomy/763d4bc71f1e1ab03e2e29f6fbefedc0 to your computer and use it in GitHub Desktop.
medium-auction-contract-1.sol
contract Auction {
function placeBid() returns (bool success) {}
function withdraw() returns (bool success) {}
function cancelAuction() returns (bool success) {}
event LogBid(address bidder, uint bid, address highestBidder, uint highestBid, uint highestBindingBid);
event LogWithdrawal(address withdrawer, address withdrawalAccount, uint amount);
event LogCanceled();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment