ProgramLayout class abstract
Abstract class for Borsh serializable programs.
- Implemented types
- Implementers
- AddressLookupTableProgramLayout
- AssociatedTokenAccountProgramLayout
- ComputeBudgetProgramLayout
- Ed25519ProgramLayout
- MemoLayout
- MetaplexAuctioneerProgramLayout
- MetaplexAuctionHouseProgramLayout
- MetaplexBubblegumProgramLayout
- MetaplexCandyMachineProgramLayout
- MetaplexFixedPriceSaleProgramLayout
- MetaplexGumdropProgramLayout
- MetaplexHydraProgramLayout
- MetaplexNFTPacksProgramLayout
- MetaplexTokenEntanglerProgramLayout
- MetaplexTokenMetaDataProgramLayout
- NameServiceProgramLayout
- Secp256k1Layout
- SPLTokenMetaDataProgramLayout
- SPLTokenProgramLayout
- SPLTokenSwapProgramLayout
- StakePoolProgramLayout
- StakeProgramLayout
- SystemProgramLayout
- TokenLendingProgramLayout
- UnknownProgramLayout
- VoteProgramLayout
Constructors
- ProgramLayout()
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- instruction → dynamic
-
The instruction of the program.
final
- layout → StructLayout
-
The layout representing the structure of the program.
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 program.
override
-
toBytes(
) → List< int> -
Converts the program to bytes using Borsh serialization.
override
-
toHex(
) → String -
Converts the program to a hexadecimal string.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited