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

import { Contract, Signer, utils } from "ethers";
import type { Provider } from "@ethersproject/providers";
import type {
  ILegacyAllocation,
  ILegacyAllocationInterface,
} from "../../../../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 utils.Interface(_abi) as ILegacyAllocationInterface;
  }
  static connect(
    address: string,
    signerOrProvider: Signer | Provider,
  ): ILegacyAllocation {
    return new Contract(address, _abi, signerOrProvider) as ILegacyAllocation;
  }
}
