Versions in this module Expand all Collapse all v1 v1.0.0 Aug 23, 2024 Changes in this version + const LOOKUP_TABLE_MAX_ADDRESSES + const LOOKUP_TABLE_META_SIZE + var ErrInvalidAccountData = errors.New("invalid account data") + var ErrInvalidAccountDataSize = errors.New("invalid account data size") + var ErrInvalidAccountOwner = errors.New("invalid account owner") + func CloseLookupTable(params CloseLookupTableParams) types.Instruction + func CreateLookupTable(params CreateLookupTableParams) types.Instruction + func DeactivateLookupTable(params DeactivateLookupTableParams) types.Instruction + func DeriveLookupTableAddress(authorityAddr common.PublicKey, recentBlockSlot uint64) (common.PublicKey, uint8) + func ExtendLookupTable(params ExtendLookupTableParams) types.Instruction + func FreezeLookupTable(params FreezeLookupTableParams) types.Instruction + type AddressLookupTable struct + Addresses []common.PublicKey + Authority *common.PublicKey + DeactivationSlot uint64 + LastExtendedSlot uint64 + LastExtendedSlotStartIndex uint8 + ProgramState ProgramStateEnum + func DeserializeLookupTable(data []byte, accountOwner common.PublicKey) (AddressLookupTable, error) + type CloseLookupTableParams struct + Authority common.PublicKey + LookupTable common.PublicKey + Recipient common.PublicKey + type CreateLookupTableParams struct + Authority common.PublicKey + BumpSeed uint8 + LookupTable common.PublicKey + Payer common.PublicKey + RecentSlot uint64 + type DeactivateLookupTableParams struct + Authority common.PublicKey + LookupTable common.PublicKey + type ExtendLookupTableParams struct + Addresses []common.PublicKey + Authority common.PublicKey + LookupTable common.PublicKey + Payer *common.PublicKey + type FreezeLookupTableParams struct + Authority common.PublicKey + LookupTable common.PublicKey + type Instruction uint32 + const InstructionCloseLookupTable + const InstructionCreateLookupTable + const InstructionDeactivateLookupTable + const InstructionExtendLookupTable + const InstructionFreezeLookupTable + type ProgramStateEnum uint32 + const ProgramStateLookupTable + const ProgramStateUninitialized