A collection of utility functions when interacting with a TickArray.
Return a sequence of tick array pdas based on the sequence start index.
A tick in the first tick-array of your sequence
Tick spacing for the whirlpool
The number of TickArray PDAs to generate
Program Id of the whirlpool for these tick-arrays
Address for the Whirlpool for these tick-arrays
TickArray PDAs for the sequence`
Evaluate a list of tick-array data and return the array of indices which the tick-arrays are not initialized.
a list of TickArrayData or null objects from WhirlpoolAccountCacheInterface.getTickArrays
an array of array-index for the input tickArrays that requires initialization.
Return a string containing all of the uninitialized arrays in the provided addresses. Useful for creating error messages.
A list of tick-array addresses to verify.
an WhirlpoolAccountFetchOptions object to define fetch and cache options when accessing on-chain accounts
A string of all uninitialized tick array addresses, delimited by ",". Falsy value if all arrays are initialized.
Generated using TypeDoc