@dedot/chaintypes 0.28.0 → 0.30.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.
@@ -1,1841 +0,0 @@
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
- } from 'dedot/codecs';
15
- import type {
16
- FrameSystemAccountInfo,
17
- FrameSupportDispatchPerDispatchClass,
18
- FrameSystemEventRecord,
19
- FrameSystemLastRuntimeUpgradeInfo,
20
- FrameSystemCodeUpgradeAuthorization,
21
- CumulusPalletParachainSystemUnincludedSegmentAncestor,
22
- CumulusPalletParachainSystemUnincludedSegmentSegmentTracker,
23
- PolkadotPrimitivesV8PersistedValidationData,
24
- PolkadotPrimitivesV8UpgradeRestriction,
25
- PolkadotPrimitivesV8UpgradeGoAhead,
26
- SpTrieStorageProof,
27
- CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot,
28
- PolkadotPrimitivesV8AbridgedHostConfiguration,
29
- CumulusPrimitivesParachainInherentMessageQueueChain,
30
- PolkadotParachainPrimitivesPrimitivesId,
31
- PolkadotCorePrimitivesOutboundHrmpMessage,
32
- SpWeightsWeightV2Weight,
33
- PalletBalancesAccountData,
34
- PalletBalancesBalanceLock,
35
- PalletBalancesReserveData,
36
- FrameSupportTokensMiscIdAmount,
37
- FrameSupportTokensMiscIdAmount002,
38
- PalletTransactionPaymentReleases,
39
- PalletCollatorSelectionCandidateInfo,
40
- AssetHubRococoRuntimeSessionKeys,
41
- SpCoreCryptoKeyTypeId,
42
- SpConsensusAuraSr25519AppSr25519Public,
43
- SpConsensusSlotsSlot,
44
- CumulusPalletXcmpQueueOutboundChannelDetails,
45
- CumulusPalletXcmpQueueQueueConfigData,
46
- PalletXcmQueryStatus,
47
- XcmVersionedLocation,
48
- PalletXcmVersionMigrationStage,
49
- PalletXcmRemoteLockedFungibleRecord,
50
- XcmVersionedAssetId,
51
- StagingXcmV4Xcm,
52
- PalletMessageQueueBookState,
53
- CumulusPrimitivesCoreAggregateMessageOrigin,
54
- PalletMessageQueuePage,
55
- PalletMultisigMultisig,
56
- PalletProxyProxyDefinition,
57
- PalletProxyAnnouncement,
58
- PalletAssetsAssetDetails,
59
- PalletAssetsAssetAccount,
60
- PalletAssetsApproval,
61
- PalletAssetsAssetMetadata,
62
- PalletUniquesCollectionDetails,
63
- PalletUniquesItemDetails,
64
- PalletUniquesCollectionMetadata,
65
- PalletUniquesItemMetadata,
66
- PalletNftsCollectionDetails,
67
- PalletNftsBitFlagsCollectionRole,
68
- PalletNftsItemDetails,
69
- PalletNftsCollectionMetadata,
70
- PalletNftsItemMetadata,
71
- PalletNftsAttributeDeposit,
72
- PalletNftsAttributeNamespace,
73
- PalletNftsPendingSwap,
74
- PalletNftsCollectionConfig,
75
- PalletNftsItemConfig,
76
- StagingXcmV4Location,
77
- PalletNftFractionalizationDetails,
78
- PalletAssetConversionPoolInfo,
79
- FrameSupportTokensMiscIdAmountRuntimeFreezeReason,
80
- } from './types';
81
-
82
- export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage<Rv> {
83
- /**
84
- * Pallet `System`'s storage queries
85
- **/
86
- system: {
87
- /**
88
- * The full account information for a particular account ID.
89
- *
90
- * @param {AccountId32Like} arg
91
- * @param {Callback<FrameSystemAccountInfo> =} callback
92
- **/
93
- account: GenericStorageQuery<Rv, (arg: AccountId32Like) => FrameSystemAccountInfo, AccountId32>;
94
-
95
- /**
96
- * Total extrinsics count for the current block.
97
- *
98
- * @param {Callback<number | undefined> =} callback
99
- **/
100
- extrinsicCount: GenericStorageQuery<Rv, () => number | undefined>;
101
-
102
- /**
103
- * Whether all inherents have been applied.
104
- *
105
- * @param {Callback<boolean> =} callback
106
- **/
107
- inherentsApplied: GenericStorageQuery<Rv, () => boolean>;
108
-
109
- /**
110
- * The current weight for the block.
111
- *
112
- * @param {Callback<FrameSupportDispatchPerDispatchClass> =} callback
113
- **/
114
- blockWeight: GenericStorageQuery<Rv, () => FrameSupportDispatchPerDispatchClass>;
115
-
116
- /**
117
- * Total length (in bytes) for all extrinsics put together, for the current block.
118
- *
119
- * @param {Callback<number | undefined> =} callback
120
- **/
121
- allExtrinsicsLen: GenericStorageQuery<Rv, () => number | undefined>;
122
-
123
- /**
124
- * Map of block numbers to block hashes.
125
- *
126
- * @param {number} arg
127
- * @param {Callback<H256> =} callback
128
- **/
129
- blockHash: GenericStorageQuery<Rv, (arg: number) => H256, number>;
130
-
131
- /**
132
- * Extrinsics data for the current block (maps an extrinsic's index to its data).
133
- *
134
- * @param {number} arg
135
- * @param {Callback<Bytes> =} callback
136
- **/
137
- extrinsicData: GenericStorageQuery<Rv, (arg: number) => Bytes, number>;
138
-
139
- /**
140
- * The current block number being processed. Set by `execute_block`.
141
- *
142
- * @param {Callback<number> =} callback
143
- **/
144
- number: GenericStorageQuery<Rv, () => number>;
145
-
146
- /**
147
- * Hash of the previous block.
148
- *
149
- * @param {Callback<H256> =} callback
150
- **/
151
- parentHash: GenericStorageQuery<Rv, () => H256>;
152
-
153
- /**
154
- * Digest of the current block, also part of the block header.
155
- *
156
- * @param {Callback<Digest> =} callback
157
- **/
158
- digest: GenericStorageQuery<Rv, () => Digest>;
159
-
160
- /**
161
- * Events deposited for the current block.
162
- *
163
- * NOTE: The item is unbound and should therefore never be read on chain.
164
- * It could otherwise inflate the PoV size of a block.
165
- *
166
- * Events have a large in-memory size. Box the events to not go out-of-memory
167
- * just in case someone still reads them from within the runtime.
168
- *
169
- * @param {Callback<Array<FrameSystemEventRecord>> =} callback
170
- **/
171
- events: GenericStorageQuery<Rv, () => Array<FrameSystemEventRecord>>;
172
-
173
- /**
174
- * The number of events in the `Events<T>` list.
175
- *
176
- * @param {Callback<number> =} callback
177
- **/
178
- eventCount: GenericStorageQuery<Rv, () => number>;
179
-
180
- /**
181
- * Mapping between a topic (represented by T::Hash) and a vector of indexes
182
- * of events in the `<Events<T>>` list.
183
- *
184
- * All topic vectors have deterministic storage locations depending on the topic. This
185
- * allows light-clients to leverage the changes trie storage tracking mechanism and
186
- * in case of changes fetch the list of events of interest.
187
- *
188
- * The value has the type `(BlockNumberFor<T>, EventIndex)` because if we used only just
189
- * the `EventIndex` then in case if the topic has the same contents on the next block
190
- * no notification will be triggered thus the event might be lost.
191
- *
192
- * @param {H256} arg
193
- * @param {Callback<Array<[number, number]>> =} callback
194
- **/
195
- eventTopics: GenericStorageQuery<Rv, (arg: H256) => Array<[number, number]>, H256>;
196
-
197
- /**
198
- * Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened.
199
- *
200
- * @param {Callback<FrameSystemLastRuntimeUpgradeInfo | undefined> =} callback
201
- **/
202
- lastRuntimeUpgrade: GenericStorageQuery<Rv, () => FrameSystemLastRuntimeUpgradeInfo | undefined>;
203
-
204
- /**
205
- * True if we have upgraded so that `type RefCount` is `u32`. False (default) if not.
206
- *
207
- * @param {Callback<boolean> =} callback
208
- **/
209
- upgradedToU32RefCount: GenericStorageQuery<Rv, () => boolean>;
210
-
211
- /**
212
- * True if we have upgraded so that AccountInfo contains three types of `RefCount`. False
213
- * (default) if not.
214
- *
215
- * @param {Callback<boolean> =} callback
216
- **/
217
- upgradedToTripleRefCount: GenericStorageQuery<Rv, () => boolean>;
218
-
219
- /**
220
- * The execution phase of the block.
221
- *
222
- * @param {Callback<Phase | undefined> =} callback
223
- **/
224
- executionPhase: GenericStorageQuery<Rv, () => Phase | undefined>;
225
-
226
- /**
227
- * `Some` if a code upgrade has been authorized.
228
- *
229
- * @param {Callback<FrameSystemCodeUpgradeAuthorization | undefined> =} callback
230
- **/
231
- authorizedUpgrade: GenericStorageQuery<Rv, () => FrameSystemCodeUpgradeAuthorization | undefined>;
232
-
233
- /**
234
- * Generic pallet storage query
235
- **/
236
- [storage: string]: GenericStorageQuery<Rv>;
237
- };
238
- /**
239
- * Pallet `ParachainSystem`'s storage queries
240
- **/
241
- parachainSystem: {
242
- /**
243
- * Latest included block descendants the runtime accepted. In other words, these are
244
- * ancestors of the currently executing block which have not been included in the observed
245
- * relay-chain state.
246
- *
247
- * The segment length is limited by the capacity returned from the [`ConsensusHook`] configured
248
- * in the pallet.
249
- *
250
- * @param {Callback<Array<CumulusPalletParachainSystemUnincludedSegmentAncestor>> =} callback
251
- **/
252
- unincludedSegment: GenericStorageQuery<Rv, () => Array<CumulusPalletParachainSystemUnincludedSegmentAncestor>>;
253
-
254
- /**
255
- * Storage field that keeps track of bandwidth used by the unincluded segment along with the
256
- * latest HRMP watermark. Used for limiting the acceptance of new blocks with
257
- * respect to relay chain constraints.
258
- *
259
- * @param {Callback<CumulusPalletParachainSystemUnincludedSegmentSegmentTracker | undefined> =} callback
260
- **/
261
- aggregatedUnincludedSegment: GenericStorageQuery<
262
- Rv,
263
- () => CumulusPalletParachainSystemUnincludedSegmentSegmentTracker | undefined
264
- >;
265
-
266
- /**
267
- * In case of a scheduled upgrade, this storage field contains the validation code to be
268
- * applied.
269
- *
270
- * As soon as the relay chain gives us the go-ahead signal, we will overwrite the
271
- * [`:code`][sp_core::storage::well_known_keys::CODE] which will result the next block process
272
- * with the new validation code. This concludes the upgrade process.
273
- *
274
- * @param {Callback<Bytes> =} callback
275
- **/
276
- pendingValidationCode: GenericStorageQuery<Rv, () => Bytes>;
277
-
278
- /**
279
- * Validation code that is set by the parachain and is to be communicated to collator and
280
- * consequently the relay-chain.
281
- *
282
- * This will be cleared in `on_initialize` of each new block if no other pallet already set
283
- * the value.
284
- *
285
- * @param {Callback<Bytes | undefined> =} callback
286
- **/
287
- newValidationCode: GenericStorageQuery<Rv, () => Bytes | undefined>;
288
-
289
- /**
290
- * The [`PersistedValidationData`] set for this block.
291
- * This value is expected to be set only once per block and it's never stored
292
- * in the trie.
293
- *
294
- * @param {Callback<PolkadotPrimitivesV8PersistedValidationData | undefined> =} callback
295
- **/
296
- validationData: GenericStorageQuery<Rv, () => PolkadotPrimitivesV8PersistedValidationData | undefined>;
297
-
298
- /**
299
- * Were the validation data set to notify the relay chain?
300
- *
301
- * @param {Callback<boolean> =} callback
302
- **/
303
- didSetValidationCode: GenericStorageQuery<Rv, () => boolean>;
304
-
305
- /**
306
- * The relay chain block number associated with the last parachain block.
307
- *
308
- * This is updated in `on_finalize`.
309
- *
310
- * @param {Callback<number> =} callback
311
- **/
312
- lastRelayChainBlockNumber: GenericStorageQuery<Rv, () => number>;
313
-
314
- /**
315
- * An option which indicates if the relay-chain restricts signalling a validation code upgrade.
316
- * In other words, if this is `Some` and [`NewValidationCode`] is `Some` then the produced
317
- * candidate will be invalid.
318
- *
319
- * This storage item is a mirror of the corresponding value for the current parachain from the
320
- * relay-chain. This value is ephemeral which means it doesn't hit the storage. This value is
321
- * set after the inherent.
322
- *
323
- * @param {Callback<PolkadotPrimitivesV8UpgradeRestriction | undefined> =} callback
324
- **/
325
- upgradeRestrictionSignal: GenericStorageQuery<Rv, () => PolkadotPrimitivesV8UpgradeRestriction | undefined>;
326
-
327
- /**
328
- * Optional upgrade go-ahead signal from the relay-chain.
329
- *
330
- * This storage item is a mirror of the corresponding value for the current parachain from the
331
- * relay-chain. This value is ephemeral which means it doesn't hit the storage. This value is
332
- * set after the inherent.
333
- *
334
- * @param {Callback<PolkadotPrimitivesV8UpgradeGoAhead | undefined> =} callback
335
- **/
336
- upgradeGoAhead: GenericStorageQuery<Rv, () => PolkadotPrimitivesV8UpgradeGoAhead | undefined>;
337
-
338
- /**
339
- * The state proof for the last relay parent block.
340
- *
341
- * This field is meant to be updated each block with the validation data inherent. Therefore,
342
- * before processing of the inherent, e.g. in `on_initialize` this data may be stale.
343
- *
344
- * This data is also absent from the genesis.
345
- *
346
- * @param {Callback<SpTrieStorageProof | undefined> =} callback
347
- **/
348
- relayStateProof: GenericStorageQuery<Rv, () => SpTrieStorageProof | undefined>;
349
-
350
- /**
351
- * The snapshot of some state related to messaging relevant to the current parachain as per
352
- * the relay parent.
353
- *
354
- * This field is meant to be updated each block with the validation data inherent. Therefore,
355
- * before processing of the inherent, e.g. in `on_initialize` this data may be stale.
356
- *
357
- * This data is also absent from the genesis.
358
- *
359
- * @param {Callback<CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot | undefined> =} callback
360
- **/
361
- relevantMessagingState: GenericStorageQuery<
362
- Rv,
363
- () => CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot | undefined
364
- >;
365
-
366
- /**
367
- * The parachain host configuration that was obtained from the relay parent.
368
- *
369
- * This field is meant to be updated each block with the validation data inherent. Therefore,
370
- * before processing of the inherent, e.g. in `on_initialize` this data may be stale.
371
- *
372
- * This data is also absent from the genesis.
373
- *
374
- * @param {Callback<PolkadotPrimitivesV8AbridgedHostConfiguration | undefined> =} callback
375
- **/
376
- hostConfiguration: GenericStorageQuery<Rv, () => PolkadotPrimitivesV8AbridgedHostConfiguration | undefined>;
377
-
378
- /**
379
- * The last downward message queue chain head we have observed.
380
- *
381
- * This value is loaded before and saved after processing inbound downward messages carried
382
- * by the system inherent.
383
- *
384
- * @param {Callback<CumulusPrimitivesParachainInherentMessageQueueChain> =} callback
385
- **/
386
- lastDmqMqcHead: GenericStorageQuery<Rv, () => CumulusPrimitivesParachainInherentMessageQueueChain>;
387
-
388
- /**
389
- * The message queue chain heads we have observed per each channel incoming channel.
390
- *
391
- * This value is loaded before and saved after processing inbound downward messages carried
392
- * by the system inherent.
393
- *
394
- * @param {Callback<Array<[PolkadotParachainPrimitivesPrimitivesId, CumulusPrimitivesParachainInherentMessageQueueChain]>> =} callback
395
- **/
396
- lastHrmpMqcHeads: GenericStorageQuery<
397
- Rv,
398
- () => Array<[PolkadotParachainPrimitivesPrimitivesId, CumulusPrimitivesParachainInherentMessageQueueChain]>
399
- >;
400
-
401
- /**
402
- * Number of downward messages processed in a block.
403
- *
404
- * This will be cleared in `on_initialize` of each new block.
405
- *
406
- * @param {Callback<number> =} callback
407
- **/
408
- processedDownwardMessages: GenericStorageQuery<Rv, () => number>;
409
-
410
- /**
411
- * HRMP watermark that was set in a block.
412
- *
413
- * This will be cleared in `on_initialize` of each new block.
414
- *
415
- * @param {Callback<number> =} callback
416
- **/
417
- hrmpWatermark: GenericStorageQuery<Rv, () => number>;
418
-
419
- /**
420
- * HRMP messages that were sent in a block.
421
- *
422
- * This will be cleared in `on_initialize` of each new block.
423
- *
424
- * @param {Callback<Array<PolkadotCorePrimitivesOutboundHrmpMessage>> =} callback
425
- **/
426
- hrmpOutboundMessages: GenericStorageQuery<Rv, () => Array<PolkadotCorePrimitivesOutboundHrmpMessage>>;
427
-
428
- /**
429
- * Upward messages that were sent in a block.
430
- *
431
- * This will be cleared in `on_initialize` of each new block.
432
- *
433
- * @param {Callback<Array<Bytes>> =} callback
434
- **/
435
- upwardMessages: GenericStorageQuery<Rv, () => Array<Bytes>>;
436
-
437
- /**
438
- * Upward messages that are still pending and not yet send to the relay chain.
439
- *
440
- * @param {Callback<Array<Bytes>> =} callback
441
- **/
442
- pendingUpwardMessages: GenericStorageQuery<Rv, () => Array<Bytes>>;
443
-
444
- /**
445
- * The factor to multiply the base delivery fee by for UMP.
446
- *
447
- * @param {Callback<FixedU128> =} callback
448
- **/
449
- upwardDeliveryFeeFactor: GenericStorageQuery<Rv, () => FixedU128>;
450
-
451
- /**
452
- * The number of HRMP messages we observed in `on_initialize` and thus used that number for
453
- * announcing the weight of `on_initialize` and `on_finalize`.
454
- *
455
- * @param {Callback<number> =} callback
456
- **/
457
- announcedHrmpMessagesPerCandidate: GenericStorageQuery<Rv, () => number>;
458
-
459
- /**
460
- * The weight we reserve at the beginning of the block for processing XCMP messages. This
461
- * overrides the amount set in the Config trait.
462
- *
463
- * @param {Callback<SpWeightsWeightV2Weight | undefined> =} callback
464
- **/
465
- reservedXcmpWeightOverride: GenericStorageQuery<Rv, () => SpWeightsWeightV2Weight | undefined>;
466
-
467
- /**
468
- * The weight we reserve at the beginning of the block for processing DMP messages. This
469
- * overrides the amount set in the Config trait.
470
- *
471
- * @param {Callback<SpWeightsWeightV2Weight | undefined> =} callback
472
- **/
473
- reservedDmpWeightOverride: GenericStorageQuery<Rv, () => SpWeightsWeightV2Weight | undefined>;
474
-
475
- /**
476
- * A custom head data that should be returned as result of `validate_block`.
477
- *
478
- * See `Pallet::set_custom_validation_head_data` for more information.
479
- *
480
- * @param {Callback<Bytes | undefined> =} callback
481
- **/
482
- customValidationHeadData: GenericStorageQuery<Rv, () => Bytes | undefined>;
483
-
484
- /**
485
- * Generic pallet storage query
486
- **/
487
- [storage: string]: GenericStorageQuery<Rv>;
488
- };
489
- /**
490
- * Pallet `Timestamp`'s storage queries
491
- **/
492
- timestamp: {
493
- /**
494
- * The current time for the current block.
495
- *
496
- * @param {Callback<bigint> =} callback
497
- **/
498
- now: GenericStorageQuery<Rv, () => bigint>;
499
-
500
- /**
501
- * Whether the timestamp has been updated in this block.
502
- *
503
- * This value is updated to `true` upon successful submission of a timestamp by a node.
504
- * It is then checked at the end of each block execution in the `on_finalize` hook.
505
- *
506
- * @param {Callback<boolean> =} callback
507
- **/
508
- didUpdate: GenericStorageQuery<Rv, () => boolean>;
509
-
510
- /**
511
- * Generic pallet storage query
512
- **/
513
- [storage: string]: GenericStorageQuery<Rv>;
514
- };
515
- /**
516
- * Pallet `ParachainInfo`'s storage queries
517
- **/
518
- parachainInfo: {
519
- /**
520
- *
521
- * @param {Callback<PolkadotParachainPrimitivesPrimitivesId> =} callback
522
- **/
523
- parachainId: GenericStorageQuery<Rv, () => PolkadotParachainPrimitivesPrimitivesId>;
524
-
525
- /**
526
- * Generic pallet storage query
527
- **/
528
- [storage: string]: GenericStorageQuery<Rv>;
529
- };
530
- /**
531
- * Pallet `Balances`'s storage queries
532
- **/
533
- balances: {
534
- /**
535
- * The total units issued in the system.
536
- *
537
- * @param {Callback<bigint> =} callback
538
- **/
539
- totalIssuance: GenericStorageQuery<Rv, () => bigint>;
540
-
541
- /**
542
- * The total units of outstanding deactivated balance in the system.
543
- *
544
- * @param {Callback<bigint> =} callback
545
- **/
546
- inactiveIssuance: GenericStorageQuery<Rv, () => bigint>;
547
-
548
- /**
549
- * The Balances pallet example of storing the balance of an account.
550
- *
551
- * # Example
552
- *
553
- * ```nocompile
554
- * impl pallet_balances::Config for Runtime {
555
- * type AccountStore = StorageMapShim<Self::Account<Runtime>, frame_system::Provider<Runtime>, AccountId, Self::AccountData<Balance>>
556
- * }
557
- * ```
558
- *
559
- * You can also store the balance of an account in the `System` pallet.
560
- *
561
- * # Example
562
- *
563
- * ```nocompile
564
- * impl pallet_balances::Config for Runtime {
565
- * type AccountStore = System
566
- * }
567
- * ```
568
- *
569
- * But this comes with tradeoffs, storing account balances in the system pallet stores
570
- * `frame_system` data alongside the account data contrary to storing account balances in the
571
- * `Balances` pallet, which uses a `StorageMap` to store balances data only.
572
- * NOTE: This is only used in the case that this pallet is used to store balances.
573
- *
574
- * @param {AccountId32Like} arg
575
- * @param {Callback<PalletBalancesAccountData> =} callback
576
- **/
577
- account: GenericStorageQuery<Rv, (arg: AccountId32Like) => PalletBalancesAccountData, AccountId32>;
578
-
579
- /**
580
- * Any liquidity locks on some account balances.
581
- * NOTE: Should only be accessed when setting, changing and freeing a lock.
582
- *
583
- * Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`
584
- *
585
- * @param {AccountId32Like} arg
586
- * @param {Callback<Array<PalletBalancesBalanceLock>> =} callback
587
- **/
588
- locks: GenericStorageQuery<Rv, (arg: AccountId32Like) => Array<PalletBalancesBalanceLock>, AccountId32>;
589
-
590
- /**
591
- * Named reserves on some account balances.
592
- *
593
- * Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`
594
- *
595
- * @param {AccountId32Like} arg
596
- * @param {Callback<Array<PalletBalancesReserveData>> =} callback
597
- **/
598
- reserves: GenericStorageQuery<Rv, (arg: AccountId32Like) => Array<PalletBalancesReserveData>, AccountId32>;
599
-
600
- /**
601
- * Holds on account balances.
602
- *
603
- * @param {AccountId32Like} arg
604
- * @param {Callback<Array<FrameSupportTokensMiscIdAmount>> =} callback
605
- **/
606
- holds: GenericStorageQuery<Rv, (arg: AccountId32Like) => Array<FrameSupportTokensMiscIdAmount>, AccountId32>;
607
-
608
- /**
609
- * Freeze locks on account balances.
610
- *
611
- * @param {AccountId32Like} arg
612
- * @param {Callback<Array<FrameSupportTokensMiscIdAmount002>> =} callback
613
- **/
614
- freezes: GenericStorageQuery<Rv, (arg: AccountId32Like) => Array<FrameSupportTokensMiscIdAmount002>, AccountId32>;
615
-
616
- /**
617
- * Generic pallet storage query
618
- **/
619
- [storage: string]: GenericStorageQuery<Rv>;
620
- };
621
- /**
622
- * Pallet `TransactionPayment`'s storage queries
623
- **/
624
- transactionPayment: {
625
- /**
626
- *
627
- * @param {Callback<FixedU128> =} callback
628
- **/
629
- nextFeeMultiplier: GenericStorageQuery<Rv, () => FixedU128>;
630
-
631
- /**
632
- *
633
- * @param {Callback<PalletTransactionPaymentReleases> =} callback
634
- **/
635
- storageVersion: GenericStorageQuery<Rv, () => PalletTransactionPaymentReleases>;
636
-
637
- /**
638
- * Generic pallet storage query
639
- **/
640
- [storage: string]: GenericStorageQuery<Rv>;
641
- };
642
- /**
643
- * Pallet `Authorship`'s storage queries
644
- **/
645
- authorship: {
646
- /**
647
- * Author of current block.
648
- *
649
- * @param {Callback<AccountId32 | undefined> =} callback
650
- **/
651
- author: GenericStorageQuery<Rv, () => AccountId32 | undefined>;
652
-
653
- /**
654
- * Generic pallet storage query
655
- **/
656
- [storage: string]: GenericStorageQuery<Rv>;
657
- };
658
- /**
659
- * Pallet `CollatorSelection`'s storage queries
660
- **/
661
- collatorSelection: {
662
- /**
663
- * The invulnerable, permissioned collators. This list must be sorted.
664
- *
665
- * @param {Callback<Array<AccountId32>> =} callback
666
- **/
667
- invulnerables: GenericStorageQuery<Rv, () => Array<AccountId32>>;
668
-
669
- /**
670
- * The (community, limited) collation candidates. `Candidates` and `Invulnerables` should be
671
- * mutually exclusive.
672
- *
673
- * This list is sorted in ascending order by deposit and when the deposits are equal, the least
674
- * recently updated is considered greater.
675
- *
676
- * @param {Callback<Array<PalletCollatorSelectionCandidateInfo>> =} callback
677
- **/
678
- candidateList: GenericStorageQuery<Rv, () => Array<PalletCollatorSelectionCandidateInfo>>;
679
-
680
- /**
681
- * Last block authored by collator.
682
- *
683
- * @param {AccountId32Like} arg
684
- * @param {Callback<number> =} callback
685
- **/
686
- lastAuthoredBlock: GenericStorageQuery<Rv, (arg: AccountId32Like) => number, AccountId32>;
687
-
688
- /**
689
- * Desired number of candidates.
690
- *
691
- * This should ideally always be less than [`Config::MaxCandidates`] for weights to be correct.
692
- *
693
- * @param {Callback<number> =} callback
694
- **/
695
- desiredCandidates: GenericStorageQuery<Rv, () => number>;
696
-
697
- /**
698
- * Fixed amount to deposit to become a collator.
699
- *
700
- * When a collator calls `leave_intent` they immediately receive the deposit back.
701
- *
702
- * @param {Callback<bigint> =} callback
703
- **/
704
- candidacyBond: GenericStorageQuery<Rv, () => bigint>;
705
-
706
- /**
707
- * Generic pallet storage query
708
- **/
709
- [storage: string]: GenericStorageQuery<Rv>;
710
- };
711
- /**
712
- * Pallet `Session`'s storage queries
713
- **/
714
- session: {
715
- /**
716
- * The current set of validators.
717
- *
718
- * @param {Callback<Array<AccountId32>> =} callback
719
- **/
720
- validators: GenericStorageQuery<Rv, () => Array<AccountId32>>;
721
-
722
- /**
723
- * Current index of the session.
724
- *
725
- * @param {Callback<number> =} callback
726
- **/
727
- currentIndex: GenericStorageQuery<Rv, () => number>;
728
-
729
- /**
730
- * True if the underlying economic identities or weighting behind the validators
731
- * has changed in the queued validator set.
732
- *
733
- * @param {Callback<boolean> =} callback
734
- **/
735
- queuedChanged: GenericStorageQuery<Rv, () => boolean>;
736
-
737
- /**
738
- * The queued keys for the next session. When the next session begins, these keys
739
- * will be used to determine the validator's session keys.
740
- *
741
- * @param {Callback<Array<[AccountId32, AssetHubRococoRuntimeSessionKeys]>> =} callback
742
- **/
743
- queuedKeys: GenericStorageQuery<Rv, () => Array<[AccountId32, AssetHubRococoRuntimeSessionKeys]>>;
744
-
745
- /**
746
- * Indices of disabled validators.
747
- *
748
- * The vec is always kept sorted so that we can find whether a given validator is
749
- * disabled using binary search. It gets cleared when `on_session_ending` returns
750
- * a new set of identities.
751
- *
752
- * @param {Callback<Array<number>> =} callback
753
- **/
754
- disabledValidators: GenericStorageQuery<Rv, () => Array<number>>;
755
-
756
- /**
757
- * The next session keys for a validator.
758
- *
759
- * @param {AccountId32Like} arg
760
- * @param {Callback<AssetHubRococoRuntimeSessionKeys | undefined> =} callback
761
- **/
762
- nextKeys: GenericStorageQuery<
763
- Rv,
764
- (arg: AccountId32Like) => AssetHubRococoRuntimeSessionKeys | undefined,
765
- AccountId32
766
- >;
767
-
768
- /**
769
- * The owner of a key. The key is the `KeyTypeId` + the encoded key.
770
- *
771
- * @param {[SpCoreCryptoKeyTypeId, BytesLike]} arg
772
- * @param {Callback<AccountId32 | undefined> =} callback
773
- **/
774
- keyOwner: GenericStorageQuery<
775
- Rv,
776
- (arg: [SpCoreCryptoKeyTypeId, BytesLike]) => AccountId32 | undefined,
777
- [SpCoreCryptoKeyTypeId, Bytes]
778
- >;
779
-
780
- /**
781
- * Generic pallet storage query
782
- **/
783
- [storage: string]: GenericStorageQuery<Rv>;
784
- };
785
- /**
786
- * Pallet `Aura`'s storage queries
787
- **/
788
- aura: {
789
- /**
790
- * The current authority set.
791
- *
792
- * @param {Callback<Array<SpConsensusAuraSr25519AppSr25519Public>> =} callback
793
- **/
794
- authorities: GenericStorageQuery<Rv, () => Array<SpConsensusAuraSr25519AppSr25519Public>>;
795
-
796
- /**
797
- * The current slot of this block.
798
- *
799
- * This will be set in `on_initialize`.
800
- *
801
- * @param {Callback<SpConsensusSlotsSlot> =} callback
802
- **/
803
- currentSlot: GenericStorageQuery<Rv, () => SpConsensusSlotsSlot>;
804
-
805
- /**
806
- * Generic pallet storage query
807
- **/
808
- [storage: string]: GenericStorageQuery<Rv>;
809
- };
810
- /**
811
- * Pallet `AuraExt`'s storage queries
812
- **/
813
- auraExt: {
814
- /**
815
- * Serves as cache for the authorities.
816
- *
817
- * The authorities in AuRa are overwritten in `on_initialize` when we switch to a new session,
818
- * but we require the old authorities to verify the seal when validating a PoV. This will
819
- * always be updated to the latest AuRa authorities in `on_finalize`.
820
- *
821
- * @param {Callback<Array<SpConsensusAuraSr25519AppSr25519Public>> =} callback
822
- **/
823
- authorities: GenericStorageQuery<Rv, () => Array<SpConsensusAuraSr25519AppSr25519Public>>;
824
-
825
- /**
826
- * Current slot paired with a number of authored blocks.
827
- *
828
- * Updated on each block initialization.
829
- *
830
- * @param {Callback<[SpConsensusSlotsSlot, number] | undefined> =} callback
831
- **/
832
- slotInfo: GenericStorageQuery<Rv, () => [SpConsensusSlotsSlot, number] | undefined>;
833
-
834
- /**
835
- * Generic pallet storage query
836
- **/
837
- [storage: string]: GenericStorageQuery<Rv>;
838
- };
839
- /**
840
- * Pallet `XcmpQueue`'s storage queries
841
- **/
842
- xcmpQueue: {
843
- /**
844
- * The suspended inbound XCMP channels. All others are not suspended.
845
- *
846
- * This is a `StorageValue` instead of a `StorageMap` since we expect multiple reads per block
847
- * to different keys with a one byte payload. The access to `BoundedBTreeSet` will be cached
848
- * within the block and therefore only included once in the proof size.
849
- *
850
- * NOTE: The PoV benchmarking cannot know this and will over-estimate, but the actual proof
851
- * will be smaller.
852
- *
853
- * @param {Callback<Array<PolkadotParachainPrimitivesPrimitivesId>> =} callback
854
- **/
855
- inboundXcmpSuspended: GenericStorageQuery<Rv, () => Array<PolkadotParachainPrimitivesPrimitivesId>>;
856
-
857
- /**
858
- * The non-empty XCMP channels in order of becoming non-empty, and the index of the first
859
- * and last outbound message. If the two indices are equal, then it indicates an empty
860
- * queue and there must be a non-`Ok` `OutboundStatus`. We assume queues grow no greater
861
- * than 65535 items. Queue indices for normal messages begin at one; zero is reserved in
862
- * case of the need to send a high-priority signal message this block.
863
- * The bool is true if there is a signal message waiting to be sent.
864
- *
865
- * @param {Callback<Array<CumulusPalletXcmpQueueOutboundChannelDetails>> =} callback
866
- **/
867
- outboundXcmpStatus: GenericStorageQuery<Rv, () => Array<CumulusPalletXcmpQueueOutboundChannelDetails>>;
868
-
869
- /**
870
- * The messages outbound in a given XCMP channel.
871
- *
872
- * @param {[PolkadotParachainPrimitivesPrimitivesId, number]} arg
873
- * @param {Callback<Bytes> =} callback
874
- **/
875
- outboundXcmpMessages: GenericStorageQuery<
876
- Rv,
877
- (arg: [PolkadotParachainPrimitivesPrimitivesId, number]) => Bytes,
878
- [PolkadotParachainPrimitivesPrimitivesId, number]
879
- >;
880
-
881
- /**
882
- * Any signal messages waiting to be sent.
883
- *
884
- * @param {PolkadotParachainPrimitivesPrimitivesId} arg
885
- * @param {Callback<Bytes> =} callback
886
- **/
887
- signalMessages: GenericStorageQuery<
888
- Rv,
889
- (arg: PolkadotParachainPrimitivesPrimitivesId) => Bytes,
890
- PolkadotParachainPrimitivesPrimitivesId
891
- >;
892
-
893
- /**
894
- * The configuration which controls the dynamics of the outbound queue.
895
- *
896
- * @param {Callback<CumulusPalletXcmpQueueQueueConfigData> =} callback
897
- **/
898
- queueConfig: GenericStorageQuery<Rv, () => CumulusPalletXcmpQueueQueueConfigData>;
899
-
900
- /**
901
- * Whether or not the XCMP queue is suspended from executing incoming XCMs or not.
902
- *
903
- * @param {Callback<boolean> =} callback
904
- **/
905
- queueSuspended: GenericStorageQuery<Rv, () => boolean>;
906
-
907
- /**
908
- * The factor to multiply the base delivery fee by.
909
- *
910
- * @param {PolkadotParachainPrimitivesPrimitivesId} arg
911
- * @param {Callback<FixedU128> =} callback
912
- **/
913
- deliveryFeeFactor: GenericStorageQuery<
914
- Rv,
915
- (arg: PolkadotParachainPrimitivesPrimitivesId) => FixedU128,
916
- PolkadotParachainPrimitivesPrimitivesId
917
- >;
918
-
919
- /**
920
- * Generic pallet storage query
921
- **/
922
- [storage: string]: GenericStorageQuery<Rv>;
923
- };
924
- /**
925
- * Pallet `PolkadotXcm`'s storage queries
926
- **/
927
- polkadotXcm: {
928
- /**
929
- * The latest available query index.
930
- *
931
- * @param {Callback<bigint> =} callback
932
- **/
933
- queryCounter: GenericStorageQuery<Rv, () => bigint>;
934
-
935
- /**
936
- * The ongoing queries.
937
- *
938
- * @param {bigint} arg
939
- * @param {Callback<PalletXcmQueryStatus | undefined> =} callback
940
- **/
941
- queries: GenericStorageQuery<Rv, (arg: bigint) => PalletXcmQueryStatus | undefined, bigint>;
942
-
943
- /**
944
- * The existing asset traps.
945
- *
946
- * Key is the blake2 256 hash of (origin, versioned `Assets`) pair. Value is the number of
947
- * times this pair has been trapped (usually just 1 if it exists at all).
948
- *
949
- * @param {H256} arg
950
- * @param {Callback<number> =} callback
951
- **/
952
- assetTraps: GenericStorageQuery<Rv, (arg: H256) => number, H256>;
953
-
954
- /**
955
- * Default version to encode XCM when latest version of destination is unknown. If `None`,
956
- * then the destinations whose XCM version is unknown are considered unreachable.
957
- *
958
- * @param {Callback<number | undefined> =} callback
959
- **/
960
- safeXcmVersion: GenericStorageQuery<Rv, () => number | undefined>;
961
-
962
- /**
963
- * The Latest versions that we know various locations support.
964
- *
965
- * @param {[number, XcmVersionedLocation]} arg
966
- * @param {Callback<number | undefined> =} callback
967
- **/
968
- supportedVersion: GenericStorageQuery<
969
- Rv,
970
- (arg: [number, XcmVersionedLocation]) => number | undefined,
971
- [number, XcmVersionedLocation]
972
- >;
973
-
974
- /**
975
- * All locations that we have requested version notifications from.
976
- *
977
- * @param {[number, XcmVersionedLocation]} arg
978
- * @param {Callback<bigint | undefined> =} callback
979
- **/
980
- versionNotifiers: GenericStorageQuery<
981
- Rv,
982
- (arg: [number, XcmVersionedLocation]) => bigint | undefined,
983
- [number, XcmVersionedLocation]
984
- >;
985
-
986
- /**
987
- * The target locations that are subscribed to our version changes, as well as the most recent
988
- * of our versions we informed them of.
989
- *
990
- * @param {[number, XcmVersionedLocation]} arg
991
- * @param {Callback<[bigint, SpWeightsWeightV2Weight, number] | undefined> =} callback
992
- **/
993
- versionNotifyTargets: GenericStorageQuery<
994
- Rv,
995
- (arg: [number, XcmVersionedLocation]) => [bigint, SpWeightsWeightV2Weight, number] | undefined,
996
- [number, XcmVersionedLocation]
997
- >;
998
-
999
- /**
1000
- * Destinations whose latest XCM version we would like to know. Duplicates not allowed, and
1001
- * the `u32` counter is the number of times that a send to the destination has been attempted,
1002
- * which is used as a prioritization.
1003
- *
1004
- * @param {Callback<Array<[XcmVersionedLocation, number]>> =} callback
1005
- **/
1006
- versionDiscoveryQueue: GenericStorageQuery<Rv, () => Array<[XcmVersionedLocation, number]>>;
1007
-
1008
- /**
1009
- * The current migration's stage, if any.
1010
- *
1011
- * @param {Callback<PalletXcmVersionMigrationStage | undefined> =} callback
1012
- **/
1013
- currentMigration: GenericStorageQuery<Rv, () => PalletXcmVersionMigrationStage | undefined>;
1014
-
1015
- /**
1016
- * Fungible assets which we know are locked on a remote chain.
1017
- *
1018
- * @param {[number, AccountId32Like, XcmVersionedAssetId]} arg
1019
- * @param {Callback<PalletXcmRemoteLockedFungibleRecord | undefined> =} callback
1020
- **/
1021
- remoteLockedFungibles: GenericStorageQuery<
1022
- Rv,
1023
- (arg: [number, AccountId32Like, XcmVersionedAssetId]) => PalletXcmRemoteLockedFungibleRecord | undefined,
1024
- [number, AccountId32, XcmVersionedAssetId]
1025
- >;
1026
-
1027
- /**
1028
- * Fungible assets which we know are locked on this chain.
1029
- *
1030
- * @param {AccountId32Like} arg
1031
- * @param {Callback<Array<[bigint, XcmVersionedLocation]> | undefined> =} callback
1032
- **/
1033
- lockedFungibles: GenericStorageQuery<
1034
- Rv,
1035
- (arg: AccountId32Like) => Array<[bigint, XcmVersionedLocation]> | undefined,
1036
- AccountId32
1037
- >;
1038
-
1039
- /**
1040
- * Global suspension state of the XCM executor.
1041
- *
1042
- * @param {Callback<boolean> =} callback
1043
- **/
1044
- xcmExecutionSuspended: GenericStorageQuery<Rv, () => boolean>;
1045
-
1046
- /**
1047
- * Whether or not incoming XCMs (both executed locally and received) should be recorded.
1048
- * Only one XCM program will be recorded at a time.
1049
- * This is meant to be used in runtime APIs, and it's advised it stays false
1050
- * for all other use cases, so as to not degrade regular performance.
1051
- *
1052
- * Only relevant if this pallet is being used as the [`xcm_executor::traits::RecordXcm`]
1053
- * implementation in the XCM executor configuration.
1054
- *
1055
- * @param {Callback<boolean> =} callback
1056
- **/
1057
- shouldRecordXcm: GenericStorageQuery<Rv, () => boolean>;
1058
-
1059
- /**
1060
- * If [`ShouldRecordXcm`] is set to true, then the last XCM program executed locally
1061
- * will be stored here.
1062
- * Runtime APIs can fetch the XCM that was executed by accessing this value.
1063
- *
1064
- * Only relevant if this pallet is being used as the [`xcm_executor::traits::RecordXcm`]
1065
- * implementation in the XCM executor configuration.
1066
- *
1067
- * @param {Callback<StagingXcmV4Xcm | undefined> =} callback
1068
- **/
1069
- recordedXcm: GenericStorageQuery<Rv, () => StagingXcmV4Xcm | undefined>;
1070
-
1071
- /**
1072
- * Generic pallet storage query
1073
- **/
1074
- [storage: string]: GenericStorageQuery<Rv>;
1075
- };
1076
- /**
1077
- * Pallet `MessageQueue`'s storage queries
1078
- **/
1079
- messageQueue: {
1080
- /**
1081
- * The index of the first and last (non-empty) pages.
1082
- *
1083
- * @param {CumulusPrimitivesCoreAggregateMessageOrigin} arg
1084
- * @param {Callback<PalletMessageQueueBookState> =} callback
1085
- **/
1086
- bookStateFor: GenericStorageQuery<
1087
- Rv,
1088
- (arg: CumulusPrimitivesCoreAggregateMessageOrigin) => PalletMessageQueueBookState,
1089
- CumulusPrimitivesCoreAggregateMessageOrigin
1090
- >;
1091
-
1092
- /**
1093
- * The origin at which we should begin servicing.
1094
- *
1095
- * @param {Callback<CumulusPrimitivesCoreAggregateMessageOrigin | undefined> =} callback
1096
- **/
1097
- serviceHead: GenericStorageQuery<Rv, () => CumulusPrimitivesCoreAggregateMessageOrigin | undefined>;
1098
-
1099
- /**
1100
- * The map of page indices to pages.
1101
- *
1102
- * @param {[CumulusPrimitivesCoreAggregateMessageOrigin, number]} arg
1103
- * @param {Callback<PalletMessageQueuePage | undefined> =} callback
1104
- **/
1105
- pages: GenericStorageQuery<
1106
- Rv,
1107
- (arg: [CumulusPrimitivesCoreAggregateMessageOrigin, number]) => PalletMessageQueuePage | undefined,
1108
- [CumulusPrimitivesCoreAggregateMessageOrigin, number]
1109
- >;
1110
-
1111
- /**
1112
- * Generic pallet storage query
1113
- **/
1114
- [storage: string]: GenericStorageQuery<Rv>;
1115
- };
1116
- /**
1117
- * Pallet `Multisig`'s storage queries
1118
- **/
1119
- multisig: {
1120
- /**
1121
- * The set of open multisig operations.
1122
- *
1123
- * @param {[AccountId32Like, FixedBytes<32>]} arg
1124
- * @param {Callback<PalletMultisigMultisig | undefined> =} callback
1125
- **/
1126
- multisigs: GenericStorageQuery<
1127
- Rv,
1128
- (arg: [AccountId32Like, FixedBytes<32>]) => PalletMultisigMultisig | undefined,
1129
- [AccountId32, FixedBytes<32>]
1130
- >;
1131
-
1132
- /**
1133
- * Generic pallet storage query
1134
- **/
1135
- [storage: string]: GenericStorageQuery<Rv>;
1136
- };
1137
- /**
1138
- * Pallet `Proxy`'s storage queries
1139
- **/
1140
- proxy: {
1141
- /**
1142
- * The set of account proxies. Maps the account which has delegated to the accounts
1143
- * which are being delegated to, together with the amount held on deposit.
1144
- *
1145
- * @param {AccountId32Like} arg
1146
- * @param {Callback<[Array<PalletProxyProxyDefinition>, bigint]> =} callback
1147
- **/
1148
- proxies: GenericStorageQuery<
1149
- Rv,
1150
- (arg: AccountId32Like) => [Array<PalletProxyProxyDefinition>, bigint],
1151
- AccountId32
1152
- >;
1153
-
1154
- /**
1155
- * The announcements made by the proxy (key).
1156
- *
1157
- * @param {AccountId32Like} arg
1158
- * @param {Callback<[Array<PalletProxyAnnouncement>, bigint]> =} callback
1159
- **/
1160
- announcements: GenericStorageQuery<
1161
- Rv,
1162
- (arg: AccountId32Like) => [Array<PalletProxyAnnouncement>, bigint],
1163
- AccountId32
1164
- >;
1165
-
1166
- /**
1167
- * Generic pallet storage query
1168
- **/
1169
- [storage: string]: GenericStorageQuery<Rv>;
1170
- };
1171
- /**
1172
- * Pallet `ToWestendXcmRouter`'s storage queries
1173
- **/
1174
- toWestendXcmRouter: {
1175
- /**
1176
- * The number to multiply the base delivery fee by.
1177
- *
1178
- * This factor is shared by all bridges, served by this pallet. For example, if this
1179
- * chain (`Config::UniversalLocation`) opens two bridges (
1180
- * `X2(GlobalConsensus(Config::BridgedNetworkId::get()), Parachain(1000))` and
1181
- * `X2(GlobalConsensus(Config::BridgedNetworkId::get()), Parachain(2000))`), then they
1182
- * both will be sharing the same fee factor. This is because both bridges are sharing
1183
- * the same local XCM channel with the child/sibling bridge hub, which we are using
1184
- * to detect congestion:
1185
- *
1186
- * ```nocompile
1187
- * ThisChain --- Local XCM channel --> Sibling Bridge Hub ------
1188
- * | |
1189
- * | |
1190
- * | |
1191
- * Lane1 Lane2
1192
- * | |
1193
- * | |
1194
- * | |
1195
- * \ / |
1196
- * Parachain1 <-- Local XCM channel --- Remote Bridge Hub <------
1197
- * |
1198
- * |
1199
- * Parachain1 <-- Local XCM channel ---------
1200
- * ```
1201
- *
1202
- * If at least one of other channels is congested, the local XCM channel with sibling
1203
- * bridge hub eventually becomes congested too. And we have no means to detect - which
1204
- * bridge exactly causes the congestion. So the best solution here is not to make
1205
- * any differences between all bridges, started by this chain.
1206
- *
1207
- * @param {Callback<FixedU128> =} callback
1208
- **/
1209
- deliveryFeeFactor: GenericStorageQuery<Rv, () => FixedU128>;
1210
-
1211
- /**
1212
- * Generic pallet storage query
1213
- **/
1214
- [storage: string]: GenericStorageQuery<Rv>;
1215
- };
1216
- /**
1217
- * Pallet `Assets`'s storage queries
1218
- **/
1219
- assets: {
1220
- /**
1221
- * Details of an asset.
1222
- *
1223
- * @param {number} arg
1224
- * @param {Callback<PalletAssetsAssetDetails | undefined> =} callback
1225
- **/
1226
- asset: GenericStorageQuery<Rv, (arg: number) => PalletAssetsAssetDetails | undefined, number>;
1227
-
1228
- /**
1229
- * The holdings of a specific account for a specific asset.
1230
- *
1231
- * @param {[number, AccountId32Like]} arg
1232
- * @param {Callback<PalletAssetsAssetAccount | undefined> =} callback
1233
- **/
1234
- account: GenericStorageQuery<
1235
- Rv,
1236
- (arg: [number, AccountId32Like]) => PalletAssetsAssetAccount | undefined,
1237
- [number, AccountId32]
1238
- >;
1239
-
1240
- /**
1241
- * Approved balance transfers. First balance is the amount approved for transfer. Second
1242
- * is the amount of `T::Currency` reserved for storing this.
1243
- * First key is the asset ID, second key is the owner and third key is the delegate.
1244
- *
1245
- * @param {[number, AccountId32Like, AccountId32Like]} arg
1246
- * @param {Callback<PalletAssetsApproval | undefined> =} callback
1247
- **/
1248
- approvals: GenericStorageQuery<
1249
- Rv,
1250
- (arg: [number, AccountId32Like, AccountId32Like]) => PalletAssetsApproval | undefined,
1251
- [number, AccountId32, AccountId32]
1252
- >;
1253
-
1254
- /**
1255
- * Metadata of an asset.
1256
- *
1257
- * @param {number} arg
1258
- * @param {Callback<PalletAssetsAssetMetadata> =} callback
1259
- **/
1260
- metadata: GenericStorageQuery<Rv, (arg: number) => PalletAssetsAssetMetadata, number>;
1261
-
1262
- /**
1263
- * The asset ID enforced for the next asset creation, if any present. Otherwise, this storage
1264
- * item has no effect.
1265
- *
1266
- * This can be useful for setting up constraints for IDs of the new assets. For example, by
1267
- * providing an initial [`NextAssetId`] and using the [`crate::AutoIncAssetId`] callback, an
1268
- * auto-increment model can be applied to all new asset IDs.
1269
- *
1270
- * The initial next asset ID can be set using the [`GenesisConfig`] or the
1271
- * [SetNextAssetId](`migration::next_asset_id::SetNextAssetId`) migration.
1272
- *
1273
- * @param {Callback<number | undefined> =} callback
1274
- **/
1275
- nextAssetId: GenericStorageQuery<Rv, () => number | undefined>;
1276
-
1277
- /**
1278
- * Generic pallet storage query
1279
- **/
1280
- [storage: string]: GenericStorageQuery<Rv>;
1281
- };
1282
- /**
1283
- * Pallet `Uniques`'s storage queries
1284
- **/
1285
- uniques: {
1286
- /**
1287
- * Details of a collection.
1288
- *
1289
- * @param {number} arg
1290
- * @param {Callback<PalletUniquesCollectionDetails | undefined> =} callback
1291
- **/
1292
- class: GenericStorageQuery<Rv, (arg: number) => PalletUniquesCollectionDetails | undefined, number>;
1293
-
1294
- /**
1295
- * The collection, if any, of which an account is willing to take ownership.
1296
- *
1297
- * @param {AccountId32Like} arg
1298
- * @param {Callback<number | undefined> =} callback
1299
- **/
1300
- ownershipAcceptance: GenericStorageQuery<Rv, (arg: AccountId32Like) => number | undefined, AccountId32>;
1301
-
1302
- /**
1303
- * The items held by any given account; set out this way so that items owned by a single
1304
- * account can be enumerated.
1305
- *
1306
- * @param {[AccountId32Like, number, number]} arg
1307
- * @param {Callback<[] | undefined> =} callback
1308
- **/
1309
- account: GenericStorageQuery<
1310
- Rv,
1311
- (arg: [AccountId32Like, number, number]) => [] | undefined,
1312
- [AccountId32, number, number]
1313
- >;
1314
-
1315
- /**
1316
- * The collections owned by any given account; set out this way so that collections owned by
1317
- * a single account can be enumerated.
1318
- *
1319
- * @param {[AccountId32Like, number]} arg
1320
- * @param {Callback<[] | undefined> =} callback
1321
- **/
1322
- classAccount: GenericStorageQuery<Rv, (arg: [AccountId32Like, number]) => [] | undefined, [AccountId32, number]>;
1323
-
1324
- /**
1325
- * The items in existence and their ownership details.
1326
- *
1327
- * @param {[number, number]} arg
1328
- * @param {Callback<PalletUniquesItemDetails | undefined> =} callback
1329
- **/
1330
- asset: GenericStorageQuery<Rv, (arg: [number, number]) => PalletUniquesItemDetails | undefined, [number, number]>;
1331
-
1332
- /**
1333
- * Metadata of a collection.
1334
- *
1335
- * @param {number} arg
1336
- * @param {Callback<PalletUniquesCollectionMetadata | undefined> =} callback
1337
- **/
1338
- classMetadataOf: GenericStorageQuery<Rv, (arg: number) => PalletUniquesCollectionMetadata | undefined, number>;
1339
-
1340
- /**
1341
- * Metadata of an item.
1342
- *
1343
- * @param {[number, number]} arg
1344
- * @param {Callback<PalletUniquesItemMetadata | undefined> =} callback
1345
- **/
1346
- instanceMetadataOf: GenericStorageQuery<
1347
- Rv,
1348
- (arg: [number, number]) => PalletUniquesItemMetadata | undefined,
1349
- [number, number]
1350
- >;
1351
-
1352
- /**
1353
- * Attributes of a collection.
1354
- *
1355
- * @param {[number, number | undefined, BytesLike]} arg
1356
- * @param {Callback<[Bytes, bigint] | undefined> =} callback
1357
- **/
1358
- attribute: GenericStorageQuery<
1359
- Rv,
1360
- (arg: [number, number | undefined, BytesLike]) => [Bytes, bigint] | undefined,
1361
- [number, number | undefined, Bytes]
1362
- >;
1363
-
1364
- /**
1365
- * Price of an asset instance.
1366
- *
1367
- * @param {[number, number]} arg
1368
- * @param {Callback<[bigint, AccountId32 | undefined] | undefined> =} callback
1369
- **/
1370
- itemPriceOf: GenericStorageQuery<
1371
- Rv,
1372
- (arg: [number, number]) => [bigint, AccountId32 | undefined] | undefined,
1373
- [number, number]
1374
- >;
1375
-
1376
- /**
1377
- * Keeps track of the number of items a collection might have.
1378
- *
1379
- * @param {number} arg
1380
- * @param {Callback<number | undefined> =} callback
1381
- **/
1382
- collectionMaxSupply: GenericStorageQuery<Rv, (arg: number) => number | undefined, number>;
1383
-
1384
- /**
1385
- * Generic pallet storage query
1386
- **/
1387
- [storage: string]: GenericStorageQuery<Rv>;
1388
- };
1389
- /**
1390
- * Pallet `Nfts`'s storage queries
1391
- **/
1392
- nfts: {
1393
- /**
1394
- * Details of a collection.
1395
- *
1396
- * @param {number} arg
1397
- * @param {Callback<PalletNftsCollectionDetails | undefined> =} callback
1398
- **/
1399
- collection: GenericStorageQuery<Rv, (arg: number) => PalletNftsCollectionDetails | undefined, number>;
1400
-
1401
- /**
1402
- * The collection, if any, of which an account is willing to take ownership.
1403
- *
1404
- * @param {AccountId32Like} arg
1405
- * @param {Callback<number | undefined> =} callback
1406
- **/
1407
- ownershipAcceptance: GenericStorageQuery<Rv, (arg: AccountId32Like) => number | undefined, AccountId32>;
1408
-
1409
- /**
1410
- * The items held by any given account; set out this way so that items owned by a single
1411
- * account can be enumerated.
1412
- *
1413
- * @param {[AccountId32Like, number, number]} arg
1414
- * @param {Callback<[] | undefined> =} callback
1415
- **/
1416
- account: GenericStorageQuery<
1417
- Rv,
1418
- (arg: [AccountId32Like, number, number]) => [] | undefined,
1419
- [AccountId32, number, number]
1420
- >;
1421
-
1422
- /**
1423
- * The collections owned by any given account; set out this way so that collections owned by
1424
- * a single account can be enumerated.
1425
- *
1426
- * @param {[AccountId32Like, number]} arg
1427
- * @param {Callback<[] | undefined> =} callback
1428
- **/
1429
- collectionAccount: GenericStorageQuery<
1430
- Rv,
1431
- (arg: [AccountId32Like, number]) => [] | undefined,
1432
- [AccountId32, number]
1433
- >;
1434
-
1435
- /**
1436
- * The items in existence and their ownership details.
1437
- * Stores collection roles as per account.
1438
- *
1439
- * @param {[number, AccountId32Like]} arg
1440
- * @param {Callback<PalletNftsBitFlagsCollectionRole | undefined> =} callback
1441
- **/
1442
- collectionRoleOf: GenericStorageQuery<
1443
- Rv,
1444
- (arg: [number, AccountId32Like]) => PalletNftsBitFlagsCollectionRole | undefined,
1445
- [number, AccountId32]
1446
- >;
1447
-
1448
- /**
1449
- * The items in existence and their ownership details.
1450
- *
1451
- * @param {[number, number]} arg
1452
- * @param {Callback<PalletNftsItemDetails | undefined> =} callback
1453
- **/
1454
- item: GenericStorageQuery<Rv, (arg: [number, number]) => PalletNftsItemDetails | undefined, [number, number]>;
1455
-
1456
- /**
1457
- * Metadata of a collection.
1458
- *
1459
- * @param {number} arg
1460
- * @param {Callback<PalletNftsCollectionMetadata | undefined> =} callback
1461
- **/
1462
- collectionMetadataOf: GenericStorageQuery<Rv, (arg: number) => PalletNftsCollectionMetadata | undefined, number>;
1463
-
1464
- /**
1465
- * Metadata of an item.
1466
- *
1467
- * @param {[number, number]} arg
1468
- * @param {Callback<PalletNftsItemMetadata | undefined> =} callback
1469
- **/
1470
- itemMetadataOf: GenericStorageQuery<
1471
- Rv,
1472
- (arg: [number, number]) => PalletNftsItemMetadata | undefined,
1473
- [number, number]
1474
- >;
1475
-
1476
- /**
1477
- * Attributes of a collection.
1478
- *
1479
- * @param {[number, number | undefined, PalletNftsAttributeNamespace, BytesLike]} arg
1480
- * @param {Callback<[Bytes, PalletNftsAttributeDeposit] | undefined> =} callback
1481
- **/
1482
- attribute: GenericStorageQuery<
1483
- Rv,
1484
- (
1485
- arg: [number, number | undefined, PalletNftsAttributeNamespace, BytesLike],
1486
- ) => [Bytes, PalletNftsAttributeDeposit] | undefined,
1487
- [number, number | undefined, PalletNftsAttributeNamespace, Bytes]
1488
- >;
1489
-
1490
- /**
1491
- * A price of an item.
1492
- *
1493
- * @param {[number, number]} arg
1494
- * @param {Callback<[bigint, AccountId32 | undefined] | undefined> =} callback
1495
- **/
1496
- itemPriceOf: GenericStorageQuery<
1497
- Rv,
1498
- (arg: [number, number]) => [bigint, AccountId32 | undefined] | undefined,
1499
- [number, number]
1500
- >;
1501
-
1502
- /**
1503
- * Item attribute approvals.
1504
- *
1505
- * @param {[number, number]} arg
1506
- * @param {Callback<Array<AccountId32>> =} callback
1507
- **/
1508
- itemAttributesApprovalsOf: GenericStorageQuery<Rv, (arg: [number, number]) => Array<AccountId32>, [number, number]>;
1509
-
1510
- /**
1511
- * Stores the `CollectionId` that is going to be used for the next collection.
1512
- * This gets incremented whenever a new collection is created.
1513
- *
1514
- * @param {Callback<number | undefined> =} callback
1515
- **/
1516
- nextCollectionId: GenericStorageQuery<Rv, () => number | undefined>;
1517
-
1518
- /**
1519
- * Handles all the pending swaps.
1520
- *
1521
- * @param {[number, number]} arg
1522
- * @param {Callback<PalletNftsPendingSwap | undefined> =} callback
1523
- **/
1524
- pendingSwapOf: GenericStorageQuery<
1525
- Rv,
1526
- (arg: [number, number]) => PalletNftsPendingSwap | undefined,
1527
- [number, number]
1528
- >;
1529
-
1530
- /**
1531
- * Config of a collection.
1532
- *
1533
- * @param {number} arg
1534
- * @param {Callback<PalletNftsCollectionConfig | undefined> =} callback
1535
- **/
1536
- collectionConfigOf: GenericStorageQuery<Rv, (arg: number) => PalletNftsCollectionConfig | undefined, number>;
1537
-
1538
- /**
1539
- * Config of an item.
1540
- *
1541
- * @param {[number, number]} arg
1542
- * @param {Callback<PalletNftsItemConfig | undefined> =} callback
1543
- **/
1544
- itemConfigOf: GenericStorageQuery<
1545
- Rv,
1546
- (arg: [number, number]) => PalletNftsItemConfig | undefined,
1547
- [number, number]
1548
- >;
1549
-
1550
- /**
1551
- * Generic pallet storage query
1552
- **/
1553
- [storage: string]: GenericStorageQuery<Rv>;
1554
- };
1555
- /**
1556
- * Pallet `ForeignAssets`'s storage queries
1557
- **/
1558
- foreignAssets: {
1559
- /**
1560
- * Details of an asset.
1561
- *
1562
- * @param {StagingXcmV4Location} arg
1563
- * @param {Callback<PalletAssetsAssetDetails | undefined> =} callback
1564
- **/
1565
- asset: GenericStorageQuery<
1566
- Rv,
1567
- (arg: StagingXcmV4Location) => PalletAssetsAssetDetails | undefined,
1568
- StagingXcmV4Location
1569
- >;
1570
-
1571
- /**
1572
- * The holdings of a specific account for a specific asset.
1573
- *
1574
- * @param {[StagingXcmV4Location, AccountId32Like]} arg
1575
- * @param {Callback<PalletAssetsAssetAccount | undefined> =} callback
1576
- **/
1577
- account: GenericStorageQuery<
1578
- Rv,
1579
- (arg: [StagingXcmV4Location, AccountId32Like]) => PalletAssetsAssetAccount | undefined,
1580
- [StagingXcmV4Location, AccountId32]
1581
- >;
1582
-
1583
- /**
1584
- * Approved balance transfers. First balance is the amount approved for transfer. Second
1585
- * is the amount of `T::Currency` reserved for storing this.
1586
- * First key is the asset ID, second key is the owner and third key is the delegate.
1587
- *
1588
- * @param {[StagingXcmV4Location, AccountId32Like, AccountId32Like]} arg
1589
- * @param {Callback<PalletAssetsApproval | undefined> =} callback
1590
- **/
1591
- approvals: GenericStorageQuery<
1592
- Rv,
1593
- (arg: [StagingXcmV4Location, AccountId32Like, AccountId32Like]) => PalletAssetsApproval | undefined,
1594
- [StagingXcmV4Location, AccountId32, AccountId32]
1595
- >;
1596
-
1597
- /**
1598
- * Metadata of an asset.
1599
- *
1600
- * @param {StagingXcmV4Location} arg
1601
- * @param {Callback<PalletAssetsAssetMetadata> =} callback
1602
- **/
1603
- metadata: GenericStorageQuery<Rv, (arg: StagingXcmV4Location) => PalletAssetsAssetMetadata, StagingXcmV4Location>;
1604
-
1605
- /**
1606
- * The asset ID enforced for the next asset creation, if any present. Otherwise, this storage
1607
- * item has no effect.
1608
- *
1609
- * This can be useful for setting up constraints for IDs of the new assets. For example, by
1610
- * providing an initial [`NextAssetId`] and using the [`crate::AutoIncAssetId`] callback, an
1611
- * auto-increment model can be applied to all new asset IDs.
1612
- *
1613
- * The initial next asset ID can be set using the [`GenesisConfig`] or the
1614
- * [SetNextAssetId](`migration::next_asset_id::SetNextAssetId`) migration.
1615
- *
1616
- * @param {Callback<StagingXcmV4Location | undefined> =} callback
1617
- **/
1618
- nextAssetId: GenericStorageQuery<Rv, () => StagingXcmV4Location | undefined>;
1619
-
1620
- /**
1621
- * Generic pallet storage query
1622
- **/
1623
- [storage: string]: GenericStorageQuery<Rv>;
1624
- };
1625
- /**
1626
- * Pallet `NftFractionalization`'s storage queries
1627
- **/
1628
- nftFractionalization: {
1629
- /**
1630
- * Keeps track of the corresponding NFT ID, asset ID and amount minted.
1631
- *
1632
- * @param {[number, number]} arg
1633
- * @param {Callback<PalletNftFractionalizationDetails | undefined> =} callback
1634
- **/
1635
- nftToAsset: GenericStorageQuery<
1636
- Rv,
1637
- (arg: [number, number]) => PalletNftFractionalizationDetails | undefined,
1638
- [number, number]
1639
- >;
1640
-
1641
- /**
1642
- * Generic pallet storage query
1643
- **/
1644
- [storage: string]: GenericStorageQuery<Rv>;
1645
- };
1646
- /**
1647
- * Pallet `PoolAssets`'s storage queries
1648
- **/
1649
- poolAssets: {
1650
- /**
1651
- * Details of an asset.
1652
- *
1653
- * @param {number} arg
1654
- * @param {Callback<PalletAssetsAssetDetails | undefined> =} callback
1655
- **/
1656
- asset: GenericStorageQuery<Rv, (arg: number) => PalletAssetsAssetDetails | undefined, number>;
1657
-
1658
- /**
1659
- * The holdings of a specific account for a specific asset.
1660
- *
1661
- * @param {[number, AccountId32Like]} arg
1662
- * @param {Callback<PalletAssetsAssetAccount | undefined> =} callback
1663
- **/
1664
- account: GenericStorageQuery<
1665
- Rv,
1666
- (arg: [number, AccountId32Like]) => PalletAssetsAssetAccount | undefined,
1667
- [number, AccountId32]
1668
- >;
1669
-
1670
- /**
1671
- * Approved balance transfers. First balance is the amount approved for transfer. Second
1672
- * is the amount of `T::Currency` reserved for storing this.
1673
- * First key is the asset ID, second key is the owner and third key is the delegate.
1674
- *
1675
- * @param {[number, AccountId32Like, AccountId32Like]} arg
1676
- * @param {Callback<PalletAssetsApproval | undefined> =} callback
1677
- **/
1678
- approvals: GenericStorageQuery<
1679
- Rv,
1680
- (arg: [number, AccountId32Like, AccountId32Like]) => PalletAssetsApproval | undefined,
1681
- [number, AccountId32, AccountId32]
1682
- >;
1683
-
1684
- /**
1685
- * Metadata of an asset.
1686
- *
1687
- * @param {number} arg
1688
- * @param {Callback<PalletAssetsAssetMetadata> =} callback
1689
- **/
1690
- metadata: GenericStorageQuery<Rv, (arg: number) => PalletAssetsAssetMetadata, number>;
1691
-
1692
- /**
1693
- * The asset ID enforced for the next asset creation, if any present. Otherwise, this storage
1694
- * item has no effect.
1695
- *
1696
- * This can be useful for setting up constraints for IDs of the new assets. For example, by
1697
- * providing an initial [`NextAssetId`] and using the [`crate::AutoIncAssetId`] callback, an
1698
- * auto-increment model can be applied to all new asset IDs.
1699
- *
1700
- * The initial next asset ID can be set using the [`GenesisConfig`] or the
1701
- * [SetNextAssetId](`migration::next_asset_id::SetNextAssetId`) migration.
1702
- *
1703
- * @param {Callback<number | undefined> =} callback
1704
- **/
1705
- nextAssetId: GenericStorageQuery<Rv, () => number | undefined>;
1706
-
1707
- /**
1708
- * Generic pallet storage query
1709
- **/
1710
- [storage: string]: GenericStorageQuery<Rv>;
1711
- };
1712
- /**
1713
- * Pallet `AssetConversion`'s storage queries
1714
- **/
1715
- assetConversion: {
1716
- /**
1717
- * Map from `PoolAssetId` to `PoolInfo`. This establishes whether a pool has been officially
1718
- * created rather than people sending tokens directly to a pool's public account.
1719
- *
1720
- * @param {[StagingXcmV4Location, StagingXcmV4Location]} arg
1721
- * @param {Callback<PalletAssetConversionPoolInfo | undefined> =} callback
1722
- **/
1723
- pools: GenericStorageQuery<
1724
- Rv,
1725
- (arg: [StagingXcmV4Location, StagingXcmV4Location]) => PalletAssetConversionPoolInfo | undefined,
1726
- [StagingXcmV4Location, StagingXcmV4Location]
1727
- >;
1728
-
1729
- /**
1730
- * Stores the `PoolAssetId` that is going to be used for the next lp token.
1731
- * This gets incremented whenever a new lp pool is created.
1732
- *
1733
- * @param {Callback<number | undefined> =} callback
1734
- **/
1735
- nextPoolAssetId: GenericStorageQuery<Rv, () => number | undefined>;
1736
-
1737
- /**
1738
- * Generic pallet storage query
1739
- **/
1740
- [storage: string]: GenericStorageQuery<Rv>;
1741
- };
1742
- /**
1743
- * Pallet `AssetsFreezer`'s storage queries
1744
- **/
1745
- assetsFreezer: {
1746
- /**
1747
- * A map that stores freezes applied on an account for a given AssetId.
1748
- *
1749
- * @param {[number, AccountId32Like]} arg
1750
- * @param {Callback<Array<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>> =} callback
1751
- **/
1752
- freezes: GenericStorageQuery<
1753
- Rv,
1754
- (arg: [number, AccountId32Like]) => Array<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>,
1755
- [number, AccountId32]
1756
- >;
1757
-
1758
- /**
1759
- * A map that stores the current total frozen balance for every account on a given AssetId.
1760
- *
1761
- * @param {[number, AccountId32Like]} arg
1762
- * @param {Callback<bigint | undefined> =} callback
1763
- **/
1764
- frozenBalances: GenericStorageQuery<
1765
- Rv,
1766
- (arg: [number, AccountId32Like]) => bigint | undefined,
1767
- [number, AccountId32]
1768
- >;
1769
-
1770
- /**
1771
- * Generic pallet storage query
1772
- **/
1773
- [storage: string]: GenericStorageQuery<Rv>;
1774
- };
1775
- /**
1776
- * Pallet `ForeignAssetsFreezer`'s storage queries
1777
- **/
1778
- foreignAssetsFreezer: {
1779
- /**
1780
- * A map that stores freezes applied on an account for a given AssetId.
1781
- *
1782
- * @param {[StagingXcmV4Location, AccountId32Like]} arg
1783
- * @param {Callback<Array<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>> =} callback
1784
- **/
1785
- freezes: GenericStorageQuery<
1786
- Rv,
1787
- (arg: [StagingXcmV4Location, AccountId32Like]) => Array<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>,
1788
- [StagingXcmV4Location, AccountId32]
1789
- >;
1790
-
1791
- /**
1792
- * A map that stores the current total frozen balance for every account on a given AssetId.
1793
- *
1794
- * @param {[StagingXcmV4Location, AccountId32Like]} arg
1795
- * @param {Callback<bigint | undefined> =} callback
1796
- **/
1797
- frozenBalances: GenericStorageQuery<
1798
- Rv,
1799
- (arg: [StagingXcmV4Location, AccountId32Like]) => bigint | undefined,
1800
- [StagingXcmV4Location, AccountId32]
1801
- >;
1802
-
1803
- /**
1804
- * Generic pallet storage query
1805
- **/
1806
- [storage: string]: GenericStorageQuery<Rv>;
1807
- };
1808
- /**
1809
- * Pallet `PoolAssetsFreezer`'s storage queries
1810
- **/
1811
- poolAssetsFreezer: {
1812
- /**
1813
- * A map that stores freezes applied on an account for a given AssetId.
1814
- *
1815
- * @param {[number, AccountId32Like]} arg
1816
- * @param {Callback<Array<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>> =} callback
1817
- **/
1818
- freezes: GenericStorageQuery<
1819
- Rv,
1820
- (arg: [number, AccountId32Like]) => Array<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>,
1821
- [number, AccountId32]
1822
- >;
1823
-
1824
- /**
1825
- * A map that stores the current total frozen balance for every account on a given AssetId.
1826
- *
1827
- * @param {[number, AccountId32Like]} arg
1828
- * @param {Callback<bigint | undefined> =} callback
1829
- **/
1830
- frozenBalances: GenericStorageQuery<
1831
- Rv,
1832
- (arg: [number, AccountId32Like]) => bigint | undefined,
1833
- [number, AccountId32]
1834
- >;
1835
-
1836
- /**
1837
- * Generic pallet storage query
1838
- **/
1839
- [storage: string]: GenericStorageQuery<Rv>;
1840
- };
1841
- }