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) • 910 B
TypeScript
import { IGetQuorumNumeratorQueryParams } from '../../interfaces/queries/params/IGetQuorumNumeratorQueryParams';
import { IBaseQuery } from '../../interfaces/queries/IBaseQuery';
import { GovernanceContract } from '@contracts';
/**
* @title Get Quorum Numerator Query
* @notice Retrieves the quorum numerator for a specific timepoint or current
* @dev Queries the governance contract to get the numerator used in quorum calculations
*/
export declare class GetQuorumNumeratorQuery implements IBaseQuery<IGetQuorumNumeratorQueryParams, bigint> {
private readonly governance;
constructor(governance: GovernanceContract);
/**
* @notice Executes the query to get the quorum numerator
* @param params The parameters for the query containing optional timepoint
* @returns The quorum numerator as a bigint
*/
execute(params: IGetQuorumNumeratorQueryParams): Promise<bigint>;
}