The lock function does not check if locking new amount of tokens will exceed the MAX_TOTAL_LOCKED_AMOUNT set in the contract.
The lock function does not check if locking new tokens will exceed the MAX_TOTAL_LOCKED_AMOUNT, due to the lack of check, the contract can lock more than the MAX_TOTAL_LOCKED_AMOUNT that was proposed.
The veRAACToken contract can lock more than the MAX_TOTAL_LOCKED_AMOUNT tokens in the contract.
Manual Review
Add a check before locking new tokens, ensure that MAX_TOTAL_LOCKED_AMOUNT
is not exceeded.
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.