"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ErrorTest__factory = void 0;
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
const ethers_1 = require("ethers");
const _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",
    },
];
const _bytecode = "0x6080806040523461001657610125908161001c8239f35b600080fdfe608080604052600480361015601357600080fd5b600091823560e01c90816361805cc3146091575063eb8ac92114603557600080fd5b34608d576040366003190112608d578035916024356012841015607a57605d811015607a5760649360405193634190a51760e11b855284015260248301526044820152fd5b506021602492634e487b7160e01b835252fd5b5080fd5b9050823460ec57606036600319011260ec57823560243591601282101560d957605d83101560d95750606493634190a51760e11b845283015260248201526044356044820152fd5b634e487b7160e01b815260218552602490fd5b80fdfea26469706673582212203a97357c9aa2222d2c69d459023436f01784ebead114e6a6b73f341cf6a6161664736f6c63430008130033";
const isSuperArgs = (xs) => xs.length > 1;
class ErrorTest__factory extends ethers_1.ContractFactory {
    constructor(...args) {
        if (isSuperArgs(args)) {
            super(...args);
        }
        else {
            super(_abi, _bytecode, args[0]);
        }
    }
    getDeployTransaction(overrides) {
        return super.getDeployTransaction(overrides || {});
    }
    deploy(overrides) {
        return super.deploy(overrides || {});
    }
    connect(runner) {
        return super.connect(runner);
    }
    static createInterface() {
        return new ethers_1.Interface(_abi);
    }
    static connect(address, runner) {
        return new ethers_1.Contract(address, _abi, runner);
    }
}
exports.ErrorTest__factory = ErrorTest__factory;
ErrorTest__factory.bytecode = _bytecode;
ErrorTest__factory.abi = _abi;
//# sourceMappingURL=ErrorTest__factory.js.map