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) 875 B
import { IProposalThresholdQueryParams } from '../../interfaces/queries/params/IProposalThresholdQueryParams'; import { IBaseQuery } from '../../interfaces/queries/IBaseQuery'; import { GovernanceContract } from '@contracts'; /** * @title Proposal Threshold Query * @notice Retrieves the proposal threshold * @dev Queries the governance contract to get the minimum voting power required to create a proposal */ export declare class ProposalThresholdQuery implements IBaseQuery<IProposalThresholdQueryParams, bigint> { private readonly governance; constructor(governance: GovernanceContract); /** * @notice Executes the query to get the proposal threshold * @param params The parameters for the query (empty for this query) * @returns The proposal threshold as a bigint */ execute(_?: IProposalThresholdQueryParams): Promise<bigint>; }