@ape.swap/bonds-sdk 1.0.221 → 1.0.223
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.
|
@@ -188,7 +188,7 @@ var Bonds = function (_a) {
|
|
|
188
188
|
};
|
|
189
189
|
return (_jsxs(ThemeUIProvider, __assign({ theme: defaultTheme }, { children: [isActive && account && _jsx("p", { children: account }), isActive && account && _jsx("button", __assign({ onClick: handleApprove }, { children: "Approve USDT" })), _jsxs(Flex, __assign({ className: "container table-container" }, { children: [_jsxs(Flex, __assign({ className: "container header-container" }, { children: [_jsx(Flex, __assign({ className: "column column-token" }, { children: "Tokens" })), _jsx(Flex, { className: "column column-tokeninfo" }), _jsx(Flex, __assign({ className: "column column-discount" }, { children: _jsxs(TooltipBubble, __assign({ body: _jsx(Flex, { children: TooltipText.Discount }), width: "230px", placement: "bottomLeft", transformTip: "translate(18%, -4%)" }, { children: ["Discount", _jsx(Flex, __assign({ className: "column header-icon" }, { children: _jsx(Svg, { icon: "questionCircle", width: "12px" }) }))] })) })), _jsx(Flex, __assign({ className: "column column-arr" }, { children: _jsxs(TooltipBubble, __assign({ body: _jsx(Flex, { children: TooltipText.ARR }), width: "230px", placement: "bottomLeft", transformTip: "translate(8%, -5%)" }, { children: ["ARR", _jsx(Flex, __assign({ className: "column header-icon" }, { children: _jsx(Svg, { icon: "questionCircle", width: "12px" }) }))] })) })), _jsx(Flex, __assign({ className: "column column-term" }, { children: _jsxs(TooltipBubble, __assign({ body: _jsx(Flex, { children: TooltipText.Terms }), width: "230px", placement: "bottomRight", transformTip: "translate(11%, -5%)" }, { children: ["Terms", _jsx(Flex, __assign({ className: "column header-icon" }, { children: _jsx(Svg, { icon: "questionCircle", width: "12px" }) }))] })) })), _jsx(Flex, __assign({ className: "column column-tokensremaining" }, { children: _jsxs(TooltipBubble, __assign({ body: _jsx(Flex, { children: TooltipText.TokensRemaining }), width: "230px", placement: "bottomRight", transformTip: "translate(12%, -4%)" }, { children: ["Tokens Remaining", _jsx(Flex, __assign({ className: "column header-icon" }, { children: _jsx(Svg, { icon: "questionCircle", width: "12px" }) }))] })) })), _jsx(Flex, { className: "column column-hotbond" })] })), sortedBonds.map(function (bond) {
|
|
190
190
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
191
|
-
return (_jsxs(Flex, __assign({ className: "container bondrow-container", onClick: function () { return rowClick(bond); } }, { children: [_jsx(Flex, __assign({ className: "column column-token" }, { children: bond.showcaseTokenName })), _jsxs(Flex, __assign({ className: "column column-tokeninfo" }, { children: [_jsx(TooltipBubble, __assign({ body: _jsx(Tooltip, { tokenContract: (bond === null || bond === void 0 ? void 0 : bond.payoutToken) || '', secondURL: getBillContractURL(bond), secondURLTitle: 'View Bond Contract', thirdURL: "https://dashboard.ape.bond/bond/".concat((_a = bond === null || bond === void 0 ? void 0 : bond.billAddress) === null || _a === void 0 ? void 0 : _a.toLowerCase()), thirdURLTitle: 'View Insights', twitter: bond === null || bond === void 0 ? void 0 : bond.twitter, projectLink: bond === null || bond === void 0 ? void 0 : bond.projectLink, audit: bond === null || bond === void 0 ? void 0 : bond.audit, chain: (_b = bond.chainId) !== null && _b !== void 0 ? _b : ChainId.BSC }), width: "205px", placement: "bottomRight", transformTip: "translate(11%, 0%)" }, { children: _jsx(Svg, { icon: "infoSolid", width: "12px" }) })),
|
|
191
|
+
return (_jsxs(Flex, __assign({ className: "container bondrow-container", onClick: function () { return rowClick(bond); } }, { children: [_jsx(Flex, __assign({ className: "column column-token" }, { children: bond.showcaseTokenName })), _jsxs(Flex, __assign({ className: "column column-tokeninfo" }, { children: [_jsx(TooltipBubble, __assign({ body: _jsx(Tooltip, { tokenContract: (bond === null || bond === void 0 ? void 0 : bond.payoutToken) || '', secondURL: getBillContractURL(bond), secondURLTitle: 'View Bond Contract', thirdURL: "https://dashboard.ape.bond/bond/".concat((_a = bond === null || bond === void 0 ? void 0 : bond.billAddress) === null || _a === void 0 ? void 0 : _a.toLowerCase()), thirdURLTitle: 'View Insights', twitter: bond === null || bond === void 0 ? void 0 : bond.twitter, projectLink: bond === null || bond === void 0 ? void 0 : bond.projectLink, audit: bond === null || bond === void 0 ? void 0 : bond.audit, chain: (_b = bond.chainId) !== null && _b !== void 0 ? _b : ChainId.BSC }), width: "205px", placement: "bottomRight", transformTip: "translate(11%, 0%)" }, { children: _jsx(Svg, { icon: "infoSolid", width: "12px" }) })), _jsxs(Flex, __assign({ className: "column-tokenicons icon" }, { children: [_jsx(Svg, { icon: "expand", width: "15px", color: "white2" }), _jsx(ListTag, { text: (_c = bond === null || bond === void 0 ? void 0 : bond.tags) === null || _c === void 0 ? void 0 : _c[0], variant: ((_d = bond === null || bond === void 0 ? void 0 : bond.tags) === null || _d === void 0 ? void 0 : _d[0]) === 'Cex Fund' ? 'cex_fund' : 'liquidity' })] }))] })), _jsx(Flex, __assign({ className: "column column-discount ".concat(getDiscountColor(bond === null || bond === void 0 ? void 0 : bond.discount)) }, { children: "".concat((_e = bond === null || bond === void 0 ? void 0 : bond.discount) === null || _e === void 0 ? void 0 : _e.toFixed(2), "%") })), _jsx(Flex, __assign({ className: "column column-arr" }, { children: "".concat(((((_f = bond === null || bond === void 0 ? void 0 : bond.discount) !== null && _f !== void 0 ? _f : 0) * 365) / vestingTime(bond.vestingTerm).days).toFixed(2), "%") })), _jsx(Flex, __assign({ className: "column column-term" }, { children: vestingTime(bond.vestingTerm).days ? "".concat(vestingTime(bond.vestingTerm).days, " D") : '-' })), _jsx(Flex, __assign({ className: "column column-tokensremaining" }, { children: _jsx(ProgressBarWrapper, { title: '', value: _jsx(ProgressBar, { value: remainingPercentage(bond) }), style: {
|
|
192
192
|
width: '127px',
|
|
193
193
|
height: '25px',
|
|
194
194
|
flexDirection: 'column',
|
|
@@ -1,19 +1,3 @@
|
|
|
1
|
-
export declare enum QuoteToken {
|
|
2
|
-
'BNB' = "BNB",
|
|
3
|
-
'BANANA' = "BANANA",
|
|
4
|
-
'BUSD' = "BUSD",
|
|
5
|
-
'TWT' = "TWT",
|
|
6
|
-
'UST' = "UST",
|
|
7
|
-
'ETH' = "ETH",
|
|
8
|
-
'USDT' = "USDT"
|
|
9
|
-
}
|
|
10
|
-
export declare enum PoolCategory {
|
|
11
|
-
'COMMUNITY' = "Community",
|
|
12
|
-
'APEZONE' = "ApeZone",
|
|
13
|
-
'CORE' = "Core",
|
|
14
|
-
'REAL_YIELD' = "Real Yield",
|
|
15
|
-
'JUNGLE' = "Jungle"
|
|
16
|
-
}
|
|
17
1
|
export declare enum ChainId {
|
|
18
2
|
MAINNET = 1,
|
|
19
3
|
MATIC = 137,
|
|
@@ -59,361 +43,3 @@ export declare enum LiquidityDex {
|
|
|
59
43
|
SmarDex = "SmarDex",
|
|
60
44
|
MagicSea = "MagicSea"
|
|
61
45
|
}
|
|
62
|
-
export declare enum IchiSupportedDex {
|
|
63
|
-
Ascent = "Ascent",
|
|
64
|
-
Blueprint = "Blueprint",
|
|
65
|
-
Cleo = "Cleo",
|
|
66
|
-
Equalizer = "Equalizer",
|
|
67
|
-
Fenix = "Fenix",
|
|
68
|
-
Forge = "Forge",
|
|
69
|
-
Henjin = "Henjin",
|
|
70
|
-
Kinetix = "Kinetix",
|
|
71
|
-
Linehub = "Linehub",
|
|
72
|
-
Lynex = "Lynex",
|
|
73
|
-
Metavault = "Metavault",
|
|
74
|
-
Nile = "Nile",
|
|
75
|
-
Pancakeswap = "PancakeSwap",
|
|
76
|
-
Quickswap = "QuickSwap",
|
|
77
|
-
Ramses = "Ramses",
|
|
78
|
-
Retro = "Retro",
|
|
79
|
-
SaucerSwap = "SaucerSwap",
|
|
80
|
-
SpiritSwap = "SpiritSwap",
|
|
81
|
-
Sushiswap = "SushiSwap",
|
|
82
|
-
Thena = "Thena",
|
|
83
|
-
Thirdfy = "Thirdfy",
|
|
84
|
-
UniswapV3 = "Uniswap V3",
|
|
85
|
-
Velocore = "Velocore",
|
|
86
|
-
XSwap = "XSwap"
|
|
87
|
-
}
|
|
88
|
-
export declare enum ZapVersion {
|
|
89
|
-
External = "External",
|
|
90
|
-
ZapV1 = "ZapV1",
|
|
91
|
-
Wido = "Wido",
|
|
92
|
-
SoulZap = "SoulZap",
|
|
93
|
-
SoulZapApi = "SoulZapApi"
|
|
94
|
-
}
|
|
95
|
-
export declare enum Protocols {
|
|
96
|
-
Both = 1,
|
|
97
|
-
V2 = 2,
|
|
98
|
-
V3 = 3,
|
|
99
|
-
Algebra = 4,
|
|
100
|
-
Gamma = 5,
|
|
101
|
-
Steer = 6,
|
|
102
|
-
Solidly = 7,
|
|
103
|
-
XFAI = 8
|
|
104
|
-
}
|
|
105
|
-
export interface FarmStyles {
|
|
106
|
-
deprecated: string;
|
|
107
|
-
warning: string;
|
|
108
|
-
featured: string;
|
|
109
|
-
inactive: string;
|
|
110
|
-
}
|
|
111
|
-
export interface Token {
|
|
112
|
-
symbol: string;
|
|
113
|
-
address: Partial<Record<ChainId, string>>;
|
|
114
|
-
active: boolean;
|
|
115
|
-
decimals?: Partial<Record<ChainId, number | null>>;
|
|
116
|
-
dontFetch?: boolean;
|
|
117
|
-
lpToken?: boolean;
|
|
118
|
-
price?: number;
|
|
119
|
-
liquidityDex?: Partial<Record<ChainId, LiquidityDex>>;
|
|
120
|
-
getLpUrl?: Partial<Record<ChainId, string>>;
|
|
121
|
-
ichiUnderlyingDex?: IchiSupportedDex;
|
|
122
|
-
}
|
|
123
|
-
export interface MasterChef {
|
|
124
|
-
pid: Partial<Record<ChainId, number>>;
|
|
125
|
-
address: Partial<Record<ChainId, string>>;
|
|
126
|
-
rewardsPerBlock: Partial<Record<ChainId, string>>;
|
|
127
|
-
rewardToken: Token;
|
|
128
|
-
}
|
|
129
|
-
export declare enum BillVersion {
|
|
130
|
-
V1 = "V1",
|
|
131
|
-
V2 = "V2",
|
|
132
|
-
FixedPrice = "FixedPrice",
|
|
133
|
-
V3 = "V3",
|
|
134
|
-
TieredSale = "TieredSale",
|
|
135
|
-
FlashTieredSale = "FlashTieredSale"
|
|
136
|
-
}
|
|
137
|
-
/**
|
|
138
|
-
* This enum defines the art collection used to generate the art for a bill (bond).
|
|
139
|
-
*
|
|
140
|
-
* NOTE: Collections start at 1. The collection number provides a method to make new releases around
|
|
141
|
-
* the same theme or project.
|
|
142
|
-
*/
|
|
143
|
-
export declare enum BillArtCollection {
|
|
144
|
-
ApeSwap_Collection1 = "ApeSwap_Collection1",
|
|
145
|
-
Quickswap_Collection1 = "Quickswap_Collection1",
|
|
146
|
-
ApeBond_Collection1 = "ApeBond_Collection1",
|
|
147
|
-
CexFundBond_Collection1 = "CexFundBond_Collection1",
|
|
148
|
-
PlanetIX_Collection1 = "PlanetIX_Collection1",
|
|
149
|
-
ETH_Collection1 = "ETH_Collection1",
|
|
150
|
-
inEVM_Collection1 = "inEVM_Collection1",
|
|
151
|
-
AITECH_Collection1 = "AITECH_Collection1"
|
|
152
|
-
}
|
|
153
|
-
export declare const defaultBillArtCollection = BillArtCollection.ApeSwap_Collection1;
|
|
154
|
-
export declare const MigrationVestingTerms: {
|
|
155
|
-
readonly '60d': 5184000;
|
|
156
|
-
readonly '120d': 10368000;
|
|
157
|
-
readonly '180d': 15552000;
|
|
158
|
-
readonly '360d': 31104000;
|
|
159
|
-
};
|
|
160
|
-
export declare type MigrationVestingTermType = typeof MigrationVestingTerms[keyof typeof MigrationVestingTerms];
|
|
161
|
-
export interface LaunchProjectConfig {
|
|
162
|
-
index: number;
|
|
163
|
-
projectId: string;
|
|
164
|
-
projectName: string;
|
|
165
|
-
bonds: TieredSaleBondConfig[];
|
|
166
|
-
saleStartTime: string;
|
|
167
|
-
totalAllocation: string;
|
|
168
|
-
salePriceString: string;
|
|
169
|
-
vestingTimeString: string;
|
|
170
|
-
projectInfo: {
|
|
171
|
-
shortDescription: string;
|
|
172
|
-
fullDescription: string;
|
|
173
|
-
tags: string[];
|
|
174
|
-
socials: {
|
|
175
|
-
twitter: string;
|
|
176
|
-
discord?: string;
|
|
177
|
-
website: string;
|
|
178
|
-
whitepaper: string;
|
|
179
|
-
tokenomicsURL: string;
|
|
180
|
-
teaserVideo: string;
|
|
181
|
-
telegram?: string;
|
|
182
|
-
};
|
|
183
|
-
images: {
|
|
184
|
-
launchpadImg: string;
|
|
185
|
-
launchpadSmallImg: string;
|
|
186
|
-
launchpadIcon: string;
|
|
187
|
-
headerImg: string;
|
|
188
|
-
headerImgMobile: string;
|
|
189
|
-
websiteImg: string;
|
|
190
|
-
whitepaperImg: string;
|
|
191
|
-
partnersImg: string;
|
|
192
|
-
tokenomicsImg: string;
|
|
193
|
-
teaserImg: string;
|
|
194
|
-
};
|
|
195
|
-
};
|
|
196
|
-
}
|
|
197
|
-
export interface TieredSaleBondConfig {
|
|
198
|
-
index: number;
|
|
199
|
-
contractAddress: Partial<Record<ChainId, string>>;
|
|
200
|
-
billVersion: BillVersion;
|
|
201
|
-
billType: 'fcfs' | 'oversubscription';
|
|
202
|
-
token: Token;
|
|
203
|
-
earnToken: Token;
|
|
204
|
-
billNnftAddress: Partial<Record<ChainId, string>>;
|
|
205
|
-
soldOut: boolean;
|
|
206
|
-
billArt: {
|
|
207
|
-
collection: BillArtCollection;
|
|
208
|
-
};
|
|
209
|
-
initTime: Partial<Record<ChainId, number>>;
|
|
210
|
-
finishTime: Partial<Record<ChainId, number>>;
|
|
211
|
-
redeemTime?: Partial<Record<ChainId, number>>;
|
|
212
|
-
startVestingTimestamp: Partial<Record<ChainId, number>>;
|
|
213
|
-
initPrice: Partial<Record<ChainId, number>>;
|
|
214
|
-
initialRelease: number;
|
|
215
|
-
}
|
|
216
|
-
export interface FlashBondConfig extends TieredSaleBondConfig {
|
|
217
|
-
round: string;
|
|
218
|
-
totalRaiseString: string;
|
|
219
|
-
discountString: string;
|
|
220
|
-
tierString: string;
|
|
221
|
-
}
|
|
222
|
-
export declare enum LaunchBondTiers {
|
|
223
|
-
Bronze = 0,
|
|
224
|
-
Silver = 1,
|
|
225
|
-
Gold = 2,
|
|
226
|
-
Diamond = 3,
|
|
227
|
-
Legend = 4
|
|
228
|
-
}
|
|
229
|
-
export interface BillsConfig {
|
|
230
|
-
index: number;
|
|
231
|
-
cmcId?: number;
|
|
232
|
-
chainId: ChainId;
|
|
233
|
-
contractAddress: Partial<Record<ChainId, string>>;
|
|
234
|
-
billVersion: BillVersion;
|
|
235
|
-
billType: 'liquidity' | 'reserve' | 'launch' | 'migration' | 'cex';
|
|
236
|
-
token: Token;
|
|
237
|
-
quoteToken: Token;
|
|
238
|
-
lpToken: Token;
|
|
239
|
-
earnToken: Token;
|
|
240
|
-
billNnftAddress: Partial<Record<ChainId, string>>;
|
|
241
|
-
inactive?: boolean;
|
|
242
|
-
projectLink?: string;
|
|
243
|
-
twitter?: string;
|
|
244
|
-
initTime?: Partial<Record<ChainId, number>>;
|
|
245
|
-
initPrice?: Partial<Record<ChainId, number>>;
|
|
246
|
-
audit?: string;
|
|
247
|
-
soldOut?: boolean;
|
|
248
|
-
billArt?: {
|
|
249
|
-
collection: BillArtCollection;
|
|
250
|
-
};
|
|
251
|
-
showcaseToken?: Token;
|
|
252
|
-
bondPartner?: string;
|
|
253
|
-
shortDescription?: string;
|
|
254
|
-
fullDescription?: string;
|
|
255
|
-
featuredURLS?: string[];
|
|
256
|
-
partnersURLS?: string[];
|
|
257
|
-
tags?: string[];
|
|
258
|
-
onlyPartner?: boolean;
|
|
259
|
-
vestingTerm?: number;
|
|
260
|
-
multiplier?: number;
|
|
261
|
-
}
|
|
262
|
-
export declare enum VaultVersion {
|
|
263
|
-
V1 = "V1",
|
|
264
|
-
V2 = "V2",
|
|
265
|
-
V3 = "V3"
|
|
266
|
-
}
|
|
267
|
-
export interface VaultConfig {
|
|
268
|
-
id: number;
|
|
269
|
-
pid: number;
|
|
270
|
-
type: 'MAX' | 'AUTO' | 'BURN';
|
|
271
|
-
version: VaultVersion;
|
|
272
|
-
availableChains: number[];
|
|
273
|
-
stratAddress: Partial<Record<ChainId, string>>;
|
|
274
|
-
platform: string;
|
|
275
|
-
token: Token;
|
|
276
|
-
quoteToken?: Token;
|
|
277
|
-
stakeToken: Token;
|
|
278
|
-
rewardToken: Token;
|
|
279
|
-
masterchef: MasterChef;
|
|
280
|
-
inactive?: boolean;
|
|
281
|
-
depositFee?: number;
|
|
282
|
-
rewardsInSeconds?: boolean;
|
|
283
|
-
fee?: string;
|
|
284
|
-
}
|
|
285
|
-
export interface FarmConfig {
|
|
286
|
-
pid: number;
|
|
287
|
-
lpSymbol: string;
|
|
288
|
-
lpAddresses: Partial<Record<ChainId, string>>;
|
|
289
|
-
tokenSymbol: string;
|
|
290
|
-
style?: keyof FarmStyles;
|
|
291
|
-
image?: string;
|
|
292
|
-
disableApr?: boolean;
|
|
293
|
-
tokenAddresses: Partial<Record<ChainId, string>>;
|
|
294
|
-
quoteTokenSymbol: QuoteToken;
|
|
295
|
-
quoteTokenAdresses: Partial<Record<ChainId, string>>;
|
|
296
|
-
multiplier?: string;
|
|
297
|
-
isCommunity?: boolean;
|
|
298
|
-
dual?: {
|
|
299
|
-
rewardPerBlock: number;
|
|
300
|
-
earnLabel: string;
|
|
301
|
-
endBlock: number;
|
|
302
|
-
};
|
|
303
|
-
projectLink?: string;
|
|
304
|
-
}
|
|
305
|
-
export interface PoolConfig {
|
|
306
|
-
sousId: number;
|
|
307
|
-
image?: string;
|
|
308
|
-
tokenName: string;
|
|
309
|
-
stakingToken: Token;
|
|
310
|
-
stakingLimit?: number;
|
|
311
|
-
bonusEndBlock?: number;
|
|
312
|
-
bonusEndTime?: number;
|
|
313
|
-
rewardToken: Token | null;
|
|
314
|
-
contractAddress: Partial<Record<ChainId, string>>;
|
|
315
|
-
poolCategory?: PoolCategory;
|
|
316
|
-
projectLink: string;
|
|
317
|
-
twitter?: string;
|
|
318
|
-
tokenPerBlock?: string;
|
|
319
|
-
rewardsPerSecond?: string;
|
|
320
|
-
sortOrder?: number;
|
|
321
|
-
harvest?: boolean;
|
|
322
|
-
reflect?: boolean;
|
|
323
|
-
isFinished?: boolean;
|
|
324
|
-
tokenDecimals: number;
|
|
325
|
-
displayDecimals?: number;
|
|
326
|
-
lpStaking?: boolean;
|
|
327
|
-
lpTokens?: {
|
|
328
|
-
token: Token;
|
|
329
|
-
quoteToken: Token;
|
|
330
|
-
};
|
|
331
|
-
forAdmins?: boolean;
|
|
332
|
-
emergencyWithdraw?: boolean;
|
|
333
|
-
isEarnTokenLp?: boolean;
|
|
334
|
-
zapable?: boolean;
|
|
335
|
-
audit?: string;
|
|
336
|
-
}
|
|
337
|
-
export interface DualFarmConfig {
|
|
338
|
-
pid: number;
|
|
339
|
-
network: number;
|
|
340
|
-
stakeTokenAddress: string;
|
|
341
|
-
rewarderAddress: string;
|
|
342
|
-
dualImage?: boolean;
|
|
343
|
-
stakeTokens: {
|
|
344
|
-
token0: Token;
|
|
345
|
-
token1: Token;
|
|
346
|
-
};
|
|
347
|
-
rewardTokens: {
|
|
348
|
-
token0: Token;
|
|
349
|
-
token1?: Token;
|
|
350
|
-
};
|
|
351
|
-
}
|
|
352
|
-
export interface JungleFarmConfig {
|
|
353
|
-
jungleId: number;
|
|
354
|
-
image?: string;
|
|
355
|
-
tokenName: string;
|
|
356
|
-
stakingToken: Token;
|
|
357
|
-
stakingLimit?: number;
|
|
358
|
-
bonusEndBlock?: number;
|
|
359
|
-
bonusEndTime?: number;
|
|
360
|
-
rewardToken: Token;
|
|
361
|
-
contractAddress: Partial<Record<ChainId, string>>;
|
|
362
|
-
projectLink: string;
|
|
363
|
-
twitter?: string;
|
|
364
|
-
tokenPerBlock?: string;
|
|
365
|
-
sortOrder?: number;
|
|
366
|
-
harvest?: boolean;
|
|
367
|
-
reflect?: boolean;
|
|
368
|
-
isFinished?: boolean;
|
|
369
|
-
tokenDecimals: number;
|
|
370
|
-
displayDecimals?: number;
|
|
371
|
-
lpStaking?: boolean;
|
|
372
|
-
lpTokens?: {
|
|
373
|
-
token: Token;
|
|
374
|
-
quoteToken: Token;
|
|
375
|
-
};
|
|
376
|
-
forAdmins?: boolean;
|
|
377
|
-
emergencyWithdraw?: boolean;
|
|
378
|
-
isEarnTokenLp?: boolean;
|
|
379
|
-
network: number;
|
|
380
|
-
unZapable?: boolean;
|
|
381
|
-
rewardsPerSecond?: string;
|
|
382
|
-
audit?: string;
|
|
383
|
-
}
|
|
384
|
-
export interface NfaStakingPoolConfig {
|
|
385
|
-
sousId: number;
|
|
386
|
-
tier: number;
|
|
387
|
-
rewardToken: Token;
|
|
388
|
-
contractAddress: Partial<Record<ChainId, string>>;
|
|
389
|
-
tokenPerBlock: string;
|
|
390
|
-
isFinished: boolean;
|
|
391
|
-
endBlock: number;
|
|
392
|
-
}
|
|
393
|
-
export interface IaoConfig {
|
|
394
|
-
id: string;
|
|
395
|
-
isActive: boolean;
|
|
396
|
-
isLinear: boolean;
|
|
397
|
-
address: string;
|
|
398
|
-
name: string;
|
|
399
|
-
subTitle?: string;
|
|
400
|
-
description?: string;
|
|
401
|
-
launchDate: string;
|
|
402
|
-
launchTime: string;
|
|
403
|
-
saleAmount: string;
|
|
404
|
-
raiseAmount: string;
|
|
405
|
-
totalAmountRaised?: string;
|
|
406
|
-
bananaToBurn?: string;
|
|
407
|
-
projectSiteUrl: string;
|
|
408
|
-
currency: string;
|
|
409
|
-
currencyAddress: string;
|
|
410
|
-
offeringCurrency: string;
|
|
411
|
-
tokenDecimals: number;
|
|
412
|
-
releaseBlockNumber: number;
|
|
413
|
-
vestingTime?: string;
|
|
414
|
-
vesting?: boolean;
|
|
415
|
-
startBlock?: number;
|
|
416
|
-
burnedTxUrl?: string;
|
|
417
|
-
expires?: number;
|
|
418
|
-
vestingTimeSeconds?: number;
|
|
419
|
-
}
|
|
@@ -1 +1,47 @@
|
|
|
1
|
-
export
|
|
1
|
+
export var ChainId;
|
|
2
|
+
(function (ChainId) {
|
|
3
|
+
ChainId[ChainId["MAINNET"] = 1] = "MAINNET";
|
|
4
|
+
ChainId[ChainId["MATIC"] = 137] = "MATIC";
|
|
5
|
+
ChainId[ChainId["MATIC_TESTNET"] = 80001] = "MATIC_TESTNET";
|
|
6
|
+
ChainId[ChainId["BSC"] = 56] = "BSC";
|
|
7
|
+
ChainId[ChainId["BSC_TESTNET"] = 97] = "BSC_TESTNET";
|
|
8
|
+
ChainId[ChainId["TLOS"] = 40] = "TLOS";
|
|
9
|
+
ChainId[ChainId["ARBITRUM"] = 42161] = "ARBITRUM";
|
|
10
|
+
ChainId[ChainId["INEVM_TESTNET"] = 2424] = "INEVM_TESTNET";
|
|
11
|
+
ChainId[ChainId["INEVM"] = 2525] = "INEVM";
|
|
12
|
+
ChainId[ChainId["SEPOLIA"] = 11155111] = "SEPOLIA";
|
|
13
|
+
ChainId[ChainId["LINEA"] = 59144] = "LINEA";
|
|
14
|
+
ChainId[ChainId["LIGHTLINK"] = 1890] = "LIGHTLINK";
|
|
15
|
+
ChainId[ChainId["IOTA_TESTNET"] = 1075] = "IOTA_TESTNET";
|
|
16
|
+
ChainId[ChainId["IOTA"] = 8822] = "IOTA";
|
|
17
|
+
ChainId[ChainId["BASE"] = 8453] = "BASE";
|
|
18
|
+
})(ChainId || (ChainId = {}));
|
|
19
|
+
export var LiquidityDex;
|
|
20
|
+
(function (LiquidityDex) {
|
|
21
|
+
LiquidityDex["ApeSwapV2"] = "ApeSwapV2";
|
|
22
|
+
LiquidityDex["ApeSwapV3"] = "ApeSwapV3";
|
|
23
|
+
LiquidityDex["PancakeSwapV2"] = "PancakeSwapV2";
|
|
24
|
+
LiquidityDex["PancakeSwapV3"] = "PancakeSwapV3";
|
|
25
|
+
LiquidityDex["SushiSwapV3"] = "SushiSwapV3";
|
|
26
|
+
LiquidityDex["UniswapV2"] = "UniswapV2";
|
|
27
|
+
LiquidityDex["ThenaV1"] = "ThenaV1";
|
|
28
|
+
/**
|
|
29
|
+
* Initially, LiquidityDex was for the price getter and that checks algebra pricing
|
|
30
|
+
* (gamma wraps over it so no pricing there).
|
|
31
|
+
* Now we use it for zapVersion as well where Gamma is better.
|
|
32
|
+
*/
|
|
33
|
+
LiquidityDex["Algebra"] = "Algebra";
|
|
34
|
+
LiquidityDex["QuickswapV2"] = "QuickswapV2";
|
|
35
|
+
LiquidityDex["UniswapV3"] = "UniswapV3";
|
|
36
|
+
LiquidityDex["External"] = "External";
|
|
37
|
+
LiquidityDex["Spartadex"] = "Spartadex";
|
|
38
|
+
LiquidityDex["Nile"] = "Nile";
|
|
39
|
+
LiquidityDex["XFAI"] = "XFAI";
|
|
40
|
+
LiquidityDex["Lynex"] = "Lynex";
|
|
41
|
+
LiquidityDex["Metavault"] = "Metavault";
|
|
42
|
+
LiquidityDex["Elektrik"] = "Elektrik";
|
|
43
|
+
LiquidityDex["Synthswap"] = "Synthswap";
|
|
44
|
+
LiquidityDex["Aerodrome"] = "Aerodrome";
|
|
45
|
+
LiquidityDex["SmarDex"] = "SmarDex";
|
|
46
|
+
LiquidityDex["MagicSea"] = "MagicSea";
|
|
47
|
+
})(LiquidityDex || (LiquidityDex = {}));
|
package/dist/scss/Bonds.scss
CHANGED
|
@@ -42,20 +42,19 @@
|
|
|
42
42
|
justify-content: center;
|
|
43
43
|
align-items: center;
|
|
44
44
|
flex: 1;
|
|
45
|
-
|
|
45
|
+
width: 100%;
|
|
46
46
|
text-align: center;
|
|
47
47
|
cursor: pointer;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
.column.column-token {
|
|
51
|
-
min-width: 100px;
|
|
52
51
|
flex-direction: row;
|
|
53
52
|
justify-content: start;
|
|
54
53
|
align-items: center;
|
|
55
54
|
padding-left: 20px;
|
|
56
55
|
}
|
|
57
56
|
|
|
58
|
-
.column.column-
|
|
57
|
+
.column.column-tokenicons {
|
|
59
58
|
flex-direction: row;
|
|
60
59
|
align-items: center;
|
|
61
60
|
justify-content: space-evenly;
|