Type alias CollectFeesV2Params

CollectFeesV2Params: {
    position: PublicKey;
    positionAuthority: PublicKey;
    positionTokenAccount: PublicKey;
    tokenMintA: PublicKey;
    tokenMintB: PublicKey;
    tokenOwnerAccountA: PublicKey;
    tokenOwnerAccountB: PublicKey;
    tokenProgramA: PublicKey;
    tokenProgramB: PublicKey;
    tokenTransferHookAccountsA?: AccountMeta[];
    tokenTransferHookAccountsB?: AccountMeta[];
    tokenVaultA: PublicKey;
    tokenVaultB: PublicKey;
    whirlpool: PublicKey;
}

Parameters to collect fees from a position.

Type declaration

  • position: PublicKey
  • positionAuthority: PublicKey
  • positionTokenAccount: PublicKey
  • tokenMintA: PublicKey
  • tokenMintB: PublicKey
  • tokenOwnerAccountA: PublicKey
  • tokenOwnerAccountB: PublicKey
  • tokenProgramA: PublicKey
  • tokenProgramB: PublicKey
  • Optional tokenTransferHookAccountsA?: AccountMeta[]
  • Optional tokenTransferHookAccountsB?: AccountMeta[]
  • tokenVaultA: PublicKey
  • tokenVaultB: PublicKey
  • whirlpool: PublicKey

Param: whirlpool

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

Param: position

PublicKey for the position will be opened for.

Param: positionTokenAccount

PublicKey for the position token's associated token address.

Param: positionAuthority

authority that owns the token corresponding to this desired position.

Param: tokenMintA

PublicKey for the token A mint.

Param: tokenMintB

PublicKey for the token B mint.

Param: tokenOwnerAccountA

PublicKey for the token A account that will be withdrawed from.

Param: tokenOwnerAccountB

PublicKey for the token B account that will be withdrawed from.

Param: tokenVaultA

PublicKey for the tokenA vault for this whirlpool.

Param: tokenVaultB

PublicKey for the tokenB vault for this whirlpool.

Param: tokenTransferHookAccountsA

Optional array of token transfer hook accounts for token A.

Param: tokenTransferHookAccountsB

Optional array of token transfer hook accounts for token B.

Param: tokenProgramA

PublicKey for the token program for token A.

Param: tokenProgramB

PublicKey for the token program for token B.

Generated using TypeDoc