@ape.swap/bonds-sdk 1.1.0-seedify → 1.1.0-test.110
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/assets/output-2LTDuc8n.css +174 -0
- package/dist/components/AccordionText/index.d.ts +0 -1
- package/dist/components/{BondMenu/BondMenu.d.ts → BondFilters/BondFilters.d.ts} +2 -3
- package/dist/components/ConnectButton/RainbowKitButton.d.ts +3 -0
- package/dist/components/ConnectButton/index.d.ts +3 -0
- package/dist/components/FavIcons/AddFavToken.d.ts +6 -0
- package/dist/components/FavIcons/FavFilter.d.ts +6 -0
- package/dist/components/PlaceholderMonkey/index.d.ts +5 -0
- package/dist/components/ProgressBar/ProgressBar.d.ts +0 -1
- package/dist/components/SafeHTMLComponent/index.d.ts +5 -0
- package/dist/components/Toast/index.d.ts +7 -0
- package/dist/components/Toast/styles.d.ts +3 -0
- package/dist/components/TokenInfoAndName/index.d.ts +4 -3
- package/dist/components/TokenSelectorModal/index.d.ts +1 -0
- package/dist/components/TokenSelectorPanel/index.d.ts +4 -3
- package/dist/components/Tooltip/ButtonsRow.d.ts +2 -2
- package/dist/components/Tooltip/Tooltip.d.ts +3 -10
- package/dist/components/uikit-sdk/Input/index.d.ts +0 -1
- package/dist/components/uikit-sdk/LoadingDots/index.d.ts +2 -0
- package/dist/components/uikit-sdk/Svg/Icons/FirePink.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/Star.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/StarFilled.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/Icons/index.d.ts +3 -0
- package/dist/components/uikit-sdk/Svg/types.d.ts +4 -1
- package/dist/components/uikit-sdk/SwiperDots/index.d.ts +6 -0
- package/dist/components/uikit-sdk/Tag/index.d.ts +0 -2
- package/dist/components/uikit-sdk/Tag/types.d.ts +1 -46
- package/dist/components/uikit-sdk/index.d.ts +3 -1
- package/dist/config/constants/addresses.d.ts +1 -3
- package/dist/config/constants/chains.d.ts +2 -30
- package/dist/config/constants/networks.d.ts +2 -2
- package/dist/config/constants/queryKeys.d.ts +8 -4
- package/dist/config/constants/variables.d.ts +5 -0
- package/dist/contexts/Popups.d.ts +5 -0
- package/dist/contexts/SwiperProvider.d.ts +12 -0
- package/dist/hooks/useDebounce.d.ts +1 -0
- package/dist/hooks/useMonitorTxHash.d.ts +25 -0
- package/dist/hooks/useSendReferenceId.d.ts +2 -0
- package/dist/hooks/useSwiper.d.ts +2 -0
- package/dist/main.d.ts +2 -3
- package/dist/main.js +67207 -50466
- package/dist/state/bondApiStats/useGetBondApiStats.d.ts +25 -0
- package/dist/state/bonds/useBondNFTData.d.ts +1 -1
- package/dist/state/bonds/useBondsData.d.ts +1 -1
- package/dist/state/bonds/useBondsList.d.ts +1 -1
- package/dist/state/bonds/useGetBondRecommendations.d.ts +27 -0
- package/dist/state/bonds/useHotBonds.d.ts +5 -2
- package/dist/state/bonds/useUserApiStats.d.ts +22 -0
- package/dist/state/favoriteTokens/useFavoriteTokens.d.ts +4 -0
- package/dist/state/popups/usePopups.d.ts +14 -0
- package/dist/state/tokenPrices/useTokenPrices.d.ts +2 -1
- package/dist/state/useSDKConfig.d.ts +16 -0
- package/dist/state/zap/getChainParam.d.ts +1 -1
- package/dist/state/zap/useSoulZapBondQuote.d.ts +1 -1
- package/dist/state/zap/useSoulZapTokenQuote.d.ts +1 -1
- package/dist/styles.css +1660 -0
- package/dist/types/bonds.d.ts +1 -2
- package/dist/utils/dates/formatDate.d.ts +1 -0
- package/dist/utils/displayHelpers.d.ts +11 -0
- package/dist/utils/formatNumbers.d.ts +0 -3
- package/dist/utils/getDotPos.d.ts +1 -0
- package/dist/utils/getNativeTicker.d.ts +1 -2
- package/dist/utils/index.d.ts +0 -15
- package/dist/views/BondModal/BondModal.d.ts +1 -3
- package/dist/views/BondModal/components/BondCards.d.ts +6 -0
- package/dist/views/BondModal/components/BondModalHeader.d.ts +8 -0
- package/dist/views/BondModal/components/Estimations.d.ts +14 -0
- package/dist/views/BondModal/components/ExpandedViewButton.d.ts +6 -0
- package/dist/views/BondModal/components/ProjectDescription.d.ts +5 -0
- package/dist/views/BondModal/index.d.ts +4 -1
- package/dist/views/Bonds/Bonds.d.ts +0 -2
- package/dist/views/Bonds/components/BondRows/BondRow.d.ts +9 -0
- package/dist/views/Bonds/components/BondRows/BondRowsByChain.d.ts +10 -0
- package/dist/views/Bonds/components/BondRows/BondRowsWithTitle.d.ts +11 -0
- package/dist/views/Bonds/components/BondRows/ModalHandler.d.ts +7 -0
- package/dist/{components/BondRows/BondRowHeader.d.ts → views/Bonds/components/BondsMenu/BondsMenu.d.ts} +2 -4
- package/dist/views/Bonds/components/BuyAgainRow/index.d.ts +3 -0
- package/dist/views/Bonds/components/HotBondCards/HotBondCard.d.ts +6 -0
- package/dist/views/Bonds/components/HotBondCards/index.d.ts +4 -0
- package/dist/views/Bonds/components/HotBondCards/styles.d.ts +2 -0
- package/dist/views/Bonds/components/RecommendationCards/SmallRecommendationCard.d.ts +13 -0
- package/dist/views/Bonds/components/RecommendationCards/index.d.ts +11 -0
- package/dist/views/Bonds/components/RecommendationCards/styles.d.ts +2 -0
- package/dist/views/Bonds/index.d.ts +4 -1
- package/dist/views/Bonds/utils.d.ts +5 -2
- package/dist/views/FullBondsView/index.d.ts +2 -1
- package/dist/views/ProjectView/ProjectView.d.ts +14 -0
- package/dist/views/ProjectView/components/BondLeaderboard/components/SalesTable.d.ts +6 -0
- package/dist/views/ProjectView/components/BondLeaderboard/components/TopSaleCard.d.ts +7 -0
- package/dist/views/ProjectView/components/BondLeaderboard/components/TopThreeSalesCards.d.ts +6 -0
- package/dist/views/ProjectView/components/BondLeaderboard/components/styles.d.ts +2 -0
- package/dist/views/ProjectView/components/BondLeaderboard/index.d.ts +6 -0
- package/dist/views/ProjectView/components/BondStats/index.d.ts +6 -0
- package/dist/views/ProjectView/components/BondStats/styles.d.ts +2 -0
- package/dist/views/ProjectView/components/BondStats/types.d.ts +43 -0
- package/dist/views/ProjectView/components/BondStats/utils.d.ts +1 -0
- package/dist/views/ProjectView/components/NavPanel/index.d.ts +5 -0
- package/dist/views/ProjectView/components/PriceChart/components/CandleStickChart.d.ts +9 -0
- package/dist/views/ProjectView/components/PriceChart/components/LineChart.d.ts +9 -0
- package/dist/views/ProjectView/components/PriceChart/components/utils.d.ts +1 -0
- package/dist/views/ProjectView/components/PriceChart/index.d.ts +8 -0
- package/dist/views/ProjectView/components/PriceChart/styles.d.ts +2 -0
- package/dist/views/ProjectView/components/ProjectInfo/index.d.ts +6 -0
- package/dist/views/ProjectView/components/ProjectInfo/styles.d.ts +2 -0
- package/dist/views/ProjectView/components/RecommendationCards/index.d.ts +3 -0
- package/dist/views/ProjectView/index.d.ts +7 -0
- package/dist/views/ProjectView/styles.d.ts +2 -0
- package/dist/views/YourBonds/YourBonds.d.ts +1 -2
- package/dist/views/YourBonds/components/YourBondsMenu/YourBondsMenu.d.ts +13 -0
- package/dist/views/YourBonds/fetchBillsUser.d.ts +0 -12
- package/dist/views/YourBonds/getBillNftData.d.ts +2 -2
- package/dist/views/YourBonds/index.d.ts +2 -1
- package/dist/views/YourBondsModal/YourBondsModal.d.ts +0 -2
- package/dist/views/YourBondsModal/components/Recommendations/CardRecommendation.d.ts +7 -0
- package/dist/views/YourBondsModal/components/Recommendations/CardRecommendationsMobile.d.ts +6 -0
- package/dist/views/YourBondsModal/components/Recommendations/Recommendations.d.ts +6 -0
- package/dist/views/YourBondsModal/components/TransferBondModal/TransferAction.d.ts +8 -0
- package/dist/views/YourBondsModal/components/TransferBondModal/index.d.ts +8 -0
- package/dist/views/ZapModal/index.d.ts +0 -1
- package/package.json +22 -35
- package/dist/components/BondRows/BondRow.d.ts +0 -10
- package/dist/components/BondRows/BondRowsByChain.d.ts +0 -9
- package/dist/components/BondRows/BondRowsWithTitle.d.ts +0 -9
- package/dist/components/DisconnectedPlaceholder/index.d.ts +0 -3
- package/dist/components/uikit-sdk/Input/StyledInput.d.ts +0 -11
- package/dist/components/uikit-sdk/Tag/Tag.d.ts +0 -4
- package/dist/components/uikit-sdk/Tag/styles.d.ts +0 -8
- package/dist/config/constants/api.d.ts +0 -6
- package/dist/config/constants/lifiRouting.d.ts +0 -2
- package/dist/config/constants/lists.d.ts +0 -10
- package/dist/config/constants/meta.d.ts +0 -11
- package/dist/config/constants/misc.d.ts +0 -3
- package/dist/config/constants/products.d.ts +0 -21
- package/dist/config/constants/tutorials.d.ts +0 -7
- package/dist/config/localization/languages.d.ts +0 -11
- package/dist/contexts/Localization/Provider.d.ts +0 -7
- package/dist/contexts/Localization/helpers.d.ts +0 -3
- package/dist/contexts/Localization/index.d.ts +0 -3
- package/dist/contexts/Localization/types.d.ts +0 -21
- package/dist/contexts/Localization/useTranslation.d.ts +0 -2
- package/dist/scss/AccordionText.scss +0 -11
- package/dist/scss/BondMenu.scss +0 -29
- package/dist/scss/BondModal.scss +0 -480
- package/dist/scss/BondRow.scss +0 -98
- package/dist/scss/BondRowHeader.scss +0 -124
- package/dist/scss/BondRowsByChain.scss +0 -5
- package/dist/scss/BondRowsWithTitle.scss +0 -4
- package/dist/scss/Bonds.scss +0 -18
- package/dist/scss/ProgressBar.scss +0 -13
- package/dist/scss/TokenInfoName.scss +0 -60
- package/dist/scss/YourBonds.scss +0 -203
- package/dist/scss/YourBondsModal.scss +0 -314
- package/dist/scss/index.scss +0 -12
- package/dist/views/BondModal/helper.d.ts +0 -10
- package/dist/views/YourBondsModal/styles.d.ts +0 -2
- /package/dist/hooks/{useTopThreeTags.d.ts → useTopTags.d.ts} +0 -0
- /package/dist/{components/BondMenu → state/chainFilterOption}/useChainFilterOption.d.ts +0 -0
- /package/dist/{components → views/Bonds/components}/BondRows/ChainTitle.d.ts +0 -0
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Swiper 8.4.7
|
|
3
|
+
* Most modern mobile touch slider and framework with hardware accelerated transitions
|
|
4
|
+
* https://swiperjs.com
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2014-2023 Vladimir Kharlampidi
|
|
7
|
+
*
|
|
8
|
+
* Released under the MIT License
|
|
9
|
+
*
|
|
10
|
+
* Released on: January 30, 2023
|
|
11
|
+
*/
|
|
12
|
+
@font-face {
|
|
13
|
+
font-family: swiper-icons;
|
|
14
|
+
src: url("data:application/font-woff;charset=utf-8;base64, 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");
|
|
15
|
+
font-weight: 400;
|
|
16
|
+
font-style: normal;
|
|
17
|
+
}
|
|
18
|
+
:root {
|
|
19
|
+
--swiper-theme-color:#007aff;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.swiper {
|
|
23
|
+
margin-left: auto;
|
|
24
|
+
margin-right: auto;
|
|
25
|
+
position: relative;
|
|
26
|
+
overflow: hidden;
|
|
27
|
+
list-style: none;
|
|
28
|
+
padding: 0;
|
|
29
|
+
z-index: 1;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.swiper-vertical > .swiper-wrapper {
|
|
33
|
+
flex-direction: column;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.swiper-wrapper {
|
|
37
|
+
position: relative;
|
|
38
|
+
width: 100%;
|
|
39
|
+
height: 100%;
|
|
40
|
+
z-index: 1;
|
|
41
|
+
display: flex;
|
|
42
|
+
transition-property: transform;
|
|
43
|
+
box-sizing: content-box;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.swiper-android .swiper-slide, .swiper-wrapper {
|
|
47
|
+
transform: translate3d(0px, 0, 0);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.swiper-pointer-events {
|
|
51
|
+
touch-action: pan-y;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.swiper-pointer-events.swiper-vertical {
|
|
55
|
+
touch-action: pan-x;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.swiper-slide {
|
|
59
|
+
flex-shrink: 0;
|
|
60
|
+
width: 100%;
|
|
61
|
+
height: 100%;
|
|
62
|
+
position: relative;
|
|
63
|
+
transition-property: transform;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.swiper-slide-invisible-blank {
|
|
67
|
+
visibility: hidden;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.swiper-autoheight, .swiper-autoheight .swiper-slide {
|
|
71
|
+
height: auto;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.swiper-autoheight .swiper-wrapper {
|
|
75
|
+
align-items: flex-start;
|
|
76
|
+
transition-property: transform, height;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.swiper-backface-hidden .swiper-slide {
|
|
80
|
+
transform: translateZ(0);
|
|
81
|
+
-webkit-backface-visibility: hidden;
|
|
82
|
+
backface-visibility: hidden;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.swiper-3d, .swiper-3d.swiper-css-mode .swiper-wrapper {
|
|
86
|
+
perspective: 1200px;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.swiper-3d .swiper-cube-shadow, .swiper-3d .swiper-slide, .swiper-3d .swiper-slide-shadow, .swiper-3d .swiper-slide-shadow-bottom, .swiper-3d .swiper-slide-shadow-left, .swiper-3d .swiper-slide-shadow-right, .swiper-3d .swiper-slide-shadow-top, .swiper-3d .swiper-wrapper {
|
|
90
|
+
transform-style: preserve-3d;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.swiper-3d .swiper-slide-shadow, .swiper-3d .swiper-slide-shadow-bottom, .swiper-3d .swiper-slide-shadow-left, .swiper-3d .swiper-slide-shadow-right, .swiper-3d .swiper-slide-shadow-top {
|
|
94
|
+
position: absolute;
|
|
95
|
+
left: 0;
|
|
96
|
+
top: 0;
|
|
97
|
+
width: 100%;
|
|
98
|
+
height: 100%;
|
|
99
|
+
pointer-events: none;
|
|
100
|
+
z-index: 10;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.swiper-3d .swiper-slide-shadow {
|
|
104
|
+
background: rgba(0, 0, 0, 0.15);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.swiper-3d .swiper-slide-shadow-left {
|
|
108
|
+
background-image: linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.swiper-3d .swiper-slide-shadow-right {
|
|
112
|
+
background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.swiper-3d .swiper-slide-shadow-top {
|
|
116
|
+
background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.swiper-3d .swiper-slide-shadow-bottom {
|
|
120
|
+
background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.swiper-css-mode > .swiper-wrapper {
|
|
124
|
+
overflow: auto;
|
|
125
|
+
scrollbar-width: none;
|
|
126
|
+
-ms-overflow-style: none;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.swiper-css-mode > .swiper-wrapper::-webkit-scrollbar {
|
|
130
|
+
display: none;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.swiper-css-mode > .swiper-wrapper > .swiper-slide {
|
|
134
|
+
scroll-snap-align: start start;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.swiper-horizontal.swiper-css-mode > .swiper-wrapper {
|
|
138
|
+
scroll-snap-type: x mandatory;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.swiper-vertical.swiper-css-mode > .swiper-wrapper {
|
|
142
|
+
scroll-snap-type: y mandatory;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.swiper-centered > .swiper-wrapper::before {
|
|
146
|
+
content: "";
|
|
147
|
+
flex-shrink: 0;
|
|
148
|
+
order: 9999;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.swiper-centered.swiper-horizontal > .swiper-wrapper > .swiper-slide:first-child {
|
|
152
|
+
margin-inline-start: var(--swiper-centered-offset-before);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.swiper-centered.swiper-horizontal > .swiper-wrapper::before {
|
|
156
|
+
height: 100%;
|
|
157
|
+
min-height: 1px;
|
|
158
|
+
width: var(--swiper-centered-offset-after);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.swiper-centered.swiper-vertical > .swiper-wrapper > .swiper-slide:first-child {
|
|
162
|
+
margin-block-start: var(--swiper-centered-offset-before);
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.swiper-centered.swiper-vertical > .swiper-wrapper::before {
|
|
166
|
+
width: 100%;
|
|
167
|
+
min-width: 1px;
|
|
168
|
+
height: var(--swiper-centered-offset-after);
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.swiper-centered > .swiper-wrapper > .swiper-slide {
|
|
172
|
+
scroll-snap-align: center center;
|
|
173
|
+
scroll-snap-stop: always;
|
|
174
|
+
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import '../../scss/BondMenu.scss';
|
|
3
2
|
interface BondMenuProps {
|
|
4
3
|
setChainFilterOption: (newValue: string[]) => void;
|
|
5
4
|
chainFilterOption: string[];
|
|
@@ -8,5 +7,5 @@ interface BondMenuProps {
|
|
|
8
7
|
setFilterOption: (newOption: string) => void;
|
|
9
8
|
onHandleQueryChange: (value: string) => void;
|
|
10
9
|
}
|
|
11
|
-
declare const
|
|
12
|
-
export default
|
|
10
|
+
declare const BondFilters: React.FC<BondMenuProps>;
|
|
11
|
+
export default BondFilters;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { BondsData } from '../../types/bonds';
|
|
3
|
-
import '
|
|
3
|
+
import { BillsConfig } from '@ape.swap/apeswap-lists';
|
|
4
4
|
export declare const NETWORK_COLORS: Partial<Record<number, string>>;
|
|
5
|
-
declare const TokenInfoAndName: ({ bill, vestEnds }: {
|
|
6
|
-
bill: BondsData;
|
|
5
|
+
declare const TokenInfoAndName: ({ bill, vestEnds, isHotBond, }: {
|
|
6
|
+
bill: BondsData | BillsConfig;
|
|
7
7
|
vestEnds?: string;
|
|
8
|
+
isHotBond?: boolean;
|
|
8
9
|
}) => React.JSX.Element;
|
|
9
10
|
export default TokenInfoAndName;
|
|
@@ -3,6 +3,7 @@ import { ChainId } from '@ape.swap/apeswap-lists';
|
|
|
3
3
|
import { Token } from '@ape.swap/apeswap-lists';
|
|
4
4
|
interface TokenSelectorModalProps {
|
|
5
5
|
bondPrincipalToken?: Token;
|
|
6
|
+
bondEarnToken?: Token;
|
|
6
7
|
handleCurrencySelect: (currency: string) => void;
|
|
7
8
|
chainId: ChainId;
|
|
8
9
|
onDismiss?: () => void;
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ChainId, Token } from '@ape.swap/apeswap-lists';
|
|
3
|
-
declare const TokenSelectorPanel: ({ typedValue, setTypedValue, selectedToken, chainId, handleMaxBtn, handleCurrencySelect, enableZap,
|
|
3
|
+
declare const TokenSelectorPanel: ({ typedValue, setTypedValue, selectedToken, chainId, handleMaxBtn, handleCurrencySelect, enableZap, tokenBalance, selectedTokenPrice, bondPrincipalToken, bondEarnToken, }: {
|
|
4
4
|
typedValue: string;
|
|
5
5
|
setTypedValue: (value: React.SetStateAction<string>) => void;
|
|
6
6
|
selectedToken?: "NATIVE" | Token;
|
|
7
7
|
chainId: ChainId;
|
|
8
|
-
handleMaxBtn
|
|
8
|
+
handleMaxBtn?: () => void;
|
|
9
9
|
handleCurrencySelect: (value: string) => void;
|
|
10
10
|
enableZap?: boolean;
|
|
11
|
-
bondPrincipalToken?: Token;
|
|
12
11
|
tokenBalance?: string;
|
|
13
12
|
selectedTokenPrice?: number;
|
|
13
|
+
bondPrincipalToken?: Token;
|
|
14
|
+
bondEarnToken?: Token;
|
|
14
15
|
}) => React.JSX.Element;
|
|
15
16
|
export default TokenSelectorPanel;
|
|
@@ -1,18 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface TooltipProps {
|
|
3
|
-
valueTitle?: string;
|
|
4
|
-
valueContent?: string;
|
|
5
|
-
value2Title?: string;
|
|
6
|
-
value2Content?: string;
|
|
7
3
|
tokenContract: string;
|
|
8
|
-
|
|
9
|
-
secondURLTitle?: string;
|
|
4
|
+
bondContract: string;
|
|
10
5
|
projectLink?: string;
|
|
11
6
|
twitter?: string;
|
|
12
7
|
audit?: string;
|
|
13
|
-
thirdURL?: string;
|
|
14
|
-
thirdURLTitle?: string;
|
|
15
8
|
chain: number;
|
|
16
9
|
}
|
|
17
|
-
declare const
|
|
18
|
-
export default
|
|
10
|
+
declare const BondInfoTooltip: React.FunctionComponent<TooltipProps>;
|
|
11
|
+
export default BondInfoTooltip;
|
|
@@ -108,3 +108,6 @@ export { default as Expand } from './Expand';
|
|
|
108
108
|
export { default as LineChart } from './LineChart';
|
|
109
109
|
export { default as Sort } from './Sort';
|
|
110
110
|
export { default as AllChains } from './AllChains';
|
|
111
|
+
export { default as Star } from './Star';
|
|
112
|
+
export { default as StarFilled } from './StarFilled';
|
|
113
|
+
export { default as FirePink } from './FirePink';
|
|
@@ -149,7 +149,10 @@ export declare enum icons {
|
|
|
149
149
|
CALENDAR = "calendar",
|
|
150
150
|
QuestionFill = "questionFill",
|
|
151
151
|
SORT = "sort",
|
|
152
|
-
AllChains = "AllChains"
|
|
152
|
+
AllChains = "AllChains",
|
|
153
|
+
Star = "Star",
|
|
154
|
+
StarFilled = "StarFilled",
|
|
155
|
+
FirePink = "FirePink"
|
|
153
156
|
}
|
|
154
157
|
export declare enum directions {
|
|
155
158
|
LEFT = "left",
|
|
@@ -1,48 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
import { SpaceProps } from 'styled-system';
|
|
3
|
-
import { ThemeUIStyleObject } from 'theme-ui';
|
|
4
|
-
export declare const variants: {
|
|
5
|
-
readonly PRIMARY: "primary";
|
|
6
|
-
readonly SUCCESS: "success";
|
|
7
|
-
readonly BINANCE: "binance";
|
|
8
|
-
readonly ERROR: "error";
|
|
9
|
-
readonly SECONDARY: "secondary";
|
|
10
|
-
readonly TEXTDISABLED: "textDisabled";
|
|
11
|
-
readonly TEXTSUBTLE: "textSubtle";
|
|
12
|
-
};
|
|
13
|
-
export type Variants = (typeof variants)[keyof typeof variants];
|
|
14
|
-
export interface TagProps extends SpaceProps {
|
|
15
|
-
variant?: Variants;
|
|
16
|
-
startIcon?: ReactNode;
|
|
17
|
-
endIcon?: ReactNode;
|
|
18
|
-
children?: ReactNode;
|
|
19
|
-
outline?: boolean;
|
|
20
|
-
}
|
|
21
|
-
export declare const listTagVariants: {
|
|
22
|
-
readonly APE: "ape";
|
|
23
|
-
readonly UNI: "uni";
|
|
24
|
-
readonly ARK: "ark";
|
|
25
|
-
readonly NEW: "new";
|
|
26
|
-
readonly HOT: "hot";
|
|
27
|
-
readonly AUTO: "auto";
|
|
28
|
-
readonly MAX: "max";
|
|
29
|
-
readonly yield: "yield";
|
|
30
|
-
readonly BETA: "beta";
|
|
31
|
-
readonly LIQUIDITY: "liquidity";
|
|
32
|
-
readonly RESERVE: "reserve";
|
|
33
|
-
readonly LAUNCH: "launch";
|
|
34
|
-
readonly bondLp: "bondLp";
|
|
35
|
-
readonly migration: "migration";
|
|
36
|
-
readonly CEX_FUND: "cex_fund";
|
|
37
|
-
readonly QuickswapV2: "QuickSwap v2";
|
|
38
|
-
readonly PancakeSwapV2: "PancakeSwap v2";
|
|
39
|
-
readonly expired: "expired";
|
|
40
|
-
readonly permalock: "permalock";
|
|
41
|
-
};
|
|
42
|
-
export type ListTagVariants = (typeof listTagVariants)[keyof typeof listTagVariants];
|
|
43
|
-
export interface ListTagProps extends SpaceProps {
|
|
44
|
-
variant: ListTagVariants;
|
|
1
|
+
export interface ListTagProps {
|
|
45
2
|
text?: string;
|
|
46
|
-
styleCustom?: ThemeUIStyleObject;
|
|
47
3
|
}
|
|
48
|
-
export declare const lpTags: string[];
|
|
@@ -6,6 +6,8 @@ export { default as Skeleton } from './Skeleton';
|
|
|
6
6
|
export { default as TooltipBubble } from './TooltipBubble';
|
|
7
7
|
export { default as Modal } from './Modal';
|
|
8
8
|
export { default as Toggle } from './Toggle';
|
|
9
|
+
export { default as SwiperDots } from './SwiperDots';
|
|
10
|
+
export { default as LoadingDots } from './LoadingDots';
|
|
9
11
|
export { Button, IconButton } from './Button';
|
|
10
12
|
export { Select, SelectItem } from './Select';
|
|
11
|
-
export {
|
|
13
|
+
export { ListTag } from './Tag';
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import { ChainId } from '
|
|
1
|
+
import { ChainId } from '@ape.swap/apeswap-lists';
|
|
2
2
|
type AddressMap = {
|
|
3
3
|
[chainId: number]: string;
|
|
4
4
|
};
|
|
5
5
|
export declare const ABOND_ADDRESSES: AddressMap;
|
|
6
6
|
export declare const PRICE_GETTER_ADDRESSES: AddressMap;
|
|
7
|
-
export declare const MULTICALL: AddressMap;
|
|
8
7
|
export declare const MULTICALL_V2: AddressMap;
|
|
9
8
|
export declare const SoulZapTokenManager: Partial<Record<ChainId, string>>;
|
|
10
|
-
export declare const CEX_BILL_ADDRESS: string;
|
|
11
9
|
export declare const ACF_TO_ABOND: string;
|
|
12
10
|
export {};
|
|
@@ -1,33 +1,6 @@
|
|
|
1
1
|
import { icons } from '../../components/uikit-sdk/Svg/types';
|
|
2
|
-
|
|
3
|
-
export declare enum ChainId {
|
|
4
|
-
MAINNET = 1,
|
|
5
|
-
ARBITRUM_ONE = 42161,
|
|
6
|
-
POLYGON = 137,
|
|
7
|
-
POLYGON_MUMBAI = 80001,
|
|
8
|
-
BSC = 56,
|
|
9
|
-
BSC_TESTNET = 97,
|
|
10
|
-
TLOS = 40,
|
|
11
|
-
AVALANCHE = 43114,
|
|
12
|
-
OPTIMISM = 10,
|
|
13
|
-
FANTOM = 250,
|
|
14
|
-
CRONOS = 25,
|
|
15
|
-
POLYGON_ZK = 1101,
|
|
16
|
-
CELO = 42220,
|
|
17
|
-
GNOSIS = 100,
|
|
18
|
-
OKX = 66,
|
|
19
|
-
INJECTED_EVM_TESTNET = 2424,
|
|
20
|
-
INEVM = 2525,
|
|
21
|
-
SEPOLIA = 11155111,
|
|
22
|
-
LINEA = 59144,
|
|
23
|
-
LIGHTLINK = 1890,
|
|
24
|
-
IOTA = 8822,
|
|
25
|
-
IOTA_TESTNET = 1075,
|
|
26
|
-
BASE = 8453
|
|
27
|
-
}
|
|
2
|
+
import { ChainId } from '@ape.swap/apeswap-lists';
|
|
28
3
|
export declare const MAINNET_CHAINS: ChainId[];
|
|
29
|
-
export declare const DEX_ONLY_CHAINS: ChainId[];
|
|
30
|
-
export declare const CHAIN_NAMES: Record<ChainId, string>;
|
|
31
4
|
export declare const NETWORK_ICONS: Partial<Record<number, icons>>;
|
|
32
5
|
export declare const NETWORK_LABEL: Record<number, string>;
|
|
33
6
|
export declare const BLOCK_EXPLORER: Record<number, string>;
|
|
@@ -43,6 +16,5 @@ interface ChainParamContent {
|
|
|
43
16
|
blockExplorerUrls: string[];
|
|
44
17
|
logoURI: string;
|
|
45
18
|
}
|
|
46
|
-
export declare const CHAIN_PARAMS: Record<ChainId, ChainParamContent
|
|
47
|
-
export declare const getChainInfo: (chainId: ChainId) => any;
|
|
19
|
+
export declare const CHAIN_PARAMS: Partial<Record<ChainId, ChainParamContent>>;
|
|
48
20
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ChainId } from '
|
|
2
|
-
export declare const PUBLIC_RPC_URLS: Record<ChainId, string[]
|
|
1
|
+
import { ChainId } from '@ape.swap/apeswap-lists';
|
|
2
|
+
export declare const PUBLIC_RPC_URLS: Partial<Record<ChainId, string[]>>;
|
|
@@ -11,22 +11,26 @@ export declare const QUERY_KEYS: {
|
|
|
11
11
|
TOKEN_HISTORIC: string;
|
|
12
12
|
BONDS_LANDING: string;
|
|
13
13
|
BOND_POST_REFERENCE: string;
|
|
14
|
-
BOND_RECOMMENDATIONS: string;
|
|
15
14
|
TIERS: string;
|
|
16
|
-
BOND_STATS: string;
|
|
17
|
-
USER_STATS: string;
|
|
18
|
-
CHAIN_FILTER_OPTION: string;
|
|
19
15
|
AB_TEST_VALUE: string;
|
|
20
16
|
USE_CURRENCY_NEW: string;
|
|
17
|
+
BOND_API_STATS: string;
|
|
18
|
+
SDK_CONFIG: string;
|
|
19
|
+
BOND_RECOMMENDATIONS: string;
|
|
20
|
+
USER_STATS: string;
|
|
21
21
|
BONDS_DATA: string;
|
|
22
22
|
BONDS_LIST: string;
|
|
23
23
|
USER_BONDS: string;
|
|
24
24
|
BOND_NFT_DATA: string;
|
|
25
25
|
TOKEN_PRICES: string;
|
|
26
26
|
HOT_BONDS: string;
|
|
27
|
+
HOT_BONDS_CONTRACTS: string;
|
|
27
28
|
CURRENCY_BALANCE: string;
|
|
28
29
|
ALLOWANCE: string;
|
|
29
30
|
SLIPPAGE: string;
|
|
30
31
|
ZAP_TOKEN_QUOTE: string;
|
|
31
32
|
ZAP_BOND_QUOTE: string;
|
|
33
|
+
CHAIN_FILTER_OPTION: string;
|
|
34
|
+
FAVORITE_TOKENS: string;
|
|
35
|
+
POP_UPS: string;
|
|
32
36
|
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ChainId } from '@ape.swap/apeswap-lists';
|
|
2
|
+
export declare const supportedByLIFI: ChainId[];
|
|
3
|
+
export declare const APESWAP_LIST_REPO = "https://raw.githubusercontent.com/ApeSwapFinance/apeswap-token-lists/staging";
|
|
4
|
+
export declare const STRAPI_URL = "https://apeswap-strapi.herokuapp.com";
|
|
5
|
+
export declare const SOUL_ZAP_API = "https://soulsolidity-zap-api-902f1d839e8d.herokuapp.com/zap?batch=1";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React, { Dispatch } from 'react';
|
|
2
|
+
import SwiperCore from 'swiper';
|
|
3
|
+
export interface Context {
|
|
4
|
+
swiper: SwiperCore | undefined;
|
|
5
|
+
setSwiper: Dispatch<React.SetStateAction<SwiperCore | undefined>>;
|
|
6
|
+
destroySwiper: () => void;
|
|
7
|
+
}
|
|
8
|
+
export declare const SwiperContext: React.Context<Context>;
|
|
9
|
+
declare const SwiperProvider: React.FC<{
|
|
10
|
+
children: React.ReactNode;
|
|
11
|
+
}>;
|
|
12
|
+
export default SwiperProvider;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function useDebounce(value: string, delay: number): string;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ChainId } from '@ape.swap/apeswap-lists';
|
|
2
|
+
export declare const useMonitorTxHash: (txHash?: string | null, chainId?: ChainId) => {
|
|
3
|
+
isLoading: boolean;
|
|
4
|
+
isSuccess: boolean;
|
|
5
|
+
data: {
|
|
6
|
+
blobGasPrice?: bigint | undefined;
|
|
7
|
+
blobGasUsed?: bigint | undefined;
|
|
8
|
+
blockHash: import("viem").Hash;
|
|
9
|
+
blockNumber: bigint;
|
|
10
|
+
contractAddress: import("abitype").Address | null | undefined;
|
|
11
|
+
cumulativeGasUsed: bigint;
|
|
12
|
+
effectiveGasPrice: bigint;
|
|
13
|
+
from: import("abitype").Address;
|
|
14
|
+
gasUsed: bigint;
|
|
15
|
+
logs: import("viem").Log<bigint, number, false>[];
|
|
16
|
+
logsBloom: import("viem").Hex;
|
|
17
|
+
root?: import("viem").Hash | undefined;
|
|
18
|
+
status: "success" | "reverted";
|
|
19
|
+
to: import("abitype").Address | null;
|
|
20
|
+
transactionHash: import("viem").Hash;
|
|
21
|
+
transactionIndex: number;
|
|
22
|
+
type: import("viem").TransactionType;
|
|
23
|
+
chainId: number;
|
|
24
|
+
} | undefined;
|
|
25
|
+
};
|
package/dist/main.d.ts
CHANGED
|
@@ -2,6 +2,5 @@ import Bonds from './views/Bonds';
|
|
|
2
2
|
import YourBonds from './views/YourBonds';
|
|
3
3
|
import BondModal from './views/BondModal';
|
|
4
4
|
import FullBondsView from './views/FullBondsView';
|
|
5
|
-
import
|
|
6
|
-
|
|
7
|
-
export { Bonds, BondModal, YourBonds, YourBondsModal, FullBondsView };
|
|
5
|
+
import ProjectView from './views/ProjectView';
|
|
6
|
+
export { Bonds, BondModal, YourBonds, FullBondsView, ProjectView };
|