@ape.swap/bonds-sdk 3.1.6 → 3.1.8

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 +99 -99
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -17817,7 +17817,7 @@ const styles$e = {
17817
17817
 
17818
17818
  var types = {};
17819
17819
 
17820
- (function (exports) {
17820
+ (function (exports$1) {
17821
17821
  var _a,
17822
17822
  _b,
17823
17823
  _c,
@@ -17950,26 +17950,26 @@ var types = {};
17950
17950
  _105,
17951
17951
  _106,
17952
17952
  _107;
17953
- Object.defineProperty(exports, '__esModule', { value: true });
17954
- exports.dexToZapMapping =
17955
- exports.defaultDexFactories =
17956
- exports.dexFactories =
17957
- exports.VaultVersion =
17958
- exports.LaunchBondTiers =
17959
- exports.MigrationVestingTerms =
17960
- exports.defaultBillArtCollection =
17961
- exports.BillArtCollection =
17962
- exports.BillVersion =
17963
- exports.Protocols =
17964
- exports.ProtocolsWithWrapper =
17965
- exports.Wrappers =
17966
- exports.PriceApiProtocols =
17967
- exports.ZapVersion =
17968
- exports.IchiSupportedDex =
17969
- exports.LiquidityDex =
17970
- exports.ChainId =
17971
- exports.PoolCategory =
17972
- exports.QuoteToken =
17953
+ Object.defineProperty(exports$1, '__esModule', { value: true });
17954
+ exports$1.dexToZapMapping =
17955
+ exports$1.defaultDexFactories =
17956
+ exports$1.dexFactories =
17957
+ exports$1.VaultVersion =
17958
+ exports$1.LaunchBondTiers =
17959
+ exports$1.MigrationVestingTerms =
17960
+ exports$1.defaultBillArtCollection =
17961
+ exports$1.BillArtCollection =
17962
+ exports$1.BillVersion =
17963
+ exports$1.Protocols =
17964
+ exports$1.ProtocolsWithWrapper =
17965
+ exports$1.Wrappers =
17966
+ exports$1.PriceApiProtocols =
17967
+ exports$1.ZapVersion =
17968
+ exports$1.IchiSupportedDex =
17969
+ exports$1.LiquidityDex =
17970
+ exports$1.ChainId =
17971
+ exports$1.PoolCategory =
17972
+ exports$1.QuoteToken =
17973
17973
  void 0;
17974
17974
  (function (QuoteToken) {
17975
17975
  QuoteToken['BNB'] = 'BNB';
@@ -17979,14 +17979,14 @@ var types = {};
17979
17979
  QuoteToken['UST'] = 'UST';
17980
17980
  QuoteToken['ETH'] = 'ETH';
17981
17981
  QuoteToken['USDT'] = 'USDT';
17982
- })((exports.QuoteToken || (exports.QuoteToken = {})));
17982
+ })((exports$1.QuoteToken || (exports$1.QuoteToken = {})));
17983
17983
  (function (PoolCategory) {
17984
17984
  PoolCategory['COMMUNITY'] = 'Community';
17985
17985
  PoolCategory['APEZONE'] = 'ApeZone';
17986
17986
  PoolCategory['CORE'] = 'Core';
17987
17987
  PoolCategory['REAL_YIELD'] = 'Real Yield';
17988
17988
  PoolCategory['JUNGLE'] = 'Jungle';
17989
- })((exports.PoolCategory || (exports.PoolCategory = {})));
17989
+ })((exports$1.PoolCategory || (exports$1.PoolCategory = {})));
17990
17990
  var ChainId
17991
17991
  ;(function (ChainId) {
17992
17992
  ChainId[(ChainId['MAINNET'] = 1)] = 'MAINNET';
@@ -18018,7 +18018,7 @@ var types = {};
18018
18018
  ChainId[(ChainId['KATANA'] = 747474)] = 'KATANA';
18019
18019
  ChainId[(ChainId['UNICHAIN'] = 130)] = 'UNICHAIN';
18020
18020
  ChainId[(ChainId['MEGAETH_TESTNET'] = 6342)] = 'MEGAETH_TESTNET';
18021
- })((ChainId = exports.ChainId || (exports.ChainId = {})));
18021
+ })((ChainId = exports$1.ChainId || (exports$1.ChainId = {})));
18022
18022
  var LiquidityDex
18023
18023
  ;(function (LiquidityDex) {
18024
18024
  LiquidityDex['ApeSwapV2'] = 'ApeSwapV2';
@@ -18079,7 +18079,7 @@ var types = {};
18079
18079
  //BERACHAIN
18080
18080
  LiquidityDex['KodiakV2'] = 'KodiakV2';
18081
18081
  LiquidityDex['KodiakV3'] = 'KodiakV3';
18082
- })((LiquidityDex = exports.LiquidityDex || (exports.LiquidityDex = {})));
18082
+ })((LiquidityDex = exports$1.LiquidityDex || (exports$1.LiquidityDex = {})));
18083
18083
  (function (IchiSupportedDex) {
18084
18084
  IchiSupportedDex['Ascent'] = 'Ascent';
18085
18085
  IchiSupportedDex['Blueprint'] = 'Blueprint';
@@ -18105,7 +18105,7 @@ var types = {};
18105
18105
  IchiSupportedDex['UniswapV3'] = 'Uniswap V3';
18106
18106
  IchiSupportedDex['Velocore'] = 'Velocore';
18107
18107
  IchiSupportedDex['XSwap'] = 'XSwap';
18108
- })((exports.IchiSupportedDex || (exports.IchiSupportedDex = {})));
18108
+ })((exports$1.IchiSupportedDex || (exports$1.IchiSupportedDex = {})));
18109
18109
  var ZapVersion
