import type { FunctionFragment, Result } from '@ethersproject/abi'; import { Interface } from '@ethersproject/abi'; import type { Listener, Provider } from '@ethersproject/abstract-provider'; import type { Signer } from '@ethersproject/abstract-signer'; import type { BigNumber } from '@ethersproject/bignumber'; import type { BytesLike } from '@ethersproject/bytes'; import type { BaseContract, CallOverrides, PopulatedTransaction } from '@ethersproject/contracts'; import type { OnEvent, PromiseOrValue, TypedEvent, TypedEventFilter, TypedListener } from './common'; export interface SHA256DigestInterface extends Interface { functions: { 'verify(bytes,bytes)': FunctionFragment; }; getFunction(nameOrSignatureOrTopic: 'verify'): FunctionFragment; encodeFunctionData(functionFragment: 'verify', values: [PromiseOrValue, PromiseOrValue]): string; decodeFunctionResult(functionFragment: 'verify', data: BytesLike): Result; events: {}; } export interface SHA256Digest extends BaseContract { connect(signerOrProvider: Signer | Provider | string): this; attach(addressOrName: string): this; deployed(): Promise; interface: SHA256DigestInterface; queryFilter(event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>; listeners(eventFilter?: TypedEventFilter): Array>; listeners(eventName?: string): Array; removeAllListeners(eventFilter: TypedEventFilter): this; removeAllListeners(eventName?: string): this; off: OnEvent; on: OnEvent; once: OnEvent; removeListener: OnEvent; functions: { /** * Verifies a cryptographic hash. * @param data The data to hash. * @param hash The hash to compare to. */ verify(data: PromiseOrValue, hash: PromiseOrValue, overrides?: CallOverrides): Promise<[boolean]>; }; /** * Verifies a cryptographic hash. * @param data The data to hash. * @param hash The hash to compare to. */ verify(data: PromiseOrValue, hash: PromiseOrValue, overrides?: CallOverrides): Promise; callStatic: { /** * Verifies a cryptographic hash. * @param data The data to hash. * @param hash The hash to compare to. */ verify(data: PromiseOrValue, hash: PromiseOrValue, overrides?: CallOverrides): Promise; }; filters: {}; estimateGas: { /** * Verifies a cryptographic hash. * @param data The data to hash. * @param hash The hash to compare to. */ verify(data: PromiseOrValue, hash: PromiseOrValue, overrides?: CallOverrides): Promise; }; populateTransaction: { /** * Verifies a cryptographic hash. * @param data The data to hash. * @param hash The hash to compare to. */ verify(data: PromiseOrValue, hash: PromiseOrValue, overrides?: CallOverrides): Promise; }; }