Function spl_governance::state::proposal::get_proposal_data_for_governance_and_governing_mint[][src]

pub fn get_proposal_data_for_governance_and_governing_mint(
    program_id: &Pubkey,
    proposal_info: &AccountInfo<'_>,
    governance: &Pubkey,
    governing_token_mint: &Pubkey
) -> Result<Proposal, ProgramError>
Expand description

Deserializes Proposal and validates it belongs to the given Governance and Governing Mint