@ape.swap/bonds-sdk 3.0.105-test.0 → 3.0.106-test.1

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.
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { SvgProps } from '../types';
3
+ declare const MEGAETH: React.FC<SvgProps>;
4
+ export default MEGAETH;
@@ -27,3 +27,4 @@ export { default as SONIC } from './SONIC';
27
27
  export { default as BERA } from './BERA';
28
28
  export { default as KATANA } from './KATANA';
29
29
  export { default as UNICHAIN } from './UNICHAIN';
30
+ export { default as MEGAETH } from './MEGAETH';
@@ -58,6 +58,7 @@ export declare enum icons {
58
58
  BERA = "bera",
59
59
  KATANA = "katana",
60
60
  UNICHAIN = "unichain",
61
+ MEGAETH = "megaeth",
61
62
  DISCORD = "discord",
62
63
  REDDIT = "reddit",
63
64
  MEDIUM = "medium",
package/dist/main.js CHANGED
@@ -3930,6 +3930,7 @@ var icons;
3930
3930
  icons["BERA"] = "bera";
3931
3931
  icons["KATANA"] = "katana";
3932
3932
  icons["UNICHAIN"] = "unichain";
3933
+ icons["MEGAETH"] = "megaeth";
3933
3934
  //Social media icons
3934
3935
  icons["DISCORD"] = "discord";
3935
3936
  icons["REDDIT"] = "reddit";
@@ -6796,6 +6797,10 @@ const UNICHAIN = ({ width }) => {
6796
6797
  return (jsx$2("svg", { width: width || '30', height: width || '30', viewBox: "0 0 64 64", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: jsxs("g", { children: [jsx$2("title", { children: "Layer 1" }), jsx$2("rect", { id: "svg_1", fill: "#f50db4", height: "64", width: "64" }), jsx$2("path", { id: "svg_2", fill: "white", d: "m52.00002,31.61947c-10.8407,0 -19.6195,-8.7876 -19.6195,-19.61945l-0.761,0l0,19.61945l-19.61954,0l0,0.7611c10.84074,0 19.61954,8.7876 19.61954,19.6194l0.761,0l0,-19.6194l19.6195,0l0,-0.7611z" })] }) }));
6797
6798
  };
6798
6799
 
6800
+ const MEGAETH = ({ width }) => {
6801
+ return (jsx$2("svg", { width: width || '30', height: width || '30', viewBox: "0 0 64 64", xmlns: "http://www.w3.org/2000/svg", fill: "none", children: jsxs("g", { children: [jsx$2("title", { children: "Layer 1" }), jsx$2("rect", { id: "svg_5", fill: "#ffffff", height: "64", width: "64" }), jsxs("g", { stroke: "null", id: "svg_5", children: [jsx$2("path", { stroke: "null", d: "m38.24969,49.75671c1.96553,0 3.55298,-1.58622 3.55298,-3.54292c0,-1.95669 -1.58744,-3.54298 -3.55298,-3.54298c-1.95035,0 -3.5378,1.58629 -3.5378,3.54298c0,1.95669 1.58744,3.54292 3.5378,3.54292z", fill: "#19191A", id: "svg_1" }), jsx$2("path", { stroke: "null", d: "m25.51759,49.8621c1.96547,0 3.53798,-1.58622 3.53798,-3.54298c0,-1.95669 -1.57251,-3.54292 -3.53798,-3.54292c-1.95035,0 -3.53786,1.58622 -3.53786,3.54292c0,1.95675 1.5875,3.54298 3.53786,3.54298z", fill: "#19191A", id: "svg_2" }), jsx$2("path", { stroke: "null", d: "m17.76006,12.84821l8.44063,0c1.5883,4.29684 5.73294,16.47116 6.03544,17.1495c0.07564,-0.33914 4.25045,-13.60646 5.43037,-17.0741l8.77336,0l0,30.26615c-1.0891,-0.60312 -2.17832,-1.20606 -3.35817,-1.88465c-0.81688,-0.41442 -1.57312,-0.86686 -2.40506,-1.20606c-0.07564,-5.87983 -0.15122,-11.722 -0.33274,-17.82796c-1.17986,3.50531 -5.24898,15.8681 -5.58178,16.2073l-5.43031,0c0,0 -5.27921,-15.00123 -5.53637,-15.67963c-0.07558,5.76677 -0.15122,11.53353 -0.34786,17.48882c-3.23706,1.65833 -5.15803,2.60066 -5.76305,2.82673l0,-30.26609l0.07552,0z", fill: "#19191A", id: "svg_3" }), jsx$2("path", { stroke: "null", d: "m32.00756,5.08833c14.80881,0 26.90999,12.06123 26.90999,26.91161c0,14.8505 -12.05583,26.9117 -26.90999,26.9117c-14.85416,0 -26.90996,-12.0612 -26.90996,-26.9117c0,-14.85038 12.0558,-26.91161 26.90996,-26.91161zm0,-5.08833c-17.68277,0 -32.00756,14.32277 -32.00756,31.99994c0,17.67723 14.32479,32.00006 32.00756,32.00006c17.66766,0 31.99244,-14.32283 31.99244,-32.00006c0,-17.67717 -14.32479,-31.99994 -31.99244,-31.99994z", fill: "#19191A", id: "svg_4" })] })] }) }));
6802
+ };
6803
+
6799
6804
  const Icon$a = ({ width }) => {
6800
6805
  return (jsxs("svg", { viewBox: "0 0 32 32", width: width || '128px', children: [jsx$2("path", { d: "M24 0H8C3.58172 0 0 3.58172 0 8V24C0 28.4183 3.58172 32 8 32H24C28.4183 32 32 28.4183 32 24V8C32 3.58172 28.4183 0 24 0Z", fill: "#1E2026" }), jsx$2("path", { d: "M16.2857 4L9.97035 7.6761L12.2922 9.03415L16.2857 6.7161L20.2792 9.03415L22.6011 7.6761L16.2857 4Z", fill: "#F0B90B" }), jsx$2("path", { d: "M20.2792 10.9541L22.6011 12.3122V15.0283L18.6075 17.3463V21.9824L16.2857 23.3405L13.9639 21.9824V17.3463L9.97035 15.0283V12.3122L12.2922 10.9541L16.2857 13.2722L20.2792 10.9541Z", fill: "#F0B90B" }), jsx$2("path", { d: "M22.6011 16.9483V19.6644L20.2792 21.0224V18.3063L22.6011 16.9483Z", fill: "#F0B90B" }), jsx$2("path", { d: "M20.2561 22.9424L24.2496 20.6244V15.9883L26.5714 14.6302V21.9824L20.2561 25.6585V22.9424Z", fill: "#F0B90B" }), jsx$2("path", { d: "M24.2496 11.3522L21.9278 9.99414L24.2496 8.63609L26.5714 9.99414V12.7102L24.2496 14.0683V11.3522Z", fill: "#F0B90B" }), jsx$2("path", { d: "M13.9639 26.642V23.9259L16.2857 25.2839L18.6075 23.9259V26.642L16.2857 28L13.9639 26.642Z", fill: "#F0B90B" }), jsx$2("path", { d: "M12.2922 21.0224L9.97035 19.6644V16.9483L12.2922 18.3063V21.0224Z", fill: "#F0B90B" }), jsx$2("path", { d: "M16.2857 11.3522L13.9639 9.99414L16.2857 8.63609L18.6075 9.99414L16.2857 11.3522Z", fill: "#F0B90B" }), jsx$2("path", { d: "M10.6437 9.99414L8.32183 11.3522V14.0683L6 12.7102V9.99414L8.32183 8.63609L10.6437 9.99414Z", fill: "#F0B90B" }), jsx$2("path", { d: "M6 14.6302L8.32183 15.9883V20.6244L12.3154 22.9424V25.6585L6 21.9824V14.6302Z", fill: "#F0B90B" })] }));
6801
6806
  };
@@ -7212,6 +7217,8 @@ const Svg = (_a) => {
7212
7217
  return jsx$2(KATANA, Object.assign({}, props, { getStyles: getStyles }));
7213
7218
  case icons.UNICHAIN:
7214
7219
  return jsx$2(UNICHAIN, Object.assign({}, props, { getStyles: getStyles }));
7220
+ case icons.MEGAETH:
7221
+ return jsx$2(MEGAETH, Object.assign({}, props, { getStyles: getStyles }));
7215
7222
  default:
7216
7223
  return null;
7217
7224
  }
@@ -7270,7 +7277,7 @@ const Checkbox = (_a) => {
7270
7277
  width: scaleSize,
7271
7278
  height: scaleSize,
7272
7279
  position: 'relative',
7273
- }, children: [jsx$2("input", Object.assign({ type: "checkbox", sx: { variant: 'checkbox', background: background, borderColor: 'white4' } }, props)), jsx$2("svg", { width: svgScale, viewBox: "0 0 13 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: jsx$2("path", { d: "M11.8132 0.171594C11.522 -0.0616871 11.0766 -0.046135 10.8025 0.218251L4.25899 6.76569L1.17566 4.46397C0.93585 4.27735 0.576128 4.2618 0.319184 4.43287C-0.00627898 4.63505 -0.0747974 5.0394 0.147888 5.33489L3.35113 9.4873C3.43677 9.59617 3.55668 9.70503 3.67659 9.78279C4.27612 10.156 5.09835 10.0161 5.50946 9.47175L5.56085 9.40954L11.9159 1.01141C12.1215 0.747022 12.0701 0.389324 11.8132 0.171594Z", fill: "#FAFAFA" }) })] }));
7280
+ }, children: [jsx$2("input", Object.assign({ type: "checkbox", sx: { variant: 'checkbox', background: background, borderColor: 'white4' } }, props)), jsx$2("svg", { width: svgScale || '13', viewBox: "0 0 13 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: jsx$2("path", { d: "M11.8132 0.171594C11.522 -0.0616871 11.0766 -0.046135 10.8025 0.218251L4.25899 6.76569L1.17566 4.46397C0.93585 4.27735 0.576128 4.2618 0.319184 4.43287C-0.00627898 4.63505 -0.0747974 5.0394 0.147888 5.33489L3.35113 9.4873C3.43677 9.59617 3.55668 9.70503 3.67659 9.78279C4.27612 10.156 5.09835 10.0161 5.50946 9.47175L5.56085 9.40954L11.9159 1.01141C12.1215 0.747022 12.0701 0.389324 11.8132 0.171594Z", fill: "#FAFAFA" }) })] }));
7274
7281
  };
7275
7282
 
7276
7283
  var animation;
@@ -17865,12 +17872,12 @@ var types = {};
17865
17872
  _20,
17866
17873
  _21,
17867
17874
  _22,
17868
- _23;
17869
- var _24,
17875
+ _23,
17876
+ _24,
17870
17877
  _25,
17871
17878
  _26,
17872
- _27,
17873
- _28,
17879
+ _27;
17880
+ var _28,
17874
17881
  _29,
17875
17882
  _30,
17876
17883
  _31,
@@ -17937,7 +17944,19 @@ var types = {};
17937
17944
  _92,
17938
17945
  _93,
17939
17946
  _94,
17940
- _95;
17947
+ _95,
17948
+ _96,
17949
+ _97,
17950
+ _98,
17951
+ _99,
17952
+ _100,
17953
+ _101,
17954
+ _102,
17955
+ _103,
17956
+ _104,
17957
+ _105,
17958
+ _106,
17959
+ _107;
17941
17960
  Object.defineProperty(exports, '__esModule', { value: true });
17942
17961
  exports.dexToZapMapping =
17943
17962
  exports.defaultDexFactories =
@@ -18005,6 +18024,7 @@ var types = {};
18005
18024
  ChainId[(ChainId['KATANA_TESTNET'] = 129399)] = 'KATANA_TESTNET';
18006
18025
  ChainId[(ChainId['KATANA'] = 747474)] = 'KATANA';
18007
18026
  ChainId[(ChainId['UNICHAIN'] = 130)] = 'UNICHAIN';
18027
+ ChainId[(ChainId['MEGAETH_TESTNET'] = 6342)] = 'MEGAETH_TESTNET';
18008
18028
  })((ChainId = exports.ChainId || (exports.ChainId = {})));
18009
18029
  var LiquidityDex
18010
18030
  ;(function (LiquidityDex) {
@@ -18012,6 +18032,7 @@ var types = {};
18012
18032
  LiquidityDex['ApeSwapV3'] = 'ApeSwapV3';
18013
18033
  LiquidityDex['PancakeSwapV2'] = 'PancakeSwapV2';
18014
18034
  LiquidityDex['PancakeSwapV3'] = 'PancakeSwapV3';
18035
+ LiquidityDex['SushiSwapV2'] = 'SushiSwapV2';
18015
18036
  LiquidityDex['SushiSwapV3'] = 'SushiSwapV3';
18016
18037
  LiquidityDex['UniswapV2'] = 'UniswapV2';
18017
18038
  LiquidityDex['ThenaV1'] = 'ThenaV1';
@@ -18164,6 +18185,7 @@ var types = {};
18164
18185
  BillArtCollection['GPT_Collection1'] = 'GPT_Collection1';
18165
18186
  BillArtCollection['GoldenTicket_Collection1'] = 'GoldenTicket_Collection1';
18166
18187
  BillArtCollection['Berachain_Collection1'] = 'Berachain_Collection1';
18188
+ BillArtCollection['HotBondingSummer_Collection1'] = 'HotBondingSummer_Collection1';
18167
18189
  })((BillArtCollection = exports.BillArtCollection || (exports.BillArtCollection = {})));
18168
18190
  exports.defaultBillArtCollection = BillArtCollection.ApeBond_Collection1;
18169
18191
  exports.MigrationVestingTerms = {
@@ -18463,296 +18485,347 @@ var types = {};
18463
18485
  protocol: Protocols.V3,
18464
18486
  }),
18465
18487
  _r)),
