Mint constructor
const
Mint({
- required Ed25519HDPublicKey address,
- required BigInt supply,
- required int decimals,
- Ed25519HDPublicKey? mintAuthority,
- required bool isInitialized,
- Ed25519HDPublicKey? freezeAuthority,
Implementation
const factory Mint({
/// Address of the mint
required Ed25519HDPublicKey address,
/// Total supply of tokens.
required BigInt supply,
/// Number of base 10 digits to the right of the decimal place.
required int decimals,
/// Optional authority used to mint new tokens.
///
/// The mint authority may only be provided during mint creation. If no mint
/// authority is present then the mint has a fixed supply and no further
/// tokens may be minted.
Ed25519HDPublicKey? mintAuthority,
/// Is this mint initialized
required bool isInitialized,
/// Optional authority to freeze token accounts.
Ed25519HDPublicKey? freezeAuthority,
}) = _Mint;