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

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

const _abi = [
  {
    inputs: [
      {
        internalType: "uint256",
        name: "tokensAvailable",
        type: "uint256",
      },
      {
        internalType: "uint256",
        name: "tokensRequired",
        type: "uint256",
      },
    ],
    name: "ProvisionTrackerInsufficientTokens",
    type: "error",
  },
  {
    inputs: [
      {
        internalType: "address",
        name: "indexer",
        type: "address",
      },
    ],
    name: "feesProvisionTracker",
    outputs: [
      {
        internalType: "uint256",
        name: "",
        type: "uint256",
      },
    ],
    stateMutability: "view",
    type: "function",
  },
] as const;

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