Important Util helpers
Reference the following utility types to help you interact with the Whirlpool protocol.
PDAUtil
Utility class to help you derive the PDA for Whirlpool accounts
PriceMath
Utility methods to help you convert between sqrt-price, price and tick index.
TickUtil
Utility class hosting Tick utility methods such as finding initializable ticks, deriving tick array start-index etc.
TickArrayUtil
Utility class to help fetch TickArray data.
PoolUtil
A collection of utility methods that you may use when interacting with the Whirlpool account.
Last updated