zklighter-perps 1.0.291 → 1.0.292

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.
@@ -55,6 +55,12 @@ export interface SystemConfig {
55
55
  * @memberof SystemConfig
56
56
  */
57
57
  market_maker_incentive_account_index?: number;
58
+ /**
59
+ *
60
+ * @type {number}
61
+ * @memberof SystemConfig
62
+ */
63
+ fee_collector_account_index: number;
58
64
  /**
59
65
  *
60
66
  * @type {number}
@@ -101,6 +107,7 @@ export function instanceOfSystemConfig(value: object): value is SystemConfig {
101
107
  if (!('liquidity_pool_index' in value) || value['liquidity_pool_index'] === undefined) return false;
102
108
  if (!('staking_pool_index' in value) || value['staking_pool_index'] === undefined) return false;
103
109
  if (!('funding_fee_rebate_account_index' in value) || value['funding_fee_rebate_account_index'] === undefined) return false;
110
+ if (!('fee_collector_account_index' in value) || value['fee_collector_account_index'] === undefined) return false;
104
111
  if (!('liquidity_pool_cooldown_period' in value) || value['liquidity_pool_cooldown_period'] === undefined) return false;
105
112
  if (!('staking_pool_lockup_period' in value) || value['staking_pool_lockup_period'] === undefined) return false;
106
113
  if (!('max_integrator_spot_taker_fee' in value) || value['max_integrator_spot_taker_fee'] === undefined) return false;
@@ -126,6 +133,7 @@ export function SystemConfigFromJSONTyped(json: any, ignoreDiscriminator: boolea
126
133
  'staking_pool_index': json['staking_pool_index'],
127
134
  'funding_fee_rebate_account_index': json['funding_fee_rebate_account_index'],
128
135
  'market_maker_incentive_account_index': json['market_maker_incentive_account_index'] == null ? undefined : json['market_maker_incentive_account_index'],
136
+ 'fee_collector_account_index': json['fee_collector_account_index'],
129
137
  'liquidity_pool_cooldown_period': json['liquidity_pool_cooldown_period'],
130
138
  'staking_pool_lockup_period': json['staking_pool_lockup_period'],
131
139
  'max_integrator_spot_taker_fee': json['max_integrator_spot_taker_fee'],
@@ -147,6 +155,7 @@ export function SystemConfigToJSON(value?: SystemConfig | null): any {
147
155
  'staking_pool_index': value['staking_pool_index'],
148
156
  'funding_fee_rebate_account_index': value['funding_fee_rebate_account_index'],
149
157
  'market_maker_incentive_account_index': value['market_maker_incentive_account_index'],
158
+ 'fee_collector_account_index': value['fee_collector_account_index'],
150
159
  'liquidity_pool_cooldown_period': value['liquidity_pool_cooldown_period'],
151
160
  'staking_pool_lockup_period': value['staking_pool_lockup_period'],
152
161
  'max_integrator_spot_taker_fee': value['max_integrator_spot_taker_fee'],
package/openapi.json CHANGED
@@ -15361,6 +15361,11 @@
15361
15361
  "format": "int64",
15362
15362
  "example": "3"
15363
15363
  },
15364
+ "fee_collector_account_index": {
15365
+ "type": "integer",
15366
+ "format": "int64",
15367
+ "example": "4"
15368
+ },
15364
15369
  "liquidity_pool_cooldown_period": {
15365
15370
  "type": "integer",
15366
15371
  "format": "int64",
@@ -15398,6 +15403,7 @@
15398
15403
  "liquidity_pool_index",
15399
15404
  "staking_pool_index",
15400
15405
  "funding_fee_rebate_account_index",
15406
+ "fee_collector_account_index",
15401
15407
  "liquidity_pool_cooldown_period",
15402
15408
  "staking_pool_lockup_period",
15403
15409
  "max_integrator_spot_taker_fee",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zklighter-perps",
3
- "version": "1.0.291",
3
+ "version": "1.0.292",
4
4
  "description": "Lighter Perps SDK",
5
5
  "main": "index.ts",
6
6
  "directories": {