Skip to main content

Module instructions

Module instructions 

Source

Structs§

BorrowedAccountMeta
Borrowed version of AccountMeta.
BorrowedInstruction
Borrowed version of Instruction.
Instructions
Instructions sysvar, dummy type.

Constants§

ID
The const program ID.

Functions§

check_id
Returns true if given address is the ID.
construct_instructions_dataNon-target_os=solana
Construct the account data for the instructions sysvar.
deserialize_instructiondev-context-only-utils
get_instruction_relative
Returns the Instruction relative to the current Instruction in the currently executing Transaction.
id
Returns the ID.
load_current_index_checked
Load the current Instruction’s index in the currently executing Transaction.
load_instruction_atdev-context-only-utils
Load an Instruction in the currently executing Transaction at the specified index.
load_instruction_at_checked
Load an Instruction in the currently executing Transaction at the specified index.
serialize_instructionsNon-target_os=solana and dev-context-only-utils