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