@dedot/chaintypes 0.0.1-alpha.100

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.
Files changed (105) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +5 -0
  3. package/aleph/consts.d.ts +676 -0
  4. package/aleph/errors.d.ts +1054 -0
  5. package/aleph/events.d.ts +1201 -0
  6. package/aleph/index.d.ts +27 -0
  7. package/aleph/json-rpc.d.ts +85 -0
  8. package/aleph/query.d.ts +1573 -0
  9. package/aleph/runtime.d.ts +596 -0
  10. package/aleph/tx.d.ts +3440 -0
  11. package/aleph/types.d.ts +3951 -0
  12. package/astar/consts.d.ts +737 -0
  13. package/astar/errors.d.ts +1508 -0
  14. package/astar/events.d.ts +1878 -0
  15. package/astar/index.d.ts +27 -0
  16. package/astar/json-rpc.d.ts +131 -0
  17. package/astar/query.d.ts +1851 -0
  18. package/astar/runtime.d.ts +803 -0
  19. package/astar/tx.d.ts +4516 -0
  20. package/astar/types.d.ts +6141 -0
  21. package/index.d.ts +11 -0
  22. package/index.js +1 -0
  23. package/index.ts +11 -0
  24. package/kusama/consts.d.ts +1578 -0
  25. package/kusama/errors.d.ts +3152 -0
  26. package/kusama/events.d.ts +3579 -0
  27. package/kusama/index.d.ts +27 -0
  28. package/kusama/json-rpc.d.ts +103 -0
  29. package/kusama/query.d.ts +4229 -0
  30. package/kusama/runtime.d.ts +1196 -0
  31. package/kusama/tx.d.ts +9040 -0
  32. package/kusama/types.d.ts +11369 -0
  33. package/kusamaAssetHub/consts.d.ts +759 -0
  34. package/kusamaAssetHub/errors.d.ts +1494 -0
  35. package/kusamaAssetHub/events.d.ts +2491 -0
  36. package/kusamaAssetHub/index.d.ts +27 -0
  37. package/kusamaAssetHub/json-rpc.d.ts +89 -0
  38. package/kusamaAssetHub/query.d.ts +1662 -0
  39. package/kusamaAssetHub/runtime.d.ts +555 -0
  40. package/kusamaAssetHub/tx.d.ts +6192 -0
  41. package/kusamaAssetHub/types.d.ts +6831 -0
  42. package/moonbeam/consts.d.ts +1010 -0
  43. package/moonbeam/errors.d.ts +1932 -0
  44. package/moonbeam/events.d.ts +2928 -0
  45. package/moonbeam/index.d.ts +27 -0
  46. package/moonbeam/json-rpc.d.ts +137 -0
  47. package/moonbeam/query.d.ts +2282 -0
  48. package/moonbeam/runtime.d.ts +724 -0
  49. package/moonbeam/tx.d.ts +6222 -0
  50. package/moonbeam/types.d.ts +8165 -0
  51. package/package.json +25 -0
  52. package/polkadot/consts.d.ts +1313 -0
  53. package/polkadot/errors.d.ts +2575 -0
  54. package/polkadot/events.d.ts +2757 -0
  55. package/polkadot/index.d.ts +27 -0
  56. package/polkadot/json-rpc.d.ts +103 -0
  57. package/polkadot/query.d.ts +3693 -0
  58. package/polkadot/runtime.d.ts +1196 -0
  59. package/polkadot/tx.d.ts +7706 -0
  60. package/polkadot/types.d.ts +9893 -0
  61. package/polkadotAssetHub/consts.d.ts +724 -0
  62. package/polkadotAssetHub/errors.d.ts +1465 -0
  63. package/polkadotAssetHub/events.d.ts +2462 -0
  64. package/polkadotAssetHub/index.d.ts +27 -0
  65. package/polkadotAssetHub/json-rpc.d.ts +89 -0
  66. package/polkadotAssetHub/query.d.ts +1640 -0
  67. package/polkadotAssetHub/runtime.d.ts +558 -0
  68. package/polkadotAssetHub/tx.d.ts +6121 -0
  69. package/polkadotAssetHub/types.d.ts +6739 -0
  70. package/rococo/consts.d.ts +1423 -0
  71. package/rococo/errors.d.ts +2783 -0
  72. package/rococo/events.d.ts +3361 -0
  73. package/rococo/index.d.ts +27 -0
  74. package/rococo/json-rpc.d.ts +103 -0
  75. package/rococo/query.d.ts +3561 -0
  76. package/rococo/runtime.d.ts +1257 -0
  77. package/rococo/tx.d.ts +10721 -0
  78. package/rococo/types.d.ts +14828 -0
  79. package/rococoAssetHub/consts.d.ts +787 -0
  80. package/rococoAssetHub/errors.d.ts +1523 -0
  81. package/rococoAssetHub/events.d.ts +2517 -0
  82. package/rococoAssetHub/index.d.ts +27 -0
  83. package/rococoAssetHub/json-rpc.d.ts +89 -0
  84. package/rococoAssetHub/query.d.ts +1682 -0
  85. package/rococoAssetHub/runtime.d.ts +704 -0
  86. package/rococoAssetHub/tx.d.ts +9013 -0
  87. package/rococoAssetHub/types.d.ts +12352 -0
  88. package/substrate/consts.d.ts +2223 -0
  89. package/substrate/errors.d.ts +4023 -0
  90. package/substrate/events.d.ts +5430 -0
  91. package/substrate/index.d.ts +27 -0
  92. package/substrate/json-rpc.d.ts +101 -0
  93. package/substrate/query.d.ts +4083 -0
  94. package/substrate/runtime.d.ts +971 -0
  95. package/substrate/tx.d.ts +12501 -0
  96. package/substrate/types.d.ts +13380 -0
  97. package/westendAssetHub/consts.d.ts +787 -0
  98. package/westendAssetHub/errors.d.ts +1523 -0
  99. package/westendAssetHub/events.d.ts +2477 -0
  100. package/westendAssetHub/index.d.ts +27 -0
  101. package/westendAssetHub/json-rpc.d.ts +89 -0
  102. package/westendAssetHub/query.d.ts +1656 -0
  103. package/westendAssetHub/runtime.d.ts +652 -0
  104. package/westendAssetHub/tx.d.ts +8984 -0
  105. package/westendAssetHub/types.d.ts +12292 -0
