The veRAACToken.sol
contract defines a MAX_TOTAL_LOCKED_AMOUNT
constant, which sets an upper limit on the total amount of tokens that can be locked globally. However, the lock
function does not enforce this limit, allowing users to lock tokens beyond the defined maximum.
Defined Limit: The contract specifies a maximum lockable amount:
Missing Check in lock
Function:
The lock
function does not check whether the new total locked amount exceeds this limit before allowing additional locks.
Violation of Protocol Constraints: Exceeding MAX_TOTAL_LOCKED_AMOUNT
undermines contract logic.
Manual Review .
Modify the lock
function to include a check before proceeding with token locking.
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.