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

19 lines (18 loc) 870 B
import { IGetFeeAmountTickSpacingQueryParams } from '../../interfaces/queries/params/IGetFeeAmountTickSpacingQueryParams'; import { IBaseQuery } from '../../interfaces/queries/IBaseQuery'; import { FactoryContract } from '@contracts'; /** * @title Get Fee Amount Tick Spacing Query * @notice Retrieves the tick spacing for a given fee amount * @dev Queries the factory contract to get the tick spacing configuration */ export declare class GetFeeAmountTickSpacingQuery implements IBaseQuery<IGetFeeAmountTickSpacingQueryParams, number> { private readonly factory; constructor(factory: FactoryContract); /** * @notice Executes the query to get tick spacing * @param params The parameters for the query * @returns The tick spacing for the given fee amount */ execute(params: IGetFeeAmountTickSpacingQueryParams): Promise<number>; }