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