In DaiGoldAuction, templeTokenwill be locked in the contract if there are no bidders for an auction.
The auction can be started by auctionStarterusing startAuctionfunction. This function calls _distributeGoldwhich mints the templeTokento DaiGoldAuctioncontract according to DistributionParams. The number of templeTokenminted plus carry-forward from previous auction will be set as totalAuctionTokenAmountin EpochInfofor that auction. Once the auction is started and cooldown period has passed, no one will be able to totalAuctionTokenAmountis reserved for bidders of that auction. If there are no bidders for that auction, totalAuctionTokenAmountset for that auction will be permanantly locked in the contract.
SpiceAuctionhas an function recoverAuctionTokenForZeroBidAuction for such scenarios but DaiGoldAuctionis lacking this functionality.
The templeTokencan be permanantly locked in the contract if there are no bidders for an auction.
Manual review
Introduce a function which can recover templeToken(i.e. auctionToken) if there are no bidders for the completed auction.
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.