Function spl_governance::instruction::cast_vote[][src]

pub fn cast_vote(
    program_id: &Pubkey,
    governance: &Pubkey,
    proposal: &Pubkey,
    token_owner_record: &Pubkey,
    governance_authority: &Pubkey,
    governing_token_mint: &Pubkey,
    payer: &Pubkey,
    vote: Vote
) -> Instruction
Expand description

Creates CastVote instruction