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

import { Contract, Interface, type ContractRunner } from "ethers";
import type {
  DisputeManagerV1Storage,
  DisputeManagerV1StorageInterface,
} from "../../../contracts/DisputeManagerStorage.sol/DisputeManagerV1Storage";

const _abi = [
  {
    inputs: [],
    name: "arbitrator",
    outputs: [
      {
        internalType: "address",
        name: "",
        type: "address",
      },
    ],
    stateMutability: "view",
    type: "function",
  },
  {
    inputs: [],
    name: "disputeDeposit",
    outputs: [
      {
        internalType: "uint256",
        name: "",
        type: "uint256",
      },
    ],
    stateMutability: "view",
    type: "function",
  },
  {
    inputs: [],
    name: "disputePeriod",
    outputs: [
      {
        internalType: "uint64",
        name: "",
        type: "uint64",
      },
    ],
    stateMutability: "view",
    type: "function",
  },
  {
    inputs: [
      {
        internalType: "bytes32",
        name: "disputeId",
        type: "bytes32",
      },
    ],
    name: "disputes",
    outputs: [
      {
        internalType: "address",
        name: "indexer",
        type: "address",
      },
      {
        internalType: "address",
        name: "fisherman",
        type: "address",
      },
      {
        internalType: "uint256",
        name: "deposit",
        type: "uint256",
      },
      {
        internalType: "bytes32",
        name: "relatedDisputeId",
        type: "bytes32",
      },
      {
        internalType: "enum IDisputeManager.DisputeType",
        name: "disputeType",
        type: "uint8",
      },
      {
        internalType: "enum IDisputeManager.DisputeStatus",
        name: "status",
        type: "uint8",
      },
      {
        internalType: "uint256",
        name: "createdAt",
        type: "uint256",
      },
      {
        internalType: "uint256",
        name: "cancellableAt",
        type: "uint256",
      },
      {
        internalType: "uint256",
        name: "stakeSnapshot",
        type: "uint256",
      },
    ],
    stateMutability: "view",
    type: "function",
  },
  {
    inputs: [],
    name: "fishermanRewardCut",
    outputs: [
      {
        internalType: "uint32",
        name: "",
        type: "uint32",
      },
    ],
    stateMutability: "view",
    type: "function",
  },
  {
    inputs: [],
    name: "maxSlashingCut",
    outputs: [
      {
        internalType: "uint32",
        name: "",
        type: "uint32",
      },
    ],
    stateMutability: "view",
    type: "function",
  },
  {
    inputs: [],
    name: "subgraphService",
    outputs: [
      {
        internalType: "contract ISubgraphService",
        name: "",
        type: "address",
      },
    ],
    stateMutability: "view",
    type: "function",
  },
] as const;

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