@dedot/chaintypes 0.231.0 → 0.233.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/paseo/consts.d.ts +106 -18
- package/paseo/errors.d.ts +294 -42
- package/paseo/events.d.ts +753 -87
- package/paseo/index.d.ts +1 -1
- package/paseo/query.d.ts +556 -115
- package/paseo/runtime.d.ts +212 -91
- package/paseo/tx.d.ts +1188 -196
- package/paseo/types.d.ts +6894 -4909
- package/paseo/view-functions.d.ts +75 -1
package/paseo/query.d.ts
CHANGED
|
@@ -23,6 +23,7 @@ import type {
|
|
|
23
23
|
FrameSystemEventRecord,
|
|
24
24
|
FrameSystemLastRuntimeUpgradeInfo,
|
|
25
25
|
FrameSystemCodeUpgradeAuthorization,
|
|
26
|
+
SpWeightsWeightV2Weight,
|
|
26
27
|
PalletSchedulerScheduled,
|
|
27
28
|
PalletSchedulerRetryConfig,
|
|
28
29
|
PalletPreimageOldRequestStatus,
|
|
@@ -38,6 +39,7 @@ import type {
|
|
|
38
39
|
FrameSupportTokensMiscIdAmount,
|
|
39
40
|
FrameSupportTokensMiscIdAmountRuntimeFreezeReason,
|
|
40
41
|
PalletTransactionPaymentReleases,
|
|
42
|
+
FrameSupportStorageNoDrop,
|
|
41
43
|
PalletStakingStakingLedger,
|
|
42
44
|
PalletStakingRewardDestination,
|
|
43
45
|
PalletStakingValidatorPrefs,
|
|
@@ -53,6 +55,7 @@ import type {
|
|
|
53
55
|
PalletStakingSlashingSpanRecord,
|
|
54
56
|
SpStakingOffenceOffenceDetails,
|
|
55
57
|
PaseoRuntimeSessionKeys,
|
|
58
|
+
SpStakingOffenceOffenceSeverity,
|
|
56
59
|
SpCoreCryptoKeyTypeId,
|
|
57
60
|
PalletGrandpaStoredState,
|
|
58
61
|
PalletGrandpaStoredPendingChange,
|
|
@@ -62,8 +65,6 @@ import type {
|
|
|
62
65
|
PalletTreasurySpendStatus,
|
|
63
66
|
PalletConvictionVotingVoteVoting,
|
|
64
67
|
PalletReferendaReferendumInfo,
|
|
65
|
-
PaseoRuntimeRuntimeParametersValue,
|
|
66
|
-
PaseoRuntimeRuntimeParametersKey,
|
|
67
68
|
PolkadotRuntimeCommonClaimsStatementKind,
|
|
68
69
|
PalletVestingVestingInfo,
|
|
69
70
|
PalletVestingReleases,
|
|
@@ -86,23 +87,29 @@ import type {
|
|
|
86
87
|
PalletNominationPoolsSubPools,
|
|
87
88
|
PalletNominationPoolsClaimPermission,
|
|
88
89
|
PalletFastUnstakeUnstakeRequest,
|
|
90
|
+
PalletDelegatedStakingDelegation,
|
|
91
|
+
PalletDelegatedStakingAgentLedger,
|
|
92
|
+
PalletStakingAsyncRcClientValidatorSetReport,
|
|
93
|
+
PalletStakingAsyncAhClientOperatingMode,
|
|
94
|
+
PalletStakingAsyncRcClientSessionReport,
|
|
95
|
+
PalletStakingAsyncRcClientOffence,
|
|
89
96
|
PolkadotRuntimeParachainsConfigurationHostConfiguration,
|
|
90
|
-
|
|
91
|
-
|
|
97
|
+
PolkadotPrimitivesV8ValidatorIndex,
|
|
98
|
+
PolkadotPrimitivesV8ValidatorAppPublic,
|
|
92
99
|
PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker,
|
|
93
100
|
PolkadotRuntimeParachainsInclusionCandidatePendingAvailability,
|
|
94
101
|
PolkadotParachainPrimitivesPrimitivesId,
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
PolkadotRuntimeParachainsSchedulerPalletParasEntry,
|
|
102
|
+
PolkadotPrimitivesVstagingScrapedOnChainVotes,
|
|
103
|
+
PolkadotPrimitivesV8CoreIndex,
|
|
104
|
+
PolkadotRuntimeParachainsSchedulerCommonAssignment,
|
|
99
105
|
PolkadotRuntimeParachainsParasPvfCheckActiveVoteState,
|
|
100
106
|
PolkadotParachainPrimitivesPrimitivesValidationCodeHash,
|
|
101
107
|
PolkadotRuntimeParachainsParasParaLifecycle,
|
|
102
108
|
PolkadotParachainPrimitivesPrimitivesHeadData,
|
|
103
109
|
PolkadotRuntimeParachainsParasParaPastCodeMeta,
|
|
104
|
-
|
|
105
|
-
|
|
110
|
+
PolkadotRuntimeParachainsParasAuthorizedCodeHashAndExpiry,
|
|
111
|
+
PolkadotPrimitivesV8UpgradeGoAhead,
|
|
112
|
+
PolkadotPrimitivesV8UpgradeRestriction,
|
|
106
113
|
PolkadotRuntimeParachainsParasParaGenesisArgs,
|
|
107
114
|
PolkadotParachainPrimitivesPrimitivesValidationCode,
|
|
108
115
|
PolkadotRuntimeParachainsInitializerBufferedSessionChange,
|
|
@@ -111,14 +118,14 @@ import type {
|
|
|
111
118
|
PolkadotParachainPrimitivesPrimitivesHrmpChannelId,
|
|
112
119
|
PolkadotRuntimeParachainsHrmpHrmpChannel,
|
|
113
120
|
PolkadotCorePrimitivesInboundHrmpMessage,
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
121
|
+
PolkadotPrimitivesV8AssignmentAppPublic,
|
|
122
|
+
PolkadotPrimitivesV8SessionInfo,
|
|
123
|
+
PolkadotPrimitivesV8ExecutorParams,
|
|
124
|
+
PolkadotPrimitivesV8DisputeState,
|
|
118
125
|
PolkadotCorePrimitivesCandidateHash,
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
126
|
+
PolkadotPrimitivesVstagingPendingSlashes,
|
|
127
|
+
PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount,
|
|
128
|
+
PolkadotRuntimeParachainsOnDemandTypesQueueStatusType,
|
|
122
129
|
BinaryHeapEnqueuedOrder,
|
|
123
130
|
PolkadotRuntimeParachainsAssignerCoretimeSchedule,
|
|
124
131
|
PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor,
|
|
@@ -128,17 +135,25 @@ import type {
|
|
|
128
135
|
PalletStateTrieMigrationMigrationLimits,
|
|
129
136
|
PalletXcmQueryStatus,
|
|
130
137
|
XcmVersionedLocation,
|
|
131
|
-
SpWeightsWeightV2Weight,
|
|
132
138
|
PalletXcmVersionMigrationStage,
|
|
133
139
|
PalletXcmRemoteLockedFungibleRecord,
|
|
134
140
|
XcmVersionedAssetId,
|
|
135
|
-
|
|
141
|
+
StagingXcmV5Xcm,
|
|
142
|
+
PalletXcmAuthorizedAliasesEntry,
|
|
136
143
|
PalletMessageQueueBookState,
|
|
137
144
|
PolkadotRuntimeParachainsInclusionAggregateMessageOrigin,
|
|
138
145
|
PalletMessageQueuePage,
|
|
139
146
|
PolkadotRuntimeCommonImplsVersionedLocatableAsset,
|
|
140
147
|
SpConsensusBeefyEcdsaCryptoPublic,
|
|
141
148
|
SpConsensusBeefyMmrBeefyAuthoritySet,
|
|
149
|
+
PalletRcMigratorMigrationStage,
|
|
150
|
+
PalletRcMigratorAccountsAccountState,
|
|
151
|
+
PalletRcMigratorAccountsMigratedBalances,
|
|
152
|
+
PalletRcMigratorQueuePriority,
|
|
153
|
+
FrameSupportScheduleDispatchTime,
|
|
154
|
+
PalletRcMigratorMigrationSettings,
|
|
155
|
+
PaseoRuntimeRuntimeCall,
|
|
156
|
+
PaseoRuntimeRuntimeCallLike,
|
|
142
157
|
} from './types.js';
|
|
143
158
|
|
|
144
159
|
export interface ChainStorage extends GenericChainStorage {
|
|
@@ -292,6 +307,19 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
292
307
|
**/
|
|
293
308
|
authorizedUpgrade: GenericStorageQuery<() => FrameSystemCodeUpgradeAuthorization | undefined>;
|
|
294
309
|
|
|
310
|
+
/**
|
|
311
|
+
* The weight reclaimed for the extrinsic.
|
|
312
|
+
*
|
|
313
|
+
* This information is available until the end of the extrinsic execution.
|
|
314
|
+
* More precisely this information is removed in `note_applied_extrinsic`.
|
|
315
|
+
*
|
|
316
|
+
* Logic doing some post dispatch weight reduction must update this storage to avoid duplicate
|
|
317
|
+
* reduction.
|
|
318
|
+
*
|
|
319
|
+
* @param {Callback<SpWeightsWeightV2Weight> =} callback
|
|
320
|
+
**/
|
|
321
|
+
extrinsicWeightReclaimed: GenericStorageQuery<() => SpWeightsWeightV2Weight>;
|
|
322
|
+
|
|
295
323
|
/**
|
|
296
324
|
* Generic pallet storage query
|
|
297
325
|
**/
|
|
@@ -302,6 +330,7 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
302
330
|
**/
|
|
303
331
|
scheduler: {
|
|
304
332
|
/**
|
|
333
|
+
* Block number at which the agenda began incomplete execution.
|
|
305
334
|
*
|
|
306
335
|
* @param {Callback<number | undefined> =} callback
|
|
307
336
|
**/
|
|
@@ -348,6 +377,8 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
348
377
|
*
|
|
349
378
|
* @param {H256} arg
|
|
350
379
|
* @param {Callback<PalletPreimageOldRequestStatus | undefined> =} callback
|
|
380
|
+
*
|
|
381
|
+
* @deprecated RequestStatusFor
|
|
351
382
|
**/
|
|
352
383
|
statusFor: GenericStorageQuery<(arg: H256) => PalletPreimageOldRequestStatus | undefined, H256>;
|
|
353
384
|
|
|
@@ -692,6 +723,15 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
692
723
|
**/
|
|
693
724
|
storageVersion: GenericStorageQuery<() => PalletTransactionPaymentReleases>;
|
|
694
725
|
|
|
726
|
+
/**
|
|
727
|
+
* The `OnChargeTransaction` stores the withdrawn tx fee here.
|
|
728
|
+
*
|
|
729
|
+
* Use `withdraw_txfee` and `remaining_txfee` to access from outside the crate.
|
|
730
|
+
*
|
|
731
|
+
* @param {Callback<FrameSupportStorageNoDrop | undefined> =} callback
|
|
732
|
+
**/
|
|
733
|
+
txPaymentCredit: GenericStorageQuery<() => FrameSupportStorageNoDrop | undefined>;
|
|
734
|
+
|
|
695
735
|
/**
|
|
696
736
|
* Generic pallet storage query
|
|
697
737
|
**/
|
|
@@ -1161,19 +1201,6 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
1161
1201
|
**/
|
|
1162
1202
|
currentPlannedSession: GenericStorageQuery<() => number>;
|
|
1163
1203
|
|
|
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
|
-
|
|
1177
1204
|
/**
|
|
1178
1205
|
* The threshold for when users can start calling `chill_other` for other validators /
|
|
1179
1206
|
* nominators. The threshold is compared to the actual number of validators / nominators
|
|
@@ -1281,9 +1308,9 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
1281
1308
|
* disabled using binary search. It gets cleared when `on_session_ending` returns
|
|
1282
1309
|
* a new set of identities.
|
|
1283
1310
|
*
|
|
1284
|
-
* @param {Callback<Array<number>> =} callback
|
|
1311
|
+
* @param {Callback<Array<[number, SpStakingOffenceOffenceSeverity]>> =} callback
|
|
1285
1312
|
**/
|
|
1286
|
-
disabledValidators: GenericStorageQuery<() => Array<number>>;
|
|
1313
|
+
disabledValidators: GenericStorageQuery<() => Array<[number, SpStakingOffenceOffenceSeverity]>>;
|
|
1287
1314
|
|
|
1288
1315
|
/**
|
|
1289
1316
|
* The next session keys for a validator.
|
|
@@ -1406,6 +1433,9 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
1406
1433
|
**/
|
|
1407
1434
|
treasury: {
|
|
1408
1435
|
/**
|
|
1436
|
+
* DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
|
|
1437
|
+
* Refer to <https://github.com/paritytech/polkadot-sdk/pull/5961> for migration to `spend`.
|
|
1438
|
+
*
|
|
1409
1439
|
* Number of proposals that have been made.
|
|
1410
1440
|
*
|
|
1411
1441
|
* @param {Callback<number> =} callback
|
|
@@ -1413,6 +1443,9 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
1413
1443
|
proposalCount: GenericStorageQuery<() => number>;
|
|
1414
1444
|
|
|
1415
1445
|
/**
|
|
1446
|
+
* DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
|
|
1447
|
+
* Refer to <https://github.com/paritytech/polkadot-sdk/pull/5961> for migration to `spend`.
|
|
1448
|
+
*
|
|
1416
1449
|
* Proposals that have been made.
|
|
1417
1450
|
*
|
|
1418
1451
|
* @param {number} arg
|
|
@@ -1428,6 +1461,9 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
1428
1461
|
deactivated: GenericStorageQuery<() => bigint>;
|
|
1429
1462
|
|
|
1430
1463
|
/**
|
|
1464
|
+
* DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
|
|
1465
|
+
* Refer to <https://github.com/paritytech/polkadot-sdk/pull/5961> for migration to `spend`.
|
|
1466
|
+
*
|
|
1431
1467
|
* Proposal indices that have been approved but not yet awarded.
|
|
1432
1468
|
*
|
|
1433
1469
|
* @param {Callback<Array<number>> =} callback
|
|
@@ -1449,6 +1485,13 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
1449
1485
|
**/
|
|
1450
1486
|
spends: GenericStorageQuery<(arg: number) => PalletTreasurySpendStatus | undefined, number>;
|
|
1451
1487
|
|
|
1488
|
+
/**
|
|
1489
|
+
* The blocknumber for the last triggered spend period.
|
|
1490
|
+
*
|
|
1491
|
+
* @param {Callback<number | undefined> =} callback
|
|
1492
|
+
**/
|
|
1493
|
+
lastSpendPeriod: GenericStorageQuery<() => number | undefined>;
|
|
1494
|
+
|
|
1452
1495
|
/**
|
|
1453
1496
|
* Generic pallet storage query
|
|
1454
1497
|
**/
|
|
@@ -1557,26 +1600,6 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
1557
1600
|
**/
|
|
1558
1601
|
[storage: string]: GenericStorageQuery;
|
|
1559
1602
|
};
|
|
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
|
-
};
|
|
1580
1603
|
/**
|
|
1581
1604
|
* Pallet `Claims`'s storage queries
|
|
1582
1605
|
**/
|
|
@@ -1745,14 +1768,15 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
1745
1768
|
**/
|
|
1746
1769
|
childBounties: {
|
|
1747
1770
|
/**
|
|
1748
|
-
*
|
|
1771
|
+
* DEPRECATED: Replaced with `ParentTotalChildBounties` storage item keeping dedicated counts
|
|
1772
|
+
* for each parent bounty. Number of total child bounties. Will be removed in May 2025.
|
|
1749
1773
|
*
|
|
1750
1774
|
* @param {Callback<number> =} callback
|
|
1751
1775
|
**/
|
|
1752
1776
|
childBountyCount: GenericStorageQuery<() => number>;
|
|
1753
1777
|
|
|
1754
1778
|
/**
|
|
1755
|
-
* Number of child bounties per parent bounty.
|
|
1779
|
+
* Number of active child bounties per parent bounty.
|
|
1756
1780
|
* Map of parent bounty index to number of child bounties.
|
|
1757
1781
|
*
|
|
1758
1782
|
* @param {number} arg
|
|
@@ -1760,6 +1784,14 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
1760
1784
|
**/
|
|
1761
1785
|
parentChildBounties: GenericStorageQuery<(arg: number) => number, number>;
|
|
1762
1786
|
|
|
1787
|
+
/**
|
|
1788
|
+
* Number of total child bounties per parent bounty, including completed bounties.
|
|
1789
|
+
*
|
|
1790
|
+
* @param {number} arg
|
|
1791
|
+
* @param {Callback<number> =} callback
|
|
1792
|
+
**/
|
|
1793
|
+
parentTotalChildBounties: GenericStorageQuery<(arg: number) => number, number>;
|
|
1794
|
+
|
|
1763
1795
|
/**
|
|
1764
1796
|
* Child bounties that have been added.
|
|
1765
1797
|
*
|
|
@@ -1772,12 +1804,26 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
1772
1804
|
>;
|
|
1773
1805
|
|
|
1774
1806
|
/**
|
|
1775
|
-
* The description of each child-bounty.
|
|
1807
|
+
* The description of each child-bounty. Indexed by `(parent_id, child_id)`.
|
|
1776
1808
|
*
|
|
1777
|
-
*
|
|
1809
|
+
* This item replaces the `ChildBountyDescriptions` storage item from the V0 storage version.
|
|
1810
|
+
*
|
|
1811
|
+
* @param {[number, number]} arg
|
|
1778
1812
|
* @param {Callback<Bytes | undefined> =} callback
|
|
1779
1813
|
**/
|
|
1780
|
-
|
|
1814
|
+
childBountyDescriptionsV1: GenericStorageQuery<(arg: [number, number]) => Bytes | undefined, [number, number]>;
|
|
1815
|
+
|
|
1816
|
+
/**
|
|
1817
|
+
* The mapping of the child bounty ids from storage version `V0` to the new `V1` version.
|
|
1818
|
+
*
|
|
1819
|
+
* The `V0` ids based on total child bounty count [`ChildBountyCount`]`. The `V1` version ids
|
|
1820
|
+
* based on the child bounty count per parent bounty [`ParentTotalChildBounties`].
|
|
1821
|
+
* The item intended solely for client convenience and not used in the pallet's core logic.
|
|
1822
|
+
*
|
|
1823
|
+
* @param {number} arg
|
|
1824
|
+
* @param {Callback<[number, number] | undefined> =} callback
|
|
1825
|
+
**/
|
|
1826
|
+
v0ToV1ChildBountyIds: GenericStorageQuery<(arg: number) => [number, number] | undefined, number>;
|
|
1781
1827
|
|
|
1782
1828
|
/**
|
|
1783
1829
|
* The cumulative child-bounty curator fee for each parent bounty.
|
|
@@ -1944,6 +1990,24 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
1944
1990
|
**/
|
|
1945
1991
|
listBags: GenericStorageQuery<(arg: bigint) => PalletBagsListListBag | undefined, bigint>;
|
|
1946
1992
|
|
|
1993
|
+
/**
|
|
1994
|
+
* Pointer that remembers the next node that will be auto-rebagged.
|
|
1995
|
+
* When `None`, the next scan will start from the list head again.
|
|
1996
|
+
*
|
|
1997
|
+
* @param {Callback<AccountId32 | undefined> =} callback
|
|
1998
|
+
**/
|
|
1999
|
+
nextNodeAutoRebagged: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
2000
|
+
|
|
2001
|
+
/**
|
|
2002
|
+
* Lock all updates to this pallet.
|
|
2003
|
+
*
|
|
2004
|
+
* If any nodes needs updating, removal or addition due to a temporary lock, the
|
|
2005
|
+
* [`Call::rebag`] can be used.
|
|
2006
|
+
*
|
|
2007
|
+
* @param {Callback<[] | undefined> =} callback
|
|
2008
|
+
**/
|
|
2009
|
+
lock: GenericStorageQuery<() => [] | undefined>;
|
|
2010
|
+
|
|
1947
2011
|
/**
|
|
1948
2012
|
* Generic pallet storage query
|
|
1949
2013
|
**/
|
|
@@ -2186,6 +2250,149 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
2186
2250
|
**/
|
|
2187
2251
|
[storage: string]: GenericStorageQuery;
|
|
2188
2252
|
};
|
|
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
|
+
};
|
|
2189
2396
|
/**
|
|
2190
2397
|
* Pallet `Configuration`'s storage queries
|
|
2191
2398
|
**/
|
|
@@ -2238,17 +2445,17 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
2238
2445
|
* All the validators actively participating in parachain consensus.
|
|
2239
2446
|
* Indices are into the broader validator set.
|
|
2240
2447
|
*
|
|
2241
|
-
* @param {Callback<Array<
|
|
2448
|
+
* @param {Callback<Array<PolkadotPrimitivesV8ValidatorIndex>> =} callback
|
|
2242
2449
|
**/
|
|
2243
|
-
activeValidatorIndices: GenericStorageQuery<() => Array<
|
|
2450
|
+
activeValidatorIndices: GenericStorageQuery<() => Array<PolkadotPrimitivesV8ValidatorIndex>>;
|
|
2244
2451
|
|
|
2245
2452
|
/**
|
|
2246
2453
|
* The parachain attestation keys of the validators actively participating in parachain
|
|
2247
2454
|
* consensus. This should be the same length as `ActiveValidatorIndices`.
|
|
2248
2455
|
*
|
|
2249
|
-
* @param {Callback<Array<
|
|
2456
|
+
* @param {Callback<Array<PolkadotPrimitivesV8ValidatorAppPublic>> =} callback
|
|
2250
2457
|
**/
|
|
2251
|
-
activeValidatorKeys: GenericStorageQuery<() => Array<
|
|
2458
|
+
activeValidatorKeys: GenericStorageQuery<() => Array<PolkadotPrimitivesV8ValidatorAppPublic>>;
|
|
2252
2459
|
|
|
2253
2460
|
/**
|
|
2254
2461
|
* All allowed relay-parents.
|
|
@@ -2307,9 +2514,9 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
2307
2514
|
/**
|
|
2308
2515
|
* Scraped on chain data for extracting resolved disputes as well as backing votes.
|
|
2309
2516
|
*
|
|
2310
|
-
* @param {Callback<
|
|
2517
|
+
* @param {Callback<PolkadotPrimitivesVstagingScrapedOnChainVotes | undefined> =} callback
|
|
2311
2518
|
**/
|
|
2312
|
-
onChainVotes: GenericStorageQuery<() =>
|
|
2519
|
+
onChainVotes: GenericStorageQuery<() => PolkadotPrimitivesVstagingScrapedOnChainVotes | undefined>;
|
|
2313
2520
|
|
|
2314
2521
|
/**
|
|
2315
2522
|
* Generic pallet storage query
|
|
@@ -2329,21 +2536,9 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
2329
2536
|
* multiplexers. Reasonably, 100-1000. The dominant factor is the number of validators: safe
|
|
2330
2537
|
* upper bound at 10k.
|
|
2331
2538
|
*
|
|
2332
|
-
* @param {Callback<Array<Array<
|
|
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
|
|
2539
|
+
* @param {Callback<Array<Array<PolkadotPrimitivesV8ValidatorIndex>>> =} callback
|
|
2345
2540
|
**/
|
|
2346
|
-
|
|
2541
|
+
validatorGroups: GenericStorageQuery<() => Array<Array<PolkadotPrimitivesV8ValidatorIndex>>>;
|
|
2347
2542
|
|
|
2348
2543
|
/**
|
|
2349
2544
|
* The block number where the session start occurred. Used to track how many group rotations
|
|
@@ -2360,13 +2555,12 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
2360
2555
|
|
|
2361
2556
|
/**
|
|
2362
2557
|
* One entry for each availability core. The `VecDeque` represents the assignments to be
|
|
2363
|
-
* scheduled on that core.
|
|
2364
|
-
* a block. Runtime APIs should be used to determine scheduled cores for the upcoming block.
|
|
2558
|
+
* scheduled on that core.
|
|
2365
2559
|
*
|
|
2366
|
-
* @param {Callback<Array<[
|
|
2560
|
+
* @param {Callback<Array<[PolkadotPrimitivesV8CoreIndex, Array<PolkadotRuntimeParachainsSchedulerCommonAssignment>]>> =} callback
|
|
2367
2561
|
**/
|
|
2368
2562
|
claimQueue: GenericStorageQuery<
|
|
2369
|
-
() => Array<[
|
|
2563
|
+
() => Array<[PolkadotPrimitivesV8CoreIndex, Array<PolkadotRuntimeParachainsSchedulerCommonAssignment>]>
|
|
2370
2564
|
>;
|
|
2371
2565
|
|
|
2372
2566
|
/**
|
|
@@ -2543,6 +2737,19 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
2543
2737
|
PolkadotParachainPrimitivesPrimitivesId
|
|
2544
2738
|
>;
|
|
2545
2739
|
|
|
2740
|
+
/**
|
|
2741
|
+
* The code hash authorizations for a para which will expire `expire_at` `BlockNumberFor<T>`.
|
|
2742
|
+
*
|
|
2743
|
+
* @param {PolkadotParachainPrimitivesPrimitivesId} arg
|
|
2744
|
+
* @param {Callback<PolkadotRuntimeParachainsParasAuthorizedCodeHashAndExpiry | undefined> =} callback
|
|
2745
|
+
**/
|
|
2746
|
+
authorizedCodeHash: GenericStorageQuery<
|
|
2747
|
+
(
|
|
2748
|
+
arg: PolkadotParachainPrimitivesPrimitivesId,
|
|
2749
|
+
) => PolkadotRuntimeParachainsParasAuthorizedCodeHashAndExpiry | undefined,
|
|
2750
|
+
PolkadotParachainPrimitivesPrimitivesId
|
|
2751
|
+
>;
|
|
2752
|
+
|
|
2546
2753
|
/**
|
|
2547
2754
|
* This is used by the relay-chain to communicate to a parachain a go-ahead with in the upgrade
|
|
2548
2755
|
* procedure.
|
|
@@ -2556,10 +2763,10 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
2556
2763
|
* the format will require migration of parachains.
|
|
2557
2764
|
*
|
|
2558
2765
|
* @param {PolkadotParachainPrimitivesPrimitivesId} arg
|
|
2559
|
-
* @param {Callback<
|
|
2766
|
+
* @param {Callback<PolkadotPrimitivesV8UpgradeGoAhead | undefined> =} callback
|
|
2560
2767
|
**/
|
|
2561
2768
|
upgradeGoAheadSignal: GenericStorageQuery<
|
|
2562
|
-
(arg: PolkadotParachainPrimitivesPrimitivesId) =>
|
|
2769
|
+
(arg: PolkadotParachainPrimitivesPrimitivesId) => PolkadotPrimitivesV8UpgradeGoAhead | undefined,
|
|
2563
2770
|
PolkadotParachainPrimitivesPrimitivesId
|
|
2564
2771
|
>;
|
|
2565
2772
|
|
|
@@ -2575,10 +2782,10 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
2575
2782
|
* the format will require migration of parachains.
|
|
2576
2783
|
*
|
|
2577
2784
|
* @param {PolkadotParachainPrimitivesPrimitivesId} arg
|
|
2578
|
-
* @param {Callback<
|
|
2785
|
+
* @param {Callback<PolkadotPrimitivesV8UpgradeRestriction | undefined> =} callback
|
|
2579
2786
|
**/
|
|
2580
2787
|
upgradeRestrictionSignal: GenericStorageQuery<
|
|
2581
|
-
(arg: PolkadotParachainPrimitivesPrimitivesId) =>
|
|
2788
|
+
(arg: PolkadotParachainPrimitivesPrimitivesId) => PolkadotPrimitivesV8UpgradeRestriction | undefined,
|
|
2582
2789
|
PolkadotParachainPrimitivesPrimitivesId
|
|
2583
2790
|
>;
|
|
2584
2791
|
|
|
@@ -2676,7 +2883,7 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
2676
2883
|
hasInitialized: GenericStorageQuery<() => [] | undefined>;
|
|
2677
2884
|
|
|
2678
2885
|
/**
|
|
2679
|
-
* Buffered session changes
|
|
2886
|
+
* Buffered session changes.
|
|
2680
2887
|
*
|
|
2681
2888
|
* Typically this will be empty or one element long. Apart from that this item never hits
|
|
2682
2889
|
* the storage.
|
|
@@ -2920,9 +3127,9 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
2920
3127
|
* Note that this API is private due to it being prone to 'off-by-one' at session boundaries.
|
|
2921
3128
|
* When in doubt, use `Sessions` API instead.
|
|
2922
3129
|
*
|
|
2923
|
-
* @param {Callback<Array<
|
|
3130
|
+
* @param {Callback<Array<PolkadotPrimitivesV8AssignmentAppPublic>> =} callback
|
|
2924
3131
|
**/
|
|
2925
|
-
assignmentKeysUnsafe: GenericStorageQuery<() => Array<
|
|
3132
|
+
assignmentKeysUnsafe: GenericStorageQuery<() => Array<PolkadotPrimitivesV8AssignmentAppPublic>>;
|
|
2926
3133
|
|
|
2927
3134
|
/**
|
|
2928
3135
|
* The earliest session for which previous session info is stored.
|
|
@@ -2937,9 +3144,9 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
2937
3144
|
* Does not have any entries before the session index in the first session change notification.
|
|
2938
3145
|
*
|
|
2939
3146
|
* @param {number} arg
|
|
2940
|
-
* @param {Callback<
|
|
3147
|
+
* @param {Callback<PolkadotPrimitivesV8SessionInfo | undefined> =} callback
|
|
2941
3148
|
**/
|
|
2942
|
-
sessions: GenericStorageQuery<(arg: number) =>
|
|
3149
|
+
sessions: GenericStorageQuery<(arg: number) => PolkadotPrimitivesV8SessionInfo | undefined, number>;
|
|
2943
3150
|
|
|
2944
3151
|
/**
|
|
2945
3152
|
* The validator account keys of the validators actively participating in parachain consensus.
|
|
@@ -2953,9 +3160,9 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
2953
3160
|
* Executor parameter set for a given session index
|
|
2954
3161
|
*
|
|
2955
3162
|
* @param {number} arg
|
|
2956
|
-
* @param {Callback<
|
|
3163
|
+
* @param {Callback<PolkadotPrimitivesV8ExecutorParams | undefined> =} callback
|
|
2957
3164
|
**/
|
|
2958
|
-
sessionExecutorParams: GenericStorageQuery<(arg: number) =>
|
|
3165
|
+
sessionExecutorParams: GenericStorageQuery<(arg: number) => PolkadotPrimitivesV8ExecutorParams | undefined, number>;
|
|
2959
3166
|
|
|
2960
3167
|
/**
|
|
2961
3168
|
* Generic pallet storage query
|
|
@@ -2978,10 +3185,10 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
2978
3185
|
* All ongoing or concluded disputes for the last several sessions.
|
|
2979
3186
|
*
|
|
2980
3187
|
* @param {[number, PolkadotCorePrimitivesCandidateHash]} arg
|
|
2981
|
-
* @param {Callback<
|
|
3188
|
+
* @param {Callback<PolkadotPrimitivesV8DisputeState | undefined> =} callback
|
|
2982
3189
|
**/
|
|
2983
3190
|
disputes: GenericStorageQuery<
|
|
2984
|
-
(arg: [number, PolkadotCorePrimitivesCandidateHash]) =>
|
|
3191
|
+
(arg: [number, PolkadotCorePrimitivesCandidateHash]) => PolkadotPrimitivesV8DisputeState | undefined,
|
|
2985
3192
|
[number, PolkadotCorePrimitivesCandidateHash]
|
|
2986
3193
|
>;
|
|
2987
3194
|
|
|
@@ -2990,10 +3197,10 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
2990
3197
|
* This storage is used for slashing.
|
|
2991
3198
|
*
|
|
2992
3199
|
* @param {[number, PolkadotCorePrimitivesCandidateHash]} arg
|
|
2993
|
-
* @param {Callback<Array<
|
|
3200
|
+
* @param {Callback<Array<PolkadotPrimitivesV8ValidatorIndex> | undefined> =} callback
|
|
2994
3201
|
**/
|
|
2995
3202
|
backersOnDisputes: GenericStorageQuery<
|
|
2996
|
-
(arg: [number, PolkadotCorePrimitivesCandidateHash]) => Array<
|
|
3203
|
+
(arg: [number, PolkadotCorePrimitivesCandidateHash]) => Array<PolkadotPrimitivesV8ValidatorIndex> | undefined,
|
|
2997
3204
|
[number, PolkadotCorePrimitivesCandidateHash]
|
|
2998
3205
|
>;
|
|
2999
3206
|
|
|
@@ -3032,10 +3239,10 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3032
3239
|
* Validators pending dispute slashes.
|
|
3033
3240
|
*
|
|
3034
3241
|
* @param {[number, PolkadotCorePrimitivesCandidateHash]} arg
|
|
3035
|
-
* @param {Callback<
|
|
3242
|
+
* @param {Callback<PolkadotPrimitivesVstagingPendingSlashes | undefined> =} callback
|
|
3036
3243
|
**/
|
|
3037
3244
|
unappliedSlashes: GenericStorageQuery<
|
|
3038
|
-
(arg: [number, PolkadotCorePrimitivesCandidateHash]) =>
|
|
3245
|
+
(arg: [number, PolkadotCorePrimitivesCandidateHash]) => PolkadotPrimitivesVstagingPendingSlashes | undefined,
|
|
3039
3246
|
[number, PolkadotCorePrimitivesCandidateHash]
|
|
3040
3247
|
>;
|
|
3041
3248
|
|
|
@@ -3062,21 +3269,21 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3062
3269
|
* `ParaId` on two or more `CoreIndex`es.
|
|
3063
3270
|
*
|
|
3064
3271
|
* @param {PolkadotParachainPrimitivesPrimitivesId} arg
|
|
3065
|
-
* @param {Callback<
|
|
3272
|
+
* @param {Callback<PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount | undefined> =} callback
|
|
3066
3273
|
**/
|
|
3067
3274
|
paraIdAffinity: GenericStorageQuery<
|
|
3068
3275
|
(
|
|
3069
3276
|
arg: PolkadotParachainPrimitivesPrimitivesId,
|
|
3070
|
-
) =>
|
|
3277
|
+
) => PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount | undefined,
|
|
3071
3278
|
PolkadotParachainPrimitivesPrimitivesId
|
|
3072
3279
|
>;
|
|
3073
3280
|
|
|
3074
3281
|
/**
|
|
3075
3282
|
* Overall status of queue (both free + affinity entries)
|
|
3076
3283
|
*
|
|
3077
|
-
* @param {Callback<
|
|
3284
|
+
* @param {Callback<PolkadotRuntimeParachainsOnDemandTypesQueueStatusType> =} callback
|
|
3078
3285
|
**/
|
|
3079
|
-
queueStatus: GenericStorageQuery<() =>
|
|
3286
|
+
queueStatus: GenericStorageQuery<() => PolkadotRuntimeParachainsOnDemandTypesQueueStatusType>;
|
|
3080
3287
|
|
|
3081
3288
|
/**
|
|
3082
3289
|
* Priority queue for all orders which don't yet (or not any more) have any core affinity.
|
|
@@ -3088,12 +3295,12 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3088
3295
|
/**
|
|
3089
3296
|
* Queue entries that are currently bound to a particular core due to core affinity.
|
|
3090
3297
|
*
|
|
3091
|
-
* @param {
|
|
3298
|
+
* @param {PolkadotPrimitivesV8CoreIndex} arg
|
|
3092
3299
|
* @param {Callback<BinaryHeapEnqueuedOrder> =} callback
|
|
3093
3300
|
**/
|
|
3094
3301
|
affinityEntries: GenericStorageQuery<
|
|
3095
|
-
(arg:
|
|
3096
|
-
|
|
3302
|
+
(arg: PolkadotPrimitivesV8CoreIndex) => BinaryHeapEnqueuedOrder,
|
|
3303
|
+
PolkadotPrimitivesV8CoreIndex
|
|
3097
3304
|
>;
|
|
3098
3305
|
|
|
3099
3306
|
/**
|
|
@@ -3103,6 +3310,14 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3103
3310
|
**/
|
|
3104
3311
|
revenue: GenericStorageQuery<() => Array<bigint>>;
|
|
3105
3312
|
|
|
3313
|
+
/**
|
|
3314
|
+
* Keeps track of credits owned by each account.
|
|
3315
|
+
*
|
|
3316
|
+
* @param {AccountId32Like} arg
|
|
3317
|
+
* @param {Callback<bigint> =} callback
|
|
3318
|
+
**/
|
|
3319
|
+
credits: GenericStorageQuery<(arg: AccountId32Like) => bigint, AccountId32>;
|
|
3320
|
+
|
|
3106
3321
|
/**
|
|
3107
3322
|
* Generic pallet storage query
|
|
3108
3323
|
**/
|
|
@@ -3118,12 +3333,12 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3118
3333
|
* Assignments as of the given block number. They will go into state once the block number is
|
|
3119
3334
|
* reached (and replace whatever was in there before).
|
|
3120
3335
|
*
|
|
3121
|
-
* @param {[number,
|
|
3336
|
+
* @param {[number, PolkadotPrimitivesV8CoreIndex]} arg
|
|
3122
3337
|
* @param {Callback<PolkadotRuntimeParachainsAssignerCoretimeSchedule | undefined> =} callback
|
|
3123
3338
|
**/
|
|
3124
3339
|
coreSchedules: GenericStorageQuery<
|
|
3125
|
-
(arg: [number,
|
|
3126
|
-
[number,
|
|
3340
|
+
(arg: [number, PolkadotPrimitivesV8CoreIndex]) => PolkadotRuntimeParachainsAssignerCoretimeSchedule | undefined,
|
|
3341
|
+
[number, PolkadotPrimitivesV8CoreIndex]
|
|
3127
3342
|
>;
|
|
3128
3343
|
|
|
3129
3344
|
/**
|
|
@@ -3132,12 +3347,12 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3132
3347
|
* They will be picked from `PendingAssignments` once we reach the scheduled block number in
|
|
3133
3348
|
* `PendingAssignments`.
|
|
3134
3349
|
*
|
|
3135
|
-
* @param {
|
|
3350
|
+
* @param {PolkadotPrimitivesV8CoreIndex} arg
|
|
3136
3351
|
* @param {Callback<PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor> =} callback
|
|
3137
3352
|
**/
|
|
3138
3353
|
coreDescriptors: GenericStorageQuery<
|
|
3139
|
-
(arg:
|
|
3140
|
-
|
|
3354
|
+
(arg: PolkadotPrimitivesV8CoreIndex) => PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor,
|
|
3355
|
+
PolkadotPrimitivesV8CoreIndex
|
|
3141
3356
|
>;
|
|
3142
3357
|
|
|
3143
3358
|
/**
|
|
@@ -3492,9 +3707,22 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3492
3707
|
* Only relevant if this pallet is being used as the [`xcm_executor::traits::RecordXcm`]
|
|
3493
3708
|
* implementation in the XCM executor configuration.
|
|
3494
3709
|
*
|
|
3495
|
-
* @param {Callback<
|
|
3710
|
+
* @param {Callback<StagingXcmV5Xcm | undefined> =} callback
|
|
3711
|
+
**/
|
|
3712
|
+
recordedXcm: GenericStorageQuery<() => StagingXcmV5Xcm | undefined>;
|
|
3713
|
+
|
|
3714
|
+
/**
|
|
3715
|
+
* Map of authorized aliasers of local origins. Each local location can authorize a list of
|
|
3716
|
+
* other locations to alias into it. Each aliaser is only valid until its inner `expiry`
|
|
3717
|
+
* block number.
|
|
3718
|
+
*
|
|
3719
|
+
* @param {XcmVersionedLocation} arg
|
|
3720
|
+
* @param {Callback<PalletXcmAuthorizedAliasesEntry | undefined> =} callback
|
|
3496
3721
|
**/
|
|
3497
|
-
|
|
3722
|
+
authorizedAliases: GenericStorageQuery<
|
|
3723
|
+
(arg: XcmVersionedLocation) => PalletXcmAuthorizedAliasesEntry | undefined,
|
|
3724
|
+
XcmVersionedLocation
|
|
3725
|
+
>;
|
|
3498
3726
|
|
|
3499
3727
|
/**
|
|
3500
3728
|
* Generic pallet storage query
|
|
@@ -3687,6 +3915,219 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3687
3915
|
**/
|
|
3688
3916
|
key: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
3689
3917
|
|
|
3918
|
+
/**
|
|
3919
|
+
* Generic pallet storage query
|
|
3920
|
+
**/
|
|
3921
|
+
[storage: string]: GenericStorageQuery;
|
|
3922
|
+
};
|
|
3923
|
+
/**
|
|
3924
|
+
* Pallet `RcMigrator`'s storage queries
|
|
3925
|
+
**/
|
|
3926
|
+
rcMigrator: {
|
|
3927
|
+
/**
|
|
3928
|
+
* The Relay Chain migration state.
|
|
3929
|
+
*
|
|
3930
|
+
* @param {Callback<PalletRcMigratorMigrationStage> =} callback
|
|
3931
|
+
**/
|
|
3932
|
+
rcMigrationStage: GenericStorageQuery<() => PalletRcMigratorMigrationStage>;
|
|
3933
|
+
|
|
3934
|
+
/**
|
|
3935
|
+
* Helper storage item to obtain and store the known accounts that should be kept partially or
|
|
3936
|
+
* fully on Relay Chain.
|
|
3937
|
+
*
|
|
3938
|
+
* @param {AccountId32Like} arg
|
|
3939
|
+
* @param {Callback<PalletRcMigratorAccountsAccountState | undefined> =} callback
|
|
3940
|
+
**/
|
|
3941
|
+
rcAccounts: GenericStorageQuery<
|
|
3942
|
+
(arg: AccountId32Like) => PalletRcMigratorAccountsAccountState | undefined,
|
|
3943
|
+
AccountId32
|
|
3944
|
+
>;
|
|
3945
|
+
|
|
3946
|
+
/**
|
|
3947
|
+
* Counter for the related counted storage map
|
|
3948
|
+
*
|
|
3949
|
+
* @param {Callback<number> =} callback
|
|
3950
|
+
**/
|
|
3951
|
+
counterForRcAccounts: GenericStorageQuery<() => number>;
|
|
3952
|
+
|
|
3953
|
+
/**
|
|
3954
|
+
* Helper storage item to store the total balance that should be kept on Relay Chain.
|
|
3955
|
+
*
|
|
3956
|
+
* @param {Callback<PalletRcMigratorAccountsMigratedBalances> =} callback
|
|
3957
|
+
**/
|
|
3958
|
+
rcMigratedBalance: GenericStorageQuery<() => PalletRcMigratorAccountsMigratedBalances>;
|
|
3959
|
+
|
|
3960
|
+
/**
|
|
3961
|
+
* Helper storage item to store the total balance that should be kept on Relay Chain after
|
|
3962
|
+
* it is consumed from the `RcMigratedBalance` storage item and sent to the Asset Hub.
|
|
3963
|
+
*
|
|
3964
|
+
* This let us to take the value from the `RcMigratedBalance` storage item and keep the
|
|
3965
|
+
* `SignalMigrationFinish` stage to be idempotent while preserving these values for tests and
|
|
3966
|
+
* later discoveries.
|
|
3967
|
+
*
|
|
3968
|
+
* @param {Callback<PalletRcMigratorAccountsMigratedBalances> =} callback
|
|
3969
|
+
**/
|
|
3970
|
+
rcMigratedBalanceArchive: GenericStorageQuery<() => PalletRcMigratorAccountsMigratedBalances>;
|
|
3971
|
+
|
|
3972
|
+
/**
|
|
3973
|
+
* The pending XCM messages.
|
|
3974
|
+
*
|
|
3975
|
+
* Contains data messages that have been sent to the Asset Hub but not yet confirmed.
|
|
3976
|
+
*
|
|
3977
|
+
* Unconfirmed messages can be resent by calling the [`Pallet::resend_xcm`] function.
|
|
3978
|
+
*
|
|
3979
|
+
* @param {[bigint, H256]} arg
|
|
3980
|
+
* @param {Callback<StagingXcmV5Xcm | undefined> =} callback
|
|
3981
|
+
**/
|
|
3982
|
+
pendingXcmMessages: GenericStorageQuery<(arg: [bigint, H256]) => StagingXcmV5Xcm | undefined, [bigint, H256]>;
|
|
3983
|
+
|
|
3984
|
+
/**
|
|
3985
|
+
* Counter for the related counted storage map
|
|
3986
|
+
*
|
|
3987
|
+
* @param {Callback<number> =} callback
|
|
3988
|
+
**/
|
|
3989
|
+
counterForPendingXcmMessages: GenericStorageQuery<() => number>;
|
|
3990
|
+
|
|
3991
|
+
/**
|
|
3992
|
+
* Accounts that use the proxy pallet to delegate permissions and have no nonce.
|
|
3993
|
+
*
|
|
3994
|
+
* Boolean value is whether they have been migrated to the Asset Hub. Needed for idempotency.
|
|
3995
|
+
*
|
|
3996
|
+
* @param {AccountId32Like} arg
|
|
3997
|
+
* @param {Callback<boolean | undefined> =} callback
|
|
3998
|
+
**/
|
|
3999
|
+
pureProxyCandidatesMigrated: GenericStorageQuery<(arg: AccountId32Like) => boolean | undefined, AccountId32>;
|
|
4000
|
+
|
|
4001
|
+
/**
|
|
4002
|
+
* The pending XCM response queries and their XCM hash referencing the message in the
|
|
4003
|
+
* [`PendingXcmMessages`] storage.
|
|
4004
|
+
*
|
|
4005
|
+
* The `QueryId` is the identifier from the [`pallet_xcm`] query handler registry. The XCM
|
|
4006
|
+
* pallet will notify about the status of the message by calling the
|
|
4007
|
+
* [`Pallet::receive_query_response`] function with the `QueryId` and the
|
|
4008
|
+
* response.
|
|
4009
|
+
*
|
|
4010
|
+
* @param {bigint} arg
|
|
4011
|
+
* @param {Callback<H256 | undefined> =} callback
|
|
4012
|
+
**/
|
|
4013
|
+
pendingXcmQueries: GenericStorageQuery<(arg: bigint) => H256 | undefined, bigint>;
|
|
4014
|
+
|
|
4015
|
+
/**
|
|
4016
|
+
* Manual override for `type UnprocessedMsgBuffer: Get<u32>`. Look there for docs.
|
|
4017
|
+
*
|
|
4018
|
+
* @param {Callback<number | undefined> =} callback
|
|
4019
|
+
**/
|
|
4020
|
+
unprocessedMsgBuffer: GenericStorageQuery<() => number | undefined>;
|
|
4021
|
+
|
|
4022
|
+
/**
|
|
4023
|
+
* The priority of the Asset Hub UMP queue during migration.
|
|
4024
|
+
*
|
|
4025
|
+
* Controls how the Asset Hub UMP (Upward Message Passing) queue is processed relative to other
|
|
4026
|
+
* queues during the migration process. This helps ensure timely processing of migration
|
|
4027
|
+
* messages. The default priority pattern is defined in the pallet configuration, but can be
|
|
4028
|
+
* overridden by a storage value of this type.
|
|
4029
|
+
*
|
|
4030
|
+
* @param {Callback<PalletRcMigratorQueuePriority> =} callback
|
|
4031
|
+
**/
|
|
4032
|
+
ahUmpQueuePriorityConfig: GenericStorageQuery<() => PalletRcMigratorQueuePriority>;
|
|
4033
|
+
|
|
4034
|
+
/**
|
|
4035
|
+
* An optional account id of a manager.
|
|
4036
|
+
*
|
|
4037
|
+
* This account id has similar privileges to [`Config::AdminOrigin`] except that it
|
|
4038
|
+
* can not set the manager account id via `set_manager` call.
|
|
4039
|
+
*
|
|
4040
|
+
* @param {Callback<AccountId32 | undefined> =} callback
|
|
4041
|
+
**/
|
|
4042
|
+
manager: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
4043
|
+
|
|
4044
|
+
/**
|
|
4045
|
+
* An optional account id of a canceller.
|
|
4046
|
+
*
|
|
4047
|
+
* This account id can only stop scheduled migration.
|
|
4048
|
+
*
|
|
4049
|
+
* @param {Callback<AccountId32 | undefined> =} callback
|
|
4050
|
+
**/
|
|
4051
|
+
canceller: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
4052
|
+
|
|
4053
|
+
/**
|
|
4054
|
+
* The block number at which the migration began and the pallet's extrinsics were locked.
|
|
4055
|
+
*
|
|
4056
|
+
* This value is set when entering the `WaitingForAh` stage, i.e., when
|
|
4057
|
+
* `RcMigrationStage::is_ongoing()` becomes `true`.
|
|
4058
|
+
*
|
|
4059
|
+
* @param {Callback<number | undefined> =} callback
|
|
4060
|
+
**/
|
|
4061
|
+
migrationStartBlock: GenericStorageQuery<() => number | undefined>;
|
|
4062
|
+
|
|
4063
|
+
/**
|
|
4064
|
+
* Block number when migration finished and extrinsics were unlocked.
|
|
4065
|
+
*
|
|
4066
|
+
* This is set when entering the `MigrationDone` stage hence when
|
|
4067
|
+
* `RcMigrationStage::is_finished()` becomes `true`.
|
|
4068
|
+
*
|
|
4069
|
+
* @param {Callback<number | undefined> =} callback
|
|
4070
|
+
**/
|
|
4071
|
+
migrationEndBlock: GenericStorageQuery<() => number | undefined>;
|
|
4072
|
+
|
|
4073
|
+
/**
|
|
4074
|
+
* The duration of the pre migration warm-up period.
|
|
4075
|
+
*
|
|
4076
|
+
* This is the duration of the warm-up period before the data migration starts. During this
|
|
4077
|
+
* period, the migration will be in ongoing state and the concerned extrinsics will be locked.
|
|
4078
|
+
*
|
|
4079
|
+
* @param {Callback<FrameSupportScheduleDispatchTime | undefined> =} callback
|
|
4080
|
+
**/
|
|
4081
|
+
warmUpPeriod: GenericStorageQuery<() => FrameSupportScheduleDispatchTime | undefined>;
|
|
4082
|
+
|
|
4083
|
+
/**
|
|
4084
|
+
* The duration of the post migration cool-off period.
|
|
4085
|
+
*
|
|
4086
|
+
* This is the duration of the cool-off period after the data migration is finished. During
|
|
4087
|
+
* this period, the migration will be still in ongoing state and the concerned extrinsics will
|
|
4088
|
+
* be locked.
|
|
4089
|
+
*
|
|
4090
|
+
* @param {Callback<FrameSupportScheduleDispatchTime | undefined> =} callback
|
|
4091
|
+
**/
|
|
4092
|
+
coolOffPeriod: GenericStorageQuery<() => FrameSupportScheduleDispatchTime | undefined>;
|
|
4093
|
+
|
|
4094
|
+
/**
|
|
4095
|
+
* The migration settings.
|
|
4096
|
+
*
|
|
4097
|
+
* @param {Callback<PalletRcMigratorMigrationSettings | undefined> =} callback
|
|
4098
|
+
**/
|
|
4099
|
+
settings: GenericStorageQuery<() => PalletRcMigratorMigrationSettings | undefined>;
|
|
4100
|
+
|
|
4101
|
+
/**
|
|
4102
|
+
* The multisig AccountIDs that votes to execute a specific call.
|
|
4103
|
+
*
|
|
4104
|
+
* @param {PaseoRuntimeRuntimeCallLike} arg
|
|
4105
|
+
* @param {Callback<Array<AccountId32>> =} callback
|
|
4106
|
+
**/
|
|
4107
|
+
managerMultisigs: GenericStorageQuery<
|
|
4108
|
+
(arg: PaseoRuntimeRuntimeCallLike) => Array<AccountId32>,
|
|
4109
|
+
PaseoRuntimeRuntimeCall
|
|
4110
|
+
>;
|
|
4111
|
+
|
|
4112
|
+
/**
|
|
4113
|
+
* The current round of the multisig voting.
|
|
4114
|
+
*
|
|
4115
|
+
* Votes are only valid for the current round.
|
|
4116
|
+
*
|
|
4117
|
+
* @param {Callback<number> =} callback
|
|
4118
|
+
**/
|
|
4119
|
+
managerMultisigRound: GenericStorageQuery<() => number>;
|
|
4120
|
+
|
|
4121
|
+
/**
|
|
4122
|
+
* How often each participant voted in the current round.
|
|
4123
|
+
*
|
|
4124
|
+
* Will be cleared at the end of each round.
|
|
4125
|
+
*
|
|
4126
|
+
* @param {AccountId32Like} arg
|
|
4127
|
+
* @param {Callback<number> =} callback
|
|
4128
|
+
**/
|
|
4129
|
+
managerVotesInCurrentRound: GenericStorageQuery<(arg: AccountId32Like) => number, AccountId32>;
|
|
4130
|
+
|
|
3690
4131
|
/**
|
|
3691
4132
|
* Generic pallet storage query
|
|
3692
4133
|
**/
|