"use strict";
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
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.TxProofVerifier__factory = void 0;
var ethers_1 = require("ethers");
var _abi = [
    {
        inputs: [
            {
                internalType: "contract IAnchorVerifier",
                name: "_verifier",
                type: "address",
            },
        ],
        stateMutability: "nonpayable",
        type: "constructor",
    },
    {
        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",
    },
    {
        inputs: [],
        name: "verifier",
        outputs: [
            {
                internalType: "contract IAnchorVerifier",
                name: "",
                type: "address",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
];
var _bytecode = "0x608060405234801561001057600080fd5b5060405161034a38038061034a83398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b6102b7806100936000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80632b7ac3f31461003b578063f5ab0dd61461006b575b600080fd5b60005461004e906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b61007e610079366004610161565b61008d565b60405161006293929190610213565b610095610116565b61009d610134565b6100a5610116565b50506040805180820182528351815260208085015181830152825160808082018552868501518286019081526060808901519084015282528451808601865290870151815260a08701518184015281830152835180850190945260c0860151845260e0909501519083015293909150565b60405180604001604052806002906020820280368337509192915050565b60405180604001604052806002905b61014b610116565b8152602001906001900390816101435790505090565b600061010080838503121561017557600080fd5b83601f84011261018457600080fd5b60405181810181811067ffffffffffffffff821117156101a6576101a661026b565b60405280848381018710156101ba57600080fd5b600093505b60088410156101df578035825260019390930192602091820191016101bf565b509095945050505050565b8060005b600281101561020d5781518452602093840193909101906001016101ee565b50505050565b610100810161022282866101ea565b60408083018560005b60028110156102525761023f8383516101ea565b918301916020919091019060010161022b565b5050505061026360c08301846101ea565b949350505050565b634e487b7160e01b600052604160045260246000fdfea26469706673582212208f012101f51f7d3f3d6e6702446c2312703b5903ba90f6d93ab145c0dded81e264736f6c63430008050033";
var TxProofVerifier__factory = /** @class */ (function (_super) {
    __extends(TxProofVerifier__factory, _super);
    function TxProofVerifier__factory() {
        var args = [];
        for (var _i = 0; _i < arguments.length; _i++) {
            args[_i] = arguments[_i];
        }
        var _this = this;
        if (args.length === 1) {
            _this = _super.call(this, _abi, _bytecode, args[0]) || this;
        }
        else {
            _this = _super.apply(this, __spreadArray([], __read(args), false)) || this;
        }
        return _this;
    }
    TxProofVerifier__factory.prototype.deploy = function (_verifier, overrides) {
        return _super.prototype.deploy.call(this, _verifier, overrides || {});
    };
    TxProofVerifier__factory.prototype.getDeployTransaction = function (_verifier, overrides) {
        return _super.prototype.getDeployTransaction.call(this, _verifier, overrides || {});
    };
    TxProofVerifier__factory.prototype.attach = function (address) {
        return _super.prototype.attach.call(this, address);
    };
    TxProofVerifier__factory.prototype.connect = function (signer) {
        return _super.prototype.connect.call(this, signer);
    };
    TxProofVerifier__factory.createInterface = function () {
        return new ethers_1.utils.Interface(_abi);
    };
    TxProofVerifier__factory.connect = function (address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    };
    TxProofVerifier__factory.bytecode = _bytecode;
    TxProofVerifier__factory.abi = _abi;
    return TxProofVerifier__factory;
}(ethers_1.ContractFactory));
exports.TxProofVerifier__factory = TxProofVerifier__factory;
