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) 827 B
import { ITimelockQueryParams } from '../../interfaces/queries/params/ITimelockQueryParams'; import { IBaseQuery } from '../../interfaces/queries/IBaseQuery'; import { GovernanceContract } from '@contracts'; /** * @title Timelock Query * @notice Retrieves the timelock address from the governance contract * @dev Queries the governance contract to get the timelock controller address */ export declare class TimelockQuery implements IBaseQuery<ITimelockQueryParams, string> { private readonly governance; constructor(governance: GovernanceContract); /** * @notice Executes the query to get the timelock address * @param params The parameters for the query (empty for timelock function) * @returns The timelock address as a string */ execute(_?: ITimelockQueryParams): Promise<string>; }