position
position: PublicKey
positionAuthority
positionAuthority: PublicKey
positionTokenAccount
positionTokenAccount: PublicKey
tokenMintA
tokenMintA: PublicKey
tokenMintB
tokenMintB: PublicKey
tokenOwnerAccountA
tokenOwnerAccountA: PublicKey
tokenOwnerAccountB
tokenOwnerAccountB: PublicKey
tokenProgramA
tokenProgramA: PublicKey
tokenProgramB
tokenProgramB: PublicKey
Optional
tokenTransferHookAccountsA
tokenTransferHookAccountsA?: AccountMeta[]
Optional
tokenTransferHookAccountsB
tokenTransferHookAccountsB?: AccountMeta[]
tokenVaultA
tokenVaultA: PublicKey
tokenVaultB
tokenVaultB: PublicKey
whirlpool
whirlpool: PublicKey
Parameters to collect fees from a position.
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.