@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/browser/index.js
CHANGED
|
@@ -9559,10 +9559,12 @@ var Client = class _Client {
|
|
|
9559
9559
|
return await this.submitTransaction({
|
|
9560
9560
|
exchange: {
|
|
9561
9561
|
init_asset_metadata: {
|
|
9562
|
-
|
|
9563
|
-
|
|
9564
|
-
|
|
9565
|
-
|
|
9562
|
+
args: {
|
|
9563
|
+
asset_id: asset,
|
|
9564
|
+
asset_name: assetName,
|
|
9565
|
+
token_id: tokenId,
|
|
9566
|
+
decimals
|
|
9567
|
+
}
|
|
9566
9568
|
}
|
|
9567
9569
|
}
|
|
9568
9570
|
});
|
|
@@ -9571,18 +9573,20 @@ var Client = class _Client {
|
|
|
9571
9573
|
return await this.submitTransaction({
|
|
9572
9574
|
exchange: {
|
|
9573
9575
|
init_borrow_lend_market: {
|
|
9574
|
-
|
|
9575
|
-
|
|
9576
|
-
|
|
9577
|
-
|
|
9578
|
-
|
|
9579
|
-
|
|
9580
|
-
|
|
9581
|
-
|
|
9582
|
-
|
|
9583
|
-
|
|
9584
|
-
|
|
9585
|
-
|
|
9576
|
+
args: {
|
|
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
|
|
9589
|
+
}
|
|
9586
9590
|
}
|
|
9587
9591
|
}
|
|
9588
9592
|
});
|