@bulletxyz/bullet-sdk 0.25.4-rc.2 → 0.25.4-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.
@@ -9575,17 +9575,39 @@ var Client = class _Client {
9575
9575
  init_borrow_lend_market: {
9576
9576
  args: {
9577
9577
  asset_id: asset,
9578
- optimal_utilisation_rate: optimalUtilisationRate,
9579
- min_borrow_rate: minBorrowRate,
9580
- max_borrow_rate: maxBorrowRate,
9581
- optimal_borrow_rate: optimalBorrowRate,
9582
- asset_weight: assetWeight,
9583
- initial_liability_weight: initialLiabilityWeight,
9584
- maintenance_liability_weight: maintenanceLiabilityWeight,
9585
- deposit_limit: depositLimit,
9586
- borrow_limit: borrowLimit,
9587
- liquidation_reward_ratio: liquidationRewardRatio,
9588
- liability_liquidation_limit_ratio: liabilityLiquidationLimitRatio
9578
+ optimal_utilisation_rate: BulletWasm.convert_rust_decimal_to_json(
9579
+ optimalUtilisationRate.toFixed()
9580
+ ),
9581
+ min_borrow_rate: BulletWasm.convert_rust_decimal_to_json(
9582
+ minBorrowRate.toFixed()
9583
+ ),
9584
+ max_borrow_rate: BulletWasm.convert_rust_decimal_to_json(
9585
+ maxBorrowRate.toFixed()
9586
+ ),
9587
+ optimal_borrow_rate: BulletWasm.convert_rust_decimal_to_json(
9588
+ optimalBorrowRate.toFixed()
9589
+ ),
9590
+ asset_weight: BulletWasm.convert_rust_decimal_to_json(
9591
+ assetWeight.toFixed()
9592
+ ),
9593
+ initial_liability_weight: BulletWasm.convert_rust_decimal_to_json(
9594
+ initialLiabilityWeight.toFixed()
9595
+ ),
9596
+ maintenance_liability_weight: BulletWasm.convert_rust_decimal_to_json(
9597
+ maintenanceLiabilityWeight.toFixed()
9598
+ ),
9599
+ deposit_limit: BulletWasm.convert_rust_decimal_to_json(
9600
+ depositLimit.toFixed()
9601
+ ),
9602
+ borrow_limit: BulletWasm.convert_rust_decimal_to_json(
9603
+ borrowLimit.toFixed()
9604
+ ),
9605
+ liquidation_reward_ratio: BulletWasm.convert_rust_decimal_to_json(
9606
+ liquidationRewardRatio.toFixed()
9607
+ ),
9608
+ liability_liquidation_limit_ratio: BulletWasm.convert_rust_decimal_to_json(
9609
+ liabilityLiquidationLimitRatio.toFixed()
9610
+ )
9589
9611
  }
9590
9612
  }
9591
9613
  }