@dedot/chaintypes 0.0.1-next.0 → 0.0.1-next.3

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.
Files changed (96) hide show
  1. package/aleph/consts.d.ts +595 -0
  2. package/aleph/errors.d.ts +985 -0
  3. package/aleph/events.d.ts +984 -0
  4. package/aleph/index.d.ts +22 -0
  5. package/aleph/query.d.ts +1480 -0
  6. package/aleph/rpc.d.ts +727 -0
  7. package/aleph/runtime.d.ts +545 -0
  8. package/aleph/tx.d.ts +2668 -0
  9. package/aleph/types.d.ts +3646 -0
  10. package/astar/consts.d.ts +758 -0
  11. package/astar/errors.d.ts +1580 -0
  12. package/astar/events.d.ts +1788 -0
  13. package/astar/index.d.ts +22 -0
  14. package/astar/query.d.ts +1759 -0
  15. package/astar/rpc.d.ts +974 -0
  16. package/astar/runtime.d.ts +314 -0
  17. package/astar/tx.d.ts +5478 -0
  18. package/astar/types.d.ts +9078 -0
  19. package/index.ts +10 -0
  20. package/kusama/consts.d.ts +1578 -0
  21. package/kusama/errors.d.ts +2999 -0
  22. package/kusama/events.d.ts +3233 -0
  23. package/kusama/index.d.ts +22 -0
  24. package/kusama/query.d.ts +3831 -0
  25. package/kusama/rpc.d.ts +904 -0
  26. package/kusama/runtime.d.ts +1134 -0
  27. package/kusama/tx.d.ts +7077 -0
  28. package/kusama/types.d.ts +10710 -0
  29. package/kusamaAssetHub/consts.d.ts +719 -0
  30. package/kusamaAssetHub/errors.d.ts +1409 -0
  31. package/kusamaAssetHub/events.d.ts +2251 -0
  32. package/kusamaAssetHub/index.d.ts +22 -0
  33. package/kusamaAssetHub/query.d.ts +1554 -0
  34. package/kusamaAssetHub/rpc.d.ts +746 -0
  35. package/kusamaAssetHub/runtime.d.ts +514 -0
  36. package/kusamaAssetHub/tx.d.ts +5055 -0
  37. package/kusamaAssetHub/types.d.ts +6385 -0
  38. package/moonbeam/consts.d.ts +1080 -0
  39. package/moonbeam/errors.d.ts +2135 -0
  40. package/moonbeam/events.d.ts +3091 -0
  41. package/moonbeam/index.d.ts +22 -0
  42. package/moonbeam/query.d.ts +2394 -0
  43. package/moonbeam/rpc.d.ts +1015 -0
  44. package/moonbeam/runtime.d.ts +669 -0
  45. package/moonbeam/tx.d.ts +6156 -0
  46. package/moonbeam/types.d.ts +8045 -0
  47. package/package.json +9 -8
  48. package/packageInfo.ts +3 -0
  49. package/polkadot/consts.d.ts +1277 -0
  50. package/polkadot/errors.d.ts +2424 -0
  51. package/polkadot/events.d.ts +2457 -0
  52. package/polkadot/index.d.ts +22 -0
  53. package/polkadot/query.d.ts +3322 -0
  54. package/polkadot/rpc.d.ts +904 -0
  55. package/polkadot/runtime.d.ts +1134 -0
  56. package/polkadot/tx.d.ts +5913 -0
  57. package/polkadot/types.d.ts +9181 -0
  58. package/polkadotAssetHub/consts.d.ts +591 -0
  59. package/polkadotAssetHub/errors.d.ts +1119 -0
  60. package/polkadotAssetHub/events.d.ts +1855 -0
  61. package/polkadotAssetHub/index.d.ts +22 -0
  62. package/polkadotAssetHub/query.d.ts +1460 -0
  63. package/polkadotAssetHub/rpc.d.ts +746 -0
  64. package/polkadotAssetHub/runtime.d.ts +451 -0
  65. package/polkadotAssetHub/tx.d.ts +4189 -0
  66. package/polkadotAssetHub/types.d.ts +5539 -0
  67. package/rococoAssetHub/consts.d.ts +750 -0
  68. package/rococoAssetHub/errors.d.ts +1494 -0
  69. package/rococoAssetHub/events.d.ts +2252 -0
  70. package/rococoAssetHub/index.d.ts +22 -0
  71. package/rococoAssetHub/query.d.ts +1516 -0
  72. package/rococoAssetHub/rpc.d.ts +746 -0
  73. package/rococoAssetHub/runtime.d.ts +542 -0
  74. package/rococoAssetHub/tx.d.ts +5169 -0
  75. package/rococoAssetHub/types.d.ts +6751 -0
  76. package/substrate/consts.d.ts +2223 -0
  77. package/substrate/errors.d.ts +4023 -0
  78. package/substrate/events.d.ts +5107 -0
  79. package/substrate/index.d.ts +22 -0
  80. package/substrate/query.d.ts +3890 -0
  81. package/substrate/rpc.d.ts +894 -0
  82. package/substrate/runtime.d.ts +941 -0
  83. package/substrate/tx.d.ts +10391 -0
  84. package/substrate/types.d.ts +13380 -0
  85. package/westendAssetHub/consts.d.ts +750 -0
  86. package/westendAssetHub/errors.d.ts +1494 -0
  87. package/westendAssetHub/events.d.ts +2252 -0
  88. package/westendAssetHub/index.d.ts +22 -0
  89. package/westendAssetHub/query.d.ts +1516 -0
  90. package/westendAssetHub/rpc.d.ts +746 -0
  91. package/westendAssetHub/runtime.d.ts +581 -0
  92. package/westendAssetHub/tx.d.ts +5169 -0
  93. package/westendAssetHub/types.d.ts +6750 -0
  94. package/cjs/index.js +0 -2
  95. package/cjs/package.json +0 -1
  96. package/cjs/packageInfo.js +0 -5