@@ -0,0 +1,1578 @@
1
+ // Generated by @dedot/codegen
2
+
3
+ import type { GenericChainConsts, RpcVersion } from 'dedot/types';
4
+ import type { RuntimeVersion, Permill, Bytes, Perbill, Perquintill, FixedU128 } from 'dedot/codecs';
5
+ import type {
6
+ FrameSystemLimitsBlockWeights,
7
+ FrameSystemLimitsBlockLength,
8
+ SpWeightsRuntimeDbWeight,
9
+ FrameSupportPalletId,
10
+ PalletReferendaTrackInfo,
11
+ SpWeightsWeightV2Weight,
12
+ } from './types';
13
+
14
+ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<Rv> {
15
+ /**
16
+ * Pallet `System`'s constants
17
+ **/
18
+ system: {
19
+ /**
20
+ * Block & extrinsics weights: base values and limits.
21
+ **/
22
+ blockWeights: FrameSystemLimitsBlockWeights;
23
+
24
+ /**
25
+ * The maximum length of a block (in bytes).
26
+ **/
27
+ blockLength: FrameSystemLimitsBlockLength;
28
+
29
+ /**
30
+ * Maximum number of block number to block hash mappings to keep (oldest pruned first).
31
+ **/
32
+ blockHashCount: number;
33
+
34
+ /**
35
+ * The weight of runtime database operations the runtime can invoke.
36
+ **/
37
+ dbWeight: SpWeightsRuntimeDbWeight;
38
+
39
+ /**
40
+ * Get the chain's current version.
41
+ **/
42
+ version: RuntimeVersion;
43
+
44
+ /**
45
+ * The designated SS58 prefix of this chain.
46
+ *
47
+ * This replaces the "ss58Format" property declared in the chain spec. Reason is
48
+ * that the runtime should know about the prefix in order to make use of it as
49
+ * an identifier of the chain.
50
+ **/
51
+ ss58Prefix: number;
52
+
53
+ /**
54
+ * Generic pallet constant
55
+ **/
56
+ [name: string]: any;
57
+ };
58
+ /**
59
+ * Pallet `Babe`'s constants
60
+ **/
61
+ babe: {
62
+ /**
63
+ * The amount of time, in slots, that each epoch should last.
64
+ * NOTE: Currently it is not possible to change the epoch duration after
65
+ * the chain has started. Attempting to do so will brick block production.
66
+ **/
67
+ epochDuration: bigint;
68
+
69
+ /**
70
+ * The expected average block time at which BABE should be creating
71
+ * blocks. Since BABE is probabilistic it is not trivial to figure out
72
+ * what the expected average block time should be based on the slot
73
+ * duration and the security parameter `c` (where `1 - c` represents
74
+ * the probability of a slot being empty).
75
+ **/
76
+ expectedBlockTime: bigint;
77
+
78
+ /**
79
+ * Max number of authorities allowed
80
+ **/
81
+ maxAuthorities: number;
82
+
83
+ /**
84
+ * The maximum number of nominators for each validator.
85
+ **/
86
+ maxNominators: number;
87
+
88
+ /**
89
+ * Generic pallet constant
90
+ **/
91
+ [name: string]: any;
92
+ };
93
+ /**
94
+ * Pallet `Timestamp`'s constants
95
+ **/
96
+ timestamp: {
97
+ /**
98
+ * The minimum period between blocks.
99
+ *
100
+ * Be aware that this is different to the *expected* period that the block production
101
+ * apparatus provides. Your chosen consensus system will generally work with this to
102
+ * determine a sensible block time. For example, in the Aura pallet it will be double this
103
+ * period on default settings.
104
+ **/
105
+ minimumPeriod: bigint;
106
+
107
+ /**
108
+ * Generic pallet constant
109
+ **/
110
+ [name: string]: any;
111
+ };
112
+ /**
113
+ * Pallet `Indices`'s constants
114
+ **/
115
+ indices: {
116
+ /**
117
+ * The deposit needed for reserving an index.
118
+ **/
119
+ deposit: bigint;
120
+
121
+ /**
122
+ * Generic pallet constant
123
+ **/
124
+ [name: string]: any;
125
+ };
126
+ /**
127
+ * Pallet `Balances`'s constants
128
+ **/
129
+ balances: {
130
+ /**
131
+ * The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO!
132
+ *
133
+ * If you *really* need it to be zero, you can enable the feature `insecure_zero_ed` for
134
+ * this pallet. However, you do so at your own risk: this will open up a major DoS vector.
135
+ * In case you have multiple sources of provider references, you may also get unexpected
136
+ * behaviour if you set this to zero.
137
+ *
138
+ * Bottom line: Do yourself a favour and make it at least one!
139
+ **/
140
+ existentialDeposit: bigint;
141
+
142
+ /**
143
+ * The maximum number of locks that should exist on an account.
144
+ * Not strictly enforced, but used for weight estimation.
145
+ **/
146
+ maxLocks: number;
147
+
148
+ /**
149
+ * The maximum number of named reserves that can exist on an account.
150
+ **/
151
+ maxReserves: number;
152
+
153
+ /**
154
+ * The maximum number of individual freeze locks that can exist on an account at any time.
155
+ **/
156
+ maxFreezes: number;
157
+
158
+ /**
159
+ * Generic pallet constant
160
+ **/
161
+ [name: string]: any;
162
+ };
163
+ /**
164
+ * Pallet `TransactionPayment`'s constants
165
+ **/
166
+ transactionPayment: {
167
+ /**
168
+ * A fee multiplier for `Operational` extrinsics to compute "virtual tip" to boost their
169
+ * `priority`
170
+ *
171
+ * This value is multiplied by the `final_fee` to obtain a "virtual tip" that is later
172
+ * added to a tip component in regular `priority` calculations.
173
+ * It means that a `Normal` transaction can front-run a similarly-sized `Operational`
174
+ * extrinsic (with no tip), by including a tip value greater than the virtual tip.
175
+ *
176
+ * ```rust,ignore
177
+ * // For `Normal`
178
+ * let priority = priority_calc(tip);
179
+ *
180
+ * // For `Operational`
181
+ * let virtual_tip = (inclusion_fee + tip) * OperationalFeeMultiplier;
182
+ * let priority = priority_calc(tip + virtual_tip);
183
+ * ```
184
+ *
185
+ * Note that since we use `final_fee` the multiplier applies also to the regular `tip`
186
+ * sent with the transaction. So, not only does the transaction get a priority bump based
187
+ * on the `inclusion_fee`, but we also amplify the impact of tips applied to `Operational`
188
+ * transactions.
189
+ **/
190
+ operationalFeeMultiplier: number;
191
+
192
+ /**
193
+ * Generic pallet constant
194
+ **/
195
+ [name: string]: any;
196
+ };
197
+ /**
198
+ * Pallet `Authorship`'s constants
199
+ **/
200
+ authorship: {
201
+ /**
202
+ * Generic pallet constant
203
+ **/
204
+ [name: string]: any;
205
+ };
206
+ /**
207
+ * Pallet `Staking`'s constants
208
+ **/
209
+ staking: {
210
+ /**
211
+ * Number of eras to keep in history.
212
+ *
213
+ * Following information is kept for eras in `[current_era -
214
+ * HistoryDepth, current_era]`: `ErasStakers`, `ErasStakersClipped`,
215
+ * `ErasValidatorPrefs`, `ErasValidatorReward`, `ErasRewardPoints`,
216
+ * `ErasTotalStake`, `ErasStartSessionIndex`, `ClaimedRewards`, `ErasStakersPaged`,
217
+ * `ErasStakersOverview`.
218
+ *
219
+ * Must be more than the number of eras delayed by session.
220
+ * I.e. active era must always be in history. I.e. `active_era >
221
+ * current_era - history_depth` must be guaranteed.
222
+ *
223
+ * If migrating an existing pallet from storage value to config value,
224
+ * this should be set to same value or greater as in storage.
225
+ *
226
+ * Note: `HistoryDepth` is used as the upper bound for the `BoundedVec`
227
+ * item `StakingLedger.legacy_claimed_rewards`. Setting this value lower than
228
+ * the existing value can lead to inconsistencies in the
229
+ * `StakingLedger` and will need to be handled properly in a migration.
230
+ * The test `reducing_history_depth_abrupt` shows this effect.
231
+ **/
232
+ historyDepth: number;
233
+
234
+ /**
235
+ * Number of sessions per era.
236
+ **/
237
+ sessionsPerEra: number;
238
+
239
+ /**
240
+ * Number of eras that staked funds must remain bonded for.
241
+ **/
242
+ bondingDuration: number;
243
+
244
+ /**
245
+ * Number of eras that slashes are deferred by, after computation.
246
+ *
247
+ * This should be less than the bonding duration. Set to 0 if slashes
248
+ * should be applied immediately, without opportunity for intervention.
249
+ **/
250
+ slashDeferDuration: number;
251
+
252
+ /**
253
+ * The maximum size of each `T::ExposurePage`.
254
+ *
255
+ * An `ExposurePage` is weakly bounded to a maximum of `MaxExposurePageSize`
256
+ * nominators.
257
+ *
258
+ * For older non-paged exposure, a reward payout was restricted to the top
259
+ * `MaxExposurePageSize` nominators. This is to limit the i/o cost for the
260
+ * nominator payout.
261
+ *
262
+ * Note: `MaxExposurePageSize` is used to bound `ClaimedRewards` and is unsafe to reduce
263
+ * without handling it in a migration.
264
+ **/
265
+ maxExposurePageSize: number;
266
+
267
+ /**
268
+ * The maximum number of `unlocking` chunks a [`StakingLedger`] can
269
+ * have. Effectively determines how many unique eras a staker may be
270
+ * unbonding in.
271
+ *
272
+ * Note: `MaxUnlockingChunks` is used as the upper bound for the
273
+ * `BoundedVec` item `StakingLedger.unlocking`. Setting this value
274
+ * lower than the existing value can lead to inconsistencies in the
275
+ * `StakingLedger` and will need to be handled properly in a runtime
276
+ * migration. The test `reducing_max_unlocking_chunks_abrupt` shows
277
+ * this effect.
278
+ **/
279
+ maxUnlockingChunks: number;
280
+
281
+ /**
282
+ * Generic pallet constant
283
+ **/
284
+ [name: string]: any;
285
+ };
286
+ /**
287
+ * Pallet `Offences`'s constants
288
+ **/
289
+ offences: {
290
+ /**
291
+ * Generic pallet constant
292
+ **/
293
+ [name: string]: any;
294
+ };
295
+ /**
296
+ * Pallet `Historical`'s constants
297
+ **/
298
+ historical: {
299
+ /**
300
+ * Generic pallet constant
301
+ **/
302
+ [name: string]: any;
303
+ };
304
+ /**
305
+ * Pallet `Session`'s constants
306
+ **/
307
+ session: {
308
+ /**
309
+ * Generic pallet constant
310
+ **/
311
+ [name: string]: any;
312
+ };
313
+ /**
314
+ * Pallet `Grandpa`'s constants
315
+ **/
316
+ grandpa: {
317
+ /**
318
+ * Max Authorities in use
319
+ **/
320
+ maxAuthorities: number;
321
+
322
+ /**
323
+ * The maximum number of nominators for each validator.
324
+ **/
325
+ maxNominators: number;
326
+
327
+ /**
328
+ * The maximum number of entries to keep in the set id to session index mapping.
329
+ *
330
+ * Since the `SetIdSession` map is only used for validating equivocations this
331
+ * value should relate to the bonding duration of whatever staking system is
332
+ * being used (if any). If equivocation handling is not enabled then this value
333
+ * can be zero.
334
+ **/
335
+ maxSetIdSessionEntries: bigint;
336
+
337
+ /**
338
+ * Generic pallet constant
339
+ **/
340
+ [name: string]: any;
341
+ };
342
+ /**
343
+ * Pallet `AuthorityDiscovery`'s constants
344
+ **/
345
+ authorityDiscovery: {
346
+ /**
347
+ * Generic pallet constant
348
+ **/
349
+ [name: string]: any;
350
+ };
351
+ /**
352
+ * Pallet `Treasury`'s constants
353
+ **/
354
+ treasury: {
355
+ /**
356
+ * Fraction of a proposal's value that should be bonded in order to place the proposal.
357
+ * An accepted proposal gets these back. A rejected proposal does not.
358
+ **/
359
+ proposalBond: Permill;
360
+
361
+ /**
362
+ * Minimum amount of funds that should be placed in a deposit for making a proposal.
363
+ **/
364
+ proposalBondMinimum: bigint;
365
+
366
+ /**
367
+ * Maximum amount of funds that should be placed in a deposit for making a proposal.
368
+ **/
369
+ proposalBondMaximum: bigint | undefined;
370
+
371
+ /**
372
+ * Period between successive spends.
373
+ **/
374
+ spendPeriod: number;
375
+
376
+ /**
377
+ * Percentage of spare funds (if any) that are burnt per spend period.
378
+ **/
379
+ burn: Permill;
380
+
381
+ /**
382
+ * The treasury's pallet id, used for deriving its sovereign account ID.
383
+ **/
384
+ palletId: FrameSupportPalletId;
385
+
386
+ /**
387
+ * The maximum number of approvals that can wait in the spending queue.
388
+ *
389
+ * NOTE: This parameter is also used within the Bounties Pallet extension if enabled.
390
+ **/
391
+ maxApprovals: number;
392
+
393
+ /**
394
+ * The period during which an approved treasury spend has to be claimed.
395
+ **/
396
+ payoutPeriod: number;
397
+
398
+ /**
399
+ * Generic pallet constant
400
+ **/
401
+ [name: string]: any;
402
+ };
403
+ /**
404
+ * Pallet `ConvictionVoting`'s constants
405
+ **/
406
+ convictionVoting: {
407
+ /**
408
+ * The maximum number of concurrent votes an account may have.
409
+ *
410
+ * Also used to compute weight, an overly large value can lead to extrinsics with large
411
+ * weight estimation: see `delegate` for instance.
412
+ **/
413
+ maxVotes: number;
414
+
415
+ /**
416
+ * The minimum period of vote locking.
417
+ *
418
+ * It should be no shorter than enactment period to ensure that in the case of an approval,
419
+ * those successful voters are locked into the consequences that their votes entail.
420
+ **/
421
+ voteLockingPeriod: number;
422
+
423
+ /**
424
+ * Generic pallet constant
425
+ **/
426
+ [name: string]: any;
427
+ };
428
+ /**
429
+ * Pallet `Referenda`'s constants
430
+ **/
431
+ referenda: {
432
+ /**
433
+ * The minimum amount to be used as a deposit for a public referendum proposal.
434
+ **/
435
+ submissionDeposit: bigint;
436
+
437
+ /**
438
+ * Maximum size of the referendum queue for a single track.
439
+ **/
440
+ maxQueued: number;
441
+
442
+ /**
443
+ * The number of blocks after submission that a referendum must begin being decided by.
444
+ * Once this passes, then anyone may cancel the referendum.
445
+ **/
446
+ undecidingTimeout: number;
447
+
448
+ /**
449
+ * Quantization level for the referendum wakeup scheduler. A higher number will result in
450
+ * fewer storage reads/writes needed for smaller voters, but also result in delays to the
451
+ * automatic referendum status changes. Explicit servicing instructions are unaffected.
452
+ **/
453
+ alarmInterval: number;
454
+
455
+ /**
456
+ * Information concerning the different referendum tracks.
457
+ **/
458
+ tracks: Array<[number, PalletReferendaTrackInfo]>;
459
+
460
+ /**
461
+ * Generic pallet constant
462
+ **/
463
+ [name: string]: any;
464
+ };
465
+ /**
466
+ * Pallet `FellowshipCollective`'s constants
467
+ **/
468
+ fellowshipCollective: {
469
+ /**
470
+ * Generic pallet constant
471
+ **/
472
+ [name: string]: any;
473
+ };
474
+ /**
475
+ * Pallet `FellowshipReferenda`'s constants
476
+ **/
477
+ fellowshipReferenda: {
478
+ /**
479
+ * The minimum amount to be used as a deposit for a public referendum proposal.
480
+ **/
481
+ submissionDeposit: bigint;
482
+
483
+ /**
484
+ * Maximum size of the referendum queue for a single track.
485
+ **/
486
+ maxQueued: number;
487
+
488
+ /**
489
+ * The number of blocks after submission that a referendum must begin being decided by.
490
+ * Once this passes, then anyone may cancel the referendum.
491
+ **/
492
+ undecidingTimeout: number;
493
+
494
+ /**
495
+ * Quantization level for the referendum wakeup scheduler. A higher number will result in
496
+ * fewer storage reads/writes needed for smaller voters, but also result in delays to the
497
+ * automatic referendum status changes. Explicit servicing instructions are unaffected.
498
+ **/
499
+ alarmInterval: number;
500
+
501
+ /**
502
+ * Information concerning the different referendum tracks.
503
+ **/
504
+ tracks: Array<[number, PalletReferendaTrackInfo]>;
505
+
506
+ /**
507
+ * Generic pallet constant
508
+ **/
509
+ [name: string]: any;
510
+ };
511
+ /**
512
+ * Pallet `Origins`'s constants
513
+ **/
514
+ origins: {
515
+ /**
516
+ * Generic pallet constant
517
+ **/
518
+ [name: string]: any;
519
+ };
520
+ /**
521
+ * Pallet `Whitelist`'s constants
522
+ **/
523
+ whitelist: {
524
+ /**
525
+ * Generic pallet constant
526
+ **/
527
+ [name: string]: any;
528
+ };
529
+ /**
530
+ * Pallet `Claims`'s constants
531
+ **/
532
+ claims: {
533
+ prefix: Bytes;
534
+
535
+ /**
536
+ * Generic pallet constant
537
+ **/
538
+ [name: string]: any;
539
+ };
540
+ /**
541
+ * Pallet `Utility`'s constants
542
+ **/
543
+ utility: {
544
+ /**
545
+ * The limit on the number of batched calls.
546
+ **/
547
+ batchedCallsLimit: number;
548
+
549
+ /**
550
+ * Generic pallet constant
551
+ **/
552
+ [name: string]: any;
553
+ };
554
+ /**
555
+ * Pallet `Identity`'s constants
556
+ **/
557
+ identity: {
558
+ /**
559
+ * The amount held on deposit for a registered identity.
560
+ **/
561
+ basicDeposit: bigint;
562
+
563
+ /**
564
+ * The amount held on deposit per encoded byte for a registered identity.
565
+ **/
566
+ byteDeposit: bigint;
567
+
568
+ /**
569
+ * The amount held on deposit for a registered subaccount. This should account for the fact
570
+ * that one storage item's value will increase by the size of an account ID, and there will
571
+ * be another trie item whose value is the size of an account ID plus 32 bytes.
572
+ **/
573
+ subAccountDeposit: bigint;
574
+
575
+ /**
576
+ * The maximum number of sub-accounts allowed per identified account.
577
+ **/
578
+ maxSubAccounts: number;
579
+
580
+ /**
581
+ * Maxmimum number of registrars allowed in the system. Needed to bound the complexity
582
+ * of, e.g., updating judgements.
583
+ **/
584
+ maxRegistrars: number;
585
+
586
+ /**
587
+ * The number of blocks within which a username grant must be accepted.
588
+ **/
589
+ pendingUsernameExpiration: number;
590
+
591
+ /**
592
+ * The maximum length of a suffix.
593
+ **/
594
+ maxSuffixLength: number;
595
+
596
+ /**
597
+ * The maximum length of a username, including its suffix and any system-added delimiters.
598
+ **/
599
+ maxUsernameLength: number;
600
+
601
+ /**
602
+ * Generic pallet constant
603
+ **/
604
+ [name: string]: any;
605
+ };
606
+ /**
607
+ * Pallet `Society`'s constants
608
+ **/
609
+ society: {
610
+ /**
611
+ * The societies's pallet id
612
+ **/
613
+ palletId: FrameSupportPalletId;
614
+
615
+ /**
616
+ * The maximum number of strikes before a member gets funds slashed.
617
+ **/
618
+ graceStrikes: number;
619
+
620
+ /**
621
+ * The amount of incentive paid within each period. Doesn't include VoterTip.
622
+ **/
623
+ periodSpend: bigint;
624
+
625
+ /**
626
+ * The number of blocks on which new candidates should be voted on. Together with
627
+ * `ClaimPeriod`, this sums to the number of blocks between candidate intake periods.
628
+ **/
629
+ votingPeriod: number;
630
+
631
+ /**
632
+ * The number of blocks on which new candidates can claim their membership and be the
633
+ * named head.
634
+ **/
635
+ claimPeriod: number;
636
+
637
+ /**
638
+ * The maximum duration of the payout lock.
639
+ **/
640
+ maxLockDuration: number;
641
+
642
+ /**
643
+ * The number of blocks between membership challenges.
644
+ **/
645
+ challengePeriod: number;
646
+
647
+ /**
648
+ * The maximum number of payouts a member may have waiting unclaimed.
649
+ **/
650
+ maxPayouts: number;
651
+
652
+ /**
653
+ * The maximum number of bids at once.
654
+ **/
655
+ maxBids: number;
656
+
657
+ /**
658
+ * Generic pallet constant
659
+ **/
660
+ [name: string]: any;
661
+ };
662
+ /**
663
+ * Pallet `Recovery`'s constants
664
+ **/
665
+ recovery: {
666
+ /**
667
+ * The base amount of currency needed to reserve for creating a recovery configuration.
668
+ *
669
+ * This is held for an additional storage item whose value size is
670
+ * `2 + sizeof(BlockNumber, Balance)` bytes.
671
+ **/
672
+ configDepositBase: bigint;
673
+
674
+ /**
675
+ * The amount of currency needed per additional user when creating a recovery
676
+ * configuration.
677
+ *
678
+ * This is held for adding `sizeof(AccountId)` bytes more into a pre-existing storage
679
+ * value.
680
+ **/
681
+ friendDepositFactor: bigint;
682
+
683
+ /**
684
+ * The maximum amount of friends allowed in a recovery configuration.
685
+ *
686
+ * NOTE: The threshold programmed in this Pallet uses u16, so it does
687
+ * not really make sense to have a limit here greater than u16::MAX.
688
+ * But also, that is a lot more than you should probably set this value
689
+ * to anyway...
690
+ **/
691
+ maxFriends: number;
692
+
693
+ /**
694
+ * The base amount of currency needed to reserve for starting a recovery.
695
+ *
696
+ * This is primarily held for deterring malicious recovery attempts, and should
697
+ * have a value large enough that a bad actor would choose not to place this
698
+ * deposit. It also acts to fund additional storage item whose value size is
699
+ * `sizeof(BlockNumber, Balance + T * AccountId)` bytes. Where T is a configurable
700
+ * threshold.
701
+ **/
702
+ recoveryDeposit: bigint;
703
+
704
+ /**
705
+ * Generic pallet constant
706
+ **/
707
+ [name: string]: any;
708
+ };
709
+ /**
710
+ * Pallet `Vesting`'s constants
711
+ **/
712
+ vesting: {
713
+ /**
714
+ * The minimum amount transferred to call `vested_transfer`.
715
+ **/
716
+ minVestedTransfer: bigint;
717
+ maxVestingSchedules: number;
718
+
719
+ /**
720
+ * Generic pallet constant
721
+ **/
722
+ [name: string]: any;
723
+ };
724
+ /**
725
+ * Pallet `Scheduler`'s constants
726
+ **/
727
+ scheduler: {
728
+ /**
729
+ * The maximum weight that may be scheduled per block for any dispatchables.
730
+ **/
731
+ maximumWeight: SpWeightsWeightV2Weight;
732
+
733
+ /**
734
+ * The maximum number of scheduled calls in the queue for a single block.
735
+ *
736
+ * NOTE:
737
+ * + Dependent pallets' benchmarks might require a higher limit for the setting. Set a
738
+ * higher limit under `runtime-benchmarks` feature.
739
+ **/
740
+ maxScheduledPerBlock: number;
741
+
742
+ /**
743
+ * Generic pallet constant
744
+ **/
745
+ [name: string]: any;
746
+ };
747
+ /**
748
+ * Pallet `Proxy`'s constants
749
+ **/
750
+ proxy: {
751
+ /**
752
+ * The base amount of currency needed to reserve for creating a proxy.
753
+ *
754
+ * This is held for an additional storage item whose value size is
755
+ * `sizeof(Balance)` bytes and whose key size is `sizeof(AccountId)` bytes.
756
+ **/
757
+ proxyDepositBase: bigint;
758
+
759
+ /**
760
+ * The amount of currency needed per proxy added.
761
+ *
762
+ * This is held for adding 32 bytes plus an instance of `ProxyType` more into a
763
+ * pre-existing storage value. Thus, when configuring `ProxyDepositFactor` one should take
764
+ * into account `32 + proxy_type.encode().len()` bytes of data.
765
+ **/
766
+ proxyDepositFactor: bigint;
767
+
768
+ /**
769
+ * The maximum amount of proxies allowed for a single account.
770
+ **/
771
+ maxProxies: number;
772
+
773
+ /**
774
+ * The maximum amount of time-delayed announcements that are allowed to be pending.
775
+ **/
776
+ maxPending: number;
777
+
778
+ /**
779
+ * The base amount of currency needed to reserve for creating an announcement.
780
+ *
781
+ * This is held when a new storage item holding a `Balance` is created (typically 16
782
+ * bytes).
783
+ **/
784
+ announcementDepositBase: bigint;
785
+
786
+ /**
787
+ * The amount of currency needed per announcement made.
788
+ *
789
+ * This is held for adding an `AccountId`, `Hash` and `BlockNumber` (typically 68 bytes)
790
+ * into a pre-existing storage value.
791
+ **/
792
+ announcementDepositFactor: bigint;
793
+
794
+ /**
795
+ * Generic pallet constant
796
+ **/
797
+ [name: string]: any;
798
+ };
799
+ /**
800
+ * Pallet `Multisig`'s constants
801
+ **/
802
+ multisig: {
803
+ /**
804
+ * The base amount of currency needed to reserve for creating a multisig execution or to
805
+ * store a dispatch call for later.
806
+ *
807
+ * This is held for an additional storage item whose value size is
808
+ * `4 + sizeof((BlockNumber, Balance, AccountId))` bytes and whose key size is
809
+ * `32 + sizeof(AccountId)` bytes.
810
+ **/
811
+ depositBase: bigint;
812
+
813
+ /**
814
+ * The amount of currency needed per unit threshold when creating a multisig execution.
815
+ *
816
+ * This is held for adding 32 bytes more into a pre-existing storage value.
817
+ **/
818
+ depositFactor: bigint;
819
+
820
+ /**
821
+ * The maximum amount of signatories allowed in the multisig.
822
+ **/
823
+ maxSignatories: number;
824
+
825
+ /**
826
+ * Generic pallet constant
827
+ **/
828
+ [name: string]: any;
829
+ };
830
+ /**
831
+ * Pallet `Preimage`'s constants
832
+ **/
833
+ preimage: {
834
+ /**
835
+ * Generic pallet constant
836
+ **/
837
+ [name: string]: any;
838
+ };
839
+ /**
840
+ * Pallet `Bounties`'s constants
841
+ **/
842
+ bounties: {
843
+ /**
844
+ * The amount held on deposit for placing a bounty proposal.
845
+ **/
846
+ bountyDepositBase: bigint;
847
+
848
+ /**
849
+ * The delay period for which a bounty beneficiary need to wait before claim the payout.
850
+ **/
851
+ bountyDepositPayoutDelay: number;
852
+
853
+ /**
854
+ * Bounty duration in blocks.
855
+ **/
856
+ bountyUpdatePeriod: number;
857
+
858
+ /**
859
+ * The curator deposit is calculated as a percentage of the curator fee.
860
+ *
861
+ * This deposit has optional upper and lower bounds with `CuratorDepositMax` and
862
+ * `CuratorDepositMin`.
863
+ **/
864
+ curatorDepositMultiplier: Permill;
865
+
866
+ /**
867
+ * Maximum amount of funds that should be placed in a deposit for making a proposal.
868
+ **/
869
+ curatorDepositMax: bigint | undefined;
870
+
871
+ /**
872
+ * Minimum amount of funds that should be placed in a deposit for making a proposal.
873
+ **/
874
+ curatorDepositMin: bigint | undefined;
875
+
876
+ /**
877
+ * Minimum value for a bounty.
878
+ **/
879
+ bountyValueMinimum: bigint;
880
+
881
+ /**
882
+ * The amount held on deposit per byte within the tip report reason or bounty description.
883
+ **/
884
+ dataDepositPerByte: bigint;
885
+
886
+ /**
887
+ * Maximum acceptable reason length.
888
+ *
889
+ * Benchmarks depend on this value, be sure to update weights file when changing this value
890
+ **/
891
+ maximumReasonLength: number;
892
+
893
+ /**
894
+ * Generic pallet constant
895
+ **/
896
+ [name: string]: any;
897
+ };
898
+ /**
899
+ * Pallet `ChildBounties`'s constants
900
+ **/
901
+ childBounties: {
902
+ /**
903
+ * Maximum number of child bounties that can be added to a parent bounty.
904
+ **/
905
+ maxActiveChildBountyCount: number;
906
+
907
+ /**
908
+ * Minimum value for a child-bounty.
909
+ **/
910
+ childBountyValueMinimum: bigint;
911
+
912
+ /**
913
+ * Generic pallet constant
914
+ **/
915
+ [name: string]: any;
916
+ };
917
+ /**
918
+ * Pallet `ElectionProviderMultiPhase`'s constants
919
+ **/
920
+ electionProviderMultiPhase: {
921
+ /**
922
+ * Duration of the unsigned phase.
923
+ **/
924
+ unsignedPhase: number;
925
+
926
+ /**
927
+ * Duration of the signed phase.
928
+ **/
929
+ signedPhase: number;
930
+
931
+ /**
932
+ * The minimum amount of improvement to the solution score that defines a solution as
933
+ * "better" in the Signed phase.
934
+ **/
935
+ betterSignedThreshold: Perbill;
936
+
937
+ /**
938
+ * The repeat threshold of the offchain worker.
939
+ *
940
+ * For example, if it is 5, that means that at least 5 blocks will elapse between attempts
941
+ * to submit the worker's solution.
942
+ **/
943
+ offchainRepeat: number;
944
+
945
+ /**
946
+ * The priority of the unsigned transaction submitted in the unsigned-phase
947
+ **/
948
+ minerTxPriority: bigint;
949
+
950
+ /**
951
+ * Maximum number of signed submissions that can be queued.
952
+ *
953
+ * It is best to avoid adjusting this during an election, as it impacts downstream data
954
+ * structures. In particular, `SignedSubmissionIndices<T>` is bounded on this value. If you
955
+ * update this value during an election, you _must_ ensure that
956
+ * `SignedSubmissionIndices.len()` is less than or equal to the new value. Otherwise,
957
+ * attempts to submit new solutions may cause a runtime panic.
958
+ **/
959
+ signedMaxSubmissions: number;
960
+
961
+ /**
962
+ * Maximum weight of a signed solution.
963
+ *
964
+ * If [`Config::MinerConfig`] is being implemented to submit signed solutions (outside of
965
+ * this pallet), then [`MinerConfig::solution_weight`] is used to compare against
966
+ * this value.
967
+ **/
968
+ signedMaxWeight: SpWeightsWeightV2Weight;
969
+
970
+ /**
971
+ * The maximum amount of unchecked solutions to refund the call fee for.
972
+ **/
973
+ signedMaxRefunds: number;
974
+
975
+ /**
976
+ * Base reward for a signed solution
977
+ **/
978
+ signedRewardBase: bigint;
979
+
980
+ /**
981
+ * Per-byte deposit for a signed solution.
982
+ **/
983
+ signedDepositByte: bigint;
984
+
985
+ /**
986
+ * Per-weight deposit for a signed solution.
987
+ **/
988
+ signedDepositWeight: bigint;
989
+
990
+ /**
991
+ * The maximum number of winners that can be elected by this `ElectionProvider`
992
+ * implementation.
993
+ *
994
+ * Note: This must always be greater or equal to `T::DataProvider::desired_targets()`.
995
+ **/
996
+ maxWinners: number;
997
+ minerMaxLength: number;
998
+ minerMaxWeight: SpWeightsWeightV2Weight;
999
+ minerMaxVotesPerVoter: number;
1000
+ minerMaxWinners: number;
1001
+
1002
+ /**
1003
+ * Generic pallet constant
1004
+ **/
1005
+ [name: string]: any;
1006
+ };
1007
+ /**
1008
+ * Pallet `Nis`'s constants
1009
+ **/
1010
+ nis: {
1011
+ /**
1012
+ * The treasury's pallet id, used for deriving its sovereign account ID.
1013
+ **/
1014
+ palletId: FrameSupportPalletId;
1015
+
1016
+ /**
1017
+ * Number of duration queues in total. This sets the maximum duration supported, which is
1018
+ * this value multiplied by `Period`.
1019
+ **/
1020
+ queueCount: number;
1021
+
1022
+ /**
1023
+ * Maximum number of items that may be in each duration queue.
1024
+ *
1025
+ * Must be larger than zero.
1026
+ **/
1027
+ maxQueueLen: number;
1028
+
1029
+ /**
1030
+ * Portion of the queue which is free from ordering and just a FIFO.
1031
+ *
1032
+ * Must be no greater than `MaxQueueLen`.
1033
+ **/
1034
+ fifoQueueLen: number;
1035
+
1036
+ /**
1037
+ * The base period for the duration queues. This is the common multiple across all
1038
+ * supported freezing durations that can be bid upon.
1039
+ **/
1040
+ basePeriod: number;
1041
+
1042
+ /**
1043
+ * The minimum amount of funds that may be placed in a bid. Note that this
1044
+ * does not actually limit the amount which may be represented in a receipt since bids may
1045
+ * be split up by the system.
1046
+ *
1047
+ * It should be at least big enough to ensure that there is no possible storage spam attack
1048
+ * or queue-filling attack.
1049
+ **/
1050
+ minBid: bigint;
1051
+
1052
+ /**
1053
+ * The minimum amount of funds which may intentionally be left remaining under a single
1054
+ * receipt.
1055
+ **/
1056
+ minReceipt: Perquintill;
1057
+
1058
+ /**
1059
+ * The number of blocks between consecutive attempts to dequeue bids and create receipts.
1060
+ *
1061
+ * A larger value results in fewer storage hits each block, but a slower period to get to
1062
+ * the target.
1063
+ **/
1064
+ intakePeriod: number;
1065
+
1066
+ /**
1067
+ * The maximum amount of bids that can consolidated into receipts in a single intake. A
1068
+ * larger value here means less of the block available for transactions should there be a
1069
+ * glut of bids.
1070
+ **/
1071
+ maxIntakeWeight: SpWeightsWeightV2Weight;
1072
+
1073
+ /**
1074
+ * The maximum proportion which may be thawed and the period over which it is reset.
1075
+ **/
1076
+ thawThrottle: [Perquintill, number];
1077
+
1078
+ /**
1079
+ * Generic pallet constant
1080
+ **/
1081
+ [name: string]: any;
1082
+ };
1083
+ /**
1084
+ * Pallet `NisCounterpartBalances`'s constants
1085
+ **/
1086
+ nisCounterpartBalances: {
1087
+ /**
1088
+ * The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO!
1089
+ *
1090
+ * If you *really* need it to be zero, you can enable the feature `insecure_zero_ed` for
1091
+ * this pallet. However, you do so at your own risk: this will open up a major DoS vector.
1092
+ * In case you have multiple sources of provider references, you may also get unexpected
1093
+ * behaviour if you set this to zero.
1094
+ *
1095
+ * Bottom line: Do yourself a favour and make it at least one!
1096
+ **/
1097
+ existentialDeposit: bigint;
1098
+
1099
+ /**
1100
+ * The maximum number of locks that should exist on an account.
1101
+ * Not strictly enforced, but used for weight estimation.
1102
+ **/
1103
+ maxLocks: number;
1104
+
1105
+ /**
1106
+ * The maximum number of named reserves that can exist on an account.
1107
+ **/
1108
+ maxReserves: number;
1109
+
1110
+ /**
1111
+ * The maximum number of individual freeze locks that can exist on an account at any time.
1112
+ **/
1113
+ maxFreezes: number;
1114
+
1115
+ /**
1116
+ * Generic pallet constant
1117
+ **/
1118
+ [name: string]: any;
1119
+ };
1120
+ /**
1121
+ * Pallet `VoterList`'s constants
1122
+ **/
1123
+ voterList: {
1124
+ /**
1125
+ * The list of thresholds separating the various bags.
1126
+ *
1127
+ * Ids are separated into unsorted bags according to their score. This specifies the
1128
+ * thresholds separating the bags. An id's bag is the largest bag for which the id's score
1129
+ * is less than or equal to its upper threshold.
1130
+ *
1131
+ * When ids are iterated, higher bags are iterated completely before lower bags. This means
1132
+ * that iteration is _semi-sorted_: ids of higher score tend to come before ids of lower
1133
+ * score, but peer ids within a particular bag are sorted in insertion order.
1134
+ *
1135
+ * # Expressing the constant
1136
+ *
1137
+ * This constant must be sorted in strictly increasing order. Duplicate items are not
1138
+ * permitted.
1139
+ *
1140
+ * There is an implied upper limit of `Score::MAX`; that value does not need to be
1141
+ * specified within the bag. For any two threshold lists, if one ends with
1142
+ * `Score::MAX`, the other one does not, and they are otherwise equal, the two
1143
+ * lists will behave identically.
1144
+ *
1145
+ * # Calculation
1146
+ *
1147
+ * It is recommended to generate the set of thresholds in a geometric series, such that
1148
+ * there exists some constant ratio such that `threshold[k + 1] == (threshold[k] *
1149
+ * constant_ratio).max(threshold[k] + 1)` for all `k`.
1150
+ *
1151
+ * The helpers in the `/utils/frame/generate-bags` module can simplify this calculation.
1152
+ *
1153
+ * # Examples
1154
+ *
1155
+ * - If `BagThresholds::get().is_empty()`, then all ids are put into the same bag, and
1156
+ * iteration is strictly in insertion order.
1157
+ * - If `BagThresholds::get().len() == 64`, and the thresholds are determined according to
1158
+ * the procedure given above, then the constant ratio is equal to 2.
1159
+ * - If `BagThresholds::get().len() == 200`, and the thresholds are determined according to
1160
+ * the procedure given above, then the constant ratio is approximately equal to 1.248.
1161
+ * - If the threshold list begins `[1, 2, 3, ...]`, then an id with score 0 or 1 will fall
1162
+ * into bag 0, an id with score 2 will fall into bag 1, etc.
1163
+ *
1164
+ * # Migration
1165
+ *
1166
+ * In the event that this list ever changes, a copy of the old bags list must be retained.
1167
+ * With that `List::migrate` can be called, which will perform the appropriate migration.
1168
+ **/
1169
+ bagThresholds: Array<bigint>;
1170
+
1171
+ /**
1172
+ * Generic pallet constant
1173
+ **/
1174
+ [name: string]: any;
1175
+ };
1176
+ /**
1177
+ * Pallet `NominationPools`'s constants
1178
+ **/
1179
+ nominationPools: {
1180
+ /**
1181
+ * The nomination pool's pallet id.
1182
+ **/
1183
+ palletId: FrameSupportPalletId;
1184
+
1185
+ /**
1186
+ * The maximum pool points-to-balance ratio that an `open` pool can have.
1187
+ *
1188
+ * This is important in the event slashing takes place and the pool's points-to-balance
1189
+ * ratio becomes disproportional.
1190
+ *
1191
+ * Moreover, this relates to the `RewardCounter` type as well, as the arithmetic operations
1192
+ * are a function of number of points, and by setting this value to e.g. 10, you ensure
1193
+ * that the total number of points in the system are at most 10 times the total_issuance of
1194
+ * the chain, in the absolute worse case.
1195
+ *
1196
+ * For a value of 10, the threshold would be a pool points-to-balance ratio of 10:1.
1197
+ * Such a scenario would also be the equivalent of the pool being 90% slashed.
1198
+ **/
1199
+ maxPointsToBalance: number;
1200
+
1201
+ /**
1202
+ * The maximum number of simultaneous unbonding chunks that can exist per member.
1203
+ **/
1204
+ maxUnbonding: number;
1205
+
1206
+ /**
1207
+ * Generic pallet constant
1208
+ **/
1209
+ [name: string]: any;
1210
+ };
1211
+ /**
1212
+ * Pallet `FastUnstake`'s constants
1213
+ **/
1214
+ fastUnstake: {
1215
+ /**
1216
+ * Deposit to take for unstaking, to make sure we're able to slash the it in order to cover
1217
+ * the costs of resources on unsuccessful unstake.
1218
+ **/
1219
+ deposit: bigint;
1220
+
1221
+ /**
1222
+ * Generic pallet constant
1223
+ **/
1224
+ [name: string]: any;
1225
+ };
1226
+ /**
1227
+ * Pallet `ParachainsOrigin`'s constants
1228
+ **/
1229
+ parachainsOrigin: {
1230
+ /**
1231
+ * Generic pallet constant
1232
+ **/
1233
+ [name: string]: any;
1234
+ };
1235
+ /**
1236
+ * Pallet `Configuration`'s constants
1237
+ **/
1238
+ configuration: {
1239
+ /**
1240
+ * Generic pallet constant
1241
+ **/
1242
+ [name: string]: any;
1243
+ };
1244
+ /**
1245
+ * Pallet `ParasShared`'s constants
1246
+ **/
1247
+ parasShared: {
1248
+ /**
1249
+ * Generic pallet constant
1250
+ **/
1251
+ [name: string]: any;
1252
+ };
1253
+ /**
1254
+ * Pallet `ParaInclusion`'s constants
1255
+ **/
1256
+ paraInclusion: {
1257
+ /**
1258
+ * Generic pallet constant
1259
+ **/
1260
+ [name: string]: any;
1261
+ };
1262
+ /**
1263
+ * Pallet `ParaInherent`'s constants
1264
+ **/
1265
+ paraInherent: {
1266
+ /**
1267
+ * Generic pallet constant
1268
+ **/
1269
+ [name: string]: any;
1270
+ };
1271
+ /**
1272
+ * Pallet `ParaScheduler`'s constants
1273
+ **/
1274
+ paraScheduler: {
1275
+ /**
1276
+ * Generic pallet constant
1277
+ **/
1278
+ [name: string]: any;
1279
+ };
1280
+ /**
1281
+ * Pallet `Paras`'s constants
1282
+ **/
1283
+ paras: {
1284
+ unsignedPriority: bigint;
1285
+
1286
+ /**
1287
+ * Generic pallet constant
1288
+ **/
1289
+ [name: string]: any;
1290
+ };
1291
+ /**
1292
+ * Pallet `Initializer`'s constants
1293
+ **/
1294
+ initializer: {
1295
+ /**
1296
+ * Generic pallet constant
1297
+ **/
1298
+ [name: string]: any;
1299
+ };
1300
+ /**
1301
+ * Pallet `Dmp`'s constants
1302
+ **/
1303
+ dmp: {
1304
+ /**
1305
+ * Generic pallet constant
1306
+ **/
1307
+ [name: string]: any;
1308
+ };
1309
+ /**
1310
+ * Pallet `Hrmp`'s constants
1311
+ **/
1312
+ hrmp: {
1313
+ /**
1314
+ * Generic pallet constant
1315
+ **/
1316
+ [name: string]: any;
1317
+ };
1318
+ /**
1319
+ * Pallet `ParaSessionInfo`'s constants
1320
+ **/
1321
+ paraSessionInfo: {
1322
+ /**
1323
+ * Generic pallet constant
1324
+ **/
1325
+ [name: string]: any;
1326
+ };
1327
+ /**
1328
+ * Pallet `ParasDisputes`'s constants
1329
+ **/
1330
+ parasDisputes: {
1331
+ /**
1332
+ * Generic pallet constant
1333
+ **/
1334
+ [name: string]: any;
1335
+ };
1336
+ /**
1337
+ * Pallet `ParasSlashing`'s constants
1338
+ **/
1339
+ parasSlashing: {
1340
+ /**
1341
+ * Generic pallet constant
1342
+ **/
1343
+ [name: string]: any;
1344
+ };
1345
+ /**
1346
+ * Pallet `OnDemandAssignmentProvider`'s constants
1347
+ **/
1348
+ onDemandAssignmentProvider: {
1349
+ /**
1350
+ * The default value for the spot traffic multiplier.
1351
+ **/
1352
+ trafficDefaultValue: FixedU128;
1353
+
1354
+ /**
1355
+ * Generic pallet constant
1356
+ **/
1357
+ [name: string]: any;
1358
+ };
1359
+ /**
1360
+ * Pallet `CoretimeAssignmentProvider`'s constants
1361
+ **/
1362
+ coretimeAssignmentProvider: {
1363
+ /**
1364
+ * Generic pallet constant
1365
+ **/
1366
+ [name: string]: any;
1367
+ };
1368
+ /**
1369
+ * Pallet `Registrar`'s constants
1370
+ **/
1371
+ registrar: {
1372
+ /**
1373
+ * The deposit to be paid to run a on-demand parachain.
1374
+ * This should include the cost for storing the genesis head and validation code.
1375
+ **/
1376
+ paraDeposit: bigint;
1377
+
1378
+ /**
1379
+ * The deposit to be paid per byte stored on chain.
1380
+ **/
1381
+ dataDepositPerByte: bigint;
1382
+
1383
+ /**
1384
+ * Generic pallet constant
1385
+ **/
1386
+ [name: string]: any;
1387
+ };
1388
+ /**
1389
+ * Pallet `Slots`'s constants
1390
+ **/
1391
+ slots: {
1392
+ /**
1393
+ * The number of blocks over which a single period lasts.
1394
+ **/
1395
+ leasePeriod: number;
1396
+
1397
+ /**
1398
+ * The number of blocks to offset each lease period by.
1399
+ **/
1400
+ leaseOffset: number;
1401
+
1402
+ /**
1403
+ * Generic pallet constant
1404
+ **/
1405
+ [name: string]: any;
1406
+ };
1407
+ /**
1408
+ * Pallet `Auctions`'s constants
1409
+ **/
1410
+ auctions: {
1411
+ /**
1412
+ * The number of blocks over which an auction may be retroactively ended.
1413
+ **/
1414
+ endingPeriod: number;
1415
+
1416
+ /**
1417
+ * The length of each sample to take during the ending period.
1418
+ *
1419
+ * `EndingPeriod` / `SampleLength` = Total # of Samples
1420
+ **/
1421
+ sampleLength: number;
1422
+ slotRangeCount: number;
1423
+ leasePeriodsPerSlot: number;
1424
+
1425
+ /**
1426
+ * Generic pallet constant
1427
+ **/
1428
+ [name: string]: any;
1429
+ };
1430
+ /**
1431
+ * Pallet `Crowdloan`'s constants
1432
+ **/
1433
+ crowdloan: {
1434
+ /**
1435
+ * `PalletId` for the crowdloan pallet. An appropriate value could be
1436
+ * `PalletId(*b"py/cfund")`
1437
+ **/
1438
+ palletId: FrameSupportPalletId;
1439
+
1440
+ /**
1441
+ * The minimum amount that may be contributed into a crowdloan. Should almost certainly be
1442
+ * at least `ExistentialDeposit`.
1443
+ **/
1444
+ minContribution: bigint;
1445
+
1446
+ /**
1447
+ * Max number of storage keys to remove per extrinsic call.
1448
+ **/
1449
+ removeKeysLimit: number;
1450
+
1451
+ /**
1452
+ * Generic pallet constant
1453
+ **/
1454
+ [name: string]: any;
1455
+ };
1456
+ /**
1457
+ * Pallet `Coretime`'s constants
1458
+ **/
1459
+ coretime: {
1460
+ /**
1461
+ * The ParaId of the broker system parachain.
1462
+ **/
1463
+ brokerId: number;
1464
+
1465
+ /**
1466
+ * Generic pallet constant
1467
+ **/
1468
+ [name: string]: any;
1469
+ };
1470
+ /**
1471
+ * Pallet `XcmPallet`'s constants
1472
+ **/
1473
+ xcmPallet: {
1474
+ /**
1475
+ * Generic pallet constant
1476
+ **/
1477
+ [name: string]: any;
1478
+ };
1479
+ /**
1480
+ * Pallet `MessageQueue`'s constants
1481
+ **/
1482
+ messageQueue: {
1483
+ /**
1484
+ * The size of the page; this implies the maximum message size which can be sent.
1485
+ *
1486
+ * A good value depends on the expected message sizes, their weights, the weight that is
1487
+ * available for processing them and the maximal needed message size. The maximal message
1488
+ * size is slightly lower than this as defined by [`MaxMessageLenOf`].
1489
+ **/
1490
+ heapSize: number;
1491
+
1492
+ /**
1493
+ * The maximum number of stale pages (i.e. of overweight messages) allowed before culling
1494
+ * can happen. Once there are more stale pages than this, then historical pages may be
1495
+ * dropped, even if they contain unprocessed overweight messages.
1496
+ **/
1497
+ maxStale: number;
1498
+
1499
+ /**
1500
+ * The amount of weight (if any) which should be provided to the message queue for
1501
+ * servicing enqueued items.
1502
+ *
1503
+ * This may be legitimately `None` in the case that you will call
1504
+ * `ServiceQueues::service_queues` manually.
1505
+ **/
1506
+ serviceWeight: SpWeightsWeightV2Weight | undefined;
1507
+
1508
+ /**
1509
+ * Generic pallet constant
1510
+ **/
1511
+ [name: string]: any;
1512
+ };
1513
+ /**
1514
+ * Pallet `AssetRate`'s constants
1515
+ **/
1516
+ assetRate: {
1517
+ /**
1518
+ * Generic pallet constant
1519
+ **/
1520
+ [name: string]: any;
1521
+ };
1522
+ /**
1523
+ * Pallet `Beefy`'s constants
1524
+ **/
1525
+ beefy: {
1526
+ /**
1527
+ * The maximum number of authorities that can be added.
1528
+ **/
1529
+ maxAuthorities: number;
1530
+
1531
+ /**
1532
+ * The maximum number of nominators for each validator.
1533
+ **/
1534
+ maxNominators: number;
1535
+
1536
+ /**
1537
+ * The maximum number of entries to keep in the set id to session index mapping.
1538
+ *
1539
+ * Since the `SetIdSession` map is only used for validating equivocations this
1540
+ * value should relate to the bonding duration of whatever staking system is
1541
+ * being used (if any). If equivocation handling is not enabled then this value
1542
+ * can be zero.
1543
+ **/
1544
+ maxSetIdSessionEntries: bigint;
1545
+
1546
+ /**
1547
+ * Generic pallet constant
1548
+ **/
1549
+ [name: string]: any;
1550
+ };
1551
+ /**
1552
+ * Pallet `Mmr`'s constants
1553
+ **/
1554
+ mmr: {
1555
+ /**
1556
+ * Generic pallet constant
1557
+ **/
1558
+ [name: string]: any;
1559
+ };
1560
+ /**
1561
+ * Pallet `BeefyMmrLeaf`'s constants
1562
+ **/
1563
+ beefyMmrLeaf: {
1564
+ /**
1565
+ * Generic pallet constant
1566
+ **/
1567
+ [name: string]: any;
1568
+ };
1569
+ /**
1570
+ * Pallet `IdentityMigrator`'s constants
1571
+ **/
1572
+ identityMigrator: {
1573
+ /**
1574
+ * Generic pallet constant
1575
+ **/
1576
+ [name: string]: any;
1577
+ };
1578
+ }