18110
18110
  ;(function (ZapVersion) {
18111
18111
  ZapVersion['External'] = 'External';
@@ -18113,7 +18113,7 @@ var types = {};
18113
18113
  ZapVersion['Wido'] = 'Wido';
18114
18114
  ZapVersion['SoulZap'] = 'SoulZap';
18115
18115
  ZapVersion['SoulZapApi'] = 'SoulZapApi';
18116
- })((ZapVersion = exports.ZapVersion || (exports.ZapVersion = {})));
18116
+ })((ZapVersion = exports$1.ZapVersion || (exports$1.ZapVersion = {})));
18117
18117
  //Price API Protocols
18118
18118
  var PriceApiProtocols
18119
18119
  ;(function (PriceApiProtocols) {
@@ -18124,13 +18124,13 @@ var types = {};
18124
18124
  PriceApiProtocols[(PriceApiProtocols['AlgebraIntegral'] = 4)] = 'AlgebraIntegral';
18125
18125
  PriceApiProtocols[(PriceApiProtocols['Solidly'] = 5)] = 'Solidly';
18126
18126
  PriceApiProtocols[(PriceApiProtocols['Curve'] = 6)] = 'Curve';
18127
- })((PriceApiProtocols = exports.PriceApiProtocols || (exports.PriceApiProtocols = {})));
18127
+ })((PriceApiProtocols = exports$1.PriceApiProtocols || (exports$1.PriceApiProtocols = {})));
18128
18128
  (function (Wrappers) {
18129
18129
  Wrappers[(Wrappers['Gamma'] = 0)] = 'Gamma';
18130
18130
  Wrappers[(Wrappers['Ichi'] = 1)] = 'Ichi';
18131
18131
  Wrappers[(Wrappers['Steer'] = 2)] = 'Steer';
18132
- })((exports.Wrappers || (exports.Wrappers = {})));
18133
- exports.ProtocolsWithWrapper = [
18132
+ })((exports$1.Wrappers || (exports$1.Wrappers = {})));
18133
+ exports$1.ProtocolsWithWrapper = [
18134
18134
  PriceApiProtocols.UniV3,
18135
18135
  PriceApiProtocols.UniV4,
18136
18136
  PriceApiProtocols.Algebra,
@@ -18149,7 +18149,7 @@ var types = {};
18149
18149
  Protocols[(Protocols['XFAI'] = 8)] = 'XFAI';
18150
18150
  Protocols[(Protocols['Curve'] = 9)] = 'Curve';
18151
18151
  Protocols[(Protocols['AlgebraIntegral'] = 10)] = 'AlgebraIntegral';
18152
- })((Protocols = exports.Protocols || (exports.Protocols = {})));
18152
+ })((Protocols = exports$1.Protocols || (exports$1.Protocols = {})));
18153
18153
  (function (BillVersion) {
18154
18154
  BillVersion['V1'] = 'V1';
18155
18155
  BillVersion['V2'] = 'V2';
@@ -18158,7 +18158,7 @@ var types = {};
18158
18158
  BillVersion['FixedPrice'] = 'FixedPrice';
18159
18159
  BillVersion['TieredSale'] = 'TieredSale';
18160
18160
  BillVersion['FlashTieredSale'] = 'FlashTieredSale';
18161
- })((exports.BillVersion || (exports.BillVersion = {})));
18161
+ })((exports$1.BillVersion || (exports$1.BillVersion = {})));
18162
18162
  /**
18163
18163
  * This enum defines the art collection used to generate the art for a bill (bond).
18164
18164
  *
@@ -18179,9 +18179,9 @@ var types = {};
18179
18179
  BillArtCollection['GoldenTicket_Collection1'] = 'GoldenTicket_Collection1';
18180
18180
  BillArtCollection['Berachain_Collection1'] = 'Berachain_Collection1';
18181
18181
  BillArtCollection['HotBondingSummer_Collection1'] = 'HotBondingSummer_Collection1';
18182
- })((BillArtCollection = exports.BillArtCollection || (exports.BillArtCollection = {})));
18183
- exports.defaultBillArtCollection = BillArtCollection.ApeBond_Collection1;
18184
- exports.MigrationVestingTerms = {
18182
+ })((BillArtCollection = exports$1.BillArtCollection || (exports$1.BillArtCollection = {})));
18183
+ exports$1.defaultBillArtCollection = BillArtCollection.ApeBond_Collection1;
18184
+ exports$1.MigrationVestingTerms = {
18185
18185
  '60d': 5184000,
18186
18186
  '120d': 10368000,
18187
18187
  '180d': 15552000,
@@ -18193,13 +18193,13 @@ var types = {};
18193
18193
  LaunchBondTiers[(LaunchBondTiers['Gold'] = 2)] = 'Gold';
18194
18194
  LaunchBondTiers[(LaunchBondTiers['Diamond'] = 3)] = 'Diamond';
18195
18195
  LaunchBondTiers[(LaunchBondTiers['Legend'] = 4)] = 'Legend';
18196
- })((exports.LaunchBondTiers || (exports.LaunchBondTiers = {})));
18196
+ })((exports$1.LaunchBondTiers || (exports$1.LaunchBondTiers = {})));
18197
18197
  (function (VaultVersion) {
18198
18198
  VaultVersion['V1'] = 'V1';
18199
18199
  VaultVersion['V2'] = 'V2';
18200
18200
  VaultVersion['V3'] = 'V3';
18201
- })((exports.VaultVersion || (exports.VaultVersion = {})));
18202
- exports.dexFactories =
18201
+ })((exports$1.VaultVersion || (exports$1.VaultVersion = {})));
18202
+ exports$1.dexFactories =
18203
18203
  ((_a = {}),
18204
18204
  (_a[ChainId.MAINNET] =
18205
18205
  ((_b = {}),
@@ -18503,17 +18503,17 @@ var types = {};
18503
18503
  }),
18504
18504
  _t)),
18505
18505
  _a);
18506
- exports.defaultDexFactories =
18506
+ exports$1.defaultDexFactories =
18507
18507
  ((_u = {}),
18508
18508
  (_u[ChainId.MAINNET] =
18509
18509
  ((_v = {}),
18510
18510
  (_v[Protocols.V2] =
18511
- (_29 = (_28 = exports.dexFactories[ChainId.MAINNET]) === null || _28 === void 0 ? void 0 : _28.ApeSwapV2) ===
18511
+ (_29 = (_28 = exports$1.dexFactories[ChainId.MAINNET]) === null || _28 === void 0 ? void 0 : _28.ApeSwapV2) ===
18512
18512
  null || _29 === void 0
18513
18513
  ? void 0
18514
18514
  : _29.factory),
18515
18515
  (_v[Protocols.V3] =
18516
- (_31 = (_30 = exports.dexFactories[ChainId.MAINNET]) === null || _30 === void 0 ? void 0 : _30.UniswapV3) ===
18516
+ (_31 = (_30 = exports$1.dexFactories[ChainId.MAINNET]) === null || _30 === void 0 ? void 0 : _30.UniswapV3) ===
18517
18517
  null || _31 === void 0
18518
18518
  ? void 0
18519
18519
  : _31.factory),
@@ -18521,22 +18521,22 @@ var types = {};
18521
18521
  (_u[ChainId.BSC] =
18522
18522
  ((_w = {}),
18523
18523
  (_w[Protocols.V2] =
18524
- (_33 = (_32 = exports.dexFactories[ChainId.BSC]) === null || _32 === void 0 ? void 0 : _32.ApeSwapV2) === null ||
18524
+ (_33 = (_32 = exports$1.dexFactories[ChainId.BSC]) === null || _32 === void 0 ? void 0 : _32.ApeSwapV2) === null ||
18525
18525
  _33 === void 0
18526
18526
  ? void 0
18527
18527
  : _33.factory),
18528
18528
  (_w[Protocols.V3] =
18529
- (_35 = (_34 = exports.dexFactories[ChainId.BSC]) === null || _34 === void 0 ? void 0 : _34.UniswapV3) === null ||
18529
+ (_35 = (_34 = exports$1.dexFactories[ChainId.BSC]) === null || _34 === void 0 ? void 0 : _34.UniswapV3) === null ||
18530
18530
  _35 === void 0
18531
18531
  ? void 0
18532
18532
  : _35.factory),
18533
18533
  (_w[Protocols.Algebra] =
18534
- (_37 = (_36 = exports.dexFactories[ChainId.BSC]) === null || _36 === void 0 ? void 0 : _36.Algebra) === null ||
18534
+ (_37 = (_36 = exports$1.dexFactories[ChainId.BSC]) === null || _36 === void 0 ? void 0 : _36.Algebra) === null ||
18535
18535
  _37 === void 0
18536
18536
  ? void 0
18537
18537
  : _37.factory),
18538
18538
  (_w[Protocols.Solidly] =
18539
- (_39 = (_38 = exports.dexFactories[ChainId.BSC]) === null || _38 === void 0 ? void 0 : _38.ThenaV1) === null ||
18539
+ (_39 = (_38 = exports$1.dexFactories[ChainId.BSC]) === null || _38 === void 0 ? void 0 : _38.ThenaV1) === null ||
18540
18540
  _39 === void 0
18541
18541
  ? void 0
18542
18542
  : _39.factory),
@@ -18544,17 +18544,17 @@ var types = {};
18544
18544
  (_u[ChainId.MATIC] =
18545
18545
  ((_x = {}),
18546
18546
  (_x[Protocols.V2] =
18547
- (_41 = (_40 = exports.dexFactories[ChainId.MATIC]) === null || _40 === void 0 ? void 0 : _40.ApeSwapV2) ===
18547
+ (_41 = (_40 = exports$1.dexFactories[ChainId.MATIC]) === null || _40 === void 0 ? void 0 : _40.ApeSwapV2) ===
18548
18548
  null || _41 === void 0
18549
18549
  ? void 0
18550
18550
  : _41.factory),
18551
18551
  (_x[Protocols.V3] =
18552
- (_43 = (_42 = exports.dexFactories[ChainId.MATIC]) === null || _42 === void 0 ? void 0 : _42.UniswapV3) ===
18552
+ (_43 = (_42 = exports$1.dexFactories[ChainId.MATIC]) === null || _42 === void 0 ? void 0 : _42.UniswapV3) ===
18553
18553
  null || _43 === void 0
18554
18554
  ? void 0
18555
18555
  : _43.factory),
18556
18556
  (_x[Protocols.Algebra] =
18557
- (_45 = (_44 = exports.dexFactories[ChainId.MATIC]) === null || _44 === void 0 ? void 0 : _44.Algebra) === null ||
18557
+ (_45 = (_44 = exports$1.dexFactories[ChainId.MATIC]) === null || _44 === void 0 ? void 0 : _44.Algebra) === null ||
18558
18558
  _45 === void 0
18559
18559
  ? void 0
18560
18560
  : _45.factory),
@@ -18562,22 +18562,22 @@ var types = {};
18562
18562
  (_u[ChainId.ARBITRUM] =
18563
18563
  ((_y = {}),
18564
18564
  (_y[Protocols.V2] =
18565
- (_47 = (_46 = exports.dexFactories[ChainId.ARBITRUM]) === null || _46 === void 0 ? void 0 : _46.ApeSwapV2) ===
18565
+ (_47 = (_46 = exports$1.dexFactories[ChainId.ARBITRUM]) === null || _46 === void 0 ? void 0 : _46.ApeSwapV2) ===
18566
18566
  null || _47 === void 0
18567
18567
  ? void 0
18568
18568
  : _47.factory),
18569
18569
  (_y[Protocols.V3] =
18570
- (_49 = (_48 = exports.dexFactories[ChainId.ARBITRUM]) === null || _48 === void 0 ? void 0 : _48.UniswapV3) ===
18570
+ (_49 = (_48 = exports$1.dexFactories[ChainId.ARBITRUM]) === null || _48 === void 0 ? void 0 : _48.UniswapV3) ===
18571
18571
  null || _49 === void 0
18572
18572
  ? void 0
18573
18573
  : _49.factory),
18574
18574
  (_y[Protocols.Algebra] =
18575
- (_51 = (_50 = exports.dexFactories[ChainId.ARBITRUM]) === null || _50 === void 0 ? void 0 : _50.Algebra) ===
18575
+ (_51 = (_50 = exports$1.dexFactories[ChainId.ARBITRUM]) === null || _50 === void 0 ? void 0 : _50.Algebra) ===
18576
18576
  null || _51 === void 0
18577
18577
  ? void 0
18578
18578
  : _51.factory),
18579
18579
  (_y[Protocols.Curve] =
18580
- (_53 = (_52 = exports.dexFactories[ChainId.ARBITRUM]) === null || _52 === void 0 ? void 0 : _52.Curve) === null ||
18580
+ (_53 = (_52 = exports$1.dexFactories[ChainId.ARBITRUM]) === null || _52 === void 0 ? void 0 : _52.Curve) === null ||
18581
18581
  _53 === void 0
18582
18582
  ? void 0
18583
18583
  : _53.factory),
@@ -18585,27 +18585,27 @@ var types = {};
18585
18585
  (_u[ChainId.LINEA] =
18586
18586
  ((_z = {}),
18587
18587
  (_z[Protocols.V2] =
18588
- (_55 = (_54 = exports.dexFactories[ChainId.LINEA]) === null || _54 === void 0 ? void 0 : _54.Spartadex) ===
18588
+ (_55 = (_54 = exports$1.dexFactories[ChainId.LINEA]) === null || _54 === void 0 ? void 0 : _54.Spartadex) ===
18589
18589
  null || _55 === void 0
18590
18590
  ? void 0
18591
18591
  : _55.factory),
18592
18592
  (_z[Protocols.V3] =
18593
- (_57 = (_56 = exports.dexFactories[ChainId.LINEA]) === null || _56 === void 0 ? void 0 : _56.Nile) === null ||
18593
+ (_57 = (_56 = exports$1.dexFactories[ChainId.LINEA]) === null || _56 === void 0 ? void 0 : _56.Nile) === null ||
18594
18594
  _57 === void 0
18595
18595
  ? void 0
18596
18596
  : _57.factory),
18597
18597
  (_z[Protocols.Algebra] =
18598
- (_59 = (_58 = exports.dexFactories[ChainId.LINEA]) === null || _58 === void 0 ? void 0 : _58.Algebra) === null ||
18598
+ (_59 = (_58 = exports$1.dexFactories[ChainId.LINEA]) === null || _58 === void 0 ? void 0 : _58.Algebra) === null ||
18599
18599
  _59 === void 0
18600
18600
  ? void 0
18601
18601
  : _59.factory),
18602
18602
  (_z[Protocols.Solidly] =
18603
- (_61 = (_60 = exports.dexFactories[ChainId.LINEA]) === null || _60 === void 0 ? void 0 : _60.Lynex) === null ||
18603
+ (_61 = (_60 = exports$1.dexFactories[ChainId.LINEA]) === null || _60 === void 0 ? void 0 : _60.Lynex) === null ||
18604
18604
  _61 === void 0
18605
18605
  ? void 0
18606
18606
  : _61.factory),
18607
18607
  (_z[Protocols.XFAI] =
18608
- (_63 = (_62 = exports.dexFactories[ChainId.LINEA]) === null || _62 === void 0 ? void 0 : _62.XFAI) === null ||
18608
+ (_63 = (_62 = exports$1.dexFactories[ChainId.LINEA]) === null || _62 === void 0 ? void 0 : _62.XFAI) === null ||
18609
18609
  _63 === void 0
18610
18610
  ? void 0
18611
18611
  : _63.factory),
@@ -18613,7 +18613,7 @@ var types = {};
18613
18613
  (_u[ChainId.LIGHTLINK] =
18614
18614
  ((_0 = {}),
18615
18615
  (_0[Protocols.V3] =
18616
- (_65 = (_64 = exports.dexFactories[ChainId.LIGHTLINK]) === null || _64 === void 0 ? void 0 : _64.Elektrik) ===
18616
+ (_65 = (_64 = exports$1.dexFactories[ChainId.LIGHTLINK]) === null || _64 === void 0 ? void 0 : _64.Elektrik) ===
18617
18617
  null || _65 === void 0
18618
18618
  ? void 0
18619
18619
  : _65.factory),
@@ -18621,22 +18621,22 @@ var types = {};
18621
18621
  (_u[ChainId.BASE] =
18622
18622
  ((_1 = {}),
18623
18623
  (_1[Protocols.V2] =
18624
- (_67 = (_66 = exports.dexFactories[ChainId.BASE]) === null || _66 === void 0 ? void 0 : _66.SmarDex) === null ||
18624
+ (_67 = (_66 = exports$1.dexFactories[ChainId.BASE]) === null || _66 === void 0 ? void 0 : _66.SmarDex) === null ||
18625
18625
  _67 === void 0
18626
18626
  ? void 0
18627
18627
  : _67.factory),
18628
18628
  (_1[Protocols.V3] =
18629
- (_69 = (_68 = exports.dexFactories[ChainId.BASE]) === null || _68 === void 0 ? void 0 : _68.UniswapV3) === null ||
18629
+ (_69 = (_68 = exports$1.dexFactories[ChainId.BASE]) === null || _68 === void 0 ? void 0 : _68.UniswapV3) === null ||
18630
18630
  _69 === void 0
18631
18631
  ? void 0
18632
18632
  : _69.factory),
18633
18633
  (_1[Protocols.Algebra] =
18634
- (_71 = (_70 = exports.dexFactories[ChainId.BASE]) === null || _70 === void 0 ? void 0 : _70.Algebra) === null ||
18634
+ (_71 = (_70 = exports$1.dexFactories[ChainId.BASE]) === null || _70 === void 0 ? void 0 : _70.Algebra) === null ||
18635
18635
  _71 === void 0
18636
18636
  ? void 0
18637
18637
  : _71.factory),
18638
18638
  (_1[Protocols.Solidly] =
18639
- (_73 = (_72 = exports.dexFactories[ChainId.BASE]) === null || _72 === void 0 ? void 0 : _72.Aerodrome) === null ||
18639
+ (_73 = (_72 = exports$1.dexFactories[ChainId.BASE]) === null || _72 === void 0 ? void 0 : _72.Aerodrome) === null ||
18640
18640
  _73 === void 0
18641
18641
  ? void 0
18642
18642
  : _73.factory),
@@ -18644,7 +18644,7 @@ var types = {};
18644
18644
  (_u[ChainId.IOTA] =
18645
18645
  ((_2 = {}),
18646
18646
  (_2[Protocols.V2] =
18647
- (_75 = (_74 = exports.dexFactories[ChainId.IOTA]) === null || _74 === void 0 ? void 0 : _74.MagicSea) === null ||
18647
+ (_75 = (_74 = exports$1.dexFactories[ChainId.IOTA]) === null || _74 === void 0 ? void 0 : _74.MagicSea) === null ||
18648
18648
  _75 === void 0
18649
18649
  ? void 0
18650
18650
  : _75.factory),
@@ -18652,12 +18652,12 @@ var types = {};
18652
18652
  (_u[ChainId.AVAX] =
18653
18653
  ((_3 = {}),
18654
18654
  (_3[Protocols.V2] =
18655
- (_77 = (_76 = exports.dexFactories[ChainId.AVAX]) === null || _76 === void 0 ? void 0 : _76.LFJ) === null ||
18655
+ (_77 = (_76 = exports$1.dexFactories[ChainId.AVAX]) === null || _76 === void 0 ? void 0 : _76.LFJ) === null ||
18656
18656
  _77 === void 0
18657
18657
  ? void 0
18658
18658
  : _77.factory),
18659
18659
  (_3[Protocols.V3] =
18660
- (_79 = (_78 = exports.dexFactories[ChainId.AVAX]) === null || _78 === void 0 ? void 0 : _78.Pharaoh) === null ||
18660
+ (_79 = (_78 = exports$1.dexFactories[ChainId.AVAX]) === null || _78 === void 0 ? void 0 : _78.Pharaoh) === null ||
18661
18661
  _79 === void 0
18662
18662
  ? void 0
18663
18663
  : _79.factory),
@@ -18665,12 +18665,12 @@ var types = {};
18665
18665
  (_u[ChainId.BLAST] =
18666
18666
  ((_4 = {}),
18667
18667
  (_4[Protocols.V2] =
18668
- (_81 = (_80 = exports.dexFactories[ChainId.BLAST]) === null || _80 === void 0 ? void 0 : _80.ThrusterV2_03) ===
18668
+ (_81 = (_80 = exports$1.dexFactories[ChainId.BLAST]) === null || _80 === void 0 ? void 0 : _80.ThrusterV2_03) ===
18669
18669
  null || _81 === void 0
18670
18670
  ? void 0
18671
18671
  : _81.factory),
18672
18672
  (_4[Protocols.V3] =
18673
- (_83 = (_82 = exports.dexFactories[ChainId.BLAST]) === null || _82 === void 0 ? void 0 : _82.ThrusterV3) ===
18673
+ (_83 = (_82 = exports$1.dexFactories[ChainId.BLAST]) === null || _82 === void 0 ? void 0 : _82.ThrusterV3) ===
18674
18674
  null || _83 === void 0
18675
18675
  ? void 0
18676
18676
  : _83.factory),
@@ -18679,7 +18679,7 @@ var types = {};
18679
18679
  ((_5 = {}),
18680
18680
  (_5[Protocols.V2] =
18681
18681
  (_85 =
18682
- (_84 = exports.dexFactories[ChainId.SINGULARITY_TESTNET]) === null || _84 === void 0 ? void 0 : _84.Citea) ===
18682
+ (_84 = exports$1.dexFactories[ChainId.SINGULARITY_TESTNET]) === null || _84 === void 0 ? void 0 : _84.Citea) ===
18683
18683
  null || _85 === void 0
18684
18684
  ? void 0
18685
18685
  : _85.factory),
@@ -18687,7 +18687,7 @@ var types = {};
18687
18687
  (_u[ChainId.CROSSFI] =
18688
18688
  ((_6 = {}),
18689
18689
  (_6[Protocols.V2] =
18690
- (_87 = (_86 = exports.dexFactories[ChainId.CROSSFI]) === null || _86 === void 0 ? void 0 : _86.XSwap) === null ||
18690
+ (_87 = (_86 = exports$1.dexFactories[ChainId.CROSSFI]) === null || _86 === void 0 ? void 0 : _86.XSwap) === null ||
18691
18691
  _87 === void 0
18692
18692
  ? void 0
18693
18693
  : _87.factory),
@@ -18695,18 +18695,18 @@ var types = {};
18695
18695
  (_u[ChainId.SONIC] =
18696
18696
  ((_7 = {}),
18697
18697
  (_7[Protocols.Solidly] =
18698
- (_89 = (_88 = exports.dexFactories[ChainId.SONIC]) === null || _88 === void 0 ? void 0 : _88.ShadowExchange) ===
18698
+ (_89 = (_88 = exports$1.dexFactories[ChainId.SONIC]) === null || _88 === void 0 ? void 0 : _88.ShadowExchange) ===
18699
18699
  null || _89 === void 0
18700
18700
  ? void 0
18701
18701
  : _89.factory),
18702
18702
  (_7[Protocols.V3] =
18703
- (_91 = (_90 = exports.dexFactories[ChainId.SONIC]) === null || _90 === void 0 ? void 0 : _90.Wagmi) === null ||
18703
+ (_91 = (_90 = exports$1.dexFactories[ChainId.SONIC]) === null || _90 === void 0 ? void 0 : _90.Wagmi) === null ||
18704
18704
  _91 === void 0
18705
18705
  ? void 0
18706
18706
  : _91.factory),
18707
18707
  (_7[Protocols.AlgebraIntegral] =
18708
18708
  (_93 =
18709
- (_92 = exports.dexFactories[ChainId.SONIC]) === null || _92 === void 0 ? void 0 : _92.SwapXAlgebraIntegral) ===
18709
+ (_92 = exports$1.dexFactories[ChainId.SONIC]) === null || _92 === void 0 ? void 0 : _92.SwapXAlgebraIntegral) ===
18710
18710
  null || _93 === void 0
18711
18711
  ? void 0
18712
18712
  : _93.factory),
@@ -18714,7 +18714,7 @@ var types = {};
18714
18714
  (_u[ChainId.MONAD_TESTNET] =
18715
18715
  ((_8 = {}),
18716
18716
  (_8[Protocols.V2] =
18717
- (_95 = (_94 = exports.dexFactories[ChainId.MONAD_TESTNET]) === null || _94 === void 0 ? void 0 : _94.LFJ) ===
18717
+ (_95 = (_94 = exports$1.dexFactories[ChainId.MONAD_TESTNET]) === null || _94 === void 0 ? void 0 : _94.LFJ) ===
18718
18718
  null || _95 === void 0
18719
18719
  ? void 0
18720
18720
  : _95.factory),
@@ -18722,12 +18722,12 @@ var types = {};
18722
18722
  (_u[ChainId.BERACHAIN] =
18723
18723
  ((_9 = {}),
18724
18724
  (_9[Protocols.V2] =
18725
- (_97 = (_96 = exports.dexFactories[ChainId.BERACHAIN]) === null || _96 === void 0 ? void 0 : _96.KodiakV2) ===
18725
+ (_97 = (_96 = exports$1.dexFactories[ChainId.BERACHAIN]) === null || _96 === void 0 ? void 0 : _96.KodiakV2) ===
18726
18726
  null || _97 === void 0
18727
18727
  ? void 0
18728
18728
  : _97.factory),
18729
18729
  (_9[Protocols.V3] =
18730
- (_99 = (_98 = exports.dexFactories[ChainId.BERACHAIN]) === null || _98 === void 0 ? void 0 : _98.KodiakV3) ===
18730
+ (_99 = (_98 = exports$1.dexFactories[ChainId.BERACHAIN]) === null || _98 === void 0 ? void 0 : _98.KodiakV3) ===
18731
18731
  null || _99 === void 0
18732
18732
  ? void 0
18733
18733
  : _99.factory),
@@ -18735,12 +18735,12 @@ var types = {};
18735
18735
  (_u[ChainId.KATANA] =
18736
18736
  ((_10 = {}),
18737
18737
  (_10[Protocols.V2] =
18738
- (_101 = (_100 = exports.dexFactories[ChainId.KATANA]) === null || _100 === void 0 ? void 0 : _100.SushiSwapV2) ===
18738
+ (_101 = (_100 = exports$1.dexFactories[ChainId.KATANA]) === null || _100 === void 0 ? void 0 : _100.SushiSwapV2) ===
18739
18739
  null || _101 === void 0
18740
18740
  ? void 0
18741
18741
  : _101.factory),
18742
18742
  (_10[Protocols.V3] =
18743
- (_103 = (_102 = exports.dexFactories[ChainId.KATANA]) === null || _102 === void 0 ? void 0 : _102.SushiSwapV3) ===
18743
+ (_103 = (_102 = exports$1.dexFactories[ChainId.KATANA]) === null || _102 === void 0 ? void 0 : _102.SushiSwapV3) ===
18744
18744
  null || _103 === void 0
18745
18745
  ? void 0
18746
18746
  : _103.factory),
@@ -18748,18 +18748,18 @@ var types = {};
18748
18748
  (_u[ChainId.UNICHAIN] =
18749
18749
  ((_11 = {}),
18750
18750
  (_11[Protocols.V2] =
18751
- (_105 = (_104 = exports.dexFactories[ChainId.UNICHAIN]) === null || _104 === void 0 ? void 0 : _104.UniswapV2) ===
18751
+ (_105 = (_104 = exports$1.dexFactories[ChainId.UNICHAIN]) === null || _104 === void 0 ? void 0 : _104.UniswapV2) ===
18752
18752
  null || _105 === void 0
18753
18753
  ? void 0
18754
18754
  : _105.factory),
18755
18755
  (_11[Protocols.V3] =
18756
- (_107 = (_106 = exports.dexFactories[ChainId.UNICHAIN]) === null || _106 === void 0 ? void 0 : _106.UniswapV3) ===
18756
+ (_107 = (_106 = exports$1.dexFactories[ChainId.UNICHAIN]) === null || _106 === void 0 ? void 0 : _106.UniswapV3) ===
18757
18757
  null || _107 === void 0
18758
18758
  ? void 0
18759
18759
  : _107.factory),
18760
18760
  _11)),
18761
18761
  _u);
18762
- exports.dexToZapMapping =
18762
+ exports$1.dexToZapMapping =
18763
18763
  ((_12 = {}),
18764
18764
  (_12[LiquidityDex.ApeSwapV2] =
18765
18765
  ((_13 = {}),
@@ -22605,7 +22605,7 @@ var bn$1 = {exports: {}};
22605
22605
  bn$1.exports;
22606
22606
 
22607
22607
  (function (module) {
22608
- (function (module, exports) {
22608
+ (function (module, exports$1) {
22609
22609
 
22610
22610
  // Utils
22611
22611
  function assert (val, msg) {
@@ -22648,7 +22648,7 @@ bn$1.exports;
22648
22648
  if (typeof module === 'object') {
22649
22649
  module.exports = BN;
22650
22650
  } else {
22651
- exports.BN = BN;
22651
+ exports$1.BN = BN;
22652
22652
  }
22653
22653
 
22654
22654
  BN.BN = BN;
@@ -33381,8 +33381,8 @@ Hmac.prototype.digest = function digest(enc) {
33381
33381
  return this.outer.digest(enc);
33382
33382
  };
33383
33383
 
33384
- (function (exports) {
33385
- var hash = exports;
33384
+ (function (exports$1) {
33385
+ var hash = exports$1;
33386
33386
 
33387
33387
  hash.utils = utils$9;
33388
33388
  hash.common = common$5;
@@ -33427,9 +33427,9 @@ assert.equal = function assertEqual(l, r, msg) {
33427
33427
  throw new Error(msg || ('Assertion failed: ' + l + ' != ' + r));
33428
33428
  };
33429
33429
 
33430
- var utils_1 = createCommonjsModule(function (module, exports) {
33430
+ var utils_1 = createCommonjsModule(function (module, exports$1) {
33431
33431
 
33432
- var utils = exports;
33432
+ var utils = exports$1;
33433
33433
 
33434
33434
  function toArray(msg, enc) {
33435
33435
  if (Array.isArray(msg))
@@ -33487,9 +33487,9 @@ utils.encode = function encode(arr, enc) {
33487
33487
  };
33488
33488
  });
33489
33489
 
33490
- var utils_1$1 = createCommonjsModule(function (module, exports) {
33490
+ var utils_1$1 = createCommonjsModule(function (module, exports$1) {
33491
33491
 
33492
- var utils = exports;
33492
+ var utils = exports$1;
33493
33493
 
33494
33494
 
33495
33495
 
@@ -34956,9 +34956,9 @@ JPoint.prototype.isInfinity = function isInfinity() {
34956
34956
  return this.z.cmpn(0) === 0;
34957
34957
  };
34958
34958
 
34959
- var curve_1 = createCommonjsModule(function (module, exports) {
34959
+ var curve_1 = createCommonjsModule(function (module, exports$1) {
34960
34960
 
34961
- var curve = exports;
34961
+ var curve = exports$1;
34962
34962
 
34963
34963
  curve.base = base;
34964
34964
  curve.short = short_1;
@@ -34966,9 +34966,9 @@ curve.mont = /*RicMoo:ethers:require(./mont)*/(null);
34966
34966
  curve.edwards = /*RicMoo:ethers:require(./edwards)*/(null);