@@ -0,0 +1,3831 @@
1
+ // Generated by @dedot/codegen
2
+
3
+ import type { GenericChainStorage, GenericStorageQuery, Callback } from '@dedot/types';
4
+ import type {
5
+ AccountId32Like,
6
+ H256,
7
+ Bytes,
8
+ Digest,
9
+ Phase,
10
+ FixedBytes,
11
+ AccountId32,
12
+ FixedU128,
13
+ Perbill,
14
+ Percent,
15
+ BytesLike,
16
+ EthereumAddressLike,
17
+ EthereumAddress,
18
+ Data,
19
+ FixedArray,
20
+ } from '@dedot/codecs';
21
+ import type {
22
+ FrameSystemAccountInfo,
23
+ FrameSupportDispatchPerDispatchClass,
24
+ FrameSystemEventRecord,
25
+ FrameSystemLastRuntimeUpgradeInfo,
26
+ SpConsensusBabeAppPublic,
27
+ SpConsensusSlotsSlot,
28
+ SpConsensusBabeDigestsNextConfigDescriptor,
29
+ SpConsensusBabeDigestsPreDigest,
30
+ SpConsensusBabeBabeEpochConfiguration,
31
+ PalletBalancesAccountData,
32
+ PalletBalancesBalanceLock,
33
+ PalletBalancesReserveData,
34
+ PalletBalancesIdAmount,
35
+ PalletBalancesIdAmountRuntimeFreezeReason,
36
+ PalletTransactionPaymentReleases,
37
+ PalletStakingStakingLedger,
38
+ PalletStakingRewardDestination,
39
+ PalletStakingValidatorPrefs,
40
+ PalletStakingNominations,
41
+ PalletStakingActiveEraInfo,
42
+ PalletStakingExposure,
43
+ PalletStakingEraRewardPoints,
44
+ PalletStakingForcing,
45
+ PalletStakingUnappliedSlash,
46
+ PalletStakingSlashingSlashingSpans,
47
+ PalletStakingSlashingSpanRecord,
48
+ SpStakingOffenceOffenceDetails,
49
+ StagingKusamaRuntimeSessionKeys,
50
+ SpCoreCryptoKeyTypeId,
51
+ PalletGrandpaStoredState,
52
+ PalletGrandpaStoredPendingChange,
53
+ PalletImOnlineSr25519AppSr25519Public,
54
+ PalletTreasuryProposal,
55
+ PalletTreasurySpendStatus,
56
+ PalletConvictionVotingVoteVoting,
57
+ PalletReferendaReferendumInfo,
58
+ PalletRankedCollectiveMemberRecord,
59
+ PalletRankedCollectiveVoteRecord,
60
+ PalletReferendaReferendumInfoTally,
61
+ PolkadotRuntimeCommonClaimsStatementKind,
62
+ PalletIdentityRegistration,
63
+ PalletIdentityRegistrarInfo,
64
+ PalletSocietyGroupParams,
65
+ PalletSocietyMemberRecord,
66
+ PalletSocietyPayoutRecord,
67
+ PalletSocietyBid,
68
+ PalletSocietyCandidacy,
69
+ PalletSocietyVote,
70
+ PalletSocietyIntakeRecord,
71
+ PalletSocietyTally,
72
+ PalletRecoveryRecoveryConfig,
73
+ PalletRecoveryActiveRecovery,
74
+ PalletVestingVestingInfo,
75
+ PalletVestingReleases,
76
+ PalletSchedulerScheduled,
77
+ PalletProxyProxyDefinition,
78
+ PalletProxyAnnouncement,
79
+ PalletMultisigMultisig,
80
+ PalletPreimageOldRequestStatus,
81
+ PalletPreimageRequestStatus,
82
+ PalletBountiesBounty,
83
+ PalletChildBountiesChildBounty,
84
+ PalletElectionProviderMultiPhasePhase,
85
+ PalletElectionProviderMultiPhaseReadySolution,
86
+ PalletElectionProviderMultiPhaseRoundSnapshot,
87
+ PalletElectionProviderMultiPhaseSolutionOrSnapshotSize,
88
+ SpNposElectionsElectionScore,
89
+ PalletElectionProviderMultiPhaseSignedSignedSubmission,
90
+ PalletNisBid,
91
+ PalletNisSummaryRecord,
92
+ PalletNisReceiptRecord,
93
+ PalletBalancesIdAmount003,
94
+ PalletBagsListListNode,
95
+ PalletBagsListListBag,
96
+ PalletNominationPoolsPoolMember,
97
+ PalletNominationPoolsBondedPoolInner,
98
+ PalletNominationPoolsRewardPool,
99
+ PalletNominationPoolsSubPools,
100
+ PalletNominationPoolsClaimPermission,
101
+ PalletFastUnstakeUnstakeRequest,
102
+ PolkadotRuntimeParachainsConfigurationHostConfiguration,
103
+ PolkadotPrimitivesV6ValidatorIndex,
104
+ PolkadotPrimitivesV6ValidatorAppPublic,
105
+ PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker,
106
+ PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord,
107
+ PolkadotRuntimeParachainsInclusionCandidatePendingAvailability,
108
+ PolkadotParachainPrimitivesPrimitivesId,
109
+ PolkadotPrimitivesV6CandidateCommitments,
110
+ PolkadotPrimitivesV6ScrapedOnChainVotes,
111
+ PolkadotRuntimeParachainsSchedulerPalletCoreOccupied,
112
+ PolkadotPrimitivesV6CoreIndex,
113
+ PolkadotRuntimeParachainsSchedulerPalletParasEntry,
114
+ PolkadotRuntimeParachainsParasPvfCheckActiveVoteState,
115
+ PolkadotParachainPrimitivesPrimitivesValidationCodeHash,
116
+ PolkadotRuntimeParachainsParasParaLifecycle,
117
+ PolkadotParachainPrimitivesPrimitivesHeadData,
118
+ PolkadotRuntimeParachainsParasParaPastCodeMeta,
119
+ PolkadotPrimitivesV6UpgradeGoAhead,
120
+ PolkadotPrimitivesV6UpgradeRestriction,
121
+ PolkadotRuntimeParachainsParasParaGenesisArgs,
122
+ PolkadotParachainPrimitivesPrimitivesValidationCode,
123
+ PolkadotRuntimeParachainsInitializerBufferedSessionChange,
124
+ PolkadotCorePrimitivesInboundDownwardMessage,
125
+ PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest,
126
+ PolkadotParachainPrimitivesPrimitivesHrmpChannelId,
127
+ PolkadotRuntimeParachainsHrmpHrmpChannel,
128
+ PolkadotCorePrimitivesInboundHrmpMessage,
129
+ PolkadotPrimitivesV6AssignmentAppPublic,
130
+ PolkadotPrimitivesV6SessionInfo,
131
+ PolkadotPrimitivesV6ExecutorParams,
132
+ PolkadotPrimitivesV6DisputeState,
133
+ PolkadotCorePrimitivesCandidateHash,
134
+ PolkadotPrimitivesV6SlashingPendingSlashes,
135
+ PolkadotRuntimeCommonParasRegistrarParaInfo,
136
+ PolkadotRuntimeCommonCrowdloanFundInfo,
137
+ PalletStateTrieMigrationMigrationTask,
138
+ PalletStateTrieMigrationMigrationLimits,
139
+ PalletXcmQueryStatus,
140
+ XcmVersionedMultiLocation,
141
+ SpWeightsWeightV2Weight,
142
+ PalletXcmVersionMigrationStage,
143
+ PalletXcmRemoteLockedFungibleRecord,
144
+ XcmVersionedAssetId,
145
+ PalletMessageQueueBookState,
146
+ PolkadotRuntimeParachainsInclusionAggregateMessageOrigin,
147
+ PalletMessageQueuePage,
148
+ PolkadotRuntimeCommonImplsVersionedLocatableAsset,
149
+ SpConsensusBeefyEcdsaCryptoPublic,
150
+ SpConsensusBeefyMmrBeefyAuthoritySet,
151
+ } from './types';
152
+
153
+ export interface ChainStorage extends GenericChainStorage {
154
+ /**
155
+ * Pallet `System`'s storage queries
156
+ **/
157
+ system: {
158
+ /**
159
+ * The full account information for a particular account ID.
160
+ *
161
+ * @param {AccountId32Like} arg
162
+ * @param {Callback<FrameSystemAccountInfo> =} callback
163
+ **/
164
+ account: GenericStorageQuery<(arg: AccountId32Like) => FrameSystemAccountInfo>;
165
+
166
+ /**
167
+ * Total extrinsics count for the current block.
168
+ *
169
+ * @param {Callback<number | undefined> =} callback
170
+ **/
171
+ extrinsicCount: GenericStorageQuery<() => number | undefined>;
172
+
173
+ /**
174
+ * The current weight for the block.
175
+ *
176
+ * @param {Callback<FrameSupportDispatchPerDispatchClass> =} callback
177
+ **/
178
+ blockWeight: GenericStorageQuery<() => FrameSupportDispatchPerDispatchClass>;
179
+
180
+ /**
181
+ * Total length (in bytes) for all extrinsics put together, for the current block.
182
+ *
183
+ * @param {Callback<number | undefined> =} callback
184
+ **/
185
+ allExtrinsicsLen: GenericStorageQuery<() => number | undefined>;
186
+
187
+ /**
188
+ * Map of block numbers to block hashes.
189
+ *
190
+ * @param {number} arg
191
+ * @param {Callback<H256> =} callback
192
+ **/
193
+ blockHash: GenericStorageQuery<(arg: number) => H256>;
194
+
195
+ /**
196
+ * Extrinsics data for the current block (maps an extrinsic's index to its data).
197
+ *
198
+ * @param {number} arg
199
+ * @param {Callback<Bytes> =} callback
200
+ **/
201
+ extrinsicData: GenericStorageQuery<(arg: number) => Bytes>;
202
+
203
+ /**
204
+ * The current block number being processed. Set by `execute_block`.
205
+ *
206
+ * @param {Callback<number> =} callback
207
+ **/
208
+ number: GenericStorageQuery<() => number>;
209
+
210
+ /**
211
+ * Hash of the previous block.
212
+ *
213
+ * @param {Callback<H256> =} callback
214
+ **/
215
+ parentHash: GenericStorageQuery<() => H256>;
216
+
217
+ /**
218
+ * Digest of the current block, also part of the block header.
219
+ *
220
+ * @param {Callback<Digest> =} callback
221
+ **/
222
+ digest: GenericStorageQuery<() => Digest>;
223
+
224
+ /**
225
+ * Events deposited for the current block.
226
+ *
227
+ * NOTE: The item is unbound and should therefore never be read on chain.
228
+ * It could otherwise inflate the PoV size of a block.
229
+ *
230
+ * Events have a large in-memory size. Box the events to not go out-of-memory
231
+ * just in case someone still reads them from within the runtime.
232
+ *
233
+ * @param {Callback<Array<FrameSystemEventRecord>> =} callback
234
+ **/
235
+ events: GenericStorageQuery<() => Array<FrameSystemEventRecord>>;
236
+
237
+ /**
238
+ * The number of events in the `Events<T>` list.
239
+ *
240
+ * @param {Callback<number> =} callback
241
+ **/
242
+ eventCount: GenericStorageQuery<() => number>;
243
+
244
+ /**
245
+ * Mapping between a topic (represented by T::Hash) and a vector of indexes
246
+ * of events in the `<Events<T>>` list.
247
+ *
248
+ * All topic vectors have deterministic storage locations depending on the topic. This
249
+ * allows light-clients to leverage the changes trie storage tracking mechanism and
250
+ * in case of changes fetch the list of events of interest.
251
+ *
252
+ * The value has the type `(BlockNumberFor<T>, EventIndex)` because if we used only just
253
+ * the `EventIndex` then in case if the topic has the same contents on the next block
254
+ * no notification will be triggered thus the event might be lost.
255
+ *
256
+ * @param {H256} arg
257
+ * @param {Callback<Array<[number, number]>> =} callback
258
+ **/
259
+ eventTopics: GenericStorageQuery<(arg: H256) => Array<[number, number]>>;
260
+
261
+ /**
262
+ * Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened.
263
+ *
264
+ * @param {Callback<FrameSystemLastRuntimeUpgradeInfo | undefined> =} callback
265
+ **/
266
+ lastRuntimeUpgrade: GenericStorageQuery<() => FrameSystemLastRuntimeUpgradeInfo | undefined>;
267
+
268
+ /**
269
+ * True if we have upgraded so that `type RefCount` is `u32`. False (default) if not.
270
+ *
271
+ * @param {Callback<boolean> =} callback
272
+ **/
273
+ upgradedToU32RefCount: GenericStorageQuery<() => boolean>;
274
+
275
+ /**
276
+ * True if we have upgraded so that AccountInfo contains three types of `RefCount`. False
277
+ * (default) if not.
278
+ *
279
+ * @param {Callback<boolean> =} callback
280
+ **/
281
+ upgradedToTripleRefCount: GenericStorageQuery<() => boolean>;
282
+
283
+ /**
284
+ * The execution phase of the block.
285
+ *
286
+ * @param {Callback<Phase | undefined> =} callback
287
+ **/
288
+ executionPhase: GenericStorageQuery<() => Phase | undefined>;
289
+
290
+ /**
291
+ * Generic pallet storage query
292
+ **/
293
+ [storage: string]: GenericStorageQuery;
294
+ };
295
+ /**
296
+ * Pallet `Babe`'s storage queries
297
+ **/
298
+ babe: {
299
+ /**
300
+ * Current epoch index.
301
+ *
302
+ * @param {Callback<bigint> =} callback
303
+ **/
304
+ epochIndex: GenericStorageQuery<() => bigint>;
305
+
306
+ /**
307
+ * Current epoch authorities.
308
+ *
309
+ * @param {Callback<Array<[SpConsensusBabeAppPublic, bigint]>> =} callback
310
+ **/
311
+ authorities: GenericStorageQuery<() => Array<[SpConsensusBabeAppPublic, bigint]>>;
312
+
313
+ /**
314
+ * The slot at which the first epoch actually started. This is 0
315
+ * until the first block of the chain.
316
+ *
317
+ * @param {Callback<SpConsensusSlotsSlot> =} callback
318
+ **/
319
+ genesisSlot: GenericStorageQuery<() => SpConsensusSlotsSlot>;
320
+
321
+ /**
322
+ * Current slot number.
323
+ *
324
+ * @param {Callback<SpConsensusSlotsSlot> =} callback
325
+ **/
326
+ currentSlot: GenericStorageQuery<() => SpConsensusSlotsSlot>;
327
+
328
+ /**
329
+ * The epoch randomness for the *current* epoch.
330
+ *
331
+ * # Security
332
+ *
333
+ * This MUST NOT be used for gambling, as it can be influenced by a
334
+ * malicious validator in the short term. It MAY be used in many
335
+ * cryptographic protocols, however, so long as one remembers that this
336
+ * (like everything else on-chain) it is public. For example, it can be
337
+ * used where a number is needed that cannot have been chosen by an
338
+ * adversary, for purposes such as public-coin zero-knowledge proofs.
339
+ *
340
+ * @param {Callback<FixedBytes<32>> =} callback
341
+ **/
342
+ randomness: GenericStorageQuery<() => FixedBytes<32>>;
343
+
344
+ /**
345
+ * Pending epoch configuration change that will be applied when the next epoch is enacted.
346
+ *
347
+ * @param {Callback<SpConsensusBabeDigestsNextConfigDescriptor | undefined> =} callback
348
+ **/
349
+ pendingEpochConfigChange: GenericStorageQuery<() => SpConsensusBabeDigestsNextConfigDescriptor | undefined>;
350
+
351
+ /**
352
+ * Next epoch randomness.
353
+ *
354
+ * @param {Callback<FixedBytes<32>> =} callback
355
+ **/
356
+ nextRandomness: GenericStorageQuery<() => FixedBytes<32>>;
357
+
358
+ /**
359
+ * Next epoch authorities.
360
+ *
361
+ * @param {Callback<Array<[SpConsensusBabeAppPublic, bigint]>> =} callback
362
+ **/
363
+ nextAuthorities: GenericStorageQuery<() => Array<[SpConsensusBabeAppPublic, bigint]>>;
364
+
365
+ /**
366
+ * Randomness under construction.
367
+ *
368
+ * We make a trade-off between storage accesses and list length.
369
+ * We store the under-construction randomness in segments of up to
370
+ * `UNDER_CONSTRUCTION_SEGMENT_LENGTH`.
371
+ *
372
+ * Once a segment reaches this length, we begin the next one.
373
+ * We reset all segments and return to `0` at the beginning of every
374
+ * epoch.
375
+ *
376
+ * @param {Callback<number> =} callback
377
+ **/
378
+ segmentIndex: GenericStorageQuery<() => number>;
379
+
380
+ /**
381
+ * TWOX-NOTE: `SegmentIndex` is an increasing integer, so this is okay.
382
+ *
383
+ * @param {number} arg
384
+ * @param {Callback<Array<FixedBytes<32>>> =} callback
385
+ **/
386
+ underConstruction: GenericStorageQuery<(arg: number) => Array<FixedBytes<32>>>;
387
+
388
+ /**
389
+ * Temporary value (cleared at block finalization) which is `Some`
390
+ * if per-block initialization has already been called for current block.
391
+ *
392
+ * @param {Callback<SpConsensusBabeDigestsPreDigest | undefined | undefined> =} callback
393
+ **/
394
+ initialized: GenericStorageQuery<() => SpConsensusBabeDigestsPreDigest | undefined | undefined>;
395
+
396
+ /**
397
+ * This field should always be populated during block processing unless
398
+ * secondary plain slots are enabled (which don't contain a VRF output).
399
+ *
400
+ * It is set in `on_finalize`, before it will contain the value from the last block.
401
+ *
402
+ * @param {Callback<FixedBytes<32> | undefined> =} callback
403
+ **/
404
+ authorVrfRandomness: GenericStorageQuery<() => FixedBytes<32> | undefined>;
405
+
406
+ /**
407
+ * The block numbers when the last and current epoch have started, respectively `N-1` and
408
+ * `N`.
409
+ * NOTE: We track this is in order to annotate the block number when a given pool of
410
+ * entropy was fixed (i.e. it was known to chain observers). Since epochs are defined in
411
+ * slots, which may be skipped, the block numbers may not line up with the slot numbers.
412
+ *
413
+ * @param {Callback<[number, number]> =} callback
414
+ **/
415
+ epochStart: GenericStorageQuery<() => [number, number]>;
416
+
417
+ /**
418
+ * How late the current block is compared to its parent.
419
+ *
420
+ * This entry is populated as part of block execution and is cleaned up
421
+ * on block finalization. Querying this storage entry outside of block
422
+ * execution context should always yield zero.
423
+ *
424
+ * @param {Callback<number> =} callback
425
+ **/
426
+ lateness: GenericStorageQuery<() => number>;
427
+
428
+ /**
429
+ * The configuration for the current epoch. Should never be `None` as it is initialized in
430
+ * genesis.
431
+ *
432
+ * @param {Callback<SpConsensusBabeBabeEpochConfiguration | undefined> =} callback
433
+ **/
434
+ epochConfig: GenericStorageQuery<() => SpConsensusBabeBabeEpochConfiguration | undefined>;
435
+
436
+ /**
437
+ * The configuration for the next epoch, `None` if the config will not change
438
+ * (you can fallback to `EpochConfig` instead in that case).
439
+ *
440
+ * @param {Callback<SpConsensusBabeBabeEpochConfiguration | undefined> =} callback
441
+ **/
442
+ nextEpochConfig: GenericStorageQuery<() => SpConsensusBabeBabeEpochConfiguration | undefined>;
443
+
444
+ /**
445
+ * A list of the last 100 skipped epochs and the corresponding session index
446
+ * when the epoch was skipped.
447
+ *
448
+ * This is only used for validating equivocation proofs. An equivocation proof
449
+ * must contains a key-ownership proof for a given session, therefore we need a
450
+ * way to tie together sessions and epoch indices, i.e. we need to validate that
451
+ * a validator was the owner of a given key on a given session, and what the
452
+ * active epoch index was during that session.
453
+ *
454
+ * @param {Callback<Array<[bigint, number]>> =} callback
455
+ **/
456
+ skippedEpochs: GenericStorageQuery<() => Array<[bigint, number]>>;
457
+
458
+ /**
459
+ * Generic pallet storage query
460
+ **/
461
+ [storage: string]: GenericStorageQuery;
462
+ };
463
+ /**
464
+ * Pallet `Timestamp`'s storage queries
465
+ **/
466
+ timestamp: {
467
+ /**
468
+ * The current time for the current block.
469
+ *
470
+ * @param {Callback<bigint> =} callback
471
+ **/
472
+ now: GenericStorageQuery<() => bigint>;
473
+
474
+ /**
475
+ * Whether the timestamp has been updated in this block.
476
+ *
477
+ * This value is updated to `true` upon successful submission of a timestamp by a node.
478
+ * It is then checked at the end of each block execution in the `on_finalize` hook.
479
+ *
480
+ * @param {Callback<boolean> =} callback
481
+ **/
482
+ didUpdate: GenericStorageQuery<() => boolean>;
483
+
484
+ /**
485
+ * Generic pallet storage query
486
+ **/
487
+ [storage: string]: GenericStorageQuery;
488
+ };
489
+ /**
490
+ * Pallet `Indices`'s storage queries
491
+ **/
492
+ indices: {
493
+ /**
494
+ * The lookup from index to account.
495
+ *
496
+ * @param {number} arg
497
+ * @param {Callback<[AccountId32, bigint, boolean] | undefined> =} callback
498
+ **/
499
+ accounts: GenericStorageQuery<(arg: number) => [AccountId32, bigint, boolean] | undefined>;
500
+
501
+ /**
502
+ * Generic pallet storage query
503
+ **/
504
+ [storage: string]: GenericStorageQuery;
505
+ };
506
+ /**
507
+ * Pallet `Balances`'s storage queries
508
+ **/
509
+ balances: {
510
+ /**
511
+ * The total units issued in the system.
512
+ *
513
+ * @param {Callback<bigint> =} callback
514
+ **/
515
+ totalIssuance: GenericStorageQuery<() => bigint>;
516
+
517
+ /**
518
+ * The total units of outstanding deactivated balance in the system.
519
+ *
520
+ * @param {Callback<bigint> =} callback
521
+ **/
522
+ inactiveIssuance: GenericStorageQuery<() => bigint>;
523
+
524
+ /**
525
+ * The Balances pallet example of storing the balance of an account.
526
+ *
527
+ * # Example
528
+ *
529
+ * ```nocompile
530
+ * impl pallet_balances::Config for Runtime {
531
+ * type AccountStore = StorageMapShim<Self::Account<Runtime>, frame_system::Provider<Runtime>, AccountId, Self::AccountData<Balance>>
532
+ * }
533
+ * ```
534
+ *
535
+ * You can also store the balance of an account in the `System` pallet.
536
+ *
537
+ * # Example
538
+ *
539
+ * ```nocompile
540
+ * impl pallet_balances::Config for Runtime {
541
+ * type AccountStore = System
542
+ * }
543
+ * ```
544
+ *
545
+ * But this comes with tradeoffs, storing account balances in the system pallet stores
546
+ * `frame_system` data alongside the account data contrary to storing account balances in the
547
+ * `Balances` pallet, which uses a `StorageMap` to store balances data only.
548
+ * NOTE: This is only used in the case that this pallet is used to store balances.
549
+ *
550
+ * @param {AccountId32Like} arg
551
+ * @param {Callback<PalletBalancesAccountData> =} callback
552
+ **/
553
+ account: GenericStorageQuery<(arg: AccountId32Like) => PalletBalancesAccountData>;
554
+
555
+ /**
556
+ * Any liquidity locks on some account balances.
557
+ * NOTE: Should only be accessed when setting, changing and freeing a lock.
558
+ *
559
+ * @param {AccountId32Like} arg
560
+ * @param {Callback<Array<PalletBalancesBalanceLock>> =} callback
561
+ **/
562
+ locks: GenericStorageQuery<(arg: AccountId32Like) => Array<PalletBalancesBalanceLock>>;
563
+
564
+ /**
565
+ * Named reserves on some account balances.
566
+ *
567
+ * @param {AccountId32Like} arg
568
+ * @param {Callback<Array<PalletBalancesReserveData>> =} callback
569
+ **/
570
+ reserves: GenericStorageQuery<(arg: AccountId32Like) => Array<PalletBalancesReserveData>>;
571
+
572
+ /**
573
+ * Holds on account balances.
574
+ *
575
+ * @param {AccountId32Like} arg
576
+ * @param {Callback<Array<PalletBalancesIdAmount>> =} callback
577
+ **/
578
+ holds: GenericStorageQuery<(arg: AccountId32Like) => Array<PalletBalancesIdAmount>>;
579
+
580
+ /**
581
+ * Freeze locks on account balances.
582
+ *
583
+ * @param {AccountId32Like} arg
584
+ * @param {Callback<Array<PalletBalancesIdAmountRuntimeFreezeReason>> =} callback
585
+ **/
586
+ freezes: GenericStorageQuery<(arg: AccountId32Like) => Array<PalletBalancesIdAmountRuntimeFreezeReason>>;
587
+
588
+ /**
589
+ * Generic pallet storage query
590
+ **/
591
+ [storage: string]: GenericStorageQuery;
592
+ };
593
+ /**
594
+ * Pallet `TransactionPayment`'s storage queries
595
+ **/
596
+ transactionPayment: {
597
+ /**
598
+ *
599
+ * @param {Callback<FixedU128> =} callback
600
+ **/
601
+ nextFeeMultiplier: GenericStorageQuery<() => FixedU128>;
602
+
603
+ /**
604
+ *
605
+ * @param {Callback<PalletTransactionPaymentReleases> =} callback
606
+ **/
607
+ storageVersion: GenericStorageQuery<() => PalletTransactionPaymentReleases>;
608
+
609
+ /**
610
+ * Generic pallet storage query
611
+ **/
612
+ [storage: string]: GenericStorageQuery;
613
+ };
614
+ /**
615
+ * Pallet `Authorship`'s storage queries
616
+ **/
617
+ authorship: {
618
+ /**
619
+ * Author of current block.
620
+ *
621
+ * @param {Callback<AccountId32 | undefined> =} callback
622
+ **/
623
+ author: GenericStorageQuery<() => AccountId32 | undefined>;
624
+
625
+ /**
626
+ * Generic pallet storage query
627
+ **/
628
+ [storage: string]: GenericStorageQuery;
629
+ };
630
+ /**
631
+ * Pallet `Staking`'s storage queries
632
+ **/
633
+ staking: {
634
+ /**
635
+ * The ideal number of active validators.
636
+ *
637
+ * @param {Callback<number> =} callback
638
+ **/
639
+ validatorCount: GenericStorageQuery<() => number>;
640
+
641
+ /**
642
+ * Minimum number of staking participants before emergency conditions are imposed.
643
+ *
644
+ * @param {Callback<number> =} callback
645
+ **/
646
+ minimumValidatorCount: GenericStorageQuery<() => number>;
647
+
648
+ /**
649
+ * Any validators that may never be slashed or forcibly kicked. It's a Vec since they're
650
+ * easy to initialize and the performance hit is minimal (we expect no more than four
651
+ * invulnerables) and restricted to testnets.
652
+ *
653
+ * @param {Callback<Array<AccountId32>> =} callback
654
+ **/
655
+ invulnerables: GenericStorageQuery<() => Array<AccountId32>>;
656
+
657
+ /**
658
+ * Map from all locked "stash" accounts to the controller account.
659
+ *
660
+ * TWOX-NOTE: SAFE since `AccountId` is a secure hash.
661
+ *
662
+ * @param {AccountId32Like} arg
663
+ * @param {Callback<AccountId32 | undefined> =} callback
664
+ **/
665
+ bonded: GenericStorageQuery<(arg: AccountId32Like) => AccountId32 | undefined>;
666
+
667
+ /**
668
+ * The minimum active bond to become and maintain the role of a nominator.
669
+ *
670
+ * @param {Callback<bigint> =} callback
671
+ **/
672
+ minNominatorBond: GenericStorageQuery<() => bigint>;
673
+
674
+ /**
675
+ * The minimum active bond to become and maintain the role of a validator.
676
+ *
677
+ * @param {Callback<bigint> =} callback
678
+ **/
679
+ minValidatorBond: GenericStorageQuery<() => bigint>;
680
+
681
+ /**
682
+ * The minimum active nominator stake of the last successful election.
683
+ *
684
+ * @param {Callback<bigint> =} callback
685
+ **/
686
+ minimumActiveStake: GenericStorageQuery<() => bigint>;
687
+
688
+ /**
689
+ * The minimum amount of commission that validators can set.
690
+ *
691
+ * If set to `0`, no limit exists.
692
+ *
693
+ * @param {Callback<Perbill> =} callback
694
+ **/
695
+ minCommission: GenericStorageQuery<() => Perbill>;
696
+
697
+ /**
698
+ * Map from all (unlocked) "controller" accounts to the info regarding the staking.
699
+ *
700
+ * Note: All the reads and mutations to this storage *MUST* be done through the methods exposed
701
+ * by [`StakingLedger`] to ensure data and lock consistency.
702
+ *
703
+ * @param {AccountId32Like} arg
704
+ * @param {Callback<PalletStakingStakingLedger | undefined> =} callback
705
+ **/
706
+ ledger: GenericStorageQuery<(arg: AccountId32Like) => PalletStakingStakingLedger | undefined>;
707
+
708
+ /**
709
+ * Where the reward payment should be made. Keyed by stash.
710
+ *
711
+ * TWOX-NOTE: SAFE since `AccountId` is a secure hash.
712
+ *
713
+ * @param {AccountId32Like} arg
714
+ * @param {Callback<PalletStakingRewardDestination> =} callback
715
+ **/
716
+ payee: GenericStorageQuery<(arg: AccountId32Like) => PalletStakingRewardDestination>;
717
+
718
+ /**
719
+ * The map from (wannabe) validator stash key to the preferences of that validator.
720
+ *
721
+ * TWOX-NOTE: SAFE since `AccountId` is a secure hash.
722
+ *
723
+ * @param {AccountId32Like} arg
724
+ * @param {Callback<PalletStakingValidatorPrefs> =} callback
725
+ **/
726
+ validators: GenericStorageQuery<(arg: AccountId32Like) => PalletStakingValidatorPrefs>;
727
+
728
+ /**
729
+ * Counter for the related counted storage map
730
+ *
731
+ * @param {Callback<number> =} callback
732
+ **/
733
+ counterForValidators: GenericStorageQuery<() => number>;
734
+
735
+ /**
736
+ * The maximum validator count before we stop allowing new validators to join.
737
+ *
738
+ * When this value is not set, no limits are enforced.
739
+ *
740
+ * @param {Callback<number | undefined> =} callback
741
+ **/
742
+ maxValidatorsCount: GenericStorageQuery<() => number | undefined>;
743
+
744
+ /**
745
+ * The map from nominator stash key to their nomination preferences, namely the validators that
746
+ * they wish to support.
747
+ *
748
+ * Note that the keys of this storage map might become non-decodable in case the
749
+ * account's [`NominationsQuota::MaxNominations`] configuration is decreased.
750
+ * In this rare case, these nominators
751
+ * are still existent in storage, their key is correct and retrievable (i.e. `contains_key`
752
+ * indicates that they exist), but their value cannot be decoded. Therefore, the non-decodable
753
+ * nominators will effectively not-exist, until they re-submit their preferences such that it
754
+ * is within the bounds of the newly set `Config::MaxNominations`.
755
+ *
756
+ * This implies that `::iter_keys().count()` and `::iter().count()` might return different
757
+ * values for this map. Moreover, the main `::count()` is aligned with the former, namely the
758
+ * number of keys that exist.
759
+ *
760
+ * Lastly, if any of the nominators become non-decodable, they can be chilled immediately via
761
+ * [`Call::chill_other`] dispatchable by anyone.
762
+ *
763
+ * TWOX-NOTE: SAFE since `AccountId` is a secure hash.
764
+ *
765
+ * @param {AccountId32Like} arg
766
+ * @param {Callback<PalletStakingNominations | undefined> =} callback
767
+ **/
768
+ nominators: GenericStorageQuery<(arg: AccountId32Like) => PalletStakingNominations | undefined>;
769
+
770
+ /**
771
+ * Counter for the related counted storage map
772
+ *
773
+ * @param {Callback<number> =} callback
774
+ **/
775
+ counterForNominators: GenericStorageQuery<() => number>;
776
+
777
+ /**
778
+ * The maximum nominator count before we stop allowing new validators to join.
779
+ *
780
+ * When this value is not set, no limits are enforced.
781
+ *
782
+ * @param {Callback<number | undefined> =} callback
783
+ **/
784
+ maxNominatorsCount: GenericStorageQuery<() => number | undefined>;
785
+
786
+ /**
787
+ * The current era index.
788
+ *
789
+ * This is the latest planned era, depending on how the Session pallet queues the validator
790
+ * set, it might be active or not.
791
+ *
792
+ * @param {Callback<number | undefined> =} callback
793
+ **/
794
+ currentEra: GenericStorageQuery<() => number | undefined>;
795
+
796
+ /**
797
+ * The active era information, it holds index and start.
798
+ *
799
+ * The active era is the era being currently rewarded. Validator set of this era must be
800
+ * equal to [`SessionInterface::validators`].
801
+ *
802
+ * @param {Callback<PalletStakingActiveEraInfo | undefined> =} callback
803
+ **/
804
+ activeEra: GenericStorageQuery<() => PalletStakingActiveEraInfo | undefined>;
805
+
806
+ /**
807
+ * The session index at which the era start for the last `HISTORY_DEPTH` eras.
808
+ *
809
+ * Note: This tracks the starting session (i.e. session index when era start being active)
810
+ * for the eras in `[CurrentEra - HISTORY_DEPTH, CurrentEra]`.
811
+ *
812
+ * @param {number} arg
813
+ * @param {Callback<number | undefined> =} callback
814
+ **/
815
+ erasStartSessionIndex: GenericStorageQuery<(arg: number) => number | undefined>;
816
+
817
+ /**
818
+ * Exposure of validator at era.
819
+ *
820
+ * This is keyed first by the era index to allow bulk deletion and then the stash account.
821
+ *
822
+ * Is it removed after `HISTORY_DEPTH` eras.
823
+ * If stakers hasn't been set or has been removed then empty exposure is returned.
824
+ *
825
+ * @param {[number, AccountId32Like]} arg
826
+ * @param {Callback<PalletStakingExposure> =} callback
827
+ **/
828
+ erasStakers: GenericStorageQuery<(arg: [number, AccountId32Like]) => PalletStakingExposure>;
829
+
830
+ /**
831
+ * Clipped Exposure of validator at era.
832
+ *
833
+ * This is similar to [`ErasStakers`] but number of nominators exposed is reduced to the
834
+ * `T::MaxNominatorRewardedPerValidator` biggest stakers.
835
+ * (Note: the field `total` and `own` of the exposure remains unchanged).
836
+ * This is used to limit the i/o cost for the nominator payout.
837
+ *
838
+ * This is keyed fist by the era index to allow bulk deletion and then the stash account.
839
+ *
840
+ * Is it removed after `HISTORY_DEPTH` eras.
841
+ * If stakers hasn't been set or has been removed then empty exposure is returned.
842
+ *
843
+ * @param {[number, AccountId32Like]} arg
844
+ * @param {Callback<PalletStakingExposure> =} callback
845
+ **/
846
+ erasStakersClipped: GenericStorageQuery<(arg: [number, AccountId32Like]) => PalletStakingExposure>;
847
+
848
+ /**
849
+ * Similar to `ErasStakers`, this holds the preferences of validators.
850
+ *
851
+ * This is keyed first by the era index to allow bulk deletion and then the stash account.
852
+ *
853
+ * Is it removed after `HISTORY_DEPTH` eras.
854
+ *
855
+ * @param {[number, AccountId32Like]} arg
856
+ * @param {Callback<PalletStakingValidatorPrefs> =} callback
857
+ **/
858
+ erasValidatorPrefs: GenericStorageQuery<(arg: [number, AccountId32Like]) => PalletStakingValidatorPrefs>;
859
+
860
+ /**
861
+ * The total validator era payout for the last `HISTORY_DEPTH` eras.
862
+ *
863
+ * Eras that haven't finished yet or has been removed doesn't have reward.
864
+ *
865
+ * @param {number} arg
866
+ * @param {Callback<bigint | undefined> =} callback
867
+ **/
868
+ erasValidatorReward: GenericStorageQuery<(arg: number) => bigint | undefined>;
869
+
870
+ /**
871
+ * Rewards for the last `HISTORY_DEPTH` eras.
872
+ * If reward hasn't been set or has been removed then 0 reward is returned.
873
+ *
874
+ * @param {number} arg
875
+ * @param {Callback<PalletStakingEraRewardPoints> =} callback
876
+ **/
877
+ erasRewardPoints: GenericStorageQuery<(arg: number) => PalletStakingEraRewardPoints>;
878
+
879
+ /**
880
+ * The total amount staked for the last `HISTORY_DEPTH` eras.
881
+ * If total hasn't been set or has been removed then 0 stake is returned.
882
+ *
883
+ * @param {number} arg
884
+ * @param {Callback<bigint> =} callback
885
+ **/
886
+ erasTotalStake: GenericStorageQuery<(arg: number) => bigint>;
887
+
888
+ /**
889
+ * Mode of era forcing.
890
+ *
891
+ * @param {Callback<PalletStakingForcing> =} callback
892
+ **/
893
+ forceEra: GenericStorageQuery<() => PalletStakingForcing>;
894
+
895
+ /**
896
+ * The percentage of the slash that is distributed to reporters.
897
+ *
898
+ * The rest of the slashed value is handled by the `Slash`.
899
+ *
900
+ * @param {Callback<Perbill> =} callback
901
+ **/
902
+ slashRewardFraction: GenericStorageQuery<() => Perbill>;
903
+
904
+ /**
905
+ * The amount of currency given to reporters of a slash event which was
906
+ * canceled by extraordinary circumstances (e.g. governance).
907
+ *
908
+ * @param {Callback<bigint> =} callback
909
+ **/
910
+ canceledSlashPayout: GenericStorageQuery<() => bigint>;
911
+
912
+ /**
913
+ * All unapplied slashes that are queued for later.
914
+ *
915
+ * @param {number} arg
916
+ * @param {Callback<Array<PalletStakingUnappliedSlash>> =} callback
917
+ **/
918
+ unappliedSlashes: GenericStorageQuery<(arg: number) => Array<PalletStakingUnappliedSlash>>;
919
+
920
+ /**
921
+ * A mapping from still-bonded eras to the first session index of that era.
922
+ *
923
+ * Must contains information for eras for the range:
924
+ * `[active_era - bounding_duration; active_era]`
925
+ *
926
+ * @param {Callback<Array<[number, number]>> =} callback
927
+ **/
928
+ bondedEras: GenericStorageQuery<() => Array<[number, number]>>;
929
+
930
+ /**
931
+ * All slashing events on validators, mapped by era to the highest slash proportion
932
+ * and slash value of the era.
933
+ *
934
+ * @param {[number, AccountId32Like]} arg
935
+ * @param {Callback<[Perbill, bigint] | undefined> =} callback
936
+ **/
937
+ validatorSlashInEra: GenericStorageQuery<(arg: [number, AccountId32Like]) => [Perbill, bigint] | undefined>;
938
+
939
+ /**
940
+ * All slashing events on nominators, mapped by era to the highest slash value of the era.
941
+ *
942
+ * @param {[number, AccountId32Like]} arg
943
+ * @param {Callback<bigint | undefined> =} callback
944
+ **/
945
+ nominatorSlashInEra: GenericStorageQuery<(arg: [number, AccountId32Like]) => bigint | undefined>;
946
+
947
+ /**
948
+ * Slashing spans for stash accounts.
949
+ *
950
+ * @param {AccountId32Like} arg
951
+ * @param {Callback<PalletStakingSlashingSlashingSpans | undefined> =} callback
952
+ **/
953
+ slashingSpans: GenericStorageQuery<(arg: AccountId32Like) => PalletStakingSlashingSlashingSpans | undefined>;
954
+
955
+ /**
956
+ * Records information about the maximum slash of a stash within a slashing span,
957
+ * as well as how much reward has been paid out.
958
+ *
959
+ * @param {[AccountId32Like, number]} arg
960
+ * @param {Callback<PalletStakingSlashingSpanRecord> =} callback
961
+ **/
962
+ spanSlash: GenericStorageQuery<(arg: [AccountId32Like, number]) => PalletStakingSlashingSpanRecord>;
963
+
964
+ /**
965
+ * The last planned session scheduled by the session pallet.
966
+ *
967
+ * This is basically in sync with the call to [`pallet_session::SessionManager::new_session`].
968
+ *
969
+ * @param {Callback<number> =} callback
970
+ **/
971
+ currentPlannedSession: GenericStorageQuery<() => number>;
972
+
973
+ /**
974
+ * Indices of validators that have offended in the active era and whether they are currently
975
+ * disabled.
976
+ *
977
+ * This value should be a superset of disabled validators since not all offences lead to the
978
+ * validator being disabled (if there was no slash). This is needed to track the percentage of
979
+ * validators that have offended in the current era, ensuring a new era is forced if
980
+ * `OffendingValidatorsThreshold` is reached. The vec is always kept sorted so that we can find
981
+ * whether a given validator has previously offended using binary search. It gets cleared when
982
+ * the era ends.
983
+ *
984
+ * @param {Callback<Array<[number, boolean]>> =} callback
985
+ **/
986
+ offendingValidators: GenericStorageQuery<() => Array<[number, boolean]>>;
987
+
988
+ /**
989
+ * The threshold for when users can start calling `chill_other` for other validators /
990
+ * nominators. The threshold is compared to the actual number of validators / nominators
991
+ * (`CountFor*`) in the system compared to the configured max (`Max*Count`).
992
+ *
993
+ * @param {Callback<Percent | undefined> =} callback
994
+ **/
995
+ chillThreshold: GenericStorageQuery<() => Percent | undefined>;
996
+
997
+ /**
998
+ * Generic pallet storage query
999
+ **/
1000
+ [storage: string]: GenericStorageQuery;
1001
+ };
1002
+ /**
1003
+ * Pallet `Offences`'s storage queries
1004
+ **/
1005
+ offences: {
1006
+ /**
1007
+ * The primary structure that holds all offence records keyed by report identifiers.
1008
+ *
1009
+ * @param {H256} arg
1010
+ * @param {Callback<SpStakingOffenceOffenceDetails | undefined> =} callback
1011
+ **/
1012
+ reports: GenericStorageQuery<(arg: H256) => SpStakingOffenceOffenceDetails | undefined>;
1013
+
1014
+ /**
1015
+ * A vector of reports of the same kind that happened at the same time slot.
1016
+ *
1017
+ * @param {[FixedBytes<16>, BytesLike]} arg
1018
+ * @param {Callback<Array<H256>> =} callback
1019
+ **/
1020
+ concurrentReportsIndex: GenericStorageQuery<(arg: [FixedBytes<16>, BytesLike]) => Array<H256>>;
1021
+
1022
+ /**
1023
+ * Generic pallet storage query
1024
+ **/
1025
+ [storage: string]: GenericStorageQuery;
1026
+ };
1027
+ /**
1028
+ * Pallet `Session`'s storage queries
1029
+ **/
1030
+ session: {
1031
+ /**
1032
+ * The current set of validators.
1033
+ *
1034
+ * @param {Callback<Array<AccountId32>> =} callback
1035
+ **/
1036
+ validators: GenericStorageQuery<() => Array<AccountId32>>;
1037
+
1038
+ /**
1039
+ * Current index of the session.
1040
+ *
1041
+ * @param {Callback<number> =} callback
1042
+ **/
1043
+ currentIndex: GenericStorageQuery<() => number>;
1044
+
1045
+ /**
1046
+ * True if the underlying economic identities or weighting behind the validators
1047
+ * has changed in the queued validator set.
1048
+ *
1049
+ * @param {Callback<boolean> =} callback
1050
+ **/
1051
+ queuedChanged: GenericStorageQuery<() => boolean>;
1052
+
1053
+ /**
1054
+ * The queued keys for the next session. When the next session begins, these keys
1055
+ * will be used to determine the validator's session keys.
1056
+ *
1057
+ * @param {Callback<Array<[AccountId32, StagingKusamaRuntimeSessionKeys]>> =} callback
1058
+ **/
1059
+ queuedKeys: GenericStorageQuery<() => Array<[AccountId32, StagingKusamaRuntimeSessionKeys]>>;
1060
+
1061
+ /**
1062
+ * Indices of disabled validators.
1063
+ *
1064
+ * The vec is always kept sorted so that we can find whether a given validator is
1065
+ * disabled using binary search. It gets cleared when `on_session_ending` returns
1066
+ * a new set of identities.
1067
+ *
1068
+ * @param {Callback<Array<number>> =} callback
1069
+ **/
1070
+ disabledValidators: GenericStorageQuery<() => Array<number>>;
1071
+
1072
+ /**
1073
+ * The next session keys for a validator.
1074
+ *
1075
+ * @param {AccountId32Like} arg
1076
+ * @param {Callback<StagingKusamaRuntimeSessionKeys | undefined> =} callback
1077
+ **/
1078
+ nextKeys: GenericStorageQuery<(arg: AccountId32Like) => StagingKusamaRuntimeSessionKeys | undefined>;
1079
+
1080
+ /**
1081
+ * The owner of a key. The key is the `KeyTypeId` + the encoded key.
1082
+ *
1083
+ * @param {[SpCoreCryptoKeyTypeId, BytesLike]} arg
1084
+ * @param {Callback<AccountId32 | undefined> =} callback
1085
+ **/
1086
+ keyOwner: GenericStorageQuery<(arg: [SpCoreCryptoKeyTypeId, BytesLike]) => AccountId32 | undefined>;
1087
+
1088
+ /**
1089
+ * Generic pallet storage query
1090
+ **/
1091
+ [storage: string]: GenericStorageQuery;
1092
+ };
1093
+ /**
1094
+ * Pallet `Grandpa`'s storage queries
1095
+ **/
1096
+ grandpa: {
1097
+ /**
1098
+ * State of the current authority set.
1099
+ *
1100
+ * @param {Callback<PalletGrandpaStoredState> =} callback
1101
+ **/
1102
+ state: GenericStorageQuery<() => PalletGrandpaStoredState>;
1103
+
1104
+ /**
1105
+ * Pending change: (signaled at, scheduled change).
1106
+ *
1107
+ * @param {Callback<PalletGrandpaStoredPendingChange | undefined> =} callback
1108
+ **/
1109
+ pendingChange: GenericStorageQuery<() => PalletGrandpaStoredPendingChange | undefined>;
1110
+
1111
+ /**
1112
+ * next block number where we can force a change.
1113
+ *
1114
+ * @param {Callback<number | undefined> =} callback
1115
+ **/
1116
+ nextForced: GenericStorageQuery<() => number | undefined>;
1117
+
1118
+ /**
1119
+ * `true` if we are currently stalled.
1120
+ *
1121
+ * @param {Callback<[number, number] | undefined> =} callback
1122
+ **/
1123
+ stalled: GenericStorageQuery<() => [number, number] | undefined>;
1124
+
1125
+ /**
1126
+ * The number of changes (both in terms of keys and underlying economic responsibilities)
1127
+ * in the "set" of Grandpa validators from genesis.
1128
+ *
1129
+ * @param {Callback<bigint> =} callback
1130
+ **/
1131
+ currentSetId: GenericStorageQuery<() => bigint>;
1132
+
1133
+ /**
1134
+ * A mapping from grandpa set ID to the index of the *most recent* session for which its
1135
+ * members were responsible.
1136
+ *
1137
+ * This is only used for validating equivocation proofs. An equivocation proof must
1138
+ * contains a key-ownership proof for a given session, therefore we need a way to tie
1139
+ * together sessions and GRANDPA set ids, i.e. we need to validate that a validator
1140
+ * was the owner of a given key on a given session, and what the active set ID was
1141
+ * during that session.
1142
+ *
1143
+ * TWOX-NOTE: `SetId` is not under user control.
1144
+ *
1145
+ * @param {bigint} arg
1146
+ * @param {Callback<number | undefined> =} callback
1147
+ **/
1148
+ setIdSession: GenericStorageQuery<(arg: bigint) => number | undefined>;
1149
+
1150
+ /**
1151
+ * Generic pallet storage query
1152
+ **/
1153
+ [storage: string]: GenericStorageQuery;
1154
+ };
1155
+ /**
1156
+ * Pallet `ImOnline`'s storage queries
1157
+ **/
1158
+ imOnline: {
1159
+ /**
1160
+ * The block number after which it's ok to send heartbeats in the current
1161
+ * session.
1162
+ *
1163
+ * At the beginning of each session we set this to a value that should fall
1164
+ * roughly in the middle of the session duration. The idea is to first wait for
1165
+ * the validators to produce a block in the current session, so that the
1166
+ * heartbeat later on will not be necessary.
1167
+ *
1168
+ * This value will only be used as a fallback if we fail to get a proper session
1169
+ * progress estimate from `NextSessionRotation`, as those estimates should be
1170
+ * more accurate then the value we calculate for `HeartbeatAfter`.
1171
+ *
1172
+ * @param {Callback<number> =} callback
1173
+ **/
1174
+ heartbeatAfter: GenericStorageQuery<() => number>;
1175
+
1176
+ /**
1177
+ * The current set of keys that may issue a heartbeat.
1178
+ *
1179
+ * @param {Callback<Array<PalletImOnlineSr25519AppSr25519Public>> =} callback
1180
+ **/
1181
+ keys: GenericStorageQuery<() => Array<PalletImOnlineSr25519AppSr25519Public>>;
1182
+
1183
+ /**
1184
+ * For each session index, we keep a mapping of `SessionIndex` and `AuthIndex`.
1185
+ *
1186
+ * @param {[number, number]} arg
1187
+ * @param {Callback<boolean | undefined> =} callback
1188
+ **/
1189
+ receivedHeartbeats: GenericStorageQuery<(arg: [number, number]) => boolean | undefined>;
1190
+
1191
+ /**
1192
+ * For each session index, we keep a mapping of `ValidatorId<T>` to the
1193
+ * number of blocks authored by the given authority.
1194
+ *
1195
+ * @param {[number, AccountId32Like]} arg
1196
+ * @param {Callback<number> =} callback
1197
+ **/
1198
+ authoredBlocks: GenericStorageQuery<(arg: [number, AccountId32Like]) => number>;
1199
+
1200
+ /**
1201
+ * Generic pallet storage query
1202
+ **/
1203
+ [storage: string]: GenericStorageQuery;
1204
+ };
1205
+ /**
1206
+ * Pallet `Treasury`'s storage queries
1207
+ **/
1208
+ treasury: {
1209
+ /**
1210
+ * Number of proposals that have been made.
1211
+ *
1212
+ * @param {Callback<number> =} callback
1213
+ **/
1214
+ proposalCount: GenericStorageQuery<() => number>;
1215
+
1216
+ /**
1217
+ * Proposals that have been made.
1218
+ *
1219
+ * @param {number} arg
1220
+ * @param {Callback<PalletTreasuryProposal | undefined> =} callback
1221
+ **/
1222
+ proposals: GenericStorageQuery<(arg: number) => PalletTreasuryProposal | undefined>;
1223
+
1224
+ /**
1225
+ * The amount which has been reported as inactive to Currency.
1226
+ *
1227
+ * @param {Callback<bigint> =} callback
1228
+ **/
1229
+ deactivated: GenericStorageQuery<() => bigint>;
1230
+
1231
+ /**
1232
+ * Proposal indices that have been approved but not yet awarded.
1233
+ *
1234
+ * @param {Callback<Array<number>> =} callback
1235
+ **/
1236
+ approvals: GenericStorageQuery<() => Array<number>>;
1237
+
1238
+ /**
1239
+ * The count of spends that have been made.
1240
+ *
1241
+ * @param {Callback<number> =} callback
1242
+ **/
1243
+ spendCount: GenericStorageQuery<() => number>;
1244
+
1245
+ /**
1246
+ * Spends that have been approved and being processed.
1247
+ *
1248
+ * @param {number} arg
1249
+ * @param {Callback<PalletTreasurySpendStatus | undefined> =} callback
1250
+ **/
1251
+ spends: GenericStorageQuery<(arg: number) => PalletTreasurySpendStatus | undefined>;
1252
+
1253
+ /**
1254
+ * Generic pallet storage query
1255
+ **/
1256
+ [storage: string]: GenericStorageQuery;
1257
+ };
1258
+ /**
1259
+ * Pallet `ConvictionVoting`'s storage queries
1260
+ **/
1261
+ convictionVoting: {
1262
+ /**
1263
+ * All voting for a particular voter in a particular voting class. We store the balance for the
1264
+ * number of votes that we have recorded.
1265
+ *
1266
+ * @param {[AccountId32Like, number]} arg
1267
+ * @param {Callback<PalletConvictionVotingVoteVoting> =} callback
1268
+ **/
1269
+ votingFor: GenericStorageQuery<(arg: [AccountId32Like, number]) => PalletConvictionVotingVoteVoting>;
1270
+
1271
+ /**
1272
+ * The voting classes which have a non-zero lock requirement and the lock amounts which they
1273
+ * require. The actual amount locked on behalf of this pallet should always be the maximum of
1274
+ * this list.
1275
+ *
1276
+ * @param {AccountId32Like} arg
1277
+ * @param {Callback<Array<[number, bigint]>> =} callback
1278
+ **/
1279
+ classLocksFor: GenericStorageQuery<(arg: AccountId32Like) => Array<[number, bigint]>>;
1280
+
1281
+ /**
1282
+ * Generic pallet storage query
1283
+ **/
1284
+ [storage: string]: GenericStorageQuery;
1285
+ };
1286
+ /**
1287
+ * Pallet `Referenda`'s storage queries
1288
+ **/
1289
+ referenda: {
1290
+ /**
1291
+ * The next free referendum index, aka the number of referenda started so far.
1292
+ *
1293
+ * @param {Callback<number> =} callback
1294
+ **/
1295
+ referendumCount: GenericStorageQuery<() => number>;
1296
+
1297
+ /**
1298
+ * Information concerning any given referendum.
1299
+ *
1300
+ * @param {number} arg
1301
+ * @param {Callback<PalletReferendaReferendumInfo | undefined> =} callback
1302
+ **/
1303
+ referendumInfoFor: GenericStorageQuery<(arg: number) => PalletReferendaReferendumInfo | undefined>;
1304
+
1305
+ /**
1306
+ * The sorted list of referenda ready to be decided but not yet being decided, ordered by
1307
+ * conviction-weighted approvals.
1308
+ *
1309
+ * This should be empty if `DecidingCount` is less than `TrackInfo::max_deciding`.
1310
+ *
1311
+ * @param {number} arg
1312
+ * @param {Callback<Array<[number, bigint]>> =} callback
1313
+ **/
1314
+ trackQueue: GenericStorageQuery<(arg: number) => Array<[number, bigint]>>;
1315
+
1316
+ /**
1317
+ * The number of referenda being decided currently.
1318
+ *
1319
+ * @param {number} arg
1320
+ * @param {Callback<number> =} callback
1321
+ **/
1322
+ decidingCount: GenericStorageQuery<(arg: number) => number>;
1323
+
1324
+ /**
1325
+ * The metadata is a general information concerning the referendum.
1326
+ * The `Hash` refers to the preimage of the `Preimages` provider which can be a JSON
1327
+ * dump or IPFS hash of a JSON file.
1328
+ *
1329
+ * Consider a garbage collection for a metadata of finished referendums to `unrequest` (remove)
1330
+ * large preimages.
1331
+ *
1332
+ * @param {number} arg
1333
+ * @param {Callback<H256 | undefined> =} callback
1334
+ **/
1335
+ metadataOf: GenericStorageQuery<(arg: number) => H256 | undefined>;
1336
+
1337
+ /**
1338
+ * Generic pallet storage query
1339
+ **/
1340
+ [storage: string]: GenericStorageQuery;
1341
+ };
1342
+ /**
1343
+ * Pallet `FellowshipCollective`'s storage queries
1344
+ **/
1345
+ fellowshipCollective: {
1346
+ /**
1347
+ * The number of members in the collective who have at least the rank according to the index
1348
+ * of the vec.
1349
+ *
1350
+ * @param {number} arg
1351
+ * @param {Callback<number> =} callback
1352
+ **/
1353
+ memberCount: GenericStorageQuery<(arg: number) => number>;
1354
+
1355
+ /**
1356
+ * The current members of the collective.
1357
+ *
1358
+ * @param {AccountId32Like} arg
1359
+ * @param {Callback<PalletRankedCollectiveMemberRecord | undefined> =} callback
1360
+ **/
1361
+ members: GenericStorageQuery<(arg: AccountId32Like) => PalletRankedCollectiveMemberRecord | undefined>;
1362
+
1363
+ /**
1364
+ * The index of each ranks's member into the group of members who have at least that rank.
1365
+ *
1366
+ * @param {[number, AccountId32Like]} arg
1367
+ * @param {Callback<number | undefined> =} callback
1368
+ **/
1369
+ idToIndex: GenericStorageQuery<(arg: [number, AccountId32Like]) => number | undefined>;
1370
+
1371
+ /**
1372
+ * The members in the collective by index. All indices in the range `0..MemberCount` will
1373
+ * return `Some`, however a member's index is not guaranteed to remain unchanged over time.
1374
+ *
1375
+ * @param {[number, number]} arg
1376
+ * @param {Callback<AccountId32 | undefined> =} callback
1377
+ **/
1378
+ indexToId: GenericStorageQuery<(arg: [number, number]) => AccountId32 | undefined>;
1379
+
1380
+ /**
1381
+ * Votes on a given proposal, if it is ongoing.
1382
+ *
1383
+ * @param {[number, AccountId32Like]} arg
1384
+ * @param {Callback<PalletRankedCollectiveVoteRecord | undefined> =} callback
1385
+ **/
1386
+ voting: GenericStorageQuery<(arg: [number, AccountId32Like]) => PalletRankedCollectiveVoteRecord | undefined>;
1387
+
1388
+ /**
1389
+ *
1390
+ * @param {number} arg
1391
+ * @param {Callback<Bytes | undefined> =} callback
1392
+ **/
1393
+ votingCleanup: GenericStorageQuery<(arg: number) => Bytes | undefined>;
1394
+
1395
+ /**
1396
+ * Generic pallet storage query
1397
+ **/
1398
+ [storage: string]: GenericStorageQuery;
1399
+ };
1400
+ /**
1401
+ * Pallet `FellowshipReferenda`'s storage queries
1402
+ **/
1403
+ fellowshipReferenda: {
1404
+ /**
1405
+ * The next free referendum index, aka the number of referenda started so far.
1406
+ *
1407
+ * @param {Callback<number> =} callback
1408
+ **/
1409
+ referendumCount: GenericStorageQuery<() => number>;
1410
+
1411
+ /**
1412
+ * Information concerning any given referendum.
1413
+ *
1414
+ * @param {number} arg
1415
+ * @param {Callback<PalletReferendaReferendumInfoTally | undefined> =} callback
1416
+ **/
1417
+ referendumInfoFor: GenericStorageQuery<(arg: number) => PalletReferendaReferendumInfoTally | undefined>;
1418
+
1419
+ /**
1420
+ * The sorted list of referenda ready to be decided but not yet being decided, ordered by
1421
+ * conviction-weighted approvals.
1422
+ *
1423
+ * This should be empty if `DecidingCount` is less than `TrackInfo::max_deciding`.
1424
+ *
1425
+ * @param {number} arg
1426
+ * @param {Callback<Array<[number, number]>> =} callback
1427
+ **/
1428
+ trackQueue: GenericStorageQuery<(arg: number) => Array<[number, number]>>;
1429
+
1430
+ /**
1431
+ * The number of referenda being decided currently.
1432
+ *
1433
+ * @param {number} arg
1434
+ * @param {Callback<number> =} callback
1435
+ **/
1436
+ decidingCount: GenericStorageQuery<(arg: number) => number>;
1437
+
1438
+ /**
1439
+ * The metadata is a general information concerning the referendum.
1440
+ * The `Hash` refers to the preimage of the `Preimages` provider which can be a JSON
1441
+ * dump or IPFS hash of a JSON file.
1442
+ *
1443
+ * Consider a garbage collection for a metadata of finished referendums to `unrequest` (remove)
1444
+ * large preimages.
1445
+ *
1446
+ * @param {number} arg
1447
+ * @param {Callback<H256 | undefined> =} callback
1448
+ **/
1449
+ metadataOf: GenericStorageQuery<(arg: number) => H256 | undefined>;
1450
+
1451
+ /**
1452
+ * Generic pallet storage query
1453
+ **/
1454
+ [storage: string]: GenericStorageQuery;
1455
+ };
1456
+ /**
1457
+ * Pallet `Whitelist`'s storage queries
1458
+ **/
1459
+ whitelist: {
1460
+ /**
1461
+ *
1462
+ * @param {H256} arg
1463
+ * @param {Callback<[] | undefined> =} callback
1464
+ **/
1465
+ whitelistedCall: GenericStorageQuery<(arg: H256) => [] | undefined>;
1466
+
1467
+ /**
1468
+ * Generic pallet storage query
1469
+ **/
1470
+ [storage: string]: GenericStorageQuery;
1471
+ };
1472
+ /**
1473
+ * Pallet `Claims`'s storage queries
1474
+ **/
1475
+ claims: {
1476
+ /**
1477
+ *
1478
+ * @param {EthereumAddressLike} arg
1479
+ * @param {Callback<bigint | undefined> =} callback
1480
+ **/
1481
+ claims: GenericStorageQuery<(arg: EthereumAddressLike) => bigint | undefined>;
1482
+
1483
+ /**
1484
+ *
1485
+ * @param {Callback<bigint> =} callback
1486
+ **/
1487
+ total: GenericStorageQuery<() => bigint>;
1488
+
1489
+ /**
1490
+ * Vesting schedule for a claim.
1491
+ * First balance is the total amount that should be held for vesting.
1492
+ * Second balance is how much should be unlocked per block.
1493
+ * The block number is when the vesting should start.
1494
+ *
1495
+ * @param {EthereumAddressLike} arg
1496
+ * @param {Callback<[bigint, bigint, number] | undefined> =} callback
1497
+ **/
1498
+ vesting: GenericStorageQuery<(arg: EthereumAddressLike) => [bigint, bigint, number] | undefined>;
1499
+
1500
+ /**
1501
+ * The statement kind that must be signed, if any.
1502
+ *
1503
+ * @param {EthereumAddressLike} arg
1504
+ * @param {Callback<PolkadotRuntimeCommonClaimsStatementKind | undefined> =} callback
1505
+ **/
1506
+ signing: GenericStorageQuery<(arg: EthereumAddressLike) => PolkadotRuntimeCommonClaimsStatementKind | undefined>;
1507
+
1508
+ /**
1509
+ * Pre-claimed Ethereum accounts, by the Account ID that they are claimed to.
1510
+ *
1511
+ * @param {AccountId32Like} arg
1512
+ * @param {Callback<EthereumAddress | undefined> =} callback
1513
+ **/
1514
+ preclaims: GenericStorageQuery<(arg: AccountId32Like) => EthereumAddress | undefined>;
1515
+
1516
+ /**
1517
+ * Generic pallet storage query
1518
+ **/
1519
+ [storage: string]: GenericStorageQuery;
1520
+ };
1521
+ /**
1522
+ * Pallet `Identity`'s storage queries
1523
+ **/
1524
+ identity: {
1525
+ /**
1526
+ * Information that is pertinent to identify the entity behind an account.
1527
+ *
1528
+ * TWOX-NOTE: OK ― `AccountId` is a secure hash.
1529
+ *
1530
+ * @param {AccountId32Like} arg
1531
+ * @param {Callback<PalletIdentityRegistration | undefined> =} callback
1532
+ **/
1533
+ identityOf: GenericStorageQuery<(arg: AccountId32Like) => PalletIdentityRegistration | undefined>;
1534
+
1535
+ /**
1536
+ * The super-identity of an alternative "sub" identity together with its name, within that
1537
+ * context. If the account is not some other account's sub-identity, then just `None`.
1538
+ *
1539
+ * @param {AccountId32Like} arg
1540
+ * @param {Callback<[AccountId32, Data] | undefined> =} callback
1541
+ **/
1542
+ superOf: GenericStorageQuery<(arg: AccountId32Like) => [AccountId32, Data] | undefined>;
1543
+
1544
+ /**
1545
+ * Alternative "sub" identities of this account.
1546
+ *
1547
+ * The first item is the deposit, the second is a vector of the accounts.
1548
+ *
1549
+ * TWOX-NOTE: OK ― `AccountId` is a secure hash.
1550
+ *
1551
+ * @param {AccountId32Like} arg
1552
+ * @param {Callback<[bigint, Array<AccountId32>]> =} callback
1553
+ **/
1554
+ subsOf: GenericStorageQuery<(arg: AccountId32Like) => [bigint, Array<AccountId32>]>;
1555
+
1556
+ /**
1557
+ * The set of registrars. Not expected to get very big as can only be added through a
1558
+ * special origin (likely a council motion).
1559
+ *
1560
+ * The index into this can be cast to `RegistrarIndex` to get a valid value.
1561
+ *
1562
+ * @param {Callback<Array<PalletIdentityRegistrarInfo | undefined>> =} callback
1563
+ **/
1564
+ registrars: GenericStorageQuery<() => Array<PalletIdentityRegistrarInfo | undefined>>;
1565
+
1566
+ /**
1567
+ * Generic pallet storage query
1568
+ **/
1569
+ [storage: string]: GenericStorageQuery;
1570
+ };
1571
+ /**
1572
+ * Pallet `Society`'s storage queries
1573
+ **/
1574
+ society: {
1575
+ /**
1576
+ * The max number of members for the society at one time.
1577
+ *
1578
+ * @param {Callback<PalletSocietyGroupParams | undefined> =} callback
1579
+ **/
1580
+ parameters: GenericStorageQuery<() => PalletSocietyGroupParams | undefined>;
1581
+
1582
+ /**
1583
+ * Amount of our account balance that is specifically for the next round's bid(s).
1584
+ *
1585
+ * @param {Callback<bigint> =} callback
1586
+ **/
1587
+ pot: GenericStorageQuery<() => bigint>;
1588
+
1589
+ /**
1590
+ * The first member.
1591
+ *
1592
+ * @param {Callback<AccountId32 | undefined> =} callback
1593
+ **/
1594
+ founder: GenericStorageQuery<() => AccountId32 | undefined>;
1595
+
1596
+ /**
1597
+ * The most primary from the most recently approved rank 0 members in the society.
1598
+ *
1599
+ * @param {Callback<AccountId32 | undefined> =} callback
1600
+ **/
1601
+ head: GenericStorageQuery<() => AccountId32 | undefined>;
1602
+
1603
+ /**
1604
+ * A hash of the rules of this society concerning membership. Can only be set once and
1605
+ * only by the founder.
1606
+ *
1607
+ * @param {Callback<H256 | undefined> =} callback
1608
+ **/
1609
+ rules: GenericStorageQuery<() => H256 | undefined>;
1610
+
1611
+ /**
1612
+ * The current members and their rank. Doesn't include `SuspendedMembers`.
1613
+ *
1614
+ * @param {AccountId32Like} arg
1615
+ * @param {Callback<PalletSocietyMemberRecord | undefined> =} callback
1616
+ **/
1617
+ members: GenericStorageQuery<(arg: AccountId32Like) => PalletSocietyMemberRecord | undefined>;
1618
+
1619
+ /**
1620
+ * Information regarding rank-0 payouts, past and future.
1621
+ *
1622
+ * @param {AccountId32Like} arg
1623
+ * @param {Callback<PalletSocietyPayoutRecord> =} callback
1624
+ **/
1625
+ payouts: GenericStorageQuery<(arg: AccountId32Like) => PalletSocietyPayoutRecord>;
1626
+
1627
+ /**
1628
+ * The number of items in `Members` currently. (Doesn't include `SuspendedMembers`.)
1629
+ *
1630
+ * @param {Callback<number> =} callback
1631
+ **/
1632
+ memberCount: GenericStorageQuery<() => number>;
1633
+
1634
+ /**
1635
+ * The current items in `Members` keyed by their unique index. Keys are densely populated
1636
+ * `0..MemberCount` (does not include `MemberCount`).
1637
+ *
1638
+ * @param {number} arg
1639
+ * @param {Callback<AccountId32 | undefined> =} callback
1640
+ **/
1641
+ memberByIndex: GenericStorageQuery<(arg: number) => AccountId32 | undefined>;
1642
+
1643
+ /**
1644
+ * The set of suspended members, with their old membership record.
1645
+ *
1646
+ * @param {AccountId32Like} arg
1647
+ * @param {Callback<PalletSocietyMemberRecord | undefined> =} callback
1648
+ **/
1649
+ suspendedMembers: GenericStorageQuery<(arg: AccountId32Like) => PalletSocietyMemberRecord | undefined>;
1650
+
1651
+ /**
1652
+ * The number of rounds which have passed.
1653
+ *
1654
+ * @param {Callback<number> =} callback
1655
+ **/
1656
+ roundCount: GenericStorageQuery<() => number>;
1657
+
1658
+ /**
1659
+ * The current bids, stored ordered by the value of the bid.
1660
+ *
1661
+ * @param {Callback<Array<PalletSocietyBid>> =} callback
1662
+ **/
1663
+ bids: GenericStorageQuery<() => Array<PalletSocietyBid>>;
1664
+
1665
+ /**
1666
+ *
1667
+ * @param {AccountId32Like} arg
1668
+ * @param {Callback<PalletSocietyCandidacy | undefined> =} callback
1669
+ **/
1670
+ candidates: GenericStorageQuery<(arg: AccountId32Like) => PalletSocietyCandidacy | undefined>;
1671
+
1672
+ /**
1673
+ * The current skeptic.
1674
+ *
1675
+ * @param {Callback<AccountId32 | undefined> =} callback
1676
+ **/
1677
+ skeptic: GenericStorageQuery<() => AccountId32 | undefined>;
1678
+
1679
+ /**
1680
+ * Double map from Candidate -> Voter -> (Maybe) Vote.
1681
+ *
1682
+ * @param {[AccountId32Like, AccountId32Like]} arg
1683
+ * @param {Callback<PalletSocietyVote | undefined> =} callback
1684
+ **/
1685
+ votes: GenericStorageQuery<(arg: [AccountId32Like, AccountId32Like]) => PalletSocietyVote | undefined>;
1686
+
1687
+ /**
1688
+ * Clear-cursor for Vote, map from Candidate -> (Maybe) Cursor.
1689
+ *
1690
+ * @param {AccountId32Like} arg
1691
+ * @param {Callback<Bytes | undefined> =} callback
1692
+ **/
1693
+ voteClearCursor: GenericStorageQuery<(arg: AccountId32Like) => Bytes | undefined>;
1694
+
1695
+ /**
1696
+ * At the end of the claim period, this contains the most recently approved members (along with
1697
+ * their bid and round ID) who is from the most recent round with the lowest bid. They will
1698
+ * become the new `Head`.
1699
+ *
1700
+ * @param {Callback<PalletSocietyIntakeRecord | undefined> =} callback
1701
+ **/
1702
+ nextHead: GenericStorageQuery<() => PalletSocietyIntakeRecord | undefined>;
1703
+
1704
+ /**
1705
+ * The number of challenge rounds there have been. Used to identify stale DefenderVotes.
1706
+ *
1707
+ * @param {Callback<number> =} callback
1708
+ **/
1709
+ challengeRoundCount: GenericStorageQuery<() => number>;
1710
+
1711
+ /**
1712
+ * The defending member currently being challenged, along with a running tally of votes.
1713
+ *
1714
+ * @param {Callback<[AccountId32, AccountId32, PalletSocietyTally] | undefined> =} callback
1715
+ **/
1716
+ defending: GenericStorageQuery<() => [AccountId32, AccountId32, PalletSocietyTally] | undefined>;
1717
+
1718
+ /**
1719
+ * Votes for the defender, keyed by challenge round.
1720
+ *
1721
+ * @param {[number, AccountId32Like]} arg
1722
+ * @param {Callback<PalletSocietyVote | undefined> =} callback
1723
+ **/
1724
+ defenderVotes: GenericStorageQuery<(arg: [number, AccountId32Like]) => PalletSocietyVote | undefined>;
1725
+
1726
+ /**
1727
+ * Generic pallet storage query
1728
+ **/
1729
+ [storage: string]: GenericStorageQuery;
1730
+ };
1731
+ /**
1732
+ * Pallet `Recovery`'s storage queries
1733
+ **/
1734
+ recovery: {
1735
+ /**
1736
+ * The set of recoverable accounts and their recovery configuration.
1737
+ *
1738
+ * @param {AccountId32Like} arg
1739
+ * @param {Callback<PalletRecoveryRecoveryConfig | undefined> =} callback
1740
+ **/
1741
+ recoverable: GenericStorageQuery<(arg: AccountId32Like) => PalletRecoveryRecoveryConfig | undefined>;
1742
+
1743
+ /**
1744
+ * Active recovery attempts.
1745
+ *
1746
+ * First account is the account to be recovered, and the second account
1747
+ * is the user trying to recover the account.
1748
+ *
1749
+ * @param {[AccountId32Like, AccountId32Like]} arg
1750
+ * @param {Callback<PalletRecoveryActiveRecovery | undefined> =} callback
1751
+ **/
1752
+ activeRecoveries: GenericStorageQuery<
1753
+ (arg: [AccountId32Like, AccountId32Like]) => PalletRecoveryActiveRecovery | undefined
1754
+ >;
1755
+
1756
+ /**
1757
+ * The list of allowed proxy accounts.
1758
+ *
1759
+ * Map from the user who can access it to the recovered account.
1760
+ *
1761
+ * @param {AccountId32Like} arg
1762
+ * @param {Callback<AccountId32 | undefined> =} callback
1763
+ **/
1764
+ proxy: GenericStorageQuery<(arg: AccountId32Like) => AccountId32 | undefined>;
1765
+
1766
+ /**
1767
+ * Generic pallet storage query
1768
+ **/
1769
+ [storage: string]: GenericStorageQuery;
1770
+ };
1771
+ /**
1772
+ * Pallet `Vesting`'s storage queries
1773
+ **/
1774
+ vesting: {
1775
+ /**
1776
+ * Information regarding the vesting of a given account.
1777
+ *
1778
+ * @param {AccountId32Like} arg
1779
+ * @param {Callback<Array<PalletVestingVestingInfo> | undefined> =} callback
1780
+ **/
1781
+ vesting: GenericStorageQuery<(arg: AccountId32Like) => Array<PalletVestingVestingInfo> | undefined>;
1782
+
1783
+ /**
1784
+ * Storage version of the pallet.
1785
+ *
1786
+ * New networks start with latest version, as determined by the genesis build.
1787
+ *
1788
+ * @param {Callback<PalletVestingReleases> =} callback
1789
+ **/
1790
+ storageVersion: GenericStorageQuery<() => PalletVestingReleases>;
1791
+
1792
+ /**
1793
+ * Generic pallet storage query
1794
+ **/
1795
+ [storage: string]: GenericStorageQuery;
1796
+ };
1797
+ /**
1798
+ * Pallet `Scheduler`'s storage queries
1799
+ **/
1800
+ scheduler: {
1801
+ /**
1802
+ *
1803
+ * @param {Callback<number | undefined> =} callback
1804
+ **/
1805
+ incompleteSince: GenericStorageQuery<() => number | undefined>;
1806
+
1807
+ /**
1808
+ * Items to be executed, indexed by the block number that they should be executed on.
1809
+ *
1810
+ * @param {number} arg
1811
+ * @param {Callback<Array<PalletSchedulerScheduled | undefined>> =} callback
1812
+ **/
1813
+ agenda: GenericStorageQuery<(arg: number) => Array<PalletSchedulerScheduled | undefined>>;
1814
+
1815
+ /**
1816
+ * Lookup from a name to the block number and index of the task.
1817
+ *
1818
+ * For v3 -> v4 the previously unbounded identities are Blake2-256 hashed to form the v4
1819
+ * identities.
1820
+ *
1821
+ * @param {FixedBytes<32>} arg
1822
+ * @param {Callback<[number, number] | undefined> =} callback
1823
+ **/
1824
+ lookup: GenericStorageQuery<(arg: FixedBytes<32>) => [number, number] | undefined>;
1825
+
1826
+ /**
1827
+ * Generic pallet storage query
1828
+ **/
1829
+ [storage: string]: GenericStorageQuery;
1830
+ };
1831
+ /**
1832
+ * Pallet `Proxy`'s storage queries
1833
+ **/
1834
+ proxy: {
1835
+ /**
1836
+ * The set of account proxies. Maps the account which has delegated to the accounts
1837
+ * which are being delegated to, together with the amount held on deposit.
1838
+ *
1839
+ * @param {AccountId32Like} arg
1840
+ * @param {Callback<[Array<PalletProxyProxyDefinition>, bigint]> =} callback
1841
+ **/
1842
+ proxies: GenericStorageQuery<(arg: AccountId32Like) => [Array<PalletProxyProxyDefinition>, bigint]>;
1843
+
1844
+ /**
1845
+ * The announcements made by the proxy (key).
1846
+ *
1847
+ * @param {AccountId32Like} arg
1848
+ * @param {Callback<[Array<PalletProxyAnnouncement>, bigint]> =} callback
1849
+ **/
1850
+ announcements: GenericStorageQuery<(arg: AccountId32Like) => [Array<PalletProxyAnnouncement>, bigint]>;
1851
+
1852
+ /**
1853
+ * Generic pallet storage query
1854
+ **/
1855
+ [storage: string]: GenericStorageQuery;
1856
+ };
1857
+ /**
1858
+ * Pallet `Multisig`'s storage queries
1859
+ **/
1860
+ multisig: {
1861
+ /**
1862
+ * The set of open multisig operations.
1863
+ *
1864
+ * @param {[AccountId32Like, FixedBytes<32>]} arg
1865
+ * @param {Callback<PalletMultisigMultisig | undefined> =} callback
1866
+ **/
1867
+ multisigs: GenericStorageQuery<(arg: [AccountId32Like, FixedBytes<32>]) => PalletMultisigMultisig | undefined>;
1868
+
1869
+ /**
1870
+ * Generic pallet storage query
1871
+ **/
1872
+ [storage: string]: GenericStorageQuery;
1873
+ };
1874
+ /**
1875
+ * Pallet `Preimage`'s storage queries
1876
+ **/
1877
+ preimage: {
1878
+ /**
1879
+ * The request status of a given hash.
1880
+ *
1881
+ * @param {H256} arg
1882
+ * @param {Callback<PalletPreimageOldRequestStatus | undefined> =} callback
1883
+ **/
1884
+ statusFor: GenericStorageQuery<(arg: H256) => PalletPreimageOldRequestStatus | undefined>;
1885
+
1886
+ /**
1887
+ * The request status of a given hash.
1888
+ *
1889
+ * @param {H256} arg
1890
+ * @param {Callback<PalletPreimageRequestStatus | undefined> =} callback
1891
+ **/
1892
+ requestStatusFor: GenericStorageQuery<(arg: H256) => PalletPreimageRequestStatus | undefined>;
1893
+
1894
+ /**
1895
+ *
1896
+ * @param {[H256, number]} arg
1897
+ * @param {Callback<Bytes | undefined> =} callback
1898
+ **/
1899
+ preimageFor: GenericStorageQuery<(arg: [H256, number]) => Bytes | undefined>;
1900
+
1901
+ /**
1902
+ * Generic pallet storage query
1903
+ **/
1904
+ [storage: string]: GenericStorageQuery;
1905
+ };
1906
+ /**
1907
+ * Pallet `Bounties`'s storage queries
1908
+ **/
1909
+ bounties: {
1910
+ /**
1911
+ * Number of bounty proposals that have been made.
1912
+ *
1913
+ * @param {Callback<number> =} callback
1914
+ **/
1915
+ bountyCount: GenericStorageQuery<() => number>;
1916
+
1917
+ /**
1918
+ * Bounties that have been made.
1919
+ *
1920
+ * @param {number} arg
1921
+ * @param {Callback<PalletBountiesBounty | undefined> =} callback
1922
+ **/
1923
+ bounties: GenericStorageQuery<(arg: number) => PalletBountiesBounty | undefined>;
1924
+
1925
+ /**
1926
+ * The description of each bounty.
1927
+ *
1928
+ * @param {number} arg
1929
+ * @param {Callback<Bytes | undefined> =} callback
1930
+ **/
1931
+ bountyDescriptions: GenericStorageQuery<(arg: number) => Bytes | undefined>;
1932
+
1933
+ /**
1934
+ * Bounty indices that have been approved but not yet funded.
1935
+ *
1936
+ * @param {Callback<Array<number>> =} callback
1937
+ **/
1938
+ bountyApprovals: GenericStorageQuery<() => Array<number>>;
1939
+
1940
+ /**
1941
+ * Generic pallet storage query
1942
+ **/
1943
+ [storage: string]: GenericStorageQuery;
1944
+ };
1945
+ /**
1946
+ * Pallet `ChildBounties`'s storage queries
1947
+ **/
1948
+ childBounties: {
1949
+ /**
1950
+ * Number of total child bounties.
1951
+ *
1952
+ * @param {Callback<number> =} callback
1953
+ **/
1954
+ childBountyCount: GenericStorageQuery<() => number>;
1955
+
1956
+ /**
1957
+ * Number of child bounties per parent bounty.
1958
+ * Map of parent bounty index to number of child bounties.
1959
+ *
1960
+ * @param {number} arg
1961
+ * @param {Callback<number> =} callback
1962
+ **/
1963
+ parentChildBounties: GenericStorageQuery<(arg: number) => number>;
1964
+
1965
+ /**
1966
+ * Child bounties that have been added.
1967
+ *
1968
+ * @param {[number, number]} arg
1969
+ * @param {Callback<PalletChildBountiesChildBounty | undefined> =} callback
1970
+ **/
1971
+ childBounties: GenericStorageQuery<(arg: [number, number]) => PalletChildBountiesChildBounty | undefined>;
1972
+
1973
+ /**
1974
+ * The description of each child-bounty.
1975
+ *
1976
+ * @param {number} arg
1977
+ * @param {Callback<Bytes | undefined> =} callback
1978
+ **/
1979
+ childBountyDescriptions: GenericStorageQuery<(arg: number) => Bytes | undefined>;
1980
+
1981
+ /**
1982
+ * The cumulative child-bounty curator fee for each parent bounty.
1983
+ *
1984
+ * @param {number} arg
1985
+ * @param {Callback<bigint> =} callback
1986
+ **/
1987
+ childrenCuratorFees: GenericStorageQuery<(arg: number) => bigint>;
1988
+
1989
+ /**
1990
+ * Generic pallet storage query
1991
+ **/
1992
+ [storage: string]: GenericStorageQuery;
1993
+ };
1994
+ /**
1995
+ * Pallet `ElectionProviderMultiPhase`'s storage queries
1996
+ **/
1997
+ electionProviderMultiPhase: {
1998
+ /**
1999
+ * Internal counter for the number of rounds.
2000
+ *
2001
+ * This is useful for de-duplication of transactions submitted to the pool, and general
2002
+ * diagnostics of the pallet.
2003
+ *
2004
+ * This is merely incremented once per every time that an upstream `elect` is called.
2005
+ *
2006
+ * @param {Callback<number> =} callback
2007
+ **/
2008
+ round: GenericStorageQuery<() => number>;
2009
+
2010
+ /**
2011
+ * Current phase.
2012
+ *
2013
+ * @param {Callback<PalletElectionProviderMultiPhasePhase> =} callback
2014
+ **/
2015
+ currentPhase: GenericStorageQuery<() => PalletElectionProviderMultiPhasePhase>;
2016
+
2017
+ /**
2018
+ * Current best solution, signed or unsigned, queued to be returned upon `elect`.
2019
+ *
2020
+ * Always sorted by score.
2021
+ *
2022
+ * @param {Callback<PalletElectionProviderMultiPhaseReadySolution | undefined> =} callback
2023
+ **/
2024
+ queuedSolution: GenericStorageQuery<() => PalletElectionProviderMultiPhaseReadySolution | undefined>;
2025
+
2026
+ /**
2027
+ * Snapshot data of the round.
2028
+ *
2029
+ * This is created at the beginning of the signed phase and cleared upon calling `elect`.
2030
+ *
2031
+ * @param {Callback<PalletElectionProviderMultiPhaseRoundSnapshot | undefined> =} callback
2032
+ **/
2033
+ snapshot: GenericStorageQuery<() => PalletElectionProviderMultiPhaseRoundSnapshot | undefined>;
2034
+
2035
+ /**
2036
+ * Desired number of targets to elect for this round.
2037
+ *
2038
+ * Only exists when [`Snapshot`] is present.
2039
+ *
2040
+ * @param {Callback<number | undefined> =} callback
2041
+ **/
2042
+ desiredTargets: GenericStorageQuery<() => number | undefined>;
2043
+
2044
+ /**
2045
+ * The metadata of the [`RoundSnapshot`]
2046
+ *
2047
+ * Only exists when [`Snapshot`] is present.
2048
+ *
2049
+ * @param {Callback<PalletElectionProviderMultiPhaseSolutionOrSnapshotSize | undefined> =} callback
2050
+ **/
2051
+ snapshotMetadata: GenericStorageQuery<() => PalletElectionProviderMultiPhaseSolutionOrSnapshotSize | undefined>;
2052
+
2053
+ /**
2054
+ * The next index to be assigned to an incoming signed submission.
2055
+ *
2056
+ * Every accepted submission is assigned a unique index; that index is bound to that particular
2057
+ * submission for the duration of the election. On election finalization, the next index is
2058
+ * reset to 0.
2059
+ *
2060
+ * We can't just use `SignedSubmissionIndices.len()`, because that's a bounded set; past its
2061
+ * capacity, it will simply saturate. We can't just iterate over `SignedSubmissionsMap`,
2062
+ * because iteration is slow. Instead, we store the value here.
2063
+ *
2064
+ * @param {Callback<number> =} callback
2065
+ **/
2066
+ signedSubmissionNextIndex: GenericStorageQuery<() => number>;
2067
+
2068
+ /**
2069
+ * A sorted, bounded vector of `(score, block_number, index)`, where each `index` points to a
2070
+ * value in `SignedSubmissions`.
2071
+ *
2072
+ * We never need to process more than a single signed submission at a time. Signed submissions
2073
+ * can be quite large, so we're willing to pay the cost of multiple database accesses to access
2074
+ * them one at a time instead of reading and decoding all of them at once.
2075
+ *
2076
+ * @param {Callback<Array<[SpNposElectionsElectionScore, number, number]>> =} callback
2077
+ **/
2078
+ signedSubmissionIndices: GenericStorageQuery<() => Array<[SpNposElectionsElectionScore, number, number]>>;
2079
+
2080
+ /**
2081
+ * Unchecked, signed solutions.
2082
+ *
2083
+ * Together with `SubmissionIndices`, this stores a bounded set of `SignedSubmissions` while
2084
+ * allowing us to keep only a single one in memory at a time.
2085
+ *
2086
+ * Twox note: the key of the map is an auto-incrementing index which users cannot inspect or
2087
+ * affect; we shouldn't need a cryptographically secure hasher.
2088
+ *
2089
+ * @param {number} arg
2090
+ * @param {Callback<PalletElectionProviderMultiPhaseSignedSignedSubmission | undefined> =} callback
2091
+ **/
2092
+ signedSubmissionsMap: GenericStorageQuery<
2093
+ (arg: number) => PalletElectionProviderMultiPhaseSignedSignedSubmission | undefined
2094
+ >;
2095
+
2096
+ /**
2097
+ * The minimum score that each 'untrusted' solution must attain in order to be considered
2098
+ * feasible.
2099
+ *
2100
+ * Can be set via `set_minimum_untrusted_score`.
2101
+ *
2102
+ * @param {Callback<SpNposElectionsElectionScore | undefined> =} callback
2103
+ **/
2104
+ minimumUntrustedScore: GenericStorageQuery<() => SpNposElectionsElectionScore | undefined>;
2105
+
2106
+ /**
2107
+ * Generic pallet storage query
2108
+ **/
2109
+ [storage: string]: GenericStorageQuery;
2110
+ };
2111
+ /**
2112
+ * Pallet `Nis`'s storage queries
2113
+ **/
2114
+ nis: {
2115
+ /**
2116
+ * The totals of items and balances within each queue. Saves a lot of storage reads in the
2117
+ * case of sparsely packed queues.
2118
+ *
2119
+ * The vector is indexed by duration in `Period`s, offset by one, so information on the queue
2120
+ * whose duration is one `Period` would be storage `0`.
2121
+ *
2122
+ * @param {Callback<Array<[number, bigint]>> =} callback
2123
+ **/
2124
+ queueTotals: GenericStorageQuery<() => Array<[number, bigint]>>;
2125
+
2126
+ /**
2127
+ * The queues of bids. Indexed by duration (in `Period`s).
2128
+ *
2129
+ * @param {number} arg
2130
+ * @param {Callback<Array<PalletNisBid>> =} callback
2131
+ **/
2132
+ queues: GenericStorageQuery<(arg: number) => Array<PalletNisBid>>;
2133
+
2134
+ /**
2135
+ * Summary information over the general state.
2136
+ *
2137
+ * @param {Callback<PalletNisSummaryRecord> =} callback
2138
+ **/
2139
+ summary: GenericStorageQuery<() => PalletNisSummaryRecord>;
2140
+
2141
+ /**
2142
+ * The currently outstanding receipts, indexed according to the order of creation.
2143
+ *
2144
+ * @param {number} arg
2145
+ * @param {Callback<PalletNisReceiptRecord | undefined> =} callback
2146
+ **/
2147
+ receipts: GenericStorageQuery<(arg: number) => PalletNisReceiptRecord | undefined>;
2148
+
2149
+ /**
2150
+ * Generic pallet storage query
2151
+ **/
2152
+ [storage: string]: GenericStorageQuery;
2153
+ };
2154
+ /**
2155
+ * Pallet `NisCounterpartBalances`'s storage queries
2156
+ **/
2157
+ nisCounterpartBalances: {
2158
+ /**
2159
+ * The total units issued in the system.
2160
+ *
2161
+ * @param {Callback<bigint> =} callback
2162
+ **/
2163
+ totalIssuance: GenericStorageQuery<() => bigint>;
2164
+
2165
+ /**
2166
+ * The total units of outstanding deactivated balance in the system.
2167
+ *
2168
+ * @param {Callback<bigint> =} callback
2169
+ **/
2170
+ inactiveIssuance: GenericStorageQuery<() => bigint>;
2171
+
2172
+ /**
2173
+ * The Balances pallet example of storing the balance of an account.
2174
+ *
2175
+ * # Example
2176
+ *
2177
+ * ```nocompile
2178
+ * impl pallet_balances::Config for Runtime {
2179
+ * type AccountStore = StorageMapShim<Self::Account<Runtime>, frame_system::Provider<Runtime>, AccountId, Self::AccountData<Balance>>
2180
+ * }
2181
+ * ```
2182
+ *
2183
+ * You can also store the balance of an account in the `System` pallet.
2184
+ *
2185
+ * # Example
2186
+ *
2187
+ * ```nocompile
2188
+ * impl pallet_balances::Config for Runtime {
2189
+ * type AccountStore = System
2190
+ * }
2191
+ * ```
2192
+ *
2193
+ * But this comes with tradeoffs, storing account balances in the system pallet stores
2194
+ * `frame_system` data alongside the account data contrary to storing account balances in the
2195
+ * `Balances` pallet, which uses a `StorageMap` to store balances data only.
2196
+ * NOTE: This is only used in the case that this pallet is used to store balances.
2197
+ *
2198
+ * @param {AccountId32Like} arg
2199
+ * @param {Callback<PalletBalancesAccountData> =} callback
2200
+ **/
2201
+ account: GenericStorageQuery<(arg: AccountId32Like) => PalletBalancesAccountData>;
2202
+
2203
+ /**
2204
+ * Any liquidity locks on some account balances.
2205
+ * NOTE: Should only be accessed when setting, changing and freeing a lock.
2206
+ *
2207
+ * @param {AccountId32Like} arg
2208
+ * @param {Callback<Array<PalletBalancesBalanceLock>> =} callback
2209
+ **/
2210
+ locks: GenericStorageQuery<(arg: AccountId32Like) => Array<PalletBalancesBalanceLock>>;
2211
+
2212
+ /**
2213
+ * Named reserves on some account balances.
2214
+ *
2215
+ * @param {AccountId32Like} arg
2216
+ * @param {Callback<Array<PalletBalancesReserveData>> =} callback
2217
+ **/
2218
+ reserves: GenericStorageQuery<(arg: AccountId32Like) => Array<PalletBalancesReserveData>>;
2219
+
2220
+ /**
2221
+ * Holds on account balances.
2222
+ *
2223
+ * @param {AccountId32Like} arg
2224
+ * @param {Callback<Array<PalletBalancesIdAmount>> =} callback
2225
+ **/
2226
+ holds: GenericStorageQuery<(arg: AccountId32Like) => Array<PalletBalancesIdAmount>>;
2227
+
2228
+ /**
2229
+ * Freeze locks on account balances.
2230
+ *
2231
+ * @param {AccountId32Like} arg
2232
+ * @param {Callback<Array<PalletBalancesIdAmount003>> =} callback
2233
+ **/
2234
+ freezes: GenericStorageQuery<(arg: AccountId32Like) => Array<PalletBalancesIdAmount003>>;
2235
+
2236
+ /**
2237
+ * Generic pallet storage query
2238
+ **/
2239
+ [storage: string]: GenericStorageQuery;
2240
+ };
2241
+ /**
2242
+ * Pallet `VoterList`'s storage queries
2243
+ **/
2244
+ voterList: {
2245
+ /**
2246
+ * A single node, within some bag.
2247
+ *
2248
+ * Nodes store links forward and back within their respective bags.
2249
+ *
2250
+ * @param {AccountId32Like} arg
2251
+ * @param {Callback<PalletBagsListListNode | undefined> =} callback
2252
+ **/
2253
+ listNodes: GenericStorageQuery<(arg: AccountId32Like) => PalletBagsListListNode | undefined>;
2254
+
2255
+ /**
2256
+ * Counter for the related counted storage map
2257
+ *
2258
+ * @param {Callback<number> =} callback
2259
+ **/
2260
+ counterForListNodes: GenericStorageQuery<() => number>;
2261
+
2262
+ /**
2263
+ * A bag stored in storage.
2264
+ *
2265
+ * Stores a `Bag` struct, which stores head and tail pointers to itself.
2266
+ *
2267
+ * @param {bigint} arg
2268
+ * @param {Callback<PalletBagsListListBag | undefined> =} callback
2269
+ **/
2270
+ listBags: GenericStorageQuery<(arg: bigint) => PalletBagsListListBag | undefined>;
2271
+
2272
+ /**
2273
+ * Generic pallet storage query
2274
+ **/
2275
+ [storage: string]: GenericStorageQuery;
2276
+ };
2277
+ /**
2278
+ * Pallet `NominationPools`'s storage queries
2279
+ **/
2280
+ nominationPools: {
2281
+ /**
2282
+ * The sum of funds across all pools.
2283
+ *
2284
+ * This might be lower but never higher than the sum of `total_balance` of all [`PoolMembers`]
2285
+ * because calling `pool_withdraw_unbonded` might decrease the total stake of the pool's
2286
+ * `bonded_account` without adjusting the pallet-internal `UnbondingPool`'s.
2287
+ *
2288
+ * @param {Callback<bigint> =} callback
2289
+ **/
2290
+ totalValueLocked: GenericStorageQuery<() => bigint>;
2291
+
2292
+ /**
2293
+ * Minimum amount to bond to join a pool.
2294
+ *
2295
+ * @param {Callback<bigint> =} callback
2296
+ **/
2297
+ minJoinBond: GenericStorageQuery<() => bigint>;
2298
+
2299
+ /**
2300
+ * Minimum bond required to create a pool.
2301
+ *
2302
+ * This is the amount that the depositor must put as their initial stake in the pool, as an
2303
+ * indication of "skin in the game".
2304
+ *
2305
+ * This is the value that will always exist in the staking ledger of the pool bonded account
2306
+ * while all other accounts leave.
2307
+ *
2308
+ * @param {Callback<bigint> =} callback
2309
+ **/
2310
+ minCreateBond: GenericStorageQuery<() => bigint>;
2311
+
2312
+ /**
2313
+ * Maximum number of nomination pools that can exist. If `None`, then an unbounded number of
2314
+ * pools can exist.
2315
+ *
2316
+ * @param {Callback<number | undefined> =} callback
2317
+ **/
2318
+ maxPools: GenericStorageQuery<() => number | undefined>;
2319
+
2320
+ /**
2321
+ * Maximum number of members that can exist in the system. If `None`, then the count
2322
+ * members are not bound on a system wide basis.
2323
+ *
2324
+ * @param {Callback<number | undefined> =} callback
2325
+ **/
2326
+ maxPoolMembers: GenericStorageQuery<() => number | undefined>;
2327
+
2328
+ /**
2329
+ * Maximum number of members that may belong to pool. If `None`, then the count of
2330
+ * members is not bound on a per pool basis.
2331
+ *
2332
+ * @param {Callback<number | undefined> =} callback
2333
+ **/
2334
+ maxPoolMembersPerPool: GenericStorageQuery<() => number | undefined>;
2335
+
2336
+ /**
2337
+ * The maximum commission that can be charged by a pool. Used on commission payouts to bound
2338
+ * pool commissions that are > `GlobalMaxCommission`, necessary if a future
2339
+ * `GlobalMaxCommission` is lower than some current pool commissions.
2340
+ *
2341
+ * @param {Callback<Perbill | undefined> =} callback
2342
+ **/
2343
+ globalMaxCommission: GenericStorageQuery<() => Perbill | undefined>;
2344
+
2345
+ /**
2346
+ * Active members.
2347
+ *
2348
+ * TWOX-NOTE: SAFE since `AccountId` is a secure hash.
2349
+ *
2350
+ * @param {AccountId32Like} arg
2351
+ * @param {Callback<PalletNominationPoolsPoolMember | undefined> =} callback
2352
+ **/
2353
+ poolMembers: GenericStorageQuery<(arg: AccountId32Like) => PalletNominationPoolsPoolMember | undefined>;
2354
+
2355
+ /**
2356
+ * Counter for the related counted storage map
2357
+ *
2358
+ * @param {Callback<number> =} callback
2359
+ **/
2360
+ counterForPoolMembers: GenericStorageQuery<() => number>;
2361
+
2362
+ /**
2363
+ * Storage for bonded pools.
2364
+ *
2365
+ * @param {number} arg
2366
+ * @param {Callback<PalletNominationPoolsBondedPoolInner | undefined> =} callback
2367
+ **/
2368
+ bondedPools: GenericStorageQuery<(arg: number) => PalletNominationPoolsBondedPoolInner | undefined>;
2369
+
2370
+ /**
2371
+ * Counter for the related counted storage map
2372
+ *
2373
+ * @param {Callback<number> =} callback
2374
+ **/
2375
+ counterForBondedPools: GenericStorageQuery<() => number>;
2376
+
2377
+ /**
2378
+ * Reward pools. This is where there rewards for each pool accumulate. When a members payout is
2379
+ * claimed, the balance comes out fo the reward pool. Keyed by the bonded pools account.
2380
+ *
2381
+ * @param {number} arg
2382
+ * @param {Callback<PalletNominationPoolsRewardPool | undefined> =} callback
2383
+ **/
2384
+ rewardPools: GenericStorageQuery<(arg: number) => PalletNominationPoolsRewardPool | undefined>;
2385
+
2386
+ /**
2387
+ * Counter for the related counted storage map
2388
+ *
2389
+ * @param {Callback<number> =} callback
2390
+ **/
2391
+ counterForRewardPools: GenericStorageQuery<() => number>;
2392
+
2393
+ /**
2394
+ * Groups of unbonding pools. Each group of unbonding pools belongs to a
2395
+ * bonded pool, hence the name sub-pools. Keyed by the bonded pools account.
2396
+ *
2397
+ * @param {number} arg
2398
+ * @param {Callback<PalletNominationPoolsSubPools | undefined> =} callback
2399
+ **/
2400
+ subPoolsStorage: GenericStorageQuery<(arg: number) => PalletNominationPoolsSubPools | undefined>;
2401
+
2402
+ /**
2403
+ * Counter for the related counted storage map
2404
+ *
2405
+ * @param {Callback<number> =} callback
2406
+ **/
2407
+ counterForSubPoolsStorage: GenericStorageQuery<() => number>;
2408
+
2409
+ /**
2410
+ * Metadata for the pool.
2411
+ *
2412
+ * @param {number} arg
2413
+ * @param {Callback<Bytes> =} callback
2414
+ **/
2415
+ metadata: GenericStorageQuery<(arg: number) => Bytes>;
2416
+
2417
+ /**
2418
+ * Counter for the related counted storage map
2419
+ *
2420
+ * @param {Callback<number> =} callback
2421
+ **/
2422
+ counterForMetadata: GenericStorageQuery<() => number>;
2423
+
2424
+ /**
2425
+ * Ever increasing number of all pools created so far.
2426
+ *
2427
+ * @param {Callback<number> =} callback
2428
+ **/
2429
+ lastPoolId: GenericStorageQuery<() => number>;
2430
+
2431
+ /**
2432
+ * A reverse lookup from the pool's account id to its id.
2433
+ *
2434
+ * This is only used for slashing. In all other instances, the pool id is used, and the
2435
+ * accounts are deterministically derived from it.
2436
+ *
2437
+ * @param {AccountId32Like} arg
2438
+ * @param {Callback<number | undefined> =} callback
2439
+ **/
2440
+ reversePoolIdLookup: GenericStorageQuery<(arg: AccountId32Like) => number | undefined>;
2441
+
2442
+ /**
2443
+ * Counter for the related counted storage map
2444
+ *
2445
+ * @param {Callback<number> =} callback
2446
+ **/
2447
+ counterForReversePoolIdLookup: GenericStorageQuery<() => number>;
2448
+
2449
+ /**
2450
+ * Map from a pool member account to their opted claim permission.
2451
+ *
2452
+ * @param {AccountId32Like} arg
2453
+ * @param {Callback<PalletNominationPoolsClaimPermission> =} callback
2454
+ **/
2455
+ claimPermissions: GenericStorageQuery<(arg: AccountId32Like) => PalletNominationPoolsClaimPermission>;
2456
+
2457
+ /**
2458
+ * Generic pallet storage query
2459
+ **/
2460
+ [storage: string]: GenericStorageQuery;
2461
+ };
2462
+ /**
2463
+ * Pallet `FastUnstake`'s storage queries
2464
+ **/
2465
+ fastUnstake: {
2466
+ /**
2467
+ * The current "head of the queue" being unstaked.
2468
+ *
2469
+ * The head in itself can be a batch of up to [`Config::BatchSize`] stakers.
2470
+ *
2471
+ * @param {Callback<PalletFastUnstakeUnstakeRequest | undefined> =} callback
2472
+ **/
2473
+ head: GenericStorageQuery<() => PalletFastUnstakeUnstakeRequest | undefined>;
2474
+
2475
+ /**
2476
+ * The map of all accounts wishing to be unstaked.
2477
+ *
2478
+ * Keeps track of `AccountId` wishing to unstake and it's corresponding deposit.
2479
+ *
2480
+ * @param {AccountId32Like} arg
2481
+ * @param {Callback<bigint | undefined> =} callback
2482
+ **/
2483
+ queue: GenericStorageQuery<(arg: AccountId32Like) => bigint | undefined>;
2484
+
2485
+ /**
2486
+ * Counter for the related counted storage map
2487
+ *
2488
+ * @param {Callback<number> =} callback
2489
+ **/
2490
+ counterForQueue: GenericStorageQuery<() => number>;
2491
+
2492
+ /**
2493
+ * Number of eras to check per block.
2494
+ *
2495
+ * If set to 0, this pallet does absolutely nothing. Cannot be set to more than
2496
+ * [`Config::MaxErasToCheckPerBlock`].
2497
+ *
2498
+ * Based on the amount of weight available at [`Pallet::on_idle`], up to this many eras are
2499
+ * checked. The checking is represented by updating [`UnstakeRequest::checked`], which is
2500
+ * stored in [`Head`].
2501
+ *
2502
+ * @param {Callback<number> =} callback
2503
+ **/
2504
+ erasToCheckPerBlock: GenericStorageQuery<() => number>;
2505
+
2506
+ /**
2507
+ * Generic pallet storage query
2508
+ **/
2509
+ [storage: string]: GenericStorageQuery;
2510
+ };
2511
+ /**
2512
+ * Pallet `Configuration`'s storage queries
2513
+ **/
2514
+ configuration: {
2515
+ /**
2516
+ * The active configuration for the current session.
2517
+ *
2518
+ * @param {Callback<PolkadotRuntimeParachainsConfigurationHostConfiguration> =} callback
2519
+ **/
2520
+ activeConfig: GenericStorageQuery<() => PolkadotRuntimeParachainsConfigurationHostConfiguration>;
2521
+
2522
+ /**
2523
+ * Pending configuration changes.
2524
+ *
2525
+ * This is a list of configuration changes, each with a session index at which it should
2526
+ * be applied.
2527
+ *
2528
+ * The list is sorted ascending by session index. Also, this list can only contain at most
2529
+ * 2 items: for the next session and for the `scheduled_session`.
2530
+ *
2531
+ * @param {Callback<Array<[number, PolkadotRuntimeParachainsConfigurationHostConfiguration]>> =} callback
2532
+ **/
2533
+ pendingConfigs: GenericStorageQuery<() => Array<[number, PolkadotRuntimeParachainsConfigurationHostConfiguration]>>;
2534
+
2535
+ /**
2536
+ * If this is set, then the configuration setters will bypass the consistency checks. This
2537
+ * is meant to be used only as the last resort.
2538
+ *
2539
+ * @param {Callback<boolean> =} callback
2540
+ **/
2541
+ bypassConsistencyCheck: GenericStorageQuery<() => boolean>;
2542
+
2543
+ /**
2544
+ * Generic pallet storage query
2545
+ **/
2546
+ [storage: string]: GenericStorageQuery;
2547
+ };
2548
+ /**
2549
+ * Pallet `ParasShared`'s storage queries
2550
+ **/
2551
+ parasShared: {
2552
+ /**
2553
+ * The current session index.
2554
+ *
2555
+ * @param {Callback<number> =} callback
2556
+ **/
2557
+ currentSessionIndex: GenericStorageQuery<() => number>;
2558
+
2559
+ /**
2560
+ * All the validators actively participating in parachain consensus.
2561
+ * Indices are into the broader validator set.
2562
+ *
2563
+ * @param {Callback<Array<PolkadotPrimitivesV6ValidatorIndex>> =} callback
2564
+ **/
2565
+ activeValidatorIndices: GenericStorageQuery<() => Array<PolkadotPrimitivesV6ValidatorIndex>>;
2566
+
2567
+ /**
2568
+ * The parachain attestation keys of the validators actively participating in parachain
2569
+ * consensus. This should be the same length as `ActiveValidatorIndices`.
2570
+ *
2571
+ * @param {Callback<Array<PolkadotPrimitivesV6ValidatorAppPublic>> =} callback
2572
+ **/
2573
+ activeValidatorKeys: GenericStorageQuery<() => Array<PolkadotPrimitivesV6ValidatorAppPublic>>;
2574
+
2575
+ /**
2576
+ * All allowed relay-parents.
2577
+ *
2578
+ * @param {Callback<PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker> =} callback
2579
+ **/
2580
+ allowedRelayParents: GenericStorageQuery<() => PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker>;
2581
+
2582
+ /**
2583
+ * Generic pallet storage query
2584
+ **/
2585
+ [storage: string]: GenericStorageQuery;
2586
+ };
2587
+ /**
2588
+ * Pallet `ParaInclusion`'s storage queries
2589
+ **/
2590
+ paraInclusion: {
2591
+ /**
2592
+ * The latest bitfield for each validator, referred to by their index in the validator set.
2593
+ *
2594
+ * @param {PolkadotPrimitivesV6ValidatorIndex} arg
2595
+ * @param {Callback<PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord | undefined> =} callback
2596
+ **/
2597
+ availabilityBitfields: GenericStorageQuery<
2598
+ (
2599
+ arg: PolkadotPrimitivesV6ValidatorIndex,
2600
+ ) => PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord | undefined
2601
+ >;
2602
+
2603
+ /**
2604
+ * Candidates pending availability by `ParaId`.
2605
+ *
2606
+ * @param {PolkadotParachainPrimitivesPrimitivesId} arg
2607
+ * @param {Callback<PolkadotRuntimeParachainsInclusionCandidatePendingAvailability | undefined> =} callback
2608
+ **/
2609
+ pendingAvailability: GenericStorageQuery<
2610
+ (
2611
+ arg: PolkadotParachainPrimitivesPrimitivesId,
2612
+ ) => PolkadotRuntimeParachainsInclusionCandidatePendingAvailability | undefined
2613
+ >;
2614
+
2615
+ /**
2616
+ * The commitments of candidates pending availability, by `ParaId`.
2617
+ *
2618
+ * @param {PolkadotParachainPrimitivesPrimitivesId} arg
2619
+ * @param {Callback<PolkadotPrimitivesV6CandidateCommitments | undefined> =} callback
2620
+ **/
2621
+ pendingAvailabilityCommitments: GenericStorageQuery<
2622
+ (arg: PolkadotParachainPrimitivesPrimitivesId) => PolkadotPrimitivesV6CandidateCommitments | undefined
2623
+ >;
2624
+
2625
+ /**
2626
+ * Generic pallet storage query
2627
+ **/
2628
+ [storage: string]: GenericStorageQuery;
2629
+ };
2630
+ /**
2631
+ * Pallet `ParaInherent`'s storage queries
2632
+ **/
2633
+ paraInherent: {
2634
+ /**
2635
+ * Whether the paras inherent was included within this block.
2636
+ *
2637
+ * The `Option<()>` is effectively a `bool`, but it never hits storage in the `None` variant
2638
+ * due to the guarantees of FRAME's storage APIs.
2639
+ *
2640
+ * If this is `None` at the end of the block, we panic and render the block invalid.
2641
+ *
2642
+ * @param {Callback<[] | undefined> =} callback
2643
+ **/
2644
+ included: GenericStorageQuery<() => [] | undefined>;
2645
+
2646
+ /**
2647
+ * Scraped on chain data for extracting resolved disputes as well as backing votes.
2648
+ *
2649
+ * @param {Callback<PolkadotPrimitivesV6ScrapedOnChainVotes | undefined> =} callback
2650
+ **/
2651
+ onChainVotes: GenericStorageQuery<() => PolkadotPrimitivesV6ScrapedOnChainVotes | undefined>;
2652
+
2653
+ /**
2654
+ * Generic pallet storage query
2655
+ **/
2656
+ [storage: string]: GenericStorageQuery;
2657
+ };
2658
+ /**
2659
+ * Pallet `ParaScheduler`'s storage queries
2660
+ **/
2661
+ paraScheduler: {
2662
+ /**
2663
+ * All the validator groups. One for each core. Indices are into `ActiveValidators` - not the
2664
+ * broader set of Polkadot validators, but instead just the subset used for parachains during
2665
+ * this session.
2666
+ *
2667
+ * Bound: The number of cores is the sum of the numbers of parachains and parathread
2668
+ * multiplexers. Reasonably, 100-1000. The dominant factor is the number of validators: safe
2669
+ * upper bound at 10k.
2670
+ *
2671
+ * @param {Callback<Array<Array<PolkadotPrimitivesV6ValidatorIndex>>> =} callback
2672
+ **/
2673
+ validatorGroups: GenericStorageQuery<() => Array<Array<PolkadotPrimitivesV6ValidatorIndex>>>;
2674
+
2675
+ /**
2676
+ * One entry for each availability core. Entries are `None` if the core is not currently
2677
+ * occupied. Can be temporarily `Some` if scheduled but not occupied.
2678
+ * The i'th parachain belongs to the i'th core, with the remaining cores all being
2679
+ * parathread-multiplexers.
2680
+ *
2681
+ * Bounded by the maximum of either of these two values:
2682
+ * * The number of parachains and parathread multiplexers
2683
+ * * The number of validators divided by `configuration.max_validators_per_core`.
2684
+ *
2685
+ * @param {Callback<Array<PolkadotRuntimeParachainsSchedulerPalletCoreOccupied>> =} callback
2686
+ **/
2687
+ availabilityCores: GenericStorageQuery<() => Array<PolkadotRuntimeParachainsSchedulerPalletCoreOccupied>>;
2688
+
2689
+ /**
2690
+ * The block number where the session start occurred. Used to track how many group rotations
2691
+ * have occurred.
2692
+ *
2693
+ * Note that in the context of parachains modules the session change is signaled during
2694
+ * the block and enacted at the end of the block (at the finalization stage, to be exact).
2695
+ * Thus for all intents and purposes the effect of the session change is observed at the
2696
+ * block following the session change, block number of which we save in this storage value.
2697
+ *
2698
+ * @param {Callback<number> =} callback
2699
+ **/
2700
+ sessionStartBlock: GenericStorageQuery<() => number>;
2701
+
2702
+ /**
2703
+ * One entry for each availability core. The `VecDeque` represents the assignments to be
2704
+ * scheduled on that core. `None` is used to signal to not schedule the next para of the core
2705
+ * as there is one currently being scheduled. Not using `None` here would overwrite the
2706
+ * `CoreState` in the runtime API. The value contained here will not be valid after the end of
2707
+ * a block. Runtime APIs should be used to determine scheduled cores/ for the upcoming block.
2708
+ *
2709
+ * @param {Callback<Array<[PolkadotPrimitivesV6CoreIndex, Array<PolkadotRuntimeParachainsSchedulerPalletParasEntry | undefined>]>> =} callback
2710
+ **/
2711
+ claimQueue: GenericStorageQuery<
2712
+ () => Array<
2713
+ [PolkadotPrimitivesV6CoreIndex, Array<PolkadotRuntimeParachainsSchedulerPalletParasEntry | undefined>]
2714
+ >
2715
+ >;
2716
+
2717
+ /**
2718
+ * Generic pallet storage query
2719
+ **/
2720
+ [storage: string]: GenericStorageQuery;
2721
+ };
2722
+ /**
2723
+ * Pallet `Paras`'s storage queries
2724
+ **/
2725
+ paras: {
2726
+ /**
2727
+ * All currently active PVF pre-checking votes.
2728
+ *
2729
+ * Invariant:
2730
+ * - There are no PVF pre-checking votes that exists in list but not in the set and vice versa.
2731
+ *
2732
+ * @param {PolkadotParachainPrimitivesPrimitivesValidationCodeHash} arg
2733
+ * @param {Callback<PolkadotRuntimeParachainsParasPvfCheckActiveVoteState | undefined> =} callback
2734
+ **/
2735
+ pvfActiveVoteMap: GenericStorageQuery<
2736
+ (
2737
+ arg: PolkadotParachainPrimitivesPrimitivesValidationCodeHash,
2738
+ ) => PolkadotRuntimeParachainsParasPvfCheckActiveVoteState | undefined
2739
+ >;
2740
+
2741
+ /**
2742
+ * The list of all currently active PVF votes. Auxiliary to `PvfActiveVoteMap`.
2743
+ *
2744
+ * @param {Callback<Array<PolkadotParachainPrimitivesPrimitivesValidationCodeHash>> =} callback
2745
+ **/
2746
+ pvfActiveVoteList: GenericStorageQuery<() => Array<PolkadotParachainPrimitivesPrimitivesValidationCodeHash>>;
2747
+
2748
+ /**
2749
+ * All lease holding parachains. Ordered ascending by `ParaId`. On demand parachains are not
2750
+ * included.
2751
+ *
2752
+ * Consider using the [`ParachainsCache`] type of modifying.
2753
+ *
2754
+ * @param {Callback<Array<PolkadotParachainPrimitivesPrimitivesId>> =} callback
2755
+ **/
2756
+ parachains: GenericStorageQuery<() => Array<PolkadotParachainPrimitivesPrimitivesId>>;
2757
+
2758
+ /**
2759
+ * The current lifecycle of a all known Para IDs.
2760
+ *
2761
+ * @param {PolkadotParachainPrimitivesPrimitivesId} arg
2762
+ * @param {Callback<PolkadotRuntimeParachainsParasParaLifecycle | undefined> =} callback
2763
+ **/
2764
+ paraLifecycles: GenericStorageQuery<
2765
+ (arg: PolkadotParachainPrimitivesPrimitivesId) => PolkadotRuntimeParachainsParasParaLifecycle | undefined
2766
+ >;
2767
+
2768
+ /**
2769
+ * The head-data of every registered para.
2770
+ *
2771
+ * @param {PolkadotParachainPrimitivesPrimitivesId} arg
2772
+ * @param {Callback<PolkadotParachainPrimitivesPrimitivesHeadData | undefined> =} callback
2773
+ **/
2774
+ heads: GenericStorageQuery<
2775
+ (arg: PolkadotParachainPrimitivesPrimitivesId) => PolkadotParachainPrimitivesPrimitivesHeadData | undefined
2776
+ >;
2777
+
2778
+ /**
2779
+ * The context (relay-chain block number) of the most recent parachain head.
2780
+ *
2781
+ * @param {PolkadotParachainPrimitivesPrimitivesId} arg
2782
+ * @param {Callback<number | undefined> =} callback
2783
+ **/
2784
+ mostRecentContext: GenericStorageQuery<(arg: PolkadotParachainPrimitivesPrimitivesId) => number | undefined>;
2785
+
2786
+ /**
2787
+ * The validation code hash of every live para.
2788
+ *
2789
+ * Corresponding code can be retrieved with [`CodeByHash`].
2790
+ *
2791
+ * @param {PolkadotParachainPrimitivesPrimitivesId} arg
2792
+ * @param {Callback<PolkadotParachainPrimitivesPrimitivesValidationCodeHash | undefined> =} callback
2793
+ **/
2794
+ currentCodeHash: GenericStorageQuery<
2795
+ (
2796
+ arg: PolkadotParachainPrimitivesPrimitivesId,
2797
+ ) => PolkadotParachainPrimitivesPrimitivesValidationCodeHash | undefined
2798
+ >;
2799
+
2800
+ /**
2801
+ * Actual past code hash, indicated by the para id as well as the block number at which it
2802
+ * became outdated.
2803
+ *
2804
+ * Corresponding code can be retrieved with [`CodeByHash`].
2805
+ *
2806
+ * @param {[PolkadotParachainPrimitivesPrimitivesId, number]} arg
2807
+ * @param {Callback<PolkadotParachainPrimitivesPrimitivesValidationCodeHash | undefined> =} callback
2808
+ **/
2809
+ pastCodeHash: GenericStorageQuery<
2810
+ (
2811
+ arg: [PolkadotParachainPrimitivesPrimitivesId, number],
2812
+ ) => PolkadotParachainPrimitivesPrimitivesValidationCodeHash | undefined
2813
+ >;
2814
+
2815
+ /**
2816
+ * Past code of parachains. The parachains themselves may not be registered anymore,
2817
+ * but we also keep their code on-chain for the same amount of time as outdated code
2818
+ * to keep it available for approval checkers.
2819
+ *
2820
+ * @param {PolkadotParachainPrimitivesPrimitivesId} arg
2821
+ * @param {Callback<PolkadotRuntimeParachainsParasParaPastCodeMeta> =} callback
2822
+ **/
2823
+ pastCodeMeta: GenericStorageQuery<
2824
+ (arg: PolkadotParachainPrimitivesPrimitivesId) => PolkadotRuntimeParachainsParasParaPastCodeMeta
2825
+ >;
2826
+
2827
+ /**
2828
+ * Which paras have past code that needs pruning and the relay-chain block at which the code
2829
+ * was replaced. Note that this is the actual height of the included block, not the expected
2830
+ * height at which the code upgrade would be applied, although they may be equal.
2831
+ * This is to ensure the entire acceptance period is covered, not an offset acceptance period
2832
+ * starting from the time at which the parachain perceives a code upgrade as having occurred.
2833
+ * Multiple entries for a single para are permitted. Ordered ascending by block number.
2834
+ *
2835
+ * @param {Callback<Array<[PolkadotParachainPrimitivesPrimitivesId, number]>> =} callback
2836
+ **/
2837
+ pastCodePruning: GenericStorageQuery<() => Array<[PolkadotParachainPrimitivesPrimitivesId, number]>>;
2838
+
2839
+ /**
2840
+ * The block number at which the planned code change is expected for a para.
2841
+ * The change will be applied after the first parablock for this ID included which executes
2842
+ * in the context of a relay chain block with a number >= `expected_at`.
2843
+ *
2844
+ * @param {PolkadotParachainPrimitivesPrimitivesId} arg
2845
+ * @param {Callback<number | undefined> =} callback
2846
+ **/
2847
+ futureCodeUpgrades: GenericStorageQuery<(arg: PolkadotParachainPrimitivesPrimitivesId) => number | undefined>;
2848
+
2849
+ /**
2850
+ * The actual future code hash of a para.
2851
+ *
2852
+ * Corresponding code can be retrieved with [`CodeByHash`].
2853
+ *
2854
+ * @param {PolkadotParachainPrimitivesPrimitivesId} arg
2855
+ * @param {Callback<PolkadotParachainPrimitivesPrimitivesValidationCodeHash | undefined> =} callback
2856
+ **/
2857
+ futureCodeHash: GenericStorageQuery<
2858
+ (
2859
+ arg: PolkadotParachainPrimitivesPrimitivesId,
2860
+ ) => PolkadotParachainPrimitivesPrimitivesValidationCodeHash | undefined
2861
+ >;
2862
+
2863
+ /**
2864
+ * This is used by the relay-chain to communicate to a parachain a go-ahead with in the upgrade
2865
+ * procedure.
2866
+ *
2867
+ * This value is absent when there are no upgrades scheduled or during the time the relay chain
2868
+ * performs the checks. It is set at the first relay-chain block when the corresponding
2869
+ * parachain can switch its upgrade function. As soon as the parachain's block is included, the
2870
+ * value gets reset to `None`.
2871
+ *
2872
+ * NOTE that this field is used by parachains via merkle storage proofs, therefore changing
2873
+ * the format will require migration of parachains.
2874
+ *
2875
+ * @param {PolkadotParachainPrimitivesPrimitivesId} arg
2876
+ * @param {Callback<PolkadotPrimitivesV6UpgradeGoAhead | undefined> =} callback
2877
+ **/
2878
+ upgradeGoAheadSignal: GenericStorageQuery<
2879
+ (arg: PolkadotParachainPrimitivesPrimitivesId) => PolkadotPrimitivesV6UpgradeGoAhead | undefined
2880
+ >;
2881
+
2882
+ /**
2883
+ * This is used by the relay-chain to communicate that there are restrictions for performing
2884
+ * an upgrade for this parachain.
2885
+ *
2886
+ * This may be a because the parachain waits for the upgrade cooldown to expire. Another
2887
+ * potential use case is when we want to perform some maintenance (such as storage migration)
2888
+ * we could restrict upgrades to make the process simpler.
2889
+ *
2890
+ * NOTE that this field is used by parachains via merkle storage proofs, therefore changing
2891
+ * the format will require migration of parachains.
2892
+ *
2893
+ * @param {PolkadotParachainPrimitivesPrimitivesId} arg
2894
+ * @param {Callback<PolkadotPrimitivesV6UpgradeRestriction | undefined> =} callback
2895
+ **/
2896
+ upgradeRestrictionSignal: GenericStorageQuery<
2897
+ (arg: PolkadotParachainPrimitivesPrimitivesId) => PolkadotPrimitivesV6UpgradeRestriction | undefined
2898
+ >;
2899
+
2900
+ /**
2901
+ * The list of parachains that are awaiting for their upgrade restriction to cooldown.
2902
+ *
2903
+ * Ordered ascending by block number.
2904
+ *
2905
+ * @param {Callback<Array<[PolkadotParachainPrimitivesPrimitivesId, number]>> =} callback
2906
+ **/
2907
+ upgradeCooldowns: GenericStorageQuery<() => Array<[PolkadotParachainPrimitivesPrimitivesId, number]>>;
2908
+
2909
+ /**
2910
+ * The list of upcoming code upgrades. Each item is a pair of which para performs a code
2911
+ * upgrade and at which relay-chain block it is expected at.
2912
+ *
2913
+ * Ordered ascending by block number.
2914
+ *
2915
+ * @param {Callback<Array<[PolkadotParachainPrimitivesPrimitivesId, number]>> =} callback
2916
+ **/
2917
+ upcomingUpgrades: GenericStorageQuery<() => Array<[PolkadotParachainPrimitivesPrimitivesId, number]>>;
2918
+
2919
+ /**
2920
+ * The actions to perform during the start of a specific session index.
2921
+ *
2922
+ * @param {number} arg
2923
+ * @param {Callback<Array<PolkadotParachainPrimitivesPrimitivesId>> =} callback
2924
+ **/
2925
+ actionsQueue: GenericStorageQuery<(arg: number) => Array<PolkadotParachainPrimitivesPrimitivesId>>;
2926
+
2927
+ /**
2928
+ * Upcoming paras instantiation arguments.
2929
+ *
2930
+ * NOTE that after PVF pre-checking is enabled the para genesis arg will have it's code set
2931
+ * to empty. Instead, the code will be saved into the storage right away via `CodeByHash`.
2932
+ *
2933
+ * @param {PolkadotParachainPrimitivesPrimitivesId} arg
2934
+ * @param {Callback<PolkadotRuntimeParachainsParasParaGenesisArgs | undefined> =} callback
2935
+ **/
2936
+ upcomingParasGenesis: GenericStorageQuery<
2937
+ (arg: PolkadotParachainPrimitivesPrimitivesId) => PolkadotRuntimeParachainsParasParaGenesisArgs | undefined
2938
+ >;
2939
+
2940
+ /**
2941
+ * The number of reference on the validation code in [`CodeByHash`] storage.
2942
+ *
2943
+ * @param {PolkadotParachainPrimitivesPrimitivesValidationCodeHash} arg
2944
+ * @param {Callback<number> =} callback
2945
+ **/
2946
+ codeByHashRefs: GenericStorageQuery<(arg: PolkadotParachainPrimitivesPrimitivesValidationCodeHash) => number>;
2947
+
2948
+ /**
2949
+ * Validation code stored by its hash.
2950
+ *
2951
+ * This storage is consistent with [`FutureCodeHash`], [`CurrentCodeHash`] and
2952
+ * [`PastCodeHash`].
2953
+ *
2954
+ * @param {PolkadotParachainPrimitivesPrimitivesValidationCodeHash} arg
2955
+ * @param {Callback<PolkadotParachainPrimitivesPrimitivesValidationCode | undefined> =} callback
2956
+ **/
2957
+ codeByHash: GenericStorageQuery<
2958
+ (
2959
+ arg: PolkadotParachainPrimitivesPrimitivesValidationCodeHash,
2960
+ ) => PolkadotParachainPrimitivesPrimitivesValidationCode | undefined
2961
+ >;
2962
+
2963
+ /**
2964
+ * Generic pallet storage query
2965
+ **/
2966
+ [storage: string]: GenericStorageQuery;
2967
+ };
2968
+ /**
2969
+ * Pallet `Initializer`'s storage queries
2970
+ **/
2971
+ initializer: {
2972
+ /**
2973
+ * Whether the parachains modules have been initialized within this block.
2974
+ *
2975
+ * Semantically a `bool`, but this guarantees it should never hit the trie,
2976
+ * as this is cleared in `on_finalize` and Frame optimizes `None` values to be empty values.
2977
+ *
2978
+ * As a `bool`, `set(false)` and `remove()` both lead to the next `get()` being false, but one
2979
+ * of them writes to the trie and one does not. This confusion makes `Option<()>` more suitable
2980
+ * for the semantics of this variable.
2981
+ *
2982
+ * @param {Callback<[] | undefined> =} callback
2983
+ **/
2984
+ hasInitialized: GenericStorageQuery<() => [] | undefined>;
2985
+
2986
+ /**
2987
+ * Buffered session changes along with the block number at which they should be applied.
2988
+ *
2989
+ * Typically this will be empty or one element long. Apart from that this item never hits
2990
+ * the storage.
2991
+ *
2992
+ * However this is a `Vec` regardless to handle various edge cases that may occur at runtime
2993
+ * upgrade boundaries or if governance intervenes.
2994
+ *
2995
+ * @param {Callback<Array<PolkadotRuntimeParachainsInitializerBufferedSessionChange>> =} callback
2996
+ **/
2997
+ bufferedSessionChanges: GenericStorageQuery<() => Array<PolkadotRuntimeParachainsInitializerBufferedSessionChange>>;
2998
+
2999
+ /**
3000
+ * Generic pallet storage query
3001
+ **/
3002
+ [storage: string]: GenericStorageQuery;
3003
+ };
3004
+ /**
3005
+ * Pallet `Dmp`'s storage queries
3006
+ **/
3007
+ dmp: {
3008
+ /**
3009
+ * The downward messages addressed for a certain para.
3010
+ *
3011
+ * @param {PolkadotParachainPrimitivesPrimitivesId} arg
3012
+ * @param {Callback<Array<PolkadotCorePrimitivesInboundDownwardMessage>> =} callback
3013
+ **/
3014
+ downwardMessageQueues: GenericStorageQuery<
3015
+ (arg: PolkadotParachainPrimitivesPrimitivesId) => Array<PolkadotCorePrimitivesInboundDownwardMessage>
3016
+ >;
3017
+
3018
+ /**
3019
+ * A mapping that stores the downward message queue MQC head for each para.
3020
+ *
3021
+ * Each link in this chain has a form:
3022
+ * `(prev_head, B, H(M))`, where
3023
+ * - `prev_head`: is the previous head hash or zero if none.
3024
+ * - `B`: is the relay-chain block number in which a message was appended.
3025
+ * - `H(M)`: is the hash of the message being appended.
3026
+ *
3027
+ * @param {PolkadotParachainPrimitivesPrimitivesId} arg
3028
+ * @param {Callback<H256> =} callback
3029
+ **/
3030
+ downwardMessageQueueHeads: GenericStorageQuery<(arg: PolkadotParachainPrimitivesPrimitivesId) => H256>;
3031
+
3032
+ /**
3033
+ * The factor to multiply the base delivery fee by.
3034
+ *
3035
+ * @param {PolkadotParachainPrimitivesPrimitivesId} arg
3036
+ * @param {Callback<FixedU128> =} callback
3037
+ **/
3038
+ deliveryFeeFactor: GenericStorageQuery<(arg: PolkadotParachainPrimitivesPrimitivesId) => FixedU128>;
3039
+
3040
+ /**
3041
+ * Generic pallet storage query
3042
+ **/
3043
+ [storage: string]: GenericStorageQuery;
3044
+ };
3045
+ /**
3046
+ * Pallet `Hrmp`'s storage queries
3047
+ **/
3048
+ hrmp: {
3049
+ /**
3050
+ * The set of pending HRMP open channel requests.
3051
+ *
3052
+ * The set is accompanied by a list for iteration.
3053
+ *
3054
+ * Invariant:
3055
+ * - There are no channels that exists in list but not in the set and vice versa.
3056
+ *
3057
+ * @param {PolkadotParachainPrimitivesPrimitivesHrmpChannelId} arg
3058
+ * @param {Callback<PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest | undefined> =} callback
3059
+ **/
3060
+ hrmpOpenChannelRequests: GenericStorageQuery<
3061
+ (
3062
+ arg: PolkadotParachainPrimitivesPrimitivesHrmpChannelId,
3063
+ ) => PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest | undefined
3064
+ >;
3065
+
3066
+ /**
3067
+ *
3068
+ * @param {Callback<Array<PolkadotParachainPrimitivesPrimitivesHrmpChannelId>> =} callback
3069
+ **/
3070
+ hrmpOpenChannelRequestsList: GenericStorageQuery<() => Array<PolkadotParachainPrimitivesPrimitivesHrmpChannelId>>;
3071
+
3072
+ /**
3073
+ * This mapping tracks how many open channel requests are initiated by a given sender para.
3074
+ * Invariant: `HrmpOpenChannelRequests` should contain the same number of items that has
3075
+ * `(X, _)` as the number of `HrmpOpenChannelRequestCount` for `X`.
3076
+ *
3077
+ * @param {PolkadotParachainPrimitivesPrimitivesId} arg
3078
+ * @param {Callback<number> =} callback
3079
+ **/
3080
+ hrmpOpenChannelRequestCount: GenericStorageQuery<(arg: PolkadotParachainPrimitivesPrimitivesId) => number>;
3081
+
3082
+ /**
3083
+ * This mapping tracks how many open channel requests were accepted by a given recipient para.
3084
+ * Invariant: `HrmpOpenChannelRequests` should contain the same number of items `(_, X)` with
3085
+ * `confirmed` set to true, as the number of `HrmpAcceptedChannelRequestCount` for `X`.
3086
+ *
3087
+ * @param {PolkadotParachainPrimitivesPrimitivesId} arg
3088
+ * @param {Callback<number> =} callback
3089
+ **/
3090
+ hrmpAcceptedChannelRequestCount: GenericStorageQuery<(arg: PolkadotParachainPrimitivesPrimitivesId) => number>;
3091
+
3092
+ /**
3093
+ * A set of pending HRMP close channel requests that are going to be closed during the session
3094
+ * change. Used for checking if a given channel is registered for closure.
3095
+ *
3096
+ * The set is accompanied by a list for iteration.
3097
+ *
3098
+ * Invariant:
3099
+ * - There are no channels that exists in list but not in the set and vice versa.
3100
+ *
3101
+ * @param {PolkadotParachainPrimitivesPrimitivesHrmpChannelId} arg
3102
+ * @param {Callback<[] | undefined> =} callback
3103
+ **/
3104
+ hrmpCloseChannelRequests: GenericStorageQuery<
3105
+ (arg: PolkadotParachainPrimitivesPrimitivesHrmpChannelId) => [] | undefined
3106
+ >;
3107
+
3108
+ /**
3109
+ *
3110
+ * @param {Callback<Array<PolkadotParachainPrimitivesPrimitivesHrmpChannelId>> =} callback
3111
+ **/
3112
+ hrmpCloseChannelRequestsList: GenericStorageQuery<() => Array<PolkadotParachainPrimitivesPrimitivesHrmpChannelId>>;
3113
+
3114
+ /**
3115
+ * The HRMP watermark associated with each para.
3116
+ * Invariant:
3117
+ * - each para `P` used here as a key should satisfy `Paras::is_valid_para(P)` within a
3118
+ * session.
3119
+ *
3120
+ * @param {PolkadotParachainPrimitivesPrimitivesId} arg
3121
+ * @param {Callback<number | undefined> =} callback
3122
+ **/
3123
+ hrmpWatermarks: GenericStorageQuery<(arg: PolkadotParachainPrimitivesPrimitivesId) => number | undefined>;
3124
+
3125
+ /**
3126
+ * HRMP channel data associated with each para.
3127
+ * Invariant:
3128
+ * - each participant in the channel should satisfy `Paras::is_valid_para(P)` within a session.
3129
+ *
3130
+ * @param {PolkadotParachainPrimitivesPrimitivesHrmpChannelId} arg
3131
+ * @param {Callback<PolkadotRuntimeParachainsHrmpHrmpChannel | undefined> =} callback
3132
+ **/
3133
+ hrmpChannels: GenericStorageQuery<
3134
+ (arg: PolkadotParachainPrimitivesPrimitivesHrmpChannelId) => PolkadotRuntimeParachainsHrmpHrmpChannel | undefined
3135
+ >;
3136
+
3137
+ /**
3138
+ * Ingress/egress indexes allow to find all the senders and receivers given the opposite side.
3139
+ * I.e.
3140
+ *
3141
+ * (a) ingress index allows to find all the senders for a given recipient.
3142
+ * (b) egress index allows to find all the recipients for a given sender.
3143
+ *
3144
+ * Invariants:
3145
+ * - for each ingress index entry for `P` each item `I` in the index should present in
3146
+ * `HrmpChannels` as `(I, P)`.
3147
+ * - for each egress index entry for `P` each item `E` in the index should present in
3148
+ * `HrmpChannels` as `(P, E)`.
3149
+ * - there should be no other dangling channels in `HrmpChannels`.
3150
+ * - the vectors are sorted.
3151
+ *
3152
+ * @param {PolkadotParachainPrimitivesPrimitivesId} arg
3153
+ * @param {Callback<Array<PolkadotParachainPrimitivesPrimitivesId>> =} callback
3154
+ **/
3155
+ hrmpIngressChannelsIndex: GenericStorageQuery<
3156
+ (arg: PolkadotParachainPrimitivesPrimitivesId) => Array<PolkadotParachainPrimitivesPrimitivesId>
3157
+ >;
3158
+
3159
+ /**
3160
+ *
3161
+ * @param {PolkadotParachainPrimitivesPrimitivesId} arg
3162
+ * @param {Callback<Array<PolkadotParachainPrimitivesPrimitivesId>> =} callback
3163
+ **/
3164
+ hrmpEgressChannelsIndex: GenericStorageQuery<
3165
+ (arg: PolkadotParachainPrimitivesPrimitivesId) => Array<PolkadotParachainPrimitivesPrimitivesId>
3166
+ >;
3167
+
3168
+ /**
3169
+ * Storage for the messages for each channel.
3170
+ * Invariant: cannot be non-empty if the corresponding channel in `HrmpChannels` is `None`.
3171
+ *
3172
+ * @param {PolkadotParachainPrimitivesPrimitivesHrmpChannelId} arg
3173
+ * @param {Callback<Array<PolkadotCorePrimitivesInboundHrmpMessage>> =} callback
3174
+ **/
3175
+ hrmpChannelContents: GenericStorageQuery<
3176
+ (arg: PolkadotParachainPrimitivesPrimitivesHrmpChannelId) => Array<PolkadotCorePrimitivesInboundHrmpMessage>
3177
+ >;
3178
+
3179
+ /**
3180
+ * Maintains a mapping that can be used to answer the question: What paras sent a message at
3181
+ * the given block number for a given receiver. Invariants:
3182
+ * - The inner `Vec<ParaId>` is never empty.
3183
+ * - The inner `Vec<ParaId>` cannot store two same `ParaId`.
3184
+ * - The outer vector is sorted ascending by block number and cannot store two items with the
3185
+ * same block number.
3186
+ *
3187
+ * @param {PolkadotParachainPrimitivesPrimitivesId} arg
3188
+ * @param {Callback<Array<[number, Array<PolkadotParachainPrimitivesPrimitivesId>]>> =} callback
3189
+ **/
3190
+ hrmpChannelDigests: GenericStorageQuery<
3191
+ (arg: PolkadotParachainPrimitivesPrimitivesId) => Array<[number, Array<PolkadotParachainPrimitivesPrimitivesId>]>
3192
+ >;
3193
+
3194
+ /**
3195
+ * Generic pallet storage query
3196
+ **/
3197
+ [storage: string]: GenericStorageQuery;
3198
+ };
3199
+ /**
3200
+ * Pallet `ParaSessionInfo`'s storage queries
3201
+ **/
3202
+ paraSessionInfo: {
3203
+ /**
3204
+ * Assignment keys for the current session.
3205
+ * Note that this API is private due to it being prone to 'off-by-one' at session boundaries.
3206
+ * When in doubt, use `Sessions` API instead.
3207
+ *
3208
+ * @param {Callback<Array<PolkadotPrimitivesV6AssignmentAppPublic>> =} callback
3209
+ **/
3210
+ assignmentKeysUnsafe: GenericStorageQuery<() => Array<PolkadotPrimitivesV6AssignmentAppPublic>>;
3211
+
3212
+ /**
3213
+ * The earliest session for which previous session info is stored.
3214
+ *
3215
+ * @param {Callback<number> =} callback
3216
+ **/
3217
+ earliestStoredSession: GenericStorageQuery<() => number>;
3218
+
3219
+ /**
3220
+ * Session information in a rolling window.
3221
+ * Should have an entry in range `EarliestStoredSession..=CurrentSessionIndex`.
3222
+ * Does not have any entries before the session index in the first session change notification.
3223
+ *
3224
+ * @param {number} arg
3225
+ * @param {Callback<PolkadotPrimitivesV6SessionInfo | undefined> =} callback
3226
+ **/
3227
+ sessions: GenericStorageQuery<(arg: number) => PolkadotPrimitivesV6SessionInfo | undefined>;
3228
+
3229
+ /**
3230
+ * The validator account keys of the validators actively participating in parachain consensus.
3231
+ *
3232
+ * @param {number} arg
3233
+ * @param {Callback<Array<AccountId32> | undefined> =} callback
3234
+ **/
3235
+ accountKeys: GenericStorageQuery<(arg: number) => Array<AccountId32> | undefined>;
3236
+
3237
+ /**
3238
+ * Executor parameter set for a given session index
3239
+ *
3240
+ * @param {number} arg
3241
+ * @param {Callback<PolkadotPrimitivesV6ExecutorParams | undefined> =} callback
3242
+ **/
3243
+ sessionExecutorParams: GenericStorageQuery<(arg: number) => PolkadotPrimitivesV6ExecutorParams | undefined>;
3244
+
3245
+ /**
3246
+ * Generic pallet storage query
3247
+ **/
3248
+ [storage: string]: GenericStorageQuery;
3249
+ };
3250
+ /**
3251
+ * Pallet `ParasDisputes`'s storage queries
3252
+ **/
3253
+ parasDisputes: {
3254
+ /**
3255
+ * The last pruned session, if any. All data stored by this module
3256
+ * references sessions.
3257
+ *
3258
+ * @param {Callback<number | undefined> =} callback
3259
+ **/
3260
+ lastPrunedSession: GenericStorageQuery<() => number | undefined>;
3261
+
3262
+ /**
3263
+ * All ongoing or concluded disputes for the last several sessions.
3264
+ *
3265
+ * @param {[number, PolkadotCorePrimitivesCandidateHash]} arg
3266
+ * @param {Callback<PolkadotPrimitivesV6DisputeState | undefined> =} callback
3267
+ **/
3268
+ disputes: GenericStorageQuery<
3269
+ (arg: [number, PolkadotCorePrimitivesCandidateHash]) => PolkadotPrimitivesV6DisputeState | undefined
3270
+ >;
3271
+
3272
+ /**
3273
+ * Backing votes stored for each dispute.
3274
+ * This storage is used for slashing.
3275
+ *
3276
+ * @param {[number, PolkadotCorePrimitivesCandidateHash]} arg
3277
+ * @param {Callback<Array<PolkadotPrimitivesV6ValidatorIndex> | undefined> =} callback
3278
+ **/
3279
+ backersOnDisputes: GenericStorageQuery<
3280
+ (arg: [number, PolkadotCorePrimitivesCandidateHash]) => Array<PolkadotPrimitivesV6ValidatorIndex> | undefined
3281
+ >;
3282
+
3283
+ /**
3284
+ * All included blocks on the chain, as well as the block number in this chain that
3285
+ * should be reverted back to if the candidate is disputed and determined to be invalid.
3286
+ *
3287
+ * @param {[number, PolkadotCorePrimitivesCandidateHash]} arg
3288
+ * @param {Callback<number | undefined> =} callback
3289
+ **/
3290
+ included: GenericStorageQuery<(arg: [number, PolkadotCorePrimitivesCandidateHash]) => number | undefined>;
3291
+
3292
+ /**
3293
+ * Whether the chain is frozen. Starts as `None`. When this is `Some`,
3294
+ * the chain will not accept any new parachain blocks for backing or inclusion,
3295
+ * and its value indicates the last valid block number in the chain.
3296
+ * It can only be set back to `None` by governance intervention.
3297
+ *
3298
+ * @param {Callback<number | undefined> =} callback
3299
+ **/
3300
+ frozen: GenericStorageQuery<() => number | undefined>;
3301
+
3302
+ /**
3303
+ * Generic pallet storage query
3304
+ **/
3305
+ [storage: string]: GenericStorageQuery;
3306
+ };
3307
+ /**
3308
+ * Pallet `ParasSlashing`'s storage queries
3309
+ **/
3310
+ parasSlashing: {
3311
+ /**
3312
+ * Validators pending dispute slashes.
3313
+ *
3314
+ * @param {[number, PolkadotCorePrimitivesCandidateHash]} arg
3315
+ * @param {Callback<PolkadotPrimitivesV6SlashingPendingSlashes | undefined> =} callback
3316
+ **/
3317
+ unappliedSlashes: GenericStorageQuery<
3318
+ (arg: [number, PolkadotCorePrimitivesCandidateHash]) => PolkadotPrimitivesV6SlashingPendingSlashes | undefined
3319
+ >;
3320
+
3321
+ /**
3322
+ * `ValidatorSetCount` per session.
3323
+ *
3324
+ * @param {number} arg
3325
+ * @param {Callback<number | undefined> =} callback
3326
+ **/
3327
+ validatorSetCounts: GenericStorageQuery<(arg: number) => number | undefined>;
3328
+
3329
+ /**
3330
+ * Generic pallet storage query
3331
+ **/
3332
+ [storage: string]: GenericStorageQuery;
3333
+ };
3334
+ /**
3335
+ * Pallet `ParaAssignmentProvider`'s storage queries
3336
+ **/
3337
+ paraAssignmentProvider: {
3338
+ /**
3339
+ * Generic pallet storage query
3340
+ **/
3341
+ [storage: string]: GenericStorageQuery;
3342
+ };
3343
+ /**
3344
+ * Pallet `Registrar`'s storage queries
3345
+ **/
3346
+ registrar: {
3347
+ /**
3348
+ * Pending swap operations.
3349
+ *
3350
+ * @param {PolkadotParachainPrimitivesPrimitivesId} arg
3351
+ * @param {Callback<PolkadotParachainPrimitivesPrimitivesId | undefined> =} callback
3352
+ **/
3353
+ pendingSwap: GenericStorageQuery<
3354
+ (arg: PolkadotParachainPrimitivesPrimitivesId) => PolkadotParachainPrimitivesPrimitivesId | undefined
3355
+ >;
3356
+
3357
+ /**
3358
+ * Amount held on deposit for each para and the original depositor.
3359
+ *
3360
+ * The given account ID is responsible for registering the code and initial head data, but may
3361
+ * only do so if it isn't yet registered. (After that, it's up to governance to do so.)
3362
+ *
3363
+ * @param {PolkadotParachainPrimitivesPrimitivesId} arg
3364
+ * @param {Callback<PolkadotRuntimeCommonParasRegistrarParaInfo | undefined> =} callback
3365
+ **/
3366
+ paras: GenericStorageQuery<
3367
+ (arg: PolkadotParachainPrimitivesPrimitivesId) => PolkadotRuntimeCommonParasRegistrarParaInfo | undefined
3368
+ >;
3369
+
3370
+ /**
3371
+ * The next free `ParaId`.
3372
+ *
3373
+ * @param {Callback<PolkadotParachainPrimitivesPrimitivesId> =} callback
3374
+ **/
3375
+ nextFreeParaId: GenericStorageQuery<() => PolkadotParachainPrimitivesPrimitivesId>;
3376
+
3377
+ /**
3378
+ * Generic pallet storage query
3379
+ **/
3380
+ [storage: string]: GenericStorageQuery;
3381
+ };
3382
+ /**
3383
+ * Pallet `Slots`'s storage queries
3384
+ **/
3385
+ slots: {
3386
+ /**
3387
+ * Amounts held on deposit for each (possibly future) leased parachain.
3388
+ *
3389
+ * The actual amount locked on its behalf by any account at any time is the maximum of the
3390
+ * second values of the items in this list whose first value is the account.
3391
+ *
3392
+ * The first item in the list is the amount locked for the current Lease Period. Following
3393
+ * items are for the subsequent lease periods.
3394
+ *
3395
+ * The default value (an empty list) implies that the parachain no longer exists (or never
3396
+ * existed) as far as this pallet is concerned.
3397
+ *
3398
+ * If a parachain doesn't exist *yet* but is scheduled to exist in the future, then it
3399
+ * will be left-padded with one or more `None`s to denote the fact that nothing is held on
3400
+ * deposit for the non-existent chain currently, but is held at some point in the future.
3401
+ *
3402
+ * It is illegal for a `None` value to trail in the list.
3403
+ *
3404
+ * @param {PolkadotParachainPrimitivesPrimitivesId} arg
3405
+ * @param {Callback<Array<[AccountId32, bigint] | undefined>> =} callback
3406
+ **/
3407
+ leases: GenericStorageQuery<
3408
+ (arg: PolkadotParachainPrimitivesPrimitivesId) => Array<[AccountId32, bigint] | undefined>
3409
+ >;
3410
+
3411
+ /**
3412
+ * Generic pallet storage query
3413
+ **/
3414
+ [storage: string]: GenericStorageQuery;
3415
+ };
3416
+ /**
3417
+ * Pallet `Auctions`'s storage queries
3418
+ **/
3419
+ auctions: {
3420
+ /**
3421
+ * Number of auctions started so far.
3422
+ *
3423
+ * @param {Callback<number> =} callback
3424
+ **/
3425
+ auctionCounter: GenericStorageQuery<() => number>;
3426
+
3427
+ /**
3428
+ * Information relating to the current auction, if there is one.
3429
+ *
3430
+ * The first item in the tuple is the lease period index that the first of the four
3431
+ * contiguous lease periods on auction is for. The second is the block number when the
3432
+ * auction will "begin to end", i.e. the first block of the Ending Period of the auction.
3433
+ *
3434
+ * @param {Callback<[number, number] | undefined> =} callback
3435
+ **/
3436
+ auctionInfo: GenericStorageQuery<() => [number, number] | undefined>;
3437
+
3438
+ /**
3439
+ * Amounts currently reserved in the accounts of the bidders currently winning
3440
+ * (sub-)ranges.
3441
+ *
3442
+ * @param {[AccountId32Like, PolkadotParachainPrimitivesPrimitivesId]} arg
3443
+ * @param {Callback<bigint | undefined> =} callback
3444
+ **/
3445
+ reservedAmounts: GenericStorageQuery<
3446
+ (arg: [AccountId32Like, PolkadotParachainPrimitivesPrimitivesId]) => bigint | undefined
3447
+ >;
3448
+
3449
+ /**
3450
+ * The winning bids for each of the 10 ranges at each sample in the final Ending Period of
3451
+ * the current auction. The map's key is the 0-based index into the Sample Size. The
3452
+ * first sample of the ending period is 0; the last is `Sample Size - 1`.
3453
+ *
3454
+ * @param {number} arg
3455
+ * @param {Callback<FixedArray<[AccountId32, PolkadotParachainPrimitivesPrimitivesId, bigint] | undefined, 36> | undefined> =} callback
3456
+ **/
3457
+ winning: GenericStorageQuery<
3458
+ (
3459
+ arg: number,
3460
+ ) => FixedArray<[AccountId32, PolkadotParachainPrimitivesPrimitivesId, bigint] | undefined, 36> | undefined
3461
+ >;
3462
+
3463
+ /**
3464
+ * Generic pallet storage query
3465
+ **/
3466
+ [storage: string]: GenericStorageQuery;
3467
+ };
3468
+ /**
3469
+ * Pallet `Crowdloan`'s storage queries
3470
+ **/
3471
+ crowdloan: {
3472
+ /**
3473
+ * Info on all of the funds.
3474
+ *
3475
+ * @param {PolkadotParachainPrimitivesPrimitivesId} arg
3476
+ * @param {Callback<PolkadotRuntimeCommonCrowdloanFundInfo | undefined> =} callback
3477
+ **/
3478
+ funds: GenericStorageQuery<
3479
+ (arg: PolkadotParachainPrimitivesPrimitivesId) => PolkadotRuntimeCommonCrowdloanFundInfo | undefined
3480
+ >;
3481
+
3482
+ /**
3483
+ * The funds that have had additional contributions during the last block. This is used
3484
+ * in order to determine which funds should submit new or updated bids.
3485
+ *
3486
+ * @param {Callback<Array<PolkadotParachainPrimitivesPrimitivesId>> =} callback
3487
+ **/
3488
+ newRaise: GenericStorageQuery<() => Array<PolkadotParachainPrimitivesPrimitivesId>>;
3489
+
3490
+ /**
3491
+ * The number of auctions that have entered into their ending period so far.
3492
+ *
3493
+ * @param {Callback<number> =} callback
3494
+ **/
3495
+ endingsCount: GenericStorageQuery<() => number>;
3496
+
3497
+ /**
3498
+ * Tracker for the next available fund index
3499
+ *
3500
+ * @param {Callback<number> =} callback
3501
+ **/
3502
+ nextFundIndex: GenericStorageQuery<() => number>;
3503
+
3504
+ /**
3505
+ * Generic pallet storage query
3506
+ **/
3507
+ [storage: string]: GenericStorageQuery;
3508
+ };
3509
+ /**
3510
+ * Pallet `StateTrieMigration`'s storage queries
3511
+ **/
3512
+ stateTrieMigration: {
3513
+ /**
3514
+ * Migration progress.
3515
+ *
3516
+ * This stores the snapshot of the last migrated keys. It can be set into motion and move
3517
+ * forward by any of the means provided by this pallet.
3518
+ *
3519
+ * @param {Callback<PalletStateTrieMigrationMigrationTask> =} callback
3520
+ **/
3521
+ migrationProcess: GenericStorageQuery<() => PalletStateTrieMigrationMigrationTask>;
3522
+
3523
+ /**
3524
+ * The limits that are imposed on automatic migrations.
3525
+ *
3526
+ * If set to None, then no automatic migration happens.
3527
+ *
3528
+ * @param {Callback<PalletStateTrieMigrationMigrationLimits | undefined> =} callback
3529
+ **/
3530
+ autoLimits: GenericStorageQuery<() => PalletStateTrieMigrationMigrationLimits | undefined>;
3531
+
3532
+ /**
3533
+ * The maximum limits that the signed migration could use.
3534
+ *
3535
+ * If not set, no signed submission is allowed.
3536
+ *
3537
+ * @param {Callback<PalletStateTrieMigrationMigrationLimits | undefined> =} callback
3538
+ **/
3539
+ signedMigrationMaxLimits: GenericStorageQuery<() => PalletStateTrieMigrationMigrationLimits | undefined>;
3540
+
3541
+ /**
3542
+ * Generic pallet storage query
3543
+ **/
3544
+ [storage: string]: GenericStorageQuery;
3545
+ };
3546
+ /**
3547
+ * Pallet `XcmPallet`'s storage queries
3548
+ **/
3549
+ xcmPallet: {
3550
+ /**
3551
+ * The latest available query index.
3552
+ *
3553
+ * @param {Callback<bigint> =} callback
3554
+ **/
3555
+ queryCounter: GenericStorageQuery<() => bigint>;
3556
+
3557
+ /**
3558
+ * The ongoing queries.
3559
+ *
3560
+ * @param {bigint} arg
3561
+ * @param {Callback<PalletXcmQueryStatus | undefined> =} callback
3562
+ **/
3563
+ queries: GenericStorageQuery<(arg: bigint) => PalletXcmQueryStatus | undefined>;
3564
+
3565
+ /**
3566
+ * The existing asset traps.
3567
+ *
3568
+ * Key is the blake2 256 hash of (origin, versioned `MultiAssets`) pair. Value is the number of
3569
+ * times this pair has been trapped (usually just 1 if it exists at all).
3570
+ *
3571
+ * @param {H256} arg
3572
+ * @param {Callback<number> =} callback
3573
+ **/
3574
+ assetTraps: GenericStorageQuery<(arg: H256) => number>;
3575
+
3576
+ /**
3577
+ * Default version to encode XCM when latest version of destination is unknown. If `None`,
3578
+ * then the destinations whose XCM version is unknown are considered unreachable.
3579
+ *
3580
+ * @param {Callback<number | undefined> =} callback
3581
+ **/
3582
+ safeXcmVersion: GenericStorageQuery<() => number | undefined>;
3583
+
3584
+ /**
3585
+ * The Latest versions that we know various locations support.
3586
+ *
3587
+ * @param {[number, XcmVersionedMultiLocation]} arg
3588
+ * @param {Callback<number | undefined> =} callback
3589
+ **/
3590
+ supportedVersion: GenericStorageQuery<(arg: [number, XcmVersionedMultiLocation]) => number | undefined>;
3591
+
3592
+ /**
3593
+ * All locations that we have requested version notifications from.
3594
+ *
3595
+ * @param {[number, XcmVersionedMultiLocation]} arg
3596
+ * @param {Callback<bigint | undefined> =} callback
3597
+ **/
3598
+ versionNotifiers: GenericStorageQuery<(arg: [number, XcmVersionedMultiLocation]) => bigint | undefined>;
3599
+
3600
+ /**
3601
+ * The target locations that are subscribed to our version changes, as well as the most recent
3602
+ * of our versions we informed them of.
3603
+ *
3604
+ * @param {[number, XcmVersionedMultiLocation]} arg
3605
+ * @param {Callback<[bigint, SpWeightsWeightV2Weight, number] | undefined> =} callback
3606
+ **/
3607
+ versionNotifyTargets: GenericStorageQuery<
3608
+ (arg: [number, XcmVersionedMultiLocation]) => [bigint, SpWeightsWeightV2Weight, number] | undefined
3609
+ >;
3610
+
3611
+ /**
3612
+ * Destinations whose latest XCM version we would like to know. Duplicates not allowed, and
3613
+ * the `u32` counter is the number of times that a send to the destination has been attempted,
3614
+ * which is used as a prioritization.
3615
+ *
3616
+ * @param {Callback<Array<[XcmVersionedMultiLocation, number]>> =} callback
3617
+ **/
3618
+ versionDiscoveryQueue: GenericStorageQuery<() => Array<[XcmVersionedMultiLocation, number]>>;
3619
+
3620
+ /**
3621
+ * The current migration's stage, if any.
3622
+ *
3623
+ * @param {Callback<PalletXcmVersionMigrationStage | undefined> =} callback
3624
+ **/
3625
+ currentMigration: GenericStorageQuery<() => PalletXcmVersionMigrationStage | undefined>;
3626
+
3627
+ /**
3628
+ * Fungible assets which we know are locked on a remote chain.
3629
+ *
3630
+ * @param {[number, AccountId32Like, XcmVersionedAssetId]} arg
3631
+ * @param {Callback<PalletXcmRemoteLockedFungibleRecord | undefined> =} callback
3632
+ **/
3633
+ remoteLockedFungibles: GenericStorageQuery<
3634
+ (arg: [number, AccountId32Like, XcmVersionedAssetId]) => PalletXcmRemoteLockedFungibleRecord | undefined
3635
+ >;
3636
+
3637
+ /**
3638
+ * Fungible assets which we know are locked on this chain.
3639
+ *
3640
+ * @param {AccountId32Like} arg
3641
+ * @param {Callback<Array<[bigint, XcmVersionedMultiLocation]> | undefined> =} callback
3642
+ **/
3643
+ lockedFungibles: GenericStorageQuery<
3644
+ (arg: AccountId32Like) => Array<[bigint, XcmVersionedMultiLocation]> | undefined
3645
+ >;
3646
+
3647
+ /**
3648
+ * Global suspension state of the XCM executor.
3649
+ *
3650
+ * @param {Callback<boolean> =} callback
3651
+ **/
3652
+ xcmExecutionSuspended: GenericStorageQuery<() => boolean>;
3653
+
3654
+ /**
3655
+ * Generic pallet storage query
3656
+ **/
3657
+ [storage: string]: GenericStorageQuery;
3658
+ };
3659
+ /**
3660
+ * Pallet `MessageQueue`'s storage queries
3661
+ **/
3662
+ messageQueue: {
3663
+ /**
3664
+ * The index of the first and last (non-empty) pages.
3665
+ *
3666
+ * @param {PolkadotRuntimeParachainsInclusionAggregateMessageOrigin} arg
3667
+ * @param {Callback<PalletMessageQueueBookState> =} callback
3668
+ **/
3669
+ bookStateFor: GenericStorageQuery<
3670
+ (arg: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin) => PalletMessageQueueBookState
3671
+ >;
3672
+
3673
+ /**
3674
+ * The origin at which we should begin servicing.
3675
+ *
3676
+ * @param {Callback<PolkadotRuntimeParachainsInclusionAggregateMessageOrigin | undefined> =} callback
3677
+ **/
3678
+ serviceHead: GenericStorageQuery<() => PolkadotRuntimeParachainsInclusionAggregateMessageOrigin | undefined>;
3679
+
3680
+ /**
3681
+ * The map of page indices to pages.
3682
+ *
3683
+ * @param {[PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, number]} arg
3684
+ * @param {Callback<PalletMessageQueuePage | undefined> =} callback
3685
+ **/
3686
+ pages: GenericStorageQuery<
3687
+ (arg: [PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, number]) => PalletMessageQueuePage | undefined
3688
+ >;
3689
+
3690
+ /**
3691
+ * Generic pallet storage query
3692
+ **/
3693
+ [storage: string]: GenericStorageQuery;
3694
+ };
3695
+ /**
3696
+ * Pallet `AssetRate`'s storage queries
3697
+ **/
3698
+ assetRate: {
3699
+ /**
3700
+ * Maps an asset to its fixed point representation in the native balance.
3701
+ *
3702
+ * E.g. `native_amount = asset_amount * ConversionRateToNative::<T>::get(asset_kind)`
3703
+ *
3704
+ * @param {PolkadotRuntimeCommonImplsVersionedLocatableAsset} arg
3705
+ * @param {Callback<FixedU128 | undefined> =} callback
3706
+ **/
3707
+ conversionRateToNative: GenericStorageQuery<
3708
+ (arg: PolkadotRuntimeCommonImplsVersionedLocatableAsset) => FixedU128 | undefined
3709
+ >;
3710
+
3711
+ /**
3712
+ * Generic pallet storage query
3713
+ **/
3714
+ [storage: string]: GenericStorageQuery;
3715
+ };
3716
+ /**
3717
+ * Pallet `Beefy`'s storage queries
3718
+ **/
3719
+ beefy: {
3720
+ /**
3721
+ * The current authorities set
3722
+ *
3723
+ * @param {Callback<Array<SpConsensusBeefyEcdsaCryptoPublic>> =} callback
3724
+ **/
3725
+ authorities: GenericStorageQuery<() => Array<SpConsensusBeefyEcdsaCryptoPublic>>;
3726
+
3727
+ /**
3728
+ * The current validator set id
3729
+ *
3730
+ * @param {Callback<bigint> =} callback
3731
+ **/
3732
+ validatorSetId: GenericStorageQuery<() => bigint>;
3733
+
3734
+ /**
3735
+ * Authorities set scheduled to be used with the next session
3736
+ *
3737
+ * @param {Callback<Array<SpConsensusBeefyEcdsaCryptoPublic>> =} callback
3738
+ **/
3739
+ nextAuthorities: GenericStorageQuery<() => Array<SpConsensusBeefyEcdsaCryptoPublic>>;
3740
+
3741
+ /**
3742
+ * A mapping from BEEFY set ID to the index of the *most recent* session for which its
3743
+ * members were responsible.
3744
+ *
3745
+ * This is only used for validating equivocation proofs. An equivocation proof must
3746
+ * contains a key-ownership proof for a given session, therefore we need a way to tie
3747
+ * together sessions and BEEFY set ids, i.e. we need to validate that a validator
3748
+ * was the owner of a given key on a given session, and what the active set ID was
3749
+ * during that session.
3750
+ *
3751
+ * TWOX-NOTE: `ValidatorSetId` is not under user control.
3752
+ *
3753
+ * @param {bigint} arg
3754
+ * @param {Callback<number | undefined> =} callback
3755
+ **/
3756
+ setIdSession: GenericStorageQuery<(arg: bigint) => number | undefined>;
3757
+
3758
+ /**
3759
+ * Block number where BEEFY consensus is enabled/started.
3760
+ * By changing this (through privileged `set_new_genesis()`), BEEFY consensus is effectively
3761
+ * restarted from the newly set block number.
3762
+ *
3763
+ * @param {Callback<number | undefined> =} callback
3764
+ **/
3765
+ genesisBlock: GenericStorageQuery<() => number | undefined>;
3766
+
3767
+ /**
3768
+ * Generic pallet storage query
3769
+ **/
3770
+ [storage: string]: GenericStorageQuery;
3771
+ };
3772
+ /**
3773
+ * Pallet `Mmr`'s storage queries
3774
+ **/
3775
+ mmr: {
3776
+ /**
3777
+ * Latest MMR Root hash.
3778
+ *
3779
+ * @param {Callback<H256> =} callback
3780
+ **/
3781
+ rootHash: GenericStorageQuery<() => H256>;
3782
+
3783
+ /**
3784
+ * Current size of the MMR (number of leaves).
3785
+ *
3786
+ * @param {Callback<bigint> =} callback
3787
+ **/
3788
+ numberOfLeaves: GenericStorageQuery<() => bigint>;
3789
+
3790
+ /**
3791
+ * Hashes of the nodes in the MMR.
3792
+ *
3793
+ * Note this collection only contains MMR peaks, the inner nodes (and leaves)
3794
+ * are pruned and only stored in the Offchain DB.
3795
+ *
3796
+ * @param {bigint} arg
3797
+ * @param {Callback<H256 | undefined> =} callback
3798
+ **/
3799
+ nodes: GenericStorageQuery<(arg: bigint) => H256 | undefined>;
3800
+
3801
+ /**
3802
+ * Generic pallet storage query
3803
+ **/
3804
+ [storage: string]: GenericStorageQuery;
3805
+ };
3806
+ /**
3807
+ * Pallet `BeefyMmrLeaf`'s storage queries
3808
+ **/
3809
+ beefyMmrLeaf: {
3810
+ /**
3811
+ * Details of current BEEFY authority set.
3812
+ *
3813
+ * @param {Callback<SpConsensusBeefyMmrBeefyAuthoritySet> =} callback
3814
+ **/
3815
+ beefyAuthorities: GenericStorageQuery<() => SpConsensusBeefyMmrBeefyAuthoritySet>;
3816
+
3817
+ /**
3818
+ * Details of next BEEFY authority set.
3819
+ *
3820
+ * This storage entry is used as cache for calls to `update_beefy_next_authority_set`.
3821
+ *
3822
+ * @param {Callback<SpConsensusBeefyMmrBeefyAuthoritySet> =} callback
3823
+ **/
3824
+ beefyNextAuthorities: GenericStorageQuery<() => SpConsensusBeefyMmrBeefyAuthoritySet>;
3825
+
3826
+ /**
3827
+ * Generic pallet storage query
3828
+ **/
3829
+ [storage: string]: GenericStorageQuery;
3830
+ };
3831
+ }