@polkadot/api-augment 15.10.1 → 16.0.1

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 (51) hide show
  1. package/assetHubKusama/consts.d.ts +583 -0
  2. package/assetHubKusama/consts.js +2 -0
  3. package/assetHubKusama/errors.d.ts +1228 -0
  4. package/assetHubKusama/errors.js +2 -0
  5. package/assetHubKusama/events.d.ts +2076 -0
  6. package/assetHubKusama/events.js +2 -0
  7. package/assetHubKusama/index.d.ts +8 -0
  8. package/assetHubKusama/index.js +8 -0
  9. package/assetHubKusama/query.d.ts +1016 -0
  10. package/assetHubKusama/query.js +2 -0
  11. package/assetHubKusama/registry.d.ts +1 -0
  12. package/assetHubKusama/registry.js +1 -0
  13. package/assetHubKusama/runtime.d.ts +408 -0
  14. package/assetHubKusama/runtime.js +2 -0
  15. package/assetHubKusama/tx.d.ts +5812 -0
  16. package/assetHubKusama/tx.js +2 -0
  17. package/assetHubPolkadot/consts.js +2 -0
  18. package/assetHubPolkadot/errors.js +2 -0
  19. package/assetHubPolkadot/events.js +2 -0
  20. package/assetHubPolkadot/index.js +8 -0
  21. package/assetHubPolkadot/query.js +2 -0
  22. package/assetHubPolkadot/registry.js +1 -0
  23. package/assetHubPolkadot/runtime.js +2 -0
  24. package/assetHubPolkadot/tx.js +2 -0
  25. package/cjs/assetHubKusama/consts.d.ts +583 -0
  26. package/cjs/assetHubKusama/consts.js +4 -0
  27. package/cjs/assetHubKusama/errors.d.ts +1228 -0
  28. package/cjs/assetHubKusama/errors.js +4 -0
  29. package/cjs/assetHubKusama/events.d.ts +2076 -0
  30. package/cjs/assetHubKusama/events.js +4 -0
  31. package/cjs/assetHubKusama/index.d.ts +8 -0
  32. package/cjs/assetHubKusama/index.js +10 -0
  33. package/cjs/assetHubKusama/query.d.ts +1016 -0
  34. package/cjs/assetHubKusama/query.js +4 -0
  35. package/cjs/assetHubKusama/registry.d.ts +1 -0
  36. package/cjs/assetHubKusama/registry.js +3 -0
  37. package/cjs/assetHubKusama/runtime.d.ts +408 -0
  38. package/cjs/assetHubKusama/runtime.js +4 -0
  39. package/cjs/assetHubKusama/tx.d.ts +5812 -0
  40. package/cjs/assetHubKusama/tx.js +4 -0
  41. package/cjs/assetHubPolkadot/consts.js +4 -0
  42. package/cjs/assetHubPolkadot/errors.js +4 -0
  43. package/cjs/assetHubPolkadot/events.js +4 -0
  44. package/cjs/assetHubPolkadot/index.js +10 -0
  45. package/cjs/assetHubPolkadot/query.js +4 -0
  46. package/cjs/assetHubPolkadot/registry.js +3 -0
  47. package/cjs/assetHubPolkadot/runtime.js +4 -0
  48. package/cjs/assetHubPolkadot/tx.js +4 -0
  49. package/cjs/packageInfo.js +1 -1
  50. package/package.json +159 -7
  51. package/packageInfo.js +1 -1
