UNPKG

@melonproject/token-math

Version:

A small helper library to do precision safe calculations

11 lines (10 loc) 247 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); /** * Gets the price of two quantites. */ const createPrice = (base, quote) => { const price = { base, quote }; return price; }; exports.default = createPrice;