When the FjordAuction contract is created, there is not validation on _totalTokens
parameter in constructor()
.
If the _totalTokens
is set as 0 and someone bid()
on it they will get no auctionTokens as the multiplier will be 0.
It'll lead to user losing Fjord points and will get no auction tokens in return.
VS Code
Add a constraint of _totalTokens > 0
in constructor.
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.