The increase function lacks proper supply cap verification when adding tokens to existing locks, potentially allowing the total supply to exceed the MAX_TOTAL_SUPPLY limit. This oversight in supply management could compromise the token's economic model.
While the lock function properly implements a supply cap check:
The increase function omits this crucial verification step. Users can potentially circumvent the MAX_TOTAL_SUPPLY restriction by incrementally increasing their locked amounts.
Total veRAAC token supply could exceed MAX_TOTAL_SUPPLY, undermining supply constraints
Potential economic implications for governance and token utility mechanisms
Manual code review
Implement supply cap validation in the increase function:
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.