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) 930 B
import { IProposalNeedsQueuingQueryParams } from '../../interfaces/queries/params/IProposalNeedsQueuingQueryParams'; import { IBaseQuery } from '../../interfaces/queries/IBaseQuery'; import { GovernanceContract } from '@contracts'; /** * @title Proposal Needs Queuing Query * @notice Checks if a specific proposal needs queuing * @dev Queries the governance contract to check if a proposal requires queuing before execution */ export declare class ProposalNeedsQueuingQuery implements IBaseQuery<IProposalNeedsQueuingQueryParams, boolean> { private readonly governance; constructor(governance: GovernanceContract); /** * @notice Executes the query to check if a proposal needs queuing * @param params The parameters for the query containing proposal ID * @returns True if the proposal needs queuing, false otherwise */ execute(params: IProposalNeedsQueuingQueryParams): Promise<boolean>; }