/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener, } from "ethers"; import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod, } from "../../common"; export interface SimpleRecipientRegistryInterface extends Interface { getFunction( nameOrSignature: | "addRecipient" | "controller" | "getRecipientAddress" | "getRecipientCount" | "maxRecipients" | "owner" | "removeRecipient" | "renounceOwnership" | "setMaxRecipients" | "transferOwnership" ): FunctionFragment; getEvent( nameOrSignatureOrTopic: | "OwnershipTransferred" | "RecipientAdded" | "RecipientRemoved" ): EventFragment; encodeFunctionData( functionFragment: "addRecipient", values: [AddressLike, string] ): string; encodeFunctionData( functionFragment: "controller", values?: undefined ): string; encodeFunctionData( functionFragment: "getRecipientAddress", values: [BigNumberish, BigNumberish, BigNumberish] ): string; encodeFunctionData( functionFragment: "getRecipientCount", values?: undefined ): string; encodeFunctionData( functionFragment: "maxRecipients", values?: undefined ): string; encodeFunctionData(functionFragment: "owner", values?: undefined): string; encodeFunctionData( functionFragment: "removeRecipient", values: [BytesLike] ): string; encodeFunctionData( functionFragment: "renounceOwnership", values?: undefined ): string; encodeFunctionData( functionFragment: "setMaxRecipients", values: [BigNumberish] ): string; encodeFunctionData( functionFragment: "transferOwnership", values: [AddressLike] ): string; decodeFunctionResult( functionFragment: "addRecipient", data: BytesLike ): Result; decodeFunctionResult(functionFragment: "controller", data: BytesLike): Result; decodeFunctionResult( functionFragment: "getRecipientAddress", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "getRecipientCount", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "maxRecipients", data: BytesLike ): Result; decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result; decodeFunctionResult( functionFragment: "removeRecipient", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "renounceOwnership", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "setMaxRecipients", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "transferOwnership", data: BytesLike ): Result; } export namespace OwnershipTransferredEvent { export type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike]; export type OutputTuple = [previousOwner: string, newOwner: string]; export interface OutputObject { previousOwner: string; newOwner: string; } export type Event = TypedContractEvent; export type Filter = TypedDeferredTopicFilter; export type Log = TypedEventLog; export type LogDescription = TypedLogDescription; } export namespace RecipientAddedEvent { export type InputTuple = [ _recipientId: BytesLike, _recipient: AddressLike, _metadata: string, _index: BigNumberish, _timestamp: BigNumberish ]; export type OutputTuple = [ _recipientId: string, _recipient: string, _metadata: string, _index: bigint, _timestamp: bigint ]; export interface OutputObject { _recipientId: string; _recipient: string; _metadata: string; _index: bigint; _timestamp: bigint; } export type Event = TypedContractEvent; export type Filter = TypedDeferredTopicFilter; export type Log = TypedEventLog; export type LogDescription = TypedLogDescription; } export namespace RecipientRemovedEvent { export type InputTuple = [_recipientId: BytesLike, _timestamp: BigNumberish]; export type OutputTuple = [_recipientId: string, _timestamp: bigint]; export interface OutputObject { _recipientId: string; _timestamp: bigint; } export type Event = TypedContractEvent; export type Filter = TypedDeferredTopicFilter; export type Log = TypedEventLog; export type LogDescription = TypedLogDescription; } export interface SimpleRecipientRegistry extends BaseContract { connect(runner?: ContractRunner | null): SimpleRecipientRegistry; waitForDeployment(): Promise; interface: SimpleRecipientRegistryInterface; 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; addRecipient: TypedContractMethod< [_recipient: AddressLike, _metadata: string], [void], "nonpayable" >; controller: TypedContractMethod<[], [string], "view">; getRecipientAddress: TypedContractMethod< [_index: BigNumberish, _startTime: BigNumberish, _endTime: BigNumberish], [string], "view" >; getRecipientCount: TypedContractMethod<[], [bigint], "view">; maxRecipients: TypedContractMethod<[], [bigint], "view">; owner: TypedContractMethod<[], [string], "view">; removeRecipient: TypedContractMethod< [_recipientId: BytesLike], [void], "nonpayable" >; renounceOwnership: TypedContractMethod<[], [void], "nonpayable">; setMaxRecipients: TypedContractMethod< [_maxRecipients: BigNumberish], [boolean], "nonpayable" >; transferOwnership: TypedContractMethod< [newOwner: AddressLike], [void], "nonpayable" >; getFunction( key: string | FunctionFragment ): T; getFunction( nameOrSignature: "addRecipient" ): TypedContractMethod< [_recipient: AddressLike, _metadata: string], [void], "nonpayable" >; getFunction( nameOrSignature: "controller" ): TypedContractMethod<[], [string], "view">; getFunction( nameOrSignature: "getRecipientAddress" ): TypedContractMethod< [_index: BigNumberish, _startTime: BigNumberish, _endTime: BigNumberish], [string], "view" >; getFunction( nameOrSignature: "getRecipientCount" ): TypedContractMethod<[], [bigint], "view">; getFunction( nameOrSignature: "maxRecipients" ): TypedContractMethod<[], [bigint], "view">; getFunction( nameOrSignature: "owner" ): TypedContractMethod<[], [string], "view">; getFunction( nameOrSignature: "removeRecipient" ): TypedContractMethod<[_recipientId: BytesLike], [void], "nonpayable">; getFunction( nameOrSignature: "renounceOwnership" ): TypedContractMethod<[], [void], "nonpayable">; getFunction( nameOrSignature: "setMaxRecipients" ): TypedContractMethod< [_maxRecipients: BigNumberish], [boolean], "nonpayable" >; getFunction( nameOrSignature: "transferOwnership" ): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">; getEvent( key: "OwnershipTransferred" ): TypedContractEvent< OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject >; getEvent( key: "RecipientAdded" ): TypedContractEvent< RecipientAddedEvent.InputTuple, RecipientAddedEvent.OutputTuple, RecipientAddedEvent.OutputObject >; getEvent( key: "RecipientRemoved" ): TypedContractEvent< RecipientRemovedEvent.InputTuple, RecipientRemovedEvent.OutputTuple, RecipientRemovedEvent.OutputObject >; filters: { "OwnershipTransferred(address,address)": TypedContractEvent< OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject >; OwnershipTransferred: TypedContractEvent< OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject >; "RecipientAdded(bytes32,address,string,uint256,uint256)": TypedContractEvent< RecipientAddedEvent.InputTuple, RecipientAddedEvent.OutputTuple, RecipientAddedEvent.OutputObject >; RecipientAdded: TypedContractEvent< RecipientAddedEvent.InputTuple, RecipientAddedEvent.OutputTuple, RecipientAddedEvent.OutputObject >; "RecipientRemoved(bytes32,uint256)": TypedContractEvent< RecipientRemovedEvent.InputTuple, RecipientRemovedEvent.OutputTuple, RecipientRemovedEvent.OutputObject >; RecipientRemoved: TypedContractEvent< RecipientRemovedEvent.InputTuple, RecipientRemovedEvent.OutputTuple, RecipientRemovedEvent.OutputObject >; }; }