PHP WebShell

Текущая директория: /usr/lib/node_modules/bitgo/node_modules/viem/_cjs/utils/unit

Просмотр файла: parseEther.js

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parseEther = parseEther;
const unit_js_1 = require("../../constants/unit.js");
const parseUnits_js_1 = require("./parseUnits.js");
function parseEther(ether, unit = 'wei') {
    return (0, parseUnits_js_1.parseUnits)(ether, unit_js_1.etherUnits[unit]);
}
//# sourceMappingURL=parseEther.js.map

Выполнить команду


Для локальной разработки. Не используйте в интернете!