@polkadot/api-augment 8.8.2-0 → 8.8.2

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.
@@ -2,9 +2,142 @@ import type { ApiTypes } from '@polkadot/api-base/types';
2
2
  import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
3
3
  import type { ITuple } from '@polkadot/types-codec/types';
4
4
  import type { AccountId32, H256 } from '@polkadot/types/interfaces/runtime';
5
- import type { FrameSupportScheduleLookupError, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPostDispatchInfo, NodeRuntimeProxyType, PalletConvictionVotingTally, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNominationPoolsPoolState, PalletStakingExposure, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationCompute, SpFinalityGrandpaAppPublic, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo } from '@polkadot/types/lookup';
5
+ import type { FrameSupportScheduleLookupError, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPostDispatchInfo, NodeRuntimeProxyType, PalletAllianceCid, PalletAllianceUnscrupulousItem, PalletConvictionVotingTally, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletStakingExposure, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationCompute, SpFinalityGrandpaAppPublic, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo } from '@polkadot/types/lookup';
6
6
  declare module '@polkadot/api-base/types/events' {
7
7
  interface AugmentedEvents<ApiType extends ApiTypes> {
8
+ alliance: {
9
+ /**
10
+ * An ally has been elevated to Fellow.
11
+ **/
12
+ AllyElevated: AugmentedEvent<ApiType, [ally: AccountId32], {
13
+ ally: AccountId32;
14
+ }>;
15
+ /**
16
+ * A new announcement has been proposed.
17
+ **/
18
+ Announced: AugmentedEvent<ApiType, [announcement: PalletAllianceCid], {
19
+ announcement: PalletAllianceCid;
20
+ }>;
21
+ /**
22
+ * An on-chain announcement has been removed.
23
+ **/
24
+ AnnouncementRemoved: AugmentedEvent<ApiType, [announcement: PalletAllianceCid], {
25
+ announcement: PalletAllianceCid;
26
+ }>;
27
+ /**
28
+ * A member has been kicked out with its deposit slashed.
29
+ **/
30
+ MemberKicked: AugmentedEvent<ApiType, [member: AccountId32, slashed: Option<u128>], {
31
+ member: AccountId32;
32
+ slashed: Option<u128>;
33
+ }>;
34
+ /**
35
+ * A member has retired with its deposit unreserved.
36
+ **/
37
+ MemberRetired: AugmentedEvent<ApiType, [member: AccountId32, unreserved: Option<u128>], {
38
+ member: AccountId32;
39
+ unreserved: Option<u128>;
40
+ }>;
41
+ /**
42
+ * Some accounts have been initialized as members (founders/fellows/allies).
43
+ **/
44
+ MembersInitialized: AugmentedEvent<ApiType, [founders: Vec<AccountId32>, fellows: Vec<AccountId32>, allies: Vec<AccountId32>], {
45
+ founders: Vec<AccountId32>;
46
+ fellows: Vec<AccountId32>;
47
+ allies: Vec<AccountId32>;
48
+ }>;
49
+ /**
50
+ * An account has been added as an Ally and reserved its deposit.
51
+ **/
52
+ NewAllyJoined: AugmentedEvent<ApiType, [ally: AccountId32, nominator: Option<AccountId32>, reserved: Option<u128>], {
53
+ ally: AccountId32;
54
+ nominator: Option<AccountId32>;
55
+ reserved: Option<u128>;
56
+ }>;
57
+ /**
58
+ * A new rule has been set.
59
+ **/
60
+ NewRuleSet: AugmentedEvent<ApiType, [rule: PalletAllianceCid], {
61
+ rule: PalletAllianceCid;
62
+ }>;
63
+ /**
64
+ * Accounts or websites have been added into the list of unscrupulous items.
65
+ **/
66
+ UnscrupulousItemAdded: AugmentedEvent<ApiType, [items: Vec<PalletAllianceUnscrupulousItem>], {
67
+ items: Vec<PalletAllianceUnscrupulousItem>;
68
+ }>;
69
+ /**
70
+ * Accounts or websites have been removed from the list of unscrupulous items.
71
+ **/
72
+ UnscrupulousItemRemoved: AugmentedEvent<ApiType, [items: Vec<PalletAllianceUnscrupulousItem>], {
73
+ items: Vec<PalletAllianceUnscrupulousItem>;
74
+ }>;
75
+ /**
76
+ * Generic event
77
+ **/
78
+ [key: string]: AugmentedEvent<ApiType>;
79
+ };
80
+ allianceMotion: {
81
+ /**
82
+ * A motion was approved by the required threshold.
83
+ **/
84
+ Approved: AugmentedEvent<ApiType, [proposalHash: H256], {
85
+ proposalHash: H256;
86
+ }>;
87
+ /**
88
+ * A proposal was closed because its threshold was reached or after its duration was up.
89
+ **/
90
+ Closed: AugmentedEvent<ApiType, [proposalHash: H256, yes: u32, no: u32], {
91
+ proposalHash: H256;
92
+ yes: u32;
93
+ no: u32;
94
+ }>;
95
+ /**
96
+ * A motion was not approved by the required threshold.
97
+ **/
98
+ Disapproved: AugmentedEvent<ApiType, [proposalHash: H256], {
99
+ proposalHash: H256;
100
+ }>;
101
+ /**
102
+ * A motion was executed; result will be `Ok` if it returned without error.
103
+ **/
104
+ Executed: AugmentedEvent<ApiType, [proposalHash: H256, result: Result<Null, SpRuntimeDispatchError>], {
105
+ proposalHash: H256;
106
+ result: Result<Null, SpRuntimeDispatchError>;
107
+ }>;
108
+ /**
109
+ * A single member did some action; result will be `Ok` if it returned without error.
110
+ **/
111
+ MemberExecuted: AugmentedEvent<ApiType, [proposalHash: H256, result: Result<Null, SpRuntimeDispatchError>], {
112
+ proposalHash: H256;
113
+ result: Result<Null, SpRuntimeDispatchError>;
114
+ }>;
115
+ /**
116
+ * A motion (given hash) has been proposed (by given account) with a threshold (given
117
+ * `MemberCount`).
118
+ **/
119
+ Proposed: AugmentedEvent<ApiType, [account: AccountId32, proposalIndex: u32, proposalHash: H256, threshold: u32], {
120
+ account: AccountId32;
121
+ proposalIndex: u32;
122
+ proposalHash: H256;
123
+ threshold: u32;
124
+ }>;
125
+ /**
126
+ * A motion (given hash) has been voted on by given account, leaving
127
+ * a tally (yes votes and no votes given respectively as `MemberCount`).
128
+ **/
129
+ Voted: AugmentedEvent<ApiType, [account: AccountId32, proposalHash: H256, voted: bool, yes: u32, no: u32], {
130
+ account: AccountId32;
131
+ proposalHash: H256;
132
+ voted: bool;
133
+ yes: u32;
134
+ no: u32;
135
+ }>;
136
+ /**
137
+ * Generic event
138
+ **/
139
+ [key: string]: AugmentedEvent<ApiType>;
140
+ };
8
141
  assets: {
9
142
  /**
10
143
  * An approval for account `delegate` was cancelled by `owner`.
@@ -550,6 +683,12 @@ declare module '@polkadot/api-base/types/events' {
550
683
  provider: AccountId32;
551
684
  deposit: u128;
552
685
  }>;
686
+ /**
687
+ * A proposal got canceled.
688
+ **/
689
+ ProposalCanceled: AugmentedEvent<ApiType, [propIndex: u32], {
690
+ propIndex: u32;
691
+ }>;
553
692
  /**
554
693
  * A motion has been proposed by a public account.
555
694
  **/
@@ -1008,6 +1147,13 @@ declare module '@polkadot/api-base/types/events' {
1008
1147
  poolId: u32;
1009
1148
  payout: u128;
1010
1149
  }>;
1150
+ /**
1151
+ * The active balance of pool `pool_id` has been slashed to `balance`.
1152
+ **/
1153
+ PoolSlashed: AugmentedEvent<ApiType, [poolId: u32, balance: u128], {
1154
+ poolId: u32;
1155
+ balance: u128;
1156
+ }>;
1011
1157
  /**
1012
1158
  * The roles of a pool have been updated to the given new roles. Note that the depositor
1013
1159
  * can never change.
@@ -1026,19 +1172,44 @@ declare module '@polkadot/api-base/types/events' {
1026
1172
  }>;
1027
1173
  /**
1028
1174
  * A member has unbonded from their pool.
1175
+ *
1176
+ * - `balance` is the corresponding balance of the number of points that has been
1177
+ * requested to be unbonded (the argument of the `unbond` transaction) from the bonded
1178
+ * pool.
1179
+ * - `points` is the number of points that are issued as a result of `balance` being
1180
+ * dissolved into the corresponding unbonding pool.
1181
+ *
1182
+ * In the absence of slashing, these values will match. In the presence of slashing, the
1183
+ * number of points that are issued in the unbonding pool will be less than the amount
1184
+ * requested to be unbonded.
1029
1185
  **/
1030
- Unbonded: AugmentedEvent<ApiType, [member: AccountId32, poolId: u32, amount: u128], {
1186
+ Unbonded: AugmentedEvent<ApiType, [member: AccountId32, poolId: u32, balance: u128, points: u128], {
1031
1187
  member: AccountId32;
1032
1188
  poolId: u32;
1033
- amount: u128;
1189
+ balance: u128;
1190
+ points: u128;
1191
+ }>;
1192
+ /**
1193
+ * The unbond pool at `era` of pool `pool_id` has been slashed to `balance`.
1194
+ **/
1195
+ UnbondingPoolSlashed: AugmentedEvent<ApiType, [poolId: u32, era: u32, balance: u128], {
1196
+ poolId: u32;
1197
+ era: u32;
1198
+ balance: u128;
1034
1199
  }>;
1035
1200
  /**
1036
1201
  * A member has withdrawn from their pool.
1202
+ *
1203
+ * The given number of `points` have been dissolved in return of `balance`.
1204
+ *
1205
+ * Similar to `Unbonded` event, in the absence of slashing, the ratio of point to balance
1206
+ * will be 1.
1037
1207
  **/
1038
- Withdrawn: AugmentedEvent<ApiType, [member: AccountId32, poolId: u32, amount: u128], {
1208
+ Withdrawn: AugmentedEvent<ApiType, [member: AccountId32, poolId: u32, balance: u128, points: u128], {
1039
1209
  member: AccountId32;
1040
1210
  poolId: u32;
1041
- amount: u128;
1211
+ balance: u128;
1212
+ points: u128;
1042
1213
  }>;
1043
1214
  /**
1044
1215
  * Generic event
@@ -1132,6 +1303,135 @@ declare module '@polkadot/api-base/types/events' {
1132
1303
  **/
1133
1304
  [key: string]: AugmentedEvent<ApiType>;
1134
1305
  };
1306
+ rankedCollective: {
1307
+ /**
1308
+ * A member `who` has been added.
1309
+ **/
1310
+ MemberAdded: AugmentedEvent<ApiType, [who: AccountId32], {
1311
+ who: AccountId32;
1312
+ }>;
1313
+ /**
1314
+ * The member `who` of given `rank` has been removed from the collective.
1315
+ **/
1316
+ MemberRemoved: AugmentedEvent<ApiType, [who: AccountId32, rank: u16], {
1317
+ who: AccountId32;
1318
+ rank: u16;
1319
+ }>;
1320
+ /**
1321
+ * The member `who`'s rank has been changed to the given `rank`.
1322
+ **/
1323
+ RankChanged: AugmentedEvent<ApiType, [who: AccountId32, rank: u16], {
1324
+ who: AccountId32;
1325
+ rank: u16;
1326
+ }>;
1327
+ /**
1328
+ * The member `who` has voted for the `poll` with the given `vote` leading to an updated
1329
+ * `tally`.
1330
+ **/
1331
+ Voted: AugmentedEvent<ApiType, [who: AccountId32, poll: u32, vote: PalletRankedCollectiveVoteRecord, tally: PalletRankedCollectiveTally], {
1332
+ who: AccountId32;
1333
+ poll: u32;
1334
+ vote: PalletRankedCollectiveVoteRecord;
1335
+ tally: PalletRankedCollectiveTally;
1336
+ }>;
1337
+ /**
1338
+ * Generic event
1339
+ **/
1340
+ [key: string]: AugmentedEvent<ApiType>;
1341
+ };
1342
+ rankedPolls: {
1343
+ /**
1344
+ * A referendum has been approved and its proposal has been scheduled.
1345
+ **/
1346
+ Approved: AugmentedEvent<ApiType, [index: u32], {
1347
+ index: u32;
1348
+ }>;
1349
+ /**
1350
+ * A referendum has been cancelled.
1351
+ **/
1352
+ Cancelled: AugmentedEvent<ApiType, [index: u32, tally: PalletRankedCollectiveTally], {
1353
+ index: u32;
1354
+ tally: PalletRankedCollectiveTally;
1355
+ }>;
1356
+ ConfirmAborted: AugmentedEvent<ApiType, [index: u32], {
1357
+ index: u32;
1358
+ }>;
1359
+ /**
1360
+ * A referendum has ended its confirmation phase and is ready for approval.
1361
+ **/
1362
+ Confirmed: AugmentedEvent<ApiType, [index: u32, tally: PalletRankedCollectiveTally], {
1363
+ index: u32;
1364
+ tally: PalletRankedCollectiveTally;
1365
+ }>;
1366
+ ConfirmStarted: AugmentedEvent<ApiType, [index: u32], {
1367
+ index: u32;
1368
+ }>;
1369
+ /**
1370
+ * The decision deposit has been placed.
1371
+ **/
1372
+ DecisionDepositPlaced: AugmentedEvent<ApiType, [index: u32, who: AccountId32, amount: u128], {
1373
+ index: u32;
1374
+ who: AccountId32;
1375
+ amount: u128;
1376
+ }>;
1377
+ /**
1378
+ * The decision deposit has been refunded.
1379
+ **/
1380
+ DecisionDepositRefunded: AugmentedEvent<ApiType, [index: u32, who: AccountId32, amount: u128], {
1381
+ index: u32;
1382
+ who: AccountId32;
1383
+ amount: u128;
1384
+ }>;
1385
+ /**
1386
+ * A referendum has moved into the deciding phase.
1387
+ **/
1388
+ DecisionStarted: AugmentedEvent<ApiType, [index: u32, track: u16, proposalHash: H256, tally: PalletRankedCollectiveTally], {
1389
+ index: u32;
1390
+ track: u16;
1391
+ proposalHash: H256;
1392
+ tally: PalletRankedCollectiveTally;
1393
+ }>;
1394
+ /**
1395
+ * A deposit has been slashaed.
1396
+ **/
1397
+ DepositSlashed: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
1398
+ who: AccountId32;
1399
+ amount: u128;
1400
+ }>;
1401
+ /**
1402
+ * A referendum has been killed.
1403
+ **/
1404
+ Killed: AugmentedEvent<ApiType, [index: u32, tally: PalletRankedCollectiveTally], {
1405
+ index: u32;
1406
+ tally: PalletRankedCollectiveTally;
1407
+ }>;
1408
+ /**
1409
+ * A proposal has been rejected by referendum.
1410
+ **/
1411
+ Rejected: AugmentedEvent<ApiType, [index: u32, tally: PalletRankedCollectiveTally], {
1412
+ index: u32;
1413
+ tally: PalletRankedCollectiveTally;
1414
+ }>;
1415
+ /**
1416
+ * A referendum has being submitted.
1417
+ **/
1418
+ Submitted: AugmentedEvent<ApiType, [index: u32, track: u16, proposalHash: H256], {
1419
+ index: u32;
1420
+ track: u16;
1421
+ proposalHash: H256;
1422
+ }>;
1423
+ /**
1424
+ * A referendum has been timed out without being decided.
1425
+ **/
1426
+ TimedOut: AugmentedEvent<ApiType, [index: u32, tally: PalletRankedCollectiveTally], {
1427
+ index: u32;
1428
+ tally: PalletRankedCollectiveTally;
1429
+ }>;
1430
+ /**
1431
+ * Generic event
1432
+ **/
1433
+ [key: string]: AugmentedEvent<ApiType>;
1434
+ };
1135
1435
  recovery: {
1136
1436
  /**
1137
1437
  * Lost account has been successfully recovered by rescuer account.
@@ -1225,9 +1525,9 @@ declare module '@polkadot/api-base/types/events' {
1225
1525
  /**
1226
1526
  * A referendum has moved into the deciding phase.
1227
1527
  **/
1228
- DecisionStarted: AugmentedEvent<ApiType, [index: u32, track: u8, proposalHash: H256, tally: PalletConvictionVotingTally], {
1528
+ DecisionStarted: AugmentedEvent<ApiType, [index: u32, track: u16, proposalHash: H256, tally: PalletConvictionVotingTally], {
1229
1529
  index: u32;
1230
- track: u8;
1530
+ track: u16;
1231
1531
  proposalHash: H256;
1232
1532
  tally: PalletConvictionVotingTally;
1233
1533
  }>;
@@ -1255,9 +1555,9 @@ declare module '@polkadot/api-base/types/events' {
1255
1555
  /**
1256
1556
  * A referendum has being submitted.
1257
1557
  **/
1258
- Submitted: AugmentedEvent<ApiType, [index: u32, track: u8, proposalHash: H256], {
1558
+ Submitted: AugmentedEvent<ApiType, [index: u32, track: u16, proposalHash: H256], {
1259
1559
  index: u32;
1260
- track: u8;
1560
+ track: u16;
1261
1561
  proposalHash: H256;
1262
1562
  }>;
1263
1563
  /**
@@ -1520,7 +1820,7 @@ declare module '@polkadot/api-base/types/events' {
1520
1820
  **/
1521
1821
  AutoMigrationFinished: AugmentedEvent<ApiType, []>;
1522
1822
  /**
1523
- * Migration got halted.
1823
+ * Migration got halted due to an error or miss-configuration.
1524
1824
  **/
1525
1825
  Halted: AugmentedEvent<ApiType, []>;
1526
1826
  /**
@@ -1803,6 +2103,14 @@ declare module '@polkadot/api-base/types/events' {
1803
2103
  Rollover: AugmentedEvent<ApiType, [rolloverBalance: u128], {
1804
2104
  rolloverBalance: u128;
1805
2105
  }>;
2106
+ /**
2107
+ * A new spend proposal has been approved.
2108
+ **/
2109
+ SpendApproved: AugmentedEvent<ApiType, [proposalIndex: u32, amount: u128, beneficiary: AccountId32], {
2110
+ proposalIndex: u32;
2111
+ amount: u128;
2112
+ beneficiary: AccountId32;
2113
+ }>;
1806
2114
  /**
1807
2115
  * We have ended a spend period and will now allocate funds.
1808
2116
  **/
@@ -1,12 +1,81 @@
1
1
  import type { ApiTypes } from '@polkadot/api-base/types';
2
2
  import type { Data } from '@polkadot/types';
3
- import type { BTreeMap, Bytes, Null, Option, U8aFixed, Vec, WrapperKeepOpaque, WrapperOpaque, bool, u128, u32, u64, u8 } from '@polkadot/types-codec';
3
+ import type { BTreeMap, Bytes, Null, Option, U8aFixed, Vec, WrapperKeepOpaque, WrapperOpaque, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
4
4
  import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
5
5
  import type { AccountId32, Call, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
6
- import type { FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, NodeRuntimeSessionKeys, PalletAssetsApproval, PalletAssetsAssetAccount, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, PalletAuthorshipUncleEntryItem, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletContractsStorageDeletedContract, PalletContractsStorageRawContractInfo, PalletContractsWasmOwnerInfo, PalletContractsWasmPrefabWasmModule, PalletConvictionVotingVoteVoting, PalletDemocracyPreimageStatus, PalletDemocracyReferendumInfo, PalletDemocracyReleases, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletGiltActiveGilt, PalletGiltActiveGiltsTotal, PalletGiltGiltBid, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletLotteryLotteryConfig, PalletMultisigMultisig, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfo, PalletSchedulerScheduledV3, PalletSocietyBid, PalletSocietyBidKind, PalletSocietyVote, PalletSocietyVouchingStatus, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingReleases, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTransactionStorageTransactionInfo, PalletTreasuryProposal, PalletUniquesCollectionDetails, PalletUniquesCollectionMetadata, PalletUniquesItemDetails, PalletUniquesItemMetadata, PalletVestingReleases, PalletVestingVestingInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails } from '@polkadot/types/lookup';
6
+ import type { FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, NodeRuntimeSessionKeys, PalletAllianceCid, PalletAllianceMemberRole, PalletAssetsApproval, PalletAssetsAssetAccount, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, PalletAuthorshipUncleEntryItem, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletContractsStorageDeletedContract, PalletContractsStorageRawContractInfo, PalletContractsWasmOwnerInfo, PalletContractsWasmPrefabWasmModule, PalletConvictionVotingVoteVoting, PalletDemocracyPreimageStatus, PalletDemocracyReferendumInfo, PalletDemocracyReleases, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletGiltActiveGilt, PalletGiltActiveGiltsTotal, PalletGiltGiltBid, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletLotteryLotteryConfig, PalletMultisigMultisig, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSchedulerScheduledV3, PalletSocietyBid, PalletSocietyBidKind, PalletSocietyVote, PalletSocietyVouchingStatus, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingReleases, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTransactionStorageTransactionInfo, PalletTreasuryProposal, PalletUniquesCollectionDetails, PalletUniquesCollectionMetadata, PalletUniquesItemDetails, PalletUniquesItemMetadata, PalletVestingReleases, PalletVestingVestingInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails } from '@polkadot/types/lookup';
7
7
  import type { Observable } from '@polkadot/types/types';
8
8
  declare module '@polkadot/api-base/types/storage' {
9
9
  interface AugmentedQueries<ApiType extends ApiTypes> {
10
+ alliance: {
11
+ /**
12
+ * The current IPFS CIDs of any announcements.
13
+ **/
14
+ announcements: AugmentedQuery<ApiType, () => Observable<Vec<PalletAllianceCid>>, []> & QueryableStorageEntry<ApiType, []>;
15
+ /**
16
+ * Maps members to their candidacy deposit.
17
+ **/
18
+ depositOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u128>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
19
+ /**
20
+ * Maps member type to members of each type.
21
+ **/
22
+ members: AugmentedQuery<ApiType, (arg: PalletAllianceMemberRole | 'Founder' | 'Fellow' | 'Ally' | number | Uint8Array) => Observable<Vec<AccountId32>>, [PalletAllianceMemberRole]> & QueryableStorageEntry<ApiType, [PalletAllianceMemberRole]>;
23
+ /**
24
+ * The IPFS CID of the alliance rule.
25
+ * Founders and fellows can propose a new rule with a super-majority.
26
+ *
27
+ * Any founder has a special one-vote veto right to the rule setting.
28
+ **/
29
+ rule: AugmentedQuery<ApiType, () => Observable<Option<PalletAllianceCid>>, []> & QueryableStorageEntry<ApiType, []>;
30
+ /**
31
+ * The current list of accounts deemed unscrupulous. These accounts non grata cannot submit
32
+ * candidacy.
33
+ **/
34
+ unscrupulousAccounts: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
35
+ /**
36
+ * The current list of websites deemed unscrupulous.
37
+ **/
38
+ unscrupulousWebsites: AugmentedQuery<ApiType, () => Observable<Vec<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;
39
+ /**
40
+ * A set of members that are (potentially) being kicked out. They cannot retire until the
41
+ * motion is settled.
42
+ **/
43
+ upForKicking: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<bool>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
44
+ /**
45
+ * Generic query
46
+ **/
47
+ [key: string]: QueryableStorageEntry<ApiType>;
48
+ };
49
+ allianceMotion: {
50
+ /**
51
+ * The current members of the collective. This is stored sorted (just by value).
52
+ **/
53
+ members: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
54
+ /**
55
+ * The prime member that helps determine the default vote behavior in case of absentations.
56
+ **/
57
+ prime: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
58
+ /**
59
+ * Proposals so far.
60
+ **/
61
+ proposalCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
62
+ /**
63
+ * Actual proposal for a given hash, if it's current.
64
+ **/
65
+ proposalOf: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<Call>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
66
+ /**
67
+ * The hashes of the active proposals.
68
+ **/
69
+ proposals: AugmentedQuery<ApiType, () => Observable<Vec<H256>>, []> & QueryableStorageEntry<ApiType, []>;
70
+ /**
71
+ * Votes on a given proposal, if it is ongoing.
72
+ **/
73
+ voting: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletCollectiveVotes>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
74
+ /**
75
+ * Generic query
76
+ **/
77
+ [key: string]: QueryableStorageEntry<ApiType>;
78
+ };
10
79
  assets: {
11
80
  /**
12
81
  * The holdings of a specific account for a specific asset.
@@ -350,12 +419,12 @@ declare module '@polkadot/api-base/types/storage' {
350
419
  * require. The actual amount locked on behalf of this pallet should always be the maximum of
351
420
  * this list.
352
421
  **/
353
- classLocksFor: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<ITuple<[u8, u128]>>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
422
+ classLocksFor: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<ITuple<[u16, u128]>>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
354
423
  /**
355
424
  * All voting for a particular voter in a particular voting class. We store the balance for the
356
425
  * number of votes that we have recorded.
357
426
  **/
358
- votingFor: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u8 | AnyNumber | Uint8Array) => Observable<PalletConvictionVotingVoteVoting>, [AccountId32, u8]> & QueryableStorageEntry<ApiType, [AccountId32, u8]>;
427
+ votingFor: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u16 | AnyNumber | Uint8Array) => Observable<PalletConvictionVotingVoteVoting>, [AccountId32, u16]> & QueryableStorageEntry<ApiType, [AccountId32, u16]>;
359
428
  /**
360
429
  * Generic query
361
430
  **/
@@ -838,6 +907,9 @@ declare module '@polkadot/api-base/types/storage' {
838
907
  *
839
908
  * This is the amount that the depositor must put as their initial stake in the pool, as an
840
909
  * indication of "skin in the game".
910
+ *
911
+ * This is the value that will always exist in the staking ledger of the pool bonded account
912
+ * while all other accounts leave.
841
913
  **/
842
914
  minCreateBond: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
843
915
  /**
@@ -934,6 +1006,60 @@ declare module '@polkadot/api-base/types/storage' {
934
1006
  **/
935
1007
  [key: string]: QueryableStorageEntry<ApiType>;
936
1008
  };
1009
+ rankedCollective: {
1010
+ /**
1011
+ * The index of each ranks's member into the group of members who have at least that rank.
1012
+ **/
1013
+ idToIndex: AugmentedQuery<ApiType, (arg1: u16 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [u16, AccountId32]> & QueryableStorageEntry<ApiType, [u16, AccountId32]>;
1014
+ /**
1015
+ * The members in the collective by index. All indices in the range `0..MemberCount` will
1016
+ * return `Some`, however a member's index is not guaranteed to remain unchanged over time.
1017
+ **/
1018
+ indexToId: AugmentedQuery<ApiType, (arg1: u16 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<AccountId32>>, [u16, u32]> & QueryableStorageEntry<ApiType, [u16, u32]>;
1019
+ /**
1020
+ * The number of members in the collective who have at least the rank according to the index
1021
+ * of the vec.
1022
+ **/
1023
+ memberCount: AugmentedQuery<ApiType, (arg: u16 | AnyNumber | Uint8Array) => Observable<u32>, [u16]> & QueryableStorageEntry<ApiType, [u16]>;
1024
+ /**
1025
+ * The current members of the collective.
1026
+ **/
1027
+ members: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletRankedCollectiveMemberRecord>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1028
+ /**
1029
+ * Votes on a given proposal, if it is ongoing.
1030
+ **/
1031
+ voting: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<PalletRankedCollectiveVoteRecord>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
1032
+ votingCleanup: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Bytes>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1033
+ /**
1034
+ * Generic query
1035
+ **/
1036
+ [key: string]: QueryableStorageEntry<ApiType>;
1037
+ };
1038
+ rankedPolls: {
1039
+ /**
1040
+ * The number of referenda being decided currently.
1041
+ **/
1042
+ decidingCount: AugmentedQuery<ApiType, (arg: u16 | AnyNumber | Uint8Array) => Observable<u32>, [u16]> & QueryableStorageEntry<ApiType, [u16]>;
1043
+ /**
1044
+ * The next free referendum index, aka the number of referenda started so far.
1045
+ **/
1046
+ referendumCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1047
+ /**
1048
+ * Information concerning any given referendum.
1049
+ **/
1050
+ referendumInfoFor: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletReferendaReferendumInfoRankedCollectiveTally>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1051
+ /**
1052
+ * The sorted list of referenda ready to be decided but not yet being decided, ordered by
1053
+ * conviction-weighted approvals.
1054
+ *
1055
+ * This should be empty if `DecidingCount` is less than `TrackInfo::max_deciding`.
1056
+ **/
1057
+ trackQueue: AugmentedQuery<ApiType, (arg: u16 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[u32, u32]>>>, [u16]> & QueryableStorageEntry<ApiType, [u16]>;
1058
+ /**
1059
+ * Generic query
1060
+ **/
1061
+ [key: string]: QueryableStorageEntry<ApiType>;
1062
+ };
937
1063
  recovery: {
938
1064
  /**
939
1065
  * Active recovery attempts.
@@ -961,7 +1087,7 @@ declare module '@polkadot/api-base/types/storage' {
961
1087
  /**
962
1088
  * The number of referenda being decided currently.
963
1089
  **/
964
- decidingCount: AugmentedQuery<ApiType, (arg: u8 | AnyNumber | Uint8Array) => Observable<u32>, [u8]> & QueryableStorageEntry<ApiType, [u8]>;
1090
+ decidingCount: AugmentedQuery<ApiType, (arg: u16 | AnyNumber | Uint8Array) => Observable<u32>, [u16]> & QueryableStorageEntry<ApiType, [u16]>;
965
1091
  /**
966
1092
  * The next free referendum index, aka the number of referenda started so far.
967
1093
  **/
@@ -969,14 +1095,14 @@ declare module '@polkadot/api-base/types/storage' {
969
1095
  /**
970
1096
  * Information concerning any given referendum.
971
1097
  **/
972
- referendumInfoFor: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletReferendaReferendumInfo>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1098
+ referendumInfoFor: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletReferendaReferendumInfoConvictionVotingTally>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
973
1099
  /**
974
1100
  * The sorted list of referenda ready to be decided but not yet being decided, ordered by
975
1101
  * conviction-weighted approvals.
976
1102
  *
977
1103
  * This should be empty if `DecidingCount` is less than `TrackInfo::max_deciding`.
978
1104
  **/
979
- trackQueue: AugmentedQuery<ApiType, (arg: u8 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[u32, u128]>>>, [u8]> & QueryableStorageEntry<ApiType, [u8]>;
1105
+ trackQueue: AugmentedQuery<ApiType, (arg: u16 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[u32, u128]>>>, [u16]> & QueryableStorageEntry<ApiType, [u16]>;
980
1106
  /**
981
1107
  * Generic query
982
1108
  **/