The mintRewards
function emits an event named RAACMinted with the parameter amount, which represents the total number of raacToken transferred to the recipient (to). This amount comprises both newly minted tokens (toMint) and pre-existing tokens from the excessTokens reserve. However, the event name RAACMinted implies that it tracks only the minting of new tokens, creating a potential misnomer.
Indexers, dashboards, or analytics tools monitoring RAACMinted assume amount reflects only newly minted tokens, overestimating the inflation of raacToken supply.
manual review
Emit Only Minted Amount:
Keep RAACMinted for toMint:
suggestion is something that is done by ERC20.mint() function
suggestion is something that is done by ERC20.mint() function
suggestion is something that is done by ERC20.mint() 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.