/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, AddressLike, ContractRunner, ContractMethod, Listener, } from "ethers"; import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedListener, TypedContractMethod, } from "../../common"; export declare namespace BaluniV1Agent { export type CallStruct = { to: AddressLike; value: BigNumberish; data: BytesLike; }; export type CallStructOutput = [to: string, value: bigint, data: string] & { to: string; value: bigint; data: string; }; } export interface BaluniV1AgentInterface extends Interface { getFunction( nameOrSignature: | "execute" | "getFactory" | "getRouter" | "initialize" | "owner" ): FunctionFragment; encodeFunctionData( functionFragment: "execute", values: [BaluniV1Agent.CallStruct[], AddressLike[]] ): string; encodeFunctionData( functionFragment: "getFactory", values?: undefined ): string; encodeFunctionData(functionFragment: "getRouter", values?: undefined): string; encodeFunctionData( functionFragment: "initialize", values: [AddressLike] ): string; encodeFunctionData(functionFragment: "owner", values?: undefined): string; decodeFunctionResult(functionFragment: "execute", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getFactory", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getRouter", data: BytesLike): Result; decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result; decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result; } export interface BaluniV1Agent extends BaseContract { connect(runner?: ContractRunner | null): BaluniV1Agent; waitForDeployment(): Promise; interface: BaluniV1AgentInterface; 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; execute: TypedContractMethod< [calls: BaluniV1Agent.CallStruct[], tokensReturn: AddressLike[]], [void], "nonpayable" >; getFactory: TypedContractMethod<[], [string], "view">; getRouter: TypedContractMethod<[], [string], "view">; initialize: TypedContractMethod<[_owner: AddressLike], [void], "nonpayable">; owner: TypedContractMethod<[], [string], "view">; getFunction( key: string | FunctionFragment ): T; getFunction( nameOrSignature: "execute" ): TypedContractMethod< [calls: BaluniV1Agent.CallStruct[], tokensReturn: AddressLike[]], [void], "nonpayable" >; getFunction( nameOrSignature: "getFactory" ): TypedContractMethod<[], [string], "view">; getFunction( nameOrSignature: "getRouter" ): TypedContractMethod<[], [string], "view">; getFunction( nameOrSignature: "initialize" ): TypedContractMethod<[_owner: AddressLike], [void], "nonpayable">; getFunction( nameOrSignature: "owner" ): TypedContractMethod<[], [string], "view">; filters: {}; }