Function spl_governance::state::proposal::get_proposal_data_for_governance_and_governing_mint
source · pub fn get_proposal_data_for_governance_and_governing_mint(
program_id: &Pubkey,
proposal_info: &AccountInfo<'_>,
governance: &Pubkey,
governing_token_mint: &Pubkey
) -> Result<ProposalV2, ProgramError>
Expand description
Deserializes Proposal and validates it belongs to the given Governance and governing_token_mint