Type alias CloseBundledPositionParams

CloseBundledPositionParams: {
    bundleIndex: number;
    bundledPosition: PublicKey;
    positionBundle: PublicKey;
    positionBundleAuthority: PublicKey;
    positionBundleTokenAccount: PublicKey;
    receiver: PublicKey;

Parameters to close a bundled position in a Whirlpool.

Type declaration

  • bundleIndex: number
  • bundledPosition: PublicKey
  • positionBundle: PublicKey
  • positionBundleAuthority: PublicKey
  • positionBundleTokenAccount: PublicKey
  • receiver: PublicKey

Param: bundledPosition

PublicKey for the bundled position.

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: receiver

PublicKey for the wallet that will receive the rented lamports.

Generated using TypeDoc