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

import { Contract, Signer, utils } from "ethers";
import type { Provider } from "@ethersproject/providers";
import type {
  Permit2OrderLib,
  Permit2OrderLibInterface,
} from "../Permit2OrderLib";

const _abi = [
  {
    type: "error",
    name: "AfterDeadline",
    inputs: [],
  },
  {
    type: "error",
    name: "InputAndCollateralNotEqual",
    inputs: [],
  },
  {
    type: "error",
    name: "MultipleOutputsNotAllowed",
    inputs: [],
  },
  {
    type: "error",
    name: "ValidationContractNotAllowed",
    inputs: [],
  },
  {
    type: "error",
    name: "WrongSettlerContract",
    inputs: [],
  },
] as const;

export class Permit2OrderLib__factory {
  static readonly abi = _abi;
  static createInterface(): Permit2OrderLibInterface {
    return new utils.Interface(_abi) as Permit2OrderLibInterface;
  }
  static connect(
    address: string,
    signerOrProvider: Signer | Provider
  ): Permit2OrderLib {
    return new Contract(address, _abi, signerOrProvider) as Permit2OrderLib;
  }
}
