@ape.swap/bonds-sdk 1.0.502 → 1.0.504
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/BondRows/BondRow.d.ts +0 -1
- package/dist/components/BondRows/BondRow.js +2 -13
- package/dist/components/BondRows/BondRowHeader.js +1 -12
- package/dist/components/BondRows/BondRowsByChain.d.ts +1 -1
- package/dist/components/BondRows/BondRowsByChain.js +2 -13
- package/dist/components/BondRows/BondRowsWithTitle.d.ts +1 -2
- package/dist/components/BondRows/BondRowsWithTitle.js +2 -13
- package/dist/components/BondRows/ChainTitle.d.ts +1 -1
- package/dist/components/BondRows/ChainTitle.js +2 -13
- package/dist/components/MenuSelect/MenuSelect.d.ts +5 -1
- package/dist/components/MenuSelect/MenuSelect.js +1 -1
- package/dist/components/MenuSelect/RecommendationSelector.js +5 -16
- package/dist/components/Modals/BondModal/BondModal.js +41 -48
- package/dist/components/Modals/YourBondsModal/YourBondsModal.d.ts +2 -2
- package/dist/components/Modals/YourBondsModal/YourBondsModal.js +27 -34
- package/dist/components/NetworkFilter/index.js +6 -17
- package/dist/components/ProgressBar/ProgressBar.js +3 -14
- package/dist/components/ProgressBar/ProgressBarWrapper.js +1 -12
- package/dist/components/TokenInfoAndName/index.d.ts +1 -1
- package/dist/components/TokenInfoAndName/index.js +6 -17
- package/dist/components/Tooltip/ButtonsRow.js +1 -1
- package/dist/components/Tooltip/Tooltip.js +1 -12
- package/dist/components/YourBondsModal/YourBondsModal.js +9 -20
- package/dist/components/uikit-sdk/Button/IconButton.js +1 -1
- package/dist/components/uikit-sdk/Checkbox/index.d.ts +0 -1
- package/dist/components/uikit-sdk/Checkbox/index.js +2 -2
- package/dist/components/uikit-sdk/Flex/index.d.ts +3 -1
- package/dist/components/uikit-sdk/Input/Input.d.ts +7 -2
- package/dist/components/uikit-sdk/Input/Input.js +5 -5
- package/dist/components/uikit-sdk/Input/NumericInput.d.ts +4 -5
- package/dist/components/uikit-sdk/Input/StyledInput.js +1 -12
- package/dist/components/uikit-sdk/Select/Select.js +4 -4
- package/dist/components/uikit-sdk/Select/SelectItem.d.ts +0 -1
- package/dist/components/uikit-sdk/Select/SelectItem.js +1 -1
- package/dist/components/uikit-sdk/Svg/Icons/AbondFullLogo.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/AbondSmallLogo.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/AccountMonkey.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/AllChains.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/ApebondLogo.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/ApeswapSmallLogo.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Arrow.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Audit.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/BananaIcon.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/BillsM1.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/BillsM2.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/BillsM3.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Bridge.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Bubble.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Calculator.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Calendar.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Cancelled.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Card.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Caret.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Chain.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Chart.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Chat.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Close.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Cog.d.ts +0 -1
- package/dist/components/uikit-sdk/Svg/Icons/Cog.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Collapse.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Copy.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Discord.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/DiscordNew.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Docs.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/DocsV2.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Ellipse.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Error.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Expand.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Explorer.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/External.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Farm.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Fav.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/FilledURL.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Fire.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Frame.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/FullLogo.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Gnana.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/GreenShield.d.ts +0 -1
- package/dist/components/uikit-sdk/Svg/Icons/GreenShield.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Hamburger.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/HamburgerClosed.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Home.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Hot.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Info.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/InfoSolid.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Insight.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Instagram.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Island.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/LanguageIcon.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/LineChart.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/LiquidityIcon.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Logout.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Medium.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/MenuSettings.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Message.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Migrate.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Moon.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/More.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/NFA.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/NavCaret.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/PlaceholderMonkey.d.ts +0 -1
- package/dist/components/uikit-sdk/Svg/Icons/PlaceholderMonkey.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Play.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Pool.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Positions.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/ProfileDark.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/ProfileLight.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Question.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/QuestionCircle.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/QuestionFill.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Quiz.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Receipt.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Reddit.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Rocket.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/ScrollTop.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Search.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Send.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Settings.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Share.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Sort.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Success.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/SuccessOutline.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/SwapArrows.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/SwitchArrows.d.ts +0 -1
- package/dist/components/uikit-sdk/Svg/Icons/SwitchArrows.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Tag.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Telegram.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/TelegramNew.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/TextLogo.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/TickShield.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Trade.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Trash.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Twitter.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/URL.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Vaults.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Verified.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Wallet.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Warning.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Watch.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Website.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/WebsiteNew.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/WhitepaperNew.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/XNew.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/YellowQuestionMark.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/ZapArrow.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/ZapIcon.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/polygonNew.js +1 -12
- package/dist/components/uikit-sdk/Svg/index.d.ts +0 -1
- package/dist/components/uikit-sdk/Svg/tokens/ABOND.js +1 -12
- package/dist/components/uikit-sdk/Svg/tokens/ARBITRUM.js +1 -12
- package/dist/components/uikit-sdk/Svg/tokens/AVAX.js +1 -12
- package/dist/components/uikit-sdk/Svg/tokens/BANANA.js +1 -12
- package/dist/components/uikit-sdk/Svg/tokens/BASE.js +1 -12
- package/dist/components/uikit-sdk/Svg/tokens/BNB.js +1 -12
- package/dist/components/uikit-sdk/Svg/tokens/BSC.js +1 -12
- package/dist/components/uikit-sdk/Svg/tokens/CELO.js +1 -12
- package/dist/components/uikit-sdk/Svg/tokens/CRONOS.js +1 -12
- package/dist/components/uikit-sdk/Svg/tokens/ETH.js +1 -12
- package/dist/components/uikit-sdk/Svg/tokens/FANTOM.js +1 -12
- package/dist/components/uikit-sdk/Svg/tokens/GNANA.js +1 -12
- package/dist/components/uikit-sdk/Svg/tokens/GNOSIS.js +1 -12
- package/dist/components/uikit-sdk/Svg/tokens/INEVM.js +1 -12
- package/dist/components/uikit-sdk/Svg/tokens/IOTA.js +1 -12
- package/dist/components/uikit-sdk/Svg/tokens/LIGHTLINK.js +1 -12
- package/dist/components/uikit-sdk/Svg/tokens/LINEA.js +1 -12
- package/dist/components/uikit-sdk/Svg/tokens/OKX.js +1 -12
- package/dist/components/uikit-sdk/Svg/tokens/OPTIMISM.js +2 -13
- package/dist/components/uikit-sdk/Svg/tokens/POLYGON.js +1 -12
- package/dist/components/uikit-sdk/Svg/tokens/POLYGONZK.js +1 -12
- package/dist/components/uikit-sdk/Svg/tokens/TLOS.js +1 -12
- package/dist/components/uikit-sdk/Svg/walletIcons/BinanceChain.d.ts +0 -1
- package/dist/components/uikit-sdk/Svg/walletIcons/BinanceChain.js +1 -12
- package/dist/components/uikit-sdk/Svg/walletIcons/Bitkeep.d.ts +0 -1
- package/dist/components/uikit-sdk/Svg/walletIcons/Bitkeep.js +1 -12
- package/dist/components/uikit-sdk/Svg/walletIcons/Brave.d.ts +0 -1
- package/dist/components/uikit-sdk/Svg/walletIcons/Brave.js +1 -12
- package/dist/components/uikit-sdk/Svg/walletIcons/Coinbase.d.ts +0 -1
- package/dist/components/uikit-sdk/Svg/walletIcons/Coinbase.js +1 -12
- package/dist/components/uikit-sdk/Svg/walletIcons/MadWallet.js +1 -12
- package/dist/components/uikit-sdk/Svg/walletIcons/MathWallet.d.ts +0 -1
- package/dist/components/uikit-sdk/Svg/walletIcons/MathWallet.js +1 -12
- package/dist/components/uikit-sdk/Svg/walletIcons/Metamask.d.ts +0 -1
- package/dist/components/uikit-sdk/Svg/walletIcons/Metamask.js +1 -12
- package/dist/components/uikit-sdk/Svg/walletIcons/Nabox.d.ts +0 -1
- package/dist/components/uikit-sdk/Svg/walletIcons/Nabox.js +1 -12
- package/dist/components/uikit-sdk/Svg/walletIcons/OKX.d.ts +0 -1
- package/dist/components/uikit-sdk/Svg/walletIcons/OKX.js +1 -12
- package/dist/components/uikit-sdk/Svg/walletIcons/OntoWallet.d.ts +0 -1
- package/dist/components/uikit-sdk/Svg/walletIcons/OntoWallet.js +1 -12
- package/dist/components/uikit-sdk/Svg/walletIcons/SafePalWallet.d.ts +0 -1
- package/dist/components/uikit-sdk/Svg/walletIcons/SafePalWallet.js +1 -12
- package/dist/components/uikit-sdk/Svg/walletIcons/SocialLogin.d.ts +0 -1
- package/dist/components/uikit-sdk/Svg/walletIcons/SocialLogin.js +1 -12
- package/dist/components/uikit-sdk/Svg/walletIcons/TokenPocket.d.ts +0 -1
- package/dist/components/uikit-sdk/Svg/walletIcons/TokenPocket.js +1 -12
- package/dist/components/uikit-sdk/Svg/walletIcons/TorusWallet.d.ts +0 -1
- package/dist/components/uikit-sdk/Svg/walletIcons/TorusWallet.js +1 -12
- package/dist/components/uikit-sdk/Svg/walletIcons/TrustWallet.d.ts +0 -1
- package/dist/components/uikit-sdk/Svg/walletIcons/TrustWallet.js +1 -12
- package/dist/components/uikit-sdk/Svg/walletIcons/Unstoppable.js +1 -12
- package/dist/components/uikit-sdk/Svg/walletIcons/WalletConnect.d.ts +0 -1
- package/dist/components/uikit-sdk/Svg/walletIcons/WalletConnect.js +1 -12
- package/dist/components/uikit-sdk/Svg/walletIcons/WalletImage.js +1 -12
- package/dist/components/uikit-sdk/Tag/ListTag.js +1 -1
- package/dist/components/uikit-sdk/Tag/styles.d.ts +2 -3
- package/dist/components/uikit-sdk/Text/index.js +1 -1
- package/dist/components/uikit-sdk/TokenImage/index.d.ts +1 -1
- package/dist/components/uikit-sdk/TokenImage/index.js +2 -13
- package/dist/components/uikit-sdk/TooltipBubble/index.js +1 -1
- package/dist/config/constants/addresses.js +4 -4
- package/dist/contexts/Localization/Provider.js +1 -1
- package/dist/contexts/ModalContext.js +3 -14
- package/dist/contexts/RefreshContext.js +1 -12
- package/dist/hooks/PriceGetter/usePricesFromPriceGetter.js +3 -3
- package/dist/pages/BondSingle/BondSingle.js +4 -15
- package/dist/pages/Bonds/Bonds.js +1 -12
- package/dist/pages/YourBonds/YourBonds.js +7 -18
- package/dist/pages/YourBonds/fetchBillsUser.js +5 -7
- package/dist/state/tokenPrices/fetchTokenPricesForMultipleChains.js +16 -3
- package/dist/state/tokenPrices/useTokenPricesNew.d.ts +1 -1
- package/dist/state/tokenPrices/useTokenPricesNew.js +1 -1
- package/dist/theme/colors.js +2 -2
- package/package.json +4 -3
|
@@ -1,14 +1,3 @@
|
|
|
1
|
-
var __assign = (this && this.__assign) || function () {
|
|
2
|
-
__assign = Object.assign || function(t) {
|
|
3
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
-
s = arguments[i];
|
|
5
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
-
t[p] = s[p];
|
|
7
|
-
}
|
|
8
|
-
return t;
|
|
9
|
-
};
|
|
10
|
-
return __assign.apply(this, arguments);
|
|
11
|
-
};
|
|
12
1
|
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
13
2
|
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
14
3
|
if (ar || !(i in from)) {
|
|
@@ -60,19 +49,19 @@ var ModalProvider = function (_a) {
|
|
|
60
49
|
handleDismiss();
|
|
61
50
|
}
|
|
62
51
|
};
|
|
63
|
-
return (_jsxs(Context.Provider,
|
|
52
|
+
return (_jsxs(Context.Provider, { value: {
|
|
64
53
|
nodeId: nodeId,
|
|
65
54
|
modalNode: modalNode,
|
|
66
55
|
setModalNode: setModalNode,
|
|
67
56
|
onPresent: handlePresent,
|
|
68
57
|
handleClose: handleDismiss,
|
|
69
58
|
setCloseOnOverlayClick: setCloseOnOverlayClick,
|
|
70
|
-
}
|
|
59
|
+
}, children: [modalNode.map(function (modal, i) {
|
|
71
60
|
return (_jsxs(Flex, { children: [_jsx(Flex, { onClick: handleOverlayDismiss }), React.isValidElement(modal) &&
|
|
72
61
|
React.cloneElement(modal, {
|
|
73
62
|
// @ts-ignore
|
|
74
63
|
onDismiss: handleDismiss,
|
|
75
64
|
})] }, nodeId[i]));
|
|
76
|
-
}), children] }))
|
|
65
|
+
}), children] }));
|
|
77
66
|
};
|
|
78
67
|
export default ModalProvider;
|
|
@@ -1,14 +1,3 @@
|
|
|
1
|
-
var __assign = (this && this.__assign) || function () {
|
|
2
|
-
__assign = Object.assign || function(t) {
|
|
3
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
-
s = arguments[i];
|
|
5
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
-
t[p] = s[p];
|
|
7
|
-
}
|
|
8
|
-
return t;
|
|
9
|
-
};
|
|
10
|
-
return __assign.apply(this, arguments);
|
|
11
|
-
};
|
|
12
1
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
13
2
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
14
3
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -84,6 +73,6 @@ var RefreshContextProvider = function (_a) {
|
|
|
84
73
|
}); }, SLOW_INTERVAL);
|
|
85
74
|
return function () { return clearInterval(interval); };
|
|
86
75
|
}, []);
|
|
87
|
-
return _jsx(RefreshContext.Provider,
|
|
76
|
+
return _jsx(RefreshContext.Provider, { value: { slow: slow, fast: fast, veryFast: veryFast }, children: children });
|
|
88
77
|
};
|
|
89
78
|
export { RefreshContext, RefreshContextProvider };
|
|
@@ -42,10 +42,10 @@ import PRICE_GETTER_ABI from '../../config/abi/price-getter.json';
|
|
|
42
42
|
import PRICE_GETTER_ABI_LINEA from '../../config/abi/price-getter-linea.json';
|
|
43
43
|
import { ChainId, Protocols } from '../../enum/apeswaplists';
|
|
44
44
|
import { defaultDexFactories, dexFactories } from './dexFactories';
|
|
45
|
-
export function getTokenPricesV2FromPriceGetter(
|
|
46
|
-
|
|
47
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
45
|
+
export function getTokenPricesV2FromPriceGetter(tokensToCall_1, chain_1) {
|
|
46
|
+
return __awaiter(this, arguments, void 0, function (tokensToCall, chain, lpTokens) {
|
|
48
47
|
var tokenCalls, calls, tokenResults;
|
|
48
|
+
if (lpTokens === void 0) { lpTokens = false; }
|
|
49
49
|
return __generator(this, function (_a) {
|
|
50
50
|
switch (_a.label) {
|
|
51
51
|
case 0:
|
|
@@ -1,14 +1,3 @@
|
|
|
1
|
-
var __assign = (this && this.__assign) || function () {
|
|
2
|
-
__assign = Object.assign || function(t) {
|
|
3
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
-
s = arguments[i];
|
|
5
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
-
t[p] = s[p];
|
|
7
|
-
}
|
|
8
|
-
return t;
|
|
9
|
-
};
|
|
10
|
-
return __assign.apply(this, arguments);
|
|
11
|
-
};
|
|
12
1
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "theme-ui/jsx-runtime";
|
|
13
2
|
/** @jsxImportSource theme-ui */
|
|
14
3
|
import { useEffect, useState } from 'react';
|
|
@@ -117,9 +106,9 @@ var BondSingle = function (_a) {
|
|
|
117
106
|
var getPremium = premium(bond);
|
|
118
107
|
return parseFloat(getPremium) < 0 ? 'premium-negative' : 'premium-positive';
|
|
119
108
|
};
|
|
120
|
-
return (_jsx(ThemeUIProvider,
|
|
109
|
+
return (_jsx(ThemeUIProvider, { theme: defaultTheme, children: _jsx(Flex, { className: "container page-container", children: bondData.map(function (bond) {
|
|
121
110
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
122
|
-
return (_jsxs(_Fragment, { children: [_jsxs(Flex,
|
|
111
|
+
return (_jsxs(_Fragment, { children: [_jsxs(Flex, { className: "container blocks-container", children: [_jsxs(Flex, { className: "block-container discount ".concat(getDiscountColor(bond === null || bond === void 0 ? void 0 : bond.discount)), children: [_jsxs(Flex, { className: "block-container header", children: ["Discount", _jsx(TooltipBubble, { body: _jsx(Flex, { children: TooltipText.Discount }), width: "230px", placement: "bottomLeft", transformTip: "translate(-5%, -5%)", children: _jsx(Flex, { className: "block-header icon", children: _jsx(Svg, { icon: "questionCircle", width: "12px" }) }) })] }), "".concat((_a = bond === null || bond === void 0 ? void 0 : bond.discount) === null || _a === void 0 ? void 0 : _a.toFixed(2), "%")] }), _jsxs(Flex, { className: "block-container arr", children: [_jsxs(Flex, { className: "block-container header", children: ["ARR", _jsx(TooltipBubble, { body: _jsx(Flex, { children: TooltipText.ARR }), width: "230px", placement: "bottomLeft", transformTip: "translate(-5%, -5%)", children: _jsx(Flex, { className: "block-header icon", children: _jsx(Svg, { icon: "questionCircle", width: "12px" }) }) })] }), "".concat(((((_b = bond === null || bond === void 0 ? void 0 : bond.discount) !== null && _b !== void 0 ? _b : 0) * 365) / vestingTime((_c = bond === null || bond === void 0 ? void 0 : bond.vestingTerm) !== null && _c !== void 0 ? _c : 0).days).toFixed(2), "%")] }), _jsxs(Flex, { className: "block-container term", children: [_jsxs(Flex, { className: "block-container header", children: ["Terms", _jsx(TooltipBubble, { body: _jsx(Flex, { children: TooltipText.Terms }), width: "230px", placement: "bottomLeft", transformTip: "translate(-5%, -5%)", children: _jsx(Flex, { className: "block-header icon", children: _jsx(Svg, { icon: "questionCircle", width: "12px" }) }) })] }), vestingTime((_d = bond === null || bond === void 0 ? void 0 : bond.vestingTerm) !== null && _d !== void 0 ? _d : 0).days ? "".concat(vestingTime((_e = bond === null || bond === void 0 ? void 0 : bond.vestingTerm) !== null && _e !== void 0 ? _e : 0).days, " D") : '-'] }), _jsxs(Flex, { className: "block-container maxbuy", children: [_jsxs(Flex, { className: "block-container header", children: ["Max Buy", _jsx(TooltipBubble, { body: _jsx(Flex, { children: TooltipText.MaxBuy(bond.payoutTokenName) }), width: "230px", placement: "bottomLeft", transformTip: "translate(-5%, -5%)", children: _jsx(Flex, { className: "block-header icon", children: _jsx(Svg, { icon: "questionCircle", width: "12px" }) }) })] }), (_f = parseFloat(maxBuy(bond).toFixed(0))) === null || _f === void 0 ? void 0 : _f.toLocaleString('en-US')] })] }), _jsxs(Flex, { className: "container bondinfo-graph-container", children: [_jsxs(Flex, { className: "container bondinfo-container", children: [_jsxs(Flex, { className: "bondinfo-container title-container", children: [_jsx(Flex, { className: "title-container bondicon", children: _jsx(TokenImage, { symbol: (_g = bond.showcaseTokenName) !== null && _g !== void 0 ? _g : bond.payoutTokenName, size: 50 }) }), _jsx(Flex, { className: "title-container bondname", children: bond === null || bond === void 0 ? void 0 : bond.showcaseTokenName }), _jsxs(Flex, { className: "title-container price-container", children: [_jsxs(Flex, { className: "price-container price", children: ["$", earnTokenPrice(bond)] }), _jsxs(Flex, { className: "price-container discounted", children: ["$", discountEarnTokenPrice(bond)] })] }), _jsx(Flex, { className: "title-container tokentags", children: _jsx(ListTag, { text: (_h = bond === null || bond === void 0 ? void 0 : bond.tags) === null || _h === void 0 ? void 0 : _h[0], variant: ((_j = bond === null || bond === void 0 ? void 0 : bond.tags) === null || _j === void 0 ? void 0 : _j[0]) === 'Cex Fund' ? 'cex_fund' : 'liquidity' }) })] }), _jsx(Flex, { className: "bondinfo-container description-container", children: bond === null || bond === void 0 ? void 0 : bond.shortDescription }), _jsxs(Flex, { className: "bondinfo-container text-container", children: [_jsxs(Flex, { className: "text-container row", children: [_jsx(Flex, { className: "row-container spend", children: "You spend:" }), _jsxs(Flex, { className: "row-container spend-val", children: [youSpend, " ", bond.principalTokenName, " = $ ", formatUSDNumber(youSpendUSD(bond))] })] }), _jsxs(Flex, { className: "text-container row", children: [_jsxs(Flex, { className: "row-container premium", children: ["Premium:", _jsx(TooltipBubble, { body: _jsx(Flex, { children: TooltipText.Premium }), width: "230px", placement: "bottomLeft", transformTip: "translate(-5%, -5%)", children: _jsx(Flex, { className: "row-container premium-icon", children: _jsx(Svg, { icon: "questionCircle", width: "12px" }) }) })] }), _jsxs(Flex, { className: "row-container premium-val ".concat(getPremiumColor(bond)), children: ["$ ", premium(bond)] })] }), _jsxs(Flex, { className: "text-container row", children: [_jsxs(Flex, { className: "row-container get", children: ["You get (over ", vestingTime((_k = bond === null || bond === void 0 ? void 0 : bond.vestingTerm) !== null && _k !== void 0 ? _k : 0).days, " days):"] }), _jsxs(Flex, { className: "row-container get-val", children: [youGet(bond), " ", bond === null || bond === void 0 ? void 0 : bond.showcaseTokenName, " = $ ", formatUSDNumber(youGetUSD(bond))] })] })] }), _jsxs(Flex, { className: "bondinfo-container input-container", children: [_jsx(Flex, { className: "input-container input", children: _jsx(Input, { placeholder: "0.0", value: inputValue, pattern: "^[0-9]*[.,]?[0-9]*$", onChange: handleInputChange, onInput: function (v) {
|
|
123
112
|
if (v.currentTarget.value.includes(',')) {
|
|
124
113
|
v.currentTarget.value = v.currentTarget.value.replace(/,/g, '.');
|
|
125
114
|
}
|
|
@@ -133,7 +122,7 @@ var BondSingle = function (_a) {
|
|
|
133
122
|
!!v.currentTarget.value && isNumber(v.currentTarget.value) && parseFloat(v.currentTarget.value) >= 0
|
|
134
123
|
? v.currentTarget.value
|
|
135
124
|
: v.currentTarget.value.slice(0, v.currentTarget.value.length - 1);
|
|
136
|
-
} }) })
|
|
137
|
-
}) })
|
|
125
|
+
} }) }), _jsx(Flex, { className: "input-container token", children: bond === null || bond === void 0 ? void 0 : bond.principalTokenName })] }), _jsxs(Flex, { className: "bondinfo-container button-container", children: [_jsx(Flex, { className: "button-container get", children: _jsxs(Button, { children: ["Get ", bond === null || bond === void 0 ? void 0 : bond.principalTokenName] }) }), _jsx(Flex, { className: "button-container buy", children: _jsxs(Button, { children: ["Buy ", bond === null || bond === void 0 ? void 0 : bond.showcaseTokenName] }) })] })] }), _jsx(Flex, { className: "container graph-container", children: _jsx("div", { children: "Graph" }) })] }), _jsxs(Flex, { className: "container about-container", children: [_jsxs(Flex, { className: "about-container title", children: ["About ", bond === null || bond === void 0 ? void 0 : bond.showcaseTokenName] }), _jsx(Flex, { className: "about-container description", children: bond === null || bond === void 0 ? void 0 : bond.fullDescription })] }), _jsxs(Flex, { className: "container stats-container", children: [_jsx(Flex, { className: "stats-container header", children: "Bond Stats" }), _jsxs(Flex, { className: "stats-container model", children: [_jsx(Flex, { className: "model-container graph", children: "GRAPH" }), _jsx(Flex, { className: "model-container data", children: "DATA" })] })] })] }));
|
|
126
|
+
}) }) }));
|
|
138
127
|
};
|
|
139
128
|
export default BondSingle;
|
|
@@ -1,14 +1,3 @@
|
|
|
1
|
-
var __assign = (this && this.__assign) || function () {
|
|
2
|
-
__assign = Object.assign || function(t) {
|
|
3
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
-
s = arguments[i];
|
|
5
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
-
t[p] = s[p];
|
|
7
|
-
}
|
|
8
|
-
return t;
|
|
9
|
-
};
|
|
10
|
-
return __assign.apply(this, arguments);
|
|
11
|
-
};
|
|
12
1
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
13
2
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
14
3
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -259,6 +248,6 @@ var Bonds = function (_a) {
|
|
|
259
248
|
setBondsRendered(true);
|
|
260
249
|
}
|
|
261
250
|
}, [billstoRender]);
|
|
262
|
-
return (_jsxs(ThemeUIProvider,
|
|
251
|
+
return (_jsxs(ThemeUIProvider, { theme: defaultTheme, children: [isActive && account && _jsx("p", { children: account }), isActive && account && _jsx("button", { onClick: handleApprove, children: "Approve USDT" }), _jsxs(Flex, { className: "container table-container", children: [_jsx(BondRowHeader, { inputValue: inputValue, filterOptions: filterOptions, filterOption: filterOption, setFilterOption: handleChangeFilterOption, onInputChange: handleInputChange, onSort: handleSort }), bondsRendered && (_jsx(BondRowsByChain, { bonds: billstoRender, hotBonds: hotBonds, hideTitles: inputValue !== '', rowClick: rowClick }))] })] }));
|
|
263
252
|
};
|
|
264
253
|
export default Bonds;
|
|
@@ -1,14 +1,3 @@
|
|
|
1
|
-
var __assign = (this && this.__assign) || function () {
|
|
2
|
-
__assign = Object.assign || function(t) {
|
|
3
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
-
s = arguments[i];
|
|
5
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
-
t[p] = s[p];
|
|
7
|
-
}
|
|
8
|
-
return t;
|
|
9
|
-
};
|
|
10
|
-
return __assign.apply(this, arguments);
|
|
11
|
-
};
|
|
12
1
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
13
2
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
14
3
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -270,7 +259,7 @@ var YourBonds = function (_a) {
|
|
|
270
259
|
};
|
|
271
260
|
// Modal
|
|
272
261
|
var _h = useState(false), isModalOpen = _h[0], setIsModalOpen = _h[1];
|
|
273
|
-
var _j = useState(
|
|
262
|
+
var _j = useState(null), selectedBill = _j[0], setSelectedBill = _j[1];
|
|
274
263
|
var rowClick = function (bill) {
|
|
275
264
|
console.log(bill);
|
|
276
265
|
setSelectedBill(bill);
|
|
@@ -300,16 +289,16 @@ var YourBonds = function (_a) {
|
|
|
300
289
|
setBondsRendered(true);
|
|
301
290
|
}
|
|
302
291
|
}, [filteredBonds]);
|
|
303
|
-
return (_jsxs(ThemeUIProvider,
|
|
304
|
-
_jsx(YourBondsModal, { isOpen: true, onClose: function () { console.log('CLOSED'); },
|
|
292
|
+
return (_jsxs(ThemeUIProvider, { theme: defaultTheme, children: [isModalOpen &&
|
|
293
|
+
_jsx(YourBondsModal, { isOpen: true, onClose: function () { console.log('CLOSED'); }, bond: selectedBill }), bondsRendered && (_jsxs(Flex, { className: "container table-container", children: [_jsxs(Flex, { className: "container header-container", children: [_jsx(Flex, { className: "column column-tokens", children: _jsx(Flex, { className: "column column-search", sx: { width: '100%', maxWidth: ['200px', '200px', '200px', '340px'] }, children: _jsx(Input, { value: inputValue, onChange: handleInputChange, variant: "search", sx: { fontWeight: 400, background: 'white2', height: '30px', fontSize: '14px', color: 'white' }, width: '100%', placeholder: 'Search...' }) }) }), _jsxs(Flex, { className: "column column-bondinfo", children: [_jsxs(Flex, { className: "column header-claimable", children: [_jsx(Text, { sx: { fontSize: '11px', color: 'textDisabledButton' }, children: "CLAIMABLE" }), _jsx(Flex, { className: "column header-icon", onClick: function () { return handleSort('claimable'); }, children: _jsx(Svg, { icon: "sort", width: "12px", color: "textDisabledButton" }) })] }), _jsxs(Flex, { className: "column header-pending", children: [_jsx(Text, { sx: { fontSize: '11px', color: 'textDisabledButton' }, children: "PENDING" }), _jsx(Flex, { className: "column header-icon", onClick: function () { return handleSort('pending'); }, children: _jsx(Svg, { icon: "sort", width: "12px", color: "textDisabledButton" }) })] }), _jsxs(Flex, { className: "column header-terms", children: [_jsx(Text, { sx: { fontSize: '11px', color: 'textDisabledButton' }, children: "TERMS" }), _jsx(Flex, { className: "column header-icon", onClick: function () { return handleSort('terms'); }, children: _jsx(Svg, { icon: "sort", width: "12px", color: "textDisabledButton" }) })] }), _jsx(Flex, { className: "column header-claimall", children: _jsx(Button, { disabled: !account && !hasPendingRewards(filteredBonds), sx: {
|
|
305
294
|
height: ['36px', '36px', '36px', '26px'],
|
|
306
295
|
lineHeight: '12px',
|
|
307
296
|
fontSize: '14px',
|
|
308
297
|
fontWeight: 600,
|
|
309
298
|
width: '100%',
|
|
310
|
-
}
|
|
299
|
+
}, children: "CLAIM ALL" }) })] })] }), filteredBonds.map(function (bill) {
|
|
311
300
|
var _a, _b;
|
|
312
|
-
return (_jsxs(Flex,
|
|
301
|
+
return (_jsxs(Flex, { className: "container bondrow-container", onClick: function () { return rowClick(bill); }, children: [_jsx(Flex, { className: "column column-tokens", children: _jsx(Flex, { className: "column column-tokeninfoname", children: _jsx(TokenInfoAndName, { bill: bill.bond, vestEnds: "Ends in ".concat(getPendingVesting(bill.lastBlockTimestamp, bill.vesting)) }) }) }), _jsxs(Flex, { className: "column column-bondinfo", children: [_jsxs(Flex, { className: "column column-claimable", children: [formatNumberSI(parseFloat(claimable(bill).toFixed(3)), 0), _jsx(Text, { sx: { opacity: '0.6', fontSize: '12px', paddingLeft: '5px' }, children: "($".concat((claimable(bill) * ((_a = parseFloat(earnTokenPrice(bill.bond))) !== null && _a !== void 0 ? _a : 0)).toFixed(2), ")") })] }), _jsxs(Flex, { className: "column column-pending", children: [formatNumberSI(parseFloat(totalPending(bill).toFixed(0)), 0), _jsx(Text, { sx: { opacity: '0.6', fontSize: '12px', paddingLeft: '5px' }, children: "($".concat((totalPending(bill) * ((_b = parseFloat(earnTokenPrice(bill.bond))) !== null && _b !== void 0 ? _b : 0)).toFixed(2), ")") })] }), _jsx(Flex, { className: "column column-terms", children: "".concat(vestingTimeRemaining(bill).days, "d, ").concat(vestingTimeRemaining(bill).hours, "h, ").concat(vestingTimeRemaining(bill).minutes, "m") }), _jsx(Flex, { className: "column column-claimall", children: _jsx(Button, { disabled: !account && (claimableNumber(bill) === 0), onClick: function (event) {
|
|
313
302
|
// event.stopPropagation();
|
|
314
303
|
// Add your claim logic here
|
|
315
304
|
handleClaim(bill.bond.billAddress, [bill.id], bill.bond.chainId, event);
|
|
@@ -319,7 +308,7 @@ var YourBonds = function (_a) {
|
|
|
319
308
|
fontSize: '14px',
|
|
320
309
|
fontWeight: 600,
|
|
321
310
|
width: '100%',
|
|
322
|
-
}
|
|
323
|
-
})] }))
|
|
311
|
+
}, children: "Claim" }) })] })] }, bill.id));
|
|
312
|
+
})] }))] }));
|
|
324
313
|
};
|
|
325
314
|
export default YourBonds;
|
|
@@ -91,14 +91,12 @@ export var fetchUserOwnedBillNftData = function (ownedBillsData, chainId, bills)
|
|
|
91
91
|
return acc;
|
|
92
92
|
}, {});
|
|
93
93
|
groupedBillsToFetchArray = Object.values(groupedBillsToFetch);
|
|
94
|
-
return [4 /*yield*/, Promise.all(groupedBillsToFetchArray.map(function (_a) {
|
|
95
|
-
var billNftAddress =
|
|
96
|
-
return
|
|
97
|
-
return
|
|
98
|
-
return [2 /*return*/, getBillNftBatchData(ids, billNftAddress, chainId)];
|
|
99
|
-
});
|
|
94
|
+
return [4 /*yield*/, Promise.all(groupedBillsToFetchArray.map(function (_a) { return __awaiter(void 0, [_a], void 0, function (_b) {
|
|
95
|
+
var billNftAddress = _b.billNftAddress, chainId = _b.chainId, ids = _b.ids;
|
|
96
|
+
return __generator(this, function (_c) {
|
|
97
|
+
return [2 /*return*/, getBillNftBatchData(ids, billNftAddress, chainId)];
|
|
100
98
|
});
|
|
101
|
-
}))
|
|
99
|
+
}); }))
|
|
102
100
|
// Flatten the resulting array of arrays into a single array
|
|
103
101
|
];
|
|
104
102
|
case 1:
|
|
@@ -34,13 +34,26 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
34
34
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
35
35
|
}
|
|
36
36
|
};
|
|
37
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
38
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
39
|
+
if (ar || !(i in from)) {
|
|
40
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
41
|
+
ar[i] = from[i];
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
45
|
+
};
|
|
37
46
|
import getAllTokenPrices from './getAllTokenPrices';
|
|
38
47
|
import axios from 'axios';
|
|
39
48
|
import { APESWAP_LISTS_URL } from '../../config/constants/lists';
|
|
40
|
-
var fetchTokenPricesForMultipleChains = function (
|
|
41
|
-
|
|
42
|
-
|
|
49
|
+
var fetchTokenPricesForMultipleChains = function () {
|
|
50
|
+
var args_1 = [];
|
|
51
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
52
|
+
args_1[_i] = arguments[_i];
|
|
53
|
+
}
|
|
54
|
+
return __awaiter(void 0, __spreadArray([], args_1, true), void 0, function (chains) {
|
|
43
55
|
var prices, response, tokensList, index, chain, all, successfulPromises, successfulPrices;
|
|
56
|
+
if (chains === void 0) { chains = []; }
|
|
44
57
|
return __generator(this, function (_a) {
|
|
45
58
|
switch (_a.label) {
|
|
46
59
|
case 0:
|
|
@@ -7,5 +7,5 @@ export interface TokenPrices {
|
|
|
7
7
|
chainId: ChainId | undefined;
|
|
8
8
|
}
|
|
9
9
|
export declare const fetchPrices: () => Promise<TokenPrices[]>;
|
|
10
|
-
export default function useTokenPricesNew(): import("@tanstack/react-query
|
|
10
|
+
export default function useTokenPricesNew(): import("@tanstack/react-query").UseQueryResult<TokenPrices[], Error>;
|
|
11
11
|
export declare const useTokenPriceNew: (inputTokenAddress: string, chainId: ChainId) => number | undefined;
|
|
@@ -51,7 +51,7 @@ export default function useTokenPricesNew() {
|
|
|
51
51
|
return useQuery({
|
|
52
52
|
queryKey: [QUERY_KEYS.TOKEN_PRICES],
|
|
53
53
|
queryFn: fetchPrices,
|
|
54
|
-
refetchInterval: 40000,
|
|
54
|
+
refetchInterval: 40000, // i.e. 60 sec
|
|
55
55
|
refetchOnWindowFocus: false,
|
|
56
56
|
refetchOnMount: false,
|
|
57
57
|
retry: 1,
|
package/dist/theme/colors.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
var colors = {
|
|
2
2
|
// main background gradients
|
|
3
|
-
white1: '#0E0D16',
|
|
3
|
+
white1: '#0E0D16', // base site background
|
|
4
4
|
white2: '#161420',
|
|
5
5
|
white3: '#1F1D29',
|
|
6
6
|
white4: '#282632',
|
|
7
7
|
white5: '#312F3A',
|
|
8
8
|
brandPrimary140: '#C1BDE7',
|
|
9
9
|
navBar: 'rgba(22, 20, 32, 0.8)',
|
|
10
|
-
primaryButton: '#6560C5',
|
|
10
|
+
primaryButton: '#6560C5', //this should've been called just "primary"
|
|
11
11
|
primaryShade: '#514CA133',
|
|
12
12
|
secondary: '#E69275',
|
|
13
13
|
footer: '#000000',
|
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": "1.0.
|
|
6
|
+
"version": "1.0.504",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
8
|
"module": "dist/index.es.js",
|
|
9
9
|
"types": "dist/index.d.ts",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"ethers": "5.7.2",
|
|
46
46
|
"sass": "^1.77.7",
|
|
47
47
|
"theme-ui": "^0.16.2",
|
|
48
|
-
"typescript": "^
|
|
48
|
+
"typescript": "^5.0.0"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@ape.swap/apeswap-lists": "^2.0.9",
|
|
@@ -70,7 +70,8 @@
|
|
|
70
70
|
"rimraf": "^6.0.1",
|
|
71
71
|
"sass": "^1.77.7",
|
|
72
72
|
"swiper": "^11.1.4",
|
|
73
|
-
"theme-ui": "^0.16.2"
|
|
73
|
+
"theme-ui": "^0.16.2",
|
|
74
|
+
"wagmi": "2.12.5"
|
|
74
75
|
},
|
|
75
76
|
"browserslist": {
|
|
76
77
|
"production": [
|