/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import type { BaseContract, BigNumber, Signer, utils } from "ethers";
import type { EventFragment } from "@ethersproject/abi";
import type { Listener, Provider } from "@ethersproject/providers";
import type {
  TypedEventFilter,
  TypedEvent,
  TypedListener,
  OnEvent,
} from "../../../common";

export interface IProvisionManagerInterface extends utils.Interface {
  functions: {};

  events: {
    "DelegationRatioSet(uint32)": EventFragment;
    "ProvisionTokensRangeSet(uint256,uint256)": EventFragment;
    "ThawingPeriodRangeSet(uint64,uint64)": EventFragment;
    "VerifierCutRangeSet(uint32,uint32)": EventFragment;
  };

  getEvent(nameOrSignatureOrTopic: "DelegationRatioSet"): EventFragment;
  getEvent(nameOrSignatureOrTopic: "ProvisionTokensRangeSet"): EventFragment;
  getEvent(nameOrSignatureOrTopic: "ThawingPeriodRangeSet"): EventFragment;
  getEvent(nameOrSignatureOrTopic: "VerifierCutRangeSet"): EventFragment;
}

export interface DelegationRatioSetEventObject {
  ratio: number;
}
export type DelegationRatioSetEvent = TypedEvent<
  [number],
  DelegationRatioSetEventObject
>;

export type DelegationRatioSetEventFilter =
  TypedEventFilter<DelegationRatioSetEvent>;

export interface ProvisionTokensRangeSetEventObject {
  min: BigNumber;
  max: BigNumber;
}
export type ProvisionTokensRangeSetEvent = TypedEvent<
  [BigNumber, BigNumber],
  ProvisionTokensRangeSetEventObject
>;

export type ProvisionTokensRangeSetEventFilter =
  TypedEventFilter<ProvisionTokensRangeSetEvent>;

export interface ThawingPeriodRangeSetEventObject {
  min: BigNumber;
  max: BigNumber;
}
export type ThawingPeriodRangeSetEvent = TypedEvent<
  [BigNumber, BigNumber],
  ThawingPeriodRangeSetEventObject
>;

export type ThawingPeriodRangeSetEventFilter =
  TypedEventFilter<ThawingPeriodRangeSetEvent>;

export interface VerifierCutRangeSetEventObject {
  min: number;
  max: number;
}
export type VerifierCutRangeSetEvent = TypedEvent<
  [number, number],
  VerifierCutRangeSetEventObject
>;

export type VerifierCutRangeSetEventFilter =
  TypedEventFilter<VerifierCutRangeSetEvent>;

export interface IProvisionManager extends BaseContract {
  connect(signerOrProvider: Signer | Provider | string): this;
  attach(addressOrName: string): this;
  deployed(): Promise<this>;

  interface: IProvisionManagerInterface;

  queryFilter<TEvent extends TypedEvent>(
    event: TypedEventFilter<TEvent>,
    fromBlockOrBlockhash?: string | number | undefined,
    toBlock?: string | number | undefined,
  ): Promise<Array<TEvent>>;

  listeners<TEvent extends TypedEvent>(
    eventFilter?: TypedEventFilter<TEvent>,
  ): Array<TypedListener<TEvent>>;
  listeners(eventName?: string): Array<Listener>;
  removeAllListeners<TEvent extends TypedEvent>(
    eventFilter: TypedEventFilter<TEvent>,
  ): this;
  removeAllListeners(eventName?: string): this;
  off: OnEvent<this>;
  on: OnEvent<this>;
  once: OnEvent<this>;
  removeListener: OnEvent<this>;

  functions: {};

  callStatic: {};

  filters: {
    "DelegationRatioSet(uint32)"(ratio?: null): DelegationRatioSetEventFilter;
    DelegationRatioSet(ratio?: null): DelegationRatioSetEventFilter;

    "ProvisionTokensRangeSet(uint256,uint256)"(
      min?: null,
      max?: null,
    ): ProvisionTokensRangeSetEventFilter;
    ProvisionTokensRangeSet(
      min?: null,
      max?: null,
    ): ProvisionTokensRangeSetEventFilter;

    "ThawingPeriodRangeSet(uint64,uint64)"(
      min?: null,
      max?: null,
    ): ThawingPeriodRangeSetEventFilter;
    ThawingPeriodRangeSet(
      min?: null,
      max?: null,
    ): ThawingPeriodRangeSetEventFilter;

    "VerifierCutRangeSet(uint32,uint32)"(
      min?: null,
      max?: null,
    ): VerifierCutRangeSetEventFilter;
    VerifierCutRangeSet(min?: null, max?: null): VerifierCutRangeSetEventFilter;
  };

  estimateGas: {};

  populateTransaction: {};
}
