Module spl_governance::state::proposal_instruction[][src]

Expand description

ProposalInstruction Account

Structs

Account metadata used to define Instructions

InstructionData wrapper. It can be removed once Borsh serialization for Instruction is supported in the SDK

Account for an instruction to be executed for Proposal

Functions

Deserializes ProposalInstruction account and checks it belongs to the given Proposal

Returns ProposalInstruction PDA address

Returns ProposalInstruction PDA seeds

Deserializes ProposalInstruction account and checks owner program

Deserializes and returns ProposalInstruction account and checks it belongs to the given Proposal