Coda by Ian Macalinao
    Preparing search index...

    Type Alias SetVoteInstruction<TProgram, TAccountGovernor, TAccountProposal, TAccountVote, TAccountElectorate, TRemainingAccounts>

    SetVoteInstruction: Instruction<TProgram> & InstructionWithData<
        ReadonlyUint8Array,
    > & InstructionWithAccounts<
        [
            TAccountGovernor extends string
                ? ReadonlyAccount<TAccountGovernor>
                : TAccountGovernor,
            TAccountProposal extends string
                ? WritableAccount<TAccountProposal>
                : TAccountProposal,
            TAccountVote extends string ? WritableAccount<TAccountVote> : TAccountVote,
            TAccountElectorate extends string
                ? ReadonlySignerAccount<TAccountElectorate> & AccountSignerMeta<
                    TAccountElectorate,
                >
                : TAccountElectorate,
            ...TRemainingAccounts,
        ],
    >

    Type Parameters

    • TProgram extends string = typeof GOVERN_PROGRAM_ADDRESS
    • TAccountGovernor extends string | AccountMeta = string
    • TAccountProposal extends string | AccountMeta = string
    • TAccountVote extends string | AccountMeta = string
    • TAccountElectorate extends string | AccountMeta = string
    • TRemainingAccounts extends readonly AccountMeta[] = []