The comment of SpicyAuction::recoverToken()
states "Recover auction tokens for last but not started auction". However, tokens actually can be recovered after the auction has started.
The function SpicyAuction::recoverToken()
is missing checks for the current auction epoch:
It is not active.
It is not ended.
Therefore, auction tokens could be withdrawn even after the spicy auction has been started. This could lead to bidders cannot claim auction tokens.
Bidders may be unable to claim auction tokens if they are withdrawn prematurely.
vscode
Add aforementioned checks.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.