AddressLookupTableProgram class
Represents instructions for the AddressLookupTable program.
- Inheritance
-
- Object
- TransactionInstruction
- AddressLookupTableProgram
Constructors
-
AddressLookupTableProgram({required List<
AccountMeta> keys, required ProgramLayout layout, SolAddress programId = AddressLookupTableProgramConst.programId}) - AddressLookupTableProgram.closeLookupTable({required SolAddress authority, required SolAddress lookupTable, required SolAddress recipient})
-
Creates an instruction to close a lookup table.
factory
- AddressLookupTableProgram.createLookupTable({required SolAddress authority, required SolAddress payer, required SolAddress lookupTableAddress, required AddressLookupCreateLookupTableLayout layout})
-
Creates an instruction to create a lookup table.
factory
- AddressLookupTableProgram.deactivateLookupTable({required SolAddress authority, required SolAddress lookupTable})
-
Creates an instruction to deactivate a lookup table.
factory
- AddressLookupTableProgram.extendLookupTable({required SolAddress authority, required SolAddress lookupTable, required AddressExtendLookupTableLayout layout, SolAddress? payer})
-
Creates an instruction to extend a lookup table.
factory
- AddressLookupTableProgram.freezeLookupTable({required SolAddress authority, required SolAddress lookupTable})
-
Creates an instruction to freeze a lookup table.
factory
-
AddressLookupTableProgram.fromBytes({required SolAddress programId, required List<
AccountMeta> keys, required List<int> instructionBytes}) -
factory
Properties
-
data
→ List<
int> -
Program input.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
keys
→ List<
AccountMeta> -
Public keys to include in this transaction
Boolean represents whether this pubkey needs to sign the transaction
finalinherited
- layout → ProgramLayout
-
Program layout.
finalinherited
- programId → SolAddress
-
Program Id to execute.
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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited