@polkadot/api-augment 6.12.2-19 → 6.12.2-23
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/augment/index.cjs +3 -5
- package/augment/index.js +5 -5
- package/bundle.cjs +1 -18
- package/bundle.js +1 -3
- package/detectPackage.cjs +5 -3
- package/detectPackage.js +3 -2
- package/package.json +8 -50
- package/packageInfo.cjs +1 -1
- package/packageInfo.js +1 -1
- package/augment/api.cjs +0 -1
- package/augment/api.d.ts +0 -26
- package/augment/api.js +0 -1
- package/augment/consts.d.ts +0 -953
- package/augment/errors.d.ts +0 -1561
- package/augment/events.d.ts +0 -1156
- package/augment/index.d.ts +0 -8
- package/augment/query.d.ts +0 -1455
- package/augment/tx.d.ts +0 -5579
- package/bundle.d.ts +0 -3
- package/consts.cjs +0 -11
- package/consts.d.ts +0 -1
- package/consts.js +0 -4
- package/detectPackage.d.ts +0 -1
- package/errors.cjs +0 -11
- package/errors.d.ts +0 -1
- package/errors.js +0 -4
- package/events.cjs +0 -11
- package/events.d.ts +0 -1
- package/events.js +0 -4
- package/index.d.ts +0 -2
- package/packageInfo.d.ts +0 -4
- package/query.cjs +0 -11
- package/query.d.ts +0 -1
- package/query.js +0 -4
- package/tx.cjs +0 -11
- package/tx.d.ts +0 -1
- package/tx.js +0 -4
- package/types.cjs +0 -72
- package/types.d.ts +0 -6
- package/types.js +0 -10
package/augment/query.d.ts
DELETED
|
@@ -1,1455 +0,0 @@
|
|
|
1
|
-
import type { ApiTypes, AugmentedQuery, QueryableModuleStorage, QueryableModuleStorageAt, QueryableStorageEntry } from '@polkadot/api-base/types';
|
|
2
|
-
import type { Data } from '@polkadot/types';
|
|
3
|
-
import type { BTreeMap, Bytes, Null, Option, U8aFixed, Vec, WrapperOpaque, bool, u128, u32, u64, u8 } from '@polkadot/types-codec';
|
|
4
|
-
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
|
5
|
-
import type { AccountId32, Call, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
|
|
6
|
-
import type { FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, NodeRuntimeSessionKeys, PalletAssetsApproval, PalletAssetsAssetBalance, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, PalletAuthorshipUncleEntryItem, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletContractsStorageDeletedContract, PalletContractsStorageRawContractInfo, PalletContractsWasmOwnerInfo, PalletContractsWasmPrefabWasmModule, PalletDemocracyPreimageStatus, PalletDemocracyReferendumInfo, PalletDemocracyReleases, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletGiltActiveGilt, PalletGiltActiveGiltsTotal, PalletGiltGiltBid, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletLotteryLotteryConfig, PalletMultisigMultisig, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletSchedulerReleases, PalletSchedulerScheduledV2, PalletSocietyBid, PalletSocietyBidKind, PalletSocietyVote, PalletSocietyVouchingStatus, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingReleases, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTransactionStorageTransactionInfo, PalletTreasuryProposal, PalletUniquesClassDetails, PalletUniquesClassMetadata, PalletUniquesInstanceDetails, PalletUniquesInstanceMetadata, PalletVestingReleases, PalletVestingVestingInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpCoreCryptoKeyTypeId, SpRuntimeDigest, SpStakingOffenceOffenceDetails } from '@polkadot/types/lookup';
|
|
7
|
-
import type { Observable } from '@polkadot/types/types';
|
|
8
|
-
declare module '@polkadot/api-augment/query' {
|
|
9
|
-
interface AugmentedQueries<ApiType extends ApiTypes> {
|
|
10
|
-
assets: {
|
|
11
|
-
/**
|
|
12
|
-
* The number of units of assets held by any given account.
|
|
13
|
-
**/
|
|
14
|
-
account: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<PalletAssetsAssetBalance>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
|
15
|
-
/**
|
|
16
|
-
* Approved balance transfers. First balance is the amount approved for transfer. Second
|
|
17
|
-
* is the amount of `T::Currency` reserved for storing this.
|
|
18
|
-
* First key is the asset ID, second key is the owner and third key is the delegate.
|
|
19
|
-
**/
|
|
20
|
-
approvals: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array, arg3: AccountId32 | string | Uint8Array) => Observable<Option<PalletAssetsApproval>>, [u32, AccountId32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32, AccountId32]>;
|
|
21
|
-
/**
|
|
22
|
-
* Details of an asset.
|
|
23
|
-
**/
|
|
24
|
-
asset: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletAssetsAssetDetails>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
25
|
-
/**
|
|
26
|
-
* Metadata of an asset.
|
|
27
|
-
**/
|
|
28
|
-
metadata: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<PalletAssetsAssetMetadata>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
29
|
-
/**
|
|
30
|
-
* Generic query
|
|
31
|
-
**/
|
|
32
|
-
[key: string]: QueryableStorageEntry<ApiType>;
|
|
33
|
-
};
|
|
34
|
-
authorityDiscovery: {
|
|
35
|
-
/**
|
|
36
|
-
* Keys of the current authority set.
|
|
37
|
-
**/
|
|
38
|
-
keys: AugmentedQuery<ApiType, () => Observable<Vec<SpAuthorityDiscoveryAppPublic>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
39
|
-
/**
|
|
40
|
-
* Keys of the next authority set.
|
|
41
|
-
**/
|
|
42
|
-
nextKeys: AugmentedQuery<ApiType, () => Observable<Vec<SpAuthorityDiscoveryAppPublic>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
43
|
-
/**
|
|
44
|
-
* Generic query
|
|
45
|
-
**/
|
|
46
|
-
[key: string]: QueryableStorageEntry<ApiType>;
|
|
47
|
-
};
|
|
48
|
-
authorship: {
|
|
49
|
-
/**
|
|
50
|
-
* Author of current block.
|
|
51
|
-
**/
|
|
52
|
-
author: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
53
|
-
/**
|
|
54
|
-
* Whether uncles were already set in this block.
|
|
55
|
-
**/
|
|
56
|
-
didSetUncles: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
|
|
57
|
-
/**
|
|
58
|
-
* Uncles
|
|
59
|
-
**/
|
|
60
|
-
uncles: AugmentedQuery<ApiType, () => Observable<Vec<PalletAuthorshipUncleEntryItem>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
61
|
-
/**
|
|
62
|
-
* Generic query
|
|
63
|
-
**/
|
|
64
|
-
[key: string]: QueryableStorageEntry<ApiType>;
|
|
65
|
-
};
|
|
66
|
-
babe: {
|
|
67
|
-
/**
|
|
68
|
-
* Current epoch authorities.
|
|
69
|
-
**/
|
|
70
|
-
authorities: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[SpConsensusBabeAppPublic, u64]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
71
|
-
/**
|
|
72
|
-
* This field should always be populated during block processing unless
|
|
73
|
-
* secondary plain slots are enabled (which don't contain a VRF output).
|
|
74
|
-
*
|
|
75
|
-
* It is set in `on_initialize`, before it will contain the value from the last block.
|
|
76
|
-
**/
|
|
77
|
-
authorVrfRandomness: AugmentedQuery<ApiType, () => Observable<Option<U8aFixed>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
78
|
-
/**
|
|
79
|
-
* Current slot number.
|
|
80
|
-
**/
|
|
81
|
-
currentSlot: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
|
|
82
|
-
/**
|
|
83
|
-
* The configuration for the current epoch. Should never be `None` as it is initialized in
|
|
84
|
-
* genesis.
|
|
85
|
-
**/
|
|
86
|
-
epochConfig: AugmentedQuery<ApiType, () => Observable<Option<SpConsensusBabeBabeEpochConfiguration>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
87
|
-
/**
|
|
88
|
-
* Current epoch index.
|
|
89
|
-
**/
|
|
90
|
-
epochIndex: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
|
|
91
|
-
/**
|
|
92
|
-
* The block numbers when the last and current epoch have started, respectively `N-1` and
|
|
93
|
-
* `N`.
|
|
94
|
-
* NOTE: We track this is in order to annotate the block number when a given pool of
|
|
95
|
-
* entropy was fixed (i.e. it was known to chain observers). Since epochs are defined in
|
|
96
|
-
* slots, which may be skipped, the block numbers may not line up with the slot numbers.
|
|
97
|
-
**/
|
|
98
|
-
epochStart: AugmentedQuery<ApiType, () => Observable<ITuple<[u32, u32]>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
99
|
-
/**
|
|
100
|
-
* The slot at which the first epoch actually started. This is 0
|
|
101
|
-
* until the first block of the chain.
|
|
102
|
-
**/
|
|
103
|
-
genesisSlot: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
|
|
104
|
-
/**
|
|
105
|
-
* Temporary value (cleared at block finalization) which is `Some`
|
|
106
|
-
* if per-block initialization has already been called for current block.
|
|
107
|
-
**/
|
|
108
|
-
initialized: AugmentedQuery<ApiType, () => Observable<Option<Option<U8aFixed>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
109
|
-
/**
|
|
110
|
-
* How late the current block is compared to its parent.
|
|
111
|
-
*
|
|
112
|
-
* This entry is populated as part of block execution and is cleaned up
|
|
113
|
-
* on block finalization. Querying this storage entry outside of block
|
|
114
|
-
* execution context should always yield zero.
|
|
115
|
-
**/
|
|
116
|
-
lateness: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
117
|
-
/**
|
|
118
|
-
* Next epoch authorities.
|
|
119
|
-
**/
|
|
120
|
-
nextAuthorities: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[SpConsensusBabeAppPublic, u64]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
121
|
-
/**
|
|
122
|
-
* The configuration for the next epoch, `None` if the config will not change
|
|
123
|
-
* (you can fallback to `EpochConfig` instead in that case).
|
|
124
|
-
**/
|
|
125
|
-
nextEpochConfig: AugmentedQuery<ApiType, () => Observable<Option<SpConsensusBabeBabeEpochConfiguration>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
126
|
-
/**
|
|
127
|
-
* Next epoch randomness.
|
|
128
|
-
**/
|
|
129
|
-
nextRandomness: AugmentedQuery<ApiType, () => Observable<U8aFixed>, []> & QueryableStorageEntry<ApiType, []>;
|
|
130
|
-
/**
|
|
131
|
-
* Pending epoch configuration change that will be applied when the next epoch is enacted.
|
|
132
|
-
**/
|
|
133
|
-
pendingEpochConfigChange: AugmentedQuery<ApiType, () => Observable<Option<SpConsensusBabeDigestsNextConfigDescriptor>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
134
|
-
/**
|
|
135
|
-
* The epoch randomness for the *current* epoch.
|
|
136
|
-
*
|
|
137
|
-
* # Security
|
|
138
|
-
*
|
|
139
|
-
* This MUST NOT be used for gambling, as it can be influenced by a
|
|
140
|
-
* malicious validator in the short term. It MAY be used in many
|
|
141
|
-
* cryptographic protocols, however, so long as one remembers that this
|
|
142
|
-
* (like everything else on-chain) it is public. For example, it can be
|
|
143
|
-
* used where a number is needed that cannot have been chosen by an
|
|
144
|
-
* adversary, for purposes such as public-coin zero-knowledge proofs.
|
|
145
|
-
**/
|
|
146
|
-
randomness: AugmentedQuery<ApiType, () => Observable<U8aFixed>, []> & QueryableStorageEntry<ApiType, []>;
|
|
147
|
-
/**
|
|
148
|
-
* Randomness under construction.
|
|
149
|
-
*
|
|
150
|
-
* We make a trade-off between storage accesses and list length.
|
|
151
|
-
* We store the under-construction randomness in segments of up to
|
|
152
|
-
* `UNDER_CONSTRUCTION_SEGMENT_LENGTH`.
|
|
153
|
-
*
|
|
154
|
-
* Once a segment reaches this length, we begin the next one.
|
|
155
|
-
* We reset all segments and return to `0` at the beginning of every
|
|
156
|
-
* epoch.
|
|
157
|
-
**/
|
|
158
|
-
segmentIndex: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
159
|
-
/**
|
|
160
|
-
* TWOX-NOTE: `SegmentIndex` is an increasing integer, so this is okay.
|
|
161
|
-
**/
|
|
162
|
-
underConstruction: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<U8aFixed>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
163
|
-
/**
|
|
164
|
-
* Generic query
|
|
165
|
-
**/
|
|
166
|
-
[key: string]: QueryableStorageEntry<ApiType>;
|
|
167
|
-
};
|
|
168
|
-
bagsList: {
|
|
169
|
-
/**
|
|
170
|
-
* Counter for the related counted storage map
|
|
171
|
-
**/
|
|
172
|
-
counterForListNodes: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
173
|
-
/**
|
|
174
|
-
* A bag stored in storage.
|
|
175
|
-
*
|
|
176
|
-
* Stores a `Bag` struct, which stores head and tail pointers to itself.
|
|
177
|
-
**/
|
|
178
|
-
listBags: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletBagsListListBag>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;
|
|
179
|
-
/**
|
|
180
|
-
* A single node, within some bag.
|
|
181
|
-
*
|
|
182
|
-
* Nodes store links forward and back within their respective bags.
|
|
183
|
-
**/
|
|
184
|
-
listNodes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletBagsListListNode>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
185
|
-
/**
|
|
186
|
-
* Generic query
|
|
187
|
-
**/
|
|
188
|
-
[key: string]: QueryableStorageEntry<ApiType>;
|
|
189
|
-
};
|
|
190
|
-
balances: {
|
|
191
|
-
/**
|
|
192
|
-
* The balance of an account.
|
|
193
|
-
*
|
|
194
|
-
* NOTE: This is only used in the case that this pallet is used to store balances.
|
|
195
|
-
**/
|
|
196
|
-
account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletBalancesAccountData>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
197
|
-
/**
|
|
198
|
-
* Any liquidity locks on some account balances.
|
|
199
|
-
* NOTE: Should only be accessed when setting, changing and freeing a lock.
|
|
200
|
-
**/
|
|
201
|
-
locks: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesBalanceLock>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
202
|
-
/**
|
|
203
|
-
* Named reserves on some account balances.
|
|
204
|
-
**/
|
|
205
|
-
reserves: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesReserveData>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
206
|
-
/**
|
|
207
|
-
* Storage version of the pallet.
|
|
208
|
-
*
|
|
209
|
-
* This is set to v2.0.0 for new networks.
|
|
210
|
-
**/
|
|
211
|
-
storageVersion: AugmentedQuery<ApiType, () => Observable<PalletBalancesReleases>, []> & QueryableStorageEntry<ApiType, []>;
|
|
212
|
-
/**
|
|
213
|
-
* The total units issued in the system.
|
|
214
|
-
**/
|
|
215
|
-
totalIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
|
|
216
|
-
/**
|
|
217
|
-
* Generic query
|
|
218
|
-
**/
|
|
219
|
-
[key: string]: QueryableStorageEntry<ApiType>;
|
|
220
|
-
};
|
|
221
|
-
bounties: {
|
|
222
|
-
/**
|
|
223
|
-
* Bounties that have been made.
|
|
224
|
-
**/
|
|
225
|
-
bounties: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletBountiesBounty>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
226
|
-
/**
|
|
227
|
-
* Bounty indices that have been approved but not yet funded.
|
|
228
|
-
**/
|
|
229
|
-
bountyApprovals: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
230
|
-
/**
|
|
231
|
-
* Number of bounty proposals that have been made.
|
|
232
|
-
**/
|
|
233
|
-
bountyCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
234
|
-
/**
|
|
235
|
-
* The description of each bounty.
|
|
236
|
-
**/
|
|
237
|
-
bountyDescriptions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Bytes>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
238
|
-
/**
|
|
239
|
-
* Generic query
|
|
240
|
-
**/
|
|
241
|
-
[key: string]: QueryableStorageEntry<ApiType>;
|
|
242
|
-
};
|
|
243
|
-
childBounties: {
|
|
244
|
-
/**
|
|
245
|
-
* Child-bounties that have been added.
|
|
246
|
-
**/
|
|
247
|
-
childBounties: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletChildBountiesChildBounty>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
|
248
|
-
/**
|
|
249
|
-
* Number of total child bounties.
|
|
250
|
-
**/
|
|
251
|
-
childBountyCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
252
|
-
/**
|
|
253
|
-
* The description of each child-bounty.
|
|
254
|
-
**/
|
|
255
|
-
childBountyDescriptions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Bytes>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
256
|
-
/**
|
|
257
|
-
* The cumulative child-bounty curator fee for each parent bounty.
|
|
258
|
-
**/
|
|
259
|
-
childrenCuratorFees: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
260
|
-
/**
|
|
261
|
-
* Number of child-bounties per parent bounty.
|
|
262
|
-
* Map of parent bounty index to number of child bounties.
|
|
263
|
-
**/
|
|
264
|
-
parentChildBounties: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
265
|
-
/**
|
|
266
|
-
* Generic query
|
|
267
|
-
**/
|
|
268
|
-
[key: string]: QueryableStorageEntry<ApiType>;
|
|
269
|
-
};
|
|
270
|
-
contracts: {
|
|
271
|
-
/**
|
|
272
|
-
* The subtrie counter.
|
|
273
|
-
**/
|
|
274
|
-
accountCounter: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
|
|
275
|
-
/**
|
|
276
|
-
* A mapping between an original code hash and instrumented wasm code, ready for execution.
|
|
277
|
-
**/
|
|
278
|
-
codeStorage: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletContractsWasmPrefabWasmModule>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
279
|
-
/**
|
|
280
|
-
* The code associated with a given account.
|
|
281
|
-
*
|
|
282
|
-
* TWOX-NOTE: SAFE since `AccountId` is a secure hash.
|
|
283
|
-
**/
|
|
284
|
-
contractInfoOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletContractsStorageRawContractInfo>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
285
|
-
/**
|
|
286
|
-
* Evicted contracts that await child trie deletion.
|
|
287
|
-
*
|
|
288
|
-
* Child trie deletion is a heavy operation depending on the amount of storage items
|
|
289
|
-
* stored in said trie. Therefore this operation is performed lazily in `on_initialize`.
|
|
290
|
-
**/
|
|
291
|
-
deletionQueue: AugmentedQuery<ApiType, () => Observable<Vec<PalletContractsStorageDeletedContract>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
292
|
-
/**
|
|
293
|
-
* A mapping between an original code hash and its owner information.
|
|
294
|
-
**/
|
|
295
|
-
ownerInfoOf: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletContractsWasmOwnerInfo>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
296
|
-
/**
|
|
297
|
-
* A mapping from an original code hash to the original code, untouched by instrumentation.
|
|
298
|
-
**/
|
|
299
|
-
pristineCode: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<Bytes>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
300
|
-
/**
|
|
301
|
-
* Generic query
|
|
302
|
-
**/
|
|
303
|
-
[key: string]: QueryableStorageEntry<ApiType>;
|
|
304
|
-
};
|
|
305
|
-
council: {
|
|
306
|
-
/**
|
|
307
|
-
* The current members of the collective. This is stored sorted (just by value).
|
|
308
|
-
**/
|
|
309
|
-
members: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
310
|
-
/**
|
|
311
|
-
* The prime member that helps determine the default vote behavior in case of absentations.
|
|
312
|
-
**/
|
|
313
|
-
prime: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
314
|
-
/**
|
|
315
|
-
* Proposals so far.
|
|
316
|
-
**/
|
|
317
|
-
proposalCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
318
|
-
/**
|
|
319
|
-
* Actual proposal for a given hash, if it's current.
|
|
320
|
-
**/
|
|
321
|
-
proposalOf: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<Call>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
322
|
-
/**
|
|
323
|
-
* The hashes of the active proposals.
|
|
324
|
-
**/
|
|
325
|
-
proposals: AugmentedQuery<ApiType, () => Observable<Vec<H256>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
326
|
-
/**
|
|
327
|
-
* Votes on a given proposal, if it is ongoing.
|
|
328
|
-
**/
|
|
329
|
-
voting: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletCollectiveVotes>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
330
|
-
/**
|
|
331
|
-
* Generic query
|
|
332
|
-
**/
|
|
333
|
-
[key: string]: QueryableStorageEntry<ApiType>;
|
|
334
|
-
};
|
|
335
|
-
democracy: {
|
|
336
|
-
/**
|
|
337
|
-
* A record of who vetoed what. Maps proposal hash to a possible existent block number
|
|
338
|
-
* (until when it may not be resubmitted) and who vetoed it.
|
|
339
|
-
**/
|
|
340
|
-
blacklist: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<ITuple<[u32, Vec<AccountId32>]>>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
341
|
-
/**
|
|
342
|
-
* Record of all proposals that have been subject to emergency cancellation.
|
|
343
|
-
**/
|
|
344
|
-
cancellations: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<bool>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
345
|
-
/**
|
|
346
|
-
* Those who have locked a deposit.
|
|
347
|
-
*
|
|
348
|
-
* TWOX-NOTE: Safe, as increasing integer keys are safe.
|
|
349
|
-
**/
|
|
350
|
-
depositOf: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[Vec<AccountId32>, u128]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
351
|
-
/**
|
|
352
|
-
* True if the last referendum tabled was submitted externally. False if it was a public
|
|
353
|
-
* proposal.
|
|
354
|
-
**/
|
|
355
|
-
lastTabledWasExternal: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
|
|
356
|
-
/**
|
|
357
|
-
* Accounts for which there are locks in action which may be removed at some point in the
|
|
358
|
-
* future. The value is the block number at which the lock expires and may be removed.
|
|
359
|
-
*
|
|
360
|
-
* TWOX-NOTE: OK ― `AccountId` is a secure hash.
|
|
361
|
-
**/
|
|
362
|
-
locks: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
363
|
-
/**
|
|
364
|
-
* The lowest referendum index representing an unbaked referendum. Equal to
|
|
365
|
-
* `ReferendumCount` if there isn't a unbaked referendum.
|
|
366
|
-
**/
|
|
367
|
-
lowestUnbaked: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
368
|
-
/**
|
|
369
|
-
* The referendum to be tabled whenever it would be valid to table an external proposal.
|
|
370
|
-
* This happens when a referendum needs to be tabled and one of two conditions are met:
|
|
371
|
-
* - `LastTabledWasExternal` is `false`; or
|
|
372
|
-
* - `PublicProps` is empty.
|
|
373
|
-
**/
|
|
374
|
-
nextExternal: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[H256, PalletDemocracyVoteThreshold]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
375
|
-
/**
|
|
376
|
-
* Map of hashes to the proposal preimage, along with who registered it and their deposit.
|
|
377
|
-
* The block number is the block at which it was deposited.
|
|
378
|
-
**/
|
|
379
|
-
preimages: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletDemocracyPreimageStatus>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
380
|
-
/**
|
|
381
|
-
* The number of (public) proposals that have been made so far.
|
|
382
|
-
**/
|
|
383
|
-
publicPropCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
384
|
-
/**
|
|
385
|
-
* The public proposals. Unsorted. The second item is the proposal's hash.
|
|
386
|
-
**/
|
|
387
|
-
publicProps: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, H256, AccountId32]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
388
|
-
/**
|
|
389
|
-
* The next free referendum index, aka the number of referenda started so far.
|
|
390
|
-
**/
|
|
391
|
-
referendumCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
392
|
-
/**
|
|
393
|
-
* Information concerning any given referendum.
|
|
394
|
-
*
|
|
395
|
-
* TWOX-NOTE: SAFE as indexes are not under an attacker’s control.
|
|
396
|
-
**/
|
|
397
|
-
referendumInfoOf: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletDemocracyReferendumInfo>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
398
|
-
/**
|
|
399
|
-
* Storage version of the pallet.
|
|
400
|
-
*
|
|
401
|
-
* New networks start with last version.
|
|
402
|
-
**/
|
|
403
|
-
storageVersion: AugmentedQuery<ApiType, () => Observable<Option<PalletDemocracyReleases>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
404
|
-
/**
|
|
405
|
-
* All votes for a particular voter. We store the balance for the number of votes that we
|
|
406
|
-
* have recorded. The second item is the total amount of delegations, that will be added.
|
|
407
|
-
*
|
|
408
|
-
* TWOX-NOTE: SAFE as `AccountId`s are crypto hashes anyway.
|
|
409
|
-
**/
|
|
410
|
-
votingOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletDemocracyVoteVoting>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
411
|
-
/**
|
|
412
|
-
* Generic query
|
|
413
|
-
**/
|
|
414
|
-
[key: string]: QueryableStorageEntry<ApiType>;
|
|
415
|
-
};
|
|
416
|
-
electionProviderMultiPhase: {
|
|
417
|
-
/**
|
|
418
|
-
* Current phase.
|
|
419
|
-
**/
|
|
420
|
-
currentPhase: AugmentedQuery<ApiType, () => Observable<PalletElectionProviderMultiPhasePhase>, []> & QueryableStorageEntry<ApiType, []>;
|
|
421
|
-
/**
|
|
422
|
-
* Desired number of targets to elect for this round.
|
|
423
|
-
*
|
|
424
|
-
* Only exists when [`Snapshot`] is present.
|
|
425
|
-
**/
|
|
426
|
-
desiredTargets: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
427
|
-
/**
|
|
428
|
-
* The minimum score that each 'untrusted' solution must attain in order to be considered
|
|
429
|
-
* feasible.
|
|
430
|
-
*
|
|
431
|
-
* Can be set via `set_minimum_untrusted_score`.
|
|
432
|
-
**/
|
|
433
|
-
minimumUntrustedScore: AugmentedQuery<ApiType, () => Observable<Option<Vec<u128>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
434
|
-
/**
|
|
435
|
-
* Current best solution, signed or unsigned, queued to be returned upon `elect`.
|
|
436
|
-
**/
|
|
437
|
-
queuedSolution: AugmentedQuery<ApiType, () => Observable<Option<PalletElectionProviderMultiPhaseReadySolution>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
438
|
-
/**
|
|
439
|
-
* Internal counter for the number of rounds.
|
|
440
|
-
*
|
|
441
|
-
* This is useful for de-duplication of transactions submitted to the pool, and general
|
|
442
|
-
* diagnostics of the pallet.
|
|
443
|
-
*
|
|
444
|
-
* This is merely incremented once per every time that an upstream `elect` is called.
|
|
445
|
-
**/
|
|
446
|
-
round: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
447
|
-
/**
|
|
448
|
-
* A sorted, bounded set of `(score, index)`, where each `index` points to a value in
|
|
449
|
-
* `SignedSubmissions`.
|
|
450
|
-
*
|
|
451
|
-
* We never need to process more than a single signed submission at a time. Signed submissions
|
|
452
|
-
* can be quite large, so we're willing to pay the cost of multiple database accesses to access
|
|
453
|
-
* them one at a time instead of reading and decoding all of them at once.
|
|
454
|
-
**/
|
|
455
|
-
signedSubmissionIndices: AugmentedQuery<ApiType, () => Observable<BTreeMap<Vec<u128>, u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
456
|
-
/**
|
|
457
|
-
* The next index to be assigned to an incoming signed submission.
|
|
458
|
-
*
|
|
459
|
-
* Every accepted submission is assigned a unique index; that index is bound to that particular
|
|
460
|
-
* submission for the duration of the election. On election finalization, the next index is
|
|
461
|
-
* reset to 0.
|
|
462
|
-
*
|
|
463
|
-
* We can't just use `SignedSubmissionIndices.len()`, because that's a bounded set; past its
|
|
464
|
-
* capacity, it will simply saturate. We can't just iterate over `SignedSubmissionsMap`,
|
|
465
|
-
* because iteration is slow. Instead, we store the value here.
|
|
466
|
-
**/
|
|
467
|
-
signedSubmissionNextIndex: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
468
|
-
/**
|
|
469
|
-
* Unchecked, signed solutions.
|
|
470
|
-
*
|
|
471
|
-
* Together with `SubmissionIndices`, this stores a bounded set of `SignedSubmissions` while
|
|
472
|
-
* allowing us to keep only a single one in memory at a time.
|
|
473
|
-
*
|
|
474
|
-
* Twox note: the key of the map is an auto-incrementing index which users cannot inspect or
|
|
475
|
-
* affect; we shouldn't need a cryptographically secure hasher.
|
|
476
|
-
**/
|
|
477
|
-
signedSubmissionsMap: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<PalletElectionProviderMultiPhaseSignedSignedSubmission>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
478
|
-
/**
|
|
479
|
-
* Snapshot data of the round.
|
|
480
|
-
*
|
|
481
|
-
* This is created at the beginning of the signed phase and cleared upon calling `elect`.
|
|
482
|
-
**/
|
|
483
|
-
snapshot: AugmentedQuery<ApiType, () => Observable<Option<PalletElectionProviderMultiPhaseRoundSnapshot>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
484
|
-
/**
|
|
485
|
-
* The metadata of the [`RoundSnapshot`]
|
|
486
|
-
*
|
|
487
|
-
* Only exists when [`Snapshot`] is present.
|
|
488
|
-
**/
|
|
489
|
-
snapshotMetadata: AugmentedQuery<ApiType, () => Observable<Option<PalletElectionProviderMultiPhaseSolutionOrSnapshotSize>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
490
|
-
/**
|
|
491
|
-
* Generic query
|
|
492
|
-
**/
|
|
493
|
-
[key: string]: QueryableStorageEntry<ApiType>;
|
|
494
|
-
};
|
|
495
|
-
elections: {
|
|
496
|
-
/**
|
|
497
|
-
* The present candidate list. A current member or runner-up can never enter this vector
|
|
498
|
-
* and is always implicitly assumed to be a candidate.
|
|
499
|
-
*
|
|
500
|
-
* Second element is the deposit.
|
|
501
|
-
*
|
|
502
|
-
* Invariant: Always sorted based on account id.
|
|
503
|
-
**/
|
|
504
|
-
candidates: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[AccountId32, u128]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
505
|
-
/**
|
|
506
|
-
* The total number of vote rounds that have happened, excluding the upcoming one.
|
|
507
|
-
**/
|
|
508
|
-
electionRounds: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
509
|
-
/**
|
|
510
|
-
* The current elected members.
|
|
511
|
-
*
|
|
512
|
-
* Invariant: Always sorted based on account id.
|
|
513
|
-
**/
|
|
514
|
-
members: AugmentedQuery<ApiType, () => Observable<Vec<PalletElectionsPhragmenSeatHolder>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
515
|
-
/**
|
|
516
|
-
* The current reserved runners-up.
|
|
517
|
-
*
|
|
518
|
-
* Invariant: Always sorted based on rank (worse to best). Upon removal of a member, the
|
|
519
|
-
* last (i.e. _best_) runner-up will be replaced.
|
|
520
|
-
**/
|
|
521
|
-
runnersUp: AugmentedQuery<ApiType, () => Observable<Vec<PalletElectionsPhragmenSeatHolder>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
522
|
-
/**
|
|
523
|
-
* Votes and locked stake of a particular voter.
|
|
524
|
-
*
|
|
525
|
-
* TWOX-NOTE: SAFE as `AccountId` is a crypto hash.
|
|
526
|
-
**/
|
|
527
|
-
voting: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletElectionsPhragmenVoter>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
528
|
-
/**
|
|
529
|
-
* Generic query
|
|
530
|
-
**/
|
|
531
|
-
[key: string]: QueryableStorageEntry<ApiType>;
|
|
532
|
-
};
|
|
533
|
-
gilt: {
|
|
534
|
-
/**
|
|
535
|
-
* The currently active gilts, indexed according to the order of creation.
|
|
536
|
-
**/
|
|
537
|
-
active: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletGiltActiveGilt>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
538
|
-
/**
|
|
539
|
-
* Information relating to the gilts currently active.
|
|
540
|
-
**/
|
|
541
|
-
activeTotal: AugmentedQuery<ApiType, () => Observable<PalletGiltActiveGiltsTotal>, []> & QueryableStorageEntry<ApiType, []>;
|
|
542
|
-
/**
|
|
543
|
-
* The queues of bids ready to become gilts. Indexed by duration (in `Period`s).
|
|
544
|
-
**/
|
|
545
|
-
queues: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<PalletGiltGiltBid>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
546
|
-
/**
|
|
547
|
-
* The totals of items and balances within each queue. Saves a lot of storage reads in the
|
|
548
|
-
* case of sparsely packed queues.
|
|
549
|
-
*
|
|
550
|
-
* The vector is indexed by duration in `Period`s, offset by one, so information on the queue
|
|
551
|
-
* whose duration is one `Period` would be storage `0`.
|
|
552
|
-
**/
|
|
553
|
-
queueTotals: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, u128]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
554
|
-
/**
|
|
555
|
-
* Generic query
|
|
556
|
-
**/
|
|
557
|
-
[key: string]: QueryableStorageEntry<ApiType>;
|
|
558
|
-
};
|
|
559
|
-
grandpa: {
|
|
560
|
-
/**
|
|
561
|
-
* The number of changes (both in terms of keys and underlying economic responsibilities)
|
|
562
|
-
* in the "set" of Grandpa validators from genesis.
|
|
563
|
-
**/
|
|
564
|
-
currentSetId: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
|
|
565
|
-
/**
|
|
566
|
-
* next block number where we can force a change.
|
|
567
|
-
**/
|
|
568
|
-
nextForced: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
569
|
-
/**
|
|
570
|
-
* Pending change: (signaled at, scheduled change).
|
|
571
|
-
**/
|
|
572
|
-
pendingChange: AugmentedQuery<ApiType, () => Observable<Option<PalletGrandpaStoredPendingChange>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
573
|
-
/**
|
|
574
|
-
* A mapping from grandpa set ID to the index of the *most recent* session for which its
|
|
575
|
-
* members were responsible.
|
|
576
|
-
*
|
|
577
|
-
* TWOX-NOTE: `SetId` is not under user control.
|
|
578
|
-
**/
|
|
579
|
-
setIdSession: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;
|
|
580
|
-
/**
|
|
581
|
-
* `true` if we are currently stalled.
|
|
582
|
-
**/
|
|
583
|
-
stalled: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[u32, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
584
|
-
/**
|
|
585
|
-
* State of the current authority set.
|
|
586
|
-
**/
|
|
587
|
-
state: AugmentedQuery<ApiType, () => Observable<PalletGrandpaStoredState>, []> & QueryableStorageEntry<ApiType, []>;
|
|
588
|
-
/**
|
|
589
|
-
* Generic query
|
|
590
|
-
**/
|
|
591
|
-
[key: string]: QueryableStorageEntry<ApiType>;
|
|
592
|
-
};
|
|
593
|
-
identity: {
|
|
594
|
-
/**
|
|
595
|
-
* Information that is pertinent to identify the entity behind an account.
|
|
596
|
-
*
|
|
597
|
-
* TWOX-NOTE: OK ― `AccountId` is a secure hash.
|
|
598
|
-
**/
|
|
599
|
-
identityOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletIdentityRegistration>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
600
|
-
/**
|
|
601
|
-
* The set of registrars. Not expected to get very big as can only be added through a
|
|
602
|
-
* special origin (likely a council motion).
|
|
603
|
-
*
|
|
604
|
-
* The index into this can be cast to `RegistrarIndex` to get a valid value.
|
|
605
|
-
**/
|
|
606
|
-
registrars: AugmentedQuery<ApiType, () => Observable<Vec<Option<PalletIdentityRegistrarInfo>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
607
|
-
/**
|
|
608
|
-
* Alternative "sub" identities of this account.
|
|
609
|
-
*
|
|
610
|
-
* The first item is the deposit, the second is a vector of the accounts.
|
|
611
|
-
*
|
|
612
|
-
* TWOX-NOTE: OK ― `AccountId` is a secure hash.
|
|
613
|
-
**/
|
|
614
|
-
subsOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[u128, Vec<AccountId32>]>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
615
|
-
/**
|
|
616
|
-
* The super-identity of an alternative "sub" identity together with its name, within that
|
|
617
|
-
* context. If the account is not some other account's sub-identity, then just `None`.
|
|
618
|
-
**/
|
|
619
|
-
superOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<ITuple<[AccountId32, Data]>>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
620
|
-
/**
|
|
621
|
-
* Generic query
|
|
622
|
-
**/
|
|
623
|
-
[key: string]: QueryableStorageEntry<ApiType>;
|
|
624
|
-
};
|
|
625
|
-
imOnline: {
|
|
626
|
-
/**
|
|
627
|
-
* For each session index, we keep a mapping of `ValidatorId<T>` to the
|
|
628
|
-
* number of blocks authored by the given authority.
|
|
629
|
-
**/
|
|
630
|
-
authoredBlocks: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<u32>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
|
631
|
-
/**
|
|
632
|
-
* The block number after which it's ok to send heartbeats in the current
|
|
633
|
-
* session.
|
|
634
|
-
*
|
|
635
|
-
* At the beginning of each session we set this to a value that should fall
|
|
636
|
-
* roughly in the middle of the session duration. The idea is to first wait for
|
|
637
|
-
* the validators to produce a block in the current session, so that the
|
|
638
|
-
* heartbeat later on will not be necessary.
|
|
639
|
-
*
|
|
640
|
-
* This value will only be used as a fallback if we fail to get a proper session
|
|
641
|
-
* progress estimate from `NextSessionRotation`, as those estimates should be
|
|
642
|
-
* more accurate then the value we calculate for `HeartbeatAfter`.
|
|
643
|
-
**/
|
|
644
|
-
heartbeatAfter: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
645
|
-
/**
|
|
646
|
-
* The current set of keys that may issue a heartbeat.
|
|
647
|
-
**/
|
|
648
|
-
keys: AugmentedQuery<ApiType, () => Observable<Vec<PalletImOnlineSr25519AppSr25519Public>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
649
|
-
/**
|
|
650
|
-
* For each session index, we keep a mapping of `SessionIndex` and `AuthIndex` to
|
|
651
|
-
* `WrapperOpaque<BoundedOpaqueNetworkState>`.
|
|
652
|
-
**/
|
|
653
|
-
receivedHeartbeats: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<WrapperOpaque<PalletImOnlineBoundedOpaqueNetworkState>>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
|
654
|
-
/**
|
|
655
|
-
* Generic query
|
|
656
|
-
**/
|
|
657
|
-
[key: string]: QueryableStorageEntry<ApiType>;
|
|
658
|
-
};
|
|
659
|
-
indices: {
|
|
660
|
-
/**
|
|
661
|
-
* The lookup from index to account.
|
|
662
|
-
**/
|
|
663
|
-
accounts: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[AccountId32, u128, bool]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
664
|
-
/**
|
|
665
|
-
* Generic query
|
|
666
|
-
**/
|
|
667
|
-
[key: string]: QueryableStorageEntry<ApiType>;
|
|
668
|
-
};
|
|
669
|
-
lottery: {
|
|
670
|
-
/**
|
|
671
|
-
* The calls stored in this pallet to be used in an active lottery if configured
|
|
672
|
-
* by `Config::ValidateCall`.
|
|
673
|
-
**/
|
|
674
|
-
callIndices: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u8, u8]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
675
|
-
/**
|
|
676
|
-
* The configuration for the current lottery.
|
|
677
|
-
**/
|
|
678
|
-
lottery: AugmentedQuery<ApiType, () => Observable<Option<PalletLotteryLotteryConfig>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
679
|
-
lotteryIndex: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
680
|
-
/**
|
|
681
|
-
* Users who have purchased a ticket. (Lottery Index, Tickets Purchased)
|
|
682
|
-
**/
|
|
683
|
-
participants: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[u32, Vec<ITuple<[u8, u8]>>]>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
684
|
-
/**
|
|
685
|
-
* Each ticket's owner.
|
|
686
|
-
*
|
|
687
|
-
* May have residual storage from previous lotteries. Use `TicketsCount` to see which ones
|
|
688
|
-
* are actually valid ticket mappings.
|
|
689
|
-
**/
|
|
690
|
-
tickets: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<AccountId32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
691
|
-
/**
|
|
692
|
-
* Total number of tickets sold.
|
|
693
|
-
**/
|
|
694
|
-
ticketsCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
695
|
-
/**
|
|
696
|
-
* Generic query
|
|
697
|
-
**/
|
|
698
|
-
[key: string]: QueryableStorageEntry<ApiType>;
|
|
699
|
-
};
|
|
700
|
-
mmr: {
|
|
701
|
-
/**
|
|
702
|
-
* Hashes of the nodes in the MMR.
|
|
703
|
-
*
|
|
704
|
-
* Note this collection only contains MMR peaks, the inner nodes (and leaves)
|
|
705
|
-
* are pruned and only stored in the Offchain DB.
|
|
706
|
-
**/
|
|
707
|
-
nodes: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<H256>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;
|
|
708
|
-
/**
|
|
709
|
-
* Current size of the MMR (number of leaves).
|
|
710
|
-
**/
|
|
711
|
-
numberOfLeaves: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
|
|
712
|
-
/**
|
|
713
|
-
* Latest MMR Root hash.
|
|
714
|
-
**/
|
|
715
|
-
rootHash: AugmentedQuery<ApiType, () => Observable<H256>, []> & QueryableStorageEntry<ApiType, []>;
|
|
716
|
-
/**
|
|
717
|
-
* Generic query
|
|
718
|
-
**/
|
|
719
|
-
[key: string]: QueryableStorageEntry<ApiType>;
|
|
720
|
-
};
|
|
721
|
-
multisig: {
|
|
722
|
-
calls: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Option<ITuple<[Bytes, AccountId32, u128]>>>, [U8aFixed]> & QueryableStorageEntry<ApiType, [U8aFixed]>;
|
|
723
|
-
/**
|
|
724
|
-
* The set of open multisig operations.
|
|
725
|
-
**/
|
|
726
|
-
multisigs: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: U8aFixed | string | Uint8Array) => Observable<Option<PalletMultisigMultisig>>, [AccountId32, U8aFixed]> & QueryableStorageEntry<ApiType, [AccountId32, U8aFixed]>;
|
|
727
|
-
/**
|
|
728
|
-
* Generic query
|
|
729
|
-
**/
|
|
730
|
-
[key: string]: QueryableStorageEntry<ApiType>;
|
|
731
|
-
};
|
|
732
|
-
offences: {
|
|
733
|
-
/**
|
|
734
|
-
* A vector of reports of the same kind that happened at the same time slot.
|
|
735
|
-
**/
|
|
736
|
-
concurrentReportsIndex: AugmentedQuery<ApiType, (arg1: U8aFixed | string | Uint8Array, arg2: Bytes | string | Uint8Array) => Observable<Vec<H256>>, [U8aFixed, Bytes]> & QueryableStorageEntry<ApiType, [U8aFixed, Bytes]>;
|
|
737
|
-
/**
|
|
738
|
-
* The primary structure that holds all offence records keyed by report identifiers.
|
|
739
|
-
**/
|
|
740
|
-
reports: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<SpStakingOffenceOffenceDetails>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
741
|
-
/**
|
|
742
|
-
* Enumerates all reports of a kind along with the time they happened.
|
|
743
|
-
*
|
|
744
|
-
* All reports are sorted by the time of offence.
|
|
745
|
-
*
|
|
746
|
-
* Note that the actual type of this mapping is `Vec<u8>`, this is because values of
|
|
747
|
-
* different types are not supported at the moment so we are doing the manual serialization.
|
|
748
|
-
**/
|
|
749
|
-
reportsByKindIndex: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Bytes>, [U8aFixed]> & QueryableStorageEntry<ApiType, [U8aFixed]>;
|
|
750
|
-
/**
|
|
751
|
-
* Generic query
|
|
752
|
-
**/
|
|
753
|
-
[key: string]: QueryableStorageEntry<ApiType>;
|
|
754
|
-
};
|
|
755
|
-
proxy: {
|
|
756
|
-
/**
|
|
757
|
-
* The announcements made by the proxy (key).
|
|
758
|
-
**/
|
|
759
|
-
announcements: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[Vec<PalletProxyAnnouncement>, u128]>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
760
|
-
/**
|
|
761
|
-
* The set of account proxies. Maps the account which has delegated to the accounts
|
|
762
|
-
* which are being delegated to, together with the amount held on deposit.
|
|
763
|
-
**/
|
|
764
|
-
proxies: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[Vec<PalletProxyProxyDefinition>, u128]>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
765
|
-
/**
|
|
766
|
-
* Generic query
|
|
767
|
-
**/
|
|
768
|
-
[key: string]: QueryableStorageEntry<ApiType>;
|
|
769
|
-
};
|
|
770
|
-
randomnessCollectiveFlip: {
|
|
771
|
-
/**
|
|
772
|
-
* Series of block headers from the last 81 blocks that acts as random seed material. This
|
|
773
|
-
* is arranged as a ring buffer with `block_number % 81` being the index into the `Vec` of
|
|
774
|
-
* the oldest hash.
|
|
775
|
-
**/
|
|
776
|
-
randomMaterial: AugmentedQuery<ApiType, () => Observable<Vec<H256>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
777
|
-
/**
|
|
778
|
-
* Generic query
|
|
779
|
-
**/
|
|
780
|
-
[key: string]: QueryableStorageEntry<ApiType>;
|
|
781
|
-
};
|
|
782
|
-
recovery: {
|
|
783
|
-
/**
|
|
784
|
-
* Active recovery attempts.
|
|
785
|
-
*
|
|
786
|
-
* First account is the account to be recovered, and the second account
|
|
787
|
-
* is the user trying to recover the account.
|
|
788
|
-
**/
|
|
789
|
-
activeRecoveries: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<PalletRecoveryActiveRecovery>>, [AccountId32, AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32, AccountId32]>;
|
|
790
|
-
/**
|
|
791
|
-
* The list of allowed proxy accounts.
|
|
792
|
-
*
|
|
793
|
-
* Map from the user who can access it to the recovered account.
|
|
794
|
-
**/
|
|
795
|
-
proxy: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<AccountId32>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
796
|
-
/**
|
|
797
|
-
* The set of recoverable accounts and their recovery configuration.
|
|
798
|
-
**/
|
|
799
|
-
recoverable: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletRecoveryRecoveryConfig>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
800
|
-
/**
|
|
801
|
-
* Generic query
|
|
802
|
-
**/
|
|
803
|
-
[key: string]: QueryableStorageEntry<ApiType>;
|
|
804
|
-
};
|
|
805
|
-
scheduler: {
|
|
806
|
-
/**
|
|
807
|
-
* Items to be executed, indexed by the block number that they should be executed on.
|
|
808
|
-
**/
|
|
809
|
-
agenda: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<Option<PalletSchedulerScheduledV2>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
810
|
-
/**
|
|
811
|
-
* Lookup from identity to the block number and index of the task.
|
|
812
|
-
**/
|
|
813
|
-
lookup: AugmentedQuery<ApiType, (arg: Bytes | string | Uint8Array) => Observable<Option<ITuple<[u32, u32]>>>, [Bytes]> & QueryableStorageEntry<ApiType, [Bytes]>;
|
|
814
|
-
/**
|
|
815
|
-
* Storage version of the pallet.
|
|
816
|
-
*
|
|
817
|
-
* New networks start with last version.
|
|
818
|
-
**/
|
|
819
|
-
storageVersion: AugmentedQuery<ApiType, () => Observable<PalletSchedulerReleases>, []> & QueryableStorageEntry<ApiType, []>;
|
|
820
|
-
/**
|
|
821
|
-
* Generic query
|
|
822
|
-
**/
|
|
823
|
-
[key: string]: QueryableStorageEntry<ApiType>;
|
|
824
|
-
};
|
|
825
|
-
session: {
|
|
826
|
-
/**
|
|
827
|
-
* Current index of the session.
|
|
828
|
-
**/
|
|
829
|
-
currentIndex: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
830
|
-
/**
|
|
831
|
-
* Indices of disabled validators.
|
|
832
|
-
*
|
|
833
|
-
* The vec is always kept sorted so that we can find whether a given validator is
|
|
834
|
-
* disabled using binary search. It gets cleared when `on_session_ending` returns
|
|
835
|
-
* a new set of identities.
|
|
836
|
-
**/
|
|
837
|
-
disabledValidators: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
838
|
-
/**
|
|
839
|
-
* The owner of a key. The key is the `KeyTypeId` + the encoded key.
|
|
840
|
-
**/
|
|
841
|
-
keyOwner: AugmentedQuery<ApiType, (arg: ITuple<[SpCoreCryptoKeyTypeId, Bytes]> | [SpCoreCryptoKeyTypeId | string | Uint8Array, Bytes | string | Uint8Array]) => Observable<Option<AccountId32>>, [ITuple<[SpCoreCryptoKeyTypeId, Bytes]>]> & QueryableStorageEntry<ApiType, [ITuple<[SpCoreCryptoKeyTypeId, Bytes]>]>;
|
|
842
|
-
/**
|
|
843
|
-
* The next session keys for a validator.
|
|
844
|
-
**/
|
|
845
|
-
nextKeys: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<NodeRuntimeSessionKeys>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
846
|
-
/**
|
|
847
|
-
* True if the underlying economic identities or weighting behind the validators
|
|
848
|
-
* has changed in the queued validator set.
|
|
849
|
-
**/
|
|
850
|
-
queuedChanged: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
|
|
851
|
-
/**
|
|
852
|
-
* The queued keys for the next session. When the next session begins, these keys
|
|
853
|
-
* will be used to determine the validator's session keys.
|
|
854
|
-
**/
|
|
855
|
-
queuedKeys: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[AccountId32, NodeRuntimeSessionKeys]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
856
|
-
/**
|
|
857
|
-
* The current set of validators.
|
|
858
|
-
**/
|
|
859
|
-
validators: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
860
|
-
/**
|
|
861
|
-
* Generic query
|
|
862
|
-
**/
|
|
863
|
-
[key: string]: QueryableStorageEntry<ApiType>;
|
|
864
|
-
};
|
|
865
|
-
society: {
|
|
866
|
-
/**
|
|
867
|
-
* The current bids, stored ordered by the value of the bid.
|
|
868
|
-
**/
|
|
869
|
-
bids: AugmentedQuery<ApiType, () => Observable<Vec<PalletSocietyBid>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
870
|
-
/**
|
|
871
|
-
* The current set of candidates; bidders that are attempting to become members.
|
|
872
|
-
**/
|
|
873
|
-
candidates: AugmentedQuery<ApiType, () => Observable<Vec<PalletSocietyBid>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
874
|
-
/**
|
|
875
|
-
* The defending member currently being challenged.
|
|
876
|
-
**/
|
|
877
|
-
defender: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
878
|
-
/**
|
|
879
|
-
* Votes for the defender.
|
|
880
|
-
**/
|
|
881
|
-
defenderVotes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletSocietyVote>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
882
|
-
/**
|
|
883
|
-
* The first member.
|
|
884
|
-
**/
|
|
885
|
-
founder: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
886
|
-
/**
|
|
887
|
-
* The most primary from the most recently approved members.
|
|
888
|
-
**/
|
|
889
|
-
head: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
890
|
-
/**
|
|
891
|
-
* The max number of members for the society at one time.
|
|
892
|
-
**/
|
|
893
|
-
maxMembers: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
894
|
-
/**
|
|
895
|
-
* The current set of members, ordered.
|
|
896
|
-
**/
|
|
897
|
-
members: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
898
|
-
/**
|
|
899
|
-
* Pending payouts; ordered by block number, with the amount that should be paid out.
|
|
900
|
-
**/
|
|
901
|
-
payouts: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<ITuple<[u32, u128]>>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
902
|
-
/**
|
|
903
|
-
* Amount of our account balance that is specifically for the next round's bid(s).
|
|
904
|
-
**/
|
|
905
|
-
pot: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
|
|
906
|
-
/**
|
|
907
|
-
* A hash of the rules of this society concerning membership. Can only be set once and
|
|
908
|
-
* only by the founder.
|
|
909
|
-
**/
|
|
910
|
-
rules: AugmentedQuery<ApiType, () => Observable<Option<H256>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
911
|
-
/**
|
|
912
|
-
* The ongoing number of losing votes cast by the member.
|
|
913
|
-
**/
|
|
914
|
-
strikes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u32>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
915
|
-
/**
|
|
916
|
-
* The set of suspended candidates.
|
|
917
|
-
**/
|
|
918
|
-
suspendedCandidates: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<ITuple<[u128, PalletSocietyBidKind]>>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
919
|
-
/**
|
|
920
|
-
* The set of suspended members.
|
|
921
|
-
**/
|
|
922
|
-
suspendedMembers: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<bool>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
923
|
-
/**
|
|
924
|
-
* Double map from Candidate -> Voter -> (Maybe) Vote.
|
|
925
|
-
**/
|
|
926
|
-
votes: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<PalletSocietyVote>>, [AccountId32, AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32, AccountId32]>;
|
|
927
|
-
/**
|
|
928
|
-
* Members currently vouching or banned from vouching again
|
|
929
|
-
**/
|
|
930
|
-
vouching: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletSocietyVouchingStatus>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
931
|
-
/**
|
|
932
|
-
* Generic query
|
|
933
|
-
**/
|
|
934
|
-
[key: string]: QueryableStorageEntry<ApiType>;
|
|
935
|
-
};
|
|
936
|
-
staking: {
|
|
937
|
-
/**
|
|
938
|
-
* The active era information, it holds index and start.
|
|
939
|
-
*
|
|
940
|
-
* The active era is the era being currently rewarded. Validator set of this era must be
|
|
941
|
-
* equal to [`SessionInterface::validators`].
|
|
942
|
-
**/
|
|
943
|
-
activeEra: AugmentedQuery<ApiType, () => Observable<Option<PalletStakingActiveEraInfo>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
944
|
-
/**
|
|
945
|
-
* Map from all locked "stash" accounts to the controller account.
|
|
946
|
-
**/
|
|
947
|
-
bonded: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<AccountId32>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
948
|
-
/**
|
|
949
|
-
* A mapping from still-bonded eras to the first session index of that era.
|
|
950
|
-
*
|
|
951
|
-
* Must contains information for eras for the range:
|
|
952
|
-
* `[active_era - bounding_duration; active_era]`
|
|
953
|
-
**/
|
|
954
|
-
bondedEras: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
955
|
-
/**
|
|
956
|
-
* The amount of currency given to reporters of a slash event which was
|
|
957
|
-
* canceled by extraordinary circumstances (e.g. governance).
|
|
958
|
-
**/
|
|
959
|
-
canceledSlashPayout: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
|
|
960
|
-
/**
|
|
961
|
-
* The threshold for when users can start calling `chill_other` for other validators /
|
|
962
|
-
* nominators. The threshold is compared to the actual number of validators / nominators
|
|
963
|
-
* (`CountFor*`) in the system compared to the configured max (`Max*Count`).
|
|
964
|
-
**/
|
|
965
|
-
chillThreshold: AugmentedQuery<ApiType, () => Observable<Option<Percent>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
966
|
-
/**
|
|
967
|
-
* Counter for the related counted storage map
|
|
968
|
-
**/
|
|
969
|
-
counterForNominators: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
970
|
-
/**
|
|
971
|
-
* Counter for the related counted storage map
|
|
972
|
-
**/
|
|
973
|
-
counterForValidators: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
974
|
-
/**
|
|
975
|
-
* The current era index.
|
|
976
|
-
*
|
|
977
|
-
* This is the latest planned era, depending on how the Session pallet queues the validator
|
|
978
|
-
* set, it might be active or not.
|
|
979
|
-
**/
|
|
980
|
-
currentEra: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
981
|
-
/**
|
|
982
|
-
* The last planned session scheduled by the session pallet.
|
|
983
|
-
*
|
|
984
|
-
* This is basically in sync with the call to [`pallet_session::SessionManager::new_session`].
|
|
985
|
-
**/
|
|
986
|
-
currentPlannedSession: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
987
|
-
/**
|
|
988
|
-
* The earliest era for which we have a pending, unapplied slash.
|
|
989
|
-
**/
|
|
990
|
-
earliestUnappliedSlash: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
991
|
-
/**
|
|
992
|
-
* Rewards for the last `HISTORY_DEPTH` eras.
|
|
993
|
-
* If reward hasn't been set or has been removed then 0 reward is returned.
|
|
994
|
-
**/
|
|
995
|
-
erasRewardPoints: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<PalletStakingEraRewardPoints>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
996
|
-
/**
|
|
997
|
-
* Exposure of validator at era.
|
|
998
|
-
*
|
|
999
|
-
* This is keyed first by the era index to allow bulk deletion and then the stash account.
|
|
1000
|
-
*
|
|
1001
|
-
* Is it removed after `HISTORY_DEPTH` eras.
|
|
1002
|
-
* If stakers hasn't been set or has been removed then empty exposure is returned.
|
|
1003
|
-
**/
|
|
1004
|
-
erasStakers: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<PalletStakingExposure>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
|
1005
|
-
/**
|
|
1006
|
-
* Clipped Exposure of validator at era.
|
|
1007
|
-
*
|
|
1008
|
-
* This is similar to [`ErasStakers`] but number of nominators exposed is reduced to the
|
|
1009
|
-
* `T::MaxNominatorRewardedPerValidator` biggest stakers.
|
|
1010
|
-
* (Note: the field `total` and `own` of the exposure remains unchanged).
|
|
1011
|
-
* This is used to limit the i/o cost for the nominator payout.
|
|
1012
|
-
*
|
|
1013
|
-
* This is keyed fist by the era index to allow bulk deletion and then the stash account.
|
|
1014
|
-
*
|
|
1015
|
-
* Is it removed after `HISTORY_DEPTH` eras.
|
|
1016
|
-
* If stakers hasn't been set or has been removed then empty exposure is returned.
|
|
1017
|
-
**/
|
|
1018
|
-
erasStakersClipped: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<PalletStakingExposure>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
|
1019
|
-
/**
|
|
1020
|
-
* The session index at which the era start for the last `HISTORY_DEPTH` eras.
|
|
1021
|
-
*
|
|
1022
|
-
* Note: This tracks the starting session (i.e. session index when era start being active)
|
|
1023
|
-
* for the eras in `[CurrentEra - HISTORY_DEPTH, CurrentEra]`.
|
|
1024
|
-
**/
|
|
1025
|
-
erasStartSessionIndex: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1026
|
-
/**
|
|
1027
|
-
* The total amount staked for the last `HISTORY_DEPTH` eras.
|
|
1028
|
-
* If total hasn't been set or has been removed then 0 stake is returned.
|
|
1029
|
-
**/
|
|
1030
|
-
erasTotalStake: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1031
|
-
/**
|
|
1032
|
-
* Similar to `ErasStakers`, this holds the preferences of validators.
|
|
1033
|
-
*
|
|
1034
|
-
* This is keyed first by the era index to allow bulk deletion and then the stash account.
|
|
1035
|
-
*
|
|
1036
|
-
* Is it removed after `HISTORY_DEPTH` eras.
|
|
1037
|
-
**/
|
|
1038
|
-
erasValidatorPrefs: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<PalletStakingValidatorPrefs>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
|
1039
|
-
/**
|
|
1040
|
-
* The total validator era payout for the last `HISTORY_DEPTH` eras.
|
|
1041
|
-
*
|
|
1042
|
-
* Eras that haven't finished yet or has been removed doesn't have reward.
|
|
1043
|
-
**/
|
|
1044
|
-
erasValidatorReward: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u128>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1045
|
-
/**
|
|
1046
|
-
* Mode of era forcing.
|
|
1047
|
-
**/
|
|
1048
|
-
forceEra: AugmentedQuery<ApiType, () => Observable<PalletStakingForcing>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1049
|
-
/**
|
|
1050
|
-
* Number of eras to keep in history.
|
|
1051
|
-
*
|
|
1052
|
-
* Information is kept for eras in `[current_era - history_depth; current_era]`.
|
|
1053
|
-
*
|
|
1054
|
-
* Must be more than the number of eras delayed by session otherwise. I.e. active era must
|
|
1055
|
-
* always be in history. I.e. `active_era > current_era - history_depth` must be
|
|
1056
|
-
* guaranteed.
|
|
1057
|
-
**/
|
|
1058
|
-
historyDepth: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1059
|
-
/**
|
|
1060
|
-
* Any validators that may never be slashed or forcibly kicked. It's a Vec since they're
|
|
1061
|
-
* easy to initialize and the performance hit is minimal (we expect no more than four
|
|
1062
|
-
* invulnerables) and restricted to testnets.
|
|
1063
|
-
**/
|
|
1064
|
-
invulnerables: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1065
|
-
/**
|
|
1066
|
-
* Map from all (unlocked) "controller" accounts to the info regarding the staking.
|
|
1067
|
-
**/
|
|
1068
|
-
ledger: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletStakingStakingLedger>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1069
|
-
/**
|
|
1070
|
-
* The maximum nominator count before we stop allowing new validators to join.
|
|
1071
|
-
*
|
|
1072
|
-
* When this value is not set, no limits are enforced.
|
|
1073
|
-
**/
|
|
1074
|
-
maxNominatorsCount: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1075
|
-
/**
|
|
1076
|
-
* The maximum validator count before we stop allowing new validators to join.
|
|
1077
|
-
*
|
|
1078
|
-
* When this value is not set, no limits are enforced.
|
|
1079
|
-
**/
|
|
1080
|
-
maxValidatorsCount: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1081
|
-
/**
|
|
1082
|
-
* The minimum amount of commission that validators can set.
|
|
1083
|
-
*
|
|
1084
|
-
* If set to `0`, no limit exists.
|
|
1085
|
-
**/
|
|
1086
|
-
minCommission: AugmentedQuery<ApiType, () => Observable<Perbill>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1087
|
-
/**
|
|
1088
|
-
* Minimum number of staking participants before emergency conditions are imposed.
|
|
1089
|
-
**/
|
|
1090
|
-
minimumValidatorCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1091
|
-
/**
|
|
1092
|
-
* The minimum active bond to become and maintain the role of a nominator.
|
|
1093
|
-
**/
|
|
1094
|
-
minNominatorBond: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1095
|
-
/**
|
|
1096
|
-
* The minimum active bond to become and maintain the role of a validator.
|
|
1097
|
-
**/
|
|
1098
|
-
minValidatorBond: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1099
|
-
/**
|
|
1100
|
-
* The map from nominator stash key to the set of stash keys of all validators to nominate.
|
|
1101
|
-
**/
|
|
1102
|
-
nominators: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletStakingNominations>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1103
|
-
/**
|
|
1104
|
-
* All slashing events on nominators, mapped by era to the highest slash value of the era.
|
|
1105
|
-
**/
|
|
1106
|
-
nominatorSlashInEra: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u128>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
|
1107
|
-
/**
|
|
1108
|
-
* Indices of validators that have offended in the active era and whether they are currently
|
|
1109
|
-
* disabled.
|
|
1110
|
-
*
|
|
1111
|
-
* This value should be a superset of disabled validators since not all offences lead to the
|
|
1112
|
-
* validator being disabled (if there was no slash). This is needed to track the percentage of
|
|
1113
|
-
* validators that have offended in the current era, ensuring a new era is forced if
|
|
1114
|
-
* `OffendingValidatorsThreshold` is reached. The vec is always kept sorted so that we can find
|
|
1115
|
-
* whether a given validator has previously offended using binary search. It gets cleared when
|
|
1116
|
-
* the era ends.
|
|
1117
|
-
**/
|
|
1118
|
-
offendingValidators: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, bool]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1119
|
-
/**
|
|
1120
|
-
* Where the reward payment should be made. Keyed by stash.
|
|
1121
|
-
**/
|
|
1122
|
-
payee: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletStakingRewardDestination>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1123
|
-
/**
|
|
1124
|
-
* Slashing spans for stash accounts.
|
|
1125
|
-
**/
|
|
1126
|
-
slashingSpans: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletStakingSlashingSlashingSpans>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1127
|
-
/**
|
|
1128
|
-
* The percentage of the slash that is distributed to reporters.
|
|
1129
|
-
*
|
|
1130
|
-
* The rest of the slashed value is handled by the `Slash`.
|
|
1131
|
-
**/
|
|
1132
|
-
slashRewardFraction: AugmentedQuery<ApiType, () => Observable<Perbill>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1133
|
-
/**
|
|
1134
|
-
* Records information about the maximum slash of a stash within a slashing span,
|
|
1135
|
-
* as well as how much reward has been paid out.
|
|
1136
|
-
**/
|
|
1137
|
-
spanSlash: AugmentedQuery<ApiType, (arg: ITuple<[AccountId32, u32]> | [AccountId32 | string | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable<PalletStakingSlashingSpanRecord>, [ITuple<[AccountId32, u32]>]> & QueryableStorageEntry<ApiType, [ITuple<[AccountId32, u32]>]>;
|
|
1138
|
-
/**
|
|
1139
|
-
* True if network has been upgraded to this version.
|
|
1140
|
-
* Storage version of the pallet.
|
|
1141
|
-
*
|
|
1142
|
-
* This is set to v7.0.0 for new networks.
|
|
1143
|
-
**/
|
|
1144
|
-
storageVersion: AugmentedQuery<ApiType, () => Observable<PalletStakingReleases>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1145
|
-
/**
|
|
1146
|
-
* All unapplied slashes that are queued for later.
|
|
1147
|
-
**/
|
|
1148
|
-
unappliedSlashes: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<PalletStakingUnappliedSlash>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1149
|
-
/**
|
|
1150
|
-
* The ideal number of staking participants.
|
|
1151
|
-
**/
|
|
1152
|
-
validatorCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1153
|
-
/**
|
|
1154
|
-
* The map from (wannabe) validator stash key to the preferences of that validator.
|
|
1155
|
-
**/
|
|
1156
|
-
validators: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletStakingValidatorPrefs>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1157
|
-
/**
|
|
1158
|
-
* All slashing events on validators, mapped by era to the highest slash proportion
|
|
1159
|
-
* and slash value of the era.
|
|
1160
|
-
**/
|
|
1161
|
-
validatorSlashInEra: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<ITuple<[Perbill, u128]>>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
|
1162
|
-
/**
|
|
1163
|
-
* Generic query
|
|
1164
|
-
**/
|
|
1165
|
-
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1166
|
-
};
|
|
1167
|
-
sudo: {
|
|
1168
|
-
/**
|
|
1169
|
-
* The `AccountId` of the sudo key.
|
|
1170
|
-
**/
|
|
1171
|
-
key: AugmentedQuery<ApiType, () => Observable<AccountId32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1172
|
-
/**
|
|
1173
|
-
* Generic query
|
|
1174
|
-
**/
|
|
1175
|
-
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1176
|
-
};
|
|
1177
|
-
system: {
|
|
1178
|
-
/**
|
|
1179
|
-
* The full account information for a particular account ID.
|
|
1180
|
-
**/
|
|
1181
|
-
account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<FrameSystemAccountInfo>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1182
|
-
/**
|
|
1183
|
-
* Total length (in bytes) for all extrinsics put together, for the current block.
|
|
1184
|
-
**/
|
|
1185
|
-
allExtrinsicsLen: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1186
|
-
/**
|
|
1187
|
-
* Map of block numbers to block hashes.
|
|
1188
|
-
**/
|
|
1189
|
-
blockHash: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<H256>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1190
|
-
/**
|
|
1191
|
-
* The current weight for the block.
|
|
1192
|
-
**/
|
|
1193
|
-
blockWeight: AugmentedQuery<ApiType, () => Observable<FrameSupportWeightsPerDispatchClassU64>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1194
|
-
/**
|
|
1195
|
-
* Digest of the current block, also part of the block header.
|
|
1196
|
-
**/
|
|
1197
|
-
digest: AugmentedQuery<ApiType, () => Observable<SpRuntimeDigest>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1198
|
-
/**
|
|
1199
|
-
* The number of events in the `Events<T>` list.
|
|
1200
|
-
**/
|
|
1201
|
-
eventCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1202
|
-
/**
|
|
1203
|
-
* Events deposited for the current block.
|
|
1204
|
-
*
|
|
1205
|
-
* NOTE: This storage item is explicitly unbounded since it is never intended to be read
|
|
1206
|
-
* from within the runtime.
|
|
1207
|
-
**/
|
|
1208
|
-
events: AugmentedQuery<ApiType, () => Observable<Vec<FrameSystemEventRecord>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1209
|
-
/**
|
|
1210
|
-
* Mapping between a topic (represented by T::Hash) and a vector of indexes
|
|
1211
|
-
* of events in the `<Events<T>>` list.
|
|
1212
|
-
*
|
|
1213
|
-
* All topic vectors have deterministic storage locations depending on the topic. This
|
|
1214
|
-
* allows light-clients to leverage the changes trie storage tracking mechanism and
|
|
1215
|
-
* in case of changes fetch the list of events of interest.
|
|
1216
|
-
*
|
|
1217
|
-
* The value has the type `(T::BlockNumber, EventIndex)` because if we used only just
|
|
1218
|
-
* the `EventIndex` then in case if the topic has the same contents on the next block
|
|
1219
|
-
* no notification will be triggered thus the event might be lost.
|
|
1220
|
-
**/
|
|
1221
|
-
eventTopics: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Vec<ITuple<[u32, u32]>>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
1222
|
-
/**
|
|
1223
|
-
* The execution phase of the block.
|
|
1224
|
-
**/
|
|
1225
|
-
executionPhase: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemPhase>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1226
|
-
/**
|
|
1227
|
-
* Total extrinsics count for the current block.
|
|
1228
|
-
**/
|
|
1229
|
-
extrinsicCount: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1230
|
-
/**
|
|
1231
|
-
* Extrinsics data for the current block (maps an extrinsic's index to its data).
|
|
1232
|
-
**/
|
|
1233
|
-
extrinsicData: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1234
|
-
/**
|
|
1235
|
-
* Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened.
|
|
1236
|
-
**/
|
|
1237
|
-
lastRuntimeUpgrade: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemLastRuntimeUpgradeInfo>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1238
|
-
/**
|
|
1239
|
-
* The current block number being processed. Set by `execute_block`.
|
|
1240
|
-
**/
|
|
1241
|
-
number: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1242
|
-
/**
|
|
1243
|
-
* Hash of the previous block.
|
|
1244
|
-
**/
|
|
1245
|
-
parentHash: AugmentedQuery<ApiType, () => Observable<H256>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1246
|
-
/**
|
|
1247
|
-
* True if we have upgraded so that AccountInfo contains three types of `RefCount`. False
|
|
1248
|
-
* (default) if not.
|
|
1249
|
-
**/
|
|
1250
|
-
upgradedToTripleRefCount: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1251
|
-
/**
|
|
1252
|
-
* True if we have upgraded so that `type RefCount` is `u32`. False (default) if not.
|
|
1253
|
-
**/
|
|
1254
|
-
upgradedToU32RefCount: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1255
|
-
/**
|
|
1256
|
-
* Generic query
|
|
1257
|
-
**/
|
|
1258
|
-
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1259
|
-
};
|
|
1260
|
-
technicalCommittee: {
|
|
1261
|
-
/**
|
|
1262
|
-
* The current members of the collective. This is stored sorted (just by value).
|
|
1263
|
-
**/
|
|
1264
|
-
members: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1265
|
-
/**
|
|
1266
|
-
* The prime member that helps determine the default vote behavior in case of absentations.
|
|
1267
|
-
**/
|
|
1268
|
-
prime: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1269
|
-
/**
|
|
1270
|
-
* Proposals so far.
|
|
1271
|
-
**/
|
|
1272
|
-
proposalCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1273
|
-
/**
|
|
1274
|
-
* Actual proposal for a given hash, if it's current.
|
|
1275
|
-
**/
|
|
1276
|
-
proposalOf: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<Call>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
1277
|
-
/**
|
|
1278
|
-
* The hashes of the active proposals.
|
|
1279
|
-
**/
|
|
1280
|
-
proposals: AugmentedQuery<ApiType, () => Observable<Vec<H256>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1281
|
-
/**
|
|
1282
|
-
* Votes on a given proposal, if it is ongoing.
|
|
1283
|
-
**/
|
|
1284
|
-
voting: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletCollectiveVotes>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
1285
|
-
/**
|
|
1286
|
-
* Generic query
|
|
1287
|
-
**/
|
|
1288
|
-
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1289
|
-
};
|
|
1290
|
-
technicalMembership: {
|
|
1291
|
-
/**
|
|
1292
|
-
* The current membership, stored as an ordered Vec.
|
|
1293
|
-
**/
|
|
1294
|
-
members: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1295
|
-
/**
|
|
1296
|
-
* The current prime member, if one exists.
|
|
1297
|
-
**/
|
|
1298
|
-
prime: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1299
|
-
/**
|
|
1300
|
-
* Generic query
|
|
1301
|
-
**/
|
|
1302
|
-
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1303
|
-
};
|
|
1304
|
-
timestamp: {
|
|
1305
|
-
/**
|
|
1306
|
-
* Did the timestamp get updated in this block?
|
|
1307
|
-
**/
|
|
1308
|
-
didUpdate: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1309
|
-
/**
|
|
1310
|
-
* Current time for the current block.
|
|
1311
|
-
**/
|
|
1312
|
-
now: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1313
|
-
/**
|
|
1314
|
-
* Generic query
|
|
1315
|
-
**/
|
|
1316
|
-
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1317
|
-
};
|
|
1318
|
-
tips: {
|
|
1319
|
-
/**
|
|
1320
|
-
* Simple preimage lookup from the reason's hash to the original data. Again, has an
|
|
1321
|
-
* insecure enumerable hash since the key is guaranteed to be the result of a secure hash.
|
|
1322
|
-
**/
|
|
1323
|
-
reasons: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<Bytes>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
1324
|
-
/**
|
|
1325
|
-
* TipsMap that are not yet completed. Keyed by the hash of `(reason, who)` from the value.
|
|
1326
|
-
* This has the insecure enumerable hash function since the key itself is already
|
|
1327
|
-
* guaranteed to be a secure hash.
|
|
1328
|
-
**/
|
|
1329
|
-
tips: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletTipsOpenTip>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
1330
|
-
/**
|
|
1331
|
-
* Generic query
|
|
1332
|
-
**/
|
|
1333
|
-
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1334
|
-
};
|
|
1335
|
-
transactionPayment: {
|
|
1336
|
-
nextFeeMultiplier: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1337
|
-
storageVersion: AugmentedQuery<ApiType, () => Observable<PalletTransactionPaymentReleases>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1338
|
-
/**
|
|
1339
|
-
* Generic query
|
|
1340
|
-
**/
|
|
1341
|
-
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1342
|
-
};
|
|
1343
|
-
transactionStorage: {
|
|
1344
|
-
blockTransactions: AugmentedQuery<ApiType, () => Observable<Vec<PalletTransactionStorageTransactionInfo>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1345
|
-
/**
|
|
1346
|
-
* Storage fee per byte.
|
|
1347
|
-
**/
|
|
1348
|
-
byteFee: AugmentedQuery<ApiType, () => Observable<Option<u128>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1349
|
-
/**
|
|
1350
|
-
* Count indexed chunks for each block.
|
|
1351
|
-
**/
|
|
1352
|
-
chunkCount: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1353
|
-
/**
|
|
1354
|
-
* Storage fee per transaction.
|
|
1355
|
-
**/
|
|
1356
|
-
entryFee: AugmentedQuery<ApiType, () => Observable<Option<u128>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1357
|
-
/**
|
|
1358
|
-
* Maximum number of indexed transactions in the block.
|
|
1359
|
-
**/
|
|
1360
|
-
maxBlockTransactions: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1361
|
-
/**
|
|
1362
|
-
* Maximum data set in a single transaction in bytes.
|
|
1363
|
-
**/
|
|
1364
|
-
maxTransactionSize: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1365
|
-
/**
|
|
1366
|
-
* Was the proof checked in this block?
|
|
1367
|
-
**/
|
|
1368
|
-
proofChecked: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1369
|
-
/**
|
|
1370
|
-
* Storage period for data in blocks. Should match `sp_storage_proof::DEFAULT_STORAGE_PERIOD`
|
|
1371
|
-
* for block authoring.
|
|
1372
|
-
**/
|
|
1373
|
-
storagePeriod: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1374
|
-
/**
|
|
1375
|
-
* Collection of transaction metadata by block number.
|
|
1376
|
-
**/
|
|
1377
|
-
transactions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Vec<PalletTransactionStorageTransactionInfo>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1378
|
-
/**
|
|
1379
|
-
* Generic query
|
|
1380
|
-
**/
|
|
1381
|
-
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1382
|
-
};
|
|
1383
|
-
treasury: {
|
|
1384
|
-
/**
|
|
1385
|
-
* Proposal indices that have been approved but not yet awarded.
|
|
1386
|
-
**/
|
|
1387
|
-
approvals: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1388
|
-
/**
|
|
1389
|
-
* Number of proposals that have been made.
|
|
1390
|
-
**/
|
|
1391
|
-
proposalCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1392
|
-
/**
|
|
1393
|
-
* Proposals that have been made.
|
|
1394
|
-
**/
|
|
1395
|
-
proposals: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletTreasuryProposal>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1396
|
-
/**
|
|
1397
|
-
* Generic query
|
|
1398
|
-
**/
|
|
1399
|
-
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1400
|
-
};
|
|
1401
|
-
uniques: {
|
|
1402
|
-
/**
|
|
1403
|
-
* The assets held by any given account; set out this way so that assets owned by a single
|
|
1404
|
-
* account can be enumerated.
|
|
1405
|
-
**/
|
|
1406
|
-
account: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: u32 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [AccountId32, u32, u32]> & QueryableStorageEntry<ApiType, [AccountId32, u32, u32]>;
|
|
1407
|
-
/**
|
|
1408
|
-
* The assets in existence and their ownership details.
|
|
1409
|
-
**/
|
|
1410
|
-
asset: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletUniquesInstanceDetails>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
|
1411
|
-
/**
|
|
1412
|
-
* Metadata of an asset class.
|
|
1413
|
-
**/
|
|
1414
|
-
attribute: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: Option<u32> | null | object | string | Uint8Array, arg3: Bytes | string | Uint8Array) => Observable<Option<ITuple<[Bytes, u128]>>>, [u32, Option<u32>, Bytes]> & QueryableStorageEntry<ApiType, [u32, Option<u32>, Bytes]>;
|
|
1415
|
-
/**
|
|
1416
|
-
* Details of an asset class.
|
|
1417
|
-
**/
|
|
1418
|
-
class: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletUniquesClassDetails>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1419
|
-
/**
|
|
1420
|
-
* Metadata of an asset class.
|
|
1421
|
-
**/
|
|
1422
|
-
classMetadataOf: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletUniquesClassMetadata>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1423
|
-
/**
|
|
1424
|
-
* Metadata of an asset instance.
|
|
1425
|
-
**/
|
|
1426
|
-
instanceMetadataOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletUniquesInstanceMetadata>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
|
1427
|
-
/**
|
|
1428
|
-
* Generic query
|
|
1429
|
-
**/
|
|
1430
|
-
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1431
|
-
};
|
|
1432
|
-
vesting: {
|
|
1433
|
-
/**
|
|
1434
|
-
* Storage version of the pallet.
|
|
1435
|
-
*
|
|
1436
|
-
* New networks start with latest version, as determined by the genesis build.
|
|
1437
|
-
**/
|
|
1438
|
-
storageVersion: AugmentedQuery<ApiType, () => Observable<PalletVestingReleases>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1439
|
-
/**
|
|
1440
|
-
* Information regarding the vesting of a given account.
|
|
1441
|
-
**/
|
|
1442
|
-
vesting: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<Vec<PalletVestingVestingInfo>>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1443
|
-
/**
|
|
1444
|
-
* Generic query
|
|
1445
|
-
**/
|
|
1446
|
-
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1447
|
-
};
|
|
1448
|
-
}
|
|
1449
|
-
interface QueryableStorage<ApiType extends ApiTypes> extends AugmentedQueries<ApiType> {
|
|
1450
|
-
[key: string]: QueryableModuleStorage<ApiType>;
|
|
1451
|
-
}
|
|
1452
|
-
interface QueryableStorageAt<ApiType extends ApiTypes> extends AugmentedQueries<ApiType> {
|
|
1453
|
-
[key: string]: QueryableModuleStorageAt<ApiType>;
|
|
1454
|
-
}
|
|
1455
|
-
}
|