In the auctionEnd() function, the calculation of the multiplier value may result in significant precision loss if totalTokens is much smaller than totalBids.
This precision loss could lead to incorrect token distribution calculations, potentially resulting in users receiving fewer tokens than they should, or in extreme cases, no tokens at all.
If totalTokens is 1 and totalBids is 1,000,000, the result of this calculation would be 0, leading to no tokens being distributed.
Reorder the operations to perform multiplication last:
Consider using a higher precision factor if dealing with very small token amounts.
Implement a minimum multiplier value to ensure some token distribution occurs.
Lack of Minimum Bid Amount
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.