UNPKG

@melonproject/token-math

Version:

A small helper library to do precision safe calculations

5 lines (4 loc) 259 B
import QuantityInterface from "../quantity/QuantityInterface"; import PriceInterface from "./PriceInterface"; declare const getPrice: (base: QuantityInterface, quote: QuantityInterface, preventCancelDown?: boolean) => PriceInterface; export default getPrice;