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

import { Contract, Interface, type ContractRunner } from "ethers";
import type {
  SubgraphServiceV1Storage,
  SubgraphServiceV1StorageInterface,
} from "../../../contracts/SubgraphServiceStorage.sol/SubgraphServiceV1Storage";

const _abi = [
  {
    inputs: [],
    name: "curationFeesCut",
    outputs: [
      {
        internalType: "uint256",
        name: "",
        type: "uint256",
      },
    ],
    stateMutability: "view",
    type: "function",
  },
  {
    inputs: [
      {
        internalType: "address",
        name: "indexer",
        type: "address",
      },
    ],
    name: "indexers",
    outputs: [
      {
        internalType: "uint256",
        name: "registeredAt",
        type: "uint256",
      },
      {
        internalType: "string",
        name: "url",
        type: "string",
      },
      {
        internalType: "string",
        name: "geoHash",
        type: "string",
      },
    ],
    stateMutability: "view",
    type: "function",
  },
  {
    inputs: [
      {
        internalType: "address",
        name: "indexer",
        type: "address",
      },
    ],
    name: "paymentsDestination",
    outputs: [
      {
        internalType: "address",
        name: "destination",
        type: "address",
      },
    ],
    stateMutability: "view",
    type: "function",
  },
  {
    inputs: [],
    name: "stakeToFeesRatio",
    outputs: [
      {
        internalType: "uint256",
        name: "",
        type: "uint256",
      },
    ],
    stateMutability: "view",
    type: "function",
  },
] as const;

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