@scallop-io/sui-scallop-sdk 2.3.13 → 2.3.14-rc.2

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
@@ -1242,8 +1242,9 @@ declare class ScallopUtils implements ScallopUtilsInterface {
1242
1242
  get suiKit(): _scallop_io_sui_kit.SuiKit;
1243
1243
  get queryClient(): _tanstack_query_core.QueryClient;
1244
1244
  get address(): ScallopConstants;
1245
- isSuiBridgeAsset(coinName: any): boolean;
1246
- isWormholeAsset(coinName: any): boolean;
1245
+ isSuiBridgeAsset(coinName: string): boolean;
1246
+ isWormholeAsset(coinName: string): boolean;
1247
+ isLayerZeroAsset(coinName: string): boolean;
1247
1248
  isMarketCoin(coinName: string): boolean;
1248
1249
  init({ force }?: {
1249
1250
  force?: boolean;
@@ -1586,7 +1587,8 @@ declare class ScallopClient implements ScallopClientInterface {
1586
1587
  * @param isSponsoredTx - Whether the transaction is sponsored.
1587
1588
  * @return Transaction block response or transaction block.
1588
1589
  */
1589
- withdrawCollateral<S extends boolean>(collateralCoinName: string, amount: number, sign: S | undefined, obligationId: string, obligationKey: string, walletAddress?: string, isSponsoredTx?: boolean): Promise<ScallopClientFnReturnType<S>>;
1590
+ withdrawCollateral(collateralCoinName: string, amount: number): Promise<SuiTransactionBlockResponse>;
1591
+ withdrawCollateral<S extends boolean>(collateralCoinName: string, amount: number, sign?: S, obligationId?: string, obligationKey?: string, walletAddress?: string, isSponsoredTx?: boolean): Promise<ScallopClientFnReturnType<S>>;
1590
1592
  /**
1591
1593
  * Deposit asset into the specific pool.
1592
1594
  *
@@ -2150,6 +2152,7 @@ type Whitelist = {
2150
2152
  scoin: Set<string>;
2151
2153
  suiBridge: Set<string>;
2152
2154
  wormhole: Set<string>;
2155
+ layerZero: Set<string>;
2153
2156
  oracles: Set<string>;
2154
2157
  borrowIncentiveRewards: Set<string>;
2155
2158
  rewardsAsPoint: Set<string>;
package/dist/index.d.ts CHANGED
@@ -1242,8 +1242,9 @@ declare class ScallopUtils implements ScallopUtilsInterface {
1242
1242
  get suiKit(): _scallop_io_sui_kit.SuiKit;
1243
1243
  get queryClient(): _tanstack_query_core.QueryClient;
1244
1244
  get address(): ScallopConstants;
1245
- isSuiBridgeAsset(coinName: any): boolean;
1246
- isWormholeAsset(coinName: any): boolean;
1245
+ isSuiBridgeAsset(coinName: string): boolean;
1246
+ isWormholeAsset(coinName: string): boolean;
1247
+ isLayerZeroAsset(coinName: string): boolean;
1247
1248
  isMarketCoin(coinName: string): boolean;
1248
1249
  init({ force }?: {
1249
1250
  force?: boolean;
@@ -1586,7 +1587,8 @@ declare class ScallopClient implements ScallopClientInterface {
1586
1587
  * @param isSponsoredTx - Whether the transaction is sponsored.
1587
1588
  * @return Transaction block response or transaction block.
1588
1589
  */
1589
- withdrawCollateral<S extends boolean>(collateralCoinName: string, amount: number, sign: S | undefined, obligationId: string, obligationKey: string, walletAddress?: string, isSponsoredTx?: boolean): Promise<ScallopClientFnReturnType<S>>;
1590
+ withdrawCollateral(collateralCoinName: string, amount: number): Promise<SuiTransactionBlockResponse>;
1591
+ withdrawCollateral<S extends boolean>(collateralCoinName: string, amount: number, sign?: S, obligationId?: string, obligationKey?: string, walletAddress?: string, isSponsoredTx?: boolean): Promise<ScallopClientFnReturnType<S>>;
1590
1592
  /**
1591
1593
  * Deposit asset into the specific pool.
1592
1594
  *
@@ -2150,6 +2152,7 @@ type Whitelist = {
2150
2152
  scoin: Set<string>;
2151
2153
  suiBridge: Set<string>;
2152
2154
  wormhole: Set<string>;
2155
+ layerZero: Set<string>;
2153
2156
  oracles: Set<string>;
2154
2157
  borrowIncentiveRewards: Set<string>;
2155
2158
  rewardsAsPoint: Set<string>;