Token with Fixed Supply

A fungible token with a fixed supply can be minted once and has a total maximum supply for all of its lifetime.

The smart contract template for fungible tokens with a fixed supply. After deployment, no new tokens can be created.

The fixed supply version of a token guarantees that no additional tokens can be created after initial deployment.

Variables

_name: The name of your token contract

_symbol: The ticker symbol ($XXX) of your token contract

_decimals: The total decimals (after 0) of your token. Generally this is set ot 18.

_totalSupply: The total supply of your minted token. For this contract this will be the maximum supply to ever exist.

Functions

Last updated