@ape.swap/bonds-sdk 3.0.96 → 3.0.97
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/main.js
CHANGED
|
@@ -3929,6 +3929,7 @@ var icons;
|
|
|
3929
3929
|
icons["SONIC"] = "sonic";
|
|
3930
3930
|
icons["BERA"] = "bera";
|
|
3931
3931
|
icons["KATANA"] = "katana";
|
|
3932
|
+
icons["UNICHAIN"] = "unichain";
|
|
3932
3933
|
//Social media icons
|
|
3933
3934
|
icons["DISCORD"] = "discord";
|
|
3934
3935
|
icons["REDDIT"] = "reddit";
|
|
@@ -6791,6 +6792,10 @@ const KATANA = ({ width }) => {
|
|
|
6791
6792
|
return (jsx$2("svg", { width: width || '30', height: width || '30', viewBox: "0 0 64 64", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: jsxs("g", { children: [jsx$2("title", { children: "Layer 1" }), jsx$2("rect", { width: "64", height: "64", fill: "#068be3", id: "svg_1" }), jsx$2("path", { d: "m28.8015,25.6354l0,-14.6354l-8.45798,0l-6.34352,20.9476l5.07482,0l-5.07482,16.7582l14.8015,0l0,-10.437l12.6876,14.7312l8.5109,-12.6734l-16.9159,-8.379l-4.2826,0l10.5724,0l6.3433,-20.9476l-8.4579,0l-8.4578,14.6354z", fill: "#F6FF0D", id: "svg_3" })] }) }));
|
|
6792
6793
|
};
|
|
6793
6794
|
|
|
6795
|
+
const UNICHAIN = ({ width }) => {
|
|
6796
|
+
return (jsx$2("svg", { width: width || '30', height: width || '30', viewBox: "0 0 64 64", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: jsxs("g", { children: [jsx$2("title", { children: "Layer 1" }), jsx$2("rect", { id: "svg_1", fill: "#f50db4", height: "64", width: "64" }), jsx$2("path", { id: "svg_2", fill: "white", d: "m52.00002,31.61947c-10.8407,0 -19.6195,-8.7876 -19.6195,-19.61945l-0.761,0l0,19.61945l-19.61954,0l0,0.7611c10.84074,0 19.61954,8.7876 19.61954,19.6194l0.761,0l0,-19.6194l19.6195,0l0,-0.7611z" })] }) }));
|
|
6797
|
+
};
|
|
6798
|
+
|
|
6794
6799
|
const Icon$a = ({ width }) => {
|
|
6795
6800
|
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" })] }));
|
|
6796
6801
|
};
|
|
@@ -7205,6 +7210,8 @@ const Svg = (_a) => {
|
|
|
7205
7210
|
return jsx$2(BERA, Object.assign({}, props, { getStyles: getStyles }));
|
|
7206
7211
|
case icons.KATANA:
|
|
7207
7212
|
return jsx$2(KATANA, Object.assign({}, props, { getStyles: getStyles }));
|
|
7213
|
+
case icons.UNICHAIN:
|
|
7214
|
+
return jsx$2(UNICHAIN, Object.assign({}, props, { getStyles: getStyles }));
|
|
7208
7215
|
default:
|
|
7209
7216
|
return null;
|
|
7210
7217
|
}
|
|
@@ -18768,6 +18775,7 @@ const MAINNET_CHAINS = [
|
|
|
18768
18775
|
types.ChainId.MONAD_TESTNET,
|
|
18769
18776
|
types.ChainId.BERACHAIN,
|
|
18770
18777
|
types.ChainId.KATANA,
|
|
18778
|
+
types.ChainId.UNICHAIN,
|
|
18771
18779
|
];
|
|
18772
18780
|
const TESTNET_CHAINS = [types.ChainId.MONAD_TESTNET];
|
|
18773
18781
|
// Network Icons
|
|
@@ -18791,6 +18799,7 @@ const NETWORK_ICONS = {
|
|
|
18791
18799
|
[types.ChainId.SONIC]: icons.SONIC,
|
|
18792
18800
|
[types.ChainId.BERACHAIN]: icons.BERA,
|
|
18793
18801
|
[types.ChainId.KATANA]: icons.KATANA,
|
|
18802
|
+
[types.ChainId.UNICHAIN]: icons.UNICHAIN,
|
|
18794
18803
|
};
|
|
18795
18804
|
// Network labels
|
|
18796
18805
|
const NETWORK_LABEL = {
|
|
@@ -18815,6 +18824,7 @@ const NETWORK_LABEL = {
|
|
|
18815
18824
|
[types.ChainId.SONIC]: 'Sonic',
|
|
18816
18825
|
[types.ChainId.BERACHAIN]: 'Berachain',
|
|
18817
18826
|
[types.ChainId.KATANA]: 'Katana',
|
|
18827
|
+
[types.ChainId.UNICHAIN]: 'Unichain',
|
|
18818
18828
|
};
|
|
18819
18829
|
// Network block explorers
|
|
18820
18830
|
const BLOCK_EXPLORER = {
|
|
@@ -18839,6 +18849,7 @@ const BLOCK_EXPLORER = {
|
|
|
18839
18849
|
[types.ChainId.SONIC]: 'https://sonicscan.org',
|
|
18840
18850
|
[types.ChainId.BERACHAIN]: 'https://berascan.com',
|
|
18841
18851
|
[types.ChainId.KATANA]: 'https://explorer.katanarpc.com',
|
|
18852
|
+
[types.ChainId.UNICHAIN]: 'https://uniscan.xyz',
|
|
18842
18853
|
};
|
|
18843
18854
|
|
|
18844
18855
|
const supportedByLIFI = [
|
|
@@ -18852,6 +18863,7 @@ const supportedByLIFI = [
|
|
|
18852
18863
|
types.ChainId.BLAST,
|
|
18853
18864
|
types.ChainId.SONIC,
|
|
18854
18865
|
types.ChainId.BERACHAIN,
|
|
18866
|
+
types.ChainId.UNICHAIN,
|
|
18855
18867
|
];
|
|
18856
18868
|
const STRAPI_URL = `https://strapi-api.ape.bond`;
|
|
18857
18869
|
const SOUL_ZAP_API = `https://zap-api.ape.bond/zap?batch=1`;
|
|
@@ -19036,6 +19048,7 @@ const NETWORK_COLORS = {
|
|
|
19036
19048
|
[types.ChainId.SONIC]: '#fb9a4c4d',
|
|
19037
19049
|
[types.ChainId.BERACHAIN]: '#783e244d',
|
|
19038
19050
|
[types.ChainId.KATANA]: '#068be34d',
|
|
19051
|
+
[types.ChainId.UNICHAIN]: '#f50db44d',
|
|
19039
19052
|
};
|
|
19040
19053
|
const TokenInfoAndName = ({ tokenSymbol, chain, tag, vestEnds, isHotBond, }) => {
|
|
19041
19054
|
return (jsxs(Flex, { className: "tokeninfoname container", children: [jsx$2(Flex, { sx: {
|
|
@@ -22501,6 +22514,7 @@ const MULTICALL_V2 = {
|
|
|
22501
22514
|
[types.ChainId.SONIC]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
22502
22515
|
[types.ChainId.BERACHAIN]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
22503
22516
|
[types.ChainId.KATANA]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
22517
|
+
[types.ChainId.UNICHAIN]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
22504
22518
|
};
|
|
22505
22519
|
const SoulZapTokenManager = {
|
|
22506
22520
|
[types.ChainId.MAINNET]: '0x2F87f76336A560bbB0d18d357D10646bB96E8802',
|
|
@@ -58318,6 +58332,7 @@ const PUBLIC_RPC_URLS = {
|
|
|
58318
58332
|
[types.ChainId.SONIC]: ['https://rpc.soniclabs.com'],
|
|
58319
58333
|
[types.ChainId.BERACHAIN]: ['https://rpc.berachain.com'],
|
|
58320
58334
|
[types.ChainId.KATANA]: ['https://rpc-katana.t.conduit.xyz/NRcSLqEG4Hw55GzTSu6Sratq94kKtUGfH'],
|
|
58335
|
+
[types.ChainId.UNICHAIN]: ['https://unichain.drpc.org'],
|
|
58321
58336
|
};
|
|
58322
58337
|
|
|
58323
58338
|
// This is the legacy multicall
|