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