Coda by Ian Macalinao
    Preparing search index...

    Type Alias CreateGovernorInstruction<TProgram, TAccountBase, TAccountGovernor, TAccountSmartWallet, TAccountPayer, TAccountSystemProgram, TRemainingAccounts>

    CreateGovernorInstruction: Instruction<TProgram> & InstructionWithData<
        ReadonlyUint8Array,
    > & InstructionWithAccounts<
        [
            TAccountBase extends string
                ? ReadonlySignerAccount<TAccountBase> & AccountSignerMeta<
                    TAccountBase,
                >
                : TAccountBase,
            TAccountGovernor extends string
                ? WritableAccount<TAccountGovernor>
                : TAccountGovernor,
            TAccountSmartWallet extends string
                ? ReadonlyAccount<TAccountSmartWallet>
                : TAccountSmartWallet,
            TAccountPayer extends string
                ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<
                    TAccountPayer,
                >
                : TAccountPayer,
            TAccountSystemProgram extends string
                ? ReadonlyAccount<TAccountSystemProgram>
                : TAccountSystemProgram,
            ...TRemainingAccounts,
        ],
    >

    Type Parameters

    • TProgram extends string = typeof GOVERN_PROGRAM_ADDRESS
    • TAccountBase extends string | AccountMeta = string
    • TAccountGovernor extends string | AccountMeta = string
    • TAccountSmartWallet extends string | AccountMeta = string
    • TAccountPayer extends string | AccountMeta = string
    • TAccountSystemProgram extends string | AccountMeta = "11111111111111111111111111111111"
    • TRemainingAccounts extends readonly AccountMeta[] = []