@scallop-io/sui-scallop-sdk 1.4.17 → 1.4.19

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.
@@ -579,12 +579,16 @@ export declare class ScallopQuery {
579
579
  * @returns
580
580
  */
581
581
  getPoolAddresses(): Promise<import("../types").OptionalKeys<Record<"usdc" | "sbeth" | "sbusdt" | "weth" | "wbtc" | "wusdc" | "wusdt" | "sui" | "wapt" | "wsol" | "cetus" | "afsui" | "hasui" | "vsui" | "sca" | "fud" | "deep" | "fdusd", {
582
+ coinName: string;
583
+ symbol: string;
582
584
  lendingPoolAddress?: string;
583
585
  collateralPoolAddress?: string;
584
586
  borrowDynamic?: string;
585
587
  spoolReward?: string;
586
588
  spool?: string;
587
589
  sCoinType?: string;
590
+ sCoinName?: string;
591
+ sCoinSymbol?: string;
588
592
  sCoinTreasury?: string;
589
593
  interestModel?: string;
590
594
  riskModel?: string;
@@ -595,6 +599,9 @@ export declare class ScallopQuery {
595
599
  coinMetadataId?: string;
596
600
  borrowIncentivePoolId?: string;
597
601
  coinType?: string;
602
+ sCoinMetadataId?: string;
603
+ spoolName?: string;
604
+ decimals: number;
598
605
  }>>>;
599
606
  /**
600
607
  * Get user portfolio
@@ -1,12 +1,16 @@
1
1
  import { ScallopQuery } from 'src/models';
2
2
  import { OptionalKeys } from 'src/types';
3
3
  export declare const getAllAddresses: (query: ScallopQuery) => Promise<OptionalKeys<Record<"usdc" | "sbeth" | "sbusdt" | "weth" | "wbtc" | "wusdc" | "wusdt" | "sui" | "wapt" | "wsol" | "cetus" | "afsui" | "hasui" | "vsui" | "sca" | "fud" | "deep" | "fdusd", {
4
+ coinName: string;
5
+ symbol: string;
4
6
  lendingPoolAddress?: string;
5
7
  collateralPoolAddress?: string;
6
8
  borrowDynamic?: string;
7
9
  spoolReward?: string;
8
10
  spool?: string;
9
11
  sCoinType?: string;
12
+ sCoinName?: string;
13
+ sCoinSymbol?: string;
10
14
  sCoinTreasury?: string;
11
15
  interestModel?: string;
12
16
  riskModel?: string;
@@ -17,4 +21,7 @@ export declare const getAllAddresses: (query: ScallopQuery) => Promise<OptionalK
17
21
  coinMetadataId?: string;
18
22
  borrowIncentivePoolId?: string;
19
23
  coinType?: string;
24
+ sCoinMetadataId?: string;
25
+ spoolName?: string;
26
+ decimals: number;
20
27
  }>>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scallop-io/sui-scallop-sdk",
3
- "version": "1.4.17",
3
+ "version": "1.4.19",
4
4
  "description": "Typescript sdk for interacting with Scallop contract on SUI",
5
5
  "keywords": [
6
6
  "sui",