@ethereansos/interfaces-core 0.4.83 → 0.4.84
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +7 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +7 -1
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
@@ -48484,6 +48484,12 @@ function _tryRetrieveMetadata() {
|
|
48484
48484
|
return _tryRetrieveMetadata.apply(this, arguments);
|
48485
48485
|
}
|
48486
48486
|
|
48487
|
+
var conversionEncode = {
|
48488
|
+
100: '000064',
|
48489
|
+
500: '0001f4',
|
48490
|
+
3000: '000bb8',
|
48491
|
+
10000: '002710'
|
48492
|
+
};
|
48487
48493
|
function getTokenPriceInDollarsOnUniswap(_x, _x2, _x3, _x4) {
|
48488
48494
|
return _getTokenPriceInDollarsOnUniswap.apply(this, arguments);
|
48489
48495
|
}
|
@@ -48575,7 +48581,7 @@ function _getTokenPriceInDollarsOnUniswapV() {
|
|
48575
48581
|
uniTokenWeth = new Token(chainId, wethAddress, 18, 'ETH', 'Ethereum');
|
48576
48582
|
_context3.prev = 14;
|
48577
48583
|
_context3.next = 17;
|
48578
|
-
return Promise.all(Object.keys(
|
48584
|
+
return Promise.all(Object.keys(conversionEncode).map( /*#__PURE__*/function () {
|
48579
48585
|
var _ref3 = _asyncToGenerator$1( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(fee) {
|
48580
48586
|
var pool, slot0, price;
|
48581
48587
|
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|