Coda by Ian Macalinao
    Preparing search index...

    Type Alias CompleteProposalInstruction<TProgram, TAccountProposalAccount, TAccountTokenOwnerRecord, TAccountCompleteProposalAuthority, TRemainingAccounts>

    CompleteProposalInstruction: Instruction<TProgram> & InstructionWithData<
        ReadonlyUint8Array,
    > & InstructionWithAccounts<
        [
            TAccountProposalAccount extends string
                ? WritableAccount<TAccountProposalAccount>
                : TAccountProposalAccount,
            TAccountTokenOwnerRecord extends string
                ? ReadonlyAccount<TAccountTokenOwnerRecord>
                : TAccountTokenOwnerRecord,
            TAccountCompleteProposalAuthority extends string
                ? ReadonlySignerAccount<TAccountCompleteProposalAuthority> & AccountSignerMeta<
                    TAccountCompleteProposalAuthority,
                >
                : TAccountCompleteProposalAuthority,
            ...TRemainingAccounts,
        ],
    >

    Type Parameters

    • TProgram extends string = typeof SPL_GOVERNANCE_PROGRAM_ADDRESS
    • TAccountProposalAccount extends string | AccountMeta = string
    • TAccountTokenOwnerRecord extends string | AccountMeta = string
    • TAccountCompleteProposalAuthority extends string | AccountMeta = string
    • TRemainingAccounts extends readonly AccountMeta[] = []