Coda by Ian Macalinao
    Preparing search index...

    Type Alias ActivateProposalInstruction<TProgram, TAccountLocker, TAccountGovernor, TAccountProposal, TAccountEscrow, TAccountEscrowOwner, TAccountGovernProgram, TRemainingAccounts>

    ActivateProposalInstruction: Instruction<TProgram> & InstructionWithData<
        ReadonlyUint8Array,
    > & InstructionWithAccounts<
        [
            TAccountLocker extends string
                ? ReadonlyAccount<TAccountLocker>
                : TAccountLocker,
            TAccountGovernor extends string
                ? ReadonlyAccount<TAccountGovernor>
                : TAccountGovernor,
            TAccountProposal extends string
                ? WritableAccount<TAccountProposal>
                : TAccountProposal,
            TAccountEscrow extends string
                ? ReadonlyAccount<TAccountEscrow>
                : TAccountEscrow,
            TAccountEscrowOwner extends string
                ? ReadonlySignerAccount<TAccountEscrowOwner> & AccountSignerMeta<
                    TAccountEscrowOwner,
                >
                : TAccountEscrowOwner,
            TAccountGovernProgram extends string
                ? ReadonlyAccount<TAccountGovernProgram>
                : TAccountGovernProgram,
            ...TRemainingAccounts,
        ],
    >

    Type Parameters

    • TProgram extends string = typeof LOCKED_VOTER_PROGRAM_ADDRESS
    • TAccountLocker extends string | AccountMeta = string
    • TAccountGovernor extends string | AccountMeta = string
    • TAccountProposal extends string | AccountMeta = string
    • TAccountEscrow extends string | AccountMeta = string
    • TAccountEscrowOwner extends string | AccountMeta = string
    • TAccountGovernProgram extends string | AccountMeta = string
    • TRemainingAccounts extends readonly AccountMeta[] = []