@ape.swap/bonds-sdk 2.7.5 → 2.7.6-test.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.
- package/dist/components/uikit-sdk/Svg/tokens/CROSSFI.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/tokens/index.d.ts +1 -0
- package/dist/components/uikit-sdk/Svg/types.d.ts +1 -0
- package/dist/main.js +197 -165
- package/dist/views/YourBondsModal/components/LinkShare/LinkShare.d.ts +1 -2
- package/package.json +2 -2
package/dist/main.js
CHANGED
|
@@ -4008,6 +4008,7 @@ var icons;
|
|
|
4008
4008
|
icons["IOTA"] = "iota";
|
|
4009
4009
|
icons["BASE"] = "base";
|
|
4010
4010
|
icons["BLAST"] = "blast";
|
|
4011
|
+
icons["CROSSFI"] = "crossfi";
|
|
4011
4012
|
//Social media icons
|
|
4012
4013
|
icons["DISCORD"] = "discord";
|
|
4013
4014
|
icons["REDDIT"] = "reddit";
|
|
@@ -7132,6 +7133,10 @@ const BLAST = ({ width }) => {
|
|
|
7132
7133
|
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" }) }) })] }));
|
|
7133
7134
|
};
|
|
7134
7135
|
|
|
7136
|
+
const CROSSFI = ({ width }) => {
|
|
7137
|
+
return (jsx$2("svg", { width: width || '30', height: width || '30', xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 30 30", children: jsxs("g", { children: [jsx$2("title", { children: "Layer 1" }), jsxs("g", { stroke: "null", id: "svg_6", children: [jsx$2("rect", { stroke: "null", id: "svg_7", fill: "#1d2022", height: "48.28147", width: "48.28147", y: "-2.74187", x: "-1.02475" }), jsx$2("rect", { stroke: "null", id: "svg_1", fill: "#34393E", rx: "595.5", height: "25.54054", width: "25.54054", y: "2.48368", x: "2.44511" }), jsx$2("rect", { stroke: "null", id: "svg_2", "fill-opacity": "0.2", fill: "black", rx: "595.5", height: "25.54054", width: "25.54054", y: "2.48368", x: "2.44511" }), jsx$2("rect", { stroke: "null", id: "svg_3", "fill-opacity": "0.2", fill: "black", rx: "595.5", height: "25.54054", width: "25.54054", y: "2.48368", x: "2.44511" }), jsx$2("path", { stroke: "null", id: "svg_4", fill: "white", d: "m10.68808,10.67793c0,1.21364 0.48227,2.37756 1.34072,3.23574c0.85845,0.85817 2.02277,1.34028 3.23679,1.34028l-9.22885,0c-0.00019,-1.20527 0.23711,-2.3988 0.69839,-3.51239c0.46125,-1.1136 1.13742,-2.12546 1.98989,-2.9778c0.85247,-0.85232 1.86454,-1.52844 2.97842,-1.98974c1.11388,-0.46127 2.30774,-0.69871 3.51343,-0.69871l0.04872,0l0,0.02659c-1.21402,0 -2.37834,0.48209 -3.23679,1.34028c-0.85845,0.85817 -1.34072,2.0221 -1.34072,3.23574l0,0.00001z" }), jsx$2("path", { stroke: "null", id: "svg_5", fill: "white", d: "m24.39411,15.25395c0,2.42515 -0.9601,4.75174 -2.6705,6.47156c-1.7104,1.71979 -4.03214,2.69302 -6.45802,2.70717l0,-0.02659c1.21402,0 2.37834,-0.4822 3.23679,-1.34037c0.85845,-0.85817 1.34072,-2.0221 1.34072,-3.23574c0,-1.21364 -0.48227,-2.37756 -1.34072,-3.23574c-0.85845,-0.85817 -2.02277,-1.34028 -3.23679,-1.34028l9.12853,0l0,-0.00001z" })] })] }) }));
|
|
7138
|
+
};
|
|
7139
|
+
|
|
7135
7140
|
const Icon$a = ({ width }) => {
|
|
7136
7141
|
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" })] }));
|
|
7137
7142
|
};
|
|
@@ -7534,6 +7539,8 @@ const Svg = (_a) => {
|
|
|
7534
7539
|
return jsx$2(Timer, Object.assign({}, props, { getStyles: getStyles }));
|
|
7535
7540
|
case icons.BLAST:
|
|
7536
7541
|
return jsx$2(BLAST, Object.assign({}, props, { getStyles: getStyles }));
|
|
7542
|
+
case icons.CROSSFI:
|
|
7543
|
+
return jsx$2(CROSSFI, Object.assign({}, props, { getStyles: getStyles }));
|
|
7537
7544
|
default:
|
|
7538
7545
|
return null;
|
|
7539
7546
|
}
|
|
@@ -18097,10 +18104,10 @@ var types = {};
|
|
|
18097
18104
|
_12,
|
|
18098
18105
|
_13,
|
|
18099
18106
|
_14,
|
|
18100
|
-
_15
|
|
18101
|
-
|
|
18102
|
-
_17
|
|
18103
|
-
|
|
18107
|
+
_15,
|
|
18108
|
+
_16,
|
|
18109
|
+
_17;
|
|
18110
|
+
var _18,
|
|
18104
18111
|
_19,
|
|
18105
18112
|
_20,
|
|
18106
18113
|
_21,
|
|
@@ -18155,7 +18162,11 @@ var types = {};
|
|
|
18155
18162
|
_70,
|
|
18156
18163
|
_71,
|
|
18157
18164
|
_72,
|
|
18158
|
-
_73
|
|
18165
|
+
_73,
|
|
18166
|
+
_74,
|
|
18167
|
+
_75,
|
|
18168
|
+
_76,
|
|
18169
|
+
_77;
|
|
18159
18170
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
18160
18171
|
exports.dexToZapMapping =
|
|
18161
18172
|
exports.defaultDexFactories =
|
|
@@ -18261,6 +18272,8 @@ var types = {};
|
|
|
18261
18272
|
LiquidityDex['ThrusterV3'] = 'ThrusterV3';
|
|
18262
18273
|
//SINGULARITY TESTNET
|
|
18263
18274
|
LiquidityDex['Citea'] = 'Citea';
|
|
18275
|
+
//CROSSFI
|
|
18276
|
+
LiquidityDex['XSwap'] = 'XSwap';
|
|
18264
18277
|
})((LiquidityDex = exports.LiquidityDex || (exports.LiquidityDex = {})));
|
|
18265
18278
|
(function (IchiSupportedDex) {
|
|
18266
18279
|
IchiSupportedDex['Ascent'] = 'Ascent';
|
|
@@ -18578,239 +18591,255 @@ var types = {};
|
|
|
18578
18591
|
protocol: Protocols.V2,
|
|
18579
18592
|
}),
|
|
18580
18593
|
_m)),
|
|
18594
|
+
(_a[ChainId.CROSSFI] =
|
|
18595
|
+
((_o = {}),
|
|
18596
|
+
(_o[LiquidityDex.XSwap] = {
|
|
18597
|
+
factory: '0x3ca837175312070f4E4fF64972a199122Ee03805',
|
|
18598
|
+
protocol: Protocols.V2,
|
|
18599
|
+
}),
|
|
18600
|
+
_o)),
|
|
18581
18601
|
_a);
|
|
18582
18602
|
exports.defaultDexFactories =
|
|
18583
|
-
((
|
|
18584
|
-
(
|
|
18585
|
-
((
|
|
18586
|
-
(
|
|
18587
|
-
(
|
|
18588
|
-
null || _17 === void 0
|
|
18589
|
-
? void 0
|
|
18590
|
-
: _17.factory),
|
|
18591
|
-
(_p[Protocols.V3] =
|
|
18592
|
-
(_19 = (_18 = exports.dexFactories[ChainId.MAINNET]) === null || _18 === void 0 ? void 0 : _18.UniswapV3) ===
|
|
18603
|
+
((_p = {}),
|
|
18604
|
+
(_p[ChainId.MAINNET] =
|
|
18605
|
+
((_q = {}),
|
|
18606
|
+
(_q[Protocols.V2] =
|
|
18607
|
+
(_19 = (_18 = exports.dexFactories[ChainId.MAINNET]) === null || _18 === void 0 ? void 0 : _18.ApeSwapV2) ===
|
|
18593
18608
|
null || _19 === void 0
|
|
18594
18609
|
? void 0
|
|
18595
18610
|
: _19.factory),
|
|
18596
|
-
|
|
18597
|
-
|
|
18598
|
-
|
|
18599
|
-
(_q[Protocols.V2] =
|
|
18600
|
-
(_21 = (_20 = exports.dexFactories[ChainId.BSC]) === null || _20 === void 0 ? void 0 : _20.ApeSwapV2) === null ||
|
|
18601
|
-
_21 === void 0
|
|
18611
|
+
(_q[Protocols.V3] =
|
|
18612
|
+
(_21 = (_20 = exports.dexFactories[ChainId.MAINNET]) === null || _20 === void 0 ? void 0 : _20.UniswapV3) ===
|
|
18613
|
+
null || _21 === void 0
|
|
18602
18614
|
? void 0
|
|
18603
18615
|
: _21.factory),
|
|
18604
|
-
|
|
18605
|
-
|
|
18616
|
+
_q)),
|
|
18617
|
+
(_p[ChainId.BSC] =
|
|
18618
|
+
((_r = {}),
|
|
18619
|
+
(_r[Protocols.V2] =
|
|
18620
|
+
(_23 = (_22 = exports.dexFactories[ChainId.BSC]) === null || _22 === void 0 ? void 0 : _22.ApeSwapV2) === null ||
|
|
18606
18621
|
_23 === void 0
|
|
18607
18622
|
? void 0
|
|
18608
18623
|
: _23.factory),
|
|
18609
|
-
(
|
|
18610
|
-
(_25 = (_24 = exports.dexFactories[ChainId.BSC]) === null || _24 === void 0 ? void 0 : _24.
|
|
18624
|
+
(_r[Protocols.V3] =
|
|
18625
|
+
(_25 = (_24 = exports.dexFactories[ChainId.BSC]) === null || _24 === void 0 ? void 0 : _24.UniswapV3) === null ||
|
|
18611
18626
|
_25 === void 0
|
|
18612
18627
|
? void 0
|
|
18613
18628
|
: _25.factory),
|
|
18614
|
-
(
|
|
18615
|
-
(_27 = (_26 = exports.dexFactories[ChainId.BSC]) === null || _26 === void 0 ? void 0 : _26.
|
|
18629
|
+
(_r[Protocols.Algebra] =
|
|
18630
|
+
(_27 = (_26 = exports.dexFactories[ChainId.BSC]) === null || _26 === void 0 ? void 0 : _26.Algebra) === null ||
|
|
18616
18631
|
_27 === void 0
|
|
18617
18632
|
? void 0
|
|
18618
18633
|
: _27.factory),
|
|
18619
|
-
|
|
18620
|
-
|
|
18621
|
-
|
|
18622
|
-
(_r[Protocols.V2] =
|
|
18623
|
-
(_29 = (_28 = exports.dexFactories[ChainId.MATIC]) === null || _28 === void 0 ? void 0 : _28.ApeSwapV2) ===
|
|
18624
|
-
null || _29 === void 0
|
|
18634
|
+
(_r[Protocols.Solidly] =
|
|
18635
|
+
(_29 = (_28 = exports.dexFactories[ChainId.BSC]) === null || _28 === void 0 ? void 0 : _28.ThenaV1) === null ||
|
|
18636
|
+
_29 === void 0
|
|
18625
18637
|
? void 0
|
|
18626
18638
|
: _29.factory),
|
|
18627
|
-
|
|
18628
|
-
|
|
18639
|
+
_r)),
|
|
18640
|
+
(_p[ChainId.MATIC] =
|
|
18641
|
+
((_s = {}),
|
|
18642
|
+
(_s[Protocols.V2] =
|
|
18643
|
+
(_31 = (_30 = exports.dexFactories[ChainId.MATIC]) === null || _30 === void 0 ? void 0 : _30.ApeSwapV2) ===
|
|
18629
18644
|
null || _31 === void 0
|
|
18630
18645
|
? void 0
|
|
18631
18646
|
: _31.factory),
|
|
18632
|
-
(
|
|
18633
|
-
(_33 = (_32 = exports.dexFactories[ChainId.MATIC]) === null || _32 === void 0 ? void 0 : _32.
|
|
18634
|
-
|
|
18647
|
+
(_s[Protocols.V3] =
|
|
18648
|
+
(_33 = (_32 = exports.dexFactories[ChainId.MATIC]) === null || _32 === void 0 ? void 0 : _32.UniswapV3) ===
|
|
18649
|
+
null || _33 === void 0
|
|
18635
18650
|
? void 0
|
|
18636
18651
|
: _33.factory),
|
|
18637
|
-
|
|
18638
|
-
|
|
18639
|
-
|
|
18640
|
-
(_s[Protocols.V2] =
|
|
18641
|
-
(_35 = (_34 = exports.dexFactories[ChainId.ARBITRUM]) === null || _34 === void 0 ? void 0 : _34.ApeSwapV2) ===
|
|
18642
|
-
null || _35 === void 0
|
|
18652
|
+
(_s[Protocols.Algebra] =
|
|
18653
|
+
(_35 = (_34 = exports.dexFactories[ChainId.MATIC]) === null || _34 === void 0 ? void 0 : _34.Algebra) === null ||
|
|
18654
|
+
_35 === void 0
|
|
18643
18655
|
? void 0
|
|
18644
18656
|
: _35.factory),
|
|
18645
|
-
|
|
18646
|
-
|
|
18657
|
+
_s)),
|
|
18658
|
+
(_p[ChainId.ARBITRUM] =
|
|
18659
|
+
((_t = {}),
|
|
18660
|
+
(_t[Protocols.V2] =
|
|
18661
|
+
(_37 = (_36 = exports.dexFactories[ChainId.ARBITRUM]) === null || _36 === void 0 ? void 0 : _36.ApeSwapV2) ===
|
|
18647
18662
|
null || _37 === void 0
|
|
18648
18663
|
? void 0
|
|
18649
18664
|
: _37.factory),
|
|
18650
|
-
(
|
|
18651
|
-
(_39 = (_38 = exports.dexFactories[ChainId.ARBITRUM]) === null || _38 === void 0 ? void 0 : _38.
|
|
18665
|
+
(_t[Protocols.V3] =
|
|
18666
|
+
(_39 = (_38 = exports.dexFactories[ChainId.ARBITRUM]) === null || _38 === void 0 ? void 0 : _38.UniswapV3) ===
|
|
18652
18667
|
null || _39 === void 0
|
|
18653
18668
|
? void 0
|
|
18654
18669
|
: _39.factory),
|
|
18655
|
-
(
|
|
18656
|
-
(_41 = (_40 = exports.dexFactories[ChainId.ARBITRUM]) === null || _40 === void 0 ? void 0 : _40.
|
|
18657
|
-
|
|
18670
|
+
(_t[Protocols.Algebra] =
|
|
18671
|
+
(_41 = (_40 = exports.dexFactories[ChainId.ARBITRUM]) === null || _40 === void 0 ? void 0 : _40.Algebra) ===
|
|
18672
|
+
null || _41 === void 0
|
|
18658
18673
|
? void 0
|
|
18659
18674
|
: _41.factory),
|
|
18660
|
-
|
|
18661
|
-
|
|
18662
|
-
|
|
18663
|
-
(_t[Protocols.V2] =
|
|
18664
|
-
(_43 = (_42 = exports.dexFactories[ChainId.LINEA]) === null || _42 === void 0 ? void 0 : _42.Spartadex) ===
|
|
18665
|
-
null || _43 === void 0
|
|
18675
|
+
(_t[Protocols.Curve] =
|
|
18676
|
+
(_43 = (_42 = exports.dexFactories[ChainId.ARBITRUM]) === null || _42 === void 0 ? void 0 : _42.Curve) === null ||
|
|
18677
|
+
_43 === void 0
|
|
18666
18678
|
? void 0
|
|
18667
18679
|
: _43.factory),
|
|
18668
|
-
|
|
18669
|
-
|
|
18670
|
-
|
|
18680
|
+
_t)),
|
|
18681
|
+
(_p[ChainId.LINEA] =
|
|
18682
|
+
((_u = {}),
|
|
18683
|
+
(_u[Protocols.V2] =
|
|
18684
|
+
(_45 = (_44 = exports.dexFactories[ChainId.LINEA]) === null || _44 === void 0 ? void 0 : _44.Spartadex) ===
|
|
18685
|
+
null || _45 === void 0
|
|
18671
18686
|
? void 0
|
|
18672
18687
|
: _45.factory),
|
|
18673
|
-
(
|
|
18674
|
-
(_47 = (_46 = exports.dexFactories[ChainId.LINEA]) === null || _46 === void 0 ? void 0 : _46.
|
|
18688
|
+
(_u[Protocols.V3] =
|
|
18689
|
+
(_47 = (_46 = exports.dexFactories[ChainId.LINEA]) === null || _46 === void 0 ? void 0 : _46.Nile) === null ||
|
|
18675
18690
|
_47 === void 0
|
|
18676
18691
|
? void 0
|
|
18677
18692
|
: _47.factory),
|
|
18678
|
-
(
|
|
18679
|
-
(_49 = (_48 = exports.dexFactories[ChainId.LINEA]) === null || _48 === void 0 ? void 0 : _48.
|
|
18693
|
+
(_u[Protocols.Algebra] =
|
|
18694
|
+
(_49 = (_48 = exports.dexFactories[ChainId.LINEA]) === null || _48 === void 0 ? void 0 : _48.Algebra) === null ||
|
|
18680
18695
|
_49 === void 0
|
|
18681
18696
|
? void 0
|
|
18682
18697
|
: _49.factory),
|
|
18683
|
-
(
|
|
18684
|
-
(_51 = (_50 = exports.dexFactories[ChainId.LINEA]) === null || _50 === void 0 ? void 0 : _50.
|
|
18698
|
+
(_u[Protocols.Solidly] =
|
|
18699
|
+
(_51 = (_50 = exports.dexFactories[ChainId.LINEA]) === null || _50 === void 0 ? void 0 : _50.Lynex) === null ||
|
|
18685
18700
|
_51 === void 0
|
|
18686
18701
|
? void 0
|
|
18687
18702
|
: _51.factory),
|
|
18688
|
-
|
|
18689
|
-
|
|
18690
|
-
|
|
18691
|
-
(_u[Protocols.V3] =
|
|
18692
|
-
(_53 = (_52 = exports.dexFactories[ChainId.LIGHTLINK]) === null || _52 === void 0 ? void 0 : _52.Elektrik) ===
|
|
18693
|
-
null || _53 === void 0
|
|
18703
|
+
(_u[Protocols.XFAI] =
|
|
18704
|
+
(_53 = (_52 = exports.dexFactories[ChainId.LINEA]) === null || _52 === void 0 ? void 0 : _52.XFAI) === null ||
|
|
18705
|
+
_53 === void 0
|
|
18694
18706
|
? void 0
|
|
18695
18707
|
: _53.factory),
|
|
18696
18708
|
_u)),
|
|
18697
|
-
(
|
|
18709
|
+
(_p[ChainId.LIGHTLINK] =
|
|
18698
18710
|
((_v = {}),
|
|
18699
|
-
(_v[Protocols.
|
|
18700
|
-
(_55 = (_54 = exports.dexFactories[ChainId.
|
|
18701
|
-
|
|
18711
|
+
(_v[Protocols.V3] =
|
|
18712
|
+
(_55 = (_54 = exports.dexFactories[ChainId.LIGHTLINK]) === null || _54 === void 0 ? void 0 : _54.Elektrik) ===
|
|
18713
|
+
null || _55 === void 0
|
|
18702
18714
|
? void 0
|
|
18703
18715
|
: _55.factory),
|
|
18704
|
-
|
|
18705
|
-
|
|
18716
|
+
_v)),
|
|
18717
|
+
(_p[ChainId.BASE] =
|
|
18718
|
+
((_w = {}),
|
|
18719
|
+
(_w[Protocols.V2] =
|
|
18720
|
+
(_57 = (_56 = exports.dexFactories[ChainId.BASE]) === null || _56 === void 0 ? void 0 : _56.SmarDex) === null ||
|
|
18706
18721
|
_57 === void 0
|
|
18707
18722
|
? void 0
|
|
18708
18723
|
: _57.factory),
|
|
18709
|
-
(
|
|
18710
|
-
(_59 = (_58 = exports.dexFactories[ChainId.BASE]) === null || _58 === void 0 ? void 0 : _58.
|
|
18724
|
+
(_w[Protocols.V3] =
|
|
18725
|
+
(_59 = (_58 = exports.dexFactories[ChainId.BASE]) === null || _58 === void 0 ? void 0 : _58.UniswapV3) === null ||
|
|
18711
18726
|
_59 === void 0
|
|
18712
18727
|
? void 0
|
|
18713
18728
|
: _59.factory),
|
|
18714
|
-
(
|
|
18715
|
-
(_61 = (_60 = exports.dexFactories[ChainId.BASE]) === null || _60 === void 0 ? void 0 : _60.
|
|
18729
|
+
(_w[Protocols.Algebra] =
|
|
18730
|
+
(_61 = (_60 = exports.dexFactories[ChainId.BASE]) === null || _60 === void 0 ? void 0 : _60.Algebra) === null ||
|
|
18716
18731
|
_61 === void 0
|
|
18717
18732
|
? void 0
|
|
18718
18733
|
: _61.factory),
|
|
18719
|
-
|
|
18720
|
-
|
|
18721
|
-
((_w = {}),
|
|
18722
|
-
(_w[Protocols.V2] =
|
|
18723
|
-
(_63 = (_62 = exports.dexFactories[ChainId.IOTA]) === null || _62 === void 0 ? void 0 : _62.MagicSea) === null ||
|
|
18734
|
+
(_w[Protocols.Solidly] =
|
|
18735
|
+
(_63 = (_62 = exports.dexFactories[ChainId.BASE]) === null || _62 === void 0 ? void 0 : _62.Aerodrome) === null ||
|
|
18724
18736
|
_63 === void 0
|
|
18725
18737
|
? void 0
|
|
18726
18738
|
: _63.factory),
|
|
18727
18739
|
_w)),
|
|
18728
|
-
(
|
|
18740
|
+
(_p[ChainId.IOTA] =
|
|
18729
18741
|
((_x = {}),
|
|
18730
18742
|
(_x[Protocols.V2] =
|
|
18731
|
-
(_65 = (_64 = exports.dexFactories[ChainId.
|
|
18743
|
+
(_65 = (_64 = exports.dexFactories[ChainId.IOTA]) === null || _64 === void 0 ? void 0 : _64.MagicSea) === null ||
|
|
18732
18744
|
_65 === void 0
|
|
18733
18745
|
? void 0
|
|
18734
18746
|
: _65.factory),
|
|
18735
|
-
(_x[Protocols.V3] =
|
|
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
18747
|
_x)),
|
|
18741
|
-
(
|
|
18748
|
+
(_p[ChainId.AVAX] =
|
|
18742
18749
|
((_y = {}),
|
|
18743
18750
|
(_y[Protocols.V2] =
|
|
18744
|
-
(
|
|
18745
|
-
|
|
18751
|
+
(_67 = (_66 = exports.dexFactories[ChainId.AVAX]) === null || _66 === void 0 ? void 0 : _66.LFJ) === null ||
|
|
18752
|
+
_67 === void 0
|
|
18746
18753
|
? void 0
|
|
18747
|
-
:
|
|
18754
|
+
: _67.factory),
|
|
18748
18755
|
(_y[Protocols.V3] =
|
|
18749
|
-
(
|
|
18750
|
-
|
|
18756
|
+
(_69 = (_68 = exports.dexFactories[ChainId.AVAX]) === null || _68 === void 0 ? void 0 : _68.Pharaoh) === null ||
|
|
18757
|
+
_69 === void 0
|
|
18751
18758
|
? void 0
|
|
18752
|
-
:
|
|
18759
|
+
: _69.factory),
|
|
18753
18760
|
_y)),
|
|
18754
|
-
(
|
|
18761
|
+
(_p[ChainId.BLAST] =
|
|
18755
18762
|
((_z = {}),
|
|
18756
18763
|
(_z[Protocols.V2] =
|
|
18757
|
-
(
|
|
18758
|
-
|
|
18764
|
+
(_71 = (_70 = exports.dexFactories[ChainId.BLAST]) === null || _70 === void 0 ? void 0 : _70.ThrusterV2_03) ===
|
|
18765
|
+
null || _71 === void 0
|
|
18766
|
+
? void 0
|
|
18767
|
+
: _71.factory),
|
|
18768
|
+
(_z[Protocols.V3] =
|
|
18769
|
+
(_73 = (_72 = exports.dexFactories[ChainId.BLAST]) === null || _72 === void 0 ? void 0 : _72.ThrusterV3) ===
|
|
18759
18770
|
null || _73 === void 0
|
|
18760
18771
|
? void 0
|
|
18761
18772
|
: _73.factory),
|
|
18762
18773
|
_z)),
|
|
18763
|
-
|
|
18764
|
-
|
|
18765
|
-
|
|
18766
|
-
|
|
18774
|
+
(_p[ChainId.SINGULARITY_TESTNET] =
|
|
18775
|
+
((_0 = {}),
|
|
18776
|
+
(_0[Protocols.V2] =
|
|
18777
|
+
(_75 =
|
|
18778
|
+
(_74 = exports.dexFactories[ChainId.SINGULARITY_TESTNET]) === null || _74 === void 0 ? void 0 : _74.Citea) ===
|
|
18779
|
+
null || _75 === void 0
|
|
18780
|
+
? void 0
|
|
18781
|
+
: _75.factory),
|
|
18782
|
+
_0)),
|
|
18783
|
+
(_p[ChainId.CROSSFI] =
|
|
18767
18784
|
((_1 = {}),
|
|
18768
|
-
(_1[
|
|
18769
|
-
|
|
18770
|
-
|
|
18771
|
-
|
|
18772
|
-
|
|
18773
|
-
(_1[ChainId.ARBITRUM] = ZapVersion.External),
|
|
18774
|
-
(_1[ChainId.TLOS] = ZapVersion.ZapV1),
|
|
18785
|
+
(_1[Protocols.V2] =
|
|
18786
|
+
(_77 = (_76 = exports.dexFactories[ChainId.CROSSFI]) === null || _76 === void 0 ? void 0 : _76.XSwap) === null ||
|
|
18787
|
+
_77 === void 0
|
|
18788
|
+
? void 0
|
|
18789
|
+
: _77.factory),
|
|
18775
18790
|
_1)),
|
|
18776
|
-
|
|
18777
|
-
|
|
18778
|
-
|
|
18779
|
-
|
|
18780
|
-
(
|
|
18781
|
-
|
|
18782
|
-
|
|
18783
|
-
(
|
|
18784
|
-
|
|
18785
|
-
|
|
18786
|
-
|
|
18787
|
-
(
|
|
18788
|
-
|
|
18789
|
-
(
|
|
18790
|
-
|
|
18791
|
-
|
|
18792
|
-
|
|
18793
|
-
|
|
18794
|
-
|
|
18795
|
-
(
|
|
18796
|
-
|
|
18797
|
-
(
|
|
18798
|
-
(
|
|
18799
|
-
(
|
|
18800
|
-
|
|
18801
|
-
(
|
|
18802
|
-
(
|
|
18803
|
-
(
|
|
18804
|
-
(
|
|
18805
|
-
(
|
|
18806
|
-
(
|
|
18807
|
-
(
|
|
18808
|
-
(
|
|
18809
|
-
(
|
|
18810
|
-
(
|
|
18811
|
-
(
|
|
18812
|
-
(
|
|
18813
|
-
|
|
18791
|
+
_p);
|
|
18792
|
+
exports.dexToZapMapping =
|
|
18793
|
+
((_2 = {}),
|
|
18794
|
+
(_2[LiquidityDex.ApeSwapV2] =
|
|
18795
|
+
((_3 = {}),
|
|
18796
|
+
(_3[ChainId.BSC] = ZapVersion.SoulZap),
|
|
18797
|
+
(_3[ChainId.BSC_TESTNET] = ZapVersion.ZapV1),
|
|
18798
|
+
(_3[ChainId.MATIC] = ZapVersion.ZapV1),
|
|
18799
|
+
(_3[ChainId.MATIC_TESTNET] = ZapVersion.ZapV1),
|
|
18800
|
+
(_3[ChainId.MAINNET] = ZapVersion.ZapV1),
|
|
18801
|
+
(_3[ChainId.ARBITRUM] = ZapVersion.External),
|
|
18802
|
+
(_3[ChainId.TLOS] = ZapVersion.ZapV1),
|
|
18803
|
+
_3)),
|
|
18804
|
+
(_2[LiquidityDex.Algebra] =
|
|
18805
|
+
((_4 = {}),
|
|
18806
|
+
(_4[ChainId.BSC] = ZapVersion.SoulZapApi),
|
|
18807
|
+
(_4[ChainId.MATIC] = ZapVersion.SoulZapApi),
|
|
18808
|
+
(_4[ChainId.LINEA] = ZapVersion.SoulZapApi),
|
|
18809
|
+
_4)),
|
|
18810
|
+
(_2[LiquidityDex.PancakeSwapV2] =
|
|
18811
|
+
((_5 = {}), (_5[ChainId.BSC] = ZapVersion.SoulZap), (_5[ChainId.MAINNET] = ZapVersion.External), _5)),
|
|
18812
|
+
(_2[LiquidityDex.QuickswapV2] = ((_6 = {}), (_6[ChainId.MATIC] = ZapVersion.SoulZap), _6)),
|
|
18813
|
+
(_2[LiquidityDex.ApeSwapV3] = {}),
|
|
18814
|
+
(_2[LiquidityDex.UniswapV3] =
|
|
18815
|
+
((_7 = {}), (_7[ChainId.ARBITRUM] = ZapVersion.SoulZapApi), (_7[ChainId.MATIC] = ZapVersion.SoulZapApi), _7)),
|
|
18816
|
+
(_2[LiquidityDex.ThenaV1] = ((_8 = {}), (_8[ChainId.BSC] = ZapVersion.SoulZapApi), _8)),
|
|
18817
|
+
(_2[LiquidityDex.UniswapV2] = ((_9 = {}), (_9[ChainId.BASE] = ZapVersion.SoulZapApi), _9)),
|
|
18818
|
+
(_2[LiquidityDex.PancakeSwapV3] = {}),
|
|
18819
|
+
(_2[LiquidityDex.External] = {}),
|
|
18820
|
+
(_2[LiquidityDex.Spartadex] = {}),
|
|
18821
|
+
(_2[LiquidityDex.Nile] = {}),
|
|
18822
|
+
(_2[LiquidityDex.XFAI] = {}),
|
|
18823
|
+
(_2[LiquidityDex.Lynex] = {}),
|
|
18824
|
+
(_2[LiquidityDex.Metavault] = {}),
|
|
18825
|
+
(_2[LiquidityDex.Elektrik] = {}),
|
|
18826
|
+
(_2[LiquidityDex.SushiSwapV3] = {}),
|
|
18827
|
+
(_2[LiquidityDex.Synthswap] = {}),
|
|
18828
|
+
(_2[LiquidityDex.Aerodrome] = ((_10 = {}), (_10[ChainId.BASE] = ZapVersion.SoulZapApi), _10)),
|
|
18829
|
+
(_2[LiquidityDex.SmarDex] = {}),
|
|
18830
|
+
(_2[LiquidityDex.MagicSea] = ((_11 = {}), (_11[ChainId.IOTA] = ZapVersion.External), _11)),
|
|
18831
|
+
(_2[LiquidityDex.Wagmi] = ((_12 = {}), (_12[ChainId.IOTA] = ZapVersion.External), _12)),
|
|
18832
|
+
(_2[LiquidityDex.CamelotV2] = ((_13 = {}), (_13[ChainId.ARBITRUM] = ZapVersion.SoulZapApi), _13)),
|
|
18833
|
+
(_2[LiquidityDex.LFJ] = ((_14 = {}), (_14[ChainId.AVAX] = ZapVersion.SoulZapApi), _14)),
|
|
18834
|
+
(_2[LiquidityDex.Pharaoh] = {}),
|
|
18835
|
+
(_2[LiquidityDex.Pangolin] = ((_15 = {}), (_15[ChainId.AVAX] = ZapVersion.SoulZapApi), _15)),
|
|
18836
|
+
(_2[LiquidityDex.Curve] = {}),
|
|
18837
|
+
(_2[LiquidityDex.ThrusterV2_03] = ((_16 = {}), (_16[ChainId.BLAST] = ZapVersion.SoulZapApi), _16)),
|
|
18838
|
+
(_2[LiquidityDex.ThrusterV2_1] = ((_17 = {}), (_17[ChainId.BLAST] = ZapVersion.SoulZapApi), _17)),
|
|
18839
|
+
(_2[LiquidityDex.ThrusterV3] = {}),
|
|
18840
|
+
(_2[LiquidityDex.Citea] = {}),
|
|
18841
|
+
(_2[LiquidityDex.XSwap] = {}),
|
|
18842
|
+
_2);
|
|
18814
18843
|
|
|
18815
18844
|
} (types));
|
|
18816
18845
|
|
|
@@ -18828,6 +18857,7 @@ const MAINNET_CHAINS = [
|
|
|
18828
18857
|
types.ChainId.GRAPHLINQ,
|
|
18829
18858
|
types.ChainId.AVAX,
|
|
18830
18859
|
types.ChainId.BLAST,
|
|
18860
|
+
types.ChainId.CROSSFI,
|
|
18831
18861
|
];
|
|
18832
18862
|
// Network Icons
|
|
18833
18863
|
const NETWORK_ICONS = {
|
|
@@ -18845,6 +18875,7 @@ const NETWORK_ICONS = {
|
|
|
18845
18875
|
[types.ChainId.GRAPHLINQ]: icons.GRAPHLINQ,
|
|
18846
18876
|
[types.ChainId.AVAX]: icons.AVAX_TOKEN,
|
|
18847
18877
|
[types.ChainId.BLAST]: icons.BLAST,
|
|
18878
|
+
[types.ChainId.CROSSFI]: icons.CROSSFI,
|
|
18848
18879
|
};
|
|
18849
18880
|
// Network labels
|
|
18850
18881
|
const NETWORK_LABEL = {
|
|
@@ -18864,6 +18895,7 @@ const NETWORK_LABEL = {
|
|
|
18864
18895
|
[types.ChainId.GRAPHLINQ]: 'GraphLinq',
|
|
18865
18896
|
[types.ChainId.AVAX]: 'Avalanche',
|
|
18866
18897
|
[types.ChainId.BLAST]: 'Blast',
|
|
18898
|
+
[types.ChainId.CROSSFI]: 'Crossfi',
|
|
18867
18899
|
};
|
|
18868
18900
|
// Network block explorers
|
|
18869
18901
|
const BLOCK_EXPLORER = {
|
|
@@ -18883,6 +18915,7 @@ const BLOCK_EXPLORER = {
|
|
|
18883
18915
|
[types.ChainId.GRAPHLINQ]: 'https://graphlinq.dex.guru',
|
|
18884
18916
|
[types.ChainId.AVAX]: 'https://snowscan.xyz',
|
|
18885
18917
|
[types.ChainId.BLAST]: 'https://blastscan.io',
|
|
18918
|
+
[types.ChainId.CROSSFI]: 'https://xfiscan.com',
|
|
18886
18919
|
};
|
|
18887
18920
|
|
|
18888
18921
|
const supportedByLIFI = [
|
|
@@ -19092,6 +19125,7 @@ const NETWORK_COLORS = {
|
|
|
19092
19125
|
[types.ChainId.GRAPHLINQ]: '#ded2ff',
|
|
19093
19126
|
[types.ChainId.AVAX]: '#e74344',
|
|
19094
19127
|
[types.ChainId.BLAST]: '#fcfc03',
|
|
19128
|
+
[types.ChainId.CROSSFI]: '#7c8084',
|
|
19095
19129
|
};
|
|
19096
19130
|
const TokenInfoAndName = ({ bill, vestEnds, isHotBond, }) => {
|
|
19097
19131
|
var _a, _b, _c, _d, _e;
|
|
@@ -49228,6 +49262,7 @@ const PRICE_GETTER_ADDRESSES = {
|
|
|
49228
49262
|
[types.ChainId.BASE]: '0xE29C74B4DD05A268B5FFaadeF4fdbAa1de6FDe84', // Price getter V3
|
|
49229
49263
|
[types.ChainId.BLAST]: '0x218EB9ACDC721E235969A30f5DA46FB1224Fa7A7', // Price getter V3
|
|
49230
49264
|
[types.ChainId.AVAX]: '0x01dadaa586D30d93Ac92C79A5Cb02a8F276a8B4F', // Price getter V3
|
|
49265
|
+
[types.ChainId.CROSSFI]: '0xC22Db8dDe3A3591fFB02be868Ce2901d30671FE4', // Price getter V3
|
|
49231
49266
|
};
|
|
49232
49267
|
const MULTICALL_V2 = {
|
|
49233
49268
|
[types.ChainId.BSC]: '0x38ce767d81de3940CFa5020B55af1A400ED4F657',
|
|
@@ -49245,6 +49280,7 @@ const MULTICALL_V2 = {
|
|
|
49245
49280
|
[types.ChainId.GRAPHLINQ]: '0xCc88b233BbcE04c064C627ad5627da6e24a8A067',
|
|
49246
49281
|
[types.ChainId.AVAX]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
49247
49282
|
[types.ChainId.BLAST]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
49283
|
+
[types.ChainId.CROSSFI]: '0x007bAC6A07894A69fBcA94ED6274005093E1c44E',
|
|
49248
49284
|
};
|
|
49249
49285
|
const SoulZapTokenManager = {
|
|
49250
49286
|
[types.ChainId.MAINNET]: '0x2F87f76336A560bbB0d18d357D10646bB96E8802',
|
|
@@ -67850,6 +67886,7 @@ const PUBLIC_RPC_URLS = {
|
|
|
67850
67886
|
[types.ChainId.GRAPHLINQ]: ['https://glq-dataseed.graphlinq.io'],
|
|
67851
67887
|
[types.ChainId.AVAX]: ['https://avax.meowrpc.com'],
|
|
67852
67888
|
[types.ChainId.BLAST]: ['https://rpc.blast.io'],
|
|
67889
|
+
[types.ChainId.CROSSFI]: ['https://rpc.mainnet.ms'],
|
|
67853
67890
|
};
|
|
67854
67891
|
|
|
67855
67892
|
// This is the legacy multicall
|
|
@@ -70211,7 +70248,7 @@ function checkImageExists(fileName) {
|
|
|
70211
70248
|
});
|
|
70212
70249
|
}
|
|
70213
70250
|
|
|
70214
|
-
const LinkShare = ({ bondNFTData, userBill,
|
|
70251
|
+
const LinkShare = ({ bondNFTData, userBill, }) => {
|
|
70215
70252
|
var _a, _b, _c, _d;
|
|
70216
70253
|
const [isLoading, setIsLoading] = useState([false, false]);
|
|
70217
70254
|
const [hideTag, setHideTag] = useState(false);
|
|
@@ -70220,17 +70257,8 @@ const LinkShare = ({ bondNFTData, userBill, chainId, }) => {
|
|
|
70220
70257
|
const shareUrl = `${mainUrl}/bond-nft?bondAddress=${(_c = (_b = bondNFTData === null || bondNFTData === void 0 ? void 0 : bondNFTData.data) === null || _b === void 0 ? void 0 : _b.billNftAddress) === null || _c === void 0 ? void 0 : _c.toLowerCase()}%26bondChain=${bondNFTData === null || bondNFTData === void 0 ? void 0 : bondNFTData.chainId}%26tokenId=${userBill === null || userBill === void 0 ? void 0 : userBill.id}%26af=${(_d = bondNFTData === null || bondNFTData === void 0 ? void 0 : bondNFTData.data) === null || _d === void 0 ? void 0 : _d.createdAddressOwner}`;
|
|
70221
70258
|
const text = `I've filled my bags with $${userBill === null || userBill === void 0 ? void 0 : userBill.bond.earnToken.symbol} at a discount, thanks to Bonds-only on @apebond! Check it out: `;
|
|
70222
70259
|
const handleShare = (url, social) => __awaiter$9(void 0, void 0, void 0, function* () {
|
|
70223
|
-
var _a;
|
|
70224
70260
|
if (isLoading[0] || isLoading[1])
|
|
70225
70261
|
return;
|
|
70226
|
-
track({
|
|
70227
|
-
event: 'referral',
|
|
70228
|
-
chain: chainId,
|
|
70229
|
-
data: {
|
|
70230
|
-
cat: `${social.toUpperCase()} Share Bond`,
|
|
70231
|
-
bond: (_a = bondNFTData === null || bondNFTData === void 0 ? void 0 : bondNFTData.data) === null || _a === void 0 ? void 0 : _a.payoutTokenData.symbol,
|
|
70232
|
-
},
|
|
70233
|
-
});
|
|
70234
70262
|
setIsLoading(social === 'x' ? [true, false] : [false, true]);
|
|
70235
70263
|
yield generateImageFromTemplate(bondNFTData, url, apiUrl);
|
|
70236
70264
|
setIsLoading([false, false]);
|
|
@@ -70316,7 +70344,7 @@ const YourBondsModal = ({ onDismiss, userBill }) => {
|
|
|
70316
70344
|
justifyContent: 'center',
|
|
70317
70345
|
alignItems: 'center',
|
|
70318
70346
|
zIndex: 1,
|
|
70319
|
-
}, children: jsx$2(Spinner, { width: 100 }) })), imgLoaded && jsx$2(LinkShare, { bondNFTData: bondNFTData, userBill: userBill
|
|
70347
|
+
}, children: jsx$2(Spinner, { width: 100 }) })), imgLoaded && jsx$2(LinkShare, { bondNFTData: bondNFTData, userBill: userBill })] }), jsxs(Flex$1, { className: "yourbondsmodal yourbondinfo", children: [jsxs(Flex$1, { className: "yourbondinfo title-container", children: [jsx$2(Flex$1, { className: "title-container bondicon", children: userBill && (jsx$2(TokenImage, { symbol: (_k = (_j = userBill === null || userBill === void 0 ? void 0 : userBill.bond) === null || _j === void 0 ? void 0 : _j.showcaseTokenName) !== null && _k !== void 0 ? _k : (_m = (_l = userBill === null || userBill === void 0 ? void 0 : userBill.bond) === null || _l === void 0 ? void 0 : _l.earnToken) === null || _m === void 0 ? void 0 : _m.symbol, size: 40, chain: userBill === null || userBill === void 0 ? void 0 : userBill.bond.chainId })) }), jsx$2(Flex$1, { className: "title-container tokenname", children: (_p = (_o = userBill === null || userBill === void 0 ? void 0 : userBill.bond) === null || _o === void 0 ? void 0 : _o.showcaseTokenName) !== null && _p !== void 0 ? _p : userBill === null || userBill === void 0 ? void 0 : userBill.bond.earnToken.symbol }), jsx$2(Flex$1, { className: "title-container tokentags", children: (_r = (_q = userBill === null || userBill === void 0 ? void 0 : userBill.bond) === null || _q === void 0 ? void 0 : _q.tags) === null || _r === void 0 ? void 0 : _r.slice(0, 1).map((tag) => {
|
|
70320
70348
|
return (jsx$2(Flex$1, { sx: { marginRight: '10px' }, children: jsx$2(ListTag, { text: tag === null || tag === void 0 ? void 0 : tag.toUpperCase() }) }, tag));
|
|
70321
70349
|
}) }), jsxs(Text, { sx: { color: 'text', opacity: '0.6', fontSize: ['12px', '12px', '12px', '16px'] }, children: ["#", userBill === null || userBill === void 0 ? void 0 : userBill.id] })] }), jsxs(Flex$1, { className: "yourbondinfo blocks-container", children: [jsxs(Flex$1, { className: "attributes-container", children: [jsxs(Flex$1, { className: "attributes-header", sx: {
|
|
70322
70350
|
borderRadius: `${isOpenTraits ? '6px 6px 0px 0px' : 'normal'}`,
|
|
@@ -74684,7 +74712,11 @@ const BondRowsByChain = ({ bonds, hideTitles, isCampaign = false }) => {
|
|
|
74684
74712
|
const SDKConfig = useSDKConfig();
|
|
74685
74713
|
const validatedChains = (_a = SDKConfig === null || SDKConfig === void 0 ? void 0 : SDKConfig.chains) === null || _a === void 0 ? void 0 : _a.filter((chain) => MAINNET_CHAINS.includes(chain));
|
|
74686
74714
|
return (jsx$2(Flex$1, { className: "bondrowsbychain", children: validatedChains === null || validatedChains === void 0 ? void 0 : validatedChains.map((chain) => {
|
|
74687
|
-
return (jsx$2(BondRowsWithTitle, { chain: chain, bonds: bonds, hideTitles: hideTitles, showHotBonds: hideTitles
|
|
74715
|
+
return (jsx$2(BondRowsWithTitle, { chain: chain, bonds: bonds, hideTitles: hideTitles, showHotBonds: hideTitles
|
|
74716
|
+
? false
|
|
74717
|
+
: !isCampaign && SDKConfig.useHotBonds
|
|
74718
|
+
? chain === types.ChainId.BASE || chain === types.ChainId.MAINNET
|
|
74719
|
+
: false }, chain));
|
|
74688
74720
|
}) }));
|
|
74689
74721
|
};
|
|
74690
74722
|
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { UserBill, UserBillNftData } from '../../../../types/yourbonds';
|
|
2
|
-
declare const LinkShare: ({ bondNFTData, userBill,
|
|
2
|
+
declare const LinkShare: ({ bondNFTData, userBill, }: {
|
|
3
3
|
bondNFTData: UserBillNftData | undefined;
|
|
4
4
|
userBill: UserBill | undefined;
|
|
5
|
-
chainId: number;
|
|
6
5
|
}) => import("react").JSX.Element;
|
|
7
6
|
export default LinkShare;
|
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.
|
|
6
|
+
"version": "2.7.6-test.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.
|
|
59
|
+
"@ape.swap/apeswap-lists": "3.77.0-test.2",
|
|
60
60
|
"@emotion/react": "11.11.4",
|
|
61
61
|
"bignumber.js": "^9.1.2",
|
|
62
62
|
"chart.js": "4.2.0",
|