/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import type {
  BaseContract,
  BigNumberish,
  FunctionFragment,
  Interface,
  EventFragment,
  AddressLike,
  ContractRunner,
  ContractMethod,
  Listener,
} from "ethers";
import type {
  TypedContractEvent,
  TypedDeferredTopicFilter,
  TypedEventLog,
  TypedLogDescription,
  TypedListener,
} from "../../../../../common";

export interface ProvisionManagerInterface extends Interface {
  getEvent(
    nameOrSignatureOrTopic:
      | "DelegationRatioSet"
      | "GraphDirectoryInitialized"
      | "Initialized"
      | "ProvisionTokensRangeSet"
      | "ThawingPeriodRangeSet"
      | "VerifierCutRangeSet"
  ): EventFragment;
}

export namespace DelegationRatioSetEvent {
  export type InputTuple = [ratio: BigNumberish];
  export type OutputTuple = [ratio: bigint];
  export interface OutputObject {
    ratio: bigint;
  }
  export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  export type Filter = TypedDeferredTopicFilter<Event>;
  export type Log = TypedEventLog<Event>;
  export type LogDescription = TypedLogDescription<Event>;
}

export namespace GraphDirectoryInitializedEvent {
  export type InputTuple = [
    graphToken: AddressLike,
    graphStaking: AddressLike,
    graphPayments: AddressLike,
    graphEscrow: AddressLike,
    graphController: AddressLike,
    graphEpochManager: AddressLike,
    graphRewardsManager: AddressLike,
    graphTokenGateway: AddressLike,
    graphProxyAdmin: AddressLike,
    graphCuration: AddressLike
  ];
  export type OutputTuple = [
    graphToken: string,
    graphStaking: string,
    graphPayments: string,
    graphEscrow: string,
    graphController: string,
    graphEpochManager: string,
    graphRewardsManager: string,
    graphTokenGateway: string,
    graphProxyAdmin: string,
    graphCuration: string
  ];
  export interface OutputObject {
    graphToken: string;
    graphStaking: string;
    graphPayments: string;
    graphEscrow: string;
    graphController: string;
    graphEpochManager: string;
    graphRewardsManager: string;
    graphTokenGateway: string;
    graphProxyAdmin: string;
    graphCuration: string;
  }
  export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  export type Filter = TypedDeferredTopicFilter<Event>;
  export type Log = TypedEventLog<Event>;
  export type LogDescription = TypedLogDescription<Event>;
}

export namespace InitializedEvent {
  export type InputTuple = [version: BigNumberish];
  export type OutputTuple = [version: bigint];
  export interface OutputObject {
    version: bigint;
  }
  export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  export type Filter = TypedDeferredTopicFilter<Event>;
  export type Log = TypedEventLog<Event>;
  export type LogDescription = TypedLogDescription<Event>;
}

export namespace ProvisionTokensRangeSetEvent {
  export type InputTuple = [min: BigNumberish, max: BigNumberish];
  export type OutputTuple = [min: bigint, max: bigint];
  export interface OutputObject {
    min: bigint;
    max: bigint;
  }
  export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  export type Filter = TypedDeferredTopicFilter<Event>;
  export type Log = TypedEventLog<Event>;
  export type LogDescription = TypedLogDescription<Event>;
}

export namespace ThawingPeriodRangeSetEvent {
  export type InputTuple = [min: BigNumberish, max: BigNumberish];
  export type OutputTuple = [min: bigint, max: bigint];
  export interface OutputObject {
    min: bigint;
    max: bigint;
  }
  export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  export type Filter = TypedDeferredTopicFilter<Event>;
  export type Log = TypedEventLog<Event>;
  export type LogDescription = TypedLogDescription<Event>;
}

export namespace VerifierCutRangeSetEvent {
  export type InputTuple = [min: BigNumberish, max: BigNumberish];
  export type OutputTuple = [min: bigint, max: bigint];
  export interface OutputObject {
    min: bigint;
    max: bigint;
  }
  export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
  export type Filter = TypedDeferredTopicFilter<Event>;
  export type Log = TypedEventLog<Event>;
  export type LogDescription = TypedLogDescription<Event>;
}

export interface ProvisionManager extends BaseContract {
  connect(runner?: ContractRunner | null): ProvisionManager;
  waitForDeployment(): Promise<this>;

  interface: ProvisionManagerInterface;

  queryFilter<TCEvent extends TypedContractEvent>(
    event: TCEvent,
    fromBlockOrBlockhash?: string | number | undefined,
    toBlock?: string | number | undefined
  ): Promise<Array<TypedEventLog<TCEvent>>>;
  queryFilter<TCEvent extends TypedContractEvent>(
    filter: TypedDeferredTopicFilter<TCEvent>,
    fromBlockOrBlockhash?: string | number | undefined,
    toBlock?: string | number | undefined
  ): Promise<Array<TypedEventLog<TCEvent>>>;

  on<TCEvent extends TypedContractEvent>(
    event: TCEvent,
    listener: TypedListener<TCEvent>
  ): Promise<this>;
  on<TCEvent extends TypedContractEvent>(
    filter: TypedDeferredTopicFilter<TCEvent>,
    listener: TypedListener<TCEvent>
  ): Promise<this>;

