SPLTokenInitializeMintLayout class

Initializes a new mint layout.

Inheritance
Implementers

Constructors

SPLTokenInitializeMintLayout({required SolAddress mintAuthority, required int decimals, SolAddress? freezeAuthority})
Constructs an SPLTokenInitializeMintLayout instance.
SPLTokenInitializeMintLayout.fromBuffer(List<int> bytes)
Constructs an SPLTokenInitializeMintLayout instance from buffer.
factory

Properties

decimals int
Number of base 10 digits to the right of the decimal place.
final
freezeAuthority SolAddress?
The freeze authority/multisignature of the mint.
final
hashCode int
The hash code for this object.
no setterinherited
instruction int
Instruction associated with the layout.
final
layout Structure
Gets the layout structure.
no setteroverride
mintAuthority SolAddress
The authority/multisignature to mint tokens.
final
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.
override
toBytes() List<int>
Converts the program to bytes using Borsh serialization.
inherited
toHex() String
Converts the program to a hexadecimal string.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

staticLayout Structure
Structure structure for SPLTokenInitializeMintLayout.
final