You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
373 B
9 lines
373 B
"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
|