NoTickDataProvider
This tick data provider does not know how to fetch any tick data. It throws whenever it is required. Useful if you do not need to load tick data for your use case.
#
Implements#
Constructors#
constructor+ new NoTickDataProvider(): NoTickDataProvider
Returns: NoTickDataProvider
#
Methods#
getTick▸ getTick(_tick
: number): Promise<{ liquidityNet
: BigintIsh }>
Return information corresponding to a specific tick
#
ParametersName | Type |
---|---|
_tick | number |
Returns: Promise<{ liquidityNet
: BigintIsh }>
Implementation of: TickDataProvider
Defined in: entities/tickDataProvider.ts:28
#
nextInitializedTickWithinOneWord▸ nextInitializedTickWithinOneWord(_tick
: number, _lte
: boolean, _tickSpacing
: number): Promise<[number, boolean]>
Return the next tick that is initialized within a single word
#
ParametersName | Type |
---|---|
_tick | number |
_lte | boolean |
_tickSpacing | number |
Returns: Promise<[number, boolean]>
Implementation of: TickDataProvider
Defined in: entities/tickDataProvider.ts:32