The veRAACToken
contract's increase function lacks validation against MAX_TOTAL_SUPPLY
(100M), allowing the total supply to exceed this limit through multiple increase operations.
While the lock
function properly validates against MAX_TOTAL_SUPPLY
, the increase
function has no such check:
Example scenario:
Many users have locked small amounts (around 1M)
A user with 1M locked can increase their lock by an additional 9M
Total supply is at 99M
10 users call increase
with 9M each
An additional 90M tokens are minted, exceeding the total supply by 89M
Core supply cap of 100M tokens can be bypassed, which breaks the tokenomics of the protocol.
Add MAX_TOTAL_SUPPLY
validation to increase
.
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.