@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.cjs.js
CHANGED
@@ -48495,6 +48495,12 @@ function _tryRetrieveMetadata() {
|
|
48495
48495
|
return _tryRetrieveMetadata.apply(this, arguments);
|
48496
48496
|
}
|
48497
48497
|
|
48498
|
+
var conversionEncode = {
|
48499
|
+
100: '000064',
|
48500
|
+
500: '0001f4',
|
48501
|
+
3000: '000bb8',
|
48502
|
+
10000: '002710'
|
48503
|
+
};
|
48498
48504
|
function getTokenPriceInDollarsOnUniswap(_x, _x2, _x3, _x4) {
|
48499
48505
|
return _getTokenPriceInDollarsOnUniswap.apply(this, arguments);
|
48500
48506
|
}
|
@@ -48586,7 +48592,7 @@ function _getTokenPriceInDollarsOnUniswapV() {
|
|
48586
48592
|
uniTokenWeth = new Token(chainId, wethAddress, 18, 'ETH', 'Ethereum');
|
48587
48593
|
_context3.prev = 14;
|
48588
48594
|
_context3.next = 17;
|
48589
|
-
return Promise.all(Object.keys(
|
48595
|
+
return Promise.all(Object.keys(conversionEncode).map( /*#__PURE__*/function () {
|
48590
48596
|
var _ref3 = _asyncToGenerator$1( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(fee) {
|
48591
48597
|
var pool, slot0, price;
|
48592
48598
|
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|