lll-sdk 0.0.0-experimental-20251011181633 → 0.0.0-experimental-20251014152233

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/index.d.mts CHANGED
@@ -366,7 +366,7 @@ declare class SuiLendModule {
366
366
  getLatestPriceFeeds: (reserves: Reserve<string>[], forceRefresh?: boolean) => Promise<Record<string, Price>>;
367
367
  getLatestPriceFeedsByCoinTypes: (coinTypes: string[], forceRefresh?: boolean) => Promise<Record<string, Price>>;
368
368
  priceCheck(price: Price, age?: number): Price | undefined;
369
- getSuiLendReserveInfo: (baseToken: string, quoteToken: string) => Promise<{
369
+ getSuiLendReserveInfo: (baseToken: string, quoteToken: string, allLendingMarketData?: AllAppData["allLendingMarketData"]) => Promise<{
370
370
  baseReserveArrayIndex: string;
371
371
  quoteReserveArrayIndex: string;
372
372
  reserve: Reserve<string>[];
@@ -609,8 +609,8 @@ declare class LeverageModules {
609
609
  getLeverageMarketsList: (force_refresh?: boolean) => Promise<any[] | undefined>;
610
610
  /** 获取杠杆市场suilend信息 */
611
611
  getLeverageMarketSuilendInfo: (marketId: string) => Promise<{
612
- longLiquidity: Decimal;
613
- shortLiquidity: Decimal;
612
+ longLiquidity: string;
613
+ shortLiquidity: string;
614
614
  baseTotalDepositAprPercent: string;
615
615
  baseTotalBorrowAprPercent: string;
616
616
  quoteTotalDepositAprPercent: string;
package/dist/index.d.ts CHANGED
@@ -366,7 +366,7 @@ declare class SuiLendModule {
366
366
  getLatestPriceFeeds: (reserves: Reserve<string>[], forceRefresh?: boolean) => Promise<Record<string, Price>>;
367
367
  getLatestPriceFeedsByCoinTypes: (coinTypes: string[], forceRefresh?: boolean) => Promise<Record<string, Price>>;
368
368
  priceCheck(price: Price, age?: number): Price | undefined;
369
- getSuiLendReserveInfo: (baseToken: string, quoteToken: string) => Promise<{
369
+ getSuiLendReserveInfo: (baseToken: string, quoteToken: string, allLendingMarketData?: AllAppData["allLendingMarketData"]) => Promise<{
370
370
  baseReserveArrayIndex: string;
371
371
  quoteReserveArrayIndex: string;
372
372
  reserve: Reserve<string>[];
@@ -609,8 +609,8 @@ declare class LeverageModules {
609
609
  getLeverageMarketsList: (force_refresh?: boolean) => Promise<any[] | undefined>;
610
610
  /** 获取杠杆市场suilend信息 */
611
611
  getLeverageMarketSuilendInfo: (marketId: string) => Promise<{
612
- longLiquidity: Decimal;
613
- shortLiquidity: Decimal;
612
+ longLiquidity: string;
613
+ shortLiquidity: string;
614
614
  baseTotalDepositAprPercent: string;
615
615
  baseTotalBorrowAprPercent: string;
616
616
  quoteTotalDepositAprPercent: string;