UNPKG

evx-sdk

Version:

The Evx SDK is a developer toolkit designed to simplify interaction with the Evx decentralized liquidity protocol. It provides an abstraction layer over the smart contracts, allowing developers to easily build applications, integrate liquidity pools, fetc

21 lines (20 loc) 1.04 kB
import { IGetPopulatedTicksQueryParams } from '../../interfaces/queries/params/IGetPopulatedTicksQueryParams'; import { IGetPopulatedTicksOutput } from '../../interfaces/queries/outputs/IGetPopulatedTicksOutput'; import { IBaseQuery } from '../../interfaces/queries/IBaseQuery'; import { TickLensContract } from '@contracts'; /** * @title Get Populated Ticks Query * @notice Gets the populated ticks in a word for a given pool * @dev This query interacts with the TickLensContract to get the populated ticks */ export declare class GetPopulatedTicksQuery implements IBaseQuery<IGetPopulatedTicksQueryParams, IGetPopulatedTicksOutput> { private readonly tickLens; constructor(tickLens: TickLensContract); /** * @notice Executes the get populated ticks query * @param params The parameters for getting the populated ticks * @returns The populated ticks data * @throws Error if tickBitmapIndex is out of range */ execute(params: IGetPopulatedTicksQueryParams): Promise<IGetPopulatedTicksOutput>; }