@ethereansos/interfaces-core 0.4.103 → 0.4.106
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 +173 -76
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +173 -77
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -63877,7 +63877,7 @@ function _tryRetrieveMetadata() {
|
|
|
63877
63877
|
item.metadataLink = metadatas && metadatas[item.address] || item.metadataLink;
|
|
63878
63878
|
|
|
63879
63879
|
if (!(item.metadataLink !== '')) {
|
|
63880
|
-
_context.next =
|
|
63880
|
+
_context.next = 42;
|
|
63881
63881
|
break;
|
|
63882
63882
|
}
|
|
63883
63883
|
|
|
@@ -63892,7 +63892,7 @@ function _tryRetrieveMetadata() {
|
|
|
63892
63892
|
}
|
|
63893
63893
|
|
|
63894
63894
|
_context.t1 = JSON.parse(gBase64.decode(item.metadataLink.substring('data:application/json;base64,'.length)));
|
|
63895
|
-
_context.next =
|
|
63895
|
+
_context.next = 31;
|
|
63896
63896
|
break;
|
|
63897
63897
|
|
|
63898
63898
|
case 28:
|
|
@@ -63902,13 +63902,9 @@ function _tryRetrieveMetadata() {
|
|
|
63902
63902
|
}, item.metadataLink)));
|
|
63903
63903
|
|
|
63904
63904
|
case 30:
|
|
63905
|
-
_context.next = 32;
|
|
63906
|
-
return _context.sent.json();
|
|
63907
|
-
|
|
63908
|
-
case 32:
|
|
63909
63905
|
_context.t1 = _context.sent;
|
|
63910
63906
|
|
|
63911
|
-
case
|
|
63907
|
+
case 31:
|
|
63912
63908
|
item.metadata = _context.t1;
|
|
63913
63909
|
|
|
63914
63910
|
if (typeof item.metadata !== 'string') {
|
|
@@ -63924,11 +63920,11 @@ function _tryRetrieveMetadata() {
|
|
|
63924
63920
|
item.description = item.description && item.description.split('\n\n').join(' ');
|
|
63925
63921
|
}
|
|
63926
63922
|
|
|
63927
|
-
_context.next =
|
|
63923
|
+
_context.next = 41;
|
|
63928
63924
|
break;
|
|
63929
63925
|
|
|
63930
|
-
case
|
|
63931
|
-
_context.prev =
|
|
63926
|
+
case 35:
|
|
63927
|
+
_context.prev = 35;
|
|
63932
63928
|
_context.t2 = _context["catch"](23);
|
|
63933
63929
|
delete item.image;
|
|
63934
63930
|
item.image = getElementImage({
|
|
@@ -63937,18 +63933,18 @@ function _tryRetrieveMetadata() {
|
|
|
63937
63933
|
item.metadataMessage = "Could not retrieve metadata, maybe due to CORS restriction policies for the link (<a href=\"".concat(item.metadataLink, "\" target=\"_blank\">").concat(item.metadataLink, "</a>), check it on <a href=\"").concat(item.collection ? context.openSeaItemLinkTemplate.format(item.collection.address, item.id) : context.openSeaCollectionLinkTemplate.format(item.address), "\" target=\"_blank\">Opensea</a>");
|
|
63938
63934
|
console.error(item.metadataMessage);
|
|
63939
63935
|
|
|
63940
|
-
case
|
|
63936
|
+
case 41:
|
|
63941
63937
|
clearMetadata = false;
|
|
63942
63938
|
|
|
63943
|
-
case
|
|
63944
|
-
_context.next =
|
|
63939
|
+
case 42:
|
|
63940
|
+
_context.next = 46;
|
|
63945
63941
|
break;
|
|
63946
63942
|
|
|
63947
|
-
case
|
|
63948
|
-
_context.prev =
|
|
63943
|
+
case 44:
|
|
63944
|
+
_context.prev = 44;
|
|
63949
63945
|
_context.t3 = _context["catch"](8);
|
|
63950
63946
|
|
|
63951
|
-
case
|
|
63947
|
+
case 46:
|
|
63952
63948
|
clearMetadata && delete item.metadata;
|
|
63953
63949
|
clearMetadata && (item.metadataLink = clearMetadata ? 'blank' : item.metadataLink);
|
|
63954
63950
|
|
|
@@ -63970,12 +63966,12 @@ function _tryRetrieveMetadata() {
|
|
|
63970
63966
|
|
|
63971
63967
|
return _context.abrupt("return", item);
|
|
63972
63968
|
|
|
63973
|
-
case
|
|
63969
|
+
case 51:
|
|
63974
63970
|
case "end":
|
|
63975
63971
|
return _context.stop();
|
|
63976
63972
|
}
|
|
63977
63973
|
}
|
|
63978
|
-
}, _callee, null, [[8,
|
|
63974
|
+
}, _callee, null, [[8, 44], [23, 35]]);
|
|
63979
63975
|
}));
|
|
63980
63976
|
return _tryRetrieveMetadata.apply(this, arguments);
|
|
63981
63977
|
}
|
|
@@ -64044,107 +64040,165 @@ function _getTokenPriceInDollarsOnUniswap() {
|
|
|
64044
64040
|
return _getTokenPriceInDollarsOnUniswap.apply(this, arguments);
|
|
64045
64041
|
}
|
|
64046
64042
|
|
|
64047
|
-
function
|
|
64043
|
+
function getTokenPriceInDollarsOnSushiSwap(_x5, _x6, _x7, _x8) {
|
|
64044
|
+
return _getTokenPriceInDollarsOnSushiSwap.apply(this, arguments);
|
|
64045
|
+
}
|
|
64046
|
+
|
|
64047
|
+
function _getTokenPriceInDollarsOnSushiSwap() {
|
|
64048
|
+
_getTokenPriceInDollarsOnSushiSwap = _asyncToGenerator$1( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(_ref2, tokenAddress, decimals, amountPlain) {
|
|
64049
|
+
var context, newContract, uniswapV2Router, wethAddress, ethereumPrice, path, amount, ethereumValue;
|
|
64050
|
+
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
64051
|
+
while (1) {
|
|
64052
|
+
switch (_context2.prev = _context2.next) {
|
|
64053
|
+
case 0:
|
|
64054
|
+
context = _ref2.context, newContract = _ref2.newContract;
|
|
64055
|
+
uniswapV2Router = newContract(context.uniswapV2RouterABI, context.sushiSwapRouterAddress);
|
|
64056
|
+
_context2.t0 = web3Utils;
|
|
64057
|
+
_context2.next = 5;
|
|
64058
|
+
return blockchainCall(uniswapV2Router.methods.WETH);
|
|
64059
|
+
|
|
64060
|
+
case 5:
|
|
64061
|
+
_context2.t1 = _context2.sent;
|
|
64062
|
+
wethAddress = _context2.t0.toChecksumAddress.call(_context2.t0, _context2.t1);
|
|
64063
|
+
_context2.next = 9;
|
|
64064
|
+
return getEthereumPrice({
|
|
64065
|
+
context: context
|
|
64066
|
+
});
|
|
64067
|
+
|
|
64068
|
+
case 9:
|
|
64069
|
+
ethereumPrice = _context2.sent;
|
|
64070
|
+
path = [tokenAddress, wethAddress];
|
|
64071
|
+
amount = toDecimals(numberToString(!isNaN(amountPlain) ? amountPlain : 1), decimals);
|
|
64072
|
+
ethereumValue = '0';
|
|
64073
|
+
_context2.prev = 13;
|
|
64074
|
+
_context2.next = 16;
|
|
64075
|
+
return blockchainCall(uniswapV2Router.methods.getAmountsOut, amount, path);
|
|
64076
|
+
|
|
64077
|
+
case 16:
|
|
64078
|
+
ethereumValue = _context2.sent[1];
|
|
64079
|
+
_context2.next = 21;
|
|
64080
|
+
break;
|
|
64081
|
+
|
|
64082
|
+
case 19:
|
|
64083
|
+
_context2.prev = 19;
|
|
64084
|
+
_context2.t2 = _context2["catch"](13);
|
|
64085
|
+
|
|
64086
|
+
case 21:
|
|
64087
|
+
ethereumValue = parseFloat(fromDecimals(ethereumValue, 18, true));
|
|
64088
|
+
ethereumValue *= ethereumPrice;
|
|
64089
|
+
return _context2.abrupt("return", ethereumValue);
|
|
64090
|
+
|
|
64091
|
+
case 24:
|
|
64092
|
+
case "end":
|
|
64093
|
+
return _context2.stop();
|
|
64094
|
+
}
|
|
64095
|
+
}
|
|
64096
|
+
}, _callee2, null, [[13, 19]]);
|
|
64097
|
+
}));
|
|
64098
|
+
return _getTokenPriceInDollarsOnSushiSwap.apply(this, arguments);
|
|
64099
|
+
}
|
|
64100
|
+
|
|
64101
|
+
function getTokenPriceInDollarsOnUniswapV3(_x9, _x10, _x11) {
|
|
64048
64102
|
return _getTokenPriceInDollarsOnUniswapV.apply(this, arguments);
|
|
64049
64103
|
}
|
|
64050
64104
|
|
|
64051
64105
|
function _getTokenPriceInDollarsOnUniswapV() {
|
|
64052
|
-
_getTokenPriceInDollarsOnUniswapV = _asyncToGenerator$1( /*#__PURE__*/regeneratorRuntime.mark(function
|
|
64106
|
+
_getTokenPriceInDollarsOnUniswapV = _asyncToGenerator$1( /*#__PURE__*/regeneratorRuntime.mark(function _callee4(_ref3, tokenAddress, decimals) {
|
|
64053
64107
|
var context, newContract, chainId, uniswapV2Router, wethAddress, ethereumPrice, ethereumValue, univ3Factory, uniToken, uniTokenWeth, proms;
|
|
64054
|
-
return regeneratorRuntime.wrap(function
|
|
64108
|
+
return regeneratorRuntime.wrap(function _callee4$(_context4) {
|
|
64055
64109
|
while (1) {
|
|
64056
|
-
switch (
|
|
64110
|
+
switch (_context4.prev = _context4.next) {
|
|
64057
64111
|
case 0:
|
|
64058
|
-
context =
|
|
64112
|
+
context = _ref3.context, newContract = _ref3.newContract, chainId = _ref3.chainId;
|
|
64059
64113
|
uniswapV2Router = newContract(context.uniswapV2RouterABI, context.uniswapV2RouterAddress);
|
|
64060
|
-
|
|
64061
|
-
|
|
64114
|
+
_context4.t0 = web3Utils;
|
|
64115
|
+
_context4.next = 5;
|
|
64062
64116
|
return blockchainCall(uniswapV2Router.methods.WETH);
|
|
64063
64117
|
|
|
64064
64118
|
case 5:
|
|
64065
|
-
|
|
64066
|
-
wethAddress =
|
|
64067
|
-
|
|
64119
|
+
_context4.t1 = _context4.sent;
|
|
64120
|
+
wethAddress = _context4.t0.toChecksumAddress.call(_context4.t0, _context4.t1);
|
|
64121
|
+
_context4.next = 9;
|
|
64068
64122
|
return getEthereumPrice({
|
|
64069
64123
|
context: context
|
|
64070
64124
|
});
|
|
64071
64125
|
|
|
64072
64126
|
case 9:
|
|
64073
|
-
ethereumPrice =
|
|
64127
|
+
ethereumPrice = _context4.sent;
|
|
64074
64128
|
ethereumValue = '0';
|
|
64075
64129
|
univ3Factory = newContract(context.UniswapV3FactoryABI, context.uniswapV3FactoryAddress);
|
|
64076
64130
|
uniToken = new Token(chainId, tokenAddress, parseInt(decimals), 'TOK', 'Token');
|
|
64077
64131
|
uniTokenWeth = new Token(chainId, wethAddress, 18, 'ETH', 'Ethereum');
|
|
64078
|
-
|
|
64079
|
-
|
|
64132
|
+
_context4.prev = 14;
|
|
64133
|
+
_context4.next = 17;
|
|
64080
64134
|
return Promise.all(Object.keys(conversionEncode).map( /*#__PURE__*/function () {
|
|
64081
|
-
var
|
|
64135
|
+
var _ref4 = _asyncToGenerator$1( /*#__PURE__*/regeneratorRuntime.mark(function _callee3(fee) {
|
|
64082
64136
|
var pool, slot0, price;
|
|
64083
|
-
return regeneratorRuntime.wrap(function
|
|
64137
|
+
return regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
64084
64138
|
while (1) {
|
|
64085
|
-
switch (
|
|
64139
|
+
switch (_context3.prev = _context3.next) {
|
|
64086
64140
|
case 0:
|
|
64087
|
-
|
|
64088
|
-
|
|
64089
|
-
|
|
64090
|
-
|
|
64141
|
+
_context3.prev = 0;
|
|
64142
|
+
_context3.t0 = newContract;
|
|
64143
|
+
_context3.t1 = context.UniswapV3PoolABI;
|
|
64144
|
+
_context3.next = 5;
|
|
64091
64145
|
return blockchainCall(univ3Factory.methods.getPool, wethAddress, tokenAddress, fee);
|
|
64092
64146
|
|
|
64093
64147
|
case 5:
|
|
64094
|
-
|
|
64095
|
-
pool = (0,
|
|
64096
|
-
|
|
64148
|
+
_context3.t2 = _context3.sent;
|
|
64149
|
+
pool = (0, _context3.t0)(_context3.t1, _context3.t2);
|
|
64150
|
+
_context3.next = 9;
|
|
64097
64151
|
return blockchainCall(pool.methods.slot0);
|
|
64098
64152
|
|
|
64099
64153
|
case 9:
|
|
64100
|
-
slot0 =
|
|
64154
|
+
slot0 = _context3.sent;
|
|
64101
64155
|
price = tickToPrice(uniToken, uniTokenWeth, parseInt(slot0.tick)).toSignificant(15);
|
|
64102
|
-
return
|
|
64156
|
+
return _context3.abrupt("return", toDecimals(price, 18));
|
|
64103
64157
|
|
|
64104
64158
|
case 14:
|
|
64105
|
-
|
|
64106
|
-
|
|
64107
|
-
return
|
|
64159
|
+
_context3.prev = 14;
|
|
64160
|
+
_context3.t3 = _context3["catch"](0);
|
|
64161
|
+
return _context3.abrupt("return", '0');
|
|
64108
64162
|
|
|
64109
64163
|
case 17:
|
|
64110
64164
|
case "end":
|
|
64111
|
-
return
|
|
64165
|
+
return _context3.stop();
|
|
64112
64166
|
}
|
|
64113
64167
|
}
|
|
64114
|
-
},
|
|
64168
|
+
}, _callee3, null, [[0, 14]]);
|
|
64115
64169
|
}));
|
|
64116
64170
|
|
|
64117
|
-
return function (
|
|
64118
|
-
return
|
|
64171
|
+
return function (_x12) {
|
|
64172
|
+
return _ref4.apply(this, arguments);
|
|
64119
64173
|
};
|
|
64120
64174
|
}()));
|
|
64121
64175
|
|
|
64122
64176
|
case 17:
|
|
64123
|
-
proms =
|
|
64177
|
+
proms = _context4.sent.filter(function (it) {
|
|
64124
64178
|
return it && it !== '0';
|
|
64125
64179
|
});
|
|
64126
64180
|
ethereumValue = proms.reduce(function (a, b) {
|
|
64127
64181
|
return a.ethereansosAdd(b);
|
|
64128
64182
|
});
|
|
64129
64183
|
ethereumValue = ethereumValue.ethereansosDiv(proms.length);
|
|
64130
|
-
|
|
64184
|
+
_context4.next = 24;
|
|
64131
64185
|
break;
|
|
64132
64186
|
|
|
64133
64187
|
case 22:
|
|
64134
|
-
|
|
64135
|
-
|
|
64188
|
+
_context4.prev = 22;
|
|
64189
|
+
_context4.t2 = _context4["catch"](14);
|
|
64136
64190
|
|
|
64137
64191
|
case 24:
|
|
64138
64192
|
ethereumValue = parseFloat(fromDecimals(ethereumValue, 18, true));
|
|
64139
64193
|
ethereumValue *= ethereumPrice;
|
|
64140
|
-
return
|
|
64194
|
+
return _context4.abrupt("return", ethereumValue);
|
|
64141
64195
|
|
|
64142
64196
|
case 27:
|
|
64143
64197
|
case "end":
|
|
64144
|
-
return
|
|
64198
|
+
return _context4.stop();
|
|
64145
64199
|
}
|
|
64146
64200
|
}
|
|
64147
|
-
},
|
|
64201
|
+
}, _callee4, null, [[14, 22]]);
|
|
64148
64202
|
}));
|
|
64149
64203
|
return _getTokenPriceInDollarsOnUniswapV.apply(this, arguments);
|
|
64150
64204
|
}
|
|
@@ -64183,7 +64237,7 @@ function _elaboratePrices() {
|
|
|
64183
64237
|
|
|
64184
64238
|
case 7:
|
|
64185
64239
|
if ((_step = _iterator.n()).done) {
|
|
64186
|
-
_context.next =
|
|
64240
|
+
_context.next = 57;
|
|
64187
64241
|
break;
|
|
64188
64242
|
}
|
|
64189
64243
|
|
|
@@ -64207,61 +64261,103 @@ function _elaboratePrices() {
|
|
|
64207
64261
|
response.data[token] = {
|
|
64208
64262
|
usd: _context.t4
|
|
64209
64263
|
};
|
|
64210
|
-
_context.next =
|
|
64264
|
+
_context.next = 55;
|
|
64211
64265
|
break;
|
|
64212
64266
|
|
|
64213
64267
|
case 22:
|
|
64214
64268
|
_context.prev = 22;
|
|
64215
64269
|
_context.t5 = _context["catch"](9);
|
|
64270
|
+
_context.prev = 24;
|
|
64216
64271
|
_context.t6 = getTokenPriceInDollarsOnUniswap;
|
|
64217
64272
|
_context.t7 = _objectSpread2({
|
|
64218
64273
|
context: context
|
|
64219
64274
|
}, web3Data);
|
|
64220
64275
|
_context.t8 = token;
|
|
64221
|
-
_context.next =
|
|
64276
|
+
_context.next = 30;
|
|
64222
64277
|
return blockchainCall(web3Data.newContract(context.ERC20ABI, token).methods.decimals);
|
|
64223
64278
|
|
|
64224
|
-
case
|
|
64279
|
+
case 30:
|
|
64225
64280
|
_context.t9 = _context.sent;
|
|
64226
|
-
_context.next =
|
|
64281
|
+
_context.next = 33;
|
|
64227
64282
|
return (0, _context.t6)(_context.t7, _context.t8, _context.t9);
|
|
64228
64283
|
|
|
64229
|
-
case
|
|
64284
|
+
case 33:
|
|
64230
64285
|
_context.t10 = _context.sent;
|
|
64231
64286
|
response.data[token] = {
|
|
64232
64287
|
usd: _context.t10
|
|
64233
64288
|
};
|
|
64289
|
+
_context.next = 39;
|
|
64290
|
+
break;
|
|
64234
64291
|
|
|
64235
|
-
case
|
|
64292
|
+
case 37:
|
|
64293
|
+
_context.prev = 37;
|
|
64294
|
+
_context.t11 = _context["catch"](24);
|
|
64295
|
+
|
|
64296
|
+
case 39:
|
|
64297
|
+
_context.prev = 39;
|
|
64298
|
+
|
|
64299
|
+
if (!(!response.data[token].usd || parseFloat(response.data[token].usd) === 0)) {
|
|
64300
|
+
_context.next = 51;
|
|
64301
|
+
break;
|
|
64302
|
+
}
|
|
64303
|
+
|
|
64304
|
+
_context.t12 = getTokenPriceInDollarsOnSushiSwap;
|
|
64305
|
+
_context.t13 = _objectSpread2({
|
|
64306
|
+
context: context
|
|
64307
|
+
}, web3Data);
|
|
64308
|
+
_context.t14 = token;
|
|
64309
|
+
_context.next = 46;
|
|
64310
|
+
return blockchainCall(web3Data.newContract(context.ERC20ABI, token).methods.decimals);
|
|
64311
|
+
|
|
64312
|
+
case 46:
|
|
64313
|
+
_context.t15 = _context.sent;
|
|
64314
|
+
_context.next = 49;
|
|
64315
|
+
return (0, _context.t12)(_context.t13, _context.t14, _context.t15);
|
|
64316
|
+
|
|
64317
|
+
case 49:
|
|
64318
|
+
_context.t16 = _context.sent;
|
|
64319
|
+
response.data[token] = {
|
|
64320
|
+
usd: _context.t16
|
|
64321
|
+
};
|
|
64322
|
+
|
|
64323
|
+
case 51:
|
|
64324
|
+
_context.next = 55;
|
|
64325
|
+
break;
|
|
64326
|
+
|
|
64327
|
+
case 53:
|
|
64328
|
+
_context.prev = 53;
|
|
64329
|
+
_context.t17 = _context["catch"](39);
|
|
64330
|
+
|
|
64331
|
+
case 55:
|
|
64236
64332
|
_context.next = 7;
|
|
64237
64333
|
break;
|
|
64238
64334
|
|
|
64239
|
-
case
|
|
64240
|
-
_context.next =
|
|
64335
|
+
case 57:
|
|
64336
|
+
_context.next = 62;
|
|
64241
64337
|
break;
|
|
64242
64338
|
|
|
64243
|
-
case
|
|
64244
|
-
_context.prev =
|
|
64245
|
-
_context.
|
|
64339
|
+
case 59:
|
|
64340
|
+
_context.prev = 59;
|
|
64341
|
+
_context.t18 = _context["catch"](5);
|
|
64246
64342
|
|
|
64247
|
-
_iterator.e(_context.
|
|
64343
|
+
_iterator.e(_context.t18);
|
|
64248
64344
|
|
|
64249
|
-
case
|
|
64250
|
-
_context.prev =
|
|
64345
|
+
case 62:
|
|
64346
|
+
_context.prev = 62;
|
|
64251
64347
|
|
|
64252
64348
|
_iterator.f();
|
|
64253
64349
|
|
|
64254
|
-
return _context.finish(
|
|
64350
|
+
return _context.finish(62);
|
|
64255
64351
|
|
|
64256
|
-
case
|
|
64352
|
+
case 65:
|
|
64257
64353
|
return _context.abrupt("return", response);
|
|
64258
64354
|
|
|
64259
|
-
case
|
|
64355
|
+
case 66:
|
|
64260
64356
|
case "end":
|
|
64261
64357
|
return _context.stop();
|
|
64262
64358
|
}
|
|
64263
64359
|
}
|
|
64264
|
-
}, _callee, null, [[5,
|
|
64360
|
+
}, _callee, null, [[5, 59, 62, 65], [9, 22], [24, 37], [39, 53]]);
|
|
64265
64361
|
}));
|
|
64266
64362
|
return _elaboratePrices.apply(this, arguments);
|
|
64267
64363
|
}
|
|
@@ -64926,5 +65022,5 @@ var tokenPercentage = function tokenPercentage(amount, totalSupply) {
|
|
|
64926
65022
|
|
|
64927
65023
|
var abi = new AbiCoder();
|
|
64928
65024
|
|
|
64929
|
-
export { ADDRESS_ZERO, BASE64_REGEXP, BLOCK_SEARCH_SIZE, gBase64 as Base64, BaseContract, BigNumber, Contract, ContractFactory, CurrencyAmount, DFO_DEPLOYED_EVENT, Ether, FACTORY_ADDRESS, FeeAmount, FixedNumber, Fraction, FullMath, GlobalContextsProvider, InitContextProvider, LiquidityMath, MaxUint256, Multicall, NEW_DFO_DEPLOYED_EVENT, NativeCurrency, NoTickDataProvider, NonfungiblePositionManager, POOL_INIT_CODE_HASH, Payments, Percent, PluginsContextProvider, Pool, Position, PositionLibrary, Price, Rounding, Route, SelfPermit, Signer, SqrtPriceMath, Staker, SwapMath, SwapQuoter, SwapRouter, TICK_SPACINGS, Tick, TickLibrary, TickList, TickListDataProvider, TickMath, Token, Trade, TradeType, URL_REGEXP, VOID_BYTES32, VOID_ETHEREUM_ADDRESS, VoidSigner, WETH9, Wallet, Web3ContextProvider, Wordlist, abi, add, blockchainCall, checkCoverSize, computePoolAddress, computePriceImpact, index$2 as constants, createContract, deployMetadataLink, div, eliminateFloatingFinalZeroes, encodeRouteToPath, encodeSqrtRatioX96, ErrorCode as errors, ethers, PubSub as ethosEvents, extractComment, extractHTMLDescription, formatLink, formatMoney, formatMoneyUniV3, formatNumber, formatString, fromDecimals, generateAndCompileContract, generateFunctionalityMetadataLink, getAllContracts, getDefaultProvider, getEthereumPrice, getLogs, getNetworkElement, getRandomArrayElement, getRandomArrayIndex, SolidityUtilities as getSolidityUtilities, getSupportedSolidityVersion, getTokenPriceInDollarsOnUniswap, getTokenPriceInDollarsOnUniswapV3, getTokenPricesInDollarsOnCoingecko, hasEthereumAddress, isEthereumAddress, isSorted, loadBlockSearchTranches, loadContent, loadFunctionality, loadFunctionalityNames, loadMetadatas, loadOffChainWallets as loadOffchainWallets, logger, maxLiquidityForAmounts, memoryFetch, methodSignatureMatch, mint, mostSignificantBit, mul, nearestUsableTick, newContract, normalizeValue, numberToString, packCollection, pragmaSolidityRule, priceToClosestTick, index as providers, refreshBalances, resetContracts, searchForCodeErrors, sendAsync, sendGeneratedProposal, shortenWord, sleep, solidityImportRule, sortedInsert, split, sqrt, toLines as stringToLines, sub, subIn256, swap, tickToPrice, toDecimals, toEthereumSymbol, toHex, toSubArrays, tokenPercentage, tradeComparator, transfer, truncatedWord, tryRetrieveMetadata, uploadMetadata, uploadToIPFS, useEthosContext, useInit, useIsUnmounted, useLoadUniswapPairs, useLocalStorage, usePlaceholder, usePlugins, usePrevious, useSinglePlaceholder, useWeb3, utils, validateAndParseAddress, validateDFOMetadata, version$1 as version, web3States, wordlists };
|
|
65025
|
+
export { ADDRESS_ZERO, BASE64_REGEXP, BLOCK_SEARCH_SIZE, gBase64 as Base64, BaseContract, BigNumber, Contract, ContractFactory, CurrencyAmount, DFO_DEPLOYED_EVENT, Ether, FACTORY_ADDRESS, FeeAmount, FixedNumber, Fraction, FullMath, GlobalContextsProvider, InitContextProvider, LiquidityMath, MaxUint256, Multicall, NEW_DFO_DEPLOYED_EVENT, NativeCurrency, NoTickDataProvider, NonfungiblePositionManager, POOL_INIT_CODE_HASH, Payments, Percent, PluginsContextProvider, Pool, Position, PositionLibrary, Price, Rounding, Route, SelfPermit, Signer, SqrtPriceMath, Staker, SwapMath, SwapQuoter, SwapRouter, TICK_SPACINGS, Tick, TickLibrary, TickList, TickListDataProvider, TickMath, Token, Trade, TradeType, URL_REGEXP, VOID_BYTES32, VOID_ETHEREUM_ADDRESS, VoidSigner, WETH9, Wallet, Web3ContextProvider, Wordlist, abi, add, blockchainCall, checkCoverSize, computePoolAddress, computePriceImpact, index$2 as constants, createContract, deployMetadataLink, div, eliminateFloatingFinalZeroes, encodeRouteToPath, encodeSqrtRatioX96, ErrorCode as errors, ethers, PubSub as ethosEvents, extractComment, extractHTMLDescription, formatLink, formatMoney, formatMoneyUniV3, formatNumber, formatString, fromDecimals, generateAndCompileContract, generateFunctionalityMetadataLink, getAllContracts, getDefaultProvider, getEthereumPrice, getLogs, getNetworkElement, getRandomArrayElement, getRandomArrayIndex, SolidityUtilities as getSolidityUtilities, getSupportedSolidityVersion, getTokenPriceInDollarsOnSushiSwap, getTokenPriceInDollarsOnUniswap, getTokenPriceInDollarsOnUniswapV3, getTokenPricesInDollarsOnCoingecko, hasEthereumAddress, isEthereumAddress, isSorted, loadBlockSearchTranches, loadContent, loadFunctionality, loadFunctionalityNames, loadMetadatas, loadOffChainWallets as loadOffchainWallets, logger, maxLiquidityForAmounts, memoryFetch, methodSignatureMatch, mint, mostSignificantBit, mul, nearestUsableTick, newContract, normalizeValue, numberToString, packCollection, pragmaSolidityRule, priceToClosestTick, index as providers, refreshBalances, resetContracts, searchForCodeErrors, sendAsync, sendGeneratedProposal, shortenWord, sleep, solidityImportRule, sortedInsert, split, sqrt, toLines as stringToLines, sub, subIn256, swap, tickToPrice, toDecimals, toEthereumSymbol, toHex, toSubArrays, tokenPercentage, tradeComparator, transfer, truncatedWord, tryRetrieveMetadata, uploadMetadata, uploadToIPFS, useEthosContext, useInit, useIsUnmounted, useLoadUniswapPairs, useLocalStorage, usePlaceholder, usePlugins, usePrevious, useSinglePlaceholder, useWeb3, utils, validateAndParseAddress, validateDFOMetadata, version$1 as version, web3States, wordlists };
|
|
64930
65026
|
//# sourceMappingURL=index.esm.js.map
|