18466
- _a);
18467
- exports.defaultDexFactories =
18468
- ((_s = {}),
18469
- (_s[ChainId.MAINNET] =
18488
+ (_a[ChainId.KATANA] =
18489
+ ((_s = {}),
18490
+ (_s[LiquidityDex.SushiSwapV2] = {
18491
+ factory: '0x72D111b4d6f31B38919ae39779f570b747d6Acd9',
18492
+ router: '0x69cC349932ae18ED406eeB917d79b9b3033fB68E',
18493
+ protocol: Protocols.V2,
18494
+ }),
18495
+ (_s[LiquidityDex.SushiSwapV3] = {
18496
+ factory: '0x203e8740894c8955cB8950759876d7E7E45E04c1',
18497
+ protocol: Protocols.V3,
18498
+ }),
18499
+ _s)),
18500
+ (_a[ChainId.UNICHAIN] =
18470
18501
  ((_t = {}),
18471
- (_t[Protocols.V2] =
18472
- (_25 = (_24 = exports.dexFactories[ChainId.MAINNET]) === null || _24 === void 0 ? void 0 : _24.ApeSwapV2) ===
18473
- null || _25 === void 0
18474
- ? void 0
18475
- : _25.factory),
18476
- (_t[Protocols.V3] =
18477
- (_27 = (_26 = exports.dexFactories[ChainId.MAINNET]) === null || _26 === void 0 ? void 0 : _26.UniswapV3) ===
18478
- null || _27 === void 0
18479
- ? void 0
18480
- : _27.factory),
18502
+ (_t[LiquidityDex.UniswapV2] = {
18503
+ factory: '0x1f98400000000000000000000000000000000002',
18504
+ router: '0x284f11109359a7e1306c3e447ef14d38400063ff',
18505
+ protocol: Protocols.V2,
18506
+ }),
18507
+ (_t[LiquidityDex.UniswapV3] = {
18508
+ factory: '0x1f98400000000000000000000000000000000003',
18509
+ protocol: Protocols.V3,
18510
+ }),
18481
18511
  _t)),
18482
- (_s[ChainId.BSC] =
18483
- ((_u = {}),
18484
- (_u[Protocols.V2] =
18485
- (_29 = (_28 = exports.dexFactories[ChainId.BSC]) === null || _28 === void 0 ? void 0 : _28.ApeSwapV2) === null ||
18486
- _29 === void 0
18512
+ _a);
18513
+ exports.defaultDexFactories =
18514
+ ((_u = {}),
18515
+ (_u[ChainId.MAINNET] =
18516
+ ((_v = {}),
18517
+ (_v[Protocols.V2] =
18518
+ (_29 = (_28 = exports.dexFactories[ChainId.MAINNET]) === null || _28 === void 0 ? void 0 : _28.ApeSwapV2) ===
18519
+ null || _29 === void 0
18487
18520
  ? void 0
18488
18521
  : _29.factory),
18489
- (_u[Protocols.V3] =
18490
- (_31 = (_30 = exports.dexFactories[ChainId.BSC]) === null || _30 === void 0 ? void 0 : _30.UniswapV3) === null ||
18491
- _31 === void 0
18522
+ (_v[Protocols.V3] =
18523
+ (_31 = (_30 = exports.dexFactories[ChainId.MAINNET]) === null || _30 === void 0 ? void 0 : _30.UniswapV3) ===
18524
+ null || _31 === void 0
18492
18525
  ? void 0
18493
18526
  : _31.factory),
18494
- (_u[Protocols.Algebra] =
18495
- (_33 = (_32 = exports.dexFactories[ChainId.BSC]) === null || _32 === void 0 ? void 0 : _32.Algebra) === null ||
18527
+ _v)),
18528
+ (_u[ChainId.BSC] =
18529
+ ((_w = {}),
18530
+ (_w[Protocols.V2] =
18531
+ (_33 = (_32 = exports.dexFactories[ChainId.BSC]) === null || _32 === void 0 ? void 0 : _32.ApeSwapV2) === null ||
18496
18532
  _33 === void 0
18497
18533
  ? void 0
18498
18534
  : _33.factory),
18499
- (_u[Protocols.Solidly] =
18500
- (_35 = (_34 = exports.dexFactories[ChainId.BSC]) === null || _34 === void 0 ? void 0 : _34.ThenaV1) === null ||
18535
+ (_w[Protocols.V3] =
18536
+ (_35 = (_34 = exports.dexFactories[ChainId.BSC]) === null || _34 === void 0 ? void 0 : _34.UniswapV3) === null ||
18501
18537
  _35 === void 0
18502
18538
  ? void 0
18503
18539
  : _35.factory),
18504
- _u)),
18505
- (_s[ChainId.MATIC] =
18506
- ((_v = {}),
18507
- (_v[Protocols.V2] =
18508
- (_37 = (_36 = exports.dexFactories[ChainId.MATIC]) === null || _36 === void 0 ? void 0 : _36.ApeSwapV2) ===
18509
- null || _37 === void 0
18540
+ (_w[Protocols.Algebra] =
18541
+ (_37 = (_36 = exports.dexFactories[ChainId.BSC]) === null || _36 === void 0 ? void 0 : _36.Algebra) === null ||
18542
+ _37 === void 0
18510
18543
  ? void 0
18511
18544
  : _37.factory),
18512
- (_v[Protocols.V3] =
18513
- (_39 = (_38 = exports.dexFactories[ChainId.MATIC]) === null || _38 === void 0 ? void 0 : _38.UniswapV3) ===
18514
- null || _39 === void 0
18545
+ (_w[Protocols.Solidly] =
18546
+ (_39 = (_38 = exports.dexFactories[ChainId.BSC]) === null || _38 === void 0 ? void 0 : _38.ThenaV1) === null ||
18547
+ _39 === void 0
18515
18548
  ? void 0
18516
18549
  : _39.factory),
18517
- (_v[Protocols.Algebra] =
18518
- (_41 = (_40 = exports.dexFactories[ChainId.MATIC]) === null || _40 === void 0 ? void 0 : _40.Algebra) === null ||
18519
- _41 === void 0
18550
+ _w)),
18551
+ (_u[ChainId.MATIC] =
18552
+ ((_x = {}),
18553
+ (_x[Protocols.V2] =
18554
+ (_41 = (_40 = exports.dexFactories[ChainId.MATIC]) === null || _40 === void 0 ? void 0 : _40.ApeSwapV2) ===
18555
+ null || _41 === void 0
18520
18556
  ? void 0
18521
18557
  : _41.factory),
18522
- _v)),
18523
- (_s[ChainId.ARBITRUM] =
18524
- ((_w = {}),
18525
- (_w[Protocols.V2] =
18526
- (_43 = (_42 = exports.dexFactories[ChainId.ARBITRUM]) === null || _42 === void 0 ? void 0 : _42.ApeSwapV2) ===
18558
+ (_x[Protocols.V3] =
18559
+ (_43 = (_42 = exports.dexFactories[ChainId.MATIC]) === null || _42 === void 0 ? void 0 : _42.UniswapV3) ===
18527
18560
  null || _43 === void 0
18528
18561
  ? void 0
18529
18562
  : _43.factory),
18530
- (_w[Protocols.V3] =
18531
- (_45 = (_44 = exports.dexFactories[ChainId.ARBITRUM]) === null || _44 === void 0 ? void 0 : _44.UniswapV3) ===
18532
- null || _45 === void 0
18563
+ (_x[Protocols.Algebra] =
18564
+ (_45 = (_44 = exports.dexFactories[ChainId.MATIC]) === null || _44 === void 0 ? void 0 : _44.Algebra) === null ||
18565
+ _45 === void 0
18533
18566
  ? void 0
18534
18567
  : _45.factory),
18535
- (_w[Protocols.Algebra] =
18536
- (_47 = (_46 = exports.dexFactories[ChainId.ARBITRUM]) === null || _46 === void 0 ? void 0 : _46.Algebra) ===
18568
+ _x)),
18569
+ (_u[ChainId.ARBITRUM] =
18570
+ ((_y = {}),
18571
+ (_y[Protocols.V2] =
18572
+ (_47 = (_46 = exports.dexFactories[ChainId.ARBITRUM]) === null || _46 === void 0 ? void 0 : _46.ApeSwapV2) ===
18537
18573
  null || _47 === void 0
18538
18574
  ? void 0
18539
18575
  : _47.factory),
18540
- (_w[Protocols.Curve] =
18541
- (_49 = (_48 = exports.dexFactories[ChainId.ARBITRUM]) === null || _48 === void 0 ? void 0 : _48.Curve) === null ||
18542
- _49 === void 0
18576
+ (_y[Protocols.V3] =
18577
+ (_49 = (_48 = exports.dexFactories[ChainId.ARBITRUM]) === null || _48 === void 0 ? void 0 : _48.UniswapV3) ===
18578
+ null || _49 === void 0
18543
18579
  ? void 0
18544
18580
  : _49.factory),
18545
- _w)),
18546
- (_s[ChainId.LINEA] =
18547
- ((_x = {}),
18548
- (_x[Protocols.V2] =
18549
- (_51 = (_50 = exports.dexFactories[ChainId.LINEA]) === null || _50 === void 0 ? void 0 : _50.Spartadex) ===
18581
+ (_y[Protocols.Algebra] =
18582
+ (_51 = (_50 = exports.dexFactories[ChainId.ARBITRUM]) === null || _50 === void 0 ? void 0 : _50.Algebra) ===
18550
18583
  null || _51 === void 0
18551
18584
  ? void 0
18552
18585
  : _51.factory),
18553
- (_x[Protocols.V3] =
18554
- (_53 = (_52 = exports.dexFactories[ChainId.LINEA]) === null || _52 === void 0 ? void 0 : _52.Nile) === null ||
18586
+ (_y[Protocols.Curve] =
18587
+ (_53 = (_52 = exports.dexFactories[ChainId.ARBITRUM]) === null || _52 === void 0 ? void 0 : _52.Curve) === null ||
18555
18588
  _53 === void 0
18556
18589
  ? void 0
18557
18590
  : _53.factory),
18558
- (_x[Protocols.Algebra] =
18559
- (_55 = (_54 = exports.dexFactories[ChainId.LINEA]) === null || _54 === void 0 ? void 0 : _54.Algebra) === null ||
18560
- _55 === void 0
18591
+ _y)),
18592
+ (_u[ChainId.LINEA] =
18593
+ ((_z = {}),
18594
+ (_z[Protocols.V2] =
18595
+ (_55 = (_54 = exports.dexFactories[ChainId.LINEA]) === null || _54 === void 0 ? void 0 : _54.Spartadex) ===
18596
+ null || _55 === void 0
18561
18597
  ? void 0
18562
18598
  : _55.factory),
18563
- (_x[Protocols.Solidly] =
18564
- (_57 = (_56 = exports.dexFactories[ChainId.LINEA]) === null || _56 === void 0 ? void 0 : _56.Lynex) === null ||
18599
+ (_z[Protocols.V3] =
18600
+ (_57 = (_56 = exports.dexFactories[ChainId.LINEA]) === null || _56 === void 0 ? void 0 : _56.Nile) === null ||
18565
18601
  _57 === void 0
18566
18602
  ? void 0
18567
18603
  : _57.factory),
18568
- (_x[Protocols.XFAI] =
18569
- (_59 = (_58 = exports.dexFactories[ChainId.LINEA]) === null || _58 === void 0 ? void 0 : _58.XFAI) === null ||
18604
+ (_z[Protocols.Algebra] =
18605
+ (_59 = (_58 = exports.dexFactories[ChainId.LINEA]) === null || _58 === void 0 ? void 0 : _58.Algebra) === null ||
18570
18606
  _59 === void 0
18571
18607
  ? void 0
18572
18608
  : _59.factory),
18573
- _x)),
18574
- (_s[ChainId.LIGHTLINK] =
18575
- ((_y = {}),
18576
- (_y[Protocols.V3] =
18577
- (_61 = (_60 = exports.dexFactories[ChainId.LIGHTLINK]) === null || _60 === void 0 ? void 0 : _60.Elektrik) ===
18578
- null || _61 === void 0
18609
+ (_z[Protocols.Solidly] =
18610
+ (_61 = (_60 = exports.dexFactories[ChainId.LINEA]) === null || _60 === void 0 ? void 0 : _60.Lynex) === null ||
18611
+ _61 === void 0
18579
18612
  ? void 0
18580
18613
  : _61.factory),
18581
- _y)),
18582
- (_s[ChainId.BASE] =
18583
- ((_z = {}),
18584
- (_z[Protocols.V2] =
18585
- (_63 = (_62 = exports.dexFactories[ChainId.BASE]) === null || _62 === void 0 ? void 0 : _62.SmarDex) === null ||
18614
+ (_z[Protocols.XFAI] =
18615
+ (_63 = (_62 = exports.dexFactories[ChainId.LINEA]) === null || _62 === void 0 ? void 0 : _62.XFAI) === null ||
18586
18616
  _63 === void 0
18587
18617
  ? void 0
18588
18618
  : _63.factory),
18589
- (_z[Protocols.V3] =
18590
- (_65 = (_64 = exports.dexFactories[ChainId.BASE]) === null || _64 === void 0 ? void 0 : _64.UniswapV3) === null ||
18591
- _65 === void 0
18619
+ _z)),
18620
+ (_u[ChainId.LIGHTLINK] =
18621
+ ((_0 = {}),
18622
+ (_0[Protocols.V3] =
18623
+ (_65 = (_64 = exports.dexFactories[ChainId.LIGHTLINK]) === null || _64 === void 0 ? void 0 : _64.Elektrik) ===
18624
+ null || _65 === void 0
18592
18625
  ? void 0
18593
18626
  : _65.factory),
18594
- (_z[Protocols.Algebra] =
18595
- (_67 = (_66 = exports.dexFactories[ChainId.BASE]) === null || _66 === void 0 ? void 0 : _66.Algebra) === null ||
18627
+ _0)),
18628
+ (_u[ChainId.BASE] =
18629
+ ((_1 = {}),
18630
+ (_1[Protocols.V2] =
18631
+ (_67 = (_66 = exports.dexFactories[ChainId.BASE]) === null || _66 === void 0 ? void 0 : _66.SmarDex) === null ||
18596
18632
  _67 === void 0
18597
18633
  ? void 0
18598
18634
  : _67.factory),
18599
- (_z[Protocols.Solidly] =
18600
- (_69 = (_68 = exports.dexFactories[ChainId.BASE]) === null || _68 === void 0 ? void 0 : _68.Aerodrome) === null ||
18635
+ (_1[Protocols.V3] =
18636
+ (_69 = (_68 = exports.dexFactories[ChainId.BASE]) === null || _68 === void 0 ? void 0 : _68.UniswapV3) === null ||
18601
18637
  _69 === void 0
18602
18638
  ? void 0
18603
18639
  : _69.factory),
18604
- _z)),
18605
- (_s[ChainId.IOTA] =
18606
- ((_0 = {}),
18607
- (_0[Protocols.V2] =
18608
- (_71 = (_70 = exports.dexFactories[ChainId.IOTA]) === null || _70 === void 0 ? void 0 : _70.MagicSea) === null ||
18640
+ (_1[Protocols.Algebra] =
18641
+ (_71 = (_70 = exports.dexFactories[ChainId.BASE]) === null || _70 === void 0 ? void 0 : _70.Algebra) === null ||
18609
18642
  _71 === void 0
18610
18643
  ? void 0
18611
18644
  : _71.factory),
18612
- _0)),
18613
- (_s[ChainId.AVAX] =
18614
- ((_1 = {}),
18615
- (_1[Protocols.V2] =
18616
- (_73 = (_72 = exports.dexFactories[ChainId.AVAX]) === null || _72 === void 0 ? void 0 : _72.LFJ) === null ||
18645
+ (_1[Protocols.Solidly] =
18646
+ (_73 = (_72 = exports.dexFactories[ChainId.BASE]) === null || _72 === void 0 ? void 0 : _72.Aerodrome) === null ||
18617
18647
  _73 === void 0
18618
18648
  ? void 0
18619
18649
  : _73.factory),
18620
- (_1[Protocols.V3] =
18621
- (_75 = (_74 = exports.dexFactories[ChainId.AVAX]) === null || _74 === void 0 ? void 0 : _74.Pharaoh) === null ||
18622
- _75 === void 0
18623
- ? void 0
18624
- : _75.factory),
18625
18650
  _1)),
18626
- (_s[ChainId.BLAST] =
18651
+ (_u[ChainId.IOTA] =
18627
18652
  ((_2 = {}),
18628
18653
  (_2[Protocols.V2] =
18629
- (_77 = (_76 = exports.dexFactories[ChainId.BLAST]) === null || _76 === void 0 ? void 0 : _76.ThrusterV2_03) ===
18630
- null || _77 === void 0
18631
- ? void 0
18632
- : _77.factory),
18633
- (_2[Protocols.V3] =
18634
- (_79 = (_78 = exports.dexFactories[ChainId.BLAST]) === null || _78 === void 0 ? void 0 : _78.ThrusterV3) ===
18635
- null || _79 === void 0
18654
+ (_75 = (_74 = exports.dexFactories[ChainId.IOTA]) === null || _74 === void 0 ? void 0 : _74.MagicSea) === null ||
18655
+ _75 === void 0
18636
18656
  ? void 0
18637
- : _79.factory),
18657
+ : _75.factory),
18638
18658
  _2)),
18639
- (_s[ChainId.SINGULARITY_TESTNET] =
18659
+ (_u[ChainId.AVAX] =
18640
18660
  ((_3 = {}),
18641
18661
  (_3[Protocols.V2] =
18642
- (_81 =
18643
- (_80 = exports.dexFactories[ChainId.SINGULARITY_TESTNET]) === null || _80 === void 0 ? void 0 : _80.Citea) ===
18644
- null || _81 === void 0
18662
+ (_77 = (_76 = exports.dexFactories[ChainId.AVAX]) === null || _76 === void 0 ? void 0 : _76.LFJ) === null ||
18663
+ _77 === void 0
18645
18664
  ? void 0
18646
- : _81.factory),
18665
+ : _77.factory),
18666
+ (_3[Protocols.V3] =
18667
+ (_79 = (_78 = exports.dexFactories[ChainId.AVAX]) === null || _78 === void 0 ? void 0 : _78.Pharaoh) === null ||
18668
+ _79 === void 0
18669
+ ? void 0
18670
+ : _79.factory),
18647
18671
  _3)),
18648
- (_s[ChainId.CROSSFI] =
18672
+ (_u[ChainId.BLAST] =
18649
18673
  ((_4 = {}),
18650
18674
  (_4[Protocols.V2] =
18651
- (_83 = (_82 = exports.dexFactories[ChainId.CROSSFI]) === null || _82 === void 0 ? void 0 : _82.XSwap) === null ||
18652
- _83 === void 0
18675
+ (_81 = (_80 = exports.dexFactories[ChainId.BLAST]) === null || _80 === void 0 ? void 0 : _80.ThrusterV2_03) ===
18676
+ null || _81 === void 0
18677
+ ? void 0
18678
+ : _81.factory),
18679
+ (_4[Protocols.V3] =
18680
+ (_83 = (_82 = exports.dexFactories[ChainId.BLAST]) === null || _82 === void 0 ? void 0 : _82.ThrusterV3) ===
18681
+ null || _83 === void 0
18653
18682
  ? void 0
18654
18683
  : _83.factory),
18655
18684
  _4)),
18656
- (_s[ChainId.SONIC] =
18685
+ (_u[ChainId.SINGULARITY_TESTNET] =
18657
18686
  ((_5 = {}),
18658
- (_5[Protocols.Solidly] =
18659
- (_85 = (_84 = exports.dexFactories[ChainId.SONIC]) === null || _84 === void 0 ? void 0 : _84.ShadowExchange) ===
18687
+ (_5[Protocols.V2] =
18688
+ (_85 =
18689
+ (_84 = exports.dexFactories[ChainId.SINGULARITY_TESTNET]) === null || _84 === void 0 ? void 0 : _84.Citea) ===
18660
18690
  null || _85 === void 0
18661
18691
  ? void 0
18662
18692
  : _85.factory),
18663
- (_5[Protocols.V3] =
18664
- (_87 = (_86 = exports.dexFactories[ChainId.SONIC]) === null || _86 === void 0 ? void 0 : _86.Wagmi) === null ||
18693
+ _5)),
18694
+ (_u[ChainId.CROSSFI] =
18695
+ ((_6 = {}),
18696
+ (_6[Protocols.V2] =
18697
+ (_87 = (_86 = exports.dexFactories[ChainId.CROSSFI]) === null || _86 === void 0 ? void 0 : _86.XSwap) === null ||
18665
18698
  _87 === void 0
18666
18699
  ? void 0
18667
18700
  : _87.factory),
18668
- (_5[Protocols.AlgebraIntegral] =
18669
- (_89 =
18670
- (_88 = exports.dexFactories[ChainId.SONIC]) === null || _88 === void 0 ? void 0 : _88.SwapXAlgebraIntegral) ===
18701
+ _6)),
18702
+ (_u[ChainId.SONIC] =
18703
+ ((_7 = {}),
18704
+ (_7[Protocols.Solidly] =
18705
+ (_89 = (_88 = exports.dexFactories[ChainId.SONIC]) === null || _88 === void 0 ? void 0 : _88.ShadowExchange) ===
18671
18706
  null || _89 === void 0
18672
18707
  ? void 0
18673
18708
  : _89.factory),
18674
- _5)),
18675
- (_s[ChainId.MONAD_TESTNET] =
18676
- ((_6 = {}),
18677
- (_6[Protocols.V2] =
18678
- (_91 = (_90 = exports.dexFactories[ChainId.MONAD_TESTNET]) === null || _90 === void 0 ? void 0 : _90.LFJ) ===
18679
- null || _91 === void 0
18709
+ (_7[Protocols.V3] =
18710
+ (_91 = (_90 = exports.dexFactories[ChainId.SONIC]) === null || _90 === void 0 ? void 0 : _90.Wagmi) === null ||
18711
+ _91 === void 0
18680
18712
  ? void 0
18681
18713
  : _91.factory),
18682
- _6)),
18683
- (_s[ChainId.BERACHAIN] =
18684
- ((_7 = {}),
18685
- (_7[Protocols.V2] =
18686
- (_93 = (_92 = exports.dexFactories[ChainId.BERACHAIN]) === null || _92 === void 0 ? void 0 : _92.KodiakV2) ===
18714
+ (_7[Protocols.AlgebraIntegral] =
18715
+ (_93 =
18716
+ (_92 = exports.dexFactories[ChainId.SONIC]) === null || _92 === void 0 ? void 0 : _92.SwapXAlgebraIntegral) ===
18687
18717
  null || _93 === void 0
18688
18718
  ? void 0
18689
18719
  : _93.factory),
18690
- (_7[Protocols.V3] =
18691
- (_95 = (_94 = exports.dexFactories[ChainId.BERACHAIN]) === null || _94 === void 0 ? void 0 : _94.KodiakV3) ===
18720
+ _7)),
18721
+ (_u[ChainId.MONAD_TESTNET] =
18722
+ ((_8 = {}),
18723
+ (_8[Protocols.V2] =
18724
+ (_95 = (_94 = exports.dexFactories[ChainId.MONAD_TESTNET]) === null || _94 === void 0 ? void 0 : _94.LFJ) ===
18692
18725
  null || _95 === void 0
18693
18726
  ? void 0
18694
18727
  : _95.factory),
18695
- _7)),
18696
- _s);
18697
- exports.dexToZapMapping =
18698
- ((_8 = {}),
18699
- (_8[LiquidityDex.ApeSwapV2] =
18728
+ _8)),
18729
+ (_u[ChainId.BERACHAIN] =
18700
18730
  ((_9 = {}),
18701
- (_9[ChainId.BSC] = ZapVersion.SoulZap),
18702
- (_9[ChainId.BSC_TESTNET] = ZapVersion.ZapV1),
18703
- (_9[ChainId.MATIC] = ZapVersion.ZapV1),
18704
- (_9[ChainId.MATIC_TESTNET] = ZapVersion.ZapV1),
18705
- (_9[ChainId.MAINNET] = ZapVersion.ZapV1),
18706
- (_9[ChainId.ARBITRUM] = ZapVersion.External),
18707
- (_9[ChainId.TLOS] = ZapVersion.ZapV1),
18731
+ (_9[Protocols.V2] =
18732
+ (_97 = (_96 = exports.dexFactories[ChainId.BERACHAIN]) === null || _96 === void 0 ? void 0 : _96.KodiakV2) ===
18733
+ null || _97 === void 0
18734
+ ? void 0
18735
+ : _97.factory),
18736
+ (_9[Protocols.V3] =
18737
+ (_99 = (_98 = exports.dexFactories[ChainId.BERACHAIN]) === null || _98 === void 0 ? void 0 : _98.KodiakV3) ===
18738
+ null || _99 === void 0
18739
+ ? void 0
18740
+ : _99.factory),
18708
18741
  _9)),
18709
- (_8[LiquidityDex.Algebra] =
18742
+ (_u[ChainId.KATANA] =
18710
18743
  ((_10 = {}),
18711
- (_10[ChainId.BSC] = ZapVersion.SoulZapApi),
18712
- (_10[ChainId.MATIC] = ZapVersion.SoulZapApi),
18713
- (_10[ChainId.LINEA] = ZapVersion.SoulZapApi),
18744
+ (_10[Protocols.V2] =
18745
+ (_101 = (_100 = exports.dexFactories[ChainId.KATANA]) === null || _100 === void 0 ? void 0 : _100.SushiSwapV2) ===
18746
+ null || _101 === void 0
18747
+ ? void 0
18748
+ : _101.factory),
18749
+ (_10[Protocols.V3] =
18750
+ (_103 = (_102 = exports.dexFactories[ChainId.KATANA]) === null || _102 === void 0 ? void 0 : _102.SushiSwapV3) ===
18751
+ null || _103 === void 0
18752
+ ? void 0
18753
+ : _103.factory),
18714
18754
  _10)),
18715
- (_8[LiquidityDex.PancakeSwapV2] =
18716
- ((_11 = {}), (_11[ChainId.BSC] = ZapVersion.SoulZap), (_11[ChainId.MAINNET] = ZapVersion.External), _11)),
18717
- (_8[LiquidityDex.QuickswapV2] = ((_12 = {}), (_12[ChainId.MATIC] = ZapVersion.SoulZap), _12)),
18718
- (_8[LiquidityDex.ApeSwapV3] = {}),
18719
- (_8[LiquidityDex.UniswapV3] =
18720
- ((_13 = {}), (_13[ChainId.ARBITRUM] = ZapVersion.SoulZapApi), (_13[ChainId.MATIC] = ZapVersion.SoulZapApi), _13)),
18721
- (_8[LiquidityDex.ThenaV1] = ((_14 = {}), (_14[ChainId.BSC] = ZapVersion.SoulZapApi), _14)),
18722
- (_8[LiquidityDex.UniswapV2] = ((_15 = {}), (_15[ChainId.BASE] = ZapVersion.SoulZapApi), _15)),
18723
- (_8[LiquidityDex.PancakeSwapV3] = {}),
18724
- (_8[LiquidityDex.External] = {}),
18725
- (_8[LiquidityDex.Spartadex] = {}),
18726
- (_8[LiquidityDex.Nile] = {}),
18727
- (_8[LiquidityDex.XFAI] = {}),
18728
- (_8[LiquidityDex.Lynex] = {}),
18729
- (_8[LiquidityDex.Metavault] = {}),
18730
- (_8[LiquidityDex.Elektrik] = {}),
18731
- (_8[LiquidityDex.SushiSwapV3] = {}),
18732
- (_8[LiquidityDex.Synthswap] = {}),
18733
- (_8[LiquidityDex.Aerodrome] = ((_16 = {}), (_16[ChainId.BASE] = ZapVersion.SoulZapApi), _16)),
18734
- (_8[LiquidityDex.SmarDex] = {}),
18735
- (_8[LiquidityDex.MagicSea] = ((_17 = {}), (_17[ChainId.IOTA] = ZapVersion.External), _17)),
18736
- (_8[LiquidityDex.Wagmi] = ((_18 = {}), (_18[ChainId.IOTA] = ZapVersion.External), _18)),
18737
- (_8[LiquidityDex.CamelotV2] = ((_19 = {}), (_19[ChainId.ARBITRUM] = ZapVersion.SoulZapApi), _19)),
18738
- (_8[LiquidityDex.LFJ] = ((_20 = {}), (_20[ChainId.AVAX] = ZapVersion.SoulZapApi), _20)),
18739
- (_8[LiquidityDex.Pharaoh] = {}),
18740
- (_8[LiquidityDex.Pangolin] = ((_21 = {}), (_21[ChainId.AVAX] = ZapVersion.SoulZapApi), _21)),
18741
- (_8[LiquidityDex.Curve] = {}),
18742
- (_8[LiquidityDex.ThrusterV2_03] = ((_22 = {}), (_22[ChainId.BLAST] = ZapVersion.SoulZapApi), _22)),
18743
- (_8[LiquidityDex.ThrusterV2_1] = ((_23 = {}), (_23[ChainId.BLAST] = ZapVersion.SoulZapApi), _23)),
18744
- (_8[LiquidityDex.ThrusterV3] = {}),
18745
- (_8[LiquidityDex.Citea] = {}),
18746
- (_8[LiquidityDex.XSwap] = {}),
18747
- (_8[LiquidityDex.ShadowExchange] = {}),
18748
- (_8[LiquidityDex.SwapX] = {}),
18749
- (_8[LiquidityDex.SwapXAlgebraIntegral] = {}),
18750
- (_8[LiquidityDex.TrebleSwapV2] = {}),
18751
- (_8[LiquidityDex.TrebleAlgebraIntegral] = {}),
18752
- (_8[LiquidityDex.KodiakV2] = {}),
18753
- (_8[LiquidityDex.KodiakV3] = {}),
18754
- (_8[LiquidityDex.Equalizer] = {}),
18755
- _8);
18755
+ (_u[ChainId.UNICHAIN] =
18756
+ ((_11 = {}),
18757
+ (_11[Protocols.V2] =
18758
+ (_105 = (_104 = exports.dexFactories[ChainId.UNICHAIN]) === null || _104 === void 0 ? void 0 : _104.UniswapV2) ===
18759
+ null || _105 === void 0
18760
+ ? void 0
18761
+ : _105.factory),
18762
+ (_11[Protocols.V3] =
18763
+ (_107 = (_106 = exports.dexFactories[ChainId.UNICHAIN]) === null || _106 === void 0 ? void 0 : _106.UniswapV3) ===
18764
+ null || _107 === void 0
18765
+ ? void 0
18766
+ : _107.factory),
18767
+ _11)),
18768
+ _u);
18769
+ exports.dexToZapMapping =
18770
+ ((_12 = {}),
18771
+ (_12[LiquidityDex.ApeSwapV2] =
18772
+ ((_13 = {}),
18773
+ (_13[ChainId.BSC] = ZapVersion.SoulZap),
18774
+ (_13[ChainId.BSC_TESTNET] = ZapVersion.ZapV1),
18775
+ (_13[ChainId.MATIC] = ZapVersion.ZapV1),
18776
+ (_13[ChainId.MATIC_TESTNET] = ZapVersion.ZapV1),
18777
+ (_13[ChainId.MAINNET] = ZapVersion.ZapV1),
18778
+ (_13[ChainId.ARBITRUM] = ZapVersion.External),
18779
+ (_13[ChainId.TLOS] = ZapVersion.ZapV1),
18780
+ _13)),
18781
+ (_12[LiquidityDex.Algebra] =
18782
+ ((_14 = {}),
18783
+ (_14[ChainId.BSC] = ZapVersion.SoulZapApi),
18784
+ (_14[ChainId.MATIC] = ZapVersion.SoulZapApi),
18785
+ (_14[ChainId.LINEA] = ZapVersion.SoulZapApi),
18786
+ _14)),
18787
+ (_12[LiquidityDex.PancakeSwapV2] =
18788
+ ((_15 = {}), (_15[ChainId.BSC] = ZapVersion.SoulZap), (_15[ChainId.MAINNET] = ZapVersion.External), _15)),
18789
+ (_12[LiquidityDex.QuickswapV2] = ((_16 = {}), (_16[ChainId.MATIC] = ZapVersion.SoulZap), _16)),
18790
+ (_12[LiquidityDex.ApeSwapV3] = {}),
18791
+ (_12[LiquidityDex.UniswapV3] =
18792
+ ((_17 = {}), (_17[ChainId.ARBITRUM] = ZapVersion.SoulZapApi), (_17[ChainId.MATIC] = ZapVersion.SoulZapApi), _17)),
18793
+ (_12[LiquidityDex.ThenaV1] = ((_18 = {}), (_18[ChainId.BSC] = ZapVersion.SoulZapApi), _18)),
18794
+ (_12[LiquidityDex.UniswapV2] = ((_19 = {}), (_19[ChainId.BASE] = ZapVersion.SoulZapApi), _19)),
18795
+ (_12[LiquidityDex.PancakeSwapV3] = {}),
18796
+ (_12[LiquidityDex.External] = {}),
18797
+ (_12[LiquidityDex.Spartadex] = {}),
18798
+ (_12[LiquidityDex.Nile] = {}),
18799
+ (_12[LiquidityDex.XFAI] = {}),
18800
+ (_12[LiquidityDex.Lynex] = {}),
18801
+ (_12[LiquidityDex.Metavault] = {}),
18802
+ (_12[LiquidityDex.Elektrik] = {}),
18803
+ (_12[LiquidityDex.SushiSwapV2] = {}),
18804
+ (_12[LiquidityDex.SushiSwapV3] = {}),
18805
+ (_12[LiquidityDex.Synthswap] = {}),
18806
+ (_12[LiquidityDex.Aerodrome] = ((_20 = {}), (_20[ChainId.BASE] = ZapVersion.SoulZapApi), _20)),
18807
+ (_12[LiquidityDex.SmarDex] = {}),
18808
+ (_12[LiquidityDex.MagicSea] = ((_21 = {}), (_21[ChainId.IOTA] = ZapVersion.External), _21)),
18809
+ (_12[LiquidityDex.Wagmi] = ((_22 = {}), (_22[ChainId.IOTA] = ZapVersion.External), _22)),
18810
+ (_12[LiquidityDex.CamelotV2] = ((_23 = {}), (_23[ChainId.ARBITRUM] = ZapVersion.SoulZapApi), _23)),
18811
+ (_12[LiquidityDex.LFJ] = ((_24 = {}), (_24[ChainId.AVAX] = ZapVersion.SoulZapApi), _24)),
18812
+ (_12[LiquidityDex.Pharaoh] = {}),
18813
+ (_12[LiquidityDex.Pangolin] = ((_25 = {}), (_25[ChainId.AVAX] = ZapVersion.SoulZapApi), _25)),
18814
+ (_12[LiquidityDex.Curve] = {}),
18815
+ (_12[LiquidityDex.ThrusterV2_03] = ((_26 = {}), (_26[ChainId.BLAST] = ZapVersion.SoulZapApi), _26)),
18816
+ (_12[LiquidityDex.ThrusterV2_1] = ((_27 = {}), (_27[ChainId.BLAST] = ZapVersion.SoulZapApi), _27)),
18817
+ (_12[LiquidityDex.ThrusterV3] = {}),
18818
+ (_12[LiquidityDex.Citea] = {}),
18819
+ (_12[LiquidityDex.XSwap] = {}),
18820
+ (_12[LiquidityDex.ShadowExchange] = {}),
18821
+ (_12[LiquidityDex.SwapX] = {}),
18822
+ (_12[LiquidityDex.SwapXAlgebraIntegral] = {}),
18823
+ (_12[LiquidityDex.TrebleSwapV2] = {}),
18824
+ (_12[LiquidityDex.TrebleAlgebraIntegral] = {}),
18825
+ (_12[LiquidityDex.KodiakV2] = {}),
18826
+ (_12[LiquidityDex.KodiakV3] = {}),
18827
+ (_12[LiquidityDex.Equalizer] = {}),
18828
+ _12);
18756
18829
 
18757
18830
  } (types));
18758
18831
 
@@ -18776,6 +18849,7 @@ const MAINNET_CHAINS = [
18776
18849
  types.ChainId.BERACHAIN,
18777
18850
  types.ChainId.KATANA,
18778
18851
  types.ChainId.UNICHAIN,
18852
+ types.ChainId.MEGAETH_TESTNET,
18779
18853
  ];
18780
18854
  const TESTNET_CHAINS = [types.ChainId.MONAD_TESTNET];
18781
18855
  // Network Icons
@@ -18800,6 +18874,7 @@ const NETWORK_ICONS = {
18800
18874
  [types.ChainId.BERACHAIN]: icons.BERA,
18801
18875
  [types.ChainId.KATANA]: icons.KATANA,
18802
18876
  [types.ChainId.UNICHAIN]: icons.UNICHAIN,
18877
+ [types.ChainId.MEGAETH_TESTNET]: icons.MEGAETH,
18803
18878
  };
18804
18879
  // Network labels
18805
18880
  const NETWORK_LABEL = {
@@ -18825,6 +18900,7 @@ const NETWORK_LABEL = {
18825
18900
  [types.ChainId.BERACHAIN]: 'Berachain',
18826
18901
  [types.ChainId.KATANA]: 'Katana',
18827
18902
  [types.ChainId.UNICHAIN]: 'Unichain',
18903
+ [types.ChainId.MEGAETH_TESTNET]: 'Megaeth Testnet',
18828
18904
  };
18829
18905
  // Network block explorers
18830
18906
  const BLOCK_EXPLORER = {
@@ -18850,6 +18926,7 @@ const BLOCK_EXPLORER = {
18850
18926
  [types.ChainId.BERACHAIN]: 'https://berascan.com',
18851
18927
  [types.ChainId.KATANA]: 'https://explorer.katanarpc.com',
18852
18928
  [types.ChainId.UNICHAIN]: 'https://uniscan.xyz',
18929
+ [types.ChainId.MEGAETH_TESTNET]: 'https://megaexplorer.xyz',
18853
18930
  };
18854
18931
 
18855
18932
  const supportedByLIFI = [
@@ -19049,6 +19126,7 @@ const NETWORK_COLORS = {
19049
19126
  [types.ChainId.BERACHAIN]: '#783e244d',
19050
19127
  [types.ChainId.KATANA]: '#068be34d',
19051
19128
  [types.ChainId.UNICHAIN]: '#f50db44d',
19129
+ [types.ChainId.MEGAETH_TESTNET]: '#DFD9D94d',
19052
19130
  };
19053
19131
  const TokenInfoAndName = ({ tokenSymbol, chain, tag, vestEnds, isHotBond, }) => {
19054
19132
  return (jsxs(Flex, { className: "tokeninfoname container", children: [jsx$2(Flex, { sx: {
@@ -19074,7 +19152,7 @@ const TokenInfoAndName = ({ tokenSymbol, chain, tag, vestEnds, isHotBond, }) =>
19074
19152
  };
19075
19153
 
19076
19154
  /*
19077
- * bignumber.js v9.3.1
19155
+ * bignumber.js v9.3.0
19078
19156
  * A JavaScript library for arbitrary-precision arithmetic.
19079
19157
  * https://github.com/MikeMcl/bignumber.js
19080
19158
  * Copyright (c) 2025 Michael Mclaughlin <M8ch88l@gmail.com>
@@ -20342,7 +20420,7 @@ function clone$2(configObject) {
20342
20420
 
20343
20421
  // Fixed-point notation.
20344
20422
  } else {
20345
- i -= ne + (id === 2 && e > ne);
20423
+ i -= ne;
20346
20424
  str = toFixedPoint(str, e, '0');
20347
20425
 
20348
20426
  // Append zeros?
@@ -22515,6 +22593,7 @@ const MULTICALL_V2 = {
22515
22593
  [types.ChainId.BERACHAIN]: '0xcA11bde05977b3631167028862bE2a173976CA11',
22516
22594
  [types.ChainId.KATANA]: '0xcA11bde05977b3631167028862bE2a173976CA11',
22517
22595
  [types.ChainId.UNICHAIN]: '0xcA11bde05977b3631167028862bE2a173976CA11',
22596
+ [types.ChainId.MEGAETH_TESTNET]: '0xcA11bde05977b3631167028862bE2a173976CA11',
22518
22597
  };
22519
22598
  const SoulZapTokenManager = {
22520
22599
  [types.ChainId.MAINNET]: '0x2F87f76336A560bbB0d18d357D10646bB96E8802',
@@ -58333,6 +58412,7 @@ const PUBLIC_RPC_URLS = {
58333
58412
  [types.ChainId.BERACHAIN]: ['https://rpc.berachain.com'],
58334
58413
  [types.ChainId.KATANA]: ['https://rpc-katana.t.conduit.xyz/NRcSLqEG4Hw55GzTSu6Sratq94kKtUGfH'],
58335
58414
  [types.ChainId.UNICHAIN]: ['https://unichain.drpc.org'],
58415
+ [types.ChainId.MEGAETH_TESTNET]: ['https://carrot.megaeth.com/rpc'],
58336
58416
  };
58337
58417
 
58338
58418
  // This is the legacy multicall
@@ -58382,7 +58462,7 @@ const stagingUrls = {
58382
58462
  };
58383
58463
  const useSDKConfig = (config) => {
58384
58464
  const urls = process.env.NODE_ENV === 'production' ? defaultUrls : stagingUrls;
58385
- const initialData = Object.assign(Object.assign({ referenceId: '', chains: [], hotBondChains: [types.ChainId.BSC, types.ChainId.MATIC], useHotBonds: true, connector: 'default', useTiers: false, useTGEBonds: false, showLowValueBonds: false, bondPartner: undefined, namingPreference: 'Bonus' }, config), { urls: Object.assign(Object.assign({}, urls), config === null || config === void 0 ? void 0 : config.urls), highestCompatibleVersion: '2.1.3' });
58465
+ const initialData = Object.assign(Object.assign({ referenceId: '', chains: [], hotBondChains: [types.ChainId.BSC, types.ChainId.MATIC], useHotBonds: true, useRainbowKit: false, useTiers: false, useTGEBonds: false, showLowValueBonds: false, bondPartner: undefined, namingPreference: 'Bonus' }, config), { urls: Object.assign(Object.assign({}, urls), config === null || config === void 0 ? void 0 : config.urls), highestCompatibleVersion: '2.1.3' });
58386
58466
  const { data } = useQuery({
58387
58467
  queryKey: [QUERY_KEYS.SDK_CONFIG],
58388
58468
  queryFn: () => {
@@ -70610,13 +70690,9 @@ const RainbowKitButton = () => {
70610
70690
  } }));
70611
70691
  };
70612
70692
 
70613
- const AppKitButton = () => {
70614
- return (jsx$2(Flex, { sx: { width: '100%', justifyContent: 'center' }, children: jsx$2("appkit-connect-button", { label: "Connect Your Wallet" }) }));
70615
- };
70616
-
70617
70693
  const ConnectButton = () => {
70618
70694
  const config = useSDKConfig();
70619
- return (config === null || config === void 0 ? void 0 : config.connector) === 'rainbowkit' ? (jsx$2(RainbowKitButton, {})) : (config === null || config === void 0 ? void 0 : config.connector) === 'appkit' ? (jsx$2(AppKitButton, {})) : (jsx$2(Button, { disabled: true, fullWidth: true, children: "Connect wallet" }));
70695
+ return (config === null || config === void 0 ? void 0 : config.useRainbowKit) ? (jsx$2(RainbowKitButton, {})) : (jsx$2(Button, { disabled: true, fullWidth: true, children: "Connect wallet" }));
70620
70696
  };
70621
70697
 
70622
70698
  const PlaceholderMonkey = ({ text }) => {
@@ -78182,7 +78258,7 @@ const useApproval = (amount, currency, spender, account, chainId) => {
78182
78258
  return [approvalState !== null && approvalState !== void 0 ? approvalState : ApprovalState.NOT_APPROVED, handleApprove];
78183
78259
  };
78184
78260
 
78185
- const version$1 = '2.31.7';
78261
+ const version$1 = '2.31.0';
78186
78262
 
78187
78263
  let errorConfig = {
78188
78264
  getDocsUrl: ({ docsBaseUrl, docsPath = '', docsSlug, }) => docsPath
@@ -80509,12 +80585,12 @@ const Bonds = () => {
80509
80585
  if (!(chainFilterOption === null || chainFilterOption === void 0 ? void 0 : chainFilterOption.includes('All Chains'))) {
80510
80586
  billsToReturn = billsToReturn === null || billsToReturn === void 0 ? void 0 : billsToReturn.filter((bill) => { var _a; return chainFilterOption === null || chainFilterOption === void 0 ? void 0 : chainFilterOption.includes((_a = bill === null || bill === void 0 ? void 0 : bill.chainId) === null || _a === void 0 ? void 0 : _a.toString()); });
80511
80587
  }
80512
- if (filterOption !== 'SOLD OUT') {
80513
- billsToReturn = billsToReturn === null || billsToReturn === void 0 ? void 0 : billsToReturn.filter((bond) => !isBondSoldOut(bond, SDKConfig.showLowValueBonds));
80514
- }
80515
- if (filterOption === 'SOLD OUT') {
80516
- billsToReturn = billsToReturn === null || billsToReturn === void 0 ? void 0 : billsToReturn.filter((bond) => isBondSoldOut(bond, SDKConfig.showLowValueBonds));
80517
- }
80588
+ // if (filterOption !== 'SOLD OUT') {
80589
+ // billsToReturn = billsToReturn?.filter((bond) => !isBondSoldOut(bond as BondsData, SDKConfig.showLowValueBonds))
80590
+ // }
80591
+ // if (filterOption === 'SOLD OUT') {
80592
+ // billsToReturn = billsToReturn?.filter((bond) => isBondSoldOut(bond as BondsData, SDKConfig.showLowValueBonds))
80593
+ // }
80518
80594
  if (filterOption === 'FAVORITES') {
80519
80595
  billsToReturn = billsToReturn === null || billsToReturn === void 0 ? void 0 : billsToReturn.filter((bill) => { var _a, _b; return favTokens.includes((_b = (_a = bill === null || bill === void 0 ? void 0 : bill.earnToken) === null || _a === void 0 ? void 0 : _a.symbol) === null || _b === void 0 ? void 0 : _b.toLowerCase()); });
80520
80596
  }
@@ -2,7 +2,7 @@ export interface SDKPropsDTO {
2
2
  referenceId: string;
3
3
  chains: number[];
4
4
  hotBondChains?: number[];
5
- connector?: 'rainbowkit' | 'appkit' | 'default';
5
+ useRainbowKit?: boolean;
6
6
  useHotBonds?: boolean;
7
7
  useTiers?: boolean;
8
8
  useTGEBonds?: boolean;
@@ -17,7 +17,7 @@ export interface SDKProps {
17
17
  referenceId: string;
18
18
  chains: number[];
19
19
  hotBondChains: number[];
20
- connector?: 'rainbowkit' | 'appkit' | 'default';
20
+ useRainbowKit: boolean;
21
21
  useHotBonds: boolean;
22
22
  useTiers: boolean;
23
23
  useTGEBonds: boolean;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Ape Bond SDK",
4
4
  "author": "Ape Bond",
5
5
  "license": "MIT",
6
- "version": "3.0.105-test.0",
6
+ "version": "3.0.106-test.1",
7
7
  "module": "dist/main.js",
8
8
  "type": "module",
9
9
  "types": "dist/main.d.ts",
@@ -30,29 +30,28 @@
30
30
  ]
31
31
  },
32
32
  "peerDependencies": {
33
- "@rainbow-me/rainbowkit": "^2.2.8",
33
+ "@rainbow-me/rainbowkit": "^2.1.6",
34
34
  "@tanstack/react-query": "5.x",
35
35
  "axios": "1.7.2",
36
36
  "react": "^18.2.0",
37
37
  "react-dom": "^17.0.0 || ^18.0.0",
38
- "wagmi": "^2.14.16"
38
+ "wagmi": "2.12.17"
39
39
  },
40
40
  "devDependencies": {
41
+ "@tanstack/react-query": "5.81.5",
41
42
  "@eslint/js": "^9.28.0",
42
43
  "@rainbow-me/rainbowkit": "^2.1.6",
43
44
  "@rollup/plugin-commonjs": "^25.0.7",
44
45
  "@rollup/plugin-json": "^6.1.0",
45
46
  "@rollup/plugin-node-resolve": "^15.2.3",
46
47
  "@rollup/plugin-typescript": "^11.1.6",
47
- "@tanstack/react-query": "5.81.5",
48
48
  "@tanstack/react-query-devtools": "5.81.5",
49
49
  "@types/dom-to-image": "^2.6.7",
50
50
  "@types/lodash": "^4.17.6",
51
- "@types/node": "^24.0.13",
52
51
  "@types/react": "^18.3.3",
53
52
  "@types/react-dom": "^18.3.0",
54
53
  "@vitejs/plugin-react": "^4.2.1",
55
- "axios": "1.8.2",
54
+ "axios": "1.7.2",
56
55
  "eslint": "^9.28.0",
57
56
  "eslint-plugin-react": "^7.37.5",
58
57
  "eslint-plugin-react-hooks": "^5.2.0",
@@ -70,7 +69,7 @@
70
69
  "yalc": "^1.0.0-pre.53"
71
70
  },
72
71
  "dependencies": {
73
- "@ape.swap/apeswap-lists": "4.3.28",
72
+ "@ape.swap/apeswap-lists": "4.3.30",
74
73
  "@emotion/react": "11.11.4",
75
74
  "bignumber.js": "^9.1.2",
76
75
  "chart.js": "4.2.0",
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- declare const AppKitButton: () => React.JSX.Element;
3
- export default AppKitButton;