Skip to main content

Supply

Mint

Token TypeStrategyStandaloneDiamond
Mint on Token Creation + Fair LaunchUse _mintUse _mint
Mint on Token Creation + ICO_mint + burn in ICO_mint + burn in ICO
No Mintable TokenMint on Automatic LP ManagementUse _mintUse _mint
Mint on Automatic Price CaptureUse _mintUse _mint
Mint on Automatic Value CaptureUse _mintUse _mint
Mint by Contract on ICO PurchasePublic mint methodAdd mint to ICO
Mint by Contract on ICO ClaimPublic mint methodAdd mint to ICO
Mint by Contract on ICO ClaimsPublic mint methodAdd mint to ICO
Mintable TokenMint by Contract on Vesting CompletionPublic mint methodAdd mint to Vesting
Mint by Contract on OperationsPublic mint methodAdd mint to Operation
FlashMintPublic mint methodPublic op mint method
Manual Mint by IssuerPublic mint methodPublic mint method

This translates in 3 minting possibilities:

  • Use _mint only from erc-20 for fixed supply (no change required)

  • Add mint to ICO / vesting / operations for diamond since the shared storage of the diamond solves the problem of exposing the mint on the token (add mint to othr parts)

  • Add a public mint method for standalone on diamond with manual intervention (add mint() to token, this case should be avoided)

Burn

ERC-621