Coda by Ian Macalinao
    Preparing search index...

    Type Alias UpdateVoterWeightRecordInstruction<TProgram, TAccountRegistrar, TAccountVoter, TAccountVoterWeightRecord, TAccountSystemProgram, TRemainingAccounts>

    UpdateVoterWeightRecordInstruction: Instruction<TProgram> & InstructionWithData<
        ReadonlyUint8Array,
    > & InstructionWithAccounts<
        [
            TAccountRegistrar extends string
                ? ReadonlyAccount<TAccountRegistrar>
                : TAccountRegistrar,
            TAccountVoter extends string
                ? ReadonlyAccount<TAccountVoter>
                : TAccountVoter,
            TAccountVoterWeightRecord extends string
                ? WritableAccount<TAccountVoterWeightRecord>
                : TAccountVoterWeightRecord,
            TAccountSystemProgram extends string
                ? ReadonlyAccount<TAccountSystemProgram>
                : TAccountSystemProgram,
            ...TRemainingAccounts,
        ],
    >

    Type Parameters

    • TProgram extends string = typeof VOTER_STAKE_REGISTRY_PROGRAM_ADDRESS
    • TAccountRegistrar extends string | AccountMeta = string
    • TAccountVoter extends string | AccountMeta = string
    • TAccountVoterWeightRecord extends string | AccountMeta = string
    • TAccountSystemProgram extends string | AccountMeta = "11111111111111111111111111111111"
    • TRemainingAccounts extends readonly AccountMeta[] = []