@bulletxyz/bullet-sdk 0.25.4-rc.1 → 0.25.4-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.
@@ -9573,10 +9573,12 @@ var Client = class _Client {
9573
9573
  return await this.submitTransaction({
9574
9574
  exchange: {
9575
9575
  init_asset_metadata: {
9576
- asset_id: asset,
9577
- asset_name: assetName,
9578
- token_id: tokenId,
9579
- decimals
9576
+ args: {
9577
+ asset_id: asset,
9578
+ asset_name: assetName,
9579
+ token_id: tokenId,
9580
+ decimals
9581
+ }
9580
9582
  }
9581
9583
  }
9582
9584
  });
@@ -9585,18 +9587,20 @@ var Client = class _Client {
9585
9587
  return await this.submitTransaction({
9586
9588
  exchange: {
9587
9589
  init_borrow_lend_market: {
9588
- asset_id: asset,
9589
- optimal_utilisation_rate: optimalUtilisationRate,
9590
- min_borrow_rate: minBorrowRate,
9591
- max_borrow_rate: maxBorrowRate,
9592
- optimal_borrow_rate: optimalBorrowRate,
9593
- asset_weight: assetWeight,
9594
- initial_liability_weight: initialLiabilityWeight,
9595
- maintenance_liability_weight: maintenanceLiabilityWeight,
9596
- deposit_limit: depositLimit,
9597
- borrow_limit: borrowLimit,
9598
- liquidation_reward_ratio: liquidationRewardRatio,
9599
- liability_liquidation_limit_ratio: liabilityLiquidationLimitRatio
9590
+ args: {
9591
+ asset_id: asset,
9592
+ optimal_utilisation_rate: optimalUtilisationRate,
9593
+ min_borrow_rate: minBorrowRate,
9594
+ max_borrow_rate: maxBorrowRate,
9595
+ optimal_borrow_rate: optimalBorrowRate,
9596
+ asset_weight: assetWeight,
9597
+ initial_liability_weight: initialLiabilityWeight,
9598
+ maintenance_liability_weight: maintenanceLiabilityWeight,
9599
+ deposit_limit: depositLimit,
9600
+ borrow_limit: borrowLimit,
9601
+ liquidation_reward_ratio: liquidationRewardRatio,
9602
+ liability_liquidation_limit_ratio: liabilityLiquidationLimitRatio
9603
+ }
9600
9604
  }
9601
9605
  }
9602
9606
  });