@dedot/chaintypes 0.0.1-alpha.100

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (105) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +5 -0
  3. package/aleph/consts.d.ts +676 -0
  4. package/aleph/errors.d.ts +1054 -0
  5. package/aleph/events.d.ts +1201 -0
  6. package/aleph/index.d.ts +27 -0
  7. package/aleph/json-rpc.d.ts +85 -0
  8. package/aleph/query.d.ts +1573 -0
  9. package/aleph/runtime.d.ts +596 -0
  10. package/aleph/tx.d.ts +3440 -0
  11. package/aleph/types.d.ts +3951 -0
  12. package/astar/consts.d.ts +737 -0
  13. package/astar/errors.d.ts +1508 -0
  14. package/astar/events.d.ts +1878 -0
  15. package/astar/index.d.ts +27 -0
  16. package/astar/json-rpc.d.ts +131 -0
  17. package/astar/query.d.ts +1851 -0
  18. package/astar/runtime.d.ts +803 -0
  19. package/astar/tx.d.ts +4516 -0
  20. package/astar/types.d.ts +6141 -0
  21. package/index.d.ts +11 -0
  22. package/index.js +1 -0
  23. package/index.ts +11 -0
  24. package/kusama/consts.d.ts +1578 -0
  25. package/kusama/errors.d.ts +3152 -0
  26. package/kusama/events.d.ts +3579 -0
  27. package/kusama/index.d.ts +27 -0
  28. package/kusama/json-rpc.d.ts +103 -0
  29. package/kusama/query.d.ts +4229 -0
  30. package/kusama/runtime.d.ts +1196 -0
  31. package/kusama/tx.d.ts +9040 -0
  32. package/kusama/types.d.ts +11369 -0
  33. package/kusamaAssetHub/consts.d.ts +759 -0
  34. package/kusamaAssetHub/errors.d.ts +1494 -0
  35. package/kusamaAssetHub/events.d.ts +2491 -0
  36. package/kusamaAssetHub/index.d.ts +27 -0
  37. package/kusamaAssetHub/json-rpc.d.ts +89 -0
  38. package/kusamaAssetHub/query.d.ts +1662 -0
  39. package/kusamaAssetHub/runtime.d.ts +555 -0
  40. package/kusamaAssetHub/tx.d.ts +6192 -0
  41. package/kusamaAssetHub/types.d.ts +6831 -0
  42. package/moonbeam/consts.d.ts +1010 -0
  43. package/moonbeam/errors.d.ts +1932 -0
  44. package/moonbeam/events.d.ts +2928 -0
  45. package/moonbeam/index.d.ts +27 -0
  46. package/moonbeam/json-rpc.d.ts +137 -0
  47. package/moonbeam/query.d.ts +2282 -0
  48. package/moonbeam/runtime.d.ts +724 -0
  49. package/moonbeam/tx.d.ts +6222 -0
  50. package/moonbeam/types.d.ts +8165 -0
  51. package/package.json +25 -0
  52. package/polkadot/consts.d.ts +1313 -0
  53. package/polkadot/errors.d.ts +2575 -0
  54. package/polkadot/events.d.ts +2757 -0
  55. package/polkadot/index.d.ts +27 -0
  56. package/polkadot/json-rpc.d.ts +103 -0
  57. package/polkadot/query.d.ts +3693 -0
  58. package/polkadot/runtime.d.ts +1196 -0
  59. package/polkadot/tx.d.ts +7706 -0
  60. package/polkadot/types.d.ts +9893 -0
  61. package/polkadotAssetHub/consts.d.ts +724 -0
  62. package/polkadotAssetHub/errors.d.ts +1465 -0
  63. package/polkadotAssetHub/events.d.ts +2462 -0
  64. package/polkadotAssetHub/index.d.ts +27 -0
  65. package/polkadotAssetHub/json-rpc.d.ts +89 -0
  66. package/polkadotAssetHub/query.d.ts +1640 -0
  67. package/polkadotAssetHub/runtime.d.ts +558 -0
  68. package/polkadotAssetHub/tx.d.ts +6121 -0
  69. package/polkadotAssetHub/types.d.ts +6739 -0
  70. package/rococo/consts.d.ts +1423 -0
  71. package/rococo/errors.d.ts +2783 -0
  72. package/rococo/events.d.ts +3361 -0
  73. package/rococo/index.d.ts +27 -0
  74. package/rococo/json-rpc.d.ts +103 -0
  75. package/rococo/query.d.ts +3561 -0
  76. package/rococo/runtime.d.ts +1257 -0
  77. package/rococo/tx.d.ts +10721 -0
  78. package/rococo/types.d.ts +14828 -0
  79. package/rococoAssetHub/consts.d.ts +787 -0
  80. package/rococoAssetHub/errors.d.ts +1523 -0
  81. package/rococoAssetHub/events.d.ts +2517 -0
  82. package/rococoAssetHub/index.d.ts +27 -0
  83. package/rococoAssetHub/json-rpc.d.ts +89 -0
  84. package/rococoAssetHub/query.d.ts +1682 -0
  85. package/rococoAssetHub/runtime.d.ts +704 -0
  86. package/rococoAssetHub/tx.d.ts +9013 -0
  87. package/rococoAssetHub/types.d.ts +12352 -0
  88. package/substrate/consts.d.ts +2223 -0
  89. package/substrate/errors.d.ts +4023 -0
  90. package/substrate/events.d.ts +5430 -0
  91. package/substrate/index.d.ts +27 -0
  92. package/substrate/json-rpc.d.ts +101 -0
  93. package/substrate/query.d.ts +4083 -0
  94. package/substrate/runtime.d.ts +971 -0
  95. package/substrate/tx.d.ts +12501 -0
  96. package/substrate/types.d.ts +13380 -0
  97. package/westendAssetHub/consts.d.ts +787 -0
  98. package/westendAssetHub/errors.d.ts +1523 -0
  99. package/westendAssetHub/events.d.ts +2477 -0
  100. package/westendAssetHub/index.d.ts +27 -0
  101. package/westendAssetHub/json-rpc.d.ts +89 -0
  102. package/westendAssetHub/query.d.ts +1656 -0
  103. package/westendAssetHub/runtime.d.ts +652 -0
  104. package/westendAssetHub/tx.d.ts +8984 -0
  105. package/westendAssetHub/types.d.ts +12292 -0
