@polkadot/api-augment 10.12.2 → 10.12.3

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 } from '@polkadot/types/interfaces/runtime';
7
- import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, PalletConvictionVotingTally, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsPoolState, PalletStakingExposure, PalletStakingForcing, PalletStakingValidatorPrefs, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV5CandidateReceipt, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeProxyType, 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, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV6CandidateReceipt, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeProxyType, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, 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
  **/
@@ -534,34 +585,86 @@ declare module '@polkadot/api-base/types/events' {
534
585
  };
535
586
  hrmp: {
536
587
  /**
537
- * HRMP channel closed. `[by_parachain, channel_id]`
588
+ * HRMP channel closed.
538
589
  **/
539
- ChannelClosed: AugmentedEvent<ApiType, [u32, PolkadotParachainPrimitivesHrmpChannelId]>;
590
+ ChannelClosed: AugmentedEvent<ApiType, [byParachain: u32, channelId: PolkadotParachainPrimitivesPrimitivesHrmpChannelId], {
591
+ byParachain: u32;
592
+ channelId: PolkadotParachainPrimitivesPrimitivesHrmpChannelId;
593
+ }>;
540
594
  /**
541
595
  * An HRMP channel was opened via Root origin.
542
- * `[sender, recipient, proposed_max_capacity, proposed_max_message_size]`
543
596
  **/
544
- HrmpChannelForceOpened: AugmentedEvent<ApiType, [u32, u32, u32, u32]>;
597
+ HrmpChannelForceOpened: AugmentedEvent<ApiType, [sender: u32, recipient: u32, proposedMaxCapacity: u32, proposedMaxMessageSize: u32], {
598
+ sender: u32;
599
+ recipient: u32;
600
+ proposedMaxCapacity: u32;
601
+ proposedMaxMessageSize: u32;
602
+ }>;
545
603
  /**
546
- * Open HRMP channel accepted. `[sender, recipient]`
604
+ * An HRMP channel was opened between two system chains.
547
605
  **/
548
- OpenChannelAccepted: AugmentedEvent<ApiType, [u32, u32]>;
606
+ HrmpSystemChannelOpened: AugmentedEvent<ApiType, [sender: u32, recipient: u32, proposedMaxCapacity: u32, proposedMaxMessageSize: u32], {
607
+ sender: u32;
608
+ recipient: u32;
609
+ proposedMaxCapacity: u32;
610
+ proposedMaxMessageSize: u32;
611
+ }>;
612
+ /**
613
+ * Open HRMP channel accepted.
614
+ **/
615
+ OpenChannelAccepted: AugmentedEvent<ApiType, [sender: u32, recipient: u32], {
616
+ sender: u32;
617
+ recipient: u32;
618
+ }>;
549
619
  /**
550
620
  * An HRMP channel request sent by the receiver was canceled by either party.
551
- * `[by_parachain, channel_id]`
552
621
  **/
553
- OpenChannelCanceled: AugmentedEvent<ApiType, [u32, PolkadotParachainPrimitivesHrmpChannelId]>;
622
+ OpenChannelCanceled: AugmentedEvent<ApiType, [byParachain: u32, channelId: PolkadotParachainPrimitivesPrimitivesHrmpChannelId], {
623
+ byParachain: u32;
624
+ channelId: PolkadotParachainPrimitivesPrimitivesHrmpChannelId;
625
+ }>;
626
+ /**
627
+ * An HRMP channel's deposits were updated.
628
+ **/
629
+ OpenChannelDepositsUpdated: AugmentedEvent<ApiType, [sender: u32, recipient: u32], {
630
+ sender: u32;
631
+ recipient: u32;
632
+ }>;
554
633
  /**
555
634
  * Open HRMP channel requested.
556
- * `[sender, recipient, proposed_max_capacity, proposed_max_message_size]`
557
635
  **/
558
- OpenChannelRequested: AugmentedEvent<ApiType, [u32, u32, u32, u32]>;
636
+ OpenChannelRequested: AugmentedEvent<ApiType, [sender: u32, recipient: u32, proposedMaxCapacity: u32, proposedMaxMessageSize: u32], {
637
+ sender: u32;
638
+ recipient: u32;
639
+ proposedMaxCapacity: u32;
640
+ proposedMaxMessageSize: u32;
641
+ }>;
559
642
  /**
560
643
  * Generic event
561
644
  **/
562
645
  [key: string]: AugmentedEvent<ApiType>;
563
646
  };
