PHP WebShell
Текущая директория: /usr/lib/node_modules/bitgo/node_modules/viem/_cjs/utils/unit
Просмотр файла: formatEther.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.formatEther = formatEther;
const unit_js_1 = require("../../constants/unit.js");
const formatUnits_js_1 = require("./formatUnits.js");
function formatEther(wei, unit = 'wei') {
return (0, formatUnits_js_1.formatUnits)(wei, unit_js_1.etherUnits[unit]);
}
//# sourceMappingURL=formatEther.js.mapВыполнить команду
Для локальной разработки. Не используйте в интернете!