/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PayableOverrides, 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, } from "./common"; export interface TornadoProxyABIInterface extends utils.Interface { functions: { "governance()": FunctionFragment; "instances(address)": FunctionFragment; "resolve(bytes32)": FunctionFragment; "tornadoTrees()": FunctionFragment; "deposit(address,bytes32)": FunctionFragment; "updateInstances(address,bool)": FunctionFragment; "withdraw(address,bytes,bytes32,bytes32,address,address,uint256,uint256)": FunctionFragment; }; getFunction( nameOrSignatureOrTopic: | "governance" | "instances" | "resolve" | "tornadoTrees" | "deposit" | "updateInstances" | "withdraw" ): FunctionFragment; encodeFunctionData( functionFragment: "governance", values?: undefined ): string; encodeFunctionData(functionFragment: "instances", values: [string]): string; encodeFunctionData(functionFragment: "resolve", values: [BytesLike]): string; encodeFunctionData( functionFragment: "tornadoTrees", values?: undefined ): string; encodeFunctionData( functionFragment: "deposit", values: [string, BytesLike] ): string; encodeFunctionData( functionFragment: "updateInstances", values: [string, boolean] ): string; encodeFunctionData( functionFragment: "withdraw", values: [ string, BytesLike, BytesLike, BytesLike, string, string, BigNumberish, BigNumberish ] ): string; decodeFunctionResult(functionFragment: "governance", data: BytesLike): Result; decodeFunctionResult(functionFragment: "instances", data: BytesLike): Result; decodeFunctionResult(functionFragment: "resolve", data: BytesLike): Result; decodeFunctionResult( functionFragment: "tornadoTrees", data: BytesLike ): Result; decodeFunctionResult(functionFragment: "deposit", data: BytesLike): Result; decodeFunctionResult( functionFragment: "updateInstances", data: BytesLike ): Result; decodeFunctionResult(functionFragment: "withdraw", data: BytesLike): Result; events: {}; } export interface TornadoProxyABI extends BaseContract { connect(signerOrProvider: Signer | Provider | string): this; attach(addressOrName: string): this; deployed(): Promise; interface: TornadoProxyABIInterface; 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: { governance(overrides?: CallOverrides): Promise<[string]>; instances(arg0: string, overrides?: CallOverrides): Promise<[boolean]>; resolve(node: BytesLike, overrides?: CallOverrides): Promise<[string]>; tornadoTrees(overrides?: CallOverrides): Promise<[string]>; deposit( tornado: string, commitment: BytesLike, overrides?: PayableOverrides & { from?: string | Promise } ): Promise; updateInstances( instance: string, update: boolean, overrides?: Overrides & { from?: string | Promise } ): Promise; withdraw( tornado: string, proof: BytesLike, root: BytesLike, nullifierHash: BytesLike, recipient: string, relayer: string, fee: BigNumberish, refund: BigNumberish, overrides?: PayableOverrides & { from?: string | Promise } ): Promise; }; governance(overrides?: CallOverrides): Promise; instances(arg0: string, overrides?: CallOverrides): Promise; resolve(node: BytesLike, overrides?: CallOverrides): Promise; tornadoTrees(overrides?: CallOverrides): Promise; deposit( tornado: string, commitment: BytesLike, overrides?: PayableOverrides & { from?: string | Promise } ): Promise; updateInstances( instance: string, update: boolean, overrides?: Overrides & { from?: string | Promise } ): Promise; withdraw( tornado: string, proof: BytesLike, root: BytesLike, nullifierHash: BytesLike, recipient: string, relayer: string, fee: BigNumberish, refund: BigNumberish, overrides?: PayableOverrides & { from?: string | Promise } ): Promise; callStatic: { governance(overrides?: CallOverrides): Promise; instances(arg0: string, overrides?: CallOverrides): Promise; resolve(node: BytesLike, overrides?: CallOverrides): Promise; tornadoTrees(overrides?: CallOverrides): Promise; deposit( tornado: string, commitment: BytesLike, overrides?: CallOverrides ): Promise; updateInstances( instance: string, update: boolean, overrides?: CallOverrides ): Promise; withdraw( tornado: string, proof: BytesLike, root: BytesLike, nullifierHash: BytesLike, recipient: string, relayer: string, fee: BigNumberish, refund: BigNumberish, overrides?: CallOverrides ): Promise; }; filters: {}; estimateGas: { governance(overrides?: CallOverrides): Promise; instances(arg0: string, overrides?: CallOverrides): Promise; resolve(node: BytesLike, overrides?: CallOverrides): Promise; tornadoTrees(overrides?: CallOverrides): Promise; deposit( tornado: string, commitment: BytesLike, overrides?: PayableOverrides & { from?: string | Promise } ): Promise; updateInstances( instance: string, update: boolean, overrides?: Overrides & { from?: string | Promise } ): Promise; withdraw( tornado: string, proof: BytesLike, root: BytesLike, nullifierHash: BytesLike, recipient: string, relayer: string, fee: BigNumberish, refund: BigNumberish, overrides?: PayableOverrides & { from?: string | Promise } ): Promise; }; populateTransaction: { governance(overrides?: CallOverrides): Promise; instances( arg0: string, overrides?: CallOverrides ): Promise; resolve( node: BytesLike, overrides?: CallOverrides ): Promise; tornadoTrees(overrides?: CallOverrides): Promise; deposit( tornado: string, commitment: BytesLike, overrides?: PayableOverrides & { from?: string | Promise } ): Promise; updateInstances( instance: string, update: boolean, overrides?: Overrides & { from?: string | Promise } ): Promise; withdraw( tornado: string, proof: BytesLike, root: BytesLike, nullifierHash: BytesLike, recipient: string, relayer: string, fee: BigNumberish, refund: BigNumberish, overrides?: PayableOverrides & { from?: string | Promise } ): Promise; }; }