UNPKG

@koyofinance/react-query-typechain

Version:
8 lines 579 B
import type { Contract } from 'ethers'; import type { Query } from 'react-query'; import type { ContractMethodName } from '../../types'; /** * Utility for matching smart contract read call queries when busting the cache. */ export declare function matchSmartContractReadCallQuery<TContract extends Contract, TMethodName extends ContractMethodName<TContract>>(query: Query, contractAddress: string | undefined, methodName: TMethodName, callArgs: Parameters<TContract['functions'][TMethodName]> | undefined): boolean; //# sourceMappingURL=matchSmartContractReadCallQuery.d.ts.map