Structs§
- Borrowed
Account Meta - Borrowed version of
AccountMeta
. - Borrowed
Instruction std
- Borrowed version of
Instruction
. - Instructions
- Instructions sysvar, dummy type.
Constants§
- ID
- The const program ID.
Functions§
- check_
id - Returns
true
if given pubkey is the program ID. - construct_
instructions_ data Non- target_os="solana"
- Construct the account data for the instructions sysvar.
- get_
instruction_ relative - Returns the
Instruction
relative to the currentInstruction
in the currently executingTransaction
. - id
- Returns the program ID.
- load_
current_ index_ checked - Load the current
Instruction
’s index in the currently executingTransaction
. - load_
instruction_ at_ checked - Load an
Instruction
in the currently executingTransaction
at the specified index. - store_
current_ index - Store the current
Instruction
’s index in the instructions sysvar data.