@ape.swap/bonds-sdk 2.7.3 → 2.7.4

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.
Files changed (2) hide show
  1. package/dist/main.js +184 -149
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -18095,10 +18095,10 @@ var types = {};
18095
18095
  _10,
18096
18096
  _11,
18097
18097
  _12,
18098
- _13;
18099
- var _14,
18100
- _15,
18101
- _16,
18098
+ _13,
18099
+ _14,
18100
+ _15;
18101
+ var _16,
18102
18102
  _17,
18103
18103
  _18,
18104
18104
  _19,
@@ -18151,7 +18151,11 @@ var types = {};
18151
18151
  _66,
18152
18152
  _67,
18153
18153
  _68,
18154
- _69;
18154
+ _69,
18155
+ _70,
18156
+ _71,
18157
+ _72,
18158
+ _73;
18155
18159
  Object.defineProperty(exports, '__esModule', { value: true });
18156
18160
  exports.dexToZapMapping =
18157
18161
  exports.defaultDexFactories =
@@ -18162,6 +18166,7 @@ var types = {};
18162
18166
  exports.defaultBillArtCollection =
18163
18167
  exports.BillArtCollection =
18164
18168
  exports.BillVersion =
18169
+ exports.Wrappers =
18165
18170
  exports.Protocols =
18166
18171
  exports.ZapVersion =
18167
18172
  exports.IchiSupportedDex =
@@ -18207,6 +18212,8 @@ var types = {};
18207
18212
  ChainId[(ChainId['GRAPHLINQ'] = 614)] = 'GRAPHLINQ';
18208
18213
  ChainId[(ChainId['AVAX'] = 43114)] = 'AVAX';
18209
18214
  ChainId[(ChainId['BLAST'] = 81457)] = 'BLAST';
18215
+ ChainId[(ChainId['SINGULARITY_TESTNET'] = 751)] = 'SINGULARITY_TESTNET';
18216
+ ChainId[(ChainId['CROSSFI'] = 4158)] = 'CROSSFI';
18210
18217
  })((ChainId = exports.ChainId || (exports.ChainId = {})));
18211
18218
  var LiquidityDex
18212
18219
  ;(function (LiquidityDex) {
@@ -18252,6 +18259,8 @@ var types = {};
18252
18259
  LiquidityDex['ThrusterV2_03'] = 'ThrusterV2_03';
18253
18260
  LiquidityDex['ThrusterV2_1'] = 'ThrusterV2_1';
18254
18261
  LiquidityDex['ThrusterV3'] = 'ThrusterV3';
18262
+ //SINGULARITY TESTNET
18263
+ LiquidityDex['Citea'] = 'Citea';
18255
18264
  })((LiquidityDex = exports.LiquidityDex || (exports.LiquidityDex = {})));
18256
18265
  (function (IchiSupportedDex) {
18257
18266
  IchiSupportedDex['Ascent'] = 'Ascent';
@@ -18299,6 +18308,11 @@ var types = {};
18299
18308
  Protocols[(Protocols['XFAI'] = 8)] = 'XFAI';
18300
18309
  Protocols[(Protocols['Curve'] = 9)] = 'Curve';
18301
18310
  })((Protocols = exports.Protocols || (exports.Protocols = {})));
18311
+ (function (Wrappers) {
18312
+ Wrappers[(Wrappers['Gamma'] = 0)] = 'Gamma';
18313
+ Wrappers[(Wrappers['Ichi'] = 1)] = 'Ichi';
18314
+ Wrappers[(Wrappers['Steer'] = 2)] = 'Steer';
18315
+ })((exports.Wrappers || (exports.Wrappers = {})));
18302
18316
  (function (BillVersion) {
18303
18317
  BillVersion['V1'] = 'V1';
18304
18318
  BillVersion['V2'] = 'V2';
@@ -18444,6 +18458,10 @@ var types = {};
18444
18458
  factory: '0x98EE851a00abeE0d95D08cF4CA2BdCE32aeaAF7F',
18445
18459
  protocol: Protocols.Curve,
18446
18460
  }),
