"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.HyperCoreLib__factory = void 0;
var ethers_1 = require("ethers");
var _abi = [
    {
        type: "function",
        name: "BASE_ASSET_BRIDGE_ADDRESS",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "address",
                internalType: "address",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "BASE_ASSET_BRIDGE_ADDRESS_UINT256",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "uint256",
                internalType: "uint256",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "CANCEL_BY_CLOID_HEADER",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "bytes4",
                internalType: "bytes4",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "CORE_USER_EXISTS_PRECOMPILE_ADDRESS",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "address",
                internalType: "address",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "CORE_WRITER_PRECOMPILE_ADDRESS",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "address",
                internalType: "address",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "LIMIT_ORDER_HEADER",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "bytes4",
                internalType: "bytes4",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "SPOT_BALANCE_PRECOMPILE_ADDRESS",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "address",
                internalType: "address",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "SPOT_PX_PRECOMPILE_ADDRESS",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "address",
                internalType: "address",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "SPOT_SEND_HEADER",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "bytes4",
                internalType: "bytes4",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "TOKEN_INFO_PRECOMPILE_ADDRESS",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "address",
                internalType: "address",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "USDC_CORE_DEPOSIT_WALLET_ADDRESS",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "address",
                internalType: "address",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "USDC_CORE_INDEX",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "uint64",
                internalType: "uint64",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "error",
        name: "CoreUserExistsPrecompileCallFailed",
        inputs: [],
    },
    {
        type: "error",
        name: "InvalidTif",
        inputs: [],
    },
    {
        type: "error",
        name: "LimitPxIsZero",
        inputs: [],
    },
    {
        type: "error",
        name: "OrderSizeIsZero",
        inputs: [],
    },
    {
        type: "error",
        name: "SpotBalancePrecompileCallFailed",
        inputs: [],
    },
    {
        type: "error",
        name: "SpotPxPrecompileCallFailed",
        inputs: [],
    },
    {
        type: "error",
        name: "TokenInfoPrecompileCallFailed",
        inputs: [],
    },
];
var HyperCoreLib__factory = (function () {
    function HyperCoreLib__factory() {
    }
    HyperCoreLib__factory.createInterface = function () {
        return new ethers_1.utils.Interface(_abi);
    };
    HyperCoreLib__factory.connect = function (address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    };
    HyperCoreLib__factory.abi = _abi;
    return HyperCoreLib__factory;
}());
exports.HyperCoreLib__factory = HyperCoreLib__factory;
//# sourceMappingURL=HyperCoreLib__factory.js.map