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) 780 B
import { INoncesQueryParams } from '../../interfaces/queries/params/INoncesQueryParams'; import { IBaseQuery } from '../../interfaces/queries/IBaseQuery'; import { GovernanceContract } from '@contracts'; /** * @title Nonces Query * @notice Retrieves the nonce for a given owner address * @dev Queries the governance contract to get the nonce of an owner address */ export declare class NoncesQuery implements IBaseQuery<INoncesQueryParams, bigint> { private readonly governance; constructor(governance: GovernanceContract); /** * @notice Executes the query to get the nonce * @param params The parameters for the query containing the owner address * @returns The nonce as a bigint */ execute(params: INoncesQueryParams): Promise<bigint>; }