@@ -6,7 +6,7 @@ import type { ApiTypes, AugmentedEvent } from 'https://deno.land/x/polkadot/api-
6
6
import type { Bytes , Null , Option , Result , U8aFixed , Vec , bool , u128 , u16 , u32 , u64 , u8 } from 'https://deno.land/x/polkadot/types-codec/mod.ts' ;
7
7
import type { ITuple } from 'https://deno.land/x/polkadot/types-codec/types/index.ts' ;
8
8
import type { AccountId32 , H256 , Permill } from 'https://deno.land/x/polkadot/types/interfaces/runtime/index.ts' ;
9
- import type { AssetHubKusamaRuntimeProxyType , CumulusPrimitivesCoreAggregateMessageOrigin , FrameSupportDispatchDispatchInfo , FrameSupportMessagesProcessMessageError , FrameSupportTokensMiscBalanceStatus , PalletMultisigTimepoint , PalletNftsAttributeNamespace , PalletNftsPalletAttributes , PalletNftsPriceWithDirection , SpRuntimeDispatchError , SpWeightsWeightV2Weight , StagingXcmV4AssetAssets , StagingXcmV4Location , StagingXcmV4Response , StagingXcmV4TraitsOutcome , StagingXcmV4Xcm , XcmV3TraitsError , XcmVersionedAssets , XcmVersionedLocation } from 'https://deno.land/x/polkadot/types/lookup.ts' ;
9
+ import type { AssetHubKusamaRuntimeProxyType , CumulusPrimitivesCoreAggregateMessageOrigin , FrameSupportMessagesProcessMessageError , FrameSupportTokensMiscBalanceStatus , FrameSystemDispatchEventInfo , PalletMultisigTimepoint , PalletNftsAttributeNamespace , PalletNftsPalletAttributes , PalletNftsPriceWithDirection , PalletStateTrieMigrationError , PalletStateTrieMigrationMigrationCompute , SpRuntimeDispatchError , SpWeightsWeightV2Weight , StagingXcmV4Location , StagingXcmV5AssetAssets , StagingXcmV5Location , StagingXcmV5Response , StagingXcmV5TraitsOutcome , StagingXcmV5Xcm , XcmV5TraitsError , XcmVersionedAssets , XcmVersionedLocation } from 'https://deno.land/x/polkadot/types/lookup.ts' ;
10
10
11
11
export type __AugmentedEvent < ApiType extends ApiTypes > = AugmentedEvent < ApiType > ;
12
12
@@ -317,7 +317,7 @@ declare module 'https://deno.land/x/polkadot/api-base/types/events.ts' {
317
317
* Downward message executed with the given outcome.
318
318
* \[ id, outcome \]
319
319
**/
320
- ExecutedDownward : AugmentedEvent < ApiType , [ U8aFixed , StagingXcmV4TraitsOutcome ] > ;
320
+ ExecutedDownward : AugmentedEvent < ApiType , [ U8aFixed , StagingXcmV5TraitsOutcome ] > ;
321
321
/**
322
322
* Downward message is invalid XCM.
323
323
* \[ id \]
@@ -697,25 +697,25 @@ declare module 'https://deno.land/x/polkadot/api-base/types/events.ts' {
697
697
/**
698
698
* Some assets have been claimed from an asset trap
699
699
**/
700
- AssetsClaimed : AugmentedEvent < ApiType , [ hash_ : H256 , origin : StagingXcmV4Location , assets : XcmVersionedAssets ] , { hash_ : H256 , origin : StagingXcmV4Location , assets : XcmVersionedAssets } > ;
700
+ AssetsClaimed : AugmentedEvent < ApiType , [ hash_ : H256 , origin : StagingXcmV5Location , assets : XcmVersionedAssets ] , { hash_ : H256 , origin : StagingXcmV5Location , assets : XcmVersionedAssets } > ;
701
701
/**
702
702
* Some assets have been placed in an asset trap.
703
703
**/
704
- AssetsTrapped : AugmentedEvent < ApiType , [ hash_ : H256 , origin : StagingXcmV4Location , assets : XcmVersionedAssets ] , { hash_ : H256 , origin : StagingXcmV4Location , assets : XcmVersionedAssets } > ;
704
+ AssetsTrapped : AugmentedEvent < ApiType , [ hash_ : H256 , origin : StagingXcmV5Location , assets : XcmVersionedAssets ] , { hash_ : H256 , origin : StagingXcmV5Location , assets : XcmVersionedAssets } > ;
705
705
/**
706
706
* Execution of an XCM message was attempted.
707
707
**/
708
- Attempted : AugmentedEvent < ApiType , [ outcome : StagingXcmV4TraitsOutcome ] , { outcome : StagingXcmV4TraitsOutcome } > ;
708
+ Attempted : AugmentedEvent < ApiType , [ outcome : StagingXcmV5TraitsOutcome ] , { outcome : StagingXcmV5TraitsOutcome } > ;
709
709
/**
710
710
* Fees were paid from a location for an operation (often for using `SendXcm`).
711
711
**/
712
- FeesPaid : AugmentedEvent < ApiType , [ paying : StagingXcmV4Location , fees : StagingXcmV4AssetAssets ] , { paying : StagingXcmV4Location , fees : StagingXcmV4AssetAssets } > ;
712
+ FeesPaid : AugmentedEvent < ApiType , [ paying : StagingXcmV5Location , fees : StagingXcmV5AssetAssets ] , { paying : StagingXcmV5Location , fees : StagingXcmV5AssetAssets } > ;
713
713
/**
714
714
* Expected query response has been received but the querier location of the response does
715
715
* not match the expected. The query remains registered for a later, valid, response to
716
716
* be received and acted upon.
717
717
**/
718
- InvalidQuerier : AugmentedEvent < ApiType , [ origin : StagingXcmV4Location , queryId : u64 , expectedQuerier : StagingXcmV4Location , maybeActualQuerier : Option < StagingXcmV4Location > ] , { origin : StagingXcmV4Location , queryId : u64 , expectedQuerier : StagingXcmV4Location , maybeActualQuerier : Option < StagingXcmV4Location > } > ;
718
+ InvalidQuerier : AugmentedEvent < ApiType , [ origin : StagingXcmV5Location , queryId : u64 , expectedQuerier : StagingXcmV5Location , maybeActualQuerier : Option < StagingXcmV5Location > ] , { origin : StagingXcmV5Location , queryId : u64 , expectedQuerier : StagingXcmV5Location , maybeActualQuerier : Option < StagingXcmV5Location > } > ;
719
719
/**
720
720
* Expected query response has been received but the expected querier location placed in
721
721
* storage by this runtime previously cannot be decoded. The query remains registered.
@@ -725,13 +725,13 @@ declare module 'https://deno.land/x/polkadot/api-base/types/events.ts' {
725
725
* valid response will be dropped. Manual governance intervention is probably going to be
726
726
* needed.
727
727
**/
728
- InvalidQuerierVersion : AugmentedEvent < ApiType , [ origin : StagingXcmV4Location , queryId : u64 ] , { origin : StagingXcmV4Location , queryId : u64 } > ;
728
+ InvalidQuerierVersion : AugmentedEvent < ApiType , [ origin : StagingXcmV5Location , queryId : u64 ] , { origin : StagingXcmV5Location , queryId : u64 } > ;
729
729
/**
730
730
* Expected query response has been received but the origin location of the response does
731
731
* not match that expected. The query remains registered for a later, valid, response to
732
732
* be received and acted upon.
733
733
**/
734
- InvalidResponder : AugmentedEvent < ApiType , [ origin : StagingXcmV4Location , queryId : u64 , expectedLocation : Option < StagingXcmV4Location > ] , { origin : StagingXcmV4Location , queryId : u64 , expectedLocation : Option < StagingXcmV4Location > } > ;
734
+ InvalidResponder : AugmentedEvent < ApiType , [ origin : StagingXcmV5Location , queryId : u64 , expectedLocation : Option < StagingXcmV5Location > ] , { origin : StagingXcmV5Location , queryId : u64 , expectedLocation : Option < StagingXcmV5Location > } > ;
735
735
/**
736
736
* Expected query response has been received but the expected origin location placed in
737
737
* storage by this runtime previously cannot be decoded. The query remains registered.
@@ -741,7 +741,7 @@ declare module 'https://deno.land/x/polkadot/api-base/types/events.ts' {
741
741
* valid response will be dropped. Manual governance intervention is probably going to be
742
742
* needed.
743
743
**/
744
- InvalidResponderVersion : AugmentedEvent < ApiType , [ origin : StagingXcmV4Location , queryId : u64 ] , { origin : StagingXcmV4Location , queryId : u64 } > ;
744
+ InvalidResponderVersion : AugmentedEvent < ApiType , [ origin : StagingXcmV5Location , queryId : u64 ] , { origin : StagingXcmV5Location , queryId : u64 } > ;
745
745
/**
746
746
* Query response has been received and query is removed. The registered notification has
747
747
* been dispatched and executed successfully.
@@ -773,55 +773,55 @@ declare module 'https://deno.land/x/polkadot/api-base/types/events.ts' {
773
773
* A given location which had a version change subscription was dropped owing to an error
774
774
* sending the notification to it.
775
775
**/
776
- NotifyTargetSendFail : AugmentedEvent < ApiType , [ location : StagingXcmV4Location , queryId : u64 , error : XcmV3TraitsError ] , { location : StagingXcmV4Location , queryId : u64 , error : XcmV3TraitsError } > ;
776
+ NotifyTargetSendFail : AugmentedEvent < ApiType , [ location : StagingXcmV5Location , queryId : u64 , error : XcmV5TraitsError ] , { location : StagingXcmV5Location , queryId : u64 , error : XcmV5TraitsError } > ;
777
777
/**
778
778
* Query response has been received and is ready for taking with `take_response`. There is
779
779
* no registered notification call.
780
780
**/
781
- ResponseReady : AugmentedEvent < ApiType , [ queryId : u64 , response : StagingXcmV4Response ] , { queryId : u64 , response : StagingXcmV4Response } > ;
781
+ ResponseReady : AugmentedEvent < ApiType , [ queryId : u64 , response : StagingXcmV5Response ] , { queryId : u64 , response : StagingXcmV5Response } > ;
782
782
/**
783
783
* Received query response has been read and removed.
784
784
**/
785
785
ResponseTaken : AugmentedEvent < ApiType , [ queryId : u64 ] , { queryId : u64 } > ;
786
786
/**
787
787
* A XCM message was sent.
788
788
**/
789
- Sent : AugmentedEvent < ApiType , [ origin : StagingXcmV4Location , destination : StagingXcmV4Location , message : StagingXcmV4Xcm , messageId : U8aFixed ] , { origin : StagingXcmV4Location , destination : StagingXcmV4Location , message : StagingXcmV4Xcm , messageId : U8aFixed } > ;
789
+ Sent : AugmentedEvent < ApiType , [ origin : StagingXcmV5Location , destination : StagingXcmV5Location , message : StagingXcmV5Xcm , messageId : U8aFixed ] , { origin : StagingXcmV5Location , destination : StagingXcmV5Location , message : StagingXcmV5Xcm , messageId : U8aFixed } > ;
790
790
/**
791
791
* The supported version of a location has been changed. This might be through an
792
792
* automatic notification or a manual intervention.
793
793
**/
794
- SupportedVersionChanged : AugmentedEvent < ApiType , [ location : StagingXcmV4Location , version : u32 ] , { location : StagingXcmV4Location , version : u32 } > ;
794
+ SupportedVersionChanged : AugmentedEvent < ApiType , [ location : StagingXcmV5Location , version : u32 ] , { location : StagingXcmV5Location , version : u32 } > ;
795
795
/**
796
796
* Query response received which does not match a registered query. This may be because a
797
797
* matching query was never registered, it may be because it is a duplicate response, or
798
798
* because the query timed out.
799
799
**/
800
- UnexpectedResponse : AugmentedEvent < ApiType , [ origin : StagingXcmV4Location , queryId : u64 ] , { origin : StagingXcmV4Location , queryId : u64 } > ;
800
+ UnexpectedResponse : AugmentedEvent < ApiType , [ origin : StagingXcmV5Location , queryId : u64 ] , { origin : StagingXcmV5Location , queryId : u64 } > ;
801
801
/**
802
802
* An XCM version change notification message has been attempted to be sent.
803
803
*
804
804
* The cost of sending it (borne by the chain) is included.
805
805
**/
806
- VersionChangeNotified : AugmentedEvent < ApiType , [ destination : StagingXcmV4Location , result : u32 , cost : StagingXcmV4AssetAssets , messageId : U8aFixed ] , { destination : StagingXcmV4Location , result : u32 , cost : StagingXcmV4AssetAssets , messageId : U8aFixed } > ;
806
+ VersionChangeNotified : AugmentedEvent < ApiType , [ destination : StagingXcmV5Location , result : u32 , cost : StagingXcmV5AssetAssets , messageId : U8aFixed ] , { destination : StagingXcmV5Location , result : u32 , cost : StagingXcmV5AssetAssets , messageId : U8aFixed } > ;
807
807
/**
808
808
* A XCM version migration finished.
809
809
**/
810
810
VersionMigrationFinished : AugmentedEvent < ApiType , [ version : u32 ] , { version : u32 } > ;
811
811
/**
812
812
* We have requested that a remote chain send us XCM version change notifications.
813
813
**/
814
- VersionNotifyRequested : AugmentedEvent < ApiType , [ destination : StagingXcmV4Location , cost : StagingXcmV4AssetAssets , messageId : U8aFixed ] , { destination : StagingXcmV4Location , cost : StagingXcmV4AssetAssets , messageId : U8aFixed } > ;
814
+ VersionNotifyRequested : AugmentedEvent < ApiType , [ destination : StagingXcmV5Location , cost : StagingXcmV5AssetAssets , messageId : U8aFixed ] , { destination : StagingXcmV5Location , cost : StagingXcmV5AssetAssets , messageId : U8aFixed } > ;
815
815
/**
816
816
* A remote has requested XCM version change notification from us and we have honored it.
817
817
* A version information message is sent to them and its cost is included.
818
818
**/
819
- VersionNotifyStarted : AugmentedEvent < ApiType , [ destination : StagingXcmV4Location , cost : StagingXcmV4AssetAssets , messageId : U8aFixed ] , { destination : StagingXcmV4Location , cost : StagingXcmV4AssetAssets , messageId : U8aFixed } > ;
819
+ VersionNotifyStarted : AugmentedEvent < ApiType , [ destination : StagingXcmV5Location , cost : StagingXcmV5AssetAssets , messageId : U8aFixed ] , { destination : StagingXcmV5Location , cost : StagingXcmV5AssetAssets , messageId : U8aFixed } > ;
820
820
/**
821
821
* We have requested that a remote chain stops sending us XCM version change
822
822
* notifications.
823
823
**/
824
- VersionNotifyUnrequested : AugmentedEvent < ApiType , [ destination : StagingXcmV4Location , cost : StagingXcmV4AssetAssets , messageId : U8aFixed ] , { destination : StagingXcmV4Location , cost : StagingXcmV4AssetAssets , messageId : U8aFixed } > ;
824
+ VersionNotifyUnrequested : AugmentedEvent < ApiType , [ destination : StagingXcmV5Location , cost : StagingXcmV5AssetAssets , messageId : U8aFixed ] , { destination : StagingXcmV5Location , cost : StagingXcmV5AssetAssets , messageId : U8aFixed } > ;
825
825
/**
826
826
* Generic event
827
827
**/
@@ -976,6 +976,29 @@ declare module 'https://deno.land/x/polkadot/api-base/types/events.ts' {
976
976
**/
977
977
[ key : string ] : AugmentedEvent < ApiType > ;
978
978
} ;
979
+ stateTrieMigration : {
980
+ /**
981
+ * The auto migration task finished.
982
+ **/
983
+ AutoMigrationFinished : AugmentedEvent < ApiType , [ ] > ;
984
+ /**
985
+ * Migration got halted due to an error or miss-configuration.
986
+ **/
987
+ Halted : AugmentedEvent < ApiType , [ error : PalletStateTrieMigrationError ] , { error : PalletStateTrieMigrationError } > ;
988
+ /**
989
+ * Given number of `(top, child)` keys were migrated respectively, with the given
990
+ * `compute`.
991
+ **/
992
+ Migrated : AugmentedEvent < ApiType , [ top : u32 , child : u32 , compute : PalletStateTrieMigrationMigrationCompute ] , { top : u32 , child : u32 , compute : PalletStateTrieMigrationMigrationCompute } > ;
993
+ /**
994
+ * Some account got slashed by the given amount.
995
+ **/
996
+ Slashed : AugmentedEvent < ApiType , [ who : AccountId32 , amount : u128 ] , { who : AccountId32 , amount : u128 } > ;
997
+ /**
998
+ * Generic event
999
+ **/
1000
+ [ key : string ] : AugmentedEvent < ApiType > ;
1001
+ } ;
979
1002
system : {
980
1003
/**
981
1004
* `:code` was updated.
@@ -984,11 +1007,11 @@ declare module 'https://deno.land/x/polkadot/api-base/types/events.ts' {
984
1007
/**
985
1008
* An extrinsic failed.
986
1009
**/
987
- ExtrinsicFailed : AugmentedEvent < ApiType , [ dispatchError : SpRuntimeDispatchError , dispatchInfo : FrameSupportDispatchDispatchInfo ] , { dispatchError : SpRuntimeDispatchError , dispatchInfo : FrameSupportDispatchDispatchInfo } > ;
1010
+ ExtrinsicFailed : AugmentedEvent < ApiType , [ dispatchError : SpRuntimeDispatchError , dispatchInfo : FrameSystemDispatchEventInfo ] , { dispatchError : SpRuntimeDispatchError , dispatchInfo : FrameSystemDispatchEventInfo } > ;
988
1011
/**
989
1012
* An extrinsic completed successfully.
990
1013
**/
991
- ExtrinsicSuccess : AugmentedEvent < ApiType , [ dispatchInfo : FrameSupportDispatchDispatchInfo ] , { dispatchInfo : FrameSupportDispatchDispatchInfo } > ;
1014
+ ExtrinsicSuccess : AugmentedEvent < ApiType , [ dispatchInfo : FrameSystemDispatchEventInfo ] , { dispatchInfo : FrameSystemDispatchEventInfo } > ;
992
1015
/**
993
1016
* An account was reaped.
994
1017
**/
0 commit comments