/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import type { BaseContract, BigNumber, BytesLike, Signer, utils } from "ethers"; import type { EventFragment } from "@ethersproject/abi"; import type { Listener, Provider } from "@ethersproject/providers"; import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue, } from "../../../common"; export interface IAllocationManagerInterface extends utils.Interface { functions: {}; events: { "AllocationClosed(address,address,bytes32,uint256,bool)": EventFragment; "AllocationCreated(address,address,bytes32,uint256,uint256)": EventFragment; "AllocationResized(address,address,bytes32,uint256,uint256)": EventFragment; "IndexingRewardsCollected(address,address,bytes32,uint256,uint256,uint256,bytes32,bytes,uint256)": EventFragment; "LegacyAllocationMigrated(address,address,bytes32)": EventFragment; "MaxPOIStalenessSet(uint256)": EventFragment; }; getEvent(nameOrSignatureOrTopic: "AllocationClosed"): EventFragment; getEvent(nameOrSignatureOrTopic: "AllocationCreated"): EventFragment; getEvent(nameOrSignatureOrTopic: "AllocationResized"): EventFragment; getEvent(nameOrSignatureOrTopic: "IndexingRewardsCollected"): EventFragment; getEvent(nameOrSignatureOrTopic: "LegacyAllocationMigrated"): EventFragment; getEvent(nameOrSignatureOrTopic: "MaxPOIStalenessSet"): EventFragment; } export interface AllocationClosedEventObject { indexer: string; allocationId: string; subgraphDeploymentId: string; tokens: BigNumber; forceClosed: boolean; } export type AllocationClosedEvent = TypedEvent< [string, string, string, BigNumber, boolean], AllocationClosedEventObject >; export type AllocationClosedEventFilter = TypedEventFilter; export interface AllocationCreatedEventObject { indexer: string; allocationId: string; subgraphDeploymentId: string; tokens: BigNumber; currentEpoch: BigNumber; } export type AllocationCreatedEvent = TypedEvent< [string, string, string, BigNumber, BigNumber], AllocationCreatedEventObject >; export type AllocationCreatedEventFilter = TypedEventFilter; export interface AllocationResizedEventObject { indexer: string; allocationId: string; subgraphDeploymentId: string; newTokens: BigNumber; oldTokens: BigNumber; } export type AllocationResizedEvent = TypedEvent< [string, string, string, BigNumber, BigNumber], AllocationResizedEventObject >; export type AllocationResizedEventFilter = TypedEventFilter; export interface IndexingRewardsCollectedEventObject { indexer: string; allocationId: string; subgraphDeploymentId: string; tokensRewards: BigNumber; tokensIndexerRewards: BigNumber; tokensDelegationRewards: BigNumber; poi: string; poiMetadata: string; currentEpoch: BigNumber; } export type IndexingRewardsCollectedEvent = TypedEvent< [ string, string, string, BigNumber, BigNumber, BigNumber, string, string, BigNumber ], IndexingRewardsCollectedEventObject >; export type IndexingRewardsCollectedEventFilter = TypedEventFilter; export interface LegacyAllocationMigratedEventObject { indexer: string; allocationId: string; subgraphDeploymentId: string; } export type LegacyAllocationMigratedEvent = TypedEvent< [string, string, string], LegacyAllocationMigratedEventObject >; export type LegacyAllocationMigratedEventFilter = TypedEventFilter; export interface MaxPOIStalenessSetEventObject { maxPOIStaleness: BigNumber; } export type MaxPOIStalenessSetEvent = TypedEvent< [BigNumber], MaxPOIStalenessSetEventObject >; export type MaxPOIStalenessSetEventFilter = TypedEventFilter; export interface IAllocationManager extends BaseContract { connect(signerOrProvider: Signer | Provider | string): this; attach(addressOrName: string): this; deployed(): Promise; interface: IAllocationManagerInterface; queryFilter( event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined ): Promise>; listeners( eventFilter?: TypedEventFilter ): Array>; listeners(eventName?: string): Array; removeAllListeners( eventFilter: TypedEventFilter ): this; removeAllListeners(eventName?: string): this; off: OnEvent; on: OnEvent; once: OnEvent; removeListener: OnEvent; functions: {}; callStatic: {}; filters: { "AllocationClosed(address,address,bytes32,uint256,bool)"( indexer?: PromiseOrValue | null, allocationId?: PromiseOrValue | null, subgraphDeploymentId?: PromiseOrValue | null, tokens?: null, forceClosed?: null ): AllocationClosedEventFilter; AllocationClosed( indexer?: PromiseOrValue | null, allocationId?: PromiseOrValue | null, subgraphDeploymentId?: PromiseOrValue | null, tokens?: null, forceClosed?: null ): AllocationClosedEventFilter; "AllocationCreated(address,address,bytes32,uint256,uint256)"( indexer?: PromiseOrValue | null, allocationId?: PromiseOrValue | null, subgraphDeploymentId?: PromiseOrValue | null, tokens?: null, currentEpoch?: null ): AllocationCreatedEventFilter; AllocationCreated( indexer?: PromiseOrValue | null, allocationId?: PromiseOrValue | null, subgraphDeploymentId?: PromiseOrValue | null, tokens?: null, currentEpoch?: null ): AllocationCreatedEventFilter; "AllocationResized(address,address,bytes32,uint256,uint256)"( indexer?: PromiseOrValue | null, allocationId?: PromiseOrValue | null, subgraphDeploymentId?: PromiseOrValue | null, newTokens?: null, oldTokens?: null ): AllocationResizedEventFilter; AllocationResized( indexer?: PromiseOrValue | null, allocationId?: PromiseOrValue | null, subgraphDeploymentId?: PromiseOrValue | null, newTokens?: null, oldTokens?: null ): AllocationResizedEventFilter; "IndexingRewardsCollected(address,address,bytes32,uint256,uint256,uint256,bytes32,bytes,uint256)"( indexer?: PromiseOrValue | null, allocationId?: PromiseOrValue | null, subgraphDeploymentId?: PromiseOrValue | null, tokensRewards?: null, tokensIndexerRewards?: null, tokensDelegationRewards?: null, poi?: null, poiMetadata?: null, currentEpoch?: null ): IndexingRewardsCollectedEventFilter; IndexingRewardsCollected( indexer?: PromiseOrValue | null, allocationId?: PromiseOrValue | null, subgraphDeploymentId?: PromiseOrValue | null, tokensRewards?: null, tokensIndexerRewards?: null, tokensDelegationRewards?: null, poi?: null, poiMetadata?: null, currentEpoch?: null ): IndexingRewardsCollectedEventFilter; "LegacyAllocationMigrated(address,address,bytes32)"( indexer?: PromiseOrValue | null, allocationId?: PromiseOrValue | null, subgraphDeploymentId?: PromiseOrValue | null ): LegacyAllocationMigratedEventFilter; LegacyAllocationMigrated( indexer?: PromiseOrValue | null, allocationId?: PromiseOrValue | null, subgraphDeploymentId?: PromiseOrValue | null ): LegacyAllocationMigratedEventFilter; "MaxPOIStalenessSet(uint256)"( maxPOIStaleness?: null ): MaxPOIStalenessSetEventFilter; MaxPOIStalenessSet(maxPOIStaleness?: null): MaxPOIStalenessSetEventFilter; }; estimateGas: {}; populateTransaction: {}; }