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