@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) • 1.36 kB
JavaScript
;var e=require("../index-DVGsJIP-.cjs");require("../numerics-WtCLBFmj.cjs"),require("@ethersproject/bignumber"),require("@ethersproject/units"),require("decimal.js"),require("../match-Bexumlk6.cjs"),require("../encoders-DGguE7eh.cjs"),require("../decimals-DbQULq1R.cjs"),require("../logger-d0ZZl9KP.cjs"),require("../serializers-DfRMJ_-P.cjs"),Object.defineProperty(exports,"MarginalPriceOptions",{enumerable:!0,get:function(){return e.MarginalPriceOptions}}),exports.PPM_RESOLUTION=e.PPM_RESOLUTION,exports.Toolkit=e.Toolkit,exports.addFee=e.addFee,exports.buildStrategyObject=e.buildStrategyObject,exports.calculateOverlappingBuyBudget=e.calculateOverlappingBuyBudget,exports.calculateOverlappingPrices=e.calculateOverlappingPrices,exports.calculateOverlappingSellBudget=e.calculateOverlappingSellBudget,exports.createFromBuyOrder=e.createFromBuyOrder,exports.createFromSellOrder=e.createFromSellOrder,exports.createOrders=e.createOrders,exports.decodeStrategy=e.decodeStrategy,exports.encodeStrategy=e.encodeStrategy,exports.enforcePriceRange=e.enforcePriceRange,exports.getMinMaxPricesByDecimals=e.getMinMaxPricesByDecimals,exports.isMarginalPriceValue=e.isMarginalPriceValue,exports.normalizeInvertedRate=e.normalizeInvertedRate,exports.normalizeRate=e.normalizeRate,exports.parseStrategy=e.parseStrategy,exports.subtractFee=e.subtractFee;