@deriverse/kit 1.0.28 → 1.0.30

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.
@@ -7,23 +7,11 @@ export declare enum OrderType {
7
7
  }
8
8
  export declare enum AccountType {
9
9
  clientCommunity = 35,
10
- clientDrv = 32,
11
10
  clientPrimary = 31,
12
11
  community = 34,
13
- pdf = 33,
14
- futuresAskOrders = 29,
15
- futuresAsksTree = 27,
16
- futuresBidOrders = 28,
17
- futuresBidsTree = 26,
18
- futuresClientAccounts = 23,
19
- futuresClientInfos = 24,
20
- futuresClientInfos2 = 25,
21
- futuresLines = 30,
22
- futuresMaps = 22,
23
12
  holder = 1,
24
13
  root = 2,
25
14
  instr = 7,
26
- instrTrace = 8,
27
15
  spot15MCandles = 20,
28
16
  spot1MCandles = 19,
29
17
  spotAskOrders = 17,
@@ -205,14 +193,6 @@ export declare class HolderAccountHeaderModel {
205
193
  operatorsCount: number;
206
194
  static fromBuffer(data: Base64EncodedDataResponse, offset?: number): HolderAccountHeaderModel;
207
195
  }
208
- export declare class PdfAccountHeaderModel {
209
- static readonly LENGTH: number;
210
- static readonly OFFSET_TAG = 0;
211
- static readonly OFFSET_VERSION = 4;
212
- tag: number;
213
- version: number;
214
- static fromBuffer(data: Base64EncodedDataResponse, offset?: number): PdfAccountHeaderModel;
215
- }
216
196
  export declare class OperatorModel {
217
197
  static readonly LENGTH: number;
218
198
  static readonly OFFSET_OPERATOR_ADDRESS = 0;
@@ -231,18 +211,6 @@ export declare class LineQuotesModel {
231
211
  qty: number;
232
212
  static fromBuffer(data: Base64EncodedDataResponse, offset?: number): LineQuotesModel;
233
213
  }
234
- export declare class TraceAccountHeaderModel {
235
- static readonly LENGTH: number;
236
- static readonly OFFSET_TAG = 0;
237
- static readonly OFFSET_VERSION = 4;
238
- static readonly OFFSET_ID = 8;
239
- static readonly OFFSET_COUNT = 12;
240
- tag: number;
241
- version: number;
242
- id: number;
243
- count: number;
244
- static fromBuffer(data: Base64EncodedDataResponse, offset?: number): TraceAccountHeaderModel;
245
- }
246
214
  export declare class CandleModel {
247
215
  static readonly LENGTH: number;
248
216
  static readonly OFFSET_OPEN = 0;
@@ -287,143 +255,157 @@ export declare class InstrAccountHeaderModel {
287
255
  static readonly OFFSET_ASSET_TOKEN_ID = 12;
288
256
  static readonly OFFSET_CRNCY_TOKEN_ID = 16;
289
257
  static readonly OFFSET_MASK = 20;
290
- static readonly OFFSET_MAPS_ADDRESS = 24;
291
- static readonly OFFSET_PERP_MAPS_ADDRESS = 56;
292
- static readonly OFFSET_LUT_ADDRESS = 88;
293
- static readonly OFFSET_FEED_ID = 120;
294
- static readonly OFFSET_DRV_COUNT = 152;
295
- static readonly OFFSET_ASSET_TOKEN_DECS_COUNT = 156;
296
- static readonly OFFSET_CRNCY_TOKEN_DECS_COUNT = 160;
297
- static readonly OFFSET_SLOT = 164;
298
- static readonly OFFSET_CREATOR = 168;
299
- static readonly OFFSET_LAST_TIME = 200;
300
- static readonly OFFSET_DISTRIB_TIME = 204;
301
- static readonly OFFSET_BASE_CRNCY_INDEX = 208;
302
- static readonly OFFSET_INSTANCE_COUNTER = 212;
303
- static readonly OFFSET_VARIANCE_COUNTER = 216;
304
- static readonly OFFSET_BIDS_TREE_NODES_COUNT = 220;
305
- static readonly OFFSET_BIDS_TREE_LINES_ENTRY = 224;
306
- static readonly OFFSET_BIDS_TREE_ORDERS_ENTRY = 228;
307
- static readonly OFFSET_ASKS_TREE_NODES_COUNT = 232;
308
- static readonly OFFSET_ASKS_TREE_LINES_ENTRY = 236;
309
- static readonly OFFSET_ASKS_TREE_ORDERS_ENTRY = 240;
310
- static readonly OFFSET_BID_LINES_BEGIN = 244;
311
- static readonly OFFSET_BID_LINES_END = 248;
312
- static readonly OFFSET_BID_LINES_COUNT = 252;
313
- static readonly OFFSET_ASK_LINES_BEGIN = 256;
314
- static readonly OFFSET_ASK_LINES_END = 260;
315
- static readonly OFFSET_ASK_LINES_COUNT = 264;
316
- static readonly OFFSET_BID_ORDERS_COUNT = 268;
317
- static readonly OFFSET_ASK_ORDERS_COUNT = 272;
318
- static readonly OFFSET_FIXING_TIME = 276;
319
- static readonly OFFSET_FIXING_CRNCY_TOKENS = 280;
320
- static readonly OFFSET_FIXING_ASSET_TOKENS = 288;
321
- static readonly OFFSET_COUNTER = 296;
322
- static readonly OFFSET_ASSET_TOKENS = 304;
323
- static readonly OFFSET_CRNCY_TOKENS = 312;
324
- static readonly OFFSET_POOL_FEES = 320;
325
- static readonly OFFSET_PS = 328;
326
- static readonly OFFSET_PROTOCOL_FEES = 336;
327
- static readonly OFFSET_HITS_COUNTER = 344;
328
- static readonly OFFSET_LAST_ASSET_TOKENS = 352;
329
- static readonly OFFSET_LAST_CRNCY_TOKENS = 360;
330
- static readonly OFFSET_PERP_UNDERLYING_PX = 368;
331
- static readonly OFFSET_LAST_PX = 376;
332
- static readonly OFFSET_BEST_BID = 384;
333
- static readonly OFFSET_BEST_ASK = 392;
334
- static readonly OFFSET_FIXING_PX = 400;
335
- static readonly OFFSET_VARIANCE = 408;
336
- static readonly OFFSET_AVG_SPREAD = 416;
337
- static readonly OFFSET_LAST_SPREAD = 424;
338
- static readonly OFFSET_LAST_SPREAD_TIME = 432;
339
- static readonly OFFSET_TOTAL_SPREAD_PERIOD = 436;
340
- static readonly OFFSET_LAST_CLOSE = 440;
341
- static readonly OFFSET_DAY_ASSET_TOKENS = 448;
342
- static readonly OFFSET_DAY_CRNCY_TOKENS = 456;
343
- static readonly OFFSET_DAY_LOW = 464;
344
- static readonly OFFSET_DAY_HIGH = 472;
345
- static readonly OFFSET_PREV_DAY_ASSET_TOKENS = 480;
346
- static readonly OFFSET_PREV_DAY_CRNCY_TOKENS = 488;
347
- static readonly OFFSET_ALLTIME_ASSET_TOKENS = 496;
348
- static readonly OFFSET_ALLTIME_CRNCY_TOKENS = 504;
349
- static readonly OFFSET_DAY_TRADES = 512;
350
- static readonly OFFSET_PREV_DAY_TRADES = 516;
351
- static readonly OFFSET_LP_DAY_TRADES = 520;
352
- static readonly OFFSET_LP_PREV_DAY_TRADES = 524;
353
- static readonly OFFSET_ALLTIME_TRADES = 528;
354
- static readonly OFFSET_DEC_FACTOR = 536;
355
- static readonly OFFSET_PERP_CLIENTS_COUNT = 544;
356
- static readonly OFFSET_PERP_SLOT = 548;
357
- static readonly OFFSET_PERP_TIME = 552;
358
- static readonly OFFSET_PERP_FUNDING_RATE_SLOT = 556;
359
- static readonly OFFSET_PERP_FUNDING_RATE_TIME = 560;
360
- static readonly OFFSET_PERP_LONG_PX_TREE_NODES_COUNT = 564;
361
- static readonly OFFSET_PERP_LONG_PX_TREE_ENTRY = 568;
362
- static readonly OFFSET_PERP_SHORT_PX_TREE_NODES_COUNT = 572;
363
- static readonly OFFSET_PERP_SHORT_PX_TREE_ENTRY = 576;
364
- static readonly OFFSET_PERP_REBALANCE_TIME_TREE_NODES_COUNT = 580;
365
- static readonly OFFSET_PERP_REBALANCE_TIME_TREE_ENTRY = 584;
366
- static readonly OFFSET_PERP_BIDS_TREE_NODES_COUNT = 588;
367
- static readonly OFFSET_PERP_BIDS_TREE_LINES_ENTRY = 592;
368
- static readonly OFFSET_PERP_BIDS_TREE_ORDERS_ENTRY = 596;
369
- static readonly OFFSET_PERP_ASKS_TREE_NODES_COUNT = 600;
370
- static readonly OFFSET_PERP_ASKS_TREE_LINES_ENTRY = 604;
371
- static readonly OFFSET_PERP_ASKS_TREE_ORDERS_ENTRY = 608;
372
- static readonly OFFSET_PERP_BID_LINES_BEGIN = 612;
373
- static readonly OFFSET_PERP_BID_LINES_END = 616;
374
- static readonly OFFSET_PERP_BID_LINES_COUNT = 620;
375
- static readonly OFFSET_PERP_ASK_LINES_BEGIN = 624;
376
- static readonly OFFSET_PERP_ASK_LINES_END = 628;
377
- static readonly OFFSET_PERP_ASK_LINES_COUNT = 632;
378
- static readonly OFFSET_PERP_BID_ORDERS_COUNT = 636;
379
- static readonly OFFSET_PERP_ASK_ORDERS_COUNT = 640;
380
- static readonly OFFSET_PERP_DAY_TRADES = 644;
381
- static readonly OFFSET_PERP_PREV_DAY_TRADES = 648;
382
- static readonly OFFSET_CREATION_TIME = 652;
383
- static readonly OFFSET_PERP_ALLTIME_TRADES = 656;
384
- static readonly OFFSET_PERP_SPOT_PRICE_FOR_WITHDROWAL = 664;
385
- static readonly OFFSET_PERP_SOC_LOSS_LONG_RATE = 672;
386
- static readonly OFFSET_PERP_SOC_LOSS_SHORT_RATE = 680;
387
- static readonly OFFSET_PERP_OPEN_INT = 688;
388
- static readonly OFFSET_PERP_PRICE_DELTA = 696;
389
- static readonly OFFSET_PERP_FUNDING_RATE = 704;
390
- static readonly OFFSET_PERP_FUNDING_FUNDS = 712;
391
- static readonly OFFSET_PERP_SOC_LOSS_FUNDS = 720;
392
- static readonly OFFSET_PERP_INSURANCE_FUND = 728;
393
- static readonly OFFSET_PERP_LAST_CLOSE = 736;
394
- static readonly OFFSET_PERP_LAST_ASSET_TOKENS = 744;
395
- static readonly OFFSET_PERP_LAST_CRNCY_TOKENS = 752;
396
- static readonly OFFSET_PERP_LAST_PX = 760;
397
- static readonly OFFSET_PERP_BEST_BID = 768;
398
- static readonly OFFSET_PERP_BEST_ASK = 776;
399
- static readonly OFFSET_PERP_DAY_ASSET_TOKENS = 784;
400
- static readonly OFFSET_PERP_DAY_CRNCY_TOKENS = 792;
401
- static readonly OFFSET_PERP_DAY_LOW = 800;
402
- static readonly OFFSET_PERP_DAY_HIGH = 808;
403
- static readonly OFFSET_PERP_PREV_DAY_ASSET_TOKENS = 816;
404
- static readonly OFFSET_PERP_PREV_DAY_CRNCY_TOKENS = 824;
405
- static readonly OFFSET_PERP_ALLTIME_ASSET_TOKENS = 832;
406
- static readonly OFFSET_PERP_ALLTIME_CRNCY_TOKENS = 840;
407
- static readonly OFFSET_MAX_LEVERAGE = 848;
408
- static readonly OFFSET_DAY_VOLATILITY = 856;
409
- static readonly OFFSET_LIQUIDATION_THRESHOLD = 864;
410
- static readonly OFFSET_SEATS_RESERVE = 872;
411
- static readonly OFFSET_RESERVED_VALUE1 = 880;
412
- static readonly OFFSET_RESERVED_VALUE2 = 888;
413
- static readonly OFFSET_RESERVED_VALUE3 = 896;
414
- static readonly OFFSET_RESERVED_VALUE4 = 904;
415
- static readonly OFFSET_RESERVED_VALUE5 = 912;
416
- static readonly OFFSET_RESERVED_VALUE6 = 920;
417
- static readonly OFFSET_RESERVED_VALUE7 = 928;
418
- static readonly OFFSET_RESERVED_VALUE8 = 936;
419
- static readonly OFFSET_RESERVED_VALUE9 = 944;
420
- static readonly OFFSET_RESERVED_VALUE10 = 952;
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;
421
389
  tag: number;
422
390
  version: number;
423
391
  instrId: number;
424
392
  assetTokenId: number;
425
393
  crncyTokenId: number;
426
394
  mask: number;
395
+ assetTokens: number;
396
+ crncyTokens: number;
397
+ ps: number;
398
+ poolFees: number;
399
+ lastPx: number;
400
+ lastClose: number;
401
+ alltimeTrades: number;
402
+ prevDayTrades: number;
403
+ dayVolatility: number;
404
+ perpLastPx: number;
405
+ perpLastClose: number;
406
+ perpAlltimeTrades: number;
407
+ perpPrevDayTrades: number;
408
+ perpOpenInt: number;
427
409
  mapsAddress: Address<any>;
428
410
  perpMapsAddress: Address<any>;
429
411
  lutAddress: Address<any>;
@@ -456,16 +438,11 @@ export declare class InstrAccountHeaderModel {
456
438
  fixingCrncyTokens: number;
457
439
  fixingAssetTokens: number;
458
440
  counter: number;
459
- assetTokens: number;
460
- crncyTokens: number;
461
- poolFees: number;
462
- ps: number;
463
441
  protocolFees: number;
464
442
  hitsCounter: number;
465
443
  lastAssetTokens: number;
466
444
  lastCrncyTokens: number;
467
445
  perpUnderlyingPx: number;
468
- lastPx: number;
469
446
  bestBid: number;
470
447
  bestAsk: number;
471
448
  fixingPx: number;
@@ -474,7 +451,6 @@ export declare class InstrAccountHeaderModel {
474
451
  lastSpread: number;
475
452
  lastSpreadTime: number;
476
453
  totalSpreadPeriod: number;
477
- lastClose: number;
478
454
  dayAssetTokens: number;
479
455
  dayCrncyTokens: number;
480
456
  dayLow: number;
@@ -484,10 +460,9 @@ export declare class InstrAccountHeaderModel {
484
460
  alltimeAssetTokens: number;
485
461
  alltimeCrncyTokens: number;
486
462
  dayTrades: number;
487
- prevDayTrades: number;
488
463
  lpDayTrades: number;
489
464
  lpPrevDayTrades: number;
490
- alltimeTrades: number;
465
+ creationTime: number;
491
466
  decFactor: number;
492
467
  perpClientsCount: number;
493
468
  perpSlot: number;
@@ -515,22 +490,16 @@ export declare class InstrAccountHeaderModel {
515
490
  perpBidOrdersCount: number;
516
491
  perpAskOrdersCount: number;
517
492
  perpDayTrades: number;
518
- perpPrevDayTrades: number;
519
- creationTime: number;
520
- perpAlltimeTrades: number;
521
493
  perpSpotPriceForWithdrowal: number;
522
494
  perpSocLossLongRate: number;
523
495
  perpSocLossShortRate: number;
524
- perpOpenInt: number;
525
496
  perpPriceDelta: number;
526
497
  perpFundingRate: number;
527
498
  perpFundingFunds: number;
528
499
  perpSocLossFunds: number;
529
500
  perpInsuranceFund: number;
530
- perpLastClose: number;
531
501
  perpLastAssetTokens: number;
532
502
  perpLastCrncyTokens: number;
533
- perpLastPx: number;
534
503
  perpBestBid: number;
535
504
  perpBestAsk: number;
536
505
  perpDayAssetTokens: number;
@@ -542,7 +511,6 @@ export declare class InstrAccountHeaderModel {
542
511
  perpAlltimeAssetTokens: number;
543
512
  perpAlltimeCrncyTokens: number;
544
513
  maxLeverage: number;
545
- dayVolatility: number;
546
514
  liquidationThreshold: number;
547
515
  seatsReserve: number;
548
516
  reservedValue1: number;
@@ -563,24 +531,22 @@ export declare class RootStateModel {
563
531
  static readonly OFFSET_VERSION = 4;
564
532
  static readonly OFFSET_OPERATOR_ADDRESS = 8;
565
533
  static readonly OFFSET_HOLDER_ADDRESS = 40;
566
- static readonly OFFSET_COMMUNITY_ADDRESS = 72;
567
- static readonly OFFSET_PDF_ADDRESS = 104;
568
- static readonly OFFSET_DRVS_MINT_ADDRESS = 136;
569
- static readonly OFFSET_LUT_ADDRESS = 168;
570
- static readonly OFFSET_REF_PROGRAM_DURATION = 200;
571
- static readonly OFFSET_REF_LINK_DURATION = 204;
572
- static readonly OFFSET_REF_DISCOUNT = 208;
573
- static readonly OFFSET_REF_RATIO = 216;
574
- static readonly OFFSET_CLIENTS_COUNT = 224;
575
- static readonly OFFSET_TOKENS_COUNT = 228;
576
- static readonly OFFSET_INSTR_COUNT = 232;
577
- static readonly OFFSET_REF_COUNTER = 236;
534
+ static readonly OFFSET_DRVS_MINT_ADDRESS = 72;
535
+ 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;
578
546
  tag: number;
579
547
  version: number;
580
548
  operatorAddress: Address<any>;
581
549
  holderAddress: Address<any>;
582
- communityAddress: Address<any>;
583
- pdfAddress: Address<any>;
584
550
  drvsMintAddress: Address<any>;
585
551
  lutAddress: Address<any>;
586
552
  refProgramDuration: number;
@@ -591,6 +557,8 @@ export declare class RootStateModel {
591
557
  tokensCount: number;
592
558
  instrCount: number;
593
559
  refCounter: number;
560
+ mask: number;
561
+ reserved: number;
594
562
  static fromBuffer(data: Base64EncodedDataResponse, offset?: number): RootStateModel;
595
563
  }
596
564
  export declare class TokenStateModel {
@@ -764,45 +732,41 @@ export declare class ClientPrimaryAccountHeaderModel {
764
732
  static readonly OFFSET_TAG = 0;
765
733
  static readonly OFFSET_VERSION = 4;
766
734
  static readonly OFFSET_WALLET_ADDRESS = 8;
767
- static readonly OFFSET_DRV_ADDRESS = 40;
768
- static readonly OFFSET_COMMUNITY_ADDRESS = 72;
769
- static readonly OFFSET_LUT_ADDRESS = 104;
770
- static readonly OFFSET_REF_ADDRESS = 136;
771
- static readonly OFFSET_FIRST_REF_LINK_DISCOUNT = 168;
772
- static readonly OFFSET_SECOND_REF_LINK_DISCOUNT = 176;
773
- static readonly OFFSET_FIRST_REF_LINK_RATIO = 184;
774
- static readonly OFFSET_SECOND_REF_LINK_RATIO = 192;
775
- static readonly OFFSET_REF_PROGRAM_DISCOUNT = 200;
776
- static readonly OFFSET_REF_PROGRAM_RATIO = 208;
777
- static readonly OFFSET_RESERVED = 216;
778
- static readonly OFFSET_MASK = 224;
779
- static readonly OFFSET_ID = 232;
780
- static readonly OFFSET_REF_CLIENT_ID = 236;
781
- static readonly OFFSET_REF_COUNTER = 240;
782
- static readonly OFFSET_FIRST_REF_LINK_ID = 244;
783
- static readonly OFFSET_SECOND_REF_LINK_ID = 248;
784
- static readonly OFFSET_FIRST_REF_LINK_EXPIRATION = 252;
785
- static readonly OFFSET_SECOND_REF_LINK_EXPIRATION = 256;
786
- static readonly OFFSET_REF_PROGRAM_EXPIRATION = 260;
787
- static readonly OFFSET_SPOT_TRADES = 264;
788
- static readonly OFFSET_PERP_TRADES = 268;
789
- static readonly OFFSET_LP_TRADES = 272;
790
- static readonly OFFSET_POINTS = 276;
791
- static readonly OFFSET_SLOT = 280;
792
- static readonly OFFSET_ASSETS_COUNT = 284;
793
- static readonly OFFSET_RESERVED_VALUE1 = 288;
794
- static readonly OFFSET_RESERVED_VALUE2 = 296;
795
- static readonly OFFSET_RESERVED_VALUE3 = 304;
796
- static readonly OFFSET_RESERVED_VALUE4 = 312;
797
- static readonly OFFSET_RESERVED_VALUE5 = 320;
798
- static readonly OFFSET_RESERVED_VALUE6 = 328;
799
- static readonly OFFSET_RESERVED_VALUE7 = 336;
800
- static readonly OFFSET_RESERVED_VALUE8 = 344;
735
+ static readonly OFFSET_LUT_ADDRESS = 40;
736
+ 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;
801
767
  tag: number;
802
768
  version: number;
803
769
  walletAddress: Address<any>;
804
- drvAddress: Address<any>;
805
- communityAddress: Address<any>;
806
770
  lutAddress: Address<any>;
807
771
  refAddress: Address<any>;
808
772
  firstRefLinkDiscount: number;
@@ -837,22 +801,6 @@ export declare class ClientPrimaryAccountHeaderModel {
837
801
  reservedValue8: number;
838
802
  static fromBuffer(data: Base64EncodedDataResponse, offset?: number): ClientPrimaryAccountHeaderModel;
839
803
  }
840
- export declare class ClientDrvAccountHeaderModel {
841
- static readonly LENGTH: number;
842
- static readonly OFFSET_TAG = 0;
843
- static readonly OFFSET_VERSION = 4;
844
- static readonly OFFSET_ID = 8;
845
- static readonly OFFSET_COUNT = 12;
846
- static readonly OFFSET_SLOT = 16;
847
- static readonly OFFSET_RESERVED = 20;
848
- tag: number;
849
- version: number;
850
- id: number;
851
- count: number;
852
- slot: number;
853
- reserved: number;
854
- static fromBuffer(data: Base64EncodedDataResponse, offset?: number): ClientDrvAccountHeaderModel;
855
- }
856
804
  export declare class OrderModel {
857
805
  static readonly LENGTH: number;
858
806
  static readonly OFFSET_QTY = 0;
@@ -903,3 +851,13 @@ export declare class PxOrdersModel {
903
851
  end: number;
904
852
  static fromBuffer(data: Base64EncodedDataResponse, offset?: number): PxOrdersModel;
905
853
  }
854
+ export declare class PrivateClientModel {
855
+ static readonly LENGTH: number;
856
+ static readonly OFFSET_CREATION_TIME = 0;
857
+ static readonly OFFSET_EXPIRATION_TIME = 4;
858
+ static readonly OFFSET_WALLET = 8;
859
+ creationTime: number;
860
+ expirationTime: number;
861
+ wallet: Address<any>;
862
+ static fromBuffer(data: Base64EncodedDataResponse, offset?: number): PrivateClientModel;
863
+ }