The recoverTokens
function does not decrement the _totalAuctionTokenAllocation
after token recovery. This oversight can lead to more tokens being recovered than intended, potentially depleting the auction's token allocation and causing an imbalance in the contract's token management.
High, depletion of auction tokens
Manual Review
After recovering tokens in the recoverTokens
function, ensure to decrement the _totalAuctionTokenAllocation
by the recovered amount. This adjustment will maintain the correct allocation balance and prevent excessive token recovery.
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.