@dedot/chaintypes 0.232.0 → 0.233.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.
package/paseo/query.d.ts CHANGED
@@ -23,6 +23,7 @@ import type {
23
23
  FrameSystemEventRecord,
24
24
  FrameSystemLastRuntimeUpgradeInfo,
25
25
  FrameSystemCodeUpgradeAuthorization,
26
+ SpWeightsWeightV2Weight,
26
27
  PalletSchedulerScheduled,
27
28
  PalletSchedulerRetryConfig,
28
29
  PalletPreimageOldRequestStatus,
@@ -38,6 +39,7 @@ import type {
38
39
  FrameSupportTokensMiscIdAmount,
39
40
  FrameSupportTokensMiscIdAmountRuntimeFreezeReason,
40
41
  PalletTransactionPaymentReleases,
42
+ FrameSupportStorageNoDrop,
41
43
  PalletStakingStakingLedger,
42
44
  PalletStakingRewardDestination,
43
45
  PalletStakingValidatorPrefs,
@@ -53,6 +55,7 @@ import type {
53
55
  PalletStakingSlashingSpanRecord,
54
56
  SpStakingOffenceOffenceDetails,
55
57
  PaseoRuntimeSessionKeys,
58
+ SpStakingOffenceOffenceSeverity,
56
59
  SpCoreCryptoKeyTypeId,
57
60
  PalletGrandpaStoredState,
58
61
  PalletGrandpaStoredPendingChange,
@@ -62,8 +65,6 @@ import type {
62
65
  PalletTreasurySpendStatus,
63
66
  PalletConvictionVotingVoteVoting,
64
67
  PalletReferendaReferendumInfo,
65
- PaseoRuntimeRuntimeParametersValue,
66
- PaseoRuntimeRuntimeParametersKey,
67
68
  PolkadotRuntimeCommonClaimsStatementKind,
68
69
  PalletVestingVestingInfo,
69
70
  PalletVestingReleases,
@@ -88,21 +89,25 @@ import type {
88
89
  PalletFastUnstakeUnstakeRequest,
89
90
  PalletDelegatedStakingDelegation,
90
91
  PalletDelegatedStakingAgentLedger,
92
+ PalletStakingAsyncRcClientValidatorSetReport,
93
+ PalletStakingAsyncAhClientOperatingMode,
94
+ PalletStakingAsyncRcClientSessionReport,
95
+ PalletStakingAsyncRcClientOffence,
91
96
  PolkadotRuntimeParachainsConfigurationHostConfiguration,
92
97
  PolkadotPrimitivesV8ValidatorIndex,
93
98
  PolkadotPrimitivesV8ValidatorAppPublic,
94
99
  PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker,
95
100
  PolkadotRuntimeParachainsInclusionCandidatePendingAvailability,
96
101
  PolkadotParachainPrimitivesPrimitivesId,
97
- PolkadotPrimitivesV8ScrapedOnChainVotes,
98
- PolkadotRuntimeParachainsSchedulerPalletCoreOccupied,
102
+ PolkadotPrimitivesVstagingScrapedOnChainVotes,
99
103
  PolkadotPrimitivesV8CoreIndex,
100
- PolkadotRuntimeParachainsSchedulerPalletParasEntry,
104
+ PolkadotRuntimeParachainsSchedulerCommonAssignment,
101
105
  PolkadotRuntimeParachainsParasPvfCheckActiveVoteState,
102
106
  PolkadotParachainPrimitivesPrimitivesValidationCodeHash,
103
107
  PolkadotRuntimeParachainsParasParaLifecycle,
104
108
  PolkadotParachainPrimitivesPrimitivesHeadData,
105
109
  PolkadotRuntimeParachainsParasParaPastCodeMeta,
110
+ PolkadotRuntimeParachainsParasAuthorizedCodeHashAndExpiry,
106
111
  PolkadotPrimitivesV8UpgradeGoAhead,
107
112
  PolkadotPrimitivesV8UpgradeRestriction,
108
113
  PolkadotRuntimeParachainsParasParaGenesisArgs,
@@ -118,7 +123,7 @@ import type {
118
123
  PolkadotPrimitivesV8ExecutorParams,
119
124
  PolkadotPrimitivesV8DisputeState,
120
125
  PolkadotCorePrimitivesCandidateHash,
121
- PolkadotPrimitivesV8SlashingPendingSlashes,
126
+ PolkadotPrimitivesVstagingPendingSlashes,
122
127
  PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount,
123
128
  PolkadotRuntimeParachainsOnDemandTypesQueueStatusType,
124
129
  BinaryHeapEnqueuedOrder,
@@ -130,17 +135,25 @@ import type {
130
135
  PalletStateTrieMigrationMigrationLimits,
131
136
  PalletXcmQueryStatus,
132
137
  XcmVersionedLocation,
133
- SpWeightsWeightV2Weight,
134
138
  PalletXcmVersionMigrationStage,
135
139
  PalletXcmRemoteLockedFungibleRecord,
136
140
  XcmVersionedAssetId,
137
- StagingXcmV4Xcm,
141
+ StagingXcmV5Xcm,
142
+ PalletXcmAuthorizedAliasesEntry,
138
143
  PalletMessageQueueBookState,
139
144
  PolkadotRuntimeParachainsInclusionAggregateMessageOrigin,
140
145
  PalletMessageQueuePage,
141
146
  PolkadotRuntimeCommonImplsVersionedLocatableAsset,
142
147
  SpConsensusBeefyEcdsaCryptoPublic,
143
148
  SpConsensusBeefyMmrBeefyAuthoritySet,
149
+ PalletRcMigratorMigrationStage,
150
+ PalletRcMigratorAccountsAccountState,
151
+ PalletRcMigratorAccountsMigratedBalances,
152
+ PalletRcMigratorQueuePriority,
153
+ FrameSupportScheduleDispatchTime,
154
+ PalletRcMigratorMigrationSettings,
155
+ PaseoRuntimeRuntimeCall,
156
+ PaseoRuntimeRuntimeCallLike,
144
157
  } from './types.js';
145
158
 
146
159
  export interface ChainStorage extends GenericChainStorage {
@@ -294,6 +307,19 @@ export interface ChainStorage extends GenericChainStorage {
294
307
  **/
295
308
  authorizedUpgrade: GenericStorageQuery<() => FrameSystemCodeUpgradeAuthorization | undefined>;
296
309
 
310
+ /**
311
+ * The weight reclaimed for the extrinsic.
312
+ *
313
+ * This information is available until the end of the extrinsic execution.
314
+ * More precisely this information is removed in `note_applied_extrinsic`.
315
+ *
316
+ * Logic doing some post dispatch weight reduction must update this storage to avoid duplicate
317
+ * reduction.
318
+ *
319
+ * @param {Callback<SpWeightsWeightV2Weight> =} callback
320
+ **/
321
+ extrinsicWeightReclaimed: GenericStorageQuery<() => SpWeightsWeightV2Weight>;
322
+
297
323
  /**
298
324
  * Generic pallet storage query
299
325
  **/
@@ -304,6 +330,7 @@ export interface ChainStorage extends GenericChainStorage {
304
330
  **/
305
331
  scheduler: {
306
332
  /**
333
+ * Block number at which the agenda began incomplete execution.
307
334
  *
308
335
  * @param {Callback<number | undefined> =} callback
309
336
  **/
@@ -350,6 +377,8 @@ export interface ChainStorage extends GenericChainStorage {
350
377
  *
351
378
  * @param {H256} arg
352
379
  * @param {Callback<PalletPreimageOldRequestStatus | undefined> =} callback
380
+ *
381
+ * @deprecated RequestStatusFor
353
382
  **/
354
383
  statusFor: GenericStorageQuery<(arg: H256) => PalletPreimageOldRequestStatus | undefined, H256>;
355
384
 
@@ -694,6 +723,15 @@ export interface ChainStorage extends GenericChainStorage {
694
723
  **/
695
724
  storageVersion: GenericStorageQuery<() => PalletTransactionPaymentReleases>;
696
725
 
726
+ /**
727
+ * The `OnChargeTransaction` stores the withdrawn tx fee here.
728
+ *
729
+ * Use `withdraw_txfee` and `remaining_txfee` to access from outside the crate.
730
+ *
731
+ * @param {Callback<FrameSupportStorageNoDrop | undefined> =} callback
732
+ **/
733
+ txPaymentCredit: GenericStorageQuery<() => FrameSupportStorageNoDrop | undefined>;
734
+
697
735
  /**
698
736
  * Generic pallet storage query
699
737
  **/
@@ -1163,19 +1201,6 @@ export interface ChainStorage extends GenericChainStorage {
1163
1201
  **/
1164
1202
  currentPlannedSession: GenericStorageQuery<() => number>;
1165
1203
 
1166
- /**
1167
- * Indices of validators that have offended in the active era. The offenders are disabled for a
1168
- * whole era. For this reason they are kept here - only staking pallet knows about eras. The
1169
- * implementor of [`DisablingStrategy`] defines if a validator should be disabled which
1170
- * implicitly means that the implementor also controls the max number of disabled validators.
1171
- *
1172
- * The vec is always kept sorted so that we can find whether a given validator has previously
1173
- * offended using binary search.
1174
- *
1175
- * @param {Callback<Array<number>> =} callback
1176
- **/
1177
- disabledValidators: GenericStorageQuery<() => Array<number>>;
1178
-
1179
1204
  /**
1180
1205
  * The threshold for when users can start calling `chill_other` for other validators /
1181
1206
  * nominators. The threshold is compared to the actual number of validators / nominators
@@ -1283,9 +1308,9 @@ export interface ChainStorage extends GenericChainStorage {
1283
1308
  * disabled using binary search. It gets cleared when `on_session_ending` returns
1284
1309
  * a new set of identities.
1285
1310
  *
1286
- * @param {Callback<Array<number>> =} callback
1311
+ * @param {Callback<Array<[number, SpStakingOffenceOffenceSeverity]>> =} callback
1287
1312
  **/
1288
- disabledValidators: GenericStorageQuery<() => Array<number>>;
1313
+ disabledValidators: GenericStorageQuery<() => Array<[number, SpStakingOffenceOffenceSeverity]>>;
1289
1314
 
1290
1315
  /**
1291
1316
  * The next session keys for a validator.
@@ -1408,6 +1433,9 @@ export interface ChainStorage extends GenericChainStorage {
1408
1433
  **/
1409
1434
  treasury: {
1410
1435
  /**
1436
+ * DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
1437
+ * Refer to <https://github.com/paritytech/polkadot-sdk/pull/5961> for migration to `spend`.
1438
+ *
1411
1439
  * Number of proposals that have been made.
1412
1440
  *
1413
1441
  * @param {Callback<number> =} callback
@@ -1415,6 +1443,9 @@ export interface ChainStorage extends GenericChainStorage {
1415
1443
  proposalCount: GenericStorageQuery<() => number>;
1416
1444
 
1417
1445
  /**
1446
+ * DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
1447
+ * Refer to <https://github.com/paritytech/polkadot-sdk/pull/5961> for migration to `spend`.
1448
+ *
1418
1449
  * Proposals that have been made.
1419
1450
  *
1420
1451
  * @param {number} arg
@@ -1430,6 +1461,9 @@ export interface ChainStorage extends GenericChainStorage {
1430
1461
  deactivated: GenericStorageQuery<() => bigint>;
1431
1462
 
1432
1463
  /**
1464
+ * DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
1465
+ * Refer to <https://github.com/paritytech/polkadot-sdk/pull/5961> for migration to `spend`.
1466
+ *
1433
1467
  * Proposal indices that have been approved but not yet awarded.
1434
1468
  *
1435
1469
  * @param {Callback<Array<number>> =} callback
@@ -1451,6 +1485,13 @@ export interface ChainStorage extends GenericChainStorage {
1451
1485
  **/
1452
1486
  spends: GenericStorageQuery<(arg: number) => PalletTreasurySpendStatus | undefined, number>;
1453
1487
 
1488
+ /**
1489
+ * The blocknumber for the last triggered spend period.
1490
+ *
1491
+ * @param {Callback<number | undefined> =} callback
1492
+ **/
1493
+ lastSpendPeriod: GenericStorageQuery<() => number | undefined>;
1494
+
1454
1495
  /**
1455
1496
  * Generic pallet storage query
1456
1497
  **/
@@ -1559,26 +1600,6 @@ export interface ChainStorage extends GenericChainStorage {
1559
1600
  **/
1560
1601
  [storage: string]: GenericStorageQuery;
1561
1602
  };
1562
- /**
1563
- * Pallet `Parameters`'s storage queries
1564
- **/
1565
- parameters: {
1566
- /**
1567
- * Stored parameters.
1568
- *
1569
- * @param {PaseoRuntimeRuntimeParametersKey} arg
1570
- * @param {Callback<PaseoRuntimeRuntimeParametersValue | undefined> =} callback
1571
- **/
1572
- parameters: GenericStorageQuery<
1573
- (arg: PaseoRuntimeRuntimeParametersKey) => PaseoRuntimeRuntimeParametersValue | undefined,
1574
- PaseoRuntimeRuntimeParametersKey
1575
- >;
1576
-
1577
- /**
1578
- * Generic pallet storage query
1579
- **/
1580
- [storage: string]: GenericStorageQuery;
1581
- };
1582
1603
  /**
1583
1604
  * Pallet `Claims`'s storage queries
1584
1605
  **/
@@ -1747,14 +1768,15 @@ export interface ChainStorage extends GenericChainStorage {
1747
1768
  **/
1748
1769
  childBounties: {
1749
1770
  /**
1750
- * Number of total child bounties.
1771
+ * DEPRECATED: Replaced with `ParentTotalChildBounties` storage item keeping dedicated counts
1772
+ * for each parent bounty. Number of total child bounties. Will be removed in May 2025.
1751
1773
  *
1752
1774
  * @param {Callback<number> =} callback
1753
1775
  **/
1754
1776
  childBountyCount: GenericStorageQuery<() => number>;
1755
1777
 
1756
1778
  /**
1757
- * Number of child bounties per parent bounty.
1779
+ * Number of active child bounties per parent bounty.
1758
1780
  * Map of parent bounty index to number of child bounties.
1759
1781
  *
1760
1782
  * @param {number} arg
@@ -1762,6 +1784,14 @@ export interface ChainStorage extends GenericChainStorage {
1762
1784
  **/
1763
1785
  parentChildBounties: GenericStorageQuery<(arg: number) => number, number>;
1764
1786
 
1787
+ /**
1788
+ * Number of total child bounties per parent bounty, including completed bounties.
1789
+ *
1790
+ * @param {number} arg
1791
+ * @param {Callback<number> =} callback
1792
+ **/
1793
+ parentTotalChildBounties: GenericStorageQuery<(arg: number) => number, number>;
1794
+
1765
1795
  /**
1766
1796
  * Child bounties that have been added.
1767
1797
  *
@@ -1774,12 +1804,26 @@ export interface ChainStorage extends GenericChainStorage {
1774
1804
  >;
1775
1805
 
1776
1806
  /**
1777
- * The description of each child-bounty.
1807
+ * The description of each child-bounty. Indexed by `(parent_id, child_id)`.
1778
1808
  *
1779
- * @param {number} arg
1809
+ * This item replaces the `ChildBountyDescriptions` storage item from the V0 storage version.
1810
+ *
1811
+ * @param {[number, number]} arg
1780
1812
  * @param {Callback<Bytes | undefined> =} callback
1781
1813
  **/
1782
- childBountyDescriptions: GenericStorageQuery<(arg: number) => Bytes | undefined, number>;
1814
+ childBountyDescriptionsV1: GenericStorageQuery<(arg: [number, number]) => Bytes | undefined, [number, number]>;
1815
+
1816
+ /**
1817
+ * The mapping of the child bounty ids from storage version `V0` to the new `V1` version.
1818
+ *
1819
+ * The `V0` ids based on total child bounty count [`ChildBountyCount`]`. The `V1` version ids
1820
+ * based on the child bounty count per parent bounty [`ParentTotalChildBounties`].
1821
+ * The item intended solely for client convenience and not used in the pallet's core logic.
1822
+ *
1823
+ * @param {number} arg
1824
+ * @param {Callback<[number, number] | undefined> =} callback
1825
+ **/
1826
+ v0ToV1ChildBountyIds: GenericStorageQuery<(arg: number) => [number, number] | undefined, number>;
1783
1827
 
1784
1828
  /**
1785
1829
  * The cumulative child-bounty curator fee for each parent bounty.
@@ -1946,6 +1990,24 @@ export interface ChainStorage extends GenericChainStorage {
1946
1990
  **/
1947
1991
  listBags: GenericStorageQuery<(arg: bigint) => PalletBagsListListBag | undefined, bigint>;
1948
1992
 
1993
+ /**
1994
+ * Pointer that remembers the next node that will be auto-rebagged.
1995
+ * When `None`, the next scan will start from the list head again.
1996
+ *
1997
+ * @param {Callback<AccountId32 | undefined> =} callback
1998
+ **/
1999
+ nextNodeAutoRebagged: GenericStorageQuery<() => AccountId32 | undefined>;
2000
+
2001
+ /**
2002
+ * Lock all updates to this pallet.
2003
+ *
2004
+ * If any nodes needs updating, removal or addition due to a temporary lock, the
2005
+ * [`Call::rebag`] can be used.
2006
+ *
2007
+ * @param {Callback<[] | undefined> =} callback
2008
+ **/
2009
+ lock: GenericStorageQuery<() => [] | undefined>;
2010
+
1949
2011
  /**
1950
2012
  * Generic pallet storage query
1951
2013
  **/
@@ -2233,6 +2295,104 @@ export interface ChainStorage extends GenericChainStorage {
2233
2295
  **/
2234
2296
  [storage: string]: GenericStorageQuery;
2235
2297
  };
2298
+ /**
2299
+ * Pallet `StakingAhClient`'s storage queries
2300
+ **/
2301
+ stakingAhClient: {
2302
+ /**
2303
+ * The queued validator sets for a given planning session index.
2304
+ *
2305
+ * This is received via a call from AssetHub.
2306
+ *
2307
+ * @param {Callback<[number, Array<AccountId32>] | undefined> =} callback
2308
+ **/
2309
+ validatorSet: GenericStorageQuery<() => [number, Array<AccountId32>] | undefined>;
2310
+
2311
+ /**
2312
+ * An incomplete validator set report.
2313
+ *
2314
+ * @param {Callback<PalletStakingAsyncRcClientValidatorSetReport | undefined> =} callback
2315
+ **/
2316
+ incompleteValidatorSetReport: GenericStorageQuery<() => PalletStakingAsyncRcClientValidatorSetReport | undefined>;
2317
+
2318
+ /**
2319
+ * All of the points of the validators.
2320
+ *
2321
+ * This is populated during a session, and is flushed and sent over via [`SendToAssetHub`]
2322
+ * at each session end.
2323
+ *
2324
+ * @param {AccountId32Like} arg
2325
+ * @param {Callback<number> =} callback
2326
+ **/
2327
+ validatorPoints: GenericStorageQuery<(arg: AccountId32Like) => number, AccountId32>;
2328
+
2329
+ /**
2330
+ * Indicates the current operating mode of the pallet.
2331
+ *
2332
+ * This value determines how the pallet behaves in response to incoming and outgoing messages,
2333
+ * particularly whether it should execute logic directly, defer it, or delegate it entirely.
2334
+ *
2335
+ * @param {Callback<PalletStakingAsyncAhClientOperatingMode> =} callback
2336
+ **/
2337
+ mode: GenericStorageQuery<() => PalletStakingAsyncAhClientOperatingMode>;
2338
+
2339
+ /**
2340
+ * A storage value that is set when a `new_session` gives a new validator set to the session
2341
+ * pallet, and is cleared on the next call.
2342
+ *
2343
+ * The inner u32 is the id of the said activated validator set. While not relevant here, good
2344
+ * to know this is the planning era index of staking-async on AH.
2345
+ *
2346
+ * Once cleared, we know a validator set has been activated, and therefore we can send a
2347
+ * timestamp to AH.
2348
+ *
2349
+ * @param {Callback<number | undefined> =} callback
2350
+ **/
2351
+ nextSessionChangesValidators: GenericStorageQuery<() => number | undefined>;
2352
+
2353
+ /**
2354
+ * The session index at which the latest elected validator set was applied.
2355
+ *
2356
+ * This is used to determine if an offence, given a session index, is in the current active era
2357
+ * or not.
2358
+ *
2359
+ * @param {Callback<number | undefined> =} callback
2360
+ **/
2361
+ validatorSetAppliedAt: GenericStorageQuery<() => number | undefined>;
2362
+
2363
+ /**
2364
+ * A session report that is outgoing, and should be sent.
2365
+ *
2366
+ * This will be attempted to be sent, possibly on every `on_initialize` call, until it is sent,
2367
+ * or the second value reaches zero, at which point we drop it.
2368
+ *
2369
+ * @param {Callback<[PalletStakingAsyncRcClientSessionReport, number] | undefined> =} callback
2370
+ **/
2371
+ outgoingSessionReport: GenericStorageQuery<() => [PalletStakingAsyncRcClientSessionReport, number] | undefined>;
2372
+
2373
+ /**
2374
+ * Internal storage item of [`OffenceSendQueue`]. Should not be used manually.
2375
+ *
2376
+ * @param {number} arg
2377
+ * @param {Callback<Array<[number, PalletStakingAsyncRcClientOffence]>> =} callback
2378
+ **/
2379
+ offenceSendQueueOffences: GenericStorageQuery<
2380
+ (arg: number) => Array<[number, PalletStakingAsyncRcClientOffence]>,
2381
+ number
2382
+ >;
2383
+
2384
+ /**
2385
+ * Internal storage item of [`OffenceSendQueue`]. Should not be used manually.
2386
+ *
2387
+ * @param {Callback<number> =} callback
2388
+ **/
2389
+ offenceSendQueueCursor: GenericStorageQuery<() => number>;
2390
+
2391
+ /**
2392
+ * Generic pallet storage query
2393
+ **/
2394
+ [storage: string]: GenericStorageQuery;
2395
+ };
2236
2396
  /**
2237
2397
  * Pallet `Configuration`'s storage queries
2238
2398
  **/
@@ -2354,9 +2514,9 @@ export interface ChainStorage extends GenericChainStorage {
2354
2514
  /**
2355
2515
  * Scraped on chain data for extracting resolved disputes as well as backing votes.
2356
2516
  *
2357
- * @param {Callback<PolkadotPrimitivesV8ScrapedOnChainVotes | undefined> =} callback
2517
+ * @param {Callback<PolkadotPrimitivesVstagingScrapedOnChainVotes | undefined> =} callback
2358
2518
  **/
2359
- onChainVotes: GenericStorageQuery<() => PolkadotPrimitivesV8ScrapedOnChainVotes | undefined>;
2519
+ onChainVotes: GenericStorageQuery<() => PolkadotPrimitivesVstagingScrapedOnChainVotes | undefined>;
2360
2520
 
2361
2521
  /**
2362
2522
  * Generic pallet storage query
@@ -2380,18 +2540,6 @@ export interface ChainStorage extends GenericChainStorage {
2380
2540
  **/
2381
2541
  validatorGroups: GenericStorageQuery<() => Array<Array<PolkadotPrimitivesV8ValidatorIndex>>>;
2382
2542
 
2383
- /**
2384
- * One entry for each availability core. The i'th parachain belongs to the i'th core, with the
2385
- * remaining cores all being on demand parachain multiplexers.
2386
- *
2387
- * Bounded by the maximum of either of these two values:
2388
- * * The number of parachains and parathread multiplexers
2389
- * * The number of validators divided by `configuration.max_validators_per_core`.
2390
- *
2391
- * @param {Callback<Array<PolkadotRuntimeParachainsSchedulerPalletCoreOccupied>> =} callback
2392
- **/
2393
- availabilityCores: GenericStorageQuery<() => Array<PolkadotRuntimeParachainsSchedulerPalletCoreOccupied>>;
2394
-
2395
2543
  /**
2396
2544
  * The block number where the session start occurred. Used to track how many group rotations
2397
2545
  * have occurred.
@@ -2407,13 +2555,12 @@ export interface ChainStorage extends GenericChainStorage {
2407
2555
 
2408
2556
  /**
2409
2557
  * One entry for each availability core. The `VecDeque` represents the assignments to be
2410
- * scheduled on that core. The value contained here will not be valid after the end of
2411
- * a block. Runtime APIs should be used to determine scheduled cores for the upcoming block.
2558
+ * scheduled on that core.
2412
2559
  *
2413
- * @param {Callback<Array<[PolkadotPrimitivesV8CoreIndex, Array<PolkadotRuntimeParachainsSchedulerPalletParasEntry>]>> =} callback
2560
+ * @param {Callback<Array<[PolkadotPrimitivesV8CoreIndex, Array<PolkadotRuntimeParachainsSchedulerCommonAssignment>]>> =} callback
2414
2561
  **/
2415
2562
  claimQueue: GenericStorageQuery<
2416
- () => Array<[PolkadotPrimitivesV8CoreIndex, Array<PolkadotRuntimeParachainsSchedulerPalletParasEntry>]>
2563
+ () => Array<[PolkadotPrimitivesV8CoreIndex, Array<PolkadotRuntimeParachainsSchedulerCommonAssignment>]>
2417
2564
  >;
2418
2565
 
2419
2566
  /**
@@ -2590,6 +2737,19 @@ export interface ChainStorage extends GenericChainStorage {
2590
2737
  PolkadotParachainPrimitivesPrimitivesId
2591
2738
  >;
2592
2739
 
2740
+ /**
2741
+ * The code hash authorizations for a para which will expire `expire_at` `BlockNumberFor<T>`.
2742
+ *
2743
+ * @param {PolkadotParachainPrimitivesPrimitivesId} arg
2744
+ * @param {Callback<PolkadotRuntimeParachainsParasAuthorizedCodeHashAndExpiry | undefined> =} callback
2745
+ **/
2746
+ authorizedCodeHash: GenericStorageQuery<
2747
+ (
2748
+ arg: PolkadotParachainPrimitivesPrimitivesId,
2749
+ ) => PolkadotRuntimeParachainsParasAuthorizedCodeHashAndExpiry | undefined,
2750
+ PolkadotParachainPrimitivesPrimitivesId
2751
+ >;
2752
+
2593
2753
  /**
2594
2754
  * This is used by the relay-chain to communicate to a parachain a go-ahead with in the upgrade
2595
2755
  * procedure.
@@ -2723,7 +2883,7 @@ export interface ChainStorage extends GenericChainStorage {
2723
2883
  hasInitialized: GenericStorageQuery<() => [] | undefined>;
2724
2884
 
2725
2885
  /**
2726
- * Buffered session changes along with the block number at which they should be applied.
2886
+ * Buffered session changes.
2727
2887
  *
2728
2888
  * Typically this will be empty or one element long. Apart from that this item never hits
2729
2889
  * the storage.
@@ -3079,10 +3239,10 @@ export interface ChainStorage extends GenericChainStorage {
3079
3239
  * Validators pending dispute slashes.
3080
3240
  *
3081
3241
  * @param {[number, PolkadotCorePrimitivesCandidateHash]} arg
3082
- * @param {Callback<PolkadotPrimitivesV8SlashingPendingSlashes | undefined> =} callback
3242
+ * @param {Callback<PolkadotPrimitivesVstagingPendingSlashes | undefined> =} callback
3083
3243
  **/
3084
3244
  unappliedSlashes: GenericStorageQuery<
3085
- (arg: [number, PolkadotCorePrimitivesCandidateHash]) => PolkadotPrimitivesV8SlashingPendingSlashes | undefined,
3245
+ (arg: [number, PolkadotCorePrimitivesCandidateHash]) => PolkadotPrimitivesVstagingPendingSlashes | undefined,
3086
3246
  [number, PolkadotCorePrimitivesCandidateHash]
3087
3247
  >;
3088
3248
 
@@ -3150,6 +3310,14 @@ export interface ChainStorage extends GenericChainStorage {
3150
3310
  **/
3151
3311
  revenue: GenericStorageQuery<() => Array<bigint>>;
3152
3312
 
3313
+ /**
3314
+ * Keeps track of credits owned by each account.
3315
+ *
3316
+ * @param {AccountId32Like} arg
3317
+ * @param {Callback<bigint> =} callback
3318
+ **/
3319
+ credits: GenericStorageQuery<(arg: AccountId32Like) => bigint, AccountId32>;
3320
+
3153
3321
  /**
3154
3322
  * Generic pallet storage query
3155
3323
  **/
@@ -3539,9 +3707,22 @@ export interface ChainStorage extends GenericChainStorage {
3539
3707
  * Only relevant if this pallet is being used as the [`xcm_executor::traits::RecordXcm`]
3540
3708
  * implementation in the XCM executor configuration.
3541
3709
  *
3542
- * @param {Callback<StagingXcmV4Xcm | undefined> =} callback
3710
+ * @param {Callback<StagingXcmV5Xcm | undefined> =} callback
3711
+ **/
3712
+ recordedXcm: GenericStorageQuery<() => StagingXcmV5Xcm | undefined>;
3713
+
3714
+ /**
3715
+ * Map of authorized aliasers of local origins. Each local location can authorize a list of
3716
+ * other locations to alias into it. Each aliaser is only valid until its inner `expiry`
3717
+ * block number.
3718
+ *
3719
+ * @param {XcmVersionedLocation} arg
3720
+ * @param {Callback<PalletXcmAuthorizedAliasesEntry | undefined> =} callback
3543
3721
  **/
3544
- recordedXcm: GenericStorageQuery<() => StagingXcmV4Xcm | undefined>;
3722
+ authorizedAliases: GenericStorageQuery<
3723
+ (arg: XcmVersionedLocation) => PalletXcmAuthorizedAliasesEntry | undefined,
3724
+ XcmVersionedLocation
3725
+ >;
3545
3726
 
3546
3727
  /**
3547
3728
  * Generic pallet storage query
@@ -3734,6 +3915,219 @@ export interface ChainStorage extends GenericChainStorage {
3734
3915
  **/
3735
3916
  key: GenericStorageQuery<() => AccountId32 | undefined>;
3736
3917
 
3918
+ /**
3919
+ * Generic pallet storage query
3920
+ **/
3921
+ [storage: string]: GenericStorageQuery;
3922
+ };
3923
+ /**
3924
+ * Pallet `RcMigrator`'s storage queries
3925
+ **/
3926
+ rcMigrator: {
3927
+ /**
3928
+ * The Relay Chain migration state.
3929
+ *
3930
+ * @param {Callback<PalletRcMigratorMigrationStage> =} callback
3931
+ **/
3932
+ rcMigrationStage: GenericStorageQuery<() => PalletRcMigratorMigrationStage>;
3933
+
3934
+ /**
3935
+ * Helper storage item to obtain and store the known accounts that should be kept partially or
3936
+ * fully on Relay Chain.
3937
+ *
3938
+ * @param {AccountId32Like} arg
3939
+ * @param {Callback<PalletRcMigratorAccountsAccountState | undefined> =} callback
3940
+ **/
3941
+ rcAccounts: GenericStorageQuery<
3942
+ (arg: AccountId32Like) => PalletRcMigratorAccountsAccountState | undefined,
3943
+ AccountId32
3944
+ >;
3945
+
3946
+ /**
3947
+ * Counter for the related counted storage map
3948
+ *
3949
+ * @param {Callback<number> =} callback
3950
+ **/
3951
+ counterForRcAccounts: GenericStorageQuery<() => number>;
3952
+
3953
+ /**
3954
+ * Helper storage item to store the total balance that should be kept on Relay Chain.
3955
+ *
3956
+ * @param {Callback<PalletRcMigratorAccountsMigratedBalances> =} callback
3957
+ **/
3958
+ rcMigratedBalance: GenericStorageQuery<() => PalletRcMigratorAccountsMigratedBalances>;
3959
+
3960
+ /**
3961
+ * Helper storage item to store the total balance that should be kept on Relay Chain after
3962
+ * it is consumed from the `RcMigratedBalance` storage item and sent to the Asset Hub.
3963
+ *
3964
+ * This let us to take the value from the `RcMigratedBalance` storage item and keep the
3965
+ * `SignalMigrationFinish` stage to be idempotent while preserving these values for tests and
3966
+ * later discoveries.
3967
+ *
3968
+ * @param {Callback<PalletRcMigratorAccountsMigratedBalances> =} callback
3969
+ **/
3970
+ rcMigratedBalanceArchive: GenericStorageQuery<() => PalletRcMigratorAccountsMigratedBalances>;
3971
+
3972
+ /**
3973
+ * The pending XCM messages.
3974
+ *
3975
+ * Contains data messages that have been sent to the Asset Hub but not yet confirmed.
3976
+ *
3977
+ * Unconfirmed messages can be resent by calling the [`Pallet::resend_xcm`] function.
3978
+ *
3979
+ * @param {[bigint, H256]} arg
3980
+ * @param {Callback<StagingXcmV5Xcm | undefined> =} callback
3981
+ **/
3982
+ pendingXcmMessages: GenericStorageQuery<(arg: [bigint, H256]) => StagingXcmV5Xcm | undefined, [bigint, H256]>;
3983
+
3984
+ /**
3985
+ * Counter for the related counted storage map
3986
+ *
3987
+ * @param {Callback<number> =} callback
3988
+ **/
3989
+ counterForPendingXcmMessages: GenericStorageQuery<() => number>;
3990
+
3991
+ /**
3992
+ * Accounts that use the proxy pallet to delegate permissions and have no nonce.
3993
+ *
3994
+ * Boolean value is whether they have been migrated to the Asset Hub. Needed for idempotency.
3995
+ *
3996
+ * @param {AccountId32Like} arg
3997
+ * @param {Callback<boolean | undefined> =} callback
3998
+ **/
3999
+ pureProxyCandidatesMigrated: GenericStorageQuery<(arg: AccountId32Like) => boolean | undefined, AccountId32>;
4000
+
4001
+ /**
4002
+ * The pending XCM response queries and their XCM hash referencing the message in the
4003
+ * [`PendingXcmMessages`] storage.
4004
+ *
4005
+ * The `QueryId` is the identifier from the [`pallet_xcm`] query handler registry. The XCM
4006
+ * pallet will notify about the status of the message by calling the
4007
+ * [`Pallet::receive_query_response`] function with the `QueryId` and the
4008
+ * response.
4009
+ *
4010
+ * @param {bigint} arg
4011
+ * @param {Callback<H256 | undefined> =} callback
4012
+ **/
4013
+ pendingXcmQueries: GenericStorageQuery<(arg: bigint) => H256 | undefined, bigint>;
4014
+
4015
+ /**
4016
+ * Manual override for `type UnprocessedMsgBuffer: Get<u32>`. Look there for docs.
4017
+ *
4018
+ * @param {Callback<number | undefined> =} callback
4019
+ **/
4020
+ unprocessedMsgBuffer: GenericStorageQuery<() => number | undefined>;
4021
+
4022
+ /**
4023
+ * The priority of the Asset Hub UMP queue during migration.
4024
+ *
4025
+ * Controls how the Asset Hub UMP (Upward Message Passing) queue is processed relative to other
4026
+ * queues during the migration process. This helps ensure timely processing of migration
4027
+ * messages. The default priority pattern is defined in the pallet configuration, but can be
4028
+ * overridden by a storage value of this type.
4029
+ *
4030
+ * @param {Callback<PalletRcMigratorQueuePriority> =} callback
4031
+ **/
4032
+ ahUmpQueuePriorityConfig: GenericStorageQuery<() => PalletRcMigratorQueuePriority>;
4033
+
4034
+ /**
4035
+ * An optional account id of a manager.
4036
+ *
4037
+ * This account id has similar privileges to [`Config::AdminOrigin`] except that it
4038
+ * can not set the manager account id via `set_manager` call.
4039
+ *
4040
+ * @param {Callback<AccountId32 | undefined> =} callback
4041
+ **/
4042
+ manager: GenericStorageQuery<() => AccountId32 | undefined>;
4043
+
4044
+ /**
4045
+ * An optional account id of a canceller.
4046
+ *
4047
+ * This account id can only stop scheduled migration.
4048
+ *
4049
+ * @param {Callback<AccountId32 | undefined> =} callback
4050
+ **/
4051
+ canceller: GenericStorageQuery<() => AccountId32 | undefined>;
4052
+
4053
+ /**
4054
+ * The block number at which the migration began and the pallet's extrinsics were locked.
4055
+ *
4056
+ * This value is set when entering the `WaitingForAh` stage, i.e., when
4057
+ * `RcMigrationStage::is_ongoing()` becomes `true`.
4058
+ *
4059
+ * @param {Callback<number | undefined> =} callback
4060
+ **/
4061
+ migrationStartBlock: GenericStorageQuery<() => number | undefined>;
4062
+
4063
+ /**
4064
+ * Block number when migration finished and extrinsics were unlocked.
4065
+ *
4066
+ * This is set when entering the `MigrationDone` stage hence when
4067
+ * `RcMigrationStage::is_finished()` becomes `true`.
4068
+ *
4069
+ * @param {Callback<number | undefined> =} callback
4070
+ **/
4071
+ migrationEndBlock: GenericStorageQuery<() => number | undefined>;
4072
+
4073
+ /**
4074
+ * The duration of the pre migration warm-up period.
4075
+ *
4076
+ * This is the duration of the warm-up period before the data migration starts. During this
4077
+ * period, the migration will be in ongoing state and the concerned extrinsics will be locked.
4078
+ *
4079
+ * @param {Callback<FrameSupportScheduleDispatchTime | undefined> =} callback
4080
+ **/
4081
+ warmUpPeriod: GenericStorageQuery<() => FrameSupportScheduleDispatchTime | undefined>;
4082
+
4083
+ /**
4084
+ * The duration of the post migration cool-off period.
4085
+ *
4086
+ * This is the duration of the cool-off period after the data migration is finished. During
4087
+ * this period, the migration will be still in ongoing state and the concerned extrinsics will
4088
+ * be locked.
4089
+ *
4090
+ * @param {Callback<FrameSupportScheduleDispatchTime | undefined> =} callback
4091
+ **/
4092
+ coolOffPeriod: GenericStorageQuery<() => FrameSupportScheduleDispatchTime | undefined>;
4093
+
4094
+ /**
4095
+ * The migration settings.
4096
+ *
4097
+ * @param {Callback<PalletRcMigratorMigrationSettings | undefined> =} callback
4098
+ **/
4099
+ settings: GenericStorageQuery<() => PalletRcMigratorMigrationSettings | undefined>;
4100
+
4101
+ /**
4102
+ * The multisig AccountIDs that votes to execute a specific call.
4103
+ *
4104
+ * @param {PaseoRuntimeRuntimeCallLike} arg
4105
+ * @param {Callback<Array<AccountId32>> =} callback
4106
+ **/
4107
+ managerMultisigs: GenericStorageQuery<
4108
+ (arg: PaseoRuntimeRuntimeCallLike) => Array<AccountId32>,
4109
+ PaseoRuntimeRuntimeCall
4110
+ >;
4111
+
4112
+ /**
4113
+ * The current round of the multisig voting.
4114
+ *
4115
+ * Votes are only valid for the current round.
4116
+ *
4117
+ * @param {Callback<number> =} callback
4118
+ **/
4119
+ managerMultisigRound: GenericStorageQuery<() => number>;
4120
+
4121
+ /**
4122
+ * How often each participant voted in the current round.
4123
+ *
4124
+ * Will be cleared at the end of each round.
4125
+ *
4126
+ * @param {AccountId32Like} arg
4127
+ * @param {Callback<number> =} callback
4128
+ **/
4129
+ managerVotesInCurrentRound: GenericStorageQuery<(arg: AccountId32Like) => number, AccountId32>;
4130
+
3737
4131
  /**
3738
4132
  * Generic pallet storage query
3739
4133
  **/