@polkadot/api-augment 10.12.2 → 10.12.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,10 +4,28 @@ import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32,
4
4
  import type { ITuple } from '@polkadot/types-codec/types';
5
5
  import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
6
6
  import type { AccountId32, H256, Perbill, Perquintill } from '@polkadot/types/interfaces/runtime';
7
- import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, KusamaRuntimeProxyType, PalletConvictionVotingTally, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletSocietyGroupParams, PalletStakingExposure, PalletStakingForcing, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV5CandidateReceipt, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, XcmV3MultiLocation, XcmV3MultiassetMultiAssets, XcmV3Response, XcmV3TraitsError, XcmV3TraitsOutcome, XcmV3Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
7
+ import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, PalletConvictionVotingTally, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletMultisigTimepoint, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletSocietyGroupParams, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV6CandidateReceipt, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, StagingKusamaRuntimeProxyType, StagingXcmV4AssetAssets, StagingXcmV4Location, StagingXcmV4Response, StagingXcmV4TraitsOutcome, StagingXcmV4Xcm, XcmV3TraitsError, XcmVersionedAssets, XcmVersionedLocation } from '@polkadot/types/lookup';
8
8
  export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
9
9
  declare module '@polkadot/api-base/types/events' {
10
10
  interface AugmentedEvents<ApiType extends ApiTypes> {
11
+ assetRate: {
12
+ AssetRateCreated: AugmentedEvent<ApiType, [assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset, rate: u128], {
13
+ assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset;
14
+ rate: u128;
15
+ }>;
16
+ AssetRateRemoved: AugmentedEvent<ApiType, [assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset], {
17
+ assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset;
18
+ }>;
19
+ AssetRateUpdated: AugmentedEvent<ApiType, [assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset, old: u128, new_: u128], {
20
+ assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset;
21
+ old: u128;
22
+ new_: u128;
23
+ }>;
24
+ /**
25
+ * Generic event
26
+ **/
27
+ [key: string]: AugmentedEvent<ApiType>;
28
+ };
11
29
  auctions: {
12
30
  /**
13
31
  * An auction ended. All funds become unreserved.
@@ -187,6 +205,13 @@ declare module '@polkadot/api-base/types/events' {
187
205
  who: AccountId32;
188
206
  amount: u128;
189
207
  }>;
208
+ /**
209
+ * The `TotalIssuance` was forcefully changed.
210
+ **/
211
+ TotalIssuanceForced: AugmentedEvent<ApiType, [old: u128, new_: u128], {
212
+ old: u128;
213
+ new_: u128;
214
+ }>;
190
215
  /**
191
216
  * Transfer succeeded.
192
217
  **/
@@ -228,6 +253,12 @@ declare module '@polkadot/api-base/types/events' {
228
253
  [key: string]: AugmentedEvent<ApiType>;
229
254
  };
230
255
  bounties: {
256
+ /**
257
+ * A bounty is approved.
258
+ **/
259
+ BountyApproved: AugmentedEvent<ApiType, [index: u32], {
260
+ index: u32;
261
+ }>;
231
262
  /**
232
263
  * A bounty is awarded to a beneficiary.
233
264
  **/
@@ -274,6 +305,26 @@ declare module '@polkadot/api-base/types/events' {
274
305
  index: u32;
275
306
  bond: u128;
276
307
  }>;
308
+ /**
309
+ * A bounty curator is accepted.
310
+ **/
311
+ CuratorAccepted: AugmentedEvent<ApiType, [bountyId: u32, curator: AccountId32], {
312
+ bountyId: u32;
313
+ curator: AccountId32;
314
+ }>;
315
+ /**
316
+ * A bounty curator is proposed.
317
+ **/
318
+ CuratorProposed: AugmentedEvent<ApiType, [bountyId: u32, curator: AccountId32], {
319
+ bountyId: u32;
320
+ curator: AccountId32;
321
+ }>;
322
+ /**
323
+ * A bounty curator is unassigned.
324
+ **/
325
+ CuratorUnassigned: AugmentedEvent<ApiType, [bountyId: u32], {
326
+ bountyId: u32;
327
+ }>;
277
328
  /**
278
329
  * Generic event
279
330
  **/
@@ -344,6 +395,24 @@ declare module '@polkadot/api-base/types/events' {
344
395
  **/
345
396
  [key: string]: AugmentedEvent<ApiType>;
346
397
  };
398
+ coretime: {
399
+ /**
400
+ * A core has received a new assignment from the broker chain.
401
+ **/
402
+ CoreAssigned: AugmentedEvent<ApiType, [core: u32], {
403
+ core: u32;
404
+ }>;
405
+ /**
406
+ * The broker chain has asked for revenue information for a specific block.
407
+ **/
408
+ RevenueInfoRequested: AugmentedEvent<ApiType, [when: u32], {
409
+ when: u32;
410
+ }>;
411
+ /**
412
+ * Generic event
413
+ **/
414
+ [key: string]: AugmentedEvent<ApiType>;
415
+ };
347
416
  crowdloan: {
348
417
  /**
349
418
  * A parachain has been moved to `NewRaise`
@@ -519,6 +588,13 @@ declare module '@polkadot/api-base/types/events' {
519
588
  MemberAdded: AugmentedEvent<ApiType, [who: AccountId32], {
520
589
  who: AccountId32;
521
590
  }>;
591
+ /**
592
+ * The member `who` had their `AccountId` changed to `new_who`.
593
+ **/
594
+ MemberExchanged: AugmentedEvent<ApiType, [who: AccountId32, newWho: AccountId32], {
595
+ who: AccountId32;
596
+ newWho: AccountId32;
597
+ }>;
522
598
  /**
523
599
  * The member `who` of given `rank` has been removed from the collective.
524
600
  **/
@@ -601,7 +677,7 @@ declare module '@polkadot/api-base/types/events' {
601
677
  tally: PalletRankedCollectiveTally;
602
678
  }>;
603
679
  /**
604
- * A deposit has been slashaed.
680
+ * A deposit has been slashed.
605
681
  **/
606
682
  DepositSlashed: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
607
683
  who: AccountId32;
@@ -685,34 +761,86 @@ declare module '@polkadot/api-base/types/events' {
685
761
  };
686
762
  hrmp: {
687
763
  /**
688
- * HRMP channel closed. `[by_parachain, channel_id]`
764
+ * HRMP channel closed.
689
765
  **/
690
- ChannelClosed: AugmentedEvent<ApiType, [u32, PolkadotParachainPrimitivesHrmpChannelId]>;
766
+ ChannelClosed: AugmentedEvent<ApiType, [byParachain: u32, channelId: PolkadotParachainPrimitivesPrimitivesHrmpChannelId], {
767
+ byParachain: u32;
768
+ channelId: PolkadotParachainPrimitivesPrimitivesHrmpChannelId;
769
+ }>;
691
770
  /**
692
771
  * An HRMP channel was opened via Root origin.
693
- * `[sender, recipient, proposed_max_capacity, proposed_max_message_size]`
694
772
  **/
695
- HrmpChannelForceOpened: AugmentedEvent<ApiType, [u32, u32, u32, u32]>;
773
+ HrmpChannelForceOpened: AugmentedEvent<ApiType, [sender: u32, recipient: u32, proposedMaxCapacity: u32, proposedMaxMessageSize: u32], {
774
+ sender: u32;
775
+ recipient: u32;
776
+ proposedMaxCapacity: u32;
777
+ proposedMaxMessageSize: u32;
778
+ }>;
696
779
  /**
697
- * Open HRMP channel accepted. `[sender, recipient]`
780
+ * An HRMP channel was opened between two system chains.
698
781
  **/
699
- OpenChannelAccepted: AugmentedEvent<ApiType, [u32, u32]>;
782
+ HrmpSystemChannelOpened: AugmentedEvent<ApiType, [sender: u32, recipient: u32, proposedMaxCapacity: u32, proposedMaxMessageSize: u32], {
783
+ sender: u32;
784
+ recipient: u32;
785
+ proposedMaxCapacity: u32;
786
+ proposedMaxMessageSize: u32;
787
+ }>;
788
+ /**
789
+ * Open HRMP channel accepted.
790
+ **/
791
+ OpenChannelAccepted: AugmentedEvent<ApiType, [sender: u32, recipient: u32], {
792
+ sender: u32;
793
+ recipient: u32;
794
+ }>;
700
795
  /**
701
796
  * An HRMP channel request sent by the receiver was canceled by either party.
702
- * `[by_parachain, channel_id]`
703
797
  **/
704
- OpenChannelCanceled: AugmentedEvent<ApiType, [u32, PolkadotParachainPrimitivesHrmpChannelId]>;
798
+ OpenChannelCanceled: AugmentedEvent<ApiType, [byParachain: u32, channelId: PolkadotParachainPrimitivesPrimitivesHrmpChannelId], {
799
+ byParachain: u32;
800
+ channelId: PolkadotParachainPrimitivesPrimitivesHrmpChannelId;
801
+ }>;
802
+ /**
803
+ * An HRMP channel's deposits were updated.
804
+ **/
805
+ OpenChannelDepositsUpdated: AugmentedEvent<ApiType, [sender: u32, recipient: u32], {
806
+ sender: u32;
807
+ recipient: u32;
808
+ }>;
705
809
  /**
706
810
  * Open HRMP channel requested.
707
- * `[sender, recipient, proposed_max_capacity, proposed_max_message_size]`
708
811
  **/
709
- OpenChannelRequested: AugmentedEvent<ApiType, [u32, u32, u32, u32]>;
812
+ OpenChannelRequested: AugmentedEvent<ApiType, [sender: u32, recipient: u32, proposedMaxCapacity: u32, proposedMaxMessageSize: u32], {
813
+ sender: u32;
814
+ recipient: u32;
815
+ proposedMaxCapacity: u32;
816
+ proposedMaxMessageSize: u32;
817
+ }>;
710
818
  /**
711
819
  * Generic event
712
820
  **/
713
821
  [key: string]: AugmentedEvent<ApiType>;
714
822
  };
715
823
  identity: {
824
+ /**
825
+ * A username authority was added.
826
+ **/
827
+ AuthorityAdded: AugmentedEvent<ApiType, [authority: AccountId32], {
828
+ authority: AccountId32;
829
+ }>;
830
+ /**
831
+ * A username authority was removed.
832
+ **/
833
+ AuthorityRemoved: AugmentedEvent<ApiType, [authority: AccountId32], {
834
+ authority: AccountId32;
835
+ }>;
836
+ /**
837
+ * A dangling username (as in, a username corresponding to an account that has removed its
838
+ * identity) has been removed.
839
+ **/
840
+ DanglingUsernameRemoved: AugmentedEvent<ApiType, [who: AccountId32, username: Bytes], {
841
+ who: AccountId32;
842
+ username: Bytes;
843
+ }>;
716
844
  /**
717
845
  * A name was cleared, and the given balance returned.
718
846
  **/
@@ -754,6 +882,19 @@ declare module '@polkadot/api-base/types/events' {
754
882
  who: AccountId32;
755
883
  registrarIndex: u32;
756
884
  }>;
885
+ /**
886
+ * A queued username passed its expiration without being claimed and was removed.
887
+ **/
888
+ PreapprovalExpired: AugmentedEvent<ApiType, [whose: AccountId32], {
889
+ whose: AccountId32;
890
+ }>;
891
+ /**
892
+ * A username was set as a primary and can be looked up from `who`.
893
+ **/
894
+ PrimaryUsernameSet: AugmentedEvent<ApiType, [who: AccountId32, username: Bytes], {
895
+ who: AccountId32;
896
+ username: Bytes;
897
+ }>;
757
898
  /**
758
899
  * A registrar was added.
759
900
  **/
@@ -786,26 +927,19 @@ declare module '@polkadot/api-base/types/events' {
786
927
  deposit: u128;
787
928
  }>;
788
929
  /**
789
- * Generic event
790
- **/
791
- [key: string]: AugmentedEvent<ApiType>;
792
- };
793
- imOnline: {
794
- /**
795
- * At the end of the session, no offence was committed.
930
+ * A username was queued, but `who` must accept it prior to `expiration`.
796
931
  **/
797
- AllGood: AugmentedEvent<ApiType, []>;
798
- /**
799
- * A new heartbeat was received from `AuthorityId`.
800
- **/
801
- HeartbeatReceived: AugmentedEvent<ApiType, [authorityId: PalletImOnlineSr25519AppSr25519Public], {
802
- authorityId: PalletImOnlineSr25519AppSr25519Public;
932
+ UsernameQueued: AugmentedEvent<ApiType, [who: AccountId32, username: Bytes, expiration: u32], {
933
+ who: AccountId32;
934
+ username: Bytes;
935
+ expiration: u32;
803
936
  }>;
804
937
  /**
805
- * At the end of the session, at least one validator was found to be offline.
938
+ * A username was set for `who`.
806
939
  **/
807
- SomeOffline: AugmentedEvent<ApiType, [offline: Vec<ITuple<[AccountId32, PalletStakingExposure]>>], {
808
- offline: Vec<ITuple<[AccountId32, PalletStakingExposure]>>;
940
+ UsernameSet: AugmentedEvent<ApiType, [who: AccountId32, username: Bytes], {
941
+ who: AccountId32;
942
+ username: Bytes;
809
943
  }>;
810
944
  /**
811
945
  * Generic event
@@ -858,8 +992,8 @@ declare module '@polkadot/api-base/types/events' {
858
992
  /**
859
993
  * Message is processed.
860
994
  **/
861
- Processed: AugmentedEvent<ApiType, [id: U8aFixed, origin: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, weightUsed: SpWeightsWeightV2Weight, success: bool], {
862
- id: U8aFixed;
995
+ Processed: AugmentedEvent<ApiType, [id: H256, origin: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, weightUsed: SpWeightsWeightV2Weight, success: bool], {
996
+ id: H256;
863
997
  origin: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin;
864
998
  weightUsed: SpWeightsWeightV2Weight;
865
999
  success: bool;
@@ -867,8 +1001,8 @@ declare module '@polkadot/api-base/types/events' {
867
1001
  /**
868
1002
  * Message discarded due to an error in the `MessageProcessor` (usually a format error).
869
1003
  **/
870
- ProcessingFailed: AugmentedEvent<ApiType, [id: U8aFixed, origin: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, error: FrameSupportMessagesProcessMessageError], {
871
- id: U8aFixed;
1004
+ ProcessingFailed: AugmentedEvent<ApiType, [id: H256, origin: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, error: FrameSupportMessagesProcessMessageError], {
1005
+ id: H256;
872
1006
  origin: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin;
873
1007
  error: FrameSupportMessagesProcessMessageError;
874
1008
  }>;
@@ -1098,6 +1232,13 @@ declare module '@polkadot/api-base/types/events' {
1098
1232
  who: AccountId32;
1099
1233
  amount: u128;
1100
1234
  }>;
1235
+ /**
1236
+ * The `TotalIssuance` was forcefully changed.
1237
+ **/
1238
+ TotalIssuanceForced: AugmentedEvent<ApiType, [old: u128, new_: u128], {
1239
+ old: u128;
1240
+ new_: u128;
1241
+ }>;
1101
1242
  /**
1102
1243
  * Transfer succeeded.
1103
1244
  **/
@@ -1170,6 +1311,20 @@ declare module '@polkadot/api-base/types/events' {
1170
1311
  poolId: u32;
1171
1312
  member: AccountId32;
1172
1313
  }>;
1314
+ /**
1315
+ * Topped up deficit in frozen ED of the reward pool.
1316
+ **/
1317
+ MinBalanceDeficitAdjusted: AugmentedEvent<ApiType, [poolId: u32, amount: u128], {
1318
+ poolId: u32;
1319
+ amount: u128;
1320
+ }>;
1321
+ /**
1322
+ * Claimed excess frozen ED of af the reward pool.
1323
+ **/
1324
+ MinBalanceExcessAdjusted: AugmentedEvent<ApiType, [poolId: u32, amount: u128], {
1325
+ poolId: u32;
1326
+ amount: u128;
1327
+ }>;
1173
1328
  /**
1174
1329
  * A payout has been made to a member.
1175
1330
  **/
@@ -1192,6 +1347,13 @@ declare module '@polkadot/api-base/types/events' {
1192
1347
  poolId: u32;
1193
1348
  commission: u128;
1194
1349
  }>;
1350
+ /**
1351
+ * Pool commission claim permission has been updated.
1352
+ **/
1353
+ PoolCommissionClaimPermissionUpdated: AugmentedEvent<ApiType, [poolId: u32, permission: Option<PalletNominationPoolsCommissionClaimPermission>], {
1354
+ poolId: u32;
1355
+ permission: Option<PalletNominationPoolsCommissionClaimPermission>;
1356
+ }>;
1195
1357
  /**
1196
1358
  * A pool's commission setting has been changed.
1197
1359
  **/
@@ -1291,19 +1453,38 @@ declare module '@polkadot/api-base/types/events' {
1291
1453
  **/
1292
1454
  [key: string]: AugmentedEvent<ApiType>;
1293
1455
  };
1456
+ onDemandAssignmentProvider: {
1457
+ /**
1458
+ * An order was placed at some spot price amount.
1459
+ **/
1460
+ OnDemandOrderPlaced: AugmentedEvent<ApiType, [paraId: u32, spotPrice: u128], {
1461
+ paraId: u32;
1462
+ spotPrice: u128;
1463
+ }>;
1464
+ /**
1465
+ * The value of the spot traffic multiplier changed.
1466
+ **/
1467
+ SpotTrafficSet: AugmentedEvent<ApiType, [traffic: u128], {
1468
+ traffic: u128;
1469
+ }>;
1470
+ /**
1471
+ * Generic event
1472
+ **/
1473
+ [key: string]: AugmentedEvent<ApiType>;
1474
+ };
1294
1475
  paraInclusion: {
1295
1476
  /**
1296
1477
  * A candidate was backed. `[candidate, head_data]`
1297
1478
  **/
1298
- CandidateBacked: AugmentedEvent<ApiType, [PolkadotPrimitivesV5CandidateReceipt, Bytes, u32, u32]>;
1479
+ CandidateBacked: AugmentedEvent<ApiType, [PolkadotPrimitivesV6CandidateReceipt, Bytes, u32, u32]>;
1299
1480
  /**
1300
1481
  * A candidate was included. `[candidate, head_data]`
1301
1482
  **/
1302
- CandidateIncluded: AugmentedEvent<ApiType, [PolkadotPrimitivesV5CandidateReceipt, Bytes, u32, u32]>;
1483
+ CandidateIncluded: AugmentedEvent<ApiType, [PolkadotPrimitivesV6CandidateReceipt, Bytes, u32, u32]>;
1303
1484
  /**
1304
1485
  * A candidate timed out. `[candidate, head_data]`
1305
1486
  **/
1306
- CandidateTimedOut: AugmentedEvent<ApiType, [PolkadotPrimitivesV5CandidateReceipt, Bytes, u32]>;
1487
+ CandidateTimedOut: AugmentedEvent<ApiType, [PolkadotPrimitivesV6CandidateReceipt, Bytes, u32]>;
1307
1488
  /**
1308
1489
  * Some upward messages have been received and will be processed.
1309
1490
  **/
@@ -1415,10 +1596,10 @@ declare module '@polkadot/api-base/types/events' {
1415
1596
  /**
1416
1597
  * A proxy was added.
1417
1598
  **/
1418
- ProxyAdded: AugmentedEvent<ApiType, [delegator: AccountId32, delegatee: AccountId32, proxyType: KusamaRuntimeProxyType, delay: u32], {
1599
+ ProxyAdded: AugmentedEvent<ApiType, [delegator: AccountId32, delegatee: AccountId32, proxyType: StagingKusamaRuntimeProxyType, delay: u32], {
1419
1600
  delegator: AccountId32;
1420
1601
  delegatee: AccountId32;
1421
- proxyType: KusamaRuntimeProxyType;
1602
+ proxyType: StagingKusamaRuntimeProxyType;
1422
1603
  delay: u32;
1423
1604
  }>;
1424
1605
  /**
@@ -1430,20 +1611,20 @@ declare module '@polkadot/api-base/types/events' {
1430
1611
  /**
1431
1612
  * A proxy was removed.
1432
1613
  **/
1433
- ProxyRemoved: AugmentedEvent<ApiType, [delegator: AccountId32, delegatee: AccountId32, proxyType: KusamaRuntimeProxyType, delay: u32], {
1614
+ ProxyRemoved: AugmentedEvent<ApiType, [delegator: AccountId32, delegatee: AccountId32, proxyType: StagingKusamaRuntimeProxyType, delay: u32], {
1434
1615
  delegator: AccountId32;
1435
1616
  delegatee: AccountId32;
1436
- proxyType: KusamaRuntimeProxyType;
1617
+ proxyType: StagingKusamaRuntimeProxyType;
1437
1618
  delay: u32;
1438
1619
  }>;
1439
1620
  /**
1440
1621
  * A pure account has been created by new proxy with given
1441
1622
  * disambiguation index and proxy type.
1442
1623
  **/
1443
- PureCreated: AugmentedEvent<ApiType, [pure: AccountId32, who: AccountId32, proxyType: KusamaRuntimeProxyType, disambiguationIndex: u16], {
1624
+ PureCreated: AugmentedEvent<ApiType, [pure: AccountId32, who: AccountId32, proxyType: StagingKusamaRuntimeProxyType, disambiguationIndex: u16], {
1444
1625
  pure: AccountId32;
1445
1626
  who: AccountId32;
1446
- proxyType: KusamaRuntimeProxyType;
1627
+ proxyType: StagingKusamaRuntimeProxyType;
1447
1628
  disambiguationIndex: u16;
1448
1629
  }>;
1449
1630
  /**
@@ -1551,7 +1732,7 @@ declare module '@polkadot/api-base/types/events' {
1551
1732
  tally: PalletConvictionVotingTally;
1552
1733
  }>;
1553
1734
  /**
1554
- * A deposit has been slashaed.
1735
+ * A deposit has been slashed.
1555
1736
  **/
1556
1737
  DepositSlashed: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
1557
1738
  who: AccountId32;
@@ -1895,10 +2076,11 @@ declare module '@polkadot/api-base/types/events' {
1895
2076
  validatorStash: AccountId32;
1896
2077
  }>;
1897
2078
  /**
1898
- * The nominator has been rewarded by this amount.
2079
+ * The nominator has been rewarded by this amount to this destination.
1899
2080
  **/
1900
- Rewarded: AugmentedEvent<ApiType, [stash: AccountId32, amount: u128], {
2081
+ Rewarded: AugmentedEvent<ApiType, [stash: AccountId32, dest: PalletStakingRewardDestination, amount: u128], {
1901
2082
  stash: AccountId32;
2083
+ dest: PalletStakingRewardDestination;
1902
2084
  amount: u128;
1903
2085
  }>;
1904
2086
  /**
@@ -2033,6 +2215,13 @@ declare module '@polkadot/api-base/types/events' {
2033
2215
  sender: AccountId32;
2034
2216
  hash_: H256;
2035
2217
  }>;
2218
+ /**
2219
+ * An upgrade was authorized.
2220
+ **/
2221
+ UpgradeAuthorized: AugmentedEvent<ApiType, [codeHash: H256, checkVersion: bool], {
2222
+ codeHash: H256;
2223
+ checkVersion: bool;
2224
+ }>;
2036
2225
  /**
2037
2226
  * Generic event
2038
2227
  **/
@@ -2054,6 +2243,23 @@ declare module '@polkadot/api-base/types/events' {
2054
2243
  [key: string]: AugmentedEvent<ApiType>;
2055
2244
  };
2056
2245
  treasury: {
2246
+ /**
2247
+ * A new asset spend proposal has been approved.
2248
+ **/
2249
+ AssetSpendApproved: AugmentedEvent<ApiType, [index: u32, assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset, amount: u128, beneficiary: XcmVersionedLocation, validFrom: u32, expireAt: u32], {
2250
+ index: u32;
2251
+ assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset;
2252
+ amount: u128;
2253
+ beneficiary: XcmVersionedLocation;
2254
+ validFrom: u32;
2255
+ expireAt: u32;
2256
+ }>;
2257
+ /**
2258
+ * An approved spend was voided.
2259
+ **/
2260
+ AssetSpendVoided: AugmentedEvent<ApiType, [index: u32], {
2261
+ index: u32;
2262
+ }>;
2057
2263
  /**
2058
2264
  * Some funds have been allocated.
2059
2265
  **/
@@ -2074,6 +2280,20 @@ declare module '@polkadot/api-base/types/events' {
2074
2280
  Deposit: AugmentedEvent<ApiType, [value: u128], {
2075
2281
  value: u128;
2076
2282
  }>;
2283
+ /**
2284
+ * A payment happened.
2285
+ **/
2286
+ Paid: AugmentedEvent<ApiType, [index: u32, paymentId: u64], {
2287
+ index: u32;
2288
+ paymentId: u64;
2289
+ }>;
2290
+ /**
2291
+ * A payment failed and can be retried.
2292
+ **/
2293
+ PaymentFailed: AugmentedEvent<ApiType, [index: u32, paymentId: u64], {
2294
+ index: u32;
2295
+ paymentId: u64;
2296
+ }>;
2077
2297
  /**
2078
2298
  * New proposal.
2079
2299
  **/
@@ -2107,6 +2327,13 @@ declare module '@polkadot/api-base/types/events' {
2107
2327
  Spending: AugmentedEvent<ApiType, [budgetRemaining: u128], {
2108
2328
  budgetRemaining: u128;
2109
2329
  }>;
2330
+ /**
2331
+ * A spend was processed and removed from the storage. It might have been successfully
2332
+ * paid or it may have expired.
2333
+ **/
2334
+ SpendProcessed: AugmentedEvent<ApiType, [index: u32], {
2335
+ index: u32;
2336
+ }>;
2110
2337
  /**
2111
2338
  * The inactive funds of the pallet have been updated.
2112
2339
  **/
@@ -2218,42 +2445,42 @@ declare module '@polkadot/api-base/types/events' {
2218
2445
  /**
2219
2446
  * Some assets have been claimed from an asset trap
2220
2447
  **/
2221
- AssetsClaimed: AugmentedEvent<ApiType, [hash_: H256, origin: XcmV3MultiLocation, assets: XcmVersionedMultiAssets], {
2448
+ AssetsClaimed: AugmentedEvent<ApiType, [hash_: H256, origin: StagingXcmV4Location, assets: XcmVersionedAssets], {
2222
2449
  hash_: H256;
2223
- origin: XcmV3MultiLocation;
2224
- assets: XcmVersionedMultiAssets;
2450
+ origin: StagingXcmV4Location;
2451
+ assets: XcmVersionedAssets;
2225
2452
  }>;
2226
2453
  /**
2227
2454
  * Some assets have been placed in an asset trap.
2228
2455
  **/
2229
- AssetsTrapped: AugmentedEvent<ApiType, [hash_: H256, origin: XcmV3MultiLocation, assets: XcmVersionedMultiAssets], {
2456
+ AssetsTrapped: AugmentedEvent<ApiType, [hash_: H256, origin: StagingXcmV4Location, assets: XcmVersionedAssets], {
2230
2457
  hash_: H256;
2231
- origin: XcmV3MultiLocation;
2232
- assets: XcmVersionedMultiAssets;
2458
+ origin: StagingXcmV4Location;
2459
+ assets: XcmVersionedAssets;
2233
2460
  }>;
2234
2461
  /**
2235
2462
  * Execution of an XCM message was attempted.
2236
2463
  **/
2237
- Attempted: AugmentedEvent<ApiType, [outcome: XcmV3TraitsOutcome], {
2238
- outcome: XcmV3TraitsOutcome;
2464
+ Attempted: AugmentedEvent<ApiType, [outcome: StagingXcmV4TraitsOutcome], {
2465
+ outcome: StagingXcmV4TraitsOutcome;
2239
2466
  }>;
2240
2467
  /**
2241
2468
  * Fees were paid from a location for an operation (often for using `SendXcm`).
2242
2469
  **/
2243
- FeesPaid: AugmentedEvent<ApiType, [paying: XcmV3MultiLocation, fees: XcmV3MultiassetMultiAssets], {
2244
- paying: XcmV3MultiLocation;
2245
- fees: XcmV3MultiassetMultiAssets;
2470
+ FeesPaid: AugmentedEvent<ApiType, [paying: StagingXcmV4Location, fees: StagingXcmV4AssetAssets], {
2471
+ paying: StagingXcmV4Location;
2472
+ fees: StagingXcmV4AssetAssets;
2246
2473
  }>;
2247
2474
  /**
2248
2475
  * Expected query response has been received but the querier location of the response does
2249
2476
  * not match the expected. The query remains registered for a later, valid, response to
2250
2477
  * be received and acted upon.
2251
2478
  **/
2252
- InvalidQuerier: AugmentedEvent<ApiType, [origin: XcmV3MultiLocation, queryId: u64, expectedQuerier: XcmV3MultiLocation, maybeActualQuerier: Option<XcmV3MultiLocation>], {
2253
- origin: XcmV3MultiLocation;
2479
+ InvalidQuerier: AugmentedEvent<ApiType, [origin: StagingXcmV4Location, queryId: u64, expectedQuerier: StagingXcmV4Location, maybeActualQuerier: Option<StagingXcmV4Location>], {
2480
+ origin: StagingXcmV4Location;
2254
2481
  queryId: u64;
2255
- expectedQuerier: XcmV3MultiLocation;
2256
- maybeActualQuerier: Option<XcmV3MultiLocation>;
2482
+ expectedQuerier: StagingXcmV4Location;
2483
+ maybeActualQuerier: Option<StagingXcmV4Location>;
2257
2484
  }>;
2258
2485
  /**
2259
2486
  * Expected query response has been received but the expected querier location placed in
@@ -2264,8 +2491,8 @@ declare module '@polkadot/api-base/types/events' {
2264
2491
  * valid response will be dropped. Manual governance intervention is probably going to be
2265
2492
  * needed.
2266
2493
  **/
2267
- InvalidQuerierVersion: AugmentedEvent<ApiType, [origin: XcmV3MultiLocation, queryId: u64], {
2268
- origin: XcmV3MultiLocation;
2494
+ InvalidQuerierVersion: AugmentedEvent<ApiType, [origin: StagingXcmV4Location, queryId: u64], {
2495
+ origin: StagingXcmV4Location;
2269
2496
  queryId: u64;
2270
2497
  }>;
2271
2498
  /**
@@ -2273,10 +2500,10 @@ declare module '@polkadot/api-base/types/events' {
2273
2500
  * not match that expected. The query remains registered for a later, valid, response to
2274
2501
  * be received and acted upon.
2275
2502
  **/
2276
- InvalidResponder: AugmentedEvent<ApiType, [origin: XcmV3MultiLocation, queryId: u64, expectedLocation: Option<XcmV3MultiLocation>], {
2277
- origin: XcmV3MultiLocation;
2503
+ InvalidResponder: AugmentedEvent<ApiType, [origin: StagingXcmV4Location, queryId: u64, expectedLocation: Option<StagingXcmV4Location>], {
2504
+ origin: StagingXcmV4Location;
2278
2505
  queryId: u64;
2279
- expectedLocation: Option<XcmV3MultiLocation>;
2506
+ expectedLocation: Option<StagingXcmV4Location>;
2280
2507
  }>;
2281
2508
  /**
2282
2509
  * Expected query response has been received but the expected origin location placed in
@@ -2287,8 +2514,8 @@ declare module '@polkadot/api-base/types/events' {
2287
2514
  * valid response will be dropped. Manual governance intervention is probably going to be
2288
2515
  * needed.
2289
2516
  **/
2290
- InvalidResponderVersion: AugmentedEvent<ApiType, [origin: XcmV3MultiLocation, queryId: u64], {
2291
- origin: XcmV3MultiLocation;
2517
+ InvalidResponderVersion: AugmentedEvent<ApiType, [origin: StagingXcmV4Location, queryId: u64], {
2518
+ origin: StagingXcmV4Location;
2292
2519
  queryId: u64;
2293
2520
  }>;
2294
2521
  /**
@@ -2335,16 +2562,16 @@ declare module '@polkadot/api-base/types/events' {
2335
2562
  * A given location which had a version change subscription was dropped owing to an error
2336
2563
  * migrating the location to our new XCM format.
2337
2564
  **/
2338
- NotifyTargetMigrationFail: AugmentedEvent<ApiType, [location: XcmVersionedMultiLocation, queryId: u64], {
2339
- location: XcmVersionedMultiLocation;
2565
+ NotifyTargetMigrationFail: AugmentedEvent<ApiType, [location: XcmVersionedLocation, queryId: u64], {
2566
+ location: XcmVersionedLocation;
2340
2567
  queryId: u64;
2341
2568
  }>;
2342
2569
  /**
2343
2570
  * A given location which had a version change subscription was dropped owing to an error
2344
2571
  * sending the notification to it.
2345
2572
  **/
2346
- NotifyTargetSendFail: AugmentedEvent<ApiType, [location: XcmV3MultiLocation, queryId: u64, error: XcmV3TraitsError], {
2347
- location: XcmV3MultiLocation;
2573
+ NotifyTargetSendFail: AugmentedEvent<ApiType, [location: StagingXcmV4Location, queryId: u64, error: XcmV3TraitsError], {
2574
+ location: StagingXcmV4Location;
2348
2575
  queryId: u64;
2349
2576
  error: XcmV3TraitsError;
2350
2577
  }>;
@@ -2352,9 +2579,9 @@ declare module '@polkadot/api-base/types/events' {
2352
2579
  * Query response has been received and is ready for taking with `take_response`. There is
2353
2580
  * no registered notification call.
2354
2581
  **/
2355
- ResponseReady: AugmentedEvent<ApiType, [queryId: u64, response: XcmV3Response], {
2582
+ ResponseReady: AugmentedEvent<ApiType, [queryId: u64, response: StagingXcmV4Response], {
2356
2583
  queryId: u64;
2357
- response: XcmV3Response;
2584
+ response: StagingXcmV4Response;
2358
2585
  }>;
2359
2586
  /**
2360
2587
  * Received query response has been read and removed.
@@ -2365,18 +2592,18 @@ declare module '@polkadot/api-base/types/events' {
2365
2592
  /**
2366
2593
  * A XCM message was sent.
2367
2594
  **/
2368
- Sent: AugmentedEvent<ApiType, [origin: XcmV3MultiLocation, destination: XcmV3MultiLocation, message: XcmV3Xcm, messageId: U8aFixed], {
2369
- origin: XcmV3MultiLocation;
2370
- destination: XcmV3MultiLocation;
2371
- message: XcmV3Xcm;
2595
+ Sent: AugmentedEvent<ApiType, [origin: StagingXcmV4Location, destination: StagingXcmV4Location, message: StagingXcmV4Xcm, messageId: U8aFixed], {
2596
+ origin: StagingXcmV4Location;
2597
+ destination: StagingXcmV4Location;
2598
+ message: StagingXcmV4Xcm;
2372
2599
  messageId: U8aFixed;
2373
2600
  }>;
2374
2601
  /**
2375
2602
  * The supported version of a location has been changed. This might be through an
2376
2603
  * automatic notification or a manual intervention.
2377
2604
  **/
2378
- SupportedVersionChanged: AugmentedEvent<ApiType, [location: XcmV3MultiLocation, version: u32], {
2379
- location: XcmV3MultiLocation;
2605
+ SupportedVersionChanged: AugmentedEvent<ApiType, [location: StagingXcmV4Location, version: u32], {
2606
+ location: StagingXcmV4Location;
2380
2607
  version: u32;
2381
2608
  }>;
2382
2609
  /**
@@ -2384,8 +2611,8 @@ declare module '@polkadot/api-base/types/events' {
2384
2611
  * matching query was never registered, it may be because it is a duplicate response, or
2385
2612
  * because the query timed out.
2386
2613
  **/
2387
- UnexpectedResponse: AugmentedEvent<ApiType, [origin: XcmV3MultiLocation, queryId: u64], {
2388
- origin: XcmV3MultiLocation;
2614
+ UnexpectedResponse: AugmentedEvent<ApiType, [origin: StagingXcmV4Location, queryId: u64], {
2615
+ origin: StagingXcmV4Location;
2389
2616
  queryId: u64;
2390
2617
  }>;
2391
2618
  /**
@@ -2393,36 +2620,42 @@ declare module '@polkadot/api-base/types/events' {
2393
2620
  *
2394
2621
  * The cost of sending it (borne by the chain) is included.
2395
2622
  **/
2396
- VersionChangeNotified: AugmentedEvent<ApiType, [destination: XcmV3MultiLocation, result: u32, cost: XcmV3MultiassetMultiAssets, messageId: U8aFixed], {
2397
- destination: XcmV3MultiLocation;
2623
+ VersionChangeNotified: AugmentedEvent<ApiType, [destination: StagingXcmV4Location, result: u32, cost: StagingXcmV4AssetAssets, messageId: U8aFixed], {
2624
+ destination: StagingXcmV4Location;
2398
2625
  result: u32;
2399
- cost: XcmV3MultiassetMultiAssets;
2626
+ cost: StagingXcmV4AssetAssets;
2400
2627
  messageId: U8aFixed;
2401
2628
  }>;
2629
+ /**
2630
+ * A XCM version migration finished.
2631
+ **/
2632
+ VersionMigrationFinished: AugmentedEvent<ApiType, [version: u32], {
2633
+ version: u32;
2634
+ }>;
2402
2635
  /**
2403
2636
  * We have requested that a remote chain send us XCM version change notifications.
2404
2637
  **/
2405
- VersionNotifyRequested: AugmentedEvent<ApiType, [destination: XcmV3MultiLocation, cost: XcmV3MultiassetMultiAssets, messageId: U8aFixed], {
2406
- destination: XcmV3MultiLocation;
2407
- cost: XcmV3MultiassetMultiAssets;
2638
+ VersionNotifyRequested: AugmentedEvent<ApiType, [destination: StagingXcmV4Location, cost: StagingXcmV4AssetAssets, messageId: U8aFixed], {
2639
+ destination: StagingXcmV4Location;
2640
+ cost: StagingXcmV4AssetAssets;
2408
2641
  messageId: U8aFixed;
2409
2642
  }>;
2410
2643
  /**
2411
2644
  * A remote has requested XCM version change notification from us and we have honored it.
2412
2645
  * A version information message is sent to them and its cost is included.
2413
2646
  **/
2414
- VersionNotifyStarted: AugmentedEvent<ApiType, [destination: XcmV3MultiLocation, cost: XcmV3MultiassetMultiAssets, messageId: U8aFixed], {
2415
- destination: XcmV3MultiLocation;
2416
- cost: XcmV3MultiassetMultiAssets;
2647
+ VersionNotifyStarted: AugmentedEvent<ApiType, [destination: StagingXcmV4Location, cost: StagingXcmV4AssetAssets, messageId: U8aFixed], {
2648
+ destination: StagingXcmV4Location;
2649
+ cost: StagingXcmV4AssetAssets;
2417
2650
  messageId: U8aFixed;
2418
2651
  }>;
2419
2652
  /**
2420
2653
  * We have requested that a remote chain stops sending us XCM version change
2421
2654
  * notifications.
2422
2655
  **/
2423
- VersionNotifyUnrequested: AugmentedEvent<ApiType, [destination: XcmV3MultiLocation, cost: XcmV3MultiassetMultiAssets, messageId: U8aFixed], {
2424
- destination: XcmV3MultiLocation;
2425
- cost: XcmV3MultiassetMultiAssets;
2656
+ VersionNotifyUnrequested: AugmentedEvent<ApiType, [destination: StagingXcmV4Location, cost: StagingXcmV4AssetAssets, messageId: U8aFixed], {
2657
+ destination: StagingXcmV4Location;
2658
+ cost: StagingXcmV4AssetAssets;
2426
2659
  messageId: U8aFixed;
2427
2660
  }>;
2428
2661
  /**