Open auction

Contract purpose

The very idea of this auction is that during a set period of time, anyone can send their bids. If a bid that is greater than the previous one is sent, then the previous bid is returned to the bidder. Once the time is up, the contract must be manually activated for the beneficiary to receive the greatest bid. (contracts cannot activate themselves)


beneficiaryAddress: the reciepient/beneficiary address
biddingTime: time to end the bid; the bid starts from the present moment plus the bid time

Exposed methods

auctionClose gets the end of the auction
bid set a new bid
withdraw withdraw a bid with that was overbid. the value is the sum of pending returns
beneficiaryAddress gets the beneficiary address
topBid gets the highest bid
topBidder gets the highest bidder

Reviewed by Modex
Buy Contract Test Contract

Create an account or login to purchase this smart contract