@dedot/chaintypes 0.76.0 → 0.78.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/README.md +8 -4
  2. package/kusama-people/consts.d.ts +477 -0
  3. package/kusama-people/errors.d.ts +818 -0
  4. package/kusama-people/events.d.ts +1108 -0
  5. package/kusama-people/index.d.ts +31 -0
  6. package/kusama-people/json-rpc.d.ts +97 -0
  7. package/kusama-people/query.d.ts +1245 -0
  8. package/kusama-people/runtime.d.ts +636 -0
  9. package/kusama-people/tx.d.ts +3153 -0
  10. package/kusama-people/types.d.ts +5330 -0
  11. package/package.json +14 -2
  12. package/paseo-asset-hub/consts.d.ts +788 -0
  13. package/paseo-asset-hub/errors.d.ts +1539 -0
  14. package/paseo-asset-hub/events.d.ts +2538 -0
  15. package/paseo-asset-hub/index.d.ts +31 -0
  16. package/paseo-asset-hub/json-rpc.d.ts +97 -0
  17. package/paseo-asset-hub/query.d.ts +1753 -0
  18. package/paseo-asset-hub/runtime.d.ts +726 -0
  19. package/paseo-asset-hub/tx.d.ts +9202 -0
  20. package/paseo-asset-hub/types.d.ts +12526 -0
  21. package/paseo-people/consts.d.ts +486 -0
  22. package/paseo-people/errors.d.ts +832 -0
  23. package/paseo-people/events.d.ts +1172 -0
  24. package/paseo-people/index.d.ts +31 -0
  25. package/paseo-people/json-rpc.d.ts +96 -0
  26. package/paseo-people/query.d.ts +1257 -0
  27. package/paseo-people/runtime.d.ts +636 -0
  28. package/paseo-people/tx.d.ts +3273 -0
  29. package/paseo-people/types.d.ts +5460 -0
  30. package/polkadot-people/consts.d.ts +477 -0
  31. package/polkadot-people/errors.d.ts +818 -0
  32. package/polkadot-people/events.d.ts +1108 -0
  33. package/polkadot-people/index.d.ts +31 -0
  34. package/polkadot-people/json-rpc.d.ts +97 -0
  35. package/polkadot-people/query.d.ts +1245 -0
  36. package/polkadot-people/runtime.d.ts +636 -0
  37. package/polkadot-people/tx.d.ts +3153 -0
  38. package/polkadot-people/types.d.ts +5349 -0
  39. package/westend/json-rpc.d.ts +10 -10
  40. package/westend-asset-hub/json-rpc.d.ts +10 -10
  41. package/westend-people/json-rpc.d.ts +11 -10
