The contract does not enforce any cap on the total supply, allowing the festivalContract
to mint unlimited BEAT tokens.
Impact:
Impact 1: Could lead to hyperinflation of tokens if festivalContract
is compromised.
Impact 2: No economic boundary to supply
Use OpenZeppelin’s ERC20Capped
to enforce a supply cap:
Or add manual check:
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.