"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 __());
    };
})();
exports.__esModule = true;
exports.ErrorTest__factory = void 0;
var ethers_1 = require("ethers");
var _abi = [
    {
        inputs: [
            {
                internalType: "uint256",
                name: "errorCode",
                type: "uint256"
            },
            {
                internalType: "uint256",
                name: "infoCode",
                type: "uint256"
            },
            {
                internalType: "uint256",
                name: "detailCode",
                type: "uint256"
            },
        ],
        name: "TokenError",
        type: "error"
    },
    {
        inputs: [
            {
                internalType: "uint256",
                name: "err",
                type: "uint256"
            },
            {
                internalType: "uint256",
                name: "info",
                type: "uint256"
            },
            {
                internalType: "uint256",
                name: "num",
                type: "uint256"
            },
        ],
        name: "test",
        outputs: [],
        stateMutability: "pure",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "uint256",
                name: "err",
                type: "uint256"
            },
            {
                internalType: "uint256",
                name: "info",
                type: "uint256"
            },
        ],
        name: "test",
        outputs: [],
        stateMutability: "pure",
        type: "function"
    },
];
var _bytecode = "0x6080806040523461001657610125908161001c8239f35b600080fdfe608080604052600480361015601357600080fd5b600091823560e01c90816361805cc3146091575063eb8ac92114603557600080fd5b34608d576040366003190112608d578035916024356012841015607a57605d811015607a5760649360405193634190a51760e11b855284015260248301526044820152fd5b506021602492634e487b7160e01b835252fd5b5080fd5b9050823460ec57606036600319011260ec57823560243591601282101560d957605d83101560d95750606493634190a51760e11b845283015260248201526044356044820152fd5b634e487b7160e01b815260218552602490fd5b80fdfea26469706673582212203a97357c9aa2222d2c69d459023436f01784ebead114e6a6b73f341cf6a6161664736f6c63430008130033";
var ErrorTest__factory = /** @class */ (function (_super) {
    __extends(ErrorTest__factory, _super);
    function ErrorTest__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, args) || this;
        }
        return _this;
    }
    ErrorTest__factory.prototype.deploy = function (overrides) {
        return _super.prototype.deploy.call(this, overrides || {});
    };
    ErrorTest__factory.prototype.getDeployTransaction = function (overrides) {
        return _super.prototype.getDeployTransaction.call(this, overrides || {});
    };
    ErrorTest__factory.prototype.attach = function (address) {
        return _super.prototype.attach.call(this, address);
    };
    ErrorTest__factory.prototype.connect = function (signer) {
        return _super.prototype.connect.call(this, signer);
    };
    ErrorTest__factory.createInterface = function () {
        return new ethers_1.utils.Interface(_abi);
    };
    ErrorTest__factory.connect = function (address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    };
    ErrorTest__factory.bytecode = _bytecode;
    ErrorTest__factory.abi = _abi;
    return ErrorTest__factory;
}(ethers_1.ContractFactory));
exports.ErrorTest__factory = ErrorTest__factory;
//# sourceMappingURL=ErrorTest__factory.js.map