Static
getReturn 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`
Static
getGet the tick from tickArray with a global tickIndex.
Static
getEvaluate 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.
Static
getStatic
getReturn 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.
Optional
opts: SimpleAccountFetchOptionsan 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.
A collection of utility functions when interacting with a TickArray.