@ape.swap/bonds-sdk 2.2.5 → 2.2.6-testblast.2

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 BLAST: React.FC<SvgProps>;
4
+ export default BLAST;
@@ -20,3 +20,4 @@ export { default as LINEA } from './LINEA';
20
20
  export { default as LIGHTLINK } from './LIGHTLINK';
21
21
  export { default as IOTA } from './IOTA';
22
22
  export { default as BASE } from './BASE';
23
+ export { default as BLAST } from './BLAST';
@@ -51,6 +51,7 @@ export declare enum icons {
51
51
  LIGHTLINK = "lightlink",
52
52
  IOTA = "iota",
53
53
  BASE = "base",
54
+ BLAST = "blast",
54
55
  DISCORD = "discord",
55
56
  REDDIT = "reddit",
56
57
  MEDIUM = "medium",
package/dist/main.js CHANGED
@@ -4007,6 +4007,7 @@ var icons;
4007
4007
  icons["LIGHTLINK"] = "lightlink";
4008
4008
  icons["IOTA"] = "iota";
4009
4009
  icons["BASE"] = "base";
4010
+ icons["BLAST"] = "blast";
4010
4011
  //Social media icons
4011
4012
  icons["DISCORD"] = "discord";
4012
4013
  icons["REDDIT"] = "reddit";
@@ -7107,6 +7108,10 @@ const BASE$1 = ({ width }) => {
7107
7108
  return (jsxs("svg", { width: width || '30', height: width || '30', viewBox: "0 0 30 30", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [jsx$2("rect", { width: "30", height: "30", fill: "#0052FF" }), jsx$2("path", { d: "M14.9646 25.5633C20.7986 25.5633 25.528 20.8339 25.528 14.9999C25.528 9.16591 20.7986 4.43652 14.9646 4.43652C9.43001 4.43652 4.88952 8.69296 4.43809 14.1109H20.1134V15.87H4.43652C4.87896 21.297 9.42354 25.5633 14.9646 25.5633Z", fill: "white" })] }));
7108
7109
  };
7109
7110
 
7111
+ const BLAST = ({ width }) => {
7112
+ return (jsxs("svg", { width: width || '30', height: width || '30', viewBox: "0 0 120 120", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [jsxs("g", { clipPath: "url(#clip0_3081_2691)", children: [jsx$2("rect", { x: "0", y: "0", width: "120", height: "120", fill: "#000" }), jsx$2("path", { d: "M82.7405 59.5388L95.0113 53.4243L99.2411 40.4415L90.7814 34.2852H34.4529L21.4282 43.9594H87.6404L84.1225 54.8482H57.5706L55.0159 62.8054H81.5678L74.1132 85.7137L86.5515 79.5574L90.9908 65.8208L82.6567 59.7063L82.7405 59.5388Z", fill: "#FCFC03" }), jsx$2("path", { d: "M40.1491 75.8726L47.8131 52.001L39.3115 45.6353L26.5381 85.7144H74.1137L77.2966 75.8726H40.1491Z", fill: "#FCFC03" })] }), jsx$2("defs", { children: jsx$2("clipPath", { id: "clip0_3081_2691", children: jsx$2("rect", { width: "120", height: "120", fill: "white" }) }) })] }));
7113
+ };
7114
+
7110
7115
  const Icon$a = ({ width }) => {
7111
7116
  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" })] }));
7112
7117
  };
@@ -7503,6 +7508,8 @@ const Svg = (_a) => {
7503
7508
  return jsx$2(FirePink, Object.assign({}, props, { getStyles: getStyles }));
7504
7509
  case icons.GRAPHLINQ:
7505
7510
  return jsx$2(GRAPHLINQ, Object.assign({}, props, { getStyles: getStyles }));
7511
+ case icons.BLAST:
7512
+ return jsx$2(BLAST, Object.assign({}, props, { getStyles: getStyles }));
7506
7513
  default:
7507
7514
  return null;
7508
7515
  }
@@ -18060,12 +18067,12 @@ var types = {};
18060
18067
  _6,
18061
18068
  _7,
18062
18069
  _8,
18063
- _9;
18064
- var _10,
18070
+ _9,
18071
+ _10,
18065
18072
  _11,
18066
18073
  _12,
18067
- _13,
18068
- _14,
18074
+ _13;
18075
+ var _14,
18069
18076
  _15,
18070
18077
  _16,
18071
18078
  _17,
@@ -18110,7 +18117,15 @@ var types = {};
18110
18117
  _56,
18111
18118
  _57,
18112
18119
  _58,
18113
- _59;
18120
+ _59,
18121
+ _60,
18122
+ _61,
18123
+ _62,
18124
+ _63,
18125
+ _64,
18126
+ _65,
18127
+ _66,
18128
+ _67;
18114
18129
  Object.defineProperty(exports, '__esModule', { value: true });
18115
18130
  exports.dexToZapMapping =
18116
18131
  exports.defaultDexFactories =
@@ -18165,6 +18180,7 @@ var types = {};
18165
18180
  ChainId[(ChainId['CAMP_TESTNET'] = 325000)] = 'CAMP_TESTNET';
18166
18181
  ChainId[(ChainId['GRAPHLINQ'] = 614)] = 'GRAPHLINQ';
18167
18182
  ChainId[(ChainId['AVAX'] = 43114)] = 'AVAX';
18183
+ ChainId[(ChainId['BLAST'] = 81457)] = 'BLAST';
18168
18184
  })((ChainId = exports.ChainId || (exports.ChainId = {})));
