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) • 986 B
TypeScript
import { IExtendedBallotTypeHashQueryParams } from '../../interfaces/queries/params/IExtendedBallotTypeHashQueryParams';
import { IBaseQuery } from '../../interfaces/queries/IBaseQuery';
import { GovernanceContract } from '@contracts';
/**
* @title Extended Ballot Type Hash Query
* @notice Retrieves the extended ballot type hash from the Governance contract
* @dev Queries the governance contract to get the EXTENDED_BALLOT_TYPEHASH for extended EIP-712 signatures
*/
export declare class ExtendedBallotTypeHashQuery implements IBaseQuery<IExtendedBallotTypeHashQueryParams, string> {
private readonly governance;
constructor(governance: GovernanceContract);
/**
* @notice Executes the query to get the extended ballot type hash
* @param params The parameters for the query (empty for EXTENDED_BALLOT_TYPEHASH function)
* @returns The extended ballot type hash as a string
*/
execute(_?: IExtendedBallotTypeHashQueryParams): Promise<string>;
}