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

import { Contract, Interface, type ContractRunner } from "ethers";
import type {
  DataServiceFeesV1Storage,
  DataServiceFeesV1StorageInterface,
} from "../../../../../../../@graphprotocol/horizon/contracts/data-service/extensions/DataServiceFeesStorage.sol/DataServiceFeesV1Storage";

const _abi = [
  {
    inputs: [
      {
        internalType: "bytes32",
        name: "claimId",
        type: "bytes32",
      },
    ],
    name: "claims",
    outputs: [
      {
        internalType: "uint256",
        name: "tokens",
        type: "uint256",
      },
      {
        internalType: "uint256",
        name: "createdAt",
        type: "uint256",
      },
      {
        internalType: "uint256",
        name: "releasableAt",
        type: "uint256",
      },
      {
        internalType: "bytes32",
        name: "nextClaim",
        type: "bytes32",
      },
    ],
    stateMutability: "view",
    type: "function",
  },
  {
    inputs: [
      {
        internalType: "address",
        name: "serviceProvider",
        type: "address",
      },
    ],
    name: "claimsLists",
    outputs: [
      {
        internalType: "bytes32",
        name: "head",
        type: "bytes32",
      },
      {
        internalType: "bytes32",
        name: "tail",
        type: "bytes32",
      },
      {
        internalType: "uint256",
        name: "nonce",
        type: "uint256",
      },
      {
        internalType: "uint256",
        name: "count",
        type: "uint256",
      },
    ],
    stateMutability: "view",
    type: "function",
  },
  {
    inputs: [
      {
        internalType: "address",
        name: "serviceProvider",
        type: "address",
      },
    ],
    name: "feesProvisionTracker",
    outputs: [
      {
        internalType: "uint256",
        name: "tokens",
        type: "uint256",
      },
    ],
    stateMutability: "view",
    type: "function",
  },
] as const;

export class DataServiceFeesV1Storage__factory {
  static readonly abi = _abi;
  static createInterface(): DataServiceFeesV1StorageInterface {
    return new Interface(_abi) as DataServiceFeesV1StorageInterface;
  }
  static connect(
    address: string,
    runner?: ContractRunner | null,
  ): DataServiceFeesV1Storage {
    return new Contract(
      address,
      _abi,
      runner,
    ) as unknown as DataServiceFeesV1Storage;
  }
}
