"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.TokenErrorReporter__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",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: false,
                internalType: "uint256",
                name: "error",
                type: "uint256",
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "info",
                type: "uint256",
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "detail",
                type: "uint256",
            },
        ],
        name: "Failure",
        type: "event",
    },
];
const _bytecode = "0x60808060405234601757603a9081601d823930815050f35b600080fdfe600080fdfea2646970667358221220edadee7ffe2eb5c25d5caedceb5d91ee8b087a7493e1daa8541201c460d2e24b64736f6c63430008130033";
const isSuperArgs = (xs) => xs.length > 1;
class TokenErrorReporter__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.TokenErrorReporter__factory = TokenErrorReporter__factory;
TokenErrorReporter__factory.bytecode = _bytecode;
TokenErrorReporter__factory.abi = _abi;
//# sourceMappingURL=TokenErrorReporter__factory.js.map