When an auction ends, a multiplier is calculated
When claiming the multiplier is multiplied by bids[msg.sender] to get the tokens the user can claim.
The issue here is, that totalTokens is in auction token decimal and the totalBids is in FjordPoints token decimal which is 18.
Let's say,
totalBids = Z * 1e18
totalTokens = Y * 1eX
where,
X = auction token decimal
Z = total bids placed
Y = total tokens to be auctioned
which gives us this equation for the multiplier,
multiplier = YeX * 1e18 / Ze18
Now if Z > YeX this will make multiplier = 0
with tokens that have low decimals and are popular in auctions, the Z > YeX can be true hence making the auction nonfunctional and auction tokens stuck
Loss of auction token as nobody will be able to claim once the multiplier is zero.
Adjust totalTokens to 18 decimal if its decimal is lower than 18
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.