Using the function AuctionFactory::createAuction
, the AuctionFactory contract becomes the owner of a new FjordAuction contract. If the FjordAuction contract ends without any bidder, the tokens used for the auction are send back to the Factory contract, but the contract can't transfer them, locking them forever.
This occurs when an auction ends with 0 bids. FjordAuction::auctionEnd
sends back the tokens to the owner (the factory contract), and these tokens can't be withdrawn then.
Tokens are forever lost.
Add a withdraw
function in the factory, accessible only to the owner, to withdraw ERC20 tokens.
An auction with 0 bids will get the `totalTokens` stuck inside the contract. Impact: High - Tokens are forever lost Likelihood - Low - Super small chances of happening, but not impossible
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.