@dedot/chaintypes 0.28.0 → 0.30.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.
@@ -1,1424 +0,0 @@
1
- // Generated by dedot cli
2
-
3
- import type { GenericChainConsts, RpcVersion } from 'dedot/types';
4
- import type { RuntimeVersion, Permill, Bytes, Perquintill, FixedU128 } from 'dedot/codecs';
5
- import type {
6
- FrameSystemLimitsBlockWeights,
7
- FrameSystemLimitsBlockLength,
8
- SpWeightsRuntimeDbWeight,
9
- FrameSupportPalletId,
10
- PalletReferendaTrackInfo,
11
- SpWeightsWeightV2Weight,
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 `Parameters`'s constants
170
- **/
171
- parameters: {
172
- /**
173
- * Generic pallet constant
174
- **/
175
- [name: string]: any;
176
- };
177
- /**
178
- * Pallet `TransactionPayment`'s constants
179
- **/
180
- transactionPayment: {
181
- /**
182
- * A fee multiplier for `Operational` extrinsics to compute "virtual tip" to boost their
183
- * `priority`
184
- *
185
- * This value is multiplied by the `final_fee` to obtain a "virtual tip" that is later
186
- * added to a tip component in regular `priority` calculations.
187
- * It means that a `Normal` transaction can front-run a similarly-sized `Operational`
188
- * extrinsic (with no tip), by including a tip value greater than the virtual tip.
189
- *
190
- * ```rust,ignore
191
- * // For `Normal`
192
- * let priority = priority_calc(tip);
193
- *
194
- * // For `Operational`
195
- * let virtual_tip = (inclusion_fee + tip) * OperationalFeeMultiplier;
196
- * let priority = priority_calc(tip + virtual_tip);
197
- * ```
198
- *
199
- * Note that since we use `final_fee` the multiplier applies also to the regular `tip`
200
- * sent with the transaction. So, not only does the transaction get a priority bump based
201
- * on the `inclusion_fee`, but we also amplify the impact of tips applied to `Operational`
202
- * transactions.
203
- **/
204
- operationalFeeMultiplier: number;
205
-
206
- /**
207
- * Generic pallet constant
208
- **/
209
- [name: string]: any;
210
- };
211
- /**
212
- * Pallet `Authorship`'s constants
213
- **/
214
- authorship: {
215
- /**
216
- * Generic pallet constant
217
- **/
218
- [name: string]: any;
219
- };
220
- /**
221
- * Pallet `Offences`'s constants
222
- **/
223
- offences: {
224
- /**
225
- * Generic pallet constant
226
- **/
227
- [name: string]: any;
228
- };
229
- /**
230
- * Pallet `Historical`'s constants
231
- **/
232
- historical: {
233
- /**
234
- * Generic pallet constant
235
- **/
236
- [name: string]: any;
237
- };
238
- /**
239
- * Pallet `Session`'s constants
240
- **/
241
- session: {
242
- /**
243
- * Generic pallet constant
244
- **/
245
- [name: string]: any;
246
- };
247
- /**
248
- * Pallet `Grandpa`'s constants
249
- **/
250
- grandpa: {
251
- /**
252
- * Max Authorities in use
253
- **/
254
- maxAuthorities: number;
255
-
256
- /**
257
- * The maximum number of nominators for each validator.
258
- **/
259
- maxNominators: number;
260
-
261
- /**
262
- * The maximum number of entries to keep in the set id to session index mapping.
263
- *
264
- * Since the `SetIdSession` map is only used for validating equivocations this
265
- * value should relate to the bonding duration of whatever staking system is
266
- * being used (if any). If equivocation handling is not enabled then this value
267
- * can be zero.
268
- **/
269
- maxSetIdSessionEntries: bigint;
270
-
271
- /**
272
- * Generic pallet constant
273
- **/
274
- [name: string]: any;
275
- };
276
- /**
277
- * Pallet `AuthorityDiscovery`'s constants
278
- **/
279
- authorityDiscovery: {
280
- /**
281
- * Generic pallet constant
282
- **/
283
- [name: string]: any;
284
- };
285
- /**
286
- * Pallet `Treasury`'s constants
287
- **/
288
- treasury: {
289
- /**
290
- * Period between successive spends.
291
- **/
292
- spendPeriod: number;
293
-
294
- /**
295
- * Percentage of spare funds (if any) that are burnt per spend period.
296
- **/
297
- burn: Permill;
298
-
299
- /**
300
- * The treasury's pallet id, used for deriving its sovereign account ID.
301
- **/
302
- palletId: FrameSupportPalletId;
303
-
304
- /**
305
- * The maximum number of approvals that can wait in the spending queue.
306
- *
307
- * NOTE: This parameter is also used within the Bounties Pallet extension if enabled.
308
- **/
309
- maxApprovals: number;
310
-
311
- /**
312
- * The period during which an approved treasury spend has to be claimed.
313
- **/
314
- payoutPeriod: number;
315
-
316
- /**
317
- * Generic pallet constant
318
- **/
319
- [name: string]: any;
320
- };
321
- /**
322
- * Pallet `ConvictionVoting`'s constants
323
- **/
324
- convictionVoting: {
325
- /**
326
- * The maximum number of concurrent votes an account may have.
327
- *
328
- * Also used to compute weight, an overly large value can lead to extrinsics with large
329
- * weight estimation: see `delegate` for instance.
330
- **/
331
- maxVotes: number;
332
-
333
- /**
334
- * The minimum period of vote locking.
335
- *
336
- * It should be no shorter than enactment period to ensure that in the case of an approval,
337
- * those successful voters are locked into the consequences that their votes entail.
338
- **/
339
- voteLockingPeriod: number;
340
-
341
- /**
342
- * Generic pallet constant
343
- **/
344
- [name: string]: any;
345
- };
346
- /**
347
- * Pallet `Referenda`'s constants
348
- **/
349
- referenda: {
350
- /**
351
- * The minimum amount to be used as a deposit for a public referendum proposal.
352
- **/
353
- submissionDeposit: bigint;
354
-
355
- /**
356
- * Maximum size of the referendum queue for a single track.
357
- **/
358
- maxQueued: number;
359
-
360
- /**
361
- * The number of blocks after submission that a referendum must begin being decided by.
362
- * Once this passes, then anyone may cancel the referendum.
363
- **/
364
- undecidingTimeout: number;
365
-
366
- /**
367
- * Quantization level for the referendum wakeup scheduler. A higher number will result in
368
- * fewer storage reads/writes needed for smaller voters, but also result in delays to the
369
- * automatic referendum status changes. Explicit servicing instructions are unaffected.
370
- **/
371
- alarmInterval: number;
372
-
373
- /**
374
- * Information concerning the different referendum tracks.
375
- **/
376
- tracks: Array<[number, PalletReferendaTrackInfo]>;
377
-
378
- /**
379
- * Generic pallet constant
380
- **/
381
- [name: string]: any;
382
- };
383
- /**
384
- * Pallet `FellowshipCollective`'s constants
385
- **/
386
- fellowshipCollective: {
387
- /**
388
- * Generic pallet constant
389
- **/
390
- [name: string]: any;
391
- };
392
- /**
393
- * Pallet `FellowshipReferenda`'s constants
394
- **/
395
- fellowshipReferenda: {
396
- /**
397
- * The minimum amount to be used as a deposit for a public referendum proposal.
398
- **/
399
- submissionDeposit: bigint;
400
-
401
- /**
402
- * Maximum size of the referendum queue for a single track.
403
- **/
404
- maxQueued: number;
405
-
406
- /**
407
- * The number of blocks after submission that a referendum must begin being decided by.
408
- * Once this passes, then anyone may cancel the referendum.
409
- **/
410
- undecidingTimeout: number;
411
-
412
- /**
413
- * Quantization level for the referendum wakeup scheduler. A higher number will result in
414
- * fewer storage reads/writes needed for smaller voters, but also result in delays to the
415
- * automatic referendum status changes. Explicit servicing instructions are unaffected.
416
- **/
417
- alarmInterval: number;
418
-
419
- /**
420
- * Information concerning the different referendum tracks.
421
- **/
422
- tracks: Array<[number, PalletReferendaTrackInfo]>;
423
-
424
- /**
425
- * Generic pallet constant
426
- **/
427
- [name: string]: any;
428
- };
429
- /**
430
- * Pallet `Origins`'s constants
431
- **/
432
- origins: {
433
- /**
434
- * Generic pallet constant
435
- **/
436
- [name: string]: any;
437
- };
438
- /**
439
- * Pallet `Whitelist`'s constants
440
- **/
441
- whitelist: {
442
- /**
443
- * Generic pallet constant
444
- **/
445
- [name: string]: any;
446
- };
447
- /**
448
- * Pallet `Claims`'s constants
449
- **/
450
- claims: {
451
- prefix: Bytes;
452
-
453
- /**
454
- * Generic pallet constant
455
- **/
456
- [name: string]: any;
457
- };
458
- /**
459
- * Pallet `Utility`'s constants
460
- **/
461
- utility: {
462
- /**
463
- * The limit on the number of batched calls.
464
- **/
465
- batchedCallsLimit: number;
466
-
467
- /**
468
- * Generic pallet constant
469
- **/
470
- [name: string]: any;
471
- };
472
- /**
473
- * Pallet `Identity`'s constants
474
- **/
475
- identity: {
476
- /**
477
- * The amount held on deposit for a registered identity.
478
- **/
479
- basicDeposit: bigint;
480
-
481
- /**
482
- * The amount held on deposit per encoded byte for a registered identity.
483
- **/
484
- byteDeposit: bigint;
485
-
486
- /**
487
- * The amount held on deposit for a registered subaccount. This should account for the fact
488
- * that one storage item's value will increase by the size of an account ID, and there will
489
- * be another trie item whose value is the size of an account ID plus 32 bytes.
490
- **/
491
- subAccountDeposit: bigint;
492
-
493
- /**
494
- * The maximum number of sub-accounts allowed per identified account.
495
- **/
496
- maxSubAccounts: number;
497
-
498
- /**
499
- * Maximum number of registrars allowed in the system. Needed to bound the complexity
500
- * of, e.g., updating judgements.
501
- **/
502
- maxRegistrars: number;
503
-
504
- /**
505
- * The number of blocks within which a username grant must be accepted.
506
- **/
507
- pendingUsernameExpiration: number;
508
-
509
- /**
510
- * The maximum length of a suffix.
511
- **/
512
- maxSuffixLength: number;
513
-
514
- /**
515
- * The maximum length of a username, including its suffix and any system-added delimiters.
516
- **/
517
- maxUsernameLength: number;
518
-
519
- /**
520
- * Generic pallet constant
521
- **/
522
- [name: string]: any;
523
- };
524
- /**
525
- * Pallet `Society`'s constants
526
- **/
527
- society: {
528
- /**
529
- * The societies's pallet id
530
- **/
531
- palletId: FrameSupportPalletId;
532
-
533
- /**
534
- * The maximum number of strikes before a member gets funds slashed.
535
- **/
536
- graceStrikes: number;
537
-
538
- /**
539
- * The amount of incentive paid within each period. Doesn't include VoterTip.
540
- **/
541
- periodSpend: bigint;
542
-
543
- /**
544
- * The number of blocks on which new candidates should be voted on. Together with
545
- * `ClaimPeriod`, this sums to the number of blocks between candidate intake periods.
546
- **/
547
- votingPeriod: number;
548
-
549
- /**
550
- * The number of blocks on which new candidates can claim their membership and be the
551
- * named head.
552
- **/
553
- claimPeriod: number;
554
-
555
- /**
556
- * The maximum duration of the payout lock.
557
- **/
558
- maxLockDuration: number;
559
-
560
- /**
561
- * The number of blocks between membership challenges.
562
- **/
563
- challengePeriod: number;
564
-
565
- /**
566
- * The maximum number of payouts a member may have waiting unclaimed.
567
- **/
568
- maxPayouts: number;
569
-
570
- /**
571
- * The maximum number of bids at once.
572
- **/
573
- maxBids: number;
574
-
575
- /**
576
- * Generic pallet constant
577
- **/
578
- [name: string]: any;
579
- };
580
- /**
581
- * Pallet `Recovery`'s constants
582
- **/
583
- recovery: {
584
- /**
585
- * The base amount of currency needed to reserve for creating a recovery configuration.
586
- *
587
- * This is held for an additional storage item whose value size is
588
- * `2 + sizeof(BlockNumber, Balance)` bytes.
589
- **/
590
- configDepositBase: bigint;
591
-
592
- /**
593
- * The amount of currency needed per additional user when creating a recovery
594
- * configuration.
595
- *
596
- * This is held for adding `sizeof(AccountId)` bytes more into a pre-existing storage
597
- * value.
598
- **/
599
- friendDepositFactor: bigint;
600
-
601
- /**
602
- * The maximum amount of friends allowed in a recovery configuration.
603
- *
604
- * NOTE: The threshold programmed in this Pallet uses u16, so it does
605
- * not really make sense to have a limit here greater than u16::MAX.
606
- * But also, that is a lot more than you should probably set this value
607
- * to anyway...
608
- **/
609
- maxFriends: number;
610
-
611
- /**
612
- * The base amount of currency needed to reserve for starting a recovery.
613
- *
614
- * This is primarily held for deterring malicious recovery attempts, and should
615
- * have a value large enough that a bad actor would choose not to place this
616
- * deposit. It also acts to fund additional storage item whose value size is
617
- * `sizeof(BlockNumber, Balance + T * AccountId)` bytes. Where T is a configurable
618
- * threshold.
619
- **/
620
- recoveryDeposit: bigint;
621
-
622
- /**
623
- * Generic pallet constant
624
- **/
625
- [name: string]: any;
626
- };
627
- /**
628
- * Pallet `Vesting`'s constants
629
- **/
630
- vesting: {
631
- /**
632
- * The minimum amount transferred to call `vested_transfer`.
633
- **/
634
- minVestedTransfer: bigint;
635
- maxVestingSchedules: number;
636
-
637
- /**
638
- * Generic pallet constant
639
- **/
640
- [name: string]: any;
641
- };
642
- /**
643
- * Pallet `Scheduler`'s constants
644
- **/
645
- scheduler: {
646
- /**
647
- * The maximum weight that may be scheduled per block for any dispatchables.
648
- **/
649
- maximumWeight: SpWeightsWeightV2Weight;
650
-
651
- /**
652
- * The maximum number of scheduled calls in the queue for a single block.
653
- *
654
- * NOTE:
655
- * + Dependent pallets' benchmarks might require a higher limit for the setting. Set a
656
- * higher limit under `runtime-benchmarks` feature.
657
- **/
658
- maxScheduledPerBlock: number;
659
-
660
- /**
661
- * Generic pallet constant
662
- **/
663
- [name: string]: any;
664
- };
665
- /**
666
- * Pallet `Proxy`'s constants
667
- **/
668
- proxy: {
669
- /**
670
- * The base amount of currency needed to reserve for creating a proxy.
671
- *
672
- * This is held for an additional storage item whose value size is
673
- * `sizeof(Balance)` bytes and whose key size is `sizeof(AccountId)` bytes.
674
- **/
675
- proxyDepositBase: bigint;
676
-
677
- /**
678
- * The amount of currency needed per proxy added.
679
- *
680
- * This is held for adding 32 bytes plus an instance of `ProxyType` more into a
681
- * pre-existing storage value. Thus, when configuring `ProxyDepositFactor` one should take
682
- * into account `32 + proxy_type.encode().len()` bytes of data.
683
- **/
684
- proxyDepositFactor: bigint;
685
-
686
- /**
687
- * The maximum amount of proxies allowed for a single account.
688
- **/
689
- maxProxies: number;
690
-
691
- /**
692
- * The maximum amount of time-delayed announcements that are allowed to be pending.
693
- **/
694
- maxPending: number;
695
-
696
- /**
697
- * The base amount of currency needed to reserve for creating an announcement.
698
- *
699
- * This is held when a new storage item holding a `Balance` is created (typically 16
700
- * bytes).
701
- **/
702
- announcementDepositBase: bigint;
703
-
704
- /**
705
- * The amount of currency needed per announcement made.
706
- *
707
- * This is held for adding an `AccountId`, `Hash` and `BlockNumber` (typically 68 bytes)
708
- * into a pre-existing storage value.
709
- **/
710
- announcementDepositFactor: bigint;
711
-
712
- /**
713
- * Generic pallet constant
714
- **/
715
- [name: string]: any;
716
- };
717
- /**
718
- * Pallet `Multisig`'s constants
719
- **/
720
- multisig: {
721
- /**
722
- * The base amount of currency needed to reserve for creating a multisig execution or to
723
- * store a dispatch call for later.
724
- *
725
- * This is held for an additional storage item whose value size is
726
- * `4 + sizeof((BlockNumber, Balance, AccountId))` bytes and whose key size is
727
- * `32 + sizeof(AccountId)` bytes.
728
- **/
729
- depositBase: bigint;
730
-
731
- /**
732
- * The amount of currency needed per unit threshold when creating a multisig execution.
733
- *
734
- * This is held for adding 32 bytes more into a pre-existing storage value.
735
- **/
736
- depositFactor: bigint;
737
-
738
- /**
739
- * The maximum amount of signatories allowed in the multisig.
740
- **/
741
- maxSignatories: number;
742
-
743
- /**
744
- * Generic pallet constant
745
- **/
746
- [name: string]: any;
747
- };
748
- /**
749
- * Pallet `Preimage`'s constants
750
- **/
751
- preimage: {
752
- /**
753
- * Generic pallet constant
754
- **/
755
- [name: string]: any;
756
- };
757
- /**
758
- * Pallet `AssetRate`'s constants
759
- **/
760
- assetRate: {
761
- /**
762
- * Generic pallet constant
763
- **/
764
- [name: string]: any;
765
- };
766
- /**
767
- * Pallet `Bounties`'s constants
768
- **/
769
- bounties: {
770
- /**
771
- * The amount held on deposit for placing a bounty proposal.
772
- **/
773
- bountyDepositBase: bigint;
774
-
775
- /**
776
- * The delay period for which a bounty beneficiary need to wait before claim the payout.
777
- **/
778
- bountyDepositPayoutDelay: number;
779
-
780
- /**
781
- * Bounty duration in blocks.
782
- **/
783
- bountyUpdatePeriod: number;
784
-
785
- /**
786
- * The curator deposit is calculated as a percentage of the curator fee.
787
- *
788
- * This deposit has optional upper and lower bounds with `CuratorDepositMax` and
789
- * `CuratorDepositMin`.
790
- **/
791
- curatorDepositMultiplier: Permill;
792
-
793
- /**
794
- * Maximum amount of funds that should be placed in a deposit for making a proposal.
795
- **/
796
- curatorDepositMax: bigint | undefined;
797
-
798
- /**
799
- * Minimum amount of funds that should be placed in a deposit for making a proposal.
800
- **/
801
- curatorDepositMin: bigint | undefined;
802
-
803
- /**
804
- * Minimum value for a bounty.
805
- **/
806
- bountyValueMinimum: bigint;
807
-
808
- /**
809
- * The amount held on deposit per byte within the tip report reason or bounty description.
810
- **/
811
- dataDepositPerByte: bigint;
812
-
813
- /**
814
- * Maximum acceptable reason length.
815
- *
816
- * Benchmarks depend on this value, be sure to update weights file when changing this value
817
- **/
818
- maximumReasonLength: number;
819
-
820
- /**
821
- * Generic pallet constant
822
- **/
823
- [name: string]: any;
824
- };
825
- /**
826
- * Pallet `ChildBounties`'s constants
827
- **/
828
- childBounties: {
829
- /**
830
- * Maximum number of child bounties that can be added to a parent bounty.
831
- **/
832
- maxActiveChildBountyCount: number;
833
-
834
- /**
835
- * Minimum value for a child-bounty.
836
- **/
837
- childBountyValueMinimum: bigint;
838
-
839
- /**
840
- * Generic pallet constant
841
- **/
842
- [name: string]: any;
843
- };
844
- /**
845
- * Pallet `Nis`'s constants
846
- **/
847
- nis: {
848
- /**
849
- * The treasury's pallet id, used for deriving its sovereign account ID.
850
- **/
851
- palletId: FrameSupportPalletId;
852
-
853
- /**
854
- * Number of duration queues in total. This sets the maximum duration supported, which is
855
- * this value multiplied by `Period`.
856
- **/
857
- queueCount: number;
858
-
859
- /**
860
- * Maximum number of items that may be in each duration queue.
861
- *
862
- * Must be larger than zero.
863
- **/
864
- maxQueueLen: number;
865
-
866
- /**
867
- * Portion of the queue which is free from ordering and just a FIFO.
868
- *
869
- * Must be no greater than `MaxQueueLen`.
870
- **/
871
- fifoQueueLen: number;
872
-
873
- /**
874
- * The base period for the duration queues. This is the common multiple across all
875
- * supported freezing durations that can be bid upon.
876
- **/
877
- basePeriod: number;
878
-
879
- /**
880
- * The minimum amount of funds that may be placed in a bid. Note that this
881
- * does not actually limit the amount which may be represented in a receipt since bids may
882
- * be split up by the system.
883
- *
884
- * It should be at least big enough to ensure that there is no possible storage spam attack
885
- * or queue-filling attack.
886
- **/
887
- minBid: bigint;
888
-
889
- /**
890
- * The minimum amount of funds which may intentionally be left remaining under a single
891
- * receipt.
892
- **/
893
- minReceipt: Perquintill;
894
-
895
- /**
896
- * The number of blocks between consecutive attempts to dequeue bids and create receipts.
897
- *
898
- * A larger value results in fewer storage hits each block, but a slower period to get to
899
- * the target.
900
- **/
901
- intakePeriod: number;
902
-
903
- /**
904
- * The maximum amount of bids that can consolidated into receipts in a single intake. A
905
- * larger value here means less of the block available for transactions should there be a
906
- * glut of bids.
907
- **/
908
- maxIntakeWeight: SpWeightsWeightV2Weight;
909
-
910
- /**
911
- * The maximum proportion which may be thawed and the period over which it is reset.
912
- **/
913
- thawThrottle: [Perquintill, number];
914
-
915
- /**
916
- * Generic pallet constant
917
- **/
918
- [name: string]: any;
919
- };
920
- /**
921
- * Pallet `NisCounterpartBalances`'s constants
922
- **/
923
- nisCounterpartBalances: {
924
- /**
925
- * The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO!
926
- *
927
- * If you *really* need it to be zero, you can enable the feature `insecure_zero_ed` for
928
- * this pallet. However, you do so at your own risk: this will open up a major DoS vector.
929
- * In case you have multiple sources of provider references, you may also get unexpected
930
- * behaviour if you set this to zero.
931
- *
932
- * Bottom line: Do yourself a favour and make it at least one!
933
- **/
934
- existentialDeposit: bigint;
935
-
936
- /**
937
- * The maximum number of locks that should exist on an account.
938
- * Not strictly enforced, but used for weight estimation.
939
- *
940
- * Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`
941
- **/
942
- maxLocks: number;
943
-
944
- /**
945
- * The maximum number of named reserves that can exist on an account.
946
- *
947
- * Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`
948
- **/
949
- maxReserves: number;
950
-
951
- /**
952
- * The maximum number of individual freeze locks that can exist on an account at any time.
953
- **/
954
- maxFreezes: number;
955
-
956
- /**
957
- * Generic pallet constant
958
- **/
959
- [name: string]: any;
960
- };
961
- /**
962
- * Pallet `ParachainsOrigin`'s constants
963
- **/
964
- parachainsOrigin: {
965
- /**
966
- * Generic pallet constant
967
- **/
968
- [name: string]: any;
969
- };
970
- /**
971
- * Pallet `Configuration`'s constants
972
- **/
973
- configuration: {
974
- /**
975
- * Generic pallet constant
976
- **/
977
- [name: string]: any;
978
- };
979
- /**
980
- * Pallet `ParasShared`'s constants
981
- **/
982
- parasShared: {
983
- /**
984
- * Generic pallet constant
985
- **/
986
- [name: string]: any;
987
- };
988
- /**
989
- * Pallet `ParaInclusion`'s constants
990
- **/
991
- paraInclusion: {
992
- /**
993
- * Generic pallet constant
994
- **/
995
- [name: string]: any;
996
- };
997
- /**
998
- * Pallet `ParaInherent`'s constants
999
- **/
1000
- paraInherent: {
1001
- /**
1002
- * Generic pallet constant
1003
- **/
1004
- [name: string]: any;
1005
- };
1006
- /**
1007
- * Pallet `ParaScheduler`'s constants
1008
- **/
1009
- paraScheduler: {
1010
- /**
1011
- * Generic pallet constant
1012
- **/
1013
- [name: string]: any;
1014
- };
1015
- /**
1016
- * Pallet `Paras`'s constants
1017
- **/
1018
- paras: {
1019
- unsignedPriority: bigint;
1020
-
1021
- /**
1022
- * Generic pallet constant
1023
- **/
1024
- [name: string]: any;
1025
- };
1026
- /**
1027
- * Pallet `Initializer`'s constants
1028
- **/
1029
- initializer: {
1030
- /**
1031
- * Generic pallet constant
1032
- **/
1033
- [name: string]: any;
1034
- };
1035
- /**
1036
- * Pallet `Dmp`'s constants
1037
- **/
1038
- dmp: {
1039
- /**
1040
- * Generic pallet constant
1041
- **/
1042
- [name: string]: any;
1043
- };
1044
- /**
1045
- * Pallet `Hrmp`'s constants
1046
- **/
1047
- hrmp: {
1048
- /**
1049
- * Generic pallet constant
1050
- **/
1051
- [name: string]: any;
1052
- };
1053
- /**
1054
- * Pallet `ParaSessionInfo`'s constants
1055
- **/
1056
- paraSessionInfo: {
1057
- /**
1058
- * Generic pallet constant
1059
- **/
1060
- [name: string]: any;
1061
- };
1062
- /**
1063
- * Pallet `ParasDisputes`'s constants
1064
- **/
1065
- parasDisputes: {
1066
- /**
1067
- * Generic pallet constant
1068
- **/
1069
- [name: string]: any;
1070
- };
1071
- /**
1072
- * Pallet `ParasSlashing`'s constants
1073
- **/
1074
- parasSlashing: {
1075
- /**
1076
- * Generic pallet constant
1077
- **/
1078
- [name: string]: any;
1079
- };
1080
- /**
1081
- * Pallet `MessageQueue`'s constants
1082
- **/
1083
- messageQueue: {
1084
- /**
1085
- * The size of the page; this implies the maximum message size which can be sent.
1086
- *
1087
- * A good value depends on the expected message sizes, their weights, the weight that is
1088
- * available for processing them and the maximal needed message size. The maximal message
1089
- * size is slightly lower than this as defined by [`MaxMessageLenOf`].
1090
- **/
1091
- heapSize: number;
1092
-
1093
- /**
1094
- * The maximum number of stale pages (i.e. of overweight messages) allowed before culling
1095
- * can happen. Once there are more stale pages than this, then historical pages may be
1096
- * dropped, even if they contain unprocessed overweight messages.
1097
- **/
1098
- maxStale: number;
1099
-
1100
- /**
1101
- * The amount of weight (if any) which should be provided to the message queue for
1102
- * servicing enqueued items `on_initialize`.
1103
- *
1104
- * This may be legitimately `None` in the case that you will call
1105
- * `ServiceQueues::service_queues` manually or set [`Self::IdleMaxServiceWeight`] to have
1106
- * it run in `on_idle`.
1107
- **/
1108
- serviceWeight: SpWeightsWeightV2Weight | undefined;
1109
-
1110
- /**
1111
- * The maximum amount of weight (if any) to be used from remaining weight `on_idle` which
1112
- * should be provided to the message queue for servicing enqueued items `on_idle`.
1113
- * Useful for parachains to process messages at the same block they are received.
1114
- *
1115
- * If `None`, it will not call `ServiceQueues::service_queues` in `on_idle`.
1116
- **/
1117
- idleMaxServiceWeight: SpWeightsWeightV2Weight | undefined;
1118
-
1119
- /**
1120
- * Generic pallet constant
1121
- **/
1122
- [name: string]: any;
1123
- };
1124
- /**
1125
- * Pallet `OnDemandAssignmentProvider`'s constants
1126
- **/
1127
- onDemandAssignmentProvider: {
1128
- /**
1129
- * The default value for the spot traffic multiplier.
1130
- **/
1131
- trafficDefaultValue: FixedU128;
1132
-
1133
- /**
1134
- * The maximum number of blocks some historical revenue
1135
- * information stored for.
1136
- **/
1137
- maxHistoricalRevenue: number;
1138
-
1139
- /**
1140
- * Identifier for the internal revenue balance.
1141
- **/
1142
- palletId: FrameSupportPalletId;
1143
-
1144
- /**
1145
- * Generic pallet constant
1146
- **/
1147
- [name: string]: any;
1148
- };
1149
- /**
1150
- * Pallet `CoretimeAssignmentProvider`'s constants
1151
- **/
1152
- coretimeAssignmentProvider: {
1153
- /**
1154
- * Generic pallet constant
1155
- **/
1156
- [name: string]: any;
1157
- };
1158
- /**
1159
- * Pallet `Registrar`'s constants
1160
- **/
1161
- registrar: {
1162
- /**
1163
- * The deposit to be paid to run a on-demand parachain.
1164
- * This should include the cost for storing the genesis head and validation code.
1165
- **/
1166
- paraDeposit: bigint;
1167
-
1168
- /**
1169
- * The deposit to be paid per byte stored on chain.
1170
- **/
1171
- dataDepositPerByte: bigint;
1172
-
1173
- /**
1174
- * Generic pallet constant
1175
- **/
1176
- [name: string]: any;
1177
- };
1178
- /**
1179
- * Pallet `Slots`'s constants
1180
- **/
1181
- slots: {
1182
- /**
1183
- * The number of blocks over which a single period lasts.
1184
- **/
1185
- leasePeriod: number;
1186
-
1187
- /**
1188
- * The number of blocks to offset each lease period by.
1189
- **/
1190
- leaseOffset: number;
1191
-
1192
- /**
1193
- * Generic pallet constant
1194
- **/
1195
- [name: string]: any;
1196
- };
1197
- /**
1198
- * Pallet `Auctions`'s constants
1199
- **/
1200
- auctions: {
1201
- /**
1202
- * The number of blocks over which an auction may be retroactively ended.
1203
- **/
1204
- endingPeriod: number;
1205
-
1206
- /**
1207
- * The length of each sample to take during the ending period.
1208
- *
1209
- * `EndingPeriod` / `SampleLength` = Total # of Samples
1210
- **/
1211
- sampleLength: number;
1212
- slotRangeCount: number;
1213
- leasePeriodsPerSlot: number;
1214
-
1215
- /**
1216
- * Generic pallet constant
1217
- **/
1218
- [name: string]: any;
1219
- };
1220
- /**
1221
- * Pallet `Crowdloan`'s constants
1222
- **/
1223
- crowdloan: {
1224
- /**
1225
- * `PalletId` for the crowdloan pallet. An appropriate value could be
1226
- * `PalletId(*b"py/cfund")`
1227
- **/
1228
- palletId: FrameSupportPalletId;
1229
-
1230
- /**
1231
- * The minimum amount that may be contributed into a crowdloan. Should almost certainly be
1232
- * at least `ExistentialDeposit`.
1233
- **/
1234
- minContribution: bigint;
1235
-
1236
- /**
1237
- * Max number of storage keys to remove per extrinsic call.
1238
- **/
1239
- removeKeysLimit: number;
1240
-
1241
- /**
1242
- * Generic pallet constant
1243
- **/
1244
- [name: string]: any;
1245
- };
1246
- /**
1247
- * Pallet `Coretime`'s constants
1248
- **/
1249
- coretime: {
1250
- /**
1251
- * The ParaId of the coretime chain.
1252
- **/
1253
- brokerId: number;
1254
-
1255
- /**
1256
- * The coretime chain pot location.
1257
- **/
1258
- brokerPotLocation: StagingXcmV4Junctions;
1259
-
1260
- /**
1261
- * Generic pallet constant
1262
- **/
1263
- [name: string]: any;
1264
- };
1265
- /**
1266
- * Pallet `XcmPallet`'s constants
1267
- **/
1268
- xcmPallet: {
1269
- /**
1270
- * Generic pallet constant
1271
- **/
1272
- [name: string]: any;
1273
- };
1274
- /**
1275
- * Pallet `Beefy`'s constants
1276
- **/
1277
- beefy: {
1278
- /**
1279
- * The maximum number of authorities that can be added.
1280
- **/
1281
- maxAuthorities: number;
1282
-
1283
- /**
1284
- * The maximum number of nominators for each validator.
1285
- **/
1286
- maxNominators: number;
1287
-
1288
- /**
1289
- * The maximum number of entries to keep in the set id to session index mapping.
1290
- *
1291
- * Since the `SetIdSession` map is only used for validating equivocations this
1292
- * value should relate to the bonding duration of whatever staking system is
1293
- * being used (if any). If equivocation handling is not enabled then this value
1294
- * can be zero.
1295
- **/
1296
- maxSetIdSessionEntries: bigint;
1297
-
1298
- /**
1299
- * Generic pallet constant
1300
- **/
1301
- [name: string]: any;
1302
- };
1303
- /**
1304
- * Pallet `Mmr`'s constants
1305
- **/
1306
- mmr: {
1307
- /**
1308
- * Generic pallet constant
1309
- **/
1310
- [name: string]: any;
1311
- };
1312
- /**
1313
- * Pallet `MmrLeaf`'s constants
1314
- **/
1315
- mmrLeaf: {
1316
- /**
1317
- * Generic pallet constant
1318
- **/
1319
- [name: string]: any;
1320
- };
1321
- /**
1322
- * Pallet `IdentityMigrator`'s constants
1323
- **/
1324
- identityMigrator: {
1325
- /**
1326
- * Generic pallet constant
1327
- **/
1328
- [name: string]: any;
1329
- };
1330
- /**
1331
- * Pallet `ParasSudoWrapper`'s constants
1332
- **/
1333
- parasSudoWrapper: {
1334
- /**
1335
- * Generic pallet constant
1336
- **/
1337
- [name: string]: any;
1338
- };
1339
- /**
1340
- * Pallet `AssignedSlots`'s constants
1341
- **/
1342
- assignedSlots: {
1343
- /**
1344
- * The number of lease periods a permanent parachain slot lasts.
1345
- **/
1346
- permanentSlotLeasePeriodLength: number;
1347
-
1348
- /**
1349
- * The number of lease periods a temporary parachain slot lasts.
1350
- **/
1351
- temporarySlotLeasePeriodLength: number;
1352
-
1353
- /**
1354
- * The max number of temporary slots to be scheduled per lease periods.
1355
- **/
1356
- maxTemporarySlotPerLeasePeriod: number;
1357
-
1358
- /**
1359
- * Generic pallet constant
1360
- **/
1361
- [name: string]: any;
1362
- };
1363
- /**
1364
- * Pallet `ValidatorManager`'s constants
1365
- **/
1366
- validatorManager: {
1367
- /**
1368
- * Generic pallet constant
1369
- **/
1370
- [name: string]: any;
1371
- };
1372
- /**
1373
- * Pallet `StateTrieMigration`'s constants
1374
- **/
1375
- stateTrieMigration: {
1376
- /**
1377
- * Maximal number of bytes that a key can have.
1378
- *
1379
- * FRAME itself does not limit the key length.
1380
- * The concrete value must therefore depend on your storage usage.
1381
- * A [`frame_support::storage::StorageNMap`] for example can have an arbitrary number of
1382
- * keys which are then hashed and concatenated, resulting in arbitrarily long keys.
1383
- *
1384
- * Use the *state migration RPC* to retrieve the length of the longest key in your
1385
- * storage: <https://github.com/paritytech/substrate/issues/11642>
1386
- *
1387
- * The migration will halt with a `Halted` event if this value is too small.
1388
- * Since there is no real penalty from over-estimating, it is advised to use a large
1389
- * value. The default is 512 byte.
1390
- *
1391
- * Some key lengths for reference:
1392
- * - [`frame_support::storage::StorageValue`]: 32 byte
1393
- * - [`frame_support::storage::StorageMap`]: 64 byte
1394
- * - [`frame_support::storage::StorageDoubleMap`]: 96 byte
1395
- *
1396
- * For more info see
1397
- * <https://www.shawntabrizi.com/blog/substrate/querying-substrate-storage-via-rpc/>
1398
- **/
1399
- maxKeyLen: number;
1400
-
1401
- /**
1402
- * Generic pallet constant
1403
- **/
1404
- [name: string]: any;
1405
- };
1406
- /**
1407
- * Pallet `RootTesting`'s constants
1408
- **/
1409
- rootTesting: {
1410
- /**
1411
- * Generic pallet constant
1412
- **/
1413
- [name: string]: any;
1414
- };
1415
- /**
1416
- * Pallet `Sudo`'s constants
1417
- **/
1418
- sudo: {
1419
- /**
1420
- * Generic pallet constant
1421
- **/
1422
- [name: string]: any;
1423
- };
1424
- }