@scallop-io/sui-scallop-sdk 0.46.62 → 0.47.0-alpha.1
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/constants/common.d.ts +6 -6
- package/dist/index.js +137 -133
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +137 -133
- package/dist/index.mjs.map +1 -1
- package/dist/models/scallopQuery.d.ts +35 -35
- package/dist/queries/borrowIncentiveQuery.d.ts +6 -6
- package/dist/queries/coreQuery.d.ts +12 -12
- package/dist/queries/portfolioQuery.d.ts +6 -6
- package/dist/queries/sCoinQuery.d.ts +1 -1
- package/dist/queries/spoolQuery.d.ts +3 -3
- package/dist/types/constant/enum.d.ts +1 -1
- package/dist/utils/query.d.ts +1 -1
- package/package.json +1 -1
- package/src/builders/oracle.ts +4 -0
- package/src/constants/common.ts +25 -24
- package/src/constants/enum.ts +70 -67
- package/src/constants/flashloan.ts +6 -6
- package/src/constants/testAddress.ts +12 -12
- package/src/models/scallopAddress.ts +12 -12
- package/src/models/scallopUtils.ts +25 -25
- package/src/queries/borrowIncentiveQuery.ts +1 -1
- package/src/queries/spoolQuery.ts +10 -9
- package/src/types/constant/enum.ts +1 -1
- package/src/utils/query.ts +1 -1
- package/src/utils/util.ts +4 -0
|
@@ -51,13 +51,13 @@ export declare class ScallopQuery {
|
|
|
51
51
|
* @return Market pools data.
|
|
52
52
|
*/
|
|
53
53
|
getMarketPools(poolCoinNames?: SupportPoolCoins[], indexer?: boolean): Promise<{
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
54
|
+
weth?: import("../types").MarketPool | undefined;
|
|
55
|
+
wbtc?: import("../types").MarketPool | undefined;
|
|
56
|
+
wusdc?: import("../types").MarketPool | undefined;
|
|
57
|
+
wusdt?: import("../types").MarketPool | undefined;
|
|
58
58
|
sui?: import("../types").MarketPool | undefined;
|
|
59
|
-
|
|
60
|
-
|
|
59
|
+
wapt?: import("../types").MarketPool | undefined;
|
|
60
|
+
wsol?: import("../types").MarketPool | undefined;
|
|
61
61
|
cetus?: import("../types").MarketPool | undefined;
|
|
62
62
|
afsui?: import("../types").MarketPool | undefined;
|
|
63
63
|
hasui?: import("../types").MarketPool | undefined;
|
|
@@ -84,13 +84,13 @@ export declare class ScallopQuery {
|
|
|
84
84
|
* @return Market collaterals data.
|
|
85
85
|
*/
|
|
86
86
|
getMarketCollaterals(collateralCoinNames?: SupportCollateralCoins[], indexer?: boolean): Promise<{
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
87
|
+
weth?: import("../types").MarketCollateral | undefined;
|
|
88
|
+
wbtc?: import("../types").MarketCollateral | undefined;
|
|
89
|
+
wusdc?: import("../types").MarketCollateral | undefined;
|
|
90
|
+
wusdt?: import("../types").MarketCollateral | undefined;
|
|
91
91
|
sui?: import("../types").MarketCollateral | undefined;
|
|
92
|
-
|
|
93
|
-
|
|
92
|
+
wapt?: import("../types").MarketCollateral | undefined;
|
|
93
|
+
wsol?: import("../types").MarketCollateral | undefined;
|
|
94
94
|
cetus?: import("../types").MarketCollateral | undefined;
|
|
95
95
|
afsui?: import("../types").MarketCollateral | undefined;
|
|
96
96
|
hasui?: import("../types").MarketCollateral | undefined;
|
|
@@ -173,10 +173,10 @@ export declare class ScallopQuery {
|
|
|
173
173
|
* @return Spools data.
|
|
174
174
|
*/
|
|
175
175
|
getSpools(stakeMarketCoinNames?: SupportStakeMarketCoins[], indexer?: boolean): Promise<{
|
|
176
|
-
|
|
176
|
+
sweth?: import("../types").Spool | undefined;
|
|
177
177
|
ssui?: import("../types").Spool | undefined;
|
|
178
|
-
|
|
179
|
-
|
|
178
|
+
swusdc?: import("../types").Spool | undefined;
|
|
179
|
+
swusdt?: import("../types").Spool | undefined;
|
|
180
180
|
scetus?: import("../types").Spool | undefined;
|
|
181
181
|
safsui?: import("../types").Spool | undefined;
|
|
182
182
|
shasui?: import("../types").Spool | undefined;
|
|
@@ -216,10 +216,10 @@ export declare class ScallopQuery {
|
|
|
216
216
|
* @return Stake pools data.
|
|
217
217
|
*/
|
|
218
218
|
getStakePools(stakeMarketCoinNames?: SupportStakeMarketCoins[]): Promise<{
|
|
219
|
-
|
|
219
|
+
sweth?: import("../types").StakePool | undefined;
|
|
220
220
|
ssui?: import("../types").StakePool | undefined;
|
|
221
|
-
|
|
222
|
-
|
|
221
|
+
swusdc?: import("../types").StakePool | undefined;
|
|
222
|
+
swusdt?: import("../types").StakePool | undefined;
|
|
223
223
|
scetus?: import("../types").StakePool | undefined;
|
|
224
224
|
safsui?: import("../types").StakePool | undefined;
|
|
225
225
|
shasui?: import("../types").StakePool | undefined;
|
|
@@ -247,10 +247,10 @@ export declare class ScallopQuery {
|
|
|
247
247
|
* @return Stake reward pools data.
|
|
248
248
|
*/
|
|
249
249
|
getStakeRewardPools(stakeMarketCoinNames?: SupportStakeMarketCoins[]): Promise<{
|
|
250
|
-
|
|
250
|
+
sweth?: import("../types").StakeRewardPool | undefined;
|
|
251
251
|
ssui?: import("../types").StakeRewardPool | undefined;
|
|
252
|
-
|
|
253
|
-
|
|
252
|
+
swusdc?: import("../types").StakeRewardPool | undefined;
|
|
253
|
+
swusdt?: import("../types").StakeRewardPool | undefined;
|
|
254
254
|
scetus?: import("../types").StakeRewardPool | undefined;
|
|
255
255
|
safsui?: import("../types").StakeRewardPool | undefined;
|
|
256
256
|
shasui?: import("../types").StakeRewardPool | undefined;
|
|
@@ -275,9 +275,9 @@ export declare class ScallopQuery {
|
|
|
275
275
|
* @return Borrow incentive pools data.
|
|
276
276
|
*/
|
|
277
277
|
getBorrowIncentivePools(coinNames?: SupportBorrowIncentiveCoins[], indexer?: boolean): Promise<{
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
278
|
+
weth?: import("../types").BorrowIncentivePool | undefined;
|
|
279
|
+
wusdc?: import("../types").BorrowIncentivePool | undefined;
|
|
280
|
+
wusdt?: import("../types").BorrowIncentivePool | undefined;
|
|
281
281
|
sui?: import("../types").BorrowIncentivePool | undefined;
|
|
282
282
|
afsui?: import("../types").BorrowIncentivePool | undefined;
|
|
283
283
|
hasui?: import("../types").BorrowIncentivePool | undefined;
|
|
@@ -292,9 +292,9 @@ export declare class ScallopQuery {
|
|
|
292
292
|
* @return Borrow incentive accounts data.
|
|
293
293
|
*/
|
|
294
294
|
getBorrowIncentiveAccounts(obligationId: string, coinNames?: SupportBorrowIncentiveCoins[]): Promise<{
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
295
|
+
weth?: import("../types").ParsedBorrowIncentiveAccountData | undefined;
|
|
296
|
+
wusdc?: import("../types").ParsedBorrowIncentiveAccountData | undefined;
|
|
297
|
+
wusdt?: import("../types").ParsedBorrowIncentiveAccountData | undefined;
|
|
298
298
|
sui?: import("../types").ParsedBorrowIncentiveAccountData | undefined;
|
|
299
299
|
afsui?: import("../types").ParsedBorrowIncentiveAccountData | undefined;
|
|
300
300
|
hasui?: import("../types").ParsedBorrowIncentiveAccountData | undefined;
|
|
@@ -310,13 +310,13 @@ export declare class ScallopQuery {
|
|
|
310
310
|
* @return All lending and spool infomation.
|
|
311
311
|
*/
|
|
312
312
|
getLendings(poolCoinNames?: SupportPoolCoins[], ownerAddress?: string, indexer?: boolean): Promise<{
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
313
|
+
weth?: import("../types").Lending | undefined;
|
|
314
|
+
wbtc?: import("../types").Lending | undefined;
|
|
315
|
+
wusdc?: import("../types").Lending | undefined;
|
|
316
|
+
wusdt?: import("../types").Lending | undefined;
|
|
317
317
|
sui?: import("../types").Lending | undefined;
|
|
318
|
-
|
|
319
|
-
|
|
318
|
+
wapt?: import("../types").Lending | undefined;
|
|
319
|
+
wsol?: import("../types").Lending | undefined;
|
|
320
320
|
cetus?: import("../types").Lending | undefined;
|
|
321
321
|
afsui?: import("../types").Lending | undefined;
|
|
322
322
|
hasui?: import("../types").Lending | undefined;
|
|
@@ -421,7 +421,7 @@ export declare class ScallopQuery {
|
|
|
421
421
|
* @param ownerAddress - The owner address.
|
|
422
422
|
* @return All market sCoin amounts.
|
|
423
423
|
*/
|
|
424
|
-
getSCoinAmounts(sCoinNames?: SupportSCoin[], ownerAddress?: string): Promise<import("../types").OptionalKeys<Record<"
|
|
424
|
+
getSCoinAmounts(sCoinNames?: SupportSCoin[], ownerAddress?: string): Promise<import("../types").OptionalKeys<Record<"sweth" | "ssui" | "swusdc" | "swusdt" | "scetus" | "safsui" | "shasui" | "svsui" | "ssca" | "swsol" | "swbtc", number>>>;
|
|
425
425
|
/**
|
|
426
426
|
* Get sCoin amount.
|
|
427
427
|
*
|
|
@@ -436,7 +436,7 @@ export declare class ScallopQuery {
|
|
|
436
436
|
* @returns
|
|
437
437
|
*/
|
|
438
438
|
getSCoinSwapRate(fromSCoin: SupportSCoin, toSCoin: SupportSCoin): Promise<number>;
|
|
439
|
-
getFlashLoanFees(assetCoinNames?: SupportAssetCoins[]): Promise<Record<"
|
|
439
|
+
getFlashLoanFees(assetCoinNames?: SupportAssetCoins[]): Promise<Record<"weth" | "wbtc" | "wusdc" | "wusdt" | "sui" | "wapt" | "wsol" | "cetus" | "afsui" | "hasui" | "vsui" | "sca", number>>;
|
|
440
440
|
/**
|
|
441
441
|
* Get supply limit of supply pool
|
|
442
442
|
*/
|
|
@@ -9,9 +9,9 @@ import type { SupportBorrowIncentiveCoins } from '../types';
|
|
|
9
9
|
* @return Borrow incentive pools data.
|
|
10
10
|
*/
|
|
11
11
|
export declare const queryBorrowIncentivePools: (query: ScallopQuery, borrowIncentiveCoinNames?: SupportBorrowIncentiveCoins[], indexer?: boolean) => Promise<{
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
weth?: import("../types").BorrowIncentivePool | undefined;
|
|
13
|
+
wusdc?: import("../types").BorrowIncentivePool | undefined;
|
|
14
|
+
wusdt?: import("../types").BorrowIncentivePool | undefined;
|
|
15
15
|
sui?: import("../types").BorrowIncentivePool | undefined;
|
|
16
16
|
afsui?: import("../types").BorrowIncentivePool | undefined;
|
|
17
17
|
hasui?: import("../types").BorrowIncentivePool | undefined;
|
|
@@ -28,9 +28,9 @@ export declare const queryBorrowIncentivePools: (query: ScallopQuery, borrowInce
|
|
|
28
28
|
export declare const queryBorrowIncentiveAccounts: ({ utils, }: {
|
|
29
29
|
utils: ScallopUtils;
|
|
30
30
|
}, obligationId: string, borrowIncentiveCoinNames?: SupportBorrowIncentiveCoins[]) => Promise<{
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
weth?: import("../types").ParsedBorrowIncentiveAccountData | undefined;
|
|
32
|
+
wusdc?: import("../types").ParsedBorrowIncentiveAccountData | undefined;
|
|
33
|
+
wusdt?: import("../types").ParsedBorrowIncentiveAccountData | undefined;
|
|
34
34
|
sui?: import("../types").ParsedBorrowIncentiveAccountData | undefined;
|
|
35
35
|
afsui?: import("../types").ParsedBorrowIncentiveAccountData | undefined;
|
|
36
36
|
hasui?: import("../types").ParsedBorrowIncentiveAccountData | undefined;
|
|
@@ -26,13 +26,13 @@ export declare const queryMarket: (query: ScallopQuery, indexer?: boolean) => Pr
|
|
|
26
26
|
* @return Market pools data.
|
|
27
27
|
*/
|
|
28
28
|
export declare const getMarketPools: (query: ScallopQuery, poolCoinNames?: SupportPoolCoins[], indexer?: boolean) => Promise<{
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
29
|
+
weth?: MarketPool | undefined;
|
|
30
|
+
wbtc?: MarketPool | undefined;
|
|
31
|
+
wusdc?: MarketPool | undefined;
|
|
32
|
+
wusdt?: MarketPool | undefined;
|
|
33
33
|
sui?: MarketPool | undefined;
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
wapt?: MarketPool | undefined;
|
|
35
|
+
wsol?: MarketPool | undefined;
|
|
36
36
|
cetus?: MarketPool | undefined;
|
|
37
37
|
afsui?: MarketPool | undefined;
|
|
38
38
|
hasui?: MarketPool | undefined;
|
|
@@ -63,13 +63,13 @@ export declare const getMarketPool: (query: ScallopQuery, poolCoinName: SupportP
|
|
|
63
63
|
* @return Market collaterals data.
|
|
64
64
|
*/
|
|
65
65
|
export declare const getMarketCollaterals: (query: ScallopQuery, collateralCoinNames?: SupportCollateralCoins[], indexer?: boolean) => Promise<{
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
66
|
+
weth?: MarketCollateral | undefined;
|
|
67
|
+
wbtc?: MarketCollateral | undefined;
|
|
68
|
+
wusdc?: MarketCollateral | undefined;
|
|
69
|
+
wusdt?: MarketCollateral | undefined;
|
|
70
70
|
sui?: MarketCollateral | undefined;
|
|
71
|
-
|
|
72
|
-
|
|
71
|
+
wapt?: MarketCollateral | undefined;
|
|
72
|
+
wsol?: MarketCollateral | undefined;
|
|
73
73
|
cetus?: MarketCollateral | undefined;
|
|
74
74
|
afsui?: MarketCollateral | undefined;
|
|
75
75
|
hasui?: MarketCollateral | undefined;
|
|
@@ -10,13 +10,13 @@ import type { Market, SupportPoolCoins, MarketPool, Spool, StakeAccount, Lending
|
|
|
10
10
|
* @return User lending infomation for specific pools.
|
|
11
11
|
*/
|
|
12
12
|
export declare const getLendings: (query: ScallopQuery, poolCoinNames?: SupportPoolCoins[], ownerAddress?: string, indexer?: boolean) => Promise<{
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
weth?: Lending | undefined;
|
|
14
|
+
wbtc?: Lending | undefined;
|
|
15
|
+
wusdc?: Lending | undefined;
|
|
16
|
+
wusdt?: Lending | undefined;
|
|
17
17
|
sui?: Lending | undefined;
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
wapt?: Lending | undefined;
|
|
19
|
+
wsol?: Lending | undefined;
|
|
20
20
|
cetus?: Lending | undefined;
|
|
21
21
|
afsui?: Lending | undefined;
|
|
22
22
|
hasui?: Lending | undefined;
|
|
@@ -19,7 +19,7 @@ export declare const getSCoinTotalSupply: ({ utils, }: {
|
|
|
19
19
|
*/
|
|
20
20
|
export declare const getSCoinAmounts: ({ utils, }: {
|
|
21
21
|
utils: ScallopUtils;
|
|
22
|
-
}, sCoinNames?: SupportSCoin[], ownerAddress?: string) => Promise<OptionalKeys<Record<"
|
|
22
|
+
}, sCoinNames?: SupportSCoin[], ownerAddress?: string) => Promise<OptionalKeys<Record<"sweth" | "ssui" | "swusdc" | "swusdt" | "scetus" | "safsui" | "shasui" | "svsui" | "ssca" | "swsol" | "swbtc", number>>>;
|
|
23
23
|
/**
|
|
24
24
|
* Query owned sCoin amount.
|
|
25
25
|
*
|
|
@@ -9,10 +9,10 @@ import type { MarketPool, Spool, StakePool, StakeRewardPool, StakeAccounts, Supp
|
|
|
9
9
|
* @return Spools data.
|
|
10
10
|
*/
|
|
11
11
|
export declare const getSpools: (query: ScallopQuery, stakeMarketCoinNames?: SupportStakeMarketCoins[], indexer?: boolean) => Promise<{
|
|
12
|
-
|
|
12
|
+
sweth?: Spool | undefined;
|
|
13
13
|
ssui?: Spool | undefined;
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
swusdc?: Spool | undefined;
|
|
15
|
+
swusdt?: Spool | undefined;
|
|
16
16
|
scetus?: Spool | undefined;
|
|
17
17
|
safsui?: Spool | undefined;
|
|
18
18
|
shasui?: Spool | undefined;
|
|
@@ -34,7 +34,7 @@ export type SCoinConverterTreasury = {
|
|
|
34
34
|
};
|
|
35
35
|
type PickFromUnion<T, K extends string> = K extends T ? K : never;
|
|
36
36
|
export type WormholeCoinIds = {
|
|
37
|
-
[key in PickFromUnion<SupportAssetCoins, '
|
|
37
|
+
[key in PickFromUnion<SupportAssetCoins, 'weth' | 'wbtc' | 'wusdc' | 'wusdt' | 'wapt' | 'wsol'>]: string;
|
|
38
38
|
};
|
|
39
39
|
export type VoloCoinIds = {
|
|
40
40
|
[key in PickFromUnion<SupportAssetCoins, 'vsui'>]: string;
|
package/dist/utils/query.d.ts
CHANGED
|
@@ -41,7 +41,7 @@ export declare const parseOriginBorrowIncentivesPoolPointData: (originBorrowInce
|
|
|
41
41
|
* @return Parsed borrow incentive pool data
|
|
42
42
|
*/
|
|
43
43
|
export declare const parseOriginBorrowIncentivePoolData: (originBorrowIncentivePoolData: OriginBorrowIncentivePoolData) => ParsedBorrowIncentivePoolData;
|
|
44
|
-
export declare const calculateBorrowIncentivePoolPointData: (
|
|
44
|
+
export declare const calculateBorrowIncentivePoolPointData: (parsedBorrowIncentivePoolPointData: ParsedBorrowIncentivePoolPointData, rewardCoinPrice: number, rewardCoinDecimal: number, poolCoinPrice: number, poolCoinDecimal: number) => CalculatedBorrowIncentivePoolPointData;
|
|
45
45
|
export declare const parseOriginBorrowIncentiveAccountPoolPointData: (originBorrowIncentiveAccountPoolPointData: OriginBorrowIncentiveAccountPoolData) => ParsedBorrowIncentiveAccountPoolData;
|
|
46
46
|
/**
|
|
47
47
|
* Parse origin borrow incentive account data to a more readable format.
|
package/package.json
CHANGED
package/src/builders/oracle.ts
CHANGED
|
@@ -175,6 +175,7 @@ const updatePrice = (
|
|
|
175
175
|
coinType
|
|
176
176
|
);
|
|
177
177
|
}
|
|
178
|
+
|
|
178
179
|
confirmPriceUpdateRequest(
|
|
179
180
|
txBlock,
|
|
180
181
|
xOraclePackageId,
|
|
@@ -231,6 +232,7 @@ const confirmPriceUpdateRequest = (
|
|
|
231
232
|
/**
|
|
232
233
|
* Construct a transaction block for update supra price.
|
|
233
234
|
*
|
|
235
|
+
* @param type - The type of price rule.
|
|
234
236
|
* @param txBlock - The transaction block.
|
|
235
237
|
* @param packageId - The supra package id.
|
|
236
238
|
* @param request - The result of the request.
|
|
@@ -257,6 +259,7 @@ const updateSupraPrice = (
|
|
|
257
259
|
/**
|
|
258
260
|
* Construct a transaction block for update switchboard price.
|
|
259
261
|
*
|
|
262
|
+
* @param type - The type of price rule.
|
|
260
263
|
* @param txBlock - The transaction block.
|
|
261
264
|
* @param packageId - The switchboard package id.
|
|
262
265
|
* @param request - The result of the request.
|
|
@@ -283,6 +286,7 @@ const updateSwitchboardPrice = (
|
|
|
283
286
|
/**
|
|
284
287
|
* Construct a transaction block for update pyth price.
|
|
285
288
|
*
|
|
289
|
+
* @param type - The type of price rule.
|
|
286
290
|
* @param txBlock - The transaction block.
|
|
287
291
|
* @param packageId - The pyth package id.
|
|
288
292
|
* @param request - The result of the request.
|
package/src/constants/common.ts
CHANGED
|
@@ -9,7 +9,8 @@ export const USE_TEST_ADDRESS = false;
|
|
|
9
9
|
export const ADDRESSES_ID =
|
|
10
10
|
IS_VE_SCA_TEST || USE_TEST_ADDRESS
|
|
11
11
|
? ('65fb07c39c845425d71d7b18' as const)
|
|
12
|
-
: ('
|
|
12
|
+
: ('66f8e7ed9bb9e07fdfb86bbb' as const);
|
|
13
|
+
// : ('664dfe22898c36c159e28bc8' as const);
|
|
13
14
|
// : ('6601955b8b0024600a917079' as const);
|
|
14
15
|
// : ('6462a088a7ace142bb6d7e9b' as const);
|
|
15
16
|
|
|
@@ -33,13 +34,13 @@ export const OLD_BORROW_INCENTIVE_PROTOCOL_ID =
|
|
|
33
34
|
'0xc63072e7f5f4983a2efaf5bdba1480d5e7d74d57948e1c7cc436f8e22cbeb410' as const;
|
|
34
35
|
|
|
35
36
|
export const SUPPORT_POOLS = [
|
|
36
|
-
'
|
|
37
|
-
'
|
|
38
|
-
'
|
|
39
|
-
'
|
|
37
|
+
'weth',
|
|
38
|
+
'wbtc',
|
|
39
|
+
'wusdc',
|
|
40
|
+
'wusdt',
|
|
40
41
|
'sui',
|
|
41
|
-
'
|
|
42
|
-
'
|
|
42
|
+
'wapt',
|
|
43
|
+
'wsol',
|
|
43
44
|
'cetus',
|
|
44
45
|
'afsui',
|
|
45
46
|
'hasui',
|
|
@@ -48,13 +49,13 @@ export const SUPPORT_POOLS = [
|
|
|
48
49
|
] as const;
|
|
49
50
|
|
|
50
51
|
export const SUPPORT_COLLATERALS = [
|
|
51
|
-
'
|
|
52
|
-
'
|
|
53
|
-
'
|
|
54
|
-
'
|
|
52
|
+
'weth',
|
|
53
|
+
'wbtc',
|
|
54
|
+
'wusdc',
|
|
55
|
+
'wusdt',
|
|
55
56
|
'sui',
|
|
56
|
-
'
|
|
57
|
-
'
|
|
57
|
+
'wapt',
|
|
58
|
+
'wsol',
|
|
58
59
|
'cetus',
|
|
59
60
|
'afsui',
|
|
60
61
|
'hasui',
|
|
@@ -63,10 +64,10 @@ export const SUPPORT_COLLATERALS = [
|
|
|
63
64
|
] as const;
|
|
64
65
|
|
|
65
66
|
export const SUPPORT_SPOOLS = [
|
|
66
|
-
'
|
|
67
|
+
'sweth',
|
|
67
68
|
'ssui',
|
|
68
|
-
'
|
|
69
|
-
'
|
|
69
|
+
'swusdc',
|
|
70
|
+
'swusdt',
|
|
70
71
|
'scetus',
|
|
71
72
|
'safsui',
|
|
72
73
|
'shasui',
|
|
@@ -75,28 +76,28 @@ export const SUPPORT_SPOOLS = [
|
|
|
75
76
|
|
|
76
77
|
export const SUPPORT_SCOIN = [
|
|
77
78
|
'ssui',
|
|
78
|
-
'
|
|
79
|
-
'
|
|
79
|
+
'swusdc',
|
|
80
|
+
'swusdt',
|
|
80
81
|
'safsui',
|
|
81
82
|
'shasui',
|
|
82
83
|
'svsui',
|
|
83
|
-
'
|
|
84
|
+
'sweth',
|
|
84
85
|
'ssca',
|
|
85
86
|
'scetus',
|
|
86
|
-
'
|
|
87
|
-
'
|
|
87
|
+
'swsol',
|
|
88
|
+
'swbtc',
|
|
88
89
|
] as const;
|
|
89
90
|
|
|
90
91
|
export const SUPPORT_SPOOLS_REWARDS = ['sui'] as const;
|
|
91
92
|
|
|
92
93
|
export const SUPPORT_BORROW_INCENTIVE_POOLS = [
|
|
93
94
|
'sui',
|
|
94
|
-
'
|
|
95
|
-
'
|
|
95
|
+
'wusdc',
|
|
96
|
+
'wusdt',
|
|
96
97
|
'afsui',
|
|
97
98
|
'hasui',
|
|
98
99
|
'vsui',
|
|
99
|
-
'
|
|
100
|
+
'weth',
|
|
100
101
|
'sca',
|
|
101
102
|
] as const;
|
|
102
103
|
|