564
647
  identity: {
648
+ /**
649
+ * A username authority was added.
650
+ **/
651
+ AuthorityAdded: AugmentedEvent<ApiType, [authority: AccountId32], {
652
+ authority: AccountId32;
653
+ }>;
654
+ /**
655
+ * A username authority was removed.
656
+ **/
657
+ AuthorityRemoved: AugmentedEvent<ApiType, [authority: AccountId32], {
658
+ authority: AccountId32;
659
+ }>;
660
+ /**
661
+ * A dangling username (as in, a username corresponding to an account that has removed its
662
+ * identity) has been removed.
663
+ **/
664
+ DanglingUsernameRemoved: AugmentedEvent<ApiType, [who: AccountId32, username: Bytes], {
665
+ who: AccountId32;
666
+ username: Bytes;
667
+ }>;
565
668
  /**
566
669
  * A name was cleared, and the given balance returned.
567
670
  **/
@@ -603,6 +706,19 @@ declare module '@polkadot/api-base/types/events' {
603
706
  who: AccountId32;
604
707
  registrarIndex: u32;
605
708
  }>;
709
+ /**
710
+ * A queued username passed its expiration without being claimed and was removed.
711
+ **/
712
+ PreapprovalExpired: AugmentedEvent<ApiType, [whose: AccountId32], {
713
+ whose: AccountId32;
714
+ }>;
715
+ /**
716
+ * A username was set as a primary and can be looked up from `who`.
717
+ **/
718
+ PrimaryUsernameSet: AugmentedEvent<ApiType, [who: AccountId32, username: Bytes], {
719
+ who: AccountId32;
720
+ username: Bytes;
721
+ }>;
606
722
  /**
607
723
  * A registrar was added.
608
724
  **/
@@ -635,26 +751,19 @@ declare module '@polkadot/api-base/types/events' {
635
751
  deposit: u128;
636
752
  }>;
637
753
  /**
638
- * Generic event
754
+ * A username was queued, but `who` must accept it prior to `expiration`.
639
755
  **/
640
- [key: string]: AugmentedEvent<ApiType>;
641
- };
642
- imOnline: {
643
- /**
644
- * At the end of the session, no offence was committed.
645
- **/
646
- AllGood: AugmentedEvent<ApiType, []>;
647
- /**
648
- * A new heartbeat was received from `AuthorityId`.
649
- **/
650
- HeartbeatReceived: AugmentedEvent<ApiType, [authorityId: PalletImOnlineSr25519AppSr25519Public], {
651
- authorityId: PalletImOnlineSr25519AppSr25519Public;
756
+ UsernameQueued: AugmentedEvent<ApiType, [who: AccountId32, username: Bytes, expiration: u32], {
757
+ who: AccountId32;
758
+ username: Bytes;
759
+ expiration: u32;
652
760
  }>;
653
761
  /**
654
- * At the end of the session, at least one validator was found to be offline.
762
+ * A username was set for `who`.
655
763
  **/
656
- SomeOffline: AugmentedEvent<ApiType, [offline: Vec<ITuple<[AccountId32, PalletStakingExposure]>>], {
657
- offline: Vec<ITuple<[AccountId32, PalletStakingExposure]>>;
764
+ UsernameSet: AugmentedEvent<ApiType, [who: AccountId32, username: Bytes], {
765
+ who: AccountId32;
766
+ username: Bytes;
658
767
  }>;
659
768
  /**
660
769
  * Generic event
@@ -707,8 +816,8 @@ declare module '@polkadot/api-base/types/events' {
707
816
  /**
708
817
  * Message is processed.
709
818
  **/
710
- Processed: AugmentedEvent<ApiType, [id: U8aFixed, origin: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, weightUsed: SpWeightsWeightV2Weight, success: bool], {
711
- id: U8aFixed;
819
+ Processed: AugmentedEvent<ApiType, [id: H256, origin: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, weightUsed: SpWeightsWeightV2Weight, success: bool], {
820
+ id: H256;
712
821
  origin: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin;
713
822
  weightUsed: SpWeightsWeightV2Weight;
714
823
  success: bool;
@@ -716,8 +825,8 @@ declare module '@polkadot/api-base/types/events' {
716
825
  /**
717
826
  * Message discarded due to an error in the `MessageProcessor` (usually a format error).
718
827
  **/
719
- ProcessingFailed: AugmentedEvent<ApiType, [id: U8aFixed, origin: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, error: FrameSupportMessagesProcessMessageError], {
720
- id: U8aFixed;
828
+ ProcessingFailed: AugmentedEvent<ApiType, [id: H256, origin: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, error: FrameSupportMessagesProcessMessageError], {
829
+ id: H256;
721
830
  origin: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin;
722
831
  error: FrameSupportMessagesProcessMessageError;
723
832
  }>;
@@ -800,6 +909,20 @@ declare module '@polkadot/api-base/types/events' {
800
909
  poolId: u32;
801
910
  member: AccountId32;
802
911
  }>;
912
+ /**
913
+ * Topped up deficit in frozen ED of the reward pool.
914
+ **/
915
+ MinBalanceDeficitAdjusted: AugmentedEvent<ApiType, [poolId: u32, amount: u128], {
916
+ poolId: u32;
917
+ amount: u128;
918
+ }>;
919
+ /**
920
+ * Claimed excess frozen ED of af the reward pool.
921
+ **/
922
+ MinBalanceExcessAdjusted: AugmentedEvent<ApiType, [poolId: u32, amount: u128], {
923
+ poolId: u32;
924
+ amount: u128;
925
+ }>;
803
926
  /**
804
927
  * A payout has been made to a member.
805
928
  **/
@@ -822,6 +945,13 @@ declare module '@polkadot/api-base/types/events' {
822
945
  poolId: u32;
823
946
  commission: u128;
824
947
  }>;
948
+ /**
949
+ * Pool commission claim permission has been updated.
950
+ **/
951
+ PoolCommissionClaimPermissionUpdated: AugmentedEvent<ApiType, [poolId: u32, permission: Option<PalletNominationPoolsCommissionClaimPermission>], {
952
+ poolId: u32;
953
+ permission: Option<PalletNominationPoolsCommissionClaimPermission>;
954
+ }>;
825
955
  /**
826
956
  * A pool's commission setting has been changed.
827
957
  **/
@@ -925,15 +1055,15 @@ declare module '@polkadot/api-base/types/events' {
925
1055
  /**
926
1056
  * A candidate was backed. `[candidate, head_data]`
927
1057
  **/
928
- CandidateBacked: AugmentedEvent<ApiType, [PolkadotPrimitivesV5CandidateReceipt, Bytes, u32, u32]>;
1058
+ CandidateBacked: AugmentedEvent<ApiType, [PolkadotPrimitivesV6CandidateReceipt, Bytes, u32, u32]>;
929
1059
  /**
930
1060
  * A candidate was included. `[candidate, head_data]`
931
1061
  **/
932
- CandidateIncluded: AugmentedEvent<ApiType, [PolkadotPrimitivesV5CandidateReceipt, Bytes, u32, u32]>;
1062
+ CandidateIncluded: AugmentedEvent<ApiType, [PolkadotPrimitivesV6CandidateReceipt, Bytes, u32, u32]>;
933
1063
  /**
934
1064
  * A candidate timed out. `[candidate, head_data]`
935
1065
  **/
936
- CandidateTimedOut: AugmentedEvent<ApiType, [PolkadotPrimitivesV5CandidateReceipt, Bytes, u32]>;
1066
+ CandidateTimedOut: AugmentedEvent<ApiType, [PolkadotPrimitivesV6CandidateReceipt, Bytes, u32]>;
937
1067
  /**
938
1068
  * Some upward messages have been received and will be processed.
939
1069
  **/
@@ -1134,7 +1264,7 @@ declare module '@polkadot/api-base/types/events' {
1134
1264
  tally: PalletConvictionVotingTally;
1135
1265
  }>;
1136
1266
  /**
1137
- * A deposit has been slashaed.
1267
+ * A deposit has been slashed.
1138
1268
  **/
1139
1269
  DepositSlashed: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
1140
1270
  who: AccountId32;
@@ -1358,10 +1488,11 @@ declare module '@polkadot/api-base/types/events' {
1358
1488
  validatorStash: AccountId32;
1359
1489
  }>;
1360
1490
  /**
1361
- * The nominator has been rewarded by this amount.
1491
+ * The nominator has been rewarded by this amount to this destination.
1362
1492
  **/
1363
- Rewarded: AugmentedEvent<ApiType, [stash: AccountId32, amount: u128], {
1493
+ Rewarded: AugmentedEvent<ApiType, [stash: AccountId32, dest: PalletStakingRewardDestination, amount: u128], {
1364
1494
  stash: AccountId32;
1495
+ dest: PalletStakingRewardDestination;
1365
1496
  amount: u128;
1366
1497
  }>;
1367
1498
  /**
@@ -1464,6 +1595,13 @@ declare module '@polkadot/api-base/types/events' {
1464
1595
  sender: AccountId32;
1465
1596
  hash_: H256;
1466
1597
  }>;
1598
+ /**
1599
+ * An upgrade was authorized.
1600
+ **/
1601
+ UpgradeAuthorized: AugmentedEvent<ApiType, [codeHash: H256, checkVersion: bool], {
1602
+ codeHash: H256;
1603
+ checkVersion: bool;
1604
+ }>;
1467
1605
  /**
1468
1606
  * Generic event
1469
1607
  **/
@@ -1485,6 +1623,23 @@ declare module '@polkadot/api-base/types/events' {
1485
1623
  [key: string]: AugmentedEvent<ApiType>;
1486
1624
  };
1487
1625
  treasury: {
1626
+ /**
1627
+ * A new asset spend proposal has been approved.
1628
+ **/
1629
+ AssetSpendApproved: AugmentedEvent<ApiType, [index: u32, assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset, amount: u128, beneficiary: XcmVersionedLocation, validFrom: u32, expireAt: u32], {
1630
+ index: u32;
1631
+ assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset;
1632
+ amount: u128;
1633
+ beneficiary: XcmVersionedLocation;
1634
+ validFrom: u32;
1635
+ expireAt: u32;
1636
+ }>;
1637
+ /**
1638
+ * An approved spend was voided.
1639
+ **/
1640
+ AssetSpendVoided: AugmentedEvent<ApiType, [index: u32], {
1641
+ index: u32;
1642
+ }>;
1488
1643
  /**
1489
1644
  * Some funds have been allocated.
1490
1645
  **/
@@ -1505,6 +1660,20 @@ declare module '@polkadot/api-base/types/events' {
1505
1660
  Deposit: AugmentedEvent<ApiType, [value: u128], {
1506
1661
  value: u128;
1507
1662
  }>;
1663
+ /**
1664
+ * A payment happened.
1665
+ **/
1666
+ Paid: AugmentedEvent<ApiType, [index: u32, paymentId: u64], {
1667
+ index: u32;
1668
+ paymentId: u64;
1669
+ }>;
1670
+ /**
1671
+ * A payment failed and can be retried.
1672
+ **/
1673
+ PaymentFailed: AugmentedEvent<ApiType, [index: u32, paymentId: u64], {
1674
+ index: u32;
1675
+ paymentId: u64;
1676
+ }>;
1508
1677
  /**
1509
1678
  * New proposal.
1510
1679
  **/
@@ -1538,6 +1707,13 @@ declare module '@polkadot/api-base/types/events' {
1538
1707
  Spending: AugmentedEvent<ApiType, [budgetRemaining: u128], {
1539
1708
  budgetRemaining: u128;
1540
1709
  }>;
1710
+ /**
1711
+ * A spend was processed and removed from the storage. It might have been successfully
1712
+ * paid or it may have expired.
1713
+ **/
1714
+ SpendProcessed: AugmentedEvent<ApiType, [index: u32], {
1715
+ index: u32;
1716
+ }>;
1541
1717
  /**
1542
1718
  * The inactive funds of the pallet have been updated.
1543
1719
  **/
@@ -1649,42 +1825,42 @@ declare module '@polkadot/api-base/types/events' {
1649
1825
  /**
1650
1826
  * Some assets have been claimed from an asset trap
1651
1827
  **/
1652
- AssetsClaimed: AugmentedEvent<ApiType, [hash_: H256, origin: XcmV3MultiLocation, assets: XcmVersionedMultiAssets], {
1828
+ AssetsClaimed: AugmentedEvent<ApiType, [hash_: H256, origin: StagingXcmV4Location, assets: XcmVersionedAssets], {
1653
1829
  hash_: H256;
1654
- origin: XcmV3MultiLocation;
1655
- assets: XcmVersionedMultiAssets;
1830
+ origin: StagingXcmV4Location;
1831
+ assets: XcmVersionedAssets;
1656
1832
  }>;
1657
1833
  /**
1658
1834
  * Some assets have been placed in an asset trap.
1659
1835
  **/
1660
- AssetsTrapped: AugmentedEvent<ApiType, [hash_: H256, origin: XcmV3MultiLocation, assets: XcmVersionedMultiAssets], {
1836
+ AssetsTrapped: AugmentedEvent<ApiType, [hash_: H256, origin: StagingXcmV4Location, assets: XcmVersionedAssets], {
1661
1837
  hash_: H256;
1662
- origin: XcmV3MultiLocation;
1663
- assets: XcmVersionedMultiAssets;
1838
+ origin: StagingXcmV4Location;
1839
+ assets: XcmVersionedAssets;
1664
1840
  }>;
1665
1841
  /**
1666
1842
  * Execution of an XCM message was attempted.
1667
1843
  **/
1668
- Attempted: AugmentedEvent<ApiType, [outcome: XcmV3TraitsOutcome], {
1669
- outcome: XcmV3TraitsOutcome;
1844
+ Attempted: AugmentedEvent<ApiType, [outcome: StagingXcmV4TraitsOutcome], {
1845
+ outcome: StagingXcmV4TraitsOutcome;
1670
1846
  }>;
1671
1847
  /**
1672
1848
  * Fees were paid from a location for an operation (often for using `SendXcm`).
1673
1849
  **/
1674
- FeesPaid: AugmentedEvent<ApiType, [paying: XcmV3MultiLocation, fees: XcmV3MultiassetMultiAssets], {
1675
- paying: XcmV3MultiLocation;
1676
- fees: XcmV3MultiassetMultiAssets;
1850
+ FeesPaid: AugmentedEvent<ApiType, [paying: StagingXcmV4Location, fees: StagingXcmV4AssetAssets], {
1851
+ paying: StagingXcmV4Location;
1852
+ fees: StagingXcmV4AssetAssets;
1677
1853
  }>;
1678
1854
  /**
1679
1855
  * Expected query response has been received but the querier location of the response does
1680
1856
  * not match the expected. The query remains registered for a later, valid, response to
1681
1857
  * be received and acted upon.
1682
1858
  **/
1683
- InvalidQuerier: AugmentedEvent<ApiType, [origin: XcmV3MultiLocation, queryId: u64, expectedQuerier: XcmV3MultiLocation, maybeActualQuerier: Option<XcmV3MultiLocation>], {
1684
- origin: XcmV3MultiLocation;
1859
+ InvalidQuerier: AugmentedEvent<ApiType, [origin: StagingXcmV4Location, queryId: u64, expectedQuerier: StagingXcmV4Location, maybeActualQuerier: Option<StagingXcmV4Location>], {
1860
+ origin: StagingXcmV4Location;
1685
1861
  queryId: u64;
1686
- expectedQuerier: XcmV3MultiLocation;
1687
- maybeActualQuerier: Option<XcmV3MultiLocation>;
1862
+ expectedQuerier: StagingXcmV4Location;
1863
+ maybeActualQuerier: Option<StagingXcmV4Location>;
1688
1864
  }>;
1689
1865
  /**
1690
1866
  * Expected query response has been received but the expected querier location placed in
@@ -1695,8 +1871,8 @@ declare module '@polkadot/api-base/types/events' {
1695
1871
  * valid response will be dropped. Manual governance intervention is probably going to be
1696
1872
  * needed.
1697
1873
  **/
1698
- InvalidQuerierVersion: AugmentedEvent<ApiType, [origin: XcmV3MultiLocation, queryId: u64], {
1699
- origin: XcmV3MultiLocation;
1874
+ InvalidQuerierVersion: AugmentedEvent<ApiType, [origin: StagingXcmV4Location, queryId: u64], {
1875
+ origin: StagingXcmV4Location;
1700
1876
  queryId: u64;
1701
1877
  }>;
1702
1878
  /**
@@ -1704,10 +1880,10 @@ declare module '@polkadot/api-base/types/events' {
1704
1880
  * not match that expected. The query remains registered for a later, valid, response to
1705
1881
  * be received and acted upon.
1706
1882
  **/
1707
- InvalidResponder: AugmentedEvent<ApiType, [origin: XcmV3MultiLocation, queryId: u64, expectedLocation: Option<XcmV3MultiLocation>], {
1708
- origin: XcmV3MultiLocation;
1883
+ InvalidResponder: AugmentedEvent<ApiType, [origin: StagingXcmV4Location, queryId: u64, expectedLocation: Option<StagingXcmV4Location>], {
1884
+ origin: StagingXcmV4Location;
1709
1885
  queryId: u64;
1710
- expectedLocation: Option<XcmV3MultiLocation>;
1886
+ expectedLocation: Option<StagingXcmV4Location>;
1711
1887
  }>;
1712
1888
  /**
1713
1889
  * Expected query response has been received but the expected origin location placed in
@@ -1718,8 +1894,8 @@ declare module '@polkadot/api-base/types/events' {
1718
1894
  * valid response will be dropped. Manual governance intervention is probably going to be
1719
1895
  * needed.
1720
1896
  **/
1721
- InvalidResponderVersion: AugmentedEvent<ApiType, [origin: XcmV3MultiLocation, queryId: u64], {
1722
- origin: XcmV3MultiLocation;
1897
+ InvalidResponderVersion: AugmentedEvent<ApiType, [origin: StagingXcmV4Location, queryId: u64], {
1898
+ origin: StagingXcmV4Location;
1723
1899
  queryId: u64;
1724
1900
  }>;
1725
1901
  /**
@@ -1766,16 +1942,16 @@ declare module '@polkadot/api-base/types/events' {
1766
1942
  * A given location which had a version change subscription was dropped owing to an error
1767
1943
  * migrating the location to our new XCM format.
1768
1944
  **/
1769
- NotifyTargetMigrationFail: AugmentedEvent<ApiType, [location: XcmVersionedMultiLocation, queryId: u64], {
1770
- location: XcmVersionedMultiLocation;
1945
+ NotifyTargetMigrationFail: AugmentedEvent<ApiType, [location: XcmVersionedLocation, queryId: u64], {
1946
+ location: XcmVersionedLocation;
1771
1947
  queryId: u64;
1772
1948
  }>;
1773
1949
  /**
1774
1950
  * A given location which had a version change subscription was dropped owing to an error
1775
1951
  * sending the notification to it.
1776
1952
  **/
1777
- NotifyTargetSendFail: AugmentedEvent<ApiType, [location: XcmV3MultiLocation, queryId: u64, error: XcmV3TraitsError], {
1778
- location: XcmV3MultiLocation;
1953
+ NotifyTargetSendFail: AugmentedEvent<ApiType, [location: StagingXcmV4Location, queryId: u64, error: XcmV3TraitsError], {
1954
+ location: StagingXcmV4Location;
1779
1955
  queryId: u64;
1780
1956
  error: XcmV3TraitsError;
1781
1957
  }>;
@@ -1783,9 +1959,9 @@ declare module '@polkadot/api-base/types/events' {
1783
1959
  * Query response has been received and is ready for taking with `take_response`. There is
1784
1960
  * no registered notification call.
1785
1961
  **/
1786
- ResponseReady: AugmentedEvent<ApiType, [queryId: u64, response: XcmV3Response], {
1962
+ ResponseReady: AugmentedEvent<ApiType, [queryId: u64, response: StagingXcmV4Response], {
1787
1963
  queryId: u64;
1788
- response: XcmV3Response;
1964
+ response: StagingXcmV4Response;
1789
1965
  }>;
1790
1966
  /**
1791
1967
  * Received query response has been read and removed.
@@ -1796,18 +1972,18 @@ declare module '@polkadot/api-base/types/events' {
1796
1972
  /**
1797
1973
  * A XCM message was sent.
1798
1974
  **/
1799
- Sent: AugmentedEvent<ApiType, [origin: XcmV3MultiLocation, destination: XcmV3MultiLocation, message: XcmV3Xcm, messageId: U8aFixed], {
1800
- origin: XcmV3MultiLocation;
1801
- destination: XcmV3MultiLocation;
1802
- message: XcmV3Xcm;
1975
+ Sent: AugmentedEvent<ApiType, [origin: StagingXcmV4Location, destination: StagingXcmV4Location, message: StagingXcmV4Xcm, messageId: U8aFixed], {
1976
+ origin: StagingXcmV4Location;
1977
+ destination: StagingXcmV4Location;
1978
+ message: StagingXcmV4Xcm;
1803
1979
  messageId: U8aFixed;
1804
1980
  }>;
1805
1981
  /**
1806
1982
  * The supported version of a location has been changed. This might be through an
1807
1983
  * automatic notification or a manual intervention.
1808
1984
  **/
1809
- SupportedVersionChanged: AugmentedEvent<ApiType, [location: XcmV3MultiLocation, version: u32], {
1810
- location: XcmV3MultiLocation;
1985
+ SupportedVersionChanged: AugmentedEvent<ApiType, [location: StagingXcmV4Location, version: u32], {
1986
+ location: StagingXcmV4Location;
1811
1987
  version: u32;
1812
1988
  }>;
1813
1989
  /**
@@ -1815,8 +1991,8 @@ declare module '@polkadot/api-base/types/events' {
1815
1991
  * matching query was never registered, it may be because it is a duplicate response, or
1816
1992
  * because the query timed out.
1817
1993
  **/
1818
- UnexpectedResponse: AugmentedEvent<ApiType, [origin: XcmV3MultiLocation, queryId: u64], {
1819
- origin: XcmV3MultiLocation;
1994
+ UnexpectedResponse: AugmentedEvent<ApiType, [origin: StagingXcmV4Location, queryId: u64], {
1995
+ origin: StagingXcmV4Location;
1820
1996
  queryId: u64;
1821
1997
  }>;
1822
1998
  /**
@@ -1824,36 +2000,42 @@ declare module '@polkadot/api-base/types/events' {
1824
2000
  *
1825
2001
  * The cost of sending it (borne by the chain) is included.
1826
2002
  **/
1827
- VersionChangeNotified: AugmentedEvent<ApiType, [destination: XcmV3MultiLocation, result: u32, cost: XcmV3MultiassetMultiAssets, messageId: U8aFixed], {
1828
- destination: XcmV3MultiLocation;
2003
+ VersionChangeNotified: AugmentedEvent<ApiType, [destination: StagingXcmV4Location, result: u32, cost: StagingXcmV4AssetAssets, messageId: U8aFixed], {
2004
+ destination: StagingXcmV4Location;
1829
2005
  result: u32;
1830
- cost: XcmV3MultiassetMultiAssets;
2006
+ cost: StagingXcmV4AssetAssets;
1831
2007
  messageId: U8aFixed;
1832
2008
  }>;
2009
+ /**
2010
+ * A XCM version migration finished.
2011
+ **/
2012
+ VersionMigrationFinished: AugmentedEvent<ApiType, [version: u32], {
2013
+ version: u32;
2014
+ }>;
1833
2015
  /**
1834
2016
  * We have requested that a remote chain send us XCM version change notifications.
1835
2017
  **/
1836
- VersionNotifyRequested: AugmentedEvent<ApiType, [destination: XcmV3MultiLocation, cost: XcmV3MultiassetMultiAssets, messageId: U8aFixed], {
1837
- destination: XcmV3MultiLocation;
1838
- cost: XcmV3MultiassetMultiAssets;
2018
+ VersionNotifyRequested: AugmentedEvent<ApiType, [destination: StagingXcmV4Location, cost: StagingXcmV4AssetAssets, messageId: U8aFixed], {
2019
+ destination: StagingXcmV4Location;
2020
+ cost: StagingXcmV4AssetAssets;
1839
2021
  messageId: U8aFixed;
1840
2022
  }>;
1841
2023
  /**
1842
2024
  * A remote has requested XCM version change notification from us and we have honored it.
1843
2025
  * A version information message is sent to them and its cost is included.
1844
2026
  **/
1845
- VersionNotifyStarted: AugmentedEvent<ApiType, [destination: XcmV3MultiLocation, cost: XcmV3MultiassetMultiAssets, messageId: U8aFixed], {
1846
- destination: XcmV3MultiLocation;
1847
- cost: XcmV3MultiassetMultiAssets;
2027
+ VersionNotifyStarted: AugmentedEvent<ApiType, [destination: StagingXcmV4Location, cost: StagingXcmV4AssetAssets, messageId: U8aFixed], {
2028
+ destination: StagingXcmV4Location;
2029
+ cost: StagingXcmV4AssetAssets;
1848
2030
  messageId: U8aFixed;
1849
2031
  }>;
1850
2032
  /**
1851
2033
  * We have requested that a remote chain stops sending us XCM version change
1852
2034
  * notifications.
1853
2035
  **/
1854
- VersionNotifyUnrequested: AugmentedEvent<ApiType, [destination: XcmV3MultiLocation, cost: XcmV3MultiassetMultiAssets, messageId: U8aFixed], {
1855
- destination: XcmV3MultiLocation;
1856
- cost: XcmV3MultiassetMultiAssets;
2036
+ VersionNotifyUnrequested: AugmentedEvent<ApiType, [destination: StagingXcmV4Location, cost: StagingXcmV4AssetAssets, messageId: U8aFixed], {
2037
+ destination: StagingXcmV4Location;
2038
+ cost: StagingXcmV4AssetAssets;
1857
2039
  messageId: U8aFixed;
1858
2040
  }>;
1859
2041
  /**