/* 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, EventFragment, } from "@ethersproject/abi"; import type { Listener, Provider } from "@ethersproject/providers"; import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, } from "./common"; export interface ProxyLightABIInterface extends utils.Interface { contractName: "ProxyLightABI"; functions: { "backupNotes(bytes[])": FunctionFragment; "deposit(address,bytes32,bytes)": FunctionFragment; "withdraw(address,bytes,bytes32,bytes32,address,address,uint256,uint256)": FunctionFragment; }; getFunction( nameOrSignatureOrTopic: "backupNotes" | "deposit" | "withdraw" ): FunctionFragment; encodeFunctionData( functionFragment: "backupNotes", values: [BytesLike[]] ): string; encodeFunctionData( functionFragment: "deposit", values: [string, BytesLike, BytesLike] ): string; encodeFunctionData( functionFragment: "withdraw", values: [ string, BytesLike, BytesLike, BytesLike, string, string, BigNumberish, BigNumberish ] ): string; decodeFunctionResult( functionFragment: "backupNotes", data: BytesLike ): Result; decodeFunctionResult(functionFragment: "deposit", data: BytesLike): Result; decodeFunctionResult(functionFragment: "withdraw", data: BytesLike): Result; events: { "EncryptedNote(address,bytes)": EventFragment; }; getEvent(nameOrSignatureOrTopic: "EncryptedNote"): EventFragment; } export interface EncryptedNoteEventObject { sender: string; encryptedNote: string; } export type EncryptedNoteEvent = TypedEvent< [string, string], EncryptedNoteEventObject >; export type EncryptedNoteEventFilter = TypedEventFilter; export interface ProxyLightABI extends BaseContract { contractName: "ProxyLightABI"; connect(signerOrProvider: Signer | Provider | string): this; attach(addressOrName: string): this; deployed(): Promise; interface: ProxyLightABIInterface; 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: { backupNotes( _encryptedNotes: BytesLike[], overrides?: Overrides & { from?: string | Promise } ): Promise; deposit( _tornado: string, _commitment: BytesLike, _encryptedNote: BytesLike, overrides?: PayableOverrides & { 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; }; backupNotes( _encryptedNotes: BytesLike[], overrides?: Overrides & { from?: string | Promise } ): Promise; deposit( _tornado: string, _commitment: BytesLike, _encryptedNote: BytesLike, overrides?: PayableOverrides & { 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: { backupNotes( _encryptedNotes: BytesLike[], overrides?: CallOverrides ): Promise; deposit( _tornado: string, _commitment: BytesLike, _encryptedNote: BytesLike, overrides?: CallOverrides ): Promise; withdraw( _tornado: string, _proof: BytesLike, _root: BytesLike, _nullifierHash: BytesLike, _recipient: string, _relayer: string, _fee: BigNumberish, _refund: BigNumberish, overrides?: CallOverrides ): Promise; }; filters: { "EncryptedNote(address,bytes)"( sender?: string | null, encryptedNote?: null ): EncryptedNoteEventFilter; EncryptedNote( sender?: string | null, encryptedNote?: null ): EncryptedNoteEventFilter; }; estimateGas: { backupNotes( _encryptedNotes: BytesLike[], overrides?: Overrides & { from?: string | Promise } ): Promise; deposit( _tornado: string, _commitment: BytesLike, _encryptedNote: BytesLike, overrides?: PayableOverrides & { 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: { backupNotes( _encryptedNotes: BytesLike[], overrides?: Overrides & { from?: string | Promise } ): Promise; deposit( _tornado: string, _commitment: BytesLike, _encryptedNote: BytesLike, overrides?: PayableOverrides & { 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; }; }