/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */

import { Contract, Interface, type ContractRunner } from "ethers";
import type {
  IProvisionManager,
  IProvisionManagerInterface,
} from "../../../../contracts/toolshed/internal/IProvisionManager";

const _abi = [
  {
    inputs: [
      {
        internalType: "uint256",
        name: "min",
        type: "uint256",
      },
      {
        internalType: "uint256",
        name: "max",
        type: "uint256",
      },
    ],
    name: "ProvisionManagerInvalidRange",
    type: "error",
  },
  {
    inputs: [
      {
        internalType: "bytes",
        name: "message",
        type: "bytes",
      },
      {
        internalType: "uint256",
        name: "value",
        type: "uint256",
      },
      {
        internalType: "uint256",
        name: "min",
        type: "uint256",
      },
      {
        internalType: "uint256",
        name: "max",
        type: "uint256",
      },
    ],
    name: "ProvisionManagerInvalidValue",
    type: "error",
  },
  {
    inputs: [
      {
        internalType: "address",
        name: "serviceProvider",
        type: "address",
      },
      {
        internalType: "address",
        name: "caller",
        type: "address",
      },
    ],
    name: "ProvisionManagerNotAuthorized",
    type: "error",
  },
  {
    inputs: [
      {
        internalType: "address",
        name: "serviceProvider",
        type: "address",
      },
    ],
    name: "ProvisionManagerProvisionNotFound",
    type: "error",
  },
  {
    anonymous: false,
    inputs: [
      {
        indexed: false,
        internalType: "uint32",
        name: "ratio",
        type: "uint32",
      },
    ],
    name: "DelegationRatioSet",
    type: "event",
  },
  {
    anonymous: false,
    inputs: [
      {
        indexed: false,
        internalType: "uint256",
        name: "min",
        type: "uint256",
      },
      {
        indexed: false,
        internalType: "uint256",
        name: "max",
        type: "uint256",
      },
    ],
    name: "ProvisionTokensRangeSet",
    type: "event",
  },
  {
    anonymous: false,
    inputs: [
      {
        indexed: false,
        internalType: "uint64",
        name: "min",
        type: "uint64",
      },
      {
        indexed: false,
        internalType: "uint64",
        name: "max",
        type: "uint64",
      },
    ],
    name: "ThawingPeriodRangeSet",
    type: "event",
  },
  {
    anonymous: false,
    inputs: [
      {
        indexed: false,
        internalType: "uint32",
        name: "min",
        type: "uint32",
      },
      {
        indexed: false,
        internalType: "uint32",
        name: "max",
        type: "uint32",
      },
    ],
    name: "VerifierCutRangeSet",
    type: "event",
  },
] as const;

export class IProvisionManager__factory {
  static readonly abi = _abi;
  static readonly interfaceId = "0x00000000" as const;
  static readonly interfaceName = "IProvisionManager" as const;
  static createInterface(): IProvisionManagerInterface {
    return new Interface(_abi) as IProvisionManagerInterface;
  }
  static connect(
    address: string,
    runner?: ContractRunner | null,
  ): IProvisionManager {
    return new Contract(address, _abi, runner) as unknown as IProvisionManager;
  }
}
