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

import { Contract, Interface, type ContractRunner } from "ethers";
import type {
  ProvisionManager,
  ProvisionManagerInterface,
} from "../../../../../../@graphprotocol/horizon/contracts/data-service/utilities/ProvisionManager";

const _abi = [
  {
    inputs: [
      {
        internalType: "bytes",
        name: "contractName",
        type: "bytes",
      },
    ],
    name: "GraphDirectoryInvalidZeroAddress",
    type: "error",
  },
  {
    inputs: [],
    name: "InvalidInitialization",
    type: "error",
  },
  {
    inputs: [],
    name: "NotInitializing",
    type: "error",
  },
  {
    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: true,
        internalType: "address",
        name: "graphToken",
        type: "address",
      },
      {
        indexed: true,
        internalType: "address",
        name: "graphStaking",
        type: "address",
      },
      {
        indexed: false,
        internalType: "address",
        name: "graphPayments",
        type: "address",
      },
      {
        indexed: false,
        internalType: "address",
        name: "graphEscrow",
        type: "address",
      },
      {
        indexed: true,
        internalType: "address",
        name: "graphController",
        type: "address",
      },
      {
        indexed: false,
        internalType: "address",
        name: "graphEpochManager",
        type: "address",
      },
      {
        indexed: false,
        internalType: "address",
        name: "graphRewardsManager",
        type: "address",
      },
      {
        indexed: false,
        internalType: "address",
        name: "graphTokenGateway",
        type: "address",
      },
      {
        indexed: false,
        internalType: "address",
        name: "graphProxyAdmin",
        type: "address",
      },
      {
        indexed: false,
        internalType: "address",
        name: "graphCuration",
        type: "address",
      },
    ],
    name: "GraphDirectoryInitialized",
    type: "event",
  },
  {
    anonymous: false,
    inputs: [
      {
        indexed: false,
        internalType: "uint64",
        name: "version",
        type: "uint64",
      },
    ],
    name: "Initialized",
    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 ProvisionManager__factory {
  static readonly abi = _abi;
  static createInterface(): ProvisionManagerInterface {
    return new Interface(_abi) as ProvisionManagerInterface;
  }
  static connect(
    address: string,
    runner?: ContractRunner | null
  ): ProvisionManager {
    return new Contract(address, _abi, runner) as unknown as ProvisionManager;
  }
}
