@dedot/chaintypes 0.229.0 → 0.230.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/package.json +2 -2
- package/paseo/consts.d.ts +9 -106
- package/paseo/errors.d.ts +42 -294
- package/paseo/events.d.ts +50 -753
- package/paseo/index.d.ts +1 -1
- package/paseo/query.d.ts +93 -556
- package/paseo/runtime.d.ts +71 -212
- package/paseo/tx.d.ts +138 -1161
- package/paseo/types.d.ts +8191 -10274
- package/paseo/view-functions.d.ts +1 -75
package/paseo/query.d.ts
CHANGED
|
@@ -23,7 +23,6 @@ import type {
|
|
|
23
23
|
FrameSystemEventRecord,
|
|
24
24
|
FrameSystemLastRuntimeUpgradeInfo,
|
|
25
25
|
FrameSystemCodeUpgradeAuthorization,
|
|
26
|
-
SpWeightsWeightV2Weight,
|
|
27
26
|
PalletSchedulerScheduled,
|
|
28
27
|
PalletSchedulerRetryConfig,
|
|
29
28
|
PalletPreimageOldRequestStatus,
|
|
@@ -39,7 +38,6 @@ import type {
|
|
|
39
38
|
FrameSupportTokensMiscIdAmount,
|
|
40
39
|
FrameSupportTokensMiscIdAmountRuntimeFreezeReason,
|
|
41
40
|
PalletTransactionPaymentReleases,
|
|
42
|
-
FrameSupportStorageNoDrop,
|
|
43
41
|
PalletStakingStakingLedger,
|
|
44
42
|
PalletStakingRewardDestination,
|
|
45
43
|
PalletStakingValidatorPrefs,
|
|
@@ -55,7 +53,6 @@ import type {
|
|
|
55
53
|
PalletStakingSlashingSpanRecord,
|
|
56
54
|
SpStakingOffenceOffenceDetails,
|
|
57
55
|
PaseoRuntimeSessionKeys,
|
|
58
|
-
SpStakingOffenceOffenceSeverity,
|
|
59
56
|
SpCoreCryptoKeyTypeId,
|
|
60
57
|
PalletGrandpaStoredState,
|
|
61
58
|
PalletGrandpaStoredPendingChange,
|
|
@@ -87,29 +84,23 @@ import type {
|
|
|
87
84
|
PalletNominationPoolsSubPools,
|
|
88
85
|
PalletNominationPoolsClaimPermission,
|
|
89
86
|
PalletFastUnstakeUnstakeRequest,
|
|
90
|
-
PalletDelegatedStakingDelegation,
|
|
91
|
-
PalletDelegatedStakingAgentLedger,
|
|
92
|
-
PalletStakingAsyncRcClientValidatorSetReport,
|
|
93
|
-
PalletStakingAsyncAhClientOperatingMode,
|
|
94
|
-
PalletStakingAsyncRcClientSessionReport,
|
|
95
|
-
PalletStakingAsyncRcClientOffence,
|
|
96
87
|
PolkadotRuntimeParachainsConfigurationHostConfiguration,
|
|
97
|
-
|
|
98
|
-
|
|
88
|
+
PolkadotPrimitivesV7ValidatorIndex,
|
|
89
|
+
PolkadotPrimitivesV7ValidatorAppPublic,
|
|
99
90
|
PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker,
|
|
100
91
|
PolkadotRuntimeParachainsInclusionCandidatePendingAvailability,
|
|
101
92
|
PolkadotParachainPrimitivesPrimitivesId,
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
93
|
+
PolkadotPrimitivesV7ScrapedOnChainVotes,
|
|
94
|
+
PolkadotRuntimeParachainsSchedulerPalletCoreOccupied,
|
|
95
|
+
PolkadotPrimitivesV7CoreIndex,
|
|
96
|
+
PolkadotRuntimeParachainsSchedulerPalletParasEntry,
|
|
105
97
|
PolkadotRuntimeParachainsParasPvfCheckActiveVoteState,
|
|
106
98
|
PolkadotParachainPrimitivesPrimitivesValidationCodeHash,
|
|
107
99
|
PolkadotRuntimeParachainsParasParaLifecycle,
|
|
108
100
|
PolkadotParachainPrimitivesPrimitivesHeadData,
|
|
109
101
|
PolkadotRuntimeParachainsParasParaPastCodeMeta,
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
PolkadotPrimitivesV8UpgradeRestriction,
|
|
102
|
+
PolkadotPrimitivesV7UpgradeGoAhead,
|
|
103
|
+
PolkadotPrimitivesV7UpgradeRestriction,
|
|
113
104
|
PolkadotRuntimeParachainsParasParaGenesisArgs,
|
|
114
105
|
PolkadotParachainPrimitivesPrimitivesValidationCode,
|
|
115
106
|
PolkadotRuntimeParachainsInitializerBufferedSessionChange,
|
|
@@ -118,14 +109,14 @@ import type {
|
|
|
118
109
|
PolkadotParachainPrimitivesPrimitivesHrmpChannelId,
|
|
119
110
|
PolkadotRuntimeParachainsHrmpHrmpChannel,
|
|
120
111
|
PolkadotCorePrimitivesInboundHrmpMessage,
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
112
|
+
PolkadotPrimitivesV7AssignmentAppPublic,
|
|
113
|
+
PolkadotPrimitivesV7SessionInfo,
|
|
114
|
+
PolkadotPrimitivesV7ExecutorParams,
|
|
115
|
+
PolkadotPrimitivesV7DisputeState,
|
|
125
116
|
PolkadotCorePrimitivesCandidateHash,
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
117
|
+
PolkadotPrimitivesV7SlashingPendingSlashes,
|
|
118
|
+
PolkadotRuntimeParachainsAssignerOnDemandTypesCoreAffinityCount,
|
|
119
|
+
PolkadotRuntimeParachainsAssignerOnDemandTypesQueueStatusType,
|
|
129
120
|
BinaryHeapEnqueuedOrder,
|
|
130
121
|
PolkadotRuntimeParachainsAssignerCoretimeSchedule,
|
|
131
122
|
PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor,
|
|
@@ -135,25 +126,17 @@ import type {
|
|
|
135
126
|
PalletStateTrieMigrationMigrationLimits,
|
|
136
127
|
PalletXcmQueryStatus,
|
|
137
128
|
XcmVersionedLocation,
|
|
129
|
+
SpWeightsWeightV2Weight,
|
|
138
130
|
PalletXcmVersionMigrationStage,
|
|
139
131
|
PalletXcmRemoteLockedFungibleRecord,
|
|
140
132
|
XcmVersionedAssetId,
|
|
141
|
-
|
|
142
|
-
PalletXcmAuthorizedAliasesEntry,
|
|
133
|
+
StagingXcmV4Xcm,
|
|
143
134
|
PalletMessageQueueBookState,
|
|
144
135
|
PolkadotRuntimeParachainsInclusionAggregateMessageOrigin,
|
|
145
136
|
PalletMessageQueuePage,
|
|
146
137
|
PolkadotRuntimeCommonImplsVersionedLocatableAsset,
|
|
147
138
|
SpConsensusBeefyEcdsaCryptoPublic,
|
|
148
139
|
SpConsensusBeefyMmrBeefyAuthoritySet,
|
|
149
|
-
PalletRcMigratorMigrationStage,
|
|
150
|
-
PalletRcMigratorAccountsAccountState,
|
|
151
|
-
PalletRcMigratorAccountsMigratedBalances,
|
|
152
|
-
PalletRcMigratorQueuePriority,
|
|
153
|
-
FrameSupportScheduleDispatchTime,
|
|
154
|
-
PalletRcMigratorMigrationSettings,
|
|
155
|
-
PaseoRuntimeRuntimeCall,
|
|
156
|
-
PaseoRuntimeRuntimeCallLike,
|
|
157
140
|
} from './types.js';
|
|
158
141
|
|
|
159
142
|
export interface ChainStorage extends GenericChainStorage {
|
|
@@ -307,19 +290,6 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
307
290
|
**/
|
|
308
291
|
authorizedUpgrade: GenericStorageQuery<() => FrameSystemCodeUpgradeAuthorization | undefined>;
|
|
309
292
|
|
|
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
|
-
|
|
323
293
|
/**
|
|
324
294
|
* Generic pallet storage query
|
|
325
295
|
**/
|
|
@@ -330,7 +300,6 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
330
300
|
**/
|
|
331
301
|
scheduler: {
|
|
332
302
|
/**
|
|
333
|
-
* Block number at which the agenda began incomplete execution.
|
|
334
303
|
*
|
|
335
304
|
* @param {Callback<number | undefined> =} callback
|
|
336
305
|
**/
|
|
@@ -377,8 +346,6 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
377
346
|
*
|
|
378
347
|
* @param {H256} arg
|
|
379
348
|
* @param {Callback<PalletPreimageOldRequestStatus | undefined> =} callback
|
|
380
|
-
*
|
|
381
|
-
* @deprecated RequestStatusFor
|
|
382
349
|
**/
|
|
383
350
|
statusFor: GenericStorageQuery<(arg: H256) => PalletPreimageOldRequestStatus | undefined, H256>;
|
|
384
351
|
|
|
@@ -723,15 +690,6 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
723
690
|
**/
|
|
724
691
|
storageVersion: GenericStorageQuery<() => PalletTransactionPaymentReleases>;
|
|
725
692
|
|
|
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
|
-
|
|
735
693
|
/**
|
|
736
694
|
* Generic pallet storage query
|
|
737
695
|
**/
|
|
@@ -1201,6 +1159,19 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
1201
1159
|
**/
|
|
1202
1160
|
currentPlannedSession: GenericStorageQuery<() => number>;
|
|
1203
1161
|
|
|
1162
|
+
/**
|
|
1163
|
+
* Indices of validators that have offended in the active era. The offenders are disabled for a
|
|
1164
|
+
* whole era. For this reason they are kept here - only staking pallet knows about eras. The
|
|
1165
|
+
* implementor of [`DisablingStrategy`] defines if a validator should be disabled which
|
|
1166
|
+
* implicitly means that the implementor also controls the max number of disabled validators.
|
|
1167
|
+
*
|
|
1168
|
+
* The vec is always kept sorted so that we can find whether a given validator has previously
|
|
1169
|
+
* offended using binary search.
|
|
1170
|
+
*
|
|
1171
|
+
* @param {Callback<Array<number>> =} callback
|
|
1172
|
+
**/
|
|
1173
|
+
disabledValidators: GenericStorageQuery<() => Array<number>>;
|
|
1174
|
+
|
|
1204
1175
|
/**
|
|
1205
1176
|
* The threshold for when users can start calling `chill_other` for other validators /
|
|
1206
1177
|
* nominators. The threshold is compared to the actual number of validators / nominators
|
|
@@ -1308,9 +1279,9 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
1308
1279
|
* disabled using binary search. It gets cleared when `on_session_ending` returns
|
|
1309
1280
|
* a new set of identities.
|
|
1310
1281
|
*
|
|
1311
|
-
* @param {Callback<Array<
|
|
1282
|
+
* @param {Callback<Array<number>> =} callback
|
|
1312
1283
|
**/
|
|
1313
|
-
disabledValidators: GenericStorageQuery<() => Array<
|
|
1284
|
+
disabledValidators: GenericStorageQuery<() => Array<number>>;
|
|
1314
1285
|
|
|
1315
1286
|
/**
|
|
1316
1287
|
* The next session keys for a validator.
|
|
@@ -1433,9 +1404,6 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
1433
1404
|
**/
|
|
1434
1405
|
treasury: {
|
|
1435
1406
|
/**
|
|
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
|
-
*
|
|
1439
1407
|
* Number of proposals that have been made.
|
|
1440
1408
|
*
|
|
1441
1409
|
* @param {Callback<number> =} callback
|
|
@@ -1443,9 +1411,6 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
1443
1411
|
proposalCount: GenericStorageQuery<() => number>;
|
|
1444
1412
|
|
|
1445
1413
|
/**
|
|
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
|
-
*
|
|
1449
1414
|
* Proposals that have been made.
|
|
1450
1415
|
*
|
|
1451
1416
|
* @param {number} arg
|
|
@@ -1461,9 +1426,6 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
1461
1426
|
deactivated: GenericStorageQuery<() => bigint>;
|
|
1462
1427
|
|
|
1463
1428
|
/**
|
|
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
|
-
*
|
|
1467
1429
|
* Proposal indices that have been approved but not yet awarded.
|
|
1468
1430
|
*
|
|
1469
1431
|
* @param {Callback<Array<number>> =} callback
|
|
@@ -1485,13 +1447,6 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
1485
1447
|
**/
|
|
1486
1448
|
spends: GenericStorageQuery<(arg: number) => PalletTreasurySpendStatus | undefined, number>;
|
|
1487
1449
|
|
|
1488
|
-
/**
|
|
1489
|
-
* The blocknumber for the last triggered spend period.
|
|
1490
|
-
*
|
|
1491
|
-
* @param {Callback<number | undefined> =} callback
|
|
1492
|
-
**/
|
|
1493
|
-
lastSpendPeriod: GenericStorageQuery<() => number | undefined>;
|
|
1494
|
-
|
|
1495
1450
|
/**
|
|
1496
1451
|
* Generic pallet storage query
|
|
1497
1452
|
**/
|
|
@@ -1768,15 +1723,14 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
1768
1723
|
**/
|
|
1769
1724
|
childBounties: {
|
|
1770
1725
|
/**
|
|
1771
|
-
*
|
|
1772
|
-
* for each parent bounty. Number of total child bounties. Will be removed in May 2025.
|
|
1726
|
+
* Number of total child bounties.
|
|
1773
1727
|
*
|
|
1774
1728
|
* @param {Callback<number> =} callback
|
|
1775
1729
|
**/
|
|
1776
1730
|
childBountyCount: GenericStorageQuery<() => number>;
|
|
1777
1731
|
|
|
1778
1732
|
/**
|
|
1779
|
-
* Number of
|
|
1733
|
+
* Number of child bounties per parent bounty.
|
|
1780
1734
|
* Map of parent bounty index to number of child bounties.
|
|
1781
1735
|
*
|
|
1782
1736
|
* @param {number} arg
|
|
@@ -1784,14 +1738,6 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
1784
1738
|
**/
|
|
1785
1739
|
parentChildBounties: GenericStorageQuery<(arg: number) => number, number>;
|
|
1786
1740
|
|
|
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
|
-
|
|
1795
1741
|
/**
|
|
1796
1742
|
* Child bounties that have been added.
|
|
1797
1743
|
*
|
|
@@ -1804,26 +1750,12 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
1804
1750
|
>;
|
|
1805
1751
|
|
|
1806
1752
|
/**
|
|
1807
|
-
* The description of each child-bounty.
|
|
1808
|
-
*
|
|
1809
|
-
* This item replaces the `ChildBountyDescriptions` storage item from the V0 storage version.
|
|
1810
|
-
*
|
|
1811
|
-
* @param {[number, number]} arg
|
|
1812
|
-
* @param {Callback<Bytes | undefined> =} callback
|
|
1813
|
-
**/
|
|
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.
|
|
1753
|
+
* The description of each child-bounty.
|
|
1822
1754
|
*
|
|
1823
1755
|
* @param {number} arg
|
|
1824
|
-
* @param {Callback<
|
|
1756
|
+
* @param {Callback<Bytes | undefined> =} callback
|
|
1825
1757
|
**/
|
|
1826
|
-
|
|
1758
|
+
childBountyDescriptions: GenericStorageQuery<(arg: number) => Bytes | undefined, number>;
|
|
1827
1759
|
|
|
1828
1760
|
/**
|
|
1829
1761
|
* The cumulative child-bounty curator fee for each parent bounty.
|
|
@@ -1990,24 +1922,6 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
1990
1922
|
**/
|
|
1991
1923
|
listBags: GenericStorageQuery<(arg: bigint) => PalletBagsListListBag | undefined, bigint>;
|
|
1992
1924
|
|
|
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
|
-
|
|
2011
1925
|
/**
|
|
2012
1926
|
* Generic pallet storage query
|
|
2013
1927
|
**/
|
|
@@ -2250,149 +2164,6 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
2250
2164
|
**/
|
|
2251
2165
|
[storage: string]: GenericStorageQuery;
|
|
2252
2166
|
};
|
|
2253
|
-
/**
|
|
2254
|
-
* Pallet `DelegatedStaking`'s storage queries
|
|
2255
|
-
**/
|
|
2256
|
-
delegatedStaking: {
|
|
2257
|
-
/**
|
|
2258
|
-
* Map of Delegators to their `Delegation`.
|
|
2259
|
-
*
|
|
2260
|
-
* Implementation note: We are not using a double map with `delegator` and `agent` account
|
|
2261
|
-
* as keys since we want to restrict delegators to delegate only to one account at a time.
|
|
2262
|
-
*
|
|
2263
|
-
* @param {AccountId32Like} arg
|
|
2264
|
-
* @param {Callback<PalletDelegatedStakingDelegation | undefined> =} callback
|
|
2265
|
-
**/
|
|
2266
|
-
delegators: GenericStorageQuery<
|
|
2267
|
-
(arg: AccountId32Like) => PalletDelegatedStakingDelegation | undefined,
|
|
2268
|
-
AccountId32
|
|
2269
|
-
>;
|
|
2270
|
-
|
|
2271
|
-
/**
|
|
2272
|
-
* Counter for the related counted storage map
|
|
2273
|
-
*
|
|
2274
|
-
* @param {Callback<number> =} callback
|
|
2275
|
-
**/
|
|
2276
|
-
counterForDelegators: GenericStorageQuery<() => number>;
|
|
2277
|
-
|
|
2278
|
-
/**
|
|
2279
|
-
* Map of `Agent` to their `Ledger`.
|
|
2280
|
-
*
|
|
2281
|
-
* @param {AccountId32Like} arg
|
|
2282
|
-
* @param {Callback<PalletDelegatedStakingAgentLedger | undefined> =} callback
|
|
2283
|
-
**/
|
|
2284
|
-
agents: GenericStorageQuery<(arg: AccountId32Like) => PalletDelegatedStakingAgentLedger | undefined, AccountId32>;
|
|
2285
|
-
|
|
2286
|
-
/**
|
|
2287
|
-
* Counter for the related counted storage map
|
|
2288
|
-
*
|
|
2289
|
-
* @param {Callback<number> =} callback
|
|
2290
|
-
**/
|
|
2291
|
-
counterForAgents: GenericStorageQuery<() => number>;
|
|
2292
|
-
|
|
2293
|
-
/**
|
|
2294
|
-
* Generic pallet storage query
|
|
2295
|
-
**/
|
|
2296
|
-
[storage: string]: GenericStorageQuery;
|
|
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
|
-
};
|
|
2396
2167
|
/**
|
|
2397
2168
|
* Pallet `Configuration`'s storage queries
|
|
2398
2169
|
**/
|
|
@@ -2445,17 +2216,17 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
2445
2216
|
* All the validators actively participating in parachain consensus.
|
|
2446
2217
|
* Indices are into the broader validator set.
|
|
2447
2218
|
*
|
|
2448
|
-
* @param {Callback<Array<
|
|
2219
|
+
* @param {Callback<Array<PolkadotPrimitivesV7ValidatorIndex>> =} callback
|
|
2449
2220
|
**/
|
|
2450
|
-
activeValidatorIndices: GenericStorageQuery<() => Array<
|
|
2221
|
+
activeValidatorIndices: GenericStorageQuery<() => Array<PolkadotPrimitivesV7ValidatorIndex>>;
|
|
2451
2222
|
|
|
2452
2223
|
/**
|
|
2453
2224
|
* The parachain attestation keys of the validators actively participating in parachain
|
|
2454
2225
|
* consensus. This should be the same length as `ActiveValidatorIndices`.
|
|
2455
2226
|
*
|
|
2456
|
-
* @param {Callback<Array<
|
|
2227
|
+
* @param {Callback<Array<PolkadotPrimitivesV7ValidatorAppPublic>> =} callback
|
|
2457
2228
|
**/
|
|
2458
|
-
activeValidatorKeys: GenericStorageQuery<() => Array<
|
|
2229
|
+
activeValidatorKeys: GenericStorageQuery<() => Array<PolkadotPrimitivesV7ValidatorAppPublic>>;
|
|
2459
2230
|
|
|
2460
2231
|
/**
|
|
2461
2232
|
* All allowed relay-parents.
|
|
@@ -2514,9 +2285,9 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
2514
2285
|
/**
|
|
2515
2286
|
* Scraped on chain data for extracting resolved disputes as well as backing votes.
|
|
2516
2287
|
*
|
|
2517
|
-
* @param {Callback<
|
|
2288
|
+
* @param {Callback<PolkadotPrimitivesV7ScrapedOnChainVotes | undefined> =} callback
|
|
2518
2289
|
**/
|
|
2519
|
-
onChainVotes: GenericStorageQuery<() =>
|
|
2290
|
+
onChainVotes: GenericStorageQuery<() => PolkadotPrimitivesV7ScrapedOnChainVotes | undefined>;
|
|
2520
2291
|
|
|
2521
2292
|
/**
|
|
2522
2293
|
* Generic pallet storage query
|
|
@@ -2536,9 +2307,21 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
2536
2307
|
* multiplexers. Reasonably, 100-1000. The dominant factor is the number of validators: safe
|
|
2537
2308
|
* upper bound at 10k.
|
|
2538
2309
|
*
|
|
2539
|
-
* @param {Callback<Array<Array<
|
|
2310
|
+
* @param {Callback<Array<Array<PolkadotPrimitivesV7ValidatorIndex>>> =} callback
|
|
2311
|
+
**/
|
|
2312
|
+
validatorGroups: GenericStorageQuery<() => Array<Array<PolkadotPrimitivesV7ValidatorIndex>>>;
|
|
2313
|
+
|
|
2314
|
+
/**
|
|
2315
|
+
* One entry for each availability core. The i'th parachain belongs to the i'th core, with the
|
|
2316
|
+
* remaining cores all being on demand parachain multiplexers.
|
|
2317
|
+
*
|
|
2318
|
+
* Bounded by the maximum of either of these two values:
|
|
2319
|
+
* * The number of parachains and parathread multiplexers
|
|
2320
|
+
* * The number of validators divided by `configuration.max_validators_per_core`.
|
|
2321
|
+
*
|
|
2322
|
+
* @param {Callback<Array<PolkadotRuntimeParachainsSchedulerPalletCoreOccupied>> =} callback
|
|
2540
2323
|
**/
|
|
2541
|
-
|
|
2324
|
+
availabilityCores: GenericStorageQuery<() => Array<PolkadotRuntimeParachainsSchedulerPalletCoreOccupied>>;
|
|
2542
2325
|
|
|
2543
2326
|
/**
|
|
2544
2327
|
* The block number where the session start occurred. Used to track how many group rotations
|
|
@@ -2555,12 +2338,13 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
2555
2338
|
|
|
2556
2339
|
/**
|
|
2557
2340
|
* One entry for each availability core. The `VecDeque` represents the assignments to be
|
|
2558
|
-
* scheduled on that core.
|
|
2341
|
+
* scheduled on that core. The value contained here will not be valid after the end of
|
|
2342
|
+
* a block. Runtime APIs should be used to determine scheduled cores for the upcoming block.
|
|
2559
2343
|
*
|
|
2560
|
-
* @param {Callback<Array<[
|
|
2344
|
+
* @param {Callback<Array<[PolkadotPrimitivesV7CoreIndex, Array<PolkadotRuntimeParachainsSchedulerPalletParasEntry>]>> =} callback
|
|
2561
2345
|
**/
|
|
2562
2346
|
claimQueue: GenericStorageQuery<
|
|
2563
|
-
() => Array<[
|
|
2347
|
+
() => Array<[PolkadotPrimitivesV7CoreIndex, Array<PolkadotRuntimeParachainsSchedulerPalletParasEntry>]>
|
|
2564
2348
|
>;
|
|
2565
2349
|
|
|
2566
2350
|
/**
|
|
@@ -2737,19 +2521,6 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
2737
2521
|
PolkadotParachainPrimitivesPrimitivesId
|
|
2738
2522
|
>;
|
|
2739
2523
|
|
|
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
|
-
|
|
2753
2524
|
/**
|
|
2754
2525
|
* This is used by the relay-chain to communicate to a parachain a go-ahead with in the upgrade
|
|
2755
2526
|
* procedure.
|
|
@@ -2763,10 +2534,10 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
2763
2534
|
* the format will require migration of parachains.
|
|
2764
2535
|
*
|
|
2765
2536
|
* @param {PolkadotParachainPrimitivesPrimitivesId} arg
|
|
2766
|
-
* @param {Callback<
|
|
2537
|
+
* @param {Callback<PolkadotPrimitivesV7UpgradeGoAhead | undefined> =} callback
|
|
2767
2538
|
**/
|
|
2768
2539
|
upgradeGoAheadSignal: GenericStorageQuery<
|
|
2769
|
-
(arg: PolkadotParachainPrimitivesPrimitivesId) =>
|
|
2540
|
+
(arg: PolkadotParachainPrimitivesPrimitivesId) => PolkadotPrimitivesV7UpgradeGoAhead | undefined,
|
|
2770
2541
|
PolkadotParachainPrimitivesPrimitivesId
|
|
2771
2542
|
>;
|
|
2772
2543
|
|
|
@@ -2782,10 +2553,10 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
2782
2553
|
* the format will require migration of parachains.
|
|
2783
2554
|
*
|
|
2784
2555
|
* @param {PolkadotParachainPrimitivesPrimitivesId} arg
|
|
2785
|
-
* @param {Callback<
|
|
2556
|
+
* @param {Callback<PolkadotPrimitivesV7UpgradeRestriction | undefined> =} callback
|
|
2786
2557
|
**/
|
|
2787
2558
|
upgradeRestrictionSignal: GenericStorageQuery<
|
|
2788
|
-
(arg: PolkadotParachainPrimitivesPrimitivesId) =>
|
|
2559
|
+
(arg: PolkadotParachainPrimitivesPrimitivesId) => PolkadotPrimitivesV7UpgradeRestriction | undefined,
|
|
2789
2560
|
PolkadotParachainPrimitivesPrimitivesId
|
|
2790
2561
|
>;
|
|
2791
2562
|
|
|
@@ -2883,7 +2654,7 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
2883
2654
|
hasInitialized: GenericStorageQuery<() => [] | undefined>;
|
|
2884
2655
|
|
|
2885
2656
|
/**
|
|
2886
|
-
* Buffered session changes.
|
|
2657
|
+
* Buffered session changes along with the block number at which they should be applied.
|
|
2887
2658
|
*
|
|
2888
2659
|
* Typically this will be empty or one element long. Apart from that this item never hits
|
|
2889
2660
|
* the storage.
|
|
@@ -3127,9 +2898,9 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3127
2898
|
* Note that this API is private due to it being prone to 'off-by-one' at session boundaries.
|
|
3128
2899
|
* When in doubt, use `Sessions` API instead.
|
|
3129
2900
|
*
|
|
3130
|
-
* @param {Callback<Array<
|
|
2901
|
+
* @param {Callback<Array<PolkadotPrimitivesV7AssignmentAppPublic>> =} callback
|
|
3131
2902
|
**/
|
|
3132
|
-
assignmentKeysUnsafe: GenericStorageQuery<() => Array<
|
|
2903
|
+
assignmentKeysUnsafe: GenericStorageQuery<() => Array<PolkadotPrimitivesV7AssignmentAppPublic>>;
|
|
3133
2904
|
|
|
3134
2905
|
/**
|
|
3135
2906
|
* The earliest session for which previous session info is stored.
|
|
@@ -3144,9 +2915,9 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3144
2915
|
* Does not have any entries before the session index in the first session change notification.
|
|
3145
2916
|
*
|
|
3146
2917
|
* @param {number} arg
|
|
3147
|
-
* @param {Callback<
|
|
2918
|
+
* @param {Callback<PolkadotPrimitivesV7SessionInfo | undefined> =} callback
|
|
3148
2919
|
**/
|
|
3149
|
-
sessions: GenericStorageQuery<(arg: number) =>
|
|
2920
|
+
sessions: GenericStorageQuery<(arg: number) => PolkadotPrimitivesV7SessionInfo | undefined, number>;
|
|
3150
2921
|
|
|
3151
2922
|
/**
|
|
3152
2923
|
* The validator account keys of the validators actively participating in parachain consensus.
|
|
@@ -3160,9 +2931,9 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3160
2931
|
* Executor parameter set for a given session index
|
|
3161
2932
|
*
|
|
3162
2933
|
* @param {number} arg
|
|
3163
|
-
* @param {Callback<
|
|
2934
|
+
* @param {Callback<PolkadotPrimitivesV7ExecutorParams | undefined> =} callback
|
|
3164
2935
|
**/
|
|
3165
|
-
sessionExecutorParams: GenericStorageQuery<(arg: number) =>
|
|
2936
|
+
sessionExecutorParams: GenericStorageQuery<(arg: number) => PolkadotPrimitivesV7ExecutorParams | undefined, number>;
|
|
3166
2937
|
|
|
3167
2938
|
/**
|
|
3168
2939
|
* Generic pallet storage query
|
|
@@ -3185,10 +2956,10 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3185
2956
|
* All ongoing or concluded disputes for the last several sessions.
|
|
3186
2957
|
*
|
|
3187
2958
|
* @param {[number, PolkadotCorePrimitivesCandidateHash]} arg
|
|
3188
|
-
* @param {Callback<
|
|
2959
|
+
* @param {Callback<PolkadotPrimitivesV7DisputeState | undefined> =} callback
|
|
3189
2960
|
**/
|
|
3190
2961
|
disputes: GenericStorageQuery<
|
|
3191
|
-
(arg: [number, PolkadotCorePrimitivesCandidateHash]) =>
|
|
2962
|
+
(arg: [number, PolkadotCorePrimitivesCandidateHash]) => PolkadotPrimitivesV7DisputeState | undefined,
|
|
3192
2963
|
[number, PolkadotCorePrimitivesCandidateHash]
|
|
3193
2964
|
>;
|
|
3194
2965
|
|
|
@@ -3197,10 +2968,10 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3197
2968
|
* This storage is used for slashing.
|
|
3198
2969
|
*
|
|
3199
2970
|
* @param {[number, PolkadotCorePrimitivesCandidateHash]} arg
|
|
3200
|
-
* @param {Callback<Array<
|
|
2971
|
+
* @param {Callback<Array<PolkadotPrimitivesV7ValidatorIndex> | undefined> =} callback
|
|
3201
2972
|
**/
|
|
3202
2973
|
backersOnDisputes: GenericStorageQuery<
|
|
3203
|
-
(arg: [number, PolkadotCorePrimitivesCandidateHash]) => Array<
|
|
2974
|
+
(arg: [number, PolkadotCorePrimitivesCandidateHash]) => Array<PolkadotPrimitivesV7ValidatorIndex> | undefined,
|
|
3204
2975
|
[number, PolkadotCorePrimitivesCandidateHash]
|
|
3205
2976
|
>;
|
|
3206
2977
|
|
|
@@ -3239,10 +3010,10 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3239
3010
|
* Validators pending dispute slashes.
|
|
3240
3011
|
*
|
|
3241
3012
|
* @param {[number, PolkadotCorePrimitivesCandidateHash]} arg
|
|
3242
|
-
* @param {Callback<
|
|
3013
|
+
* @param {Callback<PolkadotPrimitivesV7SlashingPendingSlashes | undefined> =} callback
|
|
3243
3014
|
**/
|
|
3244
3015
|
unappliedSlashes: GenericStorageQuery<
|
|
3245
|
-
(arg: [number, PolkadotCorePrimitivesCandidateHash]) =>
|
|
3016
|
+
(arg: [number, PolkadotCorePrimitivesCandidateHash]) => PolkadotPrimitivesV7SlashingPendingSlashes | undefined,
|
|
3246
3017
|
[number, PolkadotCorePrimitivesCandidateHash]
|
|
3247
3018
|
>;
|
|
3248
3019
|
|
|
@@ -3269,21 +3040,21 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3269
3040
|
* `ParaId` on two or more `CoreIndex`es.
|
|
3270
3041
|
*
|
|
3271
3042
|
* @param {PolkadotParachainPrimitivesPrimitivesId} arg
|
|
3272
|
-
* @param {Callback<
|
|
3043
|
+
* @param {Callback<PolkadotRuntimeParachainsAssignerOnDemandTypesCoreAffinityCount | undefined> =} callback
|
|
3273
3044
|
**/
|
|
3274
3045
|
paraIdAffinity: GenericStorageQuery<
|
|
3275
3046
|
(
|
|
3276
3047
|
arg: PolkadotParachainPrimitivesPrimitivesId,
|
|
3277
|
-
) =>
|
|
3048
|
+
) => PolkadotRuntimeParachainsAssignerOnDemandTypesCoreAffinityCount | undefined,
|
|
3278
3049
|
PolkadotParachainPrimitivesPrimitivesId
|
|
3279
3050
|
>;
|
|
3280
3051
|
|
|
3281
3052
|
/**
|
|
3282
3053
|
* Overall status of queue (both free + affinity entries)
|
|
3283
3054
|
*
|
|
3284
|
-
* @param {Callback<
|
|
3055
|
+
* @param {Callback<PolkadotRuntimeParachainsAssignerOnDemandTypesQueueStatusType> =} callback
|
|
3285
3056
|
**/
|
|
3286
|
-
queueStatus: GenericStorageQuery<() =>
|
|
3057
|
+
queueStatus: GenericStorageQuery<() => PolkadotRuntimeParachainsAssignerOnDemandTypesQueueStatusType>;
|
|
3287
3058
|
|
|
3288
3059
|
/**
|
|
3289
3060
|
* Priority queue for all orders which don't yet (or not any more) have any core affinity.
|
|
@@ -3295,12 +3066,12 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3295
3066
|
/**
|
|
3296
3067
|
* Queue entries that are currently bound to a particular core due to core affinity.
|
|
3297
3068
|
*
|
|
3298
|
-
* @param {
|
|
3069
|
+
* @param {PolkadotPrimitivesV7CoreIndex} arg
|
|
3299
3070
|
* @param {Callback<BinaryHeapEnqueuedOrder> =} callback
|
|
3300
3071
|
**/
|
|
3301
3072
|
affinityEntries: GenericStorageQuery<
|
|
3302
|
-
(arg:
|
|
3303
|
-
|
|
3073
|
+
(arg: PolkadotPrimitivesV7CoreIndex) => BinaryHeapEnqueuedOrder,
|
|
3074
|
+
PolkadotPrimitivesV7CoreIndex
|
|
3304
3075
|
>;
|
|
3305
3076
|
|
|
3306
3077
|
/**
|
|
@@ -3310,14 +3081,6 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3310
3081
|
**/
|
|
3311
3082
|
revenue: GenericStorageQuery<() => Array<bigint>>;
|
|
3312
3083
|
|
|
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
|
-
|
|
3321
3084
|
/**
|
|
3322
3085
|
* Generic pallet storage query
|
|
3323
3086
|
**/
|
|
@@ -3333,12 +3096,12 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3333
3096
|
* Assignments as of the given block number. They will go into state once the block number is
|
|
3334
3097
|
* reached (and replace whatever was in there before).
|
|
3335
3098
|
*
|
|
3336
|
-
* @param {[number,
|
|
3099
|
+
* @param {[number, PolkadotPrimitivesV7CoreIndex]} arg
|
|
3337
3100
|
* @param {Callback<PolkadotRuntimeParachainsAssignerCoretimeSchedule | undefined> =} callback
|
|
3338
3101
|
**/
|
|
3339
3102
|
coreSchedules: GenericStorageQuery<
|
|
3340
|
-
(arg: [number,
|
|
3341
|
-
[number,
|
|
3103
|
+
(arg: [number, PolkadotPrimitivesV7CoreIndex]) => PolkadotRuntimeParachainsAssignerCoretimeSchedule | undefined,
|
|
3104
|
+
[number, PolkadotPrimitivesV7CoreIndex]
|
|
3342
3105
|
>;
|
|
3343
3106
|
|
|
3344
3107
|
/**
|
|
@@ -3347,12 +3110,12 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3347
3110
|
* They will be picked from `PendingAssignments` once we reach the scheduled block number in
|
|
3348
3111
|
* `PendingAssignments`.
|
|
3349
3112
|
*
|
|
3350
|
-
* @param {
|
|
3113
|
+
* @param {PolkadotPrimitivesV7CoreIndex} arg
|
|
3351
3114
|
* @param {Callback<PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor> =} callback
|
|
3352
3115
|
**/
|
|
3353
3116
|
coreDescriptors: GenericStorageQuery<
|
|
3354
|
-
(arg:
|
|
3355
|
-
|
|
3117
|
+
(arg: PolkadotPrimitivesV7CoreIndex) => PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor,
|
|
3118
|
+
PolkadotPrimitivesV7CoreIndex
|
|
3356
3119
|
>;
|
|
3357
3120
|
|
|
3358
3121
|
/**
|
|
@@ -3707,22 +3470,9 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3707
3470
|
* Only relevant if this pallet is being used as the [`xcm_executor::traits::RecordXcm`]
|
|
3708
3471
|
* implementation in the XCM executor configuration.
|
|
3709
3472
|
*
|
|
3710
|
-
* @param {Callback<
|
|
3473
|
+
* @param {Callback<StagingXcmV4Xcm | undefined> =} callback
|
|
3711
3474
|
**/
|
|
3712
|
-
recordedXcm: GenericStorageQuery<() =>
|
|
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
|
|
3721
|
-
**/
|
|
3722
|
-
authorizedAliases: GenericStorageQuery<
|
|
3723
|
-
(arg: XcmVersionedLocation) => PalletXcmAuthorizedAliasesEntry | undefined,
|
|
3724
|
-
XcmVersionedLocation
|
|
3725
|
-
>;
|
|
3475
|
+
recordedXcm: GenericStorageQuery<() => StagingXcmV4Xcm | undefined>;
|
|
3726
3476
|
|
|
3727
3477
|
/**
|
|
3728
3478
|
* Generic pallet storage query
|
|
@@ -3915,219 +3665,6 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3915
3665
|
**/
|
|
3916
3666
|
key: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
3917
3667
|
|
|
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
|
-
|
|
4131
3668
|
/**
|
|
4132
3669
|
* Generic pallet storage query
|
|
4133
3670
|
**/
|