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) • 903 B
TypeScript
import { ISupportsInterfaceQueryParams } from '../../interfaces/queries/params/ISupportsInterfaceQueryParams';
import { IBaseQuery } from '../../interfaces/queries/IBaseQuery';
import { GovernanceContract } from '@contracts';
/**
* @title Supports Interface Query
* @notice Checks if the contract supports a specific interface
* @dev Queries the governance contract to check if it supports a given interface ID
*/
export declare class SupportsInterfaceQuery implements IBaseQuery<ISupportsInterfaceQueryParams, boolean> {
private readonly governance;
constructor(governance: GovernanceContract);
/**
* @notice Executes the query to check interface support
* @param params The parameters for the query containing the interface ID
* @returns True if the interface is supported, false otherwise
*/
execute(params: ISupportsInterfaceQueryParams): Promise<boolean>;
}