The tick()
function in RAACMinter.sol
double-accounts minted tokens by both adding them to excessTokens
and minting them to the stability pool, effectively doubling the intended token supply.
The tick()
function calculates token emissions based on blocks elapsed and emission rate, but then incorrectly handles the minting:
When tokens are minted:
amountToMint
is added to excessTokens
for future distribution
The same amountToMint
is immediately minted to the stability pool
This creates 2x the intended token supply
Simple PoC:
Doubles the effective emission rate of RAAC tokens
Creates unintended token inflation
Dilutes value for all token holders
Disrupts protocol's monetary policy and tokenomics
Affects core protocol mechanism
Manual Review
Keep only one accounting method. Either:
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.