"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.ProofUtils__factory = void 0;
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
var ethers_1 = require("ethers");
var _abi = [
    {
        inputs: [
            {
                internalType: "uint256[8]",
                name: "_proof",
                type: "uint256[8]",
            },
        ],
        name: "unpackProof",
        outputs: [
            {
                internalType: "uint256[2]",
                name: "",
                type: "uint256[2]",
            },
            {
                internalType: "uint256[2][2]",
                name: "",
                type: "uint256[2][2]",
            },
            {
                internalType: "uint256[2]",
                name: "",
                type: "uint256[2]",
            },
        ],
        stateMutability: "pure",
        type: "function",
    },
];
var _bytecode = "0x608060405234801561001057600080fd5b50610297806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063f5ab0dd614610030575b600080fd5b61004361003e36600461012f565b61005b565b604051610052939291906101e5565b60405180910390f35b6100636100e4565b61006b610102565b6100736100e4565b50506040805180820182528351815260208085015181830152825160808082018552868501518286019081526060808901519084015282528451808601865290870151815260a08701518184015281830152835180850190945260c0860151845260e0909501519083015293909150565b60405180604001604052806002906020820280368337509192915050565b60405180604001604052806002905b6101196100e4565b8152602001906001900390816101115790505090565b600061010080838503121561014357600080fd5b83601f84011261015257600080fd5b60405181810181811067ffffffffffffffff8211171561018257634e487b7160e01b600052604160045260246000fd5b60405290830190808583111561019757600080fd5b845b838110156101b1578035825260209182019101610199565b509095945050505050565b8060005b60028110156101df5781518452602093840193909101906001016101c0565b50505050565b61010081016101f482866101bc565b6040808301856000805b600280821061020d5750610247565b835185845b83811015610230578251825260209283019290910190600101610212565b5050509385019350602092909201916001016101fe565b505050505061025960c08301846101bc565b94935050505056fea2646970667358221220eebb1130c6c47b54fd5646574d024c663096f6b27e4bbc094e70a3646d0463eb64736f6c63430008120033";
var isSuperArgs = function (xs) { return xs.length > 1; };
var ProofUtils__factory = exports.ProofUtils__factory = /** @class */ (function (_super) {
    __extends(ProofUtils__factory, _super);
    function ProofUtils__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;
    }
    ProofUtils__factory.prototype.deploy = function (overrides) {
        return _super.prototype.deploy.call(this, overrides || {});
    };
    ProofUtils__factory.prototype.getDeployTransaction = function (overrides) {
        return _super.prototype.getDeployTransaction.call(this, overrides || {});
    };
    ProofUtils__factory.prototype.attach = function (address) {
        return _super.prototype.attach.call(this, address);
    };
    ProofUtils__factory.prototype.connect = function (signer) {
        return _super.prototype.connect.call(this, signer);
    };
    ProofUtils__factory.createInterface = function () {
        return new ethers_1.utils.Interface(_abi);
    };
    ProofUtils__factory.connect = function (address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    };
    ProofUtils__factory.bytecode = _bytecode;
    ProofUtils__factory.abi = _abi;
    return ProofUtils__factory;
}(ethers_1.ContractFactory));
