@deriverse/kit 1.0.32 → 1.0.39

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.
@@ -9,6 +9,15 @@ export declare enum AccountType {
9
9
  clientCommunity = 35,
10
10
  clientPrimary = 31,
11
11
  community = 34,
12
+ futuresAskOrders = 29,
13
+ futuresAsksTree = 27,
14
+ futuresBidOrders = 28,
15
+ futuresBidsTree = 26,
16
+ futuresClientAccounts = 23,
17
+ futuresClientInfos = 24,
18
+ futuresClientInfos2 = 25,
19
+ futuresLines = 30,
20
+ futuresMaps = 22,
12
21
  holder = 1,
13
22
  root = 2,
14
23
  instr = 7,
@@ -37,7 +46,8 @@ export declare enum AccountType {
37
46
  perpMaps = 47,
38
47
  perpLongPxTree = 48,
39
48
  perpShortPxTree = 49,
40
- perpRebalanceTimeTree = 50
49
+ perpRebalanceTimeTree = 50,
50
+ privateClients = 51
41
51
  }
42
52
  export declare class ClientCommunityRecordModel {
43
53
  static readonly LENGTH: number;
@@ -157,13 +167,13 @@ export declare class SpotTradeAccountHeaderModel {
157
167
  static readonly LENGTH: number;
158
168
  static readonly OFFSET_TAG = 0;
159
169
  static readonly OFFSET_VERSION = 4;
160
- static readonly OFFSET_ID = 8;
170
+ static readonly OFFSET_INSTR_ID = 8;
161
171
  static readonly OFFSET_SLOT = 12;
162
172
  static readonly OFFSET_ASSET_TOKEN_ID = 16;
163
173
  static readonly OFFSET_CRNCY_TOKEN_ID = 20;
164
174
  tag: number;
165
175
  version: number;
166
- id: number;
176
+ instrId: number;
167
177
  slot: number;
168
178
  assetTokenId: number;
169
179
  crncyTokenId: number;
@@ -254,165 +264,203 @@ export declare class InstrAccountHeaderModel {
254
264
  static readonly OFFSET_INSTR_ID = 8;
255
265
  static readonly OFFSET_ASSET_TOKEN_ID = 12;
256
266
  static readonly OFFSET_CRNCY_TOKEN_ID = 16;
257
- static readonly OFFSET_MASK = 20;
258
- static readonly OFFSET_ASSET_TOKENS = 24;
259
- static readonly OFFSET_CRNCY_TOKENS = 32;
260
- static readonly OFFSET_PS = 40;
261
- static readonly OFFSET_POOL_FEES = 48;
262
- static readonly OFFSET_LAST_PX = 56;
263
- static readonly OFFSET_LAST_CLOSE = 64;
264
- static readonly OFFSET_ALLTIME_TRADES = 72;
265
- static readonly OFFSET_PREV_DAY_TRADES = 80;
266
- static readonly OFFSET_DAY_VOLATILITY = 88;
267
- static readonly OFFSET_PERP_LAST_PX = 96;
268
- static readonly OFFSET_PERP_LAST_CLOSE = 104;
269
- static readonly OFFSET_PERP_ALLTIME_TRADES = 112;
270
- static readonly OFFSET_PERP_PREV_DAY_TRADES = 120;
271
- static readonly OFFSET_PERP_OPEN_INT = 128;
272
- static readonly OFFSET_MAPS_ADDRESS = 136;
273
- static readonly OFFSET_PERP_MAPS_ADDRESS = 168;
274
- static readonly OFFSET_LUT_ADDRESS = 200;
275
- static readonly OFFSET_FEED_ID = 232;
276
- static readonly OFFSET_DRV_COUNT = 264;
277
- static readonly OFFSET_ASSET_TOKEN_DECS_COUNT = 268;
278
- static readonly OFFSET_CRNCY_TOKEN_DECS_COUNT = 272;
279
- static readonly OFFSET_SLOT = 276;
280
- static readonly OFFSET_CREATOR = 280;
281
- static readonly OFFSET_LAST_TIME = 312;
282
- static readonly OFFSET_DISTRIB_TIME = 316;
283
- static readonly OFFSET_BASE_CRNCY_INDEX = 320;
284
- static readonly OFFSET_INSTANCE_COUNTER = 324;
285
- static readonly OFFSET_VARIANCE_COUNTER = 328;
286
- static readonly OFFSET_BIDS_TREE_NODES_COUNT = 332;
287
- static readonly OFFSET_BIDS_TREE_LINES_ENTRY = 336;
288
- static readonly OFFSET_BIDS_TREE_ORDERS_ENTRY = 340;
289
- static readonly OFFSET_ASKS_TREE_NODES_COUNT = 344;
290
- static readonly OFFSET_ASKS_TREE_LINES_ENTRY = 348;
291
- static readonly OFFSET_ASKS_TREE_ORDERS_ENTRY = 352;
292
- static readonly OFFSET_BID_LINES_BEGIN = 356;
293
- static readonly OFFSET_BID_LINES_END = 360;
294
- static readonly OFFSET_BID_LINES_COUNT = 364;
295
- static readonly OFFSET_ASK_LINES_BEGIN = 368;
296
- static readonly OFFSET_ASK_LINES_END = 372;
297
- static readonly OFFSET_ASK_LINES_COUNT = 376;
298
- static readonly OFFSET_BID_ORDERS_COUNT = 380;
299
- static readonly OFFSET_ASK_ORDERS_COUNT = 384;
300
- static readonly OFFSET_FIXING_TIME = 388;
301
- static readonly OFFSET_FIXING_CRNCY_TOKENS = 392;
302
- static readonly OFFSET_FIXING_ASSET_TOKENS = 400;
303
- static readonly OFFSET_COUNTER = 408;
304
- static readonly OFFSET_PROTOCOL_FEES = 416;
305
- static readonly OFFSET_HITS_COUNTER = 424;
306
- static readonly OFFSET_LAST_ASSET_TOKENS = 432;
307
- static readonly OFFSET_LAST_CRNCY_TOKENS = 440;
308
- static readonly OFFSET_PERP_UNDERLYING_PX = 448;
309
- static readonly OFFSET_BEST_BID = 456;
310
- static readonly OFFSET_BEST_ASK = 464;
311
- static readonly OFFSET_FIXING_PX = 472;
312
- static readonly OFFSET_VARIANCE = 480;
313
- static readonly OFFSET_AVG_SPREAD = 488;
314
- static readonly OFFSET_LAST_SPREAD = 496;
315
- static readonly OFFSET_LAST_SPREAD_TIME = 504;
316
- static readonly OFFSET_TOTAL_SPREAD_PERIOD = 508;
317
- static readonly OFFSET_DAY_ASSET_TOKENS = 512;
318
- static readonly OFFSET_DAY_CRNCY_TOKENS = 520;
319
- static readonly OFFSET_DAY_LOW = 528;
320
- static readonly OFFSET_DAY_HIGH = 536;
321
- static readonly OFFSET_PREV_DAY_ASSET_TOKENS = 544;
322
- static readonly OFFSET_PREV_DAY_CRNCY_TOKENS = 552;
323
- static readonly OFFSET_ALLTIME_ASSET_TOKENS = 560;
324
- static readonly OFFSET_ALLTIME_CRNCY_TOKENS = 568;
325
- static readonly OFFSET_DAY_TRADES = 576;
326
- static readonly OFFSET_LP_DAY_TRADES = 580;
327
- static readonly OFFSET_LP_PREV_DAY_TRADES = 584;
328
- static readonly OFFSET_CREATION_TIME = 588;
329
- static readonly OFFSET_DEC_FACTOR = 592;
330
- static readonly OFFSET_PERP_CLIENTS_COUNT = 600;
331
- static readonly OFFSET_PERP_SLOT = 604;
332
- static readonly OFFSET_PERP_TIME = 608;
333
- static readonly OFFSET_PERP_FUNDING_RATE_SLOT = 612;
334
- static readonly OFFSET_PERP_FUNDING_RATE_TIME = 616;
335
- static readonly OFFSET_PERP_LONG_PX_TREE_NODES_COUNT = 620;
336
- static readonly OFFSET_PERP_LONG_PX_TREE_ENTRY = 624;
337
- static readonly OFFSET_PERP_SHORT_PX_TREE_NODES_COUNT = 628;
338
- static readonly OFFSET_PERP_SHORT_PX_TREE_ENTRY = 632;
339
- static readonly OFFSET_PERP_REBALANCE_TIME_TREE_NODES_COUNT = 636;
340
- static readonly OFFSET_PERP_REBALANCE_TIME_TREE_ENTRY = 640;
341
- static readonly OFFSET_PERP_BIDS_TREE_NODES_COUNT = 644;
342
- static readonly OFFSET_PERP_BIDS_TREE_LINES_ENTRY = 648;
343
- static readonly OFFSET_PERP_BIDS_TREE_ORDERS_ENTRY = 652;
344
- static readonly OFFSET_PERP_ASKS_TREE_NODES_COUNT = 656;
345
- static readonly OFFSET_PERP_ASKS_TREE_LINES_ENTRY = 660;
346
- static readonly OFFSET_PERP_ASKS_TREE_ORDERS_ENTRY = 664;
347
- static readonly OFFSET_PERP_BID_LINES_BEGIN = 668;
348
- static readonly OFFSET_PERP_BID_LINES_END = 672;
349
- static readonly OFFSET_PERP_BID_LINES_COUNT = 676;
350
- static readonly OFFSET_PERP_ASK_LINES_BEGIN = 680;
351
- static readonly OFFSET_PERP_ASK_LINES_END = 684;
352
- static readonly OFFSET_PERP_ASK_LINES_COUNT = 688;
353
- static readonly OFFSET_PERP_BID_ORDERS_COUNT = 692;
354
- static readonly OFFSET_PERP_ASK_ORDERS_COUNT = 696;
355
- static readonly OFFSET_PERP_DAY_TRADES = 700;
356
- static readonly OFFSET_PERP_SPOT_PRICE_FOR_WITHDROWAL = 704;
357
- static readonly OFFSET_PERP_SOC_LOSS_LONG_RATE = 712;
358
- static readonly OFFSET_PERP_SOC_LOSS_SHORT_RATE = 720;
359
- static readonly OFFSET_PERP_PRICE_DELTA = 728;
360
- static readonly OFFSET_PERP_FUNDING_RATE = 736;
361
- static readonly OFFSET_PERP_FUNDING_FUNDS = 744;
362
- static readonly OFFSET_PERP_SOC_LOSS_FUNDS = 752;
363
- static readonly OFFSET_PERP_INSURANCE_FUND = 760;
364
- static readonly OFFSET_PERP_LAST_ASSET_TOKENS = 768;
365
- static readonly OFFSET_PERP_LAST_CRNCY_TOKENS = 776;
366
- static readonly OFFSET_PERP_BEST_BID = 784;
367
- static readonly OFFSET_PERP_BEST_ASK = 792;
368
- static readonly OFFSET_PERP_DAY_ASSET_TOKENS = 800;
369
- static readonly OFFSET_PERP_DAY_CRNCY_TOKENS = 808;
370
- static readonly OFFSET_PERP_DAY_LOW = 816;
371
- static readonly OFFSET_PERP_DAY_HIGH = 824;
372
- static readonly OFFSET_PERP_PREV_DAY_ASSET_TOKENS = 832;
373
- static readonly OFFSET_PERP_PREV_DAY_CRNCY_TOKENS = 840;
374
- static readonly OFFSET_PERP_ALLTIME_ASSET_TOKENS = 848;
375
- static readonly OFFSET_PERP_ALLTIME_CRNCY_TOKENS = 856;
376
- static readonly OFFSET_MAX_LEVERAGE = 864;
377
- static readonly OFFSET_LIQUIDATION_THRESHOLD = 872;
378
- static readonly OFFSET_SEATS_RESERVE = 880;
379
- static readonly OFFSET_RESERVED_VALUE1 = 888;
380
- static readonly OFFSET_RESERVED_VALUE2 = 896;
381
- static readonly OFFSET_RESERVED_VALUE3 = 904;
382
- static readonly OFFSET_RESERVED_VALUE4 = 912;
383
- static readonly OFFSET_RESERVED_VALUE5 = 920;
384
- static readonly OFFSET_RESERVED_VALUE6 = 928;
385
- static readonly OFFSET_RESERVED_VALUE7 = 936;
386
- static readonly OFFSET_RESERVED_VALUE8 = 944;
387
- static readonly OFFSET_RESERVED_VALUE9 = 952;
388
- static readonly OFFSET_RESERVED_VALUE10 = 960;
267
+ static readonly OFFSET_ASSET_TOKEN_DECS_COUNT = 20;
268
+ static readonly OFFSET_CRNCY_TOKEN_DECS_COUNT = 24;
269
+ static readonly OFFSET_MASK = 28;
270
+ static readonly OFFSET_LAST_PX = 32;
271
+ static readonly OFFSET_LAST_CLOSE = 40;
272
+ static readonly OFFSET_BEST_BID = 48;
273
+ static readonly OFFSET_BEST_ASK = 56;
274
+ static readonly OFFSET_PERP_LAST_PX = 64;
275
+ static readonly OFFSET_PERP_LAST_CLOSE = 72;
276
+ static readonly OFFSET_PERP_OPEN_INT = 80;
277
+ static readonly OFFSET_VARIANCE = 88;
278
+ static readonly OFFSET_MAX_LEVERAGE = 96;
279
+ static readonly OFFSET_PREV_DAY_TRADES = 104;
280
+ static readonly OFFSET_PERP_INSURANCE_FUND = 112;
281
+ static readonly OFFSET_PERP_PRICE_DELTA = 120;
282
+ static readonly OFFSET_EMA_PX = 128;
283
+ static readonly OFFSET_LP_PREV_DAY_FEES = 136;
284
+ static readonly OFFSET_ASSET_TOKENS = 144;
285
+ static readonly OFFSET_CRNCY_TOKENS = 152;
286
+ static readonly OFFSET_PS = 160;
287
+ static readonly OFFSET_POOL_FEES = 168;
288
+ static readonly OFFSET_RESERVED_VALUE1 = 176;
289
+ static readonly OFFSET_RESERVED_VALUE2 = 184;
290
+ static readonly OFFSET_RESERVED_VALUE3 = 192;
291
+ static readonly OFFSET_LAST_TRADE_ASSET_TOKENS = 200;
292
+ static readonly OFFSET_LAST_TRADE_CRNCY_TOKENS = 208;
293
+ static readonly OFFSET_DAY_LOW = 216;
294
+ static readonly OFFSET_DAY_HIGH = 224;
295
+ static readonly OFFSET_DAY_ASSET_TOKENS = 232;
296
+ static readonly OFFSET_DAY_CRNCY_TOKENS = 240;
297
+ static readonly OFFSET_PERP_CLIENTS_COUNT = 248;
298
+ static readonly OFFSET_PERP_DAY_TRADES = 252;
299
+ static readonly OFFSET_PERP_BEST_BID = 256;
300
+ static readonly OFFSET_PERP_BEST_ASK = 264;
301
+ static readonly OFFSET_PERP_DAY_LOW = 272;
302
+ static readonly OFFSET_PERP_DAY_HIGH = 280;
303
+ static readonly OFFSET_PERP_DAY_ASSET_TOKENS = 288;
304
+ static readonly OFFSET_PERP_DAY_CRNCY_TOKENS = 296;
305
+ static readonly OFFSET_PERP_ALLTIME_TRADES = 304;
306
+ static readonly OFFSET_PERP_PREV_DAY_TRADES = 312;
307
+ static readonly OFFSET_PERP_LAST_TRADE_ASSET_TOKENS = 320;
308
+ static readonly OFFSET_PERP_LAST_TRADE_CRNCY_TOKENS = 328;
309
+ static readonly OFFSET_ALLTIME_TRADES = 336;
310
+ static readonly OFFSET_DAY_VOLATILITY = 344;
311
+ static readonly OFFSET_MAPS_ADDRESS = 352;
312
+ static readonly OFFSET_PERP_MAPS_ADDRESS = 384;
313
+ static readonly OFFSET_ASSET_MINT = 416;
314
+ static readonly OFFSET_CRNCY_MINT = 448;
315
+ static readonly OFFSET_LUT_ADDRESS = 480;
316
+ static readonly OFFSET_DRV_COUNT = 512;
317
+ static readonly OFFSET_SLOT = 516;
318
+ static readonly OFFSET_CREATOR = 520;
319
+ static readonly OFFSET_LAST_TIME = 552;
320
+ static readonly OFFSET_DISTRIB_TIME = 556;
321
+ static readonly OFFSET_BASE_CRNCY_INDEX = 560;
322
+ static readonly OFFSET_INSTANCE_COUNTER = 564;
323
+ static readonly OFFSET_VARIANCE_COUNTER = 568;
324
+ static readonly OFFSET_BIDS_TREE_NODES_COUNT = 572;
325
+ static readonly OFFSET_BIDS_TREE_LINES_ENTRY = 576;
326
+ static readonly OFFSET_BIDS_TREE_ORDERS_ENTRY = 580;
327
+ static readonly OFFSET_ASKS_TREE_NODES_COUNT = 584;
328
+ static readonly OFFSET_ASKS_TREE_LINES_ENTRY = 588;
329
+ static readonly OFFSET_ASKS_TREE_ORDERS_ENTRY = 592;
330
+ static readonly OFFSET_BID_LINES_BEGIN = 596;
331
+ static readonly OFFSET_BID_LINES_END = 600;
332
+ static readonly OFFSET_BID_LINES_COUNT = 604;
333
+ static readonly OFFSET_ASK_LINES_BEGIN = 608;
334
+ static readonly OFFSET_ASK_LINES_END = 612;
335
+ static readonly OFFSET_ASK_LINES_COUNT = 616;
336
+ static readonly OFFSET_BID_ORDERS_COUNT = 620;
337
+ static readonly OFFSET_ASK_ORDERS_COUNT = 624;
338
+ static readonly OFFSET_FIXING_TIME = 628;
339
+ static readonly OFFSET_FIXING_CRNCY_TOKENS = 632;
340
+ static readonly OFFSET_FIXING_ASSET_TOKENS = 640;
341
+ static readonly OFFSET_COUNTER = 648;
342
+ static readonly OFFSET_PROTOCOL_FEES = 656;
343
+ static readonly OFFSET_HITS_COUNTER = 664;
344
+ static readonly OFFSET_LAST_ASSET_TOKENS = 672;
345
+ static readonly OFFSET_LAST_CRNCY_TOKENS = 680;
346
+ static readonly OFFSET_PERP_UNDERLYING_PX = 688;
347
+ static readonly OFFSET_FIXING_PX = 696;
348
+ static readonly OFFSET_AVG_SPREAD = 704;
349
+ static readonly OFFSET_LAST_SPREAD = 712;
350
+ static readonly OFFSET_LAST_SPREAD_TIME = 720;
351
+ static readonly OFFSET_TOTAL_SPREAD_PERIOD = 724;
352
+ static readonly OFFSET_PREV_DAY_ASSET_TOKENS = 728;
353
+ static readonly OFFSET_PREV_DAY_CRNCY_TOKENS = 736;
354
+ static readonly OFFSET_ALLTIME_ASSET_TOKENS = 744;
355
+ static readonly OFFSET_ALLTIME_CRNCY_TOKENS = 752;
356
+ static readonly OFFSET_DAY_TRADES = 760;
357
+ static readonly OFFSET_LP_DAY_TRADES = 764;
358
+ static readonly OFFSET_LP_ALLTIME_FEES = 768;
359
+ static readonly OFFSET_LP_DAY_FEES = 776;
360
+ static readonly OFFSET_LP_PREV_DAY_TRADES = 784;
361
+ static readonly OFFSET_LP_TIME = 788;
362
+ static readonly OFFSET_FEES_TIME = 792;
363
+ static readonly OFFSET_CREATION_TIME = 796;
364
+ static readonly OFFSET_DEC_FACTOR = 800;
365
+ static readonly OFFSET_PERP_SLOT = 808;
366
+ static readonly OFFSET_PERP_TIME = 812;
367
+ static readonly OFFSET_PERP_FUNDING_RATE_SLOT = 816;
368
+ static readonly OFFSET_PERP_FUNDING_RATE_TIME = 820;
369
+ static readonly OFFSET_PERP_LONG_PX_TREE_NODES_COUNT = 824;
370
+ static readonly OFFSET_PERP_LONG_PX_TREE_ENTRY = 828;
371
+ static readonly OFFSET_PERP_SHORT_PX_TREE_NODES_COUNT = 832;
372
+ static readonly OFFSET_PERP_SHORT_PX_TREE_ENTRY = 836;
373
+ static readonly OFFSET_PERP_REBALANCE_TIME_TREE_NODES_COUNT = 840;
374
+ static readonly OFFSET_PERP_REBALANCE_TIME_TREE_ENTRY = 844;
375
+ static readonly OFFSET_PERP_BIDS_TREE_NODES_COUNT = 848;
376
+ static readonly OFFSET_PERP_BIDS_TREE_LINES_ENTRY = 852;
377
+ static readonly OFFSET_PERP_BIDS_TREE_ORDERS_ENTRY = 856;
378
+ static readonly OFFSET_PERP_ASKS_TREE_NODES_COUNT = 860;
379
+ static readonly OFFSET_PERP_ASKS_TREE_LINES_ENTRY = 864;
380
+ static readonly OFFSET_PERP_ASKS_TREE_ORDERS_ENTRY = 868;
381
+ static readonly OFFSET_PERP_BID_LINES_BEGIN = 872;
382
+ static readonly OFFSET_PERP_BID_LINES_END = 876;
383
+ static readonly OFFSET_PERP_BID_LINES_COUNT = 880;
384
+ static readonly OFFSET_PERP_ASK_LINES_BEGIN = 884;
385
+ static readonly OFFSET_PERP_ASK_LINES_END = 888;
386
+ static readonly OFFSET_PERP_ASK_LINES_COUNT = 892;
387
+ static readonly OFFSET_PERP_BID_ORDERS_COUNT = 896;
388
+ static readonly OFFSET_PERP_ASK_ORDERS_COUNT = 900;
389
+ static readonly OFFSET_PERP_LONG_SPOT_PRICE_FOR_WITHDROWAL = 904;
390
+ static readonly OFFSET_PERP_SHORT_SPOT_PRICE_FOR_WITHDROWAL = 912;
391
+ static readonly OFFSET_PERP_SOC_LOSS_LONG_RATE = 920;
392
+ static readonly OFFSET_PERP_SOC_LOSS_SHORT_RATE = 928;
393
+ static readonly OFFSET_PERP_FUNDING_RATE = 936;
394
+ static readonly OFFSET_PERP_FUNDING_FUNDS = 944;
395
+ static readonly OFFSET_PERP_SOC_LOSS_FUNDS = 952;
396
+ static readonly OFFSET_PERP_PREV_DAY_ASSET_TOKENS = 960;
397
+ static readonly OFFSET_PERP_PREV_DAY_CRNCY_TOKENS = 968;
398
+ static readonly OFFSET_PERP_ALLTIME_ASSET_TOKENS = 976;
399
+ static readonly OFFSET_PERP_ALLTIME_CRNCY_TOKENS = 984;
400
+ static readonly OFFSET_LIQUIDATION_THRESHOLD = 992;
401
+ static readonly OFFSET_SEATS_RESERVE = 1000;
402
+ static readonly OFFSET_RESERVED_VALUE4 = 1008;
403
+ static readonly OFFSET_RESERVED_VALUE5 = 1016;
404
+ static readonly OFFSET_RESERVED_VALUE6 = 1024;
405
+ static readonly OFFSET_RESERVED_VALUE7 = 1032;
406
+ static readonly OFFSET_RESERVED_VALUE8 = 1040;
407
+ static readonly OFFSET_RESERVED_VALUE9 = 1048;
408
+ static readonly OFFSET_RESERVED_VALUE10 = 1056;
389
409
  tag: number;
390
410
  version: number;
391
411
  instrId: number;
392
412
  assetTokenId: number;
393
413
  crncyTokenId: number;
414
+ assetTokenDecsCount: number;
415
+ crncyTokenDecsCount: number;
394
416
  mask: number;
395
- assetTokens: number;
396
- crncyTokens: number;
397
- ps: number;
398
- poolFees: number;
399
417
  lastPx: number;
400
418
  lastClose: number;
401
- alltimeTrades: number;
402
- prevDayTrades: number;
403
- dayVolatility: number;
419
+ bestBid: number;
420
+ bestAsk: number;
404
421
  perpLastPx: number;
405
422
  perpLastClose: number;
423
+ perpOpenInt: number;
424
+ variance: number;
425
+ maxLeverage: number;
426
+ prevDayTrades: number;
427
+ perpInsuranceFund: number;
428
+ perpPriceDelta: number;
429
+ emaPx: number;
430
+ lpPrevDayFees: number;
431
+ assetTokens: number;
432
+ crncyTokens: number;
433
+ ps: number;
434
+ poolFees: number;
435
+ reservedValue1: number;
436
+ reservedValue2: number;
437
+ reservedValue3: number;
438
+ lastTradeAssetTokens: number;
439
+ lastTradeCrncyTokens: number;
440
+ dayLow: number;
441
+ dayHigh: number;
442
+ dayAssetTokens: number;
443
+ dayCrncyTokens: number;
444
+ perpClientsCount: number;
445
+ perpDayTrades: number;
446
+ perpBestBid: number;
447
+ perpBestAsk: number;
448
+ perpDayLow: number;
449
+ perpDayHigh: number;
450
+ perpDayAssetTokens: number;
451
+ perpDayCrncyTokens: number;
406
452
  perpAlltimeTrades: number;
407
453
  perpPrevDayTrades: number;
408
- perpOpenInt: number;
454
+ perpLastTradeAssetTokens: number;
455
+ perpLastTradeCrncyTokens: number;
456
+ alltimeTrades: number;
457
+ dayVolatility: number;
409
458
  mapsAddress: Address<any>;
410
459
  perpMapsAddress: Address<any>;
460
+ assetMint: Address<any>;
461
+ crncyMint: Address<any>;
411
462
  lutAddress: Address<any>;
412
- feedId: Address<any>;
413
463
  drvCount: number;
414
- assetTokenDecsCount: number;
415
- crncyTokenDecsCount: number;
416
464
  slot: number;
417
465
  creator: Address<any>;
418
466
  lastTime: number;
@@ -443,28 +491,24 @@ export declare class InstrAccountHeaderModel {
443
491
  lastAssetTokens: number;
444
492
  lastCrncyTokens: number;
445
493
  perpUnderlyingPx: number;
446
- bestBid: number;
447
- bestAsk: number;
448
494
  fixingPx: number;
449
- variance: number;
450
495
  avgSpread: number;
451
496
  lastSpread: number;
452
497
  lastSpreadTime: number;
453
498
  totalSpreadPeriod: number;
454
- dayAssetTokens: number;
455
- dayCrncyTokens: number;
456
- dayLow: number;
457
- dayHigh: number;
458
499
  prevDayAssetTokens: number;
459
500
  prevDayCrncyTokens: number;
460
501
  alltimeAssetTokens: number;
461
502
  alltimeCrncyTokens: number;
462
503
  dayTrades: number;
463
504
  lpDayTrades: number;
505
+ lpAlltimeFees: number;
506
+ lpDayFees: number;
464
507
  lpPrevDayTrades: number;
508
+ lpTime: number;
509
+ feesTime: number;
465
510
  creationTime: number;
466
511
  decFactor: number;
467
- perpClientsCount: number;
468
512
  perpSlot: number;
469
513
  perpTime: number;
470
514
  perpFundingRateSlot: number;
@@ -489,33 +533,19 @@ export declare class InstrAccountHeaderModel {
489
533
  perpAskLinesCount: number;
490
534
  perpBidOrdersCount: number;
491
535
  perpAskOrdersCount: number;
492
- perpDayTrades: number;
493
- perpSpotPriceForWithdrowal: number;
536
+ perpLongSpotPriceForWithdrowal: number;
537
+ perpShortSpotPriceForWithdrowal: number;
494
538
  perpSocLossLongRate: number;
495
539
  perpSocLossShortRate: number;
496
- perpPriceDelta: number;
497
540
  perpFundingRate: number;
498
541
  perpFundingFunds: number;
499
542
  perpSocLossFunds: number;
500
- perpInsuranceFund: number;
501
- perpLastAssetTokens: number;
502
- perpLastCrncyTokens: number;
503
- perpBestBid: number;
504
- perpBestAsk: number;
505
- perpDayAssetTokens: number;
506
- perpDayCrncyTokens: number;
507
- perpDayLow: number;
508
- perpDayHigh: number;
509
543
  perpPrevDayAssetTokens: number;
510
544
  perpPrevDayCrncyTokens: number;
511
545
  perpAlltimeAssetTokens: number;
512
546
  perpAlltimeCrncyTokens: number;
513
- maxLeverage: number;
514
547
  liquidationThreshold: number;
515
548
  seatsReserve: number;
516
- reservedValue1: number;
517
- reservedValue2: number;
518
- reservedValue3: number;
519
549
  reservedValue4: number;
520
550
  reservedValue5: number;
521
551
  reservedValue6: number;
@@ -533,22 +563,27 @@ export declare class RootStateModel {
533
563
  static readonly OFFSET_HOLDER_ADDRESS = 40;
534
564
  static readonly OFFSET_DRVS_MINT_ADDRESS = 72;
535
565
  static readonly OFFSET_LUT_ADDRESS = 104;
536
- static readonly OFFSET_REF_PROGRAM_DURATION = 136;
537
- static readonly OFFSET_REF_LINK_DURATION = 140;
538
- static readonly OFFSET_REF_DISCOUNT = 144;
539
- static readonly OFFSET_REF_RATIO = 152;
540
- static readonly OFFSET_CLIENTS_COUNT = 160;
541
- static readonly OFFSET_TOKENS_COUNT = 164;
542
- static readonly OFFSET_INSTR_COUNT = 168;
543
- static readonly OFFSET_REF_COUNTER = 172;
544
- static readonly OFFSET_MASK = 176;
545
- static readonly OFFSET_RESERVED = 180;
566
+ static readonly OFFSET_AIRDROP_AUTHORITY_ADDRESS = 136;
567
+ static readonly OFFSET_PRIVATE_MODE_AUTHORITY_ADDRESS = 168;
568
+ static readonly OFFSET_REF_PROGRAM_DURATION = 200;
569
+ static readonly OFFSET_REF_LINK_DURATION = 204;
570
+ static readonly OFFSET_REF_DISCOUNT = 208;
571
+ static readonly OFFSET_REF_RATIO = 216;
572
+ static readonly OFFSET_CLIENTS_COUNT = 224;
573
+ static readonly OFFSET_TOKENS_COUNT = 228;
574
+ static readonly OFFSET_INSTR_COUNT = 232;
575
+ static readonly OFFSET_REF_COUNTER = 236;
576
+ static readonly OFFSET_MASK = 240;
577
+ static readonly OFFSET_POINTS_PROGRAM_EXPIRATION = 244;
578
+ static readonly OFFSET_PURCHASING_PERP_SEAT_FEE = 248;
546
579
  tag: number;
547
580
  version: number;
548
581
  operatorAddress: Address<any>;
549
582
  holderAddress: Address<any>;
550
583
  drvsMintAddress: Address<any>;
551
584
  lutAddress: Address<any>;
585
+ airdropAuthorityAddress: Address<any>;
586
+ privateModeAuthorityAddress: Address<any>;
552
587
  refProgramDuration: number;
553
588
  refLinkDuration: number;
554
589
  refDiscount: number;
@@ -558,7 +593,8 @@ export declare class RootStateModel {
558
593
  instrCount: number;
559
594
  refCounter: number;
560
595
  mask: number;
561
- reserved: number;
596
+ pointsProgramExpiration: number;
597
+ purchasingPerpSeatFee: number;
562
598
  static fromBuffer(data: Base64EncodedDataResponse, offset?: number): RootStateModel;
563
599
  }
564
600
  export declare class TokenStateModel {
@@ -569,7 +605,7 @@ export declare class TokenStateModel {
569
605
  static readonly OFFSET_PROGRAM_ADDRESS = 40;
570
606
  static readonly OFFSET_ID = 72;
571
607
  static readonly OFFSET_MASK = 76;
572
- static readonly OFFSET_BASE_INSTR_ID = 80;
608
+ static readonly OFFSET_RESERVED = 80;
573
609
  static readonly OFFSET_BASE_CRNCY_INDEX = 84;
574
610
  tag: number;
575
611
  version: number;
@@ -577,7 +613,7 @@ export declare class TokenStateModel {
577
613
  programAddress: Address<any>;
578
614
  id: number;
579
615
  mask: number;
580
- baseInstrId: number;
616
+ reserved: number;
581
617
  baseCrncyIndex: number;
582
618
  static fromBuffer(data: Base64EncodedDataResponse, offset?: number): TokenStateModel;
583
619
  }
@@ -587,10 +623,18 @@ export declare class BaseCrncyRecordModel {
587
623
  static readonly OFFSET_DECS_COUNT = 4;
588
624
  static readonly OFFSET_FUNDS = 8;
589
625
  static readonly OFFSET_RATE = 16;
626
+ static readonly OFFSET_DENOMINATOR = 24;
627
+ static readonly OFFSET_LOCKED_DRVS_AMOUNT = 32;
628
+ static readonly OFFSET_LOCKED_DRVS_DIVIDENDS_VALUE = 40;
629
+ static readonly OFFSET_MASK = 48;
590
630
  crncyTokenId: number;
591
631
  decsCount: number;
592
632
  funds: number;
593
633
  rate: number;
634
+ denominator: number;
635
+ lockedDrvsAmount: number;
636
+ lockedDrvsDividendsValue: number;
637
+ mask: number;
594
638
  static fromBuffer(data: Base64EncodedDataResponse, offset?: number): BaseCrncyRecordModel;
595
639
  }
596
640
  export declare class ClientSpotModel {
@@ -630,13 +674,13 @@ export declare class AssetRecordModel {
630
674
  export declare class SpotClientInfoModel {
631
675
  static readonly LENGTH: number;
632
676
  static readonly OFFSET_CLIENT = 0;
633
- static readonly OFFSET_RESERVED = 4;
677
+ static readonly OFFSET_FILLED_ORDERS = 4;
634
678
  static readonly OFFSET_BIDS_ENTRY = 8;
635
679
  static readonly OFFSET_ASKS_ENTRY = 12;
636
680
  static readonly OFFSET_AVAIL_ASSET_TOKENS = 16;
637
681
  static readonly OFFSET_AVAIL_CRNCY_TOKENS = 24;
638
682
  client: number;
639
- reserved: number;
683
+ filledOrders: number;
640
684
  bidsEntry: number;
641
685
  asksEntry: number;
642
686
  availAssetTokens: number;
@@ -688,13 +732,13 @@ export declare class PerpClientInfo2Model {
688
732
  export declare class PerpClientInfo3Model {
689
733
  static readonly LENGTH: number;
690
734
  static readonly OFFSET_CLIENT = 0;
691
- static readonly OFFSET_PRIORITY_NODE = 4;
735
+ static readonly OFFSET_FILLED_ORDERS = 4;
692
736
  static readonly OFFSET_BIDS_ENTRY = 8;
693
737
  static readonly OFFSET_ASKS_ENTRY = 12;
694
738
  static readonly OFFSET_FEES = 16;
695
739
  static readonly OFFSET_REBATES = 24;
696
740
  client: number;
697
- priorityNode: number;
741
+ filledOrders: number;
698
742
  bidsEntry: number;
699
743
  asksEntry: number;
700
744
  fees: number;
@@ -734,41 +778,67 @@ export declare class ClientPrimaryAccountHeaderModel {
734
778
  static readonly OFFSET_WALLET_ADDRESS = 8;
735
779
  static readonly OFFSET_LUT_ADDRESS = 40;
736
780
  static readonly OFFSET_REF_ADDRESS = 72;
737
- static readonly OFFSET_FIRST_REF_LINK_DISCOUNT = 104;
738
- static readonly OFFSET_SECOND_REF_LINK_DISCOUNT = 112;
739
- static readonly OFFSET_FIRST_REF_LINK_RATIO = 120;
740
- static readonly OFFSET_SECOND_REF_LINK_RATIO = 128;
741
- static readonly OFFSET_REF_PROGRAM_DISCOUNT = 136;
742
- static readonly OFFSET_REF_PROGRAM_RATIO = 144;
743
- static readonly OFFSET_RESERVED = 152;
744
- static readonly OFFSET_MASK = 160;
745
- static readonly OFFSET_ID = 168;
746
- static readonly OFFSET_REF_CLIENT_ID = 172;
747
- static readonly OFFSET_REF_COUNTER = 176;
748
- static readonly OFFSET_FIRST_REF_LINK_ID = 180;
749
- static readonly OFFSET_SECOND_REF_LINK_ID = 184;
750
- static readonly OFFSET_FIRST_REF_LINK_EXPIRATION = 188;
751
- static readonly OFFSET_SECOND_REF_LINK_EXPIRATION = 192;
752
- static readonly OFFSET_REF_PROGRAM_EXPIRATION = 196;
753
- static readonly OFFSET_SPOT_TRADES = 200;
754
- static readonly OFFSET_PERP_TRADES = 204;
755
- static readonly OFFSET_LP_TRADES = 208;
756
- static readonly OFFSET_POINTS = 212;
757
- static readonly OFFSET_SLOT = 216;
758
- static readonly OFFSET_ASSETS_COUNT = 220;
759
- static readonly OFFSET_RESERVED_VALUE1 = 224;
760
- static readonly OFFSET_RESERVED_VALUE2 = 232;
761
- static readonly OFFSET_RESERVED_VALUE3 = 240;
762
- static readonly OFFSET_RESERVED_VALUE4 = 248;
763
- static readonly OFFSET_RESERVED_VALUE5 = 256;
764
- static readonly OFFSET_RESERVED_VALUE6 = 264;
765
- static readonly OFFSET_RESERVED_VALUE7 = 272;
766
- static readonly OFFSET_RESERVED_VALUE8 = 280;
781
+ static readonly OFFSET_VM_WALLET_ADDRESS = 104;
782
+ static readonly OFFSET_VM_INSTR_0 = 136;
783
+ static readonly OFFSET_VM_INSTR_1 = 140;
784
+ static readonly OFFSET_VM_INSTR_2 = 144;
785
+ static readonly OFFSET_VM_INSTR_3 = 148;
786
+ static readonly OFFSET_VM_INSTR_4 = 152;
787
+ static readonly OFFSET_VM_INSTR_5 = 156;
788
+ static readonly OFFSET_VM_INSTR_6 = 160;
789
+ static readonly OFFSET_VM_INSTR_7 = 164;
790
+ static readonly OFFSET_VM_WITHDRAW_TOKEN_ID = 168;
791
+ static readonly OFFSET_VM_MASK = 172;
792
+ static readonly OFFSET_VM_WITHDRAW_AMOUNT = 176;
793
+ static readonly OFFSET_FIRST_REF_LINK_DISCOUNT = 184;
794
+ static readonly OFFSET_SECOND_REF_LINK_DISCOUNT = 192;
795
+ static readonly OFFSET_FIRST_REF_LINK_RATIO = 200;
796
+ static readonly OFFSET_SECOND_REF_LINK_RATIO = 208;
797
+ static readonly OFFSET_REF_PROGRAM_DISCOUNT = 216;
798
+ static readonly OFFSET_REF_PROGRAM_RATIO = 224;
799
+ static readonly OFFSET_RESERVED = 232;
800
+ static readonly OFFSET_MASK = 240;
801
+ static readonly OFFSET_ID = 248;
802
+ static readonly OFFSET_REF_CLIENT_ID = 252;
803
+ static readonly OFFSET_REF_COUNTER = 256;
804
+ static readonly OFFSET_FIRST_REF_LINK_ID = 260;
805
+ static readonly OFFSET_SECOND_REF_LINK_ID = 264;
806
+ static readonly OFFSET_FIRST_REF_LINK_EXPIRATION = 268;
807
+ static readonly OFFSET_SECOND_REF_LINK_EXPIRATION = 272;
808
+ static readonly OFFSET_REF_PROGRAM_EXPIRATION = 276;
809
+ static readonly OFFSET_SPOT_TRADES = 280;
810
+ static readonly OFFSET_PERP_TRADES = 284;
811
+ static readonly OFFSET_LP_TRADES = 288;
812
+ static readonly OFFSET_POINTS = 292;
813
+ static readonly OFFSET_SLOT = 296;
814
+ static readonly OFFSET_ASSETS_COUNT = 300;
815
+ static readonly OFFSET_SPOT_FILLED_ORDERS = 304;
816
+ static readonly OFFSET_PERP_FILLED_ORDERS = 308;
817
+ static readonly OFFSET_RESERVED_VALUE1 = 312;
818
+ static readonly OFFSET_RESERVED_VALUE2 = 320;
819
+ static readonly OFFSET_RESERVED_VALUE3 = 328;
820
+ static readonly OFFSET_RESERVED_VALUE4 = 336;
821
+ static readonly OFFSET_RESERVED_VALUE5 = 344;
822
+ static readonly OFFSET_RESERVED_VALUE6 = 352;
823
+ static readonly OFFSET_RESERVED_VALUE7 = 360;
824
+ static readonly OFFSET_RESERVED_VALUE8 = 368;
767
825
  tag: number;
768
826
  version: number;
769
827
  walletAddress: Address<any>;
770
828
  lutAddress: Address<any>;
771
829
  refAddress: Address<any>;
830
+ vmWalletAddress: Address<any>;
831
+ vmInstr0: number;
832
+ vmInstr1: number;
833
+ vmInstr2: number;
834
+ vmInstr3: number;
835
+ vmInstr4: number;
836
+ vmInstr5: number;
837
+ vmInstr6: number;
838
+ vmInstr7: number;
839
+ vmWithdrawTokenId: number;
840
+ vmMask: number;
841
+ vmWithdrawAmount: number;
772
842
  firstRefLinkDiscount: number;
773
843
  secondRefLinkDiscount: number;
774
844
  firstRefLinkRatio: number;
@@ -791,6 +861,8 @@ export declare class ClientPrimaryAccountHeaderModel {
791
861
  points: number;
792
862
  slot: number;
793
863
  assetsCount: number;
864
+ spotFilledOrders: number;
865
+ perpFilledOrders: number;
794
866
  reservedValue1: number;
795
867
  reservedValue2: number;
796
868
  reservedValue3: number;
@@ -851,6 +923,14 @@ export declare class PxOrdersModel {
851
923
  end: number;
852
924
  static fromBuffer(data: Base64EncodedDataResponse, offset?: number): PxOrdersModel;
853
925
  }
926
+ export declare class PrivateClientHeaderModel {
927
+ static readonly LENGTH: number;
928
+ static readonly OFFSET_TAG = 0;
929
+ static readonly OFFSET_VERSION = 4;
930
+ tag: number;
931
+ version: number;
932
+ static fromBuffer(data: Base64EncodedDataResponse, offset?: number): PrivateClientHeaderModel;
933
+ }
854
934
  export declare class PrivateClientModel {
855
935
  static readonly LENGTH: number;
856
936
  static readonly OFFSET_CREATION_TIME = 0;