@dedot/chaintypes 0.113.0 → 0.115.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.
package/paseo/types.d.ts CHANGED
@@ -3,7 +3,6 @@
3
3
  import type {
4
4
  Phase,
5
5
  H256,
6
- DispatchInfo,
7
6
  DispatchError,
8
7
  AccountId32,
9
8
  FixedBytes,
@@ -105,11 +104,11 @@ export type FrameSystemEvent =
105
104
  /**
106
105
  * An extrinsic completed successfully.
107
106
  **/
108
- | { name: 'ExtrinsicSuccess'; data: { dispatchInfo: DispatchInfo } }
107
+ | { name: 'ExtrinsicSuccess'; data: { dispatchInfo: FrameSystemDispatchEventInfo } }
109
108
  /**
110
109
  * An extrinsic failed.
111
110
  **/
112
- | { name: 'ExtrinsicFailed'; data: { dispatchError: DispatchError; dispatchInfo: DispatchInfo } }
111
+ | { name: 'ExtrinsicFailed'; data: { dispatchError: DispatchError; dispatchInfo: FrameSystemDispatchEventInfo } }
113
112
  /**
114
113
  * `:code` was updated.
115
114
  **/
@@ -131,10 +130,32 @@ export type FrameSystemEvent =
131
130
  **/
132
131
  | { name: 'UpgradeAuthorized'; data: { codeHash: H256; checkVersion: boolean } };
133
132
 
133
+ export type FrameSystemDispatchEventInfo = {
134
+ weight: SpWeightsWeightV2Weight;
135
+ class: FrameSupportDispatchDispatchClass;
136
+ paysFee: FrameSupportDispatchPays;
137
+ };
138
+
134
139
  export type FrameSupportDispatchDispatchClass = 'Normal' | 'Operational' | 'Mandatory';
135
140
 
136
141
  export type FrameSupportDispatchPays = 'Yes' | 'No';
137
142
 
143
+ export type SpRuntimeProvingTrieTrieError =
144
+ | 'InvalidStateRoot'
145
+ | 'IncompleteDatabase'
146
+ | 'ValueAtIncompleteKey'
147
+ | 'DecoderError'
148
+ | 'InvalidHash'
149
+ | 'DuplicateKey'
150
+ | 'ExtraneousNode'
151
+ | 'ExtraneousValue'
152
+ | 'ExtraneousHashReference'
153
+ | 'InvalidChildReference'
154
+ | 'ValueMismatch'
155
+ | 'IncompleteProof'
156
+ | 'RootMismatch'
157
+ | 'DecodeError';
158
+
138
159
  /**
139
160
  * Events type.
140
161
  **/
@@ -392,9 +413,12 @@ export type PalletStakingPalletEvent =
392
413
  **/
393
414
  | { name: 'Chilled'; data: { stash: AccountId32 } }
394
415
  /**
395
- * The stakers' rewards are getting paid.
416
+ * A Page of stakers rewards are getting paid. `next` is `None` if all pages are claimed.
396
417
  **/
397
- | { name: 'PayoutStarted'; data: { eraIndex: number; validatorStash: AccountId32 } }
418
+ | {
419
+ name: 'PayoutStarted';
420
+ data: { eraIndex: number; validatorStash: AccountId32; page: number; next?: number | undefined };
421
+ }
398
422
  /**
399
423
  * A validator has set their preferences.
400
424
  **/
@@ -533,7 +557,8 @@ export type PalletTreasuryEvent =
533
557
 
534
558
  export type PolkadotRuntimeCommonImplsVersionedLocatableAsset =
535
559
  | { type: 'V3'; value: { location: StagingXcmV3MultilocationMultiLocation; assetId: XcmV3MultiassetAssetId } }
536
- | { type: 'V4'; value: { location: StagingXcmV4Location; assetId: StagingXcmV4AssetAssetId } };
560
+ | { type: 'V4'; value: { location: StagingXcmV4Location; assetId: StagingXcmV4AssetAssetId } }
561
+ | { type: 'V5'; value: { location: StagingXcmV5Location; assetId: StagingXcmV5AssetAssetId } };
537
562
 
538
563
  export type StagingXcmV3MultilocationMultiLocation = { parents: number; interior: XcmV3Junctions };
539
564
 
@@ -651,74 +676,47 @@ export type StagingXcmV4JunctionNetworkId =
651
676
 
652
677
  export type StagingXcmV4AssetAssetId = StagingXcmV4Location;
653
678
 
654
- export type XcmVersionedLocation =
655
- | { type: 'V2'; value: XcmV2MultilocationMultiLocation }
656
- | { type: 'V3'; value: StagingXcmV3MultilocationMultiLocation }
657
- | { type: 'V4'; value: StagingXcmV4Location };
658
-
659
- export type XcmV2MultilocationMultiLocation = { parents: number; interior: XcmV2MultilocationJunctions };
679
+ export type StagingXcmV5Location = { parents: number; interior: StagingXcmV5Junctions };
660
680
 
661
- export type XcmV2MultilocationJunctions =
681
+ export type StagingXcmV5Junctions =
662
682
  | { type: 'Here' }
663
- | { type: 'X1'; value: XcmV2Junction }
664
- | { type: 'X2'; value: [XcmV2Junction, XcmV2Junction] }
665
- | { type: 'X3'; value: [XcmV2Junction, XcmV2Junction, XcmV2Junction] }
666
- | { type: 'X4'; value: [XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction] }
667
- | { type: 'X5'; value: [XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction] }
668
- | { type: 'X6'; value: [XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction] }
669
- | {
670
- type: 'X7';
671
- value: [XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction];
672
- }
673
- | {
674
- type: 'X8';
675
- value: [
676
- XcmV2Junction,
677
- XcmV2Junction,
678
- XcmV2Junction,
679
- XcmV2Junction,
680
- XcmV2Junction,
681
- XcmV2Junction,
682
- XcmV2Junction,
683
- XcmV2Junction,
684
- ];
685
- };
686
-
687
- export type XcmV2Junction =
683
+ | { type: 'X1'; value: FixedArray<StagingXcmV5Junction, 1> }
684
+ | { type: 'X2'; value: FixedArray<StagingXcmV5Junction, 2> }
685
+ | { type: 'X3'; value: FixedArray<StagingXcmV5Junction, 3> }
686
+ | { type: 'X4'; value: FixedArray<StagingXcmV5Junction, 4> }
687
+ | { type: 'X5'; value: FixedArray<StagingXcmV5Junction, 5> }
688
+ | { type: 'X6'; value: FixedArray<StagingXcmV5Junction, 6> }
689
+ | { type: 'X7'; value: FixedArray<StagingXcmV5Junction, 7> }
690
+ | { type: 'X8'; value: FixedArray<StagingXcmV5Junction, 8> };
691
+
692
+ export type StagingXcmV5Junction =
688
693
  | { type: 'Parachain'; value: number }
689
- | { type: 'AccountId32'; value: { network: XcmV2NetworkId; id: FixedBytes<32> } }
690
- | { type: 'AccountIndex64'; value: { network: XcmV2NetworkId; index: bigint } }
691
- | { type: 'AccountKey20'; value: { network: XcmV2NetworkId; key: FixedBytes<20> } }
694
+ | { type: 'AccountId32'; value: { network?: StagingXcmV5JunctionNetworkId | undefined; id: FixedBytes<32> } }
695
+ | { type: 'AccountIndex64'; value: { network?: StagingXcmV5JunctionNetworkId | undefined; index: bigint } }
696
+ | { type: 'AccountKey20'; value: { network?: StagingXcmV5JunctionNetworkId | undefined; key: FixedBytes<20> } }
692
697
  | { type: 'PalletInstance'; value: number }
693
698
  | { type: 'GeneralIndex'; value: bigint }
694
- | { type: 'GeneralKey'; value: Bytes }
699
+ | { type: 'GeneralKey'; value: { length: number; data: FixedBytes<32> } }
695
700
  | { type: 'OnlyChild' }
696
- | { type: 'Plurality'; value: { id: XcmV2BodyId; part: XcmV2BodyPart } };
701
+ | { type: 'Plurality'; value: { id: XcmV3JunctionBodyId; part: XcmV3JunctionBodyPart } }
702
+ | { type: 'GlobalConsensus'; value: StagingXcmV5JunctionNetworkId };
697
703
 
698
- export type XcmV2NetworkId =
699
- | { type: 'Any' }
700
- | { type: 'Named'; value: Bytes }
704
+ export type StagingXcmV5JunctionNetworkId =
705
+ | { type: 'ByGenesis'; value: FixedBytes<32> }
706
+ | { type: 'ByFork'; value: { blockNumber: bigint; blockHash: FixedBytes<32> } }
701
707
  | { type: 'Polkadot' }
702
- | { type: 'Kusama' };
708
+ | { type: 'Kusama' }
709
+ | { type: 'Ethereum'; value: { chainId: bigint } }
710
+ | { type: 'BitcoinCore' }
711
+ | { type: 'BitcoinCash' }
712
+ | { type: 'PolkadotBulletin' };
703
713
 
704
- export type XcmV2BodyId =
705
- | { type: 'Unit' }
706
- | { type: 'Named'; value: Bytes }
707
- | { type: 'Index'; value: number }
708
- | { type: 'Executive' }
709
- | { type: 'Technical' }
710
- | { type: 'Legislative' }
711
- | { type: 'Judicial' }
712
- | { type: 'Defense' }
713
- | { type: 'Administration' }
714
- | { type: 'Treasury' };
714
+ export type StagingXcmV5AssetAssetId = StagingXcmV5Location;
715
715
 
716
- export type XcmV2BodyPart =
717
- | { type: 'Voice' }
718
- | { type: 'Members'; value: { count: number } }
719
- | { type: 'Fraction'; value: { nom: number; denom: number } }
720
- | { type: 'AtLeastProportion'; value: { nom: number; denom: number } }
721
- | { type: 'MoreThanProportion'; value: { nom: number; denom: number } };
716
+ export type XcmVersionedLocation =
717
+ | { type: 'V3'; value: StagingXcmV3MultilocationMultiLocation }
718
+ | { type: 'V4'; value: StagingXcmV4Location }
719
+ | { type: 'V5'; value: StagingXcmV5Location };
722
720
 
723
721
  /**
724
722
  * The `Event` enum of this pallet
@@ -2080,7 +2078,7 @@ export type PalletStakingPalletCall =
2080
2078
  /**
2081
2079
  * Schedule a portion of the stash to be unlocked ready for transfer out after the bond
2082
2080
  * period ends. If this leaves an amount actively bonded less than
2083
- * T::Currency::minimum_balance(), then it is increased to the full amount.
2081
+ * [`asset::existential_deposit`], then it is increased to the full amount.
2084
2082
  *
2085
2083
  * The dispatch origin for this call must be _Signed_ by the controller, not the stash.
2086
2084
  *
@@ -2535,7 +2533,7 @@ export type PalletStakingPalletCallLike =
2535
2533
  /**
2536
2534
  * Schedule a portion of the stash to be unlocked ready for transfer out after the bond
2537
2535
  * period ends. If this leaves an amount actively bonded less than
2538
- * T::Currency::minimum_balance(), then it is increased to the full amount.
2536
+ * [`asset::existential_deposit`], then it is increased to the full amount.
2539
2537
  *
2540
2538
  * The dispatch origin for this call must be _Signed_ by the controller, not the stash.
2541
2539
  *
@@ -3947,8 +3945,8 @@ export type PolkadotRuntimeParachainsOriginPalletOrigin = {
3947
3945
  export type PolkadotParachainPrimitivesPrimitivesId = number;
3948
3946
 
3949
3947
  export type PalletXcmOrigin =
3950
- | { type: 'Xcm'; value: StagingXcmV4Location }
3951
- | { type: 'Response'; value: StagingXcmV4Location };
3948
+ | { type: 'Xcm'; value: StagingXcmV5Location }
3949
+ | { type: 'Response'; value: StagingXcmV5Location };
3952
3950
 
3953
3951
  export type FrameSupportScheduleDispatchTime = { type: 'At'; value: number } | { type: 'After'; value: number };
3954
3952
 
@@ -4067,7 +4065,7 @@ export type PolkadotRuntimeCommonClaimsPalletCall =
4067
4065
  * Attest to a statement, needed to finalize the claims process.
4068
4066
  *
4069
4067
  * WARNING: Insecure unless your chain includes `PrevalidateAttests` as a
4070
- * `SignedExtension`.
4068
+ * `TransactionExtension`.
4071
4069
  *
4072
4070
  * Unsigned Validation:
4073
4071
  * A call to attest is deemed valid if the sender has a `Preclaim` registered
@@ -4185,7 +4183,7 @@ export type PolkadotRuntimeCommonClaimsPalletCallLike =
4185
4183
  * Attest to a statement, needed to finalize the claims process.
4186
4184
  *
4187
4185
  * WARNING: Insecure unless your chain includes `PrevalidateAttests` as a
4188
- * `SignedExtension`.
4186
+ * `TransactionExtension`.
4189
4187
  *
4190
4188
  * Unsigned Validation:
4191
4189
  * A call to attest is deemed valid if the sender has a `Preclaim` registered
@@ -5358,7 +5356,21 @@ export type PalletBountiesCall =
5358
5356
  * ## Complexity
5359
5357
  * - O(1).
5360
5358
  **/
5361
- | { name: 'ExtendBountyExpiry'; params: { bountyId: number; remark: Bytes } };
5359
+ | { name: 'ExtendBountyExpiry'; params: { bountyId: number; remark: Bytes } }
5360
+ /**
5361
+ * Approve bountry and propose a curator simultaneously.
5362
+ * This call is a shortcut to calling `approve_bounty` and `propose_curator` separately.
5363
+ *
5364
+ * May only be called from `T::SpendOrigin`.
5365
+ *
5366
+ * - `bounty_id`: Bounty ID to approve.
5367
+ * - `curator`: The curator account whom will manage this bounty.
5368
+ * - `fee`: The curator fee.
5369
+ *
5370
+ * ## Complexity
5371
+ * - O(1).
5372
+ **/
5373
+ | { name: 'ApproveBountyWithCurator'; params: { bountyId: number; curator: MultiAddress; fee: bigint } };
5362
5374
 
5363
5375
  export type PalletBountiesCallLike =
5364
5376
  /**
@@ -5472,7 +5484,21 @@ export type PalletBountiesCallLike =
5472
5484
  * ## Complexity
5473
5485
  * - O(1).
5474
5486
  **/
5475
- | { name: 'ExtendBountyExpiry'; params: { bountyId: number; remark: BytesLike } };
5487
+ | { name: 'ExtendBountyExpiry'; params: { bountyId: number; remark: BytesLike } }
5488
+ /**
5489
+ * Approve bountry and propose a curator simultaneously.
5490
+ * This call is a shortcut to calling `approve_bounty` and `propose_curator` separately.
5491
+ *
5492
+ * May only be called from `T::SpendOrigin`.
5493
+ *
5494
+ * - `bounty_id`: Bounty ID to approve.
5495
+ * - `curator`: The curator account whom will manage this bounty.
5496
+ * - `fee`: The curator fee.
5497
+ *
5498
+ * ## Complexity
5499
+ * - O(1).
5500
+ **/
5501
+ | { name: 'ApproveBountyWithCurator'; params: { bountyId: number; curator: MultiAddressLike; fee: bigint } };
5476
5502
 
5477
5503
  /**
5478
5504
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -6981,10 +7007,6 @@ export type PolkadotRuntimeParachainsConfigurationPalletCall =
6981
7007
  * this, if you really know what you are doing!
6982
7008
  **/
6983
7009
  | { name: 'SetCoretimeCores'; params: { new: number } }
6984
- /**
6985
- * Set the max number of times a claim may timeout on a core before it is abandoned
6986
- **/
6987
- | { name: 'SetMaxAvailabilityTimeouts'; params: { new: number } }
6988
7010
  /**
6989
7011
  * Set the parachain validator-group rotation frequency
6990
7012
  **/
@@ -7132,10 +7154,6 @@ export type PolkadotRuntimeParachainsConfigurationPalletCall =
7132
7154
  * Set the on demand (parathreads) fee variability.
7133
7155
  **/
7134
7156
  | { name: 'SetOnDemandTargetQueueUtilization'; params: { new: Perbill } }
7135
- /**
7136
- * Set the on demand (parathreads) ttl in the claimqueue.
7137
- **/
7138
- | { name: 'SetOnDemandTtl'; params: { new: number } }
7139
7157
  /**
7140
7158
  * Set the minimum backing votes threshold.
7141
7159
  **/
@@ -7185,10 +7203,6 @@ export type PolkadotRuntimeParachainsConfigurationPalletCallLike =
7185
7203
  * this, if you really know what you are doing!
7186
7204
  **/
7187
7205
  | { name: 'SetCoretimeCores'; params: { new: number } }
7188
- /**
7189
- * Set the max number of times a claim may timeout on a core before it is abandoned
7190
- **/
7191
- | { name: 'SetMaxAvailabilityTimeouts'; params: { new: number } }
7192
7206
  /**
7193
7207
  * Set the parachain validator-group rotation frequency
7194
7208
  **/
@@ -7336,10 +7350,6 @@ export type PolkadotRuntimeParachainsConfigurationPalletCallLike =
7336
7350
  * Set the on demand (parathreads) fee variability.
7337
7351
  **/
7338
7352
  | { name: 'SetOnDemandTargetQueueUtilization'; params: { new: Perbill } }
7339
- /**
7340
- * Set the on demand (parathreads) ttl in the claimqueue.
7341
- **/
7342
- | { name: 'SetOnDemandTtl'; params: { new: number } }
7343
7353
  /**
7344
7354
  * Set the minimum backing votes threshold.
7345
7355
  **/
@@ -7414,17 +7424,17 @@ export type PolkadotRuntimeParachainsParasInherentPalletCall =
7414
7424
  /**
7415
7425
  * Enter the paras inherent. This will process bitfields and backed candidates.
7416
7426
  **/
7417
- { name: 'Enter'; params: { data: PolkadotPrimitivesV8InherentData } };
7427
+ { name: 'Enter'; params: { data: PolkadotPrimitivesVstagingInherentData } };
7418
7428
 
7419
7429
  export type PolkadotRuntimeParachainsParasInherentPalletCallLike =
7420
7430
  /**
7421
7431
  * Enter the paras inherent. This will process bitfields and backed candidates.
7422
7432
  **/
7423
- { name: 'Enter'; params: { data: PolkadotPrimitivesV8InherentData } };
7433
+ { name: 'Enter'; params: { data: PolkadotPrimitivesVstagingInherentData } };
7424
7434
 
7425
- export type PolkadotPrimitivesV8InherentData = {
7435
+ export type PolkadotPrimitivesVstagingInherentData = {
7426
7436
  bitfields: Array<PolkadotPrimitivesV8SignedUncheckedSigned>;
7427
- backedCandidates: Array<PolkadotPrimitivesV8BackedCandidate>;
7437
+ backedCandidates: Array<PolkadotPrimitivesVstagingBackedCandidate>;
7428
7438
  disputes: Array<PolkadotPrimitivesV8DisputeStatementSet>;
7429
7439
  parentHeader: Header;
7430
7440
  };
@@ -7443,32 +7453,33 @@ export type PolkadotPrimitivesV8ValidatorIndex = number;
7443
7453
 
7444
7454
  export type PolkadotPrimitivesV8ValidatorAppSignature = FixedBytes<64>;
7445
7455
 
7446
- export type PolkadotPrimitivesV8BackedCandidate = {
7447
- candidate: PolkadotPrimitivesV8CommittedCandidateReceipt;
7456
+ export type PolkadotPrimitivesVstagingBackedCandidate = {
7457
+ candidate: PolkadotPrimitivesVstagingCommittedCandidateReceiptV2;
7448
7458
  validityVotes: Array<PolkadotPrimitivesV8ValidityAttestation>;
7449
7459
  validatorIndices: BitSequence;
7450
7460
  };
7451
7461
 
7452
- export type PolkadotPrimitivesV8CommittedCandidateReceipt = {
7453
- descriptor: PolkadotPrimitivesV8CandidateDescriptor;
7462
+ export type PolkadotPrimitivesVstagingCommittedCandidateReceiptV2 = {
7463
+ descriptor: PolkadotPrimitivesVstagingCandidateDescriptorV2;
7454
7464
  commitments: PolkadotPrimitivesV8CandidateCommitments;
7455
7465
  };
7456
7466
 
7457
- export type PolkadotPrimitivesV8CandidateDescriptor = {
7467
+ export type PolkadotPrimitivesVstagingCandidateDescriptorV2 = {
7458
7468
  paraId: PolkadotParachainPrimitivesPrimitivesId;
7459
7469
  relayParent: H256;
7460
- collator: PolkadotPrimitivesV8CollatorAppPublic;
7470
+ version: PolkadotPrimitivesVstagingInternalVersion;
7471
+ coreIndex: number;
7472
+ sessionIndex: number;
7473
+ reserved1: FixedBytes<25>;
7461
7474
  persistedValidationDataHash: H256;
7462
7475
  povHash: H256;
7463
7476
  erasureRoot: H256;
7464
- signature: PolkadotPrimitivesV8CollatorAppSignature;
7477
+ reserved2: FixedBytes<64>;
7465
7478
  paraHead: H256;
7466
7479
  validationCodeHash: PolkadotParachainPrimitivesPrimitivesValidationCodeHash;
7467
7480
  };
7468
7481
 
7469
- export type PolkadotPrimitivesV8CollatorAppPublic = FixedBytes<32>;
7470
-
7471
- export type PolkadotPrimitivesV8CollatorAppSignature = FixedBytes<64>;
7482
+ export type PolkadotPrimitivesVstagingInternalVersion = number;
7472
7483
 
7473
7484
  export type PolkadotParachainPrimitivesPrimitivesValidationCodeHash = H256;
7474
7485
 
@@ -9145,7 +9156,7 @@ export type PalletXcmCall =
9145
9156
  * - `location`: The destination that is being described.
9146
9157
  * - `xcm_version`: The latest version of XCM that `location` supports.
9147
9158
  **/
9148
- | { name: 'ForceXcmVersion'; params: { location: StagingXcmV4Location; version: number } }
9159
+ | { name: 'ForceXcmVersion'; params: { location: StagingXcmV5Location; version: number } }
9149
9160
  /**
9150
9161
  * Set a safe XCM version (the version that XCM should be encoded with if the most recent
9151
9162
  * version a destination can accept is unknown).
@@ -9457,7 +9468,7 @@ export type PalletXcmCallLike =
9457
9468
  * - `location`: The destination that is being described.
9458
9469
  * - `xcm_version`: The latest version of XCM that `location` supports.
9459
9470
  **/
9460
- | { name: 'ForceXcmVersion'; params: { location: StagingXcmV4Location; version: number } }
9471
+ | { name: 'ForceXcmVersion'; params: { location: StagingXcmV5Location; version: number } }
9461
9472
  /**
9462
9473
  * Set a safe XCM version (the version that XCM should be encoded with if the most recent
9463
9474
  * version a destination can accept is unknown).
@@ -9679,150 +9690,9 @@ export type PalletXcmCallLike =
9679
9690
  };
9680
9691
 
9681
9692
  export type XcmVersionedXcm =
9682
- | { type: 'V2'; value: XcmV2Xcm }
9683
9693
  | { type: 'V3'; value: XcmV3Xcm }
9684
- | { type: 'V4'; value: StagingXcmV4Xcm };
9685
-
9686
- export type XcmV2Xcm = Array<XcmV2Instruction>;
9687
-
9688
- export type XcmV2Instruction =
9689
- | { type: 'WithdrawAsset'; value: XcmV2MultiassetMultiAssets }
9690
- | { type: 'ReserveAssetDeposited'; value: XcmV2MultiassetMultiAssets }
9691
- | { type: 'ReceiveTeleportedAsset'; value: XcmV2MultiassetMultiAssets }
9692
- | { type: 'QueryResponse'; value: { queryId: bigint; response: XcmV2Response; maxWeight: bigint } }
9693
- | {
9694
- type: 'TransferAsset';
9695
- value: { assets: XcmV2MultiassetMultiAssets; beneficiary: XcmV2MultilocationMultiLocation };
9696
- }
9697
- | {
9698
- type: 'TransferReserveAsset';
9699
- value: { assets: XcmV2MultiassetMultiAssets; dest: XcmV2MultilocationMultiLocation; xcm: XcmV2Xcm };
9700
- }
9701
- | { type: 'Transact'; value: { originType: XcmV2OriginKind; requireWeightAtMost: bigint; call: XcmDoubleEncoded } }
9702
- | { type: 'HrmpNewChannelOpenRequest'; value: { sender: number; maxMessageSize: number; maxCapacity: number } }
9703
- | { type: 'HrmpChannelAccepted'; value: { recipient: number } }
9704
- | { type: 'HrmpChannelClosing'; value: { initiator: number; sender: number; recipient: number } }
9705
- | { type: 'ClearOrigin' }
9706
- | { type: 'DescendOrigin'; value: XcmV2MultilocationJunctions }
9707
- | {
9708
- type: 'ReportError';
9709
- value: { queryId: bigint; dest: XcmV2MultilocationMultiLocation; maxResponseWeight: bigint };
9710
- }
9711
- | {
9712
- type: 'DepositAsset';
9713
- value: {
9714
- assets: XcmV2MultiassetMultiAssetFilter;
9715
- maxAssets: number;
9716
- beneficiary: XcmV2MultilocationMultiLocation;
9717
- };
9718
- }
9719
- | {
9720
- type: 'DepositReserveAsset';
9721
- value: {
9722
- assets: XcmV2MultiassetMultiAssetFilter;
9723
- maxAssets: number;
9724
- dest: XcmV2MultilocationMultiLocation;
9725
- xcm: XcmV2Xcm;
9726
- };
9727
- }
9728
- | { type: 'ExchangeAsset'; value: { give: XcmV2MultiassetMultiAssetFilter; receive: XcmV2MultiassetMultiAssets } }
9729
- | {
9730
- type: 'InitiateReserveWithdraw';
9731
- value: { assets: XcmV2MultiassetMultiAssetFilter; reserve: XcmV2MultilocationMultiLocation; xcm: XcmV2Xcm };
9732
- }
9733
- | {
9734
- type: 'InitiateTeleport';
9735
- value: { assets: XcmV2MultiassetMultiAssetFilter; dest: XcmV2MultilocationMultiLocation; xcm: XcmV2Xcm };
9736
- }
9737
- | {
9738
- type: 'QueryHolding';
9739
- value: {
9740
- queryId: bigint;
9741
- dest: XcmV2MultilocationMultiLocation;
9742
- assets: XcmV2MultiassetMultiAssetFilter;
9743
- maxResponseWeight: bigint;
9744
- };
9745
- }
9746
- | { type: 'BuyExecution'; value: { fees: XcmV2MultiassetMultiAsset; weightLimit: XcmV2WeightLimit } }
9747
- | { type: 'RefundSurplus' }
9748
- | { type: 'SetErrorHandler'; value: XcmV2Xcm }
9749
- | { type: 'SetAppendix'; value: XcmV2Xcm }
9750
- | { type: 'ClearError' }
9751
- | { type: 'ClaimAsset'; value: { assets: XcmV2MultiassetMultiAssets; ticket: XcmV2MultilocationMultiLocation } }
9752
- | { type: 'Trap'; value: bigint }
9753
- | { type: 'SubscribeVersion'; value: { queryId: bigint; maxResponseWeight: bigint } }
9754
- | { type: 'UnsubscribeVersion' };
9755
-
9756
- export type XcmV2MultiassetMultiAssets = Array<XcmV2MultiassetMultiAsset>;
9757
-
9758
- export type XcmV2MultiassetMultiAsset = { id: XcmV2MultiassetAssetId; fun: XcmV2MultiassetFungibility };
9759
-
9760
- export type XcmV2MultiassetAssetId =
9761
- | { type: 'Concrete'; value: XcmV2MultilocationMultiLocation }
9762
- | { type: 'Abstract'; value: Bytes };
9763
-
9764
- export type XcmV2MultiassetFungibility =
9765
- | { type: 'Fungible'; value: bigint }
9766
- | { type: 'NonFungible'; value: XcmV2MultiassetAssetInstance };
9767
-
9768
- export type XcmV2MultiassetAssetInstance =
9769
- | { type: 'Undefined' }
9770
- | { type: 'Index'; value: bigint }
9771
- | { type: 'Array4'; value: FixedBytes<4> }
9772
- | { type: 'Array8'; value: FixedBytes<8> }
9773
- | { type: 'Array16'; value: FixedBytes<16> }
9774
- | { type: 'Array32'; value: FixedBytes<32> }
9775
- | { type: 'Blob'; value: Bytes };
9776
-
9777
- export type XcmV2Response =
9778
- | { type: 'Null' }
9779
- | { type: 'Assets'; value: XcmV2MultiassetMultiAssets }
9780
- | { type: 'ExecutionResult'; value?: [number, XcmV2TraitsError] | undefined }
9781
- | { type: 'Version'; value: number };
9782
-
9783
- export type XcmV2TraitsError =
9784
- | { type: 'Overflow' }
9785
- | { type: 'Unimplemented' }
9786
- | { type: 'UntrustedReserveLocation' }
9787
- | { type: 'UntrustedTeleportLocation' }
9788
- | { type: 'MultiLocationFull' }
9789
- | { type: 'MultiLocationNotInvertible' }
9790
- | { type: 'BadOrigin' }
9791
- | { type: 'InvalidLocation' }
9792
- | { type: 'AssetNotFound' }
9793
- | { type: 'FailedToTransactAsset' }
9794
- | { type: 'NotWithdrawable' }
9795
- | { type: 'LocationCannotHold' }
9796
- | { type: 'ExceedsMaxMessageSize' }
9797
- | { type: 'DestinationUnsupported' }
9798
- | { type: 'Transport' }
9799
- | { type: 'Unroutable' }
9800
- | { type: 'UnknownClaim' }
9801
- | { type: 'FailedToDecode' }
9802
- | { type: 'MaxWeightInvalid' }
9803
- | { type: 'NotHoldingFees' }
9804
- | { type: 'TooExpensive' }
9805
- | { type: 'Trap'; value: bigint }
9806
- | { type: 'UnhandledXcmVersion' }
9807
- | { type: 'WeightLimitReached'; value: bigint }
9808
- | { type: 'Barrier' }
9809
- | { type: 'WeightNotComputable' };
9810
-
9811
- export type XcmV2OriginKind = 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';
9812
-
9813
- export type XcmDoubleEncoded = { encoded: Bytes };
9814
-
9815
- export type XcmV2MultiassetMultiAssetFilter =
9816
- | { type: 'Definite'; value: XcmV2MultiassetMultiAssets }
9817
- | { type: 'Wild'; value: XcmV2MultiassetWildMultiAsset };
9818
-
9819
- export type XcmV2MultiassetWildMultiAsset =
9820
- | { type: 'All' }
9821
- | { type: 'AllOf'; value: { id: XcmV2MultiassetAssetId; fun: XcmV2MultiassetWildFungibility } };
9822
-
9823
- export type XcmV2MultiassetWildFungibility = 'Fungible' | 'NonFungible';
9824
-
9825
- export type XcmV2WeightLimit = { type: 'Unlimited' } | { type: 'Limited'; value: bigint };
9694
+ | { type: 'V4'; value: StagingXcmV4Xcm }
9695
+ | { type: 'V5'; value: StagingXcmV5Xcm };
9826
9696
 
9827
9697
  export type XcmV3Xcm = Array<XcmV3Instruction>;
9828
9698
 
@@ -10009,6 +9879,8 @@ export type XcmV3MaybeErrorCode =
10009
9879
 
10010
9880
  export type XcmV3OriginKind = 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';
10011
9881
 
9882
+ export type XcmDoubleEncoded = { encoded: Bytes };
9883
+
10012
9884
  export type XcmV3QueryResponseInfo = {
10013
9885
  destination: StagingXcmV3MultilocationMultiLocation;
10014
9886
  queryId: bigint;
@@ -10173,10 +10045,221 @@ export type StagingXcmV4AssetWildAsset =
10173
10045
 
10174
10046
  export type StagingXcmV4AssetWildFungibility = 'Fungible' | 'NonFungible';
10175
10047
 
10048
+ export type StagingXcmV5Xcm = Array<StagingXcmV5Instruction>;
10049
+
10050
+ export type StagingXcmV5Instruction =
10051
+ | { type: 'WithdrawAsset'; value: StagingXcmV5AssetAssets }
10052
+ | { type: 'ReserveAssetDeposited'; value: StagingXcmV5AssetAssets }
10053
+ | { type: 'ReceiveTeleportedAsset'; value: StagingXcmV5AssetAssets }
10054
+ | {
10055
+ type: 'QueryResponse';
10056
+ value: {
10057
+ queryId: bigint;
10058
+ response: StagingXcmV5Response;
10059
+ maxWeight: SpWeightsWeightV2Weight;
10060
+ querier?: StagingXcmV5Location | undefined;
10061
+ };
10062
+ }
10063
+ | { type: 'TransferAsset'; value: { assets: StagingXcmV5AssetAssets; beneficiary: StagingXcmV5Location } }
10064
+ | {
10065
+ type: 'TransferReserveAsset';
10066
+ value: { assets: StagingXcmV5AssetAssets; dest: StagingXcmV5Location; xcm: StagingXcmV5Xcm };
10067
+ }
10068
+ | {
10069
+ type: 'Transact';
10070
+ value: {
10071
+ originKind: XcmV3OriginKind;
10072
+ fallbackMaxWeight?: SpWeightsWeightV2Weight | undefined;
10073
+ call: XcmDoubleEncoded;
10074
+ };
10075
+ }
10076
+ | { type: 'HrmpNewChannelOpenRequest'; value: { sender: number; maxMessageSize: number; maxCapacity: number } }
10077
+ | { type: 'HrmpChannelAccepted'; value: { recipient: number } }
10078
+ | { type: 'HrmpChannelClosing'; value: { initiator: number; sender: number; recipient: number } }
10079
+ | { type: 'ClearOrigin' }
10080
+ | { type: 'DescendOrigin'; value: StagingXcmV5Junctions }
10081
+ | { type: 'ReportError'; value: StagingXcmV5QueryResponseInfo }
10082
+ | { type: 'DepositAsset'; value: { assets: StagingXcmV5AssetAssetFilter; beneficiary: StagingXcmV5Location } }
10083
+ | {
10084
+ type: 'DepositReserveAsset';
10085
+ value: { assets: StagingXcmV5AssetAssetFilter; dest: StagingXcmV5Location; xcm: StagingXcmV5Xcm };
10086
+ }
10087
+ | {
10088
+ type: 'ExchangeAsset';
10089
+ value: { give: StagingXcmV5AssetAssetFilter; want: StagingXcmV5AssetAssets; maximal: boolean };
10090
+ }
10091
+ | {
10092
+ type: 'InitiateReserveWithdraw';
10093
+ value: { assets: StagingXcmV5AssetAssetFilter; reserve: StagingXcmV5Location; xcm: StagingXcmV5Xcm };
10094
+ }
10095
+ | {
10096
+ type: 'InitiateTeleport';
10097
+ value: { assets: StagingXcmV5AssetAssetFilter; dest: StagingXcmV5Location; xcm: StagingXcmV5Xcm };
10098
+ }
10099
+ | {
10100
+ type: 'ReportHolding';
10101
+ value: { responseInfo: StagingXcmV5QueryResponseInfo; assets: StagingXcmV5AssetAssetFilter };
10102
+ }
10103
+ | { type: 'BuyExecution'; value: { fees: StagingXcmV5Asset; weightLimit: XcmV3WeightLimit } }
10104
+ | { type: 'RefundSurplus' }
10105
+ | { type: 'SetErrorHandler'; value: StagingXcmV5Xcm }
10106
+ | { type: 'SetAppendix'; value: StagingXcmV5Xcm }
10107
+ | { type: 'ClearError' }
10108
+ | { type: 'ClaimAsset'; value: { assets: StagingXcmV5AssetAssets; ticket: StagingXcmV5Location } }
10109
+ | { type: 'Trap'; value: bigint }
10110
+ | { type: 'SubscribeVersion'; value: { queryId: bigint; maxResponseWeight: SpWeightsWeightV2Weight } }
10111
+ | { type: 'UnsubscribeVersion' }
10112
+ | { type: 'BurnAsset'; value: StagingXcmV5AssetAssets }
10113
+ | { type: 'ExpectAsset'; value: StagingXcmV5AssetAssets }
10114
+ | { type: 'ExpectOrigin'; value?: StagingXcmV5Location | undefined }
10115
+ | { type: 'ExpectError'; value?: [number, XcmV5TraitsError] | undefined }
10116
+ | { type: 'ExpectTransactStatus'; value: XcmV3MaybeErrorCode }
10117
+ | { type: 'QueryPallet'; value: { moduleName: Bytes; responseInfo: StagingXcmV5QueryResponseInfo } }
10118
+ | {
10119
+ type: 'ExpectPallet';
10120
+ value: { index: number; name: Bytes; moduleName: Bytes; crateMajor: number; minCrateMinor: number };
10121
+ }
10122
+ | { type: 'ReportTransactStatus'; value: StagingXcmV5QueryResponseInfo }
10123
+ | { type: 'ClearTransactStatus' }
10124
+ | { type: 'UniversalOrigin'; value: StagingXcmV5Junction }
10125
+ | {
10126
+ type: 'ExportMessage';
10127
+ value: { network: StagingXcmV5JunctionNetworkId; destination: StagingXcmV5Junctions; xcm: StagingXcmV5Xcm };
10128
+ }
10129
+ | { type: 'LockAsset'; value: { asset: StagingXcmV5Asset; unlocker: StagingXcmV5Location } }
10130
+ | { type: 'UnlockAsset'; value: { asset: StagingXcmV5Asset; target: StagingXcmV5Location } }
10131
+ | { type: 'NoteUnlockable'; value: { asset: StagingXcmV5Asset; owner: StagingXcmV5Location } }
10132
+ | { type: 'RequestUnlock'; value: { asset: StagingXcmV5Asset; locker: StagingXcmV5Location } }
10133
+ | { type: 'SetFeesMode'; value: { jitWithdraw: boolean } }
10134
+ | { type: 'SetTopic'; value: FixedBytes<32> }
10135
+ | { type: 'ClearTopic' }
10136
+ | { type: 'AliasOrigin'; value: StagingXcmV5Location }
10137
+ | {
10138
+ type: 'UnpaidExecution';
10139
+ value: { weightLimit: XcmV3WeightLimit; checkOrigin?: StagingXcmV5Location | undefined };
10140
+ }
10141
+ | { type: 'PayFees'; value: { asset: StagingXcmV5Asset } }
10142
+ | {
10143
+ type: 'InitiateTransfer';
10144
+ value: {
10145
+ destination: StagingXcmV5Location;
10146
+ remoteFees?: StagingXcmV5AssetAssetTransferFilter | undefined;
10147
+ preserveOrigin: boolean;
10148
+ assets: Array<StagingXcmV5AssetAssetTransferFilter>;
10149
+ remoteXcm: StagingXcmV5Xcm;
10150
+ };
10151
+ }
10152
+ | { type: 'ExecuteWithOrigin'; value: { descendantOrigin?: StagingXcmV5Junctions | undefined; xcm: StagingXcmV5Xcm } }
10153
+ | { type: 'SetHints'; value: { hints: Array<StagingXcmV5Hint> } };
10154
+
10155
+ export type StagingXcmV5AssetAssets = Array<StagingXcmV5Asset>;
10156
+
10157
+ export type StagingXcmV5Asset = { id: StagingXcmV5AssetAssetId; fun: StagingXcmV5AssetFungibility };
10158
+
10159
+ export type StagingXcmV5AssetFungibility =
10160
+ | { type: 'Fungible'; value: bigint }
10161
+ | { type: 'NonFungible'; value: StagingXcmV5AssetAssetInstance };
10162
+
10163
+ export type StagingXcmV5AssetAssetInstance =
10164
+ | { type: 'Undefined' }
10165
+ | { type: 'Index'; value: bigint }
10166
+ | { type: 'Array4'; value: FixedBytes<4> }
10167
+ | { type: 'Array8'; value: FixedBytes<8> }
10168
+ | { type: 'Array16'; value: FixedBytes<16> }
10169
+ | { type: 'Array32'; value: FixedBytes<32> };
10170
+
10171
+ export type StagingXcmV5Response =
10172
+ | { type: 'Null' }
10173
+ | { type: 'Assets'; value: StagingXcmV5AssetAssets }
10174
+ | { type: 'ExecutionResult'; value?: [number, XcmV5TraitsError] | undefined }
10175
+ | { type: 'Version'; value: number }
10176
+ | { type: 'PalletsInfo'; value: Array<StagingXcmV5PalletInfo> }
10177
+ | { type: 'DispatchResult'; value: XcmV3MaybeErrorCode };
10178
+
10179
+ export type XcmV5TraitsError =
10180
+ | { type: 'Overflow' }
10181
+ | { type: 'Unimplemented' }
10182
+ | { type: 'UntrustedReserveLocation' }
10183
+ | { type: 'UntrustedTeleportLocation' }
10184
+ | { type: 'LocationFull' }
10185
+ | { type: 'LocationNotInvertible' }
10186
+ | { type: 'BadOrigin' }
10187
+ | { type: 'InvalidLocation' }
10188
+ | { type: 'AssetNotFound' }
10189
+ | { type: 'FailedToTransactAsset' }
10190
+ | { type: 'NotWithdrawable' }
10191
+ | { type: 'LocationCannotHold' }
10192
+ | { type: 'ExceedsMaxMessageSize' }
10193
+ | { type: 'DestinationUnsupported' }
10194
+ | { type: 'Transport' }
10195
+ | { type: 'Unroutable' }
10196
+ | { type: 'UnknownClaim' }
10197
+ | { type: 'FailedToDecode' }
10198
+ | { type: 'MaxWeightInvalid' }
10199
+ | { type: 'NotHoldingFees' }
10200
+ | { type: 'TooExpensive' }
10201
+ | { type: 'Trap'; value: bigint }
10202
+ | { type: 'ExpectationFalse' }
10203
+ | { type: 'PalletNotFound' }
10204
+ | { type: 'NameMismatch' }
10205
+ | { type: 'VersionIncompatible' }
10206
+ | { type: 'HoldingWouldOverflow' }
10207
+ | { type: 'ExportError' }
10208
+ | { type: 'ReanchorFailed' }
10209
+ | { type: 'NoDeal' }
10210
+ | { type: 'FeesNotMet' }
10211
+ | { type: 'LockError' }
10212
+ | { type: 'NoPermission' }
10213
+ | { type: 'Unanchored' }
10214
+ | { type: 'NotDepositable' }
10215
+ | { type: 'TooManyAssets' }
10216
+ | { type: 'UnhandledXcmVersion' }
10217
+ | { type: 'WeightLimitReached'; value: SpWeightsWeightV2Weight }
10218
+ | { type: 'Barrier' }
10219
+ | { type: 'WeightNotComputable' }
10220
+ | { type: 'ExceedsStackLimit' };
10221
+
10222
+ export type StagingXcmV5PalletInfo = {
10223
+ index: number;
10224
+ name: Bytes;
10225
+ moduleName: Bytes;
10226
+ major: number;
10227
+ minor: number;
10228
+ patch: number;
10229
+ };
10230
+
10231
+ export type StagingXcmV5QueryResponseInfo = {
10232
+ destination: StagingXcmV5Location;
10233
+ queryId: bigint;
10234
+ maxWeight: SpWeightsWeightV2Weight;
10235
+ };
10236
+
10237
+ export type StagingXcmV5AssetAssetFilter =
10238
+ | { type: 'Definite'; value: StagingXcmV5AssetAssets }
10239
+ | { type: 'Wild'; value: StagingXcmV5AssetWildAsset };
10240
+
10241
+ export type StagingXcmV5AssetWildAsset =
10242
+ | { type: 'All' }
10243
+ | { type: 'AllOf'; value: { id: StagingXcmV5AssetAssetId; fun: StagingXcmV5AssetWildFungibility } }
10244
+ | { type: 'AllCounted'; value: number }
10245
+ | {
10246
+ type: 'AllOfCounted';
10247
+ value: { id: StagingXcmV5AssetAssetId; fun: StagingXcmV5AssetWildFungibility; count: number };
10248
+ };
10249
+
10250
+ export type StagingXcmV5AssetWildFungibility = 'Fungible' | 'NonFungible';
10251
+
10252
+ export type StagingXcmV5AssetAssetTransferFilter =
10253
+ | { type: 'Teleport'; value: StagingXcmV5AssetAssetFilter }
10254
+ | { type: 'ReserveDeposit'; value: StagingXcmV5AssetAssetFilter }
10255
+ | { type: 'ReserveWithdraw'; value: StagingXcmV5AssetAssetFilter };
10256
+
10257
+ export type StagingXcmV5Hint = { type: 'AssetClaimer'; value: { location: StagingXcmV5Location } };
10258
+
10176
10259
  export type XcmVersionedAssets =
10177
- | { type: 'V2'; value: XcmV2MultiassetMultiAssets }
10178
10260
  | { type: 'V3'; value: XcmV3MultiassetMultiAssets }
10179
- | { type: 'V4'; value: StagingXcmV4AssetAssets };
10261
+ | { type: 'V4'; value: StagingXcmV4AssetAssets }
10262
+ | { type: 'V5'; value: StagingXcmV5AssetAssets };
10180
10263
 
10181
10264
  export type StagingXcmExecutorAssetTransferTransferType =
10182
10265
  | { type: 'Teleport' }
@@ -10186,7 +10269,8 @@ export type StagingXcmExecutorAssetTransferTransferType =
10186
10269
 
10187
10270
  export type XcmVersionedAssetId =
10188
10271
  | { type: 'V3'; value: XcmV3MultiassetAssetId }
10189
- | { type: 'V4'; value: StagingXcmV4AssetAssetId };
10272
+ | { type: 'V4'; value: StagingXcmV4AssetAssetId }
10273
+ | { type: 'V5'; value: StagingXcmV5AssetAssetId };
10190
10274
 
10191
10275
  /**
10192
10276
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -11173,7 +11257,7 @@ export type PolkadotRuntimeParachainsInclusionPalletEvent =
11173
11257
  | {
11174
11258
  name: 'CandidateBacked';
11175
11259
  data: [
11176
- PolkadotPrimitivesV8CandidateReceipt,
11260
+ PolkadotPrimitivesVstagingCandidateReceiptV2,
11177
11261
  PolkadotParachainPrimitivesPrimitivesHeadData,
11178
11262
  PolkadotPrimitivesV8CoreIndex,
11179
11263
  PolkadotPrimitivesV8GroupIndex,
@@ -11185,7 +11269,7 @@ export type PolkadotRuntimeParachainsInclusionPalletEvent =
11185
11269
  | {
11186
11270
  name: 'CandidateIncluded';
11187
11271
  data: [
11188
- PolkadotPrimitivesV8CandidateReceipt,
11272
+ PolkadotPrimitivesVstagingCandidateReceiptV2,
11189
11273
  PolkadotParachainPrimitivesPrimitivesHeadData,
11190
11274
  PolkadotPrimitivesV8CoreIndex,
11191
11275
  PolkadotPrimitivesV8GroupIndex,
@@ -11197,7 +11281,7 @@ export type PolkadotRuntimeParachainsInclusionPalletEvent =
11197
11281
  | {
11198
11282
  name: 'CandidateTimedOut';
11199
11283
  data: [
11200
- PolkadotPrimitivesV8CandidateReceipt,
11284
+ PolkadotPrimitivesVstagingCandidateReceiptV2,
11201
11285
  PolkadotParachainPrimitivesPrimitivesHeadData,
11202
11286
  PolkadotPrimitivesV8CoreIndex,
11203
11287
  ];
@@ -11207,8 +11291,8 @@ export type PolkadotRuntimeParachainsInclusionPalletEvent =
11207
11291
  **/
11208
11292
  | { name: 'UpwardMessagesReceived'; data: { from: PolkadotParachainPrimitivesPrimitivesId; count: number } };
11209
11293
 
11210
- export type PolkadotPrimitivesV8CandidateReceipt = {
11211
- descriptor: PolkadotPrimitivesV8CandidateDescriptor;
11294
+ export type PolkadotPrimitivesVstagingCandidateReceiptV2 = {
11295
+ descriptor: PolkadotPrimitivesVstagingCandidateDescriptorV2;
11212
11296
  commitmentsHash: H256;
11213
11297
  };
11214
11298
 
@@ -11604,16 +11688,16 @@ export type PalletXcmEvent =
11604
11688
  /**
11605
11689
  * Execution of an XCM message was attempted.
11606
11690
  **/
11607
- | { name: 'Attempted'; data: { outcome: StagingXcmV4TraitsOutcome } }
11691
+ | { name: 'Attempted'; data: { outcome: StagingXcmV5TraitsOutcome } }
11608
11692
  /**
11609
11693
  * A XCM message was sent.
11610
11694
  **/
11611
11695
  | {
11612
11696
  name: 'Sent';
11613
11697
  data: {
11614
- origin: StagingXcmV4Location;
11615
- destination: StagingXcmV4Location;
11616
- message: StagingXcmV4Xcm;
11698
+ origin: StagingXcmV5Location;
11699
+ destination: StagingXcmV5Location;
11700
+ message: StagingXcmV5Xcm;
11617
11701
  messageId: FixedBytes<32>;
11618
11702
  };
11619
11703
  }
@@ -11622,12 +11706,12 @@ export type PalletXcmEvent =
11622
11706
  * matching query was never registered, it may be because it is a duplicate response, or
11623
11707
  * because the query timed out.
11624
11708
  **/
11625
- | { name: 'UnexpectedResponse'; data: { origin: StagingXcmV4Location; queryId: bigint } }
11709
+ | { name: 'UnexpectedResponse'; data: { origin: StagingXcmV5Location; queryId: bigint } }
11626
11710
  /**
11627
11711
  * Query response has been received and is ready for taking with `take_response`. There is
11628
11712
  * no registered notification call.
11629
11713
  **/
11630
- | { name: 'ResponseReady'; data: { queryId: bigint; response: StagingXcmV4Response } }
11714
+ | { name: 'ResponseReady'; data: { queryId: bigint; response: StagingXcmV5Response } }
11631
11715
  /**
11632
11716
  * Query response has been received and query is removed. The registered notification has
11633
11717
  * been dispatched and executed successfully.
@@ -11666,7 +11750,7 @@ export type PalletXcmEvent =
11666
11750
  **/
11667
11751
  | {
11668
11752
  name: 'InvalidResponder';
11669
- data: { origin: StagingXcmV4Location; queryId: bigint; expectedLocation?: StagingXcmV4Location | undefined };
11753
+ data: { origin: StagingXcmV5Location; queryId: bigint; expectedLocation?: StagingXcmV5Location | undefined };
11670
11754
  }
11671
11755
  /**
11672
11756
  * Expected query response has been received but the expected origin location placed in
@@ -11677,7 +11761,7 @@ export type PalletXcmEvent =
11677
11761
  * valid response will be dropped. Manual governance intervention is probably going to be
11678
11762
  * needed.
11679
11763
  **/
11680
- | { name: 'InvalidResponderVersion'; data: { origin: StagingXcmV4Location; queryId: bigint } }
11764
+ | { name: 'InvalidResponderVersion'; data: { origin: StagingXcmV5Location; queryId: bigint } }
11681
11765
  /**
11682
11766
  * Received query response has been read and removed.
11683
11767
  **/
@@ -11685,7 +11769,7 @@ export type PalletXcmEvent =
11685
11769
  /**
11686
11770
  * Some assets have been placed in an asset trap.
11687
11771
  **/
11688
- | { name: 'AssetsTrapped'; data: { hash: H256; origin: StagingXcmV4Location; assets: XcmVersionedAssets } }
11772
+ | { name: 'AssetsTrapped'; data: { hash: H256; origin: StagingXcmV5Location; assets: XcmVersionedAssets } }
11689
11773
  /**
11690
11774
  * An XCM version change notification message has been attempted to be sent.
11691
11775
  *
@@ -11694,9 +11778,9 @@ export type PalletXcmEvent =
11694
11778
  | {
11695
11779
  name: 'VersionChangeNotified';
11696
11780
  data: {
11697
- destination: StagingXcmV4Location;
11781
+ destination: StagingXcmV5Location;
11698
11782
  result: number;
11699
- cost: StagingXcmV4AssetAssets;
11783
+ cost: StagingXcmV5AssetAssets;
11700
11784
  messageId: FixedBytes<32>;
11701
11785
  };
11702
11786
  }
@@ -11704,12 +11788,12 @@ export type PalletXcmEvent =
11704
11788
  * The supported version of a location has been changed. This might be through an
11705
11789
  * automatic notification or a manual intervention.
11706
11790
  **/
11707
- | { name: 'SupportedVersionChanged'; data: { location: StagingXcmV4Location; version: number } }
11791
+ | { name: 'SupportedVersionChanged'; data: { location: StagingXcmV5Location; version: number } }
11708
11792
  /**
11709
11793
  * A given location which had a version change subscription was dropped owing to an error
11710
11794
  * sending the notification to it.
11711
11795
  **/
11712
- | { name: 'NotifyTargetSendFail'; data: { location: StagingXcmV4Location; queryId: bigint; error: XcmV3TraitsError } }
11796
+ | { name: 'NotifyTargetSendFail'; data: { location: StagingXcmV5Location; queryId: bigint; error: XcmV5TraitsError } }
11713
11797
  /**
11714
11798
  * A given location which had a version change subscription was dropped owing to an error
11715
11799
  * migrating the location to our new XCM format.
@@ -11724,7 +11808,7 @@ export type PalletXcmEvent =
11724
11808
  * valid response will be dropped. Manual governance intervention is probably going to be
11725
11809
  * needed.
11726
11810
  **/
11727
- | { name: 'InvalidQuerierVersion'; data: { origin: StagingXcmV4Location; queryId: bigint } }
11811
+ | { name: 'InvalidQuerierVersion'; data: { origin: StagingXcmV5Location; queryId: bigint } }
11728
11812
  /**
11729
11813
  * Expected query response has been received but the querier location of the response does
11730
11814
  * not match the expected. The query remains registered for a later, valid, response to
@@ -11733,10 +11817,10 @@ export type PalletXcmEvent =
11733
11817
  | {
11734
11818
  name: 'InvalidQuerier';
11735
11819
  data: {
11736
- origin: StagingXcmV4Location;
11820
+ origin: StagingXcmV5Location;
11737
11821
  queryId: bigint;
11738
- expectedQuerier: StagingXcmV4Location;
11739
- maybeActualQuerier?: StagingXcmV4Location | undefined;
11822
+ expectedQuerier: StagingXcmV5Location;
11823
+ maybeActualQuerier?: StagingXcmV5Location | undefined;
11740
11824
  };
11741
11825
  }
11742
11826
  /**
@@ -11745,14 +11829,14 @@ export type PalletXcmEvent =
11745
11829
  **/
11746
11830
  | {
11747
11831
  name: 'VersionNotifyStarted';
11748
- data: { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> };
11832
+ data: { destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> };
11749
11833
  }
11750
11834
  /**
11751
11835
  * We have requested that a remote chain send us XCM version change notifications.
11752
11836
  **/
11753
11837
  | {
11754
11838
  name: 'VersionNotifyRequested';
11755
- data: { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> };
11839
+ data: { destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> };
11756
11840
  }
11757
11841
  /**
11758
11842
  * We have requested that a remote chain stops sending us XCM version change
@@ -11760,25 +11844,25 @@ export type PalletXcmEvent =
11760
11844
  **/
11761
11845
  | {
11762
11846
  name: 'VersionNotifyUnrequested';
11763
- data: { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> };
11847
+ data: { destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> };
11764
11848
  }
11765
11849
  /**
11766
11850
  * Fees were paid from a location for an operation (often for using `SendXcm`).
11767
11851
  **/
11768
- | { name: 'FeesPaid'; data: { paying: StagingXcmV4Location; fees: StagingXcmV4AssetAssets } }
11852
+ | { name: 'FeesPaid'; data: { paying: StagingXcmV5Location; fees: StagingXcmV5AssetAssets } }
11769
11853
  /**
11770
11854
  * Some assets have been claimed from an asset trap
11771
11855
  **/
11772
- | { name: 'AssetsClaimed'; data: { hash: H256; origin: StagingXcmV4Location; assets: XcmVersionedAssets } }
11856
+ | { name: 'AssetsClaimed'; data: { hash: H256; origin: StagingXcmV5Location; assets: XcmVersionedAssets } }
11773
11857
  /**
11774
11858
  * A XCM version migration finished.
11775
11859
  **/
11776
11860
  | { name: 'VersionMigrationFinished'; data: { version: number } };
11777
11861
 
11778
- export type StagingXcmV4TraitsOutcome =
11862
+ export type StagingXcmV5TraitsOutcome =
11779
11863
  | { type: 'Complete'; value: { used: SpWeightsWeightV2Weight } }
11780
- | { type: 'Incomplete'; value: { used: SpWeightsWeightV2Weight; error: XcmV3TraitsError } }
11781
- | { type: 'Error'; value: { error: XcmV3TraitsError } };
11864
+ | { type: 'Incomplete'; value: { used: SpWeightsWeightV2Weight; error: XcmV5TraitsError } }
11865
+ | { type: 'Error'; value: { error: XcmV5TraitsError } };
11782
11866
 
11783
11867
  /**
11784
11868
  * The `Event` enum of this pallet
@@ -12993,7 +13077,8 @@ export type PalletBountiesBountyStatus =
12993
13077
  | { type: 'Funded' }
12994
13078
  | { type: 'CuratorProposed'; value: { curator: AccountId32 } }
12995
13079
  | { type: 'Active'; value: { curator: AccountId32; updateDue: number } }
12996
- | { type: 'PendingPayout'; value: { curator: AccountId32; beneficiary: AccountId32; unlockAt: number } };
13080
+ | { type: 'PendingPayout'; value: { curator: AccountId32; beneficiary: AccountId32; unlockAt: number } }
13081
+ | { type: 'ApprovedWithCurator'; value: { curator: AccountId32 } };
12997
13082
 
12998
13083
  /**
12999
13084
  * The `Error` enum of this pallet.
@@ -13369,10 +13454,6 @@ export type PalletNominationPoolsError =
13369
13454
  * No slash pending that can be applied to the member.
13370
13455
  **/
13371
13456
  | { name: 'NothingToSlash' }
13372
- /**
13373
- * The slash amount is too low to be applied.
13374
- **/
13375
- | { name: 'SlashTooLow' }
13376
13457
  /**
13377
13458
  * The pool or member delegation has already migrated to delegate stake.
13378
13459
  **/
@@ -13382,7 +13463,8 @@ export type PalletNominationPoolsError =
13382
13463
  **/
13383
13464
  | { name: 'NotMigrated' }
13384
13465
  /**
13385
- * This call is not allowed in the current state of the pallet.
13466
+ * This call is not allowed in the current state of the pallet or an unspecific error
13467
+ * occurred.
13386
13468
  **/
13387
13469
  | { name: 'NotSupported' };
13388
13470
 
@@ -13542,14 +13624,20 @@ export type PolkadotRuntimeParachainsConfigurationPalletError =
13542
13624
  'InvalidNewValue';
13543
13625
 
13544
13626
  export type PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker = {
13545
- buffer: Array<[H256, H256]>;
13627
+ buffer: Array<PolkadotRuntimeParachainsSharedRelayParentInfo>;
13546
13628
  latestNumber: number;
13547
13629
  };
13548
13630
 
13631
+ export type PolkadotRuntimeParachainsSharedRelayParentInfo = {
13632
+ relayParent: H256;
13633
+ stateRoot: H256;
13634
+ claimQueue: Array<[PolkadotParachainPrimitivesPrimitivesId, Array<[number, Array<PolkadotPrimitivesV8CoreIndex>]>]>;
13635
+ };
13636
+
13549
13637
  export type PolkadotRuntimeParachainsInclusionCandidatePendingAvailability = {
13550
13638
  core: PolkadotPrimitivesV8CoreIndex;
13551
13639
  hash: PolkadotCorePrimitivesCandidateHash;
13552
- descriptor: PolkadotPrimitivesV8CandidateDescriptor;
13640
+ descriptor: PolkadotPrimitivesVstagingCandidateDescriptorV2;
13553
13641
  commitments: PolkadotPrimitivesV8CandidateCommitments;
13554
13642
  availabilityVotes: BitSequence;
13555
13643
  backers: BitSequence;
@@ -13634,11 +13722,11 @@ export type PolkadotRuntimeParachainsInclusionPalletError =
13634
13722
  **/
13635
13723
  | 'ParaHeadMismatch';
13636
13724
 
13637
- export type PolkadotPrimitivesV8ScrapedOnChainVotes = {
13725
+ export type PolkadotPrimitivesVstagingScrapedOnChainVotes = {
13638
13726
  session: number;
13639
13727
  backingValidatorsPerCandidate: Array<
13640
13728
  [
13641
- PolkadotPrimitivesV8CandidateReceipt,
13729
+ PolkadotPrimitivesVstagingCandidateReceiptV2,
13642
13730
  Array<[PolkadotPrimitivesV8ValidatorIndex, PolkadotPrimitivesV8ValidityAttestation]>,
13643
13731
  ]
13644
13732
  >;
@@ -13659,29 +13747,15 @@ export type PolkadotRuntimeParachainsParasInherentPalletError =
13659
13747
  **/
13660
13748
  | 'InvalidParentHeader'
13661
13749
  /**
13662
- * The data given to the inherent will result in an overweight block.
13663
- **/
13664
- | 'InherentOverweight'
13665
- /**
13666
- * A candidate was filtered during inherent execution. This should have only been done
13750
+ * Inherent data was filtered during execution. This should have only been done
13667
13751
  * during creation.
13668
13752
  **/
13669
- | 'CandidatesFilteredDuringExecution'
13753
+ | 'InherentDataFilteredDuringExecution'
13670
13754
  /**
13671
13755
  * Too many candidates supplied.
13672
13756
  **/
13673
13757
  | 'UnscheduledCandidate';
13674
13758
 
13675
- export type PolkadotRuntimeParachainsSchedulerPalletCoreOccupied =
13676
- | { type: 'Free' }
13677
- | { type: 'Paras'; value: PolkadotRuntimeParachainsSchedulerPalletParasEntry };
13678
-
13679
- export type PolkadotRuntimeParachainsSchedulerPalletParasEntry = {
13680
- assignment: PolkadotRuntimeParachainsSchedulerCommonAssignment;
13681
- availabilityTimeouts: number;
13682
- ttl: number;
13683
- };
13684
-
13685
13759
  export type PolkadotRuntimeParachainsSchedulerCommonAssignment =
13686
13760
  | {
13687
13761
  type: 'Pool';
@@ -14078,27 +14152,11 @@ export type PolkadotRuntimeParachainsAssignerCoretimeAssignmentState = {
14078
14152
  **/
14079
14153
  export type PolkadotRuntimeParachainsAssignerCoretimePalletError =
14080
14154
  | 'AssignmentsEmpty'
14081
- /**
14082
- * Assignments together exceeded 57600.
14083
- **/
14084
- | 'OverScheduled'
14085
- /**
14086
- * Assignments together less than 57600
14087
- **/
14088
- | 'UnderScheduled'
14089
14155
  /**
14090
14156
  * assign_core is only allowed to append new assignments at the end of already existing
14091
- * ones.
14092
- **/
14093
- | 'DisallowedInsert'
14094
- /**
14095
- * Tried to insert a schedule for the same core and block number as an existing schedule
14096
- **/
14097
- | 'DuplicateInsert'
14098
- /**
14099
- * Tried to add an unsorted set of assignments
14157
+ * ones or update the last entry.
14100
14158
  **/
14101
- | 'AssignmentsNotSorted';
14159
+ | 'DisallowedInsert';
14102
14160
 
14103
14161
  export type PolkadotRuntimeCommonParasRegistrarParaInfo = {
14104
14162
  manager: AccountId32;
@@ -14363,9 +14421,9 @@ export type PalletXcmQueryStatus =
14363
14421
  | { type: 'Ready'; value: { response: XcmVersionedResponse; at: number } };
14364
14422
 
14365
14423
  export type XcmVersionedResponse =
14366
- | { type: 'V2'; value: XcmV2Response }
14367
14424
  | { type: 'V3'; value: XcmV3Response }
14368
- | { type: 'V4'; value: StagingXcmV4Response };
14425
+ | { type: 'V4'; value: StagingXcmV4Response }
14426
+ | { type: 'V5'; value: StagingXcmV5Response };
14369
14427
 
14370
14428
  export type PalletXcmVersionMigrationStage =
14371
14429
  | { type: 'MigrateSupportedVersion' }
@@ -14704,7 +14762,9 @@ export type SpRuntimeTransactionValidityInvalidTransaction =
14704
14762
  | { type: 'Custom'; value: number }
14705
14763
  | { type: 'BadMandatory' }
14706
14764
  | { type: 'MandatoryValidation' }
14707
- | { type: 'BadSigner' };
14765
+ | { type: 'BadSigner' }
14766
+ | { type: 'IndeterminateImplicit' }
14767
+ | { type: 'UnknownOrigin' };
14708
14768
 
14709
14769
  export type SpRuntimeTransactionValidityUnknownTransaction =
14710
14770
  | { type: 'CannotLookup' }
@@ -14731,12 +14791,12 @@ export type PolkadotPrimitivesV8GroupRotationInfo = {
14731
14791
  now: number;
14732
14792
  };
14733
14793
 
14734
- export type PolkadotPrimitivesV8CoreState =
14735
- | { type: 'Occupied'; value: PolkadotPrimitivesV8OccupiedCore }
14794
+ export type PolkadotPrimitivesVstagingCoreState =
14795
+ | { type: 'Occupied'; value: PolkadotPrimitivesVstagingOccupiedCore }
14736
14796
  | { type: 'Scheduled'; value: PolkadotPrimitivesV8ScheduledCore }
14737
14797
  | { type: 'Free' };
14738
14798
 
14739
- export type PolkadotPrimitivesV8OccupiedCore = {
14799
+ export type PolkadotPrimitivesVstagingOccupiedCore = {
14740
14800
  nextUpOnAvailable?: PolkadotPrimitivesV8ScheduledCore | undefined;
14741
14801
  occupiedSince: number;
14742
14802
  timeOutAt: number;
@@ -14744,7 +14804,7 @@ export type PolkadotPrimitivesV8OccupiedCore = {
14744
14804
  availability: BitSequence;
14745
14805
  groupResponsible: PolkadotPrimitivesV8GroupIndex;
14746
14806
  candidateHash: PolkadotCorePrimitivesCandidateHash;
14747
- candidateDescriptor: PolkadotPrimitivesV8CandidateDescriptor;
14807
+ candidateDescriptor: PolkadotPrimitivesVstagingCandidateDescriptorV2;
14748
14808
  };
14749
14809
 
14750
14810
  export type PolkadotPrimitivesV8ScheduledCore = {
@@ -14752,6 +14812,8 @@ export type PolkadotPrimitivesV8ScheduledCore = {
14752
14812
  collator?: PolkadotPrimitivesV8CollatorAppPublic | undefined;
14753
14813
  };
14754
14814
 
14815
+ export type PolkadotPrimitivesV8CollatorAppPublic = FixedBytes<32>;
14816
+
14755
14817
  export type PolkadotPrimitivesV8OccupiedCoreAssumption = 'Included' | 'TimedOut' | 'Free';
14756
14818
 
14757
14819
  export type PolkadotPrimitivesV8PersistedValidationData = {
@@ -14761,11 +14823,11 @@ export type PolkadotPrimitivesV8PersistedValidationData = {
14761
14823
  maxPovSize: number;
14762
14824
  };
14763
14825
 
14764
- export type PolkadotPrimitivesV8CandidateEvent =
14826
+ export type PolkadotPrimitivesVstagingCandidateEvent =
14765
14827
  | {
14766
14828
  type: 'CandidateBacked';
14767
14829
  value: [
14768
- PolkadotPrimitivesV8CandidateReceipt,
14830
+ PolkadotPrimitivesVstagingCandidateReceiptV2,
14769
14831
  PolkadotParachainPrimitivesPrimitivesHeadData,
14770
14832
  PolkadotPrimitivesV8CoreIndex,
14771
14833
  PolkadotPrimitivesV8GroupIndex,
@@ -14774,7 +14836,7 @@ export type PolkadotPrimitivesV8CandidateEvent =
14774
14836
  | {
14775
14837
  type: 'CandidateIncluded';
14776
14838
  value: [
14777
- PolkadotPrimitivesV8CandidateReceipt,
14839
+ PolkadotPrimitivesVstagingCandidateReceiptV2,
14778
14840
  PolkadotParachainPrimitivesPrimitivesHeadData,
14779
14841
  PolkadotPrimitivesV8CoreIndex,
14780
14842
  PolkadotPrimitivesV8GroupIndex,
@@ -14783,7 +14845,7 @@ export type PolkadotPrimitivesV8CandidateEvent =
14783
14845
  | {
14784
14846
  type: 'CandidateTimedOut';
14785
14847
  value: [
14786
- PolkadotPrimitivesV8CandidateReceipt,
14848
+ PolkadotPrimitivesVstagingCandidateReceiptV2,
14787
14849
  PolkadotParachainPrimitivesPrimitivesHeadData,
14788
14850
  PolkadotPrimitivesV8CoreIndex,
14789
14851
  ];
@@ -14791,9 +14853,9 @@ export type PolkadotPrimitivesV8CandidateEvent =
14791
14853
 
14792
14854
  export type PolkadotPrimitivesV8SlashingOpaqueKeyOwnershipProof = Bytes;
14793
14855
 
14794
- export type PolkadotPrimitivesV8AsyncBackingBackingState = {
14856
+ export type PolkadotPrimitivesVstagingAsyncBackingBackingState = {
14795
14857
  constraints: PolkadotPrimitivesV8AsyncBackingConstraints;
14796
- pendingAvailability: Array<PolkadotPrimitivesV8AsyncBackingCandidatePendingAvailability>;
14858
+ pendingAvailability: Array<PolkadotPrimitivesVstagingAsyncBackingCandidatePendingAvailability>;
14797
14859
  };
14798
14860
 
14799
14861
  export type PolkadotPrimitivesV8AsyncBackingConstraints = {
@@ -14822,9 +14884,9 @@ export type PolkadotPrimitivesV8AsyncBackingOutboundHrmpChannelLimitations = {
14822
14884
  messagesRemaining: number;
14823
14885
  };
14824
14886
 
14825
- export type PolkadotPrimitivesV8AsyncBackingCandidatePendingAvailability = {
14887
+ export type PolkadotPrimitivesVstagingAsyncBackingCandidatePendingAvailability = {
14826
14888
  candidateHash: PolkadotCorePrimitivesCandidateHash;
14827
- descriptor: PolkadotPrimitivesV8CandidateDescriptor;
14889
+ descriptor: PolkadotPrimitivesVstagingCandidateDescriptorV2;
14828
14890
  commitments: PolkadotPrimitivesV8CandidateCommitments;
14829
14891
  relayParentNumber: number;
14830
14892
  maxPovSize: number;
@@ -14907,7 +14969,7 @@ export type XcmRuntimeApisDryRunCallDryRunEffects = {
14907
14969
  export type XcmRuntimeApisDryRunError = 'Unimplemented' | 'VersionedConversionFailed';
14908
14970
 
14909
14971
  export type XcmRuntimeApisDryRunXcmDryRunEffects = {
14910
- executionResult: StagingXcmV4TraitsOutcome;
14972
+ executionResult: StagingXcmV5TraitsOutcome;
14911
14973
  emittedEvents: Array<PaseoRuntimeRuntimeEvent>;
14912
14974
  forwardedXcms: Array<[XcmVersionedLocation, Array<XcmVersionedXcm>]>;
14913
14975
  };