Type Alias InitializeConfigExtensionInstruction<TProgram, TAccountConfig, TAccountConfigExtension, TAccountFunder, TAccountFeeAuthority, TAccountSystemProgram, TRemainingAccounts>

InitializeConfigExtensionInstruction: IInstruction<TProgram> & IInstructionWithData<
    Uint8Array,
> & IInstructionWithAccounts<
    [
        TAccountConfig extends string
            ? ReadonlyAccount<TAccountConfig>
            : TAccountConfig,
        TAccountConfigExtension extends string
            ? WritableAccount<TAccountConfigExtension>
            : TAccountConfigExtension,
        TAccountFunder extends string
            ? WritableSignerAccount<TAccountFunder> & IAccountSignerMeta<
                TAccountFunder,
            >
            : TAccountFunder,
        TAccountFeeAuthority extends string
            ? ReadonlySignerAccount<TAccountFeeAuthority> & IAccountSignerMeta<
                TAccountFeeAuthority,
            >
            : TAccountFeeAuthority,
        TAccountSystemProgram extends string
            ? ReadonlyAccount<TAccountSystemProgram>
            : TAccountSystemProgram,
        ...TRemainingAccounts,
    ],
>

Type Parameters

  • TProgram extends string = typeof WHIRLPOOL_PROGRAM_ADDRESS
  • TAccountConfig extends string | IAccountMeta<string> = string
  • TAccountConfigExtension extends string | IAccountMeta<string> = string
  • TAccountFunder extends string | IAccountMeta<string> = string
  • TAccountFeeAuthority extends string | IAccountMeta<string> = string
  • TAccountSystemProgram extends string | IAccountMeta<string> = "11111111111111111111111111111111"
  • TRemainingAccounts extends readonly IAccountMeta<string>[] = []