/* 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 interface TrustFactoryInterface extends Interface { getFunction( nameOrSignature: "addressOf" | "deploy" | "trustCreationCode" ): FunctionFragment; encodeFunctionData( functionFragment: "addressOf", values: [AddressLike, AddressLike, BigNumberish] ): string; encodeFunctionData( functionFragment: "deploy", values: [AddressLike, AddressLike, BigNumberish] ): string; encodeFunctionData( functionFragment: "trustCreationCode", values?: undefined ): string; decodeFunctionResult(functionFragment: "addressOf", data: BytesLike): Result; decodeFunctionResult(functionFragment: "deploy", data: BytesLike): Result; decodeFunctionResult( functionFragment: "trustCreationCode", data: BytesLike ): Result; } export interface TrustFactory extends BaseContract { connect(runner?: ContractRunner | null): TrustFactory; waitForDeployment(): Promise; interface: TrustFactoryInterface; 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; addressOf: TypedContractMethod< [_owner: AddressLike, _beneficiary: AddressLike, _duration: BigNumberish], [string], "view" >; deploy: TypedContractMethod< [_owner: AddressLike, _beneficiary: AddressLike, _duration: BigNumberish], [string], "nonpayable" >; trustCreationCode: TypedContractMethod<[], [string], "view">; getFunction( key: string | FunctionFragment ): T; getFunction( nameOrSignature: "addressOf" ): TypedContractMethod< [_owner: AddressLike, _beneficiary: AddressLike, _duration: BigNumberish], [string], "view" >; getFunction( nameOrSignature: "deploy" ): TypedContractMethod< [_owner: AddressLike, _beneficiary: AddressLike, _duration: BigNumberish], [string], "nonpayable" >; getFunction( nameOrSignature: "trustCreationCode" ): TypedContractMethod<[], [string], "view">; filters: {}; }