The auction tokens will be stuck in FjordAuctionFactory.sol if no one bids.
FjordAuction.sol::auctionEnd
From code above, we can conclude if no one bids the auction tokens will be transfered to owner of FjordAuction.sol.
FjordAuction.sol::constructor
From code above, the owner of FjordAuction.sol is the depolyer of FjordAuction.sol.
FjordAuctionFactory.sol::createAuction
From code above, FjordAuctionFactory.sol deploys FjordAuction.sol. So the owner of FjordAuction.sol is FjordAuctionFactory.sol. If no one bids, the auction tokens will be transfered to FjordAuctionFactory.sol. However FjordAuctionFactory.sol has no function to tranfer tokens. The auction tokens will be stuck in FjordAuctionFactory.sol forever.
The auction tokens will be stuck in FjordAuctionFactory.sol forever if no one bids.
Paste code below into test/unit/auction.t.sol.
manual and foundry
Add a function with access control to transfer tokens out.
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.