@scallop-io/sui-scallop-sdk 0.44.24 → 0.44.25
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 +9 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -1
- package/dist/index.mjs.map +1 -1
- package/dist/models/scallopQuery.d.ts +8 -0
- package/dist/queries/borrowIncentiveQuery.d.ts +8 -0
- package/package.json +1 -1
- package/src/constants/common.ts +4 -0
- package/src/constants/enum.ts +4 -0
|
@@ -290,9 +290,13 @@ export declare class ScallopQuery {
|
|
|
290
290
|
* @return Borrow incentive pools data.
|
|
291
291
|
*/
|
|
292
292
|
getBorrowIncentivePools(coinNames?: SupportBorrowIncentiveCoins[], indexer?: boolean): Promise<{
|
|
293
|
+
eth?: import("../types").BorrowIncentivePool | undefined;
|
|
293
294
|
usdc?: import("../types").BorrowIncentivePool | undefined;
|
|
294
295
|
usdt?: import("../types").BorrowIncentivePool | undefined;
|
|
295
296
|
sui?: import("../types").BorrowIncentivePool | undefined;
|
|
297
|
+
afsui?: import("../types").BorrowIncentivePool | undefined;
|
|
298
|
+
hasui?: import("../types").BorrowIncentivePool | undefined;
|
|
299
|
+
vsui?: import("../types").BorrowIncentivePool | undefined;
|
|
296
300
|
sca?: import("../types").BorrowIncentivePool | undefined;
|
|
297
301
|
}>;
|
|
298
302
|
/**
|
|
@@ -303,9 +307,13 @@ export declare class ScallopQuery {
|
|
|
303
307
|
* @return Borrow incentive accounts data.
|
|
304
308
|
*/
|
|
305
309
|
getBorrowIncentiveAccounts(obligationId: string, coinNames?: SupportBorrowIncentiveCoins[]): Promise<{
|
|
310
|
+
eth?: import("../types").ParsedBorrowIncentiveAccountData | undefined;
|
|
306
311
|
usdc?: import("../types").ParsedBorrowIncentiveAccountData | undefined;
|
|
307
312
|
usdt?: import("../types").ParsedBorrowIncentiveAccountData | undefined;
|
|
308
313
|
sui?: import("../types").ParsedBorrowIncentiveAccountData | undefined;
|
|
314
|
+
afsui?: import("../types").ParsedBorrowIncentiveAccountData | undefined;
|
|
315
|
+
hasui?: import("../types").ParsedBorrowIncentiveAccountData | undefined;
|
|
316
|
+
vsui?: import("../types").ParsedBorrowIncentiveAccountData | undefined;
|
|
309
317
|
sca?: import("../types").ParsedBorrowIncentiveAccountData | undefined;
|
|
310
318
|
}>;
|
|
311
319
|
/**
|
|
@@ -9,9 +9,13 @@ 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
|
+
eth?: import("../types").BorrowIncentivePool | undefined;
|
|
12
13
|
usdc?: import("../types").BorrowIncentivePool | undefined;
|
|
13
14
|
usdt?: import("../types").BorrowIncentivePool | undefined;
|
|
14
15
|
sui?: import("../types").BorrowIncentivePool | undefined;
|
|
16
|
+
afsui?: import("../types").BorrowIncentivePool | undefined;
|
|
17
|
+
hasui?: import("../types").BorrowIncentivePool | undefined;
|
|
18
|
+
vsui?: import("../types").BorrowIncentivePool | undefined;
|
|
15
19
|
sca?: import("../types").BorrowIncentivePool | undefined;
|
|
16
20
|
}>;
|
|
17
21
|
/**
|
|
@@ -22,8 +26,12 @@ export declare const queryBorrowIncentivePools: (query: ScallopQuery, borrowInce
|
|
|
22
26
|
* @return Borrow incentive accounts data.
|
|
23
27
|
*/
|
|
24
28
|
export declare const queryBorrowIncentiveAccounts: (query: ScallopQuery, obligationId: string, borrowIncentiveCoinNames?: SupportBorrowIncentiveCoins[]) => Promise<{
|
|
29
|
+
eth?: import("../types").ParsedBorrowIncentiveAccountData | undefined;
|
|
25
30
|
usdc?: import("../types").ParsedBorrowIncentiveAccountData | undefined;
|
|
26
31
|
usdt?: import("../types").ParsedBorrowIncentiveAccountData | undefined;
|
|
27
32
|
sui?: import("../types").ParsedBorrowIncentiveAccountData | undefined;
|
|
33
|
+
afsui?: import("../types").ParsedBorrowIncentiveAccountData | undefined;
|
|
34
|
+
hasui?: import("../types").ParsedBorrowIncentiveAccountData | undefined;
|
|
35
|
+
vsui?: import("../types").ParsedBorrowIncentiveAccountData | undefined;
|
|
28
36
|
sca?: import("../types").ParsedBorrowIncentiveAccountData | undefined;
|
|
29
37
|
}>;
|
package/package.json
CHANGED
package/src/constants/common.ts
CHANGED
package/src/constants/enum.ts
CHANGED
|
@@ -95,6 +95,10 @@ export const borrowIncentiveRewardCoins: BorrowIncentiveRewardCoins = {
|
|
|
95
95
|
usdc: ['sui', 'sca'],
|
|
96
96
|
usdt: ['sui', 'sca'],
|
|
97
97
|
sca: ['sui', 'sca'],
|
|
98
|
+
afsui: ['sui'],
|
|
99
|
+
hasui: ['sui'],
|
|
100
|
+
vsui: ['sui'],
|
|
101
|
+
eth: ['sui'],
|
|
98
102
|
};
|
|
99
103
|
|
|
100
104
|
export const coinIds: AssetCoinIds = {
|