@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.
- package/dist/parachain/interfaces/augment-api-consts.js +1 -1
- package/dist/parachain/interfaces/augment-api-errors.js +1 -1
- package/dist/parachain/interfaces/augment-api-events.js +1 -1
- package/dist/parachain/interfaces/augment-api-query.js +1 -1
- package/dist/parachain/interfaces/augment-api-rpc.js +1 -1
- package/dist/parachain/interfaces/augment-api-runtime.js +1 -1
- package/dist/parachain/interfaces/augment-api-tx.js +1 -1
- package/dist/parachain/interfaces/augment-api.js +7 -7
- package/dist/parachain/interfaces/augment-types.js +1 -1
- package/dist/parachain/interfaces/index.js +1 -1
- package/dist/parachain/interfaces/lookup.js +2785 -2373
- package/dist/parachain/interfaces/lookup.js.map +1 -1
- package/dist/parachain/interfaces/registry.js +1 -1
- package/dist/parachain/interfaces/storagehubclient/index.js +1 -1
- package/dist/parachain/interfaces/storagehubclient/runtime.js +5 -0
- package/dist/parachain/interfaces/storagehubclient/runtime.js.map +1 -1
- package/dist/parachain/interfaces/types-lookup.js +1 -1
- package/dist/parachain/interfaces/types.js +1 -1
- package/dist/solochain-evm/interfaces/augment-api-consts.js +1 -1
- package/dist/solochain-evm/interfaces/augment-api-errors.js +1 -1
- package/dist/solochain-evm/interfaces/augment-api-events.js +1 -1
- package/dist/solochain-evm/interfaces/augment-api-query.js +1 -1
- package/dist/solochain-evm/interfaces/augment-api-rpc.js +1 -1
- package/dist/solochain-evm/interfaces/augment-api-runtime.js +1 -1
- package/dist/solochain-evm/interfaces/augment-api-tx.js +1 -1
- package/dist/solochain-evm/interfaces/augment-api.js +7 -7
- package/dist/solochain-evm/interfaces/augment-types.js +1 -1
- package/dist/solochain-evm/interfaces/index.js +1 -1
- package/dist/solochain-evm/interfaces/lookup.js +2029 -1659
- package/dist/solochain-evm/interfaces/lookup.js.map +1 -1
- package/dist/solochain-evm/interfaces/registry.js +1 -1
- package/dist/solochain-evm/interfaces/storagehubclient/index.js +1 -1
- package/dist/solochain-evm/interfaces/types-lookup.js +1 -1
- package/dist/solochain-evm/interfaces/types.js +1 -1
- package/dist/types/parachain/interfaces/augment-api-consts.d.ts +7 -7
- package/dist/types/parachain/interfaces/augment-api-errors.d.ts +7 -3
- package/dist/types/parachain/interfaces/augment-api-events.d.ts +828 -174
- package/dist/types/parachain/interfaces/augment-api-query.d.ts +330 -112
- package/dist/types/parachain/interfaces/augment-api-rpc.d.ts +32 -32
- package/dist/types/parachain/interfaces/augment-api-runtime.d.ts +33 -25
- package/dist/types/parachain/interfaces/augment-api-tx.d.ts +639 -149
- package/dist/types/parachain/interfaces/augment-api.d.ts +7 -7
- package/dist/types/parachain/interfaces/augment-types.d.ts +75 -75
- package/dist/types/parachain/interfaces/index.d.ts +1 -1
- package/dist/types/parachain/interfaces/lookup.d.ts +227 -217
- package/dist/types/parachain/interfaces/registry.d.ts +3 -3
- package/dist/types/parachain/interfaces/storagehubclient/index.d.ts +1 -1
- package/dist/types/parachain/interfaces/storagehubclient/types.d.ts +34 -34
- package/dist/types/parachain/interfaces/types-lookup.d.ts +536 -406
- package/dist/types/parachain/interfaces/types.d.ts +1 -1
- package/dist/types/solochain-evm/interfaces/augment-api-consts.d.ts +7 -7
- package/dist/types/solochain-evm/interfaces/augment-api-errors.d.ts +7 -3
- package/dist/types/solochain-evm/interfaces/augment-api-events.d.ts +674 -139
- package/dist/types/solochain-evm/interfaces/augment-api-query.d.ts +302 -100
- package/dist/types/solochain-evm/interfaces/augment-api-rpc.d.ts +32 -32
- package/dist/types/solochain-evm/interfaces/augment-api-runtime.d.ts +33 -25
- package/dist/types/solochain-evm/interfaces/augment-api-tx.d.ts +584 -132
- package/dist/types/solochain-evm/interfaces/augment-api.d.ts +7 -7
- package/dist/types/solochain-evm/interfaces/augment-types.d.ts +75 -75
- package/dist/types/solochain-evm/interfaces/index.d.ts +1 -1
- package/dist/types/solochain-evm/interfaces/lookup.d.ts +183 -173
- package/dist/types/solochain-evm/interfaces/registry.d.ts +3 -3
- package/dist/types/solochain-evm/interfaces/storagehubclient/index.d.ts +1 -1
- package/dist/types/solochain-evm/interfaces/storagehubclient/types.d.ts +35 -35
- package/dist/types/solochain-evm/interfaces/types-lookup.d.ts +412 -312
- package/dist/types/solochain-evm/interfaces/types.d.ts +1 -1
- package/metadata-sh-parachain.json +1 -1
- package/metadata-sh-solochain-evm.json +1 -1
- package/package.json +2 -2
- package/src/parachain/interfaces/augment-api-errors.ts +4 -0
- package/src/parachain/interfaces/augment-api-events.ts +8 -0
- package/src/parachain/interfaces/augment-api-query.ts +12 -0
- package/src/parachain/interfaces/augment-api-runtime.ts +14 -0
- package/src/parachain/interfaces/augment-api-tx.ts +13 -0
- package/src/parachain/interfaces/lookup.ts +233 -222
- package/src/parachain/interfaces/storagehubclient/runtime.ts +5 -0
- package/src/parachain/interfaces/types-lookup.ts +237 -224
- package/src/solochain-evm/interfaces/augment-api-errors.ts +4 -0
- package/src/solochain-evm/interfaces/augment-api-events.ts +8 -0
- package/src/solochain-evm/interfaces/augment-api-query.ts +12 -0
- package/src/solochain-evm/interfaces/augment-api-runtime.ts +14 -0
- package/src/solochain-evm/interfaces/augment-api-tx.ts +13 -0
- package/src/solochain-evm/interfaces/lookup.ts +189 -178
- package/src/solochain-evm/interfaces/types-lookup.ts +193 -180
- package/storagehub-api-augment-0.2.14.tgz +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import
|
|
2
|
-
import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from
|
|
3
|
-
import type { BTreeSet, Bytes, Null, Option, U256, U8aFixed, Vec, bool, u128, u32, u64, u8 } from
|
|
4
|
-
import type { AnyNumber, ITuple } from
|
|
5
|
-
import type { AccountId20, H160, H256 } from
|
|
6
|
-
import type { EthereumBlock, EthereumReceiptReceiptV3, EthereumTransactionTransactionV2, FpRpcTransactionStatus, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensMiscIdAmountRuntimeFreezeReason, FrameSupportTokensMiscIdAmountRuntimeHoldReason, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletEvmCodeMetadata, PalletFileSystemIncompleteStorageRequestMetadata, PalletFileSystemMoveBucketRequestMetadata, PalletFileSystemPendingFileDeletionRequest, PalletFileSystemPendingStopStoringRequest, PalletFileSystemStorageRequestBspsMetadata, PalletFileSystemStorageRequestMetadata, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletNftsAttributeDeposit, PalletNftsAttributeNamespace, PalletNftsCollectionConfig, PalletNftsCollectionDetails, PalletNftsCollectionMetadata, PalletNftsItemConfig, PalletNftsItemDetails, PalletNftsItemMetadata, PalletNftsPendingSwap, PalletPaymentStreamsDynamicRatePaymentStream, PalletPaymentStreamsFixedRatePaymentStream, PalletPaymentStreamsProviderLastChargeableInfo, PalletProofsDealerCustomChallenge, PalletProofsDealerProofSubmissionRecord, PalletStorageProvidersBackupStorageProvider, PalletStorageProvidersBucket, PalletStorageProvidersMainStorageProvider, PalletStorageProvidersSignUpRequest, PalletStorageProvidersStorageProviderId, PalletStorageProvidersTopUpMetadata, PalletStorageProvidersValueProposition, PalletTransactionPaymentReleases, ShSolochainEvmRuntimeConfigsRuntimeParamsRuntimeParametersKey, ShSolochainEvmRuntimeConfigsRuntimeParamsRuntimeParametersValue, ShSolochainEvmRuntimeSessionKeys, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpRuntimeDigest, SpStakingOffenceOffenceDetails, SpWeightsWeightV2Weight } from
|
|
7
|
-
import type { Observable } from
|
|
1
|
+
import "@polkadot/api-base/types/storage";
|
|
2
|
+
import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from "@polkadot/api-base/types";
|
|
3
|
+
import type { BTreeSet, Bytes, Null, Option, U256, U8aFixed, Vec, bool, u128, u32, u64, u8 } from "@polkadot/types-codec";
|
|
4
|
+
import type { AnyNumber, ITuple } from "@polkadot/types-codec/types";
|
|
5
|
+
import type { AccountId20, H160, H256 } from "@polkadot/types/interfaces/runtime";
|
|
6
|
+
import type { EthereumBlock, EthereumReceiptReceiptV3, EthereumTransactionTransactionV2, FpRpcTransactionStatus, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensMiscIdAmountRuntimeFreezeReason, FrameSupportTokensMiscIdAmountRuntimeHoldReason, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletEvmCodeMetadata, PalletFileSystemIncompleteStorageRequestMetadata, PalletFileSystemMoveBucketRequestMetadata, PalletFileSystemPendingFileDeletionRequest, PalletFileSystemPendingStopStoringRequest, PalletFileSystemStorageRequestBspsMetadata, PalletFileSystemStorageRequestMetadata, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletNftsAttributeDeposit, PalletNftsAttributeNamespace, PalletNftsCollectionConfig, PalletNftsCollectionDetails, PalletNftsCollectionMetadata, PalletNftsItemConfig, PalletNftsItemDetails, PalletNftsItemMetadata, PalletNftsPendingSwap, PalletPaymentStreamsDynamicRatePaymentStream, PalletPaymentStreamsFixedRatePaymentStream, PalletPaymentStreamsProviderLastChargeableInfo, PalletProofsDealerCustomChallenge, PalletProofsDealerProofSubmissionRecord, PalletStorageProvidersBackupStorageProvider, PalletStorageProvidersBucket, PalletStorageProvidersMainStorageProvider, PalletStorageProvidersSignUpRequest, PalletStorageProvidersStorageProviderId, PalletStorageProvidersTopUpMetadata, PalletStorageProvidersValueProposition, PalletTransactionPaymentReleases, ShSolochainEvmRuntimeConfigsRuntimeParamsRuntimeParametersKey, ShSolochainEvmRuntimeConfigsRuntimeParamsRuntimeParametersValue, ShSolochainEvmRuntimeSessionKeys, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpRuntimeDigest, SpStakingOffenceOffenceDetails, SpWeightsWeightV2Weight } 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
|
|
10
|
+
declare module "@polkadot/api-base/types/storage" {
|
|
11
11
|
interface AugmentedQueries<ApiType extends ApiTypes> {
|
|
12
12
|
authorship: {
|
|
13
13
|
/**
|
|
@@ -23,7 +23,8 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
23
23
|
/**
|
|
24
24
|
* Current epoch authorities.
|
|
25
25
|
**/
|
|
26
|
-
authorities: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[SpConsensusBabeAppPublic, u64]>>>, [
|
|
26
|
+
authorities: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[SpConsensusBabeAppPublic, u64]>>>, [
|
|
27
|
+
]> & QueryableStorageEntry<ApiType, []>;
|
|
27
28
|
/**
|
|
28
29
|
* This field should always be populated during block processing unless
|
|
29
30
|
* secondary plain slots are enabled (which don't contain a VRF output).
|
|
@@ -39,7 +40,8 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
39
40
|
* The configuration for the current epoch. Should never be `None` as it is initialized in
|
|
40
41
|
* genesis.
|
|
41
42
|
**/
|
|
42
|
-
epochConfig: AugmentedQuery<ApiType, () => Observable<Option<SpConsensusBabeBabeEpochConfiguration>>, [
|
|
43
|
+
epochConfig: AugmentedQuery<ApiType, () => Observable<Option<SpConsensusBabeBabeEpochConfiguration>>, [
|
|
44
|
+
]> & QueryableStorageEntry<ApiType, []>;
|
|
43
45
|
/**
|
|
44
46
|
* Current epoch index.
|
|
45
47
|
**/
|
|
@@ -61,7 +63,8 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
61
63
|
* Temporary value (cleared at block finalization) which is `Some`
|
|
62
64
|
* if per-block initialization has already been called for current block.
|
|
63
65
|
**/
|
|
64
|
-
initialized: AugmentedQuery<ApiType, () => Observable<Option<Option<SpConsensusBabeDigestsPreDigest>>>, [
|
|
66
|
+
initialized: AugmentedQuery<ApiType, () => Observable<Option<Option<SpConsensusBabeDigestsPreDigest>>>, [
|
|
67
|
+
]> & QueryableStorageEntry<ApiType, []>;
|
|
65
68
|
/**
|
|
66
69
|
* How late the current block is compared to its parent.
|
|
67
70
|
*
|
|
@@ -73,12 +76,14 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
73
76
|
/**
|
|
74
77
|
* Next epoch authorities.
|
|
75
78
|
**/
|
|
76
|
-
nextAuthorities: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[SpConsensusBabeAppPublic, u64]>>>, [
|
|
79
|
+
nextAuthorities: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[SpConsensusBabeAppPublic, u64]>>>, [
|
|
80
|
+
]> & QueryableStorageEntry<ApiType, []>;
|
|
77
81
|
/**
|
|
78
82
|
* The configuration for the next epoch, `None` if the config will not change
|
|
79
83
|
* (you can fallback to `EpochConfig` instead in that case).
|
|
80
84
|
**/
|
|
81
|
-
nextEpochConfig: AugmentedQuery<ApiType, () => Observable<Option<SpConsensusBabeBabeEpochConfiguration>>, [
|
|
85
|
+
nextEpochConfig: AugmentedQuery<ApiType, () => Observable<Option<SpConsensusBabeBabeEpochConfiguration>>, [
|
|
86
|
+
]> & QueryableStorageEntry<ApiType, []>;
|
|
82
87
|
/**
|
|
83
88
|
* Next epoch randomness.
|
|
84
89
|
**/
|
|
@@ -86,7 +91,8 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
86
91
|
/**
|
|
87
92
|
* Pending epoch configuration change that will be applied when the next epoch is enacted.
|
|
88
93
|
**/
|
|
89
|
-
pendingEpochConfigChange: AugmentedQuery<ApiType, () => Observable<Option<SpConsensusBabeDigestsNextConfigDescriptor>>, [
|
|
94
|
+
pendingEpochConfigChange: AugmentedQuery<ApiType, () => Observable<Option<SpConsensusBabeDigestsNextConfigDescriptor>>, [
|
|
95
|
+
]> & QueryableStorageEntry<ApiType, []>;
|
|
90
96
|
/**
|
|
91
97
|
* The epoch randomness for the *current* epoch.
|
|
92
98
|
*
|
|
@@ -126,7 +132,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
126
132
|
/**
|
|
127
133
|
* TWOX-NOTE: `SegmentIndex` is an increasing integer, so this is okay.
|
|
128
134
|
**/
|
|
129
|
-
underConstruction: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<U8aFixed>>, [
|
|
135
|
+
underConstruction: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<U8aFixed>>, [
|
|
136
|
+
u32
|
|
137
|
+
]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
130
138
|
/**
|
|
131
139
|
* Generic query
|
|
132
140
|
**/
|
|
@@ -159,15 +167,21 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
159
167
|
* `Balances` pallet, which uses a `StorageMap` to store balances data only.
|
|
160
168
|
* NOTE: This is only used in the case that this pallet is used to store balances.
|
|
161
169
|
**/
|
|
162
|
-
account: AugmentedQuery<ApiType, (arg: AccountId20 | string | Uint8Array) => Observable<PalletBalancesAccountData>, [
|
|
170
|
+
account: AugmentedQuery<ApiType, (arg: AccountId20 | string | Uint8Array) => Observable<PalletBalancesAccountData>, [
|
|
171
|
+
AccountId20
|
|
172
|
+
]> & QueryableStorageEntry<ApiType, [AccountId20]>;
|
|
163
173
|
/**
|
|
164
174
|
* Freeze locks on account balances.
|
|
165
175
|
**/
|
|
166
|
-
freezes: AugmentedQuery<ApiType, (arg: AccountId20 | string | Uint8Array) => Observable<Vec<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>>, [
|
|
176
|
+
freezes: AugmentedQuery<ApiType, (arg: AccountId20 | string | Uint8Array) => Observable<Vec<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>>, [
|
|
177
|
+
AccountId20
|
|
178
|
+
]> & QueryableStorageEntry<ApiType, [AccountId20]>;
|
|
167
179
|
/**
|
|
168
180
|
* Holds on account balances.
|
|
169
181
|
**/
|
|
170
|
-
holds: AugmentedQuery<ApiType, (arg: AccountId20 | string | Uint8Array) => Observable<Vec<FrameSupportTokensMiscIdAmountRuntimeHoldReason>>, [
|
|
182
|
+
holds: AugmentedQuery<ApiType, (arg: AccountId20 | string | Uint8Array) => Observable<Vec<FrameSupportTokensMiscIdAmountRuntimeHoldReason>>, [
|
|
183
|
+
AccountId20
|
|
184
|
+
]> & QueryableStorageEntry<ApiType, [AccountId20]>;
|
|
171
185
|
/**
|
|
172
186
|
* The total units of outstanding deactivated balance in the system.
|
|
173
187
|
**/
|
|
@@ -178,13 +192,17 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
178
192
|
*
|
|
179
193
|
* Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`
|
|
180
194
|
**/
|
|
181
|
-
locks: AugmentedQuery<ApiType, (arg: AccountId20 | string | Uint8Array) => Observable<Vec<PalletBalancesBalanceLock>>, [
|
|
195
|
+
locks: AugmentedQuery<ApiType, (arg: AccountId20 | string | Uint8Array) => Observable<Vec<PalletBalancesBalanceLock>>, [
|
|
196
|
+
AccountId20
|
|
197
|
+
]> & QueryableStorageEntry<ApiType, [AccountId20]>;
|
|
182
198
|
/**
|
|
183
199
|
* Named reserves on some account balances.
|
|
184
200
|
*
|
|
185
201
|
* Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`
|
|
186
202
|
**/
|
|
187
|
-
reserves: AugmentedQuery<ApiType, (arg: AccountId20 | string | Uint8Array) => Observable<Vec<PalletBalancesReserveData>>, [
|
|
203
|
+
reserves: AugmentedQuery<ApiType, (arg: AccountId20 | string | Uint8Array) => Observable<Vec<PalletBalancesReserveData>>, [
|
|
204
|
+
AccountId20
|
|
205
|
+
]> & QueryableStorageEntry<ApiType, [AccountId20]>;
|
|
188
206
|
/**
|
|
189
207
|
* The total units issued in the system.
|
|
190
208
|
**/
|
|
@@ -195,7 +213,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
195
213
|
[key: string]: QueryableStorageEntry<ApiType>;
|
|
196
214
|
};
|
|
197
215
|
ethereum: {
|
|
198
|
-
blockHash: AugmentedQuery<ApiType, (arg: U256 | AnyNumber | Uint8Array) => Observable<H256>, [
|
|
216
|
+
blockHash: AugmentedQuery<ApiType, (arg: U256 | AnyNumber | Uint8Array) => Observable<H256>, [
|
|
217
|
+
U256
|
|
218
|
+
]> & QueryableStorageEntry<ApiType, [U256]>;
|
|
199
219
|
/**
|
|
200
220
|
* Counter for the related counted storage map
|
|
201
221
|
**/
|
|
@@ -207,24 +227,39 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
207
227
|
/**
|
|
208
228
|
* The current Ethereum receipts.
|
|
209
229
|
**/
|
|
210
|
-
currentReceipts: AugmentedQuery<ApiType, () => Observable<Option<Vec<EthereumReceiptReceiptV3>>>, [
|
|
230
|
+
currentReceipts: AugmentedQuery<ApiType, () => Observable<Option<Vec<EthereumReceiptReceiptV3>>>, [
|
|
231
|
+
]> & QueryableStorageEntry<ApiType, []>;
|
|
211
232
|
/**
|
|
212
233
|
* The current transaction statuses.
|
|
213
234
|
**/
|
|
214
|
-
currentTransactionStatuses: AugmentedQuery<ApiType, () => Observable<Option<Vec<FpRpcTransactionStatus>>>, [
|
|
235
|
+
currentTransactionStatuses: AugmentedQuery<ApiType, () => Observable<Option<Vec<FpRpcTransactionStatus>>>, [
|
|
236
|
+
]> & QueryableStorageEntry<ApiType, []>;
|
|
215
237
|
/**
|
|
216
238
|
* Mapping from transaction index to transaction in the current building block.
|
|
217
239
|
**/
|
|
218
|
-
pending: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[
|
|
240
|
+
pending: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[
|
|
241
|
+
EthereumTransactionTransactionV2,
|
|
242
|
+
FpRpcTransactionStatus,
|
|
243
|
+
EthereumReceiptReceiptV3
|
|
244
|
+
]>>>, [
|
|
245
|
+
u32
|
|
246
|
+
]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
219
247
|
/**
|
|
220
248
|
* Generic query
|
|
221
249
|
**/
|
|
222
250
|
[key: string]: QueryableStorageEntry<ApiType>;
|
|
223
251
|
};
|
|
224
252
|
evm: {
|
|
225
|
-
accountCodes: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Bytes>, [
|
|
226
|
-
|
|
227
|
-
|
|
253
|
+
accountCodes: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Bytes>, [
|
|
254
|
+
H160
|
|
255
|
+
]> & QueryableStorageEntry<ApiType, [H160]>;
|
|
256
|
+
accountCodesMetadata: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Option<PalletEvmCodeMetadata>>, [
|
|
257
|
+
H160
|
|
258
|
+
]> & QueryableStorageEntry<ApiType, [H160]>;
|
|
259
|
+
accountStorages: AugmentedQuery<ApiType, (arg1: H160 | string | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<H256>, [
|
|
260
|
+
H160,
|
|
261
|
+
H256
|
|
262
|
+
]> & QueryableStorageEntry<ApiType, [H160, H256]>;
|
|
228
263
|
/**
|
|
229
264
|
* Generic query
|
|
230
265
|
**/
|
|
@@ -244,7 +279,10 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
244
279
|
/**
|
|
245
280
|
* Bookkeeping of the buckets containing open storage requests.
|
|
246
281
|
**/
|
|
247
|
-
bucketsWithStorageRequests: AugmentedQuery<ApiType, (arg1: H256 | string | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<Null>>, [
|
|
282
|
+
bucketsWithStorageRequests: AugmentedQuery<ApiType, (arg1: H256 | string | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<Null>>, [
|
|
283
|
+
H256,
|
|
284
|
+
H256
|
|
285
|
+
]> & QueryableStorageEntry<ApiType, [H256, H256]>;
|
|
248
286
|
/**
|
|
249
287
|
* Incomplete storage requests with pending provider file removal.
|
|
250
288
|
*
|
|
@@ -252,11 +290,15 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
252
290
|
* confirmed providers storing files. Each entry tracks which providers still need to remove
|
|
253
291
|
* their files. Once all providers have removed their files, the entry is automatically cleaned up.
|
|
254
292
|
**/
|
|
255
|
-
incompleteStorageRequests: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletFileSystemIncompleteStorageRequestMetadata>>, [
|
|
293
|
+
incompleteStorageRequests: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletFileSystemIncompleteStorageRequestMetadata>>, [
|
|
294
|
+
H256
|
|
295
|
+
]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
256
296
|
/**
|
|
257
297
|
* A map of ticks to expired move bucket requests.
|
|
258
298
|
**/
|
|
259
|
-
moveBucketRequestExpirations: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<H256>>, [
|
|
299
|
+
moveBucketRequestExpirations: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<H256>>, [
|
|
300
|
+
u32
|
|
301
|
+
]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
260
302
|
/**
|
|
261
303
|
* Mapping from MSPs to the amount of pending file deletion requests they have.
|
|
262
304
|
*
|
|
@@ -264,19 +306,23 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
264
306
|
* from the privileged providers list if they have at least one, and are added back if they have none.
|
|
265
307
|
* This is to ensure that MSPs are correctly incentivised to submit the required proofs for file deletions.
|
|
266
308
|
**/
|
|
267
|
-
mspsAmountOfPendingFileDeletionRequests: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<u32>, [
|
|
309
|
+
mspsAmountOfPendingFileDeletionRequests: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<u32>, [
|
|
310
|
+
H256
|
|
311
|
+
]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
268
312
|
/**
|
|
269
313
|
* A pointer to the earliest available tick to insert a new move bucket request expiration.
|
|
270
314
|
*
|
|
271
315
|
* This should always be greater or equal than current tick + [`Config::MoveBucketRequestTtl`].
|
|
272
316
|
**/
|
|
273
|
-
nextAvailableMoveBucketRequestExpirationTick: AugmentedQuery<ApiType, () => Observable<u32>, [
|
|
317
|
+
nextAvailableMoveBucketRequestExpirationTick: AugmentedQuery<ApiType, () => Observable<u32>, [
|
|
318
|
+
]> & QueryableStorageEntry<ApiType, []>;
|
|
274
319
|
/**
|
|
275
320
|
* A pointer to the earliest available tick to insert a new storage request expiration.
|
|
276
321
|
*
|
|
277
322
|
* This should always be greater or equal than current tick + [`Config::StorageRequestTtl`].
|
|
278
323
|
**/
|
|
279
|
-
nextAvailableStorageRequestExpirationTick: AugmentedQuery<ApiType, () => Observable<u32>, [
|
|
324
|
+
nextAvailableStorageRequestExpirationTick: AugmentedQuery<ApiType, () => Observable<u32>, [
|
|
325
|
+
]> & QueryableStorageEntry<ApiType, []>;
|
|
280
326
|
/**
|
|
281
327
|
* A pointer to the starting tick to clean up expired items.
|
|
282
328
|
*
|
|
@@ -290,14 +336,18 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
290
336
|
*
|
|
291
337
|
* A mapping from a user Account ID to a list of pending file deletion requests (which have the file information).
|
|
292
338
|
**/
|
|
293
|
-
pendingFileDeletionRequests: AugmentedQuery<ApiType, (arg: AccountId20 | string | Uint8Array) => Observable<Vec<PalletFileSystemPendingFileDeletionRequest>>, [
|
|
339
|
+
pendingFileDeletionRequests: AugmentedQuery<ApiType, (arg: AccountId20 | string | Uint8Array) => Observable<Vec<PalletFileSystemPendingFileDeletionRequest>>, [
|
|
340
|
+
AccountId20
|
|
341
|
+
]> & QueryableStorageEntry<ApiType, [AccountId20]>;
|
|
294
342
|
/**
|
|
295
343
|
* Pending move bucket requests.
|
|
296
344
|
*
|
|
297
345
|
* A mapping from Bucket ID to their move bucket request metadata, which includes the new MSP
|
|
298
346
|
* and value propositions that this bucket would take if accepted.
|
|
299
347
|
**/
|
|
300
|
-
pendingMoveBucketRequests: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletFileSystemMoveBucketRequestMetadata>>, [
|
|
348
|
+
pendingMoveBucketRequests: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletFileSystemMoveBucketRequestMetadata>>, [
|
|
349
|
+
H256
|
|
350
|
+
]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
301
351
|
/**
|
|
302
352
|
* Pending file stop storing requests.
|
|
303
353
|
*
|
|
@@ -307,7 +357,10 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
307
357
|
* of missing files. The size is to be able to decrease their used capacity when they confirm to stop storing the file.
|
|
308
358
|
* The owner is to be able to update the payment stream between the user and the BSP.
|
|
309
359
|
**/
|
|
310
|
-
pendingStopStoringRequests: AugmentedQuery<ApiType, (arg1: H256 | string | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<PalletFileSystemPendingStopStoringRequest>>, [
|
|
360
|
+
pendingStopStoringRequests: AugmentedQuery<ApiType, (arg1: H256 | string | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<PalletFileSystemPendingStopStoringRequest>>, [
|
|
361
|
+
H256,
|
|
362
|
+
H256
|
|
363
|
+
]> & QueryableStorageEntry<ApiType, [H256, H256]>;
|
|
311
364
|
/**
|
|
312
365
|
* 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.
|
|
313
366
|
*
|
|
@@ -316,12 +369,30 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
316
369
|
*
|
|
317
370
|
* When a storage request is expired or removed, the corresponding file key prefix in this map is removed.
|
|
318
371
|
**/
|
|
319
|
-
storageRequestBsps: AugmentedQuery<ApiType, (arg1: H256 | string | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<PalletFileSystemStorageRequestBspsMetadata>>, [
|
|
372
|
+
storageRequestBsps: AugmentedQuery<ApiType, (arg1: H256 | string | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<PalletFileSystemStorageRequestBspsMetadata>>, [
|
|
373
|
+
H256,
|
|
374
|
+
H256
|
|
375
|
+
]> & QueryableStorageEntry<ApiType, [H256, H256]>;
|
|
320
376
|
/**
|
|
321
377
|
* A map of ticks to expired storage requests.
|
|
322
378
|
**/
|
|
323
|
-
storageRequestExpirations: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<H256>>, [
|
|
324
|
-
|
|
379
|
+
storageRequestExpirations: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<H256>>, [
|
|
380
|
+
u32
|
|
381
|
+
]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
382
|
+
storageRequests: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletFileSystemStorageRequestMetadata>>, [
|
|
383
|
+
H256
|
|
384
|
+
]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
385
|
+
/**
|
|
386
|
+
* Bitmask controlling which user operations are currently paused.
|
|
387
|
+
*
|
|
388
|
+
* When a particular bit is set in this mask, the corresponding user operation in this pallet
|
|
389
|
+
* is considered paused and should fail with [`Error::UserOperationPaused`].
|
|
390
|
+
*
|
|
391
|
+
* By default this is initialised to [`UserOperationPauseFlags::NONE`], meaning no operations
|
|
392
|
+
* are paused. Governance (for example via sudo) can update it using the
|
|
393
|
+
* `set_user_operation_pause_flags` extrinsic.
|
|
394
|
+
**/
|
|
395
|
+
userOperationPauseFlagsStorage: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
325
396
|
/**
|
|
326
397
|
* Generic query
|
|
327
398
|
**/
|
|
@@ -331,7 +402,8 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
331
402
|
/**
|
|
332
403
|
* The current list of authorities.
|
|
333
404
|
**/
|
|
334
|
-
authorities: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>>>, [
|
|
405
|
+
authorities: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>>>, [
|
|
406
|
+
]> & QueryableStorageEntry<ApiType, []>;
|
|
335
407
|
/**
|
|
336
408
|
* The number of changes (both in terms of keys and underlying economic responsibilities)
|
|
337
409
|
* in the "set" of Grandpa validators from genesis.
|
|
@@ -344,7 +416,8 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
344
416
|
/**
|
|
345
417
|
* Pending change: (signaled at, scheduled change).
|
|
346
418
|
**/
|
|
347
|
-
pendingChange: AugmentedQuery<ApiType, () => Observable<Option<PalletGrandpaStoredPendingChange>>, [
|
|
419
|
+
pendingChange: AugmentedQuery<ApiType, () => Observable<Option<PalletGrandpaStoredPendingChange>>, [
|
|
420
|
+
]> & QueryableStorageEntry<ApiType, []>;
|
|
348
421
|
/**
|
|
349
422
|
* A mapping from grandpa set ID to the index of the *most recent* session for which its
|
|
350
423
|
* members were responsible.
|
|
@@ -357,7 +430,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
357
430
|
*
|
|
358
431
|
* TWOX-NOTE: `SetId` is not under user control.
|
|
359
432
|
**/
|
|
360
|
-
setIdSession: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [
|
|
433
|
+
setIdSession: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [
|
|
434
|
+
u64
|
|
435
|
+
]> & QueryableStorageEntry<ApiType, [u64]>;
|
|
361
436
|
/**
|
|
362
437
|
* `true` if we are currently stalled.
|
|
363
438
|
**/
|
|
@@ -375,7 +450,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
375
450
|
/**
|
|
376
451
|
* Mapping from historical session indices to session-data root hash and validator count.
|
|
377
452
|
**/
|
|
378
|
-
historicalSessions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[H256, u32]>>>, [
|
|
453
|
+
historicalSessions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[H256, u32]>>>, [
|
|
454
|
+
u32
|
|
455
|
+
]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
379
456
|
/**
|
|
380
457
|
* The range of historical sessions we store. [first, last)
|
|
381
458
|
**/
|
|
@@ -390,7 +467,11 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
390
467
|
* The items held by any given account; set out this way so that items owned by a single
|
|
391
468
|
* account can be enumerated.
|
|
392
469
|
**/
|
|
393
|
-
account: AugmentedQuery<ApiType, (arg1: AccountId20 | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: u32 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [
|
|
470
|
+
account: AugmentedQuery<ApiType, (arg1: AccountId20 | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: u32 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [
|
|
471
|
+
AccountId20,
|
|
472
|
+
u32,
|
|
473
|
+
u32
|
|
474
|
+
]> & QueryableStorageEntry<ApiType, [AccountId20, u32, u32]>;
|
|
394
475
|
/**
|
|
395
476
|
* Attributes of a collection.
|
|
396
477
|
**/
|
|
@@ -402,49 +483,81 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
402
483
|
ItemOwner: any;
|
|
403
484
|
} | {
|
|
404
485
|
Account: any;
|
|
405
|
-
} | string | Uint8Array, arg4: Bytes | string | Uint8Array) => Observable<Option<ITuple<[Bytes, PalletNftsAttributeDeposit]>>>, [
|
|
486
|
+
} | string | Uint8Array, arg4: Bytes | string | Uint8Array) => Observable<Option<ITuple<[Bytes, PalletNftsAttributeDeposit]>>>, [
|
|
487
|
+
u32,
|
|
488
|
+
Option<u32>,
|
|
489
|
+
PalletNftsAttributeNamespace,
|
|
490
|
+
Bytes
|
|
491
|
+
]> & QueryableStorageEntry<ApiType, [u32, Option<u32>, PalletNftsAttributeNamespace, Bytes]>;
|
|
406
492
|
/**
|
|
407
493
|
* Details of a collection.
|
|
408
494
|
**/
|
|
409
|
-
collection: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNftsCollectionDetails>>, [
|
|
495
|
+
collection: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNftsCollectionDetails>>, [
|
|
496
|
+
u32
|
|
497
|
+
]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
410
498
|
/**
|
|
411
499
|
* The collections owned by any given account; set out this way so that collections owned by
|
|
412
500
|
* a single account can be enumerated.
|
|
413
501
|
**/
|
|
414
|
-
collectionAccount: AugmentedQuery<ApiType, (arg1: AccountId20 | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [
|
|
502
|
+
collectionAccount: AugmentedQuery<ApiType, (arg1: AccountId20 | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [
|
|
503
|
+
AccountId20,
|
|
504
|
+
u32
|
|
505
|
+
]> & QueryableStorageEntry<ApiType, [AccountId20, u32]>;
|
|
415
506
|
/**
|
|
416
507
|
* Config of a collection.
|
|
417
508
|
**/
|
|
418
|
-
collectionConfigOf: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNftsCollectionConfig>>, [
|
|
509
|
+
collectionConfigOf: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNftsCollectionConfig>>, [
|
|
510
|
+
u32
|
|
511
|
+
]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
419
512
|
/**
|
|
420
513
|
* Metadata of a collection.
|
|
421
514
|
**/
|
|
422
|
-
collectionMetadataOf: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNftsCollectionMetadata>>, [
|
|
515
|
+
collectionMetadataOf: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNftsCollectionMetadata>>, [
|
|
516
|
+
u32
|
|
517
|
+
]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
423
518
|
/**
|
|
424
519
|
* The items in existence and their ownership details.
|
|
425
520
|
* Stores collection roles as per account.
|
|
426
521
|
**/
|
|
427
|
-
collectionRoleOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId20 | string | Uint8Array) => Observable<Option<u8>>, [
|
|
522
|
+
collectionRoleOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId20 | string | Uint8Array) => Observable<Option<u8>>, [
|
|
523
|
+
u32,
|
|
524
|
+
AccountId20
|
|
525
|
+
]> & QueryableStorageEntry<ApiType, [u32, AccountId20]>;
|
|
428
526
|
/**
|
|
429
527
|
* The items in existence and their ownership details.
|
|
430
528
|
**/
|
|
431
|
-
item: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNftsItemDetails>>, [
|
|
529
|
+
item: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNftsItemDetails>>, [
|
|
530
|
+
u32,
|
|
531
|
+
u32
|
|
532
|
+
]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
|
432
533
|
/**
|
|
433
534
|
* Item attribute approvals.
|
|
434
535
|
**/
|
|
435
|
-
itemAttributesApprovalsOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<BTreeSet<AccountId20>>, [
|
|
536
|
+
itemAttributesApprovalsOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<BTreeSet<AccountId20>>, [
|
|
537
|
+
u32,
|
|
538
|
+
u32
|
|
539
|
+
]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
|
436
540
|
/**
|
|
437
541
|
* Config of an item.
|
|
438
542
|
**/
|
|
439
|
-
itemConfigOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNftsItemConfig>>, [
|
|
543
|
+
itemConfigOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNftsItemConfig>>, [
|
|
544
|
+
u32,
|
|
545
|
+
u32
|
|
546
|
+
]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
|
440
547
|
/**
|
|
441
548
|
* Metadata of an item.
|
|
442
549
|
**/
|
|
443
|
-
itemMetadataOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNftsItemMetadata>>, [
|
|
550
|
+
itemMetadataOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNftsItemMetadata>>, [
|
|
551
|
+
u32,
|
|
552
|
+
u32
|
|
553
|
+
]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
|
444
554
|
/**
|
|
445
555
|
* A price of an item.
|
|
446
556
|
**/
|
|
447
|
-
itemPriceOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[u128, Option<AccountId20>]>>>, [
|
|
557
|
+
itemPriceOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[u128, Option<AccountId20>]>>>, [
|
|
558
|
+
u32,
|
|
559
|
+
u32
|
|
560
|
+
]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
|
448
561
|
/**
|
|
449
562
|
* Stores the `CollectionId` that is going to be used for the next collection.
|
|
450
563
|
* This gets incremented whenever a new collection is created.
|
|
@@ -453,11 +566,16 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
453
566
|
/**
|
|
454
567
|
* The collection, if any, of which an account is willing to take ownership.
|
|
455
568
|
**/
|
|
456
|
-
ownershipAcceptance: AugmentedQuery<ApiType, (arg: AccountId20 | string | Uint8Array) => Observable<Option<u32>>, [
|
|
569
|
+
ownershipAcceptance: AugmentedQuery<ApiType, (arg: AccountId20 | string | Uint8Array) => Observable<Option<u32>>, [
|
|
570
|
+
AccountId20
|
|
571
|
+
]> & QueryableStorageEntry<ApiType, [AccountId20]>;
|
|
457
572
|
/**
|
|
458
573
|
* Handles all the pending swaps.
|
|
459
574
|
**/
|
|
460
|
-
pendingSwapOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNftsPendingSwap>>, [
|
|
575
|
+
pendingSwapOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNftsPendingSwap>>, [
|
|
576
|
+
u32,
|
|
577
|
+
u32
|
|
578
|
+
]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
|
461
579
|
/**
|
|
462
580
|
* Generic query
|
|
463
581
|
**/
|
|
@@ -467,11 +585,16 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
467
585
|
/**
|
|
468
586
|
* A vector of reports of the same kind that happened at the same time slot.
|
|
469
587
|
**/
|
|
470
|
-
concurrentReportsIndex: AugmentedQuery<ApiType, (arg1: U8aFixed | string | Uint8Array, arg2: Bytes | string | Uint8Array) => Observable<Vec<H256>>, [
|
|
588
|
+
concurrentReportsIndex: AugmentedQuery<ApiType, (arg1: U8aFixed | string | Uint8Array, arg2: Bytes | string | Uint8Array) => Observable<Vec<H256>>, [
|
|
589
|
+
U8aFixed,
|
|
590
|
+
Bytes
|
|
591
|
+
]> & QueryableStorageEntry<ApiType, [U8aFixed, Bytes]>;
|
|
471
592
|
/**
|
|
472
593
|
* The primary structure that holds all offence records keyed by report identifiers.
|
|
473
594
|
**/
|
|
474
|
-
reports: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<SpStakingOffenceOffenceDetails>>, [
|
|
595
|
+
reports: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<SpStakingOffenceOffenceDetails>>, [
|
|
596
|
+
H256
|
|
597
|
+
]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
475
598
|
/**
|
|
476
599
|
* Generic query
|
|
477
600
|
**/
|
|
@@ -483,7 +606,11 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
483
606
|
**/
|
|
484
607
|
parameters: AugmentedQuery<ApiType, (arg: ShSolochainEvmRuntimeConfigsRuntimeParamsRuntimeParametersKey | {
|
|
485
608
|
RuntimeConfig: any;
|
|
486
|
-
} | string | Uint8Array) => Observable<Option<ShSolochainEvmRuntimeConfigsRuntimeParamsRuntimeParametersValue>>, [
|
|
609
|
+
} | string | Uint8Array) => Observable<Option<ShSolochainEvmRuntimeConfigsRuntimeParamsRuntimeParametersValue>>, [
|
|
610
|
+
ShSolochainEvmRuntimeConfigsRuntimeParamsRuntimeParametersKey
|
|
611
|
+
]> & QueryableStorageEntry<ApiType, [
|
|
612
|
+
ShSolochainEvmRuntimeConfigsRuntimeParamsRuntimeParametersKey
|
|
613
|
+
]>;
|
|
487
614
|
/**
|
|
488
615
|
* Generic query
|
|
489
616
|
**/
|
|
@@ -520,7 +647,10 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
520
647
|
* - [update_dynamic_rate_payment_stream](crate::dispatchables::update_dynamic_rate_payment_stream), which updates the entry's `amount_provided`.
|
|
521
648
|
* - [charge_payment_streams](crate::dispatchables::charge_payment_streams), which updates the entry's `price_index_when_last_charged`.
|
|
522
649
|
**/
|
|
523
|
-
dynamicRatePaymentStreams: AugmentedQuery<ApiType, (arg1: H256 | string | Uint8Array, arg2: AccountId20 | string | Uint8Array) => Observable<Option<PalletPaymentStreamsDynamicRatePaymentStream>>, [
|
|
650
|
+
dynamicRatePaymentStreams: AugmentedQuery<ApiType, (arg1: H256 | string | Uint8Array, arg2: AccountId20 | string | Uint8Array) => Observable<Option<PalletPaymentStreamsDynamicRatePaymentStream>>, [
|
|
651
|
+
H256,
|
|
652
|
+
AccountId20
|
|
653
|
+
]> & QueryableStorageEntry<ApiType, [H256, AccountId20]>;
|
|
524
654
|
/**
|
|
525
655
|
* The double mapping from a Provider, to its provided Users, to their fixed-rate payment streams.
|
|
526
656
|
*
|
|
@@ -532,7 +662,10 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
532
662
|
* - [update_fixed_rate_payment_stream](crate::dispatchables::update_fixed_rate_payment_stream), which updates the entry's `rate`.
|
|
533
663
|
* - [charge_payment_streams](crate::dispatchables::charge_payment_streams), which updates the entry's `last_charged_tick`.
|
|
534
664
|
**/
|
|
535
|
-
fixedRatePaymentStreams: AugmentedQuery<ApiType, (arg1: H256 | string | Uint8Array, arg2: AccountId20 | string | Uint8Array) => Observable<Option<PalletPaymentStreamsFixedRatePaymentStream>>, [
|
|
665
|
+
fixedRatePaymentStreams: AugmentedQuery<ApiType, (arg1: H256 | string | Uint8Array, arg2: AccountId20 | string | Uint8Array) => Observable<Option<PalletPaymentStreamsFixedRatePaymentStream>>, [
|
|
666
|
+
H256,
|
|
667
|
+
AccountId20
|
|
668
|
+
]> & QueryableStorageEntry<ApiType, [H256, AccountId20]>;
|
|
536
669
|
/**
|
|
537
670
|
* 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).
|
|
538
671
|
*
|
|
@@ -541,7 +674,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
541
674
|
* This storage is updated in:
|
|
542
675
|
* - [update_last_chargeable_info](crate::PaymentManager::update_last_chargeable_info), which updates the entry's `last_chargeable_tick` and `price_index`.
|
|
543
676
|
**/
|
|
544
|
-
lastChargeableInfo: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<PalletPaymentStreamsProviderLastChargeableInfo>, [
|
|
677
|
+
lastChargeableInfo: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<PalletPaymentStreamsProviderLastChargeableInfo>, [
|
|
678
|
+
H256
|
|
679
|
+
]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
545
680
|
/**
|
|
546
681
|
* The last tick that was processed by this pallet from the Proof Submitters interface.
|
|
547
682
|
*
|
|
@@ -566,7 +701,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
566
701
|
* Privileged Providers are those who are allowed to charge up to the current tick in
|
|
567
702
|
* fixed rate payment streams, regardless of their [`LastChargeableInfo`].
|
|
568
703
|
**/
|
|
569
|
-
privilegedProviders: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<Null>>, [
|
|
704
|
+
privilegedProviders: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<Null>>, [
|
|
705
|
+
H256
|
|
706
|
+
]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
570
707
|
/**
|
|
571
708
|
* The mapping from a user to if it has been registered to the network and the amount of payment streams it has.
|
|
572
709
|
*
|
|
@@ -579,7 +716,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
579
716
|
* - [remove_fixed_rate_payment_stream](crate::dispatchables::remove_fixed_rate_payment_stream), which removes one from this storage and releases the deposit.
|
|
580
717
|
* - [remove_dynamic_rate_payment_stream](crate::dispatchables::remove_dynamic_rate_payment_stream), which removes one from this storage and releases the deposit.
|
|
581
718
|
**/
|
|
582
|
-
registeredUsers: AugmentedQuery<ApiType, (arg: AccountId20 | string | Uint8Array) => Observable<u32>, [
|
|
719
|
+
registeredUsers: AugmentedQuery<ApiType, (arg: AccountId20 | string | Uint8Array) => Observable<u32>, [
|
|
720
|
+
AccountId20
|
|
721
|
+
]> & QueryableStorageEntry<ApiType, [AccountId20]>;
|
|
583
722
|
/**
|
|
584
723
|
* The mapping from a user to if it has been flagged for not having enough funds to pay for its requested services.
|
|
585
724
|
*
|
|
@@ -591,7 +730,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
591
730
|
* to that moment's tick number if it does not have enough funds.
|
|
592
731
|
* - [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.
|
|
593
732
|
**/
|
|
594
|
-
usersWithoutFunds: AugmentedQuery<ApiType, (arg: AccountId20 | string | Uint8Array) => Observable<Option<u32>>, [
|
|
733
|
+
usersWithoutFunds: AugmentedQuery<ApiType, (arg: AccountId20 | string | Uint8Array) => Observable<Option<u32>>, [
|
|
734
|
+
AccountId20
|
|
735
|
+
]> & QueryableStorageEntry<ApiType, [AccountId20]>;
|
|
595
736
|
/**
|
|
596
737
|
* Generic query
|
|
597
738
|
**/
|
|
@@ -657,7 +798,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
657
798
|
* This is used to check if the network is presumably under a spam attack.
|
|
658
799
|
* It is cleared for blocks older than `current_block` - ([`Config::BlockFullnessPeriod`] + 1).
|
|
659
800
|
**/
|
|
660
|
-
pastBlocksWeight: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<SpWeightsWeightV2Weight>>, [
|
|
801
|
+
pastBlocksWeight: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<SpWeightsWeightV2Weight>>, [
|
|
802
|
+
u32
|
|
803
|
+
]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
661
804
|
/**
|
|
662
805
|
* A priority queue of keys that have been challenged manually.
|
|
663
806
|
*
|
|
@@ -670,7 +813,8 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
670
813
|
* A `BoundedVec` is used because the `parity_scale_codec::MaxEncodedLen` trait
|
|
671
814
|
* is required, but using a `VecDeque` would be more efficient as this is a FIFO queue.
|
|
672
815
|
**/
|
|
673
|
-
priorityChallengesQueue: AugmentedQuery<ApiType, () => Observable<Vec<PalletProofsDealerCustomChallenge>>, [
|
|
816
|
+
priorityChallengesQueue: AugmentedQuery<ApiType, () => Observable<Vec<PalletProofsDealerCustomChallenge>>, [
|
|
817
|
+
]> & QueryableStorageEntry<ApiType, []>;
|
|
674
818
|
/**
|
|
675
819
|
* A mapping from a Provider to its [`ProofSubmissionRecord`], which stores the last tick
|
|
676
820
|
* the Provider submitted a proof for, and the next tick the Provider should submit a proof for.
|
|
@@ -684,15 +828,21 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
684
828
|
* If the Provider fails to submit a proof in time and is slashed, only `next_tick_to_submit_proof_for`
|
|
685
829
|
* is updated.
|
|
686
830
|
**/
|
|
687
|
-
providerToProofSubmissionRecord: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletProofsDealerProofSubmissionRecord>>, [
|
|
688
|
-
|
|
831
|
+
providerToProofSubmissionRecord: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletProofsDealerProofSubmissionRecord>>, [
|
|
832
|
+
H256
|
|
833
|
+
]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
834
|
+
slashableProviders: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<u32>>, [
|
|
835
|
+
H256
|
|
836
|
+
]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
689
837
|
/**
|
|
690
838
|
* A mapping from challenges tick to a random seed used for generating the challenges in that tick.
|
|
691
839
|
*
|
|
692
840
|
* This is used to keep track of the challenges' seed in the past.
|
|
693
841
|
* This mapping goes back only [`ChallengeHistoryLengthFor`] blocks. Previous challenges are removed.
|
|
694
842
|
**/
|
|
695
|
-
tickToChallengesSeed: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<H256>>, [
|
|
843
|
+
tickToChallengesSeed: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<H256>>, [
|
|
844
|
+
u32
|
|
845
|
+
]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
696
846
|
/**
|
|
697
847
|
* The tick to check and see if Providers failed to submit proofs before their deadline.
|
|
698
848
|
*
|
|
@@ -714,7 +864,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
714
864
|
* The vector is bounded by [`MaxCustomChallengesPerBlockFor`].
|
|
715
865
|
* This mapping goes back only [`ChallengeHistoryLengthFor`] ticks. Previous challenges are removed.
|
|
716
866
|
**/
|
|
717
|
-
tickToCheckpointChallenges: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Vec<PalletProofsDealerCustomChallenge>>>, [
|
|
867
|
+
tickToCheckpointChallenges: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Vec<PalletProofsDealerCustomChallenge>>>, [
|
|
868
|
+
u32
|
|
869
|
+
]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
718
870
|
/**
|
|
719
871
|
* A mapping from challenge tick to a vector of challenged Providers for that tick.
|
|
720
872
|
*
|
|
@@ -725,7 +877,10 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
725
877
|
* Those who are still in the entry by the time the tick is reached are considered to
|
|
726
878
|
* have failed to submit a proof and subject to slashing.
|
|
727
879
|
**/
|
|
728
|
-
tickToProvidersDeadlines: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<Null>>, [
|
|
880
|
+
tickToProvidersDeadlines: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<Null>>, [
|
|
881
|
+
u32,
|
|
882
|
+
H256
|
|
883
|
+
]> & QueryableStorageEntry<ApiType, [u32, H256]>;
|
|
729
884
|
/**
|
|
730
885
|
* A mapping from tick to Providers, which is set if the Provider submitted a valid proof in that tick.
|
|
731
886
|
*
|
|
@@ -733,7 +888,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
733
888
|
* ticks, where availability only up to the last [`Config::TargetTicksStorageOfSubmitters`] ticks is guaranteed.
|
|
734
889
|
* This storage is then made available for other pallets to use through the `ProofSubmittersInterface`.
|
|
735
890
|
**/
|
|
736
|
-
validProofSubmittersLastTicks: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<BTreeSet<H256>>>, [
|
|
891
|
+
validProofSubmittersLastTicks: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<BTreeSet<H256>>>, [
|
|
892
|
+
u32
|
|
893
|
+
]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
737
894
|
/**
|
|
738
895
|
* Generic query
|
|
739
896
|
**/
|
|
@@ -750,7 +907,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
750
907
|
* - [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.
|
|
751
908
|
* - [bsp_sign_off](crate::dispatchables::bsp_sign_off), which removes the corresponding entry from the map.
|
|
752
909
|
**/
|
|
753
|
-
accountIdToBackupStorageProviderId: AugmentedQuery<ApiType, (arg: AccountId20 | string | Uint8Array) => Observable<Option<H256>>, [
|
|
910
|
+
accountIdToBackupStorageProviderId: AugmentedQuery<ApiType, (arg: AccountId20 | string | Uint8Array) => Observable<Option<H256>>, [
|
|
911
|
+
AccountId20
|
|
912
|
+
]> & QueryableStorageEntry<ApiType, [AccountId20]>;
|
|
754
913
|
/**
|
|
755
914
|
* The mapping from an AccountId to a MainStorageProviderId.
|
|
756
915
|
*
|
|
@@ -760,7 +919,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
760
919
|
* - [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.
|
|
761
920
|
* - [msp_sign_off](crate::dispatchables::msp_sign_off), which removes the corresponding entry from the map.
|
|
762
921
|
**/
|
|
763
|
-
accountIdToMainStorageProviderId: AugmentedQuery<ApiType, (arg: AccountId20 | string | Uint8Array) => Observable<Option<H256>>, [
|
|
922
|
+
accountIdToMainStorageProviderId: AugmentedQuery<ApiType, (arg: AccountId20 | string | Uint8Array) => Observable<Option<H256>>, [
|
|
923
|
+
AccountId20
|
|
924
|
+
]> & QueryableStorageEntry<ApiType, [AccountId20]>;
|
|
764
925
|
/**
|
|
765
926
|
* Storage providers currently awaited for to top up their deposit (providers whom have been slashed and as
|
|
766
927
|
* a result have a capacity deficit, i.e. their capacity is below their used capacity).
|
|
@@ -779,7 +940,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
779
940
|
BackupStorageProvider: any;
|
|
780
941
|
} | {
|
|
781
942
|
MainStorageProvider: any;
|
|
782
|
-
} | string | Uint8Array) => Observable<Option<PalletStorageProvidersTopUpMetadata>>, [
|
|
943
|
+
} | string | Uint8Array) => Observable<Option<PalletStorageProvidersTopUpMetadata>>, [
|
|
944
|
+
PalletStorageProvidersStorageProviderId
|
|
945
|
+
]> & QueryableStorageEntry<ApiType, [PalletStorageProvidersStorageProviderId]>;
|
|
783
946
|
/**
|
|
784
947
|
* The mapping from a BackupStorageProviderId to a BackupStorageProvider.
|
|
785
948
|
*
|
|
@@ -791,7 +954,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
791
954
|
* - [bsp_sign_off](crate::dispatchables::bsp_sign_off), which removes the corresponding entry from the map.
|
|
792
955
|
* - [change_capacity](crate::dispatchables::change_capacity), which changes the entry's `capacity`.
|
|
793
956
|
**/
|
|
794
|
-
backupStorageProviders: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletStorageProvidersBackupStorageProvider>>, [
|
|
957
|
+
backupStorageProviders: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletStorageProvidersBackupStorageProvider>>, [
|
|
958
|
+
H256
|
|
959
|
+
]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
795
960
|
/**
|
|
796
961
|
* The amount of Backup Storage Providers that are currently registered in the runtime.
|
|
797
962
|
*
|
|
@@ -813,7 +978,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
813
978
|
* - [change_root_bucket](shp_traits::MutateProvidersInterface::change_root_bucket), which changes the corresponding bucket's root.
|
|
814
979
|
* - [delete_bucket](shp_traits::MutateProvidersInterface::delete_bucket), which removes the entry of the corresponding bucket.
|
|
815
980
|
**/
|
|
816
|
-
buckets: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletStorageProvidersBucket>>, [
|
|
981
|
+
buckets: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletStorageProvidersBucket>>, [
|
|
982
|
+
H256
|
|
983
|
+
]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
817
984
|
/**
|
|
818
985
|
* The total global reputation weight of all BSPs.
|
|
819
986
|
**/
|
|
@@ -827,7 +994,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
827
994
|
BackupStorageProvider: any;
|
|
828
995
|
} | {
|
|
829
996
|
MainStorageProvider: any;
|
|
830
|
-
} | string | Uint8Array) => Observable<Option<Null>>, [
|
|
997
|
+
} | string | Uint8Array) => Observable<Option<Null>>, [
|
|
998
|
+
PalletStorageProvidersStorageProviderId
|
|
999
|
+
]> & QueryableStorageEntry<ApiType, [PalletStorageProvidersStorageProviderId]>;
|
|
831
1000
|
/**
|
|
832
1001
|
* The double mapping from a MainStorageProviderId to a BucketIds.
|
|
833
1002
|
*
|
|
@@ -837,14 +1006,20 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
837
1006
|
* - [add_bucket](shp_traits::MutateProvidersInterface::add_bucket)
|
|
838
1007
|
* - [delete_bucket](shp_traits::MutateProvidersInterface::delete_bucket)
|
|
839
1008
|
**/
|
|
840
|
-
mainStorageProviderIdsToBuckets: AugmentedQuery<ApiType, (arg1: H256 | string | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<Null>>, [
|
|
1009
|
+
mainStorageProviderIdsToBuckets: AugmentedQuery<ApiType, (arg1: H256 | string | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<Null>>, [
|
|
1010
|
+
H256,
|
|
1011
|
+
H256
|
|
1012
|
+
]> & QueryableStorageEntry<ApiType, [H256, H256]>;
|
|
841
1013
|
/**
|
|
842
1014
|
* Double mapping from a [`MainStorageProviderId`] to [`ValueProposition`]s.
|
|
843
1015
|
*
|
|
844
1016
|
* These are applied at the bucket level. Propositions are the price per [`Config::StorageDataUnit`] per block and the
|
|
845
1017
|
* limit of data that can be stored in the bucket.
|
|
846
1018
|
**/
|
|
847
|
-
mainStorageProviderIdsToValuePropositions: AugmentedQuery<ApiType, (arg1: H256 | string | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<PalletStorageProvidersValueProposition>>, [
|
|
1019
|
+
mainStorageProviderIdsToValuePropositions: AugmentedQuery<ApiType, (arg1: H256 | string | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<PalletStorageProvidersValueProposition>>, [
|
|
1020
|
+
H256,
|
|
1021
|
+
H256
|
|
1022
|
+
]> & QueryableStorageEntry<ApiType, [H256, H256]>;
|
|
848
1023
|
/**
|
|
849
1024
|
* The mapping from a MainStorageProviderId to a MainStorageProvider.
|
|
850
1025
|
*
|
|
@@ -856,7 +1031,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
856
1031
|
* - [msp_sign_off](crate::dispatchables::msp_sign_off), which removes the corresponding entry from the map.
|
|
857
1032
|
* - [change_capacity](crate::dispatchables::change_capacity), which changes the entry's `capacity`.
|
|
858
1033
|
**/
|
|
859
|
-
mainStorageProviders: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletStorageProvidersMainStorageProvider>>, [
|
|
1034
|
+
mainStorageProviders: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletStorageProvidersMainStorageProvider>>, [
|
|
1035
|
+
H256
|
|
1036
|
+
]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
860
1037
|
/**
|
|
861
1038
|
* The amount of Main Storage Providers that are currently registered in the runtime.
|
|
862
1039
|
*
|
|
@@ -872,7 +1049,8 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
872
1049
|
*
|
|
873
1050
|
* This should always be greater or equal than `current_sh_tick` + [`Config::ProviderTopUpTtl`].
|
|
874
1051
|
**/
|
|
875
|
-
nextAvailableProviderTopUpExpirationShTick: AugmentedQuery<ApiType, () => Observable<u32>, [
|
|
1052
|
+
nextAvailableProviderTopUpExpirationShTick: AugmentedQuery<ApiType, () => Observable<u32>, [
|
|
1053
|
+
]> & QueryableStorageEntry<ApiType, []>;
|
|
876
1054
|
/**
|
|
877
1055
|
* A pointer to the starting Storage Hub tick number to clean up expired items.
|
|
878
1056
|
*
|
|
@@ -890,7 +1068,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
890
1068
|
* Providers are removed from [`AwaitingTopUpFromProviders`] storage when they have successfully topped up their deposit.
|
|
891
1069
|
* If they are still part of the [`AwaitingTopUpFromProviders`] storage after the expiration period, they are marked as insolvent.
|
|
892
1070
|
**/
|
|
893
|
-
providerTopUpExpirations: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<PalletStorageProvidersStorageProviderId>>, [
|
|
1071
|
+
providerTopUpExpirations: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<PalletStorageProvidersStorageProviderId>>, [
|
|
1072
|
+
u32
|
|
1073
|
+
]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
894
1074
|
/**
|
|
895
1075
|
* The mapping from an AccountId that requested to sign up to a tuple of the metadata with type of the request, and the block
|
|
896
1076
|
* number when the request was made.
|
|
@@ -903,7 +1083,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
903
1083
|
* - [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.
|
|
904
1084
|
* - [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.
|
|
905
1085
|
**/
|
|
906
|
-
signUpRequests: AugmentedQuery<ApiType, (arg: AccountId20 | string | Uint8Array) => Observable<Option<PalletStorageProvidersSignUpRequest>>, [
|
|
1086
|
+
signUpRequests: AugmentedQuery<ApiType, (arg: AccountId20 | string | Uint8Array) => Observable<Option<PalletStorageProvidersSignUpRequest>>, [
|
|
1087
|
+
AccountId20
|
|
1088
|
+
]> & QueryableStorageEntry<ApiType, [AccountId20]>;
|
|
907
1089
|
/**
|
|
908
1090
|
* The total amount of storage capacity all BSPs have.
|
|
909
1091
|
*
|
|
@@ -935,15 +1117,18 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
935
1117
|
/**
|
|
936
1118
|
* The relay chain block (and anchored parachain block) to use when epoch changes
|
|
937
1119
|
**/
|
|
938
|
-
lastRelayBlockAndParaBlockValidForNextEpoch: AugmentedQuery<ApiType, () => Observable<ITuple<[u32, u32]>>, [
|
|
1120
|
+
lastRelayBlockAndParaBlockValidForNextEpoch: AugmentedQuery<ApiType, () => Observable<ITuple<[u32, u32]>>, [
|
|
1121
|
+
]> & QueryableStorageEntry<ApiType, []>;
|
|
939
1122
|
/**
|
|
940
1123
|
* Latest random seed obtained from the one epoch ago randomness from BABE, and the latest block that it can process randomness requests from
|
|
941
1124
|
**/
|
|
942
|
-
latestOneEpochAgoRandomness: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[H256, u32]>>>, [
|
|
1125
|
+
latestOneEpochAgoRandomness: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[H256, u32]>>>, [
|
|
1126
|
+
]> & QueryableStorageEntry<ApiType, []>;
|
|
943
1127
|
/**
|
|
944
1128
|
* Latest random seed obtained from the parent block randomness from BABE, and the latest block that it can process randomness requests from
|
|
945
1129
|
**/
|
|
946
|
-
latestParentBlockRandomness: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[H256, u32]>>>, [
|
|
1130
|
+
latestParentBlockRandomness: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[H256, u32]>>>, [
|
|
1131
|
+
]> & QueryableStorageEntry<ApiType, []>;
|
|
947
1132
|
/**
|
|
948
1133
|
* Current relay epoch
|
|
949
1134
|
**/
|
|
@@ -969,11 +1154,15 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
969
1154
|
/**
|
|
970
1155
|
* The owner of a key. The key is the `KeyTypeId` + the encoded key.
|
|
971
1156
|
**/
|
|
972
|
-
keyOwner: AugmentedQuery<ApiType, (arg: ITuple<[SpCoreCryptoKeyTypeId, Bytes]> | [SpCoreCryptoKeyTypeId | string | Uint8Array, Bytes | string | Uint8Array]) => Observable<Option<AccountId20>>, [
|
|
1157
|
+
keyOwner: AugmentedQuery<ApiType, (arg: ITuple<[SpCoreCryptoKeyTypeId, Bytes]> | [SpCoreCryptoKeyTypeId | string | Uint8Array, Bytes | string | Uint8Array]) => Observable<Option<AccountId20>>, [
|
|
1158
|
+
ITuple<[SpCoreCryptoKeyTypeId, Bytes]>
|
|
1159
|
+
]> & QueryableStorageEntry<ApiType, [ITuple<[SpCoreCryptoKeyTypeId, Bytes]>]>;
|
|
973
1160
|
/**
|
|
974
1161
|
* The next session keys for a validator.
|
|
975
1162
|
**/
|
|
976
|
-
nextKeys: AugmentedQuery<ApiType, (arg: AccountId20 | string | Uint8Array) => Observable<Option<ShSolochainEvmRuntimeSessionKeys>>, [
|
|
1163
|
+
nextKeys: AugmentedQuery<ApiType, (arg: AccountId20 | string | Uint8Array) => Observable<Option<ShSolochainEvmRuntimeSessionKeys>>, [
|
|
1164
|
+
AccountId20
|
|
1165
|
+
]> & QueryableStorageEntry<ApiType, [AccountId20]>;
|
|
977
1166
|
/**
|
|
978
1167
|
* True if the underlying economic identities or weighting behind the validators
|
|
979
1168
|
* has changed in the queued validator set.
|
|
@@ -983,7 +1172,8 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
983
1172
|
* The queued keys for the next session. When the next session begins, these keys
|
|
984
1173
|
* will be used to determine the validator's session keys.
|
|
985
1174
|
**/
|
|
986
|
-
queuedKeys: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[AccountId20, ShSolochainEvmRuntimeSessionKeys]>>>, [
|
|
1175
|
+
queuedKeys: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[AccountId20, ShSolochainEvmRuntimeSessionKeys]>>>, [
|
|
1176
|
+
]> & QueryableStorageEntry<ApiType, []>;
|
|
987
1177
|
/**
|
|
988
1178
|
* The current set of validators.
|
|
989
1179
|
**/
|
|
@@ -1007,7 +1197,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1007
1197
|
/**
|
|
1008
1198
|
* The full account information for a particular account ID.
|
|
1009
1199
|
**/
|
|
1010
|
-
account: AugmentedQuery<ApiType, (arg: AccountId20 | string | Uint8Array) => Observable<FrameSystemAccountInfo>, [
|
|
1200
|
+
account: AugmentedQuery<ApiType, (arg: AccountId20 | string | Uint8Array) => Observable<FrameSystemAccountInfo>, [
|
|
1201
|
+
AccountId20
|
|
1202
|
+
]> & QueryableStorageEntry<ApiType, [AccountId20]>;
|
|
1011
1203
|
/**
|
|
1012
1204
|
* Total length (in bytes) for all extrinsics put together, for the current block.
|
|
1013
1205
|
**/
|
|
@@ -1015,15 +1207,19 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1015
1207
|
/**
|
|
1016
1208
|
* `Some` if a code upgrade has been authorized.
|
|
1017
1209
|
**/
|
|
1018
|
-
authorizedUpgrade: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemCodeUpgradeAuthorization>>, [
|
|
1210
|
+
authorizedUpgrade: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemCodeUpgradeAuthorization>>, [
|
|
1211
|
+
]> & QueryableStorageEntry<ApiType, []>;
|
|
1019
1212
|
/**
|
|
1020
1213
|
* Map of block numbers to block hashes.
|
|
1021
1214
|
**/
|
|
1022
|
-
blockHash: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<H256>, [
|
|
1215
|
+
blockHash: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<H256>, [
|
|
1216
|
+
u32
|
|
1217
|
+
]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1023
1218
|
/**
|
|
1024
1219
|
* The current weight for the block.
|
|
1025
1220
|
**/
|
|
1026
|
-
blockWeight: AugmentedQuery<ApiType, () => Observable<FrameSupportDispatchPerDispatchClassWeight>, [
|
|
1221
|
+
blockWeight: AugmentedQuery<ApiType, () => Observable<FrameSupportDispatchPerDispatchClassWeight>, [
|
|
1222
|
+
]> & QueryableStorageEntry<ApiType, []>;
|
|
1027
1223
|
/**
|
|
1028
1224
|
* Digest of the current block, also part of the block header.
|
|
1029
1225
|
**/
|
|
@@ -1054,7 +1250,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1054
1250
|
* the `EventIndex` then in case if the topic has the same contents on the next block
|
|
1055
1251
|
* no notification will be triggered thus the event might be lost.
|
|
1056
1252
|
**/
|
|
1057
|
-
eventTopics: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Vec<ITuple<[u32, u32]>>>, [
|
|
1253
|
+
eventTopics: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Vec<ITuple<[u32, u32]>>>, [
|
|
1254
|
+
H256
|
|
1255
|
+
]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
1058
1256
|
/**
|
|
1059
1257
|
* The execution phase of the block.
|
|
1060
1258
|
**/
|
|
@@ -1066,7 +1264,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1066
1264
|
/**
|
|
1067
1265
|
* Extrinsics data for the current block (maps an extrinsic's index to its data).
|
|
1068
1266
|
**/
|
|
1069
|
-
extrinsicData: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [
|
|
1267
|
+
extrinsicData: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [
|
|
1268
|
+
u32
|
|
1269
|
+
]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1070
1270
|
/**
|
|
1071
1271
|
* Whether all inherents have been applied.
|
|
1072
1272
|
**/
|
|
@@ -1074,7 +1274,8 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1074
1274
|
/**
|
|
1075
1275
|
* Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened.
|
|
1076
1276
|
**/
|
|
1077
|
-
lastRuntimeUpgrade: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemLastRuntimeUpgradeInfo>>, [
|
|
1277
|
+
lastRuntimeUpgrade: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemLastRuntimeUpgradeInfo>>, [
|
|
1278
|
+
]> & QueryableStorageEntry<ApiType, []>;
|
|
1078
1279
|
/**
|
|
1079
1280
|
* The current block number being processed. Set by `execute_block`.
|
|
1080
1281
|
**/
|
|
@@ -1116,7 +1317,8 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1116
1317
|
};
|
|
1117
1318
|
transactionPayment: {
|
|
1118
1319
|
nextFeeMultiplier: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1119
|
-
storageVersion: AugmentedQuery<ApiType, () => Observable<PalletTransactionPaymentReleases>, [
|
|
1320
|
+
storageVersion: AugmentedQuery<ApiType, () => Observable<PalletTransactionPaymentReleases>, [
|
|
1321
|
+
]> & QueryableStorageEntry<ApiType, []>;
|
|
1120
1322
|
/**
|
|
1121
1323
|
* Generic query
|
|
1122
1324
|
**/
|