18169
18185
  var LiquidityDex
18170
18186
  ;(function (LiquidityDex) {
@@ -18205,6 +18221,10 @@ var types = {};
18205
18221
  LiquidityDex['LFJ'] = 'LFJ';
18206
18222
  LiquidityDex['Pharaoh'] = 'Pharaoh';
18207
18223
  LiquidityDex['Pangolin'] = 'Pangolin';
18224
+ //BLAST
18225
+ LiquidityDex['ThrusterV2_03'] = 'ThrusterV2_03';
18226
+ LiquidityDex['ThrusterV2_1'] = 'ThrusterV2_1';
18227
+ LiquidityDex['ThrusterV3'] = 'ThrusterV3';
18208
18228
  })((LiquidityDex = exports.LiquidityDex || (exports.LiquidityDex = {})));
18209
18229
  (function (IchiSupportedDex) {
18210
18230
  IchiSupportedDex['Ascent'] = 'Ascent';
@@ -18485,207 +18505,238 @@ var types = {};
18485
18505
  protocol: Protocols.V2,
18486
18506
  }),
18487
18507
  _k)),
18508
+ (_a[ChainId.BLAST] =
18509
+ ((_l = {}),
18510
+ (_l[LiquidityDex.ThrusterV2_03] = {
18511
+ factory: '0xb4A7D971D0ADea1c73198C97d7ab3f9CE4aaFA13',
18512
+ protocol: Protocols.V2,
18513
+ }),
18514
+ (_l[LiquidityDex.ThrusterV2_1] = {
18515
+ factory: '0x37836821a2c03c171fB1a595767f4a16e2b93Fc4',
18516
+ protocol: Protocols.V2,
18517
+ }),
18518
+ (_l[LiquidityDex.ThrusterV3] = {
18519
+ factory: '0x71b08f13B3c3aF35aAdEb3949AFEb1ded1016127',
18520
+ protocol: Protocols.V3,
18521
+ }),
18522
+ _l)),
18488
18523
  _a);
18489
18524
  exports.defaultDexFactories =
