@fileverse-dev/formulajs 4.4.11-mod-68-patch-8 → 4.4.11-mod-72

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.
@@ -1,4 +1,4 @@
1
- /* @fileverse-dev/formulajs v4.4.11-mod-68-patch-8 */
1
+ /* @fileverse-dev/formulajs v4.4.11-mod-72 */
2
2
  var _excluded = [ "confirmations", "dataDecoded" ];
3
3
 
4
4
  function _objectWithoutProperties(e, t) {
@@ -11120,7 +11120,6 @@ function _typeof(o) {
11120
11120
  }
11121
11121
  function getUrlAndHeaders(_ref) {
11122
11122
  var url = _ref.url, serviceName = _ref.serviceName, _ref$headers = _ref.headers, headers = _ref$headers === void 0 ? {} : _ref$headers;
11123
- console.log("getUrlAndHeaders new modified function from formulajs", url, serviceName);
11124
11123
  var apiKeyLS = window.localStorage.getItem(SERVICES_API_KEY[serviceName]);
11125
11124
  var isProxyModeEnabledValue = apiKeyLS === "DEFAULT_PROXY_MODE";
11126
11125
  var proxyConfig = PROXY_MAP[serviceName];
@@ -11138,10 +11137,7 @@ function _typeof(o) {
11138
11137
  }
11139
11138
  return {
11140
11139
  URL: url,
11141
- HEADERS: _objectSpread(_objectSpread({}, headers), {}, {
11142
- method: "GET",
11143
- "Content-Type": "application/json"
11144
- })
11140
+ HEADERS: _objectSpread({}, headers)
11145
11141
  };
11146
11142
  }
11147
11143
  var fromTimeStampToBlock = function() {
@@ -11150,41 +11146,36 @@ function _typeof(o) {
11150
11146
  return _regeneratorRuntime().wrap((function _callee$(_context) {
11151
11147
  while (1) switch (_context.prev = _context.next) {
11152
11148
  case 0:
11153
- console.log("fromTimeStampToBlock", timestamp, chain, apiKey);
11154
11149
  if (!(!timestamp || !chain || !apiKey)) {
11155
- _context.next = 3;
11150
+ _context.next = 2;
11156
11151
  break;
11157
11152
  }
11158
11153
  return _context.abrupt("return");
11159
11154
 
11160
- case 3:
11155
+ case 2:
11161
11156
  chainId = CHAIN_ID_MAP[chain];
11162
- console.log("chainId", chainId);
11163
11157
  url = "https://api.etherscan.io/v2/api?module=block&action=getblocknobytime&timestamp=".concat(timestamp, "&closest=before&apikey=").concat(apiKey, "&chainId=").concat(chainId);
11164
- console.log("url", url, getUrlAndHeaders);
11165
11158
  _getUrlAndHeaders = getUrlAndHeaders({
11166
11159
  url: url,
11167
11160
  serviceName: "Etherscan",
11168
11161
  headers: {}
11169
11162
  }), finalUrl = _getUrlAndHeaders.URL, HEADERS = _getUrlAndHeaders.HEADERS;
11170
- console.log("finalUrl", finalUrl, HEADERS);
11171
- _context.next = 11;
11163
+ _context.next = 7;
11172
11164
  return fetch(finalUrl, {
11173
11165
  method: "GET",
11174
11166
  headers: HEADERS
11175
11167
  });
11176
11168
 
11177
- case 11:
11169
+ case 7:
11178
11170
  res = _context.sent;
11179
- console.log("res", res, finalUrl, HEADERS);
11180
- _context.next = 15;
11171
+ _context.next = 10;
11181
11172
  return res.json();
11182
11173
 
11183
- case 15:
11174
+ case 10:
11184
11175
  json = _context.sent;
11185
11176
  return _context.abrupt("return", parseInt(json.result));
11186
11177
 
11187
- case 17:
11178
+ case 12:
11188
11179
  case "end":
11189
11180
  return _context.stop();
11190
11181
  }
@@ -17481,7 +17472,7 @@ function _typeof(o) {
17481
17472
  }
17482
17473
  function _COINGECKO() {
17483
17474
  _COINGECKO = _asyncToGenerator(_regeneratorRuntime().mark((function _callee19() {
17484
- var _category$toLowerCase, _argsToArray17, _argsToArray18, category, param1, param2, apiKey, headers, url, vs, map, _category, trend, _category2, _trend, res, json, _json$status, msg, out, _i13, _Object$entries4, _Object$entries4$_i, token, prices, _i14, _Object$entries5, _Object$entries5$_i, cur, val, _data4, _args19 = arguments;
17475
+ var _category$toLowerCase, _argsToArray17, _argsToArray18, category, param1, param2, apiKey, headers, url, vs, map, _category, trend, _category2, _trend, _getUrlAndHeaders8, finalUrl, HEADERS, res, json, _json$status, msg, out, _i13, _Object$entries4, _Object$entries4$_i, token, prices, _i14, _Object$entries5, _Object$entries5$_i, cur, val, _data4, _args19 = arguments;
17485
17476
  return _regeneratorRuntime().wrap((function _callee19$(_context19) {
17486
17477
  while (1) switch (_context19.prev = _context19.next) {
17487
17478
  case 0:
@@ -17543,35 +17534,40 @@ function _typeof(o) {
17543
17534
  return _context19.abrupt("break", 25);
17544
17535
 
17545
17536
  case 25:
17546
- _context19.next = 27;
17547
- return fetch(url, {
17537
+ _getUrlAndHeaders8 = getUrlAndHeaders({
17538
+ url: url,
17539
+ serviceName: "Coingecko",
17548
17540
  headers: headers
17541
+ }), finalUrl = _getUrlAndHeaders8.URL, HEADERS = _getUrlAndHeaders8.HEADERS;
17542
+ _context19.next = 28;
17543
+ return fetch(finalUrl, {
17544
+ headers: HEADERS
17549
17545
  });
17550
17546
 
17551
- case 27:
17547
+ case 28:
17552
17548
  res = _context19.sent;
17553
- _context19.next = 30;
17549
+ _context19.next = 31;
17554
17550
  return res.json();
17555
17551
 
17556
- case 30:
17552
+ case 31:
17557
17553
  json = _context19.sent;
17558
17554
  if (res.ok) {
17559
- _context19.next = 36;
17555
+ _context19.next = 37;
17560
17556
  break;
17561
17557
  }
17562
17558
  msg = (json === null || json === void 0 || (_json$status = json.status) === null || _json$status === void 0 ? void 0 : _json$status.error_message) || "";
17563
17559
  if (!msg.includes("API Key Missing")) {
17564
- _context19.next = 35;
17560
+ _context19.next = 36;
17565
17561
  break;
17566
17562
  }
17567
17563
  throw new InvalidApiKeyError(SERVICES_API_KEY.Coingecko);
17568
17564
 
17569
- case 35:
17565
+ case 36:
17570
17566
  throw new NetworkError(SERVICES_API_KEY.Coingecko, res.status);
17571
17567
 
17572
- case 36:
17568
+ case 37:
17573
17569
  if (!(category === "price")) {
17574
- _context19.next = 40;
17570
+ _context19.next = 41;
17575
17571
  break;
17576
17572
  }
17577
17573
  out = {};
@@ -17586,7 +17582,7 @@ function _typeof(o) {
17586
17582
  }
17587
17583
  return _context19.abrupt("return", [ out ]);
17588
17584
 
17589
- case 40:
17585
+ case 41:
17590
17586
  _data4 = Array.isArray(json) ? json : [ json ];
17591
17587
  return _context19.abrupt("return", _data4.map((function(item) {
17592
17588
  var flat = {};
@@ -17599,16 +17595,16 @@ function _typeof(o) {
17599
17595
  return flat;
17600
17596
  })));
17601
17597
 
17602
- case 44:
17603
- _context19.prev = 44;
17598
+ case 45:
17599
+ _context19.prev = 45;
17604
17600
  _context19.t1 = _context19["catch"](0);
17605
17601
  return _context19.abrupt("return", errorMessageHandler(_context19.t1, "COINGECKO"));
17606
17602
 
17607
- case 47:
17603
+ case 48:
17608
17604
  case "end":
17609
17605
  return _context19.stop();
17610
17606
  }
17611
- }), _callee19, null, [ [ 0, 44 ] ]);
17607
+ }), _callee19, null, [ [ 0, 45 ] ]);
17612
17608
  })));
17613
17609
  return _COINGECKO.apply(this, arguments);
17614
17610
  }
@@ -17625,57 +17621,56 @@ function _typeof(o) {
17625
17621
  _context24.prev = 1;
17626
17622
  fetchJSON = function() {
17627
17623
  var _ref15 = _asyncToGenerator(_regeneratorRuntime().mark((function _callee20(url) {
17628
- var _getUrlAndHeaders8, finalUrl, HEADERS, res, json;
17624
+ var _getUrlAndHeaders9, finalUrl, HEADERS, res, json;
17629
17625
  return _regeneratorRuntime().wrap((function _callee20$(_context20) {
17630
17626
  while (1) switch (_context20.prev = _context20.next) {
17631
17627
  case 0:
17632
- _getUrlAndHeaders8 = getUrlAndHeaders({
17628
+ _getUrlAndHeaders9 = getUrlAndHeaders({
17633
17629
  url: url,
17634
17630
  serviceName: "Etherscan",
17635
17631
  headers: {}
17636
- }), finalUrl = _getUrlAndHeaders8.URL, HEADERS = _getUrlAndHeaders8.HEADERS;
17637
- console.log("finalUrl", finalUrl, HEADERS);
17638
- _context20.next = 4;
17632
+ }), finalUrl = _getUrlAndHeaders9.URL, HEADERS = _getUrlAndHeaders9.HEADERS;
17633
+ _context20.next = 3;
17639
17634
  return fetch(finalUrl, {
17640
17635
  method: "GET",
17641
17636
  headers: HEADERS
17642
17637
  });
17643
17638
 
17644
- case 4:
17639
+ case 3:
17645
17640
  res = _context20.sent;
17646
17641
  if (res.ok) {
17647
- _context20.next = 7;
17642
+ _context20.next = 6;
17648
17643
  break;
17649
17644
  }
17650
17645
  throw new NetworkError(SERVICES_API_KEY.Etherscan, res.status);
17651
17646
 
17652
- case 7:
17653
- _context20.next = 9;
17647
+ case 6:
17648
+ _context20.next = 8;
17654
17649
  return res.json();
17655
17650
 
17656
- case 9:
17651
+ case 8:
17657
17652
  json = _context20.sent;
17658
17653
  if (!(typeof json.result === "string")) {
17659
- _context20.next = 15;
17654
+ _context20.next = 14;
17660
17655
  break;
17661
17656
  }
17662
17657
  if (!json.result.includes("Invalid API Key")) {
17663
- _context20.next = 13;
17658
+ _context20.next = 12;
17664
17659
  break;
17665
17660
  }
17666
17661
  throw new InvalidApiKeyError(SERVICES_API_KEY.Etherscan);
17667
17662
 
17668
- case 13:
17663
+ case 12:
17669
17664
  if (!json.result.includes("Max rate limit reached")) {
17670
- _context20.next = 15;
17665
+ _context20.next = 14;
17671
17666
  break;
17672
17667
  }
17673
17668
  throw new RateLimitError(SERVICES_API_KEY.Etherscan);
17674
17669
 
17675
- case 15:
17670
+ case 14:
17676
17671
  return _context20.abrupt("return", json.result);
17677
17672
 
17678
- case 16:
17673
+ case 15:
17679
17674
  case "end":
17680
17675
  return _context20.stop();
17681
17676
  }
@@ -17700,14 +17695,13 @@ function _typeof(o) {
17700
17695
  offset: offset
17701
17696
  });
17702
17697
  apiKey = window.localStorage.getItem(SERVICES_API_KEY.Etherscan);
17703
- console.log("apiKey", apiKey);
17704
17698
  if (apiKey) {
17705
- _context24.next = 9;
17699
+ _context24.next = 8;
17706
17700
  break;
17707
17701
  }
17708
17702
  throw new MissingApiKeyError(SERVICES_API_KEY.Etherscan);
17709
17703
 
17710
- case 9:
17704
+ case 8:
17711
17705
  INPUTS = addresses.split(",").map((function(s) {
17712
17706
  return s.trim();
17713
17707
  })).filter(Boolean);
@@ -17716,84 +17710,81 @@ function _typeof(o) {
17716
17710
  })).filter(Boolean);
17717
17711
  ADDRESS_MAP = {};
17718
17712
  _iterator41 = _createForOfIteratorHelper(INPUTS);
17719
- _context24.prev = 13;
17713
+ _context24.prev = 12;
17720
17714
  _iterator41.s();
17721
17715
 
17722
- case 15:
17716
+ case 14:
17723
17717
  if ((_step41 = _iterator41.n()).done) {
17724
- _context24.next = 30;
17718
+ _context24.next = 29;
17725
17719
  break;
17726
17720
  }
17727
17721
  inp = _step41.value;
17728
17722
  if (!isAddress$1.isAddress(inp)) {
17729
- _context24.next = 21;
17723
+ _context24.next = 20;
17730
17724
  break;
17731
17725
  }
17732
17726
  ADDRESS_MAP[inp.toLowerCase()] = null;
17733
- _context24.next = 28;
17727
+ _context24.next = 27;
17734
17728
  break;
17735
17729
 
17736
- case 21:
17730
+ case 20:
17737
17731
  ens = inp;
17738
- _context24.next = 24;
17732
+ _context24.next = 23;
17739
17733
  return fromEnsNameToAddress$1.fromEnsNameToAddress(ens);
17740
17734
 
17741
- case 24:
17735
+ case 23:
17742
17736
  resolved = _context24.sent;
17743
17737
  if (resolved) {
17744
- _context24.next = 27;
17738
+ _context24.next = 26;
17745
17739
  break;
17746
17740
  }
17747
17741
  throw new EnsError(ens);
17748
17742
 
17749
- case 27:
17743
+ case 26:
17750
17744
  ADDRESS_MAP[resolved.toLowerCase()] = ens;
17751
17745
 
17752
- case 28:
17753
- _context24.next = 15;
17746
+ case 27:
17747
+ _context24.next = 14;
17754
17748
  break;
17755
17749
 
17756
- case 30:
17757
- _context24.next = 35;
17750
+ case 29:
17751
+ _context24.next = 34;
17758
17752
  break;
17759
17753
 
17760
- case 32:
17761
- _context24.prev = 32;
17762
- _context24.t0 = _context24["catch"](13);
17754
+ case 31:
17755
+ _context24.prev = 31;
17756
+ _context24.t0 = _context24["catch"](12);
17763
17757
  _iterator41.e(_context24.t0);
17764
17758
 
17765
- case 35:
17766
- _context24.prev = 35;
17759
+ case 34:
17760
+ _context24.prev = 34;
17767
17761
  _iterator41.f();
17768
- return _context24.finish(35);
17762
+ return _context24.finish(34);
17769
17763
 
17770
- case 38:
17764
+ case 37:
17771
17765
  ADDRS = Object.keys(ADDRESS_MAP);
17772
17766
  console.log("ADDRS", ADDRS);
17773
17767
  out = [];
17774
17768
  _iterator42 = _createForOfIteratorHelper(CHAINS);
17775
- _context24.prev = 42;
17769
+ _context24.prev = 41;
17776
17770
  _loop = _regeneratorRuntime().mark((function _loop() {
17777
17771
  var chain, chainId, _loop2, _ret2, i, sb, eb, _loop3, _ret3, _i16, _ADDRS;
17778
17772
  return _regeneratorRuntime().wrap((function _loop$(_context23) {
17779
17773
  while (1) switch (_context23.prev = _context23.next) {
17780
17774
  case 0:
17781
17775
  chain = _step42.value;
17782
- console.log("chain", chain);
17783
17776
  chainId = CHAIN_ID_MAP[chain];
17784
17777
  if (chainId) {
17785
- _context23.next = 5;
17778
+ _context23.next = 4;
17786
17779
  break;
17787
17780
  }
17788
17781
  throw new ValidationError("Invalid chain: ".concat(chain));
17789
17782
 
17790
- case 5:
17791
- console.log("chain", chain);
17783
+ case 4:
17792
17784
  if (!(category === "balance")) {
17793
- _context23.next = 20;
17785
+ _context23.next = 17;
17794
17786
  break;
17795
17787
  }
17796
- console.log("balance");
17797
17788
  _loop2 = _regeneratorRuntime().mark((function _loop2(i) {
17798
17789
  var slice, url, data;
17799
17790
  return _regeneratorRuntime().wrap((function _loop2$(_context21) {
@@ -17833,57 +17824,55 @@ function _typeof(o) {
17833
17824
  }));
17834
17825
  i = 0;
17835
17826
 
17836
- case 10:
17827
+ case 7:
17837
17828
  if (!(i < ADDRS.length)) {
17838
- _context23.next = 18;
17829
+ _context23.next = 15;
17839
17830
  break;
17840
17831
  }
17841
- return _context23.delegateYield(_loop2(i), "t0", 12);
17832
+ return _context23.delegateYield(_loop2(i), "t0", 9);
17842
17833
 
17843
- case 12:
17834
+ case 9:
17844
17835
  _ret2 = _context23.t0;
17845
17836
  if (!_ret2) {
17846
- _context23.next = 15;
17837
+ _context23.next = 12;
17847
17838
  break;
17848
17839
  }
17849
17840
  return _context23.abrupt("return", _ret2.v);
17850
17841
 
17851
- case 15:
17842
+ case 12:
17852
17843
  i += 20;
17853
- _context23.next = 10;
17844
+ _context23.next = 7;
17854
17845
  break;
17855
17846
 
17856
- case 18:
17857
- _context23.next = 42;
17847
+ case 15:
17848
+ _context23.next = 37;
17858
17849
  break;
17859
17850
 
17860
- case 20:
17861
- console.log("startTime", startTime, "endTime", endTime, chain, apiKey);
17862
- _context23.next = 23;
17851
+ case 17:
17852
+ _context23.next = 19;
17863
17853
  return fromTimestampToBlock.fromTimeStampToBlock(toTimestamp(startTime), chain, apiKey);
17864
17854
 
17865
- case 23:
17855
+ case 19:
17866
17856
  sb = _context23.sent;
17867
- _context23.next = 26;
17857
+ _context23.next = 22;
17868
17858
  return fromTimestampToBlock.fromTimeStampToBlock(toTimestamp(endTime), chain, apiKey);
17869
17859
 
17870
- case 26:
17860
+ case 22:
17871
17861
  eb = _context23.sent;
17872
- console.log("sb", sb, "eb", eb);
17873
17862
  if (sb) {
17874
- _context23.next = 30;
17863
+ _context23.next = 25;
17875
17864
  break;
17876
17865
  }
17877
17866
  throw new ValidationError("Invalid startTime: ".concat(startTime));
17878
17867
 
17879
- case 30:
17868
+ case 25:
17880
17869
  if (eb) {
17881
- _context23.next = 32;
17870
+ _context23.next = 27;
17882
17871
  break;
17883
17872
  }
17884
17873
  throw new ValidationError("Invalid endTime: ".concat(endTime));
17885
17874
 
17886
- case 32:
17875
+ case 27:
17887
17876
  _loop3 = _regeneratorRuntime().mark((function _loop3() {
17888
17877
  var addr, url, data;
17889
17878
  return _regeneratorRuntime().wrap((function _loop3$(_context22) {
@@ -17923,27 +17912,27 @@ function _typeof(o) {
17923
17912
  }));
17924
17913
  _i16 = 0, _ADDRS = ADDRS;
17925
17914
 
17926
- case 34:
17915
+ case 29:
17927
17916
  if (!(_i16 < _ADDRS.length)) {
17928
- _context23.next = 42;
17917
+ _context23.next = 37;
17929
17918
  break;
17930
17919
  }
17931
- return _context23.delegateYield(_loop3(), "t1", 36);
17920
+ return _context23.delegateYield(_loop3(), "t1", 31);
17932
17921
 
17933
- case 36:
17922
+ case 31:
17934
17923
  _ret3 = _context23.t1;
17935
17924
  if (!_ret3) {
17936
- _context23.next = 39;
17925
+ _context23.next = 34;
17937
17926
  break;
17938
17927
  }
17939
17928
  return _context23.abrupt("return", _ret3.v);
17940
17929
 
17941
- case 39:
17930
+ case 34:
17942
17931
  _i16++;
17943
- _context23.next = 34;
17932
+ _context23.next = 29;
17944
17933
  break;
17945
17934
 
17946
- case 42:
17935
+ case 37:
17947
17936
  case "end":
17948
17937
  return _context23.stop();
17949
17938
  }
@@ -17951,52 +17940,52 @@ function _typeof(o) {
17951
17940
  }));
17952
17941
  _iterator42.s();
17953
17942
 
17954
- case 45:
17943
+ case 44:
17955
17944
  if ((_step42 = _iterator42.n()).done) {
17956
- _context24.next = 52;
17945
+ _context24.next = 51;
17957
17946
  break;
17958
17947
  }
17959
- return _context24.delegateYield(_loop(), "t1", 47);
17948
+ return _context24.delegateYield(_loop(), "t1", 46);
17960
17949
 
17961
- case 47:
17950
+ case 46:
17962
17951
  _ret = _context24.t1;
17963
17952
  if (!_ret) {
17964
- _context24.next = 50;
17953
+ _context24.next = 49;
17965
17954
  break;
17966
17955
  }
17967
17956
  return _context24.abrupt("return", _ret.v);
17968
17957
 
17969
- case 50:
17970
- _context24.next = 45;
17958
+ case 49:
17959
+ _context24.next = 44;
17971
17960
  break;
17972
17961
 
17973
- case 52:
17974
- _context24.next = 57;
17962
+ case 51:
17963
+ _context24.next = 56;
17975
17964
  break;
17976
17965
 
17977
- case 54:
17978
- _context24.prev = 54;
17979
- _context24.t2 = _context24["catch"](42);
17966
+ case 53:
17967
+ _context24.prev = 53;
17968
+ _context24.t2 = _context24["catch"](41);
17980
17969
  _iterator42.e(_context24.t2);
17981
17970
 
17982
- case 57:
17983
- _context24.prev = 57;
17971
+ case 56:
17972
+ _context24.prev = 56;
17984
17973
  _iterator42.f();
17985
- return _context24.finish(57);
17974
+ return _context24.finish(56);
17986
17975
 
17987
- case 60:
17976
+ case 59:
17988
17977
  return _context24.abrupt("return", out);
17989
17978
 
17990
- case 63:
17991
- _context24.prev = 63;
17979
+ case 62:
17980
+ _context24.prev = 62;
17992
17981
  _context24.t3 = _context24["catch"](1);
17993
17982
  return _context24.abrupt("return", errorMessageHandler(_context24.t3, "EOA"));
17994
17983
 
17995
- case 66:
17984
+ case 65:
17996
17985
  case "end":
17997
17986
  return _context24.stop();
17998
17987
  }
17999
- }), _callee21, null, [ [ 1, 63 ], [ 13, 32, 35, 38 ], [ 42, 54, 57, 60 ] ]);
17988
+ }), _callee21, null, [ [ 1, 62 ], [ 12, 31, 34, 37 ], [ 41, 53, 56, 59 ] ]);
18000
17989
  })));
18001
17990
  return _EOA.apply(this, arguments);
18002
17991
  }
@@ -18029,7 +18018,7 @@ function _typeof(o) {
18029
18018
  }
18030
18019
  function _SAFE() {
18031
18020
  _SAFE = _asyncToGenerator(_regeneratorRuntime().mark((function _callee23() {
18032
- var _argsToArray21, _argsToArray22, address, utility, chain, _argsToArray22$, limit, _argsToArray22$2, offset, apiKey, chainId, resolved, ens, url, _getUrlAndHeaders9, finalUrl, HEADERS, res, json, _args26 = arguments;
18021
+ var _argsToArray21, _argsToArray22, address, utility, chain, _argsToArray22$, limit, _argsToArray22$2, offset, apiKey, chainId, resolved, ens, url, _getUrlAndHeaders0, finalUrl, HEADERS, res, json, _args26 = arguments;
18033
18022
  return _regeneratorRuntime().wrap((function _callee23$(_context26) {
18034
18023
  while (1) switch (_context26.prev = _context26.next) {
18035
18024
  case 0:
@@ -18080,13 +18069,13 @@ function _typeof(o) {
18080
18069
 
18081
18070
  case 17:
18082
18071
  url = "https://api.safe.global/tx-service/".concat(chainId, "/api/v2/safes/").concat(resolved, "/multisig-transactions?limit=").concat(limit, "&offset=").concat(offset);
18083
- _getUrlAndHeaders9 = getUrlAndHeaders({
18072
+ _getUrlAndHeaders0 = getUrlAndHeaders({
18084
18073
  url: url,
18085
18074
  serviceName: "Etherscan",
18086
18075
  headers: {
18087
18076
  Authorization: "Bearer ".concat(apiKey)
18088
18077
  }
18089
- }), finalUrl = _getUrlAndHeaders9.URL, HEADERS = _getUrlAndHeaders9.HEADERS;
18078
+ }), finalUrl = _getUrlAndHeaders0.URL, HEADERS = _getUrlAndHeaders0.HEADERS;
18090
18079
  _context26.next = 21;
18091
18080
  return fetch(finalUrl, {
18092
18081
  headers: HEADERS