Throughout the code block.number is used to time functions, assuming 1 new block is added every 15 seconds.
It is better to use block.timestamp for this purpose.
For example, the variable ONE_DAY in Auction.sol is given by 4 60 24, which assumes 1 block every 15 seconds.
It is more natural to use the timestamp where ONE_DAY would be equal to 60 60 24 seconds.
Handle
tensors
Vulnerability details
Throughout the code block.number is used to time functions, assuming 1 new block is added every 15 seconds. It is better to use block.timestamp for this purpose.
For example, the variable ONE_DAY in Auction.sol is given by 4 60 24, which assumes 1 block every 15 seconds. It is more natural to use the timestamp where ONE_DAY would be equal to 60 60 24 seconds.