18490
- ((_l = {}),
18491
- (_l[ChainId.MAINNET] =
18492
- ((_m = {}),
18493
- (_m[Protocols.V2] =
18494
- (_11 = (_10 = exports.dexFactories[ChainId.MAINNET]) === null || _10 === void 0 ? void 0 : _10.ApeSwapV2) ===
18495
- null || _11 === void 0
18496
- ? void 0
18497
- : _11.factory),
18498
- (_m[Protocols.V3] =
18499
- (_13 = (_12 = exports.dexFactories[ChainId.MAINNET]) === null || _12 === void 0 ? void 0 : _12.UniswapV3) ===
18500
- null || _13 === void 0
18501
- ? void 0
18502
- : _13.factory),
18503
- _m)),
18504
- (_l[ChainId.BSC] =
18525
+ ((_m = {}),
18526
+ (_m[ChainId.MAINNET] =
18505
18527
  ((_o = {}),
18506
18528
  (_o[Protocols.V2] =
18507
- (_15 = (_14 = exports.dexFactories[ChainId.BSC]) === null || _14 === void 0 ? void 0 : _14.ApeSwapV2) === null ||
18508
- _15 === void 0
18529
+ (_15 = (_14 = exports.dexFactories[ChainId.MAINNET]) === null || _14 === void 0 ? void 0 : _14.ApeSwapV2) ===
18530
+ null || _15 === void 0
18509
18531
  ? void 0
18510
18532
  : _15.factory),
18511
18533
  (_o[Protocols.V3] =
18512
- (_17 = (_16 = exports.dexFactories[ChainId.BSC]) === null || _16 === void 0 ? void 0 : _16.UniswapV3) === null ||
18513
- _17 === void 0
18534
+ (_17 = (_16 = exports.dexFactories[ChainId.MAINNET]) === null || _16 === void 0 ? void 0 : _16.UniswapV3) ===
18535
+ null || _17 === void 0
18514
18536
  ? void 0
18515
18537
  : _17.factory),
18516
- (_o[Protocols.Algebra] =
18517
- (_19 = (_18 = exports.dexFactories[ChainId.BSC]) === null || _18 === void 0 ? void 0 : _18.Algebra) === null ||
18538
+ _o)),
18539
+ (_m[ChainId.BSC] =
18540
+ ((_p = {}),
18541
+ (_p[Protocols.V2] =
18542
+ (_19 = (_18 = exports.dexFactories[ChainId.BSC]) === null || _18 === void 0 ? void 0 : _18.ApeSwapV2) === null ||
18518
18543
  _19 === void 0
18519
18544
  ? void 0
18520
18545
  : _19.factory),
18521
- (_o[Protocols.Solidly] =
18522
- (_21 = (_20 = exports.dexFactories[ChainId.BSC]) === null || _20 === void 0 ? void 0 : _20.ThenaV1) === null ||
18546
+ (_p[Protocols.V3] =
18547
+ (_21 = (_20 = exports.dexFactories[ChainId.BSC]) === null || _20 === void 0 ? void 0 : _20.UniswapV3) === null ||
18523
18548
  _21 === void 0
18524
18549
  ? void 0
18525
18550
  : _21.factory),
18526
- _o)),
18527
- (_l[ChainId.MATIC] =
18528
- ((_p = {}),
18529
- (_p[Protocols.V2] =
18530
- (_23 = (_22 = exports.dexFactories[ChainId.MATIC]) === null || _22 === void 0 ? void 0 : _22.ApeSwapV2) ===
18531
- null || _23 === void 0
18551
+ (_p[Protocols.Algebra] =
18552
+ (_23 = (_22 = exports.dexFactories[ChainId.BSC]) === null || _22 === void 0 ? void 0 : _22.Algebra) === null ||
18553
+ _23 === void 0
18532
18554
  ? void 0
18533
18555
  : _23.factory),
18534
- (_p[Protocols.V3] =
18535
- (_25 = (_24 = exports.dexFactories[ChainId.MATIC]) === null || _24 === void 0 ? void 0 : _24.UniswapV3) ===
18536
- null || _25 === void 0
18556
+ (_p[Protocols.Solidly] =
18557
+ (_25 = (_24 = exports.dexFactories[ChainId.BSC]) === null || _24 === void 0 ? void 0 : _24.ThenaV1) === null ||
18558
+ _25 === void 0
18537
18559
  ? void 0
18538
18560
  : _25.factory),
18539
- (_p[Protocols.Algebra] =
18540
- (_27 = (_26 = exports.dexFactories[ChainId.MATIC]) === null || _26 === void 0 ? void 0 : _26.Algebra) === null ||
18541
- _27 === void 0
18542
- ? void 0
18543
- : _27.factory),
18544
18561
  _p)),
18545
- (_l[ChainId.ARBITRUM] =
18562
+ (_m[ChainId.MATIC] =
18546
18563
  ((_q = {}),
18547
18564
  (_q[Protocols.V2] =
18548
- (_29 = (_28 = exports.dexFactories[ChainId.ARBITRUM]) === null || _28 === void 0 ? void 0 : _28.ApeSwapV2) ===
18549
- null || _29 === void 0
18565
+ (_27 = (_26 = exports.dexFactories[ChainId.MATIC]) === null || _26 === void 0 ? void 0 : _26.ApeSwapV2) ===
18566
+ null || _27 === void 0
18550
18567
  ? void 0
18551
- : _29.factory),
18568
+ : _27.factory),
18552
18569
  (_q[Protocols.V3] =
18553
- (_31 = (_30 = exports.dexFactories[ChainId.ARBITRUM]) === null || _30 === void 0 ? void 0 : _30.UniswapV3) ===
18554
- null || _31 === void 0
18570
+ (_29 = (_28 = exports.dexFactories[ChainId.MATIC]) === null || _28 === void 0 ? void 0 : _28.UniswapV3) ===
18571
+ null || _29 === void 0
18555
18572
  ? void 0
18556
- : _31.factory),
18573
+ : _29.factory),
18557
18574
  (_q[Protocols.Algebra] =
18558
- (_33 = (_32 = exports.dexFactories[ChainId.ARBITRUM]) === null || _32 === void 0 ? void 0 : _32.Algebra) ===
18559
- null || _33 === void 0
18575
+ (_31 = (_30 = exports.dexFactories[ChainId.MATIC]) === null || _30 === void 0 ? void 0 : _30.Algebra) === null ||
18576
+ _31 === void 0
18560
18577
  ? void 0
18561
- : _33.factory),
18578
+ : _31.factory),
18562
18579
  _q)),
18563
- (_l[ChainId.LINEA] =
18580
+ (_m[ChainId.ARBITRUM] =
18564
18581
  ((_r = {}),
18565
18582
  (_r[Protocols.V2] =
18566
- (_35 = (_34 = exports.dexFactories[ChainId.LINEA]) === null || _34 === void 0 ? void 0 : _34.Spartadex) ===
18583
+ (_33 = (_32 = exports.dexFactories[ChainId.ARBITRUM]) === null || _32 === void 0 ? void 0 : _32.ApeSwapV2) ===
18584
+ null || _33 === void 0
18585
+ ? void 0
18586
+ : _33.factory),
18587
+ (_r[Protocols.V3] =
18588
+ (_35 = (_34 = exports.dexFactories[ChainId.ARBITRUM]) === null || _34 === void 0 ? void 0 : _34.UniswapV3) ===
18567
18589
  null || _35 === void 0
18568
18590
  ? void 0
18569
18591
  : _35.factory),
18570
- (_r[Protocols.V3] =
18571
- (_37 = (_36 = exports.dexFactories[ChainId.LINEA]) === null || _36 === void 0 ? void 0 : _36.Nile) === null ||
18572
- _37 === void 0
18592
+ (_r[Protocols.Algebra] =
18593
+ (_37 = (_36 = exports.dexFactories[ChainId.ARBITRUM]) === null || _36 === void 0 ? void 0 : _36.Algebra) ===
18594
+ null || _37 === void 0
18573
18595
  ? void 0
18574
18596
  : _37.factory),
18575
- (_r[Protocols.Algebra] =
18576
- (_39 = (_38 = exports.dexFactories[ChainId.LINEA]) === null || _38 === void 0 ? void 0 : _38.Algebra) === null ||
18577
- _39 === void 0
18597
+ _r)),
18598
+ (_m[ChainId.LINEA] =
18599
+ ((_s = {}),
18600
+ (_s[Protocols.V2] =
18601
+ (_39 = (_38 = exports.dexFactories[ChainId.LINEA]) === null || _38 === void 0 ? void 0 : _38.Spartadex) ===
18602
+ null || _39 === void 0
18578
18603
  ? void 0
18579
18604
  : _39.factory),
18580
- (_r[Protocols.Solidly] =
18581
- (_41 = (_40 = exports.dexFactories[ChainId.LINEA]) === null || _40 === void 0 ? void 0 : _40.Lynex) === null ||
18605
+ (_s[Protocols.V3] =
18606
+ (_41 = (_40 = exports.dexFactories[ChainId.LINEA]) === null || _40 === void 0 ? void 0 : _40.Nile) === null ||
18582
18607
  _41 === void 0
18583
18608
  ? void 0
18584
18609
  : _41.factory),
18585
- (_r[Protocols.XFAI] =
18586
- (_43 = (_42 = exports.dexFactories[ChainId.LINEA]) === null || _42 === void 0 ? void 0 : _42.XFAI) === null ||
18610
+ (_s[Protocols.Algebra] =
18611
+ (_43 = (_42 = exports.dexFactories[ChainId.LINEA]) === null || _42 === void 0 ? void 0 : _42.Algebra) === null ||
18587
18612
  _43 === void 0
18588
18613
  ? void 0
18589
18614
  : _43.factory),
18590
- _r)),
18591
- (_l[ChainId.LIGHTLINK] =
18592
- ((_s = {}),
18593
- (_s[Protocols.V3] =
18594
- (_45 = (_44 = exports.dexFactories[ChainId.LIGHTLINK]) === null || _44 === void 0 ? void 0 : _44.Elektrik) ===
18595
- null || _45 === void 0
18615
+ (_s[Protocols.Solidly] =
18616
+ (_45 = (_44 = exports.dexFactories[ChainId.LINEA]) === null || _44 === void 0 ? void 0 : _44.Lynex) === null ||
18617
+ _45 === void 0
18596
18618
  ? void 0
18597
18619
  : _45.factory),
18598
- _s)),
18599
- (_l[ChainId.BASE] =
18600
- ((_t = {}),
18601
- (_t[Protocols.V2] =
18602
- (_47 = (_46 = exports.dexFactories[ChainId.BASE]) === null || _46 === void 0 ? void 0 : _46.SmarDex) === null ||
18620
+ (_s[Protocols.XFAI] =
18621
+ (_47 = (_46 = exports.dexFactories[ChainId.LINEA]) === null || _46 === void 0 ? void 0 : _46.XFAI) === null ||
18603
18622
  _47 === void 0
18604
18623
  ? void 0
18605
18624
  : _47.factory),
18625
+ _s)),
18626
+ (_m[ChainId.LIGHTLINK] =
18627
+ ((_t = {}),
18606
18628
  (_t[Protocols.V3] =
18607
- (_49 = (_48 = exports.dexFactories[ChainId.BASE]) === null || _48 === void 0 ? void 0 : _48.UniswapV3) === null ||
18608
- _49 === void 0
18629
+ (_49 = (_48 = exports.dexFactories[ChainId.LIGHTLINK]) === null || _48 === void 0 ? void 0 : _48.Elektrik) ===
18630
+ null || _49 === void 0
18609
18631
  ? void 0
18610
18632
  : _49.factory),
18611
- (_t[Protocols.Algebra] =
18612
- (_51 = (_50 = exports.dexFactories[ChainId.BASE]) === null || _50 === void 0 ? void 0 : _50.Algebra) === null ||
18633
+ _t)),
18634
+ (_m[ChainId.BASE] =
18635
+ ((_u = {}),
18636
+ (_u[Protocols.V2] =
18637
+ (_51 = (_50 = exports.dexFactories[ChainId.BASE]) === null || _50 === void 0 ? void 0 : _50.SmarDex) === null ||
18613
18638
  _51 === void 0
18614
18639
  ? void 0
18615
18640
  : _51.factory),
18616
- (_t[Protocols.Solidly] =
18617
- (_53 = (_52 = exports.dexFactories[ChainId.BASE]) === null || _52 === void 0 ? void 0 : _52.Aerodrome) === null ||
18641
+ (_u[Protocols.V3] =
18642
+ (_53 = (_52 = exports.dexFactories[ChainId.BASE]) === null || _52 === void 0 ? void 0 : _52.UniswapV3) === null ||
18618
18643
  _53 === void 0
18619
18644
  ? void 0
18620
18645
  : _53.factory),
18621
- _t)),
18622
- (_l[ChainId.IOTA] =
18623
- ((_u = {}),
18624
- (_u[Protocols.V2] =
18625
- (_55 = (_54 = exports.dexFactories[ChainId.IOTA]) === null || _54 === void 0 ? void 0 : _54.MagicSea) === null ||
18646
+ (_u[Protocols.Algebra] =
18647
+ (_55 = (_54 = exports.dexFactories[ChainId.BASE]) === null || _54 === void 0 ? void 0 : _54.Algebra) === null ||
18626
18648
  _55 === void 0
18627
18649
  ? void 0
18628
18650
  : _55.factory),
18629
- _u)),
18630
- (_l[ChainId.AVAX] =
18631
- ((_v = {}),
18632
- (_v[Protocols.V2] =
18633
- (_57 = (_56 = exports.dexFactories[ChainId.AVAX]) === null || _56 === void 0 ? void 0 : _56.LFJ) === null ||
18651
+ (_u[Protocols.Solidly] =
18652
+ (_57 = (_56 = exports.dexFactories[ChainId.BASE]) === null || _56 === void 0 ? void 0 : _56.Aerodrome) === null ||
18634
18653
  _57 === void 0
18635
18654
  ? void 0
18636
18655
  : _57.factory),
18637
- (_v[Protocols.V3] =
18638
- (_59 = (_58 = exports.dexFactories[ChainId.AVAX]) === null || _58 === void 0 ? void 0 : _58.Pharaoh) === null ||
18656
+ _u)),
18657
+ (_m[ChainId.IOTA] =
18658
+ ((_v = {}),
18659
+ (_v[Protocols.V2] =
18660
+ (_59 = (_58 = exports.dexFactories[ChainId.IOTA]) === null || _58 === void 0 ? void 0 : _58.MagicSea) === null ||
18639
18661
  _59 === void 0
18640
18662
  ? void 0
18641
18663
  : _59.factory),
18642
18664
  _v)),
18643
- _l);
18644
- exports.dexToZapMapping =
18645
- ((_w = {}),
18646
- (_w[LiquidityDex.ApeSwapV2] =
18665
+ (_m[ChainId.AVAX] =
18666
+ ((_w = {}),
18667
+ (_w[Protocols.V2] =
18668
+ (_61 = (_60 = exports.dexFactories[ChainId.AVAX]) === null || _60 === void 0 ? void 0 : _60.LFJ) === null ||
18669
+ _61 === void 0
18670
+ ? void 0
18671
+ : _61.factory),
18672
+ (_w[Protocols.V3] =
18673
+ (_63 = (_62 = exports.dexFactories[ChainId.AVAX]) === null || _62 === void 0 ? void 0 : _62.Pharaoh) === null ||
18674
+ _63 === void 0
18675
+ ? void 0
18676
+ : _63.factory),
18677
+ _w)),
18678
+ (_m[ChainId.BLAST] =
18647
18679
  ((_x = {}),
18648
- (_x[ChainId.BSC] = ZapVersion.SoulZap),
18649
- (_x[ChainId.BSC_TESTNET] = ZapVersion.ZapV1),
18650
- (_x[ChainId.MATIC] = ZapVersion.ZapV1),
18651
- (_x[ChainId.MATIC_TESTNET] = ZapVersion.ZapV1),
18652
- (_x[ChainId.MAINNET] = ZapVersion.ZapV1),
18653
- (_x[ChainId.ARBITRUM] = ZapVersion.External),
18654
- (_x[ChainId.TLOS] = ZapVersion.ZapV1),
18680
+ (_x[Protocols.V2] =
18681
+ (_65 = (_64 = exports.dexFactories[ChainId.BLAST]) === null || _64 === void 0 ? void 0 : _64.ThrusterV2_03) ===
18682
+ null || _65 === void 0
18683
+ ? void 0
18684
+ : _65.factory),
18685
+ (_x[Protocols.V3] =
18686
+ (_67 = (_66 = exports.dexFactories[ChainId.BLAST]) === null || _66 === void 0 ? void 0 : _66.ThrusterV3) ===
18687
+ null || _67 === void 0
18688
+ ? void 0
18689
+ : _67.factory),
18655
18690
  _x)),
18656
- (_w[LiquidityDex.Algebra] =
18657
- ((_y = {}),
18658
- (_y[ChainId.BSC] = ZapVersion.SoulZapApi),
18659
- (_y[ChainId.MATIC] = ZapVersion.SoulZapApi),
18660
- (_y[ChainId.LINEA] = ZapVersion.SoulZapApi),
18661
- _y)),
18662
- (_w[LiquidityDex.PancakeSwapV2] =
18663
- ((_z = {}), (_z[ChainId.BSC] = ZapVersion.SoulZap), (_z[ChainId.MAINNET] = ZapVersion.External), _z)),
18664
- (_w[LiquidityDex.QuickswapV2] = ((_0 = {}), (_0[ChainId.MATIC] = ZapVersion.SoulZap), _0)),
18665
- (_w[LiquidityDex.ApeSwapV3] = {}),
18666
- (_w[LiquidityDex.UniswapV3] =
18667
- ((_1 = {}), (_1[ChainId.ARBITRUM] = ZapVersion.SoulZapApi), (_1[ChainId.MATIC] = ZapVersion.SoulZapApi), _1)),
18668
- (_w[LiquidityDex.ThenaV1] = ((_2 = {}), (_2[ChainId.BSC] = ZapVersion.SoulZapApi), _2)),
18669
- (_w[LiquidityDex.UniswapV2] = ((_3 = {}), (_3[ChainId.BASE] = ZapVersion.SoulZapApi), _3)),
18670
- (_w[LiquidityDex.PancakeSwapV3] = {}),
18671
- (_w[LiquidityDex.External] = {}),
18672
- (_w[LiquidityDex.Spartadex] = {}),
18673
- (_w[LiquidityDex.Nile] = {}),
18674
- (_w[LiquidityDex.XFAI] = {}),
18675
- (_w[LiquidityDex.Lynex] = {}),
18676
- (_w[LiquidityDex.Metavault] = {}),
18677
- (_w[LiquidityDex.Elektrik] = {}),
18678
- (_w[LiquidityDex.SushiSwapV3] = {}),
18679
- (_w[LiquidityDex.Synthswap] = {}),
18680
- (_w[LiquidityDex.Aerodrome] = ((_4 = {}), (_4[ChainId.BASE] = ZapVersion.SoulZapApi), _4)),
18681
- (_w[LiquidityDex.SmarDex] = {}),
18682
- (_w[LiquidityDex.MagicSea] = ((_5 = {}), (_5[ChainId.IOTA] = ZapVersion.External), _5)),
18683
- (_w[LiquidityDex.Wagmi] = ((_6 = {}), (_6[ChainId.IOTA] = ZapVersion.External), _6)),
18684
- (_w[LiquidityDex.CamelotV2] = ((_7 = {}), (_7[ChainId.ARBITRUM] = ZapVersion.SoulZapApi), _7)),
18685
- (_w[LiquidityDex.LFJ] = ((_8 = {}), (_8[ChainId.AVAX] = ZapVersion.SoulZapApi), _8)),
18686
- (_w[LiquidityDex.Pharaoh] = {}),
18687
- (_w[LiquidityDex.Pangolin] = ((_9 = {}), (_9[ChainId.AVAX] = ZapVersion.SoulZapApi), _9)),
18688
- _w);
18691
+ _m);
18692
+ exports.dexToZapMapping =
18693
+ ((_y = {}),
18694
+ (_y[LiquidityDex.ApeSwapV2] =
18695
+ ((_z = {}),
18696
+ (_z[ChainId.BSC] = ZapVersion.SoulZap),
18697
+ (_z[ChainId.BSC_TESTNET] = ZapVersion.ZapV1),
18698
+ (_z[ChainId.MATIC] = ZapVersion.ZapV1),
18699
+ (_z[ChainId.MATIC_TESTNET] = ZapVersion.ZapV1),
18700
+ (_z[ChainId.MAINNET] = ZapVersion.ZapV1),
18701
+ (_z[ChainId.ARBITRUM] = ZapVersion.External),
18702
+ (_z[ChainId.TLOS] = ZapVersion.ZapV1),
18703
+ _z)),
18704
+ (_y[LiquidityDex.Algebra] =
18705
+ ((_0 = {}),
18706
+ (_0[ChainId.BSC] = ZapVersion.SoulZapApi),
18707
+ (_0[ChainId.MATIC] = ZapVersion.SoulZapApi),
18708
+ (_0[ChainId.LINEA] = ZapVersion.SoulZapApi),
18709
+ _0)),
18710
+ (_y[LiquidityDex.PancakeSwapV2] =
18711
+ ((_1 = {}), (_1[ChainId.BSC] = ZapVersion.SoulZap), (_1[ChainId.MAINNET] = ZapVersion.External), _1)),
18712
+ (_y[LiquidityDex.QuickswapV2] = ((_2 = {}), (_2[ChainId.MATIC] = ZapVersion.SoulZap), _2)),
18713
+ (_y[LiquidityDex.ApeSwapV3] = {}),
18714
+ (_y[LiquidityDex.UniswapV3] =
18715
+ ((_3 = {}), (_3[ChainId.ARBITRUM] = ZapVersion.SoulZapApi), (_3[ChainId.MATIC] = ZapVersion.SoulZapApi), _3)),
18716
+ (_y[LiquidityDex.ThenaV1] = ((_4 = {}), (_4[ChainId.BSC] = ZapVersion.SoulZapApi), _4)),
18717
+ (_y[LiquidityDex.UniswapV2] = ((_5 = {}), (_5[ChainId.BASE] = ZapVersion.SoulZapApi), _5)),
18718
+ (_y[LiquidityDex.PancakeSwapV3] = {}),
18719
+ (_y[LiquidityDex.External] = {}),
18720
+ (_y[LiquidityDex.Spartadex] = {}),
18721
+ (_y[LiquidityDex.Nile] = {}),
18722
+ (_y[LiquidityDex.XFAI] = {}),
18723
+ (_y[LiquidityDex.Lynex] = {}),
18724
+ (_y[LiquidityDex.Metavault] = {}),
18725
+ (_y[LiquidityDex.Elektrik] = {}),
18726
+ (_y[LiquidityDex.SushiSwapV3] = {}),
18727
+ (_y[LiquidityDex.Synthswap] = {}),
18728
+ (_y[LiquidityDex.Aerodrome] = ((_6 = {}), (_6[ChainId.BASE] = ZapVersion.SoulZapApi), _6)),
18729
+ (_y[LiquidityDex.SmarDex] = {}),
18730
+ (_y[LiquidityDex.MagicSea] = ((_7 = {}), (_7[ChainId.IOTA] = ZapVersion.External), _7)),
18731
+ (_y[LiquidityDex.Wagmi] = ((_8 = {}), (_8[ChainId.IOTA] = ZapVersion.External), _8)),
18732
+ (_y[LiquidityDex.CamelotV2] = ((_9 = {}), (_9[ChainId.ARBITRUM] = ZapVersion.SoulZapApi), _9)),
18733
+ (_y[LiquidityDex.LFJ] = ((_10 = {}), (_10[ChainId.AVAX] = ZapVersion.SoulZapApi), _10)),
18734
+ (_y[LiquidityDex.Pharaoh] = {}),
18735
+ (_y[LiquidityDex.Pangolin] = ((_11 = {}), (_11[ChainId.AVAX] = ZapVersion.SoulZapApi), _11)),
18736
+ (_y[LiquidityDex.ThrusterV2_03] = ((_12 = {}), (_12[ChainId.BLAST] = ZapVersion.SoulZapApi), _12)),
18737
+ (_y[LiquidityDex.ThrusterV2_1] = ((_13 = {}), (_13[ChainId.BLAST] = ZapVersion.SoulZapApi), _13)),
18738
+ (_y[LiquidityDex.ThrusterV3] = {}),
18739
+ _y);
18689
18740
 
18690
18741
  } (types));
18691
18742
 
@@ -18702,6 +18753,7 @@ const MAINNET_CHAINS = [
18702
18753
  types.ChainId.LIGHTLINK,
18703
18754
  types.ChainId.GRAPHLINQ,
18704
18755
  types.ChainId.AVAX,
18756
+ types.ChainId.BLAST,
18705
18757
  ];
18706
18758
  // Network Icons
18707
18759
  const NETWORK_ICONS = {
@@ -18718,6 +18770,7 @@ const NETWORK_ICONS = {
18718
18770
  [types.ChainId.BASE]: icons.BASE,
18719
18771
  [types.ChainId.GRAPHLINQ]: icons.GRAPHLINQ,
18720
18772
  [types.ChainId.AVAX]: icons.AVAX_TOKEN,
18773
+ [types.ChainId.BLAST]: icons.BLAST,
18721
18774
  };
18722
18775
  // Network labels
18723
18776
  const NETWORK_LABEL = {
@@ -18736,6 +18789,7 @@ const NETWORK_LABEL = {
18736
18789
  [types.ChainId.BASE]: 'Base',
18737
18790
  [types.ChainId.GRAPHLINQ]: 'GraphLinq',
18738
18791
  [types.ChainId.AVAX]: 'Avalanche',
18792
+ [types.ChainId.BLAST]: 'Blast',
18739
18793
  };
18740
18794
  // Network block explorers
18741
18795
  const BLOCK_EXPLORER = {
@@ -18754,6 +18808,7 @@ const BLOCK_EXPLORER = {
18754
18808
  [types.ChainId.BASE]: 'https://basescan.org',
18755
18809
  [types.ChainId.GRAPHLINQ]: 'https://graphlinq.dex.guru',
18756
18810
  [types.ChainId.AVAX]: 'https://snowscan.xyz',
18811
+ [types.ChainId.BLAST]: 'https://blastscan.io',
18757
18812
  };
18758
18813
 
18759
18814
  const supportedByLIFI = [
@@ -18960,6 +19015,7 @@ const NETWORK_COLORS = {
18960
19015
  [types.ChainId.IOTA]: '#fff',
18961
19016
  [types.ChainId.GRAPHLINQ]: '#ded2ff',
18962
19017
  [types.ChainId.AVAX]: '#e74344',
19018
+ [types.ChainId.BLAST]: '#fcfc03',
18963
19019
  };
18964
19020
  const TokenInfoAndName = ({ bill, vestEnds, isHotBond, }) => {
18965
19021
  var _a, _b, _c, _d, _e;
@@ -49017,6 +49073,16 @@ const WNATIVE = {
49017
49073
  },
49018
49074
  active: true,
49019
49075
  },
49076
+ [types.ChainId.BLAST]: {
49077
+ symbol: 'wBLAST',
49078
+ address: {
49079
+ [types.ChainId.BLAST]: '0x4300000000000000000000000000000000000004',
49080
+ },
49081
+ decimals: {
49082
+ [types.ChainId.BLAST]: 18,
49083
+ },
49084
+ active: true,
49085
+ },
49020
49086
  };
49021
49087
 
49022
49088
  const ABOND_ADDRESSES = {
@@ -49036,6 +49102,7 @@ const PRICE_GETTER_ADDRESSES = {
49036
49102
  [types.ChainId.IOTA]: '0xC22Db8dDe3A3591fFB02be868Ce2901d30671FE4',
49037
49103
  [types.ChainId.BASE]: '0x2e6AB3cc819BE64886C1bB403813cCBec0407a5b',
49038
49104
  [types.ChainId.AVAX]: '0x70005Da62E17041977f7F99f91098b125CcDE1a7',
49105
+ [types.ChainId.BLAST]: '0x218EB9ACDC721E235969A30f5DA46FB1224Fa7A7',
49039
49106
  };
49040
49107
  const MULTICALL_V2 = {
49041
49108
  [types.ChainId.BSC]: '0x38ce767d81de3940CFa5020B55af1A400ED4F657',
@@ -49052,6 +49119,7 @@ const MULTICALL_V2 = {
49052
49119
  [types.ChainId.BASE]: '0xDF845ff2dA2325Df9C6CC3DDF7418C54E16bbFDF',
49053
49120
  [types.ChainId.GRAPHLINQ]: '0xCc88b233BbcE04c064C627ad5627da6e24a8A067',
49054
49121
  [types.ChainId.AVAX]: '0xcA11bde05977b3631167028862bE2a173976CA11',
49122
+ [types.ChainId.BLAST]: '0xcA11bde05977b3631167028862bE2a173976CA11',
49055
49123
  };
49056
49124
  const SoulZapTokenManager = {
49057
49125
  [types.ChainId.MAINNET]: '0x2F87f76336A560bbB0d18d357D10646bB96E8802',
@@ -67651,6 +67719,7 @@ const PUBLIC_RPC_URLS = {
67651
67719
  [types.ChainId.BASE]: ['https://base-rpc.publicnode.com', 'https://mainnet.base.org'],
67652
67720
  [types.ChainId.GRAPHLINQ]: ['https://glq-dataseed.graphlinq.io'],
67653
67721
  [types.ChainId.AVAX]: ['https://avax.meowrpc.com'],
67722
+ [types.ChainId.BLAST]: ['https://rpc.blast.io'],
67654
67723
  };
67655
67724
 
67656
67725
  // This is the legacy multicall
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.2.5",
6
+ "version": "2.2.6-testblast.2",
7
7
  "module": "dist/main.js",
8
8
  "type": "module",
9
9
  "types": "dist/main.d.ts",
@@ -56,7 +56,7 @@
56
56
  "yalc": "^1.0.0-pre.53"
57
57
  },
58
58
  "dependencies": {
59
- "@ape.swap/apeswap-lists": "3.71.0",
59
+ "@ape.swap/apeswap-lists": "3.72.0",
60
60
  "@emotion/react": "11.11.4",
61
61
  "bignumber.js": "^9.1.2",
62
62
  "chart.js": "4.2.0",