The DaiGoldAuction
contract allows users to bid very small amounts of tokens. This can lead to significant protocol losses because even minimal bids can claim a disproportionate share of the distributed Temple Gold.
In the DaiGoldAuction
contract, users can bid with very small amounts of tokens.
The claim amount of Temple Gold is calculated based on the proportion of the user's bid to the total bid amount. If a large number of users bid very small amounts, they can still claim significant portions of the Temple Gold distributed, potentially leading to substantial losses for the protocol.
For example if only 3 players bid and each one of them bid 1 amount of token they all get 33% of TempleGOLD
The calculation bidTokenAmount.mulDivRound(info.totalAuctionTokenAmount, info.totalBidTokenAmount, false)
can result in significant claims even for very small bid amounts if the total bid amount is low, leading to financial losses for the protocol.
If bidders place very low bids, they can still claim a considerable percentage of the distributed Temple Gold, causing substantial financial losses for the protocol.
Likelihood seems like very LOW, but not impossible. Impact looks like hight because the protocol gets very low amounts of bids but pays big TempleGOLD amounts. Hence the severity - High/Medium
Manual Review
Implement a minimum bid amount to ensure that only meaningful bids can participate in the auction. This can help prevent the protocol from distributing big rewards for low bids.
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.