The last user who called the withdraw function couldn't complete the withdrawal.(tx reverted)
The lock allow users to lock their set of raac
tokens for a specific duration to mint veRAAC
tokens that'll allow them to vote in the governance vote
An issue with this implementation is that, when locking tokens, it does not take into account the fact that the raacToken
is a fee-on-Transfer (FOT) token where a small portion of the transfer amount as charged as a tax, it locks the full deposited deposited amount without considering the tax.
During withdrawal, the last person to withdraw will have his tx revert due to insufficient funds
this is because the withdraw function attempts to transfer the exact provided amount during locking which did not take into account the tax.
Withdrawal will revert due to insufficient funds.
Manual review
Take into account the tax amount and store it as the lock 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.