/* 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 IGraphPaymentsInterface extends Interface { getFunction( nameOrSignature: "PROTOCOL_PAYMENT_CUT" | "collect" | "initialize" ): FunctionFragment; getEvent(nameOrSignatureOrTopic: "GraphPaymentCollected"): EventFragment; encodeFunctionData( functionFragment: "PROTOCOL_PAYMENT_CUT", values?: undefined ): string; encodeFunctionData( functionFragment: "collect", values: [ BigNumberish, AddressLike, BigNumberish, AddressLike, BigNumberish, AddressLike ] ): string; encodeFunctionData( functionFragment: "initialize", values?: undefined ): string; decodeFunctionResult( functionFragment: "PROTOCOL_PAYMENT_CUT", data: BytesLike ): Result; decodeFunctionResult(functionFragment: "collect", data: BytesLike): Result; decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result; } export namespace GraphPaymentCollectedEvent { export type InputTuple = [ paymentType: BigNumberish, payer: AddressLike, receiver: AddressLike, dataService: AddressLike, tokens: BigNumberish, tokensProtocol: BigNumberish, tokensDataService: BigNumberish, tokensDelegationPool: BigNumberish, tokensReceiver: BigNumberish, receiverDestination: AddressLike ]; export type OutputTuple = [ paymentType: bigint, payer: string, receiver: string, dataService: string, tokens: bigint, tokensProtocol: bigint, tokensDataService: bigint, tokensDelegationPool: bigint, tokensReceiver: bigint, receiverDestination: string ]; export interface OutputObject { paymentType: bigint; payer: string; receiver: string; dataService: string; tokens: bigint; tokensProtocol: bigint; tokensDataService: bigint; tokensDelegationPool: bigint; tokensReceiver: bigint; receiverDestination: string; } export type Event = TypedContractEvent; export type Filter = TypedDeferredTopicFilter; export type Log = TypedEventLog; export type LogDescription = TypedLogDescription; } export interface IGraphPayments extends BaseContract { connect(runner?: ContractRunner | null): IGraphPayments; waitForDeployment(): Promise; interface: IGraphPaymentsInterface; 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; PROTOCOL_PAYMENT_CUT: TypedContractMethod<[], [bigint], "view">; collect: TypedContractMethod< [ paymentType: BigNumberish, receiver: AddressLike, tokens: BigNumberish, dataService: AddressLike, dataServiceCut: BigNumberish, receiverDestination: AddressLike ], [void], "nonpayable" >; initialize: TypedContractMethod<[], [void], "nonpayable">; getFunction( key: string | FunctionFragment ): T; getFunction( nameOrSignature: "PROTOCOL_PAYMENT_CUT" ): TypedContractMethod<[], [bigint], "view">; getFunction( nameOrSignature: "collect" ): TypedContractMethod< [ paymentType: BigNumberish, receiver: AddressLike, tokens: BigNumberish, dataService: AddressLike, dataServiceCut: BigNumberish, receiverDestination: AddressLike ], [void], "nonpayable" >; getFunction( nameOrSignature: "initialize" ): TypedContractMethod<[], [void], "nonpayable">; getEvent( key: "GraphPaymentCollected" ): TypedContractEvent< GraphPaymentCollectedEvent.InputTuple, GraphPaymentCollectedEvent.OutputTuple, GraphPaymentCollectedEvent.OutputObject >; filters: { "GraphPaymentCollected(uint8,address,address,address,uint256,uint256,uint256,uint256,uint256,address)": TypedContractEvent< GraphPaymentCollectedEvent.InputTuple, GraphPaymentCollectedEvent.OutputTuple, GraphPaymentCollectedEvent.OutputObject >; GraphPaymentCollected: TypedContractEvent< GraphPaymentCollectedEvent.InputTuple, GraphPaymentCollectedEvent.OutputTuple, GraphPaymentCollectedEvent.OutputObject >; }; }