34967
34967
  });
34968
34968
 
34969
- var curves_1 = createCommonjsModule(function (module, exports) {
34969
+ var curves_1 = createCommonjsModule(function (module, exports$1) {
34970
34970
 
34971
- var curves = exports;
34971
+ var curves = exports$1;
34972
34972
 
34973
34973
 
34974
34974
 
@@ -35858,9 +35858,9 @@ EC.prototype.getKeyRecoveryParam = function(e, signature$1, Q, enc) {
35858
35858
  throw new Error('Unable to find valid recovery factor');
35859
35859
  };
35860
35860
 
35861
- var elliptic_1 = createCommonjsModule(function (module, exports) {
35861
+ var elliptic_1 = createCommonjsModule(function (module, exports$1) {
35862
35862
 
35863
- var elliptic = exports;
35863
+ var elliptic = exports$1;
35864
35864
 
35865
35865
  elliptic.version = /*RicMoo:ethers*/{ version: "6.6.1" }.version;
35866
35866
  elliptic.utils = utils_1$1;
@@ -41230,7 +41230,7 @@ var lodash = {exports: {}};
41230
41230
  */
41231
41231
  lodash.exports;
41232
41232
 
41233
- (function (module, exports) {
41233
+ (function (module, exports$1) {
41234
41234
  (function() {
41235
41235
 
41236
41236
  /** Used as a safe reference for `undefined` in pre-ES5 environments. */
@@ -41661,7 +41661,7 @@ lodash.exports;
41661
41661
  var root = freeGlobal || freeSelf || Function('return this')();
41662
41662
 
41663
41663
  /** Detect free variable `exports`. */
41664
- var freeExports = exports && !exports.nodeType && exports;
41664
+ var freeExports = exports$1 && !exports$1.nodeType && exports$1;
41665
41665
 
41666
41666
  /** Detect free variable `module`. */
41667
41667
  var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
@@ -61330,7 +61330,7 @@ const getBondNFTData = (apiV2URL, id, billNftAddress, chainId) => __awaiter$9(vo
61330
61330
 
61331
61331
  var numbro_min = {exports: {}};
61332
61332
 
61333
- (function (module, exports) {
61333
+ (function (module, exports$1) {
61334
61334
  !function(e,t){module.exports=t();}(commonjsGlobal,(function(){var e,t,r,n,i,a,o="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof commonjsGlobal?commonjsGlobal:"undefined"!=typeof self?self:{};function u(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}
61335
61335
  /*!
61336
61336
  * Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
@@ -78322,7 +78322,7 @@ const useApproval = (amount, currency, spender, account, chainId) => {
78322
78322
  return [approvalState !== null && approvalState !== void 0 ? approvalState : ApprovalState.NOT_APPROVED, handleApprove];
78323
78323
  };
78324
78324
 
78325
- const version$1 = '2.31.7';
78325
+ const version$1 = '2.43.1';
78326
78326
 
78327
78327
  let errorConfig = {
78328
78328
  getDocsUrl: ({ docsBaseUrl, docsPath = '', docsSlug, }) => docsPath
@@ -78822,7 +78822,7 @@ const BondModalMinTierHeader = ({ minTier }) => {
78822
78822
  width: ['100%', '100%', '100%', 'auto', 'auto'],
78823
78823
  }, children: Object.values(TIERS_NAMES).map((tier, index) => {
78824
78824
  if (index >= minTier) {
78825
- return (jsx$2(TooltipBubble, { className: "tooltip-bubble", body: jsx$2(Flex, { sx: { justifyContent: 'center' }, children: tier }), width: "100px", placement: "bottomLeft", transformTip: "translate(1%, -5%)", children: jsx$2("img", { src: `/images/launch/${tier.toLowerCase()}.png`, alt: "minTier", style: { width: '25px', height: '25px', marginLeft: '3px', zIndex: 1 } }, `tier-logo-${index}`) }, tier));
78825
+ return (jsx$2(TooltipBubble, { className: "tooltip-bubble", body: jsx$2(Flex, { sx: { justifyContent: 'center' }, children: tier }), width: "100px", placement: "bottomLeft", transformTip: "translate(1%, -5%)", children: jsx$2("img", { src: `https://ape.bond/images/launch/${tier.toLowerCase()}.png`, alt: "minTier", style: { width: '25px', height: '25px', marginLeft: '3px', zIndex: 1 } }, `tier-logo-${index}`) }, tier));
78826
78826
  }
78827
78827
  }) })) }));
78828
78828
  };
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.1.6",
6
+ "version": "3.1.8",
7
7
  "module": "dist/main.js",
8
8
  "type": "module",
9
9
  "types": "dist/main.d.ts",