@ton/ton 13.5.1 → 13.7.0

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.
@@ -101,25 +101,7 @@ export declare class TonClient {
101
101
  * @param hash transaction hash
102
102
  * @returns transaction or null if not exist
103
103
  */
104
- getTransaction(address: Address, lt: string, hash: string): Promise<{
105
- address: bigint;
106
- lt: bigint;
107
- prevTransactionHash: bigint;
108
- prevTransactionLt: bigint;
109
- now: number;
110
- outMessagesCount: number;
111
- oldStatus: import("@ton/core").AccountStatus; /**
112
- * Get Address Balance
113
- * @param address address for balance check
114
- * @returns balance
115
- */
116
- endStatus: import("@ton/core").AccountStatus;
117
- inMessage: Message | undefined;
118
- outMessages: import("@ton/core").Dictionary<number, Message>;
119
- totalFees: import("@ton/core").CurrencyCollection;
120
- stateUpdate: import("@ton/core").HashUpdate;
121
- description: import("@ton/core").TransactionDescription;
122
- } | null>;
104
+ getTransaction(address: Address, lt: string, hash: string): Promise<Transaction | null>;
123
105
  /**
124
106
  * Fetch latest masterchain info
125
107
  * @returns masterchain info
@@ -184,7 +184,7 @@ class TonClient4 {
184
184
  */
185
185
  async runMethod(seqno, address, name, args) {
186
186
  let tail = args && args.length > 0 ? '/' + (0, toUrlSafe_1.toUrlSafe)((0, core_1.serializeTuple)(args).toBoc({ idx: false, crc32: false }).toString('base64')) : '';
187
- let url = __classPrivateFieldGet(this, _TonClient4_endpoint, "f") + '/block/' + seqno + '/' + address.toString({ urlSafe: true }) + '/run/' + name + tail;
187
+ let url = __classPrivateFieldGet(this, _TonClient4_endpoint, "f") + '/block/' + seqno + '/' + address.toString({ urlSafe: true }) + '/run/' + encodeURIComponent(name) + tail;
188
188
  let res = await axios_1.default.get(url, { adapter: __classPrivateFieldGet(this, _TonClient4_adapter, "f"), timeout: __classPrivateFieldGet(this, _TonClient4_timeout, "f") });
189
189
  let runMethod = runMethodCodec.safeParse(res.data);
190
190
  if (!runMethod.success) {
@@ -150,7 +150,8 @@ class HttpApi {
150
150
  this.cache = new TonCache_1.InMemoryCache();
151
151
  this.parameters = {
152
152
  timeout: parameters?.timeout || 30000,
153
- apiKey: parameters?.apiKey
153
+ apiKey: parameters?.apiKey,
154
+ adapter: parameters?.adapter
154
155
  };
155
156
  // Shard
156
157
  this.shardCache = new TypedCache('ton-shard', this.cache, zod_1.z.array(blockIdExt), (src) => src + '');
@@ -260,6 +261,7 @@ class HttpApi {
260
261
  }), {
261
262
  headers,
262
263
  timeout: this.parameters.timeout,
264
+ adapter: this.parameters.adapter
263
265
  });
264
266
  if (res.status !== 200 || !res.data.ok) {
265
267
  throw Error('Received error: ' + JSON.stringify(res.data));
@@ -0,0 +1,622 @@
1
+ /// <reference types="node" />
2
+ import { Address, Slice, Cell, Dictionary } from "@ton/core";
3
+ export declare function configParseMasterAddress(slice: Slice | null | undefined): Address | null;
4
+ export declare function parseValidatorSet(slice: Slice): {
5
+ timeSince: number;
6
+ timeUntil: number;
7
+ total: number;
8
+ main: number;
9
+ totalWeight: null;
10
+ list: Dictionary<number, {
11
+ publicKey: Buffer;
12
+ weight: bigint;
13
+ adnlAddress: Buffer | null;
14
+ }>;
15
+ } | {
16
+ timeSince: number;
17
+ timeUntil: number;
18
+ total: number;
19
+ main: number;
20
+ totalWeight: bigint;
21
+ list: Dictionary<number, {
22
+ publicKey: Buffer;
23
+ weight: bigint;
24
+ adnlAddress: Buffer | null;
25
+ }>;
26
+ } | undefined;
27
+ export declare function parseBridge(slice: Slice): {
28
+ bridgeAddress: Address;
29
+ oracleMultisigAddress: Address;
30
+ oracles: Map<string, Buffer>;
31
+ externalChainAddress: Buffer;
32
+ };
33
+ export declare function configParseMasterAddressRequired(slice: Slice | null | undefined): Address;
34
+ export declare function configParse5(slice: Slice | null | undefined): {
35
+ blackholeAddr: Address | null;
36
+ feeBurnNominator: number;
37
+ feeBurnDenominator: number;
38
+ };
39
+ export declare function configParse13(slice: Slice | null | undefined): {
40
+ deposit: bigint;
41
+ bitPrice: bigint;
42
+ cellPrice: bigint;
43
+ };
44
+ export declare function configParse15(slice: Slice | null | undefined): {
45
+ validatorsElectedFor: number;
46
+ electorsStartBefore: number;
47
+ electorsEndBefore: number;
48
+ stakeHeldFor: number;
49
+ };
50
+ export declare function configParse16(slice: Slice | null | undefined): {
51
+ maxValidators: number;
52
+ maxMainValidators: number;
53
+ minValidators: number;
54
+ };
55
+ export declare function configParse17(slice: Slice | null | undefined): {
56
+ minStake: bigint;
57
+ maxStake: bigint;
58
+ minTotalStake: bigint;
59
+ maxStakeFactor: number;
60
+ };
61
+ export declare type StoragePrices = {
62
+ utime_since: number;
63
+ bit_price_ps: bigint;
64
+ cell_price_ps: bigint;
65
+ mc_bit_price_ps: bigint;
66
+ mc_cell_price_ps: bigint;
67
+ };
68
+ export declare function configParse18(slice: Slice | null | undefined): StoragePrices[];
69
+ export declare function configParse8(slice: Slice | null | undefined): {
70
+ version: number;
71
+ capabilities: bigint;
72
+ };
73
+ export declare function configParse40(slice: Slice | null | undefined): {
74
+ defaultFlatFine: bigint;
75
+ defaultProportionaFine: bigint;
76
+ severityFlatMult: number;
77
+ severityProportionalMult: number;
78
+ unfunishableInterval: number;
79
+ longInterval: number;
80
+ longFlatMult: number;
81
+ longProportionalMult: number;
82
+ mediumInterval: number;
83
+ mediumFlatMult: number;
84
+ mediumProportionalMult: number;
85
+ } | null;
86
+ export declare function configParseWorkchainDescriptor(slice: Slice): WorkchainDescriptor;
87
+ export declare type WorkchainDescriptor = {
88
+ enabledSince: number;
89
+ actialMinSplit: number;
90
+ min_split: number;
91
+ max_split: number;
92
+ basic: boolean;
93
+ active: boolean;
94
+ accept_msgs: boolean;
95
+ flags: number;
96
+ zerostateRootHash: Buffer;
97
+ zerostateFileHash: Buffer;
98
+ version: number;
99
+ format: {
100
+ vmVersion: number;
101
+ vmMode: bigint;
102
+ };
103
+ };
104
+ export declare function configParse12(slice: Slice | null | undefined): Dictionary<number, WorkchainDescriptor>;
105
+ export declare function configParseValidatorSet(slice: Slice | null | undefined): {
106
+ timeSince: number;
107
+ timeUntil: number;
108
+ total: number;
109
+ main: number;
110
+ totalWeight: null;
111
+ list: Dictionary<number, {
112
+ publicKey: Buffer;
113
+ weight: bigint;
114
+ adnlAddress: Buffer | null;
115
+ }>;
116
+ } | {
117
+ timeSince: number;
118
+ timeUntil: number;
119
+ total: number;
120
+ main: number;
121
+ totalWeight: bigint;
122
+ list: Dictionary<number, {
123
+ publicKey: Buffer;
124
+ weight: bigint;
125
+ adnlAddress: Buffer | null;
126
+ }>;
127
+ } | null | undefined;
128
+ export declare function configParseBridge(slice: Slice | null | undefined): {
129
+ bridgeAddress: Address;
130
+ oracleMultisigAddress: Address;
131
+ oracles: Map<string, Buffer>;
132
+ externalChainAddress: Buffer;
133
+ } | null;
134
+ export declare type GasLimitsPrices = ReturnType<typeof configParseGasLimitsPrices>;
135
+ export declare function configParseGasLimitsPrices(slice: Slice | null | undefined): {
136
+ flatLimit: bigint;
137
+ flatGasPrice: bigint;
138
+ other: {
139
+ gasPrice: bigint;
140
+ gasLimit: bigint;
141
+ specialGasLimit: bigint;
142
+ gasCredit: bigint;
143
+ blockGasLimit: bigint;
144
+ freezeDueLimit: bigint;
145
+ deleteDueLimit: bigint;
146
+ } | {
147
+ gasPrice: bigint;
148
+ gasLimit: bigint;
149
+ gasCredit: bigint;
150
+ blockGasLimit: bigint;
151
+ freezeDueLimit: bigint;
152
+ deleteDueLimit: bigint;
153
+ specialGasLimit?: undefined;
154
+ };
155
+ };
156
+ export declare type MsgPrices = ReturnType<typeof configParseMsgPrices>;
157
+ export declare function configParseMsgPrices(slice: Slice | null | undefined): {
158
+ lumpPrice: bigint;
159
+ bitPrice: bigint;
160
+ cellPrice: bigint;
161
+ ihrPriceFactor: number;
162
+ firstFrac: number;
163
+ nextFrac: number;
164
+ };
165
+ export declare function configParse28(slice: Slice | null | undefined): {
166
+ masterCatchainLifetime: number;
167
+ shardCatchainLifetime: number;
168
+ shardValidatorsLifetime: number;
169
+ shardValidatorsCount: number;
170
+ flags?: undefined;
171
+ suffleMasterValidators?: undefined;
172
+ } | {
173
+ flags: number;
174
+ suffleMasterValidators: boolean;
175
+ masterCatchainLifetime: number;
176
+ shardCatchainLifetime: number;
177
+ shardValidatorsLifetime: number;
178
+ shardValidatorsCount: number;
179
+ };
180
+ export declare function configParse29(slice: Slice | null | undefined): {
181
+ roundCandidates: number;
182
+ nextCandidateDelay: number;
183
+ consensusTimeout: number;
184
+ fastAttempts: number;
185
+ attemptDuration: number;
186
+ catchainMaxDeps: number;
187
+ maxBlockBytes: number;
188
+ maxColaltedBytes: number;
189
+ flags?: undefined;
190
+ newCatchainIds?: undefined;
191
+ protoVersion?: undefined;
192
+ catchainMaxBlocksCoeff?: undefined;
193
+ } | {
194
+ flags: number;
195
+ newCatchainIds: boolean;
196
+ roundCandidates: number;
197
+ nextCandidateDelay: number;
198
+ consensusTimeout: number;
199
+ fastAttempts: number;
200
+ attemptDuration: number;
201
+ catchainMaxDeps: number;
202
+ maxBlockBytes: number;
203
+ maxColaltedBytes: number;
204
+ protoVersion?: undefined;
205
+ catchainMaxBlocksCoeff?: undefined;
206
+ } | {
207
+ flags: number;
208
+ newCatchainIds: boolean;
209
+ roundCandidates: number;
210
+ nextCandidateDelay: number;
211
+ consensusTimeout: number;
212
+ fastAttempts: number;
213
+ attemptDuration: number;
214
+ catchainMaxDeps: number;
215
+ maxBlockBytes: number;
216
+ maxColaltedBytes: number;
217
+ protoVersion: number;
218
+ catchainMaxBlocksCoeff?: undefined;
219
+ } | {
220
+ flags: number;
221
+ newCatchainIds: boolean;
222
+ roundCandidates: number;
223
+ nextCandidateDelay: number;
224
+ consensusTimeout: number;
225
+ fastAttempts: number;
226
+ attemptDuration: number;
227
+ catchainMaxDeps: number;
228
+ maxBlockBytes: number;
229
+ maxColaltedBytes: number;
230
+ protoVersion: number;
231
+ catchainMaxBlocksCoeff: number;
232
+ };
233
+ export declare function parseProposalSetup(slice: Slice): {
234
+ minTotalRounds: number;
235
+ maxTotalRounds: number;
236
+ minWins: number;
237
+ maxLoses: number;
238
+ minStoreSec: number;
239
+ maxStoreSec: number;
240
+ bitPrice: number;
241
+ cellPrice: number;
242
+ };
243
+ export declare function parseVotingSetup(slice: Slice | null | undefined): {
244
+ normalParams: {
245
+ minTotalRounds: number;
246
+ maxTotalRounds: number;
247
+ minWins: number;
248
+ maxLoses: number;
249
+ minStoreSec: number;
250
+ maxStoreSec: number;
251
+ bitPrice: number;
252
+ cellPrice: number;
253
+ };
254
+ criticalParams: {
255
+ minTotalRounds: number;
256
+ maxTotalRounds: number;
257
+ minWins: number;
258
+ maxLoses: number;
259
+ minStoreSec: number;
260
+ maxStoreSec: number;
261
+ bitPrice: number;
262
+ cellPrice: number;
263
+ };
264
+ };
265
+ export declare function loadConfigParamById(configBase64: string, id: number): Cell;
266
+ export declare function loadConfigParamsAsSlice(configBase64: string): Map<number, Slice>;
267
+ export declare function parseFullConfig(configs: Map<number, Slice>): {
268
+ configAddress: Address;
269
+ electorAddress: Address;
270
+ minterAddress: Address | null;
271
+ feeCollectorAddress: Address | null;
272
+ dnsRootAddress: Address | null;
273
+ burningConfig: {
274
+ blackholeAddr: Address | null;
275
+ feeBurnNominator: number;
276
+ feeBurnDenominator: number;
277
+ };
278
+ globalVersion: {
279
+ version: number;
280
+ capabilities: bigint;
281
+ };
282
+ workchains: Dictionary<number, WorkchainDescriptor>;
283
+ voting: {
284
+ normalParams: {
285
+ minTotalRounds: number;
286
+ maxTotalRounds: number;
287
+ minWins: number;
288
+ maxLoses: number;
289
+ minStoreSec: number;
290
+ maxStoreSec: number;
291
+ bitPrice: number;
292
+ cellPrice: number;
293
+ };
294
+ criticalParams: {
295
+ minTotalRounds: number;
296
+ maxTotalRounds: number;
297
+ minWins: number;
298
+ maxLoses: number;
299
+ minStoreSec: number;
300
+ maxStoreSec: number;
301
+ bitPrice: number;
302
+ cellPrice: number;
303
+ };
304
+ };
305
+ validators: {
306
+ minStake: bigint;
307
+ maxStake: bigint;
308
+ minTotalStake: bigint;
309
+ maxStakeFactor: number;
310
+ maxValidators: number;
311
+ maxMainValidators: number;
312
+ minValidators: number;
313
+ validatorsElectedFor: number;
314
+ electorsStartBefore: number;
315
+ electorsEndBefore: number;
316
+ stakeHeldFor: number;
317
+ };
318
+ storagePrices: StoragePrices[];
319
+ gasPrices: {
320
+ masterchain: {
321
+ flatLimit: bigint;
322
+ flatGasPrice: bigint;
323
+ other: {
324
+ gasPrice: bigint;
325
+ gasLimit: bigint;
326
+ specialGasLimit: bigint;
327
+ gasCredit: bigint;
328
+ blockGasLimit: bigint;
329
+ freezeDueLimit: bigint;
330
+ deleteDueLimit: bigint;
331
+ } | {
332
+ gasPrice: bigint;
333
+ gasLimit: bigint;
334
+ gasCredit: bigint;
335
+ blockGasLimit: bigint;
336
+ freezeDueLimit: bigint;
337
+ deleteDueLimit: bigint;
338
+ specialGasLimit?: undefined;
339
+ };
340
+ };
341
+ workchain: {
342
+ flatLimit: bigint;
343
+ flatGasPrice: bigint;
344
+ other: {
345
+ gasPrice: bigint;
346
+ gasLimit: bigint;
347
+ specialGasLimit: bigint;
348
+ gasCredit: bigint;
349
+ blockGasLimit: bigint;
350
+ freezeDueLimit: bigint;
351
+ deleteDueLimit: bigint;
352
+ } | {
353
+ gasPrice: bigint;
354
+ gasLimit: bigint;
355
+ gasCredit: bigint;
356
+ blockGasLimit: bigint;
357
+ freezeDueLimit: bigint;
358
+ deleteDueLimit: bigint;
359
+ specialGasLimit?: undefined;
360
+ };
361
+ };
362
+ };
363
+ msgPrices: {
364
+ masterchain: {
365
+ lumpPrice: bigint;
366
+ bitPrice: bigint;
367
+ cellPrice: bigint;
368
+ ihrPriceFactor: number;
369
+ firstFrac: number;
370
+ nextFrac: number;
371
+ };
372
+ workchain: {
373
+ lumpPrice: bigint;
374
+ bitPrice: bigint;
375
+ cellPrice: bigint;
376
+ ihrPriceFactor: number;
377
+ firstFrac: number;
378
+ nextFrac: number;
379
+ };
380
+ };
381
+ validatorSets: {
382
+ prevValidators: {
383
+ timeSince: number;
384
+ timeUntil: number;
385
+ total: number;
386
+ main: number;
387
+ totalWeight: null;
388
+ list: Dictionary<number, {
389
+ publicKey: Buffer;
390
+ weight: bigint;
391
+ adnlAddress: Buffer | null;
392
+ }>;
393
+ } | {
394
+ timeSince: number;
395
+ timeUntil: number;
396
+ total: number;
397
+ main: number;
398
+ totalWeight: bigint;
399
+ list: Dictionary<number, {
400
+ publicKey: Buffer;
401
+ weight: bigint;
402
+ adnlAddress: Buffer | null;
403
+ }>;
404
+ } | null | undefined;
405
+ prevTempValidators: {
406
+ timeSince: number;
407
+ timeUntil: number;
408
+ total: number;
409
+ main: number;
410
+ totalWeight: null;
411
+ list: Dictionary<number, {
412
+ publicKey: Buffer;
413
+ weight: bigint;
414
+ adnlAddress: Buffer | null;
415
+ }>;
416
+ } | {
417
+ timeSince: number;
418
+ timeUntil: number;
419
+ total: number;
420
+ main: number;
421
+ totalWeight: bigint;
422
+ list: Dictionary<number, {
423
+ publicKey: Buffer;
424
+ weight: bigint;
425
+ adnlAddress: Buffer | null;
426
+ }>;
427
+ } | null | undefined;
428
+ currentValidators: {
429
+ timeSince: number;
430
+ timeUntil: number;
431
+ total: number;
432
+ main: number;
433
+ totalWeight: null;
434
+ list: Dictionary<number, {
435
+ publicKey: Buffer;
436
+ weight: bigint;
437
+ adnlAddress: Buffer | null;
438
+ }>;
439
+ } | {
440
+ timeSince: number;
441
+ timeUntil: number;
442
+ total: number;
443
+ main: number;
444
+ totalWeight: bigint;
445
+ list: Dictionary<number, {
446
+ publicKey: Buffer;
447
+ weight: bigint;
448
+ adnlAddress: Buffer | null;
449
+ }>;
450
+ } | null | undefined;
451
+ currentTempValidators: {
452
+ timeSince: number;
453
+ timeUntil: number;
454
+ total: number;
455
+ main: number;
456
+ totalWeight: null;
457
+ list: Dictionary<number, {
458
+ publicKey: Buffer;
459
+ weight: bigint;
460
+ adnlAddress: Buffer | null;
461
+ }>;
462
+ } | {
463
+ timeSince: number;
464
+ timeUntil: number;
465
+ total: number;
466
+ main: number;
467
+ totalWeight: bigint;
468
+ list: Dictionary<number, {
469
+ publicKey: Buffer;
470
+ weight: bigint;
471
+ adnlAddress: Buffer | null;
472
+ }>;
473
+ } | null | undefined;
474
+ nextValidators: {
475
+ timeSince: number;
476
+ timeUntil: number;
477
+ total: number;
478
+ main: number;
479
+ totalWeight: null;
480
+ list: Dictionary<number, {
481
+ publicKey: Buffer;
482
+ weight: bigint;
483
+ adnlAddress: Buffer | null;
484
+ }>;
485
+ } | {
486
+ timeSince: number;
487
+ timeUntil: number;
488
+ total: number;
489
+ main: number;
490
+ totalWeight: bigint;
491
+ list: Dictionary<number, {
492
+ publicKey: Buffer;
493
+ weight: bigint;
494
+ adnlAddress: Buffer | null;
495
+ }>;
496
+ } | null | undefined;
497
+ nextTempValidators: {
498
+ timeSince: number;
499
+ timeUntil: number;
500
+ total: number;
501
+ main: number;
502
+ totalWeight: null;
503
+ list: Dictionary<number, {
504
+ publicKey: Buffer;
505
+ weight: bigint;
506
+ adnlAddress: Buffer | null;
507
+ }>;
508
+ } | {
509
+ timeSince: number;
510
+ timeUntil: number;
511
+ total: number;
512
+ main: number;
513
+ totalWeight: bigint;
514
+ list: Dictionary<number, {
515
+ publicKey: Buffer;
516
+ weight: bigint;
517
+ adnlAddress: Buffer | null;
518
+ }>;
519
+ } | null | undefined;
520
+ };
521
+ validatorsPunish: {
522
+ defaultFlatFine: bigint;
523
+ defaultProportionaFine: bigint;
524
+ severityFlatMult: number;
525
+ severityProportionalMult: number;
526
+ unfunishableInterval: number;
527
+ longInterval: number;
528
+ longFlatMult: number;
529
+ longProportionalMult: number;
530
+ mediumInterval: number;
531
+ mediumFlatMult: number;
532
+ mediumProportionalMult: number;
533
+ } | null;
534
+ bridges: {
535
+ ethereum: {
536
+ bridgeAddress: Address;
537
+ oracleMultisigAddress: Address;
538
+ oracles: Map<string, Buffer>;
539
+ externalChainAddress: Buffer;
540
+ } | null;
541
+ binance: {
542
+ bridgeAddress: Address;
543
+ oracleMultisigAddress: Address;
544
+ oracles: Map<string, Buffer>;
545
+ externalChainAddress: Buffer;
546
+ } | null;
547
+ polygon: {
548
+ bridgeAddress: Address;
549
+ oracleMultisigAddress: Address;
550
+ oracles: Map<string, Buffer>;
551
+ externalChainAddress: Buffer;
552
+ } | null;
553
+ };
554
+ catchain: {
555
+ masterCatchainLifetime: number;
556
+ shardCatchainLifetime: number;
557
+ shardValidatorsLifetime: number;
558
+ shardValidatorsCount: number;
559
+ flags?: undefined;
560
+ suffleMasterValidators?: undefined;
561
+ } | {
562
+ flags: number;
563
+ suffleMasterValidators: boolean;
564
+ masterCatchainLifetime: number;
565
+ shardCatchainLifetime: number;
566
+ shardValidatorsLifetime: number;
567
+ shardValidatorsCount: number;
568
+ };
569
+ consensus: {
570
+ roundCandidates: number;
571
+ nextCandidateDelay: number;
572
+ consensusTimeout: number;
573
+ fastAttempts: number;
574
+ attemptDuration: number;
575
+ catchainMaxDeps: number;
576
+ maxBlockBytes: number;
577
+ maxColaltedBytes: number;
578
+ flags?: undefined;
579
+ newCatchainIds?: undefined;
580
+ protoVersion?: undefined;
581
+ catchainMaxBlocksCoeff?: undefined;
582
+ } | {
583
+ flags: number;
584
+ newCatchainIds: boolean;
585
+ roundCandidates: number;
586
+ nextCandidateDelay: number;
587
+ consensusTimeout: number;
588
+ fastAttempts: number;
589
+ attemptDuration: number;
590
+ catchainMaxDeps: number;
591
+ maxBlockBytes: number;
592
+ maxColaltedBytes: number;
593
+ protoVersion?: undefined;
594
+ catchainMaxBlocksCoeff?: undefined;
595
+ } | {
596
+ flags: number;
597
+ newCatchainIds: boolean;
598
+ roundCandidates: number;
599
+ nextCandidateDelay: number;
600
+ consensusTimeout: number;
601
+ fastAttempts: number;
602
+ attemptDuration: number;
603
+ catchainMaxDeps: number;
604
+ maxBlockBytes: number;
605
+ maxColaltedBytes: number;
606
+ protoVersion: number;
607
+ catchainMaxBlocksCoeff?: undefined;
608
+ } | {
609
+ flags: number;
610
+ newCatchainIds: boolean;
611
+ roundCandidates: number;
612
+ nextCandidateDelay: number;
613
+ consensusTimeout: number;
614
+ fastAttempts: number;
615
+ attemptDuration: number;
616
+ catchainMaxDeps: number;
617
+ maxBlockBytes: number;
618
+ maxColaltedBytes: number;
619
+ protoVersion: number;
620
+ catchainMaxBlocksCoeff: number;
621
+ };
622
+ };