import type { BaseContract, BytesLike, FunctionFragment, Result, Interface, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers"; import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedListener, TypedContractMethod } from "../../../common"; export interface ITornadoGovernanceInterface extends Interface { getFunction(nameOrSignature: "lockedBalance" | "userVault"): FunctionFragment; encodeFunctionData(functionFragment: "lockedBalance", values: [AddressLike]): string; encodeFunctionData(functionFragment: "userVault", values?: undefined): string; decodeFunctionResult(functionFragment: "lockedBalance", data: BytesLike): Result; decodeFunctionResult(functionFragment: "userVault", data: BytesLike): Result; } export interface ITornadoGovernance extends BaseContract { connect(runner?: ContractRunner | null): ITornadoGovernance; waitForDeployment(): Promise; interface: ITornadoGovernanceInterface; queryFilter(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>>; queryFilter(filter: TypedDeferredTopicFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>>; on(event: TCEvent, listener: TypedListener): Promise; on(filter: TypedDeferredTopicFilter, listener: TypedListener): Promise; once(event: TCEvent, listener: TypedListener): Promise; once(filter: TypedDeferredTopicFilter, listener: TypedListener): Promise; listeners(event: TCEvent): Promise>>; listeners(eventName?: string): Promise>; removeAllListeners(event?: TCEvent): Promise; lockedBalance: TypedContractMethod<[account: AddressLike], [bigint], "view">; userVault: TypedContractMethod<[], [string], "view">; getFunction(key: string | FunctionFragment): T; getFunction(nameOrSignature: "lockedBalance"): TypedContractMethod<[account: AddressLike], [bigint], "view">; getFunction(nameOrSignature: "userVault"): TypedContractMethod<[], [string], "view">; filters: {}; }