zklighter-perps 1.0.250 → 1.0.252
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.
|
@@ -115,6 +115,12 @@ with open(FILE, "r") as f:
|
|
|
115
115
|
if "bid_id_str" in required_fields:
|
|
116
116
|
required_fields.remove("bid_id_str")
|
|
117
117
|
|
|
118
|
+
if "market_maker_incentive_account_index" in required_fields:
|
|
119
|
+
required_fields.remove("market_maker_incentive_account_index")
|
|
120
|
+
|
|
121
|
+
if "user_tier_last_update" in required_fields:
|
|
122
|
+
required_fields.remove("user_tier_last_update")
|
|
123
|
+
|
|
118
124
|
if path == "Trade":
|
|
119
125
|
if "taker_fee" in required_fields:
|
|
120
126
|
required_fields.remove("taker_fee")
|
package/models/AccountLimits.ts
CHANGED
|
@@ -90,7 +90,7 @@ export interface AccountLimits {
|
|
|
90
90
|
* @type {number}
|
|
91
91
|
* @memberof AccountLimits
|
|
92
92
|
*/
|
|
93
|
-
user_tier_last_update
|
|
93
|
+
user_tier_last_update?: number;
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
/**
|
|
@@ -107,7 +107,6 @@ export function instanceOfAccountLimits(value: object): value is AccountLimits {
|
|
|
107
107
|
if (!('current_taker_fee_tick' in value) || value['current_taker_fee_tick'] === undefined) return false;
|
|
108
108
|
if (!('leased_lit' in value) || value['leased_lit'] === undefined) return false;
|
|
109
109
|
if (!('effective_lit_stakes' in value) || value['effective_lit_stakes'] === undefined) return false;
|
|
110
|
-
if (!('user_tier_last_update' in value) || value['user_tier_last_update'] === undefined) return false;
|
|
111
110
|
return true;
|
|
112
111
|
}
|
|
113
112
|
|
|
@@ -132,7 +131,7 @@ export function AccountLimitsFromJSONTyped(json: any, ignoreDiscriminator: boole
|
|
|
132
131
|
'current_taker_fee_tick': json['current_taker_fee_tick'],
|
|
133
132
|
'leased_lit': json['leased_lit'],
|
|
134
133
|
'effective_lit_stakes': json['effective_lit_stakes'],
|
|
135
|
-
'user_tier_last_update': json['user_tier_last_update'],
|
|
134
|
+
'user_tier_last_update': json['user_tier_last_update'] == null ? undefined : json['user_tier_last_update'],
|
|
136
135
|
};
|
|
137
136
|
}
|
|
138
137
|
|
package/models/SystemConfig.ts
CHANGED
|
@@ -54,7 +54,7 @@ export interface SystemConfig {
|
|
|
54
54
|
* @type {number}
|
|
55
55
|
* @memberof SystemConfig
|
|
56
56
|
*/
|
|
57
|
-
market_maker_incentive_account_index
|
|
57
|
+
market_maker_incentive_account_index?: number;
|
|
58
58
|
/**
|
|
59
59
|
*
|
|
60
60
|
* @type {number}
|
|
@@ -101,7 +101,6 @@ export function instanceOfSystemConfig(value: object): value is SystemConfig {
|
|
|
101
101
|
if (!('liquidity_pool_index' in value) || value['liquidity_pool_index'] === undefined) return false;
|
|
102
102
|
if (!('staking_pool_index' in value) || value['staking_pool_index'] === undefined) return false;
|
|
103
103
|
if (!('funding_fee_rebate_account_index' in value) || value['funding_fee_rebate_account_index'] === undefined) return false;
|
|
104
|
-
if (!('market_maker_incentive_account_index' in value) || value['market_maker_incentive_account_index'] === undefined) return false;
|
|
105
104
|
if (!('liquidity_pool_cooldown_period' in value) || value['liquidity_pool_cooldown_period'] === undefined) return false;
|
|
106
105
|
if (!('staking_pool_lockup_period' in value) || value['staking_pool_lockup_period'] === undefined) return false;
|
|
107
106
|
if (!('max_integrator_spot_taker_fee' in value) || value['max_integrator_spot_taker_fee'] === undefined) return false;
|
|
@@ -126,7 +125,7 @@ export function SystemConfigFromJSONTyped(json: any, ignoreDiscriminator: boolea
|
|
|
126
125
|
'liquidity_pool_index': json['liquidity_pool_index'],
|
|
127
126
|
'staking_pool_index': json['staking_pool_index'],
|
|
128
127
|
'funding_fee_rebate_account_index': json['funding_fee_rebate_account_index'],
|
|
129
|
-
'market_maker_incentive_account_index': json['market_maker_incentive_account_index'],
|
|
128
|
+
'market_maker_incentive_account_index': json['market_maker_incentive_account_index'] == null ? undefined : json['market_maker_incentive_account_index'],
|
|
130
129
|
'liquidity_pool_cooldown_period': json['liquidity_pool_cooldown_period'],
|
|
131
130
|
'staking_pool_lockup_period': json['staking_pool_lockup_period'],
|
|
132
131
|
'max_integrator_spot_taker_fee': json['max_integrator_spot_taker_fee'],
|
package/openapi.json
CHANGED
|
@@ -4915,8 +4915,7 @@
|
|
|
4915
4915
|
"current_maker_fee_tick",
|
|
4916
4916
|
"current_taker_fee_tick",
|
|
4917
4917
|
"leased_lit",
|
|
4918
|
-
"effective_lit_stakes"
|
|
4919
|
-
"user_tier_last_update"
|
|
4918
|
+
"effective_lit_stakes"
|
|
4920
4919
|
]
|
|
4921
4920
|
},
|
|
4922
4921
|
"AccountMarginStats": {
|
|
@@ -13108,7 +13107,6 @@
|
|
|
13108
13107
|
"liquidity_pool_index",
|
|
13109
13108
|
"staking_pool_index",
|
|
13110
13109
|
"funding_fee_rebate_account_index",
|
|
13111
|
-
"market_maker_incentive_account_index",
|
|
13112
13110
|
"liquidity_pool_cooldown_period",
|
|
13113
13111
|
"staking_pool_lockup_period",
|
|
13114
13112
|
"max_integrator_spot_taker_fee",
|