Mint class
Information about a mint.
- Annotations
-
- @freezed
Constructors
- Mint({required Ed25519HDPublicKey address, required BigInt supply, required int decimals, Ed25519HDPublicKey? mintAuthority, required bool isInitialized, Ed25519HDPublicKey? freezeAuthority})
-
constfactory
Properties
- address → Ed25519HDPublicKey
-
Address of the mint
no setterinherited
-
copyWith
→ $MintCopyWith<
Mint> -
no setterinherited
- decimals → int
-
Number of base 10 digits to the right of the decimal place.
no setterinherited
- freezeAuthority → Ed25519HDPublicKey?
-
Optional authority to freeze token accounts.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isInitialized → bool
-
Is this mint initialized
no setterinherited
- mintAuthority → Ed25519HDPublicKey?
-
Optional authority used to mint new tokens.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- supply → BigInt
-
Total supply of tokens.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited