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 IRewardsManagerToolshedInterface extends Interface { getFunction(nameOrSignature: "calcRewards" | "getAccRewardsForSubgraph" | "getAccRewardsPerAllocatedToken" | "getAccRewardsPerSignal" | "getNewRewardsPerSignal" | "getRewards" | "isDenied" | "onSubgraphAllocationUpdate" | "onSubgraphSignalUpdate" | "setDenied" | "setIssuancePerBlock" | "setMinimumSubgraphSignal" | "setSubgraphAvailabilityOracle" | "setSubgraphService" | "subgraphService" | "takeRewards" | "updateAccRewardsPerSignal"): FunctionFragment; getEvent(nameOrSignatureOrTopic: "HorizonRewardsAssigned" | "RewardsAssigned" | "RewardsDenied" | "RewardsDenylistUpdated" | "SubgraphServiceSet"): EventFragment; encodeFunctionData(functionFragment: "calcRewards", values: [BigNumberish, BigNumberish]): string; encodeFunctionData(functionFragment: "getAccRewardsForSubgraph", values: [BytesLike]): string; encodeFunctionData(functionFragment: "getAccRewardsPerAllocatedToken", values: [BytesLike]): string; encodeFunctionData(functionFragment: "getAccRewardsPerSignal", values?: undefined): string; encodeFunctionData(functionFragment: "getNewRewardsPerSignal", values?: undefined): string; encodeFunctionData(functionFragment: "getRewards", values: [AddressLike, AddressLike]): string; encodeFunctionData(functionFragment: "isDenied", values: [BytesLike]): string; encodeFunctionData(functionFragment: "onSubgraphAllocationUpdate", values: [BytesLike]): string; encodeFunctionData(functionFragment: "onSubgraphSignalUpdate", values: [BytesLike]): string; encodeFunctionData(functionFragment: "setDenied", values: [BytesLike, boolean]): string; encodeFunctionData(functionFragment: "setIssuancePerBlock", values: [BigNumberish]): string; encodeFunctionData(functionFragment: "setMinimumSubgraphSignal", values: [BigNumberish]): string; encodeFunctionData(functionFragment: "setSubgraphAvailabilityOracle", values: [AddressLike]): string; encodeFunctionData(functionFragment: "setSubgraphService", values: [AddressLike]): string; encodeFunctionData(functionFragment: "subgraphService", values?: undefined): string; encodeFunctionData(functionFragment: "takeRewards", values: [AddressLike]): string; encodeFunctionData(functionFragment: "updateAccRewardsPerSignal", values?: undefined): string; decodeFunctionResult(functionFragment: "calcRewards", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getAccRewardsForSubgraph", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getAccRewardsPerAllocatedToken", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getAccRewardsPerSignal", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getNewRewardsPerSignal", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getRewards", data: BytesLike): Result; decodeFunctionResult(functionFragment: "isDenied", data: BytesLike): Result; decodeFunctionResult(functionFragment: "onSubgraphAllocationUpdate", data: BytesLike): Result; decodeFunctionResult(functionFragment: "onSubgraphSignalUpdate", data: BytesLike): Result; decodeFunctionResult(functionFragment: "setDenied", data: BytesLike): Result; decodeFunctionResult(functionFragment: "setIssuancePerBlock", data: BytesLike): Result; decodeFunctionResult(functionFragment: "setMinimumSubgraphSignal", data: BytesLike): Result; decodeFunctionResult(functionFragment: "setSubgraphAvailabilityOracle", data: BytesLike): Result; decodeFunctionResult(functionFragment: "setSubgraphService", data: BytesLike): Result; decodeFunctionResult(functionFragment: "subgraphService", data: BytesLike): Result; decodeFunctionResult(functionFragment: "takeRewards", data: BytesLike): Result; decodeFunctionResult(functionFragment: "updateAccRewardsPerSignal", data: BytesLike): Result; } export declare namespace HorizonRewardsAssignedEvent { type InputTuple = [ indexer: AddressLike, allocationID: AddressLike, amount: BigNumberish ]; type OutputTuple = [ indexer: string, allocationID: string, amount: bigint ]; interface OutputObject { indexer: string; allocationID: string; amount: bigint; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace RewardsAssignedEvent { type InputTuple = [ indexer: AddressLike, allocationID: AddressLike, amount: BigNumberish ]; type OutputTuple = [ indexer: string, allocationID: string, amount: bigint ]; interface OutputObject { indexer: string; allocationID: string; amount: bigint; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace RewardsDeniedEvent { type InputTuple = [indexer: AddressLike, allocationID: AddressLike]; type OutputTuple = [indexer: string, allocationID: string]; interface OutputObject { indexer: string; allocationID: string; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace RewardsDenylistUpdatedEvent { type InputTuple = [ subgraphDeploymentID: BytesLike, sinceBlock: BigNumberish ]; type OutputTuple = [subgraphDeploymentID: string, sinceBlock: bigint]; interface OutputObject { subgraphDeploymentID: string; sinceBlock: bigint; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace SubgraphServiceSetEvent { type InputTuple = [ oldSubgraphService: AddressLike, newSubgraphService: AddressLike ]; type OutputTuple = [ oldSubgraphService: string, newSubgraphService: string ]; interface OutputObject { oldSubgraphService: string; newSubgraphService: string; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export interface IRewardsManagerToolshed extends BaseContract { connect(runner?: ContractRunner | null): IRewardsManagerToolshed; waitForDeployment(): Promise; interface: IRewardsManagerToolshedInterface; 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; calcRewards: TypedContractMethod<[ tokens: BigNumberish, accRewardsPerAllocatedToken: BigNumberish ], [ bigint ], "view">; getAccRewardsForSubgraph: TypedContractMethod<[ subgraphDeploymentID: BytesLike ], [ bigint ], "view">; getAccRewardsPerAllocatedToken: TypedContractMethod<[ subgraphDeploymentID: BytesLike ], [ [bigint, bigint] ], "view">; getAccRewardsPerSignal: TypedContractMethod<[], [bigint], "view">; getNewRewardsPerSignal: TypedContractMethod<[], [bigint], "view">; getRewards: TypedContractMethod<[ rewardsIssuer: AddressLike, allocationID: AddressLike ], [ bigint ], "view">; isDenied: TypedContractMethod<[ subgraphDeploymentID: BytesLike ], [ boolean ], "view">; onSubgraphAllocationUpdate: TypedContractMethod<[ subgraphDeploymentID: BytesLike ], [ bigint ], "nonpayable">; onSubgraphSignalUpdate: TypedContractMethod<[ subgraphDeploymentID: BytesLike ], [ bigint ], "nonpayable">; setDenied: TypedContractMethod<[ subgraphDeploymentID: BytesLike, deny: boolean ], [ void ], "nonpayable">; setIssuancePerBlock: TypedContractMethod<[ issuancePerBlock: BigNumberish ], [ void ], "nonpayable">; setMinimumSubgraphSignal: TypedContractMethod<[ minimumSubgraphSignal: BigNumberish ], [ void ], "nonpayable">; setSubgraphAvailabilityOracle: TypedContractMethod<[ subgraphAvailabilityOracle: AddressLike ], [ void ], "nonpayable">; setSubgraphService: TypedContractMethod<[ subgraphService: AddressLike ], [ void ], "nonpayable">; subgraphService: TypedContractMethod<[], [string], "view">; takeRewards: TypedContractMethod<[ allocationID: AddressLike ], [ bigint ], "nonpayable">; updateAccRewardsPerSignal: TypedContractMethod<[], [bigint], "nonpayable">; getFunction(key: string | FunctionFragment): T; getFunction(nameOrSignature: "calcRewards"): TypedContractMethod<[ tokens: BigNumberish, accRewardsPerAllocatedToken: BigNumberish ], [ bigint ], "view">; getFunction(nameOrSignature: "getAccRewardsForSubgraph"): TypedContractMethod<[subgraphDeploymentID: BytesLike], [bigint], "view">; getFunction(nameOrSignature: "getAccRewardsPerAllocatedToken"): TypedContractMethod<[ subgraphDeploymentID: BytesLike ], [ [bigint, bigint] ], "view">; getFunction(nameOrSignature: "getAccRewardsPerSignal"): TypedContractMethod<[], [bigint], "view">; getFunction(nameOrSignature: "getNewRewardsPerSignal"): TypedContractMethod<[], [bigint], "view">; getFunction(nameOrSignature: "getRewards"): TypedContractMethod<[ rewardsIssuer: AddressLike, allocationID: AddressLike ], [ bigint ], "view">; getFunction(nameOrSignature: "isDenied"): TypedContractMethod<[subgraphDeploymentID: BytesLike], [boolean], "view">; getFunction(nameOrSignature: "onSubgraphAllocationUpdate"): TypedContractMethod<[ subgraphDeploymentID: BytesLike ], [ bigint ], "nonpayable">; getFunction(nameOrSignature: "onSubgraphSignalUpdate"): TypedContractMethod<[ subgraphDeploymentID: BytesLike ], [ bigint ], "nonpayable">; getFunction(nameOrSignature: "setDenied"): TypedContractMethod<[ subgraphDeploymentID: BytesLike, deny: boolean ], [ void ], "nonpayable">; getFunction(nameOrSignature: "setIssuancePerBlock"): TypedContractMethod<[ issuancePerBlock: BigNumberish ], [ void ], "nonpayable">; getFunction(nameOrSignature: "setMinimumSubgraphSignal"): TypedContractMethod<[ minimumSubgraphSignal: BigNumberish ], [ void ], "nonpayable">; getFunction(nameOrSignature: "setSubgraphAvailabilityOracle"): TypedContractMethod<[ subgraphAvailabilityOracle: AddressLike ], [ void ], "nonpayable">; getFunction(nameOrSignature: "setSubgraphService"): TypedContractMethod<[subgraphService: AddressLike], [void], "nonpayable">; getFunction(nameOrSignature: "subgraphService"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "takeRewards"): TypedContractMethod<[allocationID: AddressLike], [bigint], "nonpayable">; getFunction(nameOrSignature: "updateAccRewardsPerSignal"): TypedContractMethod<[], [bigint], "nonpayable">; getEvent(key: "HorizonRewardsAssigned"): TypedContractEvent; getEvent(key: "RewardsAssigned"): TypedContractEvent; getEvent(key: "RewardsDenied"): TypedContractEvent; getEvent(key: "RewardsDenylistUpdated"): TypedContractEvent; getEvent(key: "SubgraphServiceSet"): TypedContractEvent; filters: { "HorizonRewardsAssigned(address,address,uint256)": TypedContractEvent; HorizonRewardsAssigned: TypedContractEvent; "RewardsAssigned(address,address,uint256)": TypedContractEvent; RewardsAssigned: TypedContractEvent; "RewardsDenied(address,address)": TypedContractEvent; RewardsDenied: TypedContractEvent; "RewardsDenylistUpdated(bytes32,uint256)": TypedContractEvent; RewardsDenylistUpdated: TypedContractEvent; "SubgraphServiceSet(address,address)": TypedContractEvent; SubgraphServiceSet: TypedContractEvent; }; } //# sourceMappingURL=IRewardsManagerToolshed.d.ts.map