11// Generated by dedot cli
22
33import type { GenericChainConsts } from 'dedot/types' ;
4- import type { RuntimeVersion , Permill , Bytes , Perbill , FixedU128 } from 'dedot/codecs' ;
4+ import type { RuntimeVersion , Permill , AccountId32 , Bytes , Perbill , FixedU128 } from 'dedot/codecs' ;
55import type {
66 FrameSystemLimitsBlockWeights ,
77 FrameSystemLimitsBlockLength ,
88 SpWeightsRuntimeDbWeight ,
99 SpWeightsWeightV2Weight ,
1010 FrameSupportPalletId ,
11- PalletReferendaTrackInfo ,
12- StagingXcmV4Junctions ,
11+ PalletReferendaTrackDetails ,
12+ StagingXcmV5Junctions ,
1313} from './types.js' ;
1414
1515export interface ChainConsts extends GenericChainConsts {
@@ -301,6 +301,11 @@ export interface ChainConsts extends GenericChainConsts {
301301 **/
302302 maxExposurePageSize : number ;
303303
304+ /**
305+ * The absolute maximum of winner validators this pallet should return.
306+ **/
307+ maxValidatorSet : number ;
308+
304309 /**
305310 * The maximum number of `unlocking` chunks a [`StakingLedger`] can
306311 * have. Effectively determines how many unique eras a staker may be
@@ -342,6 +347,11 @@ export interface ChainConsts extends GenericChainConsts {
342347 * Pallet `Session`'s constants
343348 **/
344349 session : {
350+ /**
351+ * The amount to be held when setting keys.
352+ **/
353+ keyDeposit : bigint ;
354+
345355 /**
346356 * Generic pallet constant
347357 **/
@@ -405,6 +415,9 @@ export interface ChainConsts extends GenericChainConsts {
405415 palletId : FrameSupportPalletId ;
406416
407417 /**
418+ * DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
419+ * Refer to <https://github.com/paritytech/polkadot-sdk/pull/5961> for migration to `spend`.
420+ *
408421 * The maximum number of approvals that can wait in the spending queue.
409422 *
410423 * NOTE: This parameter is also used within the Bounties Pallet extension if enabled.
@@ -416,6 +429,11 @@ export interface ChainConsts extends GenericChainConsts {
416429 **/
417430 payoutPeriod : number ;
418431
432+ /**
433+ * Gets this pallet's derived pot account.
434+ **/
435+ potAccount : AccountId32 ;
436+
419437 /**
420438 * Generic pallet constant
421439 **/
@@ -474,9 +492,11 @@ export interface ChainConsts extends GenericChainConsts {
474492 alarmInterval : number ;
475493
476494 /**
477- * Information concerning the different referendum tracks.
495+ * A list of tracks.
496+ *
497+ * Note: if the tracks are dynamic, the value in the static metadata might be inaccurate.
478498 **/
479- tracks : Array < [ number , PalletReferendaTrackInfo ] > ;
499+ tracks : Array < [ number , PalletReferendaTrackDetails ] > ;
480500
481501 /**
482502 * Generic pallet constant
@@ -501,15 +521,6 @@ export interface ChainConsts extends GenericChainConsts {
501521 **/
502522 [ name : string ] : any ;
503523 } ;
504- /**
505- * Pallet `Parameters`'s constants
506- **/
507- parameters : {
508- /**
509- * Generic pallet constant
510- **/
511- [ name : string ] : any ;
512- } ;
513524 /**
514525 * Pallet `Claims`'s constants
515526 **/
@@ -648,7 +659,12 @@ export interface ChainConsts extends GenericChainConsts {
648659 bountyDepositPayoutDelay : number ;
649660
650661 /**
651- * Bounty duration in blocks.
662+ * The time limit for a curator to act before a bounty expires.
663+ *
664+ * The period that starts when a curator is approved, during which they must execute or
665+ * update the bounty via `extend_bounty_expiry`. If missed, the bounty expires, and the
666+ * curator may be slashed. If `BlockNumberFor::MAX`, bounties stay active indefinitely,
667+ * removing the need for `extend_bounty_expiry`.
652668 **/
653669 bountyUpdatePeriod : number ;
654670
@@ -775,12 +791,18 @@ export interface ChainConsts extends GenericChainConsts {
775791 signedDepositWeight : bigint ;
776792
777793 /**
778- * The maximum number of winners that can be elected by this `ElectionProvider`
779- * implementation.
794+ * Maximum number of winners that an election supports.
780795 *
781796 * Note: This must always be greater or equal to `T::DataProvider::desired_targets()`.
782797 **/
783798 maxWinners : number ;
799+
800+ /**
801+ * Maximum number of voters that can support a winner in an election solution.
802+ *
803+ * This is needed to ensure election computation is bounded.
804+ **/
805+ maxBackersPerWinner : number ;
784806 minerMaxLength : number ;
785807 minerMaxWeight : SpWeightsWeightV2Weight ;
786808 minerMaxVotesPerVoter : number ;
@@ -842,6 +864,14 @@ export interface ChainConsts extends GenericChainConsts {
842864 **/
843865 bagThresholds : Array < bigint > ;
844866
867+ /**
868+ * Maximum number of accounts that may be re-bagged automatically in `on_idle`.
869+ *
870+ * A value of `0` (obtained by configuring `type MaxAutoRebagPerBlock = ();`) disables
871+ * the feature.
872+ **/
873+ maxAutoRebagPerBlock : number ;
874+
845875 /**
846876 * Generic pallet constant
847877 **/
@@ -916,6 +946,15 @@ export interface ChainConsts extends GenericChainConsts {
916946 **/
917947 [ name : string ] : any ;
918948 } ;
949+ /**
950+ * Pallet `StakingAhClient`'s constants
951+ **/
952+ stakingAhClient : {
953+ /**
954+ * Generic pallet constant
955+ **/
956+ [ name : string ] : any ;
957+ } ;
919958 /**
920959 * Pallet `ParachainsOrigin`'s constants
921960 **/
@@ -1169,7 +1208,7 @@ export interface ChainConsts extends GenericChainConsts {
11691208 /**
11701209 * The coretime chain pot location.
11711210 **/
1172- brokerPotLocation : StagingXcmV4Junctions ;
1211+ brokerPotLocation : StagingXcmV5Junctions ;
11731212
11741213 /**
11751214 * Generic pallet constant
@@ -1214,6 +1253,27 @@ export interface ChainConsts extends GenericChainConsts {
12141253 * Pallet `XcmPallet`'s constants
12151254 **/
12161255 xcmPallet : {
1256+ /**
1257+ * This chain's Universal Location.
1258+ **/
1259+ universalLocation : StagingXcmV5Junctions ;
1260+
1261+ /**
1262+ * The latest supported version that we advertise. Generally just set it to
1263+ * `pallet_xcm::CurrentXcmVersion`.
1264+ **/
1265+ advertisedXcmVersion : number ;
1266+
1267+ /**
1268+ * The maximum number of local XCM locks that a single account may have.
1269+ **/
1270+ maxLockers : number ;
1271+
1272+ /**
1273+ * The maximum number of consumers a single remote lock may have.
1274+ **/
1275+ maxRemoteLockConsumers : number ;
1276+
12171277 /**
12181278 * Generic pallet constant
12191279 **/
@@ -1337,4 +1397,13 @@ export interface ChainConsts extends GenericChainConsts {
13371397 **/
13381398 [ name : string ] : any ;
13391399 } ;
1400+ /**
1401+ * Pallet `RcMigrator`'s constants
1402+ **/
1403+ rcMigrator : {
1404+ /**
1405+ * Generic pallet constant
1406+ **/
1407+ [ name : string ] : any ;
1408+ } ;
13401409}
0 commit comments