@dedot/chaintypes 0.0.1-next.f5bf4fc2.1 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (144) hide show
  1. package/README.md +3 -1
  2. package/aleph/consts.d.ts +94 -13
  3. package/aleph/errors.d.ts +251 -182
  4. package/aleph/events.d.ts +319 -102
  5. package/aleph/index.d.ts +16 -11
  6. package/aleph/json-rpc.d.ts +76 -0
  7. package/aleph/query.d.ts +261 -168
  8. package/aleph/runtime.d.ts +90 -39
  9. package/aleph/tx.d.ts +1822 -1052
  10. package/aleph/types.d.ts +458 -138
  11. package/astar/consts.d.ts +112 -116
  12. package/astar/errors.d.ts +342 -409
  13. package/astar/events.d.ts +449 -358
  14. package/astar/index.d.ts +16 -11
  15. package/astar/json-rpc.d.ts +131 -0
  16. package/astar/query.d.ts +459 -367
  17. package/astar/runtime.d.ts +591 -98
  18. package/astar/tx.d.ts +2485 -3430
  19. package/astar/types.d.ts +1530 -4436
  20. package/index.d.ts +3 -0
  21. package/index.ts +3 -0
  22. package/kusama/consts.d.ts +54 -115
  23. package/kusama/errors.d.ts +696 -682
  24. package/kusama/events.d.ts +592 -407
  25. package/kusama/index.d.ts +16 -11
  26. package/kusama/json-rpc.d.ts +103 -0
  27. package/kusama/query.d.ts +840 -538
  28. package/kusama/runtime.d.ts +136 -65
  29. package/kusama/tx.d.ts +4557 -3051
  30. package/kusama/types.d.ts +1437 -1161
  31. package/kusamaAssetHub/consts.d.ts +66 -20
  32. package/kusamaAssetHub/errors.d.ts +428 -308
  33. package/kusamaAssetHub/events.d.ts +497 -305
  34. package/kusamaAssetHub/index.d.ts +16 -11
  35. package/kusamaAssetHub/json-rpc.d.ts +89 -0
  36. package/kusamaAssetHub/query.d.ts +376 -253
  37. package/kusamaAssetHub/runtime.d.ts +82 -41
  38. package/kusamaAssetHub/tx.d.ts +3264 -1955
  39. package/kusamaAssetHub/types.d.ts +1262 -726
  40. package/moonbeam/consts.d.ts +115 -170
  41. package/moonbeam/errors.d.ts +564 -787
  42. package/moonbeam/events.d.ts +583 -746
  43. package/moonbeam/index.d.ts +16 -11
  44. package/moonbeam/json-rpc.d.ts +137 -0
  45. package/moonbeam/query.d.ts +507 -607
  46. package/moonbeam/runtime.d.ts +132 -47
  47. package/moonbeam/tx.d.ts +3309 -3268
  48. package/moonbeam/types.d.ts +1484 -1375
  49. package/package.json +4 -14
  50. package/paseo/consts.d.ts +1331 -0
  51. package/paseo/errors.d.ts +2644 -0
  52. package/paseo/events.d.ts +2821 -0
  53. package/paseo/index.d.ts +27 -0
  54. package/paseo/json-rpc.d.ts +103 -0
  55. package/paseo/query.d.ts +3709 -0
  56. package/paseo/runtime.d.ts +1205 -0
  57. package/paseo/tx.d.ts +8024 -0
  58. package/paseo/types.d.ts +10194 -0
  59. package/polkadot/consts.d.ts +95 -50
  60. package/polkadot/errors.d.ts +619 -468
  61. package/polkadot/events.d.ts +582 -257
  62. package/polkadot/index.d.ts +16 -11
  63. package/polkadot/json-rpc.d.ts +103 -0
  64. package/polkadot/query.d.ts +770 -399
  65. package/polkadot/runtime.d.ts +136 -65
  66. package/polkadot/tx.d.ts +4268 -2368
  67. package/polkadot/types.d.ts +1570 -745
  68. package/polkadotAssetHub/consts.d.ts +154 -15
  69. package/polkadotAssetHub/errors.d.ts +615 -234
  70. package/polkadotAssetHub/events.d.ts +829 -270
  71. package/polkadotAssetHub/index.d.ts +16 -11
  72. package/polkadotAssetHub/json-rpc.d.ts +89 -0
  73. package/polkadotAssetHub/query.d.ts +438 -243
  74. package/polkadotAssetHub/runtime.d.ts +147 -40
  75. package/polkadotAssetHub/tx.d.ts +3747 -1643
  76. package/polkadotAssetHub/types.d.ts +2096 -806
  77. package/rococo/consts.d.ts +51 -32
  78. package/rococo/errors.d.ts +549 -605
  79. package/rococo/events.d.ts +447 -238
  80. package/rococo/index.d.ts +16 -11
  81. package/rococo/json-rpc.d.ts +103 -0
  82. package/rococo/query.d.ts +724 -426
  83. package/rococo/runtime.d.ts +366 -144
  84. package/rococo/tx.d.ts +6850 -3079
  85. package/rococo/types.d.ts +5959 -1619
  86. package/rococoAssetHub/consts.d.ts +92 -7
  87. package/rococoAssetHub/errors.d.ts +381 -285
  88. package/rococoAssetHub/events.d.ts +461 -140
  89. package/rococoAssetHub/index.d.ts +16 -11
  90. package/rococoAssetHub/json-rpc.d.ts +89 -0
  91. package/rococoAssetHub/query.d.ts +487 -174
  92. package/rococoAssetHub/runtime.d.ts +235 -51
  93. package/rococoAssetHub/tx.d.ts +6005 -2163
  94. package/rococoAssetHub/types.d.ts +6683 -1003
  95. package/substrate/consts.d.ts +233 -52
  96. package/substrate/errors.d.ts +966 -781
  97. package/substrate/events.d.ts +1226 -381
  98. package/substrate/index.d.ts +16 -11
  99. package/substrate/json-rpc.d.ts +103 -0
  100. package/substrate/query.d.ts +1090 -460
  101. package/substrate/runtime.d.ts +274 -71
  102. package/substrate/tx.d.ts +12313 -4510
  103. package/substrate/types.d.ts +11036 -1432
  104. package/westend/consts.d.ts +1349 -0
  105. package/westend/errors.d.ts +2736 -0
  106. package/westend/events.d.ts +2906 -0
  107. package/westend/index.d.ts +27 -0
  108. package/westend/json-rpc.d.ts +103 -0
  109. package/westend/query.d.ts +3855 -0
  110. package/westend/runtime.d.ts +1437 -0
  111. package/westend/tx.d.ts +10248 -0
  112. package/westend/types.d.ts +14769 -0
  113. package/westendAssetHub/consts.d.ts +126 -7
  114. package/westendAssetHub/errors.d.ts +426 -285
  115. package/westendAssetHub/events.d.ts +498 -140
  116. package/westendAssetHub/index.d.ts +16 -11
  117. package/westendAssetHub/json-rpc.d.ts +89 -0
  118. package/westendAssetHub/query.d.ts +526 -174
  119. package/westendAssetHub/runtime.d.ts +245 -56
  120. package/westendAssetHub/tx.d.ts +6196 -2166
  121. package/westendAssetHub/types.d.ts +6913 -1002
  122. package/westendPeople/consts.d.ts +434 -0
  123. package/westendPeople/errors.d.ts +769 -0
  124. package/westendPeople/events.d.ts +1082 -0
  125. package/westendPeople/index.d.ts +27 -0
  126. package/westendPeople/json-rpc.d.ts +89 -0
  127. package/westendPeople/query.d.ts +1209 -0
  128. package/westendPeople/runtime.d.ts +636 -0
  129. package/westendPeople/tx.d.ts +2891 -0
  130. package/westendPeople/types.d.ts +4984 -0
  131. package/aleph/rpc.d.ts +0 -727
  132. package/astar/rpc.d.ts +0 -974
  133. package/kusama/rpc.d.ts +0 -904
  134. package/kusamaAssetHub/rpc.d.ts +0 -746
  135. package/moonbeam/rpc.d.ts +0 -1015
  136. package/packageInfo.d.ts +0 -4
  137. package/packageInfo.js +0 -2
  138. package/packageInfo.ts +0 -3
  139. package/polkadot/rpc.d.ts +0 -904
  140. package/polkadotAssetHub/rpc.d.ts +0 -746
  141. package/rococo/rpc.d.ts +0 -904
  142. package/rococoAssetHub/rpc.d.ts +0 -746
  143. package/substrate/rpc.d.ts +0 -894
  144. package/westendAssetHub/rpc.d.ts +0 -746
