Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

Methods

  • getAssociatedMiddleStatusAccount(__namedParameters: { fromPoolId: PublicKey; middleMint: PublicKey; owner: PublicKey; programId: PublicKey }): Promise<PublicKey>
  • Parameters

    • __namedParameters: { fromPoolId: PublicKey; middleMint: PublicKey; owner: PublicKey; programId: PublicKey }
      • fromPoolId: PublicKey
      • middleMint: PublicKey
      • owner: PublicKey
      • programId: PublicKey

    Returns Promise<PublicKey>

  • Parameters

    • version: number

    Returns LiquidityVersion

  • getProgramId(version: number): PublicKey
  • Parameters

    • version: number

    Returns PublicKey

  • getVersion(programId: PublicKey): 1
  • Parameters

    • programId: PublicKey

    Returns 1