Skip to main content

Module instruction

Module instruction 

Source
Expand description

An Anchor generated module containing the program’s set of instructions, where each method handler in the #[program] mod is associated with a struct defining the input arguments to the method. These should be used directly, when one wants to serialize Anchor instruction data, for example, when specifying instructions on a client.

Structs§

CloseFiber
Instruction.
CloseThread
Instruction.
CreateFiber
Instruction.
CreateThread
Instruction.
DeleteThread
Instruction.
ExecThread
Instruction.
InitConfig
Instruction.
SwapFiber
Instruction.
ThreadMemo
Instruction.
UpdateConfig
Instruction.
UpdateFiber
Instruction.
UpdateThread
Instruction.
WithdrawThread
Instruction.