@storagehub/api-augment 0.2.14 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. package/dist/parachain/interfaces/augment-api-consts.js +1 -1
  2. package/dist/parachain/interfaces/augment-api-errors.js +1 -1
  3. package/dist/parachain/interfaces/augment-api-events.js +1 -1
  4. package/dist/parachain/interfaces/augment-api-query.js +1 -1
  5. package/dist/parachain/interfaces/augment-api-rpc.js +1 -1
  6. package/dist/parachain/interfaces/augment-api-runtime.js +1 -1
  7. package/dist/parachain/interfaces/augment-api-tx.js +1 -1
  8. package/dist/parachain/interfaces/augment-api.js +7 -7
  9. package/dist/parachain/interfaces/augment-types.js +1 -1
  10. package/dist/parachain/interfaces/index.js +1 -1
  11. package/dist/parachain/interfaces/lookup.js +2785 -2373
  12. package/dist/parachain/interfaces/lookup.js.map +1 -1
  13. package/dist/parachain/interfaces/registry.js +1 -1
  14. package/dist/parachain/interfaces/storagehubclient/index.js +1 -1
  15. package/dist/parachain/interfaces/storagehubclient/runtime.js +5 -0
  16. package/dist/parachain/interfaces/storagehubclient/runtime.js.map +1 -1
  17. package/dist/parachain/interfaces/types-lookup.js +1 -1
  18. package/dist/parachain/interfaces/types.js +1 -1
  19. package/dist/solochain-evm/interfaces/augment-api-consts.js +1 -1
  20. package/dist/solochain-evm/interfaces/augment-api-errors.js +1 -1
  21. package/dist/solochain-evm/interfaces/augment-api-events.js +1 -1
  22. package/dist/solochain-evm/interfaces/augment-api-query.js +1 -1
  23. package/dist/solochain-evm/interfaces/augment-api-rpc.js +1 -1
  24. package/dist/solochain-evm/interfaces/augment-api-runtime.js +1 -1
  25. package/dist/solochain-evm/interfaces/augment-api-tx.js +1 -1
  26. package/dist/solochain-evm/interfaces/augment-api.js +7 -7
  27. package/dist/solochain-evm/interfaces/augment-types.js +1 -1
  28. package/dist/solochain-evm/interfaces/index.js +1 -1
  29. package/dist/solochain-evm/interfaces/lookup.js +2029 -1659
  30. package/dist/solochain-evm/interfaces/lookup.js.map +1 -1
  31. package/dist/solochain-evm/interfaces/registry.js +1 -1
  32. package/dist/solochain-evm/interfaces/storagehubclient/index.js +1 -1
  33. package/dist/solochain-evm/interfaces/types-lookup.js +1 -1
  34. package/dist/solochain-evm/interfaces/types.js +1 -1
  35. package/dist/types/parachain/interfaces/augment-api-consts.d.ts +7 -7
  36. package/dist/types/parachain/interfaces/augment-api-errors.d.ts +7 -3
  37. package/dist/types/parachain/interfaces/augment-api-events.d.ts +828 -174
  38. package/dist/types/parachain/interfaces/augment-api-query.d.ts +330 -112
  39. package/dist/types/parachain/interfaces/augment-api-rpc.d.ts +32 -32
  40. package/dist/types/parachain/interfaces/augment-api-runtime.d.ts +33 -25
  41. package/dist/types/parachain/interfaces/augment-api-tx.d.ts +639 -149
  42. package/dist/types/parachain/interfaces/augment-api.d.ts +7 -7
  43. package/dist/types/parachain/interfaces/augment-types.d.ts +75 -75
  44. package/dist/types/parachain/interfaces/index.d.ts +1 -1
  45. package/dist/types/parachain/interfaces/lookup.d.ts +227 -217
  46. package/dist/types/parachain/interfaces/registry.d.ts +3 -3
  47. package/dist/types/parachain/interfaces/storagehubclient/index.d.ts +1 -1
  48. package/dist/types/parachain/interfaces/storagehubclient/types.d.ts +34 -34
  49. package/dist/types/parachain/interfaces/types-lookup.d.ts +536 -406
  50. package/dist/types/parachain/interfaces/types.d.ts +1 -1
  51. package/dist/types/solochain-evm/interfaces/augment-api-consts.d.ts +7 -7
  52. package/dist/types/solochain-evm/interfaces/augment-api-errors.d.ts +7 -3
  53. package/dist/types/solochain-evm/interfaces/augment-api-events.d.ts +674 -139
  54. package/dist/types/solochain-evm/interfaces/augment-api-query.d.ts +302 -100
  55. package/dist/types/solochain-evm/interfaces/augment-api-rpc.d.ts +32 -32
  56. package/dist/types/solochain-evm/interfaces/augment-api-runtime.d.ts +33 -25
  57. package/dist/types/solochain-evm/interfaces/augment-api-tx.d.ts +584 -132
  58. package/dist/types/solochain-evm/interfaces/augment-api.d.ts +7 -7
  59. package/dist/types/solochain-evm/interfaces/augment-types.d.ts +75 -75
  60. package/dist/types/solochain-evm/interfaces/index.d.ts +1 -1
  61. package/dist/types/solochain-evm/interfaces/lookup.d.ts +183 -173
  62. package/dist/types/solochain-evm/interfaces/registry.d.ts +3 -3
  63. package/dist/types/solochain-evm/interfaces/storagehubclient/index.d.ts +1 -1
  64. package/dist/types/solochain-evm/interfaces/storagehubclient/types.d.ts +35 -35
  65. package/dist/types/solochain-evm/interfaces/types-lookup.d.ts +412 -312
  66. package/dist/types/solochain-evm/interfaces/types.d.ts +1 -1
  67. package/metadata-sh-parachain.json +1 -1
  68. package/metadata-sh-solochain-evm.json +1 -1
  69. package/package.json +2 -2
  70. package/src/parachain/interfaces/augment-api-errors.ts +4 -0
  71. package/src/parachain/interfaces/augment-api-events.ts +8 -0
  72. package/src/parachain/interfaces/augment-api-query.ts +12 -0
  73. package/src/parachain/interfaces/augment-api-runtime.ts +14 -0
  74. package/src/parachain/interfaces/augment-api-tx.ts +13 -0
  75. package/src/parachain/interfaces/lookup.ts +233 -222
  76. package/src/parachain/interfaces/storagehubclient/runtime.ts +5 -0
  77. package/src/parachain/interfaces/types-lookup.ts +237 -224
  78. package/src/solochain-evm/interfaces/augment-api-errors.ts +4 -0
  79. package/src/solochain-evm/interfaces/augment-api-events.ts +8 -0
  80. package/src/solochain-evm/interfaces/augment-api-query.ts +12 -0
  81. package/src/solochain-evm/interfaces/augment-api-runtime.ts +14 -0
  82. package/src/solochain-evm/interfaces/augment-api-tx.ts +13 -0
  83. package/src/solochain-evm/interfaces/lookup.ts +189 -178
  84. package/src/solochain-evm/interfaces/types-lookup.ts +193 -180
  85. package/storagehub-api-augment-0.2.14.tgz +0 -0
@@ -1,19 +1,20 @@
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, 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 { CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletParachainSystemUnincludedSegmentAncestor, CumulusPalletParachainSystemUnincludedSegmentSegmentTracker, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesCoreAggregateMessageOrigin, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensMiscIdAmount, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletCollatorSelectionCandidateInfo, PalletFileSystemIncompleteStorageRequestMetadata, PalletFileSystemMoveBucketRequestMetadata, PalletFileSystemPendingFileDeletionRequest, PalletFileSystemPendingStopStoringRequest, PalletFileSystemStorageRequestBspsMetadata, PalletFileSystemStorageRequestMetadata, PalletMessageQueueBookState, PalletMessageQueuePage, PalletNftsAttributeDeposit, PalletNftsAttributeNamespace, PalletNftsCollectionConfig, PalletNftsCollectionDetails, PalletNftsCollectionMetadata, PalletNftsItemConfig, PalletNftsItemDetails, PalletNftsItemMetadata, PalletNftsPendingSwap, PalletPaymentStreamsDynamicRatePaymentStream, PalletPaymentStreamsFixedRatePaymentStream, PalletPaymentStreamsProviderLastChargeableInfo, PalletProofsDealerCustomChallenge, PalletProofsDealerProofSubmissionRecord, PalletStorageProvidersBackupStorageProvider, PalletStorageProvidersBucket, PalletStorageProvidersMainStorageProvider, PalletStorageProvidersSignUpRequest, PalletStorageProvidersStorageProviderId, PalletStorageProvidersTopUpMetadata, PalletStorageProvidersValueProposition, PalletTransactionPaymentReleases, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV8AbridgedHostConfiguration, PolkadotPrimitivesV8PersistedValidationData, PolkadotPrimitivesV8UpgradeGoAhead, PolkadotPrimitivesV8UpgradeRestriction, ShParachainRuntimeConfigsRuntimeParamsRuntimeParametersKey, ShParachainRuntimeConfigsRuntimeParamsRuntimeParametersValue, ShParachainRuntimeRuntimeHoldReason, ShParachainRuntimeSessionKeys, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpRuntimeDigest, SpTrieStorageProof, SpWeightsWeightV2Weight, StagingXcmV5Instruction, XcmVersionedAssetId, XcmVersionedLocation } from '@polkadot/types/lookup';
7
- import type { Observable } from '@polkadot/types/types';
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, 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 { CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletParachainSystemUnincludedSegmentAncestor, CumulusPalletParachainSystemUnincludedSegmentSegmentTracker, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesCoreAggregateMessageOrigin, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensMiscIdAmount, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletCollatorSelectionCandidateInfo, PalletFileSystemIncompleteStorageRequestMetadata, PalletFileSystemMoveBucketRequestMetadata, PalletFileSystemPendingFileDeletionRequest, PalletFileSystemPendingStopStoringRequest, PalletFileSystemStorageRequestBspsMetadata, PalletFileSystemStorageRequestMetadata, PalletMessageQueueBookState, PalletMessageQueuePage, PalletNftsAttributeDeposit, PalletNftsAttributeNamespace, PalletNftsCollectionConfig, PalletNftsCollectionDetails, PalletNftsCollectionMetadata, PalletNftsItemConfig, PalletNftsItemDetails, PalletNftsItemMetadata, PalletNftsPendingSwap, PalletPaymentStreamsDynamicRatePaymentStream, PalletPaymentStreamsFixedRatePaymentStream, PalletPaymentStreamsProviderLastChargeableInfo, PalletProofsDealerCustomChallenge, PalletProofsDealerProofSubmissionRecord, PalletStorageProvidersBackupStorageProvider, PalletStorageProvidersBucket, PalletStorageProvidersMainStorageProvider, PalletStorageProvidersSignUpRequest, PalletStorageProvidersStorageProviderId, PalletStorageProvidersTopUpMetadata, PalletStorageProvidersValueProposition, PalletTransactionPaymentReleases, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV8AbridgedHostConfiguration, PolkadotPrimitivesV8PersistedValidationData, PolkadotPrimitivesV8UpgradeGoAhead, PolkadotPrimitivesV8UpgradeRestriction, ShParachainRuntimeConfigsRuntimeParamsRuntimeParametersKey, ShParachainRuntimeConfigsRuntimeParamsRuntimeParametersValue, ShParachainRuntimeRuntimeHoldReason, ShParachainRuntimeSessionKeys, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpRuntimeDigest, SpTrieStorageProof, SpWeightsWeightV2Weight, StagingXcmV5Instruction, XcmVersionedAssetId, XcmVersionedLocation } from "@polkadot/types/lookup";
7
+ import type { Observable } from "@polkadot/types/types";
8
8
  export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
