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 __());
    };
})();
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import { utils, Contract, ContractFactory } from "ethers";
var _abi = [
    {
        inputs: [
            {
                internalType: "uint256",
                name: "y",
                type: "uint256",
            },
        ],
        name: "_sqrt",
        outputs: [
            {
                internalType: "uint256",
                name: "r",
                type: "uint256",
            },
        ],
        stateMutability: "pure",
        type: "function",
    },
];
var _bytecode = "0x60806040523480156100115760006000fd5b50610017565b6101fb806100266000396000f3fe60806040523480156100115760006000fd5b50600436106100305760003560e01c80636a263f021461003657610030565b60006000fd5b610050600480360381019061004b919061010a565b610066565b60405161005d9190610128565b60405180910390f35b60006100778261008163ffffffff16565b905080505b919050565b600060038211156100ee578190508050600060016002846100a2919061013a565b6100ac919061017e565b90505b818110156100e857809150815060028182856100cb919061013a565b6100d5919061017e565b6100df919061013a565b905080506100af565b50610100565b6000821415156100ff576001905080505b5b5b919050566101c4565b60006020828403121561011d5760006000fd5b813590505b92915050565b60006020820190508282525b92915050565b6000821515610172577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b82820490505b92915050565b600082198211156101b8577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b82820190505b92915050565bfea264697066735822122072cfb26ac3a2c49a94f665e04709618123c0edf100210101f50b73fe581b9fc464736f6c634300080b0033";
var isSuperArgs = function (xs) { return xs.length > 1; };
var MathTestable__factory = /** @class */ (function (_super) {
    __extends(MathTestable__factory, _super);
    function MathTestable__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, args) || this;
        }
        else {
            _this = _super.call(this, _abi, _bytecode, args[0]) || this;
        }
        return _this;
    }
    MathTestable__factory.prototype.deploy = function (overrides) {
        return _super.prototype.deploy.call(this, overrides || {});
    };
    MathTestable__factory.prototype.getDeployTransaction = function (overrides) {
        return _super.prototype.getDeployTransaction.call(this, overrides || {});
    };
    MathTestable__factory.prototype.attach = function (address) {
        return _super.prototype.attach.call(this, address);
    };
    MathTestable__factory.prototype.connect = function (signer) {
        return _super.prototype.connect.call(this, signer);
    };
    MathTestable__factory.createInterface = function () {
        return new utils.Interface(_abi);
    };
    MathTestable__factory.connect = function (address, signerOrProvider) {
        return new Contract(address, _abi, signerOrProvider);
    };
    MathTestable__factory.bytecode = _bytecode;
    MathTestable__factory.abi = _abi;
    return MathTestable__factory;
}(ContractFactory));
export { MathTestable__factory };
