zklighter-perps 1.0.248 → 1.0.250

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.
@@ -85,6 +85,12 @@ export interface AccountLimits {
85
85
  * @memberof AccountLimits
86
86
  */
87
87
  effective_lit_stakes: string;
88
+ /**
89
+ *
90
+ * @type {number}
91
+ * @memberof AccountLimits
92
+ */
93
+ user_tier_last_update: number;
88
94
  }
89
95
 
90
96
  /**
@@ -101,6 +107,7 @@ export function instanceOfAccountLimits(value: object): value is AccountLimits {
101
107
  if (!('current_taker_fee_tick' in value) || value['current_taker_fee_tick'] === undefined) return false;
102
108
  if (!('leased_lit' in value) || value['leased_lit'] === undefined) return false;
103
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;
104
111
  return true;
105
112
  }
106
113
 
@@ -125,6 +132,7 @@ export function AccountLimitsFromJSONTyped(json: any, ignoreDiscriminator: boole
125
132
  'current_taker_fee_tick': json['current_taker_fee_tick'],
126
133
  'leased_lit': json['leased_lit'],
127
134
  'effective_lit_stakes': json['effective_lit_stakes'],
135
+ 'user_tier_last_update': json['user_tier_last_update'],
128
136
  };
129
137
  }
130
138
 
@@ -145,6 +153,7 @@ export function AccountLimitsToJSON(value?: AccountLimits | null): any {
145
153
  'current_taker_fee_tick': value['current_taker_fee_tick'],
146
154
  'leased_lit': value['leased_lit'],
147
155
  'effective_lit_stakes': value['effective_lit_stakes'],
156
+ 'user_tier_last_update': value['user_tier_last_update'],
148
157
  };
149
158
  }
150
159
 
@@ -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
@@ -4898,6 +4898,10 @@
4898
4898
  },
4899
4899
  "effective_lit_stakes": {
4900
4900
  "type": "string"
4901
+ },
4902
+ "user_tier_last_update": {
4903
+ "type": "integer",
4904
+ "format": "int64"
4901
4905
  }
4902
4906
  },
4903
4907
  "title": "AccountLimits",
@@ -4911,7 +4915,8 @@
4911
4915
  "current_maker_fee_tick",
4912
4916
  "current_taker_fee_tick",
4913
4917
  "leased_lit",
4914
- "effective_lit_stakes"
4918
+ "effective_lit_stakes",
4919
+ "user_tier_last_update"
4915
4920
  ]
4916
4921
  },
4917
4922
  "AccountMarginStats": {
@@ -13061,6 +13066,11 @@
13061
13066
  "format": "int64",
13062
13067
  "example": "2"
13063
13068
  },
13069
+ "market_maker_incentive_account_index": {
13070
+ "type": "integer",
13071
+ "format": "int64",
13072
+ "example": "3"
13073
+ },
13064
13074
  "liquidity_pool_cooldown_period": {
13065
13075
  "type": "integer",
13066
13076
  "format": "int64",
@@ -13098,6 +13108,7 @@
13098
13108
  "liquidity_pool_index",
13099
13109
  "staking_pool_index",
13100
13110
  "funding_fee_rebate_account_index",
13111
+ "market_maker_incentive_account_index",
13101
13112
  "liquidity_pool_cooldown_period",
13102
13113
  "staking_pool_lockup_period",
13103
13114
  "max_integrator_spot_taker_fee",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zklighter-perps",
3
- "version": "1.0.248",
3
+ "version": "1.0.250",
4
4
  "description": "Lighter Perps SDK",
5
5
  "main": "index.ts",
6
6
  "directories": {