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

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

const _abi = [
  {
    inputs: [
      {
        internalType: "bytes",
        name: "_proof",
        type: "bytes",
      },
      {
        internalType: "bytes",
        name: "input",
        type: "bytes",
      },
      {
        internalType: "uint8",
        name: "maxEdges",
        type: "uint8",
      },
    ],
    name: "verifySwap",
    outputs: [
      {
        internalType: "bool",
        name: "r",
        type: "bool",
      },
    ],
    stateMutability: "view",
    type: "function",
  },
];

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