@@ -0,0 +1,1016 @@
1
+ import '@polkadot/api-base/types/storage';
2
+ import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types';
3
+ import type { BTreeMap, BTreeSet, Bytes, Null, Option, Struct, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
4
+ import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
5
+ import type { AccountId32, H256 } from '@polkadot/types/interfaces/runtime';
6
+ import type { AssetHubKusamaRuntimeRuntimeHoldReason, AssetHubKusamaRuntimeSessionKeys, BpXcmBridgeHubRouterBridgeState, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletParachainSystemUnincludedSegmentAncestor, CumulusPalletParachainSystemUnincludedSegmentSegmentTracker, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesCoreAggregateMessageOrigin, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensMiscIdAmount, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletAssetConversionPoolInfo, PalletAssetsApproval, PalletAssetsAssetAccount, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletCollatorSelectionCandidateInfo, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMultisigMultisig, PalletNftFractionalizationDetails, PalletNftsAttributeDeposit, PalletNftsAttributeNamespace, PalletNftsCollectionConfig, PalletNftsCollectionDetails, PalletNftsCollectionMetadata, PalletNftsItemConfig, PalletNftsItemDetails, PalletNftsItemMetadata, PalletNftsPendingSwap, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletTransactionPaymentReleases, PalletUniquesCollectionDetails, PalletUniquesCollectionMetadata, PalletUniquesItemDetails, PalletUniquesItemMetadata, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV8AbridgedHostConfiguration, PolkadotPrimitivesV8PersistedValidationData, PolkadotPrimitivesV8UpgradeGoAhead, PolkadotPrimitivesV8UpgradeRestriction, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpRuntimeDigest, SpTrieStorageProof, SpWeightsWeightV2Weight, StagingXcmV4Instruction, StagingXcmV4Location, XcmVersionedAssetId, XcmVersionedLocation } from '@polkadot/types/lookup';
7
+ import type { Observable } from '@polkadot/types/types';
8
+ export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
9
+ export type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;
10
+ declare module '@polkadot/api-base/types/storage' {
11
+ interface AugmentedQueries<ApiType extends ApiTypes> {
12
+ assetConversion: {
13
+ /**
14
+ * Stores the `PoolAssetId` that is going to be used for the next lp token.
15
+ * This gets incremented whenever a new lp pool is created.
16
+ **/
17
+ nextPoolAssetId: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
18
+ /**
19
+ * Map from `PoolAssetId` to `PoolInfo`. This establishes whether a pool has been officially
20
+ * created rather than people sending tokens directly to a pool's public account.
21
+ **/
22
+ pools: AugmentedQuery<ApiType, (arg: ITuple<[StagingXcmV4Location, StagingXcmV4Location]> | [StagingXcmV4Location | {
23
+ parents?: any;
24
+ interior?: any;
25
+ } | string | Uint8Array, StagingXcmV4Location | {
26
+ parents?: any;
27
+ interior?: any;
28
+ } | string | Uint8Array]) => Observable<Option<PalletAssetConversionPoolInfo>>, [ITuple<[StagingXcmV4Location, StagingXcmV4Location]>]> & QueryableStorageEntry<ApiType, [ITuple<[StagingXcmV4Location, StagingXcmV4Location]>]>;
29
+ /**
30
+ * Generic query
31
+ **/
32
+ [key: string]: QueryableStorageEntry<ApiType>;
33
+ };
34
+ assets: {
35
+ /**
36
+ * The holdings of a specific account for a specific asset.
37
+ **/
38
+ account: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<PalletAssetsAssetAccount>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
39
+ /**
40
+ * Approved balance transfers. First balance is the amount approved for transfer. Second
41
+ * is the amount of `T::Currency` reserved for storing this.
42
+ * First key is the asset ID, second key is the owner and third key is the delegate.
43
+ **/
44
+ approvals: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array, arg3: AccountId32 | string | Uint8Array) => Observable<Option<PalletAssetsApproval>>, [u32, AccountId32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32, AccountId32]>;
45
+ /**
46
+ * Details of an asset.
47
+ **/
48
+ asset: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletAssetsAssetDetails>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
49
+ /**
50
+ * Metadata of an asset.
51
+ **/
52
+ metadata: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<{
53
+ readonly deposit: u128;
54
+ readonly name: Bytes;
55
+ readonly symbol: Bytes;
56
+ readonly decimals: u8;
57
+ readonly isFrozen: bool;
58
+ } & Struct>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
59
+ /**
60
+ * The asset ID enforced for the next asset creation, if any present. Otherwise, this storage
61
+ * item has no effect.
62
+ *
63
+ * This can be useful for setting up constraints for IDs of the new assets. For example, by
64
+ * providing an initial [`NextAssetId`] and using the [`crate::AutoIncAssetId`] callback, an
65
+ * auto-increment model can be applied to all new asset IDs.
66
+ *
67
+ * The initial next asset ID can be set using the [`GenesisConfig`] or the
68
+ * [SetNextAssetId](`migration::next_asset_id::SetNextAssetId`) migration.
69
+ **/
70
+ nextAssetId: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
71
+ /**
72
+ * Generic query
73
+ **/
74
+ [key: string]: QueryableStorageEntry<ApiType>;
75
+ };
76
+ aura: {
77
+ /**
78
+ * The current authority set.
79
+ **/
80
+ authorities: AugmentedQuery<ApiType, () => Observable<Vec<SpConsensusAuraSr25519AppSr25519Public>>, []> & QueryableStorageEntry<ApiType, []>;
81
+ /**
82
+ * The current slot of this block.
83
+ *
84
+ * This will be set in `on_initialize`.
85
+ **/
86
+ currentSlot: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
87
+ /**
88
+ * Generic query
89
+ **/
90
+ [key: string]: QueryableStorageEntry<ApiType>;
91
+ };
92
+ auraExt: {
93
+ /**
94
+ * Serves as cache for the authorities.
95
+ *
96
+ * The authorities in AuRa are overwritten in `on_initialize` when we switch to a new session,
97
+ * but we require the old authorities to verify the seal when validating a PoV. This will
98
+ * always be updated to the latest AuRa authorities in `on_finalize`.
99
+ **/
100
+ authorities: AugmentedQuery<ApiType, () => Observable<Vec<SpConsensusAuraSr25519AppSr25519Public>>, []> & QueryableStorageEntry<ApiType, []>;
101
+ /**
102
+ * Current slot paired with a number of authored blocks.
103
+ *
104
+ * Updated on each block initialization.
105
+ **/
106
+ slotInfo: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[u64, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
107
+ /**
108
+ * Generic query
109
+ **/
110
+ [key: string]: QueryableStorageEntry<ApiType>;
111
+ };
112
+ authorship: {
113
+ /**
114
+ * Author of current block.
115
+ **/
116
+ author: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
117
+ /**
118
+ * Generic query
119
+ **/
120
+ [key: string]: QueryableStorageEntry<ApiType>;
121
+ };
122
+ balances: {
123
+ /**
124
+ * The Balances pallet example of storing the balance of an account.
125
+ *
126
+ * # Example
127
+ *
128
+ * ```nocompile
129
+ * impl pallet_balances::Config for Runtime {
130
+ * type AccountStore = StorageMapShim<Self::Account<Runtime>, frame_system::Provider<Runtime>, AccountId, Self::AccountData<Balance>>
131
+ * }
132
+ * ```
133
+ *
134
+ * You can also store the balance of an account in the `System` pallet.
135
+ *
136
+ * # Example
137
+ *
138
+ * ```nocompile
139
+ * impl pallet_balances::Config for Runtime {
140
+ * type AccountStore = System
141
+ * }
142
+ * ```
143
+ *
144
+ * But this comes with tradeoffs, storing account balances in the system pallet stores
145
+ * `frame_system` data alongside the account data contrary to storing account balances in the
146
+ * `Balances` pallet, which uses a `StorageMap` to store balances data only.
147
+ * NOTE: This is only used in the case that this pallet is used to store balances.
148
+ **/
149
+ account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletBalancesAccountData>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
150
+ /**
151
+ * Freeze locks on account balances.
152
+ **/
153
+ freezes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<FrameSupportTokensMiscIdAmount>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
154
+ /**
155
+ * Holds on account balances.
156
+ **/
157
+ holds: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<{
158
+ readonly id: AssetHubKusamaRuntimeRuntimeHoldReason;
159
+ readonly amount: u128;
160
+ } & Struct>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
161
+ /**
162
+ * The total units of outstanding deactivated balance in the system.
163
+ **/
164
+ inactiveIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
165
+ /**
166
+ * Any liquidity locks on some account balances.
167
+ * NOTE: Should only be accessed when setting, changing and freeing a lock.
168
+ *
169
+ * Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`
170
+ **/
171
+ locks: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesBalanceLock>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
172
+ /**
173
+ * Named reserves on some account balances.
174
+ *
175
+ * Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`
176
+ **/
177
+ reserves: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesReserveData>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
178
+ /**
179
+ * The total units issued in the system.
180
+ **/
181
+ totalIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
182
+ /**
183
+ * Generic query
184
+ **/
185
+ [key: string]: QueryableStorageEntry<ApiType>;
186
+ };
187
+ collatorSelection: {
188
+ /**
189
+ * Fixed amount to deposit to become a collator.
190
+ *
191
+ * When a collator calls `leave_intent` they immediately receive the deposit back.
192
+ **/
193
+ candidacyBond: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
194
+ /**
195
+ * The (community, limited) collation candidates. `Candidates` and `Invulnerables` should be
196
+ * mutually exclusive.
197
+ *
198
+ * This list is sorted in ascending order by deposit and when the deposits are equal, the least
199
+ * recently updated is considered greater.
200
+ **/
201
+ candidateList: AugmentedQuery<ApiType, () => Observable<Vec<PalletCollatorSelectionCandidateInfo>>, []> & QueryableStorageEntry<ApiType, []>;
202
+ /**
203
+ * Desired number of candidates.
204
+ *
205
+ * This should ideally always be less than [`Config::MaxCandidates`] for weights to be correct.
206
+ **/
207
+ desiredCandidates: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
208
+ /**
209
+ * The invulnerable, permissioned collators. This list must be sorted.
210
+ **/
211
+ invulnerables: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
212
+ /**
213
+ * Last block authored by collator.
214
+ **/
215
+ lastAuthoredBlock: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u32>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
216
+ /**
217
+ * Generic query
218
+ **/
219
+ [key: string]: QueryableStorageEntry<ApiType>;
220
+ };
221
+ foreignAssets: {
222
+ /**
223
+ * The holdings of a specific account for a specific asset.
224
+ **/
225
+ account: AugmentedQuery<ApiType, (arg1: StagingXcmV4Location | {
226
+ parents?: any;
227
+ interior?: any;
228
+ } | string | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<PalletAssetsAssetAccount>>, [StagingXcmV4Location, AccountId32]> & QueryableStorageEntry<ApiType, [StagingXcmV4Location, AccountId32]>;
229
+ /**
230
+ * Approved balance transfers. First balance is the amount approved for transfer. Second
231
+ * is the amount of `T::Currency` reserved for storing this.
232
+ * First key is the asset ID, second key is the owner and third key is the delegate.
233
+ **/
234
+ approvals: AugmentedQuery<ApiType, (arg1: StagingXcmV4Location | {
235
+ parents?: any;
236
+ interior?: any;
237
+ } | string | Uint8Array, arg2: AccountId32 | string | Uint8Array, arg3: AccountId32 | string | Uint8Array) => Observable<Option<PalletAssetsApproval>>, [StagingXcmV4Location, AccountId32, AccountId32]> & QueryableStorageEntry<ApiType, [StagingXcmV4Location, AccountId32, AccountId32]>;
238
+ /**
239
+ * Details of an asset.
240
+ **/
241
+ asset: AugmentedQuery<ApiType, (arg: StagingXcmV4Location | {
242
+ parents?: any;
243
+ interior?: any;
244
+ } | string | Uint8Array) => Observable<Option<PalletAssetsAssetDetails>>, [StagingXcmV4Location]> & QueryableStorageEntry<ApiType, [StagingXcmV4Location]>;
245
+ /**
246
+ * Metadata of an asset.
247
+ **/
248
+ metadata: AugmentedQuery<ApiType, (arg: StagingXcmV4Location | {
249
+ parents?: any;
250
+ interior?: any;
251
+ } | string | Uint8Array) => Observable<{
252
+ readonly deposit: u128;
253
+ readonly name: Bytes;
254
+ readonly symbol: Bytes;
255
+ readonly decimals: u8;
256
+ readonly isFrozen: bool;
257
+ } & Struct>, [StagingXcmV4Location]> & QueryableStorageEntry<ApiType, [StagingXcmV4Location]>;
258
+ /**
259
+ * The asset ID enforced for the next asset creation, if any present. Otherwise, this storage
260
+ * item has no effect.
261
+ *
262
+ * This can be useful for setting up constraints for IDs of the new assets. For example, by
263
+ * providing an initial [`NextAssetId`] and using the [`crate::AutoIncAssetId`] callback, an
264
+ * auto-increment model can be applied to all new asset IDs.
265
+ *
266
+ * The initial next asset ID can be set using the [`GenesisConfig`] or the
267
+ * [SetNextAssetId](`migration::next_asset_id::SetNextAssetId`) migration.
268
+ **/
269
+ nextAssetId: AugmentedQuery<ApiType, () => Observable<Option<StagingXcmV4Location>>, []> & QueryableStorageEntry<ApiType, []>;
270
+ /**
271
+ * Generic query
272
+ **/
273
+ [key: string]: QueryableStorageEntry<ApiType>;
274
+ };
275
+ messageQueue: {
276
+ /**
277
+ * The index of the first and last (non-empty) pages.
278
+ **/
279
+ bookStateFor: AugmentedQuery<ApiType, (arg: CumulusPrimitivesCoreAggregateMessageOrigin | {
280
+ Here: any;
281
+ } | {
282
+ Parent: any;
283
+ } | {
284
+ Sibling: any;
285
+ } | string | Uint8Array) => Observable<PalletMessageQueueBookState>, [CumulusPrimitivesCoreAggregateMessageOrigin]> & QueryableStorageEntry<ApiType, [CumulusPrimitivesCoreAggregateMessageOrigin]>;
286
+ /**
287
+ * The map of page indices to pages.
288
+ **/
289
+ pages: AugmentedQuery<ApiType, (arg1: CumulusPrimitivesCoreAggregateMessageOrigin | {
290
+ Here: any;
291
+ } | {
292
+ Parent: any;
293
+ } | {
294
+ Sibling: any;
295
+ } | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletMessageQueuePage>>, [CumulusPrimitivesCoreAggregateMessageOrigin, u32]> & QueryableStorageEntry<ApiType, [CumulusPrimitivesCoreAggregateMessageOrigin, u32]>;
296
+ /**
297
+ * The origin at which we should begin servicing.
298
+ **/
299
+ serviceHead: AugmentedQuery<ApiType, () => Observable<Option<CumulusPrimitivesCoreAggregateMessageOrigin>>, []> & QueryableStorageEntry<ApiType, []>;
300
+ /**
301
+ * Generic query
302
+ **/
303
+ [key: string]: QueryableStorageEntry<ApiType>;
304
+ };
305
+ multisig: {
306
+ /**
307
+ * The set of open multisig operations.
308
+ **/
309
+ multisigs: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: U8aFixed | string | Uint8Array) => Observable<Option<PalletMultisigMultisig>>, [AccountId32, U8aFixed]> & QueryableStorageEntry<ApiType, [AccountId32, U8aFixed]>;
310
+ /**
311
+ * Generic query
312
+ **/
313
+ [key: string]: QueryableStorageEntry<ApiType>;
314
+ };
315
+ nftFractionalization: {
316
+ /**
317
+ * Keeps track of the corresponding NFT ID, asset ID and amount minted.
318
+ **/
319
+ nftToAsset: AugmentedQuery<ApiType, (arg: ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable<Option<PalletNftFractionalizationDetails>>, [ITuple<[u32, u32]>]> & QueryableStorageEntry<ApiType, [ITuple<[u32, u32]>]>;
320
+ /**
321
+ * Generic query
322
+ **/
323
+ [key: string]: QueryableStorageEntry<ApiType>;
324
+ };
325
+ nfts: {
326
+ /**
327
+ * The items held by any given account; set out this way so that items owned by a single
328
+ * account can be enumerated.
329
+ **/
330
+ account: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: u32 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [AccountId32, u32, u32]> & QueryableStorageEntry<ApiType, [AccountId32, u32, u32]>;
331
+ /**
332
+ * Attributes of a collection.
333
+ **/
334
+ attribute: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: Option<u32> | null | Uint8Array | u32 | AnyNumber, arg3: PalletNftsAttributeNamespace | {
335
+ Pallet: any;
336
+ } | {
337
+ CollectionOwner: any;
338
+ } | {
339
+ ItemOwner: any;
340
+ } | {
341
+ Account: any;
342
+ } | string | Uint8Array, arg4: Bytes | string | Uint8Array) => Observable<Option<ITuple<[Bytes, PalletNftsAttributeDeposit]>>>, [u32, Option<u32>, PalletNftsAttributeNamespace, Bytes]> & QueryableStorageEntry<ApiType, [u32, Option<u32>, PalletNftsAttributeNamespace, Bytes]>;
343
+ /**
344
+ * Details of a collection.
345
+ **/
346
+ collection: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNftsCollectionDetails>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
347
+ /**
348
+ * The collections owned by any given account; set out this way so that collections owned by
349
+ * a single account can be enumerated.
350
+ **/
351
+ collectionAccount: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [AccountId32, u32]> & QueryableStorageEntry<ApiType, [AccountId32, u32]>;
352
+ /**
353
+ * Config of a collection.
354
+ **/
355
+ collectionConfigOf: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNftsCollectionConfig>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
356
+ /**
357
+ * Metadata of a collection.
358
+ **/
359
+ collectionMetadataOf: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNftsCollectionMetadata>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
360
+ /**
361
+ * The items in existence and their ownership details.
362
+ * Stores collection roles as per account.
363
+ **/
364
+ collectionRoleOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u8>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
365
+ /**
366
+ * The items in existence and their ownership details.
367
+ **/
368
+ item: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNftsItemDetails>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
369
+ /**
370
+ * Item attribute approvals.
371
+ **/
372
+ itemAttributesApprovalsOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<BTreeSet<AccountId32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
373
+ /**
374
+ * Config of an item.
375
+ **/
376
+ itemConfigOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNftsItemConfig>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
377
+ /**
378
+ * Metadata of an item.
379
+ **/
380
+ itemMetadataOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNftsItemMetadata>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
381
+ /**
382
+ * A price of an item.
383
+ **/
384
+ itemPriceOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[u128, Option<AccountId32>]>>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
385
+ /**
386
+ * Stores the `CollectionId` that is going to be used for the next collection.
387
+ * This gets incremented whenever a new collection is created.
388
+ **/
389
+ nextCollectionId: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
390
+ /**
391
+ * The collection, if any, of which an account is willing to take ownership.
392
+ **/
393
+ ownershipAcceptance: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
394
+ /**
395
+ * Handles all the pending swaps.
396
+ **/
397
+ pendingSwapOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNftsPendingSwap>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
398
+ /**
399
+ * Generic query
400
+ **/
401
+ [key: string]: QueryableStorageEntry<ApiType>;
402
+ };
403
+ parachainInfo: {
404
+ parachainId: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
405
+ /**
406
+ * Generic query
407
+ **/
408
+ [key: string]: QueryableStorageEntry<ApiType>;
409
+ };
410
+ parachainSystem: {
411
+ /**
412
+ * Storage field that keeps track of bandwidth used by the unincluded segment along with the
413
+ * latest HRMP watermark. Used for limiting the acceptance of new blocks with
414
+ * respect to relay chain constraints.
415
+ **/
416
+ aggregatedUnincludedSegment: AugmentedQuery<ApiType, () => Observable<Option<CumulusPalletParachainSystemUnincludedSegmentSegmentTracker>>, []> & QueryableStorageEntry<ApiType, []>;
417
+ /**
418
+ * The number of HRMP messages we observed in `on_initialize` and thus used that number for
419
+ * announcing the weight of `on_initialize` and `on_finalize`.
420
+ **/
421
+ announcedHrmpMessagesPerCandidate: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
422
+ /**
423
+ * A custom head data that should be returned as result of `validate_block`.
424
+ *
425
+ * See `Pallet::set_custom_validation_head_data` for more information.
426
+ **/
427
+ customValidationHeadData: AugmentedQuery<ApiType, () => Observable<Option<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;
428
+ /**
429
+ * Were the validation data set to notify the relay chain?
430
+ **/
431
+ didSetValidationCode: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
432
+ /**
433
+ * The parachain host configuration that was obtained from the relay parent.
434
+ *
435
+ * This field is meant to be updated each block with the validation data inherent. Therefore,
436
+ * before processing of the inherent, e.g. in `on_initialize` this data may be stale.
437
+ *
438
+ * This data is also absent from the genesis.
439
+ **/
440
+ hostConfiguration: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV8AbridgedHostConfiguration>>, []> & QueryableStorageEntry<ApiType, []>;
441
+ /**
442
+ * HRMP messages that were sent in a block.
443
+ *
444
+ * This will be cleared in `on_initialize` of each new block.
445
+ **/
446
+ hrmpOutboundMessages: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotCorePrimitivesOutboundHrmpMessage>>, []> & QueryableStorageEntry<ApiType, []>;
447
+ /**
448
+ * HRMP watermark that was set in a block.
449
+ *
450
+ * This will be cleared in `on_initialize` of each new block.
451
+ **/
452
+ hrmpWatermark: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
453
+ /**
454
+ * The last downward message queue chain head we have observed.
455
+ *
456
+ * This value is loaded before and saved after processing inbound downward messages carried
457
+ * by the system inherent.
458
+ **/
459
+ lastDmqMqcHead: AugmentedQuery<ApiType, () => Observable<H256>, []> & QueryableStorageEntry<ApiType, []>;
460
+ /**
461
+ * The message queue chain heads we have observed per each channel incoming channel.
462
+ *
463
+ * This value is loaded before and saved after processing inbound downward messages carried
464
+ * by the system inherent.
465
+ **/
466
+ lastHrmpMqcHeads: AugmentedQuery<ApiType, () => Observable<BTreeMap<u32, H256>>, []> & QueryableStorageEntry<ApiType, []>;
467
+ /**
468
+ * The relay chain block number associated with the last parachain block.
469
+ *
470
+ * This is updated in `on_finalize`.
471
+ **/
472
+ lastRelayChainBlockNumber: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
473
+ /**
474
+ * Validation code that is set by the parachain and is to be communicated to collator and
475
+ * consequently the relay-chain.
476
+ *
477
+ * This will be cleared in `on_initialize` of each new block if no other pallet already set
478
+ * the value.
479
+ **/
480
+ newValidationCode: AugmentedQuery<ApiType, () => Observable<Option<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;
481
+ /**
482
+ * Upward messages that are still pending and not yet send to the relay chain.
483
+ **/
484
+ pendingUpwardMessages: AugmentedQuery<ApiType, () => Observable<Vec<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;
485
+ /**
486
+ * In case of a scheduled upgrade, this storage field contains the validation code to be
487
+ * applied.
488
+ *
489
+ * As soon as the relay chain gives us the go-ahead signal, we will overwrite the
490
+ * [`:code`][sp_core::storage::well_known_keys::CODE] which will result the next block process
491
+ * with the new validation code. This concludes the upgrade process.
492
+ **/
493
+ pendingValidationCode: AugmentedQuery<ApiType, () => Observable<Bytes>, []> & QueryableStorageEntry<ApiType, []>;
494
+ /**
495
+ * Number of downward messages processed in a block.
496
+ *
497
+ * This will be cleared in `on_initialize` of each new block.
498
+ **/
499
+ processedDownwardMessages: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
500
+ /**
501
+ * The state proof for the last relay parent block.
502
+ *
503
+ * This field is meant to be updated each block with the validation data inherent. Therefore,
504
+ * before processing of the inherent, e.g. in `on_initialize` this data may be stale.
505
+ *
506
+ * This data is also absent from the genesis.
507
+ **/
508
+ relayStateProof: AugmentedQuery<ApiType, () => Observable<Option<SpTrieStorageProof>>, []> & QueryableStorageEntry<ApiType, []>;
509
+ /**
510
+ * The snapshot of some state related to messaging relevant to the current parachain as per
511
+ * the relay parent.
512
+ *
513
+ * This field is meant to be updated each block with the validation data inherent. Therefore,
514
+ * before processing of the inherent, e.g. in `on_initialize` this data may be stale.
515
+ *
516
+ * This data is also absent from the genesis.
517
+ **/
518
+ relevantMessagingState: AugmentedQuery<ApiType, () => Observable<Option<CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot>>, []> & QueryableStorageEntry<ApiType, []>;
519
+ /**
520
+ * The weight we reserve at the beginning of the block for processing DMP messages. This
521
+ * overrides the amount set in the Config trait.
522
+ **/
523
+ reservedDmpWeightOverride: AugmentedQuery<ApiType, () => Observable<Option<SpWeightsWeightV2Weight>>, []> & QueryableStorageEntry<ApiType, []>;
524
+ /**
525
+ * The weight we reserve at the beginning of the block for processing XCMP messages. This
526
+ * overrides the amount set in the Config trait.
527
+ **/
528
+ reservedXcmpWeightOverride: AugmentedQuery<ApiType, () => Observable<Option<SpWeightsWeightV2Weight>>, []> & QueryableStorageEntry<ApiType, []>;
529
+ /**
530
+ * Latest included block descendants the runtime accepted. In other words, these are
531
+ * ancestors of the currently executing block which have not been included in the observed
532
+ * relay-chain state.
533
+ *
534
+ * The segment length is limited by the capacity returned from the [`ConsensusHook`] configured
535
+ * in the pallet.
536
+ **/
537
+ unincludedSegment: AugmentedQuery<ApiType, () => Observable<Vec<CumulusPalletParachainSystemUnincludedSegmentAncestor>>, []> & QueryableStorageEntry<ApiType, []>;
538
+ /**
539
+ * Optional upgrade go-ahead signal from the relay-chain.
540
+ *
541
+ * This storage item is a mirror of the corresponding value for the current parachain from the
542
+ * relay-chain. This value is ephemeral which means it doesn't hit the storage. This value is
543
+ * set after the inherent.
544
+ **/
545
+ upgradeGoAhead: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV8UpgradeGoAhead>>, []> & QueryableStorageEntry<ApiType, []>;
546
+ /**
547
+ * An option which indicates if the relay-chain restricts signalling a validation code upgrade.
548
+ * In other words, if this is `Some` and [`NewValidationCode`] is `Some` then the produced
549
+ * candidate will be invalid.
550
+ *
551
+ * This storage item is a mirror of the corresponding value for the current parachain from the
552
+ * relay-chain. This value is ephemeral which means it doesn't hit the storage. This value is
553
+ * set after the inherent.
554
+ **/
555
+ upgradeRestrictionSignal: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV8UpgradeRestriction>>, []> & QueryableStorageEntry<ApiType, []>;
556
+ /**
557
+ * The factor to multiply the base delivery fee by for UMP.
558
+ **/
559
+ upwardDeliveryFeeFactor: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
560
+ /**
561
+ * Upward messages that were sent in a block.
562
+ *
563
+ * This will be cleared in `on_initialize` of each new block.
564
+ **/
565
+ upwardMessages: AugmentedQuery<ApiType, () => Observable<Vec<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;
566
+ /**
567
+ * The [`PersistedValidationData`] set for this block.
568
+ * This value is expected to be set only once per block and it's never stored
569
+ * in the trie.
570
+ **/
571
+ validationData: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV8PersistedValidationData>>, []> & QueryableStorageEntry<ApiType, []>;
572
+ /**
573
+ * Generic query
574
+ **/
575
+ [key: string]: QueryableStorageEntry<ApiType>;
576
+ };
577
+ polkadotXcm: {
578
+ /**
579
+ * The existing asset traps.
580
+ *
581
+ * Key is the blake2 256 hash of (origin, versioned `Assets`) pair. Value is the number of
582
+ * times this pair has been trapped (usually just 1 if it exists at all).
583
+ **/
584
+ assetTraps: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<u32>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
585
+ /**
586
+ * The current migration's stage, if any.
587
+ **/
588
+ currentMigration: AugmentedQuery<ApiType, () => Observable<Option<PalletXcmVersionMigrationStage>>, []> & QueryableStorageEntry<ApiType, []>;
589
+ /**
590
+ * Fungible assets which we know are locked on this chain.
591
+ **/
592
+ lockedFungibles: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<Vec<ITuple<[u128, XcmVersionedLocation]>>>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
593
+ /**
594
+ * The ongoing queries.
595
+ **/
596
+ queries: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletXcmQueryStatus>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;
597
+ /**
598
+ * The latest available query index.
599
+ **/
600
+ queryCounter: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
601
+ /**
602
+ * If [`ShouldRecordXcm`] is set to true, then the last XCM program executed locally
603
+ * will be stored here.
604
+ * Runtime APIs can fetch the XCM that was executed by accessing this value.
605
+ *
606
+ * Only relevant if this pallet is being used as the [`xcm_executor::traits::RecordXcm`]
607
+ * implementation in the XCM executor configuration.
608
+ **/
609
+ recordedXcm: AugmentedQuery<ApiType, () => Observable<Option<Vec<StagingXcmV4Instruction>>>, []> & QueryableStorageEntry<ApiType, []>;
610
+ /**
611
+ * Fungible assets which we know are locked on a remote chain.
612
+ **/
613
+ remoteLockedFungibles: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array, arg3: XcmVersionedAssetId | {
614
+ V3: any;
615
+ } | {
616
+ V4: any;
617
+ } | string | Uint8Array) => Observable<Option<PalletXcmRemoteLockedFungibleRecord>>, [u32, AccountId32, XcmVersionedAssetId]> & QueryableStorageEntry<ApiType, [u32, AccountId32, XcmVersionedAssetId]>;
618
+ /**
619
+ * Default version to encode XCM when latest version of destination is unknown. If `None`,
620
+ * then the destinations whose XCM version is unknown are considered unreachable.
621
+ **/
622
+ safeXcmVersion: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
623
+ /**
624
+ * Whether or not incoming XCMs (both executed locally and received) should be recorded.
625
+ * Only one XCM program will be recorded at a time.
626
+ * This is meant to be used in runtime APIs, and it's advised it stays false
627
+ * for all other use cases, so as to not degrade regular performance.
628
+ *
629
+ * Only relevant if this pallet is being used as the [`xcm_executor::traits::RecordXcm`]
630
+ * implementation in the XCM executor configuration.
631
+ **/
632
+ shouldRecordXcm: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
633
+ /**
634
+ * The Latest versions that we know various locations support.
635
+ **/
636
+ supportedVersion: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: XcmVersionedLocation | {
637
+ V2: any;
638
+ } | {
639
+ V3: any;
640
+ } | {
641
+ V4: any;
642
+ } | string | Uint8Array) => Observable<Option<u32>>, [u32, XcmVersionedLocation]> & QueryableStorageEntry<ApiType, [u32, XcmVersionedLocation]>;
643
+ /**
644
+ * Destinations whose latest XCM version we would like to know. Duplicates not allowed, and
645
+ * the `u32` counter is the number of times that a send to the destination has been attempted,
646
+ * which is used as a prioritization.
647
+ **/
648
+ versionDiscoveryQueue: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[XcmVersionedLocation, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
649
+ /**
650
+ * All locations that we have requested version notifications from.
651
+ **/
652
+ versionNotifiers: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: XcmVersionedLocation | {
653
+ V2: any;
654
+ } | {
655
+ V3: any;
656
+ } | {
657
+ V4: any;
658
+ } | string | Uint8Array) => Observable<Option<u64>>, [u32, XcmVersionedLocation]> & QueryableStorageEntry<ApiType, [u32, XcmVersionedLocation]>;
659
+ /**
660
+ * The target locations that are subscribed to our version changes, as well as the most recent
661
+ * of our versions we informed them of.
662
+ **/
663
+ versionNotifyTargets: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: XcmVersionedLocation | {
664
+ V2: any;
665
+ } | {
666
+ V3: any;
667
+ } | {
668
+ V4: any;
669
+ } | string | Uint8Array) => Observable<Option<ITuple<[u64, SpWeightsWeightV2Weight, u32]>>>, [u32, XcmVersionedLocation]> & QueryableStorageEntry<ApiType, [u32, XcmVersionedLocation]>;
670
+ /**
671
+ * Global suspension state of the XCM executor.
672
+ **/
673
+ xcmExecutionSuspended: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
674
+ /**
675
+ * Generic query
676
+ **/
677
+ [key: string]: QueryableStorageEntry<ApiType>;
678
+ };
679
+ poolAssets: {
680
+ /**
681
+ * The holdings of a specific account for a specific asset.
682
+ **/
683
+ account: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<PalletAssetsAssetAccount>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
684
+ /**
685
+ * Approved balance transfers. First balance is the amount approved for transfer. Second
686
+ * is the amount of `T::Currency` reserved for storing this.
687
+ * First key is the asset ID, second key is the owner and third key is the delegate.
688
+ **/
689
+ approvals: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array, arg3: AccountId32 | string | Uint8Array) => Observable<Option<PalletAssetsApproval>>, [u32, AccountId32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32, AccountId32]>;
690
+ /**
691
+ * Details of an asset.
692
+ **/
693
+ asset: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletAssetsAssetDetails>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
694
+ /**
695
+ * Metadata of an asset.
696
+ **/
697
+ metadata: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<PalletAssetsAssetMetadata>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
698
+ /**
699
+ * The asset ID enforced for the next asset creation, if any present. Otherwise, this storage
700
+ * item has no effect.
701
+ *
702
+ * This can be useful for setting up constraints for IDs of the new assets. For example, by
703
+ * providing an initial [`NextAssetId`] and using the [`crate::AutoIncAssetId`] callback, an
704
+ * auto-increment model can be applied to all new asset IDs.
705
+ *
706
+ * The initial next asset ID can be set using the [`GenesisConfig`] or the
707
+ * [SetNextAssetId](`migration::next_asset_id::SetNextAssetId`) migration.
708
+ **/
709
+ nextAssetId: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
710
+ /**
711
+ * Generic query
712
+ **/
713
+ [key: string]: QueryableStorageEntry<ApiType>;
714
+ };
715
+ proxy: {
716
+ /**
717
+ * The announcements made by the proxy (key).
718
+ **/
719
+ announcements: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[Vec<PalletProxyAnnouncement>, u128]>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
720
+ /**
721
+ * The set of account proxies. Maps the account which has delegated to the accounts
722
+ * which are being delegated to, together with the amount held on deposit.
723
+ **/
724
+ proxies: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[Vec<PalletProxyProxyDefinition>, u128]>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
725
+ /**
726
+ * Generic query
727
+ **/
728
+ [key: string]: QueryableStorageEntry<ApiType>;
729
+ };
730
+ session: {
731
+ /**
732
+ * Current index of the session.
733
+ **/
734
+ currentIndex: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
735
+ /**
736
+ * Indices of disabled validators.
737
+ *
738
+ * The vec is always kept sorted so that we can find whether a given validator is
739
+ * disabled using binary search. It gets cleared when `on_session_ending` returns
740
+ * a new set of identities.
741
+ **/
742
+ disabledValidators: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;
743
+ /**
744
+ * The owner of a key. The key is the `KeyTypeId` + the encoded key.
745
+ **/
746
+ keyOwner: AugmentedQuery<ApiType, (arg: ITuple<[SpCoreCryptoKeyTypeId, Bytes]> | [SpCoreCryptoKeyTypeId | string | Uint8Array, Bytes | string | Uint8Array]) => Observable<Option<AccountId32>>, [ITuple<[SpCoreCryptoKeyTypeId, Bytes]>]> & QueryableStorageEntry<ApiType, [ITuple<[SpCoreCryptoKeyTypeId, Bytes]>]>;
747
+ /**
748
+ * The next session keys for a validator.
749
+ **/
750
+ nextKeys: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<AssetHubKusamaRuntimeSessionKeys>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
751
+ /**
752
+ * True if the underlying economic identities or weighting behind the validators
753
+ * has changed in the queued validator set.
754
+ **/
755
+ queuedChanged: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
756
+ /**
757
+ * The queued keys for the next session. When the next session begins, these keys
758
+ * will be used to determine the validator's session keys.
759
+ **/
760
+ queuedKeys: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[AccountId32, AssetHubKusamaRuntimeSessionKeys]>>>, []> & QueryableStorageEntry<ApiType, []>;
761
+ /**
762
+ * The current set of validators.
763
+ **/
764
+ validators: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
765
+ /**
766
+ * Generic query
767
+ **/
768
+ [key: string]: QueryableStorageEntry<ApiType>;
769
+ };
770
+ system: {
771
+ /**
772
+ * The full account information for a particular account ID.
773
+ **/
774
+ account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<FrameSystemAccountInfo>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
775
+ /**
776
+ * Total length (in bytes) for all extrinsics put together, for the current block.
777
+ **/
778
+ allExtrinsicsLen: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
779
+ /**
780
+ * `Some` if a code upgrade has been authorized.
781
+ **/
782
+ authorizedUpgrade: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemCodeUpgradeAuthorization>>, []> & QueryableStorageEntry<ApiType, []>;
783
+ /**
784
+ * Map of block numbers to block hashes.
785
+ **/
786
+ blockHash: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<H256>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
787
+ /**
788
+ * The current weight for the block.
789
+ **/
790
+ blockWeight: AugmentedQuery<ApiType, () => Observable<FrameSupportDispatchPerDispatchClassWeight>, []> & QueryableStorageEntry<ApiType, []>;
791
+ /**
792
+ * Digest of the current block, also part of the block header.
793
+ **/
794
+ digest: AugmentedQuery<ApiType, () => Observable<SpRuntimeDigest>, []> & QueryableStorageEntry<ApiType, []>;
795
+ /**
796
+ * The number of events in the `Events<T>` list.
797
+ **/
798
+ eventCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
799
+ /**
800
+ * Events deposited for the current block.
801
+ *
802
+ * NOTE: The item is unbound and should therefore never be read on chain.
803
+ * It could otherwise inflate the PoV size of a block.
804
+ *
805
+ * Events have a large in-memory size. Box the events to not go out-of-memory
806
+ * just in case someone still reads them from within the runtime.
807
+ **/
808
+ events: AugmentedQuery<ApiType, () => Observable<Vec<FrameSystemEventRecord>>, []> & QueryableStorageEntry<ApiType, []>;
809
+ /**
810
+ * Mapping between a topic (represented by T::Hash) and a vector of indexes
811
+ * of events in the `<Events<T>>` list.
812
+ *
813
+ * All topic vectors have deterministic storage locations depending on the topic. This
814
+ * allows light-clients to leverage the changes trie storage tracking mechanism and
815
+ * in case of changes fetch the list of events of interest.
816
+ *
817
+ * The value has the type `(BlockNumberFor<T>, EventIndex)` because if we used only just
818
+ * the `EventIndex` then in case if the topic has the same contents on the next block
819
+ * no notification will be triggered thus the event might be lost.
820
+ **/
821
+ eventTopics: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Vec<ITuple<[u32, u32]>>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
822
+ /**
823
+ * The execution phase of the block.
824
+ **/
825
+ executionPhase: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemPhase>>, []> & QueryableStorageEntry<ApiType, []>;
826
+ /**
827
+ * Total extrinsics count for the current block.
828
+ **/
829
+ extrinsicCount: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
830
+ /**
831
+ * Extrinsics data for the current block (maps an extrinsic's index to its data).
832
+ **/
833
+ extrinsicData: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
834
+ /**
835
+ * Whether all inherents have been applied.
836
+ **/
837
+ inherentsApplied: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
838
+ /**
839
+ * Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened.
840
+ **/
841
+ lastRuntimeUpgrade: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemLastRuntimeUpgradeInfo>>, []> & QueryableStorageEntry<ApiType, []>;
842
+ /**
843
+ * The current block number being processed. Set by `execute_block`.
844
+ **/
845
+ number: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
846
+ /**
847
+ * Hash of the previous block.
848
+ **/
849
+ parentHash: AugmentedQuery<ApiType, () => Observable<H256>, []> & QueryableStorageEntry<ApiType, []>;
850
+ /**
851
+ * True if we have upgraded so that AccountInfo contains three types of `RefCount`. False
852
+ * (default) if not.
853
+ **/
854
+ upgradedToTripleRefCount: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
855
+ /**
856
+ * True if we have upgraded so that `type RefCount` is `u32`. False (default) if not.
857
+ **/
858
+ upgradedToU32RefCount: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
859
+ /**
860
+ * Generic query
861
+ **/
862
+ [key: string]: QueryableStorageEntry<ApiType>;
863
+ };
864
+ timestamp: {
865
+ /**
866
+ * Whether the timestamp has been updated in this block.
867
+ *
868
+ * This value is updated to `true` upon successful submission of a timestamp by a node.
869
+ * It is then checked at the end of each block execution in the `on_finalize` hook.
870
+ **/
871
+ didUpdate: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
872
+ /**
873
+ * The current time for the current block.
874
+ **/
875
+ now: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
876
+ /**
877
+ * Generic query
878
+ **/
879
+ [key: string]: QueryableStorageEntry<ApiType>;
880
+ };
881
+ toPolkadotXcmRouter: {
882
+ /**
883
+ * Bridge that we are using.
884
+ *
885
+ * **bridges-v1** assumptions: all outbound messages through this router are using single lane
886
+ * and to single remote consensus. If there is some other remote consensus that uses the same
887
+ * bridge hub, the separate pallet instance shall be used, In `v2` we'll have all required
888
+ * primitives (lane-id aka bridge-id, derived from XCM locations) to support multiple bridges
889
+ * by the same pallet instance.
890
+ **/
891
+ bridge: AugmentedQuery<ApiType, () => Observable<BpXcmBridgeHubRouterBridgeState>, []> & QueryableStorageEntry<ApiType, []>;
892
+ /**
893
+ * Generic query
894
+ **/
895
+ [key: string]: QueryableStorageEntry<ApiType>;
896
+ };
897
+ transactionPayment: {
898
+ nextFeeMultiplier: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
899
+ storageVersion: AugmentedQuery<ApiType, () => Observable<PalletTransactionPaymentReleases>, []> & QueryableStorageEntry<ApiType, []>;
900
+ /**
901
+ * Generic query
902
+ **/
903
+ [key: string]: QueryableStorageEntry<ApiType>;
904
+ };
905
+ uniques: {
906
+ /**
907
+ * The items held by any given account; set out this way so that items owned by a single
908
+ * account can be enumerated.
909
+ **/
910
+ account: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: u32 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [AccountId32, u32, u32]> & QueryableStorageEntry<ApiType, [AccountId32, u32, u32]>;
911
+ /**
912
+ * The items in existence and their ownership details.
913
+ **/
914
+ asset: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletUniquesItemDetails>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
915
+ /**
916
+ * Attributes of a collection.
917
+ **/
918
+ attribute: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: Option<u32> | null | Uint8Array | u32 | AnyNumber, arg3: Bytes | string | Uint8Array) => Observable<Option<ITuple<[Bytes, u128]>>>, [u32, Option<u32>, Bytes]> & QueryableStorageEntry<ApiType, [u32, Option<u32>, Bytes]>;
919
+ /**
920
+ * Details of a collection.
921
+ **/
922
+ class: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletUniquesCollectionDetails>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
923
+ /**
924
+ * The collections owned by any given account; set out this way so that collections owned by
925
+ * a single account can be enumerated.
926
+ **/
927
+ classAccount: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [AccountId32, u32]> & QueryableStorageEntry<ApiType, [AccountId32, u32]>;
928
+ /**
929
+ * Metadata of a collection.
930
+ **/
931
+ classMetadataOf: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletUniquesCollectionMetadata>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
932
+ /**
933
+ * Keeps track of the number of items a collection might have.
934
+ **/
935
+ collectionMaxSupply: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
936
+ /**
937
+ * Metadata of an item.
938
+ **/
939
+ instanceMetadataOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletUniquesItemMetadata>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
940
+ /**
941
+ * Price of an asset instance.
942
+ **/
943
+ itemPriceOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[u128, Option<AccountId32>]>>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
944
+ /**
945
+ * The collection, if any, of which an account is willing to take ownership.
946
+ **/
947
+ ownershipAcceptance: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
948
+ /**
949
+ * Generic query
950
+ **/
951
+ [key: string]: QueryableStorageEntry<ApiType>;
952
+ };
953
+ vesting: {
954
+ /**
955
+ * Storage version of the pallet.
956
+ *
957
+ * New networks start with latest version, as determined by the genesis build.
958
+ **/
959
+ storageVersion: AugmentedQuery<ApiType, () => Observable<PalletVestingReleases>, []> & QueryableStorageEntry<ApiType, []>;
960
+ /**
961
+ * Information regarding the vesting of a given account.
962
+ **/
963
+ vesting: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<Vec<PalletVestingVestingInfo>>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
964
+ /**
965
+ * Generic query
966
+ **/
967
+ [key: string]: QueryableStorageEntry<ApiType>;
968
+ };
969
+ xcmpQueue: {
970
+ /**
971
+ * The factor to multiply the base delivery fee by.
972
+ **/
973
+ deliveryFeeFactor: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
974
+ /**
975
+ * The suspended inbound XCMP channels. All others are not suspended.
976
+ *
977
+ * This is a `StorageValue` instead of a `StorageMap` since we expect multiple reads per block
978
+ * to different keys with a one byte payload. The access to `BoundedBTreeSet` will be cached
979
+ * within the block and therefore only included once in the proof size.
980
+ *
981
+ * NOTE: The PoV benchmarking cannot know this and will over-estimate, but the actual proof
982
+ * will be smaller.
983
+ **/
984
+ inboundXcmpSuspended: AugmentedQuery<ApiType, () => Observable<BTreeSet<u32>>, []> & QueryableStorageEntry<ApiType, []>;
985
+ /**
986
+ * The messages outbound in a given XCMP channel.
987
+ **/
988
+ outboundXcmpMessages: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u16 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32, u16]> & QueryableStorageEntry<ApiType, [u32, u16]>;
989
+ /**
990
+ * The non-empty XCMP channels in order of becoming non-empty, and the index of the first
991
+ * and last outbound message. If the two indices are equal, then it indicates an empty
992
+ * queue and there must be a non-`Ok` `OutboundStatus`. We assume queues grow no greater
993
+ * than 65535 items. Queue indices for normal messages begin at one; zero is reserved in
994
+ * case of the need to send a high-priority signal message this block.
995
+ * The bool is true if there is a signal message waiting to be sent.
996
+ **/
997
+ outboundXcmpStatus: AugmentedQuery<ApiType, () => Observable<Vec<CumulusPalletXcmpQueueOutboundChannelDetails>>, []> & QueryableStorageEntry<ApiType, []>;
998
+ /**
999
+ * The configuration which controls the dynamics of the outbound queue.
1000
+ **/
1001
+ queueConfig: AugmentedQuery<ApiType, () => Observable<CumulusPalletXcmpQueueQueueConfigData>, []> & QueryableStorageEntry<ApiType, []>;
1002
+ /**
1003
+ * Whether or not the XCMP queue is suspended from executing incoming XCMs or not.
1004
+ **/
1005
+ queueSuspended: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
1006
+ /**
1007
+ * Any signal messages waiting to be sent.
1008
+ **/
1009
+ signalMessages: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1010
+ /**
1011
+ * Generic query
1012
+ **/
1013
+ [key: string]: QueryableStorageEntry<ApiType>;
1014
+ };
1015
+ }
1016
+ }