@scallop-io/sui-scallop-sdk 1.4.15-rc.1 → 1.4.15-rc.3
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/poolAddress.d.ts +2 -0
- package/dist/constants/tokenBucket.d.ts +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +327 -194
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +325 -194
- package/dist/index.mjs.map +1 -1
- package/dist/models/scallopQuery.d.ts +5 -2
- package/dist/queries/poolAddressesQuery.d.ts +3 -0
- package/dist/queries/spoolQuery.d.ts +6 -2
- package/dist/test.d.ts +1 -0
- package/dist/types/builder/core.d.ts +3 -3
- package/dist/types/query/spool.d.ts +20 -0
- package/dist/utils/index.d.ts +1 -0
- package/package.json +1 -1
- package/src/builders/coreBuilder.ts +1 -1
- package/src/constants/poolAddress.ts +136 -71
- package/src/constants/tokenBucket.ts +1 -1
- package/src/index.ts +1 -0
- package/src/models/scallopCache.ts +50 -2
- package/src/models/scallopClient.ts +1 -0
- package/src/models/scallopQuery.ts +12 -16
- package/src/queries/coreQuery.ts +30 -10
- package/src/queries/poolAddressesQuery.ts +14 -2
- package/src/queries/portfolioQuery.ts +1 -1
- package/src/queries/spoolQuery.ts +186 -121
- package/src/test.ts +17 -0
- package/src/types/builder/core.ts +3 -2
- package/src/types/query/spool.ts +21 -0
- package/src/utils/core.ts +11 -4
- package/src/utils/index.ts +1 -0
|
@@ -5,6 +5,7 @@ export declare const POOL_ADDRESSES: OptionalKeys<Record<SupportPoolCoins, {
|
|
|
5
5
|
collateralPoolAddress?: string;
|
|
6
6
|
spool?: string;
|
|
7
7
|
spoolReward?: string;
|
|
8
|
+
sCoinTreasury?: string;
|
|
8
9
|
borrowDynamic?: string;
|
|
9
10
|
interestModel?: string;
|
|
10
11
|
riskModel?: string;
|
|
@@ -12,4 +13,5 @@ export declare const POOL_ADDRESSES: OptionalKeys<Record<SupportPoolCoins, {
|
|
|
12
13
|
supplyLimitKey?: string;
|
|
13
14
|
borrowLimitKey?: string;
|
|
14
15
|
isolatedAssetKey?: string;
|
|
16
|
+
coinDecimalId?: string;
|
|
15
17
|
}>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const DEFAULT_TOKENS_PER_INTERVAL =
|
|
1
|
+
export declare const DEFAULT_TOKENS_PER_INTERVAL = 10;
|
|
2
2
|
export declare const DEFAULT_INTERVAL_IN_MS = 250;
|
package/dist/index.d.ts
CHANGED