zklighter-perps 1.0.266 → 1.0.267
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/models/AccountAsset.ts +1 -1
- package/models/Asset.ts +1 -1
- package/models/OrderBook.ts +1 -1
- package/models/PerpsOrderBookDetail.ts +10 -1
- package/models/SpotOrderBookDetail.ts +1 -1
- package/openapi.json +6 -0
- package/package.json +1 -1
package/models/AccountAsset.ts
CHANGED
package/models/Asset.ts
CHANGED
package/models/OrderBook.ts
CHANGED
|
@@ -135,7 +135,7 @@ export interface PerpsOrderBookDetail {
|
|
|
135
135
|
*/
|
|
136
136
|
created_at: string;
|
|
137
137
|
/**
|
|
138
|
-
*
|
|
138
|
+
*
|
|
139
139
|
* @type {string}
|
|
140
140
|
* @memberof PerpsOrderBookDetail
|
|
141
141
|
*/
|
|
@@ -266,6 +266,12 @@ export interface PerpsOrderBookDetail {
|
|
|
266
266
|
* @memberof PerpsOrderBookDetail
|
|
267
267
|
*/
|
|
268
268
|
market_flags: number;
|
|
269
|
+
/**
|
|
270
|
+
*
|
|
271
|
+
* @type {number}
|
|
272
|
+
* @memberof PerpsOrderBookDetail
|
|
273
|
+
*/
|
|
274
|
+
funding_premium_multiplier: number;
|
|
269
275
|
/**
|
|
270
276
|
*
|
|
271
277
|
* @type {string}
|
|
@@ -350,6 +356,7 @@ export function instanceOfPerpsOrderBookDetail(value: object): value is PerpsOrd
|
|
|
350
356
|
if (!('market_config' in value) || value['market_config'] === undefined) return false;
|
|
351
357
|
if (!('strategy_index' in value) || value['strategy_index'] === undefined) return false;
|
|
352
358
|
if (!('market_flags' in value) || value['market_flags'] === undefined) return false;
|
|
359
|
+
if (!('funding_premium_multiplier' in value) || value['funding_premium_multiplier'] === undefined) return false;
|
|
353
360
|
if (!('funding_clamp_small' in value) || value['funding_clamp_small'] === undefined) return false;
|
|
354
361
|
if (!('funding_clamp_big' in value) || value['funding_clamp_big'] === undefined) return false;
|
|
355
362
|
if (!('base_interest_rate' in value) || value['base_interest_rate'] === undefined) return false;
|
|
@@ -406,6 +413,7 @@ export function PerpsOrderBookDetailFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
406
413
|
'market_config': MarketConfigFromJSON(json['market_config']),
|
|
407
414
|
'strategy_index': json['strategy_index'],
|
|
408
415
|
'market_flags': json['market_flags'],
|
|
416
|
+
'funding_premium_multiplier': json['funding_premium_multiplier'],
|
|
409
417
|
'funding_clamp_small': json['funding_clamp_small'],
|
|
410
418
|
'funding_clamp_big': json['funding_clamp_big'],
|
|
411
419
|
'base_interest_rate': json['base_interest_rate'],
|
|
@@ -458,6 +466,7 @@ export function PerpsOrderBookDetailToJSON(value?: PerpsOrderBookDetail | null):
|
|
|
458
466
|
'market_config': MarketConfigToJSON(value['market_config']),
|
|
459
467
|
'strategy_index': value['strategy_index'],
|
|
460
468
|
'market_flags': value['market_flags'],
|
|
469
|
+
'funding_premium_multiplier': value['funding_premium_multiplier'],
|
|
461
470
|
'funding_clamp_small': value['funding_clamp_small'],
|
|
462
471
|
'funding_clamp_big': value['funding_clamp_big'],
|
|
463
472
|
'base_interest_rate': value['base_interest_rate'],
|
package/openapi.json
CHANGED
|
@@ -9435,6 +9435,11 @@
|
|
|
9435
9435
|
"type": "integer",
|
|
9436
9436
|
"format": "int64"
|
|
9437
9437
|
},
|
|
9438
|
+
"funding_premium_multiplier": {
|
|
9439
|
+
"type": "integer",
|
|
9440
|
+
"format": "uin16",
|
|
9441
|
+
"example": "100"
|
|
9442
|
+
},
|
|
9438
9443
|
"funding_clamp_small": {
|
|
9439
9444
|
"type": "string",
|
|
9440
9445
|
"example": "0.005"
|
|
@@ -9490,6 +9495,7 @@
|
|
|
9490
9495
|
"market_config",
|
|
9491
9496
|
"strategy_index",
|
|
9492
9497
|
"market_flags",
|
|
9498
|
+
"funding_premium_multiplier",
|
|
9493
9499
|
"funding_clamp_small",
|
|
9494
9500
|
"funding_clamp_big",
|
|
9495
9501
|
"base_interest_rate"
|