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

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

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 IMASPVAnchorVerifier22__factory {
  static readonly abi = _abi;
  static createInterface(): IMASPVAnchorVerifier22Interface {
    return new utils.Interface(_abi) as IMASPVAnchorVerifier22Interface;
  }
  static connect(
    address: string,
    signerOrProvider: Signer | Provider
  ): IMASPVAnchorVerifier22 {
    return new Contract(
      address,
      _abi,
      signerOrProvider
    ) as IMASPVAnchorVerifier22;
  }
}
