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