@bulletxyz/bullet-sdk 0.25.4-rc.0 → 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.
- package/dist/browser/index.js +20 -16
- package/dist/browser/index.js.map +2 -2
- package/dist/node/index.js +20 -16
- package/dist/node/index.js.map +2 -2
- package/dist/types/rollupTypes.d.ts +20 -16
- package/package.json +1 -1
package/dist/node/index.js
CHANGED
|
@@ -9573,10 +9573,12 @@ var Client = class _Client {
|
|
|
9573
9573
|
return await this.submitTransaction({
|
|
9574
9574
|
exchange: {
|
|
9575
9575
|
init_asset_metadata: {
|
|
9576
|
-
|
|
9577
|
-
|
|
9578
|
-
|
|
9579
|
-
|
|
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
|
-
|
|
9589
|
-
|
|
9590
|
-
|
|
9591
|
-
|
|
9592
|
-
|
|
9593
|
-
|
|
9594
|
-
|
|
9595
|
-
|
|
9596
|
-
|
|
9597
|
-
|
|
9598
|
-
|
|
9599
|
-
|
|
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
|
});
|