Parameters to close a position (based on Token-2022) in a Whirlpool.
PublicKey for the wallet that will receive the rented lamports.
PublicKey for the position.
PublicKey for the mint token for the Position token.
The associated token address for the position token in the owners wallet.
Authority that owns the position token.
Parameters to close a position (based on Token-2022) in a Whirlpool.
Param: receiver
PublicKey for the wallet that will receive the rented lamports.
Param: position
PublicKey for the position.
Param: positionMint
PublicKey for the mint token for the Position token.
Param: positionTokenAccount
The associated token address for the position token in the owners wallet.
Param: positionAuthority
Authority that owns the position token.