@ape.swap/bonds-sdk 4.0.0-test.20 → 4.0.0-test.22
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 +7 -1
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -22208,6 +22208,8 @@ const PRICE_GETTER_ADDRESSES = {
|
|
|
22208
22208
|
[types$1.ChainId.SONIC]: '0xC22Db8dDe3A3591fFB02be868Ce2901d30671FE4', // Price getter V3
|
|
22209
22209
|
[types$1.ChainId.MONAD_TESTNET]: '0x0187D959A28B0D3B490c2D898fA1CcD054cCC3cd', // Price getter V3
|
|
22210
22210
|
[types$1.ChainId.BERACHAIN]: '0x70005Da62E17041977f7F99f91098b125CcDE1a7',
|
|
22211
|
+
[types$1.ChainId.UNICHAIN]: '0xE2EaDC50c2F3044065E2484B0287F1CA82fD92E1',
|
|
22212
|
+
[types$1.ChainId.KATANA]: '0x5fbFd1955EeA2F62F1AfD6d6E92223Ae859F7887',
|
|
22211
22213
|
};
|
|
22212
22214
|
const MULTICALL_V2 = {
|
|
22213
22215
|
[types$1.ChainId.BSC]: '0x38ce767d81de3940CFa5020B55af1A400ED4F657',
|
|
@@ -22243,6 +22245,8 @@ const SoulZapTokenManager = {
|
|
|
22243
22245
|
[types$1.ChainId.BLAST]: '0xde9Eb844AD9e8B067309205707e2fFaA6a049cc0',
|
|
22244
22246
|
[types$1.ChainId.BERACHAIN]: '0xcFd581f15433899d093ca1ADfc3aC13c37DBfbe7',
|
|
22245
22247
|
[types$1.ChainId.SONIC]: '0x173E473b314506324E10aD54978d25E1F54bCa48',
|
|
22248
|
+
[types$1.ChainId.UNICHAIN]: '0xd8864Fec43a9f276134D70DefC02293795CF343F',
|
|
22249
|
+
[types$1.ChainId.KATANA]: '0xd8864Fec43a9f276134D70DefC02293795CF343F',
|
|
22246
22250
|
};
|
|
22247
22251
|
const ACF_TO_ABOND = '0xEce2b9C3704632Ce760271B0b84E3A4A698Ca962';
|
|
22248
22252
|
const LENS_CONTRACT = {
|
|
@@ -67899,6 +67903,7 @@ const supportedByLIFI = [
|
|
|
67899
67903
|
types$1.ChainId.SONIC,
|
|
67900
67904
|
types$1.ChainId.BERACHAIN,
|
|
67901
67905
|
types$1.ChainId.UNICHAIN,
|
|
67906
|
+
types$1.ChainId.KATANA,
|
|
67902
67907
|
];
|
|
67903
67908
|
const STRAPI_URL = `https://strapi-api.ape.bond`;
|
|
67904
67909
|
const SOUL_ZAP_API = `https://zap-api.ape.bond/zap?batch=1`;
|
|
@@ -79422,7 +79427,7 @@ const BondInfoTooltip = ({ earnTokenContract, earnTokenSymbol, bondContract, pro
|
|
|
79422
79427
|
},
|
|
79423
79428
|
});
|
|
79424
79429
|
};
|
|
79425
|
-
return (jsxs(Flex, { sx: { flexDirection: 'column', flexWrap: 'wrap' }, children: [jsx$2(ButtonsRow, { twitter: twitter, projectLink: projectLink, bubble: earnTokenContract, audit: audit, chain: chain }), (config === null || config === void 0 ? void 0 : config.referenceId) === 'apebond' && !isSoldOut && billType !== 'fcfs' && chain !== types$1.ChainId.SOL && (jsx$2(Flex, { sx: { width: '100%', my: '5px', justifyContent: 'center', position: 'relative', height: '25px' }, children: jsx$2(ExpandedViewButton, { handleNavigation: handleProjectViewNavigation, rightPos: '-5px' }) })), jsx$2(Flex, { sx: { justifyContent: 'center' }, children: jsxs(Flex, { sx: { width: '144px', flexDirection: 'column' }, children: [jsx$2(Flex, { sx: styles$a.linkRow, children: tokenLink && (jsxs(Link, { href: tokenLink, sx: styles$a.link, target: "_blank", children: ["View Token Contract", jsx$2(Flex, { sx: { ml: '5px' }, children: jsx$2(Svg, { icon: "external", color: "text", width: 10 }) })] })) }), jsx$2(Flex, { sx: styles$a.linkRow, children: bondLink && (jsxs(Link, { href: bondLink, sx: styles$a.link, target: "_blank", children: ["View Bond Contract", jsx$2(Flex, { sx: { ml: '5px' }, children: jsx$2(Svg, { icon: "external", color: "text", width: 10 }) })] })) }), jsx$2(Flex, { sx: styles$a.linkRow, children: billType !== 'fcfs' && (jsxs(Link, { href: bondDashboard, sx: styles$a.link, target: "_blank", children: ["View Bond Insights", jsx$2(Flex, { sx: { ml: '5px' }, children: jsx$2(Svg, { icon: "external", color: "text", width: 10 }) })] })) })] }) })] }));
|
|
79430
|
+
return (jsxs(Flex, { sx: { flexDirection: 'column', flexWrap: 'wrap' }, children: [jsx$2(ButtonsRow, { twitter: twitter, projectLink: projectLink, bubble: earnTokenContract, audit: audit, chain: chain }), (config === null || config === void 0 ? void 0 : config.referenceId) === 'apebond' && !isSoldOut && billType !== 'fcfs' && chain !== types$1.ChainId.SOL && (jsx$2(Flex, { sx: { width: '100%', my: '5px', justifyContent: 'center', position: 'relative', height: '25px' }, children: jsx$2(ExpandedViewButton, { handleNavigation: handleProjectViewNavigation, rightPos: '-5px' }) })), jsx$2(Flex, { sx: { justifyContent: 'center' }, children: jsxs(Flex, { sx: { width: '144px', flexDirection: 'column' }, children: [jsx$2(Flex, { sx: styles$a.linkRow, children: tokenLink && (jsxs(Link, { href: tokenLink, sx: styles$a.link, target: "_blank", children: ["View Token Contract", jsx$2(Flex, { sx: { ml: '5px' }, children: jsx$2(Svg, { icon: "external", color: "text", width: 10 }) })] })) }), jsx$2(Flex, { sx: styles$a.linkRow, children: bondLink && (jsxs(Link, { href: bondLink, sx: styles$a.link, target: "_blank", children: ["View Bond Contract", jsx$2(Flex, { sx: { ml: '5px' }, children: jsx$2(Svg, { icon: "external", color: "text", width: 10 }) })] })) }), jsx$2(Flex, { sx: styles$a.linkRow, children: billType !== 'fcfs' && chain !== types$1.ChainId.SOL && (jsxs(Link, { href: bondDashboard, sx: styles$a.link, target: "_blank", children: ["View Bond Insights", jsx$2(Flex, { sx: { ml: '5px' }, children: jsx$2(Svg, { icon: "external", color: "text", width: 10 }) })] })) })] }) })] }));
|
|
79426
79431
|
};
|
|
79427
79432
|
|
|
79428
79433
|
const UserBondRow = ({ bill }) => {
|
|
@@ -85788,6 +85793,7 @@ const TransactionModal = ({ onDismiss, txChain, approvalState, approveCallback,
|
|
|
85788
85793
|
setHasToSwitchChain(false);
|
|
85789
85794
|
setApproveLoading(true);
|
|
85790
85795
|
})
|
|
85796
|
+
.catch((e) => console.error(e))
|
|
85791
85797
|
.finally(() => {
|
|
85792
85798
|
setLoadingSwitchChain(false);
|
|
85793
85799
|
});
|