@polkadot/api-augment 16.4.8 → 16.5.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.
Files changed (37) hide show
  1. package/assetHubKusama/consts.d.ts +598 -4
  2. package/assetHubKusama/errors.d.ts +1278 -49
  3. package/assetHubKusama/events.d.ts +1691 -127
  4. package/assetHubKusama/query.d.ts +1175 -26
  5. package/assetHubKusama/runtime.d.ts +211 -8
  6. package/assetHubKusama/tx.d.ts +6095 -2628
  7. package/cjs/assetHubKusama/consts.d.ts +598 -4
  8. package/cjs/assetHubKusama/errors.d.ts +1278 -49
  9. package/cjs/assetHubKusama/events.d.ts +1691 -127
  10. package/cjs/assetHubKusama/query.d.ts +1175 -26
  11. package/cjs/assetHubKusama/runtime.d.ts +211 -8
  12. package/cjs/assetHubKusama/tx.d.ts +6095 -2628
  13. package/cjs/kusama/consts.d.ts +46 -104
  14. package/cjs/kusama/errors.d.ts +113 -121
  15. package/cjs/kusama/events.d.ts +258 -228
  16. package/cjs/kusama/query.d.ts +211 -104
  17. package/cjs/kusama/tx.d.ts +451 -236
  18. package/cjs/packageInfo.js +1 -1
  19. package/cjs/polkadot/consts.d.ts +40 -2
  20. package/cjs/polkadot/errors.d.ts +113 -0
  21. package/cjs/polkadot/events.d.ts +247 -1
  22. package/cjs/polkadot/query.d.ts +218 -4
  23. package/cjs/polkadot/runtime.d.ts +15 -1
  24. package/cjs/polkadot/tx.d.ts +399 -12
  25. package/kusama/consts.d.ts +46 -104
  26. package/kusama/errors.d.ts +113 -121
  27. package/kusama/events.d.ts +258 -228
  28. package/kusama/query.d.ts +211 -104
  29. package/kusama/tx.d.ts +451 -236
  30. package/package.json +7 -7
  31. package/packageInfo.js +1 -1
  32. package/polkadot/consts.d.ts +40 -2
  33. package/polkadot/errors.d.ts +113 -0
  34. package/polkadot/events.d.ts +247 -1
  35. package/polkadot/query.d.ts +218 -4
  36. package/polkadot/runtime.d.ts +15 -1
  37. package/polkadot/tx.d.ts +399 -12
@@ -2,19 +2,157 @@ import '@polkadot/api-base/types/events';
2
2
  import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types';
3
3
  import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
4
4
  import type { ITuple } from '@polkadot/types-codec/types';
5
- import type { AccountId32, H160, H256, Permill } from '@polkadot/types/interfaces/runtime';
6
- import type { AssetHubKusamaRuntimeProxyType, CumulusPrimitivesCoreAggregateMessageOrigin, FrameSupportMessagesProcessMessageError, FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsPalletAttributes, PalletNftsPriceWithDirection, PalletProxyDepositKind, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, SpRuntimeDispatchError, SpWeightsWeightV2Weight, StagingXcmV4Location, StagingXcmV5AssetAssets, StagingXcmV5Location, StagingXcmV5Response, StagingXcmV5TraitsOutcome, StagingXcmV5Xcm, XcmV3TraitsSendError, XcmV5TraitsError, XcmVersionedAssets, XcmVersionedLocation } from '@polkadot/types/lookup';
5
+ import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
6
+ import type { AccountId32, H160, H256, Perbill, Permill } from '@polkadot/types/interfaces/runtime';
7
+ import type { AssetHubKusamaRuntimeProxyType, AssetHubKusamaRuntimeRuntimeParametersKey, AssetHubKusamaRuntimeRuntimeParametersValue, AssetHubKusamaRuntimeRuntimeTask, CumulusPrimitivesCoreAggregateMessageOrigin, FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, PalletAhMigratorMigrationStage, PalletAhMigratorPalletEventName, PalletBalancesUnexpectedKind, PalletConvictionVotingTally, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiBlockPhase, PalletElectionProviderMultiBlockVerifierFeasibilityError, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsPalletAttributes, PalletNftsPriceWithDirection, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletProxyDepositKind, PalletRcMigratorQueuePriority, PalletRecoveryDepositKind, PalletSocietyGroupParams, PalletStakingAsyncForcing, PalletStakingAsyncPalletUnexpectedKind, PalletStakingAsyncRcClientUnexpectedKind, PalletStakingAsyncRewardDestination, PalletStakingAsyncValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, ParachainsCommonPayVersionedLocatableAccount, PolkadotRuntimeCommonImplsVersionedLocatableAsset, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, StagingXcmV5AssetAssets, StagingXcmV5Location, StagingXcmV5Response, StagingXcmV5TraitsOutcome, StagingXcmV5Xcm, XcmV3TraitsSendError, XcmV5TraitsError, XcmVersionedAssets, XcmVersionedLocation } from '@polkadot/types/lookup';
7
8
  export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
8
9
  declare module '@polkadot/api-base/types/events' {
9
10
  interface AugmentedEvents<ApiType extends ApiTypes> {
11
+ ahMigrator: {
12
+ AccountTranslatedParachainSovereign: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32], {
13
+ from: AccountId32;
14
+ to: AccountId32;
15
+ }>;
16
+ AccountTranslatedParachainSovereignDerived: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32, derivationIndex: u16], {
17
+ from: AccountId32;
18
+ to: AccountId32;
19
+ derivationIndex: u16;
20
+ }>;
21
+ /**
22
+ * The Asset Hub Migration finished.
23
+ *
24
+ * This event is equivalent to `StageTransition { new: MigrationDone, .. }` but is easier
25
+ * to understand. The finishing is immediate and affects all events happening
26
+ * afterwards.
27
+ **/
28
+ AssetHubMigrationFinished: AugmentedEvent<ApiType, []>;
29
+ /**
30
+ * The Asset Hub Migration started and is active until `AssetHubMigrationFinished` is
31
+ * emitted.
32
+ *
33
+ * This event is equivalent to `StageTransition { new: DataMigrationOngoing, .. }` but is
34
+ * easier to understand. The activation is immediate and affects all events happening
35
+ * afterwards.
36
+ **/
37
+ AssetHubMigrationStarted: AugmentedEvent<ApiType, []>;
38
+ /**
39
+ * The balances before the migration were consumed.
40
+ **/
41
+ BalancesBeforeRecordConsumed: AugmentedEvent<ApiType, [checkingAccount: u128, totalIssuance: u128], {
42
+ checkingAccount: u128;
43
+ totalIssuance: u128;
44
+ }>;
45
+ /**
46
+ * The balances before the migration were recorded.
47
+ **/
48
+ BalancesBeforeRecordSet: AugmentedEvent<ApiType, [checkingAccount: u128, totalIssuance: u128], {
49
+ checkingAccount: u128;
50
+ totalIssuance: u128;
51
+ }>;
52
+ /**
53
+ * We processed a batch of messages for this pallet.
54
+ **/
55
+ BatchProcessed: AugmentedEvent<ApiType, [pallet: PalletAhMigratorPalletEventName, countGood: u32, countBad: u32], {
56
+ pallet: PalletAhMigratorPalletEventName;
57
+ countGood: u32;
58
+ countBad: u32;
59
+ }>;
60
+ /**
61
+ * We received a batch of messages that will be integrated into a pallet.
62
+ **/
63
+ BatchReceived: AugmentedEvent<ApiType, [pallet: PalletAhMigratorPalletEventName, count: u32], {
64
+ pallet: PalletAhMigratorPalletEventName;
65
+ count: u32;
66
+ }>;
67
+ /**
68
+ * The DMP queue priority config was set.
69
+ **/
70
+ DmpQueuePriorityConfigSet: AugmentedEvent<ApiType, [old: PalletRcMigratorQueuePriority, new_: PalletRcMigratorQueuePriority], {
71
+ old: PalletRcMigratorQueuePriority;
72
+ new_: PalletRcMigratorQueuePriority;
73
+ }>;
74
+ /**
75
+ * Whether the DMP queue was prioritized for the next block.
76
+ **/
77
+ DmpQueuePrioritySet: AugmentedEvent<ApiType, [prioritized: bool, cycleBlock: u32, cyclePeriod: u32], {
78
+ prioritized: bool;
79
+ cycleBlock: u32;
80
+ cyclePeriod: u32;
81
+ }>;
82
+ /**
83
+ * The manager account id was set.
84
+ **/
85
+ ManagerSet: AugmentedEvent<ApiType, [old: Option<AccountId32>, new_: Option<AccountId32>], {
86
+ old: Option<AccountId32>;
87
+ new_: Option<AccountId32>;
88
+ }>;
89
+ /**
90
+ * A referendum was cancelled because it could not be mapped.
91
+ **/
92
+ ReferendumCanceled: AugmentedEvent<ApiType, [id: u32], {
93
+ id: u32;
94
+ }>;
95
+ /**
96
+ * A stage transition has occurred.
97
+ **/
98
+ StageTransition: AugmentedEvent<ApiType, [old: PalletAhMigratorMigrationStage, new_: PalletAhMigratorMigrationStage], {
99
+ old: PalletAhMigratorMigrationStage;
100
+ new_: PalletAhMigratorMigrationStage;
101
+ }>;
102
+ /**
103
+ * An XCM message was sent.
104
+ **/
105
+ XcmSent: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, destination: StagingXcmV5Location, message: StagingXcmV5Xcm, messageId: U8aFixed], {
106
+ origin: StagingXcmV5Location;
107
+ destination: StagingXcmV5Location;
108
+ message: StagingXcmV5Xcm;
109
+ messageId: U8aFixed;
110
+ }>;
111
+ /**
112
+ * Generic event
113
+ **/
114
+ [key: string]: AugmentedEvent<ApiType>;
115
+ };
116
+ ahOps: {
117
+ /**
118
+ * Some amount for a crowdloan reserve could not be unreserved and needs manual cleanup.
119
+ **/
120
+ CrowdloanUnreserveRemaining: AugmentedEvent<ApiType, [depositor: AccountId32, paraId: u32, remaining: u128], {
121
+ depositor: AccountId32;
122
+ paraId: u32;
123
+ remaining: u128;
124
+ }>;
125
+ /**
126
+ * Some lease reserve could not be unreserved and needs manual cleanup.
127
+ **/
128
+ LeaseUnreserveRemaining: AugmentedEvent<ApiType, [depositor: AccountId32, paraId: u32, remaining: u128], {
129
+ depositor: AccountId32;
130
+ paraId: u32;
131
+ remaining: u128;
132
+ }>;
133
+ /**
134
+ * A sovereign parachain account has been migrated from its child to sibling
135
+ * representation.
136
+ **/
137
+ SovereignMigrated: AugmentedEvent<ApiType, [paraId: u32, from: AccountId32, to: AccountId32, derivationIndex: Option<u16>], {
138
+ paraId: u32;
139
+ from: AccountId32;
140
+ to: AccountId32;
141
+ derivationIndex: Option<u16>;
142
+ }>;
143
+ /**
144
+ * Generic event
145
+ **/
146
+ [key: string]: AugmentedEvent<ApiType>;
147
+ };
10
148
  assetConversion: {
11
149
  /**
12
150
  * A successful call of the `AddLiquidity` extrinsic will create this event.
13
151
  **/
14
- LiquidityAdded: AugmentedEvent<ApiType, [who: AccountId32, mintTo: AccountId32, poolId: ITuple<[StagingXcmV4Location, StagingXcmV4Location]>, amount1Provided: u128, amount2Provided: u128, lpToken: u32, lpTokenMinted: u128], {
152
+ LiquidityAdded: AugmentedEvent<ApiType, [who: AccountId32, mintTo: AccountId32, poolId: ITuple<[StagingXcmV5Location, StagingXcmV5Location]>, amount1Provided: u128, amount2Provided: u128, lpToken: u32, lpTokenMinted: u128], {
15
153
  who: AccountId32;
16
154
  mintTo: AccountId32;
17
- poolId: ITuple<[StagingXcmV4Location, StagingXcmV4Location]>;
155
+ poolId: ITuple<[StagingXcmV5Location, StagingXcmV5Location]>;
18
156
  amount1Provided: u128;
19
157
  amount2Provided: u128;
20
158
  lpToken: u32;
@@ -23,10 +161,10 @@ declare module '@polkadot/api-base/types/events' {
23
161
  /**
24
162
  * A successful call of the `RemoveLiquidity` extrinsic will create this event.
25
163
  **/
26
- LiquidityRemoved: AugmentedEvent<ApiType, [who: AccountId32, withdrawTo: AccountId32, poolId: ITuple<[StagingXcmV4Location, StagingXcmV4Location]>, amount1: u128, amount2: u128, lpToken: u32, lpTokenBurned: u128, withdrawalFee: Permill], {
164
+ LiquidityRemoved: AugmentedEvent<ApiType, [who: AccountId32, withdrawTo: AccountId32, poolId: ITuple<[StagingXcmV5Location, StagingXcmV5Location]>, amount1: u128, amount2: u128, lpToken: u32, lpTokenBurned: u128, withdrawalFee: Permill], {
27
165
  who: AccountId32;
28
166
  withdrawTo: AccountId32;
29
- poolId: ITuple<[StagingXcmV4Location, StagingXcmV4Location]>;
167
+ poolId: ITuple<[StagingXcmV5Location, StagingXcmV5Location]>;
30
168
  amount1: u128;
31
169
  amount2: u128;
32
170
  lpToken: u32;
@@ -36,36 +174,36 @@ declare module '@polkadot/api-base/types/events' {
36
174
  /**
37
175
  * A successful call of the `CreatePool` extrinsic will create this event.
38
176
  **/
39
- PoolCreated: AugmentedEvent<ApiType, [creator: AccountId32, poolId: ITuple<[StagingXcmV4Location, StagingXcmV4Location]>, poolAccount: AccountId32, lpToken: u32], {
177
+ PoolCreated: AugmentedEvent<ApiType, [creator: AccountId32, poolId: ITuple<[StagingXcmV5Location, StagingXcmV5Location]>, poolAccount: AccountId32, lpToken: u32], {
40
178
  creator: AccountId32;
41
- poolId: ITuple<[StagingXcmV4Location, StagingXcmV4Location]>;
179
+ poolId: ITuple<[StagingXcmV5Location, StagingXcmV5Location]>;
42
180
  poolAccount: AccountId32;
43
181
  lpToken: u32;
44
182
  }>;
45
183
  /**
46
184
  * Assets have been converted from one to another.
47
185
  **/
48
- SwapCreditExecuted: AugmentedEvent<ApiType, [amountIn: u128, amountOut: u128, path: Vec<ITuple<[StagingXcmV4Location, u128]>>], {
186
+ SwapCreditExecuted: AugmentedEvent<ApiType, [amountIn: u128, amountOut: u128, path: Vec<ITuple<[StagingXcmV5Location, u128]>>], {
49
187
  amountIn: u128;
50
188
  amountOut: u128;
51
- path: Vec<ITuple<[StagingXcmV4Location, u128]>>;
189
+ path: Vec<ITuple<[StagingXcmV5Location, u128]>>;
52
190
  }>;
53
191
  /**
54
192
  * Assets have been converted from one to another. Both `SwapExactTokenForToken`
55
193
  * and `SwapTokenForExactToken` will generate this event.
56
194
  **/
57
- SwapExecuted: AugmentedEvent<ApiType, [who: AccountId32, sendTo: AccountId32, amountIn: u128, amountOut: u128, path: Vec<ITuple<[StagingXcmV4Location, u128]>>], {
195
+ SwapExecuted: AugmentedEvent<ApiType, [who: AccountId32, sendTo: AccountId32, amountIn: u128, amountOut: u128, path: Vec<ITuple<[StagingXcmV5Location, u128]>>], {
58
196
  who: AccountId32;
59
197
  sendTo: AccountId32;
60
198
  amountIn: u128;
61
199
  amountOut: u128;
62
- path: Vec<ITuple<[StagingXcmV4Location, u128]>>;
200
+ path: Vec<ITuple<[StagingXcmV5Location, u128]>>;
63
201
  }>;
64
202
  /**
65
203
  * Pool has been touched in order to fulfill operational requirements.
66
204
  **/
67
- Touched: AugmentedEvent<ApiType, [poolId: ITuple<[StagingXcmV4Location, StagingXcmV4Location]>, who: AccountId32], {
68
- poolId: ITuple<[StagingXcmV4Location, StagingXcmV4Location]>;
205
+ Touched: AugmentedEvent<ApiType, [poolId: ITuple<[StagingXcmV5Location, StagingXcmV5Location]>, who: AccountId32], {
206
+ poolId: ITuple<[StagingXcmV5Location, StagingXcmV5Location]>;
69
207
  who: AccountId32;
70
208
  }>;
71
209
  /**
@@ -73,6 +211,24 @@ declare module '@polkadot/api-base/types/events' {
73
211
  **/
74
212
  [key: string]: AugmentedEvent<ApiType>;
75
213
  };
214
+ assetRate: {
215
+ AssetRateCreated: AugmentedEvent<ApiType, [assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset, rate: u128], {
216
+ assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset;
217
+ rate: u128;
218
+ }>;
219
+ AssetRateRemoved: AugmentedEvent<ApiType, [assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset], {
220
+ assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset;
221
+ }>;
222
+ AssetRateUpdated: AugmentedEvent<ApiType, [assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset, old: u128, new_: u128], {
223
+ assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset;
224
+ old: u128;
225
+ new_: u128;
226
+ }>;
227
+ /**
228
+ * Generic event
229
+ **/
230
+ [key: string]: AugmentedEvent<ApiType>;
231
+ };
76
232
  assets: {
77
233
  /**
78
234
  * Accounts were destroyed for given asset.
@@ -288,11 +444,11 @@ declare module '@polkadot/api-base/types/events' {
288
444
  * A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee,
289
445
  * has been paid by `who` in an asset `asset_id`.
290
446
  **/
291
- AssetTxFeePaid: AugmentedEvent<ApiType, [who: AccountId32, actualFee: u128, tip: u128, assetId: StagingXcmV4Location], {
447
+ AssetTxFeePaid: AugmentedEvent<ApiType, [who: AccountId32, actualFee: u128, tip: u128, assetId: StagingXcmV5Location], {
292
448
  who: AccountId32;
293
449
  actualFee: u128;
294
450
  tip: u128;
295
- assetId: StagingXcmV4Location;
451
+ assetId: StagingXcmV5Location;
296
452
  }>;
297
453
  /**
298
454
  * Generic event
@@ -429,6 +585,10 @@ declare module '@polkadot/api-base/types/events' {
429
585
  to: AccountId32;
430
586
  amount: u128;
431
587
  }>;
588
+ /**
589
+ * An unexpected/defensive event was triggered.
590
+ **/
591
+ Unexpected: AugmentedEvent<ApiType, [PalletBalancesUnexpectedKind]>;
432
592
  /**
433
593
  * Some balance was unlocked.
434
594
  **/
@@ -461,6 +621,144 @@ declare module '@polkadot/api-base/types/events' {
461
621
  **/
462
622
  [key: string]: AugmentedEvent<ApiType>;
463
623
  };
624
+ bounties: {
625
+ /**
626
+ * A bounty is approved.
627
+ **/
628
+ BountyApproved: AugmentedEvent<ApiType, [index: u32], {
629
+ index: u32;
630
+ }>;
631
+ /**
632
+ * A bounty is awarded to a beneficiary.
633
+ **/
634
+ BountyAwarded: AugmentedEvent<ApiType, [index: u32, beneficiary: AccountId32], {
635
+ index: u32;
636
+ beneficiary: AccountId32;
637
+ }>;
638
+ /**
639
+ * A bounty proposal is funded and became active.
640
+ **/
641
+ BountyBecameActive: AugmentedEvent<ApiType, [index: u32], {
642
+ index: u32;
643
+ }>;
644
+ /**
645
+ * A bounty is cancelled.
646
+ **/
647
+ BountyCanceled: AugmentedEvent<ApiType, [index: u32], {
648
+ index: u32;
649
+ }>;
650
+ /**
651
+ * A bounty is claimed by beneficiary.
652
+ **/
653
+ BountyClaimed: AugmentedEvent<ApiType, [index: u32, payout: u128, beneficiary: AccountId32], {
654
+ index: u32;
655
+ payout: u128;
656
+ beneficiary: AccountId32;
657
+ }>;
658
+ /**
659
+ * A bounty expiry is extended.
660
+ **/
661
+ BountyExtended: AugmentedEvent<ApiType, [index: u32], {
662
+ index: u32;
663
+ }>;
664
+ /**
665
+ * New bounty proposal.
666
+ **/
667
+ BountyProposed: AugmentedEvent<ApiType, [index: u32], {
668
+ index: u32;
669
+ }>;
670
+ /**
671
+ * A bounty proposal was rejected; funds were slashed.
672
+ **/
673
+ BountyRejected: AugmentedEvent<ApiType, [index: u32, bond: u128], {
674
+ index: u32;
675
+ bond: u128;
676
+ }>;
677
+ /**
678
+ * A bounty curator is accepted.
679
+ **/
680
+ CuratorAccepted: AugmentedEvent<ApiType, [bountyId: u32, curator: AccountId32], {
681
+ bountyId: u32;
682
+ curator: AccountId32;
683
+ }>;
684
+ /**
685
+ * A bounty curator is proposed.
686
+ **/
687
+ CuratorProposed: AugmentedEvent<ApiType, [bountyId: u32, curator: AccountId32], {
688
+ bountyId: u32;
689
+ curator: AccountId32;
690
+ }>;
691
+ /**
692
+ * A bounty curator is unassigned.
693
+ **/
694
+ CuratorUnassigned: AugmentedEvent<ApiType, [bountyId: u32], {
695
+ bountyId: u32;
696
+ }>;
697
+ /**
698
+ * A bounty deposit has been poked.
699
+ **/
700
+ DepositPoked: AugmentedEvent<ApiType, [bountyId: u32, proposer: AccountId32, oldDeposit: u128, newDeposit: u128], {
701
+ bountyId: u32;
702
+ proposer: AccountId32;
703
+ oldDeposit: u128;
704
+ newDeposit: u128;
705
+ }>;
706
+ /**
707
+ * Generic event
708
+ **/
709
+ [key: string]: AugmentedEvent<ApiType>;
710
+ };
711
+ childBounties: {
712
+ /**
713
+ * A child-bounty is added.
714
+ **/
715
+ Added: AugmentedEvent<ApiType, [index: u32, childIndex: u32], {
716
+ index: u32;
717
+ childIndex: u32;
718
+ }>;
719
+ /**
720
+ * A child-bounty is awarded to a beneficiary.
721
+ **/
722
+ Awarded: AugmentedEvent<ApiType, [index: u32, childIndex: u32, beneficiary: AccountId32], {
723
+ index: u32;
724
+ childIndex: u32;
725
+ beneficiary: AccountId32;
726
+ }>;
727
+ /**
728
+ * A child-bounty is cancelled.
729
+ **/
730
+ Canceled: AugmentedEvent<ApiType, [index: u32, childIndex: u32], {
731
+ index: u32;
732
+ childIndex: u32;
733
+ }>;
734
+ /**
735
+ * A child-bounty is claimed by beneficiary.
736
+ **/
737
+ Claimed: AugmentedEvent<ApiType, [index: u32, childIndex: u32, payout: u128, beneficiary: AccountId32], {
738
+ index: u32;
739
+ childIndex: u32;
740
+ payout: u128;
741
+ beneficiary: AccountId32;
742
+ }>;
743
+ /**
744
+ * Generic event
745
+ **/
746
+ [key: string]: AugmentedEvent<ApiType>;
747
+ };
748
+ claims: {
749
+ /**
750
+ * Someone claimed some DOTs.
751
+ **/
752
+ Claimed: AugmentedEvent<ApiType, [who: AccountId32, ethereumAddress: EthereumAddress, amount: u128], {
753
+ who: AccountId32;
754
+ ethereumAddress: EthereumAddress;
755
+ amount: u128;
756
+ }>;
757
+ /**
758
+ * Generic event
759
+ **/
760
+ [key: string]: AugmentedEvent<ApiType>;
761
+ };
464
762
  collatorSelection: {
465
763
  /**
466
764
  * A new candidate joined.
@@ -532,6 +830,41 @@ declare module '@polkadot/api-base/types/events' {
532
830
  **/
533
831
  [key: string]: AugmentedEvent<ApiType>;
534
832
  };
833
+ convictionVoting: {
834
+ /**
835
+ * An account has delegated their vote to another account. \[who, target\]
836
+ **/
837
+ Delegated: AugmentedEvent<ApiType, [AccountId32, AccountId32]>;
838
+ /**
839
+ * An \[account\] has cancelled a previous delegation operation.
840
+ **/
841
+ Undelegated: AugmentedEvent<ApiType, [AccountId32]>;
842
+ /**
843
+ * An account has voted
844
+ **/
845
+ Voted: AugmentedEvent<ApiType, [who: AccountId32, vote: PalletConvictionVotingVoteAccountVote], {
846
+ who: AccountId32;
847
+ vote: PalletConvictionVotingVoteAccountVote;
848
+ }>;
849
+ /**
850
+ * A vote has been removed
851
+ **/
852
+ VoteRemoved: AugmentedEvent<ApiType, [who: AccountId32, vote: PalletConvictionVotingVoteAccountVote], {
853
+ who: AccountId32;
854
+ vote: PalletConvictionVotingVoteAccountVote;
855
+ }>;
856
+ /**
857
+ * The lockup period of a conviction vote expired, and the funds have been unlocked.
858
+ **/
859
+ VoteUnlocked: AugmentedEvent<ApiType, [who: AccountId32, class_: u16], {
860
+ who: AccountId32;
861
+ class: u16;
862
+ }>;
863
+ /**
864
+ * Generic event
865
+ **/
866
+ [key: string]: AugmentedEvent<ApiType>;
867
+ };
535
868
  cumulusXcm: {
536
869
  /**
537
870
  * Downward message executed with the given outcome.
@@ -553,36 +886,74 @@ declare module '@polkadot/api-base/types/events' {
553
886
  **/
554
887
  [key: string]: AugmentedEvent<ApiType>;
555
888
  };
889
+ delegatedStaking: {
890
+ /**
891
+ * Funds delegated by a delegator.
892
+ **/
893
+ Delegated: AugmentedEvent<ApiType, [agent: AccountId32, delegator: AccountId32, amount: u128], {
894
+ agent: AccountId32;
895
+ delegator: AccountId32;
896
+ amount: u128;
897
+ }>;
898
+ /**
899
+ * Unclaimed delegation funds migrated to delegator.
900
+ **/
901
+ MigratedDelegation: AugmentedEvent<ApiType, [agent: AccountId32, delegator: AccountId32, amount: u128], {
902
+ agent: AccountId32;
903
+ delegator: AccountId32;
904
+ amount: u128;
905
+ }>;
906
+ /**
907
+ * Funds released to a delegator.
908
+ **/
909
+ Released: AugmentedEvent<ApiType, [agent: AccountId32, delegator: AccountId32, amount: u128], {
910
+ agent: AccountId32;
911
+ delegator: AccountId32;
912
+ amount: u128;
913
+ }>;
914
+ /**
915
+ * Funds slashed from a delegator.
916
+ **/
917
+ Slashed: AugmentedEvent<ApiType, [agent: AccountId32, delegator: AccountId32, amount: u128], {
918
+ agent: AccountId32;
919
+ delegator: AccountId32;
920
+ amount: u128;
921
+ }>;
922
+ /**
923
+ * Generic event
924
+ **/
925
+ [key: string]: AugmentedEvent<ApiType>;
926
+ };
556
927
  foreignAssets: {
557
928
  /**
558
929
  * Accounts were destroyed for given asset.
559
930
  **/
560
- AccountsDestroyed: AugmentedEvent<ApiType, [assetId: StagingXcmV4Location, accountsDestroyed: u32, accountsRemaining: u32], {
561
- assetId: StagingXcmV4Location;
931
+ AccountsDestroyed: AugmentedEvent<ApiType, [assetId: StagingXcmV5Location, accountsDestroyed: u32, accountsRemaining: u32], {
932
+ assetId: StagingXcmV5Location;
562
933
  accountsDestroyed: u32;
563
934
  accountsRemaining: u32;
564
935
  }>;
565
936
  /**
566
937
  * An approval for account `delegate` was cancelled by `owner`.
567
938
  **/
568
- ApprovalCancelled: AugmentedEvent<ApiType, [assetId: StagingXcmV4Location, owner: AccountId32, delegate: AccountId32], {
569
- assetId: StagingXcmV4Location;
939
+ ApprovalCancelled: AugmentedEvent<ApiType, [assetId: StagingXcmV5Location, owner: AccountId32, delegate: AccountId32], {
940
+ assetId: StagingXcmV5Location;
570
941
  owner: AccountId32;
571
942
  delegate: AccountId32;
572
943
  }>;
573
944
  /**
574
945
  * Approvals were destroyed for given asset.
575
946
  **/
576
- ApprovalsDestroyed: AugmentedEvent<ApiType, [assetId: StagingXcmV4Location, approvalsDestroyed: u32, approvalsRemaining: u32], {
577
- assetId: StagingXcmV4Location;
947
+ ApprovalsDestroyed: AugmentedEvent<ApiType, [assetId: StagingXcmV5Location, approvalsDestroyed: u32, approvalsRemaining: u32], {
948
+ assetId: StagingXcmV5Location;
578
949
  approvalsDestroyed: u32;
579
950
  approvalsRemaining: u32;
580
951
  }>;
581
952
  /**
582
953
  * (Additional) funds have been approved for transfer to a destination account.
583
954
  **/
584
- ApprovedTransfer: AugmentedEvent<ApiType, [assetId: StagingXcmV4Location, source: AccountId32, delegate: AccountId32, amount: u128], {
585
- assetId: StagingXcmV4Location;
955
+ ApprovedTransfer: AugmentedEvent<ApiType, [assetId: StagingXcmV5Location, source: AccountId32, delegate: AccountId32, amount: u128], {
956
+ assetId: StagingXcmV5Location;
586
957
  source: AccountId32;
587
958
  delegate: AccountId32;
588
959
  amount: u128;
@@ -590,104 +961,104 @@ declare module '@polkadot/api-base/types/events' {
590
961
  /**
591
962
  * Some asset `asset_id` was frozen.
592
963
  **/
593
- AssetFrozen: AugmentedEvent<ApiType, [assetId: StagingXcmV4Location], {
594
- assetId: StagingXcmV4Location;
964
+ AssetFrozen: AugmentedEvent<ApiType, [assetId: StagingXcmV5Location], {
965
+ assetId: StagingXcmV5Location;
595
966
  }>;
596
967
  /**
597
968
  * The min_balance of an asset has been updated by the asset owner.
598
969
  **/
599
- AssetMinBalanceChanged: AugmentedEvent<ApiType, [assetId: StagingXcmV4Location, newMinBalance: u128], {
600
- assetId: StagingXcmV4Location;
970
+ AssetMinBalanceChanged: AugmentedEvent<ApiType, [assetId: StagingXcmV5Location, newMinBalance: u128], {
971
+ assetId: StagingXcmV5Location;
601
972
  newMinBalance: u128;
602
973
  }>;
603
974
  /**
604
975
  * An asset has had its attributes changed by the `Force` origin.
605
976
  **/
606
- AssetStatusChanged: AugmentedEvent<ApiType, [assetId: StagingXcmV4Location], {
607
- assetId: StagingXcmV4Location;
977
+ AssetStatusChanged: AugmentedEvent<ApiType, [assetId: StagingXcmV5Location], {
978
+ assetId: StagingXcmV5Location;
608
979
  }>;
609
980
  /**
610
981
  * Some asset `asset_id` was thawed.
611
982
  **/
612
- AssetThawed: AugmentedEvent<ApiType, [assetId: StagingXcmV4Location], {
613
- assetId: StagingXcmV4Location;
983
+ AssetThawed: AugmentedEvent<ApiType, [assetId: StagingXcmV5Location], {
984
+ assetId: StagingXcmV5Location;
614
985
  }>;
615
986
  /**
616
987
  * Some account `who` was blocked.
617
988
  **/
618
- Blocked: AugmentedEvent<ApiType, [assetId: StagingXcmV4Location, who: AccountId32], {
619
- assetId: StagingXcmV4Location;
989
+ Blocked: AugmentedEvent<ApiType, [assetId: StagingXcmV5Location, who: AccountId32], {
990
+ assetId: StagingXcmV5Location;
620
991
  who: AccountId32;
621
992
  }>;
622
993
  /**
623
994
  * Some assets were destroyed.
624
995
  **/
625
- Burned: AugmentedEvent<ApiType, [assetId: StagingXcmV4Location, owner: AccountId32, balance: u128], {
626
- assetId: StagingXcmV4Location;
996
+ Burned: AugmentedEvent<ApiType, [assetId: StagingXcmV5Location, owner: AccountId32, balance: u128], {
997
+ assetId: StagingXcmV5Location;
627
998
  owner: AccountId32;
628
999
  balance: u128;
629
1000
  }>;
630
1001
  /**
631
1002
  * Some asset class was created.
632
1003
  **/
633
- Created: AugmentedEvent<ApiType, [assetId: StagingXcmV4Location, creator: AccountId32, owner: AccountId32], {
634
- assetId: StagingXcmV4Location;
1004
+ Created: AugmentedEvent<ApiType, [assetId: StagingXcmV5Location, creator: AccountId32, owner: AccountId32], {
1005
+ assetId: StagingXcmV5Location;
635
1006
  creator: AccountId32;
636
1007
  owner: AccountId32;
637
1008
  }>;
638
1009
  /**
639
1010
  * Some assets were deposited (e.g. for transaction fees).
640
1011
  **/
641
- Deposited: AugmentedEvent<ApiType, [assetId: StagingXcmV4Location, who: AccountId32, amount: u128], {
642
- assetId: StagingXcmV4Location;
1012
+ Deposited: AugmentedEvent<ApiType, [assetId: StagingXcmV5Location, who: AccountId32, amount: u128], {
1013
+ assetId: StagingXcmV5Location;
643
1014
  who: AccountId32;
644
1015
  amount: u128;
645
1016
  }>;
646
1017
  /**
647
1018
  * An asset class was destroyed.
648
1019
  **/
649
- Destroyed: AugmentedEvent<ApiType, [assetId: StagingXcmV4Location], {
650
- assetId: StagingXcmV4Location;
1020
+ Destroyed: AugmentedEvent<ApiType, [assetId: StagingXcmV5Location], {
1021
+ assetId: StagingXcmV5Location;
651
1022
  }>;
652
1023
  /**
653
1024
  * An asset class is in the process of being destroyed.
654
1025
  **/
655
- DestructionStarted: AugmentedEvent<ApiType, [assetId: StagingXcmV4Location], {
656
- assetId: StagingXcmV4Location;
1026
+ DestructionStarted: AugmentedEvent<ApiType, [assetId: StagingXcmV5Location], {
1027
+ assetId: StagingXcmV5Location;
657
1028
  }>;
658
1029
  /**
659
1030
  * Some asset class was force-created.
660
1031
  **/
661
- ForceCreated: AugmentedEvent<ApiType, [assetId: StagingXcmV4Location, owner: AccountId32], {
662
- assetId: StagingXcmV4Location;
1032
+ ForceCreated: AugmentedEvent<ApiType, [assetId: StagingXcmV5Location, owner: AccountId32], {
1033
+ assetId: StagingXcmV5Location;
663
1034
  owner: AccountId32;
664
1035
  }>;
665
1036
  /**
666
1037
  * Some account `who` was frozen.
667
1038
  **/
668
- Frozen: AugmentedEvent<ApiType, [assetId: StagingXcmV4Location, who: AccountId32], {
669
- assetId: StagingXcmV4Location;
1039
+ Frozen: AugmentedEvent<ApiType, [assetId: StagingXcmV5Location, who: AccountId32], {
1040
+ assetId: StagingXcmV5Location;
670
1041
  who: AccountId32;
671
1042
  }>;
672
1043
  /**
673
1044
  * Some assets were issued.
674
1045
  **/
675
- Issued: AugmentedEvent<ApiType, [assetId: StagingXcmV4Location, owner: AccountId32, amount: u128], {
676
- assetId: StagingXcmV4Location;
1046
+ Issued: AugmentedEvent<ApiType, [assetId: StagingXcmV5Location, owner: AccountId32, amount: u128], {
1047
+ assetId: StagingXcmV5Location;
677
1048
  owner: AccountId32;
678
1049
  amount: u128;
679
1050
  }>;
680
1051
  /**
681
1052
  * Metadata has been cleared for an asset.
682
1053
  **/
683
- MetadataCleared: AugmentedEvent<ApiType, [assetId: StagingXcmV4Location], {
684
- assetId: StagingXcmV4Location;
1054
+ MetadataCleared: AugmentedEvent<ApiType, [assetId: StagingXcmV5Location], {
1055
+ assetId: StagingXcmV5Location;
685
1056
  }>;
686
1057
  /**
687
1058
  * New metadata has been set for an asset.
688
1059
  **/
689
- MetadataSet: AugmentedEvent<ApiType, [assetId: StagingXcmV4Location, name: Bytes, symbol_: Bytes, decimals: u8, isFrozen: bool], {
690
- assetId: StagingXcmV4Location;
1060
+ MetadataSet: AugmentedEvent<ApiType, [assetId: StagingXcmV5Location, name: Bytes, symbol_: Bytes, decimals: u8, isFrozen: bool], {
1061
+ assetId: StagingXcmV5Location;
691
1062
  name: Bytes;
692
1063
  symbol: Bytes;
693
1064
  decimals: u8;
@@ -696,15 +1067,15 @@ declare module '@polkadot/api-base/types/events' {
696
1067
  /**
697
1068
  * The owner changed.
698
1069
  **/
699
- OwnerChanged: AugmentedEvent<ApiType, [assetId: StagingXcmV4Location, owner: AccountId32], {
700
- assetId: StagingXcmV4Location;
1070
+ OwnerChanged: AugmentedEvent<ApiType, [assetId: StagingXcmV5Location, owner: AccountId32], {
1071
+ assetId: StagingXcmV5Location;
701
1072
  owner: AccountId32;
702
1073
  }>;
703
1074
  /**
704
1075
  * The management team changed.
705
1076
  **/
706
- TeamChanged: AugmentedEvent<ApiType, [assetId: StagingXcmV4Location, issuer: AccountId32, admin: AccountId32, freezer: AccountId32], {
707
- assetId: StagingXcmV4Location;
1077
+ TeamChanged: AugmentedEvent<ApiType, [assetId: StagingXcmV5Location, issuer: AccountId32, admin: AccountId32, freezer: AccountId32], {
1078
+ assetId: StagingXcmV5Location;
708
1079
  issuer: AccountId32;
709
1080
  admin: AccountId32;
710
1081
  freezer: AccountId32;
@@ -712,23 +1083,23 @@ declare module '@polkadot/api-base/types/events' {
712
1083
  /**
713
1084
  * Some account `who` was thawed.
714
1085
  **/
715
- Thawed: AugmentedEvent<ApiType, [assetId: StagingXcmV4Location, who: AccountId32], {
716
- assetId: StagingXcmV4Location;
1086
+ Thawed: AugmentedEvent<ApiType, [assetId: StagingXcmV5Location, who: AccountId32], {
1087
+ assetId: StagingXcmV5Location;
717
1088
  who: AccountId32;
718
1089
  }>;
719
1090
  /**
720
1091
  * Some account `who` was created with a deposit from `depositor`.
721
1092
  **/
722
- Touched: AugmentedEvent<ApiType, [assetId: StagingXcmV4Location, who: AccountId32, depositor: AccountId32], {
723
- assetId: StagingXcmV4Location;
1093
+ Touched: AugmentedEvent<ApiType, [assetId: StagingXcmV5Location, who: AccountId32, depositor: AccountId32], {
1094
+ assetId: StagingXcmV5Location;
724
1095
  who: AccountId32;
725
1096
  depositor: AccountId32;
726
1097
  }>;
727
1098
  /**
728
1099
  * Some assets were transferred.
729
1100
  **/
730
- Transferred: AugmentedEvent<ApiType, [assetId: StagingXcmV4Location, from: AccountId32, to: AccountId32, amount: u128], {
731
- assetId: StagingXcmV4Location;
1101
+ Transferred: AugmentedEvent<ApiType, [assetId: StagingXcmV5Location, from: AccountId32, to: AccountId32, amount: u128], {
1102
+ assetId: StagingXcmV5Location;
732
1103
  from: AccountId32;
733
1104
  to: AccountId32;
734
1105
  amount: u128;
@@ -737,8 +1108,8 @@ declare module '@polkadot/api-base/types/events' {
737
1108
  * An `amount` was transferred in its entirety from `owner` to `destination` by
738
1109
  * the approved `delegate`.
739
1110
  **/
740
- TransferredApproved: AugmentedEvent<ApiType, [assetId: StagingXcmV4Location, owner: AccountId32, delegate: AccountId32, destination: AccountId32, amount: u128], {
741
- assetId: StagingXcmV4Location;
1111
+ TransferredApproved: AugmentedEvent<ApiType, [assetId: StagingXcmV5Location, owner: AccountId32, delegate: AccountId32, destination: AccountId32, amount: u128], {
1112
+ assetId: StagingXcmV5Location;
742
1113
  owner: AccountId32;
743
1114
  delegate: AccountId32;
744
1115
  destination: AccountId32;
@@ -747,8 +1118,8 @@ declare module '@polkadot/api-base/types/events' {
747
1118
  /**
748
1119
  * Some assets were withdrawn from the account (e.g. for transaction fees).
749
1120
  **/
750
- Withdrawn: AugmentedEvent<ApiType, [assetId: StagingXcmV4Location, who: AccountId32, amount: u128], {
751
- assetId: StagingXcmV4Location;
1121
+ Withdrawn: AugmentedEvent<ApiType, [assetId: StagingXcmV5Location, who: AccountId32, amount: u128], {
1122
+ assetId: StagingXcmV5Location;
752
1123
  who: AccountId32;
753
1124
  amount: u128;
754
1125
  }>;
@@ -757,6 +1128,41 @@ declare module '@polkadot/api-base/types/events' {
757
1128
  **/
758
1129
  [key: string]: AugmentedEvent<ApiType>;
759
1130
  };
1131
+ indices: {
1132
+ /**
1133
+ * A deposit to reserve an index has been poked/reconsidered.
1134
+ **/
1135
+ DepositPoked: AugmentedEvent<ApiType, [who: AccountId32, index: u32, oldDeposit: u128, newDeposit: u128], {
1136
+ who: AccountId32;
1137
+ index: u32;
1138
+ oldDeposit: u128;
1139
+ newDeposit: u128;
1140
+ }>;
1141
+ /**
1142
+ * A account index was assigned.
1143
+ **/
1144
+ IndexAssigned: AugmentedEvent<ApiType, [who: AccountId32, index: u32], {
1145
+ who: AccountId32;
1146
+ index: u32;
1147
+ }>;
1148
+ /**
1149
+ * A account index has been freed up (unassigned).
1150
+ **/
1151
+ IndexFreed: AugmentedEvent<ApiType, [index: u32], {
1152
+ index: u32;
1153
+ }>;
1154
+ /**
1155
+ * A account index has been frozen to its current account ID.
1156
+ **/
1157
+ IndexFrozen: AugmentedEvent<ApiType, [index: u32, who: AccountId32], {
1158
+ index: u32;
1159
+ who: AccountId32;
1160
+ }>;
1161
+ /**
1162
+ * Generic event
1163
+ **/
1164
+ [key: string]: AugmentedEvent<ApiType>;
1165
+ };
760
1166
  messageQueue: {
761
1167
  /**
762
1168
  * Message placed in overweight queue.
@@ -796,27 +1202,166 @@ declare module '@polkadot/api-base/types/events' {
796
1202
  **/
797
1203
  [key: string]: AugmentedEvent<ApiType>;
798
1204
  };
799
- multisig: {
1205
+ multiBlockElection: {
800
1206
  /**
801
- * The deposit for a multisig operation has been updated/poked.
1207
+ * A phase transition happened. Only checks major changes in the variants, not minor inner
1208
+ * values.
802
1209
  **/
803
- DepositPoked: AugmentedEvent<ApiType, [who: AccountId32, callHash: U8aFixed, oldDeposit: u128, newDeposit: u128], {
804
- who: AccountId32;
805
- callHash: U8aFixed;
806
- oldDeposit: u128;
807
- newDeposit: u128;
1210
+ PhaseTransitioned: AugmentedEvent<ApiType, [from: PalletElectionProviderMultiBlockPhase, to: PalletElectionProviderMultiBlockPhase], {
1211
+ from: PalletElectionProviderMultiBlockPhase;
1212
+ to: PalletElectionProviderMultiBlockPhase;
808
1213
  }>;
809
1214
  /**
810
- * A multisig operation has been approved by someone.
1215
+ * Target snapshot creation failed
811
1216
  **/
812
- MultisigApproval: AugmentedEvent<ApiType, [approving: AccountId32, timepoint: PalletMultisigTimepoint, multisig: AccountId32, callHash: U8aFixed], {
813
- approving: AccountId32;
814
- timepoint: PalletMultisigTimepoint;
815
- multisig: AccountId32;
816
- callHash: U8aFixed;
817
- }>;
1217
+ UnexpectedTargetSnapshotFailed: AugmentedEvent<ApiType, []>;
818
1218
  /**
819
- * A multisig operation has been cancelled.
1219
+ * Voter snapshot creation failed
1220
+ **/
1221
+ UnexpectedVoterSnapshotFailed: AugmentedEvent<ApiType, []>;
1222
+ /**
1223
+ * Generic event
1224
+ **/
1225
+ [key: string]: AugmentedEvent<ApiType>;
1226
+ };
1227
+ multiBlockElectionSigned: {
1228
+ /**
1229
+ * The given account has bailed.
1230
+ **/
1231
+ Bailed: AugmentedEvent<ApiType, [u32, AccountId32]>;
1232
+ /**
1233
+ * The given account has been discarded.
1234
+ **/
1235
+ Discarded: AugmentedEvent<ApiType, [u32, AccountId32]>;
1236
+ /**
1237
+ * The given solution, for the given round, was ejected.
1238
+ **/
1239
+ Ejected: AugmentedEvent<ApiType, [u32, AccountId32]>;
1240
+ /**
1241
+ * Upcoming submission has been registered for the given account, with the given score.
1242
+ **/
1243
+ Registered: AugmentedEvent<ApiType, [u32, AccountId32, SpNposElectionsElectionScore]>;
1244
+ /**
1245
+ * The given account has been rewarded with the given amount.
1246
+ **/
1247
+ Rewarded: AugmentedEvent<ApiType, [u32, AccountId32, u128]>;
1248
+ /**
1249
+ * The given account has been slashed with the given amount.
1250
+ **/
1251
+ Slashed: AugmentedEvent<ApiType, [u32, AccountId32, u128]>;
1252
+ /**
1253
+ * A page of solution solution with the given index has been stored for the given account.
1254
+ **/
1255
+ Stored: AugmentedEvent<ApiType, [u32, AccountId32, u32]>;
1256
+ /**
1257
+ * Generic event
1258
+ **/
1259
+ [key: string]: AugmentedEvent<ApiType>;
1260
+ };
1261
+ multiBlockElectionVerifier: {
1262
+ /**
1263
+ * A solution with the given score has replaced our current best solution.
1264
+ **/
1265
+ Queued: AugmentedEvent<ApiType, [SpNposElectionsElectionScore, Option<SpNposElectionsElectionScore>]>;
1266
+ /**
1267
+ * A verification failed at the given page.
1268
+ *
1269
+ * NOTE: if the index is 0, then this could mean either the feasibility of the last page
1270
+ * was wrong, or the final checks of `finalize_verification` failed.
1271
+ **/
1272
+ VerificationFailed: AugmentedEvent<ApiType, [u32, PalletElectionProviderMultiBlockVerifierFeasibilityError]>;
1273
+ /**
1274
+ * The given page of a solution has been verified, with the given number of winners being
1275
+ * found in it.
1276
+ **/
1277
+ Verified: AugmentedEvent<ApiType, [u32, u32]>;
1278
+ /**
1279
+ * Generic event
1280
+ **/
1281
+ [key: string]: AugmentedEvent<ApiType>;
1282
+ };
1283
+ multiBlockMigrations: {
1284
+ /**
1285
+ * The set of historical migrations has been cleared.
1286
+ **/
1287
+ HistoricCleared: AugmentedEvent<ApiType, [nextCursor: Option<Bytes>], {
1288
+ nextCursor: Option<Bytes>;
1289
+ }>;
1290
+ /**
1291
+ * A migration progressed.
1292
+ **/
1293
+ MigrationAdvanced: AugmentedEvent<ApiType, [index: u32, took: u32], {
1294
+ index: u32;
1295
+ took: u32;
1296
+ }>;
1297
+ /**
1298
+ * A Migration completed.
1299
+ **/
1300
+ MigrationCompleted: AugmentedEvent<ApiType, [index: u32, took: u32], {
1301
+ index: u32;
1302
+ took: u32;
1303
+ }>;
1304
+ /**
1305
+ * A Migration failed.
1306
+ *
1307
+ * This implies that the whole upgrade failed and governance intervention is required.
1308
+ **/
1309
+ MigrationFailed: AugmentedEvent<ApiType, [index: u32, took: u32], {
1310
+ index: u32;
1311
+ took: u32;
1312
+ }>;
1313
+ /**
1314
+ * A migration was skipped since it was already executed in the past.
1315
+ **/
1316
+ MigrationSkipped: AugmentedEvent<ApiType, [index: u32], {
1317
+ index: u32;
1318
+ }>;
1319
+ /**
1320
+ * The current runtime upgrade completed.
1321
+ *
1322
+ * This implies that all of its migrations completed successfully as well.
1323
+ **/
1324
+ UpgradeCompleted: AugmentedEvent<ApiType, []>;
1325
+ /**
1326
+ * Runtime upgrade failed.
1327
+ *
1328
+ * This is very bad and will require governance intervention.
1329
+ **/
1330
+ UpgradeFailed: AugmentedEvent<ApiType, []>;
1331
+ /**
1332
+ * A Runtime upgrade started.
1333
+ *
1334
+ * Its end is indicated by `UpgradeCompleted` or `UpgradeFailed`.
1335
+ **/
1336
+ UpgradeStarted: AugmentedEvent<ApiType, [migrations: u32], {
1337
+ migrations: u32;
1338
+ }>;
1339
+ /**
1340
+ * Generic event
1341
+ **/
1342
+ [key: string]: AugmentedEvent<ApiType>;
1343
+ };
1344
+ multisig: {
1345
+ /**
1346
+ * The deposit for a multisig operation has been updated/poked.
1347
+ **/
1348
+ DepositPoked: AugmentedEvent<ApiType, [who: AccountId32, callHash: U8aFixed, oldDeposit: u128, newDeposit: u128], {
1349
+ who: AccountId32;
1350
+ callHash: U8aFixed;
1351
+ oldDeposit: u128;
1352
+ newDeposit: u128;
1353
+ }>;
1354
+ /**
1355
+ * A multisig operation has been approved by someone.
1356
+ **/
1357
+ MultisigApproval: AugmentedEvent<ApiType, [approving: AccountId32, timepoint: PalletMultisigTimepoint, multisig: AccountId32, callHash: U8aFixed], {
1358
+ approving: AccountId32;
1359
+ timepoint: PalletMultisigTimepoint;
1360
+ multisig: AccountId32;
1361
+ callHash: U8aFixed;
1362
+ }>;
1363
+ /**
1364
+ * A multisig operation has been cancelled.
820
1365
  **/
821
1366
  MultisigCancelled: AugmentedEvent<ApiType, [cancelling: AccountId32, timepoint: PalletMultisigTimepoint, multisig: AccountId32, callHash: U8aFixed], {
822
1367
  cancelling: AccountId32;
@@ -1189,6 +1734,208 @@ declare module '@polkadot/api-base/types/events' {
1189
1734
  **/
1190
1735
  [key: string]: AugmentedEvent<ApiType>;
1191
1736
  };
1737
+ nominationPools: {
1738
+ /**
1739
+ * A member has became bonded in a pool.
1740
+ **/
1741
+ Bonded: AugmentedEvent<ApiType, [member: AccountId32, poolId: u32, bonded: u128, joined: bool], {
1742
+ member: AccountId32;
1743
+ poolId: u32;
1744
+ bonded: u128;
1745
+ joined: bool;
1746
+ }>;
1747
+ /**
1748
+ * A pool has been created.
1749
+ **/
1750
+ Created: AugmentedEvent<ApiType, [depositor: AccountId32, poolId: u32], {
1751
+ depositor: AccountId32;
1752
+ poolId: u32;
1753
+ }>;
1754
+ /**
1755
+ * A pool has been destroyed.
1756
+ **/
1757
+ Destroyed: AugmentedEvent<ApiType, [poolId: u32], {
1758
+ poolId: u32;
1759
+ }>;
1760
+ /**
1761
+ * Global parameters regulating nomination pools have been updated.
1762
+ **/
1763
+ GlobalParamsUpdated: AugmentedEvent<ApiType, [minJoinBond: u128, minCreateBond: u128, maxPools: Option<u32>, maxMembers: Option<u32>, maxMembersPerPool: Option<u32>, globalMaxCommission: Option<Perbill>], {
1764
+ minJoinBond: u128;
1765
+ minCreateBond: u128;
1766
+ maxPools: Option<u32>;
1767
+ maxMembers: Option<u32>;
1768
+ maxMembersPerPool: Option<u32>;
1769
+ globalMaxCommission: Option<Perbill>;
1770
+ }>;
1771
+ /**
1772
+ * A pool member's claim permission has been updated.
1773
+ **/
1774
+ MemberClaimPermissionUpdated: AugmentedEvent<ApiType, [member: AccountId32, permission: PalletNominationPoolsClaimPermission], {
1775
+ member: AccountId32;
1776
+ permission: PalletNominationPoolsClaimPermission;
1777
+ }>;
1778
+ /**
1779
+ * A member has been removed from a pool.
1780
+ *
1781
+ * The removal can be voluntary (withdrawn all unbonded funds) or involuntary (kicked).
1782
+ * Any funds that are still delegated (i.e. dangling delegation) are released and are
1783
+ * represented by `released_balance`.
1784
+ **/
1785
+ MemberRemoved: AugmentedEvent<ApiType, [poolId: u32, member: AccountId32, releasedBalance: u128], {
1786
+ poolId: u32;
1787
+ member: AccountId32;
1788
+ releasedBalance: u128;
1789
+ }>;
1790
+ /**
1791
+ * A pool's metadata was updated.
1792
+ **/
1793
+ MetadataUpdated: AugmentedEvent<ApiType, [poolId: u32, caller: AccountId32], {
1794
+ poolId: u32;
1795
+ caller: AccountId32;
1796
+ }>;
1797
+ /**
1798
+ * Topped up deficit in frozen ED of the reward pool.
1799
+ **/
1800
+ MinBalanceDeficitAdjusted: AugmentedEvent<ApiType, [poolId: u32, amount: u128], {
1801
+ poolId: u32;
1802
+ amount: u128;
1803
+ }>;
1804
+ /**
1805
+ * Claimed excess frozen ED of af the reward pool.
1806
+ **/
1807
+ MinBalanceExcessAdjusted: AugmentedEvent<ApiType, [poolId: u32, amount: u128], {
1808
+ poolId: u32;
1809
+ amount: u128;
1810
+ }>;
1811
+ /**
1812
+ * A payout has been made to a member.
1813
+ **/
1814
+ PaidOut: AugmentedEvent<ApiType, [member: AccountId32, poolId: u32, payout: u128], {
1815
+ member: AccountId32;
1816
+ poolId: u32;
1817
+ payout: u128;
1818
+ }>;
1819
+ /**
1820
+ * A pool's commission `change_rate` has been changed.
1821
+ **/
1822
+ PoolCommissionChangeRateUpdated: AugmentedEvent<ApiType, [poolId: u32, changeRate: PalletNominationPoolsCommissionChangeRate], {
1823
+ poolId: u32;
1824
+ changeRate: PalletNominationPoolsCommissionChangeRate;
1825
+ }>;
1826
+ /**
1827
+ * Pool commission has been claimed.
1828
+ **/
1829
+ PoolCommissionClaimed: AugmentedEvent<ApiType, [poolId: u32, commission: u128], {
1830
+ poolId: u32;
1831
+ commission: u128;
1832
+ }>;
1833
+ /**
1834
+ * Pool commission claim permission has been updated.
1835
+ **/
1836
+ PoolCommissionClaimPermissionUpdated: AugmentedEvent<ApiType, [poolId: u32, permission: Option<PalletNominationPoolsCommissionClaimPermission>], {
1837
+ poolId: u32;
1838
+ permission: Option<PalletNominationPoolsCommissionClaimPermission>;
1839
+ }>;
1840
+ /**
1841
+ * A pool's commission setting has been changed.
1842
+ **/
1843
+ PoolCommissionUpdated: AugmentedEvent<ApiType, [poolId: u32, current: Option<ITuple<[Perbill, AccountId32]>>], {
1844
+ poolId: u32;
1845
+ current: Option<ITuple<[Perbill, AccountId32]>>;
1846
+ }>;
1847
+ /**
1848
+ * A pool's maximum commission setting has been changed.
1849
+ **/
1850
+ PoolMaxCommissionUpdated: AugmentedEvent<ApiType, [poolId: u32, maxCommission: Perbill], {
1851
+ poolId: u32;
1852
+ maxCommission: Perbill;
1853
+ }>;
1854
+ /**
1855
+ * A pool's nominating account (or the pool's root account) has nominated a validator set
1856
+ * on behalf of the pool.
1857
+ **/
1858
+ PoolNominationMade: AugmentedEvent<ApiType, [poolId: u32, caller: AccountId32], {
1859
+ poolId: u32;
1860
+ caller: AccountId32;
1861
+ }>;
1862
+ /**
1863
+ * The pool is chilled i.e. no longer nominating.
1864
+ **/
1865
+ PoolNominatorChilled: AugmentedEvent<ApiType, [poolId: u32, caller: AccountId32], {
1866
+ poolId: u32;
1867
+ caller: AccountId32;
1868
+ }>;
1869
+ /**
1870
+ * The active balance of pool `pool_id` has been slashed to `balance`.
1871
+ **/
1872
+ PoolSlashed: AugmentedEvent<ApiType, [poolId: u32, balance: u128], {
1873
+ poolId: u32;
1874
+ balance: u128;
1875
+ }>;
1876
+ /**
1877
+ * The roles of a pool have been updated to the given new roles. Note that the depositor
1878
+ * can never change.
1879
+ **/
1880
+ RolesUpdated: AugmentedEvent<ApiType, [root: Option<AccountId32>, bouncer: Option<AccountId32>, nominator: Option<AccountId32>], {
1881
+ root: Option<AccountId32>;
1882
+ bouncer: Option<AccountId32>;
1883
+ nominator: Option<AccountId32>;
1884
+ }>;
1885
+ /**
1886
+ * The state of a pool has changed
1887
+ **/
1888
+ StateChanged: AugmentedEvent<ApiType, [poolId: u32, newState: PalletNominationPoolsPoolState], {
1889
+ poolId: u32;
1890
+ newState: PalletNominationPoolsPoolState;
1891
+ }>;
1892
+ /**
1893
+ * A member has unbonded from their pool.
1894
+ *
1895
+ * - `balance` is the corresponding balance of the number of points that has been
1896
+ * requested to be unbonded (the argument of the `unbond` transaction) from the bonded
1897
+ * pool.
1898
+ * - `points` is the number of points that are issued as a result of `balance` being
1899
+ * dissolved into the corresponding unbonding pool.
1900
+ * - `era` is the era in which the balance will be unbonded.
1901
+ * In the absence of slashing, these values will match. In the presence of slashing, the
1902
+ * number of points that are issued in the unbonding pool will be less than the amount
1903
+ * requested to be unbonded.
1904
+ **/
1905
+ Unbonded: AugmentedEvent<ApiType, [member: AccountId32, poolId: u32, balance: u128, points: u128, era: u32], {
1906
+ member: AccountId32;
1907
+ poolId: u32;
1908
+ balance: u128;
1909
+ points: u128;
1910
+ era: u32;
1911
+ }>;
1912
+ /**
1913
+ * The unbond pool at `era` of pool `pool_id` has been slashed to `balance`.
1914
+ **/
1915
+ UnbondingPoolSlashed: AugmentedEvent<ApiType, [poolId: u32, era: u32, balance: u128], {
1916
+ poolId: u32;
1917
+ era: u32;
1918
+ balance: u128;
1919
+ }>;
1920
+ /**
1921
+ * A member has withdrawn from their pool.
1922
+ *
1923
+ * The given number of `points` have been dissolved in return of `balance`.
1924
+ *
1925
+ * Similar to `Unbonded` event, in the absence of slashing, the ratio of point to balance
1926
+ * will be 1.
1927
+ **/
1928
+ Withdrawn: AugmentedEvent<ApiType, [member: AccountId32, poolId: u32, balance: u128, points: u128], {
1929
+ member: AccountId32;
1930
+ poolId: u32;
1931
+ balance: u128;
1932
+ points: u128;
1933
+ }>;
1934
+ /**
1935
+ * Generic event
1936
+ **/
1937
+ [key: string]: AugmentedEvent<ApiType>;
1938
+ };
1192
1939
  parachainSystem: {
1193
1940
  /**
1194
1941
  * Downward messages were processed using the given weight.
@@ -1228,6 +1975,22 @@ declare module '@polkadot/api-base/types/events' {
1228
1975
  **/
1229
1976
  [key: string]: AugmentedEvent<ApiType>;
1230
1977
  };
1978
+ parameters: {
1979
+ /**
1980
+ * A Parameter was set.
1981
+ *
1982
+ * Is also emitted when the value was not changed.
1983
+ **/
1984
+ Updated: AugmentedEvent<ApiType, [key: AssetHubKusamaRuntimeRuntimeParametersKey, oldValue: Option<AssetHubKusamaRuntimeRuntimeParametersValue>, newValue: Option<AssetHubKusamaRuntimeRuntimeParametersValue>], {
1985
+ key: AssetHubKusamaRuntimeRuntimeParametersKey;
1986
+ oldValue: Option<AssetHubKusamaRuntimeRuntimeParametersValue>;
1987
+ newValue: Option<AssetHubKusamaRuntimeRuntimeParametersValue>;
1988
+ }>;
1989
+ /**
1990
+ * Generic event
1991
+ **/
1992
+ [key: string]: AugmentedEvent<ApiType>;
1993
+ };
1231
1994
  polkadotXcm: {
1232
1995
  /**
1233
1996
  * `target` removed alias authorization for `aliaser`.
@@ -1693,6 +2456,30 @@ declare module '@polkadot/api-base/types/events' {
1693
2456
  **/
1694
2457
  [key: string]: AugmentedEvent<ApiType>;
1695
2458
  };
2459
+ preimage: {
2460
+ /**
2461
+ * A preimage has ben cleared.
2462
+ **/
2463
+ Cleared: AugmentedEvent<ApiType, [hash_: H256], {
2464
+ hash_: H256;
2465
+ }>;
2466
+ /**
2467
+ * A preimage has been noted.
2468
+ **/
2469
+ Noted: AugmentedEvent<ApiType, [hash_: H256], {
2470
+ hash_: H256;
2471
+ }>;
2472
+ /**
2473
+ * A preimage has been requested.
2474
+ **/
2475
+ Requested: AugmentedEvent<ApiType, [hash_: H256], {
2476
+ hash_: H256;
2477
+ }>;
2478
+ /**
2479
+ * Generic event
2480
+ **/
2481
+ [key: string]: AugmentedEvent<ApiType>;
2482
+ };
1696
2483
  proxy: {
1697
2484
  /**
1698
2485
  * An announcement was placed to make a call in the future.
@@ -1746,82 +2533,705 @@ declare module '@polkadot/api-base/types/events' {
1746
2533
  disambiguationIndex: u16;
1747
2534
  }>;
1748
2535
  /**
1749
- * Generic event
1750
- **/
1751
- [key: string]: AugmentedEvent<ApiType>;
1752
- };
1753
- revive: {
1754
- /**
1755
- * A custom event emitted by the contract.
2536
+ * A pure proxy was killed by its spawner.
1756
2537
  **/
1757
- ContractEmitted: AugmentedEvent<ApiType, [contract: H160, data: Bytes, topics: Vec<H256>], {
1758
- contract: H160;
1759
- data: Bytes;
1760
- topics: Vec<H256>;
2538
+ PureKilled: AugmentedEvent<ApiType, [pure: AccountId32, spawner: AccountId32, proxyType: AssetHubKusamaRuntimeProxyType, disambiguationIndex: u16], {
2539
+ pure: AccountId32;
2540
+ spawner: AccountId32;
2541
+ proxyType: AssetHubKusamaRuntimeProxyType;
2542
+ disambiguationIndex: u16;
1761
2543
  }>;
1762
2544
  /**
1763
2545
  * Generic event
1764
2546
  **/
1765
2547
  [key: string]: AugmentedEvent<ApiType>;
1766
2548
  };
1767
- session: {
2549
+ recovery: {
1768
2550
  /**
1769
- * New session has happened. Note that the argument is the session index, not the
1770
- * block number as the type might suggest.
2551
+ * Lost account has been successfully recovered by rescuer account.
1771
2552
  **/
1772
- NewSession: AugmentedEvent<ApiType, [sessionIndex: u32], {
1773
- sessionIndex: u32;
2553
+ AccountRecovered: AugmentedEvent<ApiType, [lostAccount: AccountId32, rescuerAccount: AccountId32], {
2554
+ lostAccount: AccountId32;
2555
+ rescuerAccount: AccountId32;
1774
2556
  }>;
1775
2557
  /**
1776
- * Validator has been disabled.
2558
+ * A deposit has been updated.
1777
2559
  **/
1778
- ValidatorDisabled: AugmentedEvent<ApiType, [validator: AccountId32], {
1779
- validator: AccountId32;
2560
+ DepositPoked: AugmentedEvent<ApiType, [who: AccountId32, kind: PalletRecoveryDepositKind, oldDeposit: u128, newDeposit: u128], {
2561
+ who: AccountId32;
2562
+ kind: PalletRecoveryDepositKind;
2563
+ oldDeposit: u128;
2564
+ newDeposit: u128;
1780
2565
  }>;
1781
2566
  /**
1782
- * Validator has been re-enabled.
2567
+ * A recovery process for lost account by rescuer account has been closed.
1783
2568
  **/
1784
- ValidatorReenabled: AugmentedEvent<ApiType, [validator: AccountId32], {
1785
- validator: AccountId32;
2569
+ RecoveryClosed: AugmentedEvent<ApiType, [lostAccount: AccountId32, rescuerAccount: AccountId32], {
2570
+ lostAccount: AccountId32;
2571
+ rescuerAccount: AccountId32;
1786
2572
  }>;
1787
2573
  /**
1788
- * Generic event
1789
- **/
1790
- [key: string]: AugmentedEvent<ApiType>;
1791
- };
1792
- stateTrieMigration: {
1793
- /**
1794
- * The auto migration task finished.
2574
+ * A recovery process has been set up for an account.
1795
2575
  **/
1796
- AutoMigrationFinished: AugmentedEvent<ApiType, []>;
2576
+ RecoveryCreated: AugmentedEvent<ApiType, [account: AccountId32], {
2577
+ account: AccountId32;
2578
+ }>;
1797
2579
  /**
1798
- * Migration got halted due to an error or miss-configuration.
2580
+ * A recovery process has been initiated for lost account by rescuer account.
1799
2581
  **/
1800
- Halted: AugmentedEvent<ApiType, [error: PalletStateTrieMigrationError], {
1801
- error: PalletStateTrieMigrationError;
2582
+ RecoveryInitiated: AugmentedEvent<ApiType, [lostAccount: AccountId32, rescuerAccount: AccountId32], {
2583
+ lostAccount: AccountId32;
2584
+ rescuerAccount: AccountId32;
1802
2585
  }>;
1803
2586
  /**
1804
- * Given number of `(top, child)` keys were migrated respectively, with the given
1805
- * `compute`.
2587
+ * A recovery process has been removed for an account.
1806
2588
  **/
1807
- Migrated: AugmentedEvent<ApiType, [top: u32, child: u32, compute: PalletStateTrieMigrationMigrationCompute], {
1808
- top: u32;
1809
- child: u32;
1810
- compute: PalletStateTrieMigrationMigrationCompute;
2589
+ RecoveryRemoved: AugmentedEvent<ApiType, [lostAccount: AccountId32], {
2590
+ lostAccount: AccountId32;
1811
2591
  }>;
1812
2592
  /**
1813
- * Some account got slashed by the given amount.
2593
+ * A recovery process for lost account by rescuer account has been vouched for by sender.
1814
2594
  **/
1815
- Slashed: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
1816
- who: AccountId32;
1817
- amount: u128;
2595
+ RecoveryVouched: AugmentedEvent<ApiType, [lostAccount: AccountId32, rescuerAccount: AccountId32, sender: AccountId32], {
2596
+ lostAccount: AccountId32;
2597
+ rescuerAccount: AccountId32;
2598
+ sender: AccountId32;
1818
2599
  }>;
1819
2600
  /**
1820
2601
  * Generic event
1821
2602
  **/
1822
2603
  [key: string]: AugmentedEvent<ApiType>;
1823
2604
  };
1824
- system: {
2605
+ referenda: {
2606
+ /**
2607
+ * A referendum has been approved and its proposal has been scheduled.
2608
+ **/
2609
+ Approved: AugmentedEvent<ApiType, [index: u32], {
2610
+ index: u32;
2611
+ }>;
2612
+ /**
2613
+ * A referendum has been cancelled.
2614
+ **/
2615
+ Cancelled: AugmentedEvent<ApiType, [index: u32, tally: PalletConvictionVotingTally], {
2616
+ index: u32;
2617
+ tally: PalletConvictionVotingTally;
2618
+ }>;
2619
+ ConfirmAborted: AugmentedEvent<ApiType, [index: u32], {
2620
+ index: u32;
2621
+ }>;
2622
+ /**
2623
+ * A referendum has ended its confirmation phase and is ready for approval.
2624
+ **/
2625
+ Confirmed: AugmentedEvent<ApiType, [index: u32, tally: PalletConvictionVotingTally], {
2626
+ index: u32;
2627
+ tally: PalletConvictionVotingTally;
2628
+ }>;
2629
+ ConfirmStarted: AugmentedEvent<ApiType, [index: u32], {
2630
+ index: u32;
2631
+ }>;
2632
+ /**
2633
+ * The decision deposit has been placed.
2634
+ **/
2635
+ DecisionDepositPlaced: AugmentedEvent<ApiType, [index: u32, who: AccountId32, amount: u128], {
2636
+ index: u32;
2637
+ who: AccountId32;
2638
+ amount: u128;
2639
+ }>;
2640
+ /**
2641
+ * The decision deposit has been refunded.
2642
+ **/
2643
+ DecisionDepositRefunded: AugmentedEvent<ApiType, [index: u32, who: AccountId32, amount: u128], {
2644
+ index: u32;
2645
+ who: AccountId32;
2646
+ amount: u128;
2647
+ }>;
2648
+ /**
2649
+ * A referendum has moved into the deciding phase.
2650
+ **/
2651
+ DecisionStarted: AugmentedEvent<ApiType, [index: u32, track: u16, proposal: FrameSupportPreimagesBounded, tally: PalletConvictionVotingTally], {
2652
+ index: u32;
2653
+ track: u16;
2654
+ proposal: FrameSupportPreimagesBounded;
2655
+ tally: PalletConvictionVotingTally;
2656
+ }>;
2657
+ /**
2658
+ * A deposit has been slashed.
2659
+ **/
2660
+ DepositSlashed: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
2661
+ who: AccountId32;
2662
+ amount: u128;
2663
+ }>;
2664
+ /**
2665
+ * A referendum has been killed.
2666
+ **/
2667
+ Killed: AugmentedEvent<ApiType, [index: u32, tally: PalletConvictionVotingTally], {
2668
+ index: u32;
2669
+ tally: PalletConvictionVotingTally;
2670
+ }>;
2671
+ /**
2672
+ * Metadata for a referendum has been cleared.
2673
+ **/
2674
+ MetadataCleared: AugmentedEvent<ApiType, [index: u32, hash_: H256], {
2675
+ index: u32;
2676
+ hash_: H256;
2677
+ }>;
2678
+ /**
2679
+ * Metadata for a referendum has been set.
2680
+ **/
2681
+ MetadataSet: AugmentedEvent<ApiType, [index: u32, hash_: H256], {
2682
+ index: u32;
2683
+ hash_: H256;
2684
+ }>;
2685
+ /**
2686
+ * A proposal has been rejected by referendum.
2687
+ **/
2688
+ Rejected: AugmentedEvent<ApiType, [index: u32, tally: PalletConvictionVotingTally], {
2689
+ index: u32;
2690
+ tally: PalletConvictionVotingTally;
2691
+ }>;
2692
+ /**
2693
+ * The submission deposit has been refunded.
2694
+ **/
2695
+ SubmissionDepositRefunded: AugmentedEvent<ApiType, [index: u32, who: AccountId32, amount: u128], {
2696
+ index: u32;
2697
+ who: AccountId32;
2698
+ amount: u128;
2699
+ }>;
2700
+ /**
2701
+ * A referendum has been submitted.
2702
+ **/
2703
+ Submitted: AugmentedEvent<ApiType, [index: u32, track: u16, proposal: FrameSupportPreimagesBounded], {
2704
+ index: u32;
2705
+ track: u16;
2706
+ proposal: FrameSupportPreimagesBounded;
2707
+ }>;
2708
+ /**
2709
+ * A referendum has been timed out without being decided.
2710
+ **/
2711
+ TimedOut: AugmentedEvent<ApiType, [index: u32, tally: PalletConvictionVotingTally], {
2712
+ index: u32;
2713
+ tally: PalletConvictionVotingTally;
2714
+ }>;
2715
+ /**
2716
+ * Generic event
2717
+ **/
2718
+ [key: string]: AugmentedEvent<ApiType>;
2719
+ };
2720
+ revive: {
2721
+ /**
2722
+ * A custom event emitted by the contract.
2723
+ **/
2724
+ ContractEmitted: AugmentedEvent<ApiType, [contract: H160, data: Bytes, topics: Vec<H256>], {
2725
+ contract: H160;
2726
+ data: Bytes;
2727
+ topics: Vec<H256>;
2728
+ }>;
2729
+ /**
2730
+ * Contract deployed by deployer at the specified address.
2731
+ **/
2732
+ Instantiated: AugmentedEvent<ApiType, [deployer: H160, contract: H160], {
2733
+ deployer: H160;
2734
+ contract: H160;
2735
+ }>;
2736
+ /**
2737
+ * Generic event
2738
+ **/
2739
+ [key: string]: AugmentedEvent<ApiType>;
2740
+ };
2741
+ scheduler: {
2742
+ /**
2743
+ * Agenda is incomplete from `when`.
2744
+ **/
2745
+ AgendaIncomplete: AugmentedEvent<ApiType, [when: u32], {
2746
+ when: u32;
2747
+ }>;
2748
+ /**
2749
+ * The call for the provided hash was not found so the task has been aborted.
2750
+ **/
2751
+ CallUnavailable: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<U8aFixed>], {
2752
+ task: ITuple<[u32, u32]>;
2753
+ id: Option<U8aFixed>;
2754
+ }>;
2755
+ /**
2756
+ * Canceled some task.
2757
+ **/
2758
+ Canceled: AugmentedEvent<ApiType, [when: u32, index: u32], {
2759
+ when: u32;
2760
+ index: u32;
2761
+ }>;
2762
+ /**
2763
+ * Dispatched some task.
2764
+ **/
2765
+ Dispatched: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<U8aFixed>, result: Result<Null, SpRuntimeDispatchError>], {
2766
+ task: ITuple<[u32, u32]>;
2767
+ id: Option<U8aFixed>;
2768
+ result: Result<Null, SpRuntimeDispatchError>;
2769
+ }>;
2770
+ /**
2771
+ * The given task was unable to be renewed since the agenda is full at that block.
2772
+ **/
2773
+ PeriodicFailed: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<U8aFixed>], {
2774
+ task: ITuple<[u32, u32]>;
2775
+ id: Option<U8aFixed>;
2776
+ }>;
2777
+ /**
2778
+ * The given task can never be executed since it is overweight.
2779
+ **/
2780
+ PermanentlyOverweight: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<U8aFixed>], {
2781
+ task: ITuple<[u32, u32]>;
2782
+ id: Option<U8aFixed>;
2783
+ }>;
2784
+ /**
2785
+ * Cancel a retry configuration for some task.
2786
+ **/
2787
+ RetryCancelled: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<U8aFixed>], {
2788
+ task: ITuple<[u32, u32]>;
2789
+ id: Option<U8aFixed>;
2790
+ }>;
2791
+ /**
2792
+ * The given task was unable to be retried since the agenda is full at that block or there
2793
+ * was not enough weight to reschedule it.
2794
+ **/
2795
+ RetryFailed: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<U8aFixed>], {
2796
+ task: ITuple<[u32, u32]>;
2797
+ id: Option<U8aFixed>;
2798
+ }>;
2799
+ /**
2800
+ * Set a retry configuration for some task.
2801
+ **/
2802
+ RetrySet: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<U8aFixed>, period: u32, retries: u8], {
2803
+ task: ITuple<[u32, u32]>;
2804
+ id: Option<U8aFixed>;
2805
+ period: u32;
2806
+ retries: u8;
2807
+ }>;
2808
+ /**
2809
+ * Scheduled some task.
2810
+ **/
2811
+ Scheduled: AugmentedEvent<ApiType, [when: u32, index: u32], {
2812
+ when: u32;
2813
+ index: u32;
2814
+ }>;
2815
+ /**
2816
+ * Generic event
2817
+ **/
2818
+ [key: string]: AugmentedEvent<ApiType>;
2819
+ };
2820
+ session: {
2821
+ /**
2822
+ * The `NewSession` event in the current block also implies a new validator set to be
2823
+ * queued.
2824
+ **/
2825
+ NewQueued: AugmentedEvent<ApiType, []>;
2826
+ /**
2827
+ * New session has happened. Note that the argument is the session index, not the
2828
+ * block number as the type might suggest.
2829
+ **/
2830
+ NewSession: AugmentedEvent<ApiType, [sessionIndex: u32], {
2831
+ sessionIndex: u32;
2832
+ }>;
2833
+ /**
2834
+ * Validator has been disabled.
2835
+ **/
2836
+ ValidatorDisabled: AugmentedEvent<ApiType, [validator: AccountId32], {
2837
+ validator: AccountId32;
2838
+ }>;
2839
+ /**
2840
+ * Validator has been re-enabled.
2841
+ **/
2842
+ ValidatorReenabled: AugmentedEvent<ApiType, [validator: AccountId32], {
2843
+ validator: AccountId32;
2844
+ }>;
2845
+ /**
2846
+ * Generic event
2847
+ **/
2848
+ [key: string]: AugmentedEvent<ApiType>;
2849
+ };
2850
+ society: {
2851
+ /**
2852
+ * A candidate was dropped (due to an excess of bids in the system).
2853
+ **/
2854
+ AutoUnbid: AugmentedEvent<ApiType, [candidate: AccountId32], {
2855
+ candidate: AccountId32;
2856
+ }>;
2857
+ /**
2858
+ * A membership bid just happened. The given account is the candidate's ID and their offer
2859
+ * is the second.
2860
+ **/
2861
+ Bid: AugmentedEvent<ApiType, [candidateId: AccountId32, offer: u128], {
2862
+ candidateId: AccountId32;
2863
+ offer: u128;
2864
+ }>;
2865
+ /**
2866
+ * A candidate has been suspended
2867
+ **/
2868
+ CandidateSuspended: AugmentedEvent<ApiType, [candidate: AccountId32], {
2869
+ candidate: AccountId32;
2870
+ }>;
2871
+ /**
2872
+ * A member has been challenged
2873
+ **/
2874
+ Challenged: AugmentedEvent<ApiType, [member: AccountId32], {
2875
+ member: AccountId32;
2876
+ }>;
2877
+ /**
2878
+ * A vote has been placed for a defending member
2879
+ **/
2880
+ DefenderVote: AugmentedEvent<ApiType, [voter: AccountId32, vote: bool], {
2881
+ voter: AccountId32;
2882
+ vote: bool;
2883
+ }>;
2884
+ /**
2885
+ * Some funds were deposited into the society account.
2886
+ **/
2887
+ Deposit: AugmentedEvent<ApiType, [value: u128], {
2888
+ value: u128;
2889
+ }>;
2890
+ /**
2891
+ * A deposit was poked / adjusted.
2892
+ **/
2893
+ DepositPoked: AugmentedEvent<ApiType, [who: AccountId32, oldDeposit: u128, newDeposit: u128], {
2894
+ who: AccountId32;
2895
+ oldDeposit: u128;
2896
+ newDeposit: u128;
2897
+ }>;
2898
+ /**
2899
+ * A \[member\] got elevated to \[rank\].
2900
+ **/
2901
+ Elevated: AugmentedEvent<ApiType, [member: AccountId32, rank: u32], {
2902
+ member: AccountId32;
2903
+ rank: u32;
2904
+ }>;
2905
+ /**
2906
+ * The society is founded by the given identity.
2907
+ **/
2908
+ Founded: AugmentedEvent<ApiType, [founder: AccountId32], {
2909
+ founder: AccountId32;
2910
+ }>;
2911
+ /**
2912
+ * A group of candidates have been inducted. The batch's primary is the first value, the
2913
+ * batch in full is the second.
2914
+ **/
2915
+ Inducted: AugmentedEvent<ApiType, [primary: AccountId32, candidates: Vec<AccountId32>], {
2916
+ primary: AccountId32;
2917
+ candidates: Vec<AccountId32>;
2918
+ }>;
2919
+ /**
2920
+ * A member has been suspended
2921
+ **/
2922
+ MemberSuspended: AugmentedEvent<ApiType, [member: AccountId32], {
2923
+ member: AccountId32;
2924
+ }>;
2925
+ /**
2926
+ * A new set of \[params\] has been set for the group.
2927
+ **/
2928
+ NewParams: AugmentedEvent<ApiType, [params: PalletSocietyGroupParams], {
2929
+ params: PalletSocietyGroupParams;
2930
+ }>;
2931
+ /**
2932
+ * A suspended member has been judged.
2933
+ **/
2934
+ SuspendedMemberJudgement: AugmentedEvent<ApiType, [who: AccountId32, judged: bool], {
2935
+ who: AccountId32;
2936
+ judged: bool;
2937
+ }>;
2938
+ /**
2939
+ * A candidate was dropped (by their request).
2940
+ **/
2941
+ Unbid: AugmentedEvent<ApiType, [candidate: AccountId32], {
2942
+ candidate: AccountId32;
2943
+ }>;
2944
+ /**
2945
+ * Society is unfounded.
2946
+ **/
2947
+ Unfounded: AugmentedEvent<ApiType, [founder: AccountId32], {
2948
+ founder: AccountId32;
2949
+ }>;
2950
+ /**
2951
+ * A candidate was dropped (by request of who vouched for them).
2952
+ **/
2953
+ Unvouch: AugmentedEvent<ApiType, [candidate: AccountId32], {
2954
+ candidate: AccountId32;
2955
+ }>;
2956
+ /**
2957
+ * A vote has been placed
2958
+ **/
2959
+ Vote: AugmentedEvent<ApiType, [candidate: AccountId32, voter: AccountId32, vote: bool], {
2960
+ candidate: AccountId32;
2961
+ voter: AccountId32;
2962
+ vote: bool;
2963
+ }>;
2964
+ /**
2965
+ * A membership bid just happened by vouching. The given account is the candidate's ID and
2966
+ * their offer is the second. The vouching party is the third.
2967
+ **/
2968
+ Vouch: AugmentedEvent<ApiType, [candidateId: AccountId32, offer: u128, vouching: AccountId32], {
2969
+ candidateId: AccountId32;
2970
+ offer: u128;
2971
+ vouching: AccountId32;
2972
+ }>;
2973
+ /**
2974
+ * Generic event
2975
+ **/
2976
+ [key: string]: AugmentedEvent<ApiType>;
2977
+ };
2978
+ staking: {
2979
+ /**
2980
+ * An account has bonded this amount. \[stash, amount\]
2981
+ *
2982
+ * NOTE: This event is only emitted when funds are bonded via a dispatchable. Notably,
2983
+ * it will not be emitted for staking rewards when they are added to stake.
2984
+ **/
2985
+ Bonded: AugmentedEvent<ApiType, [stash: AccountId32, amount: u128], {
2986
+ stash: AccountId32;
2987
+ amount: u128;
2988
+ }>;
2989
+ /**
2990
+ * An account has stopped participating as either a validator or nominator.
2991
+ **/
2992
+ Chilled: AugmentedEvent<ApiType, [stash: AccountId32], {
2993
+ stash: AccountId32;
2994
+ }>;
2995
+ /**
2996
+ * Report of a controller batch deprecation.
2997
+ **/
2998
+ ControllerBatchDeprecated: AugmentedEvent<ApiType, [failures: u32], {
2999
+ failures: u32;
3000
+ }>;
3001
+ /**
3002
+ * Staking balance migrated from locks to holds, with any balance that could not be held
3003
+ * is force withdrawn.
3004
+ **/
3005
+ CurrencyMigrated: AugmentedEvent<ApiType, [stash: AccountId32, forceWithdraw: u128], {
3006
+ stash: AccountId32;
3007
+ forceWithdraw: u128;
3008
+ }>;
3009
+ /**
3010
+ * The era payout has been set; the first balance is the validator-payout; the second is
3011
+ * the remainder from the maximum amount of reward.
3012
+ **/
3013
+ EraPaid: AugmentedEvent<ApiType, [eraIndex: u32, validatorPayout: u128, remainder: u128], {
3014
+ eraIndex: u32;
3015
+ validatorPayout: u128;
3016
+ remainder: u128;
3017
+ }>;
3018
+ /**
3019
+ * An old era with the given index was pruned.
3020
+ **/
3021
+ EraPruned: AugmentedEvent<ApiType, [index: u32], {
3022
+ index: u32;
3023
+ }>;
3024
+ ForceEra: AugmentedEvent<ApiType, [mode: PalletStakingAsyncForcing], {
3025
+ mode: PalletStakingAsyncForcing;
3026
+ }>;
3027
+ /**
3028
+ * A nominator has been kicked from a validator.
3029
+ **/
3030
+ Kicked: AugmentedEvent<ApiType, [nominator: AccountId32, stash: AccountId32], {
3031
+ nominator: AccountId32;
3032
+ stash: AccountId32;
3033
+ }>;
3034
+ /**
3035
+ * An offence for the given validator, for the given percentage of their stake, at the
3036
+ * given era as been reported.
3037
+ **/
3038
+ OffenceReported: AugmentedEvent<ApiType, [offenceEra: u32, validator: AccountId32, fraction: Perbill], {
3039
+ offenceEra: u32;
3040
+ validator: AccountId32;
3041
+ fraction: Perbill;
3042
+ }>;
3043
+ /**
3044
+ * An offence was reported that was too old to be processed, and thus was dropped.
3045
+ **/
3046
+ OffenceTooOld: AugmentedEvent<ApiType, [offenceEra: u32, validator: AccountId32, fraction: Perbill], {
3047
+ offenceEra: u32;
3048
+ validator: AccountId32;
3049
+ fraction: Perbill;
3050
+ }>;
3051
+ /**
3052
+ * An old slashing report from a prior era was discarded because it could
3053
+ * not be processed.
3054
+ **/
3055
+ OldSlashingReportDiscarded: AugmentedEvent<ApiType, [sessionIndex: u32], {
3056
+ sessionIndex: u32;
3057
+ }>;
3058
+ /**
3059
+ * A page from a multi-page election was fetched. A number of these are followed by
3060
+ * `StakersElected`.
3061
+ *
3062
+ * `Ok(count)` indicates the give number of stashes were added.
3063
+ * `Err(index)` indicates that the stashes after index were dropped.
3064
+ * `Err(0)` indicates that an error happened but no stashes were dropped nor added.
3065
+ *
3066
+ * The error indicates that a number of validators were dropped due to excess size, but
3067
+ * the overall election will continue.
3068
+ **/
3069
+ PagedElectionProceeded: AugmentedEvent<ApiType, [page: u32, result: Result<u32, u32>], {
3070
+ page: u32;
3071
+ result: Result<u32, u32>;
3072
+ }>;
3073
+ /**
3074
+ * A Page of stakers rewards are getting paid. `next` is `None` if all pages are claimed.
3075
+ **/
3076
+ PayoutStarted: AugmentedEvent<ApiType, [eraIndex: u32, validatorStash: AccountId32, page: u32, next: Option<u32>], {
3077
+ eraIndex: u32;
3078
+ validatorStash: AccountId32;
3079
+ page: u32;
3080
+ next: Option<u32>;
3081
+ }>;
3082
+ /**
3083
+ * The nominator has been rewarded by this amount to this destination.
3084
+ **/
3085
+ Rewarded: AugmentedEvent<ApiType, [stash: AccountId32, dest: PalletStakingAsyncRewardDestination, amount: u128], {
3086
+ stash: AccountId32;
3087
+ dest: PalletStakingAsyncRewardDestination;
3088
+ amount: u128;
3089
+ }>;
3090
+ /**
3091
+ * Session change has been triggered.
3092
+ *
3093
+ * If planned_era is one era ahead of active_era, it implies new era is being planned and
3094
+ * election is ongoing.
3095
+ **/
3096
+ SessionRotated: AugmentedEvent<ApiType, [startingSession: u32, activeEra: u32, plannedEra: u32], {
3097
+ startingSession: u32;
3098
+ activeEra: u32;
3099
+ plannedEra: u32;
3100
+ }>;
3101
+ /**
3102
+ * An unapplied slash has been cancelled.
3103
+ **/
3104
+ SlashCancelled: AugmentedEvent<ApiType, [slashEra: u32, validator: AccountId32], {
3105
+ slashEra: u32;
3106
+ validator: AccountId32;
3107
+ }>;
3108
+ /**
3109
+ * An offence has been processed and the corresponding slash has been computed.
3110
+ **/
3111
+ SlashComputed: AugmentedEvent<ApiType, [offenceEra: u32, slashEra: u32, offender: AccountId32, page: u32], {
3112
+ offenceEra: u32;
3113
+ slashEra: u32;
3114
+ offender: AccountId32;
3115
+ page: u32;
3116
+ }>;
3117
+ /**
3118
+ * A staker (validator or nominator) has been slashed by the given amount.
3119
+ **/
3120
+ Slashed: AugmentedEvent<ApiType, [staker: AccountId32, amount: u128], {
3121
+ staker: AccountId32;
3122
+ amount: u128;
3123
+ }>;
3124
+ /**
3125
+ * Targets size limit reached.
3126
+ **/
3127
+ SnapshotTargetsSizeExceeded: AugmentedEvent<ApiType, [size_: u32], {
3128
+ size_: u32;
3129
+ }>;
3130
+ /**
3131
+ * Voters size limit reached.
3132
+ **/
3133
+ SnapshotVotersSizeExceeded: AugmentedEvent<ApiType, [size_: u32], {
3134
+ size_: u32;
3135
+ }>;
3136
+ /**
3137
+ * A subsequent event of `Withdrawn`, indicating that `stash` was fully removed from the
3138
+ * system.
3139
+ **/
3140
+ StakerRemoved: AugmentedEvent<ApiType, [stash: AccountId32], {
3141
+ stash: AccountId32;
3142
+ }>;
3143
+ /**
3144
+ * An account has unbonded this amount.
3145
+ **/
3146
+ Unbonded: AugmentedEvent<ApiType, [stash: AccountId32, amount: u128], {
3147
+ stash: AccountId32;
3148
+ amount: u128;
3149
+ }>;
3150
+ /**
3151
+ * Something occurred that should never happen under normal operation.
3152
+ * Logged as an event for fail-safe observability.
3153
+ **/
3154
+ Unexpected: AugmentedEvent<ApiType, [PalletStakingAsyncPalletUnexpectedKind]>;
3155
+ /**
3156
+ * A validator has set their preferences.
3157
+ **/
3158
+ ValidatorPrefsSet: AugmentedEvent<ApiType, [stash: AccountId32, prefs: PalletStakingAsyncValidatorPrefs], {
3159
+ stash: AccountId32;
3160
+ prefs: PalletStakingAsyncValidatorPrefs;
3161
+ }>;
3162
+ /**
3163
+ * An account has called `withdraw_unbonded` and removed unbonding chunks worth `Balance`
3164
+ * from the unlocking queue.
3165
+ **/
3166
+ Withdrawn: AugmentedEvent<ApiType, [stash: AccountId32, amount: u128], {
3167
+ stash: AccountId32;
3168
+ amount: u128;
3169
+ }>;
3170
+ /**
3171
+ * Generic event
3172
+ **/
3173
+ [key: string]: AugmentedEvent<ApiType>;
3174
+ };
3175
+ stakingRcClient: {
3176
+ /**
3177
+ * A new offence was reported.
3178
+ **/
3179
+ OffenceReceived: AugmentedEvent<ApiType, [slashSession: u32, offencesCount: u32], {
3180
+ slashSession: u32;
3181
+ offencesCount: u32;
3182
+ }>;
3183
+ /**
3184
+ * A said session report was received.
3185
+ **/
3186
+ SessionReportReceived: AugmentedEvent<ApiType, [endIndex: u32, activationTimestamp: Option<ITuple<[u64, u32]>>, validatorPointsCounts: u32, leftover: bool], {
3187
+ endIndex: u32;
3188
+ activationTimestamp: Option<ITuple<[u64, u32]>>;
3189
+ validatorPointsCounts: u32;
3190
+ leftover: bool;
3191
+ }>;
3192
+ /**
3193
+ * Something occurred that should never happen under normal operation.
3194
+ * Logged as an event for fail-safe observability.
3195
+ **/
3196
+ Unexpected: AugmentedEvent<ApiType, [PalletStakingAsyncRcClientUnexpectedKind]>;
3197
+ /**
3198
+ * Generic event
3199
+ **/
3200
+ [key: string]: AugmentedEvent<ApiType>;
3201
+ };
3202
+ stateTrieMigration: {
3203
+ /**
3204
+ * The auto migration task finished.
3205
+ **/
3206
+ AutoMigrationFinished: AugmentedEvent<ApiType, []>;
3207
+ /**
3208
+ * Migration got halted due to an error or miss-configuration.
3209
+ **/
3210
+ Halted: AugmentedEvent<ApiType, [error: PalletStateTrieMigrationError], {
3211
+ error: PalletStateTrieMigrationError;
3212
+ }>;
3213
+ /**
3214
+ * Given number of `(top, child)` keys were migrated respectively, with the given
3215
+ * `compute`.
3216
+ **/
3217
+ Migrated: AugmentedEvent<ApiType, [top: u32, child: u32, compute: PalletStateTrieMigrationMigrationCompute], {
3218
+ top: u32;
3219
+ child: u32;
3220
+ compute: PalletStateTrieMigrationMigrationCompute;
3221
+ }>;
3222
+ /**
3223
+ * Some account got slashed by the given amount.
3224
+ **/
3225
+ Slashed: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
3226
+ who: AccountId32;
3227
+ amount: u128;
3228
+ }>;
3229
+ /**
3230
+ * Generic event
3231
+ **/
3232
+ [key: string]: AugmentedEvent<ApiType>;
3233
+ };
3234
+ system: {
1825
3235
  /**
1826
3236
  * `:code` was updated.
1827
3237
  **/
@@ -1865,6 +3275,25 @@ declare module '@polkadot/api-base/types/events' {
1865
3275
  sender: AccountId32;
1866
3276
  hash_: H256;
1867
3277
  }>;
3278
+ /**
3279
+ * A [`Task`] has finished executing.
3280
+ **/
3281
+ TaskCompleted: AugmentedEvent<ApiType, [task: AssetHubKusamaRuntimeRuntimeTask], {
3282
+ task: AssetHubKusamaRuntimeRuntimeTask;
3283
+ }>;
3284
+ /**
3285
+ * A [`Task`] failed during execution.
3286
+ **/
3287
+ TaskFailed: AugmentedEvent<ApiType, [task: AssetHubKusamaRuntimeRuntimeTask, err: SpRuntimeDispatchError], {
3288
+ task: AssetHubKusamaRuntimeRuntimeTask;
3289
+ err: SpRuntimeDispatchError;
3290
+ }>;
3291
+ /**
3292
+ * A [`Task`] has started executing
3293
+ **/
3294
+ TaskStarted: AugmentedEvent<ApiType, [task: AssetHubKusamaRuntimeRuntimeTask], {
3295
+ task: AssetHubKusamaRuntimeRuntimeTask;
3296
+ }>;
1868
3297
  /**
1869
3298
  * An upgrade was authorized.
1870
3299
  **/
@@ -1910,6 +3339,97 @@ declare module '@polkadot/api-base/types/events' {
1910
3339
  **/
1911
3340
  [key: string]: AugmentedEvent<ApiType>;
1912
3341
  };
3342
+ treasury: {
3343
+ /**
3344
+ * A new asset spend proposal has been approved.
3345
+ **/
3346
+ AssetSpendApproved: AugmentedEvent<ApiType, [index: u32, assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset, amount: u128, beneficiary: ParachainsCommonPayVersionedLocatableAccount, validFrom: u32, expireAt: u32], {
3347
+ index: u32;
3348
+ assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset;
3349
+ amount: u128;
3350
+ beneficiary: ParachainsCommonPayVersionedLocatableAccount;
3351
+ validFrom: u32;
3352
+ expireAt: u32;
3353
+ }>;
3354
+ /**
3355
+ * An approved spend was voided.
3356
+ **/
3357
+ AssetSpendVoided: AugmentedEvent<ApiType, [index: u32], {
3358
+ index: u32;
3359
+ }>;
3360
+ /**
3361
+ * Some funds have been allocated.
3362
+ **/
3363
+ Awarded: AugmentedEvent<ApiType, [proposalIndex: u32, award: u128, account: AccountId32], {
3364
+ proposalIndex: u32;
3365
+ award: u128;
3366
+ account: AccountId32;
3367
+ }>;
3368
+ /**
3369
+ * Some of our funds have been burnt.
3370
+ **/
3371
+ Burnt: AugmentedEvent<ApiType, [burntFunds: u128], {
3372
+ burntFunds: u128;
3373
+ }>;
3374
+ /**
3375
+ * Some funds have been deposited.
3376
+ **/
3377
+ Deposit: AugmentedEvent<ApiType, [value: u128], {
3378
+ value: u128;
3379
+ }>;
3380
+ /**
3381
+ * A payment happened.
3382
+ **/
3383
+ Paid: AugmentedEvent<ApiType, [index: u32, paymentId: u64], {
3384
+ index: u32;
3385
+ paymentId: u64;
3386
+ }>;
3387
+ /**
3388
+ * A payment failed and can be retried.
3389
+ **/
3390
+ PaymentFailed: AugmentedEvent<ApiType, [index: u32, paymentId: u64], {
3391
+ index: u32;
3392
+ paymentId: u64;
3393
+ }>;
3394
+ /**
3395
+ * Spending has finished; this is the amount that rolls over until next spend.
3396
+ **/
3397
+ Rollover: AugmentedEvent<ApiType, [rolloverBalance: u128], {
3398
+ rolloverBalance: u128;
3399
+ }>;
3400
+ /**
3401
+ * A new spend proposal has been approved.
3402
+ **/
3403
+ SpendApproved: AugmentedEvent<ApiType, [proposalIndex: u32, amount: u128, beneficiary: AccountId32], {
3404
+ proposalIndex: u32;
3405
+ amount: u128;
3406
+ beneficiary: AccountId32;
3407
+ }>;
3408
+ /**
3409
+ * We have ended a spend period and will now allocate funds.
3410
+ **/
3411
+ Spending: AugmentedEvent<ApiType, [budgetRemaining: u128], {
3412
+ budgetRemaining: u128;
3413
+ }>;
3414
+ /**
3415
+ * A spend was processed and removed from the storage. It might have been successfully
3416
+ * paid or it may have expired.
3417
+ **/
3418
+ SpendProcessed: AugmentedEvent<ApiType, [index: u32], {
3419
+ index: u32;
3420
+ }>;
3421
+ /**
3422
+ * The inactive funds of the pallet have been updated.
3423
+ **/
3424
+ UpdatedInactive: AugmentedEvent<ApiType, [reactivated: u128, deactivated: u128], {
3425
+ reactivated: u128;
3426
+ deactivated: u128;
3427
+ }>;
3428
+ /**
3429
+ * Generic event
3430
+ **/
3431
+ [key: string]: AugmentedEvent<ApiType>;
3432
+ };
1913
3433
  uniques: {
1914
3434
  /**
1915
3435
  * An approval for a `delegate` account to transfer the `item` of an item
@@ -2179,6 +3699,13 @@ declare module '@polkadot/api-base/types/events' {
2179
3699
  VestingCompleted: AugmentedEvent<ApiType, [account: AccountId32], {
2180
3700
  account: AccountId32;
2181
3701
  }>;
3702
+ /**
3703
+ * A vesting schedule has been created.
3704
+ **/
3705
+ VestingCreated: AugmentedEvent<ApiType, [account: AccountId32, scheduleIndex: u32], {
3706
+ account: AccountId32;
3707
+ scheduleIndex: u32;
3708
+ }>;
2182
3709
  /**
2183
3710
  * The amount vested has been updated. This could indicate a change in funds available.
2184
3711
  * The balance given is the amount which is left unvested (and thus locked).
@@ -2192,6 +3719,43 @@ declare module '@polkadot/api-base/types/events' {
2192
3719
  **/
2193
3720
  [key: string]: AugmentedEvent<ApiType>;
2194
3721
  };
3722
+ voterList: {
3723
+ /**
3724
+ * Moved an account from one bag to another.
3725
+ **/
3726
+ Rebagged: AugmentedEvent<ApiType, [who: AccountId32, from: u64, to: u64], {
3727
+ who: AccountId32;
3728
+ from: u64;
3729
+ to: u64;
3730
+ }>;
3731
+ /**
3732
+ * Updated the score of some account to the given amount.
3733
+ **/
3734
+ ScoreUpdated: AugmentedEvent<ApiType, [who: AccountId32, newScore: u64], {
3735
+ who: AccountId32;
3736
+ newScore: u64;
3737
+ }>;
3738
+ /**
3739
+ * Generic event
3740
+ **/
3741
+ [key: string]: AugmentedEvent<ApiType>;
3742
+ };
3743
+ whitelist: {
3744
+ CallWhitelisted: AugmentedEvent<ApiType, [callHash: H256], {
3745
+ callHash: H256;
3746
+ }>;
3747
+ WhitelistedCallDispatched: AugmentedEvent<ApiType, [callHash: H256, result: Result<FrameSupportDispatchPostDispatchInfo, SpRuntimeDispatchErrorWithPostInfo>], {
3748
+ callHash: H256;
3749
+ result: Result<FrameSupportDispatchPostDispatchInfo, SpRuntimeDispatchErrorWithPostInfo>;
3750
+ }>;
3751
+ WhitelistedCallRemoved: AugmentedEvent<ApiType, [callHash: H256], {
3752
+ callHash: H256;
3753
+ }>;
3754
+ /**
3755
+ * Generic event
3756
+ **/
3757
+ [key: string]: AugmentedEvent<ApiType>;
3758
+ };
2195
3759
  xcmpQueue: {
2196
3760
  /**
2197
3761
  * An HRMP message was sent to a sibling parachain.