@@ -0,0 +1,1010 @@
1
+ // Generated by @dedot/codegen
2
+
3
+ import type { GenericChainConsts, RpcVersion } from 'dedot/types';
4
+ import type { RuntimeVersion, Permill, Perbill, Bytes } from 'dedot/codecs';
5
+ import type {
6
+ FrameSystemLimitsBlockWeights,
7
+ FrameSystemLimitsBlockLength,
8
+ SpWeightsRuntimeDbWeight,
9
+ SpWeightsWeightV2Weight,
10
+ PalletReferendaTrackInfo,
11
+ FrameSupportPalletId,
12
+ StagingXcmV4Location,
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 current 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 `ParachainSystem`'s constants
61
+ **/
62
+ parachainSystem: {
63
+ /**
64
+ * Generic pallet constant
65
+ **/
66
+ [name: string]: any;
67
+ };
68
+ /**
69
+ * Pallet `Timestamp`'s constants
70
+ **/
71
+ timestamp: {
72
+ /**
73
+ * The minimum period between blocks.
74
+ *
75
+ * Be aware that this is different to the *expected* period that the block production
76
+ * apparatus provides. Your chosen consensus system will generally work with this to
77
+ * determine a sensible block time. For example, in the Aura pallet it will be double this
78
+ * period on default settings.
79
+ **/
80
+ minimumPeriod: bigint;
81
+
82
+ /**
83
+ * Generic pallet constant
84
+ **/
85
+ [name: string]: any;
86
+ };
87
+ /**
88
+ * Pallet `ParachainInfo`'s constants
89
+ **/
90
+ parachainInfo: {
91
+ /**
92
+ * Generic pallet constant
93
+ **/
94
+ [name: string]: any;
95
+ };
96
+ /**
97
+ * Pallet `RootTesting`'s constants
98
+ **/
99
+ rootTesting: {
100
+ /**
101
+ * Generic pallet constant
102
+ **/
103
+ [name: string]: any;
104
+ };
105
+ /**
106
+ * Pallet `Balances`'s constants
107
+ **/
108
+ balances: {
109
+ /**
110
+ * The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO!
111
+ *
112
+ * If you *really* need it to be zero, you can enable the feature `insecure_zero_ed` for
113
+ * this pallet. However, you do so at your own risk: this will open up a major DoS vector.
114
+ * In case you have multiple sources of provider references, you may also get unexpected
115
+ * behaviour if you set this to zero.
116
+ *
117
+ * Bottom line: Do yourself a favour and make it at least one!
118
+ **/
119
+ existentialDeposit: bigint;
120
+
121
+ /**
122
+ * The maximum number of locks that should exist on an account.
123
+ * Not strictly enforced, but used for weight estimation.
124
+ **/
125
+ maxLocks: number;
126
+
127
+ /**
128
+ * The maximum number of named reserves that can exist on an account.
129
+ **/
130
+ maxReserves: number;
131
+
132
+ /**
133
+ * The maximum number of individual freeze locks that can exist on an account at any time.
134
+ **/
135
+ maxFreezes: number;
136
+
137
+ /**
138
+ * Generic pallet constant
139
+ **/
140
+ [name: string]: any;
141
+ };
142
+ /**
143
+ * Pallet `TransactionPayment`'s constants
144
+ **/
145
+ transactionPayment: {
146
+ /**
147
+ * A fee multiplier for `Operational` extrinsics to compute "virtual tip" to boost their
148
+ * `priority`
149
+ *
150
+ * This value is multiplied by the `final_fee` to obtain a "virtual tip" that is later
151
+ * added to a tip component in regular `priority` calculations.
152
+ * It means that a `Normal` transaction can front-run a similarly-sized `Operational`
153
+ * extrinsic (with no tip), by including a tip value greater than the virtual tip.
154
+ *
155
+ * ```rust,ignore
156
+ * // For `Normal`
157
+ * let priority = priority_calc(tip);
158
+ *
159
+ * // For `Operational`
160
+ * let virtual_tip = (inclusion_fee + tip) * OperationalFeeMultiplier;
161
+ * let priority = priority_calc(tip + virtual_tip);
162
+ * ```
163
+ *
164
+ * Note that since we use `final_fee` the multiplier applies also to the regular `tip`
165
+ * sent with the transaction. So, not only does the transaction get a priority bump based
166
+ * on the `inclusion_fee`, but we also amplify the impact of tips applied to `Operational`
167
+ * transactions.
168
+ **/
169
+ operationalFeeMultiplier: number;
170
+
171
+ /**
172
+ * Generic pallet constant
173
+ **/
174
+ [name: string]: any;
175
+ };
176
+ /**
177
+ * Pallet `ParachainStaking`'s constants
178
+ **/
179
+ parachainStaking: {
180
+ /**
181
+ * Minimum number of blocks per round
182
+ **/
183
+ minBlocksPerRound: number;
184
+
185
+ /**
186
+ * If a collator doesn't produce any block on this number of rounds, it is notified as inactive.
187
+ * This value must be less than or equal to RewardPaymentDelay.
188
+ **/
189
+ maxOfflineRounds: number;
190
+
191
+ /**
192
+ * Number of rounds that candidates remain bonded before exit request is executable
193
+ **/
194
+ leaveCandidatesDelay: number;
195
+
196
+ /**
197
+ * Number of rounds candidate requests to decrease self-bond must wait to be executable
198
+ **/
199
+ candidateBondLessDelay: number;
200
+
201
+ /**
202
+ * Number of rounds that delegators remain bonded before exit request is executable
203
+ **/
204
+ leaveDelegatorsDelay: number;
205
+
206
+ /**
207
+ * Number of rounds that delegations remain bonded before revocation request is executable
208
+ **/
209
+ revokeDelegationDelay: number;
210
+
211
+ /**
212
+ * Number of rounds that delegation less requests must wait before executable
213
+ **/
214
+ delegationBondLessDelay: number;
215
+
216
+ /**
217
+ * Number of rounds after which block authors are rewarded
218
+ **/
219
+ rewardPaymentDelay: number;
220
+
221
+ /**
222
+ * Minimum number of selected candidates every round
223
+ **/
224
+ minSelectedCandidates: number;
225
+
226
+ /**
227
+ * Maximum top delegations counted per candidate
228
+ **/
229
+ maxTopDelegationsPerCandidate: number;
230
+
231
+ /**
232
+ * Maximum bottom delegations (not counted) per candidate
233
+ **/
234
+ maxBottomDelegationsPerCandidate: number;
235
+
236
+ /**
237
+ * Maximum delegations per delegator
238
+ **/
239
+ maxDelegationsPerDelegator: number;
240
+
241
+ /**
242
+ * Minimum stake required for any account to be a collator candidate
243
+ **/
244
+ minCandidateStk: bigint;
245
+
246
+ /**
247
+ * Minimum stake for any registered on-chain account to delegate
248
+ **/
249
+ minDelegation: bigint;
250
+
251
+ /**
252
+ * Get the slot duration in milliseconds
253
+ **/
254
+ slotDuration: bigint;
255
+
256
+ /**
257
+ * Get the average time beetween 2 blocks in milliseconds
258
+ **/
259
+ blockTime: bigint;
260
+
261
+ /**
262
+ * Maximum candidates
263
+ **/
264
+ maxCandidates: number;
265
+
266
+ /**
267
+ * Generic pallet constant
268
+ **/
269
+ [name: string]: any;
270
+ };
271
+ /**
272
+ * Pallet `AuthorInherent`'s constants
273
+ **/
274
+ authorInherent: {
275
+ /**
276
+ * Generic pallet constant
277
+ **/
278
+ [name: string]: any;
279
+ };
280
+ /**
281
+ * Pallet `AuthorFilter`'s constants
282
+ **/
283
+ authorFilter: {
284
+ /**
285
+ * Generic pallet constant
286
+ **/
287
+ [name: string]: any;
288
+ };
289
+ /**
290
+ * Pallet `AuthorMapping`'s constants
291
+ **/
292
+ authorMapping: {
293
+ /**
294
+ * Generic pallet constant
295
+ **/
296
+ [name: string]: any;
297
+ };
298
+ /**
299
+ * Pallet `MoonbeamOrbiters`'s constants
300
+ **/
301
+ moonbeamOrbiters: {
302
+ /**
303
+ * Maximum number of orbiters per collator.
304
+ **/
305
+ maxPoolSize: number;
306
+
307
+ /**
308
+ * Maximum number of round to keep on storage.
309
+ **/
310
+ maxRoundArchive: number;
311
+
312
+ /**
313
+ * Number of rounds before changing the selected orbiter.
314
+ * WARNING: when changing `RotatePeriod`, you need a migration code that sets
315
+ * `ForceRotation` to true to avoid holes in `OrbiterPerRound`.
316
+ **/
317
+ rotatePeriod: number;
318
+
319
+ /**
320
+ * Generic pallet constant
321
+ **/
322
+ [name: string]: any;
323
+ };
324
+ /**
325
+ * Pallet `Utility`'s constants
326
+ **/
327
+ utility: {
328
+ /**
329
+ * The limit on the number of batched calls.
330
+ **/
331
+ batchedCallsLimit: number;
332
+
333
+ /**
334
+ * Generic pallet constant
335
+ **/
336
+ [name: string]: any;
337
+ };
338
+ /**
339
+ * Pallet `Proxy`'s constants
340
+ **/
341
+ proxy: {
342
+ /**
343
+ * The base amount of currency needed to reserve for creating a proxy.
344
+ *
345
+ * This is held for an additional storage item whose value size is
346
+ * `sizeof(Balance)` bytes and whose key size is `sizeof(AccountId)` bytes.
347
+ **/
348
+ proxyDepositBase: bigint;
349
+
350
+ /**
351
+ * The amount of currency needed per proxy added.
352
+ *
353
+ * This is held for adding 32 bytes plus an instance of `ProxyType` more into a
354
+ * pre-existing storage value. Thus, when configuring `ProxyDepositFactor` one should take
355
+ * into account `32 + proxy_type.encode().len()` bytes of data.
356
+ **/
357
+ proxyDepositFactor: bigint;
358
+
359
+ /**
360
+ * The maximum amount of proxies allowed for a single account.
361
+ **/
362
+ maxProxies: number;
363
+
364
+ /**
365
+ * The maximum amount of time-delayed announcements that are allowed to be pending.
366
+ **/
367
+ maxPending: number;
368
+
369
+ /**
370
+ * The base amount of currency needed to reserve for creating an announcement.
371
+ *
372
+ * This is held when a new storage item holding a `Balance` is created (typically 16
373
+ * bytes).
374
+ **/
375
+ announcementDepositBase: bigint;
376
+
377
+ /**
378
+ * The amount of currency needed per announcement made.
379
+ *
380
+ * This is held for adding an `AccountId`, `Hash` and `BlockNumber` (typically 68 bytes)
381
+ * into a pre-existing storage value.
382
+ **/
383
+ announcementDepositFactor: bigint;
384
+
385
+ /**
386
+ * Generic pallet constant
387
+ **/
388
+ [name: string]: any;
389
+ };
390
+ /**
391
+ * Pallet `MaintenanceMode`'s constants
392
+ **/
393
+ maintenanceMode: {
394
+ /**
395
+ * Generic pallet constant
396
+ **/
397
+ [name: string]: any;
398
+ };
399
+ /**
400
+ * Pallet `Identity`'s constants
401
+ **/
402
+ identity: {
403
+ /**
404
+ * The amount held on deposit for a registered identity.
405
+ **/
406
+ basicDeposit: bigint;
407
+
408
+ /**
409
+ * The amount held on deposit per encoded byte for a registered identity.
410
+ **/
411
+ byteDeposit: bigint;
412
+
413
+ /**
414
+ * The amount held on deposit for a registered subaccount. This should account for the fact
415
+ * that one storage item's value will increase by the size of an account ID, and there will
416
+ * be another trie item whose value is the size of an account ID plus 32 bytes.
417
+ **/
418
+ subAccountDeposit: bigint;
419
+
420
+ /**
421
+ * The maximum number of sub-accounts allowed per identified account.
422
+ **/
423
+ maxSubAccounts: number;
424
+
425
+ /**
426
+ * Maxmimum number of registrars allowed in the system. Needed to bound the complexity
427
+ * of, e.g., updating judgements.
428
+ **/
429
+ maxRegistrars: number;
430
+
431
+ /**
432
+ * The number of blocks within which a username grant must be accepted.
433
+ **/
434
+ pendingUsernameExpiration: number;
435
+
436
+ /**
437
+ * The maximum length of a suffix.
438
+ **/
439
+ maxSuffixLength: number;
440
+
441
+ /**
442
+ * The maximum length of a username, including its suffix and any system-added delimiters.
443
+ **/
444
+ maxUsernameLength: number;
445
+
446
+ /**
447
+ * Generic pallet constant
448
+ **/
449
+ [name: string]: any;
450
+ };
451
+ /**
452
+ * Pallet `Migrations`'s constants
453
+ **/
454
+ migrations: {
455
+ /**
456
+ * Generic pallet constant
457
+ **/
458
+ [name: string]: any;
459
+ };
460
+ /**
461
+ * Pallet `ProxyGenesisCompanion`'s constants
462
+ **/
463
+ proxyGenesisCompanion: {
464
+ /**
465
+ * Generic pallet constant
466
+ **/
467
+ [name: string]: any;
468
+ };
469
+ /**
470
+ * Pallet `Multisig`'s constants
471
+ **/
472
+ multisig: {
473
+ /**
474
+ * The base amount of currency needed to reserve for creating a multisig execution or to
475
+ * store a dispatch call for later.
476
+ *
477
+ * This is held for an additional storage item whose value size is
478
+ * `4 + sizeof((BlockNumber, Balance, AccountId))` bytes and whose key size is
479
+ * `32 + sizeof(AccountId)` bytes.
480
+ **/
481
+ depositBase: bigint;
482
+
483
+ /**
484
+ * The amount of currency needed per unit threshold when creating a multisig execution.
485
+ *
486
+ * This is held for adding 32 bytes more into a pre-existing storage value.
487
+ **/
488
+ depositFactor: bigint;
489
+
490
+ /**
491
+ * The maximum amount of signatories allowed in the multisig.
492
+ **/
493
+ maxSignatories: number;
494
+
495
+ /**
496
+ * Generic pallet constant
497
+ **/
498
+ [name: string]: any;
499
+ };
500
+ /**
501
+ * Pallet `MoonbeamLazyMigrations`'s constants
502
+ **/
503
+ moonbeamLazyMigrations: {
504
+ /**
505
+ * Generic pallet constant
506
+ **/
507
+ [name: string]: any;
508
+ };
509
+ /**
510
+ * Pallet `EthereumChainId`'s constants
511
+ **/
512
+ ethereumChainId: {
513
+ /**
514
+ * Generic pallet constant
515
+ **/
516
+ [name: string]: any;
517
+ };
518
+ /**
519
+ * Pallet `EVM`'s constants
520
+ **/
521
+ evm: {
522
+ /**
523
+ * Generic pallet constant
524
+ **/
525
+ [name: string]: any;
526
+ };
527
+ /**
528
+ * Pallet `Ethereum`'s constants
529
+ **/
530
+ ethereum: {
531
+ /**
532
+ * Generic pallet constant
533
+ **/
534
+ [name: string]: any;
535
+ };
536
+ /**
537
+ * Pallet `Scheduler`'s constants
538
+ **/
539
+ scheduler: {
540
+ /**
541
+ * The maximum weight that may be scheduled per block for any dispatchables.
542
+ **/
543
+ maximumWeight: SpWeightsWeightV2Weight;
544
+
545
+ /**
546
+ * The maximum number of scheduled calls in the queue for a single block.
547
+ *
548
+ * NOTE:
549
+ * + Dependent pallets' benchmarks might require a higher limit for the setting. Set a
550
+ * higher limit under `runtime-benchmarks` feature.
551
+ **/
552
+ maxScheduledPerBlock: number;
553
+
554
+ /**
555
+ * Generic pallet constant
556
+ **/
557
+ [name: string]: any;
558
+ };
559
+ /**
560
+ * Pallet `Preimage`'s constants
561
+ **/
562
+ preimage: {
563
+ /**
564
+ * Generic pallet constant
565
+ **/
566
+ [name: string]: any;
567
+ };
568
+ /**
569
+ * Pallet `ConvictionVoting`'s constants
570
+ **/
571
+ convictionVoting: {
572
+ /**
573
+ * The maximum number of concurrent votes an account may have.
574
+ *
575
+ * Also used to compute weight, an overly large value can lead to extrinsics with large
576
+ * weight estimation: see `delegate` for instance.
577
+ **/
578
+ maxVotes: number;
579
+
580
+ /**
581
+ * The minimum period of vote locking.
582
+ *
583
+ * It should be no shorter than enactment period to ensure that in the case of an approval,
584
+ * those successful voters are locked into the consequences that their votes entail.
585
+ **/
586
+ voteLockingPeriod: number;
587
+
588
+ /**
589
+ * Generic pallet constant
590
+ **/
591
+ [name: string]: any;
592
+ };
593
+ /**
594
+ * Pallet `Referenda`'s constants
595
+ **/
596
+ referenda: {
597
+ /**
598
+ * The minimum amount to be used as a deposit for a public referendum proposal.
599
+ **/
600
+ submissionDeposit: bigint;
601
+
602
+ /**
603
+ * Maximum size of the referendum queue for a single track.
604
+ **/
605
+ maxQueued: number;
606
+
607
+ /**
608
+ * The number of blocks after submission that a referendum must begin being decided by.
609
+ * Once this passes, then anyone may cancel the referendum.
610
+ **/
611
+ undecidingTimeout: number;
612
+
613
+ /**
614
+ * Quantization level for the referendum wakeup scheduler. A higher number will result in
615
+ * fewer storage reads/writes needed for smaller voters, but also result in delays to the
616
+ * automatic referendum status changes. Explicit servicing instructions are unaffected.
617
+ **/
618
+ alarmInterval: number;
619
+
620
+ /**
621
+ * Information concerning the different referendum tracks.
622
+ **/
623
+ tracks: Array<[number, PalletReferendaTrackInfo]>;
624
+
625
+ /**
626
+ * Generic pallet constant
627
+ **/
628
+ [name: string]: any;
629
+ };
630
+ /**
631
+ * Pallet `Whitelist`'s constants
632
+ **/
633
+ whitelist: {
634
+ /**
635
+ * Generic pallet constant
636
+ **/
637
+ [name: string]: any;
638
+ };
639
+ /**
640
+ * Pallet `TreasuryCouncilCollective`'s constants
641
+ **/
642
+ treasuryCouncilCollective: {
643
+ /**
644
+ * The maximum weight of a dispatch call that can be proposed and executed.
645
+ **/
646
+ maxProposalWeight: SpWeightsWeightV2Weight;
647
+
648
+ /**
649
+ * Generic pallet constant
650
+ **/
651
+ [name: string]: any;
652
+ };
653
+ /**
654
+ * Pallet `OpenTechCommitteeCollective`'s constants
655
+ **/
656
+ openTechCommitteeCollective: {
657
+ /**
658
+ * The maximum weight of a dispatch call that can be proposed and executed.
659
+ **/
660
+ maxProposalWeight: SpWeightsWeightV2Weight;
661
+
662
+ /**
663
+ * Generic pallet constant
664
+ **/
665
+ [name: string]: any;
666
+ };
667
+ /**
668
+ * Pallet `Treasury`'s constants
669
+ **/
670
+ treasury: {
671
+ /**
672
+ * Fraction of a proposal's value that should be bonded in order to place the proposal.
673
+ * An accepted proposal gets these back. A rejected proposal does not.
674
+ **/
675
+ proposalBond: Permill;
676
+
677
+ /**
678
+ * Minimum amount of funds that should be placed in a deposit for making a proposal.
679
+ **/
680
+ proposalBondMinimum: bigint;
681
+
682
+ /**
683
+ * Maximum amount of funds that should be placed in a deposit for making a proposal.
684
+ **/
685
+ proposalBondMaximum: bigint | undefined;
686
+
687
+ /**
688
+ * Period between successive spends.
689
+ **/
690
+ spendPeriod: number;
691
+
692
+ /**
693
+ * Percentage of spare funds (if any) that are burnt per spend period.
694
+ **/
695
+ burn: Permill;
696
+
697
+ /**
698
+ * The treasury's pallet id, used for deriving its sovereign account ID.
699
+ **/
700
+ palletId: FrameSupportPalletId;
701
+
702
+ /**
703
+ * The maximum number of approvals that can wait in the spending queue.
704
+ *
705
+ * NOTE: This parameter is also used within the Bounties Pallet extension if enabled.
706
+ **/
707
+ maxApprovals: number;
708
+
709
+ /**
710
+ * The period during which an approved treasury spend has to be claimed.
711
+ **/
712
+ payoutPeriod: number;
713
+
714
+ /**
715
+ * Generic pallet constant
716
+ **/
717
+ [name: string]: any;
718
+ };
719
+ /**
720
+ * Pallet `CrowdloanRewards`'s constants
721
+ **/
722
+ crowdloanRewards: {
723
+ /**
724
+ * Percentage to be payed at initialization
725
+ **/
726
+ initializationPayment: Perbill;
727
+ maxInitContributors: number;
728
+
729
+ /**
730
+ * A fraction representing the percentage of proofs
731
+ * that need to be presented to change a reward address through the relay keys
732
+ **/
733
+ rewardAddressRelayVoteThreshold: Perbill;
734
+
735
+ /**
736
+ * Network Identifier to be appended into the signatures for reward address change/association
737
+ * Prevents replay attacks from one network to the other
738
+ **/
739
+ signatureNetworkIdentifier: Bytes;
740
+
741
+ /**
742
+ * Generic pallet constant
743
+ **/
744
+ [name: string]: any;
745
+ };
746
+ /**
747
+ * Pallet `XcmpQueue`'s constants
748
+ **/
749
+ xcmpQueue: {
750
+ /**
751
+ * The maximum number of inbound XCMP channels that can be suspended simultaneously.
752
+ *
753
+ * Any further channel suspensions will fail and messages may get dropped without further
754
+ * notice. Choosing a high value (1000) is okay; the trade-off that is described in
755
+ * [`InboundXcmpSuspended`] still applies at that scale.
756
+ **/
757
+ maxInboundSuspended: number;
758
+
759
+ /**
760
+ * Generic pallet constant
761
+ **/
762
+ [name: string]: any;
763
+ };
764
+ /**
765
+ * Pallet `CumulusXcm`'s constants
766
+ **/
767
+ cumulusXcm: {
768
+ /**
769
+ * Generic pallet constant
770
+ **/
771
+ [name: string]: any;
772
+ };
773
+ /**
774
+ * Pallet `DmpQueue`'s constants
775
+ **/
776
+ dmpQueue: {
777
+ /**
778
+ * Generic pallet constant
779
+ **/
780
+ [name: string]: any;
781
+ };
782
+ /**
783
+ * Pallet `PolkadotXcm`'s constants
784
+ **/
785
+ polkadotXcm: {
786
+ /**
787
+ * Generic pallet constant
788
+ **/
789
+ [name: string]: any;
790
+ };
791
+ /**
792
+ * Pallet `Assets`'s constants
793
+ **/
794
+ assets: {
795
+ /**
796
+ * Max number of items to destroy per `destroy_accounts` and `destroy_approvals` call.
797
+ *
798
+ * Must be configured to result in a weight that makes each call fit in a block.
799
+ **/
800
+ removeItemsLimit: number;
801
+
802
+ /**
803
+ * The basic amount of funds that must be reserved for an asset.
804
+ **/
805
+ assetDeposit: bigint;
806
+
807
+ /**
808
+ * The amount of funds that must be reserved for a non-provider asset account to be
809
+ * maintained.
810
+ **/
811
+ assetAccountDeposit: bigint;
812
+
813
+ /**
814
+ * The basic amount of funds that must be reserved when adding metadata to your asset.
815
+ **/
816
+ metadataDepositBase: bigint;
817
+
818
+ /**
819
+ * The additional funds that must be reserved for the number of bytes you store in your
820
+ * metadata.
821
+ **/
822
+ metadataDepositPerByte: bigint;
823
+
824
+ /**
825
+ * The amount of funds that must be reserved when creating a new approval.
826
+ **/
827
+ approvalDeposit: bigint;
828
+
829
+ /**
830
+ * The maximum length of a name or symbol stored on-chain.
831
+ **/
832
+ stringLimit: number;
833
+
834
+ /**
835
+ * Generic pallet constant
836
+ **/
837
+ [name: string]: any;
838
+ };
839
+ /**
840
+ * Pallet `AssetManager`'s constants
841
+ **/
842
+ assetManager: {
843
+ /**
844
+ * Generic pallet constant
845
+ **/
846
+ [name: string]: any;
847
+ };
848
+ /**
849
+ * Pallet `XTokens`'s constants
850
+ **/
851
+ xTokens: {
852
+ /**
853
+ * Self chain location.
854
+ **/
855
+ selfLocation: StagingXcmV4Location;
856
+
857
+ /**
858
+ * Base XCM weight.
859
+ *
860
+ * The actually weight for an XCM message is `T::BaseXcmWeight +
861
+ * T::Weigher::weight(&msg)`.
862
+ **/
863
+ baseXcmWeight: SpWeightsWeightV2Weight;
864
+
865
+ /**
866
+ * Generic pallet constant
867
+ **/
868
+ [name: string]: any;
869
+ };
870
+ /**
871
+ * Pallet `XcmTransactor`'s constants
872
+ **/
873
+ xcmTransactor: {
874
+ /**
875
+ * Self chain location.
876
+ **/
877
+ selfLocation: StagingXcmV4Location;
878
+
879
+ /**
880
+ *
881
+ * The actual weight for an XCM message is `T::BaseXcmWeight +
882
+ * T::Weigher::weight(&msg)`.
883
+ **/
884
+ baseXcmWeight: SpWeightsWeightV2Weight;
885
+
886
+ /**
887
+ * Generic pallet constant
888
+ **/
889
+ [name: string]: any;
890
+ };
891
+ /**
892
+ * Pallet `EthereumXcm`'s constants
893
+ **/
894
+ ethereumXcm: {
895
+ /**
896
+ * Generic pallet constant
897
+ **/
898
+ [name: string]: any;
899
+ };
900
+ /**
901
+ * Pallet `Erc20XcmBridge`'s constants
902
+ **/
903
+ erc20XcmBridge: {
904
+ /**
905
+ * Generic pallet constant
906
+ **/
907
+ [name: string]: any;
908
+ };
909
+ /**
910
+ * Pallet `MessageQueue`'s constants
911
+ **/
912
+ messageQueue: {
913
+ /**
914
+ * The size of the page; this implies the maximum message size which can be sent.
915
+ *
916
+ * A good value depends on the expected message sizes, their weights, the weight that is
917
+ * available for processing them and the maximal needed message size. The maximal message
918
+ * size is slightly lower than this as defined by [`MaxMessageLenOf`].
919
+ **/
920
+ heapSize: number;
921
+
922
+ /**
923
+ * The maximum number of stale pages (i.e. of overweight messages) allowed before culling
924
+ * can happen. Once there are more stale pages than this, then historical pages may be
925
+ * dropped, even if they contain unprocessed overweight messages.
926
+ **/
927
+ maxStale: number;
928
+
929
+ /**
930
+ * The amount of weight (if any) which should be provided to the message queue for
931
+ * servicing enqueued items.
932
+ *
933
+ * This may be legitimately `None` in the case that you will call
934
+ * `ServiceQueues::service_queues` manually.
935
+ **/
936
+ serviceWeight: SpWeightsWeightV2Weight | undefined;
937
+
938
+ /**
939
+ * Generic pallet constant
940
+ **/
941
+ [name: string]: any;
942
+ };
943
+ /**
944
+ * Pallet `RelayStorageRoots`'s constants
945
+ **/
946
+ relayStorageRoots: {
947
+ /**
948
+ * Limit the number of relay storage roots that will be stored.
949
+ * This limit applies to the number of items, not to their age. Decreasing the value of
950
+ * `MaxStorageRoots` is a breaking change and needs a migration to clean the
951
+ * `RelayStorageRoots` mapping.
952
+ **/
953
+ maxStorageRoots: number;
954
+
955
+ /**
956
+ * Generic pallet constant
957
+ **/
958
+ [name: string]: any;
959
+ };
960
+ /**
961
+ * Pallet `PrecompileBenchmarks`'s constants
962
+ **/
963
+ precompileBenchmarks: {
964
+ /**
965
+ * Generic pallet constant
966
+ **/
967
+ [name: string]: any;
968
+ };
969
+ /**
970
+ * Pallet `Randomness`'s constants
971
+ **/
972
+ randomness: {
973
+ /**
974
+ * The amount that should be taken as a security deposit when requesting randomness.
975
+ **/
976
+ deposit: bigint;
977
+
978
+ /**
979
+ * Maximum number of random words that can be requested per request
980
+ **/
981
+ maxRandomWords: number;
982
+
983
+ /**
984
+ * Local per-block VRF requests must be at least this many blocks after the block in which
985
+ * they were requested
986
+ **/
987
+ minBlockDelay: number;
988
+
989
+ /**
990
+ * Local per-block VRF requests must be at most this many blocks after the block in which
991
+ * they were requested
992
+ **/
993
+ maxBlockDelay: number;
994
+
995
+ /**
996
+ * Local requests expire and can be purged from storage after this many blocks/epochs
997
+ **/
998
+ blockExpirationDelay: number;
999
+
1000
+ /**
1001
+ * Babe requests expire and can be purged from storage after this many blocks/epochs
1002
+ **/
1003
+ epochExpirationDelay: bigint;
1004
+
1005
+ /**
1006
+ * Generic pallet constant
1007
+ **/
1008
+ [name: string]: any;
1009
+ };
1010
+ }