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) • 991 B
TypeScript
import { IHasVotedOverrideQueryParams } from '../../interfaces/queries/params/IHasVotedOverrideQueryParams';
import { IBaseQuery } from '../../interfaces/queries/IBaseQuery';
import { GovernanceContract } from '@contracts';
/**
* @title Has Voted Override Query
* @notice Checks if a specific account has voted with override on a given proposal
* @dev Queries the governance contract to check the override voting status of an account for a specific proposal
*/
export declare class HasVotedOverrideQuery implements IBaseQuery<IHasVotedOverrideQueryParams, boolean> {
private readonly governance;
constructor(governance: GovernanceContract);
/**
* @notice Executes the query to check if an account has voted with override
* @param params The parameters for the query containing proposal ID and account address
* @returns True if the account has voted with override, false otherwise
*/
execute(params: IHasVotedOverrideQueryParams): Promise<boolean>;
}