How the 24-hour execution mechanism works in the contract? #408
Answered
by
solimander
cdt-eth
asked this question in
Solidity / smart contracts
-
How the 24-hour execution mechanism works in the contract? |
Beta Was this translation helpful? Give feedback.
Answered by
solimander
Mar 30, 2022
Replies: 1 comment
-
When the auction is kicked off, the auction's Once the current |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
solimander
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When the auction is kicked off, the auction's
startTime
is set to theblock.timestamp
and itsendTime
is set to startTime + duration. See here.Once the current
block.timestamp
is greater than or equal to theendTime
, the auction is considered to have ended. At this time, you cannot place a bid anymore. You can only settle the auction, which subsequently kicks off the next auction. See here.