9
9
  export type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;
10
- declare module '@polkadot/api-base/types/storage' {
10
+ declare module "@polkadot/api-base/types/storage" {
11
11
  interface AugmentedQueries<ApiType extends ApiTypes> {
12
12
  aura: {
13
13
  /**
14
14
  * The current authority set.
15
15
  **/
16
- authorities: AugmentedQuery<ApiType, () => Observable<Vec<SpConsensusAuraSr25519AppSr25519Public>>, []> & QueryableStorageEntry<ApiType, []>;
16
+ authorities: AugmentedQuery<ApiType, () => Observable<Vec<SpConsensusAuraSr25519AppSr25519Public>>, [
17
+ ]> & QueryableStorageEntry<ApiType, []>;
17
18
  /**
18
19
  * The current slot of this block.
19
20
  *
@@ -33,7 +34,8 @@ declare module '@polkadot/api-base/types/storage' {
33
34
  * but we require the old authorities to verify the seal when validating a PoV. This will
34
35
  * always be updated to the latest AuRa authorities in `on_finalize`.
35
36
  **/
36
- authorities: AugmentedQuery<ApiType, () => Observable<Vec<SpConsensusAuraSr25519AppSr25519Public>>, []> & QueryableStorageEntry<ApiType, []>;
37
+ authorities: AugmentedQuery<ApiType, () => Observable<Vec<SpConsensusAuraSr25519AppSr25519Public>>, [
38
+ ]> & QueryableStorageEntry<ApiType, []>;
37
39
  /**
38
40
  * Current slot paired with a number of authored blocks.
39
41
  *
@@ -82,18 +84,24 @@ declare module '@polkadot/api-base/types/storage' {
82
84
  * `Balances` pallet, which uses a `StorageMap` to store balances data only.
83
85
  * NOTE: This is only used in the case that this pallet is used to store balances.
84
86
  **/
85
- account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletBalancesAccountData>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
87
+ account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletBalancesAccountData>, [
88
+ AccountId32
89
+ ]> & QueryableStorageEntry<ApiType, [AccountId32]>;
86
90
  /**
87
91
  * Freeze locks on account balances.
88
92
  **/
89
- freezes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<FrameSupportTokensMiscIdAmount>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
93
+ freezes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<FrameSupportTokensMiscIdAmount>>, [
94
+ AccountId32
95
+ ]> & QueryableStorageEntry<ApiType, [AccountId32]>;
90
96
  /**
91
97
  * Holds on account balances.
92
98
  **/
93
99
  holds: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<{
94
100
  readonly id: ShParachainRuntimeRuntimeHoldReason;
95
101
  readonly amount: u128;
96
- } & Struct>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
102
+ } & Struct>>, [
103
+ AccountId32
104
+ ]> & QueryableStorageEntry<ApiType, [AccountId32]>;
97
105
  /**
98
106
  * The total units of outstanding deactivated balance in the system.
99
107
  **/
@@ -104,13 +112,17 @@ declare module '@polkadot/api-base/types/storage' {
104
112
  *
105
113
  * Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`
106
114
  **/
107
- locks: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesBalanceLock>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
115
+ locks: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesBalanceLock>>, [
116
+ AccountId32
117
+ ]> & QueryableStorageEntry<ApiType, [AccountId32]>;
108
118
  /**
109
119
  * Named reserves on some account balances.
110
120
  *
111
121
  * Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`
112
122
  **/
113
- reserves: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesReserveData>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
123
+ reserves: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesReserveData>>, [
124
+ AccountId32
125
+ ]> & QueryableStorageEntry<ApiType, [AccountId32]>;
114
126
  /**
115
127
  * The total units issued in the system.
116
128
  **/
@@ -134,7 +146,8 @@ declare module '@polkadot/api-base/types/storage' {
134
146
  * This list is sorted in ascending order by deposit and when the deposits are equal, the least
135
147
  * recently updated is considered greater.
136
148
  **/
137
- candidateList: AugmentedQuery<ApiType, () => Observable<Vec<PalletCollatorSelectionCandidateInfo>>, []> & QueryableStorageEntry<ApiType, []>;
149
+ candidateList: AugmentedQuery<ApiType, () => Observable<Vec<PalletCollatorSelectionCandidateInfo>>, [
150
+ ]> & QueryableStorageEntry<ApiType, []>;
138
151
  /**
139
152
  * Desired number of candidates.
140
153
  *
@@ -148,7 +161,9 @@ declare module '@polkadot/api-base/types/storage' {
148
161
  /**
149
162
  * Last block authored by collator.
150
163
  **/
151
- lastAuthoredBlock: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u32>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
164
+ lastAuthoredBlock: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u32>, [
165
+ AccountId32
166
+ ]> & QueryableStorageEntry<ApiType, [AccountId32]>;
152
167
  /**
153
168
  * Generic query
154
169
  **/
@@ -158,7 +173,10 @@ declare module '@polkadot/api-base/types/storage' {
158
173
  /**
159
174
  * Bookkeeping of the buckets containing open storage requests.
160
175
  **/
161
- bucketsWithStorageRequests: AugmentedQuery<ApiType, (arg1: H256 | string | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<Null>>, [H256, H256]> & QueryableStorageEntry<ApiType, [H256, H256]>;
176
+ bucketsWithStorageRequests: AugmentedQuery<ApiType, (arg1: H256 | string | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<Null>>, [
177
+ H256,
178
+ H256
179
+ ]> & QueryableStorageEntry<ApiType, [H256, H256]>;
162
180
  /**
163
181
  * Incomplete storage requests with pending provider file removal.
164
182
  *
@@ -166,11 +184,15 @@ declare module '@polkadot/api-base/types/storage' {
166
184
  * confirmed providers storing files. Each entry tracks which providers still need to remove
167
185
  * their files. Once all providers have removed their files, the entry is automatically cleaned up.
168
186
  **/
169
- incompleteStorageRequests: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletFileSystemIncompleteStorageRequestMetadata>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
187
+ incompleteStorageRequests: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletFileSystemIncompleteStorageRequestMetadata>>, [
188
+ H256
189
+ ]> & QueryableStorageEntry<ApiType, [H256]>;
170
190
  /**
171
191
  * A map of ticks to expired move bucket requests.
172
192
  **/
173
- moveBucketRequestExpirations: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<H256>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
193
+ moveBucketRequestExpirations: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<H256>>, [
194
+ u32
195
+ ]> & QueryableStorageEntry<ApiType, [u32]>;
174
196
  /**
175
197
  * Mapping from MSPs to the amount of pending file deletion requests they have.
176
198
  *
@@ -178,19 +200,23 @@ declare module '@polkadot/api-base/types/storage' {
178
200
  * from the privileged providers list if they have at least one, and are added back if they have none.
179
201
  * This is to ensure that MSPs are correctly incentivised to submit the required proofs for file deletions.
180
202
  **/
181
- mspsAmountOfPendingFileDeletionRequests: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<u32>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
203
+ mspsAmountOfPendingFileDeletionRequests: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<u32>, [
204
+ H256
205
+ ]> & QueryableStorageEntry<ApiType, [H256]>;
182
206
  /**
183
207
  * A pointer to the earliest available tick to insert a new move bucket request expiration.
184
208
  *
185
209
  * This should always be greater or equal than current tick + [`Config::MoveBucketRequestTtl`].
186
210
  **/
187
- nextAvailableMoveBucketRequestExpirationTick: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
211
+ nextAvailableMoveBucketRequestExpirationTick: AugmentedQuery<ApiType, () => Observable<u32>, [
212
+ ]> & QueryableStorageEntry<ApiType, []>;
188
213
  /**
189
214
  * A pointer to the earliest available tick to insert a new storage request expiration.
190
215
  *
191
216
  * This should always be greater or equal than current tick + [`Config::StorageRequestTtl`].
192
217
  **/
193
- nextAvailableStorageRequestExpirationTick: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
218
+ nextAvailableStorageRequestExpirationTick: AugmentedQuery<ApiType, () => Observable<u32>, [
219
+ ]> & QueryableStorageEntry<ApiType, []>;
194
220
  /**
195
221
  * A pointer to the starting tick to clean up expired items.
196
222
  *
@@ -204,14 +230,18 @@ declare module '@polkadot/api-base/types/storage' {
204
230
  *
205
231
  * A mapping from a user Account ID to a list of pending file deletion requests (which have the file information).
206
232
  **/
207
- pendingFileDeletionRequests: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletFileSystemPendingFileDeletionRequest>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
233
+ pendingFileDeletionRequests: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletFileSystemPendingFileDeletionRequest>>, [
234
+ AccountId32
235
+ ]> & QueryableStorageEntry<ApiType, [AccountId32]>;
208
236
  /**
209
237
  * Pending move bucket requests.
210
238
  *
211
239
  * A mapping from Bucket ID to their move bucket request metadata, which includes the new MSP
212
240
  * and value propositions that this bucket would take if accepted.
213
241
  **/
214
- pendingMoveBucketRequests: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletFileSystemMoveBucketRequestMetadata>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
242
+ pendingMoveBucketRequests: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletFileSystemMoveBucketRequestMetadata>>, [
243
+ H256
244
+ ]> & QueryableStorageEntry<ApiType, [H256]>;
215
245
  /**
216
246
  * Pending file stop storing requests.
217
247
  *
@@ -221,7 +251,10 @@ declare module '@polkadot/api-base/types/storage' {
221
251
  * of missing files. The size is to be able to decrease their used capacity when they confirm to stop storing the file.
222
252
  * The owner is to be able to update the payment stream between the user and the BSP.
223
253
  **/
224
- pendingStopStoringRequests: AugmentedQuery<ApiType, (arg1: H256 | string | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<PalletFileSystemPendingStopStoringRequest>>, [H256, H256]> & QueryableStorageEntry<ApiType, [H256, H256]>;
254
+ pendingStopStoringRequests: AugmentedQuery<ApiType, (arg1: H256 | string | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<PalletFileSystemPendingStopStoringRequest>>, [
255
+ H256,
256
+ H256
257
+ ]> & QueryableStorageEntry<ApiType, [H256, H256]>;
225
258
  /**
226
259
  * A double map from file key to the BSP IDs of the BSPs that volunteered to store the file to whether that BSP has confirmed storing it.
227
260
  *
@@ -230,12 +263,30 @@ declare module '@polkadot/api-base/types/storage' {
230
263
  *
231
264
  * When a storage request is expired or removed, the corresponding file key prefix in this map is removed.
232
265
  **/
233
- storageRequestBsps: AugmentedQuery<ApiType, (arg1: H256 | string | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<PalletFileSystemStorageRequestBspsMetadata>>, [H256, H256]> & QueryableStorageEntry<ApiType, [H256, H256]>;
266
+ storageRequestBsps: AugmentedQuery<ApiType, (arg1: H256 | string | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<PalletFileSystemStorageRequestBspsMetadata>>, [
267
+ H256,
268
+ H256
269
+ ]> & QueryableStorageEntry<ApiType, [H256, H256]>;
234
270
  /**
235
271
  * A map of ticks to expired storage requests.
236
272
  **/
237
- storageRequestExpirations: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<H256>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
238
- storageRequests: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletFileSystemStorageRequestMetadata>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
273
+ storageRequestExpirations: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<H256>>, [
274
+ u32
275
+ ]> & QueryableStorageEntry<ApiType, [u32]>;
276
+ storageRequests: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletFileSystemStorageRequestMetadata>>, [
277
+ H256
278
+ ]> & QueryableStorageEntry<ApiType, [H256]>;
279
+ /**
280
+ * Bitmask controlling which user operations are currently paused.
281
+ *
282
+ * When a particular bit is set in this mask, the corresponding user operation in this pallet
283
+ * is considered paused and should fail with [`Error::UserOperationPaused`].
284
+ *
285
+ * By default this is initialised to [`UserOperationPauseFlags::NONE`], meaning no operations
286
+ * are paused. Governance (for example via sudo) can update it using the
287
+ * `set_user_operation_pause_flags` extrinsic.
288
+ **/
289
+ userOperationPauseFlagsStorage: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
239
290
  /**
240
291
  * Generic query
241
292
  **/
@@ -251,7 +302,9 @@ declare module '@polkadot/api-base/types/storage' {
251
302
  Parent: any;
252
303
  } | {
253
304
  Sibling: any;
254
- } | string | Uint8Array) => Observable<PalletMessageQueueBookState>, [CumulusPrimitivesCoreAggregateMessageOrigin]> & QueryableStorageEntry<ApiType, [CumulusPrimitivesCoreAggregateMessageOrigin]>;
305
+ } | string | Uint8Array) => Observable<PalletMessageQueueBookState>, [
306
+ CumulusPrimitivesCoreAggregateMessageOrigin
307
+ ]> & QueryableStorageEntry<ApiType, [CumulusPrimitivesCoreAggregateMessageOrigin]>;
255
308
  /**
256
309
  * The map of page indices to pages.
257
310
  **/
@@ -261,11 +314,15 @@ declare module '@polkadot/api-base/types/storage' {
261
314
  Parent: any;
262
315
  } | {
263
316
  Sibling: any;
264
- } | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletMessageQueuePage>>, [CumulusPrimitivesCoreAggregateMessageOrigin, u32]> & QueryableStorageEntry<ApiType, [CumulusPrimitivesCoreAggregateMessageOrigin, u32]>;
317
+ } | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletMessageQueuePage>>, [
318
+ CumulusPrimitivesCoreAggregateMessageOrigin,
319
+ u32
320
+ ]> & QueryableStorageEntry<ApiType, [CumulusPrimitivesCoreAggregateMessageOrigin, u32]>;
265
321
  /**
266
322
  * The origin at which we should begin servicing.
267
323
  **/
268
- serviceHead: AugmentedQuery<ApiType, () => Observable<Option<CumulusPrimitivesCoreAggregateMessageOrigin>>, []> & QueryableStorageEntry<ApiType, []>;
324
+ serviceHead: AugmentedQuery<ApiType, () => Observable<Option<CumulusPrimitivesCoreAggregateMessageOrigin>>, [
325
+ ]> & QueryableStorageEntry<ApiType, []>;
269
326
  /**
270
327
  * Generic query
271
328
  **/
@@ -276,7 +333,11 @@ declare module '@polkadot/api-base/types/storage' {
276
333
  * The items held by any given account; set out this way so that items owned by a single
277
334
  * account can be enumerated.
278
335
  **/
279
- 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]>;
336
+ account: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: u32 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [
337
+ AccountId32,
338
+ u32,
339
+ u32
340
+ ]> & QueryableStorageEntry<ApiType, [AccountId32, u32, u32]>;
280
341
  /**
281
342
  * Attributes of a collection.
282
343
  **/
@@ -288,49 +349,81 @@ declare module '@polkadot/api-base/types/storage' {
288
349
  ItemOwner: any;
289
350
  } | {
290
351
  Account: any;
291
- } | string | Uint8Array, arg4: Bytes | string | Uint8Array) => Observable<Option<ITuple<[Bytes, PalletNftsAttributeDeposit]>>>, [u32, Option<u32>, PalletNftsAttributeNamespace, Bytes]> & QueryableStorageEntry<ApiType, [u32, Option<u32>, PalletNftsAttributeNamespace, Bytes]>;
352
+ } | string | Uint8Array, arg4: Bytes | string | Uint8Array) => Observable<Option<ITuple<[Bytes, PalletNftsAttributeDeposit]>>>, [
353
+ u32,
354
+ Option<u32>,
355
+ PalletNftsAttributeNamespace,
356
+ Bytes
357
+ ]> & QueryableStorageEntry<ApiType, [u32, Option<u32>, PalletNftsAttributeNamespace, Bytes]>;
292
358
  /**
293
359
  * Details of a collection.
294
360
  **/
295
- collection: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNftsCollectionDetails>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
361
+ collection: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNftsCollectionDetails>>, [
362
+ u32
363
+ ]> & QueryableStorageEntry<ApiType, [u32]>;
296
364
  /**
297
365
  * The collections owned by any given account; set out this way so that collections owned by
298
366
  * a single account can be enumerated.
299
367
  **/
300
- collectionAccount: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [AccountId32, u32]> & QueryableStorageEntry<ApiType, [AccountId32, u32]>;
368
+ collectionAccount: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [
369
+ AccountId32,
370
+ u32
371
+ ]> & QueryableStorageEntry<ApiType, [AccountId32, u32]>;
301
372
  /**
302
373
  * Config of a collection.
303
374
  **/
304
- collectionConfigOf: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNftsCollectionConfig>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
375
+ collectionConfigOf: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNftsCollectionConfig>>, [
376
+ u32
377
+ ]> & QueryableStorageEntry<ApiType, [u32]>;
305
378
  /**
306
379
  * Metadata of a collection.
307
380
  **/
308
- collectionMetadataOf: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNftsCollectionMetadata>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
381
+ collectionMetadataOf: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNftsCollectionMetadata>>, [
382
+ u32
383
+ ]> & QueryableStorageEntry<ApiType, [u32]>;
309
384
  /**
310
385
  * The items in existence and their ownership details.
311
386
  * Stores collection roles as per account.
312
387
  **/
313
- collectionRoleOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u8>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
388
+ collectionRoleOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u8>>, [
389
+ u32,
390
+ AccountId32
391
+ ]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
314
392
  /**
315
393
  * The items in existence and their ownership details.
316
394
  **/
317
- item: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNftsItemDetails>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
395
+ item: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNftsItemDetails>>, [
396
+ u32,
397
+ u32
398
+ ]> & QueryableStorageEntry<ApiType, [u32, u32]>;
318
399
  /**
319
400
  * Item attribute approvals.
320
401
  **/
321
- itemAttributesApprovalsOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<BTreeSet<AccountId32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
402
+ itemAttributesApprovalsOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<BTreeSet<AccountId32>>, [
403
+ u32,
404
+ u32
405
+ ]> & QueryableStorageEntry<ApiType, [u32, u32]>;
322
406
  /**
323
407
  * Config of an item.
324
408
  **/
325
- itemConfigOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNftsItemConfig>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
409
+ itemConfigOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNftsItemConfig>>, [
410
+ u32,
411
+ u32
412
+ ]> & QueryableStorageEntry<ApiType, [u32, u32]>;
326
413
  /**
327
414
  * Metadata of an item.
328
415
  **/
329
- itemMetadataOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNftsItemMetadata>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
416
+ itemMetadataOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNftsItemMetadata>>, [
417
+ u32,
418
+ u32
419
+ ]> & QueryableStorageEntry<ApiType, [u32, u32]>;
330
420
  /**
331
421
  * A price of an item.
332
422
  **/
333
- itemPriceOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[u128, Option<AccountId32>]>>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
423
+ itemPriceOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[u128, Option<AccountId32>]>>>, [
424
+ u32,
425
+ u32
426
+ ]> & QueryableStorageEntry<ApiType, [u32, u32]>;
334
427
  /**
335
428
  * Stores the `CollectionId` that is going to be used for the next collection.
336
429
  * This gets incremented whenever a new collection is created.
@@ -339,11 +432,16 @@ declare module '@polkadot/api-base/types/storage' {
339
432
  /**
340
433
  * The collection, if any, of which an account is willing to take ownership.
341
434
  **/
342
- ownershipAcceptance: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
435
+ ownershipAcceptance: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [
436
+ AccountId32
437
+ ]> & QueryableStorageEntry<ApiType, [AccountId32]>;
343
438
  /**
344
439
  * Handles all the pending swaps.
345
440
  **/
346
- pendingSwapOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNftsPendingSwap>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
441
+ pendingSwapOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNftsPendingSwap>>, [
442
+ u32,
443
+ u32
444
+ ]> & QueryableStorageEntry<ApiType, [u32, u32]>;
347
445
  /**
348
446
  * Generic query
349
447
  **/
@@ -362,7 +460,8 @@ declare module '@polkadot/api-base/types/storage' {
362
460
  * latest HRMP watermark. Used for limiting the acceptance of new blocks with
363
461
  * respect to relay chain constraints.
364
462
  **/
365
- aggregatedUnincludedSegment: AugmentedQuery<ApiType, () => Observable<Option<CumulusPalletParachainSystemUnincludedSegmentSegmentTracker>>, []> & QueryableStorageEntry<ApiType, []>;
463
+ aggregatedUnincludedSegment: AugmentedQuery<ApiType, () => Observable<Option<CumulusPalletParachainSystemUnincludedSegmentSegmentTracker>>, [
464
+ ]> & QueryableStorageEntry<ApiType, []>;
366
465
  /**
367
466
  * The number of HRMP messages we observed in `on_initialize` and thus used that number for
368
467
  * announcing the weight of `on_initialize` and `on_finalize`.
@@ -386,13 +485,15 @@ declare module '@polkadot/api-base/types/storage' {
386
485
  *
387
486
  * This data is also absent from the genesis.
388
487
  **/
389
- hostConfiguration: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV8AbridgedHostConfiguration>>, []> & QueryableStorageEntry<ApiType, []>;
488
+ hostConfiguration: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV8AbridgedHostConfiguration>>, [
489
+ ]> & QueryableStorageEntry<ApiType, []>;
390
490
  /**
391
491
  * HRMP messages that were sent in a block.
392
492
  *
393
493
  * This will be cleared in `on_initialize` of each new block.
394
494
  **/
395
- hrmpOutboundMessages: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotCorePrimitivesOutboundHrmpMessage>>, []> & QueryableStorageEntry<ApiType, []>;
495
+ hrmpOutboundMessages: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotCorePrimitivesOutboundHrmpMessage>>, [
496
+ ]> & QueryableStorageEntry<ApiType, []>;
396
497
  /**
397
498
  * HRMP watermark that was set in a block.
398
499
  *
@@ -464,17 +565,20 @@ declare module '@polkadot/api-base/types/storage' {
464
565
  *
465
566
  * This data is also absent from the genesis.
466
567
  **/
467
- relevantMessagingState: AugmentedQuery<ApiType, () => Observable<Option<CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot>>, []> & QueryableStorageEntry<ApiType, []>;
568
+ relevantMessagingState: AugmentedQuery<ApiType, () => Observable<Option<CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot>>, [
569
+ ]> & QueryableStorageEntry<ApiType, []>;
468
570
  /**
469
571
  * The weight we reserve at the beginning of the block for processing DMP messages. This
470
572
  * overrides the amount set in the Config trait.
471
573
  **/
472
- reservedDmpWeightOverride: AugmentedQuery<ApiType, () => Observable<Option<SpWeightsWeightV2Weight>>, []> & QueryableStorageEntry<ApiType, []>;
574
+ reservedDmpWeightOverride: AugmentedQuery<ApiType, () => Observable<Option<SpWeightsWeightV2Weight>>, [
575
+ ]> & QueryableStorageEntry<ApiType, []>;
473
576
  /**
474
577
  * The weight we reserve at the beginning of the block for processing XCMP messages. This
475
578
  * overrides the amount set in the Config trait.
476
579
  **/
477
- reservedXcmpWeightOverride: AugmentedQuery<ApiType, () => Observable<Option<SpWeightsWeightV2Weight>>, []> & QueryableStorageEntry<ApiType, []>;
580
+ reservedXcmpWeightOverride: AugmentedQuery<ApiType, () => Observable<Option<SpWeightsWeightV2Weight>>, [
581
+ ]> & QueryableStorageEntry<ApiType, []>;
478
582
  /**
479
583
  * Latest included block descendants the runtime accepted. In other words, these are
480
584
  * ancestors of the currently executing block which have not been included in the observed
@@ -483,7 +587,8 @@ declare module '@polkadot/api-base/types/storage' {
483
587
  * The segment length is limited by the capacity returned from the [`ConsensusHook`] configured
484
588
  * in the pallet.
485
589
  **/
486
- unincludedSegment: AugmentedQuery<ApiType, () => Observable<Vec<CumulusPalletParachainSystemUnincludedSegmentAncestor>>, []> & QueryableStorageEntry<ApiType, []>;
590
+ unincludedSegment: AugmentedQuery<ApiType, () => Observable<Vec<CumulusPalletParachainSystemUnincludedSegmentAncestor>>, [
591
+ ]> & QueryableStorageEntry<ApiType, []>;
487
592
  /**
488
593
  * Optional upgrade go-ahead signal from the relay-chain.
489
594
  *
@@ -491,7 +596,8 @@ declare module '@polkadot/api-base/types/storage' {
491
596
  * relay-chain. This value is ephemeral which means it doesn't hit the storage. This value is
492
597
  * set after the inherent.
493
598
  **/
494
- upgradeGoAhead: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV8UpgradeGoAhead>>, []> & QueryableStorageEntry<ApiType, []>;
599
+ upgradeGoAhead: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV8UpgradeGoAhead>>, [
600
+ ]> & QueryableStorageEntry<ApiType, []>;
495
601
  /**
496
602
  * An option which indicates if the relay-chain restricts signalling a validation code upgrade.
497
603
  * In other words, if this is `Some` and [`NewValidationCode`] is `Some` then the produced
@@ -501,7 +607,8 @@ declare module '@polkadot/api-base/types/storage' {
501
607
  * relay-chain. This value is ephemeral which means it doesn't hit the storage. This value is
502
608
  * set after the inherent.
503
609
  **/
504
- upgradeRestrictionSignal: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV8UpgradeRestriction>>, []> & QueryableStorageEntry<ApiType, []>;
610
+ upgradeRestrictionSignal: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV8UpgradeRestriction>>, [
611
+ ]> & QueryableStorageEntry<ApiType, []>;
505
612
  /**
506
613
  * The factor to multiply the base delivery fee by for UMP.
507
614
  **/
@@ -517,7 +624,8 @@ declare module '@polkadot/api-base/types/storage' {
517
624
  * This value is expected to be set only once per block and it's never stored
518
625
  * in the trie.
519
626
  **/
520
- validationData: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV8PersistedValidationData>>, []> & QueryableStorageEntry<ApiType, []>;
627
+ validationData: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV8PersistedValidationData>>, [
628
+ ]> & QueryableStorageEntry<ApiType, []>;
521
629
  /**
522
630
  * Generic query
523
631
  **/
@@ -529,7 +637,11 @@ declare module '@polkadot/api-base/types/storage' {
529
637
  **/
530
638
  parameters: AugmentedQuery<ApiType, (arg: ShParachainRuntimeConfigsRuntimeParamsRuntimeParametersKey | {
531
639
  RuntimeConfig: any;
532
- } | string | Uint8Array) => Observable<Option<ShParachainRuntimeConfigsRuntimeParamsRuntimeParametersValue>>, [ShParachainRuntimeConfigsRuntimeParamsRuntimeParametersKey]> & QueryableStorageEntry<ApiType, [ShParachainRuntimeConfigsRuntimeParamsRuntimeParametersKey]>;
640
+ } | string | Uint8Array) => Observable<Option<ShParachainRuntimeConfigsRuntimeParamsRuntimeParametersValue>>, [
641
+ ShParachainRuntimeConfigsRuntimeParamsRuntimeParametersKey
642
+ ]> & QueryableStorageEntry<ApiType, [
643
+ ShParachainRuntimeConfigsRuntimeParamsRuntimeParametersKey
644
+ ]>;
533
645
  /**
534
646
  * Generic query
535
647
  **/
@@ -566,7 +678,10 @@ declare module '@polkadot/api-base/types/storage' {
566
678
  * - [update_dynamic_rate_payment_stream](crate::dispatchables::update_dynamic_rate_payment_stream), which updates the entry's `amount_provided`.
567
679
  * - [charge_payment_streams](crate::dispatchables::charge_payment_streams), which updates the entry's `price_index_when_last_charged`.
568
680
  **/
569
- dynamicRatePaymentStreams: AugmentedQuery<ApiType, (arg1: H256 | string | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<PalletPaymentStreamsDynamicRatePaymentStream>>, [H256, AccountId32]> & QueryableStorageEntry<ApiType, [H256, AccountId32]>;
681
+ dynamicRatePaymentStreams: AugmentedQuery<ApiType, (arg1: H256 | string | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<PalletPaymentStreamsDynamicRatePaymentStream>>, [
682
+ H256,
683
+ AccountId32
684
+ ]> & QueryableStorageEntry<ApiType, [H256, AccountId32]>;
570
685
  /**
571
686
  * The double mapping from a Provider, to its provided Users, to their fixed-rate payment streams.
572
687
  *
@@ -578,7 +693,10 @@ declare module '@polkadot/api-base/types/storage' {
578
693
  * - [update_fixed_rate_payment_stream](crate::dispatchables::update_fixed_rate_payment_stream), which updates the entry's `rate`.
579
694
  * - [charge_payment_streams](crate::dispatchables::charge_payment_streams), which updates the entry's `last_charged_tick`.
580
695
  **/
581
- fixedRatePaymentStreams: AugmentedQuery<ApiType, (arg1: H256 | string | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<PalletPaymentStreamsFixedRatePaymentStream>>, [H256, AccountId32]> & QueryableStorageEntry<ApiType, [H256, AccountId32]>;
696
+ fixedRatePaymentStreams: AugmentedQuery<ApiType, (arg1: H256 | string | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<PalletPaymentStreamsFixedRatePaymentStream>>, [
697
+ H256,
698
+ AccountId32
699
+ ]> & QueryableStorageEntry<ApiType, [H256, AccountId32]>;
582
700
  /**
583
701
  * The mapping from a Provider to its last chargeable price index (for dynamic-rate payment streams) and last chargeable tick (for fixed-rate payment streams).
584
702
  *
@@ -587,7 +705,9 @@ declare module '@polkadot/api-base/types/storage' {
587
705
  * This storage is updated in:
588
706
  * - [update_last_chargeable_info](crate::PaymentManager::update_last_chargeable_info), which updates the entry's `last_chargeable_tick` and `price_index`.
589
707
  **/
590
- lastChargeableInfo: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<PalletPaymentStreamsProviderLastChargeableInfo>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
708
+ lastChargeableInfo: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<PalletPaymentStreamsProviderLastChargeableInfo>, [
709
+ H256
710
+ ]> & QueryableStorageEntry<ApiType, [H256]>;
591
711
  /**
592
712
  * The last tick that was processed by this pallet from the Proof Submitters interface.
593
713
  *
@@ -612,7 +732,9 @@ declare module '@polkadot/api-base/types/storage' {
612
732
  * Privileged Providers are those who are allowed to charge up to the current tick in
613
733
  * fixed rate payment streams, regardless of their [`LastChargeableInfo`].
614
734
  **/
615
- privilegedProviders: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<Null>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
735
+ privilegedProviders: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<Null>>, [
736
+ H256
737
+ ]> & QueryableStorageEntry<ApiType, [H256]>;
616
738
  /**
617
739
  * The mapping from a user to if it has been registered to the network and the amount of payment streams it has.
618
740
  *
@@ -625,7 +747,9 @@ declare module '@polkadot/api-base/types/storage' {
625
747
  * - [remove_fixed_rate_payment_stream](crate::dispatchables::remove_fixed_rate_payment_stream), which removes one from this storage and releases the deposit.
626
748
  * - [remove_dynamic_rate_payment_stream](crate::dispatchables::remove_dynamic_rate_payment_stream), which removes one from this storage and releases the deposit.
627
749
  **/
628
- registeredUsers: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u32>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
750
+ registeredUsers: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u32>, [
751
+ AccountId32
752
+ ]> & QueryableStorageEntry<ApiType, [AccountId32]>;
629
753
  /**
630
754
  * The mapping from a user to if it has been flagged for not having enough funds to pay for its requested services.
631
755
  *
@@ -637,7 +761,9 @@ declare module '@polkadot/api-base/types/storage' {
637
761
  * to that moment's tick number if it does not have enough funds.
638
762
  * - [clear_insolvent_flag](crate::utils::clear_insolvent_flag), which clears the user's entry in this map if the cooldown period has passed and the user has paid all its outstanding debt.
639
763
  **/
640
- usersWithoutFunds: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
764
+ usersWithoutFunds: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [
765
+ AccountId32
766
+ ]> & QueryableStorageEntry<ApiType, [AccountId32]>;
641
767
  /**
642
768
  * Generic query
643
769
  **/
@@ -650,19 +776,26 @@ declare module '@polkadot/api-base/types/storage' {
650
776
  * Key is the blake2 256 hash of (origin, versioned `Assets`) pair. Value is the number of
651
777
  * times this pair has been trapped (usually just 1 if it exists at all).
652
778
  **/
653
- assetTraps: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<u32>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
779
+ assetTraps: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<u32>, [
780
+ H256
781
+ ]> & QueryableStorageEntry<ApiType, [H256]>;
654
782
  /**
655
783
  * The current migration's stage, if any.
656
784
  **/
657
- currentMigration: AugmentedQuery<ApiType, () => Observable<Option<PalletXcmVersionMigrationStage>>, []> & QueryableStorageEntry<ApiType, []>;
785
+ currentMigration: AugmentedQuery<ApiType, () => Observable<Option<PalletXcmVersionMigrationStage>>, [
786
+ ]> & QueryableStorageEntry<ApiType, []>;
658
787
  /**
659
788
  * Fungible assets which we know are locked on this chain.
660
789
  **/
661
- lockedFungibles: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<Vec<ITuple<[u128, XcmVersionedLocation]>>>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
790
+ lockedFungibles: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<Vec<ITuple<[u128, XcmVersionedLocation]>>>>, [
791
+ AccountId32
792
+ ]> & QueryableStorageEntry<ApiType, [AccountId32]>;
662
793
  /**
663
794
  * The ongoing queries.
664
795
  **/
665
- queries: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletXcmQueryStatus>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;
796
+ queries: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletXcmQueryStatus>>, [
797
+ u64
798
+ ]> & QueryableStorageEntry<ApiType, [u64]>;
666
799
  /**
667
800
  * The latest available query index.
668
801
  **/
@@ -675,7 +808,8 @@ declare module '@polkadot/api-base/types/storage' {
675
808
  * Only relevant if this pallet is being used as the [`xcm_executor::traits::RecordXcm`]
676
809
  * implementation in the XCM executor configuration.
677
810
  **/
678
- recordedXcm: AugmentedQuery<ApiType, () => Observable<Option<Vec<StagingXcmV5Instruction>>>, []> & QueryableStorageEntry<ApiType, []>;
811
+ recordedXcm: AugmentedQuery<ApiType, () => Observable<Option<Vec<StagingXcmV5Instruction>>>, [
812
+ ]> & QueryableStorageEntry<ApiType, []>;
679
813
  /**
680
814
  * Fungible assets which we know are locked on a remote chain.
681
815
  **/
@@ -685,7 +819,11 @@ declare module '@polkadot/api-base/types/storage' {
685
819
  V4: any;
686
820
  } | {
687
821
  V5: any;
688
- } | string | Uint8Array) => Observable<Option<PalletXcmRemoteLockedFungibleRecord>>, [u32, AccountId32, XcmVersionedAssetId]> & QueryableStorageEntry<ApiType, [u32, AccountId32, XcmVersionedAssetId]>;
822
+ } | string | Uint8Array) => Observable<Option<PalletXcmRemoteLockedFungibleRecord>>, [
823
+ u32,
824
+ AccountId32,
825
+ XcmVersionedAssetId
826
+ ]> & QueryableStorageEntry<ApiType, [u32, AccountId32, XcmVersionedAssetId]>;
689
827
  /**
690
828
  * Default version to encode XCM when latest version of destination is unknown. If `None`,
691
829
  * then the destinations whose XCM version is unknown are considered unreachable.
@@ -710,13 +848,17 @@ declare module '@polkadot/api-base/types/storage' {
710
848
  V4: any;
711
849
  } | {
712
850
  V5: any;
713
- } | string | Uint8Array) => Observable<Option<u32>>, [u32, XcmVersionedLocation]> & QueryableStorageEntry<ApiType, [u32, XcmVersionedLocation]>;
851
+ } | string | Uint8Array) => Observable<Option<u32>>, [
852
+ u32,
853
+ XcmVersionedLocation
854
+ ]> & QueryableStorageEntry<ApiType, [u32, XcmVersionedLocation]>;
714
855
  /**
715
856
  * Destinations whose latest XCM version we would like to know. Duplicates not allowed, and
716
857
  * the `u32` counter is the number of times that a send to the destination has been attempted,
717
858
  * which is used as a prioritization.
718
859
  **/
719
- versionDiscoveryQueue: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[XcmVersionedLocation, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
860
+ versionDiscoveryQueue: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[XcmVersionedLocation, u32]>>>, [
861
+ ]> & QueryableStorageEntry<ApiType, []>;
720
862
  /**
721
863
  * All locations that we have requested version notifications from.
722
864
  **/
@@ -726,7 +868,10 @@ declare module '@polkadot/api-base/types/storage' {
726
868
  V4: any;
727
869
  } | {
728
870
  V5: any;
729
- } | string | Uint8Array) => Observable<Option<u64>>, [u32, XcmVersionedLocation]> & QueryableStorageEntry<ApiType, [u32, XcmVersionedLocation]>;
871
+ } | string | Uint8Array) => Observable<Option<u64>>, [
872
+ u32,
873
+ XcmVersionedLocation
874
+ ]> & QueryableStorageEntry<ApiType, [u32, XcmVersionedLocation]>;
730
875
  /**
731
876
  * The target locations that are subscribed to our version changes, as well as the most recent
732
877
  * of our versions we informed them of.
@@ -737,7 +882,10 @@ declare module '@polkadot/api-base/types/storage' {
737
882
  V4: any;
738
883
  } | {
739
884
  V5: any;
740
- } | string | Uint8Array) => Observable<Option<ITuple<[u64, SpWeightsWeightV2Weight, u32]>>>, [u32, XcmVersionedLocation]> & QueryableStorageEntry<ApiType, [u32, XcmVersionedLocation]>;
885
+ } | string | Uint8Array) => Observable<Option<ITuple<[u64, SpWeightsWeightV2Weight, u32]>>>, [
886
+ u32,
887
+ XcmVersionedLocation
888
+ ]> & QueryableStorageEntry<ApiType, [u32, XcmVersionedLocation]>;
741
889
  /**
742
890
  * Global suspension state of the XCM executor.
743
891
  **/
@@ -807,7 +955,9 @@ declare module '@polkadot/api-base/types/storage' {
807
955
  * This is used to check if the network is presumably under a spam attack.
808
956
  * It is cleared for blocks older than `current_block` - ([`Config::BlockFullnessPeriod`] + 1).
809
957
  **/
810
- pastBlocksWeight: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<SpWeightsWeightV2Weight>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
958
+ pastBlocksWeight: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<SpWeightsWeightV2Weight>>, [
959
+ u32
960
+ ]> & QueryableStorageEntry<ApiType, [u32]>;
811
961
  /**
812
962
  * A priority queue of keys that have been challenged manually.
813
963
  *
@@ -820,7 +970,8 @@ declare module '@polkadot/api-base/types/storage' {
820
970
  * A `BoundedVec` is used because the `parity_scale_codec::MaxEncodedLen` trait
821
971
  * is required, but using a `VecDeque` would be more efficient as this is a FIFO queue.
822
972
  **/
823
- priorityChallengesQueue: AugmentedQuery<ApiType, () => Observable<Vec<PalletProofsDealerCustomChallenge>>, []> & QueryableStorageEntry<ApiType, []>;
973
+ priorityChallengesQueue: AugmentedQuery<ApiType, () => Observable<Vec<PalletProofsDealerCustomChallenge>>, [
974
+ ]> & QueryableStorageEntry<ApiType, []>;
824
975
  /**
825
976
  * A mapping from a Provider to its [`ProofSubmissionRecord`], which stores the last tick
826
977
  * the Provider submitted a proof for, and the next tick the Provider should submit a proof for.
@@ -834,15 +985,21 @@ declare module '@polkadot/api-base/types/storage' {
834
985
  * If the Provider fails to submit a proof in time and is slashed, only `next_tick_to_submit_proof_for`
835
986
  * is updated.
836
987
  **/
837
- providerToProofSubmissionRecord: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletProofsDealerProofSubmissionRecord>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
838
- slashableProviders: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<u32>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
988
+ providerToProofSubmissionRecord: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletProofsDealerProofSubmissionRecord>>, [
989
+ H256
990
+ ]> & QueryableStorageEntry<ApiType, [H256]>;
991
+ slashableProviders: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<u32>>, [
992
+ H256
993
+ ]> & QueryableStorageEntry<ApiType, [H256]>;
839
994
  /**
840
995
  * A mapping from challenges tick to a random seed used for generating the challenges in that tick.
841
996
  *
842
997
  * This is used to keep track of the challenges' seed in the past.
843
998
  * This mapping goes back only [`ChallengeHistoryLengthFor`] blocks. Previous challenges are removed.
844
999
  **/
845
- tickToChallengesSeed: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<H256>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1000
+ tickToChallengesSeed: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<H256>>, [
1001
+ u32
1002
+ ]> & QueryableStorageEntry<ApiType, [u32]>;
846
1003
  /**
847
1004
  * The tick to check and see if Providers failed to submit proofs before their deadline.
848
1005
  *
@@ -864,7 +1021,9 @@ declare module '@polkadot/api-base/types/storage' {
864
1021
  * The vector is bounded by [`MaxCustomChallengesPerBlockFor`].
865
1022
  * This mapping goes back only [`ChallengeHistoryLengthFor`] ticks. Previous challenges are removed.
866
1023
  **/
867
- tickToCheckpointChallenges: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Vec<PalletProofsDealerCustomChallenge>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1024
+ tickToCheckpointChallenges: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Vec<PalletProofsDealerCustomChallenge>>>, [
1025
+ u32
1026
+ ]> & QueryableStorageEntry<ApiType, [u32]>;
868
1027
  /**
869
1028
  * A mapping from challenge tick to a vector of challenged Providers for that tick.
870
1029
  *
@@ -875,7 +1034,10 @@ declare module '@polkadot/api-base/types/storage' {
875
1034
  * Those who are still in the entry by the time the tick is reached are considered to
876
1035
  * have failed to submit a proof and subject to slashing.
877
1036
  **/
878
- tickToProvidersDeadlines: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<Null>>, [u32, H256]> & QueryableStorageEntry<ApiType, [u32, H256]>;
1037
+ tickToProvidersDeadlines: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<Null>>, [
1038
+ u32,
1039
+ H256
1040
+ ]> & QueryableStorageEntry<ApiType, [u32, H256]>;
879
1041
  /**
880
1042
  * A mapping from tick to Providers, which is set if the Provider submitted a valid proof in that tick.
881
1043
  *
@@ -883,7 +1045,9 @@ declare module '@polkadot/api-base/types/storage' {
883
1045
  * ticks, where availability only up to the last [`Config::TargetTicksStorageOfSubmitters`] ticks is guaranteed.
884
1046
  * This storage is then made available for other pallets to use through the `ProofSubmittersInterface`.
885
1047
  **/
886
- validProofSubmittersLastTicks: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<BTreeSet<H256>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1048
+ validProofSubmittersLastTicks: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<BTreeSet<H256>>>, [
1049
+ u32
1050
+ ]> & QueryableStorageEntry<ApiType, [u32]>;
887
1051
  /**
888
1052
  * Generic query
889
1053
  **/
@@ -900,7 +1064,9 @@ declare module '@polkadot/api-base/types/storage' {
900
1064
  * - [confirm_sign_up](crate::dispatchables::confirm_sign_up), which adds a new entry to the map if the account to confirm is a Backup Storage Provider.
901
1065
  * - [bsp_sign_off](crate::dispatchables::bsp_sign_off), which removes the corresponding entry from the map.
902
1066
  **/
903
- accountIdToBackupStorageProviderId: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<H256>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1067
+ accountIdToBackupStorageProviderId: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<H256>>, [
1068
+ AccountId32
1069
+ ]> & QueryableStorageEntry<ApiType, [AccountId32]>;
904
1070
  /**
905
1071
  * The mapping from an AccountId to a MainStorageProviderId.
906
1072
  *
@@ -910,7 +1076,9 @@ declare module '@polkadot/api-base/types/storage' {
910
1076
  * - [confirm_sign_up](crate::dispatchables::confirm_sign_up), which adds a new entry to the map if the account to confirm is a Main Storage Provider.
911
1077
  * - [msp_sign_off](crate::dispatchables::msp_sign_off), which removes the corresponding entry from the map.
912
1078
  **/
913
- accountIdToMainStorageProviderId: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<H256>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1079
+ accountIdToMainStorageProviderId: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<H256>>, [
1080
+ AccountId32
1081
+ ]> & QueryableStorageEntry<ApiType, [AccountId32]>;
914
1082
  /**
915
1083
  * Storage providers currently awaited for to top up their deposit (providers whom have been slashed and as
916
1084
  * a result have a capacity deficit, i.e. their capacity is below their used capacity).
@@ -929,7 +1097,9 @@ declare module '@polkadot/api-base/types/storage' {
929
1097
  BackupStorageProvider: any;
930
1098
  } | {
931
1099
  MainStorageProvider: any;
932
- } | string | Uint8Array) => Observable<Option<PalletStorageProvidersTopUpMetadata>>, [PalletStorageProvidersStorageProviderId]> & QueryableStorageEntry<ApiType, [PalletStorageProvidersStorageProviderId]>;
1100
+ } | string | Uint8Array) => Observable<Option<PalletStorageProvidersTopUpMetadata>>, [
1101
+ PalletStorageProvidersStorageProviderId
1102
+ ]> & QueryableStorageEntry<ApiType, [PalletStorageProvidersStorageProviderId]>;
933
1103
  /**
934
1104
  * The mapping from a BackupStorageProviderId to a BackupStorageProvider.
935
1105
  *
@@ -941,7 +1111,9 @@ declare module '@polkadot/api-base/types/storage' {
941
1111
  * - [bsp_sign_off](crate::dispatchables::bsp_sign_off), which removes the corresponding entry from the map.
942
1112
  * - [change_capacity](crate::dispatchables::change_capacity), which changes the entry's `capacity`.
943
1113
  **/
944
- backupStorageProviders: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletStorageProvidersBackupStorageProvider>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
1114
+ backupStorageProviders: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletStorageProvidersBackupStorageProvider>>, [
1115
+ H256
1116
+ ]> & QueryableStorageEntry<ApiType, [H256]>;
945
1117
  /**
946
1118
  * The amount of Backup Storage Providers that are currently registered in the runtime.
947
1119
  *
@@ -963,7 +1135,9 @@ declare module '@polkadot/api-base/types/storage' {
963
1135
  * - [change_root_bucket](shp_traits::MutateProvidersInterface::change_root_bucket), which changes the corresponding bucket's root.
964
1136
  * - [delete_bucket](shp_traits::MutateProvidersInterface::delete_bucket), which removes the entry of the corresponding bucket.
965
1137
  **/
966
- buckets: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletStorageProvidersBucket>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
1138
+ buckets: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletStorageProvidersBucket>>, [
1139
+ H256
1140
+ ]> & QueryableStorageEntry<ApiType, [H256]>;
967
1141
  /**
968
1142
  * The total global reputation weight of all BSPs.
969
1143
  **/
@@ -977,7 +1151,9 @@ declare module '@polkadot/api-base/types/storage' {
977
1151
  BackupStorageProvider: any;
978
1152
  } | {
979
1153
  MainStorageProvider: any;
980
- } | string | Uint8Array) => Observable<Option<Null>>, [PalletStorageProvidersStorageProviderId]> & QueryableStorageEntry<ApiType, [PalletStorageProvidersStorageProviderId]>;
1154
+ } | string | Uint8Array) => Observable<Option<Null>>, [
1155
+ PalletStorageProvidersStorageProviderId
1156
+ ]> & QueryableStorageEntry<ApiType, [PalletStorageProvidersStorageProviderId]>;
981
1157
  /**
982
1158
  * The double mapping from a MainStorageProviderId to a BucketIds.
983
1159
  *
@@ -987,14 +1163,20 @@ declare module '@polkadot/api-base/types/storage' {
987
1163
  * - [add_bucket](shp_traits::MutateProvidersInterface::add_bucket)
988
1164
  * - [delete_bucket](shp_traits::MutateProvidersInterface::delete_bucket)
989
1165
  **/
990
- mainStorageProviderIdsToBuckets: AugmentedQuery<ApiType, (arg1: H256 | string | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<Null>>, [H256, H256]> & QueryableStorageEntry<ApiType, [H256, H256]>;
1166
+ mainStorageProviderIdsToBuckets: AugmentedQuery<ApiType, (arg1: H256 | string | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<Null>>, [
1167
+ H256,
1168
+ H256
1169
+ ]> & QueryableStorageEntry<ApiType, [H256, H256]>;
991
1170
  /**
992
1171
  * Double mapping from a [`MainStorageProviderId`] to [`ValueProposition`]s.
993
1172
  *
994
1173
  * These are applied at the bucket level. Propositions are the price per [`Config::StorageDataUnit`] per block and the
995
1174
  * limit of data that can be stored in the bucket.
996
1175
  **/
997
- mainStorageProviderIdsToValuePropositions: AugmentedQuery<ApiType, (arg1: H256 | string | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<PalletStorageProvidersValueProposition>>, [H256, H256]> & QueryableStorageEntry<ApiType, [H256, H256]>;
1176
+ mainStorageProviderIdsToValuePropositions: AugmentedQuery<ApiType, (arg1: H256 | string | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<PalletStorageProvidersValueProposition>>, [
1177
+ H256,
1178
+ H256
1179
+ ]> & QueryableStorageEntry<ApiType, [H256, H256]>;
998
1180
  /**
999
1181
  * The mapping from a MainStorageProviderId to a MainStorageProvider.
1000
1182
  *
@@ -1006,7 +1188,9 @@ declare module '@polkadot/api-base/types/storage' {
1006
1188
  * - [msp_sign_off](crate::dispatchables::msp_sign_off), which removes the corresponding entry from the map.
1007
1189
  * - [change_capacity](crate::dispatchables::change_capacity), which changes the entry's `capacity`.
1008
1190
  **/
1009
- mainStorageProviders: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletStorageProvidersMainStorageProvider>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
1191
+ mainStorageProviders: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletStorageProvidersMainStorageProvider>>, [
1192
+ H256
1193
+ ]> & QueryableStorageEntry<ApiType, [H256]>;
1010
1194
  /**
1011
1195
  * The amount of Main Storage Providers that are currently registered in the runtime.
1012
1196
  *
@@ -1022,7 +1206,8 @@ declare module '@polkadot/api-base/types/storage' {
1022
1206
  *
1023
1207
  * This should always be greater or equal than `current_sh_tick` + [`Config::ProviderTopUpTtl`].
1024
1208
  **/
1025
- nextAvailableProviderTopUpExpirationShTick: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1209
+ nextAvailableProviderTopUpExpirationShTick: AugmentedQuery<ApiType, () => Observable<u32>, [
1210
+ ]> & QueryableStorageEntry<ApiType, []>;
1026
1211
  /**
1027
1212
  * A pointer to the starting Storage Hub tick number to clean up expired items.
1028
1213
  *
@@ -1040,7 +1225,9 @@ declare module '@polkadot/api-base/types/storage' {
1040
1225
  * Providers are removed from [`AwaitingTopUpFromProviders`] storage when they have successfully topped up their deposit.
1041
1226
  * If they are still part of the [`AwaitingTopUpFromProviders`] storage after the expiration period, they are marked as insolvent.
1042
1227
  **/
1043
- providerTopUpExpirations: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<PalletStorageProvidersStorageProviderId>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1228
+ providerTopUpExpirations: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<PalletStorageProvidersStorageProviderId>>, [
1229
+ u32
1230
+ ]> & QueryableStorageEntry<ApiType, [u32]>;
1044
1231
  /**
1045
1232
  * The mapping from an AccountId that requested to sign up to a tuple of the metadata with type of the request, and the block
1046
1233
  * number when the request was made.
@@ -1053,7 +1240,9 @@ declare module '@polkadot/api-base/types/storage' {
1053
1240
  * - [request_msp_sign_up](crate::dispatchables::request_msp_sign_up) and [request_bsp_sign_up](crate::dispatchables::request_bsp_sign_up), which add a new entry to the map.
1054
1241
  * - [confirm_sign_up](crate::dispatchables::confirm_sign_up) and [cancel_sign_up](crate::dispatchables::cancel_sign_up), which remove an existing entry from the map.
1055
1242
  **/
1056
- signUpRequests: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletStorageProvidersSignUpRequest>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1243
+ signUpRequests: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletStorageProvidersSignUpRequest>>, [
1244
+ AccountId32
1245
+ ]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1057
1246
  /**
1058
1247
  * The total amount of storage capacity all BSPs have.
1059
1248
  *
@@ -1085,15 +1274,18 @@ declare module '@polkadot/api-base/types/storage' {
1085
1274
  /**
1086
1275
  * The relay chain block (and anchored parachain block) to use when epoch changes
1087
1276
  **/
1088
- lastRelayBlockAndParaBlockValidForNextEpoch: AugmentedQuery<ApiType, () => Observable<ITuple<[u32, u32]>>, []> & QueryableStorageEntry<ApiType, []>;
1277
+ lastRelayBlockAndParaBlockValidForNextEpoch: AugmentedQuery<ApiType, () => Observable<ITuple<[u32, u32]>>, [
1278
+ ]> & QueryableStorageEntry<ApiType, []>;
1089
1279
  /**
1090
1280
  * Latest random seed obtained from the one epoch ago randomness from BABE, and the latest block that it can process randomness requests from
1091
1281
  **/
1092
- latestOneEpochAgoRandomness: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[H256, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
1282
+ latestOneEpochAgoRandomness: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[H256, u32]>>>, [
1283
+ ]> & QueryableStorageEntry<ApiType, []>;
1093
1284
  /**
1094
1285
  * Latest random seed obtained from the parent block randomness from BABE, and the latest block that it can process randomness requests from
1095
1286
  **/
1096
- latestParentBlockRandomness: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[H256, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
1287
+ latestParentBlockRandomness: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[H256, u32]>>>, [
1288
+ ]> & QueryableStorageEntry<ApiType, []>;
1097
1289
  /**
1098
1290
  * Current relay epoch
1099
1291
  **/
@@ -1119,11 +1311,15 @@ declare module '@polkadot/api-base/types/storage' {
1119
1311
  /**
1120
1312
  * The owner of a key. The key is the `KeyTypeId` + the encoded key.
1121
1313
  **/
1122
- keyOwner: AugmentedQuery<ApiType, (arg: ITuple<[SpCoreCryptoKeyTypeId, Bytes]> | [SpCoreCryptoKeyTypeId | string | Uint8Array, Bytes | string | Uint8Array]) => Observable<Option<AccountId32>>, [ITuple<[SpCoreCryptoKeyTypeId, Bytes]>]> & QueryableStorageEntry<ApiType, [ITuple<[SpCoreCryptoKeyTypeId, Bytes]>]>;
1314
+ keyOwner: AugmentedQuery<ApiType, (arg: ITuple<[SpCoreCryptoKeyTypeId, Bytes]> | [SpCoreCryptoKeyTypeId | string | Uint8Array, Bytes | string | Uint8Array]) => Observable<Option<AccountId32>>, [
1315
+ ITuple<[SpCoreCryptoKeyTypeId, Bytes]>
1316
+ ]> & QueryableStorageEntry<ApiType, [ITuple<[SpCoreCryptoKeyTypeId, Bytes]>]>;
1123
1317
  /**
1124
1318
  * The next session keys for a validator.
1125
1319
  **/
1126
- nextKeys: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<ShParachainRuntimeSessionKeys>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1320
+ nextKeys: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<ShParachainRuntimeSessionKeys>>, [
1321
+ AccountId32
1322
+ ]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1127
1323
  /**
1128
1324
  * True if the underlying economic identities or weighting behind the validators
1129
1325
  * has changed in the queued validator set.
@@ -1133,7 +1329,8 @@ declare module '@polkadot/api-base/types/storage' {
1133
1329
  * The queued keys for the next session. When the next session begins, these keys
1134
1330
  * will be used to determine the validator's session keys.
1135
1331
  **/
1136
- queuedKeys: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[AccountId32, ShParachainRuntimeSessionKeys]>>>, []> & QueryableStorageEntry<ApiType, []>;
1332
+ queuedKeys: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[AccountId32, ShParachainRuntimeSessionKeys]>>>, [
1333
+ ]> & QueryableStorageEntry<ApiType, []>;
1137
1334
  /**
1138
1335
  * The current set of validators.
1139
1336
  **/
@@ -1157,7 +1354,9 @@ declare module '@polkadot/api-base/types/storage' {
1157
1354
  /**
1158
1355
  * The full account information for a particular account ID.
1159
1356
  **/
1160
- account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<FrameSystemAccountInfo>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1357
+ account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<FrameSystemAccountInfo>, [
1358
+ AccountId32
1359
+ ]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1161
1360
  /**
1162
1361
  * Total length (in bytes) for all extrinsics put together, for the current block.
1163
1362
  **/
@@ -1165,15 +1364,19 @@ declare module '@polkadot/api-base/types/storage' {
1165
1364
  /**
1166
1365
  * `Some` if a code upgrade has been authorized.
1167
1366
  **/
1168
- authorizedUpgrade: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemCodeUpgradeAuthorization>>, []> & QueryableStorageEntry<ApiType, []>;
1367
+ authorizedUpgrade: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemCodeUpgradeAuthorization>>, [
1368
+ ]> & QueryableStorageEntry<ApiType, []>;
1169
1369
  /**
1170
1370
  * Map of block numbers to block hashes.
1171
1371
  **/
1172
- blockHash: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<H256>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1372
+ blockHash: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<H256>, [
1373
+ u32
1374
+ ]> & QueryableStorageEntry<ApiType, [u32]>;
1173
1375
  /**
1174
1376
  * The current weight for the block.
1175
1377
  **/
1176
- blockWeight: AugmentedQuery<ApiType, () => Observable<FrameSupportDispatchPerDispatchClassWeight>, []> & QueryableStorageEntry<ApiType, []>;
1378
+ blockWeight: AugmentedQuery<ApiType, () => Observable<FrameSupportDispatchPerDispatchClassWeight>, [
1379
+ ]> & QueryableStorageEntry<ApiType, []>;
1177
1380
  /**
1178
1381
  * Digest of the current block, also part of the block header.
1179
1382
  **/
@@ -1204,7 +1407,9 @@ declare module '@polkadot/api-base/types/storage' {
1204
1407
  * the `EventIndex` then in case if the topic has the same contents on the next block
1205
1408
  * no notification will be triggered thus the event might be lost.
1206
1409
  **/
1207
- eventTopics: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Vec<ITuple<[u32, u32]>>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
1410
+ eventTopics: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Vec<ITuple<[u32, u32]>>>, [
1411
+ H256
1412
+ ]> & QueryableStorageEntry<ApiType, [H256]>;
1208
1413
  /**
1209
1414
  * The execution phase of the block.
1210
1415
  **/
@@ -1216,7 +1421,9 @@ declare module '@polkadot/api-base/types/storage' {
1216
1421
  /**
1217
1422
  * Extrinsics data for the current block (maps an extrinsic's index to its data).
1218
1423
  **/
1219
- extrinsicData: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1424
+ extrinsicData: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [
1425
+ u32
1426
+ ]> & QueryableStorageEntry<ApiType, [u32]>;
1220
1427
  /**
1221
1428
  * Whether all inherents have been applied.
1222
1429
  **/
@@ -1224,7 +1431,8 @@ declare module '@polkadot/api-base/types/storage' {
1224
1431
  /**
1225
1432
  * Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened.
1226
1433
  **/
1227
- lastRuntimeUpgrade: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemLastRuntimeUpgradeInfo>>, []> & QueryableStorageEntry<ApiType, []>;
1434
+ lastRuntimeUpgrade: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemLastRuntimeUpgradeInfo>>, [
1435
+ ]> & QueryableStorageEntry<ApiType, []>;
1228
1436
  /**
1229
1437
  * The current block number being processed. Set by `execute_block`.
1230
1438
  **/
@@ -1266,7 +1474,8 @@ declare module '@polkadot/api-base/types/storage' {
1266
1474
  };
1267
1475
  transactionPayment: {
1268
1476
  nextFeeMultiplier: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
1269
- storageVersion: AugmentedQuery<ApiType, () => Observable<PalletTransactionPaymentReleases>, []> & QueryableStorageEntry<ApiType, []>;
1477
+ storageVersion: AugmentedQuery<ApiType, () => Observable<PalletTransactionPaymentReleases>, [
1478
+ ]> & QueryableStorageEntry<ApiType, []>;
1270
1479
  /**
1271
1480
  * Generic query
1272
1481
  **/
@@ -1276,7 +1485,9 @@ declare module '@polkadot/api-base/types/storage' {
1276
1485
  /**
1277
1486
  * The factor to multiply the base delivery fee by.
1278
1487
  **/
1279
- deliveryFeeFactor: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1488
+ deliveryFeeFactor: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u128>, [
1489
+ u32
1490
+ ]> & QueryableStorageEntry<ApiType, [u32]>;
1280
1491
  /**
1281
1492
  * The suspended inbound XCMP channels. All others are not suspended.
1282
1493
  *
@@ -1291,7 +1502,10 @@ declare module '@polkadot/api-base/types/storage' {
1291
1502
  /**
1292
1503
  * The messages outbound in a given XCMP channel.
1293
1504
  **/
1294
- outboundXcmpMessages: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u16 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32, u16]> & QueryableStorageEntry<ApiType, [u32, u16]>;
1505
+ outboundXcmpMessages: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u16 | AnyNumber | Uint8Array) => Observable<Bytes>, [
1506
+ u32,
1507
+ u16
1508
+ ]> & QueryableStorageEntry<ApiType, [u32, u16]>;
1295
1509
  /**
1296
1510
  * The non-empty XCMP channels in order of becoming non-empty, and the index of the first
1297
1511
  * and last outbound message. If the two indices are equal, then it indicates an empty
@@ -1300,11 +1514,13 @@ declare module '@polkadot/api-base/types/storage' {
1300
1514
  * case of the need to send a high-priority signal message this block.
1301
1515
  * The bool is true if there is a signal message waiting to be sent.
1302
1516
  **/
1303
- outboundXcmpStatus: AugmentedQuery<ApiType, () => Observable<Vec<CumulusPalletXcmpQueueOutboundChannelDetails>>, []> & QueryableStorageEntry<ApiType, []>;
1517
+ outboundXcmpStatus: AugmentedQuery<ApiType, () => Observable<Vec<CumulusPalletXcmpQueueOutboundChannelDetails>>, [
1518
+ ]> & QueryableStorageEntry<ApiType, []>;
1304
1519
  /**
1305
1520
  * The configuration which controls the dynamics of the outbound queue.
1306
1521
  **/
1307
- queueConfig: AugmentedQuery<ApiType, () => Observable<CumulusPalletXcmpQueueQueueConfigData>, []> & QueryableStorageEntry<ApiType, []>;
1522
+ queueConfig: AugmentedQuery<ApiType, () => Observable<CumulusPalletXcmpQueueQueueConfigData>, [
1523
+ ]> & QueryableStorageEntry<ApiType, []>;
1308
1524
  /**
1309
1525
  * Whether or not the XCMP queue is suspended from executing incoming XCMs or not.
1310
1526
  **/
@@ -1312,7 +1528,9 @@ declare module '@polkadot/api-base/types/storage' {
1312
1528
  /**
1313
1529
  * Any signal messages waiting to be sent.
1314
1530
  **/
1315
- signalMessages: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1531
+ signalMessages: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [
1532
+ u32
1533
+ ]> & QueryableStorageEntry<ApiType, [u32]>;
1316
1534
  /**
1317
1535
  * Generic query
1318
1536
  **/