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.

Modules§

state
Instruction struct definitions for #[state] methods.

Structs§

CreateComment
Instruction.
CreateConnection
Instruction.
CreatePost
Instruction.
CreateProfile
Instruction.
CreateProfileMetadata
Instruction.
CreateReaction
Instruction.
CreateUser
Instruction.
DeleteConnection
Instruction.
DeletePost
Instruction.
DeleteProfile
Instruction.
DeleteProfileMetadata
Instruction.
DeleteReaction
Instruction.
DeleteUser
Instruction.
UpdatePost
Instruction.
UpdateProfileMetadata
Instruction.
UpdateUser
Instruction.