Coda by Ian Macalinao
    Preparing search index...

    Type Alias SetVoteInput<TAccountGovernor, TAccountProposal, TAccountVote, TAccountElectorate>

    type SetVoteInput<
        TAccountGovernor extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountProposal extends InstructionAccountInput = InstructionAccountInput,
        TAccountVote extends InstructionAccountInput = InstructionAccountInput,
        TAccountElectorate extends InstructionSignerInput = InstructionSignerInput,
    > = {
        electorate: TAccountElectorate;
        governor: TAccountGovernor;
        proposal: TAccountProposal;
        side: SetVoteInstructionDataArgs["side"];
        vote: TAccountVote;
        weight: SetVoteInstructionDataArgs["weight"];
    }

    Type Parameters

    • TAccountGovernor extends InstructionAccountInput = InstructionAccountInput
    • TAccountProposal extends InstructionAccountInput = InstructionAccountInput
    • TAccountVote extends InstructionAccountInput = InstructionAccountInput
    • TAccountElectorate extends InstructionSignerInput = InstructionSignerInput
    Index
    electorate: TAccountElectorate