0 txs
0 calls
constructor
constructor(address _st, uint256 _timeBuffer, uint256 _reservePrice, uint8 _minBidIncrementPercentage, uint256 _minStackedBidIncrement, uint256 _startTime, uint256 _endTime)
functions
activeBids
viewfunction activeBids(uint256) view returns (address bidder, uint192 amount, uint64 bidTime)
auctionSettled
viewfunction auctionSettled() view returns (bool)
bidIndexes
viewfunction bidIndexes(address) view returns (uint8 index, bool isSet)
endTime
viewfunction endTime() view returns (uint256)
getAllActiveBids
viewfunction getAllActiveBids() view returns (tuple[8])
getBidIndexToUpdate
viewfunction getBidIndexToUpdate() view returns (uint8)
MAX_NUM_BIDS
viewfunction MAX_NUM_BIDS() view returns (uint256)
minBidIncrementPercentage
viewfunction minBidIncrementPercentage() view returns (uint8)
minStackedBidIncrement
viewfunction minStackedBidIncrement() view returns (uint256)
owner
viewfunction owner() view returns (address)
reservePrice
viewfunction reservePrice() view returns (uint256)
st
viewfunction st() view returns (address)
startTime
viewfunction startTime() view returns (uint256)
timeBuffer
viewfunction timeBuffer() view returns (uint256)
bid
payablefunction bid() payable
renounceOwnership
nonpayablefunction renounceOwnership()
setAuctionTimes
nonpayablefunction setAuctionTimes(uint256 _startTime, uint256 _endTime)
setMinBidIncrementPercentage
nonpayablefunction setMinBidIncrementPercentage(uint8 _minBidIncrementPercentage)
setMinReplacementIncrease
nonpayablefunction setMinReplacementIncrease(uint256 _minStackedBidIncrement)
setReservePrice
nonpayablefunction setReservePrice(uint256 _reservePrice)
setTimeBuffer
nonpayablefunction setTimeBuffer(uint256 _timeBuffer)
settleAuction
nonpayablefunction settleAuction(tuple[8] sortedBids)
transferOwnership
nonpayablefunction transferOwnership(address newOwner)
withdraw
nonpayablefunction withdraw()
events
AuctionExtended
event AuctionExtended()
BidIncreased
event BidIncreased(address bidder, uint256 oldValue, uint256 increment)
NewBid
event NewBid(address bidder, uint256 value)
OwnershipTransferred
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
errors
AuctionNotInitialized
error AuctionNotInitialized()
AuctionNotLive
error AuctionNotLive()
AuctionSettled
error AuctionSettled()
AuctionStillLive
error AuctionStillLive()
BidIncrementTooLow
error BidIncrementTooLow()
BidsNotSorted
error BidsNotSorted()
IncrementalPriceNotMet
error IncrementalPriceNotMet()
NonExistentBid
error NonExistentBid()
NotEOA
error NotEOA()
ReservePriceNotMet
error ReservePriceNotMet()
WithdrawFailed
error WithdrawFailed()
creation bytecode
0x608060405234801561001057600080fd5b5060405161174a38038061174a83398101604081905261002f916100db565b6100383361008b565b60018055600280546001600160a01b0319166001600160a01b0398909816979097179096556003949094556004929092556005805460ff191660ff92909216919091179055600655600755600855610158565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600080600080600080600060e0888a0312156100f657600080fd5b87516001600160a01b038116811461010d57600080fd5b809750506020880151955060408801519450606088015160ff8116811461013357600080fd5b809450506080880151925060a0880151915060c0880151905092959891949750929550565b6115e3806101676000396000f3fe60806040526004361061018b5760003560e01c806378e97925116100d6578063ce9c7c0d1161007f578063db2e1eed11610059578063db2e1eed1461047a578063ec91f2a414610490578063f2fde38b146104a657600080fd5b8063ce9c7c0d146103de578063d3e761a4146103fe578063d8f81b351461042857600080fd5b8063b1fdec6a116100b0578063b1fdec6a14610388578063b296024d146103af578063ba980f32146103c957600080fd5b806378e97925146103345780638da5cb5b1461034a5780639f1b2fc11461036857600080fd5b80633ccfd60b116101385780637120334b116101125780637120334b146102c7578063715018a6146102e757806373f0cc2d146102fc57600080fd5b80633ccfd60b1461023b57806358b8bad614610250578063672b07741461027057600080fd5b8063294bc0e711610169578063294bc0e7146101e35780633197cbb61461020557806336ebdb381461021b57600080fd5b806309f981af1461019057806316617c0a146101b95780631998aeef146101db575b600080fd5b34801561019c57600080fd5b506101a660065481565b6040519081526020015b60405180910390f35b3480156101c557600080fd5b506101d96101d4366004611362565b6104c6565b005b6101d9610876565b3480156101ef57600080fd5b506101f8610d55565b6040516101b0919061138d565b34801561021157600080fd5b506101a660085481565b34801561022757600080fd5b506101d96102363660046113f4565b610dde565b34801561024757600080fd5b506101d9610e3c565b34801561025c57600080fd5b506101d961026b36600461141e565b610eb3565b34801561027c57600080fd5b5061029061028b36600461141e565b610f00565b604080516001600160a01b0390941684526001600160c01b03909216602084015267ffffffffffffffff16908201526060016101b0565b3480156102d357600080fd5b506101d96102e236600461141e565b610f48565b3480156102f357600080fd5b506101d9610f95565b34801561030857600080fd5b5060025461031c906001600160a01b031681565b6040516001600160a01b0390911681526020016101b0565b34801561034057600080fd5b506101a660075481565b34801561035657600080fd5b506000546001600160a01b031661031c565b34801561037457600080fd5b506101d9610383366004611437565b610fe9565b34801561039457600080fd5b5061039d61103c565b60405160ff90911681526020016101b0565b3480156103bb57600080fd5b5060055461039d9060ff1681565b3480156103d557600080fd5b506101a6600881565b3480156103ea57600080fd5b506101d96103f936600461141e565b611142565b34801561040a57600080fd5b506009546104189060ff1681565b60405190151581526020016101b0565b34801561043457600080fd5b50610461610443366004611475565b601a6020526000908152604090205460ff8082169161010090041682565b6040805160ff90931683529015156020830152016101b0565b34801561048657600080fd5b506101a660045481565b34801561049c57600080fd5b506101a660035481565b3480156104b257600080fd5b506101d96104c1366004611475565b61118f565b6000546001600160a01b031633146105135760405162461bcd60e51b8152602060048201819052602482015260008051602061158e83398151915260448201526064015b60405180910390fd5b6002600154036105655760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161050a565b6002600155600854421161058c5760405163139480c760e31b815260040160405180910390fd5b60095460ff16156105b057604051637d39d27f60e11b815260040160405180910390fd5b60005b600881101561079e5760008282600881106105d0576105d0611490565b606002018036038101906105e491906114a6565b80516001600160a01b03166000908152601a602090815260409182902082518084019093525460ff808216845261010090910416158015918301919091529192509080610665575081600001516001600160a01b0316600a826000015160ff166008811061065457610654611490565b60020201546001600160a01b031614155b806106a7575081602001516001600160c01b0316600a826000015160ff166008811061069357610693611490565b60020201600101546001600160c01b031614155b806106ff5750816040015167ffffffffffffffff16600a826000015160ff16600881106106d6576106d6611490565b6002020160010160189054906101000a900467ffffffffffffffff1667ffffffffffffffff1614155b1561071d57604051632b0e0d1760e01b815260040160405180910390fd5b82156107945760008461073160018661153d565b6008811061074157610741611490565b6060020180360381019061075591906114a6565b905080602001516001600160c01b031683602001516001600160c01b0316111561079257604051630b149fe560e01b815260040160405180910390fd5b505b50506001016105b3565b5060005b6008811015610860576002546001600160a01b0316636a6278428383600881106107ce576107ce611490565b6060020160000160208101906107e49190611475565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e084901b1681526001600160a01b039091166004820152602401600060405180830381600087803b15801561083d57600080fd5b505af1158015610851573d6000803e3d6000fd5b505050508060010190506107a2565b50506009805460ff191660019081179091558055565b6002600154036108c85760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161050a565b60026001553233146108ed57604051635d04968b60e11b815260040160405180910390fd5b60095460ff161561091157604051637d39d27f60e11b815260040160405180910390fd5b60075415806109205750600854155b1561093e576040516301a7194b60e51b815260040160405180910390fd5b60075442108061094f575060085442115b1561096d576040516358fd8d1160e01b815260040160405180910390fd5b336000908152601a602090815260409182902082518084019093525460ff80821684526101009091041615801591830191909152610ae2576006543410806109b3575034155b156109d157604051630ec4b5eb60e31b815260040160405180910390fd5b6000600a826000015160ff16600881106109ed576109ed611490565b6002020160010160009054906101000a90046001600160c01b03169050348101600a836000015160ff1660088110610a2757610a27611490565b6002020160010160006101000a8154816001600160c01b0302191690836001600160c01b0316021790555042600a836000015160ff1660088110610a6d57610a6d611490565b6002020160010180546001600160c01b03908116600160c01b67ffffffffffffffff94909416939093029290921790556040805133815291831660208301523482820152517fabdd90c2558a13a111c790b3e52da9a52768834a1139e2993b68b6db09c071c59181900360600190a150610d05565b600454341080610af0575034155b15610b0e576040516379bb5b6160e01b815260040160405180910390fd5b6000610b1861103c565b90506000600a8260ff1660088110610b3257610b32611490565b60020201600101546001600160c01b031690506000600a60ff841660088110610b5d57610b5d611490565b60020201546005546001600160a01b03909116915060649060ff168302048201341015610b9d57604051632b5bd98760e11b815260040160405180910390fd5b6001600160a01b03811615610bd9576001600160a01b0381166000908152601a60205260409020805461ffff19169055610bd78183611245565b505b6040518060600160405280336001600160a01b03168152602001346001600160c01b031681526020014267ffffffffffffffff16815250600a8460ff1660088110610c2657610c26611490565b82516002919091029190910180546001600160a01b0390921673ffffffffffffffffffffffffffffffffffffffff1990921691909117815560208083015160409384015167ffffffffffffffff16600160c01b026001600160c01b03909116176001928301558251808401845260ff8781168252818301938452336000818152601a855286902092518354955115156101000261ffff19909616921691909117939093179055825191825234908201527fdd0b6c6a77960e2066c96171b4d7ac9e8b4c184011f38544afa36a5bb63ec59f910160405180910390a15050505b60035442600854610d16919061153d565b1015610d4e5760035442016008556040517fab9c9a8aeadcc64e09e3ec376616fdcd4dd4a5e728535b290e272c2f1792056f90600090a15b5060018055565b610d5d611322565b604080516101008101909152600a60086000835b82821015610dd5576040805160608101825260028402860180546001600160a01b031682526001908101546001600160c01b038116602080850191909152600160c01b90910467ffffffffffffffff16938301939093529083529092019101610d71565b50505050905090565b6000546001600160a01b03163314610e265760405162461bcd60e51b8152602060048201819052602482015260008051602061158e833981519152604482015260640161050a565b6005805460ff191660ff92909216919091179055565b6000546001600160a01b03163314610e845760405162461bcd60e51b8152602060048201819052602482015260008051602061158e833981519152604482015260640161050a565b6000610e903347611245565b905080610eb057604051631d42c86760e21b815260040160405180910390fd5b50565b6000546001600160a01b03163314610efb5760405162461bcd60e51b8152602060048201819052602482015260008051602061158e833981519152604482015260640161050a565b600655565b600a8160088110610f1057600080fd5b6002020180546001909101546001600160a01b0390911691506001600160c01b03811690600160c01b900467ffffffffffffffff1683565b6000546001600160a01b03163314610f905760405162461bcd60e51b8152602060048201819052602482015260008051602061158e833981519152604482015260640161050a565b600355565b6000546001600160a01b03163314610fdd5760405162461bcd60e51b8152602060048201819052602482015260008051602061158e833981519152604482015260640161050a565b610fe760006112c5565b565b6000546001600160a01b031633146110315760405162461bcd60e51b8152602060048201819052602482015260008051602061158e833981519152604482015260640161050a565b600791909155600855565b600b546000906001600160c01b031680820361105a57600091505090565b600b54600090600160c01b900467ffffffffffffffff1660015b60088160ff161015611139576000600a8260ff166008811061109857611098611490565b60020201600101546001600160c01b031690506000600a60ff8416600881106110c3576110c3611490565b6002020160010160189054906101000a900467ffffffffffffffff169050816000036110f457509095945050505050565b858210806111205750858214801561112057508367ffffffffffffffff168167ffffffffffffffff1610155b1561112f578195508294508093505b5050600101611074565b50909392505050565b6000546001600160a01b0316331461118a5760405162461bcd60e51b8152602060048201819052602482015260008051602061158e833981519152604482015260640161050a565b600455565b6000546001600160a01b031633146111d75760405162461bcd60e51b8152602060048201819052602482015260008051602061158e833981519152604482015260640161050a565b6001600160a01b03811661123c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161050a565b610eb0816112c5565b6040805160008082526020820190925281906001600160a01b03851690617530908590604051611275919061155e565b600060405180830381858888f193505050503d80600081146112b3576040519150601f19603f3d011682016040523d82523d6000602084013e6112b8565b606091505b5090925050505b92915050565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040518061010001604052806008905b60408051606081018252600080825260208083018290529282015282526000199092019101816113325790505090565b600061030080838503121561137657600080fd5b83818401111561138557600080fd5b509092915050565b6103008101818360005b60088110156113eb57815180516001600160a01b031684526020808201516001600160c01b03168186015260409182015167ffffffffffffffff169185019190915260609093019290910190600101611397565b50505092915050565b60006020828403121561140657600080fd5b813560ff8116811461141757600080fd5b9392505050565b60006020828403121561143057600080fd5b5035919050565b6000806040838503121561144a57600080fd5b50508035926020909101359150565b80356001600160a01b038116811461147057600080fd5b919050565b60006020828403121561148757600080fd5b61141782611459565b634e487b7160e01b600052603260045260246000fd5b6000606082840312156114b857600080fd5b6040516060810167ffffffffffffffff82821081831117156114ea57634e487b7160e01b600052604160045260246000fd5b816040526114f785611459565b8352602085013591506001600160c01b038216821461151557600080fd5b81602084015260408501359150808216821461153057600080fd5b5060408201529392505050565b818103818111156112bf57634e487b7160e01b600052601160045260246000fd5b6000825160005b8181101561157f5760208186018101518583015201611565565b50600092019182525091905056fe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220a921ec2aa9daa4e705258810270fd731dacfe37c603046bba2f4f2f105c3458d64736f6c63430008100033000000000000000000000000479e02b7102bf374de3b9dc3f53817d0db99d0e000000000000000000000000000000000000000000000000000000000000002580000000000000000000000000000000000000000000000000de0b6b3a7640000000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000006f05b59d3b2000000000000000000000000000000000000000000000000000000000000635340900000000000000000000000000000000000000000000000000000000063549210