@bancor/carbon-sdk
Version:
The SDK is a READ-ONLY tool, intended to facilitate working with Carbon contracts. It's a convenient wrapper around our matching algorithm, allowing programs and users get a ready to use transaction data that will allow them to manage strategies and fulfi
2 lines (1 loc) • 431 B
JavaScript
export{MarginalPriceOptions,Toolkit,isMarginalPriceValue}from"./Toolkit/index.js";export{PPM_RESOLUTION,addFee,buildStrategyObject,calculateOverlappingBuyBudget,calculateOverlappingPrices,calculateOverlappingSellBudget,createFromBuyOrder,createFromSellOrder,createOrders,decodeStrategy,encodeStrategy,enforcePriceRange,getMinMaxPricesByDecimals,normalizeInvertedRate,normalizeRate,parseStrategy,subtractFee}from"./utils/index.js";