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

import { Contract, Interface, type ContractRunner } from "ethers";
import type {
  IAllocation,
  IAllocationInterface,
} from "../../../../../../@graphprotocol/interfaces/contracts/subgraph-service/internal/IAllocation";

const _abi = [
  {
    inputs: [
      {
        internalType: "address",
        name: "allocationId",
        type: "address",
      },
    ],
    name: "AllocationAlreadyExists",
    type: "error",
  },
  {
    inputs: [
      {
        internalType: "address",
        name: "allocationId",
        type: "address",
      },
      {
        internalType: "uint256",
        name: "closedAt",
        type: "uint256",
      },
    ],
    name: "AllocationClosed",
    type: "error",
  },
  {
    inputs: [
      {
        internalType: "address",
        name: "allocationId",
        type: "address",
      },
    ],
    name: "AllocationDoesNotExist",
    type: "error",
  },
] as const;

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