SPLTokenProgramLayout class abstract
- Inheritance
-
- Object
- LayoutSerializable
- ProgramLayout
- SPLTokenProgramLayout
- Implementers
- SPLToken2022ExecuteLayout
- SPLToken2022HarvestWithheldTokensToMintLayout
- SPLToken2022InitializeDefaultAccountStateLayout
- SPLToken2022InitializeGroupMemberPointerLayout
- SPLToken2022InitializeGroupPointerLayout
- SPLToken2022InitializeMetadataPointerLayout
- SPLToken2022InitializeTransferFeeConfigLayout
- SPLToken2022InitializeTransferHookLayout
- SPLToken2022InterestBearingMintInitializeLayout
- SPLToken2022InterestBearingMintUpdateRateLayout
- SPLToken2022ToggleCpiGuardLayout
- SPLToken2022ToggleMemoTransferLayout
- SPLToken2022TransferCheckedWithFeeLayout
- SPLToken2022UpdateDefaultAccountStateLayout
- SPLToken2022UpdateGroupMemberPointerLayout
- SPLToken2022UpdateGroupPointerLayout
- SPLToken2022UpdateMetadataPointerLayout
- SPLToken2022UpdateTransferHookLayout
- SPLToken2022WithdrawWithheldTokensFromAccountsLayout
- SPLToken2022WithdrawWithheldTokensFromMintLayout
- SPLTokenAmountToUiAmountLayout
- SPLTokenApproveCheckedLayout
- SPLTokenApproveLayout
- SPLTokenBurnCheckedLayout
- SPLTokenBurnLayout
- SPLTokenCloseAccountLayout
- SPLTokenCreateNativeMintLayout
- SPLTokenFreezAccountLayout
- SPLTokenInitializeAccount2Layout
- SPLTokenInitializeAccount3Layout
- SPLTokenInitializeAccountLayout
- SPLTokenInitializeImmutableOwnerLayout
- SPLTokenInitializeMintCloseAuthorityLayout
- SPLTokenInitializeMintLayout
- SPLTokenInitializeMultisigLayout
- SPLTokenInitializeNonTransferableMintLayout
- SPLTokenInitializePermanentDelegateLayout
- SPLTokenMintToCheckedLayout
- SPLTokenMintToLayout
- SPLTokenReallocateLayout
- SPLTokenRevokeLayout
- SPLTokenSetAuthorityLayout
- SPLTokenSyncNativeLayout
- SPLTokenThawAccountLayout
- SPLTokenTransferCheckedLayout
- SPLTokenTransferLayout
- SPLTokenUiAmountToAmountLayout
Constructors
- SPLTokenProgramLayout()
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- instruction → SPLTokenProgramInstruction
-
The instruction of the program.
no setteroverride
- layout → StructLayout
-
The layout representing the structure of the program.
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 program.
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
Static Methods
-
fromBytes(
List< int> data) → ProgramLayout