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