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

20 lines (19 loc) 978 B
import { IEip712DomainQueryParams } from '../../interfaces/queries/params/IEip712DomainQueryParams'; import { IEip712DomainQueryOutput } from '../../interfaces/queries/outputs/IEip712DomainQueryOutput'; import { IBaseQuery } from '../../interfaces/queries/IBaseQuery'; import { GovernanceContract } from '@contracts'; /** * @title EIP-712 Domain Query * @notice Retrieves the EIP-712 domain from the Governance contract * @dev Queries the governance contract to get the EIP-712 domain fields */ export declare class Eip712DomainQuery implements IBaseQuery<IEip712DomainQueryParams, IEip712DomainQueryOutput> { private readonly governance; constructor(governance: GovernanceContract); /** * @notice Executes the query to get the EIP-712 domain * @param params The parameters for the query (empty for eip712Domain function) * @returns The EIP-712 domain result */ execute(_?: IEip712DomainQueryParams): Promise<IEip712DomainQueryOutput>; }