  once<TCEvent extends TypedContractEvent>(
    event: TCEvent,
    listener: TypedListener<TCEvent>
  ): Promise<this>;
  once<TCEvent extends TypedContractEvent>(
    filter: TypedDeferredTopicFilter<TCEvent>,
    listener: TypedListener<TCEvent>
  ): Promise<this>;

  listeners<TCEvent extends TypedContractEvent>(
    event: TCEvent
  ): Promise<Array<TypedListener<TCEvent>>>;
  listeners(eventName?: string): Promise<Array<Listener>>;
  removeAllListeners<TCEvent extends TypedContractEvent>(
    event?: TCEvent
  ): Promise<this>;

  getFunction<T extends ContractMethod = ContractMethod>(
    key: string | FunctionFragment
  ): T;

  getEvent(
    key: "DelegationRatioSet"
  ): TypedContractEvent<
    DelegationRatioSetEvent.InputTuple,
    DelegationRatioSetEvent.OutputTuple,
    DelegationRatioSetEvent.OutputObject
  >;
  getEvent(
    key: "GraphDirectoryInitialized"
  ): TypedContractEvent<
    GraphDirectoryInitializedEvent.InputTuple,
    GraphDirectoryInitializedEvent.OutputTuple,
    GraphDirectoryInitializedEvent.OutputObject
  >;
  getEvent(
    key: "Initialized"
  ): TypedContractEvent<
    InitializedEvent.InputTuple,
    InitializedEvent.OutputTuple,
    InitializedEvent.OutputObject
  >;
  getEvent(
    key: "ProvisionTokensRangeSet"
  ): TypedContractEvent<
    ProvisionTokensRangeSetEvent.InputTuple,
    ProvisionTokensRangeSetEvent.OutputTuple,
    ProvisionTokensRangeSetEvent.OutputObject
  >;
  getEvent(
    key: "ThawingPeriodRangeSet"
  ): TypedContractEvent<
    ThawingPeriodRangeSetEvent.InputTuple,
    ThawingPeriodRangeSetEvent.OutputTuple,
    ThawingPeriodRangeSetEvent.OutputObject
  >;
  getEvent(
    key: "VerifierCutRangeSet"
  ): TypedContractEvent<
    VerifierCutRangeSetEvent.InputTuple,
    VerifierCutRangeSetEvent.OutputTuple,
    VerifierCutRangeSetEvent.OutputObject
  >;

  filters: {
    "DelegationRatioSet(uint32)": TypedContractEvent<
      DelegationRatioSetEvent.InputTuple,
      DelegationRatioSetEvent.OutputTuple,
      DelegationRatioSetEvent.OutputObject
    >;
    DelegationRatioSet: TypedContractEvent<
      DelegationRatioSetEvent.InputTuple,
      DelegationRatioSetEvent.OutputTuple,
      DelegationRatioSetEvent.OutputObject
    >;

    "GraphDirectoryInitialized(address,address,address,address,address,address,address,address,address,address)": TypedContractEvent<
      GraphDirectoryInitializedEvent.InputTuple,
      GraphDirectoryInitializedEvent.OutputTuple,
      GraphDirectoryInitializedEvent.OutputObject
    >;
    GraphDirectoryInitialized: TypedContractEvent<
      GraphDirectoryInitializedEvent.InputTuple,
      GraphDirectoryInitializedEvent.OutputTuple,
      GraphDirectoryInitializedEvent.OutputObject
    >;

    "Initialized(uint64)": TypedContractEvent<
      InitializedEvent.InputTuple,
      InitializedEvent.OutputTuple,
      InitializedEvent.OutputObject
    >;
    Initialized: TypedContractEvent<
      InitializedEvent.InputTuple,
      InitializedEvent.OutputTuple,
      InitializedEvent.OutputObject
    >;

    "ProvisionTokensRangeSet(uint256,uint256)": TypedContractEvent<
      ProvisionTokensRangeSetEvent.InputTuple,
      ProvisionTokensRangeSetEvent.OutputTuple,
      ProvisionTokensRangeSetEvent.OutputObject
    >;
    ProvisionTokensRangeSet: TypedContractEvent<
      ProvisionTokensRangeSetEvent.InputTuple,
      ProvisionTokensRangeSetEvent.OutputTuple,
      ProvisionTokensRangeSetEvent.OutputObject
    >;

    "ThawingPeriodRangeSet(uint64,uint64)": TypedContractEvent<
      ThawingPeriodRangeSetEvent.InputTuple,
      ThawingPeriodRangeSetEvent.OutputTuple,
      ThawingPeriodRangeSetEvent.OutputObject
    >;
    ThawingPeriodRangeSet: TypedContractEvent<
      ThawingPeriodRangeSetEvent.InputTuple,
      ThawingPeriodRangeSetEvent.OutputTuple,
      ThawingPeriodRangeSetEvent.OutputObject
    >;

    "VerifierCutRangeSet(uint32,uint32)": TypedContractEvent<
      VerifierCutRangeSetEvent.InputTuple,
      VerifierCutRangeSetEvent.OutputTuple,
      VerifierCutRangeSetEvent.OutputObject
    >;
    VerifierCutRangeSet: TypedContractEvent<
      VerifierCutRangeSetEvent.InputTuple,
      VerifierCutRangeSetEvent.OutputTuple,
      VerifierCutRangeSetEvent.OutputObject
    >;
  };
}
