UNPKG

@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.48 kB
"use strict";var e=require("../decimals-DbQULq1R.cjs"),r=require("../encoders-DBOv0ukp.cjs"),t=require("../serializers-gTido5tE.cjs");require("ethers"),require("decimal.js"),exports.Decimals=e.Decimals,exports.BigNumberMax=r.BigNumberMax,exports.BigNumberMin=r.BigNumberMin,exports.BnToDec=r.BnToDec,exports.DecToBn=r.DecToBn,exports.Decimal=r.Decimal,exports.MAX_UINT256=r.MAX_UINT256,exports.ONE=r.ONE,exports.TEN=r.TEN,exports.areScaledRatesEqual=r.areScaledRatesEqual,exports.calculateCorrelatedZ=r.calculateCorrelatedZ,exports.calculateRequiredLiquidity=r.calculateRequiredLiquidity,exports.decodeFloat=r.decodeFloat,exports.decodeOrder=r.decodeOrder,exports.decodeRate=r.decodeRate,exports.encodeFloat=r.encodeFloat,exports.encodeOrder=r.encodeOrder,exports.encodeOrders=r.encodeOrders,exports.encodeRate=r.encodeRate,exports.formatUnits=r.formatUnits,exports.isOrderEncodable=r.isOrderEncodable,exports.lowestPossibleRate=r.lowestPossibleRate,exports.mulDiv=r.mulDiv,exports.parseUnits=r.parseUnits,exports.tenPow=r.tenPow,exports.trimDecimal=r.trimDecimal,exports.encodedOrderStrToBN=t.encodedOrderStrToBN,exports.encodedStrategyBigIntToStr=t.encodedStrategyBigIntToStr,exports.encodedStrategyStrToBN=t.encodedStrategyStrToBN,exports.matchActionBNToStr=t.matchActionBNToStr,exports.ordersMapBNToStr=t.ordersMapBNToStr,exports.ordersMapStrToBN=t.ordersMapStrToBN,exports.replaceBigIntsWithStrings=t.replaceBigIntsWithStrings,exports.tradeActionStrToBN=t.tradeActionStrToBN;