Missing MAX_TOTAL_SUPPLY checks before minting veRAACTokens allows users to bypass this cap using the increase
and extend
functions
contract : veRAACToken
increase
and extend
functions in the veRAACToken
contract
are used to increase an users voting power by minting more veRAACTokens.
The issue stems from the lack of checks inside the increase
and extend
functions
to ensure totalSupply() of veRAACToken doesnot exceed MAX_TOTAL_SUPPLY
This allows users of the protocol to bypass the MAX_TOTAL_SUPPLY limit.
MAX_TOTAL_SUPPLY cap could be breached.
Enforce the check on MAX_TOTAL_SUPPLY after voting power calculation and before minting new veRAACToken tokens in the increase
and extend
functions
A similar check should be made for extend
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.