@polkadot/api-augment 10.1.3 → 10.2.1

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.
@@ -4,7 +4,7 @@ import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32,
4
4
  import type { ITuple } from '@polkadot/types-codec/types';
5
5
  import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
6
6
  import type { AccountId32, H256, Perbill } from '@polkadot/types/interfaces/runtime';
7
- import type { FrameSupportDispatchDispatchInfo, FrameSupportTokensMiscBalanceStatus, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNominationPoolsPoolState, PalletStakingExposure, PalletStakingForcing, PalletStakingValidatorPrefs, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2CandidateReceipt, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeProxyType, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpWeightsWeightV2Weight, XcmV3MultiLocation, XcmV3MultiassetMultiAssets, XcmV3Response, XcmV3TraitsError, XcmV3TraitsOutcome, XcmV3Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
7
+ import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, PalletConvictionVotingTally, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsPoolState, PalletStakingExposure, PalletStakingForcing, PalletStakingValidatorPrefs, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV4CandidateReceipt, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeProxyType, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, XcmV3MultiLocation, XcmV3MultiassetMultiAssets, XcmV3Response, XcmV3TraitsError, XcmV3TraitsOutcome, XcmV3Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
8
8
  export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
9
9
  declare module '@polkadot/api-base/types/events' {
10
10
  interface AugmentedEvents<ApiType extends ApiTypes> {
@@ -75,10 +75,16 @@ declare module '@polkadot/api-base/types/events' {
75
75
  /**
76
76
  * A balance was set by root.
77
77
  **/
78
- BalanceSet: AugmentedEvent<ApiType, [who: AccountId32, free: u128, reserved: u128], {
78
+ BalanceSet: AugmentedEvent<ApiType, [who: AccountId32, free: u128], {
79
79
  who: AccountId32;
80
80
  free: u128;
81
- reserved: u128;
81
+ }>;
82
+ /**
83
+ * Some amount was burned from an account.
84
+ **/
85
+ Burned: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
86
+ who: AccountId32;
87
+ amount: u128;
82
88
  }>;
83
89
  /**
84
90
  * Some amount was deposited (e.g. for transaction fees).
@@ -102,6 +108,25 @@ declare module '@polkadot/api-base/types/events' {
102
108
  account: AccountId32;
103
109
  freeBalance: u128;
104
110
  }>;
111
+ /**
112
+ * Total issuance was increased by `amount`, creating a credit to be balanced.
113
+ **/
114
+ Issued: AugmentedEvent<ApiType, [amount: u128], {
115
+ amount: u128;
116
+ }>;
117
+ /**
118
+ * Some amount was minted into an account.
119
+ **/
120
+ Minted: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
121
+ who: AccountId32;
122
+ amount: u128;
123
+ }>;
124
+ /**
125
+ * Total issuance was decreased by `amount`, creating a debt to be balanced.
126
+ **/
127
+ Rescinded: AugmentedEvent<ApiType, [amount: u128], {
128
+ amount: u128;
129
+ }>;
105
130
  /**
106
131
  * Some balance was reserved (moved from free to reserved).
107
132
  **/
@@ -119,6 +144,13 @@ declare module '@polkadot/api-base/types/events' {
119
144
  amount: u128;
120
145
  destinationStatus: FrameSupportTokensMiscBalanceStatus;
121
146
  }>;
147
+ /**
148
+ * Some amount was restored into an account.
149
+ **/
150
+ Restored: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
151
+ who: AccountId32;
152
+ amount: u128;
153
+ }>;
122
154
  /**
123
155
  * Some amount was removed from the account (e.g. for misbehavior).
124
156
  **/
@@ -126,6 +158,13 @@ declare module '@polkadot/api-base/types/events' {
126
158
  who: AccountId32;
127
159
  amount: u128;
128
160
  }>;
161
+ /**
162
+ * Some amount was suspended from an account (it can be restored later).
163
+ **/
164
+ Suspended: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
165
+ who: AccountId32;
166
+ amount: u128;
167
+ }>;
129
168
  /**
130
169
  * Transfer succeeded.
131
170
  **/
@@ -141,6 +180,12 @@ declare module '@polkadot/api-base/types/events' {
141
180
  who: AccountId32;
142
181
  amount: u128;
143
182
  }>;
183
+ /**
184
+ * An account was upgraded.
185
+ **/
186
+ Upgraded: AugmentedEvent<ApiType, [who: AccountId32], {
187
+ who: AccountId32;
188
+ }>;
144
189
  /**
145
190
  * Some amount was withdrawn from the account (e.g. for transaction fees).
146
191
  **/
@@ -256,6 +301,20 @@ declare module '@polkadot/api-base/types/events' {
256
301
  **/
257
302
  [key: string]: AugmentedEvent<ApiType>;
258
303
  };
304
+ convictionVoting: {
305
+ /**
306
+ * An account has delegated their vote to another account. \[who, target\]
307
+ **/
308
+ Delegated: AugmentedEvent<ApiType, [AccountId32, AccountId32]>;
309
+ /**
310
+ * An \[account\] has cancelled a previous delegation operation.
311
+ **/
312
+ Undelegated: AugmentedEvent<ApiType, [AccountId32]>;
313
+ /**
314
+ * Generic event
315
+ **/
316
+ [key: string]: AugmentedEvent<ApiType>;
317
+ };
259
318
  council: {
260
319
  /**
261
320
  * A motion was approved by the required threshold.
@@ -861,6 +920,34 @@ declare module '@polkadot/api-base/types/events' {
861
920
  poolId: u32;
862
921
  payout: u128;
863
922
  }>;
923
+ /**
924
+ * A pool's commission `change_rate` has been changed.
925
+ **/
926
+ PoolCommissionChangeRateUpdated: AugmentedEvent<ApiType, [poolId: u32, changeRate: PalletNominationPoolsCommissionChangeRate], {
927
+ poolId: u32;
928
+ changeRate: PalletNominationPoolsCommissionChangeRate;
929
+ }>;
930
+ /**
931
+ * Pool commission has been claimed.
932
+ **/
933
+ PoolCommissionClaimed: AugmentedEvent<ApiType, [poolId: u32, commission: u128], {
934
+ poolId: u32;
935
+ commission: u128;
936
+ }>;
937
+ /**
938
+ * A pool's commission setting has been changed.
939
+ **/
940
+ PoolCommissionUpdated: AugmentedEvent<ApiType, [poolId: u32, current: Option<ITuple<[Perbill, AccountId32]>>], {
941
+ poolId: u32;
942
+ current: Option<ITuple<[Perbill, AccountId32]>>;
943
+ }>;
944
+ /**
945
+ * A pool's maximum commission setting has been changed.
946
+ **/
947
+ PoolMaxCommissionUpdated: AugmentedEvent<ApiType, [poolId: u32, maxCommission: Perbill], {
948
+ poolId: u32;
949
+ maxCommission: Perbill;
950
+ }>;
864
951
  /**
865
952
  * The active balance of pool `pool_id` has been slashed to `balance`.
866
953
  **/
@@ -950,15 +1037,15 @@ declare module '@polkadot/api-base/types/events' {
950
1037
  /**
951
1038
  * A candidate was backed. `[candidate, head_data]`
952
1039
  **/
953
- CandidateBacked: AugmentedEvent<ApiType, [PolkadotPrimitivesV2CandidateReceipt, Bytes, u32, u32]>;
1040
+ CandidateBacked: AugmentedEvent<ApiType, [PolkadotPrimitivesV4CandidateReceipt, Bytes, u32, u32]>;
954
1041
  /**
955
1042
  * A candidate was included. `[candidate, head_data]`
956
1043
  **/
957
- CandidateIncluded: AugmentedEvent<ApiType, [PolkadotPrimitivesV2CandidateReceipt, Bytes, u32, u32]>;
1044
+ CandidateIncluded: AugmentedEvent<ApiType, [PolkadotPrimitivesV4CandidateReceipt, Bytes, u32, u32]>;
958
1045
  /**
959
1046
  * A candidate timed out. `[candidate, head_data]`
960
1047
  **/
961
- CandidateTimedOut: AugmentedEvent<ApiType, [PolkadotPrimitivesV2CandidateReceipt, Bytes, u32]>;
1048
+ CandidateTimedOut: AugmentedEvent<ApiType, [PolkadotPrimitivesV4CandidateReceipt, Bytes, u32]>;
962
1049
  /**
963
1050
  * Generic event
964
1051
  **/
@@ -1015,11 +1102,6 @@ declare module '@polkadot/api-base/types/events' {
1015
1102
  * A dispute has been initiated. \[candidate hash, dispute location\]
1016
1103
  **/
1017
1104
  DisputeInitiated: AugmentedEvent<ApiType, [H256, PolkadotRuntimeParachainsDisputesDisputeLocation]>;
1018
- /**
1019
- * A dispute has timed out due to insufficient participation.
1020
- * `\[para id, candidate hash\]`
1021
- **/
1022
- DisputeTimedOut: AugmentedEvent<ApiType, [H256]>;
1023
1105
  /**
1024
1106
  * A dispute has concluded with supermajority against a candidate.
1025
1107
  * Block authors should no longer build on top of this head and should
@@ -1159,6 +1241,121 @@ declare module '@polkadot/api-base/types/events' {
1159
1241
  **/
1160
1242
  [key: string]: AugmentedEvent<ApiType>;
1161
1243
  };
1244
+ referenda: {
1245
+ /**
1246
+ * A referendum has been approved and its proposal has been scheduled.
1247
+ **/
1248
+ Approved: AugmentedEvent<ApiType, [index: u32], {
1249
+ index: u32;
1250
+ }>;
1251
+ /**
1252
+ * A referendum has been cancelled.
1253
+ **/
1254
+ Cancelled: AugmentedEvent<ApiType, [index: u32, tally: PalletConvictionVotingTally], {
1255
+ index: u32;
1256
+ tally: PalletConvictionVotingTally;
1257
+ }>;
1258
+ ConfirmAborted: AugmentedEvent<ApiType, [index: u32], {
1259
+ index: u32;
1260
+ }>;
1261
+ /**
1262
+ * A referendum has ended its confirmation phase and is ready for approval.
1263
+ **/
1264
+ Confirmed: AugmentedEvent<ApiType, [index: u32, tally: PalletConvictionVotingTally], {
1265
+ index: u32;
1266
+ tally: PalletConvictionVotingTally;
1267
+ }>;
1268
+ ConfirmStarted: AugmentedEvent<ApiType, [index: u32], {
1269
+ index: u32;
1270
+ }>;
1271
+ /**
1272
+ * The decision deposit has been placed.
1273
+ **/
1274
+ DecisionDepositPlaced: AugmentedEvent<ApiType, [index: u32, who: AccountId32, amount: u128], {
1275
+ index: u32;
1276
+ who: AccountId32;
1277
+ amount: u128;
1278
+ }>;
1279
+ /**
1280
+ * The decision deposit has been refunded.
1281
+ **/
1282
+ DecisionDepositRefunded: AugmentedEvent<ApiType, [index: u32, who: AccountId32, amount: u128], {
1283
+ index: u32;
1284
+ who: AccountId32;
1285
+ amount: u128;
1286
+ }>;
1287
+ /**
1288
+ * A referendum has moved into the deciding phase.
1289
+ **/
1290
+ DecisionStarted: AugmentedEvent<ApiType, [index: u32, track: u16, proposal: FrameSupportPreimagesBounded, tally: PalletConvictionVotingTally], {
1291
+ index: u32;
1292
+ track: u16;
1293
+ proposal: FrameSupportPreimagesBounded;
1294
+ tally: PalletConvictionVotingTally;
1295
+ }>;
1296
+ /**
1297
+ * A deposit has been slashaed.
1298
+ **/
1299
+ DepositSlashed: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
1300
+ who: AccountId32;
1301
+ amount: u128;
1302
+ }>;
1303
+ /**
1304
+ * A referendum has been killed.
1305
+ **/
1306
+ Killed: AugmentedEvent<ApiType, [index: u32, tally: PalletConvictionVotingTally], {
1307
+ index: u32;
1308
+ tally: PalletConvictionVotingTally;
1309
+ }>;
1310
+ /**
1311
+ * Metadata for a referendum has been cleared.
1312
+ **/
1313
+ MetadataCleared: AugmentedEvent<ApiType, [index: u32, hash_: H256], {
1314
+ index: u32;
1315
+ hash_: H256;
1316
+ }>;
1317
+ /**
1318
+ * Metadata for a referendum has been set.
1319
+ **/
1320
+ MetadataSet: AugmentedEvent<ApiType, [index: u32, hash_: H256], {
1321
+ index: u32;
1322
+ hash_: H256;
1323
+ }>;
1324
+ /**
1325
+ * A proposal has been rejected by referendum.
1326
+ **/
1327
+ Rejected: AugmentedEvent<ApiType, [index: u32, tally: PalletConvictionVotingTally], {
1328
+ index: u32;
1329
+ tally: PalletConvictionVotingTally;
1330
+ }>;
1331
+ /**
1332
+ * The submission deposit has been refunded.
1333
+ **/
1334
+ SubmissionDepositRefunded: AugmentedEvent<ApiType, [index: u32, who: AccountId32, amount: u128], {
1335
+ index: u32;
1336
+ who: AccountId32;
1337
+ amount: u128;
1338
+ }>;
1339
+ /**
1340
+ * A referendum has been submitted.
1341
+ **/
1342
+ Submitted: AugmentedEvent<ApiType, [index: u32, track: u16, proposal: FrameSupportPreimagesBounded], {
1343
+ index: u32;
1344
+ track: u16;
1345
+ proposal: FrameSupportPreimagesBounded;
1346
+ }>;
1347
+ /**
1348
+ * A referendum has been timed out without being decided.
1349
+ **/
1350
+ TimedOut: AugmentedEvent<ApiType, [index: u32, tally: PalletConvictionVotingTally], {
1351
+ index: u32;
1352
+ tally: PalletConvictionVotingTally;
1353
+ }>;
1354
+ /**
1355
+ * Generic event
1356
+ **/
1357
+ [key: string]: AugmentedEvent<ApiType>;
1358
+ };
1162
1359
  registrar: {
1163
1360
  Deregistered: AugmentedEvent<ApiType, [paraId: u32], {
1164
1361
  paraId: u32;
@@ -1754,6 +1951,22 @@ declare module '@polkadot/api-base/types/events' {
1754
1951
  **/
1755
1952
  [key: string]: AugmentedEvent<ApiType>;
1756
1953
  };
1954
+ whitelist: {
1955
+ CallWhitelisted: AugmentedEvent<ApiType, [callHash: H256], {
1956
+ callHash: H256;
1957
+ }>;
1958
+ WhitelistedCallDispatched: AugmentedEvent<ApiType, [callHash: H256, result: Result<FrameSupportDispatchPostDispatchInfo, SpRuntimeDispatchErrorWithPostInfo>], {
1959
+ callHash: H256;
1960
+ result: Result<FrameSupportDispatchPostDispatchInfo, SpRuntimeDispatchErrorWithPostInfo>;
1961
+ }>;
1962
+ WhitelistedCallRemoved: AugmentedEvent<ApiType, [callHash: H256], {
1963
+ callHash: H256;
1964
+ }>;
1965
+ /**
1966
+ * Generic event
1967
+ **/
1968
+ [key: string]: AugmentedEvent<ApiType>;
1969
+ };
1757
1970
  xcmPallet: {
1758
1971
  /**
1759
1972
  * Some assets have been claimed from an asset trap
@@ -1,11 +1,11 @@
1
1
  import '@polkadot/api-base/types/storage';
2
2
  import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types';
3
3
  import type { Data } from '@polkadot/types';
4
- import type { BTreeSet, Bytes, Null, Option, U8aFixed, Vec, WrapperOpaque, bool, u128, u32, u64 } from '@polkadot/types-codec';
4
+ import type { BTreeSet, Bytes, Null, Option, U8aFixed, Vec, WrapperOpaque, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';
5
5
  import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
6
6
  import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
7
7
  import type { AccountId32, Call, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
8
- import type { FrameSupportDispatchPerDispatchClassWeight, FrameSupportPreimagesBounded, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletDemocracyMetadataOwner, PalletDemocracyReferendumInfo, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletMultisigMultisig, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletSchedulerScheduled, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2AssignmentAppPublic, PolkadotPrimitivesV2CandidateCommitments, PolkadotPrimitivesV2CoreOccupied, PolkadotPrimitivesV2DisputeState, PolkadotPrimitivesV2ScrapedOnChainVotes, PolkadotPrimitivesV2SessionInfo, PolkadotPrimitivesV2UpgradeGoAhead, PolkadotPrimitivesV2UpgradeRestriction, PolkadotPrimitivesV2ValidatorAppPublic, PolkadotPrimitivesVstagingExecutorParams, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCoreAssignment, PolkadotRuntimeParachainsSchedulerParathreadClaimQueue, PolkadotRuntimeSessionKeys, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails, SpWeightsWeightV2Weight, XcmVersionedAssetId, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
8
+ import type { FrameSupportDispatchPerDispatchClassWeight, FrameSupportPreimagesBounded, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesIdAmount, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletConvictionVotingVoteVoting, PalletDemocracyMetadataOwner, PalletDemocracyReferendumInfo, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletMultisigMultisig, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletReferendaReferendumInfo, PalletSchedulerScheduled, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV4AssignmentAppPublic, PolkadotPrimitivesV4CandidateCommitments, PolkadotPrimitivesV4CoreOccupied, PolkadotPrimitivesV4DisputeState, PolkadotPrimitivesV4ExecutorParams, PolkadotPrimitivesV4ScrapedOnChainVotes, PolkadotPrimitivesV4SessionInfo, PolkadotPrimitivesV4UpgradeGoAhead, PolkadotPrimitivesV4UpgradeRestriction, PolkadotPrimitivesV4ValidatorAppPublic, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCoreAssignment, PolkadotRuntimeParachainsSchedulerParathreadClaimQueue, PolkadotRuntimeSessionKeys, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails, SpWeightsWeightV2Weight, XcmVersionedAssetId, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
9
9
  import type { Observable } from '@polkadot/types/types';
10
10
  export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
11
11
  export type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;
@@ -191,6 +191,14 @@ declare module '@polkadot/api-base/types/storage' {
191
191
  * NOTE: This is only used in the case that this pallet is used to store balances.
192
192
  **/
193
193
  account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletBalancesAccountData>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
194
+ /**
195
+ * Freeze locks on account balances.
196
+ **/
197
+ freezes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesIdAmount>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
198
+ /**
199
+ * Holds on account balances.
200
+ **/
201
+ holds: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesIdAmount>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
194
202
  /**
195
203
  * The total units of outstanding deactivated balance in the system.
196
204
  **/
@@ -310,6 +318,23 @@ declare module '@polkadot/api-base/types/storage' {
310
318
  **/
311
319
  [key: string]: QueryableStorageEntry<ApiType>;
312
320
  };
321
+ convictionVoting: {
322
+ /**
323
+ * The voting classes which have a non-zero lock requirement and the lock amounts which they
324
+ * require. The actual amount locked on behalf of this pallet should always be the maximum of
325
+ * this list.
326
+ **/
327
+ classLocksFor: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<ITuple<[u16, u128]>>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
328
+ /**
329
+ * All voting for a particular voter in a particular voting class. We store the balance for the
330
+ * number of votes that we have recorded.
331
+ **/
332
+ votingFor: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u16 | AnyNumber | Uint8Array) => Observable<PalletConvictionVotingVoteVoting>, [AccountId32, u16]> & QueryableStorageEntry<ApiType, [AccountId32, u16]>;
333
+ /**
334
+ * Generic query
335
+ **/
336
+ [key: string]: QueryableStorageEntry<ApiType>;
337
+ };
313
338
  council: {
314
339
  /**
315
340
  * The current members of the collective. This is stored sorted (just by value).
@@ -851,6 +876,12 @@ declare module '@polkadot/api-base/types/storage' {
851
876
  * Counter for the related counted storage map
852
877
  **/
853
878
  counterForSubPoolsStorage: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
879
+ /**
880
+ * The maximum commission that can be charged by a pool. Used on commission payouts to bound
881
+ * pool commissions that are > `GlobalMaxCommission`, necessary if a future
882
+ * `GlobalMaxCommission` is lower than some current pool commissions.
883
+ **/
884
+ globalMaxCommission: AugmentedQuery<ApiType, () => Observable<Option<Perbill>>, []> & QueryableStorageEntry<ApiType, []>;
854
885
  /**
855
886
  * Ever increasing number of all pools created so far.
856
887
  **/
@@ -902,13 +933,13 @@ declare module '@polkadot/api-base/types/storage' {
902
933
  **/
903
934
  reversePoolIdLookup: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
904
935
  /**
905
- * Reward pools. This is where there rewards for each pool accumulate. When a members payout
906
- * is claimed, the balance comes out fo the reward pool. Keyed by the bonded pools account.
936
+ * Reward pools. This is where there rewards for each pool accumulate. When a members payout is
937
+ * claimed, the balance comes out fo the reward pool. Keyed by the bonded pools account.
907
938
  **/
908
939
  rewardPools: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNominationPoolsRewardPool>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
909
940
  /**
910
- * Groups of unbonding pools. Each group of unbonding pools belongs to a bonded pool,
911
- * hence the name sub-pools. Keyed by the bonded pools account.
941
+ * Groups of unbonding pools. Each group of unbonding pools belongs to a
942
+ * bonded pool, hence the name sub-pools. Keyed by the bonded pools account.
912
943
  **/
913
944
  subPoolsStorage: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNominationPoolsSubPools>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
914
945
  /**
@@ -951,7 +982,7 @@ declare module '@polkadot/api-base/types/storage' {
951
982
  /**
952
983
  * The commitments of candidates pending availability, by `ParaId`.
953
984
  **/
954
- pendingAvailabilityCommitments: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV2CandidateCommitments>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
985
+ pendingAvailabilityCommitments: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV4CandidateCommitments>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
955
986
  /**
956
987
  * Generic query
957
988
  **/
@@ -970,7 +1001,7 @@ declare module '@polkadot/api-base/types/storage' {
970
1001
  /**
971
1002
  * Scraped on chain data for extracting resolved disputes as well as backing votes.
972
1003
  **/
973
- onChainVotes: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV2ScrapedOnChainVotes>>, []> & QueryableStorageEntry<ApiType, []>;
1004
+ onChainVotes: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV4ScrapedOnChainVotes>>, []> & QueryableStorageEntry<ApiType, []>;
974
1005
  /**
975
1006
  * Generic query
976
1007
  **/
@@ -1088,7 +1119,7 @@ declare module '@polkadot/api-base/types/storage' {
1088
1119
  * NOTE that this field is used by parachains via merkle storage proofs, therefore changing
1089
1120
  * the format will require migration of parachains.
1090
1121
  **/
1091
- upgradeGoAheadSignal: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV2UpgradeGoAhead>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1122
+ upgradeGoAheadSignal: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV4UpgradeGoAhead>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1092
1123
  /**
1093
1124
  * This is used by the relay-chain to communicate that there are restrictions for performing
1094
1125
  * an upgrade for this parachain.
@@ -1100,7 +1131,7 @@ declare module '@polkadot/api-base/types/storage' {
1100
1131
  * NOTE that this field is used by parachains via merkle storage proofs, therefore changing
1101
1132
  * the format will require migration of parachains.
1102
1133
  **/
1103
- upgradeRestrictionSignal: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV2UpgradeRestriction>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1134
+ upgradeRestrictionSignal: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV4UpgradeRestriction>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1104
1135
  /**
1105
1136
  * Generic query
1106
1137
  **/
@@ -1117,7 +1148,7 @@ declare module '@polkadot/api-base/types/storage' {
1117
1148
  * * The number of parachains and parathread multiplexers
1118
1149
  * * The number of validators divided by `configuration.max_validators_per_core`.
1119
1150
  **/
1120
- availabilityCores: AugmentedQuery<ApiType, () => Observable<Vec<Option<PolkadotPrimitivesV2CoreOccupied>>>, []> & QueryableStorageEntry<ApiType, []>;
1151
+ availabilityCores: AugmentedQuery<ApiType, () => Observable<Vec<Option<PolkadotPrimitivesV4CoreOccupied>>>, []> & QueryableStorageEntry<ApiType, []>;
1121
1152
  /**
1122
1153
  * An index used to ensure that only one claim on a parathread exists in the queue or is
1123
1154
  * currently being handled by an occupied core.
@@ -1173,7 +1204,7 @@ declare module '@polkadot/api-base/types/storage' {
1173
1204
  /**
1174
1205
  * All ongoing or concluded disputes for the last several sessions.
1175
1206
  **/
1176
- disputes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<PolkadotPrimitivesV2DisputeState>>, [u32, H256]> & QueryableStorageEntry<ApiType, [u32, H256]>;
1207
+ disputes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<PolkadotPrimitivesV4DisputeState>>, [u32, H256]> & QueryableStorageEntry<ApiType, [u32, H256]>;
1177
1208
  /**
1178
1209
  * Whether the chain is frozen. Starts as `None`. When this is `Some`,
1179
1210
  * the chain will not accept any new parachain blocks for backing or inclusion,
@@ -1206,7 +1237,7 @@ declare module '@polkadot/api-base/types/storage' {
1206
1237
  * Note that this API is private due to it being prone to 'off-by-one' at session boundaries.
1207
1238
  * When in doubt, use `Sessions` API instead.
1208
1239
  **/
1209
- assignmentKeysUnsafe: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotPrimitivesV2AssignmentAppPublic>>, []> & QueryableStorageEntry<ApiType, []>;
1240
+ assignmentKeysUnsafe: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotPrimitivesV4AssignmentAppPublic>>, []> & QueryableStorageEntry<ApiType, []>;
1210
1241
  /**
1211
1242
  * The earliest session for which previous session info is stored.
1212
1243
  **/
@@ -1214,13 +1245,13 @@ declare module '@polkadot/api-base/types/storage' {
1214
1245
  /**
1215
1246
  * Executor parameter set for a given session index
1216
1247
  **/
1217
- sessionExecutorParams: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesVstagingExecutorParams>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1248
+ sessionExecutorParams: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV4ExecutorParams>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1218
1249
  /**
1219
1250
  * Session information in a rolling window.
1220
1251
  * Should have an entry in range `EarliestStoredSession..=CurrentSessionIndex`.
1221
1252
  * Does not have any entries before the session index in the first session change notification.
1222
1253
  **/
1223
- sessions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV2SessionInfo>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1254
+ sessions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV4SessionInfo>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1224
1255
  /**
1225
1256
  * Generic query
1226
1257
  **/
@@ -1236,7 +1267,7 @@ declare module '@polkadot/api-base/types/storage' {
1236
1267
  * The parachain attestation keys of the validators actively participating in parachain consensus.
1237
1268
  * This should be the same length as `ActiveValidatorIndices`.
1238
1269
  **/
1239
- activeValidatorKeys: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotPrimitivesV2ValidatorAppPublic>>, []> & QueryableStorageEntry<ApiType, []>;
1270
+ activeValidatorKeys: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotPrimitivesV4ValidatorAppPublic>>, []> & QueryableStorageEntry<ApiType, []>;
1240
1271
  /**
1241
1272
  * The current session index.
1242
1273
  **/
@@ -1310,6 +1341,40 @@ declare module '@polkadot/api-base/types/storage' {
1310
1341
  **/
1311
1342
  [key: string]: QueryableStorageEntry<ApiType>;
1312
1343
  };
1344
+ referenda: {
1345
+ /**
1346
+ * The number of referenda being decided currently.
1347
+ **/
1348
+ decidingCount: AugmentedQuery<ApiType, (arg: u16 | AnyNumber | Uint8Array) => Observable<u32>, [u16]> & QueryableStorageEntry<ApiType, [u16]>;
1349
+ /**
1350
+ * The metadata is a general information concerning the referendum.
1351
+ * The `PreimageHash` refers to the preimage of the `Preimages` provider which can be a JSON
1352
+ * dump or IPFS hash of a JSON file.
1353
+ *
1354
+ * Consider a garbage collection for a metadata of finished referendums to `unrequest` (remove)
1355
+ * large preimages.
1356
+ **/
1357
+ metadataOf: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<H256>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1358
+ /**
1359
+ * The next free referendum index, aka the number of referenda started so far.
1360
+ **/
1361
+ referendumCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1362
+ /**
1363
+ * Information concerning any given referendum.
1364
+ **/
1365
+ referendumInfoFor: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletReferendaReferendumInfo>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1366
+ /**
1367
+ * The sorted list of referenda ready to be decided but not yet being decided, ordered by
1368
+ * conviction-weighted approvals.
1369
+ *
1370
+ * This should be empty if `DecidingCount` is less than `TrackInfo::max_deciding`.
1371
+ **/
1372
+ trackQueue: AugmentedQuery<ApiType, (arg: u16 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[u32, u128]>>>, [u16]> & QueryableStorageEntry<ApiType, [u16]>;
1373
+ /**
1374
+ * Generic query
1375
+ **/
1376
+ [key: string]: QueryableStorageEntry<ApiType>;
1377
+ };
1313
1378
  registrar: {
1314
1379
  /**
1315
1380
  * The next free `ParaId`.
@@ -1940,6 +2005,13 @@ declare module '@polkadot/api-base/types/storage' {
1940
2005
  **/
1941
2006
  [key: string]: QueryableStorageEntry<ApiType>;
1942
2007
  };
2008
+ whitelist: {
2009
+ whitelistedCall: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<Null>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
2010
+ /**
2011
+ * Generic query
2012
+ **/
2013
+ [key: string]: QueryableStorageEntry<ApiType>;
2014
+ };
1943
2015
  xcmPallet: {
1944
2016
  /**
1945
2017
  * The existing asset traps.