Function spl_governance::state::vote_record::get_vote_record_data_for_proposal_and_token_owner[][src]

pub fn get_vote_record_data_for_proposal_and_token_owner(
    program_id: &Pubkey,
    vote_record_info: &AccountInfo<'_>,
    proposal: &Pubkey,
    governing_token_owner: &Pubkey
) -> Result<VoteRecord, ProgramError>
Expand description

Deserializes VoteRecord and checks it belongs to the provided Proposal and Governing Token Owner