Extending Lock Duration Mints Excess veRAAC Tokens Beyond Supply Cap The extend function allows users to increase their lock duration and mint additional veRAAC tokens without validating against the MAX_TOTAL_SUPPLY limit. This bypasses the protocol’s supply cap,
Current State:
totalSupply() = 100M veRAAC (cap fully reached).
User’s Existing Lock:
RAAC Locked: 5M (within per-position limit)
Initial Duration: 1 year → Voting Power = (5M * 1) / 4 = 1.25M veRAAC
User Extends Lock to 3 Years:
New Voting Power:
(5M RAAC * 3 years) / 4 years = 3.75M veRAAC
Delta to Mint: 3.75M - 1.25M = 2.5M veRAAC
Mints 2.5M veRAAC despite the cap being maxed.
New Total Supply: 100M + 2.5M = 102.5M veRAAC
max total supply voilation
no validation check on maxtotalsupply while extending a lock
Add MAX_TOTAL_SUPPLY Check in extend
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.