@scallop-io/sui-scallop-sdk 1.4.12 → 1.4.13
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 +1 -1
- package/dist/index.js +1 -12
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -12
- package/dist/index.mjs.map +1 -1
- package/dist/models/scallopQuery.d.ts +12 -0
- package/dist/queries/borrowIncentiveQuery.d.ts +12 -0
- package/package.json +1 -1
- package/src/constants/common.ts +1 -12
|
@@ -313,13 +313,19 @@ export declare class ScallopQuery {
|
|
|
313
313
|
usdc?: import("../types").BorrowIncentivePool | undefined;
|
|
314
314
|
sbeth?: import("../types").BorrowIncentivePool | undefined;
|
|
315
315
|
weth?: import("../types").BorrowIncentivePool | undefined;
|
|
316
|
+
wbtc?: import("../types").BorrowIncentivePool | undefined;
|
|
316
317
|
wusdc?: import("../types").BorrowIncentivePool | undefined;
|
|
317
318
|
wusdt?: import("../types").BorrowIncentivePool | undefined;
|
|
318
319
|
sui?: import("../types").BorrowIncentivePool | undefined;
|
|
320
|
+
wapt?: import("../types").BorrowIncentivePool | undefined;
|
|
321
|
+
wsol?: import("../types").BorrowIncentivePool | undefined;
|
|
322
|
+
cetus?: import("../types").BorrowIncentivePool | undefined;
|
|
319
323
|
afsui?: import("../types").BorrowIncentivePool | undefined;
|
|
320
324
|
hasui?: import("../types").BorrowIncentivePool | undefined;
|
|
321
325
|
vsui?: import("../types").BorrowIncentivePool | undefined;
|
|
322
326
|
sca?: import("../types").BorrowIncentivePool | undefined;
|
|
327
|
+
fud?: import("../types").BorrowIncentivePool | undefined;
|
|
328
|
+
deep?: import("../types").BorrowIncentivePool | undefined;
|
|
323
329
|
}>;
|
|
324
330
|
/**
|
|
325
331
|
* Get borrow incentive accounts data.
|
|
@@ -332,13 +338,19 @@ export declare class ScallopQuery {
|
|
|
332
338
|
usdc?: import("../types").ParsedBorrowIncentiveAccountData | undefined;
|
|
333
339
|
sbeth?: import("../types").ParsedBorrowIncentiveAccountData | undefined;
|
|
334
340
|
weth?: import("../types").ParsedBorrowIncentiveAccountData | undefined;
|
|
341
|
+
wbtc?: import("../types").ParsedBorrowIncentiveAccountData | undefined;
|
|
335
342
|
wusdc?: import("../types").ParsedBorrowIncentiveAccountData | undefined;
|
|
336
343
|
wusdt?: import("../types").ParsedBorrowIncentiveAccountData | undefined;
|
|
337
344
|
sui?: import("../types").ParsedBorrowIncentiveAccountData | undefined;
|
|
345
|
+
wapt?: import("../types").ParsedBorrowIncentiveAccountData | undefined;
|
|
346
|
+
wsol?: import("../types").ParsedBorrowIncentiveAccountData | undefined;
|
|
347
|
+
cetus?: import("../types").ParsedBorrowIncentiveAccountData | undefined;
|
|
338
348
|
afsui?: import("../types").ParsedBorrowIncentiveAccountData | undefined;
|
|
339
349
|
hasui?: import("../types").ParsedBorrowIncentiveAccountData | undefined;
|
|
340
350
|
vsui?: import("../types").ParsedBorrowIncentiveAccountData | undefined;
|
|
341
351
|
sca?: import("../types").ParsedBorrowIncentiveAccountData | undefined;
|
|
352
|
+
fud?: import("../types").ParsedBorrowIncentiveAccountData | undefined;
|
|
353
|
+
deep?: import("../types").ParsedBorrowIncentiveAccountData | undefined;
|
|
342
354
|
}>;
|
|
343
355
|
/**
|
|
344
356
|
* Get user lending and spool infomation for specific pools.
|
|
@@ -18,13 +18,19 @@ export declare const getBorrowIncentivePools: (query: ScallopQuery, borrowIncent
|
|
|
18
18
|
usdc?: BorrowIncentivePool | undefined;
|
|
19
19
|
sbeth?: BorrowIncentivePool | undefined;
|
|
20
20
|
weth?: BorrowIncentivePool | undefined;
|
|
21
|
+
wbtc?: BorrowIncentivePool | undefined;
|
|
21
22
|
wusdc?: BorrowIncentivePool | undefined;
|
|
22
23
|
wusdt?: BorrowIncentivePool | undefined;
|
|
23
24
|
sui?: BorrowIncentivePool | undefined;
|
|
25
|
+
wapt?: BorrowIncentivePool | undefined;
|
|
26
|
+
wsol?: BorrowIncentivePool | undefined;
|
|
27
|
+
cetus?: BorrowIncentivePool | undefined;
|
|
24
28
|
afsui?: BorrowIncentivePool | undefined;
|
|
25
29
|
hasui?: BorrowIncentivePool | undefined;
|
|
26
30
|
vsui?: BorrowIncentivePool | undefined;
|
|
27
31
|
sca?: BorrowIncentivePool | undefined;
|
|
32
|
+
fud?: BorrowIncentivePool | undefined;
|
|
33
|
+
deep?: BorrowIncentivePool | undefined;
|
|
28
34
|
}>;
|
|
29
35
|
/**
|
|
30
36
|
* Query borrow incentive accounts data.
|
|
@@ -39,13 +45,19 @@ export declare const queryBorrowIncentiveAccounts: ({ utils, }: {
|
|
|
39
45
|
usdc?: import("../types").ParsedBorrowIncentiveAccountData | undefined;
|
|
40
46
|
sbeth?: import("../types").ParsedBorrowIncentiveAccountData | undefined;
|
|
41
47
|
weth?: import("../types").ParsedBorrowIncentiveAccountData | undefined;
|
|
48
|
+
wbtc?: import("../types").ParsedBorrowIncentiveAccountData | undefined;
|
|
42
49
|
wusdc?: import("../types").ParsedBorrowIncentiveAccountData | undefined;
|
|
43
50
|
wusdt?: import("../types").ParsedBorrowIncentiveAccountData | undefined;
|
|
44
51
|
sui?: import("../types").ParsedBorrowIncentiveAccountData | undefined;
|
|
52
|
+
wapt?: import("../types").ParsedBorrowIncentiveAccountData | undefined;
|
|
53
|
+
wsol?: import("../types").ParsedBorrowIncentiveAccountData | undefined;
|
|
54
|
+
cetus?: import("../types").ParsedBorrowIncentiveAccountData | undefined;
|
|
45
55
|
afsui?: import("../types").ParsedBorrowIncentiveAccountData | undefined;
|
|
46
56
|
hasui?: import("../types").ParsedBorrowIncentiveAccountData | undefined;
|
|
47
57
|
vsui?: import("../types").ParsedBorrowIncentiveAccountData | undefined;
|
|
48
58
|
sca?: import("../types").ParsedBorrowIncentiveAccountData | undefined;
|
|
59
|
+
fud?: import("../types").ParsedBorrowIncentiveAccountData | undefined;
|
|
60
|
+
deep?: import("../types").ParsedBorrowIncentiveAccountData | undefined;
|
|
49
61
|
}>;
|
|
50
62
|
/**
|
|
51
63
|
* Check veSca bind status
|
package/package.json
CHANGED
package/src/constants/common.ts
CHANGED
|
@@ -107,18 +107,7 @@ export const SUPPORT_WORMHOLE = [
|
|
|
107
107
|
|
|
108
108
|
export const SUPPORT_SPOOLS_REWARDS = ['sui'] as const;
|
|
109
109
|
|
|
110
|
-
export const SUPPORT_BORROW_INCENTIVE_POOLS = [
|
|
111
|
-
'sui',
|
|
112
|
-
'wusdc',
|
|
113
|
-
'wusdt',
|
|
114
|
-
'afsui',
|
|
115
|
-
'hasui',
|
|
116
|
-
'vsui',
|
|
117
|
-
'weth',
|
|
118
|
-
'sbeth',
|
|
119
|
-
'sca',
|
|
120
|
-
'usdc',
|
|
121
|
-
] as const;
|
|
110
|
+
export const SUPPORT_BORROW_INCENTIVE_POOLS = [...SUPPORT_POOLS] as const;
|
|
122
111
|
|
|
123
112
|
export const SUPPORT_BORROW_INCENTIVE_REWARDS = [
|
|
124
113
|
...SUPPORT_POOLS,
|