/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, PopulatedTransaction, Signer, utils, } from "ethers"; import type { FunctionFragment, Result } from "@ethersproject/abi"; import type { Listener, Provider } from "@ethersproject/providers"; import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue, } from "../../common"; export declare namespace RLPParser { export type LogStruct = { contractAddress: PromiseOrValue; topics: PromiseOrValue[]; data: PromiseOrValue; }; export type LogStructOutput = [string, string[], string] & { contractAddress: string; topics: string[]; data: string; }; export type TransactionReceiptStruct = { status: PromiseOrValue; gasUsed: PromiseOrValue; logsBloom: PromiseOrValue; logs: RLPParser.LogStruct[]; }; export type TransactionReceiptStructOutput = [ number, BigNumber, string, RLPParser.LogStructOutput[] ] & { status: number; gasUsed: BigNumber; logsBloom: string; logs: RLPParser.LogStructOutput[]; }; } export declare namespace MPT { export type MerkleProofStruct = { expectedRoot: PromiseOrValue; key: PromiseOrValue; proof: PromiseOrValue[]; keyIndex: PromiseOrValue; proofIndex: PromiseOrValue; expectedValue: PromiseOrValue; }; export type MerkleProofStructOutput = [ string, string, string[], BigNumber, BigNumber, string ] & { expectedRoot: string; key: string; proof: string[]; keyIndex: BigNumber; proofIndex: BigNumber; expectedValue: string; }; } export interface VerifierTestInterface extends utils.Interface { functions: { "parseReceipt(bytes)": FunctionFragment; "verifyReceipt((bytes32,bytes,bytes[],uint256,uint256,bytes))": FunctionFragment; }; getFunction( nameOrSignatureOrTopic: "parseReceipt" | "verifyReceipt" ): FunctionFragment; encodeFunctionData( functionFragment: "parseReceipt", values: [PromiseOrValue] ): string; encodeFunctionData( functionFragment: "verifyReceipt", values: [MPT.MerkleProofStruct] ): string; decodeFunctionResult( functionFragment: "parseReceipt", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "verifyReceipt", data: BytesLike ): Result; events: {}; } export interface VerifierTest extends BaseContract { connect(signerOrProvider: Signer | Provider | string): this; attach(addressOrName: string): this; deployed(): Promise; interface: VerifierTestInterface; 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: { parseReceipt( receiptRlp: PromiseOrValue, overrides?: CallOverrides ): Promise< [RLPParser.TransactionReceiptStructOutput] & { receipt: RLPParser.TransactionReceiptStructOutput; } >; verifyReceipt( proof: MPT.MerkleProofStruct, overrides?: CallOverrides ): Promise<[boolean] & { ok: boolean }>; }; parseReceipt( receiptRlp: PromiseOrValue, overrides?: CallOverrides ): Promise; verifyReceipt( proof: MPT.MerkleProofStruct, overrides?: CallOverrides ): Promise; callStatic: { parseReceipt( receiptRlp: PromiseOrValue, overrides?: CallOverrides ): Promise; verifyReceipt( proof: MPT.MerkleProofStruct, overrides?: CallOverrides ): Promise; }; filters: {}; estimateGas: { parseReceipt( receiptRlp: PromiseOrValue, overrides?: CallOverrides ): Promise; verifyReceipt( proof: MPT.MerkleProofStruct, overrides?: CallOverrides ): Promise; }; populateTransaction: { parseReceipt( receiptRlp: PromiseOrValue, overrides?: CallOverrides ): Promise; verifyReceipt( proof: MPT.MerkleProofStruct, overrides?: CallOverrides ): Promise; }; }