zklighter-perps 1.0.249 → 1.0.251
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/SystemConfig.ts
CHANGED
|
@@ -49,6 +49,12 @@ export interface SystemConfig {
|
|
|
49
49
|
* @memberof SystemConfig
|
|
50
50
|
*/
|
|
51
51
|
funding_fee_rebate_account_index: number;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {number}
|
|
55
|
+
* @memberof SystemConfig
|
|
56
|
+
*/
|
|
57
|
+
market_maker_incentive_account_index: number;
|
|
52
58
|
/**
|
|
53
59
|
*
|
|
54
60
|
* @type {number}
|
|
@@ -95,6 +101,7 @@ export function instanceOfSystemConfig(value: object): value is SystemConfig {
|
|
|
95
101
|
if (!('liquidity_pool_index' in value) || value['liquidity_pool_index'] === undefined) return false;
|
|
96
102
|
if (!('staking_pool_index' in value) || value['staking_pool_index'] === undefined) return false;
|
|
97
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;
|
|
98
105
|
if (!('liquidity_pool_cooldown_period' in value) || value['liquidity_pool_cooldown_period'] === undefined) return false;
|
|
99
106
|
if (!('staking_pool_lockup_period' in value) || value['staking_pool_lockup_period'] === undefined) return false;
|
|
100
107
|
if (!('max_integrator_spot_taker_fee' in value) || value['max_integrator_spot_taker_fee'] === undefined) return false;
|
|
@@ -119,6 +126,7 @@ export function SystemConfigFromJSONTyped(json: any, ignoreDiscriminator: boolea
|
|
|
119
126
|
'liquidity_pool_index': json['liquidity_pool_index'],
|
|
120
127
|
'staking_pool_index': json['staking_pool_index'],
|
|
121
128
|
'funding_fee_rebate_account_index': json['funding_fee_rebate_account_index'],
|
|
129
|
+
'market_maker_incentive_account_index': json['market_maker_incentive_account_index'],
|
|
122
130
|
'liquidity_pool_cooldown_period': json['liquidity_pool_cooldown_period'],
|
|
123
131
|
'staking_pool_lockup_period': json['staking_pool_lockup_period'],
|
|
124
132
|
'max_integrator_spot_taker_fee': json['max_integrator_spot_taker_fee'],
|
|
@@ -139,6 +147,7 @@ export function SystemConfigToJSON(value?: SystemConfig | null): any {
|
|
|
139
147
|
'liquidity_pool_index': value['liquidity_pool_index'],
|
|
140
148
|
'staking_pool_index': value['staking_pool_index'],
|
|
141
149
|
'funding_fee_rebate_account_index': value['funding_fee_rebate_account_index'],
|
|
150
|
+
'market_maker_incentive_account_index': value['market_maker_incentive_account_index'],
|
|
142
151
|
'liquidity_pool_cooldown_period': value['liquidity_pool_cooldown_period'],
|
|
143
152
|
'staking_pool_lockup_period': value['staking_pool_lockup_period'],
|
|
144
153
|
'max_integrator_spot_taker_fee': value['max_integrator_spot_taker_fee'],
|
package/openapi.json
CHANGED
|
@@ -13066,6 +13066,11 @@
|
|
|
13066
13066
|
"format": "int64",
|
|
13067
13067
|
"example": "2"
|
|
13068
13068
|
},
|
|
13069
|
+
"market_maker_incentive_account_index": {
|
|
13070
|
+
"type": "integer",
|
|
13071
|
+
"format": "int64",
|
|
13072
|
+
"example": "3"
|
|
13073
|
+
},
|
|
13069
13074
|
"liquidity_pool_cooldown_period": {
|
|
13070
13075
|
"type": "integer",
|
|
13071
13076
|
"format": "int64",
|
|
@@ -13103,6 +13108,7 @@
|
|
|
13103
13108
|
"liquidity_pool_index",
|
|
13104
13109
|
"staking_pool_index",
|
|
13105
13110
|
"funding_fee_rebate_account_index",
|
|
13111
|
+
"market_maker_incentive_account_index",
|
|
13106
13112
|
"liquidity_pool_cooldown_period",
|
|
13107
13113
|
"staking_pool_lockup_period",
|
|
13108
13114
|
"max_integrator_spot_taker_fee",
|