SPLTokenInitializeMint2Layout class
Initializes a new mint layout
- Inheritance
-
- Object
- LayoutSerializable
- ProgramLayout
- SPLTokenProgramLayout
- SPLTokenInitializeMintLayout
- SPLTokenInitializeMint2Layout
Constructors
- SPLTokenInitializeMint2Layout({required SolAddress mintAuthority, required int decimals, SolAddress? freezeAuthority})
- Constructs an SPLTokenInitializeMint2Layout instance.
-
SPLTokenInitializeMint2Layout.fromBuffer(List<
int> bytes) -
Constructs an SPLTokenInitializeMint2Layout instance from buffer.
factory
Properties
- decimals → int
-
Number of base 10 digits to the right of the decimal place.
finalinherited
- freezeAuthority → SolAddress?
-
The freeze authority/multisignature of the mint.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- instruction → SPLTokenProgramInstruction
-
Instruction associated with the layout.
no setteroverride
- layout → StructLayout
-
Gets the layout structure.
no setterinherited
- mintAuthority → SolAddress
-
The authority/multisignature to mint tokens.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
serialize(
) → Map< String, dynamic> -
Serializes the layout.
inherited
-
toBytes(
) → List< int> -
Converts the program to bytes using Borsh serialization.
inherited
-
toHex(
) → String -
Converts the program to a hexadecimal string.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited