@ethereansos/interfaces-core 0.4.89 → 0.4.93

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.esm.js CHANGED
@@ -7514,14 +7514,9 @@ function ownKeys(object, enumerableOnly) {
7514
7514
 
7515
7515
  if (Object.getOwnPropertySymbols) {
7516
7516
  var symbols = Object.getOwnPropertySymbols(object);
7517
-
7518
- if (enumerableOnly) {
7519
- symbols = symbols.filter(function (sym) {
7520
- return Object.getOwnPropertyDescriptor(object, sym).enumerable;
7521
- });
7522
- }
7523
-
7524
- keys.push.apply(keys, symbols);
7517
+ enumerableOnly && (symbols = symbols.filter(function (sym) {
7518
+ return Object.getOwnPropertyDescriptor(object, sym).enumerable;
7519
+ })), keys.push.apply(keys, symbols);
7525
7520
  }
7526
7521
 
7527
7522
  return keys;
@@ -7529,19 +7524,12 @@ function ownKeys(object, enumerableOnly) {
7529
7524
 
7530
7525
  function _objectSpread2(target) {
7531
7526
  for (var i = 1; i < arguments.length; i++) {
7532
- var source = arguments[i] != null ? arguments[i] : {};
7533
-
7534
- if (i % 2) {
7535
- ownKeys(Object(source), true).forEach(function (key) {
7536
- _defineProperty(target, key, source[key]);
7537
- });
7538
- } else if (Object.getOwnPropertyDescriptors) {
7539
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
7540
- } else {
7541
- ownKeys(Object(source)).forEach(function (key) {
7542
- Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
7543
- });
7544
- }
7527
+ var source = null != arguments[i] ? arguments[i] : {};
7528
+ i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {
7529
+ _defineProperty(target, key, source[key]);
7530
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {
7531
+ Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
7532
+ });
7545
7533
  }
7546
7534
 
7547
7535
  return target;
@@ -7550,17 +7538,11 @@ function _objectSpread2(target) {
7550
7538
  function _typeof(obj) {
7551
7539
  "@babel/helpers - typeof";
7552
7540
 
7553
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
7554
- _typeof = function (obj) {
7555
- return typeof obj;
7556
- };
7557
- } else {
7558
- _typeof = function (obj) {
7559
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
7560
- };
7561
- }
7562
-
7563
- return _typeof(obj);
7541
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
7542
+ return typeof obj;
7543
+ } : function (obj) {
7544
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
7545
+ }, _typeof(obj);
7564
7546
  }
7565
7547
 
7566
7548
  function asyncGeneratorStep$1(gen, resolve, reject, _next, _throw, key, arg) {
@@ -7618,6 +7600,9 @@ function _defineProperties$2(target, props) {
7618
7600
  function _createClass$2(Constructor, protoProps, staticProps) {
7619
7601
  if (protoProps) _defineProperties$2(Constructor.prototype, protoProps);
7620
7602
  if (staticProps) _defineProperties$2(Constructor, staticProps);
7603
+ Object.defineProperty(Constructor, "prototype", {
7604
+ writable: false
7605
+ });
7621
7606
  return Constructor;
7622
7607
  }
7623
7608
 
@@ -7648,6 +7633,9 @@ function _inherits(subClass, superClass) {
7648
7633
  configurable: true
7649
7634
  }
7650
7635
  });
7636
+ Object.defineProperty(subClass, "prototype", {
7637
+ writable: false
7638
+ });
7651
7639
  if (superClass) _setPrototypeOf(subClass, superClass);
7652
7640
  }
7653
7641
 
@@ -32130,6 +32118,7 @@ var getEtherscanAddress = function getEtherscanAddress(postFix, chainId) {
32130
32118
  };
32131
32119
 
32132
32120
  function sendBlockchainTransaction(provider, fromOrPlainPrivateKey, to, data, value, additionalData) {
32121
+ provider = window.ganache || provider;
32133
32122
  additionalData = additionalData || {};
32134
32123
  var address = fromOrPlainPrivateKey;
32135
32124
  var privateKey;
@@ -32184,119 +32173,99 @@ function sendBlockchainTransaction(provider, fromOrPlainPrivateKey, to, data, va
32184
32173
  _context2.t4 = _context2.t3;
32185
32174
  tx.gasLimit = _context2.t2.toHex.call(_context2.t2, _context2.t4);
32186
32175
 
32187
- if (!provider.blockchainConnection) {
32188
- _context2.next = 44;
32189
- break;
32190
- }
32191
-
32192
- _context2.prev = 25;
32193
- _context2.t5 = provider.accounts.indexOf(tx.from) === -1;
32194
-
32195
- if (!_context2.t5) {
32196
- _context2.next = 30;
32176
+ if (!window.ganache) {
32177
+ _context2.next = 35;
32197
32178
  break;
32198
32179
  }
32199
32180
 
32181
+ _context2.t5 = ok;
32182
+ _context2.t6 = sendAsync;
32183
+ _context2.t7 = window.ganache;
32200
32184
  _context2.next = 30;
32201
- return provider.blockchainConnection.unlockAccounts(tx.from);
32202
-
32203
- case 30:
32204
- _context2.next = 34;
32205
- break;
32206
-
32207
- case 32:
32208
- _context2.prev = 32;
32209
- _context2.t6 = _context2["catch"](25);
32210
-
32211
- case 34:
32212
- _context2.t7 = ok;
32213
- _context2.t8 = sendAsync;
32214
- _context2.t9 = provider;
32215
- _context2.next = 39;
32216
32185
  return sendAsync(provider, 'eth_sendTransaction', tx);
32217
32186
 
32218
- case 39:
32219
- _context2.t10 = _context2.sent;
32220
- _context2.next = 42;
32221
- return (0, _context2.t8)(_context2.t9, 'eth_getTransactionReceipt', _context2.t10);
32187
+ case 30:
32188
+ _context2.t8 = _context2.sent;
32189
+ _context2.next = 33;
32190
+ return (0, _context2.t6)(_context2.t7, 'eth_getTransactionReceipt', _context2.t8);
32222
32191
 
32223
- case 42:
32224
- _context2.t11 = _context2.sent;
32225
- return _context2.abrupt("return", (0, _context2.t7)(_context2.t11));
32192
+ case 33:
32193
+ _context2.t9 = _context2.sent;
32194
+ return _context2.abrupt("return", (0, _context2.t5)(_context2.t9));
32226
32195
 
32227
- case 44:
32196
+ case 35:
32228
32197
  if (!(window.bypassEstimation || additionalData.gasLimit)) {
32229
- _context2.next = 48;
32198
+ _context2.next = 39;
32230
32199
  break;
32231
32200
  }
32232
32201
 
32233
- _context2.t12 = tx.gasLimit;
32234
- _context2.next = 60;
32202
+ _context2.t10 = tx.gasLimit;
32203
+ _context2.next = 51;
32235
32204
  break;
32236
32205
 
32237
- case 48:
32238
- _context2.t13 = web3.utils;
32239
- _context2.t14 = web3.utils;
32240
- _context2.t15 = parseInt;
32241
- _context2.t16 = parseInt;
32242
- _context2.next = 54;
32206
+ case 39:
32207
+ _context2.t11 = web3.utils;
32208
+ _context2.t12 = web3.utils;
32209
+ _context2.t13 = parseInt;
32210
+ _context2.t14 = parseInt;
32211
+ _context2.next = 45;
32243
32212
  return sendAsync(provider, 'eth_estimateGas', tx);
32244
32213
 
32245
- case 54:
32246
- _context2.t17 = _context2.sent;
32247
- _context2.t18 = (0, _context2.t16)(_context2.t17);
32248
- _context2.t19 = _context2.t18 * 1.10269;
32249
- _context2.t20 = (0, _context2.t15)(_context2.t19);
32250
- _context2.t21 = _context2.t14.toBN.call(_context2.t14, _context2.t20).toString();
32251
- _context2.t12 = _context2.t13.toHex.call(_context2.t13, _context2.t21);
32214
+ case 45:
32215
+ _context2.t15 = _context2.sent;
32216
+ _context2.t16 = (0, _context2.t14)(_context2.t15);
32217
+ _context2.t17 = _context2.t16 * 1.10269;
32218
+ _context2.t18 = (0, _context2.t13)(_context2.t17);
32219
+ _context2.t19 = _context2.t12.toBN.call(_context2.t12, _context2.t18).toString();
32220
+ _context2.t10 = _context2.t11.toHex.call(_context2.t11, _context2.t19);
32252
32221
 
32253
- case 60:
32254
- tx.gasLimit = _context2.t12;
32255
- _context2.t22 = !window.bypassEstimation;
32222
+ case 51:
32223
+ tx.gasLimit = _context2.t10;
32224
+ _context2.t20 = !window.bypassEstimation;
32256
32225
 
32257
- if (!_context2.t22) {
32258
- _context2.next = 65;
32226
+ if (!_context2.t20) {
32227
+ _context2.next = 56;
32259
32228
  break;
32260
32229
  }
32261
32230
 
32262
- _context2.next = 65;
32231
+ _context2.next = 56;
32263
32232
  return sendAsync(provider, 'eth_estimateGas', tx);
32264
32233
 
32265
- case 65:
32234
+ case 56:
32266
32235
  tx.gas = tx.gasLimit;
32267
32236
 
32268
32237
  if (!privateKey) {
32269
- _context2.next = 81;
32238
+ _context2.next = 72;
32270
32239
  break;
32271
32240
  }
32272
32241
 
32273
- _context2.t23 = global.EthereumJSTransaction.Transaction;
32274
- _context2.t24 = tx;
32275
- _context2.t25 = parseInt;
32276
- _context2.next = 72;
32242
+ _context2.t21 = global.EthereumJSTransaction.Transaction;
32243
+ _context2.t22 = tx;
32244
+ _context2.t23 = parseInt;
32245
+ _context2.next = 63;
32277
32246
  return sendAsync(provider, 'eth_chainId');
32278
32247
 
32279
- case 72:
32280
- _context2.t26 = _context2.sent;
32281
- _context2.t27 = (0, _context2.t25)(_context2.t26);
32282
- _context2.t28 = {
32283
- chain: _context2.t27
32248
+ case 63:
32249
+ _context2.t24 = _context2.sent;
32250
+ _context2.t25 = (0, _context2.t23)(_context2.t24);
32251
+ _context2.t26 = {
32252
+ chain: _context2.t25
32284
32253
  };
32285
- transaction = new _context2.t23(_context2.t24, _context2.t28);
32254
+ transaction = new _context2.t21(_context2.t22, _context2.t26);
32286
32255
  transaction.sign(privateKey);
32287
32256
  serializedTx = '0x' + transaction.serialize().toString('hex');
32288
32257
  sendTransaction = sendAsync(provider, 'eth_sendRawTransaction', serializedTx);
32289
- _context2.next = 82;
32258
+ _context2.next = 73;
32290
32259
  break;
32291
32260
 
32292
- case 81:
32261
+ case 72:
32293
32262
  sendTransaction = sendAsync(provider, 'eth_sendTransaction', tx);
32294
32263
 
32295
- case 82:
32296
- _context2.next = 84;
32264
+ case 73:
32265
+ _context2.next = 75;
32297
32266
  return sendTransaction;
32298
32267
 
32299
- case 84:
32268
+ case 75:
32300
32269
  transactionHash = _context2.sent;
32301
32270
  console.log(new Date().toUTCString(), 'Transaction!', getEtherscanAddress('tx/' + transactionHash, tx.chainId));
32302
32271
 
@@ -32312,35 +32281,18 @@ function sendBlockchainTransaction(provider, fromOrPlainPrivateKey, to, data, va
32312
32281
 
32313
32282
  case 2:
32314
32283
  receipt = _context.sent;
32315
- _context.t0 = !receipt || !receipt.blockNumber;
32316
-
32317
- if (_context.t0) {
32318
- _context.next = 12;
32319
- break;
32320
- }
32321
-
32322
- _context.t1 = parseInt;
32323
- _context.next = 8;
32324
- return sendAsync(provider, 'eth_getBlockByNumber', 'latest', false);
32325
32284
 
32326
- case 8:
32327
- _context.t2 = _context.sent.number;
32328
- _context.t3 = (0, _context.t1)(_context.t2);
32329
- _context.t4 = parseInt(receipt.blockNumber);
32330
- _context.t0 = _context.t3 <= _context.t4;
32331
-
32332
- case 12:
32333
- if (!_context.t0) {
32334
- _context.next = 14;
32285
+ if (!(!receipt || !receipt.blockNumber)) {
32286
+ _context.next = 5;
32335
32287
  break;
32336
32288
  }
32337
32289
 
32338
32290
  return _context.abrupt("return", setTimeout(timeout, 3000));
32339
32291
 
32340
- case 14:
32292
+ case 5:
32341
32293
  return _context.abrupt("return", ok(receipt));
32342
32294
 
32343
- case 15:
32295
+ case 6:
32344
32296
  case "end":
32345
32297
  return _context.stop();
32346
32298
  }
@@ -32354,20 +32306,20 @@ function sendBlockchainTransaction(provider, fromOrPlainPrivateKey, to, data, va
32354
32306
  }();
32355
32307
 
32356
32308
  setTimeout(timeout);
32357
- _context2.next = 93;
32309
+ _context2.next = 84;
32358
32310
  break;
32359
32311
 
32360
- case 90:
32361
- _context2.prev = 90;
32362
- _context2.t29 = _context2["catch"](0);
32363
- return _context2.abrupt("return", ko(_context2.t29));
32312
+ case 81:
32313
+ _context2.prev = 81;
32314
+ _context2.t27 = _context2["catch"](0);
32315
+ return _context2.abrupt("return", ko(_context2.t27));
32364
32316
 
32365
- case 93:
32317
+ case 84:
32366
32318
  case "end":
32367
32319
  return _context2.stop();
32368
32320
  }
32369
32321
  }
32370
- }, _callee2, null, [[0, 90], [25, 32]]);
32322
+ }, _callee2, null, [[0, 81]]);
32371
32323
  }));
32372
32324
 
32373
32325
  return function (_x, _x2) {
@@ -34698,7 +34650,7 @@ var symbols = {
34698
34650
  */
34699
34651
 
34700
34652
  function toEthereumSymbol(decimals) {
34701
- var d = '1' + new Array(decimals + 1).join('0');
34653
+ var d = '1' + new Array(parseInt(decimals) + 1).join('0');
34702
34654
  return (Object.entries(symbols).find(function (_ref) {
34703
34655
  var _ref2 = _slicedToArray(_ref, 2);
34704
34656
  _ref2[0];
@@ -44762,6 +44714,7 @@ var POOL_INIT_CODE_HASH = '0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea8932
44762
44714
  var FeeAmount;
44763
44715
 
44764
44716
  (function (FeeAmount) {
44717
+ FeeAmount[FeeAmount["LOWEST"] = 100] = "LOWEST";
44765
44718
  FeeAmount[FeeAmount["LOW"] = 500] = "LOW";
44766
44719
  FeeAmount[FeeAmount["MEDIUM"] = 3000] = "MEDIUM";
44767
44720
  FeeAmount[FeeAmount["HIGH"] = 10000] = "HIGH";
@@ -44771,7 +44724,7 @@ var FeeAmount;
44771
44724
  */
44772
44725
 
44773
44726
 
44774
- var TICK_SPACINGS = (_TICK_SPACINGS = {}, _TICK_SPACINGS[FeeAmount.LOW] = 10, _TICK_SPACINGS[FeeAmount.MEDIUM] = 60, _TICK_SPACINGS[FeeAmount.HIGH] = 200, _TICK_SPACINGS);
44727
+ var TICK_SPACINGS = (_TICK_SPACINGS = {}, _TICK_SPACINGS[FeeAmount.LOWEST] = 1, _TICK_SPACINGS[FeeAmount.LOW] = 10, _TICK_SPACINGS[FeeAmount.MEDIUM] = 60, _TICK_SPACINGS[FeeAmount.HIGH] = 200, _TICK_SPACINGS);
44775
44728
 
44776
44729
  var NEGATIVE_ONE = /*#__PURE__*/JSBI.BigInt(-1);
44777
44730
  var ZERO = /*#__PURE__*/JSBI.BigInt(0);
@@ -45302,7 +45255,7 @@ var TickList = /*#__PURE__*/function () {
45302
45255
  } else {
45303
45256
  var _wordPos = compressed + 1 >> 8;
45304
45257
 
45305
- var maximum = (_wordPos + 1 << 8) * tickSpacing - 1;
45258
+ var maximum = ((_wordPos + 1 << 8) - 1) * tickSpacing;
45306
45259
 
45307
45260
  if (this.isAtOrAboveLargest(ticks, tick)) {
45308
45261
  return [maximum, false];
@@ -45497,6 +45450,23 @@ function nearestUsableTick(tick, tickSpacing) {
45497
45450
  if (rounded < TickMath.MIN_TICK) return rounded + tickSpacing;else if (rounded > TickMath.MAX_TICK) return rounded - tickSpacing;else return rounded;
45498
45451
  }
45499
45452
 
45453
+ var Q128 = /*#__PURE__*/JSBI.exponentiate( /*#__PURE__*/JSBI.BigInt(2), /*#__PURE__*/JSBI.BigInt(128));
45454
+ var PositionLibrary = /*#__PURE__*/function () {
45455
+ /**
45456
+ * Cannot be constructed.
45457
+ */
45458
+ function PositionLibrary() {} // replicates the portions of Position#update required to compute unaccounted fees
45459
+
45460
+
45461
+ PositionLibrary.getTokensOwed = function getTokensOwed(feeGrowthInside0LastX128, feeGrowthInside1LastX128, liquidity, feeGrowthInside0X128, feeGrowthInside1X128) {
45462
+ var tokensOwed0 = JSBI.divide(JSBI.multiply(subIn256(feeGrowthInside0X128, feeGrowthInside0LastX128), liquidity), Q128);
45463
+ var tokensOwed1 = JSBI.divide(JSBI.multiply(subIn256(feeGrowthInside1X128, feeGrowthInside1LastX128), liquidity), Q128);
45464
+ return [tokensOwed0, tokensOwed1];
45465
+ };
45466
+
45467
+ return PositionLibrary;
45468
+ }();
45469
+
45500
45470
  /**
45501
45471
  * Returns a price object corresponding to the input tick and the base/quote token
45502
45472
  * Inputs must be tokens because the address order is used to interpret the price represented by the tick
@@ -45535,6 +45505,51 @@ function priceToClosestTick(price) {
45535
45505
  return tick;
45536
45506
  }
45537
45507
 
45508
+ var Q256 = /*#__PURE__*/JSBI.exponentiate( /*#__PURE__*/JSBI.BigInt(2), /*#__PURE__*/JSBI.BigInt(256));
45509
+ function subIn256(x, y) {
45510
+ var difference = JSBI.subtract(x, y);
45511
+
45512
+ if (JSBI.lessThan(difference, ZERO)) {
45513
+ return JSBI.add(Q256, difference);
45514
+ } else {
45515
+ return difference;
45516
+ }
45517
+ }
45518
+ var TickLibrary = /*#__PURE__*/function () {
45519
+ /**
45520
+ * Cannot be constructed.
45521
+ */
45522
+ function TickLibrary() {}
45523
+
45524
+ TickLibrary.getFeeGrowthInside = function getFeeGrowthInside(feeGrowthOutsideLower, feeGrowthOutsideUpper, tickLower, tickUpper, tickCurrent, feeGrowthGlobal0X128, feeGrowthGlobal1X128) {
45525
+ var feeGrowthBelow0X128;
45526
+ var feeGrowthBelow1X128;
45527
+
45528
+ if (tickCurrent >= tickLower) {
45529
+ feeGrowthBelow0X128 = feeGrowthOutsideLower.feeGrowthOutside0X128;
45530
+ feeGrowthBelow1X128 = feeGrowthOutsideLower.feeGrowthOutside1X128;
45531
+ } else {
45532
+ feeGrowthBelow0X128 = subIn256(feeGrowthGlobal0X128, feeGrowthOutsideLower.feeGrowthOutside0X128);
45533
+ feeGrowthBelow1X128 = subIn256(feeGrowthGlobal1X128, feeGrowthOutsideLower.feeGrowthOutside1X128);
45534
+ }
45535
+
45536
+ var feeGrowthAbove0X128;
45537
+ var feeGrowthAbove1X128;
45538
+
45539
+ if (tickCurrent < tickUpper) {
45540
+ feeGrowthAbove0X128 = feeGrowthOutsideUpper.feeGrowthOutside0X128;
45541
+ feeGrowthAbove1X128 = feeGrowthOutsideUpper.feeGrowthOutside1X128;
45542
+ } else {
45543
+ feeGrowthAbove0X128 = subIn256(feeGrowthGlobal0X128, feeGrowthOutsideUpper.feeGrowthOutside0X128);
45544
+ feeGrowthAbove1X128 = subIn256(feeGrowthGlobal1X128, feeGrowthOutsideUpper.feeGrowthOutside1X128);
45545
+ }
45546
+
45547
+ return [subIn256(subIn256(feeGrowthGlobal0X128, feeGrowthBelow0X128), feeGrowthAbove0X128), subIn256(subIn256(feeGrowthGlobal1X128, feeGrowthBelow1X128), feeGrowthAbove1X128)];
45548
+ };
45549
+
45550
+ return TickLibrary;
45551
+ }();
45552
+
45538
45553
  var Tick = function Tick(_ref) {
45539
45554
  var index = _ref.index,
45540
45555
  liquidityGross = _ref.liquidityGross,
@@ -49118,5 +49133,5 @@ var tokenPercentage = function tokenPercentage(amount, totalSupply) {
49118
49133
 
49119
49134
  var abi = new AbiCoder();
49120
49135
 
49121
- export { ADDRESS_ZERO, BASE64_REGEXP, BLOCK_SEARCH_SIZE, gBase64 as Base64, CurrencyAmount, DFO_DEPLOYED_EVENT, Ether, FACTORY_ADDRESS, FeeAmount, Fraction, FullMath, GlobalContextsProvider, InitContextProvider, LiquidityMath, MaxUint256, Multicall, NEW_DFO_DEPLOYED_EVENT, NativeCurrency, NoTickDataProvider, NonfungiblePositionManager, POOL_INIT_CODE_HASH, Payments, Percent, PluginsContextProvider, Pool, Position, Price, Rounding, Route, SelfPermit, SqrtPriceMath, Staker, SwapQuoter, SwapRouter, TICK_SPACINGS, Tick, TickList, TickListDataProvider, TickMath, Token, Trade, TradeType, URL_REGEXP, VOID_BYTES32, VOID_ETHEREUM_ADDRESS, WETH9, Web3ContextProvider, abi, add, blockchainCall, checkCoverSize, computePoolAddress, computePriceImpact, createContract, deployMetadataLink, div, eliminateFloatingFinalZeroes, encodeRouteToPath, encodeSqrtRatioX96, PubSub as ethosEvents, extractComment, extractHTMLDescription, formatLink, formatMoney, formatMoneyUniV3, formatNumber, formatString, fromDecimals, generateAndCompileContract, generateFunctionalityMetadataLink, getAllContracts, getEthereumPrice, getLogs, getNetworkElement, getRandomArrayElement, getRandomArrayIndex, SolidityUtilities as getSolidityUtilities, getSupportedSolidityVersion, getTokenPriceInDollarsOnUniswap, getTokenPriceInDollarsOnUniswapV3, hasEthereumAddress, isEthereumAddress, isSorted, loadBlockSearchTranches, loadContent, loadFunctionality, loadFunctionalityNames, loadMetadatas, loadOffChainWallets as loadOffchainWallets, maxLiquidityForAmounts, methodSignatureMatch, mint, mostSignificantBit, mul, nearestUsableTick, newContract, normalizeValue, numberToString, packCollection, pragmaSolidityRule, priceToClosestTick, refreshBalances, resetContracts, searchForCodeErrors, sendAsync, sendGeneratedProposal, shortenWord, sleep, solidityImportRule, sortedInsert, split, sqrt, toLines as stringToLines, sub, swap, tickToPrice, toDecimals, toEthereumSymbol, toHex, toSubArrays, tokenPercentage, tradeComparator, transfer, truncatedWord, tryRetrieveMetadata, uploadMetadata, uploadToIPFS, useEthosContext, useInit, useIsUnmounted, useLoadUniswapPairs, useLocalStorage, usePlaceholder, usePlugins, usePrevious, useSinglePlaceholder, useWeb3, validateAndParseAddress, validateDFOMetadata, web3States };
49136
+ export { ADDRESS_ZERO, BASE64_REGEXP, BLOCK_SEARCH_SIZE, gBase64 as Base64, CurrencyAmount, DFO_DEPLOYED_EVENT, Ether, FACTORY_ADDRESS, FeeAmount, 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, SqrtPriceMath, Staker, SwapMath, SwapQuoter, SwapRouter, TICK_SPACINGS, Tick, TickLibrary, TickList, TickListDataProvider, TickMath, Token, Trade, TradeType, URL_REGEXP, VOID_BYTES32, VOID_ETHEREUM_ADDRESS, WETH9, Web3ContextProvider, abi, add, blockchainCall, checkCoverSize, computePoolAddress, computePriceImpact, createContract, deployMetadataLink, div, eliminateFloatingFinalZeroes, encodeRouteToPath, encodeSqrtRatioX96, PubSub as ethosEvents, extractComment, extractHTMLDescription, formatLink, formatMoney, formatMoneyUniV3, formatNumber, formatString, fromDecimals, generateAndCompileContract, generateFunctionalityMetadataLink, getAllContracts, getEthereumPrice, getLogs, getNetworkElement, getRandomArrayElement, getRandomArrayIndex, SolidityUtilities as getSolidityUtilities, getSupportedSolidityVersion, getTokenPriceInDollarsOnUniswap, getTokenPriceInDollarsOnUniswapV3, hasEthereumAddress, isEthereumAddress, isSorted, loadBlockSearchTranches, loadContent, loadFunctionality, loadFunctionalityNames, loadMetadatas, loadOffChainWallets as loadOffchainWallets, maxLiquidityForAmounts, methodSignatureMatch, mint, mostSignificantBit, mul, nearestUsableTick, newContract, normalizeValue, numberToString, packCollection, pragmaSolidityRule, priceToClosestTick, 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, validateAndParseAddress, validateDFOMetadata, web3States };
49122
49137
  //# sourceMappingURL=index.esm.js.map