@bulletxyz/bullet-sdk 0.16.0-rc.0 → 0.16.0-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.
- package/dist/browser/index.js +8 -5
- package/dist/browser/index.js.map +2 -2
- package/dist/node/index.js +8 -5
- package/dist/node/index.js.map +2 -2
- package/dist/types/client.d.ts +3 -3
- package/dist/types/zod-types/rest.d.ts +168 -116
- package/package.json +1 -1
package/dist/browser/index.js
CHANGED
|
@@ -4367,9 +4367,9 @@ var Position = z.object({
|
|
|
4367
4367
|
cost_of_trades: Decimal,
|
|
4368
4368
|
realized_pnl: Decimal,
|
|
4369
4369
|
cached_mark_price: Decimal,
|
|
4370
|
+
last_accum_funding_applied_per_lot: z.tuple([Decimal, z.number()]),
|
|
4370
4371
|
funding_payments_on_side: Decimal,
|
|
4371
|
-
funding_payments_on_position: Decimal
|
|
4372
|
-
last_accum_funding_applied_per_lot: z.tuple([Decimal, z.number()])
|
|
4372
|
+
funding_payments_on_position: Decimal
|
|
4373
4373
|
});
|
|
4374
4374
|
var BorrowLendRateParameters = z.object({
|
|
4375
4375
|
optimal_utilisation_rate: Decimal,
|
|
@@ -4377,10 +4377,13 @@ var BorrowLendRateParameters = z.object({
|
|
|
4377
4377
|
optimal_borrow_rate: Decimal,
|
|
4378
4378
|
max_borrow_rate: Decimal
|
|
4379
4379
|
});
|
|
4380
|
-
var
|
|
4381
|
-
|
|
4380
|
+
var BorrowLendRiskWeight = z.object({
|
|
4381
|
+
asset_weight: Decimal,
|
|
4382
4382
|
initial_liability_weight: Decimal,
|
|
4383
|
-
maintenance_liability_weight: Decimal
|
|
4383
|
+
maintenance_liability_weight: Decimal
|
|
4384
|
+
});
|
|
4385
|
+
var BorrowLendRiskParameters = z.object({
|
|
4386
|
+
weights: BorrowLendRiskWeight,
|
|
4384
4387
|
deposit_limit: Decimal,
|
|
4385
4388
|
borrow_limit: Decimal,
|
|
4386
4389
|
liquidation_reward_ratio: Decimal,
|