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

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

const _abi = [
  {
    inputs: [
      {
        internalType: "uint256[2]",
        name: "a",
        type: "uint256[2]",
      },
      {
        internalType: "uint256[2][2]",
        name: "b",
        type: "uint256[2][2]",
      },
      {
        internalType: "uint256[2]",
        name: "c",
        type: "uint256[2]",
      },
      {
        internalType: "uint256[10]",
        name: "input",
        type: "uint256[10]",
      },
    ],
    name: "verifyProof",
    outputs: [
      {
        internalType: "bool",
        name: "r",
        type: "bool",
      },
    ],
    stateMutability: "view",
    type: "function",
  },
];

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