@@ -0,0 +1,1349 @@
1
+ // Generated by dedot cli
2
+
3
+ import type { GenericChainConsts, RpcVersion } from 'dedot/types';
4
+ import type { RuntimeVersion, Perbill, Permill, FixedU128 } from 'dedot/codecs';
5
+ import type {
6
+ FrameSystemLimitsBlockWeights,
7
+ FrameSystemLimitsBlockLength,
8
+ SpWeightsRuntimeDbWeight,
9
+ SpWeightsWeightV2Weight,
10
+ FrameSupportPalletId,
11
+ PalletReferendaTrackInfo,
12
+ StagingXcmV4Junctions,
13
+ } from './types';
14
+
15
+ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<Rv> {
16
+ /**
17
+ * Pallet `System`'s constants
18
+ **/
19
+ system: {
20
+ /**
21
+ * Block & extrinsics weights: base values and limits.
22
+ **/
23
+ blockWeights: FrameSystemLimitsBlockWeights;
24
+
25
+ /**
26
+ * The maximum length of a block (in bytes).
27
+ **/
28
+ blockLength: FrameSystemLimitsBlockLength;
29
+
30
+ /**
31
+ * Maximum number of block number to block hash mappings to keep (oldest pruned first).
32
+ **/
33
+ blockHashCount: number;
34
+
35
+ /**
36
+ * The weight of runtime database operations the runtime can invoke.
37
+ **/
38
+ dbWeight: SpWeightsRuntimeDbWeight;
39
+
40
+ /**
41
+ * Get the chain's in-code version.
42
+ **/
43
+ version: RuntimeVersion;
44
+
45
+ /**
46
+ * The designated SS58 prefix of this chain.
47
+ *
48
+ * This replaces the "ss58Format" property declared in the chain spec. Reason is
49
+ * that the runtime should know about the prefix in order to make use of it as
50
+ * an identifier of the chain.
51
+ **/
52
+ ss58Prefix: number;
53
+
54
+ /**
55
+ * Generic pallet constant
56
+ **/
57
+ [name: string]: any;
58
+ };
59
+ /**
60
+ * Pallet `Babe`'s constants
61
+ **/
62
+ babe: {
63
+ /**
64
+ * The amount of time, in slots, that each epoch should last.
65
+ * NOTE: Currently it is not possible to change the epoch duration after
66
+ * the chain has started. Attempting to do so will brick block production.
67
+ **/
68
+ epochDuration: bigint;
69
+
70
+ /**
71
+ * The expected average block time at which BABE should be creating
72
+ * blocks. Since BABE is probabilistic it is not trivial to figure out
73
+ * what the expected average block time should be based on the slot
74
+ * duration and the security parameter `c` (where `1 - c` represents
75
+ * the probability of a slot being empty).
76
+ **/
77
+ expectedBlockTime: bigint;
78
+
79
+ /**
80
+ * Max number of authorities allowed
81
+ **/
82
+ maxAuthorities: number;
83
+
84
+ /**
85
+ * The maximum number of nominators for each validator.
86
+ **/
87
+ maxNominators: number;
88
+
89
+ /**
90
+ * Generic pallet constant
91
+ **/
92
+ [name: string]: any;
93
+ };
94
+ /**
95
+ * Pallet `Timestamp`'s constants
96
+ **/
97
+ timestamp: {
98
+ /**
99
+ * The minimum period between blocks.
100
+ *
101
+ * Be aware that this is different to the *expected* period that the block production
102
+ * apparatus provides. Your chosen consensus system will generally work with this to
103
+ * determine a sensible block time. For example, in the Aura pallet it will be double this
104
+ * period on default settings.
105
+ **/
106
+ minimumPeriod: bigint;
107
+
108
+ /**
109
+ * Generic pallet constant
110
+ **/
111
+ [name: string]: any;
112
+ };
113
+ /**
114
+ * Pallet `Indices`'s constants
115
+ **/
116
+ indices: {
117
+ /**
118
+ * The deposit needed for reserving an index.
119
+ **/
120
+ deposit: bigint;
121
+
122
+ /**
123
+ * Generic pallet constant
124
+ **/
125
+ [name: string]: any;
126
+ };
127
+ /**
128
+ * Pallet `Balances`'s constants
129
+ **/
130
+ balances: {
131
+ /**
132
+ * The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO!
133
+ *
134
+ * If you *really* need it to be zero, you can enable the feature `insecure_zero_ed` for
135
+ * this pallet. However, you do so at your own risk: this will open up a major DoS vector.
136
+ * In case you have multiple sources of provider references, you may also get unexpected
137
+ * behaviour if you set this to zero.
138
+ *
139
+ * Bottom line: Do yourself a favour and make it at least one!
140
+ **/
141
+ existentialDeposit: bigint;
142
+
143
+ /**
144
+ * The maximum number of locks that should exist on an account.
145
+ * Not strictly enforced, but used for weight estimation.
146
+ *
147
+ * Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`
148
+ **/
149
+ maxLocks: number;
150
+
151
+ /**
152
+ * The maximum number of named reserves that can exist on an account.
153
+ *
154
+ * Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`
155
+ **/
156
+ maxReserves: 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 multiplier for `Operational` extrinsics to compute "virtual tip" to boost their
174
+ * `priority`
175
+ *
176
+ * This value is multiplied 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`, `ClaimedRewards`, `ErasStakersPaged`,
222
+ * `ErasStakersOverview`.
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.legacy_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 size of each `T::ExposurePage`.
259
+ *
260
+ * An `ExposurePage` is weakly bounded to a maximum of `MaxExposurePageSize`
261
+ * nominators.
262
+ *
263
+ * For older non-paged exposure, a reward payout was restricted to the top
264
+ * `MaxExposurePageSize` nominators. This is to limit the i/o cost for the
265
+ * nominator payout.
266
+ *
267
+ * Note: `MaxExposurePageSize` is used to bound `ClaimedRewards` and is unsafe to reduce
268
+ * without handling it in a migration.
269
+ **/
270
+ maxExposurePageSize: number;
271
+
272
+ /**
273
+ * The maximum number of `unlocking` chunks a [`StakingLedger`] can
274
+ * have. Effectively determines how many unique eras a staker may be
275
+ * unbonding in.
276
+ *
277
+ * Note: `MaxUnlockingChunks` is used as the upper bound for the
278
+ * `BoundedVec` item `StakingLedger.unlocking`. Setting this value
279
+ * lower than the existing value can lead to inconsistencies in the
280
+ * `StakingLedger` and will need to be handled properly in a runtime
281
+ * migration. The test `reducing_max_unlocking_chunks_abrupt` shows
282
+ * this effect.
283
+ **/
284
+ maxUnlockingChunks: number;
285
+
286
+ /**
287
+ * Generic pallet constant
288
+ **/
289
+ [name: string]: any;
290
+ };
291
+ /**
292
+ * Pallet `Offences`'s constants
293
+ **/
294
+ offences: {
295
+ /**
296
+ * Generic pallet constant
297
+ **/
298
+ [name: string]: any;
299
+ };
300
+ /**
301
+ * Pallet `Historical`'s constants
302
+ **/
303
+ historical: {
304
+ /**
305
+ * Generic pallet constant
306
+ **/
307
+ [name: string]: any;
308
+ };
309
+ /**
310
+ * Pallet `Session`'s constants
311
+ **/
312
+ session: {
313
+ /**
314
+ * Generic pallet constant
315
+ **/
316
+ [name: string]: any;
317
+ };
318
+ /**
319
+ * Pallet `Grandpa`'s constants
320
+ **/
321
+ grandpa: {
322
+ /**
323
+ * Max Authorities in use
324
+ **/
325
+ maxAuthorities: number;
326
+
327
+ /**
328
+ * The maximum number of nominators for each validator.
329
+ **/
330
+ maxNominators: number;
331
+
332
+ /**
333
+ * The maximum number of entries to keep in the set id to session index mapping.
334
+ *
335
+ * Since the `SetIdSession` map is only used for validating equivocations this
336
+ * value should relate to the bonding duration of whatever staking system is
337
+ * being used (if any). If equivocation handling is not enabled then this value
338
+ * can be zero.
339
+ **/
340
+ maxSetIdSessionEntries: bigint;
341
+
342
+ /**
343
+ * Generic pallet constant
344
+ **/
345
+ [name: string]: any;
346
+ };
347
+ /**
348
+ * Pallet `AuthorityDiscovery`'s constants
349
+ **/
350
+ authorityDiscovery: {
351
+ /**
352
+ * Generic pallet constant
353
+ **/
354
+ [name: string]: any;
355
+ };
356
+ /**
357
+ * Pallet `Utility`'s constants
358
+ **/
359
+ utility: {
360
+ /**
361
+ * The limit on the number of batched calls.
362
+ **/
363
+ batchedCallsLimit: number;
364
+
365
+ /**
366
+ * Generic pallet constant
367
+ **/
368
+ [name: string]: any;
369
+ };
370
+ /**
371
+ * Pallet `Identity`'s constants
372
+ **/
373
+ identity: {
374
+ /**
375
+ * The amount held on deposit for a registered identity.
376
+ **/
377
+ basicDeposit: bigint;
378
+
379
+ /**
380
+ * The amount held on deposit per encoded byte for a registered identity.
381
+ **/
382
+ byteDeposit: bigint;
383
+
384
+ /**
385
+ * The amount held on deposit for a registered subaccount. This should account for the fact
386
+ * that one storage item's value will increase by the size of an account ID, and there will
387
+ * be another trie item whose value is the size of an account ID plus 32 bytes.
388
+ **/
389
+ subAccountDeposit: bigint;
390
+
391
+ /**
392
+ * The maximum number of sub-accounts allowed per identified account.
393
+ **/
394
+ maxSubAccounts: number;
395
+
396
+ /**
397
+ * Maximum number of registrars allowed in the system. Needed to bound the complexity
398
+ * of, e.g., updating judgements.
399
+ **/
400
+ maxRegistrars: number;
401
+
402
+ /**
403
+ * The number of blocks within which a username grant must be accepted.
404
+ **/
405
+ pendingUsernameExpiration: number;
406
+
407
+ /**
408
+ * The maximum length of a suffix.
409
+ **/
410
+ maxSuffixLength: number;
411
+
412
+ /**
413
+ * The maximum length of a username, including its suffix and any system-added delimiters.
414
+ **/
415
+ maxUsernameLength: number;
416
+
417
+ /**
418
+ * Generic pallet constant
419
+ **/
420
+ [name: string]: any;
421
+ };
422
+ /**
423
+ * Pallet `Recovery`'s constants
424
+ **/
425
+ recovery: {
426
+ /**
427
+ * The base amount of currency needed to reserve for creating a recovery configuration.
428
+ *
429
+ * This is held for an additional storage item whose value size is
430
+ * `2 + sizeof(BlockNumber, Balance)` bytes.
431
+ **/
432
+ configDepositBase: bigint;
433
+
434
+ /**
435
+ * The amount of currency needed per additional user when creating a recovery
436
+ * configuration.
437
+ *
438
+ * This is held for adding `sizeof(AccountId)` bytes more into a pre-existing storage
439
+ * value.
440
+ **/
441
+ friendDepositFactor: bigint;
442
+
443
+ /**
444
+ * The maximum amount of friends allowed in a recovery configuration.
445
+ *
446
+ * NOTE: The threshold programmed in this Pallet uses u16, so it does
447
+ * not really make sense to have a limit here greater than u16::MAX.
448
+ * But also, that is a lot more than you should probably set this value
449
+ * to anyway...
450
+ **/
451
+ maxFriends: number;
452
+
453
+ /**
454
+ * The base amount of currency needed to reserve for starting a recovery.
455
+ *
456
+ * This is primarily held for deterring malicious recovery attempts, and should
457
+ * have a value large enough that a bad actor would choose not to place this
458
+ * deposit. It also acts to fund additional storage item whose value size is
459
+ * `sizeof(BlockNumber, Balance + T * AccountId)` bytes. Where T is a configurable
460
+ * threshold.
461
+ **/
462
+ recoveryDeposit: bigint;
463
+
464
+ /**
465
+ * Generic pallet constant
466
+ **/
467
+ [name: string]: any;
468
+ };
469
+ /**
470
+ * Pallet `Vesting`'s constants
471
+ **/
472
+ vesting: {
473
+ /**
474
+ * The minimum amount transferred to call `vested_transfer`.
475
+ **/
476
+ minVestedTransfer: bigint;
477
+ maxVestingSchedules: number;
478
+
479
+ /**
480
+ * Generic pallet constant
481
+ **/
482
+ [name: string]: any;
483
+ };
484
+ /**
485
+ * Pallet `Scheduler`'s constants
486
+ **/
487
+ scheduler: {
488
+ /**
489
+ * The maximum weight that may be scheduled per block for any dispatchables.
490
+ **/
491
+ maximumWeight: SpWeightsWeightV2Weight;
492
+
493
+ /**
494
+ * The maximum number of scheduled calls in the queue for a single block.
495
+ *
496
+ * NOTE:
497
+ * + Dependent pallets' benchmarks might require a higher limit for the setting. Set a
498
+ * higher limit under `runtime-benchmarks` feature.
499
+ **/
500
+ maxScheduledPerBlock: number;
501
+
502
+ /**
503
+ * Generic pallet constant
504
+ **/
505
+ [name: string]: any;
506
+ };
507
+ /**
508
+ * Pallet `Preimage`'s constants
509
+ **/
510
+ preimage: {
511
+ /**
512
+ * Generic pallet constant
513
+ **/
514
+ [name: string]: any;
515
+ };
516
+ /**
517
+ * Pallet `Sudo`'s constants
518
+ **/
519
+ sudo: {
520
+ /**
521
+ * Generic pallet constant
522
+ **/
523
+ [name: string]: any;
524
+ };
525
+ /**
526
+ * Pallet `Proxy`'s constants
527
+ **/
528
+ proxy: {
529
+ /**
530
+ * The base amount of currency needed to reserve for creating a proxy.
531
+ *
532
+ * This is held for an additional storage item whose value size is
533
+ * `sizeof(Balance)` bytes and whose key size is `sizeof(AccountId)` bytes.
534
+ **/
535
+ proxyDepositBase: bigint;
536
+
537
+ /**
538
+ * The amount of currency needed per proxy added.
539
+ *
540
+ * This is held for adding 32 bytes plus an instance of `ProxyType` more into a
541
+ * pre-existing storage value. Thus, when configuring `ProxyDepositFactor` one should take
542
+ * into account `32 + proxy_type.encode().len()` bytes of data.
543
+ **/
544
+ proxyDepositFactor: bigint;
545
+
546
+ /**
547
+ * The maximum amount of proxies allowed for a single account.
548
+ **/
549
+ maxProxies: number;
550
+
551
+ /**
552
+ * The maximum amount of time-delayed announcements that are allowed to be pending.
553
+ **/
554
+ maxPending: number;
555
+
556
+ /**
557
+ * The base amount of currency needed to reserve for creating an announcement.
558
+ *
559
+ * This is held when a new storage item holding a `Balance` is created (typically 16
560
+ * bytes).
561
+ **/
562
+ announcementDepositBase: bigint;
563
+
564
+ /**
565
+ * The amount of currency needed per announcement made.
566
+ *
567
+ * This is held for adding an `AccountId`, `Hash` and `BlockNumber` (typically 68 bytes)
568
+ * into a pre-existing storage value.
569
+ **/
570
+ announcementDepositFactor: bigint;
571
+
572
+ /**
573
+ * Generic pallet constant
574
+ **/
575
+ [name: string]: any;
576
+ };
577
+ /**
578
+ * Pallet `Multisig`'s constants
579
+ **/
580
+ multisig: {
581
+ /**
582
+ * The base amount of currency needed to reserve for creating a multisig execution or to
583
+ * store a dispatch call for later.
584
+ *
585
+ * This is held for an additional storage item whose value size is
586
+ * `4 + sizeof((BlockNumber, Balance, AccountId))` bytes and whose key size is
587
+ * `32 + sizeof(AccountId)` bytes.
588
+ **/
589
+ depositBase: bigint;
590
+
591
+ /**
592
+ * The amount of currency needed per unit threshold when creating a multisig execution.
593
+ *
594
+ * This is held for adding 32 bytes more into a pre-existing storage value.
595
+ **/
596
+ depositFactor: bigint;
597
+
598
+ /**
599
+ * The maximum amount of signatories allowed in the multisig.
600
+ **/
601
+ maxSignatories: number;
602
+
603
+ /**
604
+ * Generic pallet constant
605
+ **/
606
+ [name: string]: any;
607
+ };
608
+ /**
609
+ * Pallet `ElectionProviderMultiPhase`'s constants
610
+ **/
611
+ electionProviderMultiPhase: {
612
+ /**
613
+ * The minimum amount of improvement to the solution score that defines a solution as
614
+ * "better" in the Signed phase.
615
+ **/
616
+ betterSignedThreshold: Perbill;
617
+
618
+ /**
619
+ * The repeat threshold of the offchain worker.
620
+ *
621
+ * For example, if it is 5, that means that at least 5 blocks will elapse between attempts
622
+ * to submit the worker's solution.
623
+ **/
624
+ offchainRepeat: number;
625
+
626
+ /**
627
+ * The priority of the unsigned transaction submitted in the unsigned-phase
628
+ **/
629
+ minerTxPriority: bigint;
630
+
631
+ /**
632
+ * Maximum number of signed submissions that can be queued.
633
+ *
634
+ * It is best to avoid adjusting this during an election, as it impacts downstream data
635
+ * structures. In particular, `SignedSubmissionIndices<T>` is bounded on this value. If you
636
+ * update this value during an election, you _must_ ensure that
637
+ * `SignedSubmissionIndices.len()` is less than or equal to the new value. Otherwise,
638
+ * attempts to submit new solutions may cause a runtime panic.
639
+ **/
640
+ signedMaxSubmissions: number;
641
+
642
+ /**
643
+ * Maximum weight of a signed solution.
644
+ *
645
+ * If [`Config::MinerConfig`] is being implemented to submit signed solutions (outside of
646
+ * this pallet), then [`MinerConfig::solution_weight`] is used to compare against
647
+ * this value.
648
+ **/
649
+ signedMaxWeight: SpWeightsWeightV2Weight;
650
+
651
+ /**
652
+ * The maximum amount of unchecked solutions to refund the call fee for.
653
+ **/
654
+ signedMaxRefunds: number;
655
+
656
+ /**
657
+ * Base reward for a signed solution
658
+ **/
659
+ signedRewardBase: bigint;
660
+
661
+ /**
662
+ * Per-byte deposit for a signed solution.
663
+ **/
664
+ signedDepositByte: bigint;
665
+
666
+ /**
667
+ * Per-weight deposit for a signed solution.
668
+ **/
669
+ signedDepositWeight: bigint;
670
+
671
+ /**
672
+ * The maximum number of winners that can be elected by this `ElectionProvider`
673
+ * implementation.
674
+ *
675
+ * Note: This must always be greater or equal to `T::DataProvider::desired_targets()`.
676
+ **/
677
+ maxWinners: number;
678
+ minerMaxLength: number;
679
+ minerMaxWeight: SpWeightsWeightV2Weight;
680
+ minerMaxVotesPerVoter: number;
681
+ minerMaxWinners: number;
682
+
683
+ /**
684
+ * Generic pallet constant
685
+ **/
686
+ [name: string]: any;
687
+ };
688
+ /**
689
+ * Pallet `VoterList`'s constants
690
+ **/
691
+ voterList: {
692
+ /**
693
+ * The list of thresholds separating the various bags.
694
+ *
695
+ * Ids are separated into unsorted bags according to their score. This specifies the
696
+ * thresholds separating the bags. An id's bag is the largest bag for which the id's score
697
+ * is less than or equal to its upper threshold.
698
+ *
699
+ * When ids are iterated, higher bags are iterated completely before lower bags. This means
700
+ * that iteration is _semi-sorted_: ids of higher score tend to come before ids of lower
701
+ * score, but peer ids within a particular bag are sorted in insertion order.
702
+ *
703
+ * # Expressing the constant
704
+ *
705
+ * This constant must be sorted in strictly increasing order. Duplicate items are not
706
+ * permitted.
707
+ *
708
+ * There is an implied upper limit of `Score::MAX`; that value does not need to be
709
+ * specified within the bag. For any two threshold lists, if one ends with
710
+ * `Score::MAX`, the other one does not, and they are otherwise equal, the two
711
+ * lists will behave identically.
712
+ *
713
+ * # Calculation
714
+ *
715
+ * It is recommended to generate the set of thresholds in a geometric series, such that
716
+ * there exists some constant ratio such that `threshold[k + 1] == (threshold[k] *
717
+ * constant_ratio).max(threshold[k] + 1)` for all `k`.
718
+ *
719
+ * The helpers in the `/utils/frame/generate-bags` module can simplify this calculation.
720
+ *
721
+ * # Examples
722
+ *
723
+ * - If `BagThresholds::get().is_empty()`, then all ids are put into the same bag, and
724
+ * iteration is strictly in insertion order.
725
+ * - If `BagThresholds::get().len() == 64`, and the thresholds are determined according to
726
+ * the procedure given above, then the constant ratio is equal to 2.
727
+ * - If `BagThresholds::get().len() == 200`, and the thresholds are determined according to
728
+ * the procedure given above, then the constant ratio is approximately equal to 1.248.
729
+ * - If the threshold list begins `[1, 2, 3, ...]`, then an id with score 0 or 1 will fall
730
+ * into bag 0, an id with score 2 will fall into bag 1, etc.
731
+ *
732
+ * # Migration
733
+ *
734
+ * In the event that this list ever changes, a copy of the old bags list must be retained.
735
+ * With that `List::migrate` can be called, which will perform the appropriate migration.
736
+ **/
737
+ bagThresholds: Array<bigint>;
738
+
739
+ /**
740
+ * Generic pallet constant
741
+ **/
742
+ [name: string]: any;
743
+ };
744
+ /**
745
+ * Pallet `NominationPools`'s constants
746
+ **/
747
+ nominationPools: {
748
+ /**
749
+ * The nomination pool's pallet id.
750
+ **/
751
+ palletId: FrameSupportPalletId;
752
+
753
+ /**
754
+ * The maximum pool points-to-balance ratio that an `open` pool can have.
755
+ *
756
+ * This is important in the event slashing takes place and the pool's points-to-balance
757
+ * ratio becomes disproportional.
758
+ *
759
+ * Moreover, this relates to the `RewardCounter` type as well, as the arithmetic operations
760
+ * are a function of number of points, and by setting this value to e.g. 10, you ensure
761
+ * that the total number of points in the system are at most 10 times the total_issuance of
762
+ * the chain, in the absolute worse case.
763
+ *
764
+ * For a value of 10, the threshold would be a pool points-to-balance ratio of 10:1.
765
+ * Such a scenario would also be the equivalent of the pool being 90% slashed.
766
+ **/
767
+ maxPointsToBalance: number;
768
+
769
+ /**
770
+ * The maximum number of simultaneous unbonding chunks that can exist per member.
771
+ **/
772
+ maxUnbonding: number;
773
+
774
+ /**
775
+ * Generic pallet constant
776
+ **/
777
+ [name: string]: any;
778
+ };
779
+ /**
780
+ * Pallet `FastUnstake`'s constants
781
+ **/
782
+ fastUnstake: {
783
+ /**
784
+ * Deposit to take for unstaking, to make sure we're able to slash the it in order to cover
785
+ * the costs of resources on unsuccessful unstake.
786
+ **/
787
+ deposit: bigint;
788
+
789
+ /**
790
+ * Generic pallet constant
791
+ **/
792
+ [name: string]: any;
793
+ };
794
+ /**
795
+ * Pallet `ConvictionVoting`'s constants
796
+ **/
797
+ convictionVoting: {
798
+ /**
799
+ * The maximum number of concurrent votes an account may have.
800
+ *
801
+ * Also used to compute weight, an overly large value can lead to extrinsics with large
802
+ * weight estimation: see `delegate` for instance.
803
+ **/
804
+ maxVotes: number;
805
+
806
+ /**
807
+ * The minimum period of vote locking.
808
+ *
809
+ * It should be no shorter than enactment period to ensure that in the case of an approval,
810
+ * those successful voters are locked into the consequences that their votes entail.
811
+ **/
812
+ voteLockingPeriod: number;
813
+
814
+ /**
815
+ * Generic pallet constant
816
+ **/
817
+ [name: string]: any;
818
+ };
819
+ /**
820
+ * Pallet `Referenda`'s constants
821
+ **/
822
+ referenda: {
823
+ /**
824
+ * The minimum amount to be used as a deposit for a public referendum proposal.
825
+ **/
826
+ submissionDeposit: bigint;
827
+
828
+ /**
829
+ * Maximum size of the referendum queue for a single track.
830
+ **/
831
+ maxQueued: number;
832
+
833
+ /**
834
+ * The number of blocks after submission that a referendum must begin being decided by.
835
+ * Once this passes, then anyone may cancel the referendum.
836
+ **/
837
+ undecidingTimeout: number;
838
+
839
+ /**
840
+ * Quantization level for the referendum wakeup scheduler. A higher number will result in
841
+ * fewer storage reads/writes needed for smaller voters, but also result in delays to the
842
+ * automatic referendum status changes. Explicit servicing instructions are unaffected.
843
+ **/
844
+ alarmInterval: number;
845
+
846
+ /**
847
+ * Information concerning the different referendum tracks.
848
+ **/
849
+ tracks: Array<[number, PalletReferendaTrackInfo]>;
850
+
851
+ /**
852
+ * Generic pallet constant
853
+ **/
854
+ [name: string]: any;
855
+ };
856
+ /**
857
+ * Pallet `Origins`'s constants
858
+ **/
859
+ origins: {
860
+ /**
861
+ * Generic pallet constant
862
+ **/
863
+ [name: string]: any;
864
+ };
865
+ /**
866
+ * Pallet `Whitelist`'s constants
867
+ **/
868
+ whitelist: {
869
+ /**
870
+ * Generic pallet constant
871
+ **/
872
+ [name: string]: any;
873
+ };
874
+ /**
875
+ * Pallet `Treasury`'s constants
876
+ **/
877
+ treasury: {
878
+ /**
879
+ * Period between successive spends.
880
+ **/
881
+ spendPeriod: number;
882
+
883
+ /**
884
+ * Percentage of spare funds (if any) that are burnt per spend period.
885
+ **/
886
+ burn: Permill;
887
+
888
+ /**
889
+ * The treasury's pallet id, used for deriving its sovereign account ID.
890
+ **/
891
+ palletId: FrameSupportPalletId;
892
+
893
+ /**
894
+ * The maximum number of approvals that can wait in the spending queue.
895
+ *
896
+ * NOTE: This parameter is also used within the Bounties Pallet extension if enabled.
897
+ **/
898
+ maxApprovals: number;
899
+
900
+ /**
901
+ * The period during which an approved treasury spend has to be claimed.
902
+ **/
903
+ payoutPeriod: number;
904
+
905
+ /**
906
+ * Generic pallet constant
907
+ **/
908
+ [name: string]: any;
909
+ };
910
+ /**
911
+ * Pallet `DelegatedStaking`'s constants
912
+ **/
913
+ delegatedStaking: {
914
+ /**
915
+ * Injected identifier for the pallet.
916
+ **/
917
+ palletId: FrameSupportPalletId;
918
+
919
+ /**
920
+ * Fraction of the slash that is rewarded to the caller of pending slash to the agent.
921
+ **/
922
+ slashRewardFraction: Perbill;
923
+
924
+ /**
925
+ * Generic pallet constant
926
+ **/
927
+ [name: string]: any;
928
+ };
929
+ /**
930
+ * Pallet `ParachainsOrigin`'s constants
931
+ **/
932
+ parachainsOrigin: {
933
+ /**
934
+ * Generic pallet constant
935
+ **/
936
+ [name: string]: any;
937
+ };
938
+ /**
939
+ * Pallet `Configuration`'s constants
940
+ **/
941
+ configuration: {
942
+ /**
943
+ * Generic pallet constant
944
+ **/
945
+ [name: string]: any;
946
+ };
947
+ /**
948
+ * Pallet `ParasShared`'s constants
949
+ **/
950
+ parasShared: {
951
+ /**
952
+ * Generic pallet constant
953
+ **/
954
+ [name: string]: any;
955
+ };
956
+ /**
957
+ * Pallet `ParaInclusion`'s constants
958
+ **/
959
+ paraInclusion: {
960
+ /**
961
+ * Generic pallet constant
962
+ **/
963
+ [name: string]: any;
964
+ };
965
+ /**
966
+ * Pallet `ParaInherent`'s constants
967
+ **/
968
+ paraInherent: {
969
+ /**
970
+ * Generic pallet constant
971
+ **/
972
+ [name: string]: any;
973
+ };
974
+ /**
975
+ * Pallet `ParaScheduler`'s constants
976
+ **/
977
+ paraScheduler: {
978
+ /**
979
+ * Generic pallet constant
980
+ **/
981
+ [name: string]: any;
982
+ };
983
+ /**
984
+ * Pallet `Paras`'s constants
985
+ **/
986
+ paras: {
987
+ unsignedPriority: bigint;
988
+
989
+ /**
990
+ * Generic pallet constant
991
+ **/
992
+ [name: string]: any;
993
+ };
994
+ /**
995
+ * Pallet `Initializer`'s constants
996
+ **/
997
+ initializer: {
998
+ /**
999
+ * Generic pallet constant
1000
+ **/
1001
+ [name: string]: any;
1002
+ };
1003
+ /**
1004
+ * Pallet `Dmp`'s constants
1005
+ **/
1006
+ dmp: {
1007
+ /**
1008
+ * Generic pallet constant
1009
+ **/
1010
+ [name: string]: any;
1011
+ };
1012
+ /**
1013
+ * Pallet `Hrmp`'s constants
1014
+ **/
1015
+ hrmp: {
1016
+ /**
1017
+ * Generic pallet constant
1018
+ **/
1019
+ [name: string]: any;
1020
+ };
1021
+ /**
1022
+ * Pallet `ParaSessionInfo`'s constants
1023
+ **/
1024
+ paraSessionInfo: {
1025
+ /**
1026
+ * Generic pallet constant
1027
+ **/
1028
+ [name: string]: any;
1029
+ };
1030
+ /**
1031
+ * Pallet `ParasDisputes`'s constants
1032
+ **/
1033
+ parasDisputes: {
1034
+ /**
1035
+ * Generic pallet constant
1036
+ **/
1037
+ [name: string]: any;
1038
+ };
1039
+ /**
1040
+ * Pallet `ParasSlashing`'s constants
1041
+ **/
1042
+ parasSlashing: {
1043
+ /**
1044
+ * Generic pallet constant
1045
+ **/
1046
+ [name: string]: any;
1047
+ };
1048
+ /**
1049
+ * Pallet `OnDemandAssignmentProvider`'s constants
1050
+ **/
1051
+ onDemandAssignmentProvider: {
1052
+ /**
1053
+ * The default value for the spot traffic multiplier.
1054
+ **/
1055
+ trafficDefaultValue: FixedU128;
1056
+
1057
+ /**
1058
+ * The maximum number of blocks some historical revenue
1059
+ * information stored for.
1060
+ **/
1061
+ maxHistoricalRevenue: number;
1062
+
1063
+ /**
1064
+ * Identifier for the internal revenue balance.
1065
+ **/
1066
+ palletId: FrameSupportPalletId;
1067
+
1068
+ /**
1069
+ * Generic pallet constant
1070
+ **/
1071
+ [name: string]: any;
1072
+ };
1073
+ /**
1074
+ * Pallet `CoretimeAssignmentProvider`'s constants
1075
+ **/
1076
+ coretimeAssignmentProvider: {
1077
+ /**
1078
+ * Generic pallet constant
1079
+ **/
1080
+ [name: string]: any;
1081
+ };
1082
+ /**
1083
+ * Pallet `Registrar`'s constants
1084
+ **/
1085
+ registrar: {
1086
+ /**
1087
+ * The deposit to be paid to run a on-demand parachain.
1088
+ * This should include the cost for storing the genesis head and validation code.
1089
+ **/
1090
+ paraDeposit: bigint;
1091
+
1092
+ /**
1093
+ * The deposit to be paid per byte stored on chain.
1094
+ **/
1095
+ dataDepositPerByte: bigint;
1096
+
1097
+ /**
1098
+ * Generic pallet constant
1099
+ **/
1100
+ [name: string]: any;
1101
+ };
1102
+ /**
1103
+ * Pallet `Slots`'s constants
1104
+ **/
1105
+ slots: {
1106
+ /**
1107
+ * The number of blocks over which a single period lasts.
1108
+ **/
1109
+ leasePeriod: number;
1110
+
1111
+ /**
1112
+ * The number of blocks to offset each lease period by.
1113
+ **/
1114
+ leaseOffset: number;
1115
+
1116
+ /**
1117
+ * Generic pallet constant
1118
+ **/
1119
+ [name: string]: any;
1120
+ };
1121
+ /**
1122
+ * Pallet `ParasSudoWrapper`'s constants
1123
+ **/
1124
+ parasSudoWrapper: {
1125
+ /**
1126
+ * Generic pallet constant
1127
+ **/
1128
+ [name: string]: any;
1129
+ };
1130
+ /**
1131
+ * Pallet `Auctions`'s constants
1132
+ **/
1133
+ auctions: {
1134
+ /**
1135
+ * The number of blocks over which an auction may be retroactively ended.
1136
+ **/
1137
+ endingPeriod: number;
1138
+
1139
+ /**
1140
+ * The length of each sample to take during the ending period.
1141
+ *
1142
+ * `EndingPeriod` / `SampleLength` = Total # of Samples
1143
+ **/
1144
+ sampleLength: number;
1145
+ slotRangeCount: number;
1146
+ leasePeriodsPerSlot: number;
1147
+
1148
+ /**
1149
+ * Generic pallet constant
1150
+ **/
1151
+ [name: string]: any;
1152
+ };
1153
+ /**
1154
+ * Pallet `Crowdloan`'s constants
1155
+ **/
1156
+ crowdloan: {
1157
+ /**
1158
+ * `PalletId` for the crowdloan pallet. An appropriate value could be
1159
+ * `PalletId(*b"py/cfund")`
1160
+ **/
1161
+ palletId: FrameSupportPalletId;
1162
+
1163
+ /**
1164
+ * The minimum amount that may be contributed into a crowdloan. Should almost certainly be
1165
+ * at least `ExistentialDeposit`.
1166
+ **/
1167
+ minContribution: bigint;
1168
+
1169
+ /**
1170
+ * Max number of storage keys to remove per extrinsic call.
1171
+ **/
1172
+ removeKeysLimit: number;
1173
+
1174
+ /**
1175
+ * Generic pallet constant
1176
+ **/
1177
+ [name: string]: any;
1178
+ };
1179
+ /**
1180
+ * Pallet `AssignedSlots`'s constants
1181
+ **/
1182
+ assignedSlots: {
1183
+ /**
1184
+ * The number of lease periods a permanent parachain slot lasts.
1185
+ **/
1186
+ permanentSlotLeasePeriodLength: number;
1187
+
1188
+ /**
1189
+ * The number of lease periods a temporary parachain slot lasts.
1190
+ **/
1191
+ temporarySlotLeasePeriodLength: number;
1192
+
1193
+ /**
1194
+ * The max number of temporary slots to be scheduled per lease periods.
1195
+ **/
1196
+ maxTemporarySlotPerLeasePeriod: number;
1197
+
1198
+ /**
1199
+ * Generic pallet constant
1200
+ **/
1201
+ [name: string]: any;
1202
+ };
1203
+ /**
1204
+ * Pallet `Coretime`'s constants
1205
+ **/
1206
+ coretime: {
1207
+ /**
1208
+ * The ParaId of the coretime chain.
1209
+ **/
1210
+ brokerId: number;
1211
+
1212
+ /**
1213
+ * The coretime chain pot location.
1214
+ **/
1215
+ brokerPotLocation: StagingXcmV4Junctions;
1216
+
1217
+ /**
1218
+ * Generic pallet constant
1219
+ **/
1220
+ [name: string]: any;
1221
+ };
1222
+ /**
1223
+ * Pallet `XcmPallet`'s constants
1224
+ **/
1225
+ xcmPallet: {
1226
+ /**
1227
+ * Generic pallet constant
1228
+ **/
1229
+ [name: string]: any;
1230
+ };
1231
+ /**
1232
+ * Pallet `MessageQueue`'s constants
1233
+ **/
1234
+ messageQueue: {
1235
+ /**
1236
+ * The size of the page; this implies the maximum message size which can be sent.
1237
+ *
1238
+ * A good value depends on the expected message sizes, their weights, the weight that is
1239
+ * available for processing them and the maximal needed message size. The maximal message
1240
+ * size is slightly lower than this as defined by [`MaxMessageLenOf`].
1241
+ **/
1242
+ heapSize: number;
1243
+
1244
+ /**
1245
+ * The maximum number of stale pages (i.e. of overweight messages) allowed before culling
1246
+ * can happen. Once there are more stale pages than this, then historical pages may be
1247
+ * dropped, even if they contain unprocessed overweight messages.
1248
+ **/
1249
+ maxStale: number;
1250
+
1251
+ /**
1252
+ * The amount of weight (if any) which should be provided to the message queue for
1253
+ * servicing enqueued items `on_initialize`.
1254
+ *
1255
+ * This may be legitimately `None` in the case that you will call
1256
+ * `ServiceQueues::service_queues` manually or set [`Self::IdleMaxServiceWeight`] to have
1257
+ * it run in `on_idle`.
1258
+ **/
1259
+ serviceWeight: SpWeightsWeightV2Weight | undefined;
1260
+
1261
+ /**
1262
+ * The maximum amount of weight (if any) to be used from remaining weight `on_idle` which
1263
+ * should be provided to the message queue for servicing enqueued items `on_idle`.
1264
+ * Useful for parachains to process messages at the same block they are received.
1265
+ *
1266
+ * If `None`, it will not call `ServiceQueues::service_queues` in `on_idle`.
1267
+ **/
1268
+ idleMaxServiceWeight: SpWeightsWeightV2Weight | undefined;
1269
+
1270
+ /**
1271
+ * Generic pallet constant
1272
+ **/
1273
+ [name: string]: any;
1274
+ };
1275
+ /**
1276
+ * Pallet `AssetRate`'s constants
1277
+ **/
1278
+ assetRate: {
1279
+ /**
1280
+ * Generic pallet constant
1281
+ **/
1282
+ [name: string]: any;
1283
+ };
1284
+ /**
1285
+ * Pallet `RootTesting`'s constants
1286
+ **/
1287
+ rootTesting: {
1288
+ /**
1289
+ * Generic pallet constant
1290
+ **/
1291
+ [name: string]: any;
1292
+ };
1293
+ /**
1294
+ * Pallet `Beefy`'s constants
1295
+ **/
1296
+ beefy: {
1297
+ /**
1298
+ * The maximum number of authorities that can be added.
1299
+ **/
1300
+ maxAuthorities: number;
1301
+
1302
+ /**
1303
+ * The maximum number of nominators for each validator.
1304
+ **/
1305
+ maxNominators: number;
1306
+
1307
+ /**
1308
+ * The maximum number of entries to keep in the set id to session index mapping.
1309
+ *
1310
+ * Since the `SetIdSession` map is only used for validating equivocations this
1311
+ * value should relate to the bonding duration of whatever staking system is
1312
+ * being used (if any). If equivocation handling is not enabled then this value
1313
+ * can be zero.
1314
+ **/
1315
+ maxSetIdSessionEntries: bigint;
1316
+
1317
+ /**
1318
+ * Generic pallet constant
1319
+ **/
1320
+ [name: string]: any;
1321
+ };
1322
+ /**
1323
+ * Pallet `Mmr`'s constants
1324
+ **/
1325
+ mmr: {
1326
+ /**
1327
+ * Generic pallet constant
1328
+ **/
1329
+ [name: string]: any;
1330
+ };
1331
+ /**
1332
+ * Pallet `BeefyMmrLeaf`'s constants
1333
+ **/
1334
+ beefyMmrLeaf: {
1335
+ /**
1336
+ * Generic pallet constant
1337
+ **/
1338
+ [name: string]: any;
1339
+ };
1340
+ /**
1341
+ * Pallet `IdentityMigrator`'s constants
1342
+ **/
1343
+ identityMigrator: {
1344
+ /**
1345
+ * Generic pallet constant
1346
+ **/
1347
+ [name: string]: any;
1348
+ };
1349
+ }