Type Alias OpenBundledPositionInstruction<TProgram, TAccountBundledPosition, TAccountPositionBundle, TAccountPositionBundleTokenAccount, TAccountPositionBundleAuthority, TAccountWhirlpool, TAccountFunder, TAccountSystemProgram, TAccountRent, TRemainingAccounts>

OpenBundledPositionInstruction: IInstruction<TProgram> & IInstructionWithData<
    Uint8Array,
> & IInstructionWithAccounts<
    [
        TAccountBundledPosition extends string
            ? WritableAccount<TAccountBundledPosition>
            : TAccountBundledPosition,
        TAccountPositionBundle extends string
            ? WritableAccount<TAccountPositionBundle>
            : TAccountPositionBundle,
        TAccountPositionBundleTokenAccount extends string
            ? ReadonlyAccount<TAccountPositionBundleTokenAccount>
            : TAccountPositionBundleTokenAccount,
        TAccountPositionBundleAuthority extends string
            ? ReadonlySignerAccount<TAccountPositionBundleAuthority> & IAccountSignerMeta<
                TAccountPositionBundleAuthority,
            >
            : TAccountPositionBundleAuthority,
        TAccountWhirlpool extends string
            ? ReadonlyAccount<TAccountWhirlpool>
            : TAccountWhirlpool,
        TAccountFunder extends string
            ? WritableSignerAccount<TAccountFunder> & IAccountSignerMeta<
                TAccountFunder,
            >
            : TAccountFunder,
        TAccountSystemProgram extends string
            ? ReadonlyAccount<TAccountSystemProgram>
            : TAccountSystemProgram,
        TAccountRent extends string ? ReadonlyAccount<TAccountRent> : TAccountRent,
        ...TRemainingAccounts,
    ],
>

Type Parameters

  • TProgram extends string = typeof WHIRLPOOL_PROGRAM_ADDRESS
  • TAccountBundledPosition extends string | IAccountMeta<string> = string
  • TAccountPositionBundle extends string | IAccountMeta<string> = string
  • TAccountPositionBundleTokenAccount extends string | IAccountMeta<string> = string
  • TAccountPositionBundleAuthority extends string | IAccountMeta<string> = string
  • TAccountWhirlpool extends string | IAccountMeta<string> = string
  • TAccountFunder extends string | IAccountMeta<string> = string
  • TAccountSystemProgram extends string | IAccountMeta<string> = "11111111111111111111111111111111"
  • TAccountRent extends string | IAccountMeta<string> = "SysvarRent111111111111111111111111111111111"
  • TRemainingAccounts extends readonly IAccountMeta<string>[] = []