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 speciying instructions on a client.

Structs§

BatchAppend
Instruction.
BatchNullify
Instruction.
BatchUpdateAddressTree
Instruction.
DeregisterProgram
Instruction.
InitializeAddressMerkleTreeAndQueue
Instruction.
InitializeBatchedAddressMerkleTree
Instruction.
InitializeBatchedStateMerkleTree
Instruction.
InitializeGroupAuthority
Instruction.
InitializeStateMerkleTreeAndNullifierQueue
Instruction.
InsertIntoQueues
Instruction.
MigrateState
Instruction.
NullifyLeaves
Instruction.
RegisterProgramToGroup
Instruction.
ResizeRegisteredProgramPda
Instruction.
RolloverAddressMerkleTreeAndQueue
Instruction.
RolloverBatchedAddressMerkleTree
Instruction.
RolloverBatchedStateMerkleTree
Instruction.
RolloverStateMerkleTreeAndNullifierQueue
Instruction.
UpdateAddressMerkleTree
Instruction.
UpdateGroupAuthority
Instruction.