@@ -0,0 +1,1245 @@
1
+ // Generated by dedot cli
2
+
3
+ import type { GenericChainStorage, GenericStorageQuery, Callback, RpcVersion } from 'dedot/types';
4
+ import type {
5
+ AccountId32,
6
+ AccountId32Like,
7
+ H256,
8
+ Bytes,
9
+ Digest,
10
+ Phase,
11
+ FixedU128,
12
+ BytesLike,
13
+ FixedBytes,
14
+ Data,
15
+ } from 'dedot/codecs';
16
+ import type {
17
+ FrameSystemAccountInfo,
18
+ FrameSupportDispatchPerDispatchClass,
19
+ FrameSystemEventRecord,
20
+ FrameSystemLastRuntimeUpgradeInfo,
21
+ FrameSystemCodeUpgradeAuthorization,
22
+ CumulusPalletParachainSystemUnincludedSegmentAncestor,
23
+ CumulusPalletParachainSystemUnincludedSegmentSegmentTracker,
24
+ PolkadotPrimitivesV8PersistedValidationData,
25
+ PolkadotPrimitivesV8UpgradeRestriction,
26
+ PolkadotPrimitivesV8UpgradeGoAhead,
27
+ SpTrieStorageProof,
28
+ CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot,
29
+ PolkadotPrimitivesV8AbridgedHostConfiguration,
30
+ CumulusPrimitivesParachainInherentMessageQueueChain,
31
+ PolkadotParachainPrimitivesPrimitivesId,
32
+ PolkadotCorePrimitivesOutboundHrmpMessage,
33
+ SpWeightsWeightV2Weight,
34
+ PalletBalancesAccountData,
35
+ PalletBalancesBalanceLock,
36
+ PalletBalancesReserveData,
37
+ FrameSupportTokensMiscIdAmount,
38
+ FrameSupportTokensMiscIdAmount002,
39
+ PalletTransactionPaymentReleases,
40
+ PalletCollatorSelectionCandidateInfo,
41
+ PeopleKusamaRuntimeSessionKeys,
42
+ SpCoreCryptoKeyTypeId,
43
+ SpConsensusAuraSr25519AppSr25519Public,
44
+ SpConsensusSlotsSlot,
45
+ CumulusPalletXcmpQueueOutboundChannelDetails,
46
+ CumulusPalletXcmpQueueQueueConfigData,
47
+ PalletXcmQueryStatus,
48
+ XcmVersionedLocation,
49
+ PalletXcmVersionMigrationStage,
50
+ PalletXcmRemoteLockedFungibleRecord,
51
+ XcmVersionedAssetId,
52
+ StagingXcmV4Xcm,
53
+ PalletMessageQueueBookState,
54
+ CumulusPrimitivesCoreAggregateMessageOrigin,
55
+ PalletMessageQueuePage,
56
+ PalletMultisigMultisig,
57
+ PalletProxyProxyDefinition,
58
+ PalletProxyAnnouncement,
59
+ PalletIdentityRegistration,
60
+ PalletIdentityRegistrarInfo,
61
+ PalletIdentityAuthorityProperties,
62
+ } from './types.js';
63
+
64
+ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage<Rv> {
65
+ /**
66
+ * Pallet `System`'s storage queries
67
+ **/
68
+ system: {
69
+ /**
70
+ * The full account information for a particular account ID.
71
+ *
72
+ * @param {AccountId32Like} arg
73
+ * @param {Callback<FrameSystemAccountInfo> =} callback
74
+ **/
75
+ account: GenericStorageQuery<Rv, (arg: AccountId32Like) => FrameSystemAccountInfo, AccountId32>;
76
+
77
+ /**
78
+ * Total extrinsics count for the current block.
79
+ *
80
+ * @param {Callback<number | undefined> =} callback
81
+ **/
82
+ extrinsicCount: GenericStorageQuery<Rv, () => number | undefined>;
83
+
84
+ /**
85
+ * Whether all inherents have been applied.
86
+ *
87
+ * @param {Callback<boolean> =} callback
88
+ **/
89
+ inherentsApplied: GenericStorageQuery<Rv, () => boolean>;
90
+
91
+ /**
92
+ * The current weight for the block.
93
+ *
94
+ * @param {Callback<FrameSupportDispatchPerDispatchClass> =} callback
95
+ **/
96
+ blockWeight: GenericStorageQuery<Rv, () => FrameSupportDispatchPerDispatchClass>;
97
+
98
+ /**
99
+ * Total length (in bytes) for all extrinsics put together, for the current block.
100
+ *
101
+ * @param {Callback<number | undefined> =} callback
102
+ **/
103
+ allExtrinsicsLen: GenericStorageQuery<Rv, () => number | undefined>;
104
+
105
+ /**
106
+ * Map of block numbers to block hashes.
107
+ *
108
+ * @param {number} arg
109
+ * @param {Callback<H256> =} callback
110
+ **/
111
+ blockHash: GenericStorageQuery<Rv, (arg: number) => H256, number>;
112
+
113
+ /**
114
+ * Extrinsics data for the current block (maps an extrinsic's index to its data).
115
+ *
116
+ * @param {number} arg
117
+ * @param {Callback<Bytes> =} callback
118
+ **/
119
+ extrinsicData: GenericStorageQuery<Rv, (arg: number) => Bytes, number>;
120
+
121
+ /**
122
+ * The current block number being processed. Set by `execute_block`.
123
+ *
124
+ * @param {Callback<number> =} callback
125
+ **/
126
+ number: GenericStorageQuery<Rv, () => number>;
127
+
128
+ /**
129
+ * Hash of the previous block.
130
+ *
131
+ * @param {Callback<H256> =} callback
132
+ **/
133
+ parentHash: GenericStorageQuery<Rv, () => H256>;
134
+
135
+ /**
136
+ * Digest of the current block, also part of the block header.
137
+ *
138
+ * @param {Callback<Digest> =} callback
139
+ **/
140
+ digest: GenericStorageQuery<Rv, () => Digest>;
141
+
142
+ /**
143
+ * Events deposited for the current block.
144
+ *
145
+ * NOTE: The item is unbound and should therefore never be read on chain.
146
+ * It could otherwise inflate the PoV size of a block.
147
+ *
148
+ * Events have a large in-memory size. Box the events to not go out-of-memory
149
+ * just in case someone still reads them from within the runtime.
150
+ *
151
+ * @param {Callback<Array<FrameSystemEventRecord>> =} callback
152
+ **/
153
+ events: GenericStorageQuery<Rv, () => Array<FrameSystemEventRecord>>;
154
+
155
+ /**
156
+ * The number of events in the `Events<T>` list.
157
+ *
158
+ * @param {Callback<number> =} callback
159
+ **/
160
+ eventCount: GenericStorageQuery<Rv, () => number>;
161
+
162
+ /**
163
+ * Mapping between a topic (represented by T::Hash) and a vector of indexes
164
+ * of events in the `<Events<T>>` list.
165
+ *
166
+ * All topic vectors have deterministic storage locations depending on the topic. This
167
+ * allows light-clients to leverage the changes trie storage tracking mechanism and
168
+ * in case of changes fetch the list of events of interest.
169
+ *
170
+ * The value has the type `(BlockNumberFor<T>, EventIndex)` because if we used only just
171
+ * the `EventIndex` then in case if the topic has the same contents on the next block
172
+ * no notification will be triggered thus the event might be lost.
173
+ *
174
+ * @param {H256} arg
175
+ * @param {Callback<Array<[number, number]>> =} callback
176
+ **/
177
+ eventTopics: GenericStorageQuery<Rv, (arg: H256) => Array<[number, number]>, H256>;
178
+
179
+ /**
180
+ * Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened.
181
+ *
182
+ * @param {Callback<FrameSystemLastRuntimeUpgradeInfo | undefined> =} callback
183
+ **/
184
+ lastRuntimeUpgrade: GenericStorageQuery<Rv, () => FrameSystemLastRuntimeUpgradeInfo | undefined>;
185
+
186
+ /**
187
+ * True if we have upgraded so that `type RefCount` is `u32`. False (default) if not.
188
+ *
189
+ * @param {Callback<boolean> =} callback
190
+ **/
191
+ upgradedToU32RefCount: GenericStorageQuery<Rv, () => boolean>;
192
+
193
+ /**
194
+ * True if we have upgraded so that AccountInfo contains three types of `RefCount`. False
195
+ * (default) if not.
196
+ *
197
+ * @param {Callback<boolean> =} callback
198
+ **/
199
+ upgradedToTripleRefCount: GenericStorageQuery<Rv, () => boolean>;
200
+
201
+ /**
202
+ * The execution phase of the block.
203
+ *
204
+ * @param {Callback<Phase | undefined> =} callback
205
+ **/
206
+ executionPhase: GenericStorageQuery<Rv, () => Phase | undefined>;
207
+
208
+ /**
209
+ * `Some` if a code upgrade has been authorized.
210
+ *
211
+ * @param {Callback<FrameSystemCodeUpgradeAuthorization | undefined> =} callback
212
+ **/
213
+ authorizedUpgrade: GenericStorageQuery<Rv, () => FrameSystemCodeUpgradeAuthorization | undefined>;
214
+
215
+ /**
216
+ * Generic pallet storage query
217
+ **/
218
+ [storage: string]: GenericStorageQuery<Rv>;
219
+ };
220
+ /**
221
+ * Pallet `ParachainSystem`'s storage queries
222
+ **/
223
+ parachainSystem: {
224
+ /**
225
+ * Latest included block descendants the runtime accepted. In other words, these are
226
+ * ancestors of the currently executing block which have not been included in the observed
227
+ * relay-chain state.
228
+ *
229
+ * The segment length is limited by the capacity returned from the [`ConsensusHook`] configured
230
+ * in the pallet.
231
+ *
232
+ * @param {Callback<Array<CumulusPalletParachainSystemUnincludedSegmentAncestor>> =} callback
233
+ **/
234
+ unincludedSegment: GenericStorageQuery<Rv, () => Array<CumulusPalletParachainSystemUnincludedSegmentAncestor>>;
235
+
236
+ /**
237
+ * Storage field that keeps track of bandwidth used by the unincluded segment along with the
238
+ * latest HRMP watermark. Used for limiting the acceptance of new blocks with
239
+ * respect to relay chain constraints.
240
+ *
241
+ * @param {Callback<CumulusPalletParachainSystemUnincludedSegmentSegmentTracker | undefined> =} callback
242
+ **/
243
+ aggregatedUnincludedSegment: GenericStorageQuery<
244
+ Rv,
245
+ () => CumulusPalletParachainSystemUnincludedSegmentSegmentTracker | undefined
246
+ >;
247
+
248
+ /**
249
+ * In case of a scheduled upgrade, this storage field contains the validation code to be
250
+ * applied.
251
+ *
252
+ * As soon as the relay chain gives us the go-ahead signal, we will overwrite the
253
+ * [`:code`][sp_core::storage::well_known_keys::CODE] which will result the next block process
254
+ * with the new validation code. This concludes the upgrade process.
255
+ *
256
+ * @param {Callback<Bytes> =} callback
257
+ **/
258
+ pendingValidationCode: GenericStorageQuery<Rv, () => Bytes>;
259
+
260
+ /**
261
+ * Validation code that is set by the parachain and is to be communicated to collator and
262
+ * consequently the relay-chain.
263
+ *
264
+ * This will be cleared in `on_initialize` of each new block if no other pallet already set
265
+ * the value.
266
+ *
267
+ * @param {Callback<Bytes | undefined> =} callback
268
+ **/
269
+ newValidationCode: GenericStorageQuery<Rv, () => Bytes | undefined>;
270
+
271
+ /**
272
+ * The [`PersistedValidationData`] set for this block.
273
+ * This value is expected to be set only once per block and it's never stored
274
+ * in the trie.
275
+ *
276
+ * @param {Callback<PolkadotPrimitivesV8PersistedValidationData | undefined> =} callback
277
+ **/
278
+ validationData: GenericStorageQuery<Rv, () => PolkadotPrimitivesV8PersistedValidationData | undefined>;
279
+
280
+ /**
281
+ * Were the validation data set to notify the relay chain?
282
+ *
283
+ * @param {Callback<boolean> =} callback
284
+ **/
285
+ didSetValidationCode: GenericStorageQuery<Rv, () => boolean>;
286
+
287
+ /**
288
+ * The relay chain block number associated with the last parachain block.
289
+ *
290
+ * This is updated in `on_finalize`.
291
+ *
292
+ * @param {Callback<number> =} callback
293
+ **/
294
+ lastRelayChainBlockNumber: GenericStorageQuery<Rv, () => number>;
295
+
296
+ /**
297
+ * An option which indicates if the relay-chain restricts signalling a validation code upgrade.
298
+ * In other words, if this is `Some` and [`NewValidationCode`] is `Some` then the produced
299
+ * candidate will be invalid.
300
+ *
301
+ * This storage item is a mirror of the corresponding value for the current parachain from the
302
+ * relay-chain. This value is ephemeral which means it doesn't hit the storage. This value is
303
+ * set after the inherent.
304
+ *
305
+ * @param {Callback<PolkadotPrimitivesV8UpgradeRestriction | undefined> =} callback
306
+ **/
307
+ upgradeRestrictionSignal: GenericStorageQuery<Rv, () => PolkadotPrimitivesV8UpgradeRestriction | undefined>;
308
+
309
+ /**
310
+ * Optional upgrade go-ahead signal from the relay-chain.
311
+ *
312
+ * This storage item is a mirror of the corresponding value for the current parachain from the
313
+ * relay-chain. This value is ephemeral which means it doesn't hit the storage. This value is
314
+ * set after the inherent.
315
+ *
316
+ * @param {Callback<PolkadotPrimitivesV8UpgradeGoAhead | undefined> =} callback
317
+ **/
318
+ upgradeGoAhead: GenericStorageQuery<Rv, () => PolkadotPrimitivesV8UpgradeGoAhead | undefined>;
319
+
320
+ /**
321
+ * The state proof for the last relay parent block.
322
+ *
323
+ * This field is meant to be updated each block with the validation data inherent. Therefore,
324
+ * before processing of the inherent, e.g. in `on_initialize` this data may be stale.
325
+ *
326
+ * This data is also absent from the genesis.
327
+ *
328
+ * @param {Callback<SpTrieStorageProof | undefined> =} callback
329
+ **/
330
+ relayStateProof: GenericStorageQuery<Rv, () => SpTrieStorageProof | undefined>;
331
+
332
+ /**
333
+ * The snapshot of some state related to messaging relevant to the current parachain as per
334
+ * the relay parent.
335
+ *
336
+ * This field is meant to be updated each block with the validation data inherent. Therefore,
337
+ * before processing of the inherent, e.g. in `on_initialize` this data may be stale.
338
+ *
339
+ * This data is also absent from the genesis.
340
+ *
341
+ * @param {Callback<CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot | undefined> =} callback
342
+ **/
343
+ relevantMessagingState: GenericStorageQuery<
344
+ Rv,
345
+ () => CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot | undefined
346
+ >;
347
+
348
+ /**
349
+ * The parachain host configuration that was obtained from the relay parent.
350
+ *
351
+ * This field is meant to be updated each block with the validation data inherent. Therefore,
352
+ * before processing of the inherent, e.g. in `on_initialize` this data may be stale.
353
+ *
354
+ * This data is also absent from the genesis.
355
+ *
356
+ * @param {Callback<PolkadotPrimitivesV8AbridgedHostConfiguration | undefined> =} callback
357
+ **/
358
+ hostConfiguration: GenericStorageQuery<Rv, () => PolkadotPrimitivesV8AbridgedHostConfiguration | undefined>;
359
+
360
+ /**
361
+ * The last downward message queue chain head we have observed.
362
+ *
363
+ * This value is loaded before and saved after processing inbound downward messages carried
364
+ * by the system inherent.
365
+ *
366
+ * @param {Callback<CumulusPrimitivesParachainInherentMessageQueueChain> =} callback
367
+ **/
368
+ lastDmqMqcHead: GenericStorageQuery<Rv, () => CumulusPrimitivesParachainInherentMessageQueueChain>;
369
+
370
+ /**
371
+ * The message queue chain heads we have observed per each channel incoming channel.
372
+ *
373
+ * This value is loaded before and saved after processing inbound downward messages carried
374
+ * by the system inherent.
375
+ *
376
+ * @param {Callback<Array<[PolkadotParachainPrimitivesPrimitivesId, CumulusPrimitivesParachainInherentMessageQueueChain]>> =} callback
377
+ **/
378
+ lastHrmpMqcHeads: GenericStorageQuery<
379
+ Rv,
380
+ () => Array<[PolkadotParachainPrimitivesPrimitivesId, CumulusPrimitivesParachainInherentMessageQueueChain]>
381
+ >;
382
+
383
+ /**
384
+ * Number of downward messages processed in a block.
385
+ *
386
+ * This will be cleared in `on_initialize` of each new block.
387
+ *
388
+ * @param {Callback<number> =} callback
389
+ **/
390
+ processedDownwardMessages: GenericStorageQuery<Rv, () => number>;
391
+
392
+ /**
393
+ * HRMP watermark that was set in a block.
394
+ *
395
+ * This will be cleared in `on_initialize` of each new block.
396
+ *
397
+ * @param {Callback<number> =} callback
398
+ **/
399
+ hrmpWatermark: GenericStorageQuery<Rv, () => number>;
400
+
401
+ /**
402
+ * HRMP messages that were sent in a block.
403
+ *
404
+ * This will be cleared in `on_initialize` of each new block.
405
+ *
406
+ * @param {Callback<Array<PolkadotCorePrimitivesOutboundHrmpMessage>> =} callback
407
+ **/
408
+ hrmpOutboundMessages: GenericStorageQuery<Rv, () => Array<PolkadotCorePrimitivesOutboundHrmpMessage>>;
409
+
410
+ /**
411
+ * Upward messages that were sent in a block.
412
+ *
413
+ * This will be cleared in `on_initialize` of each new block.
414
+ *
415
+ * @param {Callback<Array<Bytes>> =} callback
416
+ **/
417
+ upwardMessages: GenericStorageQuery<Rv, () => Array<Bytes>>;
418
+
419
+ /**
420
+ * Upward messages that are still pending and not yet send to the relay chain.
421
+ *
422
+ * @param {Callback<Array<Bytes>> =} callback
423
+ **/
424
+ pendingUpwardMessages: GenericStorageQuery<Rv, () => Array<Bytes>>;
425
+
426
+ /**
427
+ * The factor to multiply the base delivery fee by for UMP.
428
+ *
429
+ * @param {Callback<FixedU128> =} callback
430
+ **/
431
+ upwardDeliveryFeeFactor: GenericStorageQuery<Rv, () => FixedU128>;
432
+
433
+ /**
434
+ * The number of HRMP messages we observed in `on_initialize` and thus used that number for
435
+ * announcing the weight of `on_initialize` and `on_finalize`.
436
+ *
437
+ * @param {Callback<number> =} callback
438
+ **/
439
+ announcedHrmpMessagesPerCandidate: GenericStorageQuery<Rv, () => number>;
440
+
441
+ /**
442
+ * The weight we reserve at the beginning of the block for processing XCMP messages. This
443
+ * overrides the amount set in the Config trait.
444
+ *
445
+ * @param {Callback<SpWeightsWeightV2Weight | undefined> =} callback
446
+ **/
447
+ reservedXcmpWeightOverride: GenericStorageQuery<Rv, () => SpWeightsWeightV2Weight | undefined>;
448
+
449
+ /**
450
+ * The weight we reserve at the beginning of the block for processing DMP messages. This
451
+ * overrides the amount set in the Config trait.
452
+ *
453
+ * @param {Callback<SpWeightsWeightV2Weight | undefined> =} callback
454
+ **/
455
+ reservedDmpWeightOverride: GenericStorageQuery<Rv, () => SpWeightsWeightV2Weight | undefined>;
456
+
457
+ /**
458
+ * A custom head data that should be returned as result of `validate_block`.
459
+ *
460
+ * See `Pallet::set_custom_validation_head_data` for more information.
461
+ *
462
+ * @param {Callback<Bytes | undefined> =} callback
463
+ **/
464
+ customValidationHeadData: GenericStorageQuery<Rv, () => Bytes | undefined>;
465
+
466
+ /**
467
+ * Generic pallet storage query
468
+ **/
469
+ [storage: string]: GenericStorageQuery<Rv>;
470
+ };
471
+ /**
472
+ * Pallet `Timestamp`'s storage queries
473
+ **/
474
+ timestamp: {
475
+ /**
476
+ * The current time for the current block.
477
+ *
478
+ * @param {Callback<bigint> =} callback
479
+ **/
480
+ now: GenericStorageQuery<Rv, () => bigint>;
481
+
482
+ /**
483
+ * Whether the timestamp has been updated in this block.
484
+ *
485
+ * This value is updated to `true` upon successful submission of a timestamp by a node.
486
+ * It is then checked at the end of each block execution in the `on_finalize` hook.
487
+ *
488
+ * @param {Callback<boolean> =} callback
489
+ **/
490
+ didUpdate: GenericStorageQuery<Rv, () => boolean>;
491
+
492
+ /**
493
+ * Generic pallet storage query
494
+ **/
495
+ [storage: string]: GenericStorageQuery<Rv>;
496
+ };
497
+ /**
498
+ * Pallet `ParachainInfo`'s storage queries
499
+ **/
500
+ parachainInfo: {
501
+ /**
502
+ *
503
+ * @param {Callback<PolkadotParachainPrimitivesPrimitivesId> =} callback
504
+ **/
505
+ parachainId: GenericStorageQuery<Rv, () => PolkadotParachainPrimitivesPrimitivesId>;
506
+
507
+ /**
508
+ * Generic pallet storage query
509
+ **/
510
+ [storage: string]: GenericStorageQuery<Rv>;
511
+ };
512
+ /**
513
+ * Pallet `Balances`'s storage queries
514
+ **/
515
+ balances: {
516
+ /**
517
+ * The total units issued in the system.
518
+ *
519
+ * @param {Callback<bigint> =} callback
520
+ **/
521
+ totalIssuance: GenericStorageQuery<Rv, () => bigint>;
522
+
523
+ /**
524
+ * The total units of outstanding deactivated balance in the system.
525
+ *
526
+ * @param {Callback<bigint> =} callback
527
+ **/
528
+ inactiveIssuance: GenericStorageQuery<Rv, () => bigint>;
529
+
530
+ /**
531
+ * The Balances pallet example of storing the balance of an account.
532
+ *
533
+ * # Example
534
+ *
535
+ * ```nocompile
536
+ * impl pallet_balances::Config for Runtime {
537
+ * type AccountStore = StorageMapShim<Self::Account<Runtime>, frame_system::Provider<Runtime>, AccountId, Self::AccountData<Balance>>
538
+ * }
539
+ * ```
540
+ *
541
+ * You can also store the balance of an account in the `System` pallet.
542
+ *
543
+ * # Example
544
+ *
545
+ * ```nocompile
546
+ * impl pallet_balances::Config for Runtime {
547
+ * type AccountStore = System
548
+ * }
549
+ * ```
550
+ *
551
+ * But this comes with tradeoffs, storing account balances in the system pallet stores
552
+ * `frame_system` data alongside the account data contrary to storing account balances in the
553
+ * `Balances` pallet, which uses a `StorageMap` to store balances data only.
554
+ * NOTE: This is only used in the case that this pallet is used to store balances.
555
+ *
556
+ * @param {AccountId32Like} arg
557
+ * @param {Callback<PalletBalancesAccountData> =} callback
558
+ **/
559
+ account: GenericStorageQuery<Rv, (arg: AccountId32Like) => PalletBalancesAccountData, AccountId32>;
560
+
561
+ /**
562
+ * Any liquidity locks on some account balances.
563
+ * NOTE: Should only be accessed when setting, changing and freeing a lock.
564
+ *
565
+ * Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`
566
+ *
567
+ * @param {AccountId32Like} arg
568
+ * @param {Callback<Array<PalletBalancesBalanceLock>> =} callback
569
+ **/
570
+ locks: GenericStorageQuery<Rv, (arg: AccountId32Like) => Array<PalletBalancesBalanceLock>, AccountId32>;
571
+
572
+ /**
573
+ * Named reserves on some account balances.
574
+ *
575
+ * Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`
576
+ *
577
+ * @param {AccountId32Like} arg
578
+ * @param {Callback<Array<PalletBalancesReserveData>> =} callback
579
+ **/
580
+ reserves: GenericStorageQuery<Rv, (arg: AccountId32Like) => Array<PalletBalancesReserveData>, AccountId32>;
581
+
582
+ /**
583
+ * Holds on account balances.
584
+ *
585
+ * @param {AccountId32Like} arg
586
+ * @param {Callback<Array<FrameSupportTokensMiscIdAmount>> =} callback
587
+ **/
588
+ holds: GenericStorageQuery<Rv, (arg: AccountId32Like) => Array<FrameSupportTokensMiscIdAmount>, AccountId32>;
589
+
590
+ /**
591
+ * Freeze locks on account balances.
592
+ *
593
+ * @param {AccountId32Like} arg
594
+ * @param {Callback<Array<FrameSupportTokensMiscIdAmount002>> =} callback
595
+ **/
596
+ freezes: GenericStorageQuery<Rv, (arg: AccountId32Like) => Array<FrameSupportTokensMiscIdAmount002>, AccountId32>;
597
+
598
+ /**
599
+ * Generic pallet storage query
600
+ **/
601
+ [storage: string]: GenericStorageQuery<Rv>;
602
+ };
603
+ /**
604
+ * Pallet `TransactionPayment`'s storage queries
605
+ **/
606
+ transactionPayment: {
607
+ /**
608
+ *
609
+ * @param {Callback<FixedU128> =} callback
610
+ **/
611
+ nextFeeMultiplier: GenericStorageQuery<Rv, () => FixedU128>;
612
+
613
+ /**
614
+ *
615
+ * @param {Callback<PalletTransactionPaymentReleases> =} callback
616
+ **/
617
+ storageVersion: GenericStorageQuery<Rv, () => PalletTransactionPaymentReleases>;
618
+
619
+ /**
620
+ * Generic pallet storage query
621
+ **/
622
+ [storage: string]: GenericStorageQuery<Rv>;
623
+ };
624
+ /**
625
+ * Pallet `Authorship`'s storage queries
626
+ **/
627
+ authorship: {
628
+ /**
629
+ * Author of current block.
630
+ *
631
+ * @param {Callback<AccountId32 | undefined> =} callback
632
+ **/
633
+ author: GenericStorageQuery<Rv, () => AccountId32 | undefined>;
634
+
635
+ /**
636
+ * Generic pallet storage query
637
+ **/
638
+ [storage: string]: GenericStorageQuery<Rv>;
639
+ };
640
+ /**
641
+ * Pallet `CollatorSelection`'s storage queries
642
+ **/
643
+ collatorSelection: {
644
+ /**
645
+ * The invulnerable, permissioned collators. This list must be sorted.
646
+ *
647
+ * @param {Callback<Array<AccountId32>> =} callback
648
+ **/
649
+ invulnerables: GenericStorageQuery<Rv, () => Array<AccountId32>>;
650
+
651
+ /**
652
+ * The (community, limited) collation candidates. `Candidates` and `Invulnerables` should be
653
+ * mutually exclusive.
654
+ *
655
+ * This list is sorted in ascending order by deposit and when the deposits are equal, the least
656
+ * recently updated is considered greater.
657
+ *
658
+ * @param {Callback<Array<PalletCollatorSelectionCandidateInfo>> =} callback
659
+ **/
660
+ candidateList: GenericStorageQuery<Rv, () => Array<PalletCollatorSelectionCandidateInfo>>;
661
+
662
+ /**
663
+ * Last block authored by collator.
664
+ *
665
+ * @param {AccountId32Like} arg
666
+ * @param {Callback<number> =} callback
667
+ **/
668
+ lastAuthoredBlock: GenericStorageQuery<Rv, (arg: AccountId32Like) => number, AccountId32>;
669
+
670
+ /**
671
+ * Desired number of candidates.
672
+ *
673
+ * This should ideally always be less than [`Config::MaxCandidates`] for weights to be correct.
674
+ *
675
+ * @param {Callback<number> =} callback
676
+ **/
677
+ desiredCandidates: GenericStorageQuery<Rv, () => number>;
678
+
679
+ /**
680
+ * Fixed amount to deposit to become a collator.
681
+ *
682
+ * When a collator calls `leave_intent` they immediately receive the deposit back.
683
+ *
684
+ * @param {Callback<bigint> =} callback
685
+ **/
686
+ candidacyBond: GenericStorageQuery<Rv, () => bigint>;
687
+
688
+ /**
689
+ * Generic pallet storage query
690
+ **/
691
+ [storage: string]: GenericStorageQuery<Rv>;
692
+ };
693
+ /**
694
+ * Pallet `Session`'s storage queries
695
+ **/
696
+ session: {
697
+ /**
698
+ * The current set of validators.
699
+ *
700
+ * @param {Callback<Array<AccountId32>> =} callback
701
+ **/
702
+ validators: GenericStorageQuery<Rv, () => Array<AccountId32>>;
703
+
704
+ /**
705
+ * Current index of the session.
706
+ *
707
+ * @param {Callback<number> =} callback
708
+ **/
709
+ currentIndex: GenericStorageQuery<Rv, () => number>;
710
+
711
+ /**
712
+ * True if the underlying economic identities or weighting behind the validators
713
+ * has changed in the queued validator set.
714
+ *
715
+ * @param {Callback<boolean> =} callback
716
+ **/
717
+ queuedChanged: GenericStorageQuery<Rv, () => boolean>;
718
+
719
+ /**
720
+ * The queued keys for the next session. When the next session begins, these keys
721
+ * will be used to determine the validator's session keys.
722
+ *
723
+ * @param {Callback<Array<[AccountId32, PeopleKusamaRuntimeSessionKeys]>> =} callback
724
+ **/
725
+ queuedKeys: GenericStorageQuery<Rv, () => Array<[AccountId32, PeopleKusamaRuntimeSessionKeys]>>;
726
+
727
+ /**
728
+ * Indices of disabled validators.
729
+ *
730
+ * The vec is always kept sorted so that we can find whether a given validator is
731
+ * disabled using binary search. It gets cleared when `on_session_ending` returns
732
+ * a new set of identities.
733
+ *
734
+ * @param {Callback<Array<number>> =} callback
735
+ **/
736
+ disabledValidators: GenericStorageQuery<Rv, () => Array<number>>;
737
+
738
+ /**
739
+ * The next session keys for a validator.
740
+ *
741
+ * @param {AccountId32Like} arg
742
+ * @param {Callback<PeopleKusamaRuntimeSessionKeys | undefined> =} callback
743
+ **/
744
+ nextKeys: GenericStorageQuery<
745
+ Rv,
746
+ (arg: AccountId32Like) => PeopleKusamaRuntimeSessionKeys | undefined,
747
+ AccountId32
748
+ >;
749
+
750
+ /**
751
+ * The owner of a key. The key is the `KeyTypeId` + the encoded key.
752
+ *
753
+ * @param {[SpCoreCryptoKeyTypeId, BytesLike]} arg
754
+ * @param {Callback<AccountId32 | undefined> =} callback
755
+ **/
756
+ keyOwner: GenericStorageQuery<
757
+ Rv,
758
+ (arg: [SpCoreCryptoKeyTypeId, BytesLike]) => AccountId32 | undefined,
759
+ [SpCoreCryptoKeyTypeId, Bytes]
760
+ >;
761
+
762
+ /**
763
+ * Generic pallet storage query
764
+ **/
765
+ [storage: string]: GenericStorageQuery<Rv>;
766
+ };
767
+ /**
768
+ * Pallet `Aura`'s storage queries
769
+ **/
770
+ aura: {
771
+ /**
772
+ * The current authority set.
773
+ *
774
+ * @param {Callback<Array<SpConsensusAuraSr25519AppSr25519Public>> =} callback
775
+ **/
776
+ authorities: GenericStorageQuery<Rv, () => Array<SpConsensusAuraSr25519AppSr25519Public>>;
777
+
778
+ /**
779
+ * The current slot of this block.
780
+ *
781
+ * This will be set in `on_initialize`.
782
+ *
783
+ * @param {Callback<SpConsensusSlotsSlot> =} callback
784
+ **/
785
+ currentSlot: GenericStorageQuery<Rv, () => SpConsensusSlotsSlot>;
786
+
787
+ /**
788
+ * Generic pallet storage query
789
+ **/
790
+ [storage: string]: GenericStorageQuery<Rv>;
791
+ };
792
+ /**
793
+ * Pallet `AuraExt`'s storage queries
794
+ **/
795
+ auraExt: {
796
+ /**
797
+ * Serves as cache for the authorities.
798
+ *
799
+ * The authorities in AuRa are overwritten in `on_initialize` when we switch to a new session,
800
+ * but we require the old authorities to verify the seal when validating a PoV. This will
801
+ * always be updated to the latest AuRa authorities in `on_finalize`.
802
+ *
803
+ * @param {Callback<Array<SpConsensusAuraSr25519AppSr25519Public>> =} callback
804
+ **/
805
+ authorities: GenericStorageQuery<Rv, () => Array<SpConsensusAuraSr25519AppSr25519Public>>;
806
+
807
+ /**
808
+ * Current slot paired with a number of authored blocks.
809
+ *
810
+ * Updated on each block initialization.
811
+ *
812
+ * @param {Callback<[SpConsensusSlotsSlot, number] | undefined> =} callback
813
+ **/
814
+ slotInfo: GenericStorageQuery<Rv, () => [SpConsensusSlotsSlot, number] | undefined>;
815
+
816
+ /**
817
+ * Generic pallet storage query
818
+ **/
819
+ [storage: string]: GenericStorageQuery<Rv>;
820
+ };
821
+ /**
822
+ * Pallet `XcmpQueue`'s storage queries
823
+ **/
824
+ xcmpQueue: {
825
+ /**
826
+ * The suspended inbound XCMP channels. All others are not suspended.
827
+ *
828
+ * This is a `StorageValue` instead of a `StorageMap` since we expect multiple reads per block
829
+ * to different keys with a one byte payload. The access to `BoundedBTreeSet` will be cached
830
+ * within the block and therefore only included once in the proof size.
831
+ *
832
+ * NOTE: The PoV benchmarking cannot know this and will over-estimate, but the actual proof
833
+ * will be smaller.
834
+ *
835
+ * @param {Callback<Array<PolkadotParachainPrimitivesPrimitivesId>> =} callback
836
+ **/
837
+ inboundXcmpSuspended: GenericStorageQuery<Rv, () => Array<PolkadotParachainPrimitivesPrimitivesId>>;
838
+
839
+ /**
840
+ * The non-empty XCMP channels in order of becoming non-empty, and the index of the first
841
+ * and last outbound message. If the two indices are equal, then it indicates an empty
842
+ * queue and there must be a non-`Ok` `OutboundStatus`. We assume queues grow no greater
843
+ * than 65535 items. Queue indices for normal messages begin at one; zero is reserved in
844
+ * case of the need to send a high-priority signal message this block.
845
+ * The bool is true if there is a signal message waiting to be sent.
846
+ *
847
+ * @param {Callback<Array<CumulusPalletXcmpQueueOutboundChannelDetails>> =} callback
848
+ **/
849
+ outboundXcmpStatus: GenericStorageQuery<Rv, () => Array<CumulusPalletXcmpQueueOutboundChannelDetails>>;
850
+
851
+ /**
852
+ * The messages outbound in a given XCMP channel.
853
+ *
854
+ * @param {[PolkadotParachainPrimitivesPrimitivesId, number]} arg
855
+ * @param {Callback<Bytes> =} callback
856
+ **/
857
+ outboundXcmpMessages: GenericStorageQuery<
858
+ Rv,
859
+ (arg: [PolkadotParachainPrimitivesPrimitivesId, number]) => Bytes,
860
+ [PolkadotParachainPrimitivesPrimitivesId, number]
861
+ >;
862
+
863
+ /**
864
+ * Any signal messages waiting to be sent.
865
+ *
866
+ * @param {PolkadotParachainPrimitivesPrimitivesId} arg
867
+ * @param {Callback<Bytes> =} callback
868
+ **/
869
+ signalMessages: GenericStorageQuery<
870
+ Rv,
871
+ (arg: PolkadotParachainPrimitivesPrimitivesId) => Bytes,
872
+ PolkadotParachainPrimitivesPrimitivesId
873
+ >;
874
+
875
+ /**
876
+ * The configuration which controls the dynamics of the outbound queue.
877
+ *
878
+ * @param {Callback<CumulusPalletXcmpQueueQueueConfigData> =} callback
879
+ **/
880
+ queueConfig: GenericStorageQuery<Rv, () => CumulusPalletXcmpQueueQueueConfigData>;
881
+
882
+ /**
883
+ * Whether or not the XCMP queue is suspended from executing incoming XCMs or not.
884
+ *
885
+ * @param {Callback<boolean> =} callback
886
+ **/
887
+ queueSuspended: GenericStorageQuery<Rv, () => boolean>;
888
+
889
+ /**
890
+ * The factor to multiply the base delivery fee by.
891
+ *
892
+ * @param {PolkadotParachainPrimitivesPrimitivesId} arg
893
+ * @param {Callback<FixedU128> =} callback
894
+ **/
895
+ deliveryFeeFactor: GenericStorageQuery<
896
+ Rv,
897
+ (arg: PolkadotParachainPrimitivesPrimitivesId) => FixedU128,
898
+ PolkadotParachainPrimitivesPrimitivesId
899
+ >;
900
+
901
+ /**
902
+ * Generic pallet storage query
903
+ **/
904
+ [storage: string]: GenericStorageQuery<Rv>;
905
+ };
906
+ /**
907
+ * Pallet `PolkadotXcm`'s storage queries
908
+ **/
909
+ polkadotXcm: {
910
+ /**
911
+ * The latest available query index.
912
+ *
913
+ * @param {Callback<bigint> =} callback
914
+ **/
915
+ queryCounter: GenericStorageQuery<Rv, () => bigint>;
916
+
917
+ /**
918
+ * The ongoing queries.
919
+ *
920
+ * @param {bigint} arg
921
+ * @param {Callback<PalletXcmQueryStatus | undefined> =} callback
922
+ **/
923
+ queries: GenericStorageQuery<Rv, (arg: bigint) => PalletXcmQueryStatus | undefined, bigint>;
924
+
925
+ /**
926
+ * The existing asset traps.
927
+ *
928
+ * Key is the blake2 256 hash of (origin, versioned `Assets`) pair. Value is the number of
929
+ * times this pair has been trapped (usually just 1 if it exists at all).
930
+ *
931
+ * @param {H256} arg
932
+ * @param {Callback<number> =} callback
933
+ **/
934
+ assetTraps: GenericStorageQuery<Rv, (arg: H256) => number, H256>;
935
+
936
+ /**
937
+ * Default version to encode XCM when latest version of destination is unknown. If `None`,
938
+ * then the destinations whose XCM version is unknown are considered unreachable.
939
+ *
940
+ * @param {Callback<number | undefined> =} callback
941
+ **/
942
+ safeXcmVersion: GenericStorageQuery<Rv, () => number | undefined>;
943
+
944
+ /**
945
+ * The Latest versions that we know various locations support.
946
+ *
947
+ * @param {[number, XcmVersionedLocation]} arg
948
+ * @param {Callback<number | undefined> =} callback
949
+ **/
950
+ supportedVersion: GenericStorageQuery<
951
+ Rv,
952
+ (arg: [number, XcmVersionedLocation]) => number | undefined,
953
+ [number, XcmVersionedLocation]
954
+ >;
955
+
956
+ /**
957
+ * All locations that we have requested version notifications from.
958
+ *
959
+ * @param {[number, XcmVersionedLocation]} arg
960
+ * @param {Callback<bigint | undefined> =} callback
961
+ **/
962
+ versionNotifiers: GenericStorageQuery<
963
+ Rv,
964
+ (arg: [number, XcmVersionedLocation]) => bigint | undefined,
965
+ [number, XcmVersionedLocation]
966
+ >;
967
+
968
+ /**
969
+ * The target locations that are subscribed to our version changes, as well as the most recent
970
+ * of our versions we informed them of.
971
+ *
972
+ * @param {[number, XcmVersionedLocation]} arg
973
+ * @param {Callback<[bigint, SpWeightsWeightV2Weight, number] | undefined> =} callback
974
+ **/
975
+ versionNotifyTargets: GenericStorageQuery<
976
+ Rv,
977
+ (arg: [number, XcmVersionedLocation]) => [bigint, SpWeightsWeightV2Weight, number] | undefined,
978
+ [number, XcmVersionedLocation]
979
+ >;
980
+
981
+ /**
982
+ * Destinations whose latest XCM version we would like to know. Duplicates not allowed, and
983
+ * the `u32` counter is the number of times that a send to the destination has been attempted,
984
+ * which is used as a prioritization.
985
+ *
986
+ * @param {Callback<Array<[XcmVersionedLocation, number]>> =} callback
987
+ **/
988
+ versionDiscoveryQueue: GenericStorageQuery<Rv, () => Array<[XcmVersionedLocation, number]>>;
989
+
990
+ /**
991
+ * The current migration's stage, if any.
992
+ *
993
+ * @param {Callback<PalletXcmVersionMigrationStage | undefined> =} callback
994
+ **/
995
+ currentMigration: GenericStorageQuery<Rv, () => PalletXcmVersionMigrationStage | undefined>;
996
+
997
+ /**
998
+ * Fungible assets which we know are locked on a remote chain.
999
+ *
1000
+ * @param {[number, AccountId32Like, XcmVersionedAssetId]} arg
1001
+ * @param {Callback<PalletXcmRemoteLockedFungibleRecord | undefined> =} callback
1002
+ **/
1003
+ remoteLockedFungibles: GenericStorageQuery<
1004
+ Rv,
1005
+ (arg: [number, AccountId32Like, XcmVersionedAssetId]) => PalletXcmRemoteLockedFungibleRecord | undefined,
1006
+ [number, AccountId32, XcmVersionedAssetId]
1007
+ >;
1008
+
1009
+ /**
1010
+ * Fungible assets which we know are locked on this chain.
1011
+ *
1012
+ * @param {AccountId32Like} arg
1013
+ * @param {Callback<Array<[bigint, XcmVersionedLocation]> | undefined> =} callback
1014
+ **/
1015
+ lockedFungibles: GenericStorageQuery<
1016
+ Rv,
1017
+ (arg: AccountId32Like) => Array<[bigint, XcmVersionedLocation]> | undefined,
1018
+ AccountId32
1019
+ >;
1020
+
1021
+ /**
1022
+ * Global suspension state of the XCM executor.
1023
+ *
1024
+ * @param {Callback<boolean> =} callback
1025
+ **/
1026
+ xcmExecutionSuspended: GenericStorageQuery<Rv, () => boolean>;
1027
+
1028
+ /**
1029
+ * Whether or not incoming XCMs (both executed locally and received) should be recorded.
1030
+ * Only one XCM program will be recorded at a time.
1031
+ * This is meant to be used in runtime APIs, and it's advised it stays false
1032
+ * for all other use cases, so as to not degrade regular performance.
1033
+ *
1034
+ * Only relevant if this pallet is being used as the [`xcm_executor::traits::RecordXcm`]
1035
+ * implementation in the XCM executor configuration.
1036
+ *
1037
+ * @param {Callback<boolean> =} callback
1038
+ **/
1039
+ shouldRecordXcm: GenericStorageQuery<Rv, () => boolean>;
1040
+
1041
+ /**
1042
+ * If [`ShouldRecordXcm`] is set to true, then the last XCM program executed locally
1043
+ * will be stored here.
1044
+ * Runtime APIs can fetch the XCM that was executed by accessing this value.
1045
+ *
1046
+ * Only relevant if this pallet is being used as the [`xcm_executor::traits::RecordXcm`]
1047
+ * implementation in the XCM executor configuration.
1048
+ *
1049
+ * @param {Callback<StagingXcmV4Xcm | undefined> =} callback
1050
+ **/
1051
+ recordedXcm: GenericStorageQuery<Rv, () => StagingXcmV4Xcm | undefined>;
1052
+
1053
+ /**
1054
+ * Generic pallet storage query
1055
+ **/
1056
+ [storage: string]: GenericStorageQuery<Rv>;
1057
+ };
1058
+ /**
1059
+ * Pallet `MessageQueue`'s storage queries
1060
+ **/
1061
+ messageQueue: {
1062
+ /**
1063
+ * The index of the first and last (non-empty) pages.
1064
+ *
1065
+ * @param {CumulusPrimitivesCoreAggregateMessageOrigin} arg
1066
+ * @param {Callback<PalletMessageQueueBookState> =} callback
1067
+ **/
1068
+ bookStateFor: GenericStorageQuery<
1069
+ Rv,
1070
+ (arg: CumulusPrimitivesCoreAggregateMessageOrigin) => PalletMessageQueueBookState,
1071
+ CumulusPrimitivesCoreAggregateMessageOrigin
1072
+ >;
1073
+
1074
+ /**
1075
+ * The origin at which we should begin servicing.
1076
+ *
1077
+ * @param {Callback<CumulusPrimitivesCoreAggregateMessageOrigin | undefined> =} callback
1078
+ **/
1079
+ serviceHead: GenericStorageQuery<Rv, () => CumulusPrimitivesCoreAggregateMessageOrigin | undefined>;
1080
+
1081
+ /**
1082
+ * The map of page indices to pages.
1083
+ *
1084
+ * @param {[CumulusPrimitivesCoreAggregateMessageOrigin, number]} arg
1085
+ * @param {Callback<PalletMessageQueuePage | undefined> =} callback
1086
+ **/
1087
+ pages: GenericStorageQuery<
1088
+ Rv,
1089
+ (arg: [CumulusPrimitivesCoreAggregateMessageOrigin, number]) => PalletMessageQueuePage | undefined,
1090
+ [CumulusPrimitivesCoreAggregateMessageOrigin, number]
1091
+ >;
1092
+
1093
+ /**
1094
+ * Generic pallet storage query
1095
+ **/
1096
+ [storage: string]: GenericStorageQuery<Rv>;
1097
+ };
1098
+ /**
1099
+ * Pallet `Multisig`'s storage queries
1100
+ **/
1101
+ multisig: {
1102
+ /**
1103
+ * The set of open multisig operations.
1104
+ *
1105
+ * @param {[AccountId32Like, FixedBytes<32>]} arg
1106
+ * @param {Callback<PalletMultisigMultisig | undefined> =} callback
1107
+ **/
1108
+ multisigs: GenericStorageQuery<
1109
+ Rv,
1110
+ (arg: [AccountId32Like, FixedBytes<32>]) => PalletMultisigMultisig | undefined,
1111
+ [AccountId32, FixedBytes<32>]
1112
+ >;
1113
+
1114
+ /**
1115
+ * Generic pallet storage query
1116
+ **/
1117
+ [storage: string]: GenericStorageQuery<Rv>;
1118
+ };
1119
+ /**
1120
+ * Pallet `Proxy`'s storage queries
1121
+ **/
1122
+ proxy: {
1123
+ /**
1124
+ * The set of account proxies. Maps the account which has delegated to the accounts
1125
+ * which are being delegated to, together with the amount held on deposit.
1126
+ *
1127
+ * @param {AccountId32Like} arg
1128
+ * @param {Callback<[Array<PalletProxyProxyDefinition>, bigint]> =} callback
1129
+ **/
1130
+ proxies: GenericStorageQuery<
1131
+ Rv,
1132
+ (arg: AccountId32Like) => [Array<PalletProxyProxyDefinition>, bigint],
1133
+ AccountId32
1134
+ >;
1135
+
1136
+ /**
1137
+ * The announcements made by the proxy (key).
1138
+ *
1139
+ * @param {AccountId32Like} arg
1140
+ * @param {Callback<[Array<PalletProxyAnnouncement>, bigint]> =} callback
1141
+ **/
1142
+ announcements: GenericStorageQuery<
1143
+ Rv,
1144
+ (arg: AccountId32Like) => [Array<PalletProxyAnnouncement>, bigint],
1145
+ AccountId32
1146
+ >;
1147
+
1148
+ /**
1149
+ * Generic pallet storage query
1150
+ **/
1151
+ [storage: string]: GenericStorageQuery<Rv>;
1152
+ };
1153
+ /**
1154
+ * Pallet `Identity`'s storage queries
1155
+ **/
1156
+ identity: {
1157
+ /**
1158
+ * Information that is pertinent to identify the entity behind an account. First item is the
1159
+ * registration, second is the account's primary username.
1160
+ *
1161
+ * TWOX-NOTE: OK ― `AccountId` is a secure hash.
1162
+ *
1163
+ * @param {AccountId32Like} arg
1164
+ * @param {Callback<[PalletIdentityRegistration, Bytes | undefined] | undefined> =} callback
1165
+ **/
1166
+ identityOf: GenericStorageQuery<
1167
+ Rv,
1168
+ (arg: AccountId32Like) => [PalletIdentityRegistration, Bytes | undefined] | undefined,
1169
+ AccountId32
1170
+ >;
1171
+
1172
+ /**
1173
+ * The super-identity of an alternative "sub" identity together with its name, within that
1174
+ * context. If the account is not some other account's sub-identity, then just `None`.
1175
+ *
1176
+ * @param {AccountId32Like} arg
1177
+ * @param {Callback<[AccountId32, Data] | undefined> =} callback
1178
+ **/
1179
+ superOf: GenericStorageQuery<Rv, (arg: AccountId32Like) => [AccountId32, Data] | undefined, AccountId32>;
1180
+
1181
+ /**
1182
+ * Alternative "sub" identities of this account.
1183
+ *
1184
+ * The first item is the deposit, the second is a vector of the accounts.
1185
+ *
1186
+ * TWOX-NOTE: OK ― `AccountId` is a secure hash.
1187
+ *
1188
+ * @param {AccountId32Like} arg
1189
+ * @param {Callback<[bigint, Array<AccountId32>]> =} callback
1190
+ **/
1191
+ subsOf: GenericStorageQuery<Rv, (arg: AccountId32Like) => [bigint, Array<AccountId32>], AccountId32>;
1192
+
1193
+ /**
1194
+ * The set of registrars. Not expected to get very big as can only be added through a
1195
+ * special origin (likely a council motion).
1196
+ *
1197
+ * The index into this can be cast to `RegistrarIndex` to get a valid value.
1198
+ *
1199
+ * @param {Callback<Array<PalletIdentityRegistrarInfo | undefined>> =} callback
1200
+ **/
1201
+ registrars: GenericStorageQuery<Rv, () => Array<PalletIdentityRegistrarInfo | undefined>>;
1202
+
1203
+ /**
1204
+ * A map of the accounts who are authorized to grant usernames.
1205
+ *
1206
+ * @param {AccountId32Like} arg
1207
+ * @param {Callback<PalletIdentityAuthorityProperties | undefined> =} callback
1208
+ **/
1209
+ usernameAuthorities: GenericStorageQuery<
1210
+ Rv,
1211
+ (arg: AccountId32Like) => PalletIdentityAuthorityProperties | undefined,
1212
+ AccountId32
1213
+ >;
1214
+
1215
+ /**
1216
+ * Reverse lookup from `username` to the `AccountId` that has registered it. The value should
1217
+ * be a key in the `IdentityOf` map, but it may not if the user has cleared their identity.
1218
+ *
1219
+ * Multiple usernames may map to the same `AccountId`, but `IdentityOf` will only map to one
1220
+ * primary username.
1221
+ *
1222
+ * @param {BytesLike} arg
1223
+ * @param {Callback<AccountId32 | undefined> =} callback
1224
+ **/
1225
+ accountOfUsername: GenericStorageQuery<Rv, (arg: BytesLike) => AccountId32 | undefined, Bytes>;
1226
+
1227
+ /**
1228
+ * Usernames that an authority has granted, but that the account controller has not confirmed
1229
+ * that they want it. Used primarily in cases where the `AccountId` cannot provide a signature
1230
+ * because they are a pure proxy, multisig, etc. In order to confirm it, they should call
1231
+ * [`Call::accept_username`].
1232
+ *
1233
+ * First tuple item is the account and second is the acceptance deadline.
1234
+ *
1235
+ * @param {BytesLike} arg
1236
+ * @param {Callback<[AccountId32, number] | undefined> =} callback
1237
+ **/
1238
+ pendingUsernames: GenericStorageQuery<Rv, (arg: BytesLike) => [AccountId32, number] | undefined, Bytes>;
1239
+
1240
+ /**
1241
+ * Generic pallet storage query
1242
+ **/
1243
+ [storage: string]: GenericStorageQuery<Rv>;
1244
+ };
1245
+ }