@fileverse-dev/formulajs 4.4.11-mod-38-patch-004 → 4.4.11-mod-41

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-38-patch-004 */
1
+ /* @fileverse-dev/formulajs v4.4.11-mod-41 */
2
2
  var _excluded = [ "confirmations", "dataDecoded" ];
3
3
 
4
4
  function _objectWithoutProperties(e, t) {
@@ -115,6 +115,10 @@ function _createForOfIteratorHelper(r, e) {
115
115
  };
116
116
  }
117
117
 
118
+ function _readOnlyError(r) {
119
+ throw new TypeError('"' + r + '" is read-only');
120
+ }
121
+
118
122
  function _regeneratorRuntime() {
119
123
  "use strict";
120
124
  /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() {
@@ -6978,20 +6982,6 @@ function _typeof(o) {
6978
6982
  }
6979
6983
  return result;
6980
6984
  }
6981
- function BASE(number, radix, min_length) {
6982
- number = parseNumber(number);
6983
- radix = parseNumber(radix);
6984
- min_length = parseNumber(min_length);
6985
- var anyError$1 = anyError(number, radix, min_length);
6986
- if (anyError$1) {
6987
- return anyError$1;
6988
- }
6989
- if (radix === 0) {
6990
- return num;
6991
- }
6992
- var result = number.toString(radix);
6993
- return new Array(Math.max(min_length + 1 - result.length, 0)).join("0") + result;
6994
- }
6995
6985
  function CEILING(number, significance) {
6996
6986
  number = parseNumber(number);
6997
6987
  significance = parseNumber(significance);
@@ -10957,7 +10947,8 @@ function _typeof(o) {
10957
10947
  Basescan: "BASESCAN_API_KEY",
10958
10948
  Gnosisscan: "GNOSIS_API_KEY",
10959
10949
  Firefly: "FIRE_FLY_API_KEY",
10960
- GnosisPay: "GNOSIS_API_KEY"
10950
+ GnosisPay: "GNOSIS_API_KEY",
10951
+ Neynar: "NEYNAR_API_KEY"
10961
10952
  };
10962
10953
  var fromTimeStampToBlock = function() {
10963
10954
  var _ref = _asyncToGenerator(_regeneratorRuntime().mark((function _callee(timestamp, chain, apiKey) {
@@ -11211,24 +11202,26 @@ function _typeof(o) {
11211
11202
  })));
11212
11203
  return _handleScanRequest.apply(this, arguments);
11213
11204
  }
11214
- function FIREFLY() {
11205
+ function FIREFLY(_x6, _x7, _x8) {
11215
11206
  return _FIREFLY.apply(this, arguments);
11216
11207
  }
11217
11208
  function _FIREFLY() {
11218
- _FIREFLY = _asyncToGenerator(_regeneratorRuntime().mark((function _callee4() {
11209
+ _FIREFLY = _asyncToGenerator(_regeneratorRuntime().mark((function _callee4(platform, contentType, identifier) {
11219
11210
  var _typeMap$platform;
11220
- var API_KEY, baseUrl, headers, typeMap, _argsToArray3, _argsToArray4, platform, contentType, identifier, _argsToArray4$, start, _argsToArray4$2, end, platformType, query, url, res, json, _args4 = arguments;
11211
+ var start, end, API_KEY, baseUrl, headers, typeMap, platformType, query, url, res, json, _args4 = arguments;
11221
11212
  return _regeneratorRuntime().wrap((function _callee4$(_context4) {
11222
11213
  while (1) switch (_context4.prev = _context4.next) {
11223
11214
  case 0:
11215
+ start = _args4.length > 3 && _args4[3] !== undefined ? _args4[3] : 0;
11216
+ end = _args4.length > 4 && _args4[4] !== undefined ? _args4[4] : 10;
11224
11217
  API_KEY = window.localStorage.getItem(SERVICE_API_KEY.Firefly);
11225
11218
  if (API_KEY) {
11226
- _context4.next = 3;
11219
+ _context4.next = 5;
11227
11220
  break;
11228
11221
  }
11229
11222
  return _context4.abrupt("return", "".concat(SERVICE_API_KEY.Firefly).concat(ERROR_MESSAGES_FLAG.MISSING_KEY));
11230
11223
 
11231
- case 3:
11224
+ case 5:
11232
11225
  baseUrl = "https://openapi.firefly.land/v1/fileverse/fetch";
11233
11226
  headers = {
11234
11227
  "x-api-key": API_KEY
@@ -11244,18 +11237,14 @@ function _typeof(o) {
11244
11237
  replies: "lenspostid"
11245
11238
  }
11246
11239
  };
11247
- _argsToArray3 = argsToArray(_args4), _argsToArray4 = _slicedToArray(_argsToArray3, 5),
11248
- platform = _argsToArray4[0], contentType = _argsToArray4[1], identifier = _argsToArray4[2],
11249
- _argsToArray4$ = _argsToArray4[3], start = _argsToArray4$ === void 0 ? 0 : _argsToArray4$,
11250
- _argsToArray4$2 = _argsToArray4[4], end = _argsToArray4$2 === void 0 ? 10 : _argsToArray4$2;
11251
11240
  platformType = (_typeMap$platform = typeMap[platform]) === null || _typeMap$platform === void 0 ? void 0 : _typeMap$platform[contentType];
11252
11241
  if (platformType) {
11253
- _context4.next = 10;
11242
+ _context4.next = 11;
11254
11243
  break;
11255
11244
  }
11256
11245
  return _context4.abrupt("return", "".concat(SERVICE_API_KEY.Firefly).concat(ERROR_MESSAGES_FLAG.INVALID_TYPE));
11257
11246
 
11258
- case 10:
11247
+ case 11:
11259
11248
  query = identifier.split(",").map((function(s) {
11260
11249
  return s.trim();
11261
11250
  })).filter(Boolean).join(",");
@@ -11264,33 +11253,33 @@ function _typeof(o) {
11264
11253
  url.searchParams.set("type", platformType);
11265
11254
  url.searchParams.set("start", String(start));
11266
11255
  url.searchParams.set("end", String(end));
11267
- _context4.prev = 16;
11268
- _context4.next = 19;
11256
+ _context4.prev = 17;
11257
+ _context4.next = 20;
11269
11258
  return fetch(url.toString(), {
11270
11259
  headers: headers
11271
11260
  });
11272
11261
 
11273
- case 19:
11262
+ case 20:
11274
11263
  res = _context4.sent;
11275
11264
  if (res.ok) {
11276
- _context4.next = 22;
11265
+ _context4.next = 23;
11277
11266
  break;
11278
11267
  }
11279
11268
  throw new Error("HTTP ".concat(res.status));
11280
11269
 
11281
- case 22:
11282
- _context4.next = 24;
11270
+ case 23:
11271
+ _context4.next = 25;
11283
11272
  return res.json();
11284
11273
 
11285
- case 24:
11274
+ case 25:
11286
11275
  json = _context4.sent;
11287
11276
  if (Array.isArray(json === null || json === void 0 ? void 0 : json.data)) {
11288
- _context4.next = 27;
11277
+ _context4.next = 28;
11289
11278
  break;
11290
11279
  }
11291
11280
  return _context4.abrupt("return", []);
11292
11281
 
11293
- case 27:
11282
+ case 28:
11294
11283
  return _context4.abrupt("return", json.data.map((function(item) {
11295
11284
  var flat = {};
11296
11285
  for (var _i10 = 0, _Object$entries = Object.entries(item); _i10 < _Object$entries.length; _i10++) {
@@ -11303,33 +11292,25 @@ function _typeof(o) {
11303
11292
  return flat;
11304
11293
  })));
11305
11294
 
11306
- case 30:
11307
- _context4.prev = 30;
11308
- _context4.t0 = _context4["catch"](16);
11295
+ case 31:
11296
+ _context4.prev = 31;
11297
+ _context4.t0 = _context4["catch"](17);
11309
11298
  console.error("FIREFLY fetch error:", _context4.t0);
11310
11299
  return _context4.abrupt("return", ERROR_MESSAGES_FLAG.DEFAULT);
11311
11300
 
11312
- case 34:
11301
+ case 35:
11313
11302
  case "end":
11314
11303
  return _context4.stop();
11315
11304
  }
11316
- }), _callee4, null, [ [ 16, 30 ] ]);
11305
+ }), _callee4, null, [ [ 17, 31 ] ]);
11317
11306
  })));
11318
11307
  return _FIREFLY.apply(this, arguments);
11319
11308
  }
11320
- function BLOCKSCOUT() {
11321
- console.log("HUMBLE");
11322
- var args = argsToArray(arguments);
11323
- return JSON.stringify({
11324
- args: args,
11325
- name: "_BLOCKSCOUT"
11326
- });
11309
+ function BLOCKSCOUT(_x9, _x0, _x1, _x10, _x11, _x12, _x13) {
11310
+ return _BLOCKSCOUT.apply(this, arguments);
11327
11311
  }
11328
- function _BLOCKSCOUT(_x6, _x7, _x8, _x9, _x0, _x1, _x10) {
11329
- return _BLOCKSCOUT2.apply(this, arguments);
11330
- }
11331
- function _BLOCKSCOUT2() {
11332
- _BLOCKSCOUT2 = _asyncToGenerator(_regeneratorRuntime().mark((function _callee5(address, type, chain, startTimestamp, endTimestamp, page, offset) {
11312
+ function _BLOCKSCOUT() {
11313
+ _BLOCKSCOUT = _asyncToGenerator(_regeneratorRuntime().mark((function _callee5(address, type, chain, startTimestamp, endTimestamp, page, offset) {
11333
11314
  var currentTimestamp, hostname, requestUrl, _json$result, _json$result2, response, json;
11334
11315
  return _regeneratorRuntime().wrap((function _callee5$(_context5) {
11335
11316
  while (1) switch (_context5.prev = _context5.next) {
@@ -11447,53 +11428,23 @@ function _typeof(o) {
11447
11428
  }
11448
11429
  }), _callee5, null, [ [ 23, 42 ] ]);
11449
11430
  })));
11450
- return _BLOCKSCOUT2.apply(this, arguments);
11431
+ return _BLOCKSCOUT.apply(this, arguments);
11451
11432
  }
11452
- function BASESCAN() {
11453
- return _BASESCAN.apply(this, arguments);
11433
+ function GNOSIS() {
11434
+ return _GNOSIS.apply(this, arguments);
11454
11435
  }
11455
- function _BASESCAN() {
11456
- _BASESCAN = _asyncToGenerator(_regeneratorRuntime().mark((function _callee6() {
11457
- var _argsToArray5, _argsToArray6, type, chain, address, startDate, endDate, page, limit, _args6 = arguments;
11436
+ function _GNOSIS() {
11437
+ _GNOSIS = _asyncToGenerator(_regeneratorRuntime().mark((function _callee6() {
11438
+ var _len2, args, _key2, type, chain, address, startDate, endDate, page, limit, _args6 = arguments;
11458
11439
  return _regeneratorRuntime().wrap((function _callee6$(_context6) {
11459
11440
  while (1) switch (_context6.prev = _context6.next) {
11460
11441
  case 0:
11461
- _argsToArray5 = argsToArray(_args6), _argsToArray6 = _slicedToArray(_argsToArray5, 7),
11462
- type = _argsToArray6[0], chain = _argsToArray6[1], address = _argsToArray6[2], startDate = _argsToArray6[3],
11463
- endDate = _argsToArray6[4], page = _argsToArray6[5], limit = _argsToArray6[6];
11442
+ for (_len2 = _args6.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
11443
+ args[_key2] = _args6[_key2];
11444
+ }
11445
+ type = args[0], chain = args[1], address = args[2], startDate = args[3], endDate = args[4],
11446
+ page = args[5], limit = args[6];
11464
11447
  return _context6.abrupt("return", handleScanRequest({
11465
- scanKey: SERVICE_API_KEY.Basescan,
11466
- baseUrl: "https://api.basescan.org/api",
11467
- type: type,
11468
- chain: chain,
11469
- address: address,
11470
- startDate: startDate,
11471
- endDate: endDate,
11472
- page: page,
11473
- offset: limit
11474
- }));
11475
-
11476
- case 2:
11477
- case "end":
11478
- return _context6.stop();
11479
- }
11480
- }), _callee6);
11481
- })));
11482
- return _BASESCAN.apply(this, arguments);
11483
- }
11484
- function GNOSISSCAN() {
11485
- return _GNOSISSCAN.apply(this, arguments);
11486
- }
11487
- function _GNOSISSCAN() {
11488
- _GNOSISSCAN = _asyncToGenerator(_regeneratorRuntime().mark((function _callee7() {
11489
- var _argsToArray7, _argsToArray8, type, chain, address, startDate, endDate, page, limit, _args7 = arguments;
11490
- return _regeneratorRuntime().wrap((function _callee7$(_context7) {
11491
- while (1) switch (_context7.prev = _context7.next) {
11492
- case 0:
11493
- _argsToArray7 = argsToArray(_args7), _argsToArray8 = _slicedToArray(_argsToArray7, 7),
11494
- type = _argsToArray8[0], chain = _argsToArray8[1], address = _argsToArray8[2], startDate = _argsToArray8[3],
11495
- endDate = _argsToArray8[4], page = _argsToArray8[5], limit = _argsToArray8[6];
11496
- return _context7.abrupt("return", handleScanRequest({
11497
11448
  scanKey: SERVICE_API_KEY.Gnosisscan,
11498
11449
  baseUrl: "https://api.gnosisscan.io/api",
11499
11450
  type: type,
@@ -11505,42 +11456,39 @@ function _typeof(o) {
11505
11456
  offset: limit
11506
11457
  }));
11507
11458
 
11508
- case 2:
11459
+ case 3:
11509
11460
  case "end":
11510
- return _context7.stop();
11461
+ return _context6.stop();
11511
11462
  }
11512
- }), _callee7);
11463
+ }), _callee6);
11513
11464
  })));
11514
- return _GNOSISSCAN.apply(this, arguments);
11465
+ return _GNOSIS.apply(this, arguments);
11515
11466
  }
11516
- function NEYNAR() {
11467
+ function NEYNAR(_x14, _x15, _x16, _x17, _x18) {
11517
11468
  return _NEYNAR.apply(this, arguments);
11518
11469
  }
11519
11470
  function _NEYNAR() {
11520
- _NEYNAR = _asyncToGenerator(_regeneratorRuntime().mark((function _callee8() {
11521
- var API_KEY, _argsToArray9, _argsToArray0, fid, viewerFid, sortType, limit, cursor, url, _json$users, response, json, _args8 = arguments;
11522
- return _regeneratorRuntime().wrap((function _callee8$(_context8) {
11523
- while (1) switch (_context8.prev = _context8.next) {
11471
+ _NEYNAR = _asyncToGenerator(_regeneratorRuntime().mark((function _callee7(fid, viewerFid, sortType, limit, cursor) {
11472
+ var API_KEY, url, _json$users, response, json;
11473
+ return _regeneratorRuntime().wrap((function _callee7$(_context7) {
11474
+ while (1) switch (_context7.prev = _context7.next) {
11524
11475
  case 0:
11525
11476
  API_KEY = window.localStorage.getItem(SERVICE_API_KEY.Neynar);
11526
11477
  if (API_KEY) {
11527
- _context8.next = 3;
11478
+ _context7.next = 3;
11528
11479
  break;
11529
11480
  }
11530
- return _context8.abrupt("return", "".concat(SERVICE_API_KEY.Neynar).concat(ERROR_MESSAGES_FLAG.MISSING_KEY));
11481
+ return _context7.abrupt("return", "".concat(SERVICE_API_KEY.Neynar).concat(ERROR_MESSAGES_FLAG.MISSING_KEY));
11531
11482
 
11532
11483
  case 3:
11533
- _argsToArray9 = argsToArray(_args8), _argsToArray0 = _slicedToArray(_argsToArray9, 5),
11534
- fid = _argsToArray0[0], viewerFid = _argsToArray0[1], sortType = _argsToArray0[2],
11535
- limit = _argsToArray0[3], cursor = _argsToArray0[4];
11536
11484
  url = new URL("https://api.neynar.com/v2/farcaster/followers");
11537
11485
  url.searchParams.set("fid", fid.toString());
11538
11486
  url.searchParams.set("sort_type", sortType);
11539
11487
  url.searchParams.set("limit", limit.toString());
11540
11488
  if (viewerFid !== null) url.searchParams.set("viewer_fid", viewerFid.toString());
11541
11489
  if (cursor) url.searchParams.set("cursor", cursor);
11542
- _context8.prev = 10;
11543
- _context8.next = 13;
11490
+ _context7.prev = 9;
11491
+ _context7.next = 12;
11544
11492
  return fetch(url.toString(), {
11545
11493
  headers: {
11546
11494
  "x-api-key": API_KEY,
@@ -11548,30 +11496,30 @@ function _typeof(o) {
11548
11496
  }
11549
11497
  });
11550
11498
 
11551
- case 13:
11552
- response = _context8.sent;
11499
+ case 12:
11500
+ response = _context7.sent;
11553
11501
  if (response.ok) {
11554
- _context8.next = 16;
11502
+ _context7.next = 15;
11555
11503
  break;
11556
11504
  }
11557
11505
  throw new Error("HTTP ".concat(response.status));
11558
11506
 
11559
- case 16:
11560
- _context8.next = 18;
11507
+ case 15:
11508
+ _context7.next = 17;
11561
11509
  return response.json();
11562
11510
 
11563
- case 18:
11564
- json = _context8.sent;
11511
+ case 17:
11512
+ json = _context7.sent;
11565
11513
  if (json !== null && json !== void 0 && (_json$users = json.users) !== null && _json$users !== void 0 && _json$users.length) {
11566
- _context8.next = 21;
11514
+ _context7.next = 20;
11567
11515
  break;
11568
11516
  }
11569
- return _context8.abrupt("return", []);
11517
+ return _context7.abrupt("return", []);
11570
11518
 
11571
- case 21:
11572
- return _context8.abrupt("return", json.users.map((function(_ref3) {
11519
+ case 20:
11520
+ return _context7.abrupt("return", json.users.map((function(_ref4) {
11573
11521
  var _user$profile, _user$profile2;
11574
- var user = _ref3.user;
11522
+ var user = _ref4.user;
11575
11523
  return {
11576
11524
  username: user.username,
11577
11525
  custody_address: user.custody_address,
@@ -11581,49 +11529,48 @@ function _typeof(o) {
11581
11529
  };
11582
11530
  })));
11583
11531
 
11584
- case 24:
11585
- _context8.prev = 24;
11586
- _context8.t0 = _context8["catch"](10);
11587
- console.error("NEYNAR_FETCH_FOLLOWERS error:", _context8.t0);
11588
- return _context8.abrupt("return", ERROR_MESSAGES_FLAG.DEFAULT);
11532
+ case 23:
11533
+ _context7.prev = 23;
11534
+ _context7.t0 = _context7["catch"](9);
11535
+ console.error("NEYNAR_FETCH_FOLLOWERS error:", _context7.t0);
11536
+ return _context7.abrupt("return", ERROR_MESSAGES_FLAG.DEFAULT);
11589
11537
 
11590
- case 28:
11538
+ case 27:
11591
11539
  case "end":
11592
- return _context8.stop();
11540
+ return _context7.stop();
11593
11541
  }
11594
- }), _callee8, null, [ [ 10, 24 ] ]);
11542
+ }), _callee7, null, [ [ 9, 23 ] ]);
11595
11543
  })));
11596
11544
  return _NEYNAR.apply(this, arguments);
11597
11545
  }
11598
- function GNOSISPAY() {
11546
+ function GNOSISPAY(_x19) {
11599
11547
  return _GNOSISPAY.apply(this, arguments);
11600
11548
  }
11601
11549
  function _GNOSISPAY() {
11602
- _GNOSISPAY = _asyncToGenerator(_regeneratorRuntime().mark((function _callee9() {
11603
- var apiKeyKey, API_KEY, _argsToArray1, _argsToArray10, cardId, startDate, endDate, _argsToArray10$, limit, _argsToArray10$2, offset, url, res, json, _args9 = arguments;
11604
- return _regeneratorRuntime().wrap((function _callee9$(_context9) {
11605
- while (1) switch (_context9.prev = _context9.next) {
11550
+ _GNOSISPAY = _asyncToGenerator(_regeneratorRuntime().mark((function _callee8(_ref3) {
11551
+ var cardId, startDate, endDate, _ref3$limit, limit, _ref3$offset, offset, apiKeyKey, API_KEY, url, res, json;
11552
+ return _regeneratorRuntime().wrap((function _callee8$(_context8) {
11553
+ while (1) switch (_context8.prev = _context8.next) {
11606
11554
  case 0:
11555
+ cardId = _ref3.cardId, startDate = _ref3.startDate, endDate = _ref3.endDate, _ref3$limit = _ref3.limit,
11556
+ limit = _ref3$limit === void 0 ? 20 : _ref3$limit, _ref3$offset = _ref3.offset,
11557
+ offset = _ref3$offset === void 0 ? 0 : _ref3$offset;
11607
11558
  apiKeyKey = SERVICE_API_KEY.GnosisPay;
11608
11559
  API_KEY = window.localStorage.getItem(apiKeyKey);
11609
11560
  if (API_KEY) {
11610
- _context9.next = 4;
11561
+ _context8.next = 5;
11611
11562
  break;
11612
11563
  }
11613
- return _context9.abrupt("return", "".concat(apiKeyKey).concat(ERROR_MESSAGES_FLAG.MISSING_KEY));
11564
+ return _context8.abrupt("return", "".concat(apiKeyKey).concat(ERROR_MESSAGES_FLAG.MISSING_KEY));
11614
11565
 
11615
- case 4:
11566
+ case 5:
11616
11567
  if (cardId) {
11617
- _context9.next = 6;
11568
+ _context8.next = 7;
11618
11569
  break;
11619
11570
  }
11620
- return _context9.abrupt("return", "".concat(apiKeyKey).concat(ERROR_MESSAGES_FLAG.INVALID_PARAM));
11571
+ return _context8.abrupt("return", "".concat(apiKeyKey).concat(ERROR_MESSAGES_FLAG.INVALID_PARAM));
11621
11572
 
11622
- case 6:
11623
- _argsToArray1 = argsToArray(_args9), _argsToArray10 = _slicedToArray(_argsToArray1, 5),
11624
- cardId = _argsToArray10[0], startDate = _argsToArray10[1], endDate = _argsToArray10[2],
11625
- _argsToArray10$ = _argsToArray10[3], limit = _argsToArray10$ === void 0 ? 20 : _argsToArray10$,
11626
- _argsToArray10$2 = _argsToArray10[4], offset = _argsToArray10$2 === void 0 ? 0 : _argsToArray10$2;
11573
+ case 7:
11627
11574
  url = new URL("https://api.gnosispay.com/cards/".concat(cardId, "/transactions"));
11628
11575
  url.searchParams.set("limit", limit.toString());
11629
11576
  url.searchParams.set("offset", offset.toString());
@@ -11633,8 +11580,8 @@ function _typeof(o) {
11633
11580
  if (!isNaN(toTimestamp(endDate))) {
11634
11581
  url.searchParams.set("endDate", new Date(endDate * 1e3).toISOString());
11635
11582
  }
11636
- _context9.prev = 12;
11637
- _context9.next = 15;
11583
+ _context8.prev = 12;
11584
+ _context8.next = 15;
11638
11585
  return fetch(url.toString(), {
11639
11586
  headers: {
11640
11587
  Authorization: "Bearer ".concat(API_KEY),
@@ -11643,27 +11590,27 @@ function _typeof(o) {
11643
11590
  });
11644
11591
 
11645
11592
  case 15:
11646
- res = _context9.sent;
11593
+ res = _context8.sent;
11647
11594
  if (res.ok) {
11648
- _context9.next = 18;
11595
+ _context8.next = 18;
11649
11596
  break;
11650
11597
  }
11651
11598
  throw new Error("HTTP error! Status: ".concat(res.status));
11652
11599
 
11653
11600
  case 18:
11654
- _context9.next = 20;
11601
+ _context8.next = 20;
11655
11602
  return res.json();
11656
11603
 
11657
11604
  case 20:
11658
- json = _context9.sent;
11605
+ json = _context8.sent;
11659
11606
  if (Array.isArray(json)) {
11660
- _context9.next = 23;
11607
+ _context8.next = 23;
11661
11608
  break;
11662
11609
  }
11663
- return _context9.abrupt("return", []);
11610
+ return _context8.abrupt("return", []);
11664
11611
 
11665
11612
  case 23:
11666
- return _context9.abrupt("return", json.map((function(tx) {
11613
+ return _context8.abrupt("return", json.map((function(tx) {
11667
11614
  return {
11668
11615
  createdAt: tx.createdAt,
11669
11616
  clearedAt: tx.clearedAt,
@@ -11681,16 +11628,16 @@ function _typeof(o) {
11681
11628
  })));
11682
11629
 
11683
11630
  case 26:
11684
- _context9.prev = 26;
11685
- _context9.t0 = _context9["catch"](12);
11686
- console.error("GNOSISPAY_CARD_TXNS error:", _context9.t0);
11687
- return _context9.abrupt("return", ERROR_MESSAGES_FLAG.DEFAULT);
11631
+ _context8.prev = 26;
11632
+ _context8.t0 = _context8["catch"](12);
11633
+ console.error("GNOSISPAY_CARD_TXNS error:", _context8.t0);
11634
+ return _context8.abrupt("return", ERROR_MESSAGES_FLAG.DEFAULT);
11688
11635
 
11689
11636
  case 30:
11690
11637
  case "end":
11691
- return _context9.stop();
11638
+ return _context8.stop();
11692
11639
  }
11693
- }), _callee9, null, [ [ 12, 26 ] ]);
11640
+ }), _callee8, null, [ [ 12, 26 ] ]);
11694
11641
  })));
11695
11642
  return _GNOSISPAY.apply(this, arguments);
11696
11643
  }
@@ -11698,16 +11645,17 @@ function _typeof(o) {
11698
11645
  return _ETHERSCAN.apply(this, arguments);
11699
11646
  }
11700
11647
  function _ETHERSCAN() {
11701
- _ETHERSCAN = _asyncToGenerator(_regeneratorRuntime().mark((function _callee0() {
11702
- var _argsToArray11, _argsToArray12, type, chain, address, startDate, endDate, page, limit, _args0 = arguments;
11703
- return _regeneratorRuntime().wrap((function _callee0$(_context0) {
11704
- while (1) switch (_context0.prev = _context0.next) {
11648
+ _ETHERSCAN = _asyncToGenerator(_regeneratorRuntime().mark((function _callee9() {
11649
+ var _len3, args, _key3, type, chain, address, startDate, endDate, page, limit, _args9 = arguments;
11650
+ return _regeneratorRuntime().wrap((function _callee9$(_context9) {
11651
+ while (1) switch (_context9.prev = _context9.next) {
11705
11652
  case 0:
11706
- _argsToArray11 = argsToArray(_args0), _argsToArray12 = _slicedToArray(_argsToArray11, 7),
11707
- type = _argsToArray12[0], chain = _argsToArray12[1], address = _argsToArray12[2],
11708
- startDate = _argsToArray12[3], endDate = _argsToArray12[4], page = _argsToArray12[5],
11709
- limit = _argsToArray12[6];
11710
- return _context0.abrupt("return", handleScanRequest({
11653
+ for (_len3 = _args9.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
11654
+ args[_key3] = _args9[_key3];
11655
+ }
11656
+ type = args[0], chain = args[1], address = args[2], startDate = args[3], endDate = args[4],
11657
+ page = args[5], limit = args[6];
11658
+ return _context9.abrupt("return", handleScanRequest({
11711
11659
  scanKey: SERVICE_API_KEY.Etherscan,
11712
11660
  baseUrl: "https://api.etherscan.io/v2/api",
11713
11661
  type: type,
@@ -11719,63 +11667,62 @@ function _typeof(o) {
11719
11667
  offset: limit
11720
11668
  }));
11721
11669
 
11722
- case 2:
11670
+ case 3:
11723
11671
  case "end":
11724
- return _context0.stop();
11672
+ return _context9.stop();
11725
11673
  }
11726
- }), _callee0);
11674
+ }), _callee9);
11727
11675
  })));
11728
11676
  return _ETHERSCAN.apply(this, arguments);
11729
11677
  }
11730
- function COINGECKO() {
11678
+ function COINGECKO(_x20, _x21, _x22) {
11731
11679
  return _COINGECKO.apply(this, arguments);
11732
11680
  }
11733
11681
  function _COINGECKO() {
11734
- _COINGECKO = _asyncToGenerator(_regeneratorRuntime().mark((function _callee1() {
11735
- var API_KEY, headers, url, _argsToArray13, _argsToArray14, category, param1, param2, _argsToArray14$, page, _argsToArray14$2, perPage, lowerCategory, token, vsCurrencies, ecosystemMap, key, categoryVal, trend, _category, _trend, exchange, response, json, _json$status, message, output, _i11, _Object$entries2, _Object$entries2$_i, _token, prices, _i12, _Object$entries3, _Object$entries3$_i, currency, _value6, _key2, flatArray, _args1 = arguments;
11736
- return _regeneratorRuntime().wrap((function _callee1$(_context1) {
11737
- while (1) switch (_context1.prev = _context1.next) {
11682
+ _COINGECKO = _asyncToGenerator(_regeneratorRuntime().mark((function _callee0(category, param1, param2) {
11683
+ var page, perPage, API_KEY, headers, url, lowerCategory, vsCurrencies, token, ecosystemMap, key, categoryVal, trend, _category, _trend, exchange, response, json, _json$status, message, output, _i11, _Object$entries2, _Object$entries2$_i, _token, prices, _i12, _Object$entries3, _Object$entries3$_i, currency, _value6, _key4, _data, flatArray, _args0 = arguments;
11684
+ return _regeneratorRuntime().wrap((function _callee0$(_context0) {
11685
+ while (1) switch (_context0.prev = _context0.next) {
11738
11686
  case 0:
11687
+ page = _args0.length > 3 && _args0[3] !== undefined ? _args0[3] : 1;
11688
+ perPage = _args0.length > 4 && _args0[4] !== undefined ? _args0[4] : 2;
11739
11689
  API_KEY = window.localStorage.getItem(SERVICE_API_KEY.Coingecko);
11740
11690
  if (API_KEY) {
11741
- _context1.next = 3;
11691
+ _context0.next = 5;
11742
11692
  break;
11743
11693
  }
11744
- return _context1.abrupt("return", "".concat(SERVICE_API_KEY.Coingecko).concat(ERROR_MESSAGES_FLAG.MISSING_KEY));
11694
+ return _context0.abrupt("return", "".concat(SERVICE_API_KEY.Coingecko).concat(ERROR_MESSAGES_FLAG.MISSING_KEY));
11745
11695
 
11746
- case 3:
11696
+ case 5:
11747
11697
  headers = {
11748
11698
  accept: "application/json",
11749
11699
  "x-cg-demo-api-key": API_KEY
11750
11700
  };
11751
11701
  url = "";
11752
- _argsToArray13 = argsToArray(_args1), _argsToArray14 = _slicedToArray(_argsToArray13, 5),
11753
- category = _argsToArray14[0], param1 = _argsToArray14[1], param2 = _argsToArray14[2],
11754
- _argsToArray14$ = _argsToArray14[3], page = _argsToArray14$ === void 0 ? 1 : _argsToArray14$,
11755
- _argsToArray14$2 = _argsToArray14[4], perPage = _argsToArray14$2 === void 0 ? 2 : _argsToArray14$2;
11756
11702
  lowerCategory = (category || "").toLowerCase();
11757
- _context1.t0 = lowerCategory;
11758
- _context1.next = _context1.t0 === "price" ? 10 : _context1.t0 === "market" ? 16 : _context1.t0 === "stablecoins" ? 26 : _context1.t0 === "derivatives" ? 30 : 33;
11703
+ _context0.t0 = lowerCategory;
11704
+ _context0.next = _context0.t0 === "price" ? 11 : _context0.t0 === "market" ? 17 : _context0.t0 === "stablecoins" ? 27 : _context0.t0 === "derivatives" ? 31 : 34;
11759
11705
  break;
11760
11706
 
11761
- case 10:
11762
- token = param1;
11763
- vsCurrencies = param2;
11707
+ case 11:
11708
+ vsCurrencies = param1;
11709
+ token = param2;
11764
11710
  if (!(!token || !vsCurrencies)) {
11765
- _context1.next = 14;
11711
+ _context0.next = 15;
11766
11712
  break;
11767
11713
  }
11768
- return _context1.abrupt("return", "".concat(SERVICE_API_KEY.Coingecko).concat(ERROR_MESSAGES_FLAG.INVALID_PARAM));
11714
+ return _context0.abrupt("return", "".concat(SERVICE_API_KEY.Coingecko).concat(ERROR_MESSAGES_FLAG.INVALID_PARAM));
11769
11715
 
11770
- case 14:
11771
- url = "https://api.coingecko.com/api/v3/simple/price?vs_currencies=".concat(vsCurrencies, "&ids=").concat(token);
11772
- return _context1.abrupt("break", 34);
11716
+ case 15:
11717
+ url = "https://api.coingecko.com/api/v3/simple/price?vs_currencies=".concat(vsCurrencies ? vsCurrencies : "usd", "&symbols=").concat(token);
11718
+ return _context0.abrupt("break", 35);
11773
11719
 
11774
- case 16:
11720
+ case 17:
11775
11721
  ecosystemMap = {
11776
- eth: "ethereum-ecosystem",
11722
+ all: "",
11723
+ ethereum: "ethereum-ecosystem",
11777
11724
  base: "base-ecosystem",
11778
- sol: "solana-ecosystem",
11725
+ solana: "solana-ecosystem",
11779
11726
  gnosis: "gnosis-chain",
11780
11727
  hyperliquid: "hyperliquid",
11781
11728
  bitcoin: "bitcoin-ecosystem",
@@ -11788,70 +11735,70 @@ function _typeof(o) {
11788
11735
  trend = param2 ? "&price_change_percentage=".concat(param2) : "";
11789
11736
  url = "https://api.coingecko.com/api/v3/coins/markets?vs_currency=usd&include_tokens=top&page=".concat(page, "&per_page=").concat(perPage);
11790
11737
  if (!(key && !categoryVal)) {
11791
- _context1.next = 23;
11738
+ _context0.next = 24;
11792
11739
  break;
11793
11740
  }
11794
- return _context1.abrupt("return", "".concat(SERVICE_API_KEY.Coingecko).concat(ERROR_MESSAGES_FLAG.INVALID_PARAM));
11741
+ return _context0.abrupt("return", "".concat(SERVICE_API_KEY.Coingecko).concat(ERROR_MESSAGES_FLAG.INVALID_PARAM));
11795
11742
 
11796
- case 23:
11743
+ case 24:
11797
11744
  if (categoryVal) url += "&category=".concat(categoryVal);
11798
11745
  if (trend) url += trend;
11799
- return _context1.abrupt("break", 34);
11746
+ return _context0.abrupt("break", 35);
11800
11747
 
11801
- case 26:
11748
+ case 27:
11802
11749
  _category = !param1 || param1.toLowerCase() === "all" ? "stablecoins" : param1.toLowerCase();
11803
11750
  _trend = param2 ? "&price_change_percentage=".concat(param2) : "";
11804
11751
  url = "https://api.coingecko.com/api/v3/coins/markets?vs_currency=usd&category=".concat(_category, "&order=market_cap_desc&page=").concat(page, "&per_page=").concat(perPage).concat(_trend);
11805
- return _context1.abrupt("break", 34);
11752
+ return _context0.abrupt("break", 35);
11806
11753
 
11807
- case 30:
11754
+ case 31:
11808
11755
  exchange = param1;
11809
- if (exchange) {
11810
- url = "https://api.coingecko.com/api/v3/derivatives/exchanges/".concat(exchange, "?include_tickers=all");
11756
+ if (!exchange || exchange === "all") {
11757
+ url = "https://api.coingecko.com/api/v3/derivatives";
11811
11758
  } else {
11812
- url = "https://api.coingecko.com/api/v3/derivatives?page=".concat(page, "&per_page=").concat(perPage);
11759
+ url = "https://api.coingecko.com/api/v3/derivatives/exchanges/".concat(exchange, "?include_tickers=all");
11813
11760
  }
11814
- return _context1.abrupt("break", 34);
11815
-
11816
- case 33:
11817
- return _context1.abrupt("return", "".concat(SERVICE_API_KEY.Coingecko).concat(ERROR_MESSAGES_FLAG.INVALID_PARAMS));
11761
+ return _context0.abrupt("break", 35);
11818
11762
 
11819
11763
  case 34:
11820
- _context1.prev = 34;
11821
- _context1.next = 37;
11764
+ return _context0.abrupt("return", "".concat(SERVICE_API_KEY.Coingecko).concat(ERROR_MESSAGES_FLAG.INVALID_PARAMS));
11765
+
11766
+ case 35:
11767
+ _context0.prev = 35;
11768
+ _context0.next = 38;
11822
11769
  return fetch(url, {
11823
11770
  method: "GET",
11824
11771
  headers: headers
11825
11772
  });
11826
11773
 
11827
- case 37:
11828
- response = _context1.sent;
11829
- _context1.next = 40;
11774
+ case 38:
11775
+ response = _context0.sent;
11776
+ _context0.next = 41;
11830
11777
  return response.json();
11831
11778
 
11832
- case 40:
11833
- json = _context1.sent;
11779
+ case 41:
11780
+ json = _context0.sent;
11834
11781
  if (response.ok) {
11835
- _context1.next = 47;
11782
+ _context0.next = 48;
11836
11783
  break;
11837
11784
  }
11838
11785
  message = (json === null || json === void 0 || (_json$status = json.status) === null || _json$status === void 0 ? void 0 : _json$status.error_message) || "";
11839
11786
  if (!message.includes("API Key Missing")) {
11840
- _context1.next = 45;
11787
+ _context0.next = 46;
11841
11788
  break;
11842
11789
  }
11843
- return _context1.abrupt("return", "".concat(SERVICE_API_KEY.Coingecko).concat(ERROR_MESSAGES_FLAG.INVALID_API_KEY));
11790
+ return _context0.abrupt("return", "".concat(SERVICE_API_KEY.Coingecko).concat(ERROR_MESSAGES_FLAG.INVALID_API_KEY));
11844
11791
 
11845
- case 45:
11792
+ case 46:
11846
11793
  if (!(response.status === 429)) {
11847
- _context1.next = 47;
11794
+ _context0.next = 48;
11848
11795
  break;
11849
11796
  }
11850
- return _context1.abrupt("return", "".concat(SERVICE_API_KEY.Coingecko).concat(ERROR_MESSAGES_FLAG.RATE_LIMIT));
11797
+ return _context0.abrupt("return", "".concat(SERVICE_API_KEY.Coingecko).concat(ERROR_MESSAGES_FLAG.RATE_LIMIT));
11851
11798
 
11852
- case 47:
11799
+ case 48:
11853
11800
  if (!(lowerCategory === "price")) {
11854
- _context1.next = 51;
11801
+ _context0.next = 52;
11855
11802
  break;
11856
11803
  }
11857
11804
  output = {};
@@ -11861,245 +11808,236 @@ function _typeof(o) {
11861
11808
  for (_i12 = 0, _Object$entries3 = Object.entries(prices); _i12 < _Object$entries3.length; _i12++) {
11862
11809
  _Object$entries3$_i = _slicedToArray(_Object$entries3[_i12], 2), currency = _Object$entries3$_i[0],
11863
11810
  _value6 = _Object$entries3$_i[1];
11864
- _key2 = "".concat(_token.charAt(0).toUpperCase() + _token.slice(1), "_").concat(currency.toUpperCase());
11865
- output[_key2] = _value6;
11811
+ _key4 = "".concat(_token.charAt(0).toUpperCase() + _token.slice(1), "_").concat(currency.toUpperCase());
11812
+ output[_key4] = _value6;
11866
11813
  }
11867
11814
  }
11868
- return _context1.abrupt("return", [ output ]);
11815
+ return _context0.abrupt("return", [ output ]);
11869
11816
 
11870
- case 51:
11871
- flatArray = Array.isArray(json) ? json : [ json ];
11872
- return _context1.abrupt("return", flatArray.map((function(item) {
11817
+ case 52:
11818
+ _data = json;
11819
+ if (lowerCategory === "derivatives") {
11820
+ if (json && json.tickers && json.tickers.tickers) {
11821
+ json.tickers.tickers, _readOnlyError("data");
11822
+ }
11823
+ }
11824
+ flatArray = Array.isArray(_data) ? _data : [ _data ];
11825
+ return _context0.abrupt("return", flatArray.map((function(item) {
11873
11826
  var flat = {};
11874
11827
  for (var _i13 = 0, _Object$entries4 = Object.entries(item); _i13 < _Object$entries4.length; _i13++) {
11875
- var _Object$entries4$_i = _slicedToArray(_Object$entries4[_i13], 2), _key3 = _Object$entries4$_i[0], _value7 = _Object$entries4$_i[1];
11828
+ var _Object$entries4$_i = _slicedToArray(_Object$entries4[_i13], 2), _key5 = _Object$entries4$_i[0], _value7 = _Object$entries4$_i[1];
11876
11829
  if (_typeof(_value7) !== "object" || _value7 === null) {
11877
- flat[_key3] = _value7;
11830
+ flat[_key5] = _value7;
11878
11831
  }
11879
11832
  }
11880
11833
  return flat;
11881
11834
  })));
11882
11835
 
11883
- case 55:
11884
- _context1.prev = 55;
11885
- _context1.t1 = _context1["catch"](34);
11886
- console.error(_context1.t1);
11887
- return _context1.abrupt("return", ERROR_MESSAGES_FLAG.DEFAULT);
11836
+ case 58:
11837
+ _context0.prev = 58;
11838
+ _context0.t1 = _context0["catch"](35);
11839
+ console.error(_context0.t1);
11840
+ return _context0.abrupt("return", ERROR_MESSAGES_FLAG.DEFAULT);
11888
11841
 
11889
- case 59:
11842
+ case 62:
11890
11843
  case "end":
11891
- return _context1.stop();
11844
+ return _context0.stop();
11892
11845
  }
11893
- }), _callee1, null, [ [ 34, 55 ] ]);
11846
+ }), _callee0, null, [ [ 35, 58 ] ]);
11894
11847
  })));
11895
11848
  return _COINGECKO.apply(this, arguments);
11896
11849
  }
11897
- function EOA() {
11850
+ function EOA(_x23, _x24, _x25, _x26, _x27) {
11898
11851
  return _EOA.apply(this, arguments);
11899
11852
  }
11900
11853
  function _EOA() {
11901
- _EOA = _asyncToGenerator(_regeneratorRuntime().mark((function _callee11() {
11902
- var _argsToArray15, _argsToArray16, addresses, category, chains, startTime, endTime, _argsToArray16$, page, _argsToArray16$2, offset, someError, API_KEY, INPUTS, CHAINS, out, ADDRESS_MAP, _iterator, _step, input, resolved, ADDRS, _iterator2, _step2, _loop, _ret, fetchJSON, _fetchJSON, _args13 = arguments;
11903
- return _regeneratorRuntime().wrap((function _callee11$(_context13) {
11904
- while (1) switch (_context13.prev = _context13.next) {
11854
+ _EOA = _asyncToGenerator(_regeneratorRuntime().mark((function _callee10(addresses, category, chains, startTime, endTime) {
11855
+ var page, offset, API_KEY, INPUTS, CHAINS, out, ADDRESS_MAP, _iterator, _step, input, resolved, ADDRS, _iterator2, _step2, _loop, _ret, fetchJSON, _fetchJSON, _args12 = arguments;
11856
+ return _regeneratorRuntime().wrap((function _callee10$(_context12) {
11857
+ while (1) switch (_context12.prev = _context12.next) {
11905
11858
  case 0:
11906
11859
  _fetchJSON = function _fetchJSON3() {
11907
- _fetchJSON = _asyncToGenerator(_regeneratorRuntime().mark((function _callee10(url) {
11860
+ _fetchJSON = _asyncToGenerator(_regeneratorRuntime().mark((function _callee1(url) {
11908
11861
  var _json$result3, _json$result3$include, _json$result4, _json$result4$include, res, json;
11909
- return _regeneratorRuntime().wrap((function _callee10$(_context12) {
11910
- while (1) switch (_context12.prev = _context12.next) {
11862
+ return _regeneratorRuntime().wrap((function _callee1$(_context11) {
11863
+ while (1) switch (_context11.prev = _context11.next) {
11911
11864
  case 0:
11912
- _context12.prev = 0;
11913
- _context12.next = 3;
11865
+ _context11.prev = 0;
11866
+ _context11.next = 3;
11914
11867
  return fetch(url);
11915
11868
 
11916
11869
  case 3:
11917
- res = _context12.sent;
11870
+ res = _context11.sent;
11918
11871
  if (res.ok) {
11919
- _context12.next = 6;
11872
+ _context11.next = 6;
11920
11873
  break;
11921
11874
  }
11922
- return _context12.abrupt("return", "HTTP_".concat(res.status));
11875
+ return _context11.abrupt("return", "HTTP_".concat(res.status));
11923
11876
 
11924
11877
  case 6:
11925
- _context12.next = 8;
11878
+ _context11.next = 8;
11926
11879
  return res.json();
11927
11880
 
11928
11881
  case 8:
11929
- json = _context12.sent;
11882
+ json = _context11.sent;
11930
11883
  if (!((_json$result3 = json.result) !== null && _json$result3 !== void 0 && (_json$result3$include = _json$result3.includes) !== null && _json$result3$include !== void 0 && _json$result3$include.call(_json$result3, "Invalid API Key"))) {
11931
- _context12.next = 11;
11884
+ _context11.next = 11;
11932
11885
  break;
11933
11886
  }
11934
- return _context12.abrupt("return", "".concat(SERVICE_API_KEY.Etherscan).concat(ERROR_MESSAGES_FLAG.INVALID_API_KEY));
11887
+ return _context11.abrupt("return", "".concat(SERVICE_API_KEY.Etherscan).concat(ERROR_MESSAGES_FLAG.INVALID_API_KEY));
11935
11888
 
11936
11889
  case 11:
11937
11890
  if (!((_json$result4 = json.result) !== null && _json$result4 !== void 0 && (_json$result4$include = _json$result4.includes) !== null && _json$result4$include !== void 0 && _json$result4$include.call(_json$result4, "Max rate limit reached"))) {
11938
- _context12.next = 13;
11891
+ _context11.next = 13;
11939
11892
  break;
11940
11893
  }
11941
- return _context12.abrupt("return", "".concat(SERVICE_API_KEY.Etherscan).concat(ERROR_MESSAGES_FLAG.RATE_LIMIT));
11894
+ return _context11.abrupt("return", "".concat(SERVICE_API_KEY.Etherscan).concat(ERROR_MESSAGES_FLAG.RATE_LIMIT));
11942
11895
 
11943
11896
  case 13:
11944
11897
  if (!(json.status === "0" && json.message !== "No transactions found")) {
11945
- _context12.next = 15;
11898
+ _context11.next = 15;
11946
11899
  break;
11947
11900
  }
11948
- return _context12.abrupt("return", ERROR_MESSAGES_FLAG.DEFAULT);
11901
+ return _context11.abrupt("return", ERROR_MESSAGES_FLAG.DEFAULT);
11949
11902
 
11950
11903
  case 15:
11951
- return _context12.abrupt("return", json.result);
11904
+ return _context11.abrupt("return", json.result);
11952
11905
 
11953
11906
  case 18:
11954
- _context12.prev = 18;
11955
- _context12.t0 = _context12["catch"](0);
11956
- return _context12.abrupt("return", ERROR_MESSAGES_FLAG.DEFAULT);
11907
+ _context11.prev = 18;
11908
+ _context11.t0 = _context11["catch"](0);
11909
+ return _context11.abrupt("return", ERROR_MESSAGES_FLAG.DEFAULT);
11957
11910
 
11958
11911
  case 21:
11959
11912
  case "end":
11960
- return _context12.stop();
11913
+ return _context11.stop();
11961
11914
  }
11962
- }), _callee10, null, [ [ 0, 18 ] ]);
11915
+ }), _callee1, null, [ [ 0, 18 ] ]);
11963
11916
  })));
11964
11917
  return _fetchJSON.apply(this, arguments);
11965
11918
  };
11966
- fetchJSON = function _fetchJSON2(_x13) {
11919
+ fetchJSON = function _fetchJSON2(_x35) {
11967
11920
  return _fetchJSON.apply(this, arguments);
11968
11921
  };
11969
- _argsToArray15 = argsToArray(_args13), _argsToArray16 = _slicedToArray(_argsToArray15, 7),
11970
- addresses = _argsToArray16[0], category = _argsToArray16[1], chains = _argsToArray16[2],
11971
- startTime = _argsToArray16[3], endTime = _argsToArray16[4], _argsToArray16$ = _argsToArray16[5],
11972
- page = _argsToArray16$ === void 0 ? 1 : _argsToArray16$, _argsToArray16$2 = _argsToArray16[6],
11973
- offset = _argsToArray16$2 === void 0 ? 10 : _argsToArray16$2;
11974
- someError = anyError(addresses, category, chains, startTime, endTime, page, offset);
11975
- if (!someError) {
11976
- _context13.next = 6;
11977
- break;
11978
- }
11979
- return _context13.abrupt("return", someError);
11980
-
11981
- case 6:
11922
+ page = _args12.length > 5 && _args12[5] !== undefined ? _args12[5] : 1;
11923
+ offset = _args12.length > 6 && _args12[6] !== undefined ? _args12[6] : 10;
11982
11924
  API_KEY = window.localStorage.getItem(SERVICE_API_KEY.Etherscan);
11983
11925
  if (API_KEY) {
11984
- _context13.next = 9;
11926
+ _context12.next = 7;
11985
11927
  break;
11986
11928
  }
11987
- return _context13.abrupt("return", "".concat(SERVICE_API_KEY.Etherscan).concat(ERROR_MESSAGES_FLAG.MISSING_KEY));
11929
+ return _context12.abrupt("return", "".concat(SERVICE_API_KEY.Etherscan).concat(ERROR_MESSAGES_FLAG.MISSING_KEY));
11988
11930
 
11989
- case 9:
11990
- if (typeof addresses === "string") {
11991
- INPUTS = addresses.split(",").map((function(a) {
11992
- return a.trim();
11993
- })).filter(Boolean);
11994
- } else if (_typeof(addresses) === "object") {
11995
- INPUTS = addresses;
11996
- }
11931
+ case 7:
11932
+ INPUTS = addresses.split(",").map((function(a) {
11933
+ return a.trim();
11934
+ })).filter(Boolean);
11997
11935
  CHAINS = chains.split(",").map((function(c) {
11998
11936
  return c.trim();
11999
11937
  })).filter(Boolean);
12000
11938
  out = [];
12001
11939
  ADDRESS_MAP = {};
12002
11940
  _iterator = _createForOfIteratorHelper(INPUTS);
12003
- _context13.prev = 14;
11941
+ _context12.prev = 12;
12004
11942
  _iterator.s();
12005
11943
 
12006
- case 16:
11944
+ case 14:
12007
11945
  if ((_step = _iterator.n()).done) {
12008
- _context13.next = 34;
11946
+ _context12.next = 32;
12009
11947
  break;
12010
11948
  }
12011
11949
  input = _step.value;
12012
11950
  if (!isAddress(input)) {
12013
- _context13.next = 22;
11951
+ _context12.next = 20;
12014
11952
  break;
12015
11953
  }
12016
11954
  ADDRESS_MAP[input.toLowerCase()] = null;
12017
- _context13.next = 32;
11955
+ _context12.next = 30;
12018
11956
  break;
12019
11957
 
12020
- case 22:
12021
- _context13.prev = 22;
12022
- _context13.next = 25;
11958
+ case 20:
11959
+ _context12.prev = 20;
11960
+ _context12.next = 23;
12023
11961
  return fromEnsNameToAddress(input);
12024
11962
 
12025
- case 25:
12026
- resolved = _context13.sent;
11963
+ case 23:
11964
+ resolved = _context12.sent;
12027
11965
  if (resolved) ADDRESS_MAP[resolved.toLowerCase()] = input;
12028
- _context13.next = 32;
11966
+ _context12.next = 30;
12029
11967
  break;
12030
11968
 
12031
- case 29:
12032
- _context13.prev = 29;
12033
- _context13.t0 = _context13["catch"](22);
12034
- return _context13.abrupt("return", "".concat(input).concat(ERROR_MESSAGES_FLAG.INVALID_PARAM));
11969
+ case 27:
11970
+ _context12.prev = 27;
11971
+ _context12.t0 = _context12["catch"](20);
11972
+ return _context12.abrupt("return", "".concat(input).concat(ERROR_MESSAGES_FLAG.INVALID_PARAM));
12035
11973
 
12036
- case 32:
12037
- _context13.next = 16;
11974
+ case 30:
11975
+ _context12.next = 14;
12038
11976
  break;
12039
11977
 
12040
- case 34:
12041
- _context13.next = 39;
11978
+ case 32:
11979
+ _context12.next = 37;
12042
11980
  break;
12043
11981
 
12044
- case 36:
12045
- _context13.prev = 36;
12046
- _context13.t1 = _context13["catch"](14);
12047
- _iterator.e(_context13.t1);
11982
+ case 34:
11983
+ _context12.prev = 34;
11984
+ _context12.t1 = _context12["catch"](12);
11985
+ _iterator.e(_context12.t1);
12048
11986
 
12049
- case 39:
12050
- _context13.prev = 39;
11987
+ case 37:
11988
+ _context12.prev = 37;
12051
11989
  _iterator.f();
12052
- return _context13.finish(39);
11990
+ return _context12.finish(37);
12053
11991
 
12054
- case 42:
11992
+ case 40:
12055
11993
  ADDRS = Object.keys(ADDRESS_MAP);
12056
11994
  _iterator2 = _createForOfIteratorHelper(CHAINS);
12057
- _context13.prev = 44;
11995
+ _context12.prev = 42;
12058
11996
  _loop = _regeneratorRuntime().mark((function _loop() {
12059
- var chain, chainId, i, slice, action, url, _data, startBlock, endBlock, _loop2, _ret2, _i14, _ADDRS;
12060
- return _regeneratorRuntime().wrap((function _loop$(_context11) {
12061
- while (1) switch (_context11.prev = _context11.next) {
11997
+ var chain, chainId, i, slice, action, url, _data2, startBlock, endBlock, _loop2, _ret2, _i14, _ADDRS;
11998
+ return _regeneratorRuntime().wrap((function _loop$(_context10) {
11999
+ while (1) switch (_context10.prev = _context10.next) {
12062
12000
  case 0:
12063
12001
  chain = _step2.value;
12064
12002
  chainId = CHAIN_ID_MAP[chain];
12065
12003
  if (chainId) {
12066
- _context11.next = 4;
12004
+ _context10.next = 4;
12067
12005
  break;
12068
12006
  }
12069
- return _context11.abrupt("return", {
12007
+ return _context10.abrupt("return", {
12070
12008
  v: ERROR_MESSAGES_FLAG.UNSUPPORTED_CHAIN
12071
12009
  });
12072
12010
 
12073
12011
  case 4:
12074
12012
  if (!(category === "balance")) {
12075
- _context11.next = 20;
12013
+ _context10.next = 20;
12076
12014
  break;
12077
12015
  }
12078
12016
  i = 0;
12079
12017
 
12080
12018
  case 6:
12081
12019
  if (!(i < ADDRS.length)) {
12082
- _context11.next = 19;
12020
+ _context10.next = 19;
12083
12021
  break;
12084
12022
  }
12085
12023
  slice = ADDRS.slice(i, i + 20).join(",");
12086
12024
  action = ADDRS.length > 1 ? "balancemulti" : "balance";
12087
12025
  url = "https://api.etherscan.io/v2/api?chainid=".concat(chainId) + "&module=account&action=".concat(action, "&address=").concat(slice) + "&tag=latest&apikey=".concat(API_KEY);
12088
- _context11.next = 12;
12026
+ _context10.next = 12;
12089
12027
  return fetchJSON(url);
12090
12028
 
12091
12029
  case 12:
12092
- _data = _context11.sent;
12093
- if (!(typeof _data === "string")) {
12094
- _context11.next = 15;
12030
+ _data2 = _context10.sent;
12031
+ if (!(typeof _data2 === "string")) {
12032
+ _context10.next = 15;
12095
12033
  break;
12096
12034
  }
12097
- return _context11.abrupt("return", {
12098
- v: _data
12035
+ return _context10.abrupt("return", {
12036
+ v: _data2
12099
12037
  });
12100
12038
 
12101
12039
  case 15:
12102
- (Array.isArray(_data) ? _data : [ _data ]).forEach((function(r) {
12040
+ (Array.isArray(_data2) ? _data2 : [ _data2 ]).forEach((function(r) {
12103
12041
  return out.push(_objectSpread(_objectSpread({
12104
12042
  chain: chain
12105
12043
  }, r), {}, {
@@ -12109,44 +12047,44 @@ function _typeof(o) {
12109
12047
 
12110
12048
  case 16:
12111
12049
  i += 20;
12112
- _context11.next = 6;
12050
+ _context10.next = 6;
12113
12051
  break;
12114
12052
 
12115
12053
  case 19:
12116
- return _context11.abrupt("return", 0);
12054
+ return _context10.abrupt("return", 0);
12117
12055
 
12118
12056
  case 20:
12119
12057
  if (!(category === "txns")) {
12120
- _context11.next = 38;
12058
+ _context10.next = 38;
12121
12059
  break;
12122
12060
  }
12123
- _context11.next = 23;
12061
+ _context10.next = 23;
12124
12062
  return fromTimeStampToBlock(toTimestamp(startTime), chain, API_KEY);
12125
12063
 
12126
12064
  case 23:
12127
- startBlock = _context11.sent;
12128
- _context11.next = 26;
12065
+ startBlock = _context10.sent;
12066
+ _context10.next = 26;
12129
12067
  return fromTimeStampToBlock(toTimestamp(endTime), chain, API_KEY);
12130
12068
 
12131
12069
  case 26:
12132
- endBlock = _context11.sent;
12070
+ endBlock = _context10.sent;
12133
12071
  _loop2 = _regeneratorRuntime().mark((function _loop2() {
12134
12072
  var addr, url, data;
12135
- return _regeneratorRuntime().wrap((function _loop2$(_context10) {
12136
- while (1) switch (_context10.prev = _context10.next) {
12073
+ return _regeneratorRuntime().wrap((function _loop2$(_context1) {
12074
+ while (1) switch (_context1.prev = _context1.next) {
12137
12075
  case 0:
12138
12076
  addr = _ADDRS[_i14];
12139
12077
  url = "https://api.etherscan.io/v2/api?chainid=".concat(chainId) + "&module=account&action=txlist&address=".concat(addr) + "&startblock=".concat(startBlock, "&endblock=").concat(endBlock) + "&page=".concat(page, "&offset=").concat(offset, "&sort=asc&apikey=").concat(API_KEY);
12140
- _context10.next = 4;
12078
+ _context1.next = 4;
12141
12079
  return fetchJSON(url);
12142
12080
 
12143
12081
  case 4:
12144
- data = _context10.sent;
12082
+ data = _context1.sent;
12145
12083
  if (!(typeof data === "string")) {
12146
- _context10.next = 7;
12084
+ _context1.next = 7;
12147
12085
  break;
12148
12086
  }
12149
- return _context10.abrupt("return", {
12087
+ return _context1.abrupt("return", {
12150
12088
  v: {
12151
12089
  v: data
12152
12090
  }
@@ -12163,7 +12101,7 @@ function _typeof(o) {
12163
12101
 
12164
12102
  case 8:
12165
12103
  case "end":
12166
- return _context10.stop();
12104
+ return _context1.stop();
12167
12105
  }
12168
12106
  }), _loop2);
12169
12107
  }));
@@ -12171,100 +12109,100 @@ function _typeof(o) {
12171
12109
 
12172
12110
  case 29:
12173
12111
  if (!(_i14 < _ADDRS.length)) {
12174
- _context11.next = 37;
12112
+ _context10.next = 37;
12175
12113
  break;
12176
12114
  }
12177
- return _context11.delegateYield(_loop2(), "t0", 31);
12115
+ return _context10.delegateYield(_loop2(), "t0", 31);
12178
12116
 
12179
12117
  case 31:
12180
- _ret2 = _context11.t0;
12118
+ _ret2 = _context10.t0;
12181
12119
  if (!_ret2) {
12182
- _context11.next = 34;
12120
+ _context10.next = 34;
12183
12121
  break;
12184
12122
  }
12185
- return _context11.abrupt("return", _ret2.v);
12123
+ return _context10.abrupt("return", _ret2.v);
12186
12124
 
12187
12125
  case 34:
12188
12126
  _i14++;
12189
- _context11.next = 29;
12127
+ _context10.next = 29;
12190
12128
  break;
12191
12129
 
12192
12130
  case 37:
12193
- return _context11.abrupt("return", 0);
12131
+ return _context10.abrupt("return", 0);
12194
12132
 
12195
12133
  case 38:
12196
- return _context11.abrupt("return", {
12134
+ return _context10.abrupt("return", {
12197
12135
  v: ERROR_MESSAGES_FLAG.INVALID_CATEGORY
12198
12136
  });
12199
12137
 
12200
12138
  case 39:
12201
12139
  case "end":
12202
- return _context11.stop();
12140
+ return _context10.stop();
12203
12141
  }
12204
12142
  }), _loop);
12205
12143
  }));
12206
12144
  _iterator2.s();
12207
12145
 
12208
- case 47:
12146
+ case 45:
12209
12147
  if ((_step2 = _iterator2.n()).done) {
12210
- _context13.next = 56;
12148
+ _context12.next = 54;
12211
12149
  break;
12212
12150
  }
12213
- return _context13.delegateYield(_loop(), "t2", 49);
12151
+ return _context12.delegateYield(_loop(), "t2", 47);
12214
12152
 
12215
- case 49:
12216
- _ret = _context13.t2;
12153
+ case 47:
12154
+ _ret = _context12.t2;
12217
12155
  if (!(_ret === 0)) {
12218
- _context13.next = 52;
12156
+ _context12.next = 50;
12219
12157
  break;
12220
12158
  }
12221
- return _context13.abrupt("continue", 54);
12159
+ return _context12.abrupt("continue", 52);
12222
12160
 
12223
- case 52:
12161
+ case 50:
12224
12162
  if (!_ret) {
12225
- _context13.next = 54;
12163
+ _context12.next = 52;
12226
12164
  break;
12227
12165
  }
12228
- return _context13.abrupt("return", _ret.v);
12166
+ return _context12.abrupt("return", _ret.v);
12229
12167
 
12230
- case 54:
12231
- _context13.next = 47;
12168
+ case 52:
12169
+ _context12.next = 45;
12232
12170
  break;
12233
12171
 
12234
- case 56:
12235
- _context13.next = 61;
12172
+ case 54:
12173
+ _context12.next = 59;
12236
12174
  break;
12237
12175
 
12238
- case 58:
12239
- _context13.prev = 58;
12240
- _context13.t3 = _context13["catch"](44);
12241
- _iterator2.e(_context13.t3);
12176
+ case 56:
12177
+ _context12.prev = 56;
12178
+ _context12.t3 = _context12["catch"](42);
12179
+ _iterator2.e(_context12.t3);
12242
12180
 
12243
- case 61:
12244
- _context13.prev = 61;
12181
+ case 59:
12182
+ _context12.prev = 59;
12245
12183
  _iterator2.f();
12246
- return _context13.finish(61);
12184
+ return _context12.finish(59);
12247
12185
 
12248
- case 64:
12249
- return _context13.abrupt("return", out);
12186
+ case 62:
12187
+ return _context12.abrupt("return", out);
12250
12188
 
12251
- case 65:
12189
+ case 63:
12252
12190
  case "end":
12253
- return _context13.stop();
12191
+ return _context12.stop();
12254
12192
  }
12255
- }), _callee11, null, [ [ 14, 36, 39, 42 ], [ 22, 29 ], [ 44, 58, 61, 64 ] ]);
12193
+ }), _callee10, null, [ [ 12, 34, 37, 40 ], [ 20, 27 ], [ 42, 56, 59, 62 ] ]);
12256
12194
  })));
12257
12195
  return _EOA.apply(this, arguments);
12258
12196
  }
12259
- function FLVURL(_x11, _x12) {
12197
+ function FLVURL(_x28, _x29) {
12260
12198
  return _FLVURL.apply(this, arguments);
12261
12199
  }
12262
12200
  function _FLVURL() {
12263
- _FLVURL = _asyncToGenerator(_regeneratorRuntime().mark((function _callee12(token, vs_currencies) {
12264
- return _regeneratorRuntime().wrap((function _callee12$(_context14) {
12265
- while (1) switch (_context14.prev = _context14.next) {
12201
+ _FLVURL = _asyncToGenerator(_regeneratorRuntime().mark((function _callee11(token, vs_currencies) {
12202
+ return _regeneratorRuntime().wrap((function _callee11$(_context13) {
12203
+ while (1) switch (_context13.prev = _context13.next) {
12266
12204
  case 0:
12267
- return _context14.abrupt("return", new Promise((function(resolve) {
12205
+ return _context13.abrupt("return", new Promise((function(resolve) {
12268
12206
  setTimeout((function() {
12269
12207
  resolve([ {
12270
12208
  Yoo: "gotcha"
@@ -12274,125 +12212,122 @@ function _typeof(o) {
12274
12212
 
12275
12213
  case 1:
12276
12214
  case "end":
12277
- return _context14.stop();
12215
+ return _context13.stop();
12278
12216
  }
12279
- }), _callee12);
12217
+ }), _callee11);
12280
12218
  })));
12281
12219
  return _FLVURL.apply(this, arguments);
12282
12220
  }
12283
- function SAFE() {
12221
+ function SAFE(_x30, _x31, _x32, _x33, _x34) {
12284
12222
  return _SAFE.apply(this, arguments);
12285
12223
  }
12286
12224
  function _SAFE() {
12287
- _SAFE = _asyncToGenerator(_regeneratorRuntime().mark((function _callee13() {
12288
- var _argsToArray17, _argsToArray18, address, utility, chain, limit, offset, apiKey, chainIdentifier, url, response, json, _args15 = arguments;
12289
- return _regeneratorRuntime().wrap((function _callee13$(_context15) {
12290
- while (1) switch (_context15.prev = _context15.next) {
12225
+ _SAFE = _asyncToGenerator(_regeneratorRuntime().mark((function _callee12(address, utility, chain, limit, offset) {
12226
+ var apiKey, chainIdentifier, url, response, json;
12227
+ return _regeneratorRuntime().wrap((function _callee12$(_context14) {
12228
+ while (1) switch (_context14.prev = _context14.next) {
12291
12229
  case 0:
12292
- _argsToArray17 = argsToArray(_args15), _argsToArray18 = _slicedToArray(_argsToArray17, 5),
12293
- address = _argsToArray18[0], utility = _argsToArray18[1], chain = _argsToArray18[2],
12294
- limit = _argsToArray18[3], offset = _argsToArray18[4];
12295
12230
  if (!(typeof limit !== "number" || limit < 0)) {
12296
- _context15.next = 3;
12231
+ _context14.next = 2;
12297
12232
  break;
12298
12233
  }
12299
- return _context15.abrupt("return", "INVALID_LIMIT");
12234
+ return _context14.abrupt("return", "INVALID_LIMIT");
12300
12235
 
12301
- case 3:
12236
+ case 2:
12302
12237
  if (!(typeof offset !== "number" || offset < 0)) {
12303
- _context15.next = 5;
12238
+ _context14.next = 4;
12304
12239
  break;
12305
12240
  }
12306
- return _context15.abrupt("return", "INVALID_OFFSET");
12241
+ return _context14.abrupt("return", "INVALID_OFFSET");
12307
12242
 
12308
- case 5:
12243
+ case 4:
12309
12244
  if (!(utility !== "txns")) {
12310
- _context15.next = 7;
12245
+ _context14.next = 6;
12311
12246
  break;
12312
12247
  }
12313
- return _context15.abrupt("return", "UTILITY IS NOT SUPPORTED");
12248
+ return _context14.abrupt("return", "UTILITY IS NOT SUPPORTED");
12314
12249
 
12315
- case 7:
12250
+ case 6:
12316
12251
  apiKey = window.localStorage.getItem(SERVICE_API_KEY.Safe);
12317
12252
  chainIdentifier = SAFE_CHAIN_MAP[chain];
12318
12253
  if (apiKey) {
12319
- _context15.next = 11;
12254
+ _context14.next = 10;
12320
12255
  break;
12321
12256
  }
12322
- return _context15.abrupt("return", "".concat(SERVICE_API_KEY.Safe, "_MISSING"));
12257
+ return _context14.abrupt("return", "".concat(SERVICE_API_KEY.Safe, "_MISSING"));
12323
12258
 
12324
- case 11:
12259
+ case 10:
12325
12260
  if (chainIdentifier) {
12326
- _context15.next = 13;
12261
+ _context14.next = 12;
12327
12262
  break;
12328
12263
  }
12329
- return _context15.abrupt("return", "CHAIN IS NOT SUPPORTED");
12264
+ return _context14.abrupt("return", "CHAIN IS NOT SUPPORTED");
12330
12265
 
12331
- case 13:
12266
+ case 12:
12332
12267
  if (isAddress(address)) {
12333
- _context15.next = 17;
12268
+ _context14.next = 16;
12334
12269
  break;
12335
12270
  }
12336
- _context15.next = 16;
12271
+ _context14.next = 15;
12337
12272
  return fromEnsNameToAddress(address);
12338
12273
 
12339
- case 16:
12340
- address = _context15.sent;
12274
+ case 15:
12275
+ address = _context14.sent;
12341
12276
 
12342
- case 17:
12277
+ case 16:
12343
12278
  if (address) {
12344
- _context15.next = 19;
12279
+ _context14.next = 18;
12345
12280
  break;
12346
12281
  }
12347
- return _context15.abrupt("return", "".concat(address).concat(ERROR_MESSAGES_FLAG.INVALID_PARAM));
12282
+ return _context14.abrupt("return", "".concat(address).concat(ERROR_MESSAGES_FLAG.INVALID_PARAM));
12348
12283
 
12349
- case 19:
12284
+ case 18:
12350
12285
  url = "https://api.safe.global/tx-service/".concat(chainIdentifier, "/api/v2/safes/").concat(address, "/multisig-transactions?limit=").concat(limit, "&offset=").concat(offset);
12351
- _context15.prev = 20;
12352
- _context15.next = 23;
12286
+ _context14.prev = 19;
12287
+ _context14.next = 22;
12353
12288
  return fetch(url, {
12354
12289
  headers: {
12355
12290
  Authorization: "Bearer ".concat(apiKey)
12356
12291
  }
12357
12292
  });
12358
12293
 
12359
- case 23:
12360
- response = _context15.sent;
12294
+ case 22:
12295
+ response = _context14.sent;
12361
12296
  if (response.ok) {
12362
- _context15.next = 26;
12297
+ _context14.next = 25;
12363
12298
  break;
12364
12299
  }
12365
12300
  throw new Error("HTTP error! Status: ".concat(response.status));
12366
12301
 
12367
- case 26:
12368
- _context15.next = 28;
12302
+ case 25:
12303
+ _context14.next = 27;
12369
12304
  return response.json();
12370
12305
 
12371
- case 28:
12372
- json = _context15.sent;
12306
+ case 27:
12307
+ json = _context14.sent;
12373
12308
  if (Array.isArray(json.results)) {
12374
- _context15.next = 31;
12309
+ _context14.next = 30;
12375
12310
  break;
12376
12311
  }
12377
- return _context15.abrupt("return", "INVALID API RESPONSE");
12312
+ return _context14.abrupt("return", "INVALID API RESPONSE");
12378
12313
 
12379
- case 31:
12380
- return _context15.abrupt("return", json.results.map((function(_ref4) {
12381
- var confirmations = _ref4.confirmations, dataDecoded = _ref4.dataDecoded, rest = _objectWithoutProperties(_ref4, _excluded);
12314
+ case 30:
12315
+ return _context14.abrupt("return", json.results.map((function(_ref5) {
12316
+ var confirmations = _ref5.confirmations, dataDecoded = _ref5.dataDecoded, rest = _objectWithoutProperties(_ref5, _excluded);
12382
12317
  return rest;
12383
12318
  })));
12384
12319
 
12385
- case 34:
12386
- _context15.prev = 34;
12387
- _context15.t0 = _context15["catch"](20);
12388
- console.log(_context15.t0);
12389
- return _context15.abrupt("return", "ERROR IN FETCHING");
12320
+ case 33:
12321
+ _context14.prev = 33;
12322
+ _context14.t0 = _context14["catch"](19);
12323
+ console.log(_context14.t0);
12324
+ return _context14.abrupt("return", "ERROR IN FETCHING");
12390
12325
 
12391
- case 38:
12326
+ case 37:
12392
12327
  case "end":
12393
- return _context15.stop();
12328
+ return _context14.stop();
12394
12329
  }
12395
- }), _callee13, null, [ [ 20, 34 ] ]);
12330
+ }), _callee12, null, [ [ 19, 33 ] ]);
12396
12331
  })));
12397
12332
  return _SAFE.apply(this, arguments);
12398
12333
  }
@@ -12420,8 +12355,6 @@ function _typeof(o) {
12420
12355
  exports.AVERAGEA = AVERAGEA;
12421
12356
  exports.AVERAGEIF = AVERAGEIF;
12422
12357
  exports.AVERAGEIFS = AVERAGEIFS;
12423
- exports.BASE = BASE;
12424
- exports.BASESCAN = BASESCAN;
12425
12358
  exports.BESSELI = BESSELI;
12426
12359
  exports.BESSELJ = BESSELJ;
12427
12360
  exports.BESSELK = BESSELK;
@@ -12560,8 +12493,8 @@ function _typeof(o) {
12560
12493
  exports.GCD = GCD;
12561
12494
  exports.GEOMEAN = GEOMEAN;
12562
12495
  exports.GESTEP = GESTEP;
12496
+ exports.GNOSIS = GNOSIS;
12563
12497
  exports.GNOSISPAY = GNOSISPAY;
12564
- exports.GNOSISSCAN = GNOSISSCAN;
12565
12498
  exports.GROWTH = GROWTH;
12566
12499
  exports.HARMEAN = HARMEAN;
12567
12500
  exports.HEX2BIN = HEX2BIN;
@@ -12807,6 +12740,5 @@ function _typeof(o) {
12807
12740
  exports.YEARFRAC = YEARFRAC;
12808
12741
  exports.Z = Z;
12809
12742
  exports.ZTEST = ZTEST;
12810
- exports._BLOCKSCOUT = _BLOCKSCOUT;
12811
12743
  exports.utils = utils;
12812
12744
  }));