Module spl_governance::state::proposal
source · [−]Expand description
Proposal Account
Structs
Proposal Option
Governance Proposal
Enums
Proposal option vote result
Proposal vote type
Functions
Assert options to create proposal are valid for the Proposal vote_type
Returns Proposal PDA address
Returns Proposal PDA seeds
Deserializes Proposal account and checks owner program
Deserializes Proposal and validates it belongs to the given Governance
Deserializes Proposal and validates it belongs to the given Governance and Governing Mint