18461
+ (_e[LiquidityDex.PancakeSwapV3] = {
18462
+ factory: '0x0BFbCF9fa4f9C56B0F40a671Ad40E0805A091865',
18463
+ protocol: Protocols.V3,
18464
+ }),
18447
18465
  _e)),
18448
18466
  (_a[ChainId.LINEA] =
18449
18467
  ((_f = {}),
@@ -18553,229 +18571,246 @@ var types = {};
18553
18571
  protocol: Protocols.V3,
18554
18572
  }),
18555
18573
  _l)),
18574
+ (_a[ChainId.SINGULARITY_TESTNET] =
18575
+ ((_m = {}),
18576
+ (_m[LiquidityDex.Citea] = {
18577
+ factory: '0xd8388EECE67C003eF952D32c4E3943113C5f5608',
18578
+ protocol: Protocols.V2,
18579
+ }),
18580
+ _m)),
18556
18581
  _a);
18557
18582
  exports.defaultDexFactories =
18558
- ((_m = {}),
18559
- (_m[ChainId.MAINNET] =
18560
- ((_o = {}),
18561
- (_o[Protocols.V2] =
18562
- (_15 = (_14 = exports.dexFactories[ChainId.MAINNET]) === null || _14 === void 0 ? void 0 : _14.ApeSwapV2) ===
18563
- null || _15 === void 0
18564
- ? void 0
18565
- : _15.factory),
18566
- (_o[Protocols.V3] =
18567
- (_17 = (_16 = exports.dexFactories[ChainId.MAINNET]) === null || _16 === void 0 ? void 0 : _16.UniswapV3) ===
18583
+ ((_o = {}),
18584
+ (_o[ChainId.MAINNET] =
18585
+ ((_p = {}),
18586
+ (_p[Protocols.V2] =
18587
+ (_17 = (_16 = exports.dexFactories[ChainId.MAINNET]) === null || _16 === void 0 ? void 0 : _16.ApeSwapV2) ===
18568
18588
  null || _17 === void 0
18569
18589
  ? void 0
18570
18590
  : _17.factory),
18571
- _o)),
18572
- (_m[ChainId.BSC] =
18573
- ((_p = {}),
18574
- (_p[Protocols.V2] =
18575
- (_19 = (_18 = exports.dexFactories[ChainId.BSC]) === null || _18 === void 0 ? void 0 : _18.ApeSwapV2) === null ||
18576
- _19 === void 0
18591
+ (_p[Protocols.V3] =
18592
+ (_19 = (_18 = exports.dexFactories[ChainId.MAINNET]) === null || _18 === void 0 ? void 0 : _18.UniswapV3) ===
18593
+ null || _19 === void 0
18577
18594
  ? void 0
18578
18595
  : _19.factory),
18579
- (_p[Protocols.V3] =
18580
- (_21 = (_20 = exports.dexFactories[ChainId.BSC]) === null || _20 === void 0 ? void 0 : _20.UniswapV3) === null ||
18596
+ _p)),
18597
+ (_o[ChainId.BSC] =
18598
+ ((_q = {}),
18599
+ (_q[Protocols.V2] =
18600
+ (_21 = (_20 = exports.dexFactories[ChainId.BSC]) === null || _20 === void 0 ? void 0 : _20.ApeSwapV2) === null ||
18581
18601
  _21 === void 0
18582
18602
  ? void 0
18583
18603
  : _21.factory),
18584
- (_p[Protocols.Algebra] =
18585
- (_23 = (_22 = exports.dexFactories[ChainId.BSC]) === null || _22 === void 0 ? void 0 : _22.Algebra) === null ||
18604
+ (_q[Protocols.V3] =
18605
+ (_23 = (_22 = exports.dexFactories[ChainId.BSC]) === null || _22 === void 0 ? void 0 : _22.UniswapV3) === null ||
18586
18606
  _23 === void 0
18587
18607
  ? void 0
18588
18608
  : _23.factory),
18589
- (_p[Protocols.Solidly] =
18590
- (_25 = (_24 = exports.dexFactories[ChainId.BSC]) === null || _24 === void 0 ? void 0 : _24.ThenaV1) === null ||
18609
+ (_q[Protocols.Algebra] =
18610
+ (_25 = (_24 = exports.dexFactories[ChainId.BSC]) === null || _24 === void 0 ? void 0 : _24.Algebra) === null ||
18591
18611
  _25 === void 0
18592
18612
  ? void 0
18593
18613
  : _25.factory),
18594
- _p)),
18595
- (_m[ChainId.MATIC] =
18596
- ((_q = {}),
18597
- (_q[Protocols.V2] =
18598
- (_27 = (_26 = exports.dexFactories[ChainId.MATIC]) === null || _26 === void 0 ? void 0 : _26.ApeSwapV2) ===
18599
- null || _27 === void 0
18614
+ (_q[Protocols.Solidly] =
18615
+ (_27 = (_26 = exports.dexFactories[ChainId.BSC]) === null || _26 === void 0 ? void 0 : _26.ThenaV1) === null ||
18616
+ _27 === void 0
18600
18617
  ? void 0
18601
18618
  : _27.factory),
18602
- (_q[Protocols.V3] =
18603
- (_29 = (_28 = exports.dexFactories[ChainId.MATIC]) === null || _28 === void 0 ? void 0 : _28.UniswapV3) ===
18619
+ _q)),
18620
+ (_o[ChainId.MATIC] =
18621
+ ((_r = {}),
18622
+ (_r[Protocols.V2] =
18623
+ (_29 = (_28 = exports.dexFactories[ChainId.MATIC]) === null || _28 === void 0 ? void 0 : _28.ApeSwapV2) ===
18604
18624
  null || _29 === void 0
18605
18625
  ? void 0
18606
18626
  : _29.factory),
18607
- (_q[Protocols.Algebra] =
18608
- (_31 = (_30 = exports.dexFactories[ChainId.MATIC]) === null || _30 === void 0 ? void 0 : _30.Algebra) === null ||
18609
- _31 === void 0
18627
+ (_r[Protocols.V3] =
18628
+ (_31 = (_30 = exports.dexFactories[ChainId.MATIC]) === null || _30 === void 0 ? void 0 : _30.UniswapV3) ===
18629
+ null || _31 === void 0
18610
18630
  ? void 0
18611
18631
  : _31.factory),
18612
- _q)),
18613
- (_m[ChainId.ARBITRUM] =
18614
- ((_r = {}),
18615
- (_r[Protocols.V2] =
18616
- (_33 = (_32 = exports.dexFactories[ChainId.ARBITRUM]) === null || _32 === void 0 ? void 0 : _32.ApeSwapV2) ===
18617
- null || _33 === void 0
18632
+ (_r[Protocols.Algebra] =
18633
+ (_33 = (_32 = exports.dexFactories[ChainId.MATIC]) === null || _32 === void 0 ? void 0 : _32.Algebra) === null ||
18634
+ _33 === void 0
18618
18635
  ? void 0
18619
18636
  : _33.factory),
18620
- (_r[Protocols.V3] =
18621
- (_35 = (_34 = exports.dexFactories[ChainId.ARBITRUM]) === null || _34 === void 0 ? void 0 : _34.UniswapV3) ===
18637
+ _r)),
18638
+ (_o[ChainId.ARBITRUM] =
18639
+ ((_s = {}),
18640
+ (_s[Protocols.V2] =
18641
+ (_35 = (_34 = exports.dexFactories[ChainId.ARBITRUM]) === null || _34 === void 0 ? void 0 : _34.ApeSwapV2) ===
18622
18642
  null || _35 === void 0
18623
18643
  ? void 0
18624
18644
  : _35.factory),
18625
- (_r[Protocols.Algebra] =
18626
- (_37 = (_36 = exports.dexFactories[ChainId.ARBITRUM]) === null || _36 === void 0 ? void 0 : _36.Algebra) ===
18645
+ (_s[Protocols.V3] =
18646
+ (_37 = (_36 = exports.dexFactories[ChainId.ARBITRUM]) === null || _36 === void 0 ? void 0 : _36.UniswapV3) ===
18627
18647
  null || _37 === void 0
18628
18648
  ? void 0
18629
18649
  : _37.factory),
18630
- (_r[Protocols.Curve] =
18631
- (_39 = (_38 = exports.dexFactories[ChainId.ARBITRUM]) === null || _38 === void 0 ? void 0 : _38.Curve) === null ||
18632
- _39 === void 0
18650
+ (_s[Protocols.Algebra] =
18651
+ (_39 = (_38 = exports.dexFactories[ChainId.ARBITRUM]) === null || _38 === void 0 ? void 0 : _38.Algebra) ===
18652
+ null || _39 === void 0
18633
18653
  ? void 0
18634
18654
  : _39.factory),
18635
- _r)),
18636
- (_m[ChainId.LINEA] =
18637
- ((_s = {}),
18638
- (_s[Protocols.V2] =
18639
- (_41 = (_40 = exports.dexFactories[ChainId.LINEA]) === null || _40 === void 0 ? void 0 : _40.Spartadex) ===
18640
- null || _41 === void 0
18655
+ (_s[Protocols.Curve] =
18656
+ (_41 = (_40 = exports.dexFactories[ChainId.ARBITRUM]) === null || _40 === void 0 ? void 0 : _40.Curve) === null ||
18657
+ _41 === void 0
18641
18658
  ? void 0
18642
18659
  : _41.factory),
18643
- (_s[Protocols.V3] =
18644
- (_43 = (_42 = exports.dexFactories[ChainId.LINEA]) === null || _42 === void 0 ? void 0 : _42.Nile) === null ||
18645
- _43 === void 0
18660
+ _s)),
18661
+ (_o[ChainId.LINEA] =
18662
+ ((_t = {}),
18663
+ (_t[Protocols.V2] =
18664
+ (_43 = (_42 = exports.dexFactories[ChainId.LINEA]) === null || _42 === void 0 ? void 0 : _42.Spartadex) ===
18665
+ null || _43 === void 0
18646
18666
  ? void 0
18647
18667
  : _43.factory),
18648
- (_s[Protocols.Algebra] =
18649
- (_45 = (_44 = exports.dexFactories[ChainId.LINEA]) === null || _44 === void 0 ? void 0 : _44.Algebra) === null ||
18668
+ (_t[Protocols.V3] =
18669
+ (_45 = (_44 = exports.dexFactories[ChainId.LINEA]) === null || _44 === void 0 ? void 0 : _44.Nile) === null ||
18650
18670
  _45 === void 0
18651
18671
  ? void 0
18652
18672
  : _45.factory),
18653
- (_s[Protocols.Solidly] =
18654
- (_47 = (_46 = exports.dexFactories[ChainId.LINEA]) === null || _46 === void 0 ? void 0 : _46.Lynex) === null ||
18673
+ (_t[Protocols.Algebra] =
18674
+ (_47 = (_46 = exports.dexFactories[ChainId.LINEA]) === null || _46 === void 0 ? void 0 : _46.Algebra) === null ||
18655
18675
  _47 === void 0
18656
18676
  ? void 0
18657
18677
  : _47.factory),
18658
- (_s[Protocols.XFAI] =
18659
- (_49 = (_48 = exports.dexFactories[ChainId.LINEA]) === null || _48 === void 0 ? void 0 : _48.XFAI) === null ||
18678
+ (_t[Protocols.Solidly] =
18679
+ (_49 = (_48 = exports.dexFactories[ChainId.LINEA]) === null || _48 === void 0 ? void 0 : _48.Lynex) === null ||
18660
18680
  _49 === void 0
18661
18681
  ? void 0
18662
18682
  : _49.factory),
18663
- _s)),
18664
- (_m[ChainId.LIGHTLINK] =
18665
- ((_t = {}),
18666
- (_t[Protocols.V3] =
18667
- (_51 = (_50 = exports.dexFactories[ChainId.LIGHTLINK]) === null || _50 === void 0 ? void 0 : _50.Elektrik) ===
18668
- null || _51 === void 0
18683
+ (_t[Protocols.XFAI] =
18684
+ (_51 = (_50 = exports.dexFactories[ChainId.LINEA]) === null || _50 === void 0 ? void 0 : _50.XFAI) === null ||
18685
+ _51 === void 0
18669
18686
  ? void 0
18670
18687
  : _51.factory),
18671
18688
  _t)),
18672
- (_m[ChainId.BASE] =
18689
+ (_o[ChainId.LIGHTLINK] =
18673
18690
  ((_u = {}),
18674
- (_u[Protocols.V2] =
18675
- (_53 = (_52 = exports.dexFactories[ChainId.BASE]) === null || _52 === void 0 ? void 0 : _52.SmarDex) === null ||
18676
- _53 === void 0
18691
+ (_u[Protocols.V3] =
18692
+ (_53 = (_52 = exports.dexFactories[ChainId.LIGHTLINK]) === null || _52 === void 0 ? void 0 : _52.Elektrik) ===
18693
+ null || _53 === void 0
18677
18694
  ? void 0
18678
18695
  : _53.factory),
18679
- (_u[Protocols.V3] =
18680
- (_55 = (_54 = exports.dexFactories[ChainId.BASE]) === null || _54 === void 0 ? void 0 : _54.UniswapV3) === null ||
18696
+ _u)),
18697
+ (_o[ChainId.BASE] =
18698
+ ((_v = {}),
18699
+ (_v[Protocols.V2] =
18700
+ (_55 = (_54 = exports.dexFactories[ChainId.BASE]) === null || _54 === void 0 ? void 0 : _54.SmarDex) === null ||
18681
18701
  _55 === void 0
18682
18702
  ? void 0
18683
18703
  : _55.factory),
18684
- (_u[Protocols.Algebra] =
18685
- (_57 = (_56 = exports.dexFactories[ChainId.BASE]) === null || _56 === void 0 ? void 0 : _56.Algebra) === null ||
18704
+ (_v[Protocols.V3] =
18705
+ (_57 = (_56 = exports.dexFactories[ChainId.BASE]) === null || _56 === void 0 ? void 0 : _56.UniswapV3) === null ||
18686
18706
  _57 === void 0
18687
18707
  ? void 0
18688
18708
  : _57.factory),
18689
- (_u[Protocols.Solidly] =
18690
- (_59 = (_58 = exports.dexFactories[ChainId.BASE]) === null || _58 === void 0 ? void 0 : _58.Aerodrome) === null ||
18709
+ (_v[Protocols.Algebra] =
18710
+ (_59 = (_58 = exports.dexFactories[ChainId.BASE]) === null || _58 === void 0 ? void 0 : _58.Algebra) === null ||
18691
18711
  _59 === void 0
18692
18712
  ? void 0
18693
18713
  : _59.factory),
18694
- _u)),
18695
- (_m[ChainId.IOTA] =
18696
- ((_v = {}),
18697
- (_v[Protocols.V2] =
18698
- (_61 = (_60 = exports.dexFactories[ChainId.IOTA]) === null || _60 === void 0 ? void 0 : _60.MagicSea) === null ||
18714
+ (_v[Protocols.Solidly] =
18715
+ (_61 = (_60 = exports.dexFactories[ChainId.BASE]) === null || _60 === void 0 ? void 0 : _60.Aerodrome) === null ||
18699
18716
  _61 === void 0
18700
18717
  ? void 0
18701
18718
  : _61.factory),
18702
18719
  _v)),
18703
- (_m[ChainId.AVAX] =
18720
+ (_o[ChainId.IOTA] =
18704
18721
  ((_w = {}),
18705
18722
  (_w[Protocols.V2] =
18706
- (_63 = (_62 = exports.dexFactories[ChainId.AVAX]) === null || _62 === void 0 ? void 0 : _62.LFJ) === null ||
18723
+ (_63 = (_62 = exports.dexFactories[ChainId.IOTA]) === null || _62 === void 0 ? void 0 : _62.MagicSea) === null ||
18707
18724
  _63 === void 0
18708
18725
  ? void 0
18709
18726
  : _63.factory),
18710
- (_w[Protocols.V3] =
18711
- (_65 = (_64 = exports.dexFactories[ChainId.AVAX]) === null || _64 === void 0 ? void 0 : _64.Pharaoh) === null ||
18712
- _65 === void 0
18713
- ? void 0
18714
- : _65.factory),
18715
18727
  _w)),
18716
- (_m[ChainId.BLAST] =
18728
+ (_o[ChainId.AVAX] =
18717
18729
  ((_x = {}),
18718
18730
  (_x[Protocols.V2] =
18719
- (_67 = (_66 = exports.dexFactories[ChainId.BLAST]) === null || _66 === void 0 ? void 0 : _66.ThrusterV2_03) ===
18720
- null || _67 === void 0
18731
+ (_65 = (_64 = exports.dexFactories[ChainId.AVAX]) === null || _64 === void 0 ? void 0 : _64.LFJ) === null ||
18732
+ _65 === void 0
18721
18733
  ? void 0
18722
- : _67.factory),
18734
+ : _65.factory),
18723
18735
  (_x[Protocols.V3] =
18724
- (_69 = (_68 = exports.dexFactories[ChainId.BLAST]) === null || _68 === void 0 ? void 0 : _68.ThrusterV3) ===
18736
+ (_67 = (_66 = exports.dexFactories[ChainId.AVAX]) === null || _66 === void 0 ? void 0 : _66.Pharaoh) === null ||
18737
+ _67 === void 0
18738
+ ? void 0
18739
+ : _67.factory),
18740
+ _x)),
18741
+ (_o[ChainId.BLAST] =
18742
+ ((_y = {}),
18743
+ (_y[Protocols.V2] =
18744
+ (_69 = (_68 = exports.dexFactories[ChainId.BLAST]) === null || _68 === void 0 ? void 0 : _68.ThrusterV2_03) ===
18725
18745
  null || _69 === void 0
18726
18746
  ? void 0
18727
18747
  : _69.factory),
18728
- _x)),
18729
- _m);
18730
- exports.dexToZapMapping =
18731
- ((_y = {}),
18732
- (_y[LiquidityDex.ApeSwapV2] =
18748
+ (_y[Protocols.V3] =
18749
+ (_71 = (_70 = exports.dexFactories[ChainId.BLAST]) === null || _70 === void 0 ? void 0 : _70.ThrusterV3) ===
18750
+ null || _71 === void 0
18751
+ ? void 0
18752
+ : _71.factory),
18753
+ _y)),
18754
+ (_o[ChainId.SINGULARITY_TESTNET] =
18733
18755
  ((_z = {}),
18734
- (_z[ChainId.BSC] = ZapVersion.SoulZap),
18735
- (_z[ChainId.BSC_TESTNET] = ZapVersion.ZapV1),
18736
- (_z[ChainId.MATIC] = ZapVersion.ZapV1),
18737
- (_z[ChainId.MATIC_TESTNET] = ZapVersion.ZapV1),
18738
- (_z[ChainId.MAINNET] = ZapVersion.ZapV1),
18739
- (_z[ChainId.ARBITRUM] = ZapVersion.External),
18740
- (_z[ChainId.TLOS] = ZapVersion.ZapV1),
18756
+ (_z[Protocols.V2] =
18757
+ (_73 =
18758
+ (_72 = exports.dexFactories[ChainId.SINGULARITY_TESTNET]) === null || _72 === void 0 ? void 0 : _72.Citea) ===
18759
+ null || _73 === void 0
18760
+ ? void 0
18761
+ : _73.factory),
18741
18762
  _z)),
18742
- (_y[LiquidityDex.Algebra] =
18743
- ((_0 = {}),
18744
- (_0[ChainId.BSC] = ZapVersion.SoulZapApi),
18745
- (_0[ChainId.MATIC] = ZapVersion.SoulZapApi),
18746
- (_0[ChainId.LINEA] = ZapVersion.SoulZapApi),
18747
- _0)),
18748
- (_y[LiquidityDex.PancakeSwapV2] =
18749
- ((_1 = {}), (_1[ChainId.BSC] = ZapVersion.SoulZap), (_1[ChainId.MAINNET] = ZapVersion.External), _1)),
18750
- (_y[LiquidityDex.QuickswapV2] = ((_2 = {}), (_2[ChainId.MATIC] = ZapVersion.SoulZap), _2)),
18751
- (_y[LiquidityDex.ApeSwapV3] = {}),
18752
- (_y[LiquidityDex.UniswapV3] =
18753
- ((_3 = {}), (_3[ChainId.ARBITRUM] = ZapVersion.SoulZapApi), (_3[ChainId.MATIC] = ZapVersion.SoulZapApi), _3)),
18754
- (_y[LiquidityDex.ThenaV1] = ((_4 = {}), (_4[ChainId.BSC] = ZapVersion.SoulZapApi), _4)),
18755
- (_y[LiquidityDex.UniswapV2] = ((_5 = {}), (_5[ChainId.BASE] = ZapVersion.SoulZapApi), _5)),
18756
- (_y[LiquidityDex.PancakeSwapV3] = {}),
18757
- (_y[LiquidityDex.External] = {}),
18758
- (_y[LiquidityDex.Spartadex] = {}),
18759
- (_y[LiquidityDex.Nile] = {}),
18760
- (_y[LiquidityDex.XFAI] = {}),
18761
- (_y[LiquidityDex.Lynex] = {}),
18762
- (_y[LiquidityDex.Metavault] = {}),
18763
- (_y[LiquidityDex.Elektrik] = {}),
18764
- (_y[LiquidityDex.SushiSwapV3] = {}),
18765
- (_y[LiquidityDex.Synthswap] = {}),
18766
- (_y[LiquidityDex.Aerodrome] = ((_6 = {}), (_6[ChainId.BASE] = ZapVersion.SoulZapApi), _6)),
18767
- (_y[LiquidityDex.SmarDex] = {}),
18768
- (_y[LiquidityDex.MagicSea] = ((_7 = {}), (_7[ChainId.IOTA] = ZapVersion.External), _7)),
18769
- (_y[LiquidityDex.Wagmi] = ((_8 = {}), (_8[ChainId.IOTA] = ZapVersion.External), _8)),
18770
- (_y[LiquidityDex.CamelotV2] = ((_9 = {}), (_9[ChainId.ARBITRUM] = ZapVersion.SoulZapApi), _9)),
18771
- (_y[LiquidityDex.LFJ] = ((_10 = {}), (_10[ChainId.AVAX] = ZapVersion.SoulZapApi), _10)),
18772
- (_y[LiquidityDex.Pharaoh] = {}),
18773
- (_y[LiquidityDex.Pangolin] = ((_11 = {}), (_11[ChainId.AVAX] = ZapVersion.SoulZapApi), _11)),
18774
- (_y[LiquidityDex.Curve] = {}),
18775
- (_y[LiquidityDex.ThrusterV2_03] = ((_12 = {}), (_12[ChainId.BLAST] = ZapVersion.SoulZapApi), _12)),
18776
- (_y[LiquidityDex.ThrusterV2_1] = ((_13 = {}), (_13[ChainId.BLAST] = ZapVersion.SoulZapApi), _13)),
18777
- (_y[LiquidityDex.ThrusterV3] = {}),
18778
- _y);
18763
+ _o);
18764
+ exports.dexToZapMapping =
18765
+ ((_0 = {}),
18766
+ (_0[LiquidityDex.ApeSwapV2] =
18767
+ ((_1 = {}),
18768
+ (_1[ChainId.BSC] = ZapVersion.SoulZap),
18769
+ (_1[ChainId.BSC_TESTNET] = ZapVersion.ZapV1),
18770
+ (_1[ChainId.MATIC] = ZapVersion.ZapV1),
18771
+ (_1[ChainId.MATIC_TESTNET] = ZapVersion.ZapV1),
18772
+ (_1[ChainId.MAINNET] = ZapVersion.ZapV1),
18773
+ (_1[ChainId.ARBITRUM] = ZapVersion.External),
18774
+ (_1[ChainId.TLOS] = ZapVersion.ZapV1),
18775
+ _1)),
18776
+ (_0[LiquidityDex.Algebra] =
18777
+ ((_2 = {}),
18778
+ (_2[ChainId.BSC] = ZapVersion.SoulZapApi),
18779
+ (_2[ChainId.MATIC] = ZapVersion.SoulZapApi),
18780
+ (_2[ChainId.LINEA] = ZapVersion.SoulZapApi),
18781
+ _2)),
18782
+ (_0[LiquidityDex.PancakeSwapV2] =
18783
+ ((_3 = {}), (_3[ChainId.BSC] = ZapVersion.SoulZap), (_3[ChainId.MAINNET] = ZapVersion.External), _3)),
18784
+ (_0[LiquidityDex.QuickswapV2] = ((_4 = {}), (_4[ChainId.MATIC] = ZapVersion.SoulZap), _4)),
18785
+ (_0[LiquidityDex.ApeSwapV3] = {}),
18786
+ (_0[LiquidityDex.UniswapV3] =
18787
+ ((_5 = {}), (_5[ChainId.ARBITRUM] = ZapVersion.SoulZapApi), (_5[ChainId.MATIC] = ZapVersion.SoulZapApi), _5)),
18788
+ (_0[LiquidityDex.ThenaV1] = ((_6 = {}), (_6[ChainId.BSC] = ZapVersion.SoulZapApi), _6)),
18789
+ (_0[LiquidityDex.UniswapV2] = ((_7 = {}), (_7[ChainId.BASE] = ZapVersion.SoulZapApi), _7)),
18790
+ (_0[LiquidityDex.PancakeSwapV3] = {}),
18791
+ (_0[LiquidityDex.External] = {}),
18792
+ (_0[LiquidityDex.Spartadex] = {}),
18793
+ (_0[LiquidityDex.Nile] = {}),
18794
+ (_0[LiquidityDex.XFAI] = {}),
18795
+ (_0[LiquidityDex.Lynex] = {}),
18796
+ (_0[LiquidityDex.Metavault] = {}),
18797
+ (_0[LiquidityDex.Elektrik] = {}),
18798
+ (_0[LiquidityDex.SushiSwapV3] = {}),
18799
+ (_0[LiquidityDex.Synthswap] = {}),
18800
+ (_0[LiquidityDex.Aerodrome] = ((_8 = {}), (_8[ChainId.BASE] = ZapVersion.SoulZapApi), _8)),
18801
+ (_0[LiquidityDex.SmarDex] = {}),
18802
+ (_0[LiquidityDex.MagicSea] = ((_9 = {}), (_9[ChainId.IOTA] = ZapVersion.External), _9)),
18803
+ (_0[LiquidityDex.Wagmi] = ((_10 = {}), (_10[ChainId.IOTA] = ZapVersion.External), _10)),
18804
+ (_0[LiquidityDex.CamelotV2] = ((_11 = {}), (_11[ChainId.ARBITRUM] = ZapVersion.SoulZapApi), _11)),
18805
+ (_0[LiquidityDex.LFJ] = ((_12 = {}), (_12[ChainId.AVAX] = ZapVersion.SoulZapApi), _12)),
18806
+ (_0[LiquidityDex.Pharaoh] = {}),
18807
+ (_0[LiquidityDex.Pangolin] = ((_13 = {}), (_13[ChainId.AVAX] = ZapVersion.SoulZapApi), _13)),
18808
+ (_0[LiquidityDex.Curve] = {}),
18809
+ (_0[LiquidityDex.ThrusterV2_03] = ((_14 = {}), (_14[ChainId.BLAST] = ZapVersion.SoulZapApi), _14)),
18810
+ (_0[LiquidityDex.ThrusterV2_1] = ((_15 = {}), (_15[ChainId.BLAST] = ZapVersion.SoulZapApi), _15)),
18811
+ (_0[LiquidityDex.ThrusterV3] = {}),
18812
+ (_0[LiquidityDex.Citea] = {}),
18813
+ _0);
18779
18814
 
18780
18815
  } (types));
18781
18816
 
@@ -70191,7 +70226,7 @@ const LinkShare = ({ bondNFTData, userBill, chainId, }) => {
70191
70226
  event: 'referral',
70192
70227
  chain: chainId,
70193
70228
  data: {
70194
- wallet: `${social.toUpperCase()} Share Bond`,
70229
+ cat: `${social.toUpperCase()} Share Bond`,
70195
70230
  },
70196
70231
  });
70197
70232
  setIsLoading(social === 'x' ? [true, false] : [false, true]);
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": "2.7.3",
6
+ "version": "2.7.4",
7
7
  "module": "dist/main.js",
8
8
  "type": "module",
9
9
  "types": "dist/main.d.ts",