Type Alias InitializeConfigInstruction<TProgram, TAccountConfig, TAccountFunder, TAccountSystemProgram, TRemainingAccounts>

InitializeConfigInstruction: IInstruction<TProgram> & IInstructionWithData<
    Uint8Array,
> & IInstructionWithAccounts<
    [
        TAccountConfig extends string
            ? WritableSignerAccount<TAccountConfig> & IAccountSignerMeta<
                TAccountConfig,
            >
            : TAccountConfig,
        TAccountFunder extends string
            ? WritableSignerAccount<TAccountFunder> & IAccountSignerMeta<
                TAccountFunder,
            >
            : TAccountFunder,
        TAccountSystemProgram extends string
            ? ReadonlyAccount<TAccountSystemProgram>
            : TAccountSystemProgram,
        ...TRemainingAccounts,
    ],
>

Type Parameters

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