@dedot/chaintypes 0.40.0 → 0.41.0

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.
@@ -3,7 +3,6 @@
3
3
  import type {
4
4
  Phase,
5
5
  H256,
6
- DispatchInfo,
7
6
  DispatchError,
8
7
  AccountId32,
9
8
  Perbill,
@@ -93,6 +92,7 @@ export type WestendRuntimeRuntimeEvent =
93
92
  | { pallet: 'Crowdloan'; palletEvent: PolkadotRuntimeCommonCrowdloanPalletEvent }
94
93
  | { pallet: 'AssignedSlots'; palletEvent: PolkadotRuntimeCommonAssignedSlotsPalletEvent }
95
94
  | { pallet: 'Coretime'; palletEvent: PolkadotRuntimeParachainsCoretimePalletEvent }
95
+ | { pallet: 'MultiBlockMigrations'; palletEvent: PalletMigrationsEvent }
96
96
  | { pallet: 'XcmPallet'; palletEvent: PalletXcmEvent }
97
97
  | { pallet: 'MessageQueue'; palletEvent: PalletMessageQueueEvent }
98
98
  | { pallet: 'AssetRate'; palletEvent: PalletAssetRateEvent }
@@ -106,11 +106,11 @@ export type FrameSystemEvent =
106
106
  /**
107
107
  * An extrinsic completed successfully.
108
108
  **/
109
- | { name: 'ExtrinsicSuccess'; data: { dispatchInfo: DispatchInfo } }
109
+ | { name: 'ExtrinsicSuccess'; data: { dispatchInfo: FrameSystemDispatchEventInfo } }
110
110
  /**
111
111
  * An extrinsic failed.
112
112
  **/
113
- | { name: 'ExtrinsicFailed'; data: { dispatchError: DispatchError; dispatchInfo: DispatchInfo } }
113
+ | { name: 'ExtrinsicFailed'; data: { dispatchError: DispatchError; dispatchInfo: FrameSystemDispatchEventInfo } }
114
114
  /**
115
115
  * `:code` was updated.
116
116
  **/
@@ -132,6 +132,12 @@ export type FrameSystemEvent =
132
132
  **/
133
133
  | { name: 'UpgradeAuthorized'; data: { codeHash: H256; checkVersion: boolean } };
134
134
 
135
+ export type FrameSystemDispatchEventInfo = {
136
+ weight: SpWeightsWeightV2Weight;
137
+ class: FrameSupportDispatchDispatchClass;
138
+ paysFee: FrameSupportDispatchPays;
139
+ };
140
+
135
141
  export type FrameSupportDispatchDispatchClass = 'Normal' | 'Operational' | 'Mandatory';
136
142
 
137
143
  export type FrameSupportDispatchPays = 'Yes' | 'No';
@@ -344,9 +350,12 @@ export type PalletStakingPalletEvent =
344
350
  **/
345
351
  | { name: 'Chilled'; data: { stash: AccountId32 } }
346
352
  /**
347
- * The stakers' rewards are getting paid.
353
+ * A Page of stakers rewards are getting paid. `next` is `None` if all pages are claimed.
348
354
  **/
349
- | { name: 'PayoutStarted'; data: { eraIndex: number; validatorStash: AccountId32 } }
355
+ | {
356
+ name: 'PayoutStarted';
357
+ data: { eraIndex: number; validatorStash: AccountId32; page: number; next?: number | undefined };
358
+ }
350
359
  /**
351
360
  * A validator has set their preferences.
352
361
  **/
@@ -548,6 +557,14 @@ export type PalletIdentityEvent =
548
557
  * A sub-identity was added to an identity and the deposit paid.
549
558
  **/
550
559
  | { name: 'SubIdentityAdded'; data: { sub: AccountId32; main: AccountId32; deposit: bigint } }
560
+ /**
561
+ * An account's sub-identities were set (in bulk).
562
+ **/
563
+ | { name: 'SubIdentitiesSet'; data: { main: AccountId32; numberOfSubs: number; newDeposit: bigint } }
564
+ /**
565
+ * A given sub-account's associated name was changed by its super-identity.
566
+ **/
567
+ | { name: 'SubIdentityRenamed'; data: { sub: AccountId32; main: AccountId32 } }
551
568
  /**
552
569
  * A sub-identity was removed from an identity and the deposit freed.
553
570
  **/
@@ -585,7 +602,19 @@ export type PalletIdentityEvent =
585
602
  * A dangling username (as in, a username corresponding to an account that has removed its
586
603
  * identity) has been removed.
587
604
  **/
588
- | { name: 'DanglingUsernameRemoved'; data: { who: AccountId32; username: Bytes } };
605
+ | { name: 'DanglingUsernameRemoved'; data: { who: AccountId32; username: Bytes } }
606
+ /**
607
+ * A username has been unbound.
608
+ **/
609
+ | { name: 'UsernameUnbound'; data: { username: Bytes } }
610
+ /**
611
+ * A username has been removed.
612
+ **/
613
+ | { name: 'UsernameRemoved'; data: { username: Bytes } }
614
+ /**
615
+ * A username has been killed.
616
+ **/
617
+ | { name: 'UsernameKilled'; data: { username: Bytes } };
589
618
 
590
619
  /**
591
620
  * Events type.
@@ -1422,6 +1451,7 @@ export type WestendRuntimeRuntimeCall =
1422
1451
  | { pallet: 'Crowdloan'; palletCall: PolkadotRuntimeCommonCrowdloanPalletCall }
1423
1452
  | { pallet: 'AssignedSlots'; palletCall: PolkadotRuntimeCommonAssignedSlotsPalletCall }
1424
1453
  | { pallet: 'Coretime'; palletCall: PolkadotRuntimeParachainsCoretimePalletCall }
1454
+ | { pallet: 'MultiBlockMigrations'; palletCall: PalletMigrationsCall }
1425
1455
  | { pallet: 'XcmPallet'; palletCall: PalletXcmCall }
1426
1456
  | { pallet: 'MessageQueue'; palletCall: PalletMessageQueueCall }
1427
1457
  | { pallet: 'AssetRate'; palletCall: PalletAssetRateCall }
@@ -1473,6 +1503,7 @@ export type WestendRuntimeRuntimeCallLike =
1473
1503
  | { pallet: 'Crowdloan'; palletCall: PolkadotRuntimeCommonCrowdloanPalletCallLike }
1474
1504
  | { pallet: 'AssignedSlots'; palletCall: PolkadotRuntimeCommonAssignedSlotsPalletCallLike }
1475
1505
  | { pallet: 'Coretime'; palletCall: PolkadotRuntimeParachainsCoretimePalletCallLike }
1506
+ | { pallet: 'MultiBlockMigrations'; palletCall: PalletMigrationsCallLike }
1476
1507
  | { pallet: 'XcmPallet'; palletCall: PalletXcmCallLike }
1477
1508
  | { pallet: 'MessageQueue'; palletCall: PalletMessageQueueCallLike }
1478
1509
  | { pallet: 'AssetRate'; palletCall: PalletAssetRateCallLike }
@@ -3469,42 +3500,39 @@ export type PolkadotRuntimeParachainsOriginPalletOrigin = {
3469
3500
  export type PolkadotParachainPrimitivesPrimitivesId = number;
3470
3501
 
3471
3502
  export type PalletXcmOrigin =
3472
- | { type: 'Xcm'; value: StagingXcmV4Location }
3473
- | { type: 'Response'; value: StagingXcmV4Location };
3503
+ | { type: 'Xcm'; value: StagingXcmV5Location }
3504
+ | { type: 'Response'; value: StagingXcmV5Location };
3474
3505
 
3475
- export type StagingXcmV4Location = { parents: number; interior: StagingXcmV4Junctions };
3506
+ export type StagingXcmV5Location = { parents: number; interior: StagingXcmV5Junctions };
3476
3507
 
3477
- export type StagingXcmV4Junctions =
3508
+ export type StagingXcmV5Junctions =
3478
3509
  | { type: 'Here' }
3479
- | { type: 'X1'; value: FixedArray<StagingXcmV4Junction, 1> }
3480
- | { type: 'X2'; value: FixedArray<StagingXcmV4Junction, 2> }
3481
- | { type: 'X3'; value: FixedArray<StagingXcmV4Junction, 3> }
3482
- | { type: 'X4'; value: FixedArray<StagingXcmV4Junction, 4> }
3483
- | { type: 'X5'; value: FixedArray<StagingXcmV4Junction, 5> }
3484
- | { type: 'X6'; value: FixedArray<StagingXcmV4Junction, 6> }
3485
- | { type: 'X7'; value: FixedArray<StagingXcmV4Junction, 7> }
3486
- | { type: 'X8'; value: FixedArray<StagingXcmV4Junction, 8> };
3487
-
3488
- export type StagingXcmV4Junction =
3510
+ | { type: 'X1'; value: FixedArray<StagingXcmV5Junction, 1> }
3511
+ | { type: 'X2'; value: FixedArray<StagingXcmV5Junction, 2> }
3512
+ | { type: 'X3'; value: FixedArray<StagingXcmV5Junction, 3> }
3513
+ | { type: 'X4'; value: FixedArray<StagingXcmV5Junction, 4> }
3514
+ | { type: 'X5'; value: FixedArray<StagingXcmV5Junction, 5> }
3515
+ | { type: 'X6'; value: FixedArray<StagingXcmV5Junction, 6> }
3516
+ | { type: 'X7'; value: FixedArray<StagingXcmV5Junction, 7> }
3517
+ | { type: 'X8'; value: FixedArray<StagingXcmV5Junction, 8> };
3518
+
3519
+ export type StagingXcmV5Junction =
3489
3520
  | { type: 'Parachain'; value: number }
3490
- | { type: 'AccountId32'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; id: FixedBytes<32> } }
3491
- | { type: 'AccountIndex64'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; index: bigint } }
3492
- | { type: 'AccountKey20'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; key: FixedBytes<20> } }
3521
+ | { type: 'AccountId32'; value: { network?: StagingXcmV5JunctionNetworkId | undefined; id: FixedBytes<32> } }
3522
+ | { type: 'AccountIndex64'; value: { network?: StagingXcmV5JunctionNetworkId | undefined; index: bigint } }
3523
+ | { type: 'AccountKey20'; value: { network?: StagingXcmV5JunctionNetworkId | undefined; key: FixedBytes<20> } }
3493
3524
  | { type: 'PalletInstance'; value: number }
3494
3525
  | { type: 'GeneralIndex'; value: bigint }
3495
3526
  | { type: 'GeneralKey'; value: { length: number; data: FixedBytes<32> } }
3496
3527
  | { type: 'OnlyChild' }
3497
3528
  | { type: 'Plurality'; value: { id: XcmV3JunctionBodyId; part: XcmV3JunctionBodyPart } }
3498
- | { type: 'GlobalConsensus'; value: StagingXcmV4JunctionNetworkId };
3529
+ | { type: 'GlobalConsensus'; value: StagingXcmV5JunctionNetworkId };
3499
3530
 
3500
- export type StagingXcmV4JunctionNetworkId =
3531
+ export type StagingXcmV5JunctionNetworkId =
3501
3532
  | { type: 'ByGenesis'; value: FixedBytes<32> }
3502
3533
  | { type: 'ByFork'; value: { blockNumber: bigint; blockHash: FixedBytes<32> } }
3503
3534
  | { type: 'Polkadot' }
3504
3535
  | { type: 'Kusama' }
3505
- | { type: 'Westend' }
3506
- | { type: 'Rococo' }
3507
- | { type: 'Wococo' }
3508
3536
  | { type: 'Ethereum'; value: { chainId: bigint } }
3509
3537
  | { type: 'BitcoinCore' }
3510
3538
  | { type: 'BitcoinCash' }
@@ -3722,18 +3750,23 @@ export type PalletIdentityCall =
3722
3750
  /**
3723
3751
  * Add an `AccountId` with permission to grant usernames with a given `suffix` appended.
3724
3752
  *
3725
- * The authority can grant up to `allocation` usernames. To top up their allocation, they
3726
- * should just issue (or request via governance) a new `add_username_authority` call.
3753
+ * The authority can grant up to `allocation` usernames. To top up the allocation or
3754
+ * change the account used to grant usernames, this call can be used with the updated
3755
+ * parameters to overwrite the existing configuration.
3727
3756
  **/
3728
3757
  | { name: 'AddUsernameAuthority'; params: { authority: MultiAddress; suffix: Bytes; allocation: number } }
3729
3758
  /**
3730
3759
  * Remove `authority` from the username authorities.
3731
3760
  **/
3732
- | { name: 'RemoveUsernameAuthority'; params: { authority: MultiAddress } }
3761
+ | { name: 'RemoveUsernameAuthority'; params: { suffix: Bytes; authority: MultiAddress } }
3733
3762
  /**
3734
3763
  * Set the username for `who`. Must be called by a username authority.
3735
3764
  *
3736
- * The authority must have an `allocation`. Users can either pre-sign their usernames or
3765
+ * If `use_allocation` is set, the authority must have a username allocation available to
3766
+ * spend. Otherwise, the authority will need to put up a deposit for registering the
3767
+ * username.
3768
+ *
3769
+ * Users can either pre-sign their usernames or
3737
3770
  * accept them later.
3738
3771
  *
3739
3772
  * Usernames must:
@@ -3743,7 +3776,12 @@ export type PalletIdentityCall =
3743
3776
  **/
3744
3777
  | {
3745
3778
  name: 'SetUsernameFor';
3746
- params: { who: MultiAddress; username: Bytes; signature?: SpRuntimeMultiSignature | undefined };
3779
+ params: {
3780
+ who: MultiAddress;
3781
+ username: Bytes;
3782
+ signature?: SpRuntimeMultiSignature | undefined;
3783
+ useAllocation: boolean;
3784
+ };
3747
3785
  }
3748
3786
  /**
3749
3787
  * Accept a given username that an `authority` granted. The call must include the full
@@ -3761,10 +3799,21 @@ export type PalletIdentityCall =
3761
3799
  **/
3762
3800
  | { name: 'SetPrimaryUsername'; params: { username: Bytes } }
3763
3801
  /**
3764
- * Remove a username that corresponds to an account with no identity. Exists when a user
3765
- * gets a username but then calls `clear_identity`.
3802
+ * Start the process of removing a username by placing it in the unbinding usernames map.
3803
+ * Once the grace period has passed, the username can be deleted by calling
3804
+ * [remove_username](crate::Call::remove_username).
3805
+ **/
3806
+ | { name: 'UnbindUsername'; params: { username: Bytes } }
3807
+ /**
3808
+ * Permanently delete a username which has been unbinding for longer than the grace period.
3809
+ * Caller is refunded the fee if the username expired and the removal was successful.
3810
+ **/
3811
+ | { name: 'RemoveUsername'; params: { username: Bytes } }
3812
+ /**
3813
+ * Call with [ForceOrigin](crate::Config::ForceOrigin) privileges which deletes a username
3814
+ * and slashes any deposit associated with it.
3766
3815
  **/
3767
- | { name: 'RemoveDanglingUsername'; params: { username: Bytes } };
3816
+ | { name: 'KillUsername'; params: { username: Bytes } };
3768
3817
 
3769
3818
  export type PalletIdentityCallLike =
3770
3819
  /**
@@ -3954,18 +4003,23 @@ export type PalletIdentityCallLike =
3954
4003
  /**
3955
4004
  * Add an `AccountId` with permission to grant usernames with a given `suffix` appended.
3956
4005
  *
3957
- * The authority can grant up to `allocation` usernames. To top up their allocation, they
3958
- * should just issue (or request via governance) a new `add_username_authority` call.
4006
+ * The authority can grant up to `allocation` usernames. To top up the allocation or
4007
+ * change the account used to grant usernames, this call can be used with the updated
4008
+ * parameters to overwrite the existing configuration.
3959
4009
  **/
3960
4010
  | { name: 'AddUsernameAuthority'; params: { authority: MultiAddressLike; suffix: BytesLike; allocation: number } }
3961
4011
  /**
3962
4012
  * Remove `authority` from the username authorities.
3963
4013
  **/
3964
- | { name: 'RemoveUsernameAuthority'; params: { authority: MultiAddressLike } }
4014
+ | { name: 'RemoveUsernameAuthority'; params: { suffix: BytesLike; authority: MultiAddressLike } }
3965
4015
  /**
3966
4016
  * Set the username for `who`. Must be called by a username authority.
3967
4017
  *
3968
- * The authority must have an `allocation`. Users can either pre-sign their usernames or
4018
+ * If `use_allocation` is set, the authority must have a username allocation available to
4019
+ * spend. Otherwise, the authority will need to put up a deposit for registering the
4020
+ * username.
4021
+ *
4022
+ * Users can either pre-sign their usernames or
3969
4023
  * accept them later.
3970
4024
  *
3971
4025
  * Usernames must:
@@ -3975,7 +4029,12 @@ export type PalletIdentityCallLike =
3975
4029
  **/
3976
4030
  | {
3977
4031
  name: 'SetUsernameFor';
3978
- params: { who: MultiAddressLike; username: BytesLike; signature?: SpRuntimeMultiSignature | undefined };
4032
+ params: {
4033
+ who: MultiAddressLike;
4034
+ username: BytesLike;
4035
+ signature?: SpRuntimeMultiSignature | undefined;
4036
+ useAllocation: boolean;
4037
+ };
3979
4038
  }
3980
4039
  /**
3981
4040
  * Accept a given username that an `authority` granted. The call must include the full
@@ -3993,10 +4052,21 @@ export type PalletIdentityCallLike =
3993
4052
  **/
3994
4053
  | { name: 'SetPrimaryUsername'; params: { username: BytesLike } }
3995
4054
  /**
3996
- * Remove a username that corresponds to an account with no identity. Exists when a user
3997
- * gets a username but then calls `clear_identity`.
4055
+ * Start the process of removing a username by placing it in the unbinding usernames map.
4056
+ * Once the grace period has passed, the username can be deleted by calling
4057
+ * [remove_username](crate::Call::remove_username).
4058
+ **/
4059
+ | { name: 'UnbindUsername'; params: { username: BytesLike } }
4060
+ /**
4061
+ * Permanently delete a username which has been unbinding for longer than the grace period.
4062
+ * Caller is refunded the fee if the username expired and the removal was successful.
4063
+ **/
4064
+ | { name: 'RemoveUsername'; params: { username: BytesLike } }
4065
+ /**
4066
+ * Call with [ForceOrigin](crate::Config::ForceOrigin) privileges which deletes a username
4067
+ * and slashes any deposit associated with it.
3998
4068
  **/
3999
- | { name: 'RemoveDanglingUsername'; params: { username: BytesLike } };
4069
+ | { name: 'KillUsername'; params: { username: BytesLike } };
4000
4070
 
4001
4071
  export type PalletIdentityLegacyIdentityInfo = {
4002
4072
  additional: Array<[Data, Data]>;
@@ -7335,7 +7405,8 @@ export type PalletTreasuryCallLike =
7335
7405
 
7336
7406
  export type PolkadotRuntimeCommonImplsVersionedLocatableAsset =
7337
7407
  | { type: 'V3'; value: { location: StagingXcmV3MultilocationMultiLocation; assetId: XcmV3MultiassetAssetId } }
7338
- | { type: 'V4'; value: { location: StagingXcmV4Location; assetId: StagingXcmV4AssetAssetId } };
7408
+ | { type: 'V4'; value: { location: StagingXcmV4Location; assetId: StagingXcmV4AssetAssetId } }
7409
+ | { type: 'V5'; value: { location: StagingXcmV5Location; assetId: StagingXcmV5AssetAssetId } };
7339
7410
 
7340
7411
  export type StagingXcmV3MultilocationMultiLocation = { parents: number; interior: XcmV3Junctions };
7341
7412
 
@@ -7394,76 +7465,52 @@ export type XcmV3MultiassetAssetId =
7394
7465
  | { type: 'Concrete'; value: StagingXcmV3MultilocationMultiLocation }
7395
7466
  | { type: 'Abstract'; value: FixedBytes<32> };
7396
7467
 
7397
- export type StagingXcmV4AssetAssetId = StagingXcmV4Location;
7398
-
7399
- export type XcmVersionedLocation =
7400
- | { type: 'V2'; value: XcmV2MultilocationMultiLocation }
7401
- | { type: 'V3'; value: StagingXcmV3MultilocationMultiLocation }
7402
- | { type: 'V4'; value: StagingXcmV4Location };
7403
-
7404
- export type XcmV2MultilocationMultiLocation = { parents: number; interior: XcmV2MultilocationJunctions };
7468
+ export type StagingXcmV4Location = { parents: number; interior: StagingXcmV4Junctions };
7405
7469
 
7406
- export type XcmV2MultilocationJunctions =
7470
+ export type StagingXcmV4Junctions =
7407
7471
  | { type: 'Here' }
7408
- | { type: 'X1'; value: XcmV2Junction }
7409
- | { type: 'X2'; value: [XcmV2Junction, XcmV2Junction] }
7410
- | { type: 'X3'; value: [XcmV2Junction, XcmV2Junction, XcmV2Junction] }
7411
- | { type: 'X4'; value: [XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction] }
7412
- | { type: 'X5'; value: [XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction] }
7413
- | { type: 'X6'; value: [XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction] }
7414
- | {
7415
- type: 'X7';
7416
- value: [XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction];
7417
- }
7418
- | {
7419
- type: 'X8';
7420
- value: [
7421
- XcmV2Junction,
7422
- XcmV2Junction,
7423
- XcmV2Junction,
7424
- XcmV2Junction,
7425
- XcmV2Junction,
7426
- XcmV2Junction,
7427
- XcmV2Junction,
7428
- XcmV2Junction,
7429
- ];
7430
- };
7472
+ | { type: 'X1'; value: FixedArray<StagingXcmV4Junction, 1> }
7473
+ | { type: 'X2'; value: FixedArray<StagingXcmV4Junction, 2> }
7474
+ | { type: 'X3'; value: FixedArray<StagingXcmV4Junction, 3> }
7475
+ | { type: 'X4'; value: FixedArray<StagingXcmV4Junction, 4> }
7476
+ | { type: 'X5'; value: FixedArray<StagingXcmV4Junction, 5> }
7477
+ | { type: 'X6'; value: FixedArray<StagingXcmV4Junction, 6> }
7478
+ | { type: 'X7'; value: FixedArray<StagingXcmV4Junction, 7> }
7479
+ | { type: 'X8'; value: FixedArray<StagingXcmV4Junction, 8> };
7431
7480
 
7432
- export type XcmV2Junction =
7481
+ export type StagingXcmV4Junction =
7433
7482
  | { type: 'Parachain'; value: number }
7434
- | { type: 'AccountId32'; value: { network: XcmV2NetworkId; id: FixedBytes<32> } }
7435
- | { type: 'AccountIndex64'; value: { network: XcmV2NetworkId; index: bigint } }
7436
- | { type: 'AccountKey20'; value: { network: XcmV2NetworkId; key: FixedBytes<20> } }
7483
+ | { type: 'AccountId32'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; id: FixedBytes<32> } }
7484
+ | { type: 'AccountIndex64'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; index: bigint } }
7485
+ | { type: 'AccountKey20'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; key: FixedBytes<20> } }
7437
7486
  | { type: 'PalletInstance'; value: number }
7438
7487
  | { type: 'GeneralIndex'; value: bigint }
7439
- | { type: 'GeneralKey'; value: Bytes }
7488
+ | { type: 'GeneralKey'; value: { length: number; data: FixedBytes<32> } }
7440
7489
  | { type: 'OnlyChild' }
7441
- | { type: 'Plurality'; value: { id: XcmV2BodyId; part: XcmV2BodyPart } };
7490
+ | { type: 'Plurality'; value: { id: XcmV3JunctionBodyId; part: XcmV3JunctionBodyPart } }
7491
+ | { type: 'GlobalConsensus'; value: StagingXcmV4JunctionNetworkId };
7442
7492
 
7443
- export type XcmV2NetworkId =
7444
- | { type: 'Any' }
7445
- | { type: 'Named'; value: Bytes }
7493
+ export type StagingXcmV4JunctionNetworkId =
7494
+ | { type: 'ByGenesis'; value: FixedBytes<32> }
7495
+ | { type: 'ByFork'; value: { blockNumber: bigint; blockHash: FixedBytes<32> } }
7446
7496
  | { type: 'Polkadot' }
7447
- | { type: 'Kusama' };
7497
+ | { type: 'Kusama' }
7498
+ | { type: 'Westend' }
7499
+ | { type: 'Rococo' }
7500
+ | { type: 'Wococo' }
7501
+ | { type: 'Ethereum'; value: { chainId: bigint } }
7502
+ | { type: 'BitcoinCore' }
7503
+ | { type: 'BitcoinCash' }
7504
+ | { type: 'PolkadotBulletin' };
7448
7505
 
7449
- export type XcmV2BodyId =
7450
- | { type: 'Unit' }
7451
- | { type: 'Named'; value: Bytes }
7452
- | { type: 'Index'; value: number }
7453
- | { type: 'Executive' }
7454
- | { type: 'Technical' }
7455
- | { type: 'Legislative' }
7456
- | { type: 'Judicial' }
7457
- | { type: 'Defense' }
7458
- | { type: 'Administration' }
7459
- | { type: 'Treasury' };
7506
+ export type StagingXcmV4AssetAssetId = StagingXcmV4Location;
7460
7507
 
7461
- export type XcmV2BodyPart =
7462
- | { type: 'Voice' }
7463
- | { type: 'Members'; value: { count: number } }
7464
- | { type: 'Fraction'; value: { nom: number; denom: number } }
7465
- | { type: 'AtLeastProportion'; value: { nom: number; denom: number } }
7466
- | { type: 'MoreThanProportion'; value: { nom: number; denom: number } };
7508
+ export type StagingXcmV5AssetAssetId = StagingXcmV5Location;
7509
+
7510
+ export type XcmVersionedLocation =
7511
+ | { type: 'V3'; value: StagingXcmV3MultilocationMultiLocation }
7512
+ | { type: 'V4'; value: StagingXcmV4Location }
7513
+ | { type: 'V5'; value: StagingXcmV5Location };
7467
7514
 
7468
7515
  /**
7469
7516
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -7500,10 +7547,6 @@ export type PolkadotRuntimeParachainsConfigurationPalletCall =
7500
7547
  * this, if you really know what you are doing!
7501
7548
  **/
7502
7549
  | { name: 'SetCoretimeCores'; params: { new: number } }
7503
- /**
7504
- * Set the max number of times a claim may timeout on a core before it is abandoned
7505
- **/
7506
- | { name: 'SetMaxAvailabilityTimeouts'; params: { new: number } }
7507
7550
  /**
7508
7551
  * Set the parachain validator-group rotation frequency
7509
7552
  **/
@@ -7651,10 +7694,6 @@ export type PolkadotRuntimeParachainsConfigurationPalletCall =
7651
7694
  * Set the on demand (parathreads) fee variability.
7652
7695
  **/
7653
7696
  | { name: 'SetOnDemandTargetQueueUtilization'; params: { new: Perbill } }
7654
- /**
7655
- * Set the on demand (parathreads) ttl in the claimqueue.
7656
- **/
7657
- | { name: 'SetOnDemandTtl'; params: { new: number } }
7658
7697
  /**
7659
7698
  * Set the minimum backing votes threshold.
7660
7699
  **/
@@ -7704,10 +7743,6 @@ export type PolkadotRuntimeParachainsConfigurationPalletCallLike =
7704
7743
  * this, if you really know what you are doing!
7705
7744
  **/
7706
7745
  | { name: 'SetCoretimeCores'; params: { new: number } }
7707
- /**
7708
- * Set the max number of times a claim may timeout on a core before it is abandoned
7709
- **/
7710
- | { name: 'SetMaxAvailabilityTimeouts'; params: { new: number } }
7711
7746
  /**
7712
7747
  * Set the parachain validator-group rotation frequency
7713
7748
  **/
@@ -7855,10 +7890,6 @@ export type PolkadotRuntimeParachainsConfigurationPalletCallLike =
7855
7890
  * Set the on demand (parathreads) fee variability.
7856
7891
  **/
7857
7892
  | { name: 'SetOnDemandTargetQueueUtilization'; params: { new: Perbill } }
7858
- /**
7859
- * Set the on demand (parathreads) ttl in the claimqueue.
7860
- **/
7861
- | { name: 'SetOnDemandTtl'; params: { new: number } }
7862
7893
  /**
7863
7894
  * Set the minimum backing votes threshold.
7864
7895
  **/
@@ -9113,150 +9144,9 @@ export type PolkadotRuntimeParachainsParasParaGenesisArgs = {
9113
9144
  };
9114
9145
 
9115
9146
  export type XcmVersionedXcm =
9116
- | { type: 'V2'; value: XcmV2Xcm }
9117
9147
  | { type: 'V3'; value: XcmV3Xcm }
9118
- | { type: 'V4'; value: StagingXcmV4Xcm };
9119
-
9120
- export type XcmV2Xcm = Array<XcmV2Instruction>;
9121
-
9122
- export type XcmV2Instruction =
9123
- | { type: 'WithdrawAsset'; value: XcmV2MultiassetMultiAssets }
9124
- | { type: 'ReserveAssetDeposited'; value: XcmV2MultiassetMultiAssets }
9125
- | { type: 'ReceiveTeleportedAsset'; value: XcmV2MultiassetMultiAssets }
9126
- | { type: 'QueryResponse'; value: { queryId: bigint; response: XcmV2Response; maxWeight: bigint } }
9127
- | {
9128
- type: 'TransferAsset';
9129
- value: { assets: XcmV2MultiassetMultiAssets; beneficiary: XcmV2MultilocationMultiLocation };
9130
- }
9131
- | {
9132
- type: 'TransferReserveAsset';
9133
- value: { assets: XcmV2MultiassetMultiAssets; dest: XcmV2MultilocationMultiLocation; xcm: XcmV2Xcm };
9134
- }
9135
- | { type: 'Transact'; value: { originType: XcmV2OriginKind; requireWeightAtMost: bigint; call: XcmDoubleEncoded } }
9136
- | { type: 'HrmpNewChannelOpenRequest'; value: { sender: number; maxMessageSize: number; maxCapacity: number } }
9137
- | { type: 'HrmpChannelAccepted'; value: { recipient: number } }
9138
- | { type: 'HrmpChannelClosing'; value: { initiator: number; sender: number; recipient: number } }
9139
- | { type: 'ClearOrigin' }
9140
- | { type: 'DescendOrigin'; value: XcmV2MultilocationJunctions }
9141
- | {
9142
- type: 'ReportError';
9143
- value: { queryId: bigint; dest: XcmV2MultilocationMultiLocation; maxResponseWeight: bigint };
9144
- }
9145
- | {
9146
- type: 'DepositAsset';
9147
- value: {
9148
- assets: XcmV2MultiassetMultiAssetFilter;
9149
- maxAssets: number;
9150
- beneficiary: XcmV2MultilocationMultiLocation;
9151
- };
9152
- }
9153
- | {
9154
- type: 'DepositReserveAsset';
9155
- value: {
9156
- assets: XcmV2MultiassetMultiAssetFilter;
9157
- maxAssets: number;
9158
- dest: XcmV2MultilocationMultiLocation;
9159
- xcm: XcmV2Xcm;
9160
- };
9161
- }
9162
- | { type: 'ExchangeAsset'; value: { give: XcmV2MultiassetMultiAssetFilter; receive: XcmV2MultiassetMultiAssets } }
9163
- | {
9164
- type: 'InitiateReserveWithdraw';
9165
- value: { assets: XcmV2MultiassetMultiAssetFilter; reserve: XcmV2MultilocationMultiLocation; xcm: XcmV2Xcm };
9166
- }
9167
- | {
9168
- type: 'InitiateTeleport';
9169
- value: { assets: XcmV2MultiassetMultiAssetFilter; dest: XcmV2MultilocationMultiLocation; xcm: XcmV2Xcm };
9170
- }
9171
- | {
9172
- type: 'QueryHolding';
9173
- value: {
9174
- queryId: bigint;
9175
- dest: XcmV2MultilocationMultiLocation;
9176
- assets: XcmV2MultiassetMultiAssetFilter;
9177
- maxResponseWeight: bigint;
9178
- };
9179
- }
9180
- | { type: 'BuyExecution'; value: { fees: XcmV2MultiassetMultiAsset; weightLimit: XcmV2WeightLimit } }
9181
- | { type: 'RefundSurplus' }
9182
- | { type: 'SetErrorHandler'; value: XcmV2Xcm }
9183
- | { type: 'SetAppendix'; value: XcmV2Xcm }
9184
- | { type: 'ClearError' }
9185
- | { type: 'ClaimAsset'; value: { assets: XcmV2MultiassetMultiAssets; ticket: XcmV2MultilocationMultiLocation } }
9186
- | { type: 'Trap'; value: bigint }
9187
- | { type: 'SubscribeVersion'; value: { queryId: bigint; maxResponseWeight: bigint } }
9188
- | { type: 'UnsubscribeVersion' };
9189
-
9190
- export type XcmV2MultiassetMultiAssets = Array<XcmV2MultiassetMultiAsset>;
9191
-
9192
- export type XcmV2MultiassetMultiAsset = { id: XcmV2MultiassetAssetId; fun: XcmV2MultiassetFungibility };
9193
-
9194
- export type XcmV2MultiassetAssetId =
9195
- | { type: 'Concrete'; value: XcmV2MultilocationMultiLocation }
9196
- | { type: 'Abstract'; value: Bytes };
9197
-
9198
- export type XcmV2MultiassetFungibility =
9199
- | { type: 'Fungible'; value: bigint }
9200
- | { type: 'NonFungible'; value: XcmV2MultiassetAssetInstance };
9201
-
9202
- export type XcmV2MultiassetAssetInstance =
9203
- | { type: 'Undefined' }
9204
- | { type: 'Index'; value: bigint }
9205
- | { type: 'Array4'; value: FixedBytes<4> }
9206
- | { type: 'Array8'; value: FixedBytes<8> }
9207
- | { type: 'Array16'; value: FixedBytes<16> }
9208
- | { type: 'Array32'; value: FixedBytes<32> }
9209
- | { type: 'Blob'; value: Bytes };
9210
-
9211
- export type XcmV2Response =
9212
- | { type: 'Null' }
9213
- | { type: 'Assets'; value: XcmV2MultiassetMultiAssets }
9214
- | { type: 'ExecutionResult'; value?: [number, XcmV2TraitsError] | undefined }
9215
- | { type: 'Version'; value: number };
9216
-
9217
- export type XcmV2TraitsError =
9218
- | { type: 'Overflow' }
9219
- | { type: 'Unimplemented' }
9220
- | { type: 'UntrustedReserveLocation' }
9221
- | { type: 'UntrustedTeleportLocation' }
9222
- | { type: 'MultiLocationFull' }
9223
- | { type: 'MultiLocationNotInvertible' }
9224
- | { type: 'BadOrigin' }
9225
- | { type: 'InvalidLocation' }
9226
- | { type: 'AssetNotFound' }
9227
- | { type: 'FailedToTransactAsset' }
9228
- | { type: 'NotWithdrawable' }
9229
- | { type: 'LocationCannotHold' }
9230
- | { type: 'ExceedsMaxMessageSize' }
9231
- | { type: 'DestinationUnsupported' }
9232
- | { type: 'Transport' }
9233
- | { type: 'Unroutable' }
9234
- | { type: 'UnknownClaim' }
9235
- | { type: 'FailedToDecode' }
9236
- | { type: 'MaxWeightInvalid' }
9237
- | { type: 'NotHoldingFees' }
9238
- | { type: 'TooExpensive' }
9239
- | { type: 'Trap'; value: bigint }
9240
- | { type: 'UnhandledXcmVersion' }
9241
- | { type: 'WeightLimitReached'; value: bigint }
9242
- | { type: 'Barrier' }
9243
- | { type: 'WeightNotComputable' };
9244
-
9245
- export type XcmV2OriginKind = 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';
9246
-
9247
- export type XcmDoubleEncoded = { encoded: Bytes };
9248
-
9249
- export type XcmV2MultiassetMultiAssetFilter =
9250
- | { type: 'Definite'; value: XcmV2MultiassetMultiAssets }
9251
- | { type: 'Wild'; value: XcmV2MultiassetWildMultiAsset };
9252
-
9253
- export type XcmV2MultiassetWildMultiAsset =
9254
- | { type: 'All' }
9255
- | { type: 'AllOf'; value: { id: XcmV2MultiassetAssetId; fun: XcmV2MultiassetWildFungibility } };
9256
-
9257
- export type XcmV2MultiassetWildFungibility = 'Fungible' | 'NonFungible';
9258
-
9259
- export type XcmV2WeightLimit = { type: 'Unlimited' } | { type: 'Limited'; value: bigint };
9148
+ | { type: 'V4'; value: StagingXcmV4Xcm }
9149
+ | { type: 'V5'; value: StagingXcmV5Xcm };
9260
9150
 
9261
9151
  export type XcmV3Xcm = Array<XcmV3Instruction>;
9262
9152
 
@@ -9443,6 +9333,8 @@ export type XcmV3MaybeErrorCode =
9443
9333
 
9444
9334
  export type XcmV3OriginKind = 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';
9445
9335
 
9336
+ export type XcmDoubleEncoded = { encoded: Bytes };
9337
+
9446
9338
  export type XcmV3QueryResponseInfo = {
9447
9339
  destination: StagingXcmV3MultilocationMultiLocation;
9448
9340
  queryId: bigint;
@@ -9607,6 +9499,211 @@ export type StagingXcmV4AssetWildAsset =
9607
9499
 
9608
9500
  export type StagingXcmV4AssetWildFungibility = 'Fungible' | 'NonFungible';
9609
9501
 
9502
+ export type StagingXcmV5Xcm = Array<StagingXcmV5Instruction>;
9503
+
9504
+ export type StagingXcmV5Instruction =
9505
+ | { type: 'WithdrawAsset'; value: StagingXcmV5AssetAssets }
9506
+ | { type: 'ReserveAssetDeposited'; value: StagingXcmV5AssetAssets }
9507
+ | { type: 'ReceiveTeleportedAsset'; value: StagingXcmV5AssetAssets }
9508
+ | {
9509
+ type: 'QueryResponse';
9510
+ value: {
9511
+ queryId: bigint;
9512
+ response: StagingXcmV5Response;
9513
+ maxWeight: SpWeightsWeightV2Weight;
9514
+ querier?: StagingXcmV5Location | undefined;
9515
+ };
9516
+ }
9517
+ | { type: 'TransferAsset'; value: { assets: StagingXcmV5AssetAssets; beneficiary: StagingXcmV5Location } }
9518
+ | {
9519
+ type: 'TransferReserveAsset';
9520
+ value: { assets: StagingXcmV5AssetAssets; dest: StagingXcmV5Location; xcm: StagingXcmV5Xcm };
9521
+ }
9522
+ | { type: 'Transact'; value: { originKind: XcmV3OriginKind; call: XcmDoubleEncoded } }
9523
+ | { type: 'HrmpNewChannelOpenRequest'; value: { sender: number; maxMessageSize: number; maxCapacity: number } }
9524
+ | { type: 'HrmpChannelAccepted'; value: { recipient: number } }
9525
+ | { type: 'HrmpChannelClosing'; value: { initiator: number; sender: number; recipient: number } }
9526
+ | { type: 'ClearOrigin' }
9527
+ | { type: 'DescendOrigin'; value: StagingXcmV5Junctions }
9528
+ | { type: 'ReportError'; value: StagingXcmV5QueryResponseInfo }
9529
+ | { type: 'DepositAsset'; value: { assets: StagingXcmV5AssetAssetFilter; beneficiary: StagingXcmV5Location } }
9530
+ | {
9531
+ type: 'DepositReserveAsset';
9532
+ value: { assets: StagingXcmV5AssetAssetFilter; dest: StagingXcmV5Location; xcm: StagingXcmV5Xcm };
9533
+ }
9534
+ | {
9535
+ type: 'ExchangeAsset';
9536
+ value: { give: StagingXcmV5AssetAssetFilter; want: StagingXcmV5AssetAssets; maximal: boolean };
9537
+ }
9538
+ | {
9539
+ type: 'InitiateReserveWithdraw';
9540
+ value: { assets: StagingXcmV5AssetAssetFilter; reserve: StagingXcmV5Location; xcm: StagingXcmV5Xcm };
9541
+ }
9542
+ | {
9543
+ type: 'InitiateTeleport';
9544
+ value: { assets: StagingXcmV5AssetAssetFilter; dest: StagingXcmV5Location; xcm: StagingXcmV5Xcm };
9545
+ }
9546
+ | {
9547
+ type: 'ReportHolding';
9548
+ value: { responseInfo: StagingXcmV5QueryResponseInfo; assets: StagingXcmV5AssetAssetFilter };
9549
+ }
9550
+ | { type: 'BuyExecution'; value: { fees: StagingXcmV5Asset; weightLimit: XcmV3WeightLimit } }
9551
+ | { type: 'RefundSurplus' }
9552
+ | { type: 'SetErrorHandler'; value: StagingXcmV5Xcm }
9553
+ | { type: 'SetAppendix'; value: StagingXcmV5Xcm }
9554
+ | { type: 'ClearError' }
9555
+ | { type: 'SetAssetClaimer'; value: { location: StagingXcmV5Location } }
9556
+ | { type: 'ClaimAsset'; value: { assets: StagingXcmV5AssetAssets; ticket: StagingXcmV5Location } }
9557
+ | { type: 'Trap'; value: bigint }
9558
+ | { type: 'SubscribeVersion'; value: { queryId: bigint; maxResponseWeight: SpWeightsWeightV2Weight } }
9559
+ | { type: 'UnsubscribeVersion' }
9560
+ | { type: 'BurnAsset'; value: StagingXcmV5AssetAssets }
9561
+ | { type: 'ExpectAsset'; value: StagingXcmV5AssetAssets }
9562
+ | { type: 'ExpectOrigin'; value?: StagingXcmV5Location | undefined }
9563
+ | { type: 'ExpectError'; value?: [number, XcmV5TraitsError] | undefined }
9564
+ | { type: 'ExpectTransactStatus'; value: XcmV3MaybeErrorCode }
9565
+ | { type: 'QueryPallet'; value: { moduleName: Bytes; responseInfo: StagingXcmV5QueryResponseInfo } }
9566
+ | {
9567
+ type: 'ExpectPallet';
9568
+ value: { index: number; name: Bytes; moduleName: Bytes; crateMajor: number; minCrateMinor: number };
9569
+ }
9570
+ | { type: 'ReportTransactStatus'; value: StagingXcmV5QueryResponseInfo }
9571
+ | { type: 'ClearTransactStatus' }
9572
+ | { type: 'UniversalOrigin'; value: StagingXcmV5Junction }
9573
+ | {
9574
+ type: 'ExportMessage';
9575
+ value: { network: StagingXcmV5JunctionNetworkId; destination: StagingXcmV5Junctions; xcm: StagingXcmV5Xcm };
9576
+ }
9577
+ | { type: 'LockAsset'; value: { asset: StagingXcmV5Asset; unlocker: StagingXcmV5Location } }
9578
+ | { type: 'UnlockAsset'; value: { asset: StagingXcmV5Asset; target: StagingXcmV5Location } }
9579
+ | { type: 'NoteUnlockable'; value: { asset: StagingXcmV5Asset; owner: StagingXcmV5Location } }
9580
+ | { type: 'RequestUnlock'; value: { asset: StagingXcmV5Asset; locker: StagingXcmV5Location } }
9581
+ | { type: 'SetFeesMode'; value: { jitWithdraw: boolean } }
9582
+ | { type: 'SetTopic'; value: FixedBytes<32> }
9583
+ | { type: 'ClearTopic' }
9584
+ | { type: 'AliasOrigin'; value: StagingXcmV5Location }
9585
+ | {
9586
+ type: 'UnpaidExecution';
9587
+ value: { weightLimit: XcmV3WeightLimit; checkOrigin?: StagingXcmV5Location | undefined };
9588
+ }
9589
+ | { type: 'PayFees'; value: { asset: StagingXcmV5Asset } }
9590
+ | {
9591
+ type: 'InitiateTransfer';
9592
+ value: {
9593
+ destination: StagingXcmV5Location;
9594
+ remoteFees?: StagingXcmV5AssetAssetTransferFilter | undefined;
9595
+ preserveOrigin: boolean;
9596
+ assets: Array<StagingXcmV5AssetAssetTransferFilter>;
9597
+ remoteXcm: StagingXcmV5Xcm;
9598
+ };
9599
+ }
9600
+ | {
9601
+ type: 'ExecuteWithOrigin';
9602
+ value: { descendantOrigin?: StagingXcmV5Junctions | undefined; xcm: StagingXcmV5Xcm };
9603
+ };
9604
+
9605
+ export type StagingXcmV5AssetAssets = Array<StagingXcmV5Asset>;
9606
+
9607
+ export type StagingXcmV5Asset = { id: StagingXcmV5AssetAssetId; fun: StagingXcmV5AssetFungibility };
9608
+
9609
+ export type StagingXcmV5AssetFungibility =
9610
+ | { type: 'Fungible'; value: bigint }
9611
+ | { type: 'NonFungible'; value: StagingXcmV5AssetAssetInstance };
9612
+
9613
+ export type StagingXcmV5AssetAssetInstance =
9614
+ | { type: 'Undefined' }
9615
+ | { type: 'Index'; value: bigint }
9616
+ | { type: 'Array4'; value: FixedBytes<4> }
9617
+ | { type: 'Array8'; value: FixedBytes<8> }
9618
+ | { type: 'Array16'; value: FixedBytes<16> }
9619
+ | { type: 'Array32'; value: FixedBytes<32> };
9620
+
9621
+ export type StagingXcmV5Response =
9622
+ | { type: 'Null' }
9623
+ | { type: 'Assets'; value: StagingXcmV5AssetAssets }
9624
+ | { type: 'ExecutionResult'; value?: [number, XcmV5TraitsError] | undefined }
9625
+ | { type: 'Version'; value: number }
9626
+ | { type: 'PalletsInfo'; value: Array<StagingXcmV5PalletInfo> }
9627
+ | { type: 'DispatchResult'; value: XcmV3MaybeErrorCode };
9628
+
9629
+ export type XcmV5TraitsError =
9630
+ | { type: 'Overflow' }
9631
+ | { type: 'Unimplemented' }
9632
+ | { type: 'UntrustedReserveLocation' }
9633
+ | { type: 'UntrustedTeleportLocation' }
9634
+ | { type: 'LocationFull' }
9635
+ | { type: 'LocationNotInvertible' }
9636
+ | { type: 'BadOrigin' }
9637
+ | { type: 'InvalidLocation' }
9638
+ | { type: 'AssetNotFound' }
9639
+ | { type: 'FailedToTransactAsset' }
9640
+ | { type: 'NotWithdrawable' }
9641
+ | { type: 'LocationCannotHold' }
9642
+ | { type: 'ExceedsMaxMessageSize' }
9643
+ | { type: 'DestinationUnsupported' }
9644
+ | { type: 'Transport' }
9645
+ | { type: 'Unroutable' }
9646
+ | { type: 'UnknownClaim' }
9647
+ | { type: 'FailedToDecode' }
9648
+ | { type: 'MaxWeightInvalid' }
9649
+ | { type: 'NotHoldingFees' }
9650
+ | { type: 'TooExpensive' }
9651
+ | { type: 'Trap'; value: bigint }
9652
+ | { type: 'ExpectationFalse' }
9653
+ | { type: 'PalletNotFound' }
9654
+ | { type: 'NameMismatch' }
9655
+ | { type: 'VersionIncompatible' }
9656
+ | { type: 'HoldingWouldOverflow' }
9657
+ | { type: 'ExportError' }
9658
+ | { type: 'ReanchorFailed' }
9659
+ | { type: 'NoDeal' }
9660
+ | { type: 'FeesNotMet' }
9661
+ | { type: 'LockError' }
9662
+ | { type: 'NoPermission' }
9663
+ | { type: 'Unanchored' }
9664
+ | { type: 'NotDepositable' }
9665
+ | { type: 'TooManyAssets' }
9666
+ | { type: 'UnhandledXcmVersion' }
9667
+ | { type: 'WeightLimitReached'; value: SpWeightsWeightV2Weight }
9668
+ | { type: 'Barrier' }
9669
+ | { type: 'WeightNotComputable' }
9670
+ | { type: 'ExceedsStackLimit' };
9671
+
9672
+ export type StagingXcmV5PalletInfo = {
9673
+ index: number;
9674
+ name: Bytes;
9675
+ moduleName: Bytes;
9676
+ major: number;
9677
+ minor: number;
9678
+ patch: number;
9679
+ };
9680
+
9681
+ export type StagingXcmV5QueryResponseInfo = {
9682
+ destination: StagingXcmV5Location;
9683
+ queryId: bigint;
9684
+ maxWeight: SpWeightsWeightV2Weight;
9685
+ };
9686
+
9687
+ export type StagingXcmV5AssetAssetFilter =
9688
+ | { type: 'Definite'; value: StagingXcmV5AssetAssets }
9689
+ | { type: 'Wild'; value: StagingXcmV5AssetWildAsset };
9690
+
9691
+ export type StagingXcmV5AssetWildAsset =
9692
+ | { type: 'All' }
9693
+ | { type: 'AllOf'; value: { id: StagingXcmV5AssetAssetId; fun: StagingXcmV5AssetWildFungibility } }
9694
+ | { type: 'AllCounted'; value: number }
9695
+ | {
9696
+ type: 'AllOfCounted';
9697
+ value: { id: StagingXcmV5AssetAssetId; fun: StagingXcmV5AssetWildFungibility; count: number };
9698
+ };
9699
+
9700
+ export type StagingXcmV5AssetWildFungibility = 'Fungible' | 'NonFungible';
9701
+
9702
+ export type StagingXcmV5AssetAssetTransferFilter =
9703
+ | { type: 'Teleport'; value: StagingXcmV5AssetAssetFilter }
9704
+ | { type: 'ReserveDeposit'; value: StagingXcmV5AssetAssetFilter }
9705
+ | { type: 'ReserveWithdraw'; value: StagingXcmV5AssetAssetFilter };
9706
+
9610
9707
  /**
9611
9708
  * Contains a variant per dispatchable extrinsic that this pallet has.
9612
9709
  **/
@@ -10063,6 +10160,93 @@ export type PalletBrokerCoretimeInterfaceCoreAssignment =
10063
10160
 
10064
10161
  export type PolkadotRuntimeParachainsAssignerCoretimePartsOf57600 = number;
10065
10162
 
10163
+ /**
10164
+ * Contains a variant per dispatchable extrinsic that this pallet has.
10165
+ **/
10166
+ export type PalletMigrationsCall =
10167
+ /**
10168
+ * Allows root to set a cursor to forcefully start, stop or forward the migration process.
10169
+ *
10170
+ * Should normally not be needed and is only in place as emergency measure. Note that
10171
+ * restarting the migration process in this manner will not call the
10172
+ * [`MigrationStatusHandler::started`] hook or emit an `UpgradeStarted` event.
10173
+ **/
10174
+ | { name: 'ForceSetCursor'; params: { cursor?: PalletMigrationsMigrationCursor | undefined } }
10175
+ /**
10176
+ * Allows root to set an active cursor to forcefully start/forward the migration process.
10177
+ *
10178
+ * This is an edge-case version of [`Self::force_set_cursor`] that allows to set the
10179
+ * `started_at` value to the next block number. Otherwise this would not be possible, since
10180
+ * `force_set_cursor` takes an absolute block number. Setting `started_at` to `None`
10181
+ * indicates that the current block number plus one should be used.
10182
+ **/
10183
+ | {
10184
+ name: 'ForceSetActiveCursor';
10185
+ params: { index: number; innerCursor?: Bytes | undefined; startedAt?: number | undefined };
10186
+ }
10187
+ /**
10188
+ * Forces the onboarding of the migrations.
10189
+ *
10190
+ * This process happens automatically on a runtime upgrade. It is in place as an emergency
10191
+ * measurement. The cursor needs to be `None` for this to succeed.
10192
+ **/
10193
+ | { name: 'ForceOnboardMbms' }
10194
+ /**
10195
+ * Clears the `Historic` set.
10196
+ *
10197
+ * `map_cursor` must be set to the last value that was returned by the
10198
+ * `HistoricCleared` event. The first time `None` can be used. `limit` must be chosen in a
10199
+ * way that will result in a sensible weight.
10200
+ **/
10201
+ | { name: 'ClearHistoric'; params: { selector: PalletMigrationsHistoricCleanupSelector } };
10202
+
10203
+ export type PalletMigrationsCallLike =
10204
+ /**
10205
+ * Allows root to set a cursor to forcefully start, stop or forward the migration process.
10206
+ *
10207
+ * Should normally not be needed and is only in place as emergency measure. Note that
10208
+ * restarting the migration process in this manner will not call the
10209
+ * [`MigrationStatusHandler::started`] hook or emit an `UpgradeStarted` event.
10210
+ **/
10211
+ | { name: 'ForceSetCursor'; params: { cursor?: PalletMigrationsMigrationCursor | undefined } }
10212
+ /**
10213
+ * Allows root to set an active cursor to forcefully start/forward the migration process.
10214
+ *
10215
+ * This is an edge-case version of [`Self::force_set_cursor`] that allows to set the
10216
+ * `started_at` value to the next block number. Otherwise this would not be possible, since
10217
+ * `force_set_cursor` takes an absolute block number. Setting `started_at` to `None`
10218
+ * indicates that the current block number plus one should be used.
10219
+ **/
10220
+ | {
10221
+ name: 'ForceSetActiveCursor';
10222
+ params: { index: number; innerCursor?: BytesLike | undefined; startedAt?: number | undefined };
10223
+ }
10224
+ /**
10225
+ * Forces the onboarding of the migrations.
10226
+ *
10227
+ * This process happens automatically on a runtime upgrade. It is in place as an emergency
10228
+ * measurement. The cursor needs to be `None` for this to succeed.
10229
+ **/
10230
+ | { name: 'ForceOnboardMbms' }
10231
+ /**
10232
+ * Clears the `Historic` set.
10233
+ *
10234
+ * `map_cursor` must be set to the last value that was returned by the
10235
+ * `HistoricCleared` event. The first time `None` can be used. `limit` must be chosen in a
10236
+ * way that will result in a sensible weight.
10237
+ **/
10238
+ | { name: 'ClearHistoric'; params: { selector: PalletMigrationsHistoricCleanupSelector } };
10239
+
10240
+ export type PalletMigrationsMigrationCursor =
10241
+ | { type: 'Active'; value: PalletMigrationsActiveCursor }
10242
+ | { type: 'Stuck' };
10243
+
10244
+ export type PalletMigrationsActiveCursor = { index: number; innerCursor?: Bytes | undefined; startedAt: number };
10245
+
10246
+ export type PalletMigrationsHistoricCleanupSelector =
10247
+ | { type: 'Specific'; value: Array<Bytes> }
10248
+ | { type: 'Wildcard'; value: { limit?: number | undefined; previousCursor?: Bytes | undefined } };
10249
+
10066
10250
  /**
10067
10251
  * Contains a variant per dispatchable extrinsic that this pallet has.
10068
10252
  **/
@@ -10157,7 +10341,7 @@ export type PalletXcmCall =
10157
10341
  * - `location`: The destination that is being described.
10158
10342
  * - `xcm_version`: The latest version of XCM that `location` supports.
10159
10343
  **/
10160
- | { name: 'ForceXcmVersion'; params: { location: StagingXcmV4Location; version: number } }
10344
+ | { name: 'ForceXcmVersion'; params: { location: StagingXcmV5Location; version: number } }
10161
10345
  /**
10162
10346
  * Set a safe XCM version (the version that XCM should be encoded with if the most recent
10163
10347
  * version a destination can accept is unknown).
@@ -10469,7 +10653,7 @@ export type PalletXcmCallLike =
10469
10653
  * - `location`: The destination that is being described.
10470
10654
  * - `xcm_version`: The latest version of XCM that `location` supports.
10471
10655
  **/
10472
- | { name: 'ForceXcmVersion'; params: { location: StagingXcmV4Location; version: number } }
10656
+ | { name: 'ForceXcmVersion'; params: { location: StagingXcmV5Location; version: number } }
10473
10657
  /**
10474
10658
  * Set a safe XCM version (the version that XCM should be encoded with if the most recent
10475
10659
  * version a destination can accept is unknown).
@@ -10691,9 +10875,9 @@ export type PalletXcmCallLike =
10691
10875
  };
10692
10876
 
10693
10877
  export type XcmVersionedAssets =
10694
- | { type: 'V2'; value: XcmV2MultiassetMultiAssets }
10695
10878
  | { type: 'V3'; value: XcmV3MultiassetMultiAssets }
10696
- | { type: 'V4'; value: StagingXcmV4AssetAssets };
10879
+ | { type: 'V4'; value: StagingXcmV4AssetAssets }
10880
+ | { type: 'V5'; value: StagingXcmV5AssetAssets };
10697
10881
 
10698
10882
  export type StagingXcmExecutorAssetTransferTransferType =
10699
10883
  | { type: 'Teleport' }
@@ -10703,7 +10887,8 @@ export type StagingXcmExecutorAssetTransferTransferType =
10703
10887
 
10704
10888
  export type XcmVersionedAssetId =
10705
10889
  | { type: 'V3'; value: XcmV3MultiassetAssetId }
10706
- | { type: 'V4'; value: StagingXcmV4AssetAssetId };
10890
+ | { type: 'V4'; value: StagingXcmV4AssetAssetId }
10891
+ | { type: 'V5'; value: StagingXcmV5AssetAssetId };
10707
10892
 
10708
10893
  /**
10709
10894
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -11583,6 +11768,117 @@ export type PolkadotRuntimeParachainsCoretimePalletEvent =
11583
11768
  **/
11584
11769
  | { name: 'CoreAssigned'; data: { core: PolkadotPrimitivesV8CoreIndex } };
11585
11770
 
11771
+ /**
11772
+ * The `Event` enum of this pallet
11773
+ **/
11774
+ export type PalletMigrationsEvent =
11775
+ /**
11776
+ * A Runtime upgrade started.
11777
+ *
11778
+ * Its end is indicated by `UpgradeCompleted` or `UpgradeFailed`.
11779
+ **/
11780
+ | {
11781
+ name: 'UpgradeStarted';
11782
+ data: {
11783
+ /**
11784
+ * The number of migrations that this upgrade contains.
11785
+ *
11786
+ * This can be used to design a progress indicator in combination with counting the
11787
+ * `MigrationCompleted` and `MigrationSkipped` events.
11788
+ **/
11789
+ migrations: number;
11790
+ };
11791
+ }
11792
+ /**
11793
+ * The current runtime upgrade completed.
11794
+ *
11795
+ * This implies that all of its migrations completed successfully as well.
11796
+ **/
11797
+ | { name: 'UpgradeCompleted' }
11798
+ /**
11799
+ * Runtime upgrade failed.
11800
+ *
11801
+ * This is very bad and will require governance intervention.
11802
+ **/
11803
+ | { name: 'UpgradeFailed' }
11804
+ /**
11805
+ * A migration was skipped since it was already executed in the past.
11806
+ **/
11807
+ | {
11808
+ name: 'MigrationSkipped';
11809
+ data: {
11810
+ /**
11811
+ * The index of the skipped migration within the [`Config::Migrations`] list.
11812
+ **/
11813
+ index: number;
11814
+ };
11815
+ }
11816
+ /**
11817
+ * A migration progressed.
11818
+ **/
11819
+ | {
11820
+ name: 'MigrationAdvanced';
11821
+ data: {
11822
+ /**
11823
+ * The index of the migration within the [`Config::Migrations`] list.
11824
+ **/
11825
+ index: number;
11826
+
11827
+ /**
11828
+ * The number of blocks that this migration took so far.
11829
+ **/
11830
+ took: number;
11831
+ };
11832
+ }
11833
+ /**
11834
+ * A Migration completed.
11835
+ **/
11836
+ | {
11837
+ name: 'MigrationCompleted';
11838
+ data: {
11839
+ /**
11840
+ * The index of the migration within the [`Config::Migrations`] list.
11841
+ **/
11842
+ index: number;
11843
+
11844
+ /**
11845
+ * The number of blocks that this migration took so far.
11846
+ **/
11847
+ took: number;
11848
+ };
11849
+ }
11850
+ /**
11851
+ * A Migration failed.
11852
+ *
11853
+ * This implies that the whole upgrade failed and governance intervention is required.
11854
+ **/
11855
+ | {
11856
+ name: 'MigrationFailed';
11857
+ data: {
11858
+ /**
11859
+ * The index of the migration within the [`Config::Migrations`] list.
11860
+ **/
11861
+ index: number;
11862
+
11863
+ /**
11864
+ * The number of blocks that this migration took so far.
11865
+ **/
11866
+ took: number;
11867
+ };
11868
+ }
11869
+ /**
11870
+ * The set of historical migrations has been cleared.
11871
+ **/
11872
+ | {
11873
+ name: 'HistoricCleared';
11874
+ data: {
11875
+ /**
11876
+ * Should be passed to `clear_historic` in a successive call.
11877
+ **/
11878
+ nextCursor?: Bytes | undefined;
11879
+ };
11880
+ };
11881
+
11586
11882
  /**
11587
11883
  * The `Event` enum of this pallet
11588
11884
  **/
@@ -11590,16 +11886,16 @@ export type PalletXcmEvent =
11590
11886
  /**
11591
11887
  * Execution of an XCM message was attempted.
11592
11888
  **/
11593
- | { name: 'Attempted'; data: { outcome: StagingXcmV4TraitsOutcome } }
11889
+ | { name: 'Attempted'; data: { outcome: StagingXcmV5TraitsOutcome } }
11594
11890
  /**
11595
11891
  * A XCM message was sent.
11596
11892
  **/
11597
11893
  | {
11598
11894
  name: 'Sent';
11599
11895
  data: {
11600
- origin: StagingXcmV4Location;
11601
- destination: StagingXcmV4Location;
11602
- message: StagingXcmV4Xcm;
11896
+ origin: StagingXcmV5Location;
11897
+ destination: StagingXcmV5Location;
11898
+ message: StagingXcmV5Xcm;
11603
11899
  messageId: FixedBytes<32>;
11604
11900
  };
11605
11901
  }
@@ -11608,12 +11904,12 @@ export type PalletXcmEvent =
11608
11904
  * matching query was never registered, it may be because it is a duplicate response, or
11609
11905
  * because the query timed out.
11610
11906
  **/
11611
- | { name: 'UnexpectedResponse'; data: { origin: StagingXcmV4Location; queryId: bigint } }
11907
+ | { name: 'UnexpectedResponse'; data: { origin: StagingXcmV5Location; queryId: bigint } }
11612
11908
  /**
11613
11909
  * Query response has been received and is ready for taking with `take_response`. There is
11614
11910
  * no registered notification call.
11615
11911
  **/
11616
- | { name: 'ResponseReady'; data: { queryId: bigint; response: StagingXcmV4Response } }
11912
+ | { name: 'ResponseReady'; data: { queryId: bigint; response: StagingXcmV5Response } }
11617
11913
  /**
11618
11914
  * Query response has been received and query is removed. The registered notification has
11619
11915
  * been dispatched and executed successfully.
@@ -11652,7 +11948,7 @@ export type PalletXcmEvent =
11652
11948
  **/
11653
11949
  | {
11654
11950
  name: 'InvalidResponder';
11655
- data: { origin: StagingXcmV4Location; queryId: bigint; expectedLocation?: StagingXcmV4Location | undefined };
11951
+ data: { origin: StagingXcmV5Location; queryId: bigint; expectedLocation?: StagingXcmV5Location | undefined };
11656
11952
  }
11657
11953
  /**
11658
11954
  * Expected query response has been received but the expected origin location placed in
@@ -11663,7 +11959,7 @@ export type PalletXcmEvent =
11663
11959
  * valid response will be dropped. Manual governance intervention is probably going to be
11664
11960
  * needed.
11665
11961
  **/
11666
- | { name: 'InvalidResponderVersion'; data: { origin: StagingXcmV4Location; queryId: bigint } }
11962
+ | { name: 'InvalidResponderVersion'; data: { origin: StagingXcmV5Location; queryId: bigint } }
11667
11963
  /**
11668
11964
  * Received query response has been read and removed.
11669
11965
  **/
@@ -11671,7 +11967,7 @@ export type PalletXcmEvent =
11671
11967
  /**
11672
11968
  * Some assets have been placed in an asset trap.
11673
11969
  **/
11674
- | { name: 'AssetsTrapped'; data: { hash: H256; origin: StagingXcmV4Location; assets: XcmVersionedAssets } }
11970
+ | { name: 'AssetsTrapped'; data: { hash: H256; origin: StagingXcmV5Location; assets: XcmVersionedAssets } }
11675
11971
  /**
11676
11972
  * An XCM version change notification message has been attempted to be sent.
11677
11973
  *
@@ -11680,9 +11976,9 @@ export type PalletXcmEvent =
11680
11976
  | {
11681
11977
  name: 'VersionChangeNotified';
11682
11978
  data: {
11683
- destination: StagingXcmV4Location;
11979
+ destination: StagingXcmV5Location;
11684
11980
  result: number;
11685
- cost: StagingXcmV4AssetAssets;
11981
+ cost: StagingXcmV5AssetAssets;
11686
11982
  messageId: FixedBytes<32>;
11687
11983
  };
11688
11984
  }
@@ -11690,12 +11986,12 @@ export type PalletXcmEvent =
11690
11986
  * The supported version of a location has been changed. This might be through an
11691
11987
  * automatic notification or a manual intervention.
11692
11988
  **/
11693
- | { name: 'SupportedVersionChanged'; data: { location: StagingXcmV4Location; version: number } }
11989
+ | { name: 'SupportedVersionChanged'; data: { location: StagingXcmV5Location; version: number } }
11694
11990
  /**
11695
11991
  * A given location which had a version change subscription was dropped owing to an error
11696
11992
  * sending the notification to it.
11697
11993
  **/
11698
- | { name: 'NotifyTargetSendFail'; data: { location: StagingXcmV4Location; queryId: bigint; error: XcmV3TraitsError } }
11994
+ | { name: 'NotifyTargetSendFail'; data: { location: StagingXcmV5Location; queryId: bigint; error: XcmV5TraitsError } }
11699
11995
  /**
11700
11996
  * A given location which had a version change subscription was dropped owing to an error
11701
11997
  * migrating the location to our new XCM format.
@@ -11710,7 +12006,7 @@ export type PalletXcmEvent =
11710
12006
  * valid response will be dropped. Manual governance intervention is probably going to be
11711
12007
  * needed.
11712
12008
  **/
11713
- | { name: 'InvalidQuerierVersion'; data: { origin: StagingXcmV4Location; queryId: bigint } }
12009
+ | { name: 'InvalidQuerierVersion'; data: { origin: StagingXcmV5Location; queryId: bigint } }
11714
12010
  /**
11715
12011
  * Expected query response has been received but the querier location of the response does
11716
12012
  * not match the expected. The query remains registered for a later, valid, response to
@@ -11719,10 +12015,10 @@ export type PalletXcmEvent =
11719
12015
  | {
11720
12016
  name: 'InvalidQuerier';
11721
12017
  data: {
11722
- origin: StagingXcmV4Location;
12018
+ origin: StagingXcmV5Location;
11723
12019
  queryId: bigint;
11724
- expectedQuerier: StagingXcmV4Location;
11725
- maybeActualQuerier?: StagingXcmV4Location | undefined;
12020
+ expectedQuerier: StagingXcmV5Location;
12021
+ maybeActualQuerier?: StagingXcmV5Location | undefined;
11726
12022
  };
11727
12023
  }
11728
12024
  /**
@@ -11731,14 +12027,14 @@ export type PalletXcmEvent =
11731
12027
  **/
11732
12028
  | {
11733
12029
  name: 'VersionNotifyStarted';
11734
- data: { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> };
12030
+ data: { destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> };
11735
12031
  }
11736
12032
  /**
11737
12033
  * We have requested that a remote chain send us XCM version change notifications.
11738
12034
  **/
11739
12035
  | {
11740
12036
  name: 'VersionNotifyRequested';
11741
- data: { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> };
12037
+ data: { destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> };
11742
12038
  }
11743
12039
  /**
11744
12040
  * We have requested that a remote chain stops sending us XCM version change
@@ -11746,25 +12042,25 @@ export type PalletXcmEvent =
11746
12042
  **/
11747
12043
  | {
11748
12044
  name: 'VersionNotifyUnrequested';
11749
- data: { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> };
12045
+ data: { destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> };
11750
12046
  }
11751
12047
  /**
11752
12048
  * Fees were paid from a location for an operation (often for using `SendXcm`).
11753
12049
  **/
11754
- | { name: 'FeesPaid'; data: { paying: StagingXcmV4Location; fees: StagingXcmV4AssetAssets } }
12050
+ | { name: 'FeesPaid'; data: { paying: StagingXcmV5Location; fees: StagingXcmV5AssetAssets } }
11755
12051
  /**
11756
12052
  * Some assets have been claimed from an asset trap
11757
12053
  **/
11758
- | { name: 'AssetsClaimed'; data: { hash: H256; origin: StagingXcmV4Location; assets: XcmVersionedAssets } }
12054
+ | { name: 'AssetsClaimed'; data: { hash: H256; origin: StagingXcmV5Location; assets: XcmVersionedAssets } }
11759
12055
  /**
11760
12056
  * A XCM version migration finished.
11761
12057
  **/
11762
12058
  | { name: 'VersionMigrationFinished'; data: { version: number } };
11763
12059
 
11764
- export type StagingXcmV4TraitsOutcome =
12060
+ export type StagingXcmV5TraitsOutcome =
11765
12061
  | { type: 'Complete'; value: { used: SpWeightsWeightV2Weight } }
11766
- | { type: 'Incomplete'; value: { used: SpWeightsWeightV2Weight; error: XcmV3TraitsError } }
11767
- | { type: 'Error'; value: { error: XcmV3TraitsError } };
12062
+ | { type: 'Incomplete'; value: { used: SpWeightsWeightV2Weight; error: XcmV5TraitsError } }
12063
+ | { type: 'Error'; value: { error: XcmV5TraitsError } };
11768
12064
 
11769
12065
  /**
11770
12066
  * The `Event` enum of this pallet
@@ -12409,7 +12705,14 @@ export type PalletIdentityRegistration = {
12409
12705
 
12410
12706
  export type PalletIdentityRegistrarInfo = { account: AccountId32; fee: bigint; fields: bigint };
12411
12707
 
12412
- export type PalletIdentityAuthorityProperties = { suffix: Bytes; allocation: number };
12708
+ export type PalletIdentityAuthorityProperties = { accountId: AccountId32; allocation: number };
12709
+
12710
+ export type PalletIdentityUsernameInformation = { owner: AccountId32; provider: PalletIdentityProvider };
12711
+
12712
+ export type PalletIdentityProvider =
12713
+ | { type: 'Allocation' }
12714
+ | { type: 'AuthorityDeposit'; value: bigint }
12715
+ | { type: 'System' };
12413
12716
 
12414
12717
  /**
12415
12718
  * The `Error` enum of this pallet.
@@ -12518,7 +12821,24 @@ export type PalletIdentityError =
12518
12821
  /**
12519
12822
  * The username cannot be forcefully removed because it can still be accepted.
12520
12823
  **/
12521
- | 'NotExpired';
12824
+ | 'NotExpired'
12825
+ /**
12826
+ * The username cannot be removed because it's still in the grace period.
12827
+ **/
12828
+ | 'TooEarly'
12829
+ /**
12830
+ * The username cannot be removed because it is not unbinding.
12831
+ **/
12832
+ | 'NotUnbinding'
12833
+ /**
12834
+ * The username cannot be unbound because it is already unbinding.
12835
+ **/
12836
+ | 'AlreadyUnbinding'
12837
+ /**
12838
+ * The action cannot be performed because of insufficient privileges (e.g. authority
12839
+ * trying to unbind a username provided by the system).
12840
+ **/
12841
+ | 'InsufficientPrivileges';
12522
12842
 
12523
12843
  export type PalletRecoveryRecoveryConfig = {
12524
12844
  delayPeriod: number;
@@ -13694,29 +14014,15 @@ export type PolkadotRuntimeParachainsParasInherentPalletError =
13694
14014
  **/
13695
14015
  | 'InvalidParentHeader'
13696
14016
  /**
13697
- * The data given to the inherent will result in an overweight block.
13698
- **/
13699
- | 'InherentOverweight'
13700
- /**
13701
- * A candidate was filtered during inherent execution. This should have only been done
14017
+ * Inherent data was filtered during execution. This should have only been done
13702
14018
  * during creation.
13703
14019
  **/
13704
- | 'CandidatesFilteredDuringExecution'
14020
+ | 'InherentDataFilteredDuringExecution'
13705
14021
  /**
13706
14022
  * Too many candidates supplied.
13707
14023
  **/
13708
14024
  | 'UnscheduledCandidate';
13709
14025
 
13710
- export type PolkadotRuntimeParachainsSchedulerPalletCoreOccupied =
13711
- | { type: 'Free' }
13712
- | { type: 'Paras'; value: PolkadotRuntimeParachainsSchedulerPalletParasEntry };
13713
-
13714
- export type PolkadotRuntimeParachainsSchedulerPalletParasEntry = {
13715
- assignment: PolkadotRuntimeParachainsSchedulerCommonAssignment;
13716
- availabilityTimeouts: number;
13717
- ttl: number;
13718
- };
13719
-
13720
14026
  export type PolkadotRuntimeParachainsSchedulerCommonAssignment =
13721
14027
  | {
13722
14028
  type: 'Pool';
@@ -14113,27 +14419,11 @@ export type PolkadotRuntimeParachainsAssignerCoretimeAssignmentState = {
14113
14419
  **/
14114
14420
  export type PolkadotRuntimeParachainsAssignerCoretimePalletError =
14115
14421
  | 'AssignmentsEmpty'
14116
- /**
14117
- * Assignments together exceeded 57600.
14118
- **/
14119
- | 'OverScheduled'
14120
- /**
14121
- * Assignments together less than 57600
14122
- **/
14123
- | 'UnderScheduled'
14124
14422
  /**
14125
14423
  * assign_core is only allowed to append new assignments at the end of already existing
14126
- * ones.
14127
- **/
14128
- | 'DisallowedInsert'
14129
- /**
14130
- * Tried to insert a schedule for the same core and block number as an existing schedule
14131
- **/
14132
- | 'DuplicateInsert'
14133
- /**
14134
- * Tried to add an unsorted set of assignments
14424
+ * ones or update the last entry.
14135
14425
  **/
14136
- | 'AssignmentsNotSorted';
14426
+ | 'DisallowedInsert';
14137
14427
 
14138
14428
  export type PolkadotRuntimeCommonParasRegistrarParaInfo = {
14139
14429
  manager: AccountId32;
@@ -14471,6 +14761,15 @@ export type PolkadotRuntimeParachainsCoretimePalletError =
14471
14761
  **/
14472
14762
  | 'AssetTransferFailed';
14473
14763
 
14764
+ /**
14765
+ * The `Error` enum of this pallet.
14766
+ **/
14767
+ export type PalletMigrationsError =
14768
+ /**
14769
+ * The operation cannot complete since some MBMs are ongoing.
14770
+ **/
14771
+ 'Ongoing';
14772
+
14474
14773
  export type PalletXcmQueryStatus =
14475
14774
  | {
14476
14775
  type: 'Pending';
@@ -14485,9 +14784,9 @@ export type PalletXcmQueryStatus =
14485
14784
  | { type: 'Ready'; value: { response: XcmVersionedResponse; at: number } };
14486
14785
 
14487
14786
  export type XcmVersionedResponse =
14488
- | { type: 'V2'; value: XcmV2Response }
14489
14787
  | { type: 'V3'; value: XcmV3Response }
14490
- | { type: 'V4'; value: StagingXcmV4Response };
14788
+ | { type: 'V4'; value: StagingXcmV4Response }
14789
+ | { type: 'V5'; value: StagingXcmV5Response };
14491
14790
 
14492
14791
  export type PalletXcmVersionMigrationStage =
14493
14792
  | { type: 'MigrateSupportedVersion' }
@@ -14771,7 +15070,9 @@ export type SpRuntimeTransactionValidityInvalidTransaction =
14771
15070
  | { type: 'Custom'; value: number }
14772
15071
  | { type: 'BadMandatory' }
14773
15072
  | { type: 'MandatoryValidation' }
14774
- | { type: 'BadSigner' };
15073
+ | { type: 'BadSigner' }
15074
+ | { type: 'IndeterminateImplicit' }
15075
+ | { type: 'UnknownOrigin' };
14775
15076
 
14776
15077
  export type SpRuntimeTransactionValidityUnknownTransaction =
14777
15078
  | { type: 'CannotLookup' }
@@ -14976,13 +15277,20 @@ export type XcmRuntimeApisDryRunCallDryRunEffects = {
14976
15277
  export type XcmRuntimeApisDryRunError = 'Unimplemented' | 'VersionedConversionFailed';
14977
15278
 
14978
15279
  export type XcmRuntimeApisDryRunXcmDryRunEffects = {
14979
- executionResult: StagingXcmV4TraitsOutcome;
15280
+ executionResult: StagingXcmV5TraitsOutcome;
14980
15281
  emittedEvents: Array<WestendRuntimeRuntimeEvent>;
14981
15282
  forwardedXcms: Array<[XcmVersionedLocation, Array<XcmVersionedXcm>]>;
14982
15283
  };
14983
15284
 
14984
15285
  export type XcmRuntimeApisConversionsError = 'Unsupported' | 'VersionedConversionFailed';
14985
15286
 
15287
+ export type XcmVersionedAsset =
15288
+ | { type: 'V3'; value: XcmV3MultiassetMultiAsset }
15289
+ | { type: 'V4'; value: StagingXcmV4Asset }
15290
+ | { type: 'V5'; value: StagingXcmV5Asset };
15291
+
15292
+ export type XcmRuntimeApisTrustedQueryError = 'VersionedAssetConversionFailed' | 'VersionedLocationConversionFailed';
15293
+
14986
15294
  export type WestendRuntimeRuntimeError =
14987
15295
  | { pallet: 'System'; palletError: FrameSystemError }
14988
15296
  | { pallet: 'Babe'; palletError: PalletBabeError }
@@ -15025,6 +15333,7 @@ export type WestendRuntimeRuntimeError =
15025
15333
  | { pallet: 'Crowdloan'; palletError: PolkadotRuntimeCommonCrowdloanPalletError }
15026
15334
  | { pallet: 'AssignedSlots'; palletError: PolkadotRuntimeCommonAssignedSlotsPalletError }
15027
15335
  | { pallet: 'Coretime'; palletError: PolkadotRuntimeParachainsCoretimePalletError }
15336
+ | { pallet: 'MultiBlockMigrations'; palletError: PalletMigrationsError }
15028
15337
  | { pallet: 'XcmPallet'; palletError: PalletXcmError }
15029
15338
  | { pallet: 'MessageQueue'; palletError: PalletMessageQueueError }
15030
15339
  | { pallet: 'AssetRate'; palletError: PalletAssetRateError }