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

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

const _abi = [
  {
    inputs: [
      {
        internalType: "address",
        name: "allocationId",
        type: "address",
      },
    ],
    name: "LegacyAllocationAlreadyExists",
    type: "error",
  },
  {
    inputs: [
      {
        internalType: "address",
        name: "allocationId",
        type: "address",
      },
    ],
    name: "LegacyAllocationDoesNotExist",
    type: "error",
  },
] as const;

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