Type alias OpenBundledPositionParams

OpenBundledPositionParams: {
    bundleIndex: number;
    bundledPositionPda: PDA;
    funder: PublicKey;
    positionBundle: PublicKey;
    positionBundleAuthority: PublicKey;
    positionBundleTokenAccount: PublicKey;
    tickLowerIndex: number;
    tickUpperIndex: number;
    whirlpool: PublicKey;

Parameters to open a bundled position in a Whirlpool.

Type declaration

  • bundleIndex: number
  • bundledPositionPda: PDA
  • funder: PublicKey
  • positionBundle: PublicKey
  • positionBundleAuthority: PublicKey
  • positionBundleTokenAccount: PublicKey
  • tickLowerIndex: number
  • tickUpperIndex: number
  • whirlpool: PublicKey

Param: whirlpool

PublicKey for the whirlpool that the bundled position will be opened for.

Param: bundledPositionPda

PDA for the derived bundled position address.

Param: positionBundle

PublicKey for the position bundle.

Param: positionBundleTokenAccount

The associated token address for the position bundle token in the owners wallet.

Param: positionBundleAuthority

authority that owns the token corresponding to this desired bundled position.

Param: bundleIndex

The bundle index that holds the bundled position.

Param: tickLowerIndex

The tick specifying the lower end of the bundled position range.

Param: tickUpperIndex

The tick specifying the upper end of the bundled position range.

Param: funder

The account that would fund the creation of this account

Generated using TypeDoc