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