Token-0x

First Flight #54
Beginner FriendlyDeFi
100 EXP
View results
Submission Details
Impact: medium
Likelihood: medium
Invalid

No Public Mint Function / No Supply Control Mechanism in `ERC20.sol`

No Public Mint Function / No Supply Control Mechanism in ERC20.sol

Description

The contract does not expose any minting ability. _mint() exists in ERC20Internals but is unreachable.

This is fine for a fixed-supply token, but your README says DeFi protocols should use this as a base token. Most protocols need:

  • reward emissions

  • staking rewards

  • vesting schedules

  • inflation models

Since minting is impossible, this ERC20 cannot fulfill these roles.

Risk

Likelihood:

  • No way to create tokens after deployment

Impact:

Token cannot serve as:

Reward token

  • Emission token

  • Staking yield token

  • Inflationary governance token

Proof of Concept

It's a missing-function issue — not something that needs runtime demonstration.

Recommended Mitigation

Add a controlled mint() or document that token is strictly fixed-supply.

Updates

Lead Judging Commences

gaurangbrdv Lead Judge 18 days ago
Submission Judgement Published
Invalidated
Reason: Incorrect statement

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.

Give us feedback!