@webb-tools/tangle-substrate-types 0.5.8 → 0.5.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. package/README.md +11 -2
  2. package/{build/interfaces → interfaces}/augment-api-consts.d.ts +119 -24
  3. package/{ts-types/src/interfaces → interfaces}/augment-api-errors.d.ts +199 -342
  4. package/{build/interfaces → interfaces}/augment-api-events.d.ts +1365 -378
  5. package/{build/interfaces → interfaces}/augment-api-query.d.ts +718 -261
  6. package/{ts-types/src/interfaces → interfaces}/augment-api-tx.d.ts +1684 -442
  7. package/{ts-types/src/interfaces → interfaces}/lookup.d.ts +1425 -1093
  8. package/{build/interfaces → interfaces}/lookup.js +1443 -1111
  9. package/{build/interfaces → interfaces}/registry.d.ts +62 -75
  10. package/{ts-types/src/interfaces → interfaces}/types-lookup.d.ts +1233 -1128
  11. package/metadata/static-latest.d.ts +2 -0
  12. package/metadata/static-latest.js +7 -0
  13. package/package.json +1 -72
  14. package/.envrc +0 -5
  15. package/babel-config-cjs.cjs +0 -10
  16. package/build/interfaces/augment-api-errors.d.ts +0 -2144
  17. package/build/interfaces/augment-api-tx.d.ts +0 -2876
  18. package/build/interfaces/lookup.d.ts +0 -5908
  19. package/build/interfaces/types-lookup.d.ts +0 -6052
  20. package/build/metadata/static-latest.d.ts +0 -2
  21. package/build/metadata/static-latest.js +0 -7
  22. package/build/metadata/static-type.d.ts +0 -2
  23. package/build/metadata/static-type.js +0 -1
  24. package/build/package.json +0 -1
  25. package/playground.ts +0 -86
  26. package/polkadot-dev-configs/babel-config-cjs.cjs +0 -12
  27. package/polkadot-dev-configs/babel-general.cjs +0 -15
  28. package/polkadot-dev-configs/babel-plugins.cjs +0 -21
  29. package/polkadot-dev-configs/babel-presets.cjs +0 -33
  30. package/polkadot-dev-configs/babel-resolver.cjs +0 -14
  31. package/scripts/build.js +0 -134
  32. package/scripts/publish-types.js +0 -95
  33. package/scripts/updateMetadata.ts +0 -44
  34. package/src/examples/job_and_result_submission.ts +0 -203
  35. package/src/index.ts +0 -7
  36. package/src/interfaces/augment-api-consts.ts +0 -958
  37. package/src/interfaces/augment-api-errors.ts +0 -2152
  38. package/src/interfaces/augment-api-events.ts +0 -1465
  39. package/src/interfaces/augment-api-query.ts +0 -1629
  40. package/src/interfaces/augment-api-rpc.ts +0 -617
  41. package/src/interfaces/augment-api-runtime.ts +0 -308
  42. package/src/interfaces/augment-api-tx.ts +0 -1550
  43. package/src/interfaces/augment-api.ts +0 -10
  44. package/src/interfaces/augment-types.ts +0 -1256
  45. package/src/interfaces/lookup.ts +0 -5912
  46. package/src/interfaces/registry.ts +0 -433
  47. package/src/interfaces/types-lookup.ts +0 -6455
  48. package/src/metadata/metadata.json +0 -5
  49. package/src/metadata/static-latest.ts +0 -1
  50. package/src/metadata/static-type.ts +0 -3
  51. package/ts-types/playground.d.ts +0 -1
  52. package/ts-types/src/examples/job_and_result_submission.d.ts +0 -1
  53. package/ts-types/src/index.d.ts +0 -3
  54. package/ts-types/src/interfaces/augment-api-consts.d.ts +0 -950
  55. package/ts-types/src/interfaces/augment-api-events.d.ts +0 -2281
  56. package/ts-types/src/interfaces/augment-api-query.d.ts +0 -1660
  57. package/ts-types/src/interfaces/augment-api-rpc.d.ts +0 -679
  58. package/ts-types/src/interfaces/augment-api-runtime.d.ts +0 -363
  59. package/ts-types/src/interfaces/augment-api.d.ts +0 -7
  60. package/ts-types/src/interfaces/augment-types.d.ts +0 -1249
  61. package/ts-types/src/interfaces/registry.d.ts +0 -426
  62. package/ts-types/src/metadata/static-latest.d.ts +0 -2
  63. package/ts-types/src/metadata/static-type.d.ts +0 -2
  64. package/ts-types/tsconfig.tsbuildinfo +0 -1
  65. package/tsconfig.json +0 -36
  66. /package/{build/examples → examples}/job_and_result_submission.d.ts +0 -0
  67. /package/{build/examples → examples}/job_and_result_submission.js +0 -0
  68. /package/{build/index.d.ts → index.d.ts} +0 -0
  69. /package/{build/index.js → index.js} +0 -0
  70. /package/{build/interfaces → interfaces}/augment-api-consts.js +0 -0
  71. /package/{build/interfaces → interfaces}/augment-api-errors.js +0 -0
  72. /package/{build/interfaces → interfaces}/augment-api-events.js +0 -0
  73. /package/{build/interfaces → interfaces}/augment-api-query.js +0 -0
  74. /package/{build/interfaces → interfaces}/augment-api-rpc.d.ts +0 -0
  75. /package/{build/interfaces → interfaces}/augment-api-rpc.js +0 -0
  76. /package/{build/interfaces → interfaces}/augment-api-runtime.d.ts +0 -0
  77. /package/{build/interfaces → interfaces}/augment-api-runtime.js +0 -0
  78. /package/{build/interfaces → interfaces}/augment-api-tx.js +0 -0
  79. /package/{build/interfaces → interfaces}/augment-api.d.ts +0 -0
  80. /package/{build/interfaces → interfaces}/augment-api.js +0 -0
  81. /package/{build/interfaces → interfaces}/augment-types.d.ts +0 -0
  82. /package/{build/interfaces → interfaces}/augment-types.js +0 -0
  83. /package/{build/interfaces → interfaces}/registry.js +0 -0
  84. /package/{build/interfaces → interfaces}/types-lookup.js +0 -0
@@ -1,1629 +0,0 @@
1
- // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
2
- /* eslint-disable */
3
-
4
- // import type lookup before we augment - in some environments
5
- // this is required to allow for ambient/previous definitions
6
- import '@polkadot/api-base/types/storage';
7
-
8
- import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types';
9
- import type { Data } from '@polkadot/types';
10
- import type { BTreeMap, Bytes, Null, Option, U256, U8aFixed, Vec, bool, u128, u32, u64, u8 } from '@polkadot/types-codec';
11
- import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
12
- import type { AccountId32, Call, H160, H256, Perbill, Percent, Permill } from '@polkadot/types/interfaces/runtime';
13
- import type { Observable } from '@polkadot/types/types';
14
- import { PalletAssetsAssetAccount, PalletAssetsApproval, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsPreDigest, SpConsensusBabeDigestsNextConfigDescriptor, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesIdAmountRuntimeFreezeReason, PalletBalancesIdAmountRuntimeHoldReason, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletAirdropClaimsUtilsMultiAddress, PalletAirdropClaimsStatementKind, PalletCollectiveVotes, PalletDemocracyMetadataOwner, FrameSupportPreimagesBounded, PalletDemocracyVoteThreshold, PalletDemocracyReferendumInfo, PalletDemocracyVoteVoting, PalletDkgFeeInfo, PalletElectionProviderMultiPhasePhase, SpNposElectionsElectionScore, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, EthereumBlock, EthereumReceiptReceiptV3, FpRpcTransactionStatus, EthereumTransactionTransactionV2, PalletEvmCodeMetadata, SpConsensusGrandpaAppPublic, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistration, PalletIdentityRegistrarInfo, PalletIdentityAuthorityProperties, PalletImOnlineSr25519AppSr25519Public, TanglePrimitivesRolesRoleType, TanglePrimitivesJobsPhaseResult, TanglePrimitivesJobsJobInfo, PalletMultiAssetDelegationOperatorOperatorSnapshot, PalletMultiAssetDelegationDelegatorDelegatorMetadata, PalletMultiAssetDelegationOperatorOperatorMetadata, PalletMultiAssetDelegationRewardsRewardConfig, PalletMultisigMultisig, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, SpStakingOffenceOffenceDetails, PalletPreimageRequestStatus, PalletPreimageOldRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletRolesRestakingLedger, PalletSchedulerScheduled, SpCoreCryptoKeyTypeId, TangleTestnetRuntimeOpaqueSessionKeys, SpStakingExposure, SpStakingPagedExposureMetadata, SpStakingExposurePage, PalletStakingValidatorPrefs, PalletStakingForcing, PalletStakingStakingLedger, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingUnappliedSlash, StagingXcmV4AssetAssetId, SygmaFeeHandlerRouterFeeHandlerType, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSupportDispatchPerDispatchClassWeight, SpRuntimeDigest, FrameSystemEventRecord, FrameSystemPhase, FrameSystemLastRuntimeUpgradeInfo, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletVestingReleases, PalletVestingVestingInfo, PalletZksaasFeeInfo } from '@polkadot/types/lookup';
15
-
16
- export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
17
- export type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;
18
-
19
- declare module '@polkadot/api-base/types/storage' {
20
- interface AugmentedQueries<ApiType extends ApiTypes> {
21
- assets: {
22
- /**
23
- * The holdings of a specific account for a specific asset.
24
- **/
25
- account: AugmentedQuery<ApiType, (arg1: u128 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<PalletAssetsAssetAccount>>, [u128, AccountId32]> & QueryableStorageEntry<ApiType, [u128, AccountId32]>;
26
- /**
27
- * Approved balance transfers. First balance is the amount approved for transfer. Second
28
- * is the amount of `T::Currency` reserved for storing this.
29
- * First key is the asset ID, second key is the owner and third key is the delegate.
30
- **/
31
- approvals: AugmentedQuery<ApiType, (arg1: u128 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array, arg3: AccountId32 | string | Uint8Array) => Observable<Option<PalletAssetsApproval>>, [u128, AccountId32, AccountId32]> & QueryableStorageEntry<ApiType, [u128, AccountId32, AccountId32]>;
32
- /**
33
- * Details of an asset.
34
- **/
35
- asset: AugmentedQuery<ApiType, (arg: u128 | AnyNumber | Uint8Array) => Observable<Option<PalletAssetsAssetDetails>>, [u128]> & QueryableStorageEntry<ApiType, [u128]>;
36
- /**
37
- * Metadata of an asset.
38
- **/
39
- metadata: AugmentedQuery<ApiType, (arg: u128 | AnyNumber | Uint8Array) => Observable<PalletAssetsAssetMetadata>, [u128]> & QueryableStorageEntry<ApiType, [u128]>;
40
- /**
41
- * Generic query
42
- **/
43
- [key: string]: QueryableStorageEntry<ApiType>;
44
- };
45
- authorship: {
46
- /**
47
- * Author of current block.
48
- **/
49
- author: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
50
- /**
51
- * Generic query
52
- **/
53
- [key: string]: QueryableStorageEntry<ApiType>;
54
- };
55
- babe: {
56
- /**
57
- * Current epoch authorities.
58
- **/
59
- authorities: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[SpConsensusBabeAppPublic, u64]>>>, []> & QueryableStorageEntry<ApiType, []>;
60
- /**
61
- * This field should always be populated during block processing unless
62
- * secondary plain slots are enabled (which don't contain a VRF output).
63
- *
64
- * It is set in `on_finalize`, before it will contain the value from the last block.
65
- **/
66
- authorVrfRandomness: AugmentedQuery<ApiType, () => Observable<Option<U8aFixed>>, []> & QueryableStorageEntry<ApiType, []>;
67
- /**
68
- * Current slot number.
69
- **/
70
- currentSlot: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
71
- /**
72
- * The configuration for the current epoch. Should never be `None` as it is initialized in
73
- * genesis.
74
- **/
75
- epochConfig: AugmentedQuery<ApiType, () => Observable<Option<SpConsensusBabeBabeEpochConfiguration>>, []> & QueryableStorageEntry<ApiType, []>;
76
- /**
77
- * Current epoch index.
78
- **/
79
- epochIndex: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
80
- /**
81
- * The block numbers when the last and current epoch have started, respectively `N-1` and
82
- * `N`.
83
- * NOTE: We track this is in order to annotate the block number when a given pool of
84
- * entropy was fixed (i.e. it was known to chain observers). Since epochs are defined in
85
- * slots, which may be skipped, the block numbers may not line up with the slot numbers.
86
- **/
87
- epochStart: AugmentedQuery<ApiType, () => Observable<ITuple<[u64, u64]>>, []> & QueryableStorageEntry<ApiType, []>;
88
- /**
89
- * The slot at which the first epoch actually started. This is 0
90
- * until the first block of the chain.
91
- **/
92
- genesisSlot: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
93
- /**
94
- * Temporary value (cleared at block finalization) which is `Some`
95
- * if per-block initialization has already been called for current block.
96
- **/
97
- initialized: AugmentedQuery<ApiType, () => Observable<Option<Option<SpConsensusBabeDigestsPreDigest>>>, []> & QueryableStorageEntry<ApiType, []>;
98
- /**
99
- * How late the current block is compared to its parent.
100
- *
101
- * This entry is populated as part of block execution and is cleaned up
102
- * on block finalization. Querying this storage entry outside of block
103
- * execution context should always yield zero.
104
- **/
105
- lateness: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
106
- /**
107
- * Next epoch authorities.
108
- **/
109
- nextAuthorities: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[SpConsensusBabeAppPublic, u64]>>>, []> & QueryableStorageEntry<ApiType, []>;
110
- /**
111
- * The configuration for the next epoch, `None` if the config will not change
112
- * (you can fallback to `EpochConfig` instead in that case).
113
- **/
114
- nextEpochConfig: AugmentedQuery<ApiType, () => Observable<Option<SpConsensusBabeBabeEpochConfiguration>>, []> & QueryableStorageEntry<ApiType, []>;
115
- /**
116
- * Next epoch randomness.
117
- **/
118
- nextRandomness: AugmentedQuery<ApiType, () => Observable<U8aFixed>, []> & QueryableStorageEntry<ApiType, []>;
119
- /**
120
- * Pending epoch configuration change that will be applied when the next epoch is enacted.
121
- **/
122
- pendingEpochConfigChange: AugmentedQuery<ApiType, () => Observable<Option<SpConsensusBabeDigestsNextConfigDescriptor>>, []> & QueryableStorageEntry<ApiType, []>;
123
- /**
124
- * The epoch randomness for the *current* epoch.
125
- *
126
- * # Security
127
- *
128
- * This MUST NOT be used for gambling, as it can be influenced by a
129
- * malicious validator in the short term. It MAY be used in many
130
- * cryptographic protocols, however, so long as one remembers that this
131
- * (like everything else on-chain) it is public. For example, it can be
132
- * used where a number is needed that cannot have been chosen by an
133
- * adversary, for purposes such as public-coin zero-knowledge proofs.
134
- **/
135
- randomness: AugmentedQuery<ApiType, () => Observable<U8aFixed>, []> & QueryableStorageEntry<ApiType, []>;
136
- /**
137
- * Randomness under construction.
138
- *
139
- * We make a trade-off between storage accesses and list length.
140
- * We store the under-construction randomness in segments of up to
141
- * `UNDER_CONSTRUCTION_SEGMENT_LENGTH`.
142
- *
143
- * Once a segment reaches this length, we begin the next one.
144
- * We reset all segments and return to `0` at the beginning of every
145
- * epoch.
146
- **/
147
- segmentIndex: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
148
- /**
149
- * A list of the last 100 skipped epochs and the corresponding session index
150
- * when the epoch was skipped.
151
- *
152
- * This is only used for validating equivocation proofs. An equivocation proof
153
- * must contains a key-ownership proof for a given session, therefore we need a
154
- * way to tie together sessions and epoch indices, i.e. we need to validate that
155
- * a validator was the owner of a given key on a given session, and what the
156
- * active epoch index was during that session.
157
- **/
158
- skippedEpochs: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u64, 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 Balances pallet example of storing the balance of an account.
193
- *
194
- * # Example
195
- *
196
- * ```nocompile
197
- * impl pallet_balances::Config for Runtime {
198
- * type AccountStore = StorageMapShim<Self::Account<Runtime>, frame_system::Provider<Runtime>, AccountId, Self::AccountData<Balance>>
199
- * }
200
- * ```
201
- *
202
- * You can also store the balance of an account in the `System` pallet.
203
- *
204
- * # Example
205
- *
206
- * ```nocompile
207
- * impl pallet_balances::Config for Runtime {
208
- * type AccountStore = System
209
- * }
210
- * ```
211
- *
212
- * But this comes with tradeoffs, storing account balances in the system pallet stores
213
- * `frame_system` data alongside the account data contrary to storing account balances in the
214
- * `Balances` pallet, which uses a `StorageMap` to store balances data only.
215
- * NOTE: This is only used in the case that this pallet is used to store balances.
216
- **/
217
- account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletBalancesAccountData>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
218
- /**
219
- * Freeze locks on account balances.
220
- **/
221
- freezes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesIdAmountRuntimeFreezeReason>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
222
- /**
223
- * Holds on account balances.
224
- **/
225
- holds: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesIdAmountRuntimeHoldReason>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
226
- /**
227
- * The total units of outstanding deactivated balance in the system.
228
- **/
229
- inactiveIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
230
- /**
231
- * Any liquidity locks on some account balances.
232
- * NOTE: Should only be accessed when setting, changing and freeing a lock.
233
- **/
234
- locks: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesBalanceLock>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
235
- /**
236
- * Named reserves on some account balances.
237
- **/
238
- reserves: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesReserveData>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
239
- /**
240
- * The total units issued in the system.
241
- **/
242
- totalIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
243
- /**
244
- * Generic query
245
- **/
246
- [key: string]: QueryableStorageEntry<ApiType>;
247
- };
248
- baseFee: {
249
- baseFeePerGas: AugmentedQuery<ApiType, () => Observable<U256>, []> & QueryableStorageEntry<ApiType, []>;
250
- elasticity: AugmentedQuery<ApiType, () => Observable<Permill>, []> & QueryableStorageEntry<ApiType, []>;
251
- /**
252
- * Generic query
253
- **/
254
- [key: string]: QueryableStorageEntry<ApiType>;
255
- };
256
- bounties: {
257
- /**
258
- * Bounties that have been made.
259
- **/
260
- bounties: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletBountiesBounty>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
261
- /**
262
- * Bounty indices that have been approved but not yet funded.
263
- **/
264
- bountyApprovals: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;
265
- /**
266
- * Number of bounty proposals that have been made.
267
- **/
268
- bountyCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
269
- /**
270
- * The description of each bounty.
271
- **/
272
- bountyDescriptions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Bytes>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
273
- /**
274
- * Generic query
275
- **/
276
- [key: string]: QueryableStorageEntry<ApiType>;
277
- };
278
- childBounties: {
279
- /**
280
- * Child bounties that have been added.
281
- **/
282
- childBounties: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletChildBountiesChildBounty>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
283
- /**
284
- * Number of total child bounties.
285
- **/
286
- childBountyCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
287
- /**
288
- * The description of each child-bounty.
289
- **/
290
- childBountyDescriptions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Bytes>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
291
- /**
292
- * The cumulative child-bounty curator fee for each parent bounty.
293
- **/
294
- childrenCuratorFees: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
295
- /**
296
- * Number of child bounties per parent bounty.
297
- * Map of parent bounty index to number of child bounties.
298
- **/
299
- parentChildBounties: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
300
- /**
301
- * Generic query
302
- **/
303
- [key: string]: QueryableStorageEntry<ApiType>;
304
- };
305
- claims: {
306
- claims: AugmentedQuery<ApiType, (arg: PalletAirdropClaimsUtilsMultiAddress | { EVM: any } | { Native: any } | string | Uint8Array) => Observable<Option<u128>>, [PalletAirdropClaimsUtilsMultiAddress]> & QueryableStorageEntry<ApiType, [PalletAirdropClaimsUtilsMultiAddress]>;
307
- /**
308
- * Expiry block and account to deposit expired funds
309
- **/
310
- expiryConfig: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[u64, PalletAirdropClaimsUtilsMultiAddress]>>>, []> & QueryableStorageEntry<ApiType, []>;
311
- /**
312
- * The statement kind that must be signed, if any.
313
- **/
314
- signing: AugmentedQuery<ApiType, (arg: PalletAirdropClaimsUtilsMultiAddress | { EVM: any } | { Native: any } | string | Uint8Array) => Observable<Option<PalletAirdropClaimsStatementKind>>, [PalletAirdropClaimsUtilsMultiAddress]> & QueryableStorageEntry<ApiType, [PalletAirdropClaimsUtilsMultiAddress]>;
315
- total: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
316
- /**
317
- * Vesting schedule for a claim.
318
- * First balance is the total amount that should be held for vesting.
319
- * Second balance is how much should be unlocked per block.
320
- * The block number is when the vesting should start.
321
- **/
322
- vesting: AugmentedQuery<ApiType, (arg: PalletAirdropClaimsUtilsMultiAddress | { EVM: any } | { Native: any } | string | Uint8Array) => Observable<Option<Vec<ITuple<[u128, u128, u64]>>>>, [PalletAirdropClaimsUtilsMultiAddress]> & QueryableStorageEntry<ApiType, [PalletAirdropClaimsUtilsMultiAddress]>;
323
- /**
324
- * Generic query
325
- **/
326
- [key: string]: QueryableStorageEntry<ApiType>;
327
- };
328
- council: {
329
- /**
330
- * The current members of the collective. This is stored sorted (just by value).
331
- **/
332
- members: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
333
- /**
334
- * The prime member that helps determine the default vote behavior in case of absentations.
335
- **/
336
- prime: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
337
- /**
338
- * Proposals so far.
339
- **/
340
- proposalCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
341
- /**
342
- * Actual proposal for a given hash, if it's current.
343
- **/
344
- proposalOf: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<Call>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
345
- /**
346
- * The hashes of the active proposals.
347
- **/
348
- proposals: AugmentedQuery<ApiType, () => Observable<Vec<H256>>, []> & QueryableStorageEntry<ApiType, []>;
349
- /**
350
- * Votes on a given proposal, if it is ongoing.
351
- **/
352
- voting: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletCollectiveVotes>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
353
- /**
354
- * Generic query
355
- **/
356
- [key: string]: QueryableStorageEntry<ApiType>;
357
- };
358
- democracy: {
359
- /**
360
- * A record of who vetoed what. Maps proposal hash to a possible existent block number
361
- * (until when it may not be resubmitted) and who vetoed it.
362
- **/
363
- blacklist: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<ITuple<[u64, Vec<AccountId32>]>>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
364
- /**
365
- * Record of all proposals that have been subject to emergency cancellation.
366
- **/
367
- cancellations: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<bool>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
368
- /**
369
- * Those who have locked a deposit.
370
- *
371
- * TWOX-NOTE: Safe, as increasing integer keys are safe.
372
- **/
373
- depositOf: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[Vec<AccountId32>, u128]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
374
- /**
375
- * True if the last referendum tabled was submitted externally. False if it was a public
376
- * proposal.
377
- **/
378
- lastTabledWasExternal: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
379
- /**
380
- * The lowest referendum index representing an unbaked referendum. Equal to
381
- * `ReferendumCount` if there isn't a unbaked referendum.
382
- **/
383
- lowestUnbaked: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
384
- /**
385
- * General information concerning any proposal or referendum.
386
- * The `Hash` refers to the preimage of the `Preimages` provider which can be a JSON
387
- * dump or IPFS hash of a JSON file.
388
- *
389
- * Consider a garbage collection for a metadata of finished referendums to `unrequest` (remove)
390
- * large preimages.
391
- **/
392
- metadataOf: AugmentedQuery<ApiType, (arg: PalletDemocracyMetadataOwner | { External: any } | { Proposal: any } | { Referendum: any } | string | Uint8Array) => Observable<Option<H256>>, [PalletDemocracyMetadataOwner]> & QueryableStorageEntry<ApiType, [PalletDemocracyMetadataOwner]>;
393
- /**
394
- * The referendum to be tabled whenever it would be valid to table an external proposal.
395
- * This happens when a referendum needs to be tabled and one of two conditions are met:
396
- * - `LastTabledWasExternal` is `false`; or
397
- * - `PublicProps` is empty.
398
- **/
399
- nextExternal: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[FrameSupportPreimagesBounded, PalletDemocracyVoteThreshold]>>>, []> & QueryableStorageEntry<ApiType, []>;
400
- /**
401
- * The number of (public) proposals that have been made so far.
402
- **/
403
- publicPropCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
404
- /**
405
- * The public proposals. Unsorted. The second item is the proposal.
406
- **/
407
- publicProps: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, FrameSupportPreimagesBounded, AccountId32]>>>, []> & QueryableStorageEntry<ApiType, []>;
408
- /**
409
- * The next free referendum index, aka the number of referenda started so far.
410
- **/
411
- referendumCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
412
- /**
413
- * Information concerning any given referendum.
414
- *
415
- * TWOX-NOTE: SAFE as indexes are not under an attacker’s control.
416
- **/
417
- referendumInfoOf: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletDemocracyReferendumInfo>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
418
- /**
419
- * All votes for a particular voter. We store the balance for the number of votes that we
420
- * have recorded. The second item is the total amount of delegations, that will be added.
421
- *
422
- * TWOX-NOTE: SAFE as `AccountId`s are crypto hashes anyway.
423
- **/
424
- votingOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletDemocracyVoteVoting>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
425
- /**
426
- * Generic query
427
- **/
428
- [key: string]: QueryableStorageEntry<ApiType>;
429
- };
430
- dkg: {
431
- feeInfo: AugmentedQuery<ApiType, () => Observable<PalletDkgFeeInfo>, []> & QueryableStorageEntry<ApiType, []>;
432
- /**
433
- * Generic query
434
- **/
435
- [key: string]: QueryableStorageEntry<ApiType>;
436
- };
437
- dynamicFee: {
438
- minGasPrice: AugmentedQuery<ApiType, () => Observable<U256>, []> & QueryableStorageEntry<ApiType, []>;
439
- targetMinGasPrice: AugmentedQuery<ApiType, () => Observable<Option<U256>>, []> & QueryableStorageEntry<ApiType, []>;
440
- /**
441
- * Generic query
442
- **/
443
- [key: string]: QueryableStorageEntry<ApiType>;
444
- };
445
- electionProviderMultiPhase: {
446
- /**
447
- * Current phase.
448
- **/
449
- currentPhase: AugmentedQuery<ApiType, () => Observable<PalletElectionProviderMultiPhasePhase>, []> & QueryableStorageEntry<ApiType, []>;
450
- /**
451
- * Desired number of targets to elect for this round.
452
- *
453
- * Only exists when [`Snapshot`] is present.
454
- * Note: This storage type must only be mutated through [`SnapshotWrapper`].
455
- **/
456
- desiredTargets: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
457
- /**
458
- * The minimum score that each 'untrusted' solution must attain in order to be considered
459
- * feasible.
460
- *
461
- * Can be set via `set_minimum_untrusted_score`.
462
- **/
463
- minimumUntrustedScore: AugmentedQuery<ApiType, () => Observable<Option<SpNposElectionsElectionScore>>, []> & QueryableStorageEntry<ApiType, []>;
464
- /**
465
- * Current best solution, signed or unsigned, queued to be returned upon `elect`.
466
- *
467
- * Always sorted by score.
468
- **/
469
- queuedSolution: AugmentedQuery<ApiType, () => Observable<Option<PalletElectionProviderMultiPhaseReadySolution>>, []> & QueryableStorageEntry<ApiType, []>;
470
- /**
471
- * Internal counter for the number of rounds.
472
- *
473
- * This is useful for de-duplication of transactions submitted to the pool, and general
474
- * diagnostics of the pallet.
475
- *
476
- * This is merely incremented once per every time that an upstream `elect` is called.
477
- **/
478
- round: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
479
- /**
480
- * A sorted, bounded vector of `(score, block_number, index)`, where each `index` points to a
481
- * value in `SignedSubmissions`.
482
- *
483
- * We never need to process more than a single signed submission at a time. Signed submissions
484
- * can be quite large, so we're willing to pay the cost of multiple database accesses to access
485
- * them one at a time instead of reading and decoding all of them at once.
486
- **/
487
- signedSubmissionIndices: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[SpNposElectionsElectionScore, u64, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
488
- /**
489
- * The next index to be assigned to an incoming signed submission.
490
- *
491
- * Every accepted submission is assigned a unique index; that index is bound to that particular
492
- * submission for the duration of the election. On election finalization, the next index is
493
- * reset to 0.
494
- *
495
- * We can't just use `SignedSubmissionIndices.len()`, because that's a bounded set; past its
496
- * capacity, it will simply saturate. We can't just iterate over `SignedSubmissionsMap`,
497
- * because iteration is slow. Instead, we store the value here.
498
- **/
499
- signedSubmissionNextIndex: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
500
- /**
501
- * Unchecked, signed solutions.
502
- *
503
- * Together with `SubmissionIndices`, this stores a bounded set of `SignedSubmissions` while
504
- * allowing us to keep only a single one in memory at a time.
505
- *
506
- * Twox note: the key of the map is an auto-incrementing index which users cannot inspect or
507
- * affect; we shouldn't need a cryptographically secure hasher.
508
- **/
509
- signedSubmissionsMap: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletElectionProviderMultiPhaseSignedSignedSubmission>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
510
- /**
511
- * Snapshot data of the round.
512
- *
513
- * This is created at the beginning of the signed phase and cleared upon calling `elect`.
514
- * Note: This storage type must only be mutated through [`SnapshotWrapper`].
515
- **/
516
- snapshot: AugmentedQuery<ApiType, () => Observable<Option<PalletElectionProviderMultiPhaseRoundSnapshot>>, []> & QueryableStorageEntry<ApiType, []>;
517
- /**
518
- * The metadata of the [`RoundSnapshot`]
519
- *
520
- * Only exists when [`Snapshot`] is present.
521
- * Note: This storage type must only be mutated through [`SnapshotWrapper`].
522
- **/
523
- snapshotMetadata: AugmentedQuery<ApiType, () => Observable<Option<PalletElectionProviderMultiPhaseSolutionOrSnapshotSize>>, []> & QueryableStorageEntry<ApiType, []>;
524
- /**
525
- * Generic query
526
- **/
527
- [key: string]: QueryableStorageEntry<ApiType>;
528
- };
529
- elections: {
530
- /**
531
- * The present candidate list. A current member or runner-up can never enter this vector
532
- * and is always implicitly assumed to be a candidate.
533
- *
534
- * Second element is the deposit.
535
- *
536
- * Invariant: Always sorted based on account id.
537
- **/
538
- candidates: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[AccountId32, u128]>>>, []> & QueryableStorageEntry<ApiType, []>;
539
- /**
540
- * The total number of vote rounds that have happened, excluding the upcoming one.
541
- **/
542
- electionRounds: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
543
- /**
544
- * The current elected members.
545
- *
546
- * Invariant: Always sorted based on account id.
547
- **/
548
- members: AugmentedQuery<ApiType, () => Observable<Vec<PalletElectionsPhragmenSeatHolder>>, []> & QueryableStorageEntry<ApiType, []>;
549
- /**
550
- * The current reserved runners-up.
551
- *
552
- * Invariant: Always sorted based on rank (worse to best). Upon removal of a member, the
553
- * last (i.e. _best_) runner-up will be replaced.
554
- **/
555
- runnersUp: AugmentedQuery<ApiType, () => Observable<Vec<PalletElectionsPhragmenSeatHolder>>, []> & QueryableStorageEntry<ApiType, []>;
556
- /**
557
- * Votes and locked stake of a particular voter.
558
- *
559
- * TWOX-NOTE: SAFE as `AccountId` is a crypto hash.
560
- **/
561
- voting: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletElectionsPhragmenVoter>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
562
- /**
563
- * Generic query
564
- **/
565
- [key: string]: QueryableStorageEntry<ApiType>;
566
- };
567
- ethereum: {
568
- blockHash: AugmentedQuery<ApiType, (arg: U256 | AnyNumber | Uint8Array) => Observable<H256>, [U256]> & QueryableStorageEntry<ApiType, [U256]>;
569
- /**
570
- * The current Ethereum block.
571
- **/
572
- currentBlock: AugmentedQuery<ApiType, () => Observable<Option<EthereumBlock>>, []> & QueryableStorageEntry<ApiType, []>;
573
- /**
574
- * The current Ethereum receipts.
575
- **/
576
- currentReceipts: AugmentedQuery<ApiType, () => Observable<Option<Vec<EthereumReceiptReceiptV3>>>, []> & QueryableStorageEntry<ApiType, []>;
577
- /**
578
- * The current transaction statuses.
579
- **/
580
- currentTransactionStatuses: AugmentedQuery<ApiType, () => Observable<Option<Vec<FpRpcTransactionStatus>>>, []> & QueryableStorageEntry<ApiType, []>;
581
- /**
582
- * Current building block's transactions and receipts.
583
- **/
584
- pending: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[EthereumTransactionTransactionV2, FpRpcTransactionStatus, EthereumReceiptReceiptV3]>>>, []> & QueryableStorageEntry<ApiType, []>;
585
- /**
586
- * Generic query
587
- **/
588
- [key: string]: QueryableStorageEntry<ApiType>;
589
- };
590
- evm: {
591
- accountCodes: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Bytes>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;
592
- accountCodesMetadata: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Option<PalletEvmCodeMetadata>>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;
593
- accountStorages: AugmentedQuery<ApiType, (arg1: H160 | string | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<H256>, [H160, H256]> & QueryableStorageEntry<ApiType, [H160, H256]>;
594
- suicided: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Option<Null>>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;
595
- /**
596
- * Generic query
597
- **/
598
- [key: string]: QueryableStorageEntry<ApiType>;
599
- };
600
- evmChainId: {
601
- /**
602
- * The EVM chain ID.
603
- **/
604
- chainId: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
605
- /**
606
- * Generic query
607
- **/
608
- [key: string]: QueryableStorageEntry<ApiType>;
609
- };
610
- grandpa: {
611
- /**
612
- * The current list of authorities.
613
- **/
614
- authorities: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>>>, []> & QueryableStorageEntry<ApiType, []>;
615
- /**
616
- * The number of changes (both in terms of keys and underlying economic responsibilities)
617
- * in the "set" of Grandpa validators from genesis.
618
- **/
619
- currentSetId: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
620
- /**
621
- * next block number where we can force a change.
622
- **/
623
- nextForced: AugmentedQuery<ApiType, () => Observable<Option<u64>>, []> & QueryableStorageEntry<ApiType, []>;
624
- /**
625
- * Pending change: (signaled at, scheduled change).
626
- **/
627
- pendingChange: AugmentedQuery<ApiType, () => Observable<Option<PalletGrandpaStoredPendingChange>>, []> & QueryableStorageEntry<ApiType, []>;
628
- /**
629
- * A mapping from grandpa set ID to the index of the *most recent* session for which its
630
- * members were responsible.
631
- *
632
- * This is only used for validating equivocation proofs. An equivocation proof must
633
- * contains a key-ownership proof for a given session, therefore we need a way to tie
634
- * together sessions and GRANDPA set ids, i.e. we need to validate that a validator
635
- * was the owner of a given key on a given session, and what the active set ID was
636
- * during that session.
637
- *
638
- * TWOX-NOTE: `SetId` is not under user control.
639
- **/
640
- setIdSession: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;
641
- /**
642
- * `true` if we are currently stalled.
643
- **/
644
- stalled: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[u64, u64]>>>, []> & QueryableStorageEntry<ApiType, []>;
645
- /**
646
- * State of the current authority set.
647
- **/
648
- state: AugmentedQuery<ApiType, () => Observable<PalletGrandpaStoredState>, []> & QueryableStorageEntry<ApiType, []>;
649
- /**
650
- * Generic query
651
- **/
652
- [key: string]: QueryableStorageEntry<ApiType>;
653
- };
654
- historical: {
655
- /**
656
- * Mapping from historical session indices to session-data root hash and validator count.
657
- **/
658
- historicalSessions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[H256, u32]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
659
- /**
660
- * The range of historical sessions we store. [first, last)
661
- **/
662
- storedRange: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[u32, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
663
- /**
664
- * Generic query
665
- **/
666
- [key: string]: QueryableStorageEntry<ApiType>;
667
- };
668
- identity: {
669
- /**
670
- * Reverse lookup from `username` to the `AccountId` that has registered it. The value should
671
- * be a key in the `IdentityOf` map, but it may not if the user has cleared their identity.
672
- *
673
- * Multiple usernames may map to the same `AccountId`, but `IdentityOf` will only map to one
674
- * primary username.
675
- **/
676
- accountOfUsername: AugmentedQuery<ApiType, (arg: Bytes | string | Uint8Array) => Observable<Option<AccountId32>>, [Bytes]> & QueryableStorageEntry<ApiType, [Bytes]>;
677
- /**
678
- * Information that is pertinent to identify the entity behind an account. First item is the
679
- * registration, second is the account's primary username.
680
- *
681
- * TWOX-NOTE: OK ― `AccountId` is a secure hash.
682
- **/
683
- identityOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<ITuple<[PalletIdentityRegistration, Option<Bytes>]>>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
684
- /**
685
- * Usernames that an authority has granted, but that the account controller has not confirmed
686
- * that they want it. Used primarily in cases where the `AccountId` cannot provide a signature
687
- * because they are a pure proxy, multisig, etc. In order to confirm it, they should call
688
- * [`Call::accept_username`].
689
- *
690
- * First tuple item is the account and second is the acceptance deadline.
691
- **/
692
- pendingUsernames: AugmentedQuery<ApiType, (arg: Bytes | string | Uint8Array) => Observable<Option<ITuple<[AccountId32, u64]>>>, [Bytes]> & QueryableStorageEntry<ApiType, [Bytes]>;
693
- /**
694
- * The set of registrars. Not expected to get very big as can only be added through a
695
- * special origin (likely a council motion).
696
- *
697
- * The index into this can be cast to `RegistrarIndex` to get a valid value.
698
- **/
699
- registrars: AugmentedQuery<ApiType, () => Observable<Vec<Option<PalletIdentityRegistrarInfo>>>, []> & QueryableStorageEntry<ApiType, []>;
700
- /**
701
- * Alternative "sub" identities of this account.
702
- *
703
- * The first item is the deposit, the second is a vector of the accounts.
704
- *
705
- * TWOX-NOTE: OK ― `AccountId` is a secure hash.
706
- **/
707
- subsOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[u128, Vec<AccountId32>]>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
708
- /**
709
- * The super-identity of an alternative "sub" identity together with its name, within that
710
- * context. If the account is not some other account's sub-identity, then just `None`.
711
- **/
712
- superOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<ITuple<[AccountId32, Data]>>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
713
- /**
714
- * A map of the accounts who are authorized to grant usernames.
715
- **/
716
- usernameAuthorities: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletIdentityAuthorityProperties>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
717
- /**
718
- * Generic query
719
- **/
720
- [key: string]: QueryableStorageEntry<ApiType>;
721
- };
722
- imOnline: {
723
- /**
724
- * For each session index, we keep a mapping of `ValidatorId<T>` to the
725
- * number of blocks authored by the given authority.
726
- **/
727
- authoredBlocks: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<u32>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
728
- /**
729
- * The block number after which it's ok to send heartbeats in the current
730
- * session.
731
- *
732
- * At the beginning of each session we set this to a value that should fall
733
- * roughly in the middle of the session duration. The idea is to first wait for
734
- * the validators to produce a block in the current session, so that the
735
- * heartbeat later on will not be necessary.
736
- *
737
- * This value will only be used as a fallback if we fail to get a proper session
738
- * progress estimate from `NextSessionRotation`, as those estimates should be
739
- * more accurate then the value we calculate for `HeartbeatAfter`.
740
- **/
741
- heartbeatAfter: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
742
- /**
743
- * The current set of keys that may issue a heartbeat.
744
- **/
745
- keys: AugmentedQuery<ApiType, () => Observable<Vec<PalletImOnlineSr25519AppSr25519Public>>, []> & QueryableStorageEntry<ApiType, []>;
746
- /**
747
- * For each session index, we keep a mapping of `SessionIndex` and `AuthIndex`.
748
- **/
749
- receivedHeartbeats: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<bool>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
750
- /**
751
- * Generic query
752
- **/
753
- [key: string]: QueryableStorageEntry<ApiType>;
754
- };
755
- indices: {
756
- /**
757
- * The lookup from index to account.
758
- **/
759
- accounts: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[AccountId32, u128, bool]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
760
- /**
761
- * Generic query
762
- **/
763
- [key: string]: QueryableStorageEntry<ApiType>;
764
- };
765
- jobs: {
766
- knownResults: AugmentedQuery<ApiType, (arg1: TanglePrimitivesRolesRoleType | { Tss: any } | { ZkSaaS: any } | { LightClientRelaying: any } | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<TanglePrimitivesJobsPhaseResult>>, [TanglePrimitivesRolesRoleType, u64]> & QueryableStorageEntry<ApiType, [TanglePrimitivesRolesRoleType, u64]>;
767
- /**
768
- * The job-id storage
769
- **/
770
- nextJobId: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
771
- submittedJobs: AugmentedQuery<ApiType, (arg1: TanglePrimitivesRolesRoleType | { Tss: any } | { ZkSaaS: any } | { LightClientRelaying: any } | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<TanglePrimitivesJobsJobInfo>>, [TanglePrimitivesRolesRoleType, u64]> & QueryableStorageEntry<ApiType, [TanglePrimitivesRolesRoleType, u64]>;
772
- submittedJobsRole: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<TanglePrimitivesRolesRoleType>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;
773
- timeFeePerBlock: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
774
- validatorJobIdLookup: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<Vec<ITuple<[TanglePrimitivesRolesRoleType, u64]>>>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
775
- validatorRewards: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u128>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
776
- /**
777
- * Generic query
778
- **/
779
- [key: string]: QueryableStorageEntry<ApiType>;
780
- };
781
- multiAssetDelegation: {
782
- /**
783
- * Snapshot of collator delegation stake at the start of the round.
784
- **/
785
- atStake: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<PalletMultiAssetDelegationOperatorOperatorSnapshot>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
786
- /**
787
- * Storage for the current round.
788
- **/
789
- currentRound: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
790
- /**
791
- * Storage for delegator information.
792
- **/
793
- delegators: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletMultiAssetDelegationDelegatorDelegatorMetadata>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
794
- /**
795
- * Storage for operator information.
796
- **/
797
- operators: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletMultiAssetDelegationOperatorOperatorMetadata>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
798
- /**
799
- * Storage for the reward configuration, which includes APY, cap for assets, and whitelisted blueprints.
800
- **/
801
- rewardConfigStorage: AugmentedQuery<ApiType, () => Observable<Option<PalletMultiAssetDelegationRewardsRewardConfig>>, []> & QueryableStorageEntry<ApiType, []>;
802
- /**
803
- * Whitelisted assets that are allowed to be deposited
804
- **/
805
- whitelistedAssets: AugmentedQuery<ApiType, () => Observable<Vec<u128>>, []> & QueryableStorageEntry<ApiType, []>;
806
- /**
807
- * Generic query
808
- **/
809
- [key: string]: QueryableStorageEntry<ApiType>;
810
- };
811
- multisig: {
812
- /**
813
- * The set of open multisig operations.
814
- **/
815
- multisigs: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: U8aFixed | string | Uint8Array) => Observable<Option<PalletMultisigMultisig>>, [AccountId32, U8aFixed]> & QueryableStorageEntry<ApiType, [AccountId32, U8aFixed]>;
816
- /**
817
- * Generic query
818
- **/
819
- [key: string]: QueryableStorageEntry<ApiType>;
820
- };
821
- nominationPools: {
822
- /**
823
- * Storage for bonded pools.
824
- **/
825
- bondedPools: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNominationPoolsBondedPoolInner>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
826
- /**
827
- * Map from a pool member account to their opted claim permission.
828
- **/
829
- claimPermissions: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletNominationPoolsClaimPermission>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
830
- /**
831
- * Counter for the related counted storage map
832
- **/
833
- counterForBondedPools: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
834
- /**
835
- * Counter for the related counted storage map
836
- **/
837
- counterForMetadata: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
838
- /**
839
- * Counter for the related counted storage map
840
- **/
841
- counterForPoolMembers: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
842
- /**
843
- * Counter for the related counted storage map
844
- **/
845
- counterForReversePoolIdLookup: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
846
- /**
847
- * Counter for the related counted storage map
848
- **/
849
- counterForRewardPools: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
850
- /**
851
- * Counter for the related counted storage map
852
- **/
853
- counterForSubPoolsStorage: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
854
- /**
855
- * The maximum commission that can be charged by a pool. Used on commission payouts to bound
856
- * pool commissions that are > `GlobalMaxCommission`, necessary if a future
857
- * `GlobalMaxCommission` is lower than some current pool commissions.
858
- **/
859
- globalMaxCommission: AugmentedQuery<ApiType, () => Observable<Option<Perbill>>, []> & QueryableStorageEntry<ApiType, []>;
860
- /**
861
- * Ever increasing number of all pools created so far.
862
- **/
863
- lastPoolId: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
864
- /**
865
- * Maximum number of members that can exist in the system. If `None`, then the count
866
- * members are not bound on a system wide basis.
867
- **/
868
- maxPoolMembers: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
869
- /**
870
- * Maximum number of members that may belong to pool. If `None`, then the count of
871
- * members is not bound on a per pool basis.
872
- **/
873
- maxPoolMembersPerPool: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
874
- /**
875
- * Maximum number of nomination pools that can exist. If `None`, then an unbounded number of
876
- * pools can exist.
877
- **/
878
- maxPools: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
879
- /**
880
- * Metadata for the pool.
881
- **/
882
- metadata: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
883
- /**
884
- * Minimum bond required to create a pool.
885
- *
886
- * This is the amount that the depositor must put as their initial stake in the pool, as an
887
- * indication of "skin in the game".
888
- *
889
- * This is the value that will always exist in the staking ledger of the pool bonded account
890
- * while all other accounts leave.
891
- **/
892
- minCreateBond: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
893
- /**
894
- * Minimum amount to bond to join a pool.
895
- **/
896
- minJoinBond: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
897
- /**
898
- * Active members.
899
- *
900
- * TWOX-NOTE: SAFE since `AccountId` is a secure hash.
901
- **/
902
- poolMembers: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletNominationPoolsPoolMember>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
903
- /**
904
- * A reverse lookup from the pool's account id to its id.
905
- *
906
- * This is only used for slashing. In all other instances, the pool id is used, and the
907
- * accounts are deterministically derived from it.
908
- **/
909
- reversePoolIdLookup: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
910
- /**
911
- * Reward pools. This is where there rewards for each pool accumulate. When a members payout is
912
- * claimed, the balance comes out fo the reward pool. Keyed by the bonded pools account.
913
- **/
914
- rewardPools: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNominationPoolsRewardPool>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
915
- /**
916
- * Groups of unbonding pools. Each group of unbonding pools belongs to a
917
- * bonded pool, hence the name sub-pools. Keyed by the bonded pools account.
918
- **/
919
- subPoolsStorage: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNominationPoolsSubPools>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
920
- /**
921
- * The sum of funds across all pools.
922
- *
923
- * This might be lower but never higher than the sum of `total_balance` of all [`PoolMembers`]
924
- * because calling `pool_withdraw_unbonded` might decrease the total stake of the pool's
925
- * `bonded_account` without adjusting the pallet-internal `UnbondingPool`'s.
926
- **/
927
- totalValueLocked: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
928
- /**
929
- * Generic query
930
- **/
931
- [key: string]: QueryableStorageEntry<ApiType>;
932
- };
933
- offences: {
934
- /**
935
- * A vector of reports of the same kind that happened at the same time slot.
936
- **/
937
- concurrentReportsIndex: AugmentedQuery<ApiType, (arg1: U8aFixed | string | Uint8Array, arg2: Bytes | string | Uint8Array) => Observable<Vec<H256>>, [U8aFixed, Bytes]> & QueryableStorageEntry<ApiType, [U8aFixed, Bytes]>;
938
- /**
939
- * The primary structure that holds all offence records keyed by report identifiers.
940
- **/
941
- reports: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<SpStakingOffenceOffenceDetails>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
942
- /**
943
- * Generic query
944
- **/
945
- [key: string]: QueryableStorageEntry<ApiType>;
946
- };
947
- preimage: {
948
- preimageFor: AugmentedQuery<ApiType, (arg: ITuple<[H256, u32]> | [H256 | string | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable<Option<Bytes>>, [ITuple<[H256, u32]>]> & QueryableStorageEntry<ApiType, [ITuple<[H256, u32]>]>;
949
- /**
950
- * The request status of a given hash.
951
- **/
952
- requestStatusFor: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletPreimageRequestStatus>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
953
- /**
954
- * The request status of a given hash.
955
- **/
956
- statusFor: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletPreimageOldRequestStatus>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
957
- /**
958
- * Generic query
959
- **/
960
- [key: string]: QueryableStorageEntry<ApiType>;
961
- };
962
- proxy: {
963
- /**
964
- * The announcements made by the proxy (key).
965
- **/
966
- announcements: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[Vec<PalletProxyAnnouncement>, u128]>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
967
- /**
968
- * The set of account proxies. Maps the account which has delegated to the accounts
969
- * which are being delegated to, together with the amount held on deposit.
970
- **/
971
- proxies: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[Vec<PalletProxyProxyDefinition>, u128]>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
972
- /**
973
- * Generic query
974
- **/
975
- [key: string]: QueryableStorageEntry<ApiType>;
976
- };
977
- randomnessCollectiveFlip: {
978
- /**
979
- * Series of block headers from the last 81 blocks that acts as random seed material. This
980
- * is arranged as a ring buffer with `block_number % 81` being the index into the `Vec` of
981
- * the oldest hash.
982
- **/
983
- randomMaterial: AugmentedQuery<ApiType, () => Observable<Vec<H256>>, []> & QueryableStorageEntry<ApiType, []>;
984
- /**
985
- * Generic query
986
- **/
987
- [key: string]: QueryableStorageEntry<ApiType>;
988
- };
989
- roles: {
990
- /**
991
- * Mapping of resource to bridge index
992
- **/
993
- accountRolesMapping: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<TanglePrimitivesRolesRoleType>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
994
- /**
995
- * The active era information, it holds index and start.
996
- *
997
- * The active era is the era being currently rewarded.
998
- **/
999
- activeRestakerEra: AugmentedQuery<ApiType, () => Observable<Option<PalletStakingActiveEraInfo>>, []> & QueryableStorageEntry<ApiType, []>;
1000
- /**
1001
- * Rewards for the last `HISTORY_DEPTH` eras.
1002
- * If reward hasn't been set or has been removed then 0 reward is returned.
1003
- **/
1004
- erasRestakeRewardPoints: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<PalletStakingEraRewardPoints>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1005
- /**
1006
- * Map from all "controller" accounts to the info regarding the staking.
1007
- **/
1008
- ledger: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletRolesRestakingLedger>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1009
- /**
1010
- * The minimum re staking bond to become and maintain the role.
1011
- **/
1012
- minRestakingBond: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
1013
- /**
1014
- * The total restake amount in the system
1015
- **/
1016
- totalRestake: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
1017
- /**
1018
- * The number of jobs completed by a validator in era
1019
- **/
1020
- validatorJobsInEra: AugmentedQuery<ApiType, () => Observable<BTreeMap<AccountId32, u32>>, []> & QueryableStorageEntry<ApiType, []>;
1021
- /**
1022
- * Generic query
1023
- **/
1024
- [key: string]: QueryableStorageEntry<ApiType>;
1025
- };
1026
- scheduler: {
1027
- /**
1028
- * Items to be executed, indexed by the block number that they should be executed on.
1029
- **/
1030
- agenda: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<Option<PalletSchedulerScheduled>>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;
1031
- incompleteSince: AugmentedQuery<ApiType, () => Observable<Option<u64>>, []> & QueryableStorageEntry<ApiType, []>;
1032
- /**
1033
- * Lookup from a name to the block number and index of the task.
1034
- *
1035
- * For v3 -> v4 the previously unbounded identities are Blake2-256 hashed to form the v4
1036
- * identities.
1037
- **/
1038
- lookup: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Option<ITuple<[u64, u32]>>>, [U8aFixed]> & QueryableStorageEntry<ApiType, [U8aFixed]>;
1039
- /**
1040
- * Generic query
1041
- **/
1042
- [key: string]: QueryableStorageEntry<ApiType>;
1043
- };
1044
- session: {
1045
- /**
1046
- * Current index of the session.
1047
- **/
1048
- currentIndex: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1049
- /**
1050
- * Indices of disabled validators.
1051
- *
1052
- * The vec is always kept sorted so that we can find whether a given validator is
1053
- * disabled using binary search. It gets cleared when `on_session_ending` returns
1054
- * a new set of identities.
1055
- **/
1056
- disabledValidators: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;
1057
- /**
1058
- * The owner of a key. The key is the `KeyTypeId` + the encoded key.
1059
- **/
1060
- keyOwner: AugmentedQuery<ApiType, (arg: ITuple<[SpCoreCryptoKeyTypeId, Bytes]> | [SpCoreCryptoKeyTypeId | string | Uint8Array, Bytes | string | Uint8Array]) => Observable<Option<AccountId32>>, [ITuple<[SpCoreCryptoKeyTypeId, Bytes]>]> & QueryableStorageEntry<ApiType, [ITuple<[SpCoreCryptoKeyTypeId, Bytes]>]>;
1061
- /**
1062
- * The next session keys for a validator.
1063
- **/
1064
- nextKeys: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<TangleTestnetRuntimeOpaqueSessionKeys>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1065
- /**
1066
- * True if the underlying economic identities or weighting behind the validators
1067
- * has changed in the queued validator set.
1068
- **/
1069
- queuedChanged: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
1070
- /**
1071
- * The queued keys for the next session. When the next session begins, these keys
1072
- * will be used to determine the validator's session keys.
1073
- **/
1074
- queuedKeys: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[AccountId32, TangleTestnetRuntimeOpaqueSessionKeys]>>>, []> & QueryableStorageEntry<ApiType, []>;
1075
- /**
1076
- * The current set of validators.
1077
- **/
1078
- validators: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
1079
- /**
1080
- * Generic query
1081
- **/
1082
- [key: string]: QueryableStorageEntry<ApiType>;
1083
- };
1084
- staking: {
1085
- /**
1086
- * The active era information, it holds index and start.
1087
- *
1088
- * The active era is the era being currently rewarded. Validator set of this era must be
1089
- * equal to [`SessionInterface::validators`].
1090
- **/
1091
- activeEra: AugmentedQuery<ApiType, () => Observable<Option<PalletStakingActiveEraInfo>>, []> & QueryableStorageEntry<ApiType, []>;
1092
- /**
1093
- * Map from all locked "stash" accounts to the controller account.
1094
- *
1095
- * TWOX-NOTE: SAFE since `AccountId` is a secure hash.
1096
- **/
1097
- bonded: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<AccountId32>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1098
- /**
1099
- * A mapping from still-bonded eras to the first session index of that era.
1100
- *
1101
- * Must contains information for eras for the range:
1102
- * `[active_era - bounding_duration; active_era]`
1103
- **/
1104
- bondedEras: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
1105
- /**
1106
- * The amount of currency given to reporters of a slash event which was
1107
- * canceled by extraordinary circumstances (e.g. governance).
1108
- **/
1109
- canceledSlashPayout: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
1110
- /**
1111
- * The threshold for when users can start calling `chill_other` for other validators /
1112
- * nominators. The threshold is compared to the actual number of validators / nominators
1113
- * (`CountFor*`) in the system compared to the configured max (`Max*Count`).
1114
- **/
1115
- chillThreshold: AugmentedQuery<ApiType, () => Observable<Option<Percent>>, []> & QueryableStorageEntry<ApiType, []>;
1116
- /**
1117
- * History of claimed paged rewards by era and validator.
1118
- *
1119
- * This is keyed by era and validator stash which maps to the set of page indexes which have
1120
- * been claimed.
1121
- *
1122
- * It is removed after [`Config::HistoryDepth`] eras.
1123
- **/
1124
- claimedRewards: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Vec<u32>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
1125
- /**
1126
- * Counter for the related counted storage map
1127
- **/
1128
- counterForNominators: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1129
- /**
1130
- * Counter for the related counted storage map
1131
- **/
1132
- counterForValidators: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1133
- /**
1134
- * The current era index.
1135
- *
1136
- * This is the latest planned era, depending on how the Session pallet queues the validator
1137
- * set, it might be active or not.
1138
- **/
1139
- currentEra: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
1140
- /**
1141
- * The last planned session scheduled by the session pallet.
1142
- *
1143
- * This is basically in sync with the call to [`pallet_session::SessionManager::new_session`].
1144
- **/
1145
- currentPlannedSession: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1146
- /**
1147
- * Rewards for the last [`Config::HistoryDepth`] eras.
1148
- * If reward hasn't been set or has been removed then 0 reward is returned.
1149
- **/
1150
- erasRewardPoints: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<PalletStakingEraRewardPoints>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1151
- /**
1152
- * Exposure of validator at era.
1153
- *
1154
- * This is keyed first by the era index to allow bulk deletion and then the stash account.
1155
- *
1156
- * Is it removed after [`Config::HistoryDepth`] eras.
1157
- * If stakers hasn't been set or has been removed then empty exposure is returned.
1158
- *
1159
- * Note: Deprecated since v14. Use `EraInfo` instead to work with exposures.
1160
- **/
1161
- erasStakers: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<SpStakingExposure>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
1162
- /**
1163
- * Clipped Exposure of validator at era.
1164
- *
1165
- * Note: This is deprecated, should be used as read-only and will be removed in the future.
1166
- * New `Exposure`s are stored in a paged manner in `ErasStakersPaged` instead.
1167
- *
1168
- * This is similar to [`ErasStakers`] but number of nominators exposed is reduced to the
1169
- * `T::MaxExposurePageSize` biggest stakers.
1170
- * (Note: the field `total` and `own` of the exposure remains unchanged).
1171
- * This is used to limit the i/o cost for the nominator payout.
1172
- *
1173
- * This is keyed fist by the era index to allow bulk deletion and then the stash account.
1174
- *
1175
- * It is removed after [`Config::HistoryDepth`] eras.
1176
- * If stakers hasn't been set or has been removed then empty exposure is returned.
1177
- *
1178
- * Note: Deprecated since v14. Use `EraInfo` instead to work with exposures.
1179
- **/
1180
- erasStakersClipped: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<SpStakingExposure>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
1181
- /**
1182
- * Summary of validator exposure at a given era.
1183
- *
1184
- * This contains the total stake in support of the validator and their own stake. In addition,
1185
- * it can also be used to get the number of nominators backing this validator and the number of
1186
- * exposure pages they are divided into. The page count is useful to determine the number of
1187
- * pages of rewards that needs to be claimed.
1188
- *
1189
- * This is keyed first by the era index to allow bulk deletion and then the stash account.
1190
- * Should only be accessed through `EraInfo`.
1191
- *
1192
- * Is it removed after [`Config::HistoryDepth`] eras.
1193
- * If stakers hasn't been set or has been removed then empty overview is returned.
1194
- **/
1195
- erasStakersOverview: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<SpStakingPagedExposureMetadata>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
1196
- /**
1197
- * Paginated exposure of a validator at given era.
1198
- *
1199
- * This is keyed first by the era index to allow bulk deletion, then stash account and finally
1200
- * the page. Should only be accessed through `EraInfo`.
1201
- *
1202
- * This is cleared after [`Config::HistoryDepth`] eras.
1203
- **/
1204
- erasStakersPaged: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array, arg3: u32 | AnyNumber | Uint8Array) => Observable<Option<SpStakingExposurePage>>, [u32, AccountId32, u32]> & QueryableStorageEntry<ApiType, [u32, AccountId32, u32]>;
1205
- /**
1206
- * The session index at which the era start for the last [`Config::HistoryDepth`] eras.
1207
- *
1208
- * Note: This tracks the starting session (i.e. session index when era start being active)
1209
- * for the eras in `[CurrentEra - HISTORY_DEPTH, CurrentEra]`.
1210
- **/
1211
- erasStartSessionIndex: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1212
- /**
1213
- * The total amount staked for the last [`Config::HistoryDepth`] eras.
1214
- * If total hasn't been set or has been removed then 0 stake is returned.
1215
- **/
1216
- erasTotalStake: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1217
- /**
1218
- * Similar to `ErasStakers`, this holds the preferences of validators.
1219
- *
1220
- * This is keyed first by the era index to allow bulk deletion and then the stash account.
1221
- *
1222
- * Is it removed after [`Config::HistoryDepth`] eras.
1223
- **/
1224
- erasValidatorPrefs: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<PalletStakingValidatorPrefs>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
1225
- /**
1226
- * The total validator era payout for the last [`Config::HistoryDepth`] eras.
1227
- *
1228
- * Eras that haven't finished yet or has been removed doesn't have reward.
1229
- **/
1230
- erasValidatorReward: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u128>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1231
- /**
1232
- * Mode of era forcing.
1233
- **/
1234
- forceEra: AugmentedQuery<ApiType, () => Observable<PalletStakingForcing>, []> & QueryableStorageEntry<ApiType, []>;
1235
- /**
1236
- * Any validators that may never be slashed or forcibly kicked. It's a Vec since they're
1237
- * easy to initialize and the performance hit is minimal (we expect no more than four
1238
- * invulnerables) and restricted to testnets.
1239
- **/
1240
- invulnerables: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
1241
- /**
1242
- * Map from all (unlocked) "controller" accounts to the info regarding the staking.
1243
- *
1244
- * Note: All the reads and mutations to this storage *MUST* be done through the methods exposed
1245
- * by [`StakingLedger`] to ensure data and lock consistency.
1246
- **/
1247
- ledger: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletStakingStakingLedger>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1248
- /**
1249
- * The maximum nominator count before we stop allowing new validators to join.
1250
- *
1251
- * When this value is not set, no limits are enforced.
1252
- **/
1253
- maxNominatorsCount: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
1254
- /**
1255
- * The maximum validator count before we stop allowing new validators to join.
1256
- *
1257
- * When this value is not set, no limits are enforced.
1258
- **/
1259
- maxValidatorsCount: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
1260
- /**
1261
- * The minimum amount of commission that validators can set.
1262
- *
1263
- * If set to `0`, no limit exists.
1264
- **/
1265
- minCommission: AugmentedQuery<ApiType, () => Observable<Perbill>, []> & QueryableStorageEntry<ApiType, []>;
1266
- /**
1267
- * The minimum active nominator stake of the last successful election.
1268
- **/
1269
- minimumActiveStake: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
1270
- /**
1271
- * Minimum number of staking participants before emergency conditions are imposed.
1272
- **/
1273
- minimumValidatorCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1274
- /**
1275
- * The minimum active bond to become and maintain the role of a nominator.
1276
- **/
1277
- minNominatorBond: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
1278
- /**
1279
- * The minimum active bond to become and maintain the role of a validator.
1280
- **/
1281
- minValidatorBond: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
1282
- /**
1283
- * The map from nominator stash key to their nomination preferences, namely the validators that
1284
- * they wish to support.
1285
- *
1286
- * Note that the keys of this storage map might become non-decodable in case the
1287
- * account's [`NominationsQuota::MaxNominations`] configuration is decreased.
1288
- * In this rare case, these nominators
1289
- * are still existent in storage, their key is correct and retrievable (i.e. `contains_key`
1290
- * indicates that they exist), but their value cannot be decoded. Therefore, the non-decodable
1291
- * nominators will effectively not-exist, until they re-submit their preferences such that it
1292
- * is within the bounds of the newly set `Config::MaxNominations`.
1293
- *
1294
- * This implies that `::iter_keys().count()` and `::iter().count()` might return different
1295
- * values for this map. Moreover, the main `::count()` is aligned with the former, namely the
1296
- * number of keys that exist.
1297
- *
1298
- * Lastly, if any of the nominators become non-decodable, they can be chilled immediately via
1299
- * [`Call::chill_other`] dispatchable by anyone.
1300
- *
1301
- * TWOX-NOTE: SAFE since `AccountId` is a secure hash.
1302
- **/
1303
- nominators: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletStakingNominations>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1304
- /**
1305
- * All slashing events on nominators, mapped by era to the highest slash value of the era.
1306
- **/
1307
- nominatorSlashInEra: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u128>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
1308
- /**
1309
- * Indices of validators that have offended in the active era and whether they are currently
1310
- * disabled.
1311
- *
1312
- * This value should be a superset of disabled validators since not all offences lead to the
1313
- * validator being disabled (if there was no slash). This is needed to track the percentage of
1314
- * validators that have offended in the current era, ensuring a new era is forced if
1315
- * `OffendingValidatorsThreshold` is reached. The vec is always kept sorted so that we can find
1316
- * whether a given validator has previously offended using binary search. It gets cleared when
1317
- * the era ends.
1318
- **/
1319
- offendingValidators: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, bool]>>>, []> & QueryableStorageEntry<ApiType, []>;
1320
- /**
1321
- * Where the reward payment should be made. Keyed by stash.
1322
- *
1323
- * TWOX-NOTE: SAFE since `AccountId` is a secure hash.
1324
- **/
1325
- payee: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletStakingRewardDestination>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1326
- /**
1327
- * Slashing spans for stash accounts.
1328
- **/
1329
- slashingSpans: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletStakingSlashingSlashingSpans>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1330
- /**
1331
- * The percentage of the slash that is distributed to reporters.
1332
- *
1333
- * The rest of the slashed value is handled by the `Slash`.
1334
- **/
1335
- slashRewardFraction: AugmentedQuery<ApiType, () => Observable<Perbill>, []> & QueryableStorageEntry<ApiType, []>;
1336
- /**
1337
- * Records information about the maximum slash of a stash within a slashing span,
1338
- * as well as how much reward has been paid out.
1339
- **/
1340
- spanSlash: AugmentedQuery<ApiType, (arg: ITuple<[AccountId32, u32]> | [AccountId32 | string | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable<PalletStakingSlashingSpanRecord>, [ITuple<[AccountId32, u32]>]> & QueryableStorageEntry<ApiType, [ITuple<[AccountId32, u32]>]>;
1341
- /**
1342
- * All unapplied slashes that are queued for later.
1343
- **/
1344
- unappliedSlashes: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<PalletStakingUnappliedSlash>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1345
- /**
1346
- * The ideal number of active validators.
1347
- **/
1348
- validatorCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1349
- /**
1350
- * The map from (wannabe) validator stash key to the preferences of that validator.
1351
- *
1352
- * TWOX-NOTE: SAFE since `AccountId` is a secure hash.
1353
- **/
1354
- validators: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletStakingValidatorPrefs>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1355
- /**
1356
- * All slashing events on validators, mapped by era to the highest slash proportion
1357
- * and slash value of the era.
1358
- **/
1359
- validatorSlashInEra: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<ITuple<[Perbill, u128]>>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
1360
- /**
1361
- * Generic query
1362
- **/
1363
- [key: string]: QueryableStorageEntry<ApiType>;
1364
- };
1365
- sudo: {
1366
- /**
1367
- * The `AccountId` of the sudo key.
1368
- **/
1369
- key: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
1370
- /**
1371
- * Generic query
1372
- **/
1373
- [key: string]: QueryableStorageEntry<ApiType>;
1374
- };
1375
- sygmaAccessSegregator: {
1376
- /**
1377
- * Mapping signature of extrinsic to account has access
1378
- * (pallet_index, extrinsic_name) => account
1379
- **/
1380
- extrinsicAccess: AugmentedQuery<ApiType, (arg: ITuple<[u8, Bytes]> | [u8 | AnyNumber | Uint8Array, Bytes | string | Uint8Array]) => Observable<Option<AccountId32>>, [ITuple<[u8, Bytes]>]> & QueryableStorageEntry<ApiType, [ITuple<[u8, Bytes]>]>;
1381
- /**
1382
- * Generic query
1383
- **/
1384
- [key: string]: QueryableStorageEntry<ApiType>;
1385
- };
1386
- sygmaBasicFeeHandler: {
1387
- /**
1388
- * Mapping fungible asset id to corresponding fee amount
1389
- **/
1390
- assetFees: AugmentedQuery<ApiType, (arg: ITuple<[u8, StagingXcmV4AssetAssetId]> | [u8 | AnyNumber | Uint8Array, StagingXcmV4AssetAssetId | { parents?: any; interior?: any } | string | Uint8Array]) => Observable<Option<u128>>, [ITuple<[u8, StagingXcmV4AssetAssetId]>]> & QueryableStorageEntry<ApiType, [ITuple<[u8, StagingXcmV4AssetAssetId]>]>;
1391
- /**
1392
- * Generic query
1393
- **/
1394
- [key: string]: QueryableStorageEntry<ApiType>;
1395
- };
1396
- sygmaBridge: {
1397
- /**
1398
- * Deposit counter of dest domain
1399
- **/
1400
- depositCounts: AugmentedQuery<ApiType, (arg: u8 | AnyNumber | Uint8Array) => Observable<u64>, [u8]> & QueryableStorageEntry<ApiType, [u8]>;
1401
- /**
1402
- * Mark the pairs for supported dest domainID with its corresponding chainID
1403
- * The chainID is not directly used in pallet, this map is designed more about rechecking the
1404
- * domainID
1405
- **/
1406
- destChainIds: AugmentedQuery<ApiType, (arg: u8 | AnyNumber | Uint8Array) => Observable<Option<U256>>, [u8]> & QueryableStorageEntry<ApiType, [u8]>;
1407
- /**
1408
- * Mark supported dest domainID
1409
- **/
1410
- destDomainIds: AugmentedQuery<ApiType, (arg: u8 | AnyNumber | Uint8Array) => Observable<bool>, [u8]> & QueryableStorageEntry<ApiType, [u8]>;
1411
- /**
1412
- * Bridge Pause indicator
1413
- * Bridge is unpaused initially, until pause
1414
- * After mpc address setup, bridge should be paused until ready to unpause
1415
- **/
1416
- isPaused: AugmentedQuery<ApiType, (arg: u8 | AnyNumber | Uint8Array) => Observable<bool>, [u8]> & QueryableStorageEntry<ApiType, [u8]>;
1417
- /**
1418
- * Pre-set MPC address
1419
- **/
1420
- mpcAddr: AugmentedQuery<ApiType, () => Observable<U8aFixed>, []> & QueryableStorageEntry<ApiType, []>;
1421
- /**
1422
- * Mark whether a deposit nonce was used. Used to mark execution status of a proposal.
1423
- **/
1424
- usedNonces: AugmentedQuery<ApiType, (arg1: u8 | AnyNumber | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<u64>, [u8, u64]> & QueryableStorageEntry<ApiType, [u8, u64]>;
1425
- /**
1426
- * Generic query
1427
- **/
1428
- [key: string]: QueryableStorageEntry<ApiType>;
1429
- };
1430
- sygmaFeeHandlerRouter: {
1431
- /**
1432
- * Return the Fee handler type based on domainID and assetID
1433
- **/
1434
- handlerType: AugmentedQuery<ApiType, (arg: ITuple<[u8, StagingXcmV4AssetAssetId]> | [u8 | AnyNumber | Uint8Array, StagingXcmV4AssetAssetId | { parents?: any; interior?: any } | string | Uint8Array]) => Observable<Option<SygmaFeeHandlerRouterFeeHandlerType>>, [ITuple<[u8, StagingXcmV4AssetAssetId]>]> & QueryableStorageEntry<ApiType, [ITuple<[u8, StagingXcmV4AssetAssetId]>]>;
1435
- /**
1436
- * Generic query
1437
- **/
1438
- [key: string]: QueryableStorageEntry<ApiType>;
1439
- };
1440
- sygmaPercentageFeeHandler: {
1441
- /**
1442
- * Mapping fungible asset id with domain id to fee rate and its lower bound, upperbound
1443
- **/
1444
- assetFeeRate: AugmentedQuery<ApiType, (arg: ITuple<[u8, StagingXcmV4AssetAssetId]> | [u8 | AnyNumber | Uint8Array, StagingXcmV4AssetAssetId | { parents?: any; interior?: any } | string | Uint8Array]) => Observable<Option<ITuple<[u32, u128, u128]>>>, [ITuple<[u8, StagingXcmV4AssetAssetId]>]> & QueryableStorageEntry<ApiType, [ITuple<[u8, StagingXcmV4AssetAssetId]>]>;
1445
- /**
1446
- * Generic query
1447
- **/
1448
- [key: string]: QueryableStorageEntry<ApiType>;
1449
- };
1450
- system: {
1451
- /**
1452
- * The full account information for a particular account ID.
1453
- **/
1454
- account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<FrameSystemAccountInfo>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1455
- /**
1456
- * Total length (in bytes) for all extrinsics put together, for the current block.
1457
- **/
1458
- allExtrinsicsLen: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
1459
- /**
1460
- * `Some` if a code upgrade has been authorized.
1461
- **/
1462
- authorizedUpgrade: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemCodeUpgradeAuthorization>>, []> & QueryableStorageEntry<ApiType, []>;
1463
- /**
1464
- * Map of block numbers to block hashes.
1465
- **/
1466
- blockHash: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<H256>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;
1467
- /**
1468
- * The current weight for the block.
1469
- **/
1470
- blockWeight: AugmentedQuery<ApiType, () => Observable<FrameSupportDispatchPerDispatchClassWeight>, []> & QueryableStorageEntry<ApiType, []>;
1471
- /**
1472
- * Digest of the current block, also part of the block header.
1473
- **/
1474
- digest: AugmentedQuery<ApiType, () => Observable<SpRuntimeDigest>, []> & QueryableStorageEntry<ApiType, []>;
1475
- /**
1476
- * The number of events in the `Events<T>` list.
1477
- **/
1478
- eventCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1479
- /**
1480
- * Events deposited for the current block.
1481
- *
1482
- * NOTE: The item is unbound and should therefore never be read on chain.
1483
- * It could otherwise inflate the PoV size of a block.
1484
- *
1485
- * Events have a large in-memory size. Box the events to not go out-of-memory
1486
- * just in case someone still reads them from within the runtime.
1487
- **/
1488
- events: AugmentedQuery<ApiType, () => Observable<Vec<FrameSystemEventRecord>>, []> & QueryableStorageEntry<ApiType, []>;
1489
- /**
1490
- * Mapping between a topic (represented by T::Hash) and a vector of indexes
1491
- * of events in the `<Events<T>>` list.
1492
- *
1493
- * All topic vectors have deterministic storage locations depending on the topic. This
1494
- * allows light-clients to leverage the changes trie storage tracking mechanism and
1495
- * in case of changes fetch the list of events of interest.
1496
- *
1497
- * The value has the type `(BlockNumberFor<T>, EventIndex)` because if we used only just
1498
- * the `EventIndex` then in case if the topic has the same contents on the next block
1499
- * no notification will be triggered thus the event might be lost.
1500
- **/
1501
- eventTopics: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Vec<ITuple<[u64, u32]>>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
1502
- /**
1503
- * The execution phase of the block.
1504
- **/
1505
- executionPhase: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemPhase>>, []> & QueryableStorageEntry<ApiType, []>;
1506
- /**
1507
- * Total extrinsics count for the current block.
1508
- **/
1509
- extrinsicCount: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
1510
- /**
1511
- * Extrinsics data for the current block (maps an extrinsic's index to its data).
1512
- **/
1513
- extrinsicData: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1514
- /**
1515
- * Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened.
1516
- **/
1517
- lastRuntimeUpgrade: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemLastRuntimeUpgradeInfo>>, []> & QueryableStorageEntry<ApiType, []>;
1518
- /**
1519
- * The current block number being processed. Set by `execute_block`.
1520
- **/
1521
- number: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
1522
- /**
1523
- * Hash of the previous block.
1524
- **/
1525
- parentHash: AugmentedQuery<ApiType, () => Observable<H256>, []> & QueryableStorageEntry<ApiType, []>;
1526
- /**
1527
- * True if we have upgraded so that AccountInfo contains three types of `RefCount`. False
1528
- * (default) if not.
1529
- **/
1530
- upgradedToTripleRefCount: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
1531
- /**
1532
- * True if we have upgraded so that `type RefCount` is `u32`. False (default) if not.
1533
- **/
1534
- upgradedToU32RefCount: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
1535
- /**
1536
- * Generic query
1537
- **/
1538
- [key: string]: QueryableStorageEntry<ApiType>;
1539
- };
1540
- timestamp: {
1541
- /**
1542
- * Whether the timestamp has been updated in this block.
1543
- *
1544
- * This value is updated to `true` upon successful submission of a timestamp by a node.
1545
- * It is then checked at the end of each block execution in the `on_finalize` hook.
1546
- **/
1547
- didUpdate: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
1548
- /**
1549
- * The current time for the current block.
1550
- **/
1551
- now: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
1552
- /**
1553
- * Generic query
1554
- **/
1555
- [key: string]: QueryableStorageEntry<ApiType>;
1556
- };
1557
- transactionPayment: {
1558
- nextFeeMultiplier: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
1559
- storageVersion: AugmentedQuery<ApiType, () => Observable<PalletTransactionPaymentReleases>, []> & QueryableStorageEntry<ApiType, []>;
1560
- /**
1561
- * Generic query
1562
- **/
1563
- [key: string]: QueryableStorageEntry<ApiType>;
1564
- };
1565
- treasury: {
1566
- /**
1567
- * Proposal indices that have been approved but not yet awarded.
1568
- **/
1569
- approvals: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;
1570
- /**
1571
- * The amount which has been reported as inactive to Currency.
1572
- **/
1573
- deactivated: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
1574
- /**
1575
- * Number of proposals that have been made.
1576
- **/
1577
- proposalCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1578
- /**
1579
- * Proposals that have been made.
1580
- **/
1581
- proposals: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletTreasuryProposal>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1582
- /**
1583
- * The count of spends that have been made.
1584
- **/
1585
- spendCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1586
- /**
1587
- * Spends that have been approved and being processed.
1588
- **/
1589
- spends: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletTreasurySpendStatus>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1590
- /**
1591
- * Generic query
1592
- **/
1593
- [key: string]: QueryableStorageEntry<ApiType>;
1594
- };
1595
- txPause: {
1596
- /**
1597
- * The set of calls that are explicitly paused.
1598
- **/
1599
- pausedCalls: AugmentedQuery<ApiType, (arg: ITuple<[Bytes, Bytes]> | [Bytes | string | Uint8Array, Bytes | string | Uint8Array]) => Observable<Option<Null>>, [ITuple<[Bytes, Bytes]>]> & QueryableStorageEntry<ApiType, [ITuple<[Bytes, Bytes]>]>;
1600
- /**
1601
- * Generic query
1602
- **/
1603
- [key: string]: QueryableStorageEntry<ApiType>;
1604
- };
1605
- vesting: {
1606
- /**
1607
- * Storage version of the pallet.
1608
- *
1609
- * New networks start with latest version, as determined by the genesis build.
1610
- **/
1611
- storageVersion: AugmentedQuery<ApiType, () => Observable<PalletVestingReleases>, []> & QueryableStorageEntry<ApiType, []>;
1612
- /**
1613
- * Information regarding the vesting of a given account.
1614
- **/
1615
- vesting: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<Vec<PalletVestingVestingInfo>>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1616
- /**
1617
- * Generic query
1618
- **/
1619
- [key: string]: QueryableStorageEntry<ApiType>;
1620
- };
1621
- zkSaaS: {
1622
- feeInfo: AugmentedQuery<ApiType, () => Observable<PalletZksaasFeeInfo>, []> & QueryableStorageEntry<ApiType, []>;
1623
- /**
1624
- * Generic query
1625
- **/
1626
- [key: string]: QueryableStorageEntry<ApiType>;
1627
- };
1628
- } // AugmentedQueries
1629
- } // declare module