@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,34 +1,45 @@
1
- import '@polkadot/api-base/types/storage';
2
- import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types';
3
- import type { Data } from '@polkadot/types';
4
- import type { BTreeMap, Bytes, Null, Option, U256, U8aFixed, Vec, bool, u128, u32, u64, u8 } from '@polkadot/types-codec';
5
- import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
6
- import type { AccountId32, Call, H160, H256, Perbill, Percent, Permill } from '@polkadot/types/interfaces/runtime';
7
- import type { Observable } from '@polkadot/types/types';
8
- 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';
1
+ import "@polkadot/api-base/types/storage";
2
+ import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from "@polkadot/api-base/types";
3
+ import type { Data } from "@polkadot/types";
4
+ import type { BTreeSet, Bytes, Null, Option, U256, U8aFixed, Vec, bool, u128, u32, u64, u8 } from "@polkadot/types-codec";
5
+ import type { AnyNumber, ITuple } from "@polkadot/types-codec/types";
6
+ import type { AccountId32, Call, H160, H256, Perbill, Percent, Permill } from "@polkadot/types/interfaces/runtime";
7
+ import type { Observable } from "@polkadot/types/types";
8
+ 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, PalletElectionProviderMultiPhasePhase, SpNposElectionsElectionScore, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, EthereumBlock, EthereumReceiptReceiptV3, FpRpcTransactionStatus, EthereumTransactionTransactionV2, PalletEvmCodeMetadata, SpConsensusGrandpaAppPublic, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistration, PalletIdentityRegistrarInfo, PalletIdentityAuthorityProperties, PalletImOnlineSr25519AppSr25519Public, PalletTangleLstBondedPoolBondedPoolInner, PalletTangleLstClaimPermission, PalletTangleLstSubPoolsRewardPool, PalletTangleLstSubPools, PalletTangleLstPoolsPoolMember, PalletMultiAssetDelegationOperatorOperatorSnapshot, PalletMultiAssetDelegationDelegatorDelegatorMetadata, PalletMultiAssetDelegationOperatorOperatorMetadata, PalletMultiAssetDelegationRewardsRewardConfig, PalletMultisigMultisig, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, SpStakingOffenceOffenceDetails, PalletPreimageRequestStatus, PalletPreimageOldRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletSchedulerScheduled, TanglePrimitivesServicesServiceBlueprint, TanglePrimitivesServicesService, TanglePrimitivesServicesJobCall, TanglePrimitivesServicesJobCallResult, TanglePrimitivesServicesOperatorPreferences, TanglePrimitivesServicesOperatorProfile, TanglePrimitivesServicesServiceRequest, SpCoreCryptoKeyTypeId, TangleTestnetRuntimeOpaqueSessionKeys, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, 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 } from "@polkadot/types/lookup";
9
9
  export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
10
10
  export type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;
11
- declare module '@polkadot/api-base/types/storage' {
11
+ declare module "@polkadot/api-base/types/storage" {
12
12
  interface AugmentedQueries<ApiType extends ApiTypes> {
13
13
  assets: {
14
14
  /**
15
15
  * The holdings of a specific account for a specific asset.
16
16
  **/
17
- account: AugmentedQuery<ApiType, (arg1: u128 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<PalletAssetsAssetAccount>>, [u128, AccountId32]> & QueryableStorageEntry<ApiType, [u128, AccountId32]>;
17
+ account: AugmentedQuery<ApiType, (arg1: u128 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<PalletAssetsAssetAccount>>, [
18
+ u128,
19
+ AccountId32
20
+ ]> & QueryableStorageEntry<ApiType, [u128, AccountId32]>;
18
21
  /**
19
22
  * Approved balance transfers. First balance is the amount approved for transfer. Second
20
23
  * is the amount of `T::Currency` reserved for storing this.
21
24
  * First key is the asset ID, second key is the owner and third key is the delegate.
22
25
  **/
23
- 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]>;
26
+ approvals: AugmentedQuery<ApiType, (arg1: u128 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array, arg3: AccountId32 | string | Uint8Array) => Observable<Option<PalletAssetsApproval>>, [
27
+ u128,
28
+ AccountId32,
29
+ AccountId32
30
+ ]> & QueryableStorageEntry<ApiType, [u128, AccountId32, AccountId32]>;
24
31
  /**
25
32
  * Details of an asset.
26
33
  **/
27
- asset: AugmentedQuery<ApiType, (arg: u128 | AnyNumber | Uint8Array) => Observable<Option<PalletAssetsAssetDetails>>, [u128]> & QueryableStorageEntry<ApiType, [u128]>;
34
+ asset: AugmentedQuery<ApiType, (arg: u128 | AnyNumber | Uint8Array) => Observable<Option<PalletAssetsAssetDetails>>, [
35
+ u128
36
+ ]> & QueryableStorageEntry<ApiType, [u128]>;
28
37
  /**
29
38
  * Metadata of an asset.
30
39
  **/
31
- metadata: AugmentedQuery<ApiType, (arg: u128 | AnyNumber | Uint8Array) => Observable<PalletAssetsAssetMetadata>, [u128]> & QueryableStorageEntry<ApiType, [u128]>;
40
+ metadata: AugmentedQuery<ApiType, (arg: u128 | AnyNumber | Uint8Array) => Observable<PalletAssetsAssetMetadata>, [
41
+ u128
42
+ ]> & QueryableStorageEntry<ApiType, [u128]>;
32
43
  /**
33
44
  * Generic query
34
45
  **/
@@ -38,7 +49,8 @@ declare module '@polkadot/api-base/types/storage' {
38
49
  /**
39
50
  * Author of current block.
40
51
  **/
41
- author: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
52
+ author: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, [
53
+ ]> & QueryableStorageEntry<ApiType, []>;
42
54
  /**
43
55
  * Generic query
44
56
  **/
@@ -48,14 +60,16 @@ declare module '@polkadot/api-base/types/storage' {
48
60
  /**
49
61
  * Current epoch authorities.
50
62
  **/
51
- authorities: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[SpConsensusBabeAppPublic, u64]>>>, []> & QueryableStorageEntry<ApiType, []>;
63
+ authorities: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[SpConsensusBabeAppPublic, u64]>>>, [
64
+ ]> & QueryableStorageEntry<ApiType, []>;
52
65
  /**
53
66
  * This field should always be populated during block processing unless
54
67
  * secondary plain slots are enabled (which don't contain a VRF output).
55
68
  *
56
69
  * It is set in `on_finalize`, before it will contain the value from the last block.
57
70
  **/
58
- authorVrfRandomness: AugmentedQuery<ApiType, () => Observable<Option<U8aFixed>>, []> & QueryableStorageEntry<ApiType, []>;
71
+ authorVrfRandomness: AugmentedQuery<ApiType, () => Observable<Option<U8aFixed>>, [
72
+ ]> & QueryableStorageEntry<ApiType, []>;
59
73
  /**
60
74
  * Current slot number.
61
75
  **/
@@ -64,7 +78,8 @@ declare module '@polkadot/api-base/types/storage' {
64
78
  * The configuration for the current epoch. Should never be `None` as it is initialized in
65
79
  * genesis.
66
80
  **/
67
- epochConfig: AugmentedQuery<ApiType, () => Observable<Option<SpConsensusBabeBabeEpochConfiguration>>, []> & QueryableStorageEntry<ApiType, []>;
81
+ epochConfig: AugmentedQuery<ApiType, () => Observable<Option<SpConsensusBabeBabeEpochConfiguration>>, [
82
+ ]> & QueryableStorageEntry<ApiType, []>;
68
83
  /**
69
84
  * Current epoch index.
70
85
  **/
@@ -76,7 +91,8 @@ declare module '@polkadot/api-base/types/storage' {
76
91
  * entropy was fixed (i.e. it was known to chain observers). Since epochs are defined in
77
92
  * slots, which may be skipped, the block numbers may not line up with the slot numbers.
78
93
  **/
79
- epochStart: AugmentedQuery<ApiType, () => Observable<ITuple<[u64, u64]>>, []> & QueryableStorageEntry<ApiType, []>;
94
+ epochStart: AugmentedQuery<ApiType, () => Observable<ITuple<[u64, u64]>>, [
95
+ ]> & QueryableStorageEntry<ApiType, []>;
80
96
  /**
81
97
  * The slot at which the first epoch actually started. This is 0
82
98
  * until the first block of the chain.
@@ -86,7 +102,8 @@ declare module '@polkadot/api-base/types/storage' {
86
102
  * Temporary value (cleared at block finalization) which is `Some`
87
103
  * if per-block initialization has already been called for current block.
88
104
  **/
89
- initialized: AugmentedQuery<ApiType, () => Observable<Option<Option<SpConsensusBabeDigestsPreDigest>>>, []> & QueryableStorageEntry<ApiType, []>;
105
+ initialized: AugmentedQuery<ApiType, () => Observable<Option<Option<SpConsensusBabeDigestsPreDigest>>>, [
106
+ ]> & QueryableStorageEntry<ApiType, []>;
90
107
  /**
91
108
  * How late the current block is compared to its parent.
92
109
  *
@@ -98,12 +115,14 @@ declare module '@polkadot/api-base/types/storage' {
98
115
  /**
99
116
  * Next epoch authorities.
100
117
  **/
101
- nextAuthorities: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[SpConsensusBabeAppPublic, u64]>>>, []> & QueryableStorageEntry<ApiType, []>;
118
+ nextAuthorities: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[SpConsensusBabeAppPublic, u64]>>>, [
119
+ ]> & QueryableStorageEntry<ApiType, []>;
102
120
  /**
103
121
  * The configuration for the next epoch, `None` if the config will not change
104
122
  * (you can fallback to `EpochConfig` instead in that case).
105
123
  **/
106
- nextEpochConfig: AugmentedQuery<ApiType, () => Observable<Option<SpConsensusBabeBabeEpochConfiguration>>, []> & QueryableStorageEntry<ApiType, []>;
124
+ nextEpochConfig: AugmentedQuery<ApiType, () => Observable<Option<SpConsensusBabeBabeEpochConfiguration>>, [
125
+ ]> & QueryableStorageEntry<ApiType, []>;
107
126
  /**
108
127
  * Next epoch randomness.
109
128
  **/
@@ -111,7 +130,8 @@ declare module '@polkadot/api-base/types/storage' {
111
130
  /**
112
131
  * Pending epoch configuration change that will be applied when the next epoch is enacted.
113
132
  **/
114
- pendingEpochConfigChange: AugmentedQuery<ApiType, () => Observable<Option<SpConsensusBabeDigestsNextConfigDescriptor>>, []> & QueryableStorageEntry<ApiType, []>;
133
+ pendingEpochConfigChange: AugmentedQuery<ApiType, () => Observable<Option<SpConsensusBabeDigestsNextConfigDescriptor>>, [
134
+ ]> & QueryableStorageEntry<ApiType, []>;
115
135
  /**
116
136
  * The epoch randomness for the *current* epoch.
117
137
  *
@@ -147,11 +167,14 @@ declare module '@polkadot/api-base/types/storage' {
147
167
  * a validator was the owner of a given key on a given session, and what the
148
168
  * active epoch index was during that session.
149
169
  **/
150
- skippedEpochs: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u64, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
170
+ skippedEpochs: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u64, u32]>>>, [
171
+ ]> & QueryableStorageEntry<ApiType, []>;
151
172
  /**
152
173
  * TWOX-NOTE: `SegmentIndex` is an increasing integer, so this is okay.
153
174
  **/
154
- underConstruction: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<U8aFixed>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
175
+ underConstruction: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<U8aFixed>>, [
176
+ u32
177
+ ]> & QueryableStorageEntry<ApiType, [u32]>;
155
178
  /**
156
179
  * Generic query
157
180
  **/
@@ -167,13 +190,17 @@ declare module '@polkadot/api-base/types/storage' {
167
190
  *
168
191
  * Stores a `Bag` struct, which stores head and tail pointers to itself.
169
192
  **/
170
- listBags: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletBagsListListBag>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;
193
+ listBags: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletBagsListListBag>>, [
194
+ u64
195
+ ]> & QueryableStorageEntry<ApiType, [u64]>;
171
196
  /**
172
197
  * A single node, within some bag.
173
198
  *
174
199
  * Nodes store links forward and back within their respective bags.
175
200
  **/
176
- listNodes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletBagsListListNode>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
201
+ listNodes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletBagsListListNode>>, [
202
+ AccountId32
203
+ ]> & QueryableStorageEntry<ApiType, [AccountId32]>;
177
204
  /**
178
205
  * Generic query
179
206
  **/
@@ -206,15 +233,21 @@ declare module '@polkadot/api-base/types/storage' {
206
233
  * `Balances` pallet, which uses a `StorageMap` to store balances data only.
207
234
  * NOTE: This is only used in the case that this pallet is used to store balances.
208
235
  **/
209
- account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletBalancesAccountData>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
236
+ account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletBalancesAccountData>, [
237
+ AccountId32
238
+ ]> & QueryableStorageEntry<ApiType, [AccountId32]>;
210
239
  /**
211
240
  * Freeze locks on account balances.
212
241
  **/
213
- freezes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesIdAmountRuntimeFreezeReason>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
242
+ freezes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesIdAmountRuntimeFreezeReason>>, [
243
+ AccountId32
244
+ ]> & QueryableStorageEntry<ApiType, [AccountId32]>;
214
245
  /**
215
246
  * Holds on account balances.
216
247
  **/
217
- holds: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesIdAmountRuntimeHoldReason>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
248
+ holds: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesIdAmountRuntimeHoldReason>>, [
249
+ AccountId32
250
+ ]> & QueryableStorageEntry<ApiType, [AccountId32]>;
218
251
  /**
219
252
  * The total units of outstanding deactivated balance in the system.
220
253
  **/
@@ -223,11 +256,15 @@ declare module '@polkadot/api-base/types/storage' {
223
256
  * Any liquidity locks on some account balances.
224
257
  * NOTE: Should only be accessed when setting, changing and freeing a lock.
225
258
  **/
226
- locks: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesBalanceLock>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
259
+ locks: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesBalanceLock>>, [
260
+ AccountId32
261
+ ]> & QueryableStorageEntry<ApiType, [AccountId32]>;
227
262
  /**
228
263
  * Named reserves on some account balances.
229
264
  **/
230
- reserves: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesReserveData>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
265
+ reserves: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesReserveData>>, [
266
+ AccountId32
267
+ ]> & QueryableStorageEntry<ApiType, [AccountId32]>;
231
268
  /**
232
269
  * The total units issued in the system.
233
270
  **/
@@ -249,7 +286,9 @@ declare module '@polkadot/api-base/types/storage' {
249
286
  /**
250
287
  * Bounties that have been made.
251
288
  **/
252
- bounties: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletBountiesBounty>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
289
+ bounties: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletBountiesBounty>>, [
290
+ u32
291
+ ]> & QueryableStorageEntry<ApiType, [u32]>;
253
292
  /**
254
293
  * Bounty indices that have been approved but not yet funded.
255
294
  **/
@@ -261,7 +300,9 @@ declare module '@polkadot/api-base/types/storage' {
261
300
  /**
262
301
  * The description of each bounty.
263
302
  **/
264
- bountyDescriptions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Bytes>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
303
+ bountyDescriptions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Bytes>>, [
304
+ u32
305
+ ]> & QueryableStorageEntry<ApiType, [u32]>;
265
306
  /**
266
307
  * Generic query
267
308
  **/
@@ -271,7 +312,10 @@ declare module '@polkadot/api-base/types/storage' {
271
312
  /**
272
313
  * Child bounties that have been added.
273
314
  **/
274
- childBounties: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletChildBountiesChildBounty>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
315
+ childBounties: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletChildBountiesChildBounty>>, [
316
+ u32,
317
+ u32
318
+ ]> & QueryableStorageEntry<ApiType, [u32, u32]>;
275
319
  /**
276
320
  * Number of total child bounties.
277
321
  **/
@@ -279,16 +323,22 @@ declare module '@polkadot/api-base/types/storage' {
279
323
  /**
280
324
  * The description of each child-bounty.
281
325
  **/
282
- childBountyDescriptions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Bytes>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
326
+ childBountyDescriptions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Bytes>>, [
327
+ u32
328
+ ]> & QueryableStorageEntry<ApiType, [u32]>;
283
329
  /**
284
330
  * The cumulative child-bounty curator fee for each parent bounty.
285
331
  **/
286
- childrenCuratorFees: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
332
+ childrenCuratorFees: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u128>, [
333
+ u32
334
+ ]> & QueryableStorageEntry<ApiType, [u32]>;
287
335
  /**
288
336
  * Number of child bounties per parent bounty.
289
337
  * Map of parent bounty index to number of child bounties.
290
338
  **/
291
- parentChildBounties: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
339
+ parentChildBounties: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [
340
+ u32
341
+ ]> & QueryableStorageEntry<ApiType, [u32]>;
292
342
  /**
293
343
  * Generic query
294
344
  **/
@@ -299,11 +349,14 @@ declare module '@polkadot/api-base/types/storage' {
299
349
  EVM: any;
300
350
  } | {
301
351
  Native: any;
302
- } | string | Uint8Array) => Observable<Option<u128>>, [PalletAirdropClaimsUtilsMultiAddress]> & QueryableStorageEntry<ApiType, [PalletAirdropClaimsUtilsMultiAddress]>;
352
+ } | string | Uint8Array) => Observable<Option<u128>>, [
353
+ PalletAirdropClaimsUtilsMultiAddress
354
+ ]> & QueryableStorageEntry<ApiType, [PalletAirdropClaimsUtilsMultiAddress]>;
303
355
  /**
304
356
  * Expiry block and account to deposit expired funds
305
357
  **/
306
- expiryConfig: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[u64, PalletAirdropClaimsUtilsMultiAddress]>>>, []> & QueryableStorageEntry<ApiType, []>;
358
+ expiryConfig: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[u64, PalletAirdropClaimsUtilsMultiAddress]>>>, [
359
+ ]> & QueryableStorageEntry<ApiType, []>;
307
360
  /**
308
361
  * The statement kind that must be signed, if any.
309
362
  **/
@@ -311,7 +364,9 @@ declare module '@polkadot/api-base/types/storage' {
311
364
  EVM: any;
312
365
  } | {
313
366
  Native: any;
314
- } | string | Uint8Array) => Observable<Option<PalletAirdropClaimsStatementKind>>, [PalletAirdropClaimsUtilsMultiAddress]> & QueryableStorageEntry<ApiType, [PalletAirdropClaimsUtilsMultiAddress]>;
367
+ } | string | Uint8Array) => Observable<Option<PalletAirdropClaimsStatementKind>>, [
368
+ PalletAirdropClaimsUtilsMultiAddress
369
+ ]> & QueryableStorageEntry<ApiType, [PalletAirdropClaimsUtilsMultiAddress]>;
315
370
  total: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
316
371
  /**
317
372
  * Vesting schedule for a claim.
@@ -323,7 +378,9 @@ declare module '@polkadot/api-base/types/storage' {
323
378
  EVM: any;
324
379
  } | {
325
380
  Native: any;
326
- } | string | Uint8Array) => Observable<Option<Vec<ITuple<[u128, u128, u64]>>>>, [PalletAirdropClaimsUtilsMultiAddress]> & QueryableStorageEntry<ApiType, [PalletAirdropClaimsUtilsMultiAddress]>;
381
+ } | string | Uint8Array) => Observable<Option<Vec<ITuple<[u128, u128, u64]>>>>, [
382
+ PalletAirdropClaimsUtilsMultiAddress
383
+ ]> & QueryableStorageEntry<ApiType, [PalletAirdropClaimsUtilsMultiAddress]>;
327
384
  /**
328
385
  * Generic query
329
386
  **/
@@ -337,7 +394,8 @@ declare module '@polkadot/api-base/types/storage' {
337
394
  /**
338
395
  * The prime member that helps determine the default vote behavior in case of absentations.
339
396
  **/
340
- prime: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
397
+ prime: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, [
398
+ ]> & QueryableStorageEntry<ApiType, []>;
341
399
  /**
342
400
  * Proposals so far.
343
401
  **/
@@ -345,7 +403,9 @@ declare module '@polkadot/api-base/types/storage' {
345
403
  /**
346
404
  * Actual proposal for a given hash, if it's current.
347
405
  **/
348
- proposalOf: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<Call>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
406
+ proposalOf: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<Call>>, [
407
+ H256
408
+ ]> & QueryableStorageEntry<ApiType, [H256]>;
349
409
  /**
350
410
  * The hashes of the active proposals.
351
411
  **/
@@ -353,7 +413,9 @@ declare module '@polkadot/api-base/types/storage' {
353
413
  /**
354
414
  * Votes on a given proposal, if it is ongoing.
355
415
  **/
356
- voting: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletCollectiveVotes>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
416
+ voting: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletCollectiveVotes>>, [
417
+ H256
418
+ ]> & QueryableStorageEntry<ApiType, [H256]>;
357
419
  /**
358
420
  * Generic query
359
421
  **/
@@ -364,22 +426,29 @@ declare module '@polkadot/api-base/types/storage' {
364
426
  * A record of who vetoed what. Maps proposal hash to a possible existent block number
365
427
  * (until when it may not be resubmitted) and who vetoed it.
366
428
  **/
367
- blacklist: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<ITuple<[u64, Vec<AccountId32>]>>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
429
+ blacklist: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<ITuple<[u64, Vec<AccountId32>]>>>, [
430
+ H256
431
+ ]> & QueryableStorageEntry<ApiType, [H256]>;
368
432
  /**
369
433
  * Record of all proposals that have been subject to emergency cancellation.
370
434
  **/
371
- cancellations: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<bool>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
435
+ cancellations: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<bool>, [
436
+ H256
437
+ ]> & QueryableStorageEntry<ApiType, [H256]>;
372
438
  /**
373
439
  * Those who have locked a deposit.
374
440
  *
375
441
  * TWOX-NOTE: Safe, as increasing integer keys are safe.
376
442
  **/
377
- depositOf: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[Vec<AccountId32>, u128]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
443
+ depositOf: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[Vec<AccountId32>, u128]>>>, [
444
+ u32
445
+ ]> & QueryableStorageEntry<ApiType, [u32]>;
378
446
  /**
379
447
  * True if the last referendum tabled was submitted externally. False if it was a public
380
448
  * proposal.
381
449
  **/
382
- lastTabledWasExternal: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
450
+ lastTabledWasExternal: AugmentedQuery<ApiType, () => Observable<bool>, [
451
+ ]> & QueryableStorageEntry<ApiType, []>;
383
452
  /**
384
453
  * The lowest referendum index representing an unbaked referendum. Equal to
385
454
  * `ReferendumCount` if there isn't a unbaked referendum.
@@ -399,14 +468,17 @@ declare module '@polkadot/api-base/types/storage' {
399
468
  Proposal: any;
400
469
  } | {
401
470
  Referendum: any;
402
- } | string | Uint8Array) => Observable<Option<H256>>, [PalletDemocracyMetadataOwner]> & QueryableStorageEntry<ApiType, [PalletDemocracyMetadataOwner]>;
471
+ } | string | Uint8Array) => Observable<Option<H256>>, [
472
+ PalletDemocracyMetadataOwner
473
+ ]> & QueryableStorageEntry<ApiType, [PalletDemocracyMetadataOwner]>;
403
474
  /**
404
475
  * The referendum to be tabled whenever it would be valid to table an external proposal.
405
476
  * This happens when a referendum needs to be tabled and one of two conditions are met:
406
477
  * - `LastTabledWasExternal` is `false`; or
407
478
  * - `PublicProps` is empty.
408
479
  **/
409
- nextExternal: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[FrameSupportPreimagesBounded, PalletDemocracyVoteThreshold]>>>, []> & QueryableStorageEntry<ApiType, []>;
480
+ nextExternal: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[FrameSupportPreimagesBounded, PalletDemocracyVoteThreshold]>>>, [
481
+ ]> & QueryableStorageEntry<ApiType, []>;
410
482
  /**
411
483
  * The number of (public) proposals that have been made so far.
412
484
  **/
@@ -414,7 +486,8 @@ declare module '@polkadot/api-base/types/storage' {
414
486
  /**
415
487
  * The public proposals. Unsorted. The second item is the proposal.
416
488
  **/
417
- publicProps: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, FrameSupportPreimagesBounded, AccountId32]>>>, []> & QueryableStorageEntry<ApiType, []>;
489
+ publicProps: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, FrameSupportPreimagesBounded, AccountId32]>>>, [
490
+ ]> & QueryableStorageEntry<ApiType, []>;
418
491
  /**
419
492
  * The next free referendum index, aka the number of referenda started so far.
420
493
  **/
@@ -424,21 +497,18 @@ declare module '@polkadot/api-base/types/storage' {
424
497
  *
425
498
  * TWOX-NOTE: SAFE as indexes are not under an attacker’s control.
426
499
  **/
427
- referendumInfoOf: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletDemocracyReferendumInfo>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
500
+ referendumInfoOf: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletDemocracyReferendumInfo>>, [
501
+ u32
502
+ ]> & QueryableStorageEntry<ApiType, [u32]>;
428
503
  /**
429
504
  * All votes for a particular voter. We store the balance for the number of votes that we
430
505
  * have recorded. The second item is the total amount of delegations, that will be added.
431
506
  *
432
507
  * TWOX-NOTE: SAFE as `AccountId`s are crypto hashes anyway.
433
508
  **/
434
- votingOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletDemocracyVoteVoting>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
435
- /**
436
- * Generic query
437
- **/
438
- [key: string]: QueryableStorageEntry<ApiType>;
439
- };
440
- dkg: {
441
- feeInfo: AugmentedQuery<ApiType, () => Observable<PalletDkgFeeInfo>, []> & QueryableStorageEntry<ApiType, []>;
509
+ votingOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletDemocracyVoteVoting>, [
510
+ AccountId32
511
+ ]> & QueryableStorageEntry<ApiType, [AccountId32]>;
442
512
  /**
443
513
  * Generic query
444
514
  **/
@@ -446,7 +516,8 @@ declare module '@polkadot/api-base/types/storage' {
446
516
  };
447
517
  dynamicFee: {
448
518
  minGasPrice: AugmentedQuery<ApiType, () => Observable<U256>, []> & QueryableStorageEntry<ApiType, []>;
449
- targetMinGasPrice: AugmentedQuery<ApiType, () => Observable<Option<U256>>, []> & QueryableStorageEntry<ApiType, []>;
519
+ targetMinGasPrice: AugmentedQuery<ApiType, () => Observable<Option<U256>>, [
520
+ ]> & QueryableStorageEntry<ApiType, []>;
450
521
  /**
451
522
  * Generic query
452
523
  **/
@@ -456,27 +527,31 @@ declare module '@polkadot/api-base/types/storage' {
456
527
  /**
457
528
  * Current phase.
458
529
  **/
459
- currentPhase: AugmentedQuery<ApiType, () => Observable<PalletElectionProviderMultiPhasePhase>, []> & QueryableStorageEntry<ApiType, []>;
530
+ currentPhase: AugmentedQuery<ApiType, () => Observable<PalletElectionProviderMultiPhasePhase>, [
531
+ ]> & QueryableStorageEntry<ApiType, []>;
460
532
  /**
461
533
  * Desired number of targets to elect for this round.
462
534
  *
463
535
  * Only exists when [`Snapshot`] is present.
464
536
  * Note: This storage type must only be mutated through [`SnapshotWrapper`].
465
537
  **/
466
- desiredTargets: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
538
+ desiredTargets: AugmentedQuery<ApiType, () => Observable<Option<u32>>, [
539
+ ]> & QueryableStorageEntry<ApiType, []>;
467
540
  /**
468
541
  * The minimum score that each 'untrusted' solution must attain in order to be considered
469
542
  * feasible.
470
543
  *
471
544
  * Can be set via `set_minimum_untrusted_score`.
472
545
  **/
473
- minimumUntrustedScore: AugmentedQuery<ApiType, () => Observable<Option<SpNposElectionsElectionScore>>, []> & QueryableStorageEntry<ApiType, []>;
546
+ minimumUntrustedScore: AugmentedQuery<ApiType, () => Observable<Option<SpNposElectionsElectionScore>>, [
547
+ ]> & QueryableStorageEntry<ApiType, []>;
474
548
  /**
475
549
  * Current best solution, signed or unsigned, queued to be returned upon `elect`.
476
550
  *
477
551
  * Always sorted by score.
478
552
  **/
479
- queuedSolution: AugmentedQuery<ApiType, () => Observable<Option<PalletElectionProviderMultiPhaseReadySolution>>, []> & QueryableStorageEntry<ApiType, []>;
553
+ queuedSolution: AugmentedQuery<ApiType, () => Observable<Option<PalletElectionProviderMultiPhaseReadySolution>>, [
554
+ ]> & QueryableStorageEntry<ApiType, []>;
480
555
  /**
481
556
  * Internal counter for the number of rounds.
482
557
  *
@@ -494,7 +569,8 @@ declare module '@polkadot/api-base/types/storage' {
494
569
  * can be quite large, so we're willing to pay the cost of multiple database accesses to access
495
570
  * them one at a time instead of reading and decoding all of them at once.
496
571
  **/
497
- signedSubmissionIndices: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[SpNposElectionsElectionScore, u64, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
572
+ signedSubmissionIndices: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[SpNposElectionsElectionScore, u64, u32]>>>, [
573
+ ]> & QueryableStorageEntry<ApiType, []>;
498
574
  /**
499
575
  * The next index to be assigned to an incoming signed submission.
500
576
  *
@@ -506,7 +582,8 @@ declare module '@polkadot/api-base/types/storage' {
506
582
  * capacity, it will simply saturate. We can't just iterate over `SignedSubmissionsMap`,
507
583
  * because iteration is slow. Instead, we store the value here.
508
584
  **/
509
- signedSubmissionNextIndex: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
585
+ signedSubmissionNextIndex: AugmentedQuery<ApiType, () => Observable<u32>, [
586
+ ]> & QueryableStorageEntry<ApiType, []>;
510
587
  /**
511
588
  * Unchecked, signed solutions.
512
589
  *
@@ -516,21 +593,25 @@ declare module '@polkadot/api-base/types/storage' {
516
593
  * Twox note: the key of the map is an auto-incrementing index which users cannot inspect or
517
594
  * affect; we shouldn't need a cryptographically secure hasher.
518
595
  **/
519
- signedSubmissionsMap: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletElectionProviderMultiPhaseSignedSignedSubmission>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
596
+ signedSubmissionsMap: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletElectionProviderMultiPhaseSignedSignedSubmission>>, [
597
+ u32
598
+ ]> & QueryableStorageEntry<ApiType, [u32]>;
520
599
  /**
521
600
  * Snapshot data of the round.
522
601
  *
523
602
  * This is created at the beginning of the signed phase and cleared upon calling `elect`.
524
603
  * Note: This storage type must only be mutated through [`SnapshotWrapper`].
525
604
  **/
526
- snapshot: AugmentedQuery<ApiType, () => Observable<Option<PalletElectionProviderMultiPhaseRoundSnapshot>>, []> & QueryableStorageEntry<ApiType, []>;
605
+ snapshot: AugmentedQuery<ApiType, () => Observable<Option<PalletElectionProviderMultiPhaseRoundSnapshot>>, [
606
+ ]> & QueryableStorageEntry<ApiType, []>;
527
607
  /**
528
608
  * The metadata of the [`RoundSnapshot`]
529
609
  *
530
610
  * Only exists when [`Snapshot`] is present.
531
611
  * Note: This storage type must only be mutated through [`SnapshotWrapper`].
532
612
  **/
533
- snapshotMetadata: AugmentedQuery<ApiType, () => Observable<Option<PalletElectionProviderMultiPhaseSolutionOrSnapshotSize>>, []> & QueryableStorageEntry<ApiType, []>;
613
+ snapshotMetadata: AugmentedQuery<ApiType, () => Observable<Option<PalletElectionProviderMultiPhaseSolutionOrSnapshotSize>>, [
614
+ ]> & QueryableStorageEntry<ApiType, []>;
534
615
  /**
535
616
  * Generic query
536
617
  **/
@@ -545,7 +626,8 @@ declare module '@polkadot/api-base/types/storage' {
545
626
  *
546
627
  * Invariant: Always sorted based on account id.
547
628
  **/
548
- candidates: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[AccountId32, u128]>>>, []> & QueryableStorageEntry<ApiType, []>;
629
+ candidates: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[AccountId32, u128]>>>, [
630
+ ]> & QueryableStorageEntry<ApiType, []>;
549
631
  /**
550
632
  * The total number of vote rounds that have happened, excluding the upcoming one.
551
633
  **/
@@ -555,53 +637,76 @@ declare module '@polkadot/api-base/types/storage' {
555
637
  *
556
638
  * Invariant: Always sorted based on account id.
557
639
  **/
558
- members: AugmentedQuery<ApiType, () => Observable<Vec<PalletElectionsPhragmenSeatHolder>>, []> & QueryableStorageEntry<ApiType, []>;
640
+ members: AugmentedQuery<ApiType, () => Observable<Vec<PalletElectionsPhragmenSeatHolder>>, [
641
+ ]> & QueryableStorageEntry<ApiType, []>;
559
642
  /**
560
643
  * The current reserved runners-up.
561
644
  *
562
645
  * Invariant: Always sorted based on rank (worse to best). Upon removal of a member, the
563
646
  * last (i.e. _best_) runner-up will be replaced.
564
647
  **/
565
- runnersUp: AugmentedQuery<ApiType, () => Observable<Vec<PalletElectionsPhragmenSeatHolder>>, []> & QueryableStorageEntry<ApiType, []>;
648
+ runnersUp: AugmentedQuery<ApiType, () => Observable<Vec<PalletElectionsPhragmenSeatHolder>>, [
649
+ ]> & QueryableStorageEntry<ApiType, []>;
566
650
  /**
567
651
  * Votes and locked stake of a particular voter.
568
652
  *
569
653
  * TWOX-NOTE: SAFE as `AccountId` is a crypto hash.
570
654
  **/
571
- voting: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletElectionsPhragmenVoter>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
655
+ voting: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletElectionsPhragmenVoter>, [
656
+ AccountId32
657
+ ]> & QueryableStorageEntry<ApiType, [AccountId32]>;
572
658
  /**
573
659
  * Generic query
574
660
  **/
575
661
  [key: string]: QueryableStorageEntry<ApiType>;
576
662
  };
577
663
  ethereum: {
578
- blockHash: AugmentedQuery<ApiType, (arg: U256 | AnyNumber | Uint8Array) => Observable<H256>, [U256]> & QueryableStorageEntry<ApiType, [U256]>;
664
+ blockHash: AugmentedQuery<ApiType, (arg: U256 | AnyNumber | Uint8Array) => Observable<H256>, [
665
+ U256
666
+ ]> & QueryableStorageEntry<ApiType, [U256]>;
579
667
  /**
580
668
  * The current Ethereum block.
581
669
  **/
582
- currentBlock: AugmentedQuery<ApiType, () => Observable<Option<EthereumBlock>>, []> & QueryableStorageEntry<ApiType, []>;
670
+ currentBlock: AugmentedQuery<ApiType, () => Observable<Option<EthereumBlock>>, [
671
+ ]> & QueryableStorageEntry<ApiType, []>;
583
672
  /**
584
673
  * The current Ethereum receipts.
585
674
  **/
586
- currentReceipts: AugmentedQuery<ApiType, () => Observable<Option<Vec<EthereumReceiptReceiptV3>>>, []> & QueryableStorageEntry<ApiType, []>;
675
+ currentReceipts: AugmentedQuery<ApiType, () => Observable<Option<Vec<EthereumReceiptReceiptV3>>>, [
676
+ ]> & QueryableStorageEntry<ApiType, []>;
587
677
  /**
588
678
  * The current transaction statuses.
589
679
  **/
590
- currentTransactionStatuses: AugmentedQuery<ApiType, () => Observable<Option<Vec<FpRpcTransactionStatus>>>, []> & QueryableStorageEntry<ApiType, []>;
680
+ currentTransactionStatuses: AugmentedQuery<ApiType, () => Observable<Option<Vec<FpRpcTransactionStatus>>>, [
681
+ ]> & QueryableStorageEntry<ApiType, []>;
591
682
  /**
592
683
  * Current building block's transactions and receipts.
593
684
  **/
594
- pending: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[EthereumTransactionTransactionV2, FpRpcTransactionStatus, EthereumReceiptReceiptV3]>>>, []> & QueryableStorageEntry<ApiType, []>;
685
+ pending: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[
686
+ EthereumTransactionTransactionV2,
687
+ FpRpcTransactionStatus,
688
+ EthereumReceiptReceiptV3
689
+ ]>>>, [
690
+ ]> & QueryableStorageEntry<ApiType, []>;
595
691
  /**
596
692
  * Generic query
597
693
  **/
598
694
  [key: string]: QueryableStorageEntry<ApiType>;
599
695
  };
600
696
  evm: {
601
- accountCodes: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Bytes>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;
602
- accountCodesMetadata: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Option<PalletEvmCodeMetadata>>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;
603
- accountStorages: AugmentedQuery<ApiType, (arg1: H160 | string | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<H256>, [H160, H256]> & QueryableStorageEntry<ApiType, [H160, H256]>;
604
- suicided: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Option<Null>>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;
697
+ accountCodes: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Bytes>, [
698
+ H160
699
+ ]> & QueryableStorageEntry<ApiType, [H160]>;
700
+ accountCodesMetadata: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Option<PalletEvmCodeMetadata>>, [
701
+ H160
702
+ ]> & QueryableStorageEntry<ApiType, [H160]>;
703
+ accountStorages: AugmentedQuery<ApiType, (arg1: H160 | string | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<H256>, [
704
+ H160,
705
+ H256
706
+ ]> & QueryableStorageEntry<ApiType, [H160, H256]>;
707
+ suicided: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Option<Null>>, [
708
+ H160
709
+ ]> & QueryableStorageEntry<ApiType, [H160]>;
605
710
  /**
606
711
  * Generic query
607
712
  **/
@@ -621,7 +726,8 @@ declare module '@polkadot/api-base/types/storage' {
621
726
  /**
622
727
  * The current list of authorities.
623
728
  **/
624
- authorities: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>>>, []> & QueryableStorageEntry<ApiType, []>;
729
+ authorities: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>>>, [
730
+ ]> & QueryableStorageEntry<ApiType, []>;
625
731
  /**
626
732
  * The number of changes (both in terms of keys and underlying economic responsibilities)
627
733
  * in the "set" of Grandpa validators from genesis.
@@ -634,7 +740,8 @@ declare module '@polkadot/api-base/types/storage' {
634
740
  /**
635
741
  * Pending change: (signaled at, scheduled change).
636
742
  **/
637
- pendingChange: AugmentedQuery<ApiType, () => Observable<Option<PalletGrandpaStoredPendingChange>>, []> & QueryableStorageEntry<ApiType, []>;
743
+ pendingChange: AugmentedQuery<ApiType, () => Observable<Option<PalletGrandpaStoredPendingChange>>, [
744
+ ]> & QueryableStorageEntry<ApiType, []>;
638
745
  /**
639
746
  * A mapping from grandpa set ID to the index of the *most recent* session for which its
640
747
  * members were responsible.
@@ -647,15 +754,19 @@ declare module '@polkadot/api-base/types/storage' {
647
754
  *
648
755
  * TWOX-NOTE: `SetId` is not under user control.
649
756
  **/
650
- setIdSession: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;
757
+ setIdSession: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [
758
+ u64
759
+ ]> & QueryableStorageEntry<ApiType, [u64]>;
651
760
  /**
652
761
  * `true` if we are currently stalled.
653
762
  **/
654
- stalled: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[u64, u64]>>>, []> & QueryableStorageEntry<ApiType, []>;
763
+ stalled: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[u64, u64]>>>, [
764
+ ]> & QueryableStorageEntry<ApiType, []>;
655
765
  /**
656
766
  * State of the current authority set.
657
767
  **/
658
- state: AugmentedQuery<ApiType, () => Observable<PalletGrandpaStoredState>, []> & QueryableStorageEntry<ApiType, []>;
768
+ state: AugmentedQuery<ApiType, () => Observable<PalletGrandpaStoredState>, [
769
+ ]> & QueryableStorageEntry<ApiType, []>;
659
770
  /**
660
771
  * Generic query
661
772
  **/
@@ -665,11 +776,14 @@ declare module '@polkadot/api-base/types/storage' {
665
776
  /**
666
777
  * Mapping from historical session indices to session-data root hash and validator count.
667
778
  **/
668
- historicalSessions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[H256, u32]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
779
+ historicalSessions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[H256, u32]>>>, [
780
+ u32
781
+ ]> & QueryableStorageEntry<ApiType, [u32]>;
669
782
  /**
670
783
  * The range of historical sessions we store. [first, last)
671
784
  **/
672
- storedRange: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[u32, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
785
+ storedRange: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[u32, u32]>>>, [
786
+ ]> & QueryableStorageEntry<ApiType, []>;
673
787
  /**
674
788
  * Generic query
675
789
  **/
@@ -683,14 +797,18 @@ declare module '@polkadot/api-base/types/storage' {
683
797
  * Multiple usernames may map to the same `AccountId`, but `IdentityOf` will only map to one
684
798
  * primary username.
685
799
  **/
686
- accountOfUsername: AugmentedQuery<ApiType, (arg: Bytes | string | Uint8Array) => Observable<Option<AccountId32>>, [Bytes]> & QueryableStorageEntry<ApiType, [Bytes]>;
800
+ accountOfUsername: AugmentedQuery<ApiType, (arg: Bytes | string | Uint8Array) => Observable<Option<AccountId32>>, [
801
+ Bytes
802
+ ]> & QueryableStorageEntry<ApiType, [Bytes]>;
687
803
  /**
688
804
  * Information that is pertinent to identify the entity behind an account. First item is the
689
805
  * registration, second is the account's primary username.
690
806
  *
691
807
  * TWOX-NOTE: OK ― `AccountId` is a secure hash.
692
808
  **/
693
- identityOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<ITuple<[PalletIdentityRegistration, Option<Bytes>]>>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
809
+ identityOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<ITuple<[PalletIdentityRegistration, Option<Bytes>]>>>, [
810
+ AccountId32
811
+ ]> & QueryableStorageEntry<ApiType, [AccountId32]>;
694
812
  /**
695
813
  * Usernames that an authority has granted, but that the account controller has not confirmed
696
814
  * that they want it. Used primarily in cases where the `AccountId` cannot provide a signature
@@ -699,14 +817,17 @@ declare module '@polkadot/api-base/types/storage' {
699
817
  *
700
818
  * First tuple item is the account and second is the acceptance deadline.
701
819
  **/
702
- pendingUsernames: AugmentedQuery<ApiType, (arg: Bytes | string | Uint8Array) => Observable<Option<ITuple<[AccountId32, u64]>>>, [Bytes]> & QueryableStorageEntry<ApiType, [Bytes]>;
820
+ pendingUsernames: AugmentedQuery<ApiType, (arg: Bytes | string | Uint8Array) => Observable<Option<ITuple<[AccountId32, u64]>>>, [
821
+ Bytes
822
+ ]> & QueryableStorageEntry<ApiType, [Bytes]>;
703
823
  /**
704
824
  * The set of registrars. Not expected to get very big as can only be added through a
705
825
  * special origin (likely a council motion).
706
826
  *
707
827
  * The index into this can be cast to `RegistrarIndex` to get a valid value.
708
828
  **/
709
- registrars: AugmentedQuery<ApiType, () => Observable<Vec<Option<PalletIdentityRegistrarInfo>>>, []> & QueryableStorageEntry<ApiType, []>;
829
+ registrars: AugmentedQuery<ApiType, () => Observable<Vec<Option<PalletIdentityRegistrarInfo>>>, [
830
+ ]> & QueryableStorageEntry<ApiType, []>;
710
831
  /**
711
832
  * Alternative "sub" identities of this account.
712
833
  *
@@ -714,16 +835,22 @@ declare module '@polkadot/api-base/types/storage' {
714
835
  *
715
836
  * TWOX-NOTE: OK ― `AccountId` is a secure hash.
716
837
  **/
717
- subsOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[u128, Vec<AccountId32>]>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
838
+ subsOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[u128, Vec<AccountId32>]>>, [
839
+ AccountId32
840
+ ]> & QueryableStorageEntry<ApiType, [AccountId32]>;
718
841
  /**
719
842
  * The super-identity of an alternative "sub" identity together with its name, within that
720
843
  * context. If the account is not some other account's sub-identity, then just `None`.
721
844
  **/
722
- superOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<ITuple<[AccountId32, Data]>>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
845
+ superOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<ITuple<[AccountId32, Data]>>>, [
846
+ AccountId32
847
+ ]> & QueryableStorageEntry<ApiType, [AccountId32]>;
723
848
  /**
724
849
  * A map of the accounts who are authorized to grant usernames.
725
850
  **/
726
- usernameAuthorities: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletIdentityAuthorityProperties>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
851
+ usernameAuthorities: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletIdentityAuthorityProperties>>, [
852
+ AccountId32
853
+ ]> & QueryableStorageEntry<ApiType, [AccountId32]>;
727
854
  /**
728
855
  * Generic query
729
856
  **/
@@ -734,7 +861,10 @@ declare module '@polkadot/api-base/types/storage' {
734
861
  * For each session index, we keep a mapping of `ValidatorId<T>` to the
735
862
  * number of blocks authored by the given authority.
736
863
  **/
737
- authoredBlocks: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<u32>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
864
+ authoredBlocks: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<u32>, [
865
+ u32,
866
+ AccountId32
867
+ ]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
738
868
  /**
739
869
  * The block number after which it's ok to send heartbeats in the current
740
870
  * session.
@@ -752,11 +882,15 @@ declare module '@polkadot/api-base/types/storage' {
752
882
  /**
753
883
  * The current set of keys that may issue a heartbeat.
754
884
  **/
755
- keys: AugmentedQuery<ApiType, () => Observable<Vec<PalletImOnlineSr25519AppSr25519Public>>, []> & QueryableStorageEntry<ApiType, []>;
885
+ keys: AugmentedQuery<ApiType, () => Observable<Vec<PalletImOnlineSr25519AppSr25519Public>>, [
886
+ ]> & QueryableStorageEntry<ApiType, []>;
756
887
  /**
757
888
  * For each session index, we keep a mapping of `SessionIndex` and `AuthIndex`.
758
889
  **/
759
- receivedHeartbeats: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<bool>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
890
+ receivedHeartbeats: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<bool>>, [
891
+ u32,
892
+ u32
893
+ ]> & QueryableStorageEntry<ApiType, [u32, u32]>;
760
894
  /**
761
895
  * Generic query
762
896
  **/
@@ -766,45 +900,150 @@ declare module '@polkadot/api-base/types/storage' {
766
900
  /**
767
901
  * The lookup from index to account.
768
902
  **/
769
- accounts: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[AccountId32, u128, bool]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
903
+ accounts: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[AccountId32, u128, bool]>>>, [
904
+ u32
905
+ ]> & QueryableStorageEntry<ApiType, [u32]>;
770
906
  /**
771
907
  * Generic query
772
908
  **/
773
909
  [key: string]: QueryableStorageEntry<ApiType>;
774
910
  };
775
- jobs: {
776
- knownResults: AugmentedQuery<ApiType, (arg1: TanglePrimitivesRolesRoleType | {
777
- Tss: any;
778
- } | {
779
- ZkSaaS: any;
780
- } | {
781
- LightClientRelaying: any;
782
- } | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<TanglePrimitivesJobsPhaseResult>>, [TanglePrimitivesRolesRoleType, u64]> & QueryableStorageEntry<ApiType, [TanglePrimitivesRolesRoleType, u64]>;
911
+ lst: {
912
+ /**
913
+ * Storage for bonded pools.
914
+ **/
915
+ bondedPools: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletTangleLstBondedPoolBondedPoolInner>>, [
916
+ u32
917
+ ]> & QueryableStorageEntry<ApiType, [u32]>;
783
918
  /**
784
- * The job-id storage
919
+ * Map from a pool member account to their opted claim permission.
785
920
  **/
786
- nextJobId: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
787
- submittedJobs: AugmentedQuery<ApiType, (arg1: TanglePrimitivesRolesRoleType | {
788
- Tss: any;
789
- } | {
790
- ZkSaaS: any;
791
- } | {
792
- LightClientRelaying: any;
793
- } | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<TanglePrimitivesJobsJobInfo>>, [TanglePrimitivesRolesRoleType, u64]> & QueryableStorageEntry<ApiType, [TanglePrimitivesRolesRoleType, u64]>;
794
- submittedJobsRole: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<TanglePrimitivesRolesRoleType>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;
795
- timeFeePerBlock: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
796
- validatorJobIdLookup: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<Vec<ITuple<[TanglePrimitivesRolesRoleType, u64]>>>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
797
- validatorRewards: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u128>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
921
+ claimPermissions: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletTangleLstClaimPermission>, [
922
+ AccountId32
923
+ ]> & QueryableStorageEntry<ApiType, [AccountId32]>;
924
+ /**
925
+ * Counter for the related counted storage map
926
+ **/
927
+ counterForBondedPools: AugmentedQuery<ApiType, () => Observable<u32>, [
928
+ ]> & QueryableStorageEntry<ApiType, []>;
929
+ /**
930
+ * Counter for the related counted storage map
931
+ **/
932
+ counterForMetadata: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
933
+ /**
934
+ * Counter for the related counted storage map
935
+ **/
936
+ counterForReversePoolIdLookup: AugmentedQuery<ApiType, () => Observable<u32>, [
937
+ ]> & QueryableStorageEntry<ApiType, []>;
938
+ /**
939
+ * Counter for the related counted storage map
940
+ **/
941
+ counterForRewardPools: AugmentedQuery<ApiType, () => Observable<u32>, [
942
+ ]> & QueryableStorageEntry<ApiType, []>;
943
+ /**
944
+ * Counter for the related counted storage map
945
+ **/
946
+ counterForSubPoolsStorage: AugmentedQuery<ApiType, () => Observable<u32>, [
947
+ ]> & QueryableStorageEntry<ApiType, []>;
948
+ /**
949
+ * Counter for the related counted storage map
950
+ **/
951
+ counterForUnbondingMembers: AugmentedQuery<ApiType, () => Observable<u32>, [
952
+ ]> & QueryableStorageEntry<ApiType, []>;
953
+ /**
954
+ * The maximum commission that can be charged by a pool. Used on commission payouts to bound
955
+ * pool commissions that are > `GlobalMaxCommission`, necessary if a future
956
+ * `GlobalMaxCommission` is lower than some current pool commissions.
957
+ **/
958
+ globalMaxCommission: AugmentedQuery<ApiType, () => Observable<Option<Perbill>>, [
959
+ ]> & QueryableStorageEntry<ApiType, []>;
960
+ /**
961
+ * Ever increasing number of all pools created so far.
962
+ **/
963
+ lastPoolId: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
964
+ /**
965
+ * Maximum number of nomination pools that can exist. If `None`, then an unbounded number of
966
+ * pools can exist.
967
+ **/
968
+ maxPools: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
969
+ /**
970
+ * Metadata for the pool.
971
+ **/
972
+ metadata: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [
973
+ u32
974
+ ]> & QueryableStorageEntry<ApiType, [u32]>;
975
+ /**
976
+ * Minimum bond required to create a pool.
977
+ *
978
+ * This is the amount that the depositor must put as their initial stake in the pool, as an
979
+ * indication of "skin in the game".
980
+ *
981
+ * This is the value that will always exist in the staking ledger of the pool bonded account
982
+ * while all other accounts leave.
983
+ **/
984
+ minCreateBond: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
985
+ /**
986
+ * Minimum amount to bond to join a pool.
987
+ **/
988
+ minJoinBond: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
989
+ /**
990
+ * A reverse lookup from the pool's account id to its id.
991
+ *
992
+ * This is only used for slashing. In all other instances, the pool id is used, and the
993
+ * accounts are deterministically derived from it.
994
+ **/
995
+ reversePoolIdLookup: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [
996
+ AccountId32
997
+ ]> & QueryableStorageEntry<ApiType, [AccountId32]>;
998
+ /**
999
+ * Reward pools. This is where there rewards for each pool accumulate. When a members payout is
1000
+ * claimed, the balance comes out fo the reward pool. Keyed by the bonded pools account.
1001
+ **/
1002
+ rewardPools: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletTangleLstSubPoolsRewardPool>>, [
1003
+ u32
1004
+ ]> & QueryableStorageEntry<ApiType, [u32]>;
1005
+ /**
1006
+ * Groups of unbonding pools. Each group of unbonding pools belongs to a
1007
+ * bonded pool, hence the name sub-pools. Keyed by the bonded pools account.
1008
+ **/
1009
+ subPoolsStorage: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletTangleLstSubPools>>, [
1010
+ u32
1011
+ ]> & QueryableStorageEntry<ApiType, [u32]>;
1012
+ /**
1013
+ * The sum of funds across all pools.
1014
+ *
1015
+ * This might be lower but never higher than the sum of `total_balance` of all [`PoolMembers`]
1016
+ * because calling `pool_withdraw_unbonded` might decrease the total stake of the pool's
1017
+ * `bonded_account` without adjusting the pallet-internal `UnbondingPool`'s.
1018
+ **/
1019
+ totalValueLocked: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
1020
+ /**
1021
+ * Unbonding members.
1022
+ *
1023
+ * TWOX-NOTE: SAFE since `AccountId` is a secure hash.
1024
+ **/
1025
+ unbondingMembers: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletTangleLstPoolsPoolMember>>, [
1026
+ AccountId32
1027
+ ]> & QueryableStorageEntry<ApiType, [AccountId32]>;
798
1028
  /**
799
1029
  * Generic query
800
1030
  **/
801
1031
  [key: string]: QueryableStorageEntry<ApiType>;
802
1032
  };
803
1033
  multiAssetDelegation: {
1034
+ /**
1035
+ * Storage for the reward pools
1036
+ **/
1037
+ assetLookupRewardPools: AugmentedQuery<ApiType, (arg: u128 | AnyNumber | Uint8Array) => Observable<Option<u128>>, [
1038
+ u128
1039
+ ]> & QueryableStorageEntry<ApiType, [u128]>;
804
1040
  /**
805
1041
  * Snapshot of collator delegation stake at the start of the round.
806
1042
  **/
807
- atStake: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<PalletMultiAssetDelegationOperatorOperatorSnapshot>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
1043
+ atStake: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<PalletMultiAssetDelegationOperatorOperatorSnapshot>>, [
1044
+ u32,
1045
+ AccountId32
1046
+ ]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
808
1047
  /**
809
1048
  * Storage for the current round.
810
1049
  **/
@@ -812,19 +1051,27 @@ declare module '@polkadot/api-base/types/storage' {
812
1051
  /**
813
1052
  * Storage for delegator information.
814
1053
  **/
815
- delegators: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletMultiAssetDelegationDelegatorDelegatorMetadata>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1054
+ delegators: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletMultiAssetDelegationDelegatorDelegatorMetadata>>, [
1055
+ AccountId32
1056
+ ]> & QueryableStorageEntry<ApiType, [AccountId32]>;
816
1057
  /**
817
1058
  * Storage for operator information.
818
1059
  **/
819
- operators: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletMultiAssetDelegationOperatorOperatorMetadata>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1060
+ operators: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletMultiAssetDelegationOperatorOperatorMetadata>>, [
1061
+ AccountId32
1062
+ ]> & QueryableStorageEntry<ApiType, [AccountId32]>;
820
1063
  /**
821
- * Storage for the reward configuration, which includes APY, cap for assets, and whitelisted blueprints.
1064
+ * Storage for the reward configuration, which includes APY, cap for assets, and whitelisted
1065
+ * blueprints.
822
1066
  **/
823
- rewardConfigStorage: AugmentedQuery<ApiType, () => Observable<Option<PalletMultiAssetDelegationRewardsRewardConfig>>, []> & QueryableStorageEntry<ApiType, []>;
1067
+ rewardConfigStorage: AugmentedQuery<ApiType, () => Observable<Option<PalletMultiAssetDelegationRewardsRewardConfig>>, [
1068
+ ]> & QueryableStorageEntry<ApiType, []>;
824
1069
  /**
825
- * Whitelisted assets that are allowed to be deposited
1070
+ * Storage for the reward pools
826
1071
  **/
827
- whitelistedAssets: AugmentedQuery<ApiType, () => Observable<Vec<u128>>, []> & QueryableStorageEntry<ApiType, []>;
1072
+ rewardPools: AugmentedQuery<ApiType, (arg: u128 | AnyNumber | Uint8Array) => Observable<Option<Vec<u128>>>, [
1073
+ u128
1074
+ ]> & QueryableStorageEntry<ApiType, [u128]>;
828
1075
  /**
829
1076
  * Generic query
830
1077
  **/
@@ -834,7 +1081,10 @@ declare module '@polkadot/api-base/types/storage' {
834
1081
  /**
835
1082
  * The set of open multisig operations.
836
1083
  **/
837
- multisigs: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: U8aFixed | string | Uint8Array) => Observable<Option<PalletMultisigMultisig>>, [AccountId32, U8aFixed]> & QueryableStorageEntry<ApiType, [AccountId32, U8aFixed]>;
1084
+ multisigs: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: U8aFixed | string | Uint8Array) => Observable<Option<PalletMultisigMultisig>>, [
1085
+ AccountId32,
1086
+ U8aFixed
1087
+ ]> & QueryableStorageEntry<ApiType, [AccountId32, U8aFixed]>;
838
1088
  /**
839
1089
  * Generic query
840
1090
  **/
@@ -844,15 +1094,20 @@ declare module '@polkadot/api-base/types/storage' {
844
1094
  /**
845
1095
  * Storage for bonded pools.
846
1096
  **/
847
- bondedPools: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNominationPoolsBondedPoolInner>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1097
+ bondedPools: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNominationPoolsBondedPoolInner>>, [
1098
+ u32
1099
+ ]> & QueryableStorageEntry<ApiType, [u32]>;
848
1100
  /**
849
1101
  * Map from a pool member account to their opted claim permission.
850
1102
  **/
851
- claimPermissions: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletNominationPoolsClaimPermission>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1103
+ claimPermissions: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletNominationPoolsClaimPermission>, [
1104
+ AccountId32
1105
+ ]> & QueryableStorageEntry<ApiType, [AccountId32]>;
852
1106
  /**
853
1107
  * Counter for the related counted storage map
854
1108
  **/
855
- counterForBondedPools: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1109
+ counterForBondedPools: AugmentedQuery<ApiType, () => Observable<u32>, [
1110
+ ]> & QueryableStorageEntry<ApiType, []>;
856
1111
  /**
857
1112
  * Counter for the related counted storage map
858
1113
  **/
@@ -860,25 +1115,30 @@ declare module '@polkadot/api-base/types/storage' {
860
1115
  /**
861
1116
  * Counter for the related counted storage map
862
1117
  **/
863
- counterForPoolMembers: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1118
+ counterForPoolMembers: AugmentedQuery<ApiType, () => Observable<u32>, [
1119
+ ]> & QueryableStorageEntry<ApiType, []>;
864
1120
  /**
865
1121
  * Counter for the related counted storage map
866
1122
  **/
867
- counterForReversePoolIdLookup: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1123
+ counterForReversePoolIdLookup: AugmentedQuery<ApiType, () => Observable<u32>, [
1124
+ ]> & QueryableStorageEntry<ApiType, []>;
868
1125
  /**
869
1126
  * Counter for the related counted storage map
870
1127
  **/
871
- counterForRewardPools: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1128
+ counterForRewardPools: AugmentedQuery<ApiType, () => Observable<u32>, [
1129
+ ]> & QueryableStorageEntry<ApiType, []>;
872
1130
  /**
873
1131
  * Counter for the related counted storage map
874
1132
  **/
875
- counterForSubPoolsStorage: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1133
+ counterForSubPoolsStorage: AugmentedQuery<ApiType, () => Observable<u32>, [
1134
+ ]> & QueryableStorageEntry<ApiType, []>;
876
1135
  /**
877
1136
  * The maximum commission that can be charged by a pool. Used on commission payouts to bound
878
1137
  * pool commissions that are > `GlobalMaxCommission`, necessary if a future
879
1138
  * `GlobalMaxCommission` is lower than some current pool commissions.
880
1139
  **/
881
- globalMaxCommission: AugmentedQuery<ApiType, () => Observable<Option<Perbill>>, []> & QueryableStorageEntry<ApiType, []>;
1140
+ globalMaxCommission: AugmentedQuery<ApiType, () => Observable<Option<Perbill>>, [
1141
+ ]> & QueryableStorageEntry<ApiType, []>;
882
1142
  /**
883
1143
  * Ever increasing number of all pools created so far.
884
1144
  **/
@@ -887,12 +1147,14 @@ declare module '@polkadot/api-base/types/storage' {
887
1147
  * Maximum number of members that can exist in the system. If `None`, then the count
888
1148
  * members are not bound on a system wide basis.
889
1149
  **/
890
- maxPoolMembers: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
1150
+ maxPoolMembers: AugmentedQuery<ApiType, () => Observable<Option<u32>>, [
1151
+ ]> & QueryableStorageEntry<ApiType, []>;
891
1152
  /**
892
1153
  * Maximum number of members that may belong to pool. If `None`, then the count of
893
1154
  * members is not bound on a per pool basis.
894
1155
  **/
895
- maxPoolMembersPerPool: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
1156
+ maxPoolMembersPerPool: AugmentedQuery<ApiType, () => Observable<Option<u32>>, [
1157
+ ]> & QueryableStorageEntry<ApiType, []>;
896
1158
  /**
897
1159
  * Maximum number of nomination pools that can exist. If `None`, then an unbounded number of
898
1160
  * pools can exist.
@@ -901,7 +1163,9 @@ declare module '@polkadot/api-base/types/storage' {
901
1163
  /**
902
1164
  * Metadata for the pool.
903
1165
  **/
904
- metadata: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1166
+ metadata: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [
1167
+ u32
1168
+ ]> & QueryableStorageEntry<ApiType, [u32]>;
905
1169
  /**
906
1170
  * Minimum bond required to create a pool.
907
1171
  *
@@ -921,24 +1185,32 @@ declare module '@polkadot/api-base/types/storage' {
921
1185
  *
922
1186
  * TWOX-NOTE: SAFE since `AccountId` is a secure hash.
923
1187
  **/
924
- poolMembers: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletNominationPoolsPoolMember>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1188
+ poolMembers: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletNominationPoolsPoolMember>>, [
1189
+ AccountId32
1190
+ ]> & QueryableStorageEntry<ApiType, [AccountId32]>;
925
1191
  /**
926
1192
  * A reverse lookup from the pool's account id to its id.
927
1193
  *
928
1194
  * This is only used for slashing. In all other instances, the pool id is used, and the
929
1195
  * accounts are deterministically derived from it.
930
1196
  **/
931
- reversePoolIdLookup: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1197
+ reversePoolIdLookup: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [
1198
+ AccountId32
1199
+ ]> & QueryableStorageEntry<ApiType, [AccountId32]>;
932
1200
  /**
933
1201
  * Reward pools. This is where there rewards for each pool accumulate. When a members payout is
934
1202
  * claimed, the balance comes out fo the reward pool. Keyed by the bonded pools account.
935
1203
  **/
936
- rewardPools: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNominationPoolsRewardPool>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1204
+ rewardPools: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNominationPoolsRewardPool>>, [
1205
+ u32
1206
+ ]> & QueryableStorageEntry<ApiType, [u32]>;
937
1207
  /**
938
1208
  * Groups of unbonding pools. Each group of unbonding pools belongs to a
939
1209
  * bonded pool, hence the name sub-pools. Keyed by the bonded pools account.
940
1210
  **/
941
- subPoolsStorage: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNominationPoolsSubPools>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1211
+ subPoolsStorage: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNominationPoolsSubPools>>, [
1212
+ u32
1213
+ ]> & QueryableStorageEntry<ApiType, [u32]>;
942
1214
  /**
943
1215
  * The sum of funds across all pools.
944
1216
  *
@@ -956,26 +1228,37 @@ declare module '@polkadot/api-base/types/storage' {
956
1228
  /**
957
1229
  * A vector of reports of the same kind that happened at the same time slot.
958
1230
  **/
959
- concurrentReportsIndex: AugmentedQuery<ApiType, (arg1: U8aFixed | string | Uint8Array, arg2: Bytes | string | Uint8Array) => Observable<Vec<H256>>, [U8aFixed, Bytes]> & QueryableStorageEntry<ApiType, [U8aFixed, Bytes]>;
1231
+ concurrentReportsIndex: AugmentedQuery<ApiType, (arg1: U8aFixed | string | Uint8Array, arg2: Bytes | string | Uint8Array) => Observable<Vec<H256>>, [
1232
+ U8aFixed,
1233
+ Bytes
1234
+ ]> & QueryableStorageEntry<ApiType, [U8aFixed, Bytes]>;
960
1235
  /**
961
1236
  * The primary structure that holds all offence records keyed by report identifiers.
962
1237
  **/
963
- reports: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<SpStakingOffenceOffenceDetails>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
1238
+ reports: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<SpStakingOffenceOffenceDetails>>, [
1239
+ H256
1240
+ ]> & QueryableStorageEntry<ApiType, [H256]>;
964
1241
  /**
965
1242
  * Generic query
966
1243
  **/
967
1244
  [key: string]: QueryableStorageEntry<ApiType>;
968
1245
  };
969
1246
  preimage: {
970
- preimageFor: AugmentedQuery<ApiType, (arg: ITuple<[H256, u32]> | [H256 | string | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable<Option<Bytes>>, [ITuple<[H256, u32]>]> & QueryableStorageEntry<ApiType, [ITuple<[H256, u32]>]>;
1247
+ preimageFor: AugmentedQuery<ApiType, (arg: ITuple<[H256, u32]> | [H256 | string | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable<Option<Bytes>>, [
1248
+ ITuple<[H256, u32]>
1249
+ ]> & QueryableStorageEntry<ApiType, [ITuple<[H256, u32]>]>;
971
1250
  /**
972
1251
  * The request status of a given hash.
973
1252
  **/
974
- requestStatusFor: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletPreimageRequestStatus>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
1253
+ requestStatusFor: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletPreimageRequestStatus>>, [
1254
+ H256
1255
+ ]> & QueryableStorageEntry<ApiType, [H256]>;
975
1256
  /**
976
1257
  * The request status of a given hash.
977
1258
  **/
978
- statusFor: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletPreimageOldRequestStatus>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
1259
+ statusFor: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletPreimageOldRequestStatus>>, [
1260
+ H256
1261
+ ]> & QueryableStorageEntry<ApiType, [H256]>;
979
1262
  /**
980
1263
  * Generic query
981
1264
  **/
@@ -985,12 +1268,16 @@ declare module '@polkadot/api-base/types/storage' {
985
1268
  /**
986
1269
  * The announcements made by the proxy (key).
987
1270
  **/
988
- announcements: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[Vec<PalletProxyAnnouncement>, u128]>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1271
+ announcements: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[Vec<PalletProxyAnnouncement>, u128]>>, [
1272
+ AccountId32
1273
+ ]> & QueryableStorageEntry<ApiType, [AccountId32]>;
989
1274
  /**
990
1275
  * The set of account proxies. Maps the account which has delegated to the accounts
991
1276
  * which are being delegated to, together with the amount held on deposit.
992
1277
  **/
993
- proxies: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[Vec<PalletProxyProxyDefinition>, u128]>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1278
+ proxies: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[Vec<PalletProxyProxyDefinition>, u128]>>, [
1279
+ AccountId32
1280
+ ]> & QueryableStorageEntry<ApiType, [AccountId32]>;
994
1281
  /**
995
1282
  * Generic query
996
1283
  **/
@@ -1008,56 +1295,100 @@ declare module '@polkadot/api-base/types/storage' {
1008
1295
  **/
1009
1296
  [key: string]: QueryableStorageEntry<ApiType>;
1010
1297
  };
1011
- roles: {
1298
+ scheduler: {
1012
1299
  /**
1013
- * Mapping of resource to bridge index
1300
+ * Items to be executed, indexed by the block number that they should be executed on.
1014
1301
  **/
1015
- accountRolesMapping: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<TanglePrimitivesRolesRoleType>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1302
+ agenda: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<Option<PalletSchedulerScheduled>>>, [
1303
+ u64
1304
+ ]> & QueryableStorageEntry<ApiType, [u64]>;
1305
+ incompleteSince: AugmentedQuery<ApiType, () => Observable<Option<u64>>, [
1306
+ ]> & QueryableStorageEntry<ApiType, []>;
1016
1307
  /**
1017
- * The active era information, it holds index and start.
1308
+ * Lookup from a name to the block number and index of the task.
1018
1309
  *
1019
- * The active era is the era being currently rewarded.
1310
+ * For v3 -> v4 the previously unbounded identities are Blake2-256 hashed to form the v4
1311
+ * identities.
1020
1312
  **/
1021
- activeRestakerEra: AugmentedQuery<ApiType, () => Observable<Option<PalletStakingActiveEraInfo>>, []> & QueryableStorageEntry<ApiType, []>;
1313
+ lookup: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Option<ITuple<[u64, u32]>>>, [
1314
+ U8aFixed
1315
+ ]> & QueryableStorageEntry<ApiType, [U8aFixed]>;
1022
1316
  /**
1023
- * Rewards for the last `HISTORY_DEPTH` eras.
1024
- * If reward hasn't been set or has been removed then 0 reward is returned.
1317
+ * Generic query
1025
1318
  **/
1026
- erasRestakeRewardPoints: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<PalletStakingEraRewardPoints>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1319
+ [key: string]: QueryableStorageEntry<ApiType>;
1320
+ };
1321
+ services: {
1027
1322
  /**
1028
- * Map from all "controller" accounts to the info regarding the staking.
1323
+ * The service blueprints along with their owner.
1029
1324
  **/
1030
- ledger: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletRolesRestakingLedger>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1325
+ blueprints: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[AccountId32, TanglePrimitivesServicesServiceBlueprint]>>>, [
1326
+ u64
1327
+ ]> & QueryableStorageEntry<ApiType, [u64]>;
1031
1328
  /**
1032
- * The minimum re staking bond to become and maintain the role.
1329
+ * The Services Instances
1330
+ * Service ID -> Service
1033
1331
  **/
1034
- minRestakingBond: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
1332
+ instances: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<TanglePrimitivesServicesService>>, [
1333
+ u64
1334
+ ]> & QueryableStorageEntry<ApiType, [u64]>;
1035
1335
  /**
1036
- * The total restake amount in the system
1336
+ * The Service Job Calls
1337
+ * Service ID -> Call ID -> Job Call
1037
1338
  **/
1038
- totalRestake: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
1339
+ jobCalls: AugmentedQuery<ApiType, (arg1: u64 | AnyNumber | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<TanglePrimitivesServicesJobCall>>, [
1340
+ u64,
1341
+ u64
1342
+ ]> & QueryableStorageEntry<ApiType, [u64, u64]>;
1039
1343
  /**
1040
- * The number of jobs completed by a validator in era
1344
+ * The Service Job Call Results
1345
+ * Service ID -> Call ID -> Job Call Result
1041
1346
  **/
1042
- validatorJobsInEra: AugmentedQuery<ApiType, () => Observable<BTreeMap<AccountId32, u32>>, []> & QueryableStorageEntry<ApiType, []>;
1347
+ jobResults: AugmentedQuery<ApiType, (arg1: u64 | AnyNumber | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<TanglePrimitivesServicesJobCallResult>>, [
1348
+ u64,
1349
+ u64
1350
+ ]> & QueryableStorageEntry<ApiType, [u64, u64]>;
1043
1351
  /**
1044
- * Generic query
1352
+ * The next free ID for a service blueprint.
1045
1353
  **/
1046
- [key: string]: QueryableStorageEntry<ApiType>;
1047
- };
1048
- scheduler: {
1354
+ nextBlueprintId: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
1049
1355
  /**
1050
- * Items to be executed, indexed by the block number that they should be executed on.
1356
+ * The next free ID for a service Instance.
1051
1357
  **/
1052
- agenda: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<Option<PalletSchedulerScheduled>>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;
1053
- incompleteSince: AugmentedQuery<ApiType, () => Observable<Option<u64>>, []> & QueryableStorageEntry<ApiType, []>;
1358
+ nextInstanceId: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
1054
1359
  /**
1055
- * Lookup from a name to the block number and index of the task.
1056
- *
1057
- * For v3 -> v4 the previously unbounded identities are Blake2-256 hashed to form the v4
1058
- * identities.
1360
+ * The next free ID for a service call.
1361
+ **/
1362
+ nextJobCallId: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
1363
+ /**
1364
+ * The next free ID for a service request.
1365
+ **/
1366
+ nextServiceRequestId: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
1367
+ /**
1368
+ * The operators for a specific service blueprint.
1369
+ * Blueprint ID -> Operator -> Operator Preferences
1370
+ **/
1371
+ operators: AugmentedQuery<ApiType, (arg1: u64 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<TanglePrimitivesServicesOperatorPreferences>>, [
1372
+ u64,
1373
+ AccountId32
1374
+ ]> & QueryableStorageEntry<ApiType, [u64, AccountId32]>;
1375
+ operatorsProfile: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<TanglePrimitivesServicesOperatorProfile>>, [
1376
+ AccountId32
1377
+ ]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1378
+ /**
1379
+ * The service requests along with their owner.
1380
+ * Request ID -> Service Request
1059
1381
  **/
1060
- lookup: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Option<ITuple<[u64, u32]>>>, [U8aFixed]> & QueryableStorageEntry<ApiType, [U8aFixed]>;
1382
+ serviceRequests: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<TanglePrimitivesServicesServiceRequest>>, [
1383
+ u64
1384
+ ]> & QueryableStorageEntry<ApiType, [u64]>;
1385
+ /**
1386
+ * User Service Instances
1387
+ * User Account ID -> Service ID
1388
+ **/
1389
+ userServices: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<BTreeSet<u64>>, [
1390
+ AccountId32
1391
+ ]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1061
1392
  /**
1062
1393
  * Generic query
1063
1394
  **/
@@ -1075,15 +1406,25 @@ declare module '@polkadot/api-base/types/storage' {
1075
1406
  * disabled using binary search. It gets cleared when `on_session_ending` returns
1076
1407
  * a new set of identities.
1077
1408
  **/
1078
- disabledValidators: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;
1409
+ disabledValidators: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, [
1410
+ ]> & QueryableStorageEntry<ApiType, []>;
1079
1411
  /**
1080
1412
  * The owner of a key. The key is the `KeyTypeId` + the encoded key.
1081
1413
  **/
1082
- keyOwner: AugmentedQuery<ApiType, (arg: ITuple<[SpCoreCryptoKeyTypeId, Bytes]> | [SpCoreCryptoKeyTypeId | string | Uint8Array, Bytes | string | Uint8Array]) => Observable<Option<AccountId32>>, [ITuple<[SpCoreCryptoKeyTypeId, Bytes]>]> & QueryableStorageEntry<ApiType, [ITuple<[SpCoreCryptoKeyTypeId, Bytes]>]>;
1414
+ keyOwner: AugmentedQuery<ApiType, (arg: ITuple<[SpCoreCryptoKeyTypeId, Bytes]> | [
1415
+ SpCoreCryptoKeyTypeId | string | Uint8Array,
1416
+ Bytes | string | Uint8Array
1417
+ ]) => Observable<Option<AccountId32>>, [
1418
+ ITuple<[SpCoreCryptoKeyTypeId, Bytes]>
1419
+ ]> & QueryableStorageEntry<ApiType, [
1420
+ ITuple<[SpCoreCryptoKeyTypeId, Bytes]>
1421
+ ]>;
1083
1422
  /**
1084
1423
  * The next session keys for a validator.
1085
1424
  **/
1086
- nextKeys: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<TangleTestnetRuntimeOpaqueSessionKeys>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1425
+ nextKeys: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<TangleTestnetRuntimeOpaqueSessionKeys>>, [
1426
+ AccountId32
1427
+ ]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1087
1428
  /**
1088
1429
  * True if the underlying economic identities or weighting behind the validators
1089
1430
  * has changed in the queued validator set.
@@ -1093,11 +1434,13 @@ declare module '@polkadot/api-base/types/storage' {
1093
1434
  * The queued keys for the next session. When the next session begins, these keys
1094
1435
  * will be used to determine the validator's session keys.
1095
1436
  **/
1096
- queuedKeys: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[AccountId32, TangleTestnetRuntimeOpaqueSessionKeys]>>>, []> & QueryableStorageEntry<ApiType, []>;
1437
+ queuedKeys: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[AccountId32, TangleTestnetRuntimeOpaqueSessionKeys]>>>, [
1438
+ ]> & QueryableStorageEntry<ApiType, []>;
1097
1439
  /**
1098
1440
  * The current set of validators.
1099
1441
  **/
1100
- validators: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
1442
+ validators: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, [
1443
+ ]> & QueryableStorageEntry<ApiType, []>;
1101
1444
  /**
1102
1445
  * Generic query
1103
1446
  **/
@@ -1110,20 +1453,24 @@ declare module '@polkadot/api-base/types/storage' {
1110
1453
  * The active era is the era being currently rewarded. Validator set of this era must be
1111
1454
  * equal to [`SessionInterface::validators`].
1112
1455
  **/
1113
- activeEra: AugmentedQuery<ApiType, () => Observable<Option<PalletStakingActiveEraInfo>>, []> & QueryableStorageEntry<ApiType, []>;
1456
+ activeEra: AugmentedQuery<ApiType, () => Observable<Option<PalletStakingActiveEraInfo>>, [
1457
+ ]> & QueryableStorageEntry<ApiType, []>;
1114
1458
  /**
1115
1459
  * Map from all locked "stash" accounts to the controller account.
1116
1460
  *
1117
1461
  * TWOX-NOTE: SAFE since `AccountId` is a secure hash.
1118
1462
  **/
1119
- bonded: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<AccountId32>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1463
+ bonded: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<AccountId32>>, [
1464
+ AccountId32
1465
+ ]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1120
1466
  /**
1121
1467
  * A mapping from still-bonded eras to the first session index of that era.
1122
1468
  *
1123
1469
  * Must contains information for eras for the range:
1124
1470
  * `[active_era - bounding_duration; active_era]`
1125
1471
  **/
1126
- bondedEras: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
1472
+ bondedEras: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, u32]>>>, [
1473
+ ]> & QueryableStorageEntry<ApiType, []>;
1127
1474
  /**
1128
1475
  * The amount of currency given to reporters of a slash event which was
1129
1476
  * canceled by extraordinary circumstances (e.g. governance).
@@ -1134,7 +1481,8 @@ declare module '@polkadot/api-base/types/storage' {
1134
1481
  * nominators. The threshold is compared to the actual number of validators / nominators
1135
1482
  * (`CountFor*`) in the system compared to the configured max (`Max*Count`).
1136
1483
  **/
1137
- chillThreshold: AugmentedQuery<ApiType, () => Observable<Option<Percent>>, []> & QueryableStorageEntry<ApiType, []>;
1484
+ chillThreshold: AugmentedQuery<ApiType, () => Observable<Option<Percent>>, [
1485
+ ]> & QueryableStorageEntry<ApiType, []>;
1138
1486
  /**
1139
1487
  * History of claimed paged rewards by era and validator.
1140
1488
  *
@@ -1143,7 +1491,10 @@ declare module '@polkadot/api-base/types/storage' {
1143
1491
  *
1144
1492
  * It is removed after [`Config::HistoryDepth`] eras.
1145
1493
  **/
1146
- claimedRewards: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Vec<u32>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
1494
+ claimedRewards: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Vec<u32>>, [
1495
+ u32,
1496
+ AccountId32
1497
+ ]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
1147
1498
  /**
1148
1499
  * Counter for the related counted storage map
1149
1500
  **/
@@ -1164,12 +1515,15 @@ declare module '@polkadot/api-base/types/storage' {
1164
1515
  *
1165
1516
  * This is basically in sync with the call to [`pallet_session::SessionManager::new_session`].
1166
1517
  **/
1167
- currentPlannedSession: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1518
+ currentPlannedSession: AugmentedQuery<ApiType, () => Observable<u32>, [
1519
+ ]> & QueryableStorageEntry<ApiType, []>;
1168
1520
  /**
1169
1521
  * Rewards for the last [`Config::HistoryDepth`] eras.
1170
1522
  * If reward hasn't been set or has been removed then 0 reward is returned.
1171
1523
  **/
1172
- erasRewardPoints: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<PalletStakingEraRewardPoints>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1524
+ erasRewardPoints: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<PalletStakingEraRewardPoints>, [
1525
+ u32
1526
+ ]> & QueryableStorageEntry<ApiType, [u32]>;
1173
1527
  /**
1174
1528
  * Exposure of validator at era.
1175
1529
  *
@@ -1180,7 +1534,10 @@ declare module '@polkadot/api-base/types/storage' {
1180
1534
  *
1181
1535
  * Note: Deprecated since v14. Use `EraInfo` instead to work with exposures.
1182
1536
  **/
1183
- erasStakers: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<SpStakingExposure>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
1537
+ erasStakers: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<SpStakingExposure>, [
1538
+ u32,
1539
+ AccountId32
1540
+ ]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
1184
1541
  /**
1185
1542
  * Clipped Exposure of validator at era.
1186
1543
  *
@@ -1199,7 +1556,10 @@ declare module '@polkadot/api-base/types/storage' {
1199
1556
  *
1200
1557
  * Note: Deprecated since v14. Use `EraInfo` instead to work with exposures.
1201
1558
  **/
1202
- erasStakersClipped: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<SpStakingExposure>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
1559
+ erasStakersClipped: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<SpStakingExposure>, [
1560
+ u32,
1561
+ AccountId32
1562
+ ]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
1203
1563
  /**
1204
1564
  * Summary of validator exposure at a given era.
1205
1565
  *
@@ -1214,7 +1574,10 @@ declare module '@polkadot/api-base/types/storage' {
1214
1574
  * Is it removed after [`Config::HistoryDepth`] eras.
1215
1575
  * If stakers hasn't been set or has been removed then empty overview is returned.
1216
1576
  **/
1217
- erasStakersOverview: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<SpStakingPagedExposureMetadata>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
1577
+ erasStakersOverview: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<SpStakingPagedExposureMetadata>>, [
1578
+ u32,
1579
+ AccountId32
1580
+ ]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
1218
1581
  /**
1219
1582
  * Paginated exposure of a validator at given era.
1220
1583
  *
@@ -1223,19 +1586,27 @@ declare module '@polkadot/api-base/types/storage' {
1223
1586
  *
1224
1587
  * This is cleared after [`Config::HistoryDepth`] eras.
1225
1588
  **/
1226
- 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]>;
1589
+ erasStakersPaged: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array, arg3: u32 | AnyNumber | Uint8Array) => Observable<Option<SpStakingExposurePage>>, [
1590
+ u32,
1591
+ AccountId32,
1592
+ u32
1593
+ ]> & QueryableStorageEntry<ApiType, [u32, AccountId32, u32]>;
1227
1594
  /**
1228
1595
  * The session index at which the era start for the last [`Config::HistoryDepth`] eras.
1229
1596
  *
1230
1597
  * Note: This tracks the starting session (i.e. session index when era start being active)
1231
1598
  * for the eras in `[CurrentEra - HISTORY_DEPTH, CurrentEra]`.
1232
1599
  **/
1233
- erasStartSessionIndex: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1600
+ erasStartSessionIndex: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [
1601
+ u32
1602
+ ]> & QueryableStorageEntry<ApiType, [u32]>;
1234
1603
  /**
1235
1604
  * The total amount staked for the last [`Config::HistoryDepth`] eras.
1236
1605
  * If total hasn't been set or has been removed then 0 stake is returned.
1237
1606
  **/
1238
- erasTotalStake: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1607
+ erasTotalStake: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u128>, [
1608
+ u32
1609
+ ]> & QueryableStorageEntry<ApiType, [u32]>;
1239
1610
  /**
1240
1611
  * Similar to `ErasStakers`, this holds the preferences of validators.
1241
1612
  *
@@ -1243,42 +1614,53 @@ declare module '@polkadot/api-base/types/storage' {
1243
1614
  *
1244
1615
  * Is it removed after [`Config::HistoryDepth`] eras.
1245
1616
  **/
1246
- erasValidatorPrefs: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<PalletStakingValidatorPrefs>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
1617
+ erasValidatorPrefs: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<PalletStakingValidatorPrefs>, [
1618
+ u32,
1619
+ AccountId32
1620
+ ]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
1247
1621
  /**
1248
1622
  * The total validator era payout for the last [`Config::HistoryDepth`] eras.
1249
1623
  *
1250
1624
  * Eras that haven't finished yet or has been removed doesn't have reward.
1251
1625
  **/
1252
- erasValidatorReward: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u128>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1626
+ erasValidatorReward: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u128>>, [
1627
+ u32
1628
+ ]> & QueryableStorageEntry<ApiType, [u32]>;
1253
1629
  /**
1254
1630
  * Mode of era forcing.
1255
1631
  **/
1256
- forceEra: AugmentedQuery<ApiType, () => Observable<PalletStakingForcing>, []> & QueryableStorageEntry<ApiType, []>;
1632
+ forceEra: AugmentedQuery<ApiType, () => Observable<PalletStakingForcing>, [
1633
+ ]> & QueryableStorageEntry<ApiType, []>;
1257
1634
  /**
1258
1635
  * Any validators that may never be slashed or forcibly kicked. It's a Vec since they're
1259
1636
  * easy to initialize and the performance hit is minimal (we expect no more than four
1260
1637
  * invulnerables) and restricted to testnets.
1261
1638
  **/
1262
- invulnerables: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
1639
+ invulnerables: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, [
1640
+ ]> & QueryableStorageEntry<ApiType, []>;
1263
1641
  /**
1264
1642
  * Map from all (unlocked) "controller" accounts to the info regarding the staking.
1265
1643
  *
1266
1644
  * Note: All the reads and mutations to this storage *MUST* be done through the methods exposed
1267
1645
  * by [`StakingLedger`] to ensure data and lock consistency.
1268
1646
  **/
1269
- ledger: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletStakingStakingLedger>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1647
+ ledger: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletStakingStakingLedger>>, [
1648
+ AccountId32
1649
+ ]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1270
1650
  /**
1271
1651
  * The maximum nominator count before we stop allowing new validators to join.
1272
1652
  *
1273
1653
  * When this value is not set, no limits are enforced.
1274
1654
  **/
1275
- maxNominatorsCount: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
1655
+ maxNominatorsCount: AugmentedQuery<ApiType, () => Observable<Option<u32>>, [
1656
+ ]> & QueryableStorageEntry<ApiType, []>;
1276
1657
  /**
1277
1658
  * The maximum validator count before we stop allowing new validators to join.
1278
1659
  *
1279
1660
  * When this value is not set, no limits are enforced.
1280
1661
  **/
1281
- maxValidatorsCount: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
1662
+ maxValidatorsCount: AugmentedQuery<ApiType, () => Observable<Option<u32>>, [
1663
+ ]> & QueryableStorageEntry<ApiType, []>;
1282
1664
  /**
1283
1665
  * The minimum amount of commission that validators can set.
1284
1666
  *
@@ -1292,7 +1674,8 @@ declare module '@polkadot/api-base/types/storage' {
1292
1674
  /**
1293
1675
  * Minimum number of staking participants before emergency conditions are imposed.
1294
1676
  **/
1295
- minimumValidatorCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1677
+ minimumValidatorCount: AugmentedQuery<ApiType, () => Observable<u32>, [
1678
+ ]> & QueryableStorageEntry<ApiType, []>;
1296
1679
  /**
1297
1680
  * The minimum active bond to become and maintain the role of a nominator.
1298
1681
  **/
@@ -1322,11 +1705,16 @@ declare module '@polkadot/api-base/types/storage' {
1322
1705
  *
1323
1706
  * TWOX-NOTE: SAFE since `AccountId` is a secure hash.
1324
1707
  **/
1325
- nominators: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletStakingNominations>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1708
+ nominators: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletStakingNominations>>, [
1709
+ AccountId32
1710
+ ]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1326
1711
  /**
1327
1712
  * All slashing events on nominators, mapped by era to the highest slash value of the era.
1328
1713
  **/
1329
- nominatorSlashInEra: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u128>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
1714
+ nominatorSlashInEra: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u128>>, [
1715
+ u32,
1716
+ AccountId32
1717
+ ]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
1330
1718
  /**
1331
1719
  * Indices of validators that have offended in the active era and whether they are currently
1332
1720
  * disabled.
@@ -1338,32 +1726,42 @@ declare module '@polkadot/api-base/types/storage' {
1338
1726
  * whether a given validator has previously offended using binary search. It gets cleared when
1339
1727
  * the era ends.
1340
1728
  **/
1341
- offendingValidators: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, bool]>>>, []> & QueryableStorageEntry<ApiType, []>;
1729
+ offendingValidators: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, bool]>>>, [
1730
+ ]> & QueryableStorageEntry<ApiType, []>;
1342
1731
  /**
1343
1732
  * Where the reward payment should be made. Keyed by stash.
1344
1733
  *
1345
1734
  * TWOX-NOTE: SAFE since `AccountId` is a secure hash.
1346
1735
  **/
1347
- payee: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletStakingRewardDestination>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1736
+ payee: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletStakingRewardDestination>>, [
1737
+ AccountId32
1738
+ ]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1348
1739
  /**
1349
1740
  * Slashing spans for stash accounts.
1350
1741
  **/
1351
- slashingSpans: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletStakingSlashingSlashingSpans>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1742
+ slashingSpans: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletStakingSlashingSlashingSpans>>, [
1743
+ AccountId32
1744
+ ]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1352
1745
  /**
1353
1746
  * The percentage of the slash that is distributed to reporters.
1354
1747
  *
1355
1748
  * The rest of the slashed value is handled by the `Slash`.
1356
1749
  **/
1357
- slashRewardFraction: AugmentedQuery<ApiType, () => Observable<Perbill>, []> & QueryableStorageEntry<ApiType, []>;
1750
+ slashRewardFraction: AugmentedQuery<ApiType, () => Observable<Perbill>, [
1751
+ ]> & QueryableStorageEntry<ApiType, []>;
1358
1752
  /**
1359
1753
  * Records information about the maximum slash of a stash within a slashing span,
1360
1754
  * as well as how much reward has been paid out.
1361
1755
  **/
1362
- spanSlash: AugmentedQuery<ApiType, (arg: ITuple<[AccountId32, u32]> | [AccountId32 | string | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable<PalletStakingSlashingSpanRecord>, [ITuple<[AccountId32, u32]>]> & QueryableStorageEntry<ApiType, [ITuple<[AccountId32, u32]>]>;
1756
+ spanSlash: AugmentedQuery<ApiType, (arg: ITuple<[AccountId32, u32]> | [AccountId32 | string | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable<PalletStakingSlashingSpanRecord>, [
1757
+ ITuple<[AccountId32, u32]>
1758
+ ]> & QueryableStorageEntry<ApiType, [ITuple<[AccountId32, u32]>]>;
1363
1759
  /**
1364
1760
  * All unapplied slashes that are queued for later.
1365
1761
  **/
1366
- unappliedSlashes: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<PalletStakingUnappliedSlash>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1762
+ unappliedSlashes: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<PalletStakingUnappliedSlash>>, [
1763
+ u32
1764
+ ]> & QueryableStorageEntry<ApiType, [u32]>;
1367
1765
  /**
1368
1766
  * The ideal number of active validators.
1369
1767
  **/
@@ -1373,12 +1771,17 @@ declare module '@polkadot/api-base/types/storage' {
1373
1771
  *
1374
1772
  * TWOX-NOTE: SAFE since `AccountId` is a secure hash.
1375
1773
  **/
1376
- validators: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletStakingValidatorPrefs>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1774
+ validators: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletStakingValidatorPrefs>, [
1775
+ AccountId32
1776
+ ]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1377
1777
  /**
1378
1778
  * All slashing events on validators, mapped by era to the highest slash proportion
1379
1779
  * and slash value of the era.
1380
1780
  **/
1381
- validatorSlashInEra: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<ITuple<[Perbill, u128]>>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
1781
+ validatorSlashInEra: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<ITuple<[Perbill, u128]>>>, [
1782
+ u32,
1783
+ AccountId32
1784
+ ]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
1382
1785
  /**
1383
1786
  * Generic query
1384
1787
  **/
@@ -1399,7 +1802,9 @@ declare module '@polkadot/api-base/types/storage' {
1399
1802
  * Mapping signature of extrinsic to account has access
1400
1803
  * (pallet_index, extrinsic_name) => account
1401
1804
  **/
1402
- extrinsicAccess: AugmentedQuery<ApiType, (arg: ITuple<[u8, Bytes]> | [u8 | AnyNumber | Uint8Array, Bytes | string | Uint8Array]) => Observable<Option<AccountId32>>, [ITuple<[u8, Bytes]>]> & QueryableStorageEntry<ApiType, [ITuple<[u8, Bytes]>]>;
1805
+ extrinsicAccess: AugmentedQuery<ApiType, (arg: ITuple<[u8, Bytes]> | [u8 | AnyNumber | Uint8Array, Bytes | string | Uint8Array]) => Observable<Option<AccountId32>>, [
1806
+ ITuple<[u8, Bytes]>
1807
+ ]> & QueryableStorageEntry<ApiType, [ITuple<[u8, Bytes]>]>;
1403
1808
  /**
1404
1809
  * Generic query
1405
1810
  **/
@@ -1409,10 +1814,17 @@ declare module '@polkadot/api-base/types/storage' {
1409
1814
  /**
1410
1815
  * Mapping fungible asset id to corresponding fee amount
1411
1816
  **/
1412
- assetFees: AugmentedQuery<ApiType, (arg: ITuple<[u8, StagingXcmV4AssetAssetId]> | [u8 | AnyNumber | Uint8Array, StagingXcmV4AssetAssetId | {
1413
- parents?: any;
1414
- interior?: any;
1415
- } | string | Uint8Array]) => Observable<Option<u128>>, [ITuple<[u8, StagingXcmV4AssetAssetId]>]> & QueryableStorageEntry<ApiType, [ITuple<[u8, StagingXcmV4AssetAssetId]>]>;
1817
+ assetFees: AugmentedQuery<ApiType, (arg: ITuple<[u8, StagingXcmV4AssetAssetId]> | [
1818
+ u8 | AnyNumber | Uint8Array,
1819
+ (StagingXcmV4AssetAssetId | {
1820
+ parents?: any;
1821
+ interior?: any;
1822
+ } | string | Uint8Array)
1823
+ ]) => Observable<Option<u128>>, [
1824
+ ITuple<[u8, StagingXcmV4AssetAssetId]>
1825
+ ]> & QueryableStorageEntry<ApiType, [
1826
+ ITuple<[u8, StagingXcmV4AssetAssetId]>
1827
+ ]>;
1416
1828
  /**
1417
1829
  * Generic query
1418
1830
  **/
@@ -1422,23 +1834,31 @@ declare module '@polkadot/api-base/types/storage' {
1422
1834
  /**
1423
1835
  * Deposit counter of dest domain
1424
1836
  **/
1425
- depositCounts: AugmentedQuery<ApiType, (arg: u8 | AnyNumber | Uint8Array) => Observable<u64>, [u8]> & QueryableStorageEntry<ApiType, [u8]>;
1837
+ depositCounts: AugmentedQuery<ApiType, (arg: u8 | AnyNumber | Uint8Array) => Observable<u64>, [
1838
+ u8
1839
+ ]> & QueryableStorageEntry<ApiType, [u8]>;
1426
1840
  /**
1427
1841
  * Mark the pairs for supported dest domainID with its corresponding chainID
1428
1842
  * The chainID is not directly used in pallet, this map is designed more about rechecking the
1429
1843
  * domainID
1430
1844
  **/
1431
- destChainIds: AugmentedQuery<ApiType, (arg: u8 | AnyNumber | Uint8Array) => Observable<Option<U256>>, [u8]> & QueryableStorageEntry<ApiType, [u8]>;
1845
+ destChainIds: AugmentedQuery<ApiType, (arg: u8 | AnyNumber | Uint8Array) => Observable<Option<U256>>, [
1846
+ u8
1847
+ ]> & QueryableStorageEntry<ApiType, [u8]>;
1432
1848
  /**
1433
1849
  * Mark supported dest domainID
1434
1850
  **/
1435
- destDomainIds: AugmentedQuery<ApiType, (arg: u8 | AnyNumber | Uint8Array) => Observable<bool>, [u8]> & QueryableStorageEntry<ApiType, [u8]>;
1851
+ destDomainIds: AugmentedQuery<ApiType, (arg: u8 | AnyNumber | Uint8Array) => Observable<bool>, [
1852
+ u8
1853
+ ]> & QueryableStorageEntry<ApiType, [u8]>;
1436
1854
  /**
1437
1855
  * Bridge Pause indicator
1438
1856
  * Bridge is unpaused initially, until pause
1439
1857
  * After mpc address setup, bridge should be paused until ready to unpause
1440
1858
  **/
1441
- isPaused: AugmentedQuery<ApiType, (arg: u8 | AnyNumber | Uint8Array) => Observable<bool>, [u8]> & QueryableStorageEntry<ApiType, [u8]>;
1859
+ isPaused: AugmentedQuery<ApiType, (arg: u8 | AnyNumber | Uint8Array) => Observable<bool>, [
1860
+ u8
1861
+ ]> & QueryableStorageEntry<ApiType, [u8]>;
1442
1862
  /**
1443
1863
  * Pre-set MPC address
1444
1864
  **/
@@ -1446,7 +1866,10 @@ declare module '@polkadot/api-base/types/storage' {
1446
1866
  /**
1447
1867
  * Mark whether a deposit nonce was used. Used to mark execution status of a proposal.
1448
1868
  **/
1449
- usedNonces: AugmentedQuery<ApiType, (arg1: u8 | AnyNumber | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<u64>, [u8, u64]> & QueryableStorageEntry<ApiType, [u8, u64]>;
1869
+ usedNonces: AugmentedQuery<ApiType, (arg1: u8 | AnyNumber | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<u64>, [
1870
+ u8,
1871
+ u64
1872
+ ]> & QueryableStorageEntry<ApiType, [u8, u64]>;
1450
1873
  /**
1451
1874
  * Generic query
1452
1875
  **/
@@ -1456,10 +1879,17 @@ declare module '@polkadot/api-base/types/storage' {
1456
1879
  /**
1457
1880
  * Return the Fee handler type based on domainID and assetID
1458
1881
  **/
1459
- handlerType: AugmentedQuery<ApiType, (arg: ITuple<[u8, StagingXcmV4AssetAssetId]> | [u8 | AnyNumber | Uint8Array, StagingXcmV4AssetAssetId | {
1460
- parents?: any;
1461
- interior?: any;
1462
- } | string | Uint8Array]) => Observable<Option<SygmaFeeHandlerRouterFeeHandlerType>>, [ITuple<[u8, StagingXcmV4AssetAssetId]>]> & QueryableStorageEntry<ApiType, [ITuple<[u8, StagingXcmV4AssetAssetId]>]>;
1882
+ handlerType: AugmentedQuery<ApiType, (arg: ITuple<[u8, StagingXcmV4AssetAssetId]> | [
1883
+ u8 | AnyNumber | Uint8Array,
1884
+ (StagingXcmV4AssetAssetId | {
1885
+ parents?: any;
1886
+ interior?: any;
1887
+ } | string | Uint8Array)
1888
+ ]) => Observable<Option<SygmaFeeHandlerRouterFeeHandlerType>>, [
1889
+ ITuple<[u8, StagingXcmV4AssetAssetId]>
1890
+ ]> & QueryableStorageEntry<ApiType, [
1891
+ ITuple<[u8, StagingXcmV4AssetAssetId]>
1892
+ ]>;
1463
1893
  /**
1464
1894
  * Generic query
1465
1895
  **/
@@ -1469,10 +1899,17 @@ declare module '@polkadot/api-base/types/storage' {
1469
1899
  /**
1470
1900
  * Mapping fungible asset id with domain id to fee rate and its lower bound, upperbound
1471
1901
  **/
1472
- assetFeeRate: AugmentedQuery<ApiType, (arg: ITuple<[u8, StagingXcmV4AssetAssetId]> | [u8 | AnyNumber | Uint8Array, StagingXcmV4AssetAssetId | {
1473
- parents?: any;
1474
- interior?: any;
1475
- } | string | Uint8Array]) => Observable<Option<ITuple<[u32, u128, u128]>>>, [ITuple<[u8, StagingXcmV4AssetAssetId]>]> & QueryableStorageEntry<ApiType, [ITuple<[u8, StagingXcmV4AssetAssetId]>]>;
1902
+ assetFeeRate: AugmentedQuery<ApiType, (arg: ITuple<[u8, StagingXcmV4AssetAssetId]> | [
1903
+ u8 | AnyNumber | Uint8Array,
1904
+ (StagingXcmV4AssetAssetId | {
1905
+ parents?: any;
1906
+ interior?: any;
1907
+ } | string | Uint8Array)
1908
+ ]) => Observable<Option<ITuple<[u32, u128, u128]>>>, [
1909
+ ITuple<[u8, StagingXcmV4AssetAssetId]>
1910
+ ]> & QueryableStorageEntry<ApiType, [
1911
+ ITuple<[u8, StagingXcmV4AssetAssetId]>
1912
+ ]>;
1476
1913
  /**
1477
1914
  * Generic query
1478
1915
  **/
@@ -1482,23 +1919,30 @@ declare module '@polkadot/api-base/types/storage' {
1482
1919
  /**
1483
1920
  * The full account information for a particular account ID.
1484
1921
  **/
1485
- account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<FrameSystemAccountInfo>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1922
+ account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<FrameSystemAccountInfo>, [
1923
+ AccountId32
1924
+ ]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1486
1925
  /**
1487
1926
  * Total length (in bytes) for all extrinsics put together, for the current block.
1488
1927
  **/
1489
- allExtrinsicsLen: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
1928
+ allExtrinsicsLen: AugmentedQuery<ApiType, () => Observable<Option<u32>>, [
1929
+ ]> & QueryableStorageEntry<ApiType, []>;
1490
1930
  /**
1491
1931
  * `Some` if a code upgrade has been authorized.
1492
1932
  **/
1493
- authorizedUpgrade: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemCodeUpgradeAuthorization>>, []> & QueryableStorageEntry<ApiType, []>;
1933
+ authorizedUpgrade: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemCodeUpgradeAuthorization>>, [
1934
+ ]> & QueryableStorageEntry<ApiType, []>;
1494
1935
  /**
1495
1936
  * Map of block numbers to block hashes.
1496
1937
  **/
1497
- blockHash: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<H256>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;
1938
+ blockHash: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<H256>, [
1939
+ u64
1940
+ ]> & QueryableStorageEntry<ApiType, [u64]>;
1498
1941
  /**
1499
1942
  * The current weight for the block.
1500
1943
  **/
1501
- blockWeight: AugmentedQuery<ApiType, () => Observable<FrameSupportDispatchPerDispatchClassWeight>, []> & QueryableStorageEntry<ApiType, []>;
1944
+ blockWeight: AugmentedQuery<ApiType, () => Observable<FrameSupportDispatchPerDispatchClassWeight>, [
1945
+ ]> & QueryableStorageEntry<ApiType, []>;
1502
1946
  /**
1503
1947
  * Digest of the current block, also part of the block header.
1504
1948
  **/
@@ -1516,7 +1960,8 @@ declare module '@polkadot/api-base/types/storage' {
1516
1960
  * Events have a large in-memory size. Box the events to not go out-of-memory
1517
1961
  * just in case someone still reads them from within the runtime.
1518
1962
  **/
1519
- events: AugmentedQuery<ApiType, () => Observable<Vec<FrameSystemEventRecord>>, []> & QueryableStorageEntry<ApiType, []>;
1963
+ events: AugmentedQuery<ApiType, () => Observable<Vec<FrameSystemEventRecord>>, [
1964
+ ]> & QueryableStorageEntry<ApiType, []>;
1520
1965
  /**
1521
1966
  * Mapping between a topic (represented by T::Hash) and a vector of indexes
1522
1967
  * of events in the `<Events<T>>` list.
@@ -1529,23 +1974,30 @@ declare module '@polkadot/api-base/types/storage' {
1529
1974
  * the `EventIndex` then in case if the topic has the same contents on the next block
1530
1975
  * no notification will be triggered thus the event might be lost.
1531
1976
  **/
1532
- eventTopics: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Vec<ITuple<[u64, u32]>>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
1977
+ eventTopics: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Vec<ITuple<[u64, u32]>>>, [
1978
+ H256
1979
+ ]> & QueryableStorageEntry<ApiType, [H256]>;
1533
1980
  /**
1534
1981
  * The execution phase of the block.
1535
1982
  **/
1536
- executionPhase: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemPhase>>, []> & QueryableStorageEntry<ApiType, []>;
1983
+ executionPhase: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemPhase>>, [
1984
+ ]> & QueryableStorageEntry<ApiType, []>;
1537
1985
  /**
1538
1986
  * Total extrinsics count for the current block.
1539
1987
  **/
1540
- extrinsicCount: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
1988
+ extrinsicCount: AugmentedQuery<ApiType, () => Observable<Option<u32>>, [
1989
+ ]> & QueryableStorageEntry<ApiType, []>;
1541
1990
  /**
1542
1991
  * Extrinsics data for the current block (maps an extrinsic's index to its data).
1543
1992
  **/
1544
- extrinsicData: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1993
+ extrinsicData: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [
1994
+ u32
1995
+ ]> & QueryableStorageEntry<ApiType, [u32]>;
1545
1996
  /**
1546
1997
  * Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened.
1547
1998
  **/
1548
- lastRuntimeUpgrade: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemLastRuntimeUpgradeInfo>>, []> & QueryableStorageEntry<ApiType, []>;
1999
+ lastRuntimeUpgrade: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemLastRuntimeUpgradeInfo>>, [
2000
+ ]> & QueryableStorageEntry<ApiType, []>;
1549
2001
  /**
1550
2002
  * The current block number being processed. Set by `execute_block`.
1551
2003
  **/
@@ -1558,11 +2010,13 @@ declare module '@polkadot/api-base/types/storage' {
1558
2010
  * True if we have upgraded so that AccountInfo contains three types of `RefCount`. False
1559
2011
  * (default) if not.
1560
2012
  **/
1561
- upgradedToTripleRefCount: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
2013
+ upgradedToTripleRefCount: AugmentedQuery<ApiType, () => Observable<bool>, [
2014
+ ]> & QueryableStorageEntry<ApiType, []>;
1562
2015
  /**
1563
2016
  * True if we have upgraded so that `type RefCount` is `u32`. False (default) if not.
1564
2017
  **/
1565
- upgradedToU32RefCount: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
2018
+ upgradedToU32RefCount: AugmentedQuery<ApiType, () => Observable<bool>, [
2019
+ ]> & QueryableStorageEntry<ApiType, []>;
1566
2020
  /**
1567
2021
  * Generic query
1568
2022
  **/
@@ -1587,7 +2041,8 @@ declare module '@polkadot/api-base/types/storage' {
1587
2041
  };
1588
2042
  transactionPayment: {
1589
2043
  nextFeeMultiplier: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
1590
- storageVersion: AugmentedQuery<ApiType, () => Observable<PalletTransactionPaymentReleases>, []> & QueryableStorageEntry<ApiType, []>;
2044
+ storageVersion: AugmentedQuery<ApiType, () => Observable<PalletTransactionPaymentReleases>, [
2045
+ ]> & QueryableStorageEntry<ApiType, []>;
1591
2046
  /**
1592
2047
  * Generic query
1593
2048
  **/
@@ -1609,7 +2064,9 @@ declare module '@polkadot/api-base/types/storage' {
1609
2064
  /**
1610
2065
  * Proposals that have been made.
1611
2066
  **/
1612
- proposals: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletTreasuryProposal>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
2067
+ proposals: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletTreasuryProposal>>, [
2068
+ u32
2069
+ ]> & QueryableStorageEntry<ApiType, [u32]>;
1613
2070
  /**
1614
2071
  * The count of spends that have been made.
1615
2072
  **/
@@ -1617,7 +2074,9 @@ declare module '@polkadot/api-base/types/storage' {
1617
2074
  /**
1618
2075
  * Spends that have been approved and being processed.
1619
2076
  **/
1620
- spends: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletTreasurySpendStatus>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
2077
+ spends: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletTreasurySpendStatus>>, [
2078
+ u32
2079
+ ]> & QueryableStorageEntry<ApiType, [u32]>;
1621
2080
  /**
1622
2081
  * Generic query
1623
2082
  **/
@@ -1627,7 +2086,9 @@ declare module '@polkadot/api-base/types/storage' {
1627
2086
  /**
1628
2087
  * The set of calls that are explicitly paused.
1629
2088
  **/
1630
- pausedCalls: AugmentedQuery<ApiType, (arg: ITuple<[Bytes, Bytes]> | [Bytes | string | Uint8Array, Bytes | string | Uint8Array]) => Observable<Option<Null>>, [ITuple<[Bytes, Bytes]>]> & QueryableStorageEntry<ApiType, [ITuple<[Bytes, Bytes]>]>;
2089
+ pausedCalls: AugmentedQuery<ApiType, (arg: ITuple<[Bytes, Bytes]> | [Bytes | string | Uint8Array, Bytes | string | Uint8Array]) => Observable<Option<Null>>, [
2090
+ ITuple<[Bytes, Bytes]>
2091
+ ]> & QueryableStorageEntry<ApiType, [ITuple<[Bytes, Bytes]>]>;
1631
2092
  /**
1632
2093
  * Generic query
1633
2094
  **/
@@ -1639,18 +2100,14 @@ declare module '@polkadot/api-base/types/storage' {
1639
2100
  *
1640
2101
  * New networks start with latest version, as determined by the genesis build.
1641
2102
  **/
1642
- storageVersion: AugmentedQuery<ApiType, () => Observable<PalletVestingReleases>, []> & QueryableStorageEntry<ApiType, []>;
2103
+ storageVersion: AugmentedQuery<ApiType, () => Observable<PalletVestingReleases>, [
2104
+ ]> & QueryableStorageEntry<ApiType, []>;
1643
2105
  /**
1644
2106
  * Information regarding the vesting of a given account.
1645
2107
  **/
1646
- vesting: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<Vec<PalletVestingVestingInfo>>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1647
- /**
1648
- * Generic query
1649
- **/
1650
- [key: string]: QueryableStorageEntry<ApiType>;
1651
- };
1652
- zkSaaS: {
1653
- feeInfo: AugmentedQuery<ApiType, () => Observable<PalletZksaasFeeInfo>, []> & QueryableStorageEntry<ApiType, []>;
2108
+ vesting: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<Vec<PalletVestingVestingInfo>>>, [
2109
+ AccountId32
2110
+ ]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1654
2111
  /**
1655
2112
  * Generic query
1656
2113
  **/