Coda by Ian Macalinao
    Preparing search index...

    Type Alias NewVoteInput<TAccountProposal, TAccountVote, TAccountPayer, TAccountSystemProgram>

    type NewVoteInput<
        TAccountProposal extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountVote extends InstructionAccountInput = InstructionAccountInput,
        TAccountPayer extends InstructionSignerInput = InstructionSignerInput,
        TAccountSystemProgram extends
            InstructionAccountInput = InstructionAccountInput,
    > = {
        bump: NewVoteInstructionDataArgs["bump"];
        payer: TAccountPayer;
        proposal: TAccountProposal;
        systemProgram?: TAccountSystemProgram;
        vote: TAccountVote;
        voter: NewVoteInstructionDataArgs["voter"];
    }

    Type Parameters

    • TAccountProposal extends InstructionAccountInput = InstructionAccountInput
    • TAccountVote extends InstructionAccountInput = InstructionAccountInput
    • TAccountPayer extends InstructionSignerInput = InstructionSignerInput
    • TAccountSystemProgram extends InstructionAccountInput = InstructionAccountInput
    Index
    systemProgram?: TAccountSystemProgram