Normal behavior:
A mint function should allow specifying the amount of tokens to mint and optionally enforce a total supply cap, so token economics are predictable and flexible.
Specific issue:
The current mint() function always mints a fixed 10,000,000 BTT, with no parameters or caps:
Likelihood:
This occurs whenever the owner calls mint(), intentionally or accidentally.
It also occurs if an automated script or bot triggers mint repeatedly — supply can balloon instantly.
Impact:
Massive inflation risk — sudden oversupply reduces token value.
Economic attack surface — a compromised owner key can exploit unlimited minting.
Explanation:
Each loop iteration mints 10 million BTT, inflating supply rapidly. Multiple iterations can destroy tokenomics within seconds.
Allow dynamic minting with a capped total supply.
Explanation:
This ensures flexible minting while protecting against uncontrolled inflation.
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.