@dedot/chaintypes 0.0.1-next.0 → 0.0.1-next.3

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