"use strict";
var __extends = (this && this.__extends) || (function () {
    var extendStatics = function (d, b) {
        extendStatics = Object.setPrototypeOf ||
            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
            function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
        return extendStatics(d, b);
    };
    return function (d, b) {
        if (typeof b !== "function" && b !== null)
            throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
var __read = (this && this.__read) || function (o, n) {
    var m = typeof Symbol === "function" && o[Symbol.iterator];
    if (!m) return o;
    var i = m.call(o), r, ar = [], e;
    try {
        while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
    }
    catch (error) { e = { error: error }; }
    finally {
        try {
            if (r && !r.done && (m = i["return"])) m.call(i);
        }
        finally { if (e) throw e.error; }
    }
    return ar;
};
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
    if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
        if (ar || !(i in from)) {
            if (!ar) ar = Array.prototype.slice.call(from, 0, i);
            ar[i] = from[i];
        }
    }
    return to.concat(ar || Array.prototype.slice.call(from));
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.VAnchorVerifier__factory = void 0;
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
var ethers_1 = require("ethers");
var _abi = [
    {
        inputs: [
            {
                internalType: "contract IVAnchorVerifier2_2",
                name: "_verifier_2_2",
                type: "address",
            },
            {
                internalType: "contract IVAnchorVerifier2_16",
                name: "_verifier_2_16",
                type: "address",
            },
            {
                internalType: "contract IVAnchorVerifier8_2",
                name: "_verifier_8_2",
                type: "address",
            },
            {
                internalType: "contract IVAnchorVerifier8_16",
                name: "_verifier_8_16",
                type: "address",
            },
        ],
        stateMutability: "nonpayable",
        type: "constructor",
    },
    {
        inputs: [],
        name: "v2_16",
        outputs: [
            {
                internalType: "contract IVAnchorVerifier2_16",
                name: "",
                type: "address",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [],
        name: "v2_2",
        outputs: [
            {
                internalType: "contract IVAnchorVerifier2_2",
                name: "",
                type: "address",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [],
        name: "v8_16",
        outputs: [
            {
                internalType: "contract IVAnchorVerifier8_16",
                name: "",
                type: "address",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [],
        name: "v8_2",
        outputs: [
            {
                internalType: "contract IVAnchorVerifier8_2",
                name: "",
                type: "address",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        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: "bytes",
                name: "input",
                type: "bytes",
            },
            {
                internalType: "uint8",
                name: "maxEdges",
                type: "uint8",
            },
            {
                internalType: "bool",
                name: "smallInputs",
                type: "bool",
            },
        ],
        name: "verifyProof",
        outputs: [
            {
                internalType: "bool",
                name: "r",
                type: "bool",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
];
var _bytecode = " ";
var isSuperArgs = function (xs) { return xs.length > 1; };
var VAnchorVerifier__factory = exports.VAnchorVerifier__factory = /** @class */ (function (_super) {
    __extends(VAnchorVerifier__factory, _super);
    function VAnchorVerifier__factory() {
        var args = [];
        for (var _i = 0; _i < arguments.length; _i++) {
            args[_i] = arguments[_i];
        }
        var _this = this;
        if (isSuperArgs(args)) {
            _this = _super.apply(this, __spreadArray([], __read(args), false)) || this;
        }
        else {
            _this = _super.call(this, _abi, _bytecode, args[0]) || this;
        }
        return _this;
    }
    VAnchorVerifier__factory.prototype.deploy = function (_verifier_2_2, _verifier_2_16, _verifier_8_2, _verifier_8_16, overrides) {
        return _super.prototype.deploy.call(this, _verifier_2_2, _verifier_2_16, _verifier_8_2, _verifier_8_16, overrides || {});
    };
    VAnchorVerifier__factory.prototype.getDeployTransaction = function (_verifier_2_2, _verifier_2_16, _verifier_8_2, _verifier_8_16, overrides) {
        return _super.prototype.getDeployTransaction.call(this, _verifier_2_2, _verifier_2_16, _verifier_8_2, _verifier_8_16, overrides || {});
    };
    VAnchorVerifier__factory.prototype.attach = function (address) {
        return _super.prototype.attach.call(this, address);
    };
    VAnchorVerifier__factory.prototype.connect = function (signer) {
        return _super.prototype.connect.call(this, signer);
    };
    VAnchorVerifier__factory.createInterface = function () {
        return new ethers_1.utils.Interface(_abi);
    };
    VAnchorVerifier__factory.connect = function (address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    };
    VAnchorVerifier__factory.bytecode = _bytecode;
    VAnchorVerifier__factory.abi = _abi;
    return VAnchorVerifier__factory;
}(ethers_1.ContractFactory));
