@@ -8,12 +8,13 @@ import type {
88 SpWeightsRuntimeDbWeight ,
99 FrameSupportPalletId ,
1010 SpWeightsWeightV2Weight ,
11- PalletReferendaTrackInfo ,
11+ PalletReferendaTrackDetails ,
1212 HydradxTraitsOracleOraclePeriod ,
1313 PalletDynamicFeesFeeParams ,
1414 NonZeroU16 ,
1515 PolkadotParachainPrimitivesPrimitivesId ,
16- StagingXcmV4Location ,
16+ StagingXcmV5Junctions ,
17+ StagingXcmV5Location ,
1718} from './types.js' ;
1819
1920export interface ChainConsts extends GenericChainConsts {
@@ -198,6 +199,9 @@ export interface ChainConsts extends GenericChainConsts {
198199 palletId : FrameSupportPalletId ;
199200
200201 /**
202+ * DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
203+ * Refer to <https://github.com/paritytech/polkadot-sdk/pull/5961> for migration to `spend`.
204+ *
201205 * The maximum number of approvals that can wait in the spending queue.
202206 *
203207 * NOTE: This parameter is also used within the Bounties Pallet extension if enabled.
@@ -209,6 +213,11 @@ export interface ChainConsts extends GenericChainConsts {
209213 **/
210214 payoutPeriod : number ;
211215
216+ /**
217+ * Gets this pallet's derived pot account.
218+ **/
219+ potAccount : AccountId32 ;
220+
212221 /**
213222 * Generic pallet constant
214223 **/
@@ -251,6 +260,12 @@ export interface ChainConsts extends GenericChainConsts {
251260 **/
252261 byteDeposit : bigint ;
253262
263+ /**
264+ * The amount held on deposit per registered username. This value should change only in
265+ * runtime upgrades with proper migration of existing deposits.
266+ **/
267+ usernameDeposit : bigint ;
268+
254269 /**
255270 * The amount held on deposit for a registered subaccount. This should account for the fact
256271 * that one storage item's value will increase by the size of an account ID, and there will
@@ -274,6 +289,12 @@ export interface ChainConsts extends GenericChainConsts {
274289 **/
275290 pendingUsernameExpiration : number ;
276291
292+ /**
293+ * The number of blocks that must pass to enable the permanent deletion of a username by
294+ * its respective authority.
295+ **/
296+ usernameGracePeriod : number ;
297+
277298 /**
278299 * The maximum length of a suffix.
279300 **/
@@ -604,9 +625,11 @@ export interface ChainConsts extends GenericChainConsts {
604625 alarmInterval : number ;
605626
606627 /**
607- * Information concerning the different referendum tracks.
628+ * A list of tracks.
629+ *
630+ * Note: if the tracks are dynamic, the value in the static metadata might be inaccurate.
608631 **/
609- tracks : Array < [ number , PalletReferendaTrackInfo ] > ;
632+ tracks : Array < [ number , PalletReferendaTrackDetails ] > ;
610633
611634 /**
612635 * Generic pallet constant
@@ -749,6 +772,11 @@ export interface ChainConsts extends GenericChainConsts {
749772 nftCollectionId : bigint ;
750773 burnProtocolFee : Permill ;
751774
775+ /**
776+ * Destination account when hub asset is sold
777+ **/
778+ hubDestination : AccountId32 ;
779+
752780 /**
753781 * Generic pallet constant
754782 **/
@@ -1310,7 +1338,7 @@ export interface ChainConsts extends GenericChainConsts {
13101338 /**
13111339 * EVM address of the external gas faucet contract.
13121340 **/
1313- faucetAddress : FixedBytes < 20 > ;
1341+ faucetAddress : H160 ;
13141342
13151343 /**
13161344 * Pallet ID used to derive the pallet's sovereign account.
@@ -1619,6 +1647,27 @@ export interface ChainConsts extends GenericChainConsts {
16191647 * Pallet `PolkadotXcm`'s constants
16201648 **/
16211649 polkadotXcm : {
1650+ /**
1651+ * This chain's Universal Location.
1652+ **/
1653+ universalLocation : StagingXcmV5Junctions ;
1654+
1655+ /**
1656+ * The latest supported version that we advertise. Generally just set it to
1657+ * `pallet_xcm::CurrentXcmVersion`.
1658+ **/
1659+ advertisedXcmVersion : number ;
1660+
1661+ /**
1662+ * The maximum number of local XCM locks that a single account may have.
1663+ **/
1664+ maxLockers : number ;
1665+
1666+ /**
1667+ * The maximum number of consumers a single remote lock may have.
1668+ **/
1669+ maxRemoteLockConsumers : number ;
1670+
16221671 /**
16231672 * Generic pallet constant
16241673 **/
@@ -1716,6 +1765,40 @@ export interface ChainConsts extends GenericChainConsts {
17161765 **/
17171766 [ name : string ] : any ;
17181767 } ;
1768+ /**
1769+ * Pallet `WeightReclaim`'s constants
1770+ **/
1771+ weightReclaim : {
1772+ /**
1773+ * Generic pallet constant
1774+ **/
1775+ [ name : string ] : any ;
1776+ } ;
1777+ /**
1778+ * Pallet `MultiBlockMigrations`'s constants
1779+ **/
1780+ multiBlockMigrations : {
1781+ /**
1782+ * The maximal length of an encoded cursor.
1783+ *
1784+ * A good default needs to selected such that no migration will ever have a cursor with MEL
1785+ * above this limit. This is statically checked in `integrity_test`.
1786+ **/
1787+ cursorMaxLen : number ;
1788+
1789+ /**
1790+ * The maximal length of an encoded identifier.
1791+ *
1792+ * A good default needs to selected such that no migration will ever have an identifier
1793+ * with MEL above this limit. This is statically checked in `integrity_test`.
1794+ **/
1795+ identifierMaxLen : number ;
1796+
1797+ /**
1798+ * Generic pallet constant
1799+ **/
1800+ [ name : string ] : any ;
1801+ } ;
17191802 /**
17201803 * Pallet `OrmlXcm`'s constants
17211804 **/
@@ -1732,7 +1815,7 @@ export interface ChainConsts extends GenericChainConsts {
17321815 /**
17331816 * Self chain location.
17341817 **/
1735- selfLocation : StagingXcmV4Location ;
1818+ selfLocation : StagingXcmV5Location ;
17361819
17371820 /**
17381821 * Base XCM weight.
@@ -1774,6 +1857,36 @@ export interface ChainConsts extends GenericChainConsts {
17741857 * Pallet `CollatorSelection`'s constants
17751858 **/
17761859 collatorSelection : {
1860+ /**
1861+ * Account Identifier from which the internal Pot is generated.
1862+ **/
1863+ potId : FrameSupportPalletId ;
1864+
1865+ /**
1866+ * Maximum number of candidates that we should have.
1867+ *
1868+ * This does not take into account the invulnerables.
1869+ **/
1870+ maxCandidates : number ;
1871+
1872+ /**
1873+ * Minimum number eligible collators. Should always be greater than zero. This includes
1874+ * Invulnerable collators. This ensures that there will always be one collator who can
1875+ * produce a block.
1876+ **/
1877+ minEligibleCollators : number ;
1878+
1879+ /**
1880+ * Maximum number of invulnerables.
1881+ **/
1882+ maxInvulnerables : number ;
1883+ kickThreshold : number ;
1884+
1885+ /**
1886+ * Gets this pallet's derived pot account.
1887+ **/
1888+ potAccount : AccountId32 ;
1889+
17771890 /**
17781891 * Generic pallet constant
17791892 **/
@@ -1814,47 +1927,6 @@ export interface ChainConsts extends GenericChainConsts {
18141927 **/
18151928 [ name : string ] : any ;
18161929 } ;
1817- /**
1818- * Pallet `Ismp`'s constants
1819- **/
1820- ismp : {
1821- /**
1822- * Generic pallet constant
1823- **/
1824- [ name : string ] : any ;
1825- } ;
1826- /**
1827- * Pallet `IsmpParachain`'s constants
1828- **/
1829- ismpParachain : {
1830- /**
1831- * Generic pallet constant
1832- **/
1833- [ name : string ] : any ;
1834- } ;
1835- /**
1836- * Pallet `Hyperbridge`'s constants
1837- **/
1838- hyperbridge : {
1839- /**
1840- * Generic pallet constant
1841- **/
1842- [ name : string ] : any ;
1843- } ;
1844- /**
1845- * Pallet `TokenGateway`'s constants
1846- **/
1847- tokenGateway : {
1848- /**
1849- * The decimals of the native currency
1850- **/
1851- decimals : number ;
1852-
1853- /**
1854- * Generic pallet constant
1855- **/
1856- [ name : string ] : any ;
1857- } ;
18581930 /**
18591931 * Pallet `EmaOracle`'s constants
18601932 **/
0 commit comments