There is no token recovery mechanism when the auction ends without any bids in the DaiGoldAuction
contract.
In the DaiGoldAuction
contract, when an auction ends with no bids, the auction tokens (TempleGold in this case) are locked in the contract and cannot be recovered.
During recovery, if the token is TempleGold, it checks if the auction has ended. It will revert on recovery of an auction with zero bids. All the allotted TempleGold in the auction will be locked and cannot be used in future auctions since it does not check the TempleGold balance of the contract during startAuction, but instead tracks nextAuctionGoldAmount
, which resets to zero at the start of every auction.
The auction tokens will be stuck in the contract and cannot be recovered.
Manual
Add a function to recover auction tokens when an auction ends without any bids, similar to SpiceAuction::recoverAuctionTokenForZeroBidAuction()
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.