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) 862 B
import { ICountingModeQueryParams } from '../../interfaces/queries/params/ICountingModeQueryParams'; import { IBaseQuery } from '../../interfaces/queries/IBaseQuery'; import { GovernanceContract } from '@contracts'; /** * @title Counting Mode Query * @notice Retrieves the counting mode of the governance contract * @dev Queries the governance contract to get the counting mode (e.g., "=bravo&from=default") */ export declare class CountingModeQuery implements IBaseQuery<ICountingModeQueryParams, string> { private readonly governance; constructor(governance: GovernanceContract); /** * @notice Executes the query to get the counting mode * @param params The parameters for the query (empty for COUNTING_MODE function) * @returns The counting mode as a string */ execute(_?: ICountingModeQueryParams): Promise<string>; }