Parameters to open a position (based on Token-2022) in a Whirlpool.
PublicKey for the whirlpool that the position will be opened for.
PublicKey for the wallet that will host the minted position token.
PDA for the derived position address.
PublicKey for the mint token for the Position token.
The associated token address for the position token in the owners wallet.
The account that would fund the creation of this account
The tick specifying the lower end of the position range.
The tick specifying the upper end of the position range.
If true, the position token will have a TokenMetadata extension.
Parameters to open a position (based on Token-2022) in a Whirlpool.
Param: whirlpool
PublicKey for the whirlpool that the position will be opened for.
Param: ownerKey
PublicKey for the wallet that will host the minted position token.
Param: positionPda
PDA for the derived position address.
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: funder
The account that would fund the creation of this account
Param: tickLowerIndex
The tick specifying the lower end of the position range.
Param: tickUpperIndex
The tick specifying the upper end of the position range.
Param: withTokenMetadataExtension
If true, the position token will have a TokenMetadata extension.