@dedot/chaintypes 0.229.0 → 0.231.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 +18 -106
- package/paseo/errors.d.ts +42 -294
- package/paseo/events.d.ts +87 -753
- package/paseo/index.d.ts +1 -1
- package/paseo/query.d.ts +115 -556
- package/paseo/runtime.d.ts +91 -212
- package/paseo/tx.d.ts +190 -1182
- package/paseo/types.d.ts +8528 -10512
- 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,
|
|
@@ -65,6 +62,8 @@ import type {
|
|
|
65
62
|
PalletTreasurySpendStatus,
|
|
66
63
|
PalletConvictionVotingVoteVoting,
|
|
67
64
|
PalletReferendaReferendumInfo,
|
|
65
|
+
PaseoRuntimeRuntimeParametersValue,
|
|
66
|
+
PaseoRuntimeRuntimeParametersKey,
|
|
68
67
|
PolkadotRuntimeCommonClaimsStatementKind,
|
|
69
68
|
PalletVestingVestingInfo,
|
|
70
69
|
PalletVestingReleases,
|
|
@@ -87,29 +86,23 @@ import type {
|
|
|
87
86
|
PalletNominationPoolsSubPools,
|
|
88
87
|
PalletNominationPoolsClaimPermission,
|
|
89
88
|
PalletFastUnstakeUnstakeRequest,
|
|
90
|
-
PalletDelegatedStakingDelegation,
|
|
91
|
-
PalletDelegatedStakingAgentLedger,
|
|
92
|
-
PalletStakingAsyncRcClientValidatorSetReport,
|
|
93
|
-
PalletStakingAsyncAhClientOperatingMode,
|
|
94
|
-
PalletStakingAsyncRcClientSessionReport,
|
|
95
|
-
PalletStakingAsyncRcClientOffence,
|
|
96
89
|
PolkadotRuntimeParachainsConfigurationHostConfiguration,
|
|
97
|
-
|
|
98
|
-
|
|
90
|
+
PolkadotPrimitivesV7ValidatorIndex,
|
|
91
|
+
PolkadotPrimitivesV7ValidatorAppPublic,
|
|
99
92
|
PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker,
|
|
100
93
|
PolkadotRuntimeParachainsInclusionCandidatePendingAvailability,
|
|
101
94
|
PolkadotParachainPrimitivesPrimitivesId,
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
95
|
+
PolkadotPrimitivesV7ScrapedOnChainVotes,
|
|
96
|
+
PolkadotRuntimeParachainsSchedulerPalletCoreOccupied,
|
|
97
|
+
PolkadotPrimitivesV7CoreIndex,
|
|
98
|
+
PolkadotRuntimeParachainsSchedulerPalletParasEntry,
|
|
105
99
|
PolkadotRuntimeParachainsParasPvfCheckActiveVoteState,
|
|
106
100
|
PolkadotParachainPrimitivesPrimitivesValidationCodeHash,
|
|
107
101
|
PolkadotRuntimeParachainsParasParaLifecycle,
|
|
108
102
|
PolkadotParachainPrimitivesPrimitivesHeadData,
|
|
109
103
|
PolkadotRuntimeParachainsParasParaPastCodeMeta,
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
PolkadotPrimitivesV8UpgradeRestriction,
|
|
104
|
+
PolkadotPrimitivesV7UpgradeGoAhead,
|
|
105
|
+
PolkadotPrimitivesV7UpgradeRestriction,
|
|
113
106
|
PolkadotRuntimeParachainsParasParaGenesisArgs,
|
|
114
107
|
PolkadotParachainPrimitivesPrimitivesValidationCode,
|
|
115
108
|
PolkadotRuntimeParachainsInitializerBufferedSessionChange,
|
|
@@ -118,14 +111,14 @@ import type {
|
|
|
118
111
|
PolkadotParachainPrimitivesPrimitivesHrmpChannelId,
|
|
119
112
|
PolkadotRuntimeParachainsHrmpHrmpChannel,
|
|
120
113
|
PolkadotCorePrimitivesInboundHrmpMessage,
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
114
|
+
PolkadotPrimitivesV7AssignmentAppPublic,
|
|
115
|
+
PolkadotPrimitivesV7SessionInfo,
|
|
116
|
+
PolkadotPrimitivesV7ExecutorParams,
|
|
117
|
+
PolkadotPrimitivesV7DisputeState,
|
|
125
118
|
PolkadotCorePrimitivesCandidateHash,
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
119
|
+
PolkadotPrimitivesV7SlashingPendingSlashes,
|
|
120
|
+
PolkadotRuntimeParachainsAssignerOnDemandTypesCoreAffinityCount,
|
|
121
|
+
PolkadotRuntimeParachainsAssignerOnDemandTypesQueueStatusType,
|
|
129
122
|
BinaryHeapEnqueuedOrder,
|
|
130
123
|
PolkadotRuntimeParachainsAssignerCoretimeSchedule,
|
|
131
124
|
PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor,
|
|
@@ -135,25 +128,17 @@ import type {
|
|
|
135
128
|
PalletStateTrieMigrationMigrationLimits,
|
|
136
129
|
PalletXcmQueryStatus,
|
|
137
130
|
XcmVersionedLocation,
|
|
131
|
+
SpWeightsWeightV2Weight,
|
|
138
132
|
PalletXcmVersionMigrationStage,
|
|
139
133
|
PalletXcmRemoteLockedFungibleRecord,
|
|
140
134
|
XcmVersionedAssetId,
|
|
141
|
-
|
|
142
|
-
PalletXcmAuthorizedAliasesEntry,
|
|
135
|
+
StagingXcmV4Xcm,
|
|
143
136
|
PalletMessageQueueBookState,
|
|
144
137
|
PolkadotRuntimeParachainsInclusionAggregateMessageOrigin,
|
|
145
138
|
PalletMessageQueuePage,
|
|
146
139
|
PolkadotRuntimeCommonImplsVersionedLocatableAsset,
|
|
147
140
|
SpConsensusBeefyEcdsaCryptoPublic,
|
|
148
141
|
SpConsensusBeefyMmrBeefyAuthoritySet,
|
|
149
|
-
PalletRcMigratorMigrationStage,
|
|
150
|
-
PalletRcMigratorAccountsAccountState,
|
|
151
|
-
PalletRcMigratorAccountsMigratedBalances,
|
|
152
|
-
PalletRcMigratorQueuePriority,
|
|
153
|
-
FrameSupportScheduleDispatchTime,
|
|
154
|
-
PalletRcMigratorMigrationSettings,
|
|
155
|
-
PaseoRuntimeRuntimeCall,
|
|
156
|
-
PaseoRuntimeRuntimeCallLike,
|
|
157
142
|
} from './types.js';
|
|
158
143
|
|
|
159
144
|
export interface ChainStorage extends GenericChainStorage {
|
|
@@ -307,19 +292,6 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
307
292
|
**/
|
|
308
293
|
authorizedUpgrade: GenericStorageQuery<() => FrameSystemCodeUpgradeAuthorization | undefined>;
|
|
309
294
|
|
|
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
295
|
/**
|
|
324
296
|
* Generic pallet storage query
|
|
325
297
|
**/
|
|
@@ -330,7 +302,6 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
330
302
|
**/
|
|
331
303
|
scheduler: {
|
|
332
304
|
/**
|
|
333
|
-
* Block number at which the agenda began incomplete execution.
|
|
334
305
|
*
|
|
335
306
|
* @param {Callback<number | undefined> =} callback
|
|
336
307
|
**/
|
|
@@ -377,8 +348,6 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
377
348
|
*
|
|
378
349
|
* @param {H256} arg
|
|
379
350
|
* @param {Callback<PalletPreimageOldRequestStatus | undefined> =} callback
|
|
380
|
-
*
|
|
381
|
-
* @deprecated RequestStatusFor
|
|
382
351
|
**/
|
|
383
352
|
statusFor: GenericStorageQuery<(arg: H256) => PalletPreimageOldRequestStatus | undefined, H256>;
|
|
384
353
|
|
|
@@ -723,15 +692,6 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
723
692
|
**/
|
|
724
693
|
storageVersion: GenericStorageQuery<() => PalletTransactionPaymentReleases>;
|
|
725
694
|
|
|
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
695
|
/**
|
|
736
696
|
* Generic pallet storage query
|
|
737
697
|
**/
|
|
@@ -1201,6 +1161,19 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
1201
1161
|
**/
|
|
1202
1162
|
currentPlannedSession: GenericStorageQuery<() => number>;
|
|
1203
1163
|
|
|
1164
|
+
/**
|
|
1165
|
+
* Indices of validators that have offended in the active era. The offenders are disabled for a
|
|
1166
|
+
* whole era. For this reason they are kept here - only staking pallet knows about eras. The
|
|
1167
|
+
* implementor of [`DisablingStrategy`] defines if a validator should be disabled which
|
|
1168
|
+
* implicitly means that the implementor also controls the max number of disabled validators.
|
|
1169
|
+
*
|
|
1170
|
+
* The vec is always kept sorted so that we can find whether a given validator has previously
|
|
1171
|
+
* offended using binary search.
|
|
1172
|
+
*
|
|
1173
|
+
* @param {Callback<Array<number>> =} callback
|
|
1174
|
+
**/
|
|
1175
|
+
disabledValidators: GenericStorageQuery<() => Array<number>>;
|
|
1176
|
+
|
|
1204
1177
|
/**
|
|
1205
1178
|
* The threshold for when users can start calling `chill_other` for other validators /
|
|
1206
1179
|
* nominators. The threshold is compared to the actual number of validators / nominators
|
|
@@ -1308,9 +1281,9 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
1308
1281
|
* disabled using binary search. It gets cleared when `on_session_ending` returns
|
|
1309
1282
|
* a new set of identities.
|
|
1310
1283
|
*
|
|
1311
|
-
* @param {Callback<Array<
|
|
1284
|
+
* @param {Callback<Array<number>> =} callback
|
|
1312
1285
|
**/
|
|
1313
|
-
disabledValidators: GenericStorageQuery<() => Array<
|
|
1286
|
+
disabledValidators: GenericStorageQuery<() => Array<number>>;
|
|
1314
1287
|
|
|
1315
1288
|
/**
|
|
1316
1289
|
* The next session keys for a validator.
|
|
@@ -1433,9 +1406,6 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
1433
1406
|
**/
|
|
1434
1407
|
treasury: {
|
|
1435
1408
|
/**
|
|
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
1409
|
* Number of proposals that have been made.
|
|
1440
1410
|
*
|
|
1441
1411
|
* @param {Callback<number> =} callback
|
|
@@ -1443,9 +1413,6 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
1443
1413
|
proposalCount: GenericStorageQuery<() => number>;
|
|
1444
1414
|
|
|
1445
1415
|
/**
|
|
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
1416
|
* Proposals that have been made.
|
|
1450
1417
|
*
|
|
1451
1418
|
* @param {number} arg
|
|
@@ -1461,9 +1428,6 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
1461
1428
|
deactivated: GenericStorageQuery<() => bigint>;
|
|
1462
1429
|
|
|
1463
1430
|
/**
|
|
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
1431
|
* Proposal indices that have been approved but not yet awarded.
|
|
1468
1432
|
*
|
|
1469
1433
|
* @param {Callback<Array<number>> =} callback
|
|
@@ -1485,13 +1449,6 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
1485
1449
|
**/
|
|
1486
1450
|
spends: GenericStorageQuery<(arg: number) => PalletTreasurySpendStatus | undefined, number>;
|
|
1487
1451
|
|
|
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
1452
|
/**
|
|
1496
1453
|
* Generic pallet storage query
|
|
1497
1454
|
**/
|
|
@@ -1600,6 +1557,26 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
1600
1557
|
**/
|
|
1601
1558
|
[storage: string]: GenericStorageQuery;
|
|
1602
1559
|
};
|
|
1560
|
+
/**
|
|
1561
|
+
* Pallet `Parameters`'s storage queries
|
|
1562
|
+
**/
|
|
1563
|
+
parameters: {
|
|
1564
|
+
/**
|
|
1565
|
+
* Stored parameters.
|
|
1566
|
+
*
|
|
1567
|
+
* @param {PaseoRuntimeRuntimeParametersKey} arg
|
|
1568
|
+
* @param {Callback<PaseoRuntimeRuntimeParametersValue | undefined> =} callback
|
|
1569
|
+
**/
|
|
1570
|
+
parameters: GenericStorageQuery<
|
|
1571
|
+
(arg: PaseoRuntimeRuntimeParametersKey) => PaseoRuntimeRuntimeParametersValue | undefined,
|
|
1572
|
+
PaseoRuntimeRuntimeParametersKey
|
|
1573
|
+
>;
|
|
1574
|
+
|
|
1575
|
+
/**
|
|
1576
|
+
* Generic pallet storage query
|
|
1577
|
+
**/
|
|
1578
|
+
[storage: string]: GenericStorageQuery;
|
|
1579
|
+
};
|
|
1603
1580
|
/**
|
|
1604
1581
|
* Pallet `Claims`'s storage queries
|
|
1605
1582
|
**/
|
|
@@ -1768,15 +1745,14 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
1768
1745
|
**/
|
|
1769
1746
|
childBounties: {
|
|
1770
1747
|
/**
|
|
1771
|
-
*
|
|
1772
|
-
* for each parent bounty. Number of total child bounties. Will be removed in May 2025.
|
|
1748
|
+
* Number of total child bounties.
|
|
1773
1749
|
*
|
|
1774
1750
|
* @param {Callback<number> =} callback
|
|
1775
1751
|
**/
|
|
1776
1752
|
childBountyCount: GenericStorageQuery<() => number>;
|
|
1777
1753
|
|
|
1778
1754
|
/**
|
|
1779
|
-
* Number of
|
|
1755
|
+
* Number of child bounties per parent bounty.
|
|
1780
1756
|
* Map of parent bounty index to number of child bounties.
|
|
1781
1757
|
*
|
|
1782
1758
|
* @param {number} arg
|
|
@@ -1784,14 +1760,6 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
1784
1760
|
**/
|
|
1785
1761
|
parentChildBounties: GenericStorageQuery<(arg: number) => number, number>;
|
|
1786
1762
|
|
|
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
1763
|
/**
|
|
1796
1764
|
* Child bounties that have been added.
|
|
1797
1765
|
*
|
|
@@ -1804,26 +1772,12 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
1804
1772
|
>;
|
|
1805
1773
|
|
|
1806
1774
|
/**
|
|
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.
|
|
1775
|
+
* The description of each child-bounty.
|
|
1822
1776
|
*
|
|
1823
1777
|
* @param {number} arg
|
|
1824
|
-
* @param {Callback<
|
|
1778
|
+
* @param {Callback<Bytes | undefined> =} callback
|
|
1825
1779
|
**/
|
|
1826
|
-
|
|
1780
|
+
childBountyDescriptions: GenericStorageQuery<(arg: number) => Bytes | undefined, number>;
|
|
1827
1781
|
|
|
1828
1782
|
/**
|
|
1829
1783
|
* The cumulative child-bounty curator fee for each parent bounty.
|
|
@@ -1990,24 +1944,6 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
1990
1944
|
**/
|
|
1991
1945
|
listBags: GenericStorageQuery<(arg: bigint) => PalletBagsListListBag | undefined, bigint>;
|
|
1992
1946
|
|
|
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
1947
|
/**
|
|
2012
1948
|
* Generic pallet storage query
|
|
2013
1949
|
**/
|
|
@@ -2250,149 +2186,6 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
2250
2186
|
**/
|
|
2251
2187
|
[storage: string]: GenericStorageQuery;
|
|
2252
2188
|
};
|
|
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
2189
|
/**
|
|
2397
2190
|
* Pallet `Configuration`'s storage queries
|
|
2398
2191
|
**/
|
|
@@ -2445,17 +2238,17 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
2445
2238
|
* All the validators actively participating in parachain consensus.
|
|
2446
2239
|
* Indices are into the broader validator set.
|
|
2447
2240
|
*
|
|
2448
|
-
* @param {Callback<Array<
|
|
2241
|
+
* @param {Callback<Array<PolkadotPrimitivesV7ValidatorIndex>> =} callback
|
|
2449
2242
|
**/
|
|
2450
|
-
activeValidatorIndices: GenericStorageQuery<() => Array<
|
|
2243
|
+
activeValidatorIndices: GenericStorageQuery<() => Array<PolkadotPrimitivesV7ValidatorIndex>>;
|
|
2451
2244
|
|
|
2452
2245
|
/**
|
|
2453
2246
|
* The parachain attestation keys of the validators actively participating in parachain
|
|
2454
2247
|
* consensus. This should be the same length as `ActiveValidatorIndices`.
|
|
2455
2248
|
*
|
|
2456
|
-
* @param {Callback<Array<
|
|
2249
|
+
* @param {Callback<Array<PolkadotPrimitivesV7ValidatorAppPublic>> =} callback
|
|
2457
2250
|
**/
|
|
2458
|
-
activeValidatorKeys: GenericStorageQuery<() => Array<
|
|
2251
|
+
activeValidatorKeys: GenericStorageQuery<() => Array<PolkadotPrimitivesV7ValidatorAppPublic>>;
|
|
2459
2252
|
|
|
2460
2253
|
/**
|
|
2461
2254
|
* All allowed relay-parents.
|
|
@@ -2514,9 +2307,9 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
2514
2307
|
/**
|
|
2515
2308
|
* Scraped on chain data for extracting resolved disputes as well as backing votes.
|
|
2516
2309
|
*
|
|
2517
|
-
* @param {Callback<
|
|
2310
|
+
* @param {Callback<PolkadotPrimitivesV7ScrapedOnChainVotes | undefined> =} callback
|
|
2518
2311
|
**/
|
|
2519
|
-
onChainVotes: GenericStorageQuery<() =>
|
|
2312
|
+
onChainVotes: GenericStorageQuery<() => PolkadotPrimitivesV7ScrapedOnChainVotes | undefined>;
|
|
2520
2313
|
|
|
2521
2314
|
/**
|
|
2522
2315
|
* Generic pallet storage query
|
|
@@ -2536,9 +2329,21 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
2536
2329
|
* multiplexers. Reasonably, 100-1000. The dominant factor is the number of validators: safe
|
|
2537
2330
|
* upper bound at 10k.
|
|
2538
2331
|
*
|
|
2539
|
-
* @param {Callback<Array<Array<
|
|
2332
|
+
* @param {Callback<Array<Array<PolkadotPrimitivesV7ValidatorIndex>>> =} callback
|
|
2333
|
+
**/
|
|
2334
|
+
validatorGroups: GenericStorageQuery<() => Array<Array<PolkadotPrimitivesV7ValidatorIndex>>>;
|
|
2335
|
+
|
|
2336
|
+
/**
|
|
2337
|
+
* One entry for each availability core. The i'th parachain belongs to the i'th core, with the
|
|
2338
|
+
* remaining cores all being on demand parachain multiplexers.
|
|
2339
|
+
*
|
|
2340
|
+
* Bounded by the maximum of either of these two values:
|
|
2341
|
+
* * The number of parachains and parathread multiplexers
|
|
2342
|
+
* * The number of validators divided by `configuration.max_validators_per_core`.
|
|
2343
|
+
*
|
|
2344
|
+
* @param {Callback<Array<PolkadotRuntimeParachainsSchedulerPalletCoreOccupied>> =} callback
|
|
2540
2345
|
**/
|
|
2541
|
-
|
|
2346
|
+
availabilityCores: GenericStorageQuery<() => Array<PolkadotRuntimeParachainsSchedulerPalletCoreOccupied>>;
|
|
2542
2347
|
|
|
2543
2348
|
/**
|
|
2544
2349
|
* The block number where the session start occurred. Used to track how many group rotations
|
|
@@ -2555,12 +2360,13 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
2555
2360
|
|
|
2556
2361
|
/**
|
|
2557
2362
|
* One entry for each availability core. The `VecDeque` represents the assignments to be
|
|
2558
|
-
* scheduled on that core.
|
|
2363
|
+
* scheduled on that core. The value contained here will not be valid after the end of
|
|
2364
|
+
* a block. Runtime APIs should be used to determine scheduled cores for the upcoming block.
|
|
2559
2365
|
*
|
|
2560
|
-
* @param {Callback<Array<[
|
|
2366
|
+
* @param {Callback<Array<[PolkadotPrimitivesV7CoreIndex, Array<PolkadotRuntimeParachainsSchedulerPalletParasEntry>]>> =} callback
|
|
2561
2367
|
**/
|
|
2562
2368
|
claimQueue: GenericStorageQuery<
|
|
2563
|
-
() => Array<[
|
|
2369
|
+
() => Array<[PolkadotPrimitivesV7CoreIndex, Array<PolkadotRuntimeParachainsSchedulerPalletParasEntry>]>
|
|
2564
2370
|
>;
|
|
2565
2371
|
|
|
2566
2372
|
/**
|
|
@@ -2737,19 +2543,6 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
2737
2543
|
PolkadotParachainPrimitivesPrimitivesId
|
|
2738
2544
|
>;
|
|
2739
2545
|
|
|
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
2546
|
/**
|
|
2754
2547
|
* This is used by the relay-chain to communicate to a parachain a go-ahead with in the upgrade
|
|
2755
2548
|
* procedure.
|
|
@@ -2763,10 +2556,10 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
2763
2556
|
* the format will require migration of parachains.
|
|
2764
2557
|
*
|
|
2765
2558
|
* @param {PolkadotParachainPrimitivesPrimitivesId} arg
|
|
2766
|
-
* @param {Callback<
|
|
2559
|
+
* @param {Callback<PolkadotPrimitivesV7UpgradeGoAhead | undefined> =} callback
|
|
2767
2560
|
**/
|
|
2768
2561
|
upgradeGoAheadSignal: GenericStorageQuery<
|
|
2769
|
-
(arg: PolkadotParachainPrimitivesPrimitivesId) =>
|
|
2562
|
+
(arg: PolkadotParachainPrimitivesPrimitivesId) => PolkadotPrimitivesV7UpgradeGoAhead | undefined,
|
|
2770
2563
|
PolkadotParachainPrimitivesPrimitivesId
|
|
2771
2564
|
>;
|
|
2772
2565
|
|
|
@@ -2782,10 +2575,10 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
2782
2575
|
* the format will require migration of parachains.
|
|
2783
2576
|
*
|
|
2784
2577
|
* @param {PolkadotParachainPrimitivesPrimitivesId} arg
|
|
2785
|
-
* @param {Callback<
|
|
2578
|
+
* @param {Callback<PolkadotPrimitivesV7UpgradeRestriction | undefined> =} callback
|
|
2786
2579
|
**/
|
|
2787
2580
|
upgradeRestrictionSignal: GenericStorageQuery<
|
|
2788
|
-
(arg: PolkadotParachainPrimitivesPrimitivesId) =>
|
|
2581
|
+
(arg: PolkadotParachainPrimitivesPrimitivesId) => PolkadotPrimitivesV7UpgradeRestriction | undefined,
|
|
2789
2582
|
PolkadotParachainPrimitivesPrimitivesId
|
|
2790
2583
|
>;
|
|
2791
2584
|
|
|
@@ -2883,7 +2676,7 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
2883
2676
|
hasInitialized: GenericStorageQuery<() => [] | undefined>;
|
|
2884
2677
|
|
|
2885
2678
|
/**
|
|
2886
|
-
* Buffered session changes.
|
|
2679
|
+
* Buffered session changes along with the block number at which they should be applied.
|
|
2887
2680
|
*
|
|
2888
2681
|
* Typically this will be empty or one element long. Apart from that this item never hits
|
|
2889
2682
|
* the storage.
|
|
@@ -3127,9 +2920,9 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3127
2920
|
* Note that this API is private due to it being prone to 'off-by-one' at session boundaries.
|
|
3128
2921
|
* When in doubt, use `Sessions` API instead.
|
|
3129
2922
|
*
|
|
3130
|
-
* @param {Callback<Array<
|
|
2923
|
+
* @param {Callback<Array<PolkadotPrimitivesV7AssignmentAppPublic>> =} callback
|
|
3131
2924
|
**/
|
|
3132
|
-
assignmentKeysUnsafe: GenericStorageQuery<() => Array<
|
|
2925
|
+
assignmentKeysUnsafe: GenericStorageQuery<() => Array<PolkadotPrimitivesV7AssignmentAppPublic>>;
|
|
3133
2926
|
|
|
3134
2927
|
/**
|
|
3135
2928
|
* The earliest session for which previous session info is stored.
|
|
@@ -3144,9 +2937,9 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3144
2937
|
* Does not have any entries before the session index in the first session change notification.
|
|
3145
2938
|
*
|
|
3146
2939
|
* @param {number} arg
|
|
3147
|
-
* @param {Callback<
|
|
2940
|
+
* @param {Callback<PolkadotPrimitivesV7SessionInfo | undefined> =} callback
|
|
3148
2941
|
**/
|
|
3149
|
-
sessions: GenericStorageQuery<(arg: number) =>
|
|
2942
|
+
sessions: GenericStorageQuery<(arg: number) => PolkadotPrimitivesV7SessionInfo | undefined, number>;
|
|
3150
2943
|
|
|
3151
2944
|
/**
|
|
3152
2945
|
* The validator account keys of the validators actively participating in parachain consensus.
|
|
@@ -3160,9 +2953,9 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3160
2953
|
* Executor parameter set for a given session index
|
|
3161
2954
|
*
|
|
3162
2955
|
* @param {number} arg
|
|
3163
|
-
* @param {Callback<
|
|
2956
|
+
* @param {Callback<PolkadotPrimitivesV7ExecutorParams | undefined> =} callback
|
|
3164
2957
|
**/
|
|
3165
|
-
sessionExecutorParams: GenericStorageQuery<(arg: number) =>
|
|
2958
|
+
sessionExecutorParams: GenericStorageQuery<(arg: number) => PolkadotPrimitivesV7ExecutorParams | undefined, number>;
|
|
3166
2959
|
|
|
3167
2960
|
/**
|
|
3168
2961
|
* Generic pallet storage query
|
|
@@ -3185,10 +2978,10 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3185
2978
|
* All ongoing or concluded disputes for the last several sessions.
|
|
3186
2979
|
*
|
|
3187
2980
|
* @param {[number, PolkadotCorePrimitivesCandidateHash]} arg
|
|
3188
|
-
* @param {Callback<
|
|
2981
|
+
* @param {Callback<PolkadotPrimitivesV7DisputeState | undefined> =} callback
|
|
3189
2982
|
**/
|
|
3190
2983
|
disputes: GenericStorageQuery<
|
|
3191
|
-
(arg: [number, PolkadotCorePrimitivesCandidateHash]) =>
|
|
2984
|
+
(arg: [number, PolkadotCorePrimitivesCandidateHash]) => PolkadotPrimitivesV7DisputeState | undefined,
|
|
3192
2985
|
[number, PolkadotCorePrimitivesCandidateHash]
|
|
3193
2986
|
>;
|
|
3194
2987
|
|
|
@@ -3197,10 +2990,10 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3197
2990
|
* This storage is used for slashing.
|
|
3198
2991
|
*
|
|
3199
2992
|
* @param {[number, PolkadotCorePrimitivesCandidateHash]} arg
|
|
3200
|
-
* @param {Callback<Array<
|
|
2993
|
+
* @param {Callback<Array<PolkadotPrimitivesV7ValidatorIndex> | undefined> =} callback
|
|
3201
2994
|
**/
|
|
3202
2995
|
backersOnDisputes: GenericStorageQuery<
|
|
3203
|
-
(arg: [number, PolkadotCorePrimitivesCandidateHash]) => Array<
|
|
2996
|
+
(arg: [number, PolkadotCorePrimitivesCandidateHash]) => Array<PolkadotPrimitivesV7ValidatorIndex> | undefined,
|
|
3204
2997
|
[number, PolkadotCorePrimitivesCandidateHash]
|
|
3205
2998
|
>;
|
|
3206
2999
|
|
|
@@ -3239,10 +3032,10 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3239
3032
|
* Validators pending dispute slashes.
|
|
3240
3033
|
*
|
|
3241
3034
|
* @param {[number, PolkadotCorePrimitivesCandidateHash]} arg
|
|
3242
|
-
* @param {Callback<
|
|
3035
|
+
* @param {Callback<PolkadotPrimitivesV7SlashingPendingSlashes | undefined> =} callback
|
|
3243
3036
|
**/
|
|
3244
3037
|
unappliedSlashes: GenericStorageQuery<
|
|
3245
|
-
(arg: [number, PolkadotCorePrimitivesCandidateHash]) =>
|
|
3038
|
+
(arg: [number, PolkadotCorePrimitivesCandidateHash]) => PolkadotPrimitivesV7SlashingPendingSlashes | undefined,
|
|
3246
3039
|
[number, PolkadotCorePrimitivesCandidateHash]
|
|
3247
3040
|
>;
|
|
3248
3041
|
|
|
@@ -3269,21 +3062,21 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3269
3062
|
* `ParaId` on two or more `CoreIndex`es.
|
|
3270
3063
|
*
|
|
3271
3064
|
* @param {PolkadotParachainPrimitivesPrimitivesId} arg
|
|
3272
|
-
* @param {Callback<
|
|
3065
|
+
* @param {Callback<PolkadotRuntimeParachainsAssignerOnDemandTypesCoreAffinityCount | undefined> =} callback
|
|
3273
3066
|
**/
|
|
3274
3067
|
paraIdAffinity: GenericStorageQuery<
|
|
3275
3068
|
(
|
|
3276
3069
|
arg: PolkadotParachainPrimitivesPrimitivesId,
|
|
3277
|
-
) =>
|
|
3070
|
+
) => PolkadotRuntimeParachainsAssignerOnDemandTypesCoreAffinityCount | undefined,
|
|
3278
3071
|
PolkadotParachainPrimitivesPrimitivesId
|
|
3279
3072
|
>;
|
|
3280
3073
|
|
|
3281
3074
|
/**
|
|
3282
3075
|
* Overall status of queue (both free + affinity entries)
|
|
3283
3076
|
*
|
|
3284
|
-
* @param {Callback<
|
|
3077
|
+
* @param {Callback<PolkadotRuntimeParachainsAssignerOnDemandTypesQueueStatusType> =} callback
|
|
3285
3078
|
**/
|
|
3286
|
-
queueStatus: GenericStorageQuery<() =>
|
|
3079
|
+
queueStatus: GenericStorageQuery<() => PolkadotRuntimeParachainsAssignerOnDemandTypesQueueStatusType>;
|
|
3287
3080
|
|
|
3288
3081
|
/**
|
|
3289
3082
|
* Priority queue for all orders which don't yet (or not any more) have any core affinity.
|
|
@@ -3295,12 +3088,12 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3295
3088
|
/**
|
|
3296
3089
|
* Queue entries that are currently bound to a particular core due to core affinity.
|
|
3297
3090
|
*
|
|
3298
|
-
* @param {
|
|
3091
|
+
* @param {PolkadotPrimitivesV7CoreIndex} arg
|
|
3299
3092
|
* @param {Callback<BinaryHeapEnqueuedOrder> =} callback
|
|
3300
3093
|
**/
|
|
3301
3094
|
affinityEntries: GenericStorageQuery<
|
|
3302
|
-
(arg:
|
|
3303
|
-
|
|
3095
|
+
(arg: PolkadotPrimitivesV7CoreIndex) => BinaryHeapEnqueuedOrder,
|
|
3096
|
+
PolkadotPrimitivesV7CoreIndex
|
|
3304
3097
|
>;
|
|
3305
3098
|
|
|
3306
3099
|
/**
|
|
@@ -3310,14 +3103,6 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3310
3103
|
**/
|
|
3311
3104
|
revenue: GenericStorageQuery<() => Array<bigint>>;
|
|
3312
3105
|
|
|
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
3106
|
/**
|
|
3322
3107
|
* Generic pallet storage query
|
|
3323
3108
|
**/
|
|
@@ -3333,12 +3118,12 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3333
3118
|
* Assignments as of the given block number. They will go into state once the block number is
|
|
3334
3119
|
* reached (and replace whatever was in there before).
|
|
3335
3120
|
*
|
|
3336
|
-
* @param {[number,
|
|
3121
|
+
* @param {[number, PolkadotPrimitivesV7CoreIndex]} arg
|
|
3337
3122
|
* @param {Callback<PolkadotRuntimeParachainsAssignerCoretimeSchedule | undefined> =} callback
|
|
3338
3123
|
**/
|
|
3339
3124
|
coreSchedules: GenericStorageQuery<
|
|
3340
|
-
(arg: [number,
|
|
3341
|
-
[number,
|
|
3125
|
+
(arg: [number, PolkadotPrimitivesV7CoreIndex]) => PolkadotRuntimeParachainsAssignerCoretimeSchedule | undefined,
|
|
3126
|
+
[number, PolkadotPrimitivesV7CoreIndex]
|
|
3342
3127
|
>;
|
|
3343
3128
|
|
|
3344
3129
|
/**
|
|
@@ -3347,12 +3132,12 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3347
3132
|
* They will be picked from `PendingAssignments` once we reach the scheduled block number in
|
|
3348
3133
|
* `PendingAssignments`.
|
|
3349
3134
|
*
|
|
3350
|
-
* @param {
|
|
3135
|
+
* @param {PolkadotPrimitivesV7CoreIndex} arg
|
|
3351
3136
|
* @param {Callback<PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor> =} callback
|
|
3352
3137
|
**/
|
|
3353
3138
|
coreDescriptors: GenericStorageQuery<
|
|
3354
|
-
(arg:
|
|
3355
|
-
|
|
3139
|
+
(arg: PolkadotPrimitivesV7CoreIndex) => PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor,
|
|
3140
|
+
PolkadotPrimitivesV7CoreIndex
|
|
3356
3141
|
>;
|
|
3357
3142
|
|
|
3358
3143
|
/**
|
|
@@ -3707,22 +3492,9 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3707
3492
|
* Only relevant if this pallet is being used as the [`xcm_executor::traits::RecordXcm`]
|
|
3708
3493
|
* implementation in the XCM executor configuration.
|
|
3709
3494
|
*
|
|
3710
|
-
* @param {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
|
|
3495
|
+
* @param {Callback<StagingXcmV4Xcm | undefined> =} callback
|
|
3721
3496
|
**/
|
|
3722
|
-
|
|
3723
|
-
(arg: XcmVersionedLocation) => PalletXcmAuthorizedAliasesEntry | undefined,
|
|
3724
|
-
XcmVersionedLocation
|
|
3725
|
-
>;
|
|
3497
|
+
recordedXcm: GenericStorageQuery<() => StagingXcmV4Xcm | undefined>;
|
|
3726
3498
|
|
|
3727
3499
|
/**
|
|
3728
3500
|
* Generic pallet storage query
|
|
@@ -3915,219 +3687,6 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3915
3687
|
**/
|
|
3916
3688
|
key: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
3917
3689
|
|
|
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
3690
|
/**
|
|
4132
3691
|
* Generic pallet storage query
|
|
4133
3692
|
**/
|