SPLToken2022InitializeTransferFeeConfigLayout class
Initialize the transfer fee on a new mint layout.
- Inheritance
-
- Object
- ProgramLayout
- SPLTokenProgramLayout
- SPLToken2022InitializeTransferFeeConfigLayout
Constructors
- SPLToken2022InitializeTransferFeeConfigLayout({SolAddress? transferFeeConfigAuthority, SolAddress? withdrawWithheldAuthority, required int transferFeeBasisPoints, required BigInt maximumFee})
-
SPLToken2022InitializeTransferFeeConfigLayout.fromBuffer(List<
int> bytes) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- instruction → int
-
The instruction of the program.
final
- layout → StructLayout
-
The layout representing the structure of the program.
no setteroverride
- maximumFee → BigInt
-
Maximum fee assessed on transfers
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- transferFeeBasisPoints → int
-
Amount of transfer collected as fees, expressed as basis points of
the transfer amount
final
- transferFeeConfigAuthority → SolAddress?
-
Pubkey that may update the fees
final
- withdrawWithheldAuthority → SolAddress?
-
Withdraw instructions must be signed by this key
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
serialize(
) → Map< String, dynamic> -
Serializes the program.
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