@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,1080 @@
1
+ // Generated by @dedot/codegen
2
+
3
+ import type { GenericChainConsts } 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
+ StagingXcmV3MultilocationMultiLocation,
13
+ } from './types';
14
+
15
+ export interface ChainConsts extends GenericChainConsts {
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 holds that can exist on an account at any time.
134
+ **/
135
+ maxHolds: number;
136
+
137
+ /**
138
+ * The maximum number of individual freeze locks that can exist on an account at any time.
139
+ **/
140
+ maxFreezes: number;
141
+
142
+ /**
143
+ * Generic pallet constant
144
+ **/
145
+ [name: string]: any;
146
+ };
147
+ /**
148
+ * Pallet `TransactionPayment`'s constants
149
+ **/
150
+ transactionPayment: {
151
+ /**
152
+ * A fee mulitplier for `Operational` extrinsics to compute "virtual tip" to boost their
153
+ * `priority`
154
+ *
155
+ * This value is multipled by the `final_fee` to obtain a "virtual tip" that is later
156
+ * added to a tip component in regular `priority` calculations.
157
+ * It means that a `Normal` transaction can front-run a similarly-sized `Operational`
158
+ * extrinsic (with no tip), by including a tip value greater than the virtual tip.
159
+ *
160
+ * ```rust,ignore
161
+ * // For `Normal`
162
+ * let priority = priority_calc(tip);
163
+ *
164
+ * // For `Operational`
165
+ * let virtual_tip = (inclusion_fee + tip) * OperationalFeeMultiplier;
166
+ * let priority = priority_calc(tip + virtual_tip);
167
+ * ```
168
+ *
169
+ * Note that since we use `final_fee` the multiplier applies also to the regular `tip`
170
+ * sent with the transaction. So, not only does the transaction get a priority bump based
171
+ * on the `inclusion_fee`, but we also amplify the impact of tips applied to `Operational`
172
+ * transactions.
173
+ **/
174
+ operationalFeeMultiplier: number;
175
+
176
+ /**
177
+ * Generic pallet constant
178
+ **/
179
+ [name: string]: any;
180
+ };
181
+ /**
182
+ * Pallet `ParachainStaking`'s constants
183
+ **/
184
+ parachainStaking: {
185
+ /**
186
+ * Minimum number of blocks per round
187
+ **/
188
+ minBlocksPerRound: number;
189
+
190
+ /**
191
+ * If a collator doesn't produce any block on this number of rounds, it is notified as inactive.
192
+ * This value must be less than or equal to RewardPaymentDelay.
193
+ **/
194
+ maxOfflineRounds: number;
195
+
196
+ /**
197
+ * Number of rounds that candidates remain bonded before exit request is executable
198
+ **/
199
+ leaveCandidatesDelay: number;
200
+
201
+ /**
202
+ * Number of rounds candidate requests to decrease self-bond must wait to be executable
203
+ **/
204
+ candidateBondLessDelay: number;
205
+
206
+ /**
207
+ * Number of rounds that delegators remain bonded before exit request is executable
208
+ **/
209
+ leaveDelegatorsDelay: number;
210
+
211
+ /**
212
+ * Number of rounds that delegations remain bonded before revocation request is executable
213
+ **/
214
+ revokeDelegationDelay: number;
215
+
216
+ /**
217
+ * Number of rounds that delegation less requests must wait before executable
218
+ **/
219
+ delegationBondLessDelay: number;
220
+
221
+ /**
222
+ * Number of rounds after which block authors are rewarded
223
+ **/
224
+ rewardPaymentDelay: number;
225
+
226
+ /**
227
+ * Minimum number of selected candidates every round
228
+ **/
229
+ minSelectedCandidates: number;
230
+
231
+ /**
232
+ * Maximum top delegations counted per candidate
233
+ **/
234
+ maxTopDelegationsPerCandidate: number;
235
+
236
+ /**
237
+ * Maximum bottom delegations (not counted) per candidate
238
+ **/
239
+ maxBottomDelegationsPerCandidate: number;
240
+
241
+ /**
242
+ * Maximum delegations per delegator
243
+ **/
244
+ maxDelegationsPerDelegator: number;
245
+
246
+ /**
247
+ * Minimum stake required for any account to be a collator candidate
248
+ **/
249
+ minCandidateStk: bigint;
250
+
251
+ /**
252
+ * Minimum stake for any registered on-chain account to delegate
253
+ **/
254
+ minDelegation: bigint;
255
+
256
+ /**
257
+ * Maximum candidates
258
+ **/
259
+ maxCandidates: number;
260
+
261
+ /**
262
+ * Generic pallet constant
263
+ **/
264
+ [name: string]: any;
265
+ };
266
+ /**
267
+ * Pallet `AuthorInherent`'s constants
268
+ **/
269
+ authorInherent: {
270
+ /**
271
+ * Generic pallet constant
272
+ **/
273
+ [name: string]: any;
274
+ };
275
+ /**
276
+ * Pallet `AuthorFilter`'s constants
277
+ **/
278
+ authorFilter: {
279
+ /**
280
+ * Generic pallet constant
281
+ **/
282
+ [name: string]: any;
283
+ };
284
+ /**
285
+ * Pallet `AuthorMapping`'s constants
286
+ **/
287
+ authorMapping: {
288
+ /**
289
+ * Generic pallet constant
290
+ **/
291
+ [name: string]: any;
292
+ };
293
+ /**
294
+ * Pallet `MoonbeamOrbiters`'s constants
295
+ **/
296
+ moonbeamOrbiters: {
297
+ /**
298
+ * Maximum number of orbiters per collator.
299
+ **/
300
+ maxPoolSize: number;
301
+
302
+ /**
303
+ * Maximum number of round to keep on storage.
304
+ **/
305
+ maxRoundArchive: number;
306
+
307
+ /**
308
+ * Number of rounds before changing the selected orbiter.
309
+ * WARNING: when changing `RotatePeriod`, you need a migration code that sets
310
+ * `ForceRotation` to true to avoid holes in `OrbiterPerRound`.
311
+ **/
312
+ rotatePeriod: number;
313
+
314
+ /**
315
+ * Generic pallet constant
316
+ **/
317
+ [name: string]: any;
318
+ };
319
+ /**
320
+ * Pallet `Utility`'s constants
321
+ **/
322
+ utility: {
323
+ /**
324
+ * The limit on the number of batched calls.
325
+ **/
326
+ batchedCallsLimit: number;
327
+
328
+ /**
329
+ * Generic pallet constant
330
+ **/
331
+ [name: string]: any;
332
+ };
333
+ /**
334
+ * Pallet `Proxy`'s constants
335
+ **/
336
+ proxy: {
337
+ /**
338
+ * The base amount of currency needed to reserve for creating a proxy.
339
+ *
340
+ * This is held for an additional storage item whose value size is
341
+ * `sizeof(Balance)` bytes and whose key size is `sizeof(AccountId)` bytes.
342
+ **/
343
+ proxyDepositBase: bigint;
344
+
345
+ /**
346
+ * The amount of currency needed per proxy added.
347
+ *
348
+ * This is held for adding 32 bytes plus an instance of `ProxyType` more into a
349
+ * pre-existing storage value. Thus, when configuring `ProxyDepositFactor` one should take
350
+ * into account `32 + proxy_type.encode().len()` bytes of data.
351
+ **/
352
+ proxyDepositFactor: bigint;
353
+
354
+ /**
355
+ * The maximum amount of proxies allowed for a single account.
356
+ **/
357
+ maxProxies: number;
358
+
359
+ /**
360
+ * The maximum amount of time-delayed announcements that are allowed to be pending.
361
+ **/
362
+ maxPending: number;
363
+
364
+ /**
365
+ * The base amount of currency needed to reserve for creating an announcement.
366
+ *
367
+ * This is held when a new storage item holding a `Balance` is created (typically 16
368
+ * bytes).
369
+ **/
370
+ announcementDepositBase: bigint;
371
+
372
+ /**
373
+ * The amount of currency needed per announcement made.
374
+ *
375
+ * This is held for adding an `AccountId`, `Hash` and `BlockNumber` (typically 68 bytes)
376
+ * into a pre-existing storage value.
377
+ **/
378
+ announcementDepositFactor: bigint;
379
+
380
+ /**
381
+ * Generic pallet constant
382
+ **/
383
+ [name: string]: any;
384
+ };
385
+ /**
386
+ * Pallet `MaintenanceMode`'s constants
387
+ **/
388
+ maintenanceMode: {
389
+ /**
390
+ * Generic pallet constant
391
+ **/
392
+ [name: string]: any;
393
+ };
394
+ /**
395
+ * Pallet `Identity`'s constants
396
+ **/
397
+ identity: {
398
+ /**
399
+ * The amount held on deposit for a registered identity
400
+ **/
401
+ basicDeposit: bigint;
402
+
403
+ /**
404
+ * The amount held on deposit per additional field for a registered identity.
405
+ **/
406
+ fieldDeposit: bigint;
407
+
408
+ /**
409
+ * The amount held on deposit for a registered subaccount. This should account for the fact
410
+ * that one storage item's value will increase by the size of an account ID, and there will
411
+ * be another trie item whose value is the size of an account ID plus 32 bytes.
412
+ **/
413
+ subAccountDeposit: bigint;
414
+
415
+ /**
416
+ * The maximum number of sub-accounts allowed per identified account.
417
+ **/
418
+ maxSubAccounts: number;
419
+
420
+ /**
421
+ * Maximum number of additional fields that may be stored in an ID. Needed to bound the I/O
422
+ * required to access an identity, but can be pretty high.
423
+ **/
424
+ maxAdditionalFields: number;
425
+
426
+ /**
427
+ * Maxmimum number of registrars allowed in the system. Needed to bound the complexity
428
+ * of, e.g., updating judgements.
429
+ **/
430
+ maxRegistrars: number;
431
+
432
+ /**
433
+ * Generic pallet constant
434
+ **/
435
+ [name: string]: any;
436
+ };
437
+ /**
438
+ * Pallet `Migrations`'s constants
439
+ **/
440
+ migrations: {
441
+ /**
442
+ * Generic pallet constant
443
+ **/
444
+ [name: string]: any;
445
+ };
446
+ /**
447
+ * Pallet `ProxyGenesisCompanion`'s constants
448
+ **/
449
+ proxyGenesisCompanion: {
450
+ /**
451
+ * Generic pallet constant
452
+ **/
453
+ [name: string]: any;
454
+ };
455
+ /**
456
+ * Pallet `Multisig`'s constants
457
+ **/
458
+ multisig: {
459
+ /**
460
+ * The base amount of currency needed to reserve for creating a multisig execution or to
461
+ * store a dispatch call for later.
462
+ *
463
+ * This is held for an additional storage item whose value size is
464
+ * `4 + sizeof((BlockNumber, Balance, AccountId))` bytes and whose key size is
465
+ * `32 + sizeof(AccountId)` bytes.
466
+ **/
467
+ depositBase: bigint;
468
+
469
+ /**
470
+ * The amount of currency needed per unit threshold when creating a multisig execution.
471
+ *
472
+ * This is held for adding 32 bytes more into a pre-existing storage value.
473
+ **/
474
+ depositFactor: bigint;
475
+
476
+ /**
477
+ * The maximum amount of signatories allowed in the multisig.
478
+ **/
479
+ maxSignatories: number;
480
+
481
+ /**
482
+ * Generic pallet constant
483
+ **/
484
+ [name: string]: any;
485
+ };
486
+ /**
487
+ * Pallet `EthereumChainId`'s constants
488
+ **/
489
+ ethereumChainId: {
490
+ /**
491
+ * Generic pallet constant
492
+ **/
493
+ [name: string]: any;
494
+ };
495
+ /**
496
+ * Pallet `EVM`'s constants
497
+ **/
498
+ eVM: {
499
+ /**
500
+ * Generic pallet constant
501
+ **/
502
+ [name: string]: any;
503
+ };
504
+ /**
505
+ * Pallet `Ethereum`'s constants
506
+ **/
507
+ ethereum: {
508
+ /**
509
+ * Generic pallet constant
510
+ **/
511
+ [name: string]: any;
512
+ };
513
+ /**
514
+ * Pallet `Scheduler`'s constants
515
+ **/
516
+ scheduler: {
517
+ /**
518
+ * The maximum weight that may be scheduled per block for any dispatchables.
519
+ **/
520
+ maximumWeight: SpWeightsWeightV2Weight;
521
+
522
+ /**
523
+ * The maximum number of scheduled calls in the queue for a single block.
524
+ *
525
+ * NOTE:
526
+ * + Dependent pallets' benchmarks might require a higher limit for the setting. Set a
527
+ * higher limit under `runtime-benchmarks` feature.
528
+ **/
529
+ maxScheduledPerBlock: number;
530
+
531
+ /**
532
+ * Generic pallet constant
533
+ **/
534
+ [name: string]: any;
535
+ };
536
+ /**
537
+ * Pallet `Democracy`'s constants
538
+ **/
539
+ democracy: {
540
+ /**
541
+ * The period between a proposal being approved and enacted.
542
+ *
543
+ * It should generally be a little more than the unstake period to ensure that
544
+ * voting stakers have an opportunity to remove themselves from the system in the case
545
+ * where they are on the losing side of a vote.
546
+ **/
547
+ enactmentPeriod: number;
548
+
549
+ /**
550
+ * How often (in blocks) new public referenda are launched.
551
+ **/
552
+ launchPeriod: number;
553
+
554
+ /**
555
+ * How often (in blocks) to check for new votes.
556
+ **/
557
+ votingPeriod: number;
558
+
559
+ /**
560
+ * The minimum period of vote locking.
561
+ *
562
+ * It should be no shorter than enactment period to ensure that in the case of an approval,
563
+ * those successful voters are locked into the consequences that their votes entail.
564
+ **/
565
+ voteLockingPeriod: number;
566
+
567
+ /**
568
+ * The minimum amount to be used as a deposit for a public referendum proposal.
569
+ **/
570
+ minimumDeposit: bigint;
571
+
572
+ /**
573
+ * Indicator for whether an emergency origin is even allowed to happen. Some chains may
574
+ * want to set this permanently to `false`, others may want to condition it on things such
575
+ * as an upgrade having happened recently.
576
+ **/
577
+ instantAllowed: boolean;
578
+
579
+ /**
580
+ * Minimum voting period allowed for a fast-track referendum.
581
+ **/
582
+ fastTrackVotingPeriod: number;
583
+
584
+ /**
585
+ * Period in blocks where an external proposal may not be re-submitted after being vetoed.
586
+ **/
587
+ cooloffPeriod: number;
588
+
589
+ /**
590
+ * The maximum number of votes for an account.
591
+ *
592
+ * Also used to compute weight, an overly big value can
593
+ * lead to extrinsic with very big weight: see `delegate` for instance.
594
+ **/
595
+ maxVotes: number;
596
+
597
+ /**
598
+ * The maximum number of public proposals that can exist at any time.
599
+ **/
600
+ maxProposals: number;
601
+
602
+ /**
603
+ * The maximum number of deposits a public proposal may have at any time.
604
+ **/
605
+ maxDeposits: number;
606
+
607
+ /**
608
+ * The maximum number of items which can be blacklisted.
609
+ **/
610
+ maxBlacklisted: number;
611
+
612
+ /**
613
+ * Generic pallet constant
614
+ **/
615
+ [name: string]: any;
616
+ };
617
+ /**
618
+ * Pallet `Preimage`'s constants
619
+ **/
620
+ preimage: {
621
+ /**
622
+ * Generic pallet constant
623
+ **/
624
+ [name: string]: any;
625
+ };
626
+ /**
627
+ * Pallet `ConvictionVoting`'s constants
628
+ **/
629
+ convictionVoting: {
630
+ /**
631
+ * The maximum number of concurrent votes an account may have.
632
+ *
633
+ * Also used to compute weight, an overly large value can lead to extrinsics with large
634
+ * weight estimation: see `delegate` for instance.
635
+ **/
636
+ maxVotes: number;
637
+
638
+ /**
639
+ * The minimum period of vote locking.
640
+ *
641
+ * It should be no shorter than enactment period to ensure that in the case of an approval,
642
+ * those successful voters are locked into the consequences that their votes entail.
643
+ **/
644
+ voteLockingPeriod: number;
645
+
646
+ /**
647
+ * Generic pallet constant
648
+ **/
649
+ [name: string]: any;
650
+ };
651
+ /**
652
+ * Pallet `Referenda`'s constants
653
+ **/
654
+ referenda: {
655
+ /**
656
+ * The minimum amount to be used as a deposit for a public referendum proposal.
657
+ **/
658
+ submissionDeposit: bigint;
659
+
660
+ /**
661
+ * Maximum size of the referendum queue for a single track.
662
+ **/
663
+ maxQueued: number;
664
+
665
+ /**
666
+ * The number of blocks after submission that a referendum must begin being decided by.
667
+ * Once this passes, then anyone may cancel the referendum.
668
+ **/
669
+ undecidingTimeout: number;
670
+
671
+ /**
672
+ * Quantization level for the referendum wakeup scheduler. A higher number will result in
673
+ * fewer storage reads/writes needed for smaller voters, but also result in delays to the
674
+ * automatic referendum status changes. Explicit servicing instructions are unaffected.
675
+ **/
676
+ alarmInterval: number;
677
+
678
+ /**
679
+ * Information concerning the different referendum tracks.
680
+ **/
681
+ tracks: Array<[number, PalletReferendaTrackInfo]>;
682
+
683
+ /**
684
+ * Generic pallet constant
685
+ **/
686
+ [name: string]: any;
687
+ };
688
+ /**
689
+ * Pallet `Whitelist`'s constants
690
+ **/
691
+ whitelist: {
692
+ /**
693
+ * Generic pallet constant
694
+ **/
695
+ [name: string]: any;
696
+ };
697
+ /**
698
+ * Pallet `CouncilCollective`'s constants
699
+ **/
700
+ councilCollective: {
701
+ /**
702
+ * The maximum weight of a dispatch call that can be proposed and executed.
703
+ **/
704
+ maxProposalWeight: SpWeightsWeightV2Weight;
705
+
706
+ /**
707
+ * Generic pallet constant
708
+ **/
709
+ [name: string]: any;
710
+ };
711
+ /**
712
+ * Pallet `TechCommitteeCollective`'s constants
713
+ **/
714
+ techCommitteeCollective: {
715
+ /**
716
+ * The maximum weight of a dispatch call that can be proposed and executed.
717
+ **/
718
+ maxProposalWeight: SpWeightsWeightV2Weight;
719
+
720
+ /**
721
+ * Generic pallet constant
722
+ **/
723
+ [name: string]: any;
724
+ };
725
+ /**
726
+ * Pallet `TreasuryCouncilCollective`'s constants
727
+ **/
728
+ treasuryCouncilCollective: {
729
+ /**
730
+ * The maximum weight of a dispatch call that can be proposed and executed.
731
+ **/
732
+ maxProposalWeight: SpWeightsWeightV2Weight;
733
+
734
+ /**
735
+ * Generic pallet constant
736
+ **/
737
+ [name: string]: any;
738
+ };
739
+ /**
740
+ * Pallet `OpenTechCommitteeCollective`'s constants
741
+ **/
742
+ openTechCommitteeCollective: {
743
+ /**
744
+ * The maximum weight of a dispatch call that can be proposed and executed.
745
+ **/
746
+ maxProposalWeight: SpWeightsWeightV2Weight;
747
+
748
+ /**
749
+ * Generic pallet constant
750
+ **/
751
+ [name: string]: any;
752
+ };
753
+ /**
754
+ * Pallet `Treasury`'s constants
755
+ **/
756
+ treasury: {
757
+ /**
758
+ * Fraction of a proposal's value that should be bonded in order to place the proposal.
759
+ * An accepted proposal gets these back. A rejected proposal does not.
760
+ **/
761
+ proposalBond: Permill;
762
+
763
+ /**
764
+ * Minimum amount of funds that should be placed in a deposit for making a proposal.
765
+ **/
766
+ proposalBondMinimum: bigint;
767
+
768
+ /**
769
+ * Maximum amount of funds that should be placed in a deposit for making a proposal.
770
+ **/
771
+ proposalBondMaximum: bigint | undefined;
772
+
773
+ /**
774
+ * Period between successive spends.
775
+ **/
776
+ spendPeriod: number;
777
+
778
+ /**
779
+ * Percentage of spare funds (if any) that are burnt per spend period.
780
+ **/
781
+ burn: Permill;
782
+
783
+ /**
784
+ * The treasury's pallet id, used for deriving its sovereign account ID.
785
+ **/
786
+ palletId: FrameSupportPalletId;
787
+
788
+ /**
789
+ * The maximum number of approvals that can wait in the spending queue.
790
+ *
791
+ * NOTE: This parameter is also used within the Bounties Pallet extension if enabled.
792
+ **/
793
+ maxApprovals: number;
794
+
795
+ /**
796
+ * The period during which an approved treasury spend has to be claimed.
797
+ **/
798
+ payoutPeriod: number;
799
+
800
+ /**
801
+ * Generic pallet constant
802
+ **/
803
+ [name: string]: any;
804
+ };
805
+ /**
806
+ * Pallet `CrowdloanRewards`'s constants
807
+ **/
808
+ crowdloanRewards: {
809
+ /**
810
+ * Percentage to be payed at initialization
811
+ **/
812
+ initializationPayment: Perbill;
813
+ maxInitContributors: number;
814
+
815
+ /**
816
+ * A fraction representing the percentage of proofs
817
+ * that need to be presented to change a reward address through the relay keys
818
+ **/
819
+ rewardAddressRelayVoteThreshold: Perbill;
820
+
821
+ /**
822
+ * Network Identifier to be appended into the signatures for reward address change/association
823
+ * Prevents replay attacks from one network to the other
824
+ **/
825
+ signatureNetworkIdentifier: Bytes;
826
+
827
+ /**
828
+ * Generic pallet constant
829
+ **/
830
+ [name: string]: any;
831
+ };
832
+ /**
833
+ * Pallet `XcmpQueue`'s constants
834
+ **/
835
+ xcmpQueue: {
836
+ /**
837
+ * Generic pallet constant
838
+ **/
839
+ [name: string]: any;
840
+ };
841
+ /**
842
+ * Pallet `CumulusXcm`'s constants
843
+ **/
844
+ cumulusXcm: {
845
+ /**
846
+ * Generic pallet constant
847
+ **/
848
+ [name: string]: any;
849
+ };
850
+ /**
851
+ * Pallet `DmpQueue`'s constants
852
+ **/
853
+ dmpQueue: {
854
+ /**
855
+ * Generic pallet constant
856
+ **/
857
+ [name: string]: any;
858
+ };
859
+ /**
860
+ * Pallet `PolkadotXcm`'s constants
861
+ **/
862
+ polkadotXcm: {
863
+ /**
864
+ * Generic pallet constant
865
+ **/
866
+ [name: string]: any;
867
+ };
868
+ /**
869
+ * Pallet `Assets`'s constants
870
+ **/
871
+ assets: {
872
+ /**
873
+ * Max number of items to destroy per `destroy_accounts` and `destroy_approvals` call.
874
+ *
875
+ * Must be configured to result in a weight that makes each call fit in a block.
876
+ **/
877
+ removeItemsLimit: number;
878
+
879
+ /**
880
+ * The basic amount of funds that must be reserved for an asset.
881
+ **/
882
+ assetDeposit: bigint;
883
+
884
+ /**
885
+ * The amount of funds that must be reserved for a non-provider asset account to be
886
+ * maintained.
887
+ **/
888
+ assetAccountDeposit: bigint;
889
+
890
+ /**
891
+ * The basic amount of funds that must be reserved when adding metadata to your asset.
892
+ **/
893
+ metadataDepositBase: bigint;
894
+
895
+ /**
896
+ * The additional funds that must be reserved for the number of bytes you store in your
897
+ * metadata.
898
+ **/
899
+ metadataDepositPerByte: bigint;
900
+
901
+ /**
902
+ * The amount of funds that must be reserved when creating a new approval.
903
+ **/
904
+ approvalDeposit: bigint;
905
+
906
+ /**
907
+ * The maximum length of a name or symbol stored on-chain.
908
+ **/
909
+ stringLimit: number;
910
+
911
+ /**
912
+ * Generic pallet constant
913
+ **/
914
+ [name: string]: any;
915
+ };
916
+ /**
917
+ * Pallet `AssetManager`'s constants
918
+ **/
919
+ assetManager: {
920
+ /**
921
+ * The basic amount of funds that must be reserved for a local asset.
922
+ **/
923
+ localAssetDeposit: bigint;
924
+
925
+ /**
926
+ * Generic pallet constant
927
+ **/
928
+ [name: string]: any;
929
+ };
930
+ /**
931
+ * Pallet `XTokens`'s constants
932
+ **/
933
+ xTokens: {
934
+ /**
935
+ * Self chain location.
936
+ **/
937
+ selfLocation: StagingXcmV3MultilocationMultiLocation;
938
+
939
+ /**
940
+ * Base XCM weight.
941
+ *
942
+ * The actually weight for an XCM message is `T::BaseXcmWeight +
943
+ * T::Weigher::weight(&msg)`.
944
+ **/
945
+ baseXcmWeight: SpWeightsWeightV2Weight;
946
+
947
+ /**
948
+ * Generic pallet constant
949
+ **/
950
+ [name: string]: any;
951
+ };
952
+ /**
953
+ * Pallet `XcmTransactor`'s constants
954
+ **/
955
+ xcmTransactor: {
956
+ /**
957
+ * Self chain location.
958
+ **/
959
+ selfLocation: StagingXcmV3MultilocationMultiLocation;
960
+
961
+ /**
962
+ *
963
+ * The actual weight for an XCM message is `T::BaseXcmWeight +
964
+ * T::Weigher::weight(&msg)`.
965
+ **/
966
+ baseXcmWeight: SpWeightsWeightV2Weight;
967
+
968
+ /**
969
+ * Generic pallet constant
970
+ **/
971
+ [name: string]: any;
972
+ };
973
+ /**
974
+ * Pallet `LocalAssets`'s constants
975
+ **/
976
+ localAssets: {
977
+ /**
978
+ * Max number of items to destroy per `destroy_accounts` and `destroy_approvals` call.
979
+ *
980
+ * Must be configured to result in a weight that makes each call fit in a block.
981
+ **/
982
+ removeItemsLimit: number;
983
+
984
+ /**
985
+ * The basic amount of funds that must be reserved for an asset.
986
+ **/
987
+ assetDeposit: bigint;
988
+
989
+ /**
990
+ * The amount of funds that must be reserved for a non-provider asset account to be
991
+ * maintained.
992
+ **/
993
+ assetAccountDeposit: bigint;
994
+
995
+ /**
996
+ * The basic amount of funds that must be reserved when adding metadata to your asset.
997
+ **/
998
+ metadataDepositBase: bigint;
999
+
1000
+ /**
1001
+ * The additional funds that must be reserved for the number of bytes you store in your
1002
+ * metadata.
1003
+ **/
1004
+ metadataDepositPerByte: bigint;
1005
+
1006
+ /**
1007
+ * The amount of funds that must be reserved when creating a new approval.
1008
+ **/
1009
+ approvalDeposit: bigint;
1010
+
1011
+ /**
1012
+ * The maximum length of a name or symbol stored on-chain.
1013
+ **/
1014
+ stringLimit: number;
1015
+
1016
+ /**
1017
+ * Generic pallet constant
1018
+ **/
1019
+ [name: string]: any;
1020
+ };
1021
+ /**
1022
+ * Pallet `EthereumXcm`'s constants
1023
+ **/
1024
+ ethereumXcm: {
1025
+ /**
1026
+ * Generic pallet constant
1027
+ **/
1028
+ [name: string]: any;
1029
+ };
1030
+ /**
1031
+ * Pallet `Erc20XcmBridge`'s constants
1032
+ **/
1033
+ erc20XcmBridge: {
1034
+ /**
1035
+ * Generic pallet constant
1036
+ **/
1037
+ [name: string]: any;
1038
+ };
1039
+ /**
1040
+ * Pallet `Randomness`'s constants
1041
+ **/
1042
+ randomness: {
1043
+ /**
1044
+ * The amount that should be taken as a security deposit when requesting randomness.
1045
+ **/
1046
+ deposit: bigint;
1047
+
1048
+ /**
1049
+ * Maximum number of random words that can be requested per request
1050
+ **/
1051
+ maxRandomWords: number;
1052
+
1053
+ /**
1054
+ * Local per-block VRF requests must be at least this many blocks after the block in which
1055
+ * they were requested
1056
+ **/
1057
+ minBlockDelay: number;
1058
+
1059
+ /**
1060
+ * Local per-block VRF requests must be at most this many blocks after the block in which
1061
+ * they were requested
1062
+ **/
1063
+ maxBlockDelay: number;
1064
+
1065
+ /**
1066
+ * Local requests expire and can be purged from storage after this many blocks/epochs
1067
+ **/
1068
+ blockExpirationDelay: number;
1069
+
1070
+ /**
1071
+ * Babe requests expire and can be purged from storage after this many blocks/epochs
1072
+ **/
1073
+ epochExpirationDelay: bigint;
1074
+
1075
+ /**
1076
+ * Generic pallet constant
1077
+ **/
1078
+ [name: string]: any;
1079
+ };
1080
+ }