@dedot/chaintypes 0.35.0 → 0.37.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.
@@ -291,46 +291,43 @@ export type PalletAssetConversionTxPaymentEvent =
291
291
  **/
292
292
  | {
293
293
  name: 'AssetTxFeePaid';
294
- data: { who: AccountId32; actualFee: bigint; tip: bigint; assetId: StagingXcmV4Location };
294
+ data: { who: AccountId32; actualFee: bigint; tip: bigint; assetId: StagingXcmV5Location };
295
295
  }
296
296
  /**
297
297
  * A swap of the refund in native currency back to asset failed.
298
298
  **/
299
299
  | { name: 'AssetRefundFailed'; data: { nativeAmountKept: bigint } };
300
300
 
301
- export type StagingXcmV4Location = { parents: number; interior: StagingXcmV4Junctions };
301
+ export type StagingXcmV5Location = { parents: number; interior: StagingXcmV5Junctions };
302
302
 
303
- export type StagingXcmV4Junctions =
303
+ export type StagingXcmV5Junctions =
304
304
  | { type: 'Here' }
305
- | { type: 'X1'; value: FixedArray<StagingXcmV4Junction, 1> }
306
- | { type: 'X2'; value: FixedArray<StagingXcmV4Junction, 2> }
307
- | { type: 'X3'; value: FixedArray<StagingXcmV4Junction, 3> }
308
- | { type: 'X4'; value: FixedArray<StagingXcmV4Junction, 4> }
309
- | { type: 'X5'; value: FixedArray<StagingXcmV4Junction, 5> }
310
- | { type: 'X6'; value: FixedArray<StagingXcmV4Junction, 6> }
311
- | { type: 'X7'; value: FixedArray<StagingXcmV4Junction, 7> }
312
- | { type: 'X8'; value: FixedArray<StagingXcmV4Junction, 8> };
313
-
314
- export type StagingXcmV4Junction =
305
+ | { type: 'X1'; value: FixedArray<StagingXcmV5Junction, 1> }
306
+ | { type: 'X2'; value: FixedArray<StagingXcmV5Junction, 2> }
307
+ | { type: 'X3'; value: FixedArray<StagingXcmV5Junction, 3> }
308
+ | { type: 'X4'; value: FixedArray<StagingXcmV5Junction, 4> }
309
+ | { type: 'X5'; value: FixedArray<StagingXcmV5Junction, 5> }
310
+ | { type: 'X6'; value: FixedArray<StagingXcmV5Junction, 6> }
311
+ | { type: 'X7'; value: FixedArray<StagingXcmV5Junction, 7> }
312
+ | { type: 'X8'; value: FixedArray<StagingXcmV5Junction, 8> };
313
+
314
+ export type StagingXcmV5Junction =
315
315
  | { type: 'Parachain'; value: number }
316
- | { type: 'AccountId32'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; id: FixedBytes<32> } }
317
- | { type: 'AccountIndex64'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; index: bigint } }
318
- | { type: 'AccountKey20'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; key: FixedBytes<20> } }
316
+ | { type: 'AccountId32'; value: { network?: StagingXcmV5JunctionNetworkId | undefined; id: FixedBytes<32> } }
317
+ | { type: 'AccountIndex64'; value: { network?: StagingXcmV5JunctionNetworkId | undefined; index: bigint } }
318
+ | { type: 'AccountKey20'; value: { network?: StagingXcmV5JunctionNetworkId | undefined; key: FixedBytes<20> } }
319
319
  | { type: 'PalletInstance'; value: number }
320
320
  | { type: 'GeneralIndex'; value: bigint }
321
321
  | { type: 'GeneralKey'; value: { length: number; data: FixedBytes<32> } }
322
322
  | { type: 'OnlyChild' }
323
323
  | { type: 'Plurality'; value: { id: XcmV3JunctionBodyId; part: XcmV3JunctionBodyPart } }
324
- | { type: 'GlobalConsensus'; value: StagingXcmV4JunctionNetworkId };
324
+ | { type: 'GlobalConsensus'; value: StagingXcmV5JunctionNetworkId };
325
325
 
326
- export type StagingXcmV4JunctionNetworkId =
326
+ export type StagingXcmV5JunctionNetworkId =
327
327
  | { type: 'ByGenesis'; value: FixedBytes<32> }
328
328
  | { type: 'ByFork'; value: { blockNumber: bigint; blockHash: FixedBytes<32> } }
329
329
  | { type: 'Polkadot' }
330
330
  | { type: 'Kusama' }
331
- | { type: 'Westend' }
332
- | { type: 'Rococo' }
333
- | { type: 'Wococo' }
334
331
  | { type: 'Ethereum'; value: { chainId: bigint } }
335
332
  | { type: 'BitcoinCore' }
336
333
  | { type: 'BitcoinCash' }
@@ -427,16 +424,16 @@ export type PalletXcmEvent =
427
424
  /**
428
425
  * Execution of an XCM message was attempted.
429
426
  **/
430
- | { name: 'Attempted'; data: { outcome: StagingXcmV4TraitsOutcome } }
427
+ | { name: 'Attempted'; data: { outcome: StagingXcmV5TraitsOutcome } }
431
428
  /**
432
429
  * A XCM message was sent.
433
430
  **/
434
431
  | {
435
432
  name: 'Sent';
436
433
  data: {
437
- origin: StagingXcmV4Location;
438
- destination: StagingXcmV4Location;
439
- message: StagingXcmV4Xcm;
434
+ origin: StagingXcmV5Location;
435
+ destination: StagingXcmV5Location;
436
+ message: StagingXcmV5Xcm;
440
437
  messageId: FixedBytes<32>;
441
438
  };
442
439
  }
@@ -445,12 +442,12 @@ export type PalletXcmEvent =
445
442
  * matching query was never registered, it may be because it is a duplicate response, or
446
443
  * because the query timed out.
447
444
  **/
448
- | { name: 'UnexpectedResponse'; data: { origin: StagingXcmV4Location; queryId: bigint } }
445
+ | { name: 'UnexpectedResponse'; data: { origin: StagingXcmV5Location; queryId: bigint } }
449
446
  /**
450
447
  * Query response has been received and is ready for taking with `take_response`. There is
451
448
  * no registered notification call.
452
449
  **/
453
- | { name: 'ResponseReady'; data: { queryId: bigint; response: StagingXcmV4Response } }
450
+ | { name: 'ResponseReady'; data: { queryId: bigint; response: StagingXcmV5Response } }
454
451
  /**
455
452
  * Query response has been received and query is removed. The registered notification has
456
453
  * been dispatched and executed successfully.
@@ -489,7 +486,7 @@ export type PalletXcmEvent =
489
486
  **/
490
487
  | {
491
488
  name: 'InvalidResponder';
492
- data: { origin: StagingXcmV4Location; queryId: bigint; expectedLocation?: StagingXcmV4Location | undefined };
489
+ data: { origin: StagingXcmV5Location; queryId: bigint; expectedLocation?: StagingXcmV5Location | undefined };
493
490
  }
494
491
  /**
495
492
  * Expected query response has been received but the expected origin location placed in
@@ -500,7 +497,7 @@ export type PalletXcmEvent =
500
497
  * valid response will be dropped. Manual governance intervention is probably going to be
501
498
  * needed.
502
499
  **/
503
- | { name: 'InvalidResponderVersion'; data: { origin: StagingXcmV4Location; queryId: bigint } }
500
+ | { name: 'InvalidResponderVersion'; data: { origin: StagingXcmV5Location; queryId: bigint } }
504
501
  /**
505
502
  * Received query response has been read and removed.
506
503
  **/
@@ -508,7 +505,7 @@ export type PalletXcmEvent =
508
505
  /**
509
506
  * Some assets have been placed in an asset trap.
510
507
  **/
511
- | { name: 'AssetsTrapped'; data: { hash: H256; origin: StagingXcmV4Location; assets: XcmVersionedAssets } }
508
+ | { name: 'AssetsTrapped'; data: { hash: H256; origin: StagingXcmV5Location; assets: XcmVersionedAssets } }
512
509
  /**
513
510
  * An XCM version change notification message has been attempted to be sent.
514
511
  *
@@ -517,9 +514,9 @@ export type PalletXcmEvent =
517
514
  | {
518
515
  name: 'VersionChangeNotified';
519
516
  data: {
520
- destination: StagingXcmV4Location;
517
+ destination: StagingXcmV5Location;
521
518
  result: number;
522
- cost: StagingXcmV4AssetAssets;
519
+ cost: StagingXcmV5AssetAssets;
523
520
  messageId: FixedBytes<32>;
524
521
  };
525
522
  }
@@ -527,12 +524,12 @@ export type PalletXcmEvent =
527
524
  * The supported version of a location has been changed. This might be through an
528
525
  * automatic notification or a manual intervention.
529
526
  **/
530
- | { name: 'SupportedVersionChanged'; data: { location: StagingXcmV4Location; version: number } }
527
+ | { name: 'SupportedVersionChanged'; data: { location: StagingXcmV5Location; version: number } }
531
528
  /**
532
529
  * A given location which had a version change subscription was dropped owing to an error
533
530
  * sending the notification to it.
534
531
  **/
535
- | { name: 'NotifyTargetSendFail'; data: { location: StagingXcmV4Location; queryId: bigint; error: XcmV3TraitsError } }
532
+ | { name: 'NotifyTargetSendFail'; data: { location: StagingXcmV5Location; queryId: bigint; error: XcmV5TraitsError } }
536
533
  /**
537
534
  * A given location which had a version change subscription was dropped owing to an error
538
535
  * migrating the location to our new XCM format.
@@ -547,7 +544,7 @@ export type PalletXcmEvent =
547
544
  * valid response will be dropped. Manual governance intervention is probably going to be
548
545
  * needed.
549
546
  **/
550
- | { name: 'InvalidQuerierVersion'; data: { origin: StagingXcmV4Location; queryId: bigint } }
547
+ | { name: 'InvalidQuerierVersion'; data: { origin: StagingXcmV5Location; queryId: bigint } }
551
548
  /**
552
549
  * Expected query response has been received but the querier location of the response does
553
550
  * not match the expected. The query remains registered for a later, valid, response to
@@ -556,10 +553,10 @@ export type PalletXcmEvent =
556
553
  | {
557
554
  name: 'InvalidQuerier';
558
555
  data: {
559
- origin: StagingXcmV4Location;
556
+ origin: StagingXcmV5Location;
560
557
  queryId: bigint;
561
- expectedQuerier: StagingXcmV4Location;
562
- maybeActualQuerier?: StagingXcmV4Location | undefined;
558
+ expectedQuerier: StagingXcmV5Location;
559
+ maybeActualQuerier?: StagingXcmV5Location | undefined;
563
560
  };
564
561
  }
565
562
  /**
@@ -568,14 +565,14 @@ export type PalletXcmEvent =
568
565
  **/
569
566
  | {
570
567
  name: 'VersionNotifyStarted';
571
- data: { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> };
568
+ data: { destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> };
572
569
  }
573
570
  /**
574
571
  * We have requested that a remote chain send us XCM version change notifications.
575
572
  **/
576
573
  | {
577
574
  name: 'VersionNotifyRequested';
578
- data: { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> };
575
+ data: { destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> };
579
576
  }
580
577
  /**
581
578
  * We have requested that a remote chain stops sending us XCM version change
@@ -583,27 +580,27 @@ export type PalletXcmEvent =
583
580
  **/
584
581
  | {
585
582
  name: 'VersionNotifyUnrequested';
586
- data: { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> };
583
+ data: { destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> };
587
584
  }
588
585
  /**
589
586
  * Fees were paid from a location for an operation (often for using `SendXcm`).
590
587
  **/
591
- | { name: 'FeesPaid'; data: { paying: StagingXcmV4Location; fees: StagingXcmV4AssetAssets } }
588
+ | { name: 'FeesPaid'; data: { paying: StagingXcmV5Location; fees: StagingXcmV5AssetAssets } }
592
589
  /**
593
590
  * Some assets have been claimed from an asset trap
594
591
  **/
595
- | { name: 'AssetsClaimed'; data: { hash: H256; origin: StagingXcmV4Location; assets: XcmVersionedAssets } }
592
+ | { name: 'AssetsClaimed'; data: { hash: H256; origin: StagingXcmV5Location; assets: XcmVersionedAssets } }
596
593
  /**
597
594
  * A XCM version migration finished.
598
595
  **/
599
596
  | { name: 'VersionMigrationFinished'; data: { version: number } };
600
597
 
601
- export type StagingXcmV4TraitsOutcome =
598
+ export type StagingXcmV5TraitsOutcome =
602
599
  | { type: 'Complete'; value: { used: SpWeightsWeightV2Weight } }
603
- | { type: 'Incomplete'; value: { used: SpWeightsWeightV2Weight; error: XcmV3TraitsError } }
604
- | { type: 'Error'; value: { error: XcmV3TraitsError } };
600
+ | { type: 'Incomplete'; value: { used: SpWeightsWeightV2Weight; error: XcmV5TraitsError } }
601
+ | { type: 'Error'; value: { error: XcmV5TraitsError } };
605
602
 
606
- export type XcmV3TraitsError =
603
+ export type XcmV5TraitsError =
607
604
  | { type: 'Overflow' }
608
605
  | { type: 'Unimplemented' }
609
606
  | { type: 'UntrustedReserveLocation' }
@@ -639,113 +636,123 @@ export type XcmV3TraitsError =
639
636
  | { type: 'NoPermission' }
640
637
  | { type: 'Unanchored' }
641
638
  | { type: 'NotDepositable' }
639
+ | { type: 'TooManyAssets' }
642
640
  | { type: 'UnhandledXcmVersion' }
643
641
  | { type: 'WeightLimitReached'; value: SpWeightsWeightV2Weight }
644
642
  | { type: 'Barrier' }
645
643
  | { type: 'WeightNotComputable' }
646
644
  | { type: 'ExceedsStackLimit' };
647
645
 
648
- export type StagingXcmV4Xcm = Array<StagingXcmV4Instruction>;
646
+ export type StagingXcmV5Xcm = Array<StagingXcmV5Instruction>;
649
647
 
650
- export type StagingXcmV4Instruction =
651
- | { type: 'WithdrawAsset'; value: StagingXcmV4AssetAssets }
652
- | { type: 'ReserveAssetDeposited'; value: StagingXcmV4AssetAssets }
653
- | { type: 'ReceiveTeleportedAsset'; value: StagingXcmV4AssetAssets }
648
+ export type StagingXcmV5Instruction =
649
+ | { type: 'WithdrawAsset'; value: StagingXcmV5AssetAssets }
650
+ | { type: 'ReserveAssetDeposited'; value: StagingXcmV5AssetAssets }
651
+ | { type: 'ReceiveTeleportedAsset'; value: StagingXcmV5AssetAssets }
654
652
  | {
655
653
  type: 'QueryResponse';
656
654
  value: {
657
655
  queryId: bigint;
658
- response: StagingXcmV4Response;
656
+ response: StagingXcmV5Response;
659
657
  maxWeight: SpWeightsWeightV2Weight;
660
- querier?: StagingXcmV4Location | undefined;
658
+ querier?: StagingXcmV5Location | undefined;
661
659
  };
662
660
  }
663
- | { type: 'TransferAsset'; value: { assets: StagingXcmV4AssetAssets; beneficiary: StagingXcmV4Location } }
661
+ | { type: 'TransferAsset'; value: { assets: StagingXcmV5AssetAssets; beneficiary: StagingXcmV5Location } }
664
662
  | {
665
663
  type: 'TransferReserveAsset';
666
- value: { assets: StagingXcmV4AssetAssets; dest: StagingXcmV4Location; xcm: StagingXcmV4Xcm };
667
- }
668
- | {
669
- type: 'Transact';
670
- value: { originKind: XcmV3OriginKind; requireWeightAtMost: SpWeightsWeightV2Weight; call: XcmDoubleEncoded };
664
+ value: { assets: StagingXcmV5AssetAssets; dest: StagingXcmV5Location; xcm: StagingXcmV5Xcm };
671
665
  }
666
+ | { type: 'Transact'; value: { originKind: XcmV3OriginKind; call: XcmDoubleEncoded } }
672
667
  | { type: 'HrmpNewChannelOpenRequest'; value: { sender: number; maxMessageSize: number; maxCapacity: number } }
673
668
  | { type: 'HrmpChannelAccepted'; value: { recipient: number } }
674
669
  | { type: 'HrmpChannelClosing'; value: { initiator: number; sender: number; recipient: number } }
675
670
  | { type: 'ClearOrigin' }
676
- | { type: 'DescendOrigin'; value: StagingXcmV4Junctions }
677
- | { type: 'ReportError'; value: StagingXcmV4QueryResponseInfo }
678
- | { type: 'DepositAsset'; value: { assets: StagingXcmV4AssetAssetFilter; beneficiary: StagingXcmV4Location } }
671
+ | { type: 'DescendOrigin'; value: StagingXcmV5Junctions }
672
+ | { type: 'ReportError'; value: StagingXcmV5QueryResponseInfo }
673
+ | { type: 'DepositAsset'; value: { assets: StagingXcmV5AssetAssetFilter; beneficiary: StagingXcmV5Location } }
679
674
  | {
680
675
  type: 'DepositReserveAsset';
681
- value: { assets: StagingXcmV4AssetAssetFilter; dest: StagingXcmV4Location; xcm: StagingXcmV4Xcm };
676
+ value: { assets: StagingXcmV5AssetAssetFilter; dest: StagingXcmV5Location; xcm: StagingXcmV5Xcm };
682
677
  }
683
678
  | {
684
679
  type: 'ExchangeAsset';
685
- value: { give: StagingXcmV4AssetAssetFilter; want: StagingXcmV4AssetAssets; maximal: boolean };
680
+ value: { give: StagingXcmV5AssetAssetFilter; want: StagingXcmV5AssetAssets; maximal: boolean };
686
681
  }
687
682
  | {
688
683
  type: 'InitiateReserveWithdraw';
689
- value: { assets: StagingXcmV4AssetAssetFilter; reserve: StagingXcmV4Location; xcm: StagingXcmV4Xcm };
684
+ value: { assets: StagingXcmV5AssetAssetFilter; reserve: StagingXcmV5Location; xcm: StagingXcmV5Xcm };
690
685
  }
691
686
  | {
692
687
  type: 'InitiateTeleport';
693
- value: { assets: StagingXcmV4AssetAssetFilter; dest: StagingXcmV4Location; xcm: StagingXcmV4Xcm };
688
+ value: { assets: StagingXcmV5AssetAssetFilter; dest: StagingXcmV5Location; xcm: StagingXcmV5Xcm };
694
689
  }
695
690
  | {
696
691
  type: 'ReportHolding';
697
- value: { responseInfo: StagingXcmV4QueryResponseInfo; assets: StagingXcmV4AssetAssetFilter };
692
+ value: { responseInfo: StagingXcmV5QueryResponseInfo; assets: StagingXcmV5AssetAssetFilter };
698
693
  }
699
- | { type: 'BuyExecution'; value: { fees: StagingXcmV4Asset; weightLimit: XcmV3WeightLimit } }
694
+ | { type: 'BuyExecution'; value: { fees: StagingXcmV5Asset; weightLimit: XcmV3WeightLimit } }
700
695
  | { type: 'RefundSurplus' }
701
- | { type: 'SetErrorHandler'; value: StagingXcmV4Xcm }
702
- | { type: 'SetAppendix'; value: StagingXcmV4Xcm }
696
+ | { type: 'SetErrorHandler'; value: StagingXcmV5Xcm }
697
+ | { type: 'SetAppendix'; value: StagingXcmV5Xcm }
703
698
  | { type: 'ClearError' }
704
- | { type: 'ClaimAsset'; value: { assets: StagingXcmV4AssetAssets; ticket: StagingXcmV4Location } }
699
+ | { type: 'SetAssetClaimer'; value: { location: StagingXcmV5Location } }
700
+ | { type: 'ClaimAsset'; value: { assets: StagingXcmV5AssetAssets; ticket: StagingXcmV5Location } }
705
701
  | { type: 'Trap'; value: bigint }
706
702
  | { type: 'SubscribeVersion'; value: { queryId: bigint; maxResponseWeight: SpWeightsWeightV2Weight } }
707
703
  | { type: 'UnsubscribeVersion' }
708
- | { type: 'BurnAsset'; value: StagingXcmV4AssetAssets }
709
- | { type: 'ExpectAsset'; value: StagingXcmV4AssetAssets }
710
- | { type: 'ExpectOrigin'; value?: StagingXcmV4Location | undefined }
711
- | { type: 'ExpectError'; value?: [number, XcmV3TraitsError] | undefined }
704
+ | { type: 'BurnAsset'; value: StagingXcmV5AssetAssets }
705
+ | { type: 'ExpectAsset'; value: StagingXcmV5AssetAssets }
706
+ | { type: 'ExpectOrigin'; value?: StagingXcmV5Location | undefined }
707
+ | { type: 'ExpectError'; value?: [number, XcmV5TraitsError] | undefined }
712
708
  | { type: 'ExpectTransactStatus'; value: XcmV3MaybeErrorCode }
713
- | { type: 'QueryPallet'; value: { moduleName: Bytes; responseInfo: StagingXcmV4QueryResponseInfo } }
709
+ | { type: 'QueryPallet'; value: { moduleName: Bytes; responseInfo: StagingXcmV5QueryResponseInfo } }
714
710
  | {
715
711
  type: 'ExpectPallet';
716
712
  value: { index: number; name: Bytes; moduleName: Bytes; crateMajor: number; minCrateMinor: number };
717
713
  }
718
- | { type: 'ReportTransactStatus'; value: StagingXcmV4QueryResponseInfo }
714
+ | { type: 'ReportTransactStatus'; value: StagingXcmV5QueryResponseInfo }
719
715
  | { type: 'ClearTransactStatus' }
720
- | { type: 'UniversalOrigin'; value: StagingXcmV4Junction }
716
+ | { type: 'UniversalOrigin'; value: StagingXcmV5Junction }
721
717
  | {
722
718
  type: 'ExportMessage';
723
- value: { network: StagingXcmV4JunctionNetworkId; destination: StagingXcmV4Junctions; xcm: StagingXcmV4Xcm };
719
+ value: { network: StagingXcmV5JunctionNetworkId; destination: StagingXcmV5Junctions; xcm: StagingXcmV5Xcm };
724
720
  }
725
- | { type: 'LockAsset'; value: { asset: StagingXcmV4Asset; unlocker: StagingXcmV4Location } }
726
- | { type: 'UnlockAsset'; value: { asset: StagingXcmV4Asset; target: StagingXcmV4Location } }
727
- | { type: 'NoteUnlockable'; value: { asset: StagingXcmV4Asset; owner: StagingXcmV4Location } }
728
- | { type: 'RequestUnlock'; value: { asset: StagingXcmV4Asset; locker: StagingXcmV4Location } }
721
+ | { type: 'LockAsset'; value: { asset: StagingXcmV5Asset; unlocker: StagingXcmV5Location } }
722
+ | { type: 'UnlockAsset'; value: { asset: StagingXcmV5Asset; target: StagingXcmV5Location } }
723
+ | { type: 'NoteUnlockable'; value: { asset: StagingXcmV5Asset; owner: StagingXcmV5Location } }
724
+ | { type: 'RequestUnlock'; value: { asset: StagingXcmV5Asset; locker: StagingXcmV5Location } }
729
725
  | { type: 'SetFeesMode'; value: { jitWithdraw: boolean } }
730
726
  | { type: 'SetTopic'; value: FixedBytes<32> }
731
727
  | { type: 'ClearTopic' }
732
- | { type: 'AliasOrigin'; value: StagingXcmV4Location }
728
+ | { type: 'AliasOrigin'; value: StagingXcmV5Location }
733
729
  | {
734
730
  type: 'UnpaidExecution';
735
- value: { weightLimit: XcmV3WeightLimit; checkOrigin?: StagingXcmV4Location | undefined };
731
+ value: { weightLimit: XcmV3WeightLimit; checkOrigin?: StagingXcmV5Location | undefined };
732
+ }
733
+ | { type: 'PayFees'; value: { asset: StagingXcmV5Asset } }
734
+ | {
735
+ type: 'InitiateTransfer';
736
+ value: {
737
+ destination: StagingXcmV5Location;
738
+ remoteFees?: StagingXcmV5AssetAssetTransferFilter | undefined;
739
+ preserveOrigin: boolean;
740
+ assets: Array<StagingXcmV5AssetAssetTransferFilter>;
741
+ remoteXcm: StagingXcmV5Xcm;
742
+ };
736
743
  };
737
744
 
738
- export type StagingXcmV4AssetAssets = Array<StagingXcmV4Asset>;
745
+ export type StagingXcmV5AssetAssets = Array<StagingXcmV5Asset>;
739
746
 
740
- export type StagingXcmV4Asset = { id: StagingXcmV4AssetAssetId; fun: StagingXcmV4AssetFungibility };
747
+ export type StagingXcmV5Asset = { id: StagingXcmV5AssetAssetId; fun: StagingXcmV5AssetFungibility };
741
748
 
742
- export type StagingXcmV4AssetAssetId = StagingXcmV4Location;
749
+ export type StagingXcmV5AssetAssetId = StagingXcmV5Location;
743
750
 
744
- export type StagingXcmV4AssetFungibility =
751
+ export type StagingXcmV5AssetFungibility =
745
752
  | { type: 'Fungible'; value: bigint }
746
- | { type: 'NonFungible'; value: StagingXcmV4AssetAssetInstance };
753
+ | { type: 'NonFungible'; value: StagingXcmV5AssetAssetInstance };
747
754
 
748
- export type StagingXcmV4AssetAssetInstance =
755
+ export type StagingXcmV5AssetAssetInstance =
749
756
  | { type: 'Undefined' }
750
757
  | { type: 'Index'; value: bigint }
751
758
  | { type: 'Array4'; value: FixedBytes<4> }
@@ -753,15 +760,15 @@ export type StagingXcmV4AssetAssetInstance =
753
760
  | { type: 'Array16'; value: FixedBytes<16> }
754
761
  | { type: 'Array32'; value: FixedBytes<32> };
755
762
 
756
- export type StagingXcmV4Response =
763
+ export type StagingXcmV5Response =
757
764
  | { type: 'Null' }
758
- | { type: 'Assets'; value: StagingXcmV4AssetAssets }
759
- | { type: 'ExecutionResult'; value?: [number, XcmV3TraitsError] | undefined }
765
+ | { type: 'Assets'; value: StagingXcmV5AssetAssets }
766
+ | { type: 'ExecutionResult'; value?: [number, XcmV5TraitsError] | undefined }
760
767
  | { type: 'Version'; value: number }
761
- | { type: 'PalletsInfo'; value: Array<StagingXcmV4PalletInfo> }
768
+ | { type: 'PalletsInfo'; value: Array<StagingXcmV5PalletInfo> }
762
769
  | { type: 'DispatchResult'; value: XcmV3MaybeErrorCode };
763
770
 
764
- export type StagingXcmV4PalletInfo = {
771
+ export type StagingXcmV5PalletInfo = {
765
772
  index: number;
766
773
  name: Bytes;
767
774
  moduleName: Bytes;
@@ -779,118 +786,38 @@ export type XcmV3OriginKind = 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm
779
786
 
780
787
  export type XcmDoubleEncoded = { encoded: Bytes };
781
788
 
782
- export type StagingXcmV4QueryResponseInfo = {
783
- destination: StagingXcmV4Location;
789
+ export type StagingXcmV5QueryResponseInfo = {
790
+ destination: StagingXcmV5Location;
784
791
  queryId: bigint;
785
792
  maxWeight: SpWeightsWeightV2Weight;
786
793
  };
787
794
 
788
- export type StagingXcmV4AssetAssetFilter =
789
- | { type: 'Definite'; value: StagingXcmV4AssetAssets }
790
- | { type: 'Wild'; value: StagingXcmV4AssetWildAsset };
795
+ export type StagingXcmV5AssetAssetFilter =
796
+ | { type: 'Definite'; value: StagingXcmV5AssetAssets }
797
+ | { type: 'Wild'; value: StagingXcmV5AssetWildAsset };
791
798
 
792
- export type StagingXcmV4AssetWildAsset =
799
+ export type StagingXcmV5AssetWildAsset =
793
800
  | { type: 'All' }
794
- | { type: 'AllOf'; value: { id: StagingXcmV4AssetAssetId; fun: StagingXcmV4AssetWildFungibility } }
801
+ | { type: 'AllOf'; value: { id: StagingXcmV5AssetAssetId; fun: StagingXcmV5AssetWildFungibility } }
795
802
  | { type: 'AllCounted'; value: number }
796
803
  | {
797
804
  type: 'AllOfCounted';
798
- value: { id: StagingXcmV4AssetAssetId; fun: StagingXcmV4AssetWildFungibility; count: number };
805
+ value: { id: StagingXcmV5AssetAssetId; fun: StagingXcmV5AssetWildFungibility; count: number };
799
806
  };
800
807
 
801
- export type StagingXcmV4AssetWildFungibility = 'Fungible' | 'NonFungible';
808
+ export type StagingXcmV5AssetWildFungibility = 'Fungible' | 'NonFungible';
802
809
 
803
810
  export type XcmV3WeightLimit = { type: 'Unlimited' } | { type: 'Limited'; value: SpWeightsWeightV2Weight };
804
811
 
812
+ export type StagingXcmV5AssetAssetTransferFilter =
813
+ | { type: 'Teleport'; value: StagingXcmV5AssetAssetFilter }
814
+ | { type: 'ReserveDeposit'; value: StagingXcmV5AssetAssetFilter }
815
+ | { type: 'ReserveWithdraw'; value: StagingXcmV5AssetAssetFilter };
816
+
805
817
  export type XcmVersionedAssets =
806
- | { type: 'V2'; value: XcmV2MultiassetMultiAssets }
807
818
  | { type: 'V3'; value: XcmV3MultiassetMultiAssets }
808
- | { type: 'V4'; value: StagingXcmV4AssetAssets };
809
-
810
- export type XcmV2MultiassetMultiAssets = Array<XcmV2MultiassetMultiAsset>;
811
-
812
- export type XcmV2MultiassetMultiAsset = { id: XcmV2MultiassetAssetId; fun: XcmV2MultiassetFungibility };
813
-
814
- export type XcmV2MultiassetAssetId =
815
- | { type: 'Concrete'; value: XcmV2MultilocationMultiLocation }
816
- | { type: 'Abstract'; value: Bytes };
817
-
818
- export type XcmV2MultilocationMultiLocation = { parents: number; interior: XcmV2MultilocationJunctions };
819
-
820
- export type XcmV2MultilocationJunctions =
821
- | { type: 'Here' }
822
- | { type: 'X1'; value: XcmV2Junction }
823
- | { type: 'X2'; value: [XcmV2Junction, XcmV2Junction] }
824
- | { type: 'X3'; value: [XcmV2Junction, XcmV2Junction, XcmV2Junction] }
825
- | { type: 'X4'; value: [XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction] }
826
- | { type: 'X5'; value: [XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction] }
827
- | { type: 'X6'; value: [XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction] }
828
- | {
829
- type: 'X7';
830
- value: [XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction];
831
- }
832
- | {
833
- type: 'X8';
834
- value: [
835
- XcmV2Junction,
836
- XcmV2Junction,
837
- XcmV2Junction,
838
- XcmV2Junction,
839
- XcmV2Junction,
840
- XcmV2Junction,
841
- XcmV2Junction,
842
- XcmV2Junction,
843
- ];
844
- };
845
-
846
- export type XcmV2Junction =
847
- | { type: 'Parachain'; value: number }
848
- | { type: 'AccountId32'; value: { network: XcmV2NetworkId; id: FixedBytes<32> } }
849
- | { type: 'AccountIndex64'; value: { network: XcmV2NetworkId; index: bigint } }
850
- | { type: 'AccountKey20'; value: { network: XcmV2NetworkId; key: FixedBytes<20> } }
851
- | { type: 'PalletInstance'; value: number }
852
- | { type: 'GeneralIndex'; value: bigint }
853
- | { type: 'GeneralKey'; value: Bytes }
854
- | { type: 'OnlyChild' }
855
- | { type: 'Plurality'; value: { id: XcmV2BodyId; part: XcmV2BodyPart } };
856
-
857
- export type XcmV2NetworkId =
858
- | { type: 'Any' }
859
- | { type: 'Named'; value: Bytes }
860
- | { type: 'Polkadot' }
861
- | { type: 'Kusama' };
862
-
863
- export type XcmV2BodyId =
864
- | { type: 'Unit' }
865
- | { type: 'Named'; value: Bytes }
866
- | { type: 'Index'; value: number }
867
- | { type: 'Executive' }
868
- | { type: 'Technical' }
869
- | { type: 'Legislative' }
870
- | { type: 'Judicial' }
871
- | { type: 'Defense' }
872
- | { type: 'Administration' }
873
- | { type: 'Treasury' };
874
-
875
- export type XcmV2BodyPart =
876
- | { type: 'Voice' }
877
- | { type: 'Members'; value: { count: number } }
878
- | { type: 'Fraction'; value: { nom: number; denom: number } }
879
- | { type: 'AtLeastProportion'; value: { nom: number; denom: number } }
880
- | { type: 'MoreThanProportion'; value: { nom: number; denom: number } };
881
-
882
- export type XcmV2MultiassetFungibility =
883
- | { type: 'Fungible'; value: bigint }
884
- | { type: 'NonFungible'; value: XcmV2MultiassetAssetInstance };
885
-
886
- export type XcmV2MultiassetAssetInstance =
887
- | { type: 'Undefined' }
888
- | { type: 'Index'; value: bigint }
889
- | { type: 'Array4'; value: FixedBytes<4> }
890
- | { type: 'Array8'; value: FixedBytes<8> }
891
- | { type: 'Array16'; value: FixedBytes<16> }
892
- | { type: 'Array32'; value: FixedBytes<32> }
893
- | { type: 'Blob'; value: Bytes };
819
+ | { type: 'V4'; value: StagingXcmV4AssetAssets }
820
+ | { type: 'V5'; value: StagingXcmV5AssetAssets };
894
821
 
895
822
  export type XcmV3MultiassetMultiAssets = Array<XcmV3MultiassetMultiAsset>;
896
823
 
@@ -965,10 +892,66 @@ export type XcmV3MultiassetAssetInstance =
965
892
  | { type: 'Array16'; value: FixedBytes<16> }
966
893
  | { type: 'Array32'; value: FixedBytes<32> };
967
894
 
895
+ export type StagingXcmV4AssetAssets = Array<StagingXcmV4Asset>;
896
+
897
+ export type StagingXcmV4Asset = { id: StagingXcmV4AssetAssetId; fun: StagingXcmV4AssetFungibility };
898
+
899
+ export type StagingXcmV4AssetAssetId = StagingXcmV4Location;
900
+
901
+ export type StagingXcmV4Location = { parents: number; interior: StagingXcmV4Junctions };
902
+
903
+ export type StagingXcmV4Junctions =
904
+ | { type: 'Here' }
905
+ | { type: 'X1'; value: FixedArray<StagingXcmV4Junction, 1> }
906
+ | { type: 'X2'; value: FixedArray<StagingXcmV4Junction, 2> }
907
+ | { type: 'X3'; value: FixedArray<StagingXcmV4Junction, 3> }
908
+ | { type: 'X4'; value: FixedArray<StagingXcmV4Junction, 4> }
909
+ | { type: 'X5'; value: FixedArray<StagingXcmV4Junction, 5> }
910
+ | { type: 'X6'; value: FixedArray<StagingXcmV4Junction, 6> }
911
+ | { type: 'X7'; value: FixedArray<StagingXcmV4Junction, 7> }
912
+ | { type: 'X8'; value: FixedArray<StagingXcmV4Junction, 8> };
913
+
914
+ export type StagingXcmV4Junction =
915
+ | { type: 'Parachain'; value: number }
916
+ | { type: 'AccountId32'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; id: FixedBytes<32> } }
917
+ | { type: 'AccountIndex64'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; index: bigint } }
918
+ | { type: 'AccountKey20'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; key: FixedBytes<20> } }
919
+ | { type: 'PalletInstance'; value: number }
920
+ | { type: 'GeneralIndex'; value: bigint }
921
+ | { type: 'GeneralKey'; value: { length: number; data: FixedBytes<32> } }
922
+ | { type: 'OnlyChild' }
923
+ | { type: 'Plurality'; value: { id: XcmV3JunctionBodyId; part: XcmV3JunctionBodyPart } }
924
+ | { type: 'GlobalConsensus'; value: StagingXcmV4JunctionNetworkId };
925
+
926
+ export type StagingXcmV4JunctionNetworkId =
927
+ | { type: 'ByGenesis'; value: FixedBytes<32> }
928
+ | { type: 'ByFork'; value: { blockNumber: bigint; blockHash: FixedBytes<32> } }
929
+ | { type: 'Polkadot' }
930
+ | { type: 'Kusama' }
931
+ | { type: 'Westend' }
932
+ | { type: 'Rococo' }
933
+ | { type: 'Wococo' }
934
+ | { type: 'Ethereum'; value: { chainId: bigint } }
935
+ | { type: 'BitcoinCore' }
936
+ | { type: 'BitcoinCash' }
937
+ | { type: 'PolkadotBulletin' };
938
+
939
+ export type StagingXcmV4AssetFungibility =
940
+ | { type: 'Fungible'; value: bigint }
941
+ | { type: 'NonFungible'; value: StagingXcmV4AssetAssetInstance };
942
+
943
+ export type StagingXcmV4AssetAssetInstance =
944
+ | { type: 'Undefined' }
945
+ | { type: 'Index'; value: bigint }
946
+ | { type: 'Array4'; value: FixedBytes<4> }
947
+ | { type: 'Array8'; value: FixedBytes<8> }
948
+ | { type: 'Array16'; value: FixedBytes<16> }
949
+ | { type: 'Array32'; value: FixedBytes<32> };
950
+
968
951
  export type XcmVersionedLocation =
969
- | { type: 'V2'; value: XcmV2MultilocationMultiLocation }
970
952
  | { type: 'V3'; value: StagingXcmV3MultilocationMultiLocation }
971
- | { type: 'V4'; value: StagingXcmV4Location };
953
+ | { type: 'V4'; value: StagingXcmV4Location }
954
+ | { type: 'V5'; value: StagingXcmV5Location };
972
955
 
973
956
  /**
974
957
  * The `Event` enum of this pallet
@@ -988,7 +971,7 @@ export type CumulusPalletXcmEvent =
988
971
  * Downward message executed with the given outcome.
989
972
  * \[ id, outcome \]
990
973
  **/
991
- | { name: 'ExecutedDownward'; data: [FixedBytes<32>, StagingXcmV4TraitsOutcome] };
974
+ | { name: 'ExecutedDownward'; data: [FixedBytes<32>, StagingXcmV5TraitsOutcome] };
992
975
 
993
976
  /**
994
977
  * The `Event` enum of this pallet
@@ -1769,94 +1752,94 @@ export type PalletAssetsEvent002 =
1769
1752
  /**
1770
1753
  * Some asset class was created.
1771
1754
  **/
1772
- | { name: 'Created'; data: { assetId: StagingXcmV4Location; creator: AccountId32; owner: AccountId32 } }
1755
+ | { name: 'Created'; data: { assetId: StagingXcmV5Location; creator: AccountId32; owner: AccountId32 } }
1773
1756
  /**
1774
1757
  * Some assets were issued.
1775
1758
  **/
1776
- | { name: 'Issued'; data: { assetId: StagingXcmV4Location; owner: AccountId32; amount: bigint } }
1759
+ | { name: 'Issued'; data: { assetId: StagingXcmV5Location; owner: AccountId32; amount: bigint } }
1777
1760
  /**
1778
1761
  * Some assets were transferred.
1779
1762
  **/
1780
- | { name: 'Transferred'; data: { assetId: StagingXcmV4Location; from: AccountId32; to: AccountId32; amount: bigint } }
1763
+ | { name: 'Transferred'; data: { assetId: StagingXcmV5Location; from: AccountId32; to: AccountId32; amount: bigint } }
1781
1764
  /**
1782
1765
  * Some assets were destroyed.
1783
1766
  **/
1784
- | { name: 'Burned'; data: { assetId: StagingXcmV4Location; owner: AccountId32; balance: bigint } }
1767
+ | { name: 'Burned'; data: { assetId: StagingXcmV5Location; owner: AccountId32; balance: bigint } }
1785
1768
  /**
1786
1769
  * The management team changed.
1787
1770
  **/
1788
1771
  | {
1789
1772
  name: 'TeamChanged';
1790
- data: { assetId: StagingXcmV4Location; issuer: AccountId32; admin: AccountId32; freezer: AccountId32 };
1773
+ data: { assetId: StagingXcmV5Location; issuer: AccountId32; admin: AccountId32; freezer: AccountId32 };
1791
1774
  }
1792
1775
  /**
1793
1776
  * The owner changed.
1794
1777
  **/
1795
- | { name: 'OwnerChanged'; data: { assetId: StagingXcmV4Location; owner: AccountId32 } }
1778
+ | { name: 'OwnerChanged'; data: { assetId: StagingXcmV5Location; owner: AccountId32 } }
1796
1779
  /**
1797
1780
  * Some account `who` was frozen.
1798
1781
  **/
1799
- | { name: 'Frozen'; data: { assetId: StagingXcmV4Location; who: AccountId32 } }
1782
+ | { name: 'Frozen'; data: { assetId: StagingXcmV5Location; who: AccountId32 } }
1800
1783
  /**
1801
1784
  * Some account `who` was thawed.
1802
1785
  **/
1803
- | { name: 'Thawed'; data: { assetId: StagingXcmV4Location; who: AccountId32 } }
1786
+ | { name: 'Thawed'; data: { assetId: StagingXcmV5Location; who: AccountId32 } }
1804
1787
  /**
1805
1788
  * Some asset `asset_id` was frozen.
1806
1789
  **/
1807
- | { name: 'AssetFrozen'; data: { assetId: StagingXcmV4Location } }
1790
+ | { name: 'AssetFrozen'; data: { assetId: StagingXcmV5Location } }
1808
1791
  /**
1809
1792
  * Some asset `asset_id` was thawed.
1810
1793
  **/
1811
- | { name: 'AssetThawed'; data: { assetId: StagingXcmV4Location } }
1794
+ | { name: 'AssetThawed'; data: { assetId: StagingXcmV5Location } }
1812
1795
  /**
1813
1796
  * Accounts were destroyed for given asset.
1814
1797
  **/
1815
1798
  | {
1816
1799
  name: 'AccountsDestroyed';
1817
- data: { assetId: StagingXcmV4Location; accountsDestroyed: number; accountsRemaining: number };
1800
+ data: { assetId: StagingXcmV5Location; accountsDestroyed: number; accountsRemaining: number };
1818
1801
  }
1819
1802
  /**
1820
1803
  * Approvals were destroyed for given asset.
1821
1804
  **/
1822
1805
  | {
1823
1806
  name: 'ApprovalsDestroyed';
1824
- data: { assetId: StagingXcmV4Location; approvalsDestroyed: number; approvalsRemaining: number };
1807
+ data: { assetId: StagingXcmV5Location; approvalsDestroyed: number; approvalsRemaining: number };
1825
1808
  }
1826
1809
  /**
1827
1810
  * An asset class is in the process of being destroyed.
1828
1811
  **/
1829
- | { name: 'DestructionStarted'; data: { assetId: StagingXcmV4Location } }
1812
+ | { name: 'DestructionStarted'; data: { assetId: StagingXcmV5Location } }
1830
1813
  /**
1831
1814
  * An asset class was destroyed.
1832
1815
  **/
1833
- | { name: 'Destroyed'; data: { assetId: StagingXcmV4Location } }
1816
+ | { name: 'Destroyed'; data: { assetId: StagingXcmV5Location } }
1834
1817
  /**
1835
1818
  * Some asset class was force-created.
1836
1819
  **/
1837
- | { name: 'ForceCreated'; data: { assetId: StagingXcmV4Location; owner: AccountId32 } }
1820
+ | { name: 'ForceCreated'; data: { assetId: StagingXcmV5Location; owner: AccountId32 } }
1838
1821
  /**
1839
1822
  * New metadata has been set for an asset.
1840
1823
  **/
1841
1824
  | {
1842
1825
  name: 'MetadataSet';
1843
- data: { assetId: StagingXcmV4Location; name: Bytes; symbol: Bytes; decimals: number; isFrozen: boolean };
1826
+ data: { assetId: StagingXcmV5Location; name: Bytes; symbol: Bytes; decimals: number; isFrozen: boolean };
1844
1827
  }
1845
1828
  /**
1846
1829
  * Metadata has been cleared for an asset.
1847
1830
  **/
1848
- | { name: 'MetadataCleared'; data: { assetId: StagingXcmV4Location } }
1831
+ | { name: 'MetadataCleared'; data: { assetId: StagingXcmV5Location } }
1849
1832
  /**
1850
1833
  * (Additional) funds have been approved for transfer to a destination account.
1851
1834
  **/
1852
1835
  | {
1853
1836
  name: 'ApprovedTransfer';
1854
- data: { assetId: StagingXcmV4Location; source: AccountId32; delegate: AccountId32; amount: bigint };
1837
+ data: { assetId: StagingXcmV5Location; source: AccountId32; delegate: AccountId32; amount: bigint };
1855
1838
  }
1856
1839
  /**
1857
1840
  * An approval for account `delegate` was cancelled by `owner`.
1858
1841
  **/
1859
- | { name: 'ApprovalCancelled'; data: { assetId: StagingXcmV4Location; owner: AccountId32; delegate: AccountId32 } }
1842
+ | { name: 'ApprovalCancelled'; data: { assetId: StagingXcmV5Location; owner: AccountId32; delegate: AccountId32 } }
1860
1843
  /**
1861
1844
  * An `amount` was transferred in its entirety from `owner` to `destination` by
1862
1845
  * the approved `delegate`.
@@ -1864,7 +1847,7 @@ export type PalletAssetsEvent002 =
1864
1847
  | {
1865
1848
  name: 'TransferredApproved';
1866
1849
  data: {
1867
- assetId: StagingXcmV4Location;
1850
+ assetId: StagingXcmV5Location;
1868
1851
  owner: AccountId32;
1869
1852
  delegate: AccountId32;
1870
1853
  destination: AccountId32;
@@ -1874,27 +1857,27 @@ export type PalletAssetsEvent002 =
1874
1857
  /**
1875
1858
  * An asset has had its attributes changed by the `Force` origin.
1876
1859
  **/
1877
- | { name: 'AssetStatusChanged'; data: { assetId: StagingXcmV4Location } }
1860
+ | { name: 'AssetStatusChanged'; data: { assetId: StagingXcmV5Location } }
1878
1861
  /**
1879
1862
  * The min_balance of an asset has been updated by the asset owner.
1880
1863
  **/
1881
- | { name: 'AssetMinBalanceChanged'; data: { assetId: StagingXcmV4Location; newMinBalance: bigint } }
1864
+ | { name: 'AssetMinBalanceChanged'; data: { assetId: StagingXcmV5Location; newMinBalance: bigint } }
1882
1865
  /**
1883
1866
  * Some account `who` was created with a deposit from `depositor`.
1884
1867
  **/
1885
- | { name: 'Touched'; data: { assetId: StagingXcmV4Location; who: AccountId32; depositor: AccountId32 } }
1868
+ | { name: 'Touched'; data: { assetId: StagingXcmV5Location; who: AccountId32; depositor: AccountId32 } }
1886
1869
  /**
1887
1870
  * Some account `who` was blocked.
1888
1871
  **/
1889
- | { name: 'Blocked'; data: { assetId: StagingXcmV4Location; who: AccountId32 } }
1872
+ | { name: 'Blocked'; data: { assetId: StagingXcmV5Location; who: AccountId32 } }
1890
1873
  /**
1891
1874
  * Some assets were deposited (e.g. for transaction fees).
1892
1875
  **/
1893
- | { name: 'Deposited'; data: { assetId: StagingXcmV4Location; who: AccountId32; amount: bigint } }
1876
+ | { name: 'Deposited'; data: { assetId: StagingXcmV5Location; who: AccountId32; amount: bigint } }
1894
1877
  /**
1895
1878
  * Some assets were withdrawn from the account (e.g. for transaction fees).
1896
1879
  **/
1897
- | { name: 'Withdrawn'; data: { assetId: StagingXcmV4Location; who: AccountId32; amount: bigint } };
1880
+ | { name: 'Withdrawn'; data: { assetId: StagingXcmV5Location; who: AccountId32; amount: bigint } };
1898
1881
 
1899
1882
  /**
1900
1883
  * The `Event` enum of this pallet
@@ -1931,7 +1914,7 @@ export type PalletAssetConversionEvent =
1931
1914
  * The pool id associated with the pool. Note that the order of the assets may not be
1932
1915
  * the same as the order specified in the create pool extrinsic.
1933
1916
  **/
1934
- poolId: [StagingXcmV4Location, StagingXcmV4Location];
1917
+ poolId: [StagingXcmV5Location, StagingXcmV5Location];
1935
1918
 
1936
1919
  /**
1937
1920
  * The account ID of the pool.
@@ -1964,7 +1947,7 @@ export type PalletAssetConversionEvent =
1964
1947
  /**
1965
1948
  * The pool id of the pool that the liquidity was added to.
1966
1949
  **/
1967
- poolId: [StagingXcmV4Location, StagingXcmV4Location];
1950
+ poolId: [StagingXcmV5Location, StagingXcmV5Location];
1968
1951
 
1969
1952
  /**
1970
1953
  * The amount of the first asset that was added to the pool.
@@ -2006,7 +1989,7 @@ export type PalletAssetConversionEvent =
2006
1989
  /**
2007
1990
  * The pool id that the liquidity was removed from.
2008
1991
  **/
2009
- poolId: [StagingXcmV4Location, StagingXcmV4Location];
1992
+ poolId: [StagingXcmV5Location, StagingXcmV5Location];
2010
1993
 
2011
1994
  /**
2012
1995
  * The amount of the first asset that was removed from the pool.
@@ -2065,7 +2048,7 @@ export type PalletAssetConversionEvent =
2065
2048
  * The route of asset IDs with amounts that the swap went through.
2066
2049
  * E.g. (A, amount_in) -> (Dot, amount_out) -> (B, amount_out)
2067
2050
  **/
2068
- path: Array<[StagingXcmV4Location, bigint]>;
2051
+ path: Array<[StagingXcmV5Location, bigint]>;
2069
2052
  };
2070
2053
  }
2071
2054
  /**
@@ -2088,7 +2071,7 @@ export type PalletAssetConversionEvent =
2088
2071
  * The route of asset IDs with amounts that the swap went through.
2089
2072
  * E.g. (A, amount_in) -> (Dot, amount_out) -> (B, amount_out)
2090
2073
  **/
2091
- path: Array<[StagingXcmV4Location, bigint]>;
2074
+ path: Array<[StagingXcmV5Location, bigint]>;
2092
2075
  };
2093
2076
  }
2094
2077
  /**
@@ -2100,7 +2083,7 @@ export type PalletAssetConversionEvent =
2100
2083
  /**
2101
2084
  * The ID of the pool.
2102
2085
  **/
2103
- poolId: [StagingXcmV4Location, StagingXcmV4Location];
2086
+ poolId: [StagingXcmV5Location, StagingXcmV5Location];
2104
2087
 
2105
2088
  /**
2106
2089
  * The account initiating the touch.
@@ -2120,8 +2103,8 @@ export type PalletAssetsFreezerEvent =
2120
2103
  * The `Event` enum of this pallet
2121
2104
  **/
2122
2105
  export type PalletAssetsFreezerEvent002 =
2123
- | { name: 'Frozen'; data: { who: AccountId32; assetId: StagingXcmV4Location; amount: bigint } }
2124
- | { name: 'Thawed'; data: { who: AccountId32; assetId: StagingXcmV4Location; amount: bigint } };
2106
+ | { name: 'Frozen'; data: { who: AccountId32; assetId: StagingXcmV5Location; amount: bigint } }
2107
+ | { name: 'Thawed'; data: { who: AccountId32; assetId: StagingXcmV5Location; amount: bigint } };
2125
2108
 
2126
2109
  /**
2127
2110
  * The `Event` enum of this pallet
@@ -2339,7 +2322,7 @@ export type PalletAssetConversionOpsEvent =
2339
2322
  /**
2340
2323
  * Pool's ID.
2341
2324
  **/
2342
- poolId: [StagingXcmV4Location, StagingXcmV4Location];
2325
+ poolId: [StagingXcmV5Location, StagingXcmV5Location];
2343
2326
 
2344
2327
  /**
2345
2328
  * Pool's prior account ID.
@@ -3528,23 +3511,25 @@ export type PalletXcmQueryStatus =
3528
3511
  | { type: 'Ready'; value: { response: XcmVersionedResponse; at: number } };
3529
3512
 
3530
3513
  export type XcmVersionedResponse =
3531
- | { type: 'V2'; value: XcmV2Response }
3532
3514
  | { type: 'V3'; value: XcmV3Response }
3533
- | { type: 'V4'; value: StagingXcmV4Response };
3515
+ | { type: 'V4'; value: StagingXcmV4Response }
3516
+ | { type: 'V5'; value: StagingXcmV5Response };
3534
3517
 
3535
- export type XcmV2Response =
3518
+ export type XcmV3Response =
3536
3519
  | { type: 'Null' }
3537
- | { type: 'Assets'; value: XcmV2MultiassetMultiAssets }
3538
- | { type: 'ExecutionResult'; value?: [number, XcmV2TraitsError] | undefined }
3539
- | { type: 'Version'; value: number };
3520
+ | { type: 'Assets'; value: XcmV3MultiassetMultiAssets }
3521
+ | { type: 'ExecutionResult'; value?: [number, XcmV3TraitsError] | undefined }
3522
+ | { type: 'Version'; value: number }
3523
+ | { type: 'PalletsInfo'; value: Array<XcmV3PalletInfo> }
3524
+ | { type: 'DispatchResult'; value: XcmV3MaybeErrorCode };
3540
3525
 
3541
- export type XcmV2TraitsError =
3526
+ export type XcmV3TraitsError =
3542
3527
  | { type: 'Overflow' }
3543
3528
  | { type: 'Unimplemented' }
3544
3529
  | { type: 'UntrustedReserveLocation' }
3545
3530
  | { type: 'UntrustedTeleportLocation' }
3546
- | { type: 'MultiLocationFull' }
3547
- | { type: 'MultiLocationNotInvertible' }
3531
+ | { type: 'LocationFull' }
3532
+ | { type: 'LocationNotInvertible' }
3548
3533
  | { type: 'BadOrigin' }
3549
3534
  | { type: 'InvalidLocation' }
3550
3535
  | { type: 'AssetNotFound' }
@@ -3561,20 +3546,43 @@ export type XcmV2TraitsError =
3561
3546
  | { type: 'NotHoldingFees' }
3562
3547
  | { type: 'TooExpensive' }
3563
3548
  | { type: 'Trap'; value: bigint }
3549
+ | { type: 'ExpectationFalse' }
3550
+ | { type: 'PalletNotFound' }
3551
+ | { type: 'NameMismatch' }
3552
+ | { type: 'VersionIncompatible' }
3553
+ | { type: 'HoldingWouldOverflow' }
3554
+ | { type: 'ExportError' }
3555
+ | { type: 'ReanchorFailed' }
3556
+ | { type: 'NoDeal' }
3557
+ | { type: 'FeesNotMet' }
3558
+ | { type: 'LockError' }
3559
+ | { type: 'NoPermission' }
3560
+ | { type: 'Unanchored' }
3561
+ | { type: 'NotDepositable' }
3564
3562
  | { type: 'UnhandledXcmVersion' }
3565
- | { type: 'WeightLimitReached'; value: bigint }
3563
+ | { type: 'WeightLimitReached'; value: SpWeightsWeightV2Weight }
3566
3564
  | { type: 'Barrier' }
3567
- | { type: 'WeightNotComputable' };
3565
+ | { type: 'WeightNotComputable' }
3566
+ | { type: 'ExceedsStackLimit' };
3568
3567
 
3569
- export type XcmV3Response =
3568
+ export type XcmV3PalletInfo = {
3569
+ index: number;
3570
+ name: Bytes;
3571
+ moduleName: Bytes;
3572
+ major: number;
3573
+ minor: number;
3574
+ patch: number;
3575
+ };
3576
+
3577
+ export type StagingXcmV4Response =
3570
3578
  | { type: 'Null' }
3571
- | { type: 'Assets'; value: XcmV3MultiassetMultiAssets }
3579
+ | { type: 'Assets'; value: StagingXcmV4AssetAssets }
3572
3580
  | { type: 'ExecutionResult'; value?: [number, XcmV3TraitsError] | undefined }
3573
3581
  | { type: 'Version'; value: number }
3574
- | { type: 'PalletsInfo'; value: Array<XcmV3PalletInfo> }
3582
+ | { type: 'PalletsInfo'; value: Array<StagingXcmV4PalletInfo> }
3575
3583
  | { type: 'DispatchResult'; value: XcmV3MaybeErrorCode };
3576
3584
 
3577
- export type XcmV3PalletInfo = {
3585
+ export type StagingXcmV4PalletInfo = {
3578
3586
  index: number;
3579
3587
  name: Bytes;
3580
3588
  moduleName: Bytes;
@@ -3591,7 +3599,8 @@ export type PalletXcmVersionMigrationStage =
3591
3599
 
3592
3600
  export type XcmVersionedAssetId =
3593
3601
  | { type: 'V3'; value: XcmV3MultiassetAssetId }
3594
- | { type: 'V4'; value: StagingXcmV4AssetAssetId };
3602
+ | { type: 'V4'; value: StagingXcmV4AssetAssetId }
3603
+ | { type: 'V5'; value: StagingXcmV5AssetAssetId };
3595
3604
 
3596
3605
  export type PalletXcmRemoteLockedFungibleRecord = {
3597
3606
  amount: bigint;
@@ -3694,7 +3703,7 @@ export type PalletXcmCall =
3694
3703
  * - `location`: The destination that is being described.
3695
3704
  * - `xcm_version`: The latest version of XCM that `location` supports.
3696
3705
  **/
3697
- | { name: 'ForceXcmVersion'; params: { location: StagingXcmV4Location; version: number } }
3706
+ | { name: 'ForceXcmVersion'; params: { location: StagingXcmV5Location; version: number } }
3698
3707
  /**
3699
3708
  * Set a safe XCM version (the version that XCM should be encoded with if the most recent
3700
3709
  * version a destination can accept is unknown).
@@ -4006,7 +4015,7 @@ export type PalletXcmCallLike =
4006
4015
  * - `location`: The destination that is being described.
4007
4016
  * - `xcm_version`: The latest version of XCM that `location` supports.
4008
4017
  **/
4009
- | { name: 'ForceXcmVersion'; params: { location: StagingXcmV4Location; version: number } }
4018
+ | { name: 'ForceXcmVersion'; params: { location: StagingXcmV5Location; version: number } }
4010
4019
  /**
4011
4020
  * Set a safe XCM version (the version that XCM should be encoded with if the most recent
4012
4021
  * version a destination can accept is unknown).
@@ -4228,93 +4237,9 @@ export type PalletXcmCallLike =
4228
4237
  };
4229
4238
 
4230
4239
  export type XcmVersionedXcm =
4231
- | { type: 'V2'; value: XcmV2Xcm }
4232
4240
  | { type: 'V3'; value: XcmV3Xcm }
4233
- | { type: 'V4'; value: StagingXcmV4Xcm };
4234
-
4235
- export type XcmV2Xcm = Array<XcmV2Instruction>;
4236
-
4237
- export type XcmV2Instruction =
4238
- | { type: 'WithdrawAsset'; value: XcmV2MultiassetMultiAssets }
4239
- | { type: 'ReserveAssetDeposited'; value: XcmV2MultiassetMultiAssets }
4240
- | { type: 'ReceiveTeleportedAsset'; value: XcmV2MultiassetMultiAssets }
4241
- | { type: 'QueryResponse'; value: { queryId: bigint; response: XcmV2Response; maxWeight: bigint } }
4242
- | {
4243
- type: 'TransferAsset';
4244
- value: { assets: XcmV2MultiassetMultiAssets; beneficiary: XcmV2MultilocationMultiLocation };
4245
- }
4246
- | {
4247
- type: 'TransferReserveAsset';
4248
- value: { assets: XcmV2MultiassetMultiAssets; dest: XcmV2MultilocationMultiLocation; xcm: XcmV2Xcm };
4249
- }
4250
- | { type: 'Transact'; value: { originType: XcmV2OriginKind; requireWeightAtMost: bigint; call: XcmDoubleEncoded } }
4251
- | { type: 'HrmpNewChannelOpenRequest'; value: { sender: number; maxMessageSize: number; maxCapacity: number } }
4252
- | { type: 'HrmpChannelAccepted'; value: { recipient: number } }
4253
- | { type: 'HrmpChannelClosing'; value: { initiator: number; sender: number; recipient: number } }
4254
- | { type: 'ClearOrigin' }
4255
- | { type: 'DescendOrigin'; value: XcmV2MultilocationJunctions }
4256
- | {
4257
- type: 'ReportError';
4258
- value: { queryId: bigint; dest: XcmV2MultilocationMultiLocation; maxResponseWeight: bigint };
4259
- }
4260
- | {
4261
- type: 'DepositAsset';
4262
- value: {
4263
- assets: XcmV2MultiassetMultiAssetFilter;
4264
- maxAssets: number;
4265
- beneficiary: XcmV2MultilocationMultiLocation;
4266
- };
4267
- }
4268
- | {
4269
- type: 'DepositReserveAsset';
4270
- value: {
4271
- assets: XcmV2MultiassetMultiAssetFilter;
4272
- maxAssets: number;
4273
- dest: XcmV2MultilocationMultiLocation;
4274
- xcm: XcmV2Xcm;
4275
- };
4276
- }
4277
- | { type: 'ExchangeAsset'; value: { give: XcmV2MultiassetMultiAssetFilter; receive: XcmV2MultiassetMultiAssets } }
4278
- | {
4279
- type: 'InitiateReserveWithdraw';
4280
- value: { assets: XcmV2MultiassetMultiAssetFilter; reserve: XcmV2MultilocationMultiLocation; xcm: XcmV2Xcm };
4281
- }
4282
- | {
4283
- type: 'InitiateTeleport';
4284
- value: { assets: XcmV2MultiassetMultiAssetFilter; dest: XcmV2MultilocationMultiLocation; xcm: XcmV2Xcm };
4285
- }
4286
- | {
4287
- type: 'QueryHolding';
4288
- value: {
4289
- queryId: bigint;
4290
- dest: XcmV2MultilocationMultiLocation;
4291
- assets: XcmV2MultiassetMultiAssetFilter;
4292
- maxResponseWeight: bigint;
4293
- };
4294
- }
4295
- | { type: 'BuyExecution'; value: { fees: XcmV2MultiassetMultiAsset; weightLimit: XcmV2WeightLimit } }
4296
- | { type: 'RefundSurplus' }
4297
- | { type: 'SetErrorHandler'; value: XcmV2Xcm }
4298
- | { type: 'SetAppendix'; value: XcmV2Xcm }
4299
- | { type: 'ClearError' }
4300
- | { type: 'ClaimAsset'; value: { assets: XcmV2MultiassetMultiAssets; ticket: XcmV2MultilocationMultiLocation } }
4301
- | { type: 'Trap'; value: bigint }
4302
- | { type: 'SubscribeVersion'; value: { queryId: bigint; maxResponseWeight: bigint } }
4303
- | { type: 'UnsubscribeVersion' };
4304
-
4305
- export type XcmV2OriginKind = 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';
4306
-
4307
- export type XcmV2MultiassetMultiAssetFilter =
4308
- | { type: 'Definite'; value: XcmV2MultiassetMultiAssets }
4309
- | { type: 'Wild'; value: XcmV2MultiassetWildMultiAsset };
4310
-
4311
- export type XcmV2MultiassetWildMultiAsset =
4312
- | { type: 'All' }
4313
- | { type: 'AllOf'; value: { id: XcmV2MultiassetAssetId; fun: XcmV2MultiassetWildFungibility } };
4314
-
4315
- export type XcmV2MultiassetWildFungibility = 'Fungible' | 'NonFungible';
4316
-
4317
- export type XcmV2WeightLimit = { type: 'Unlimited' } | { type: 'Limited'; value: bigint };
4241
+ | { type: 'V4'; value: StagingXcmV4Xcm }
4242
+ | { type: 'V5'; value: StagingXcmV5Xcm };
4318
4243
 
4319
4244
  export type XcmV3Xcm = Array<XcmV3Instruction>;
4320
4245
 
@@ -4437,6 +4362,117 @@ export type XcmV3MultiassetWildMultiAsset =
4437
4362
 
4438
4363
  export type XcmV3MultiassetWildFungibility = 'Fungible' | 'NonFungible';
4439
4364
 
4365
+ export type StagingXcmV4Xcm = Array<StagingXcmV4Instruction>;
4366
+
4367
+ export type StagingXcmV4Instruction =
4368
+ | { type: 'WithdrawAsset'; value: StagingXcmV4AssetAssets }
4369
+ | { type: 'ReserveAssetDeposited'; value: StagingXcmV4AssetAssets }
4370
+ | { type: 'ReceiveTeleportedAsset'; value: StagingXcmV4AssetAssets }
4371
+ | {
4372
+ type: 'QueryResponse';
4373
+ value: {
4374
+ queryId: bigint;
4375
+ response: StagingXcmV4Response;
4376
+ maxWeight: SpWeightsWeightV2Weight;
4377
+ querier?: StagingXcmV4Location | undefined;
4378
+ };
4379
+ }
4380
+ | { type: 'TransferAsset'; value: { assets: StagingXcmV4AssetAssets; beneficiary: StagingXcmV4Location } }
4381
+ | {
4382
+ type: 'TransferReserveAsset';
4383
+ value: { assets: StagingXcmV4AssetAssets; dest: StagingXcmV4Location; xcm: StagingXcmV4Xcm };
4384
+ }
4385
+ | {
4386
+ type: 'Transact';
4387
+ value: { originKind: XcmV3OriginKind; requireWeightAtMost: SpWeightsWeightV2Weight; call: XcmDoubleEncoded };
4388
+ }
4389
+ | { type: 'HrmpNewChannelOpenRequest'; value: { sender: number; maxMessageSize: number; maxCapacity: number } }
4390
+ | { type: 'HrmpChannelAccepted'; value: { recipient: number } }
4391
+ | { type: 'HrmpChannelClosing'; value: { initiator: number; sender: number; recipient: number } }
4392
+ | { type: 'ClearOrigin' }
4393
+ | { type: 'DescendOrigin'; value: StagingXcmV4Junctions }
4394
+ | { type: 'ReportError'; value: StagingXcmV4QueryResponseInfo }
4395
+ | { type: 'DepositAsset'; value: { assets: StagingXcmV4AssetAssetFilter; beneficiary: StagingXcmV4Location } }
4396
+ | {
4397
+ type: 'DepositReserveAsset';
4398
+ value: { assets: StagingXcmV4AssetAssetFilter; dest: StagingXcmV4Location; xcm: StagingXcmV4Xcm };
4399
+ }
4400
+ | {
4401
+ type: 'ExchangeAsset';
4402
+ value: { give: StagingXcmV4AssetAssetFilter; want: StagingXcmV4AssetAssets; maximal: boolean };
4403
+ }
4404
+ | {
4405
+ type: 'InitiateReserveWithdraw';
4406
+ value: { assets: StagingXcmV4AssetAssetFilter; reserve: StagingXcmV4Location; xcm: StagingXcmV4Xcm };
4407
+ }
4408
+ | {
4409
+ type: 'InitiateTeleport';
4410
+ value: { assets: StagingXcmV4AssetAssetFilter; dest: StagingXcmV4Location; xcm: StagingXcmV4Xcm };
4411
+ }
4412
+ | {
4413
+ type: 'ReportHolding';
4414
+ value: { responseInfo: StagingXcmV4QueryResponseInfo; assets: StagingXcmV4AssetAssetFilter };
4415
+ }
4416
+ | { type: 'BuyExecution'; value: { fees: StagingXcmV4Asset; weightLimit: XcmV3WeightLimit } }
4417
+ | { type: 'RefundSurplus' }
4418
+ | { type: 'SetErrorHandler'; value: StagingXcmV4Xcm }
4419
+ | { type: 'SetAppendix'; value: StagingXcmV4Xcm }
4420
+ | { type: 'ClearError' }
4421
+ | { type: 'ClaimAsset'; value: { assets: StagingXcmV4AssetAssets; ticket: StagingXcmV4Location } }
4422
+ | { type: 'Trap'; value: bigint }
4423
+ | { type: 'SubscribeVersion'; value: { queryId: bigint; maxResponseWeight: SpWeightsWeightV2Weight } }
4424
+ | { type: 'UnsubscribeVersion' }
4425
+ | { type: 'BurnAsset'; value: StagingXcmV4AssetAssets }
4426
+ | { type: 'ExpectAsset'; value: StagingXcmV4AssetAssets }
4427
+ | { type: 'ExpectOrigin'; value?: StagingXcmV4Location | undefined }
4428
+ | { type: 'ExpectError'; value?: [number, XcmV3TraitsError] | undefined }
4429
+ | { type: 'ExpectTransactStatus'; value: XcmV3MaybeErrorCode }
4430
+ | { type: 'QueryPallet'; value: { moduleName: Bytes; responseInfo: StagingXcmV4QueryResponseInfo } }
4431
+ | {
4432
+ type: 'ExpectPallet';
4433
+ value: { index: number; name: Bytes; moduleName: Bytes; crateMajor: number; minCrateMinor: number };
4434
+ }
4435
+ | { type: 'ReportTransactStatus'; value: StagingXcmV4QueryResponseInfo }
4436
+ | { type: 'ClearTransactStatus' }
4437
+ | { type: 'UniversalOrigin'; value: StagingXcmV4Junction }
4438
+ | {
4439
+ type: 'ExportMessage';
4440
+ value: { network: StagingXcmV4JunctionNetworkId; destination: StagingXcmV4Junctions; xcm: StagingXcmV4Xcm };
4441
+ }
4442
+ | { type: 'LockAsset'; value: { asset: StagingXcmV4Asset; unlocker: StagingXcmV4Location } }
4443
+ | { type: 'UnlockAsset'; value: { asset: StagingXcmV4Asset; target: StagingXcmV4Location } }
4444
+ | { type: 'NoteUnlockable'; value: { asset: StagingXcmV4Asset; owner: StagingXcmV4Location } }
4445
+ | { type: 'RequestUnlock'; value: { asset: StagingXcmV4Asset; locker: StagingXcmV4Location } }
4446
+ | { type: 'SetFeesMode'; value: { jitWithdraw: boolean } }
4447
+ | { type: 'SetTopic'; value: FixedBytes<32> }
4448
+ | { type: 'ClearTopic' }
4449
+ | { type: 'AliasOrigin'; value: StagingXcmV4Location }
4450
+ | {
4451
+ type: 'UnpaidExecution';
4452
+ value: { weightLimit: XcmV3WeightLimit; checkOrigin?: StagingXcmV4Location | undefined };
4453
+ };
4454
+
4455
+ export type StagingXcmV4QueryResponseInfo = {
4456
+ destination: StagingXcmV4Location;
4457
+ queryId: bigint;
4458
+ maxWeight: SpWeightsWeightV2Weight;
4459
+ };
4460
+
4461
+ export type StagingXcmV4AssetAssetFilter =
4462
+ | { type: 'Definite'; value: StagingXcmV4AssetAssets }
4463
+ | { type: 'Wild'; value: StagingXcmV4AssetWildAsset };
4464
+
4465
+ export type StagingXcmV4AssetWildAsset =
4466
+ | { type: 'All' }
4467
+ | { type: 'AllOf'; value: { id: StagingXcmV4AssetAssetId; fun: StagingXcmV4AssetWildFungibility } }
4468
+ | { type: 'AllCounted'; value: number }
4469
+ | {
4470
+ type: 'AllOfCounted';
4471
+ value: { id: StagingXcmV4AssetAssetId; fun: StagingXcmV4AssetWildFungibility; count: number };
4472
+ };
4473
+
4474
+ export type StagingXcmV4AssetWildFungibility = 'Fungible' | 'NonFungible';
4475
+
4440
4476
  export type StagingXcmExecutorAssetTransferTransferType =
4441
4477
  | { type: 'Teleport' }
4442
4478
  | { type: 'LocalReserve' }
@@ -9112,7 +9148,7 @@ export type PalletAssetsCall002 =
9112
9148
  *
9113
9149
  * Weight: `O(1)`
9114
9150
  **/
9115
- | { name: 'Create'; params: { id: StagingXcmV4Location; admin: MultiAddress; minBalance: bigint } }
9151
+ | { name: 'Create'; params: { id: StagingXcmV5Location; admin: MultiAddress; minBalance: bigint } }
9116
9152
  /**
9117
9153
  * Issue a new class of fungible assets from a privileged origin.
9118
9154
  *
@@ -9136,7 +9172,7 @@ export type PalletAssetsCall002 =
9136
9172
  **/
9137
9173
  | {
9138
9174
  name: 'ForceCreate';
9139
- params: { id: StagingXcmV4Location; owner: MultiAddress; isSufficient: boolean; minBalance: bigint };
9175
+ params: { id: StagingXcmV5Location; owner: MultiAddress; isSufficient: boolean; minBalance: bigint };
9140
9176
  }
9141
9177
  /**
9142
9178
  * Start the process of destroying a fungible asset class.
@@ -9149,7 +9185,7 @@ export type PalletAssetsCall002 =
9149
9185
  * - `id`: The identifier of the asset to be destroyed. This must identify an existing
9150
9186
  * asset.
9151
9187
  **/
9152
- | { name: 'StartDestroy'; params: { id: StagingXcmV4Location } }
9188
+ | { name: 'StartDestroy'; params: { id: StagingXcmV5Location } }
9153
9189
  /**
9154
9190
  * Destroy all accounts associated with a given asset.
9155
9191
  *
@@ -9164,7 +9200,7 @@ export type PalletAssetsCall002 =
9164
9200
  *
9165
9201
  * Each call emits the `Event::DestroyedAccounts` event.
9166
9202
  **/
9167
- | { name: 'DestroyAccounts'; params: { id: StagingXcmV4Location } }
9203
+ | { name: 'DestroyAccounts'; params: { id: StagingXcmV5Location } }
9168
9204
  /**
9169
9205
  * Destroy all approvals associated with a given asset up to the max (T::RemoveItemsLimit).
9170
9206
  *
@@ -9179,7 +9215,7 @@ export type PalletAssetsCall002 =
9179
9215
  *
9180
9216
  * Each call emits the `Event::DestroyedApprovals` event.
9181
9217
  **/
9182
- | { name: 'DestroyApprovals'; params: { id: StagingXcmV4Location } }
9218
+ | { name: 'DestroyApprovals'; params: { id: StagingXcmV5Location } }
9183
9219
  /**
9184
9220
  * Complete destroying asset and unreserve currency.
9185
9221
  *
@@ -9192,7 +9228,7 @@ export type PalletAssetsCall002 =
9192
9228
  *
9193
9229
  * Each successful call emits the `Event::Destroyed` event.
9194
9230
  **/
9195
- | { name: 'FinishDestroy'; params: { id: StagingXcmV4Location } }
9231
+ | { name: 'FinishDestroy'; params: { id: StagingXcmV5Location } }
9196
9232
  /**
9197
9233
  * Mint assets of a particular class.
9198
9234
  *
@@ -9207,7 +9243,7 @@ export type PalletAssetsCall002 =
9207
9243
  * Weight: `O(1)`
9208
9244
  * Modes: Pre-existing balance of `beneficiary`; Account pre-existence of `beneficiary`.
9209
9245
  **/
9210
- | { name: 'Mint'; params: { id: StagingXcmV4Location; beneficiary: MultiAddress; amount: bigint } }
9246
+ | { name: 'Mint'; params: { id: StagingXcmV5Location; beneficiary: MultiAddress; amount: bigint } }
9211
9247
  /**
9212
9248
  * Reduce the balance of `who` by as much as possible up to `amount` assets of `id`.
9213
9249
  *
@@ -9225,7 +9261,7 @@ export type PalletAssetsCall002 =
9225
9261
  * Weight: `O(1)`
9226
9262
  * Modes: Post-existence of `who`; Pre & post Zombie-status of `who`.
9227
9263
  **/
9228
- | { name: 'Burn'; params: { id: StagingXcmV4Location; who: MultiAddress; amount: bigint } }
9264
+ | { name: 'Burn'; params: { id: StagingXcmV5Location; who: MultiAddress; amount: bigint } }
9229
9265
  /**
9230
9266
  * Move some assets from the sender account to another.
9231
9267
  *
@@ -9246,7 +9282,7 @@ export type PalletAssetsCall002 =
9246
9282
  * Modes: Pre-existence of `target`; Post-existence of sender; Account pre-existence of
9247
9283
  * `target`.
9248
9284
  **/
9249
- | { name: 'Transfer'; params: { id: StagingXcmV4Location; target: MultiAddress; amount: bigint } }
9285
+ | { name: 'Transfer'; params: { id: StagingXcmV5Location; target: MultiAddress; amount: bigint } }
9250
9286
  /**
9251
9287
  * Move some assets from the sender account to another, keeping the sender account alive.
9252
9288
  *
@@ -9267,7 +9303,7 @@ export type PalletAssetsCall002 =
9267
9303
  * Modes: Pre-existence of `target`; Post-existence of sender; Account pre-existence of
9268
9304
  * `target`.
9269
9305
  **/
9270
- | { name: 'TransferKeepAlive'; params: { id: StagingXcmV4Location; target: MultiAddress; amount: bigint } }
9306
+ | { name: 'TransferKeepAlive'; params: { id: StagingXcmV5Location; target: MultiAddress; amount: bigint } }
9271
9307
  /**
9272
9308
  * Move some assets from one account to another.
9273
9309
  *
@@ -9291,7 +9327,7 @@ export type PalletAssetsCall002 =
9291
9327
  **/
9292
9328
  | {
9293
9329
  name: 'ForceTransfer';
9294
- params: { id: StagingXcmV4Location; source: MultiAddress; dest: MultiAddress; amount: bigint };
9330
+ params: { id: StagingXcmV5Location; source: MultiAddress; dest: MultiAddress; amount: bigint };
9295
9331
  }
9296
9332
  /**
9297
9333
  * Disallow further unprivileged transfers of an asset `id` from an account `who`. `who`
@@ -9307,7 +9343,7 @@ export type PalletAssetsCall002 =
9307
9343
  *
9308
9344
  * Weight: `O(1)`
9309
9345
  **/
9310
- | { name: 'Freeze'; params: { id: StagingXcmV4Location; who: MultiAddress } }
9346
+ | { name: 'Freeze'; params: { id: StagingXcmV5Location; who: MultiAddress } }
9311
9347
  /**
9312
9348
  * Allow unprivileged transfers to and from an account again.
9313
9349
  *
@@ -9320,7 +9356,7 @@ export type PalletAssetsCall002 =
9320
9356
  *
9321
9357
  * Weight: `O(1)`
9322
9358
  **/
9323
- | { name: 'Thaw'; params: { id: StagingXcmV4Location; who: MultiAddress } }
9359
+ | { name: 'Thaw'; params: { id: StagingXcmV5Location; who: MultiAddress } }
9324
9360
  /**
9325
9361
  * Disallow further unprivileged transfers for the asset class.
9326
9362
  *
@@ -9332,7 +9368,7 @@ export type PalletAssetsCall002 =
9332
9368
  *
9333
9369
  * Weight: `O(1)`
9334
9370
  **/
9335
- | { name: 'FreezeAsset'; params: { id: StagingXcmV4Location } }
9371
+ | { name: 'FreezeAsset'; params: { id: StagingXcmV5Location } }
9336
9372
  /**
9337
9373
  * Allow unprivileged transfers for the asset again.
9338
9374
  *
@@ -9344,7 +9380,7 @@ export type PalletAssetsCall002 =
9344
9380
  *
9345
9381
  * Weight: `O(1)`
9346
9382
  **/
9347
- | { name: 'ThawAsset'; params: { id: StagingXcmV4Location } }
9383
+ | { name: 'ThawAsset'; params: { id: StagingXcmV5Location } }
9348
9384
  /**
9349
9385
  * Change the Owner of an asset.
9350
9386
  *
@@ -9357,7 +9393,7 @@ export type PalletAssetsCall002 =
9357
9393
  *
9358
9394
  * Weight: `O(1)`
9359
9395
  **/
9360
- | { name: 'TransferOwnership'; params: { id: StagingXcmV4Location; owner: MultiAddress } }
9396
+ | { name: 'TransferOwnership'; params: { id: StagingXcmV5Location; owner: MultiAddress } }
9361
9397
  /**
9362
9398
  * Change the Issuer, Admin and Freezer of an asset.
9363
9399
  *
@@ -9374,7 +9410,7 @@ export type PalletAssetsCall002 =
9374
9410
  **/
9375
9411
  | {
9376
9412
  name: 'SetTeam';
9377
- params: { id: StagingXcmV4Location; issuer: MultiAddress; admin: MultiAddress; freezer: MultiAddress };
9413
+ params: { id: StagingXcmV5Location; issuer: MultiAddress; admin: MultiAddress; freezer: MultiAddress };
9378
9414
  }
9379
9415
  /**
9380
9416
  * Set the metadata for an asset.
@@ -9394,7 +9430,7 @@ export type PalletAssetsCall002 =
9394
9430
  *
9395
9431
  * Weight: `O(1)`
9396
9432
  **/
9397
- | { name: 'SetMetadata'; params: { id: StagingXcmV4Location; name: Bytes; symbol: Bytes; decimals: number } }
9433
+ | { name: 'SetMetadata'; params: { id: StagingXcmV5Location; name: Bytes; symbol: Bytes; decimals: number } }
9398
9434
  /**
9399
9435
  * Clear the metadata for an asset.
9400
9436
  *
@@ -9408,7 +9444,7 @@ export type PalletAssetsCall002 =
9408
9444
  *
9409
9445
  * Weight: `O(1)`
9410
9446
  **/
9411
- | { name: 'ClearMetadata'; params: { id: StagingXcmV4Location } }
9447
+ | { name: 'ClearMetadata'; params: { id: StagingXcmV5Location } }
9412
9448
  /**
9413
9449
  * Force the metadata for an asset to some value.
9414
9450
  *
@@ -9427,7 +9463,7 @@ export type PalletAssetsCall002 =
9427
9463
  **/
9428
9464
  | {
9429
9465
  name: 'ForceSetMetadata';
9430
- params: { id: StagingXcmV4Location; name: Bytes; symbol: Bytes; decimals: number; isFrozen: boolean };
9466
+ params: { id: StagingXcmV5Location; name: Bytes; symbol: Bytes; decimals: number; isFrozen: boolean };
9431
9467
  }
9432
9468
  /**
9433
9469
  * Clear the metadata for an asset.
@@ -9442,7 +9478,7 @@ export type PalletAssetsCall002 =
9442
9478
  *
9443
9479
  * Weight: `O(1)`
9444
9480
  **/
9445
- | { name: 'ForceClearMetadata'; params: { id: StagingXcmV4Location } }
9481
+ | { name: 'ForceClearMetadata'; params: { id: StagingXcmV5Location } }
9446
9482
  /**
9447
9483
  * Alter the attributes of a given asset.
9448
9484
  *
@@ -9470,7 +9506,7 @@ export type PalletAssetsCall002 =
9470
9506
  | {
9471
9507
  name: 'ForceAssetStatus';
9472
9508
  params: {
9473
- id: StagingXcmV4Location;
9509
+ id: StagingXcmV5Location;
9474
9510
  owner: MultiAddress;
9475
9511
  issuer: MultiAddress;
9476
9512
  admin: MultiAddress;
@@ -9502,7 +9538,7 @@ export type PalletAssetsCall002 =
9502
9538
  *
9503
9539
  * Weight: `O(1)`
9504
9540
  **/
9505
- | { name: 'ApproveTransfer'; params: { id: StagingXcmV4Location; delegate: MultiAddress; amount: bigint } }
9541
+ | { name: 'ApproveTransfer'; params: { id: StagingXcmV5Location; delegate: MultiAddress; amount: bigint } }
9506
9542
  /**
9507
9543
  * Cancel all of some asset approved for delegated transfer by a third-party account.
9508
9544
  *
@@ -9518,7 +9554,7 @@ export type PalletAssetsCall002 =
9518
9554
  *
9519
9555
  * Weight: `O(1)`
9520
9556
  **/
9521
- | { name: 'CancelApproval'; params: { id: StagingXcmV4Location; delegate: MultiAddress } }
9557
+ | { name: 'CancelApproval'; params: { id: StagingXcmV5Location; delegate: MultiAddress } }
9522
9558
  /**
9523
9559
  * Cancel all of some asset approved for delegated transfer by a third-party account.
9524
9560
  *
@@ -9534,7 +9570,7 @@ export type PalletAssetsCall002 =
9534
9570
  *
9535
9571
  * Weight: `O(1)`
9536
9572
  **/
9537
- | { name: 'ForceCancelApproval'; params: { id: StagingXcmV4Location; owner: MultiAddress; delegate: MultiAddress } }
9573
+ | { name: 'ForceCancelApproval'; params: { id: StagingXcmV5Location; owner: MultiAddress; delegate: MultiAddress } }
9538
9574
  /**
9539
9575
  * Transfer some asset balance from a previously delegated account to some third-party
9540
9576
  * account.
@@ -9557,7 +9593,7 @@ export type PalletAssetsCall002 =
9557
9593
  **/
9558
9594
  | {
9559
9595
  name: 'TransferApproved';
9560
- params: { id: StagingXcmV4Location; owner: MultiAddress; destination: MultiAddress; amount: bigint };
9596
+ params: { id: StagingXcmV5Location; owner: MultiAddress; destination: MultiAddress; amount: bigint };
9561
9597
  }
9562
9598
  /**
9563
9599
  * Create an asset account for non-provider assets.
@@ -9570,7 +9606,7 @@ export type PalletAssetsCall002 =
9570
9606
  *
9571
9607
  * Emits `Touched` event when successful.
9572
9608
  **/
9573
- | { name: 'Touch'; params: { id: StagingXcmV4Location } }
9609
+ | { name: 'Touch'; params: { id: StagingXcmV5Location } }
9574
9610
  /**
9575
9611
  * Return the deposit (if any) of an asset account or a consumer reference (if any) of an
9576
9612
  * account.
@@ -9583,7 +9619,7 @@ export type PalletAssetsCall002 =
9583
9619
  *
9584
9620
  * Emits `Refunded` event when successful.
9585
9621
  **/
9586
- | { name: 'Refund'; params: { id: StagingXcmV4Location; allowBurn: boolean } }
9622
+ | { name: 'Refund'; params: { id: StagingXcmV5Location; allowBurn: boolean } }
9587
9623
  /**
9588
9624
  * Sets the minimum balance of an asset.
9589
9625
  *
@@ -9598,7 +9634,7 @@ export type PalletAssetsCall002 =
9598
9634
  *
9599
9635
  * Emits `AssetMinBalanceChanged` event when successful.
9600
9636
  **/
9601
- | { name: 'SetMinBalance'; params: { id: StagingXcmV4Location; minBalance: bigint } }
9637
+ | { name: 'SetMinBalance'; params: { id: StagingXcmV5Location; minBalance: bigint } }
9602
9638
  /**
9603
9639
  * Create an asset account for `who`.
9604
9640
  *
@@ -9611,7 +9647,7 @@ export type PalletAssetsCall002 =
9611
9647
  *
9612
9648
  * Emits `Touched` event when successful.
9613
9649
  **/
9614
- | { name: 'TouchOther'; params: { id: StagingXcmV4Location; who: MultiAddress } }
9650
+ | { name: 'TouchOther'; params: { id: StagingXcmV5Location; who: MultiAddress } }
9615
9651
  /**
9616
9652
  * Return the deposit (if any) of a target asset account. Useful if you are the depositor.
9617
9653
  *
@@ -9624,7 +9660,7 @@ export type PalletAssetsCall002 =
9624
9660
  *
9625
9661
  * Emits `Refunded` event when successful.
9626
9662
  **/
9627
- | { name: 'RefundOther'; params: { id: StagingXcmV4Location; who: MultiAddress } }
9663
+ | { name: 'RefundOther'; params: { id: StagingXcmV5Location; who: MultiAddress } }
9628
9664
  /**
9629
9665
  * Disallow further unprivileged transfers of an asset `id` to and from an account `who`.
9630
9666
  *
@@ -9637,7 +9673,7 @@ export type PalletAssetsCall002 =
9637
9673
  *
9638
9674
  * Weight: `O(1)`
9639
9675
  **/
9640
- | { name: 'Block'; params: { id: StagingXcmV4Location; who: MultiAddress } }
9676
+ | { name: 'Block'; params: { id: StagingXcmV5Location; who: MultiAddress } }
9641
9677
  /**
9642
9678
  * Transfer the entire transferable balance from the caller asset account.
9643
9679
  *
@@ -9656,7 +9692,7 @@ export type PalletAssetsCall002 =
9656
9692
  * (false), or transfer everything except at least the minimum balance, which will
9657
9693
  * guarantee to keep the sender asset account alive (true).
9658
9694
  **/
9659
- | { name: 'TransferAll'; params: { id: StagingXcmV4Location; dest: MultiAddress; keepAlive: boolean } };
9695
+ | { name: 'TransferAll'; params: { id: StagingXcmV5Location; dest: MultiAddress; keepAlive: boolean } };
9660
9696
 
9661
9697
  export type PalletAssetsCallLike002 =
9662
9698
  /**
@@ -9680,7 +9716,7 @@ export type PalletAssetsCallLike002 =
9680
9716
  *
9681
9717
  * Weight: `O(1)`
9682
9718
  **/
9683
- | { name: 'Create'; params: { id: StagingXcmV4Location; admin: MultiAddressLike; minBalance: bigint } }
9719
+ | { name: 'Create'; params: { id: StagingXcmV5Location; admin: MultiAddressLike; minBalance: bigint } }
9684
9720
  /**
9685
9721
  * Issue a new class of fungible assets from a privileged origin.
9686
9722
  *
@@ -9704,7 +9740,7 @@ export type PalletAssetsCallLike002 =
9704
9740
  **/
9705
9741
  | {
9706
9742
  name: 'ForceCreate';
9707
- params: { id: StagingXcmV4Location; owner: MultiAddressLike; isSufficient: boolean; minBalance: bigint };
9743
+ params: { id: StagingXcmV5Location; owner: MultiAddressLike; isSufficient: boolean; minBalance: bigint };
9708
9744
  }
9709
9745
  /**
9710
9746
  * Start the process of destroying a fungible asset class.
@@ -9717,7 +9753,7 @@ export type PalletAssetsCallLike002 =
9717
9753
  * - `id`: The identifier of the asset to be destroyed. This must identify an existing
9718
9754
  * asset.
9719
9755
  **/
9720
- | { name: 'StartDestroy'; params: { id: StagingXcmV4Location } }
9756
+ | { name: 'StartDestroy'; params: { id: StagingXcmV5Location } }
9721
9757
  /**
9722
9758
  * Destroy all accounts associated with a given asset.
9723
9759
  *
@@ -9732,7 +9768,7 @@ export type PalletAssetsCallLike002 =
9732
9768
  *
9733
9769
  * Each call emits the `Event::DestroyedAccounts` event.
9734
9770
  **/
9735
- | { name: 'DestroyAccounts'; params: { id: StagingXcmV4Location } }
9771
+ | { name: 'DestroyAccounts'; params: { id: StagingXcmV5Location } }
9736
9772
  /**
9737
9773
  * Destroy all approvals associated with a given asset up to the max (T::RemoveItemsLimit).
9738
9774
  *
@@ -9747,7 +9783,7 @@ export type PalletAssetsCallLike002 =
9747
9783
  *
9748
9784
  * Each call emits the `Event::DestroyedApprovals` event.
9749
9785
  **/
9750
- | { name: 'DestroyApprovals'; params: { id: StagingXcmV4Location } }
9786
+ | { name: 'DestroyApprovals'; params: { id: StagingXcmV5Location } }
9751
9787
  /**
9752
9788
  * Complete destroying asset and unreserve currency.
9753
9789
  *
@@ -9760,7 +9796,7 @@ export type PalletAssetsCallLike002 =
9760
9796
  *
9761
9797
  * Each successful call emits the `Event::Destroyed` event.
9762
9798
  **/
9763
- | { name: 'FinishDestroy'; params: { id: StagingXcmV4Location } }
9799
+ | { name: 'FinishDestroy'; params: { id: StagingXcmV5Location } }
9764
9800
  /**
9765
9801
  * Mint assets of a particular class.
9766
9802
  *
@@ -9775,7 +9811,7 @@ export type PalletAssetsCallLike002 =
9775
9811
  * Weight: `O(1)`
9776
9812
  * Modes: Pre-existing balance of `beneficiary`; Account pre-existence of `beneficiary`.
9777
9813
  **/
9778
- | { name: 'Mint'; params: { id: StagingXcmV4Location; beneficiary: MultiAddressLike; amount: bigint } }
9814
+ | { name: 'Mint'; params: { id: StagingXcmV5Location; beneficiary: MultiAddressLike; amount: bigint } }
9779
9815
  /**
9780
9816
  * Reduce the balance of `who` by as much as possible up to `amount` assets of `id`.
9781
9817
  *
@@ -9793,7 +9829,7 @@ export type PalletAssetsCallLike002 =
9793
9829
  * Weight: `O(1)`
9794
9830
  * Modes: Post-existence of `who`; Pre & post Zombie-status of `who`.
9795
9831
  **/
9796
- | { name: 'Burn'; params: { id: StagingXcmV4Location; who: MultiAddressLike; amount: bigint } }
9832
+ | { name: 'Burn'; params: { id: StagingXcmV5Location; who: MultiAddressLike; amount: bigint } }
9797
9833
  /**
9798
9834
  * Move some assets from the sender account to another.
9799
9835
  *
@@ -9814,7 +9850,7 @@ export type PalletAssetsCallLike002 =
9814
9850
  * Modes: Pre-existence of `target`; Post-existence of sender; Account pre-existence of
9815
9851
  * `target`.
9816
9852
  **/
9817
- | { name: 'Transfer'; params: { id: StagingXcmV4Location; target: MultiAddressLike; amount: bigint } }
9853
+ | { name: 'Transfer'; params: { id: StagingXcmV5Location; target: MultiAddressLike; amount: bigint } }
9818
9854
  /**
9819
9855
  * Move some assets from the sender account to another, keeping the sender account alive.
9820
9856
  *
@@ -9835,7 +9871,7 @@ export type PalletAssetsCallLike002 =
9835
9871
  * Modes: Pre-existence of `target`; Post-existence of sender; Account pre-existence of
9836
9872
  * `target`.
9837
9873
  **/
9838
- | { name: 'TransferKeepAlive'; params: { id: StagingXcmV4Location; target: MultiAddressLike; amount: bigint } }
9874
+ | { name: 'TransferKeepAlive'; params: { id: StagingXcmV5Location; target: MultiAddressLike; amount: bigint } }
9839
9875
  /**
9840
9876
  * Move some assets from one account to another.
9841
9877
  *
@@ -9859,7 +9895,7 @@ export type PalletAssetsCallLike002 =
9859
9895
  **/
9860
9896
  | {
9861
9897
  name: 'ForceTransfer';
9862
- params: { id: StagingXcmV4Location; source: MultiAddressLike; dest: MultiAddressLike; amount: bigint };
9898
+ params: { id: StagingXcmV5Location; source: MultiAddressLike; dest: MultiAddressLike; amount: bigint };
9863
9899
  }
9864
9900
  /**
9865
9901
  * Disallow further unprivileged transfers of an asset `id` from an account `who`. `who`
@@ -9875,7 +9911,7 @@ export type PalletAssetsCallLike002 =
9875
9911
  *
9876
9912
  * Weight: `O(1)`
9877
9913
  **/
9878
- | { name: 'Freeze'; params: { id: StagingXcmV4Location; who: MultiAddressLike } }
9914
+ | { name: 'Freeze'; params: { id: StagingXcmV5Location; who: MultiAddressLike } }
9879
9915
  /**
9880
9916
  * Allow unprivileged transfers to and from an account again.
9881
9917
  *
@@ -9888,7 +9924,7 @@ export type PalletAssetsCallLike002 =
9888
9924
  *
9889
9925
  * Weight: `O(1)`
9890
9926
  **/
9891
- | { name: 'Thaw'; params: { id: StagingXcmV4Location; who: MultiAddressLike } }
9927
+ | { name: 'Thaw'; params: { id: StagingXcmV5Location; who: MultiAddressLike } }
9892
9928
  /**
9893
9929
  * Disallow further unprivileged transfers for the asset class.
9894
9930
  *
@@ -9900,7 +9936,7 @@ export type PalletAssetsCallLike002 =
9900
9936
  *
9901
9937
  * Weight: `O(1)`
9902
9938
  **/
9903
- | { name: 'FreezeAsset'; params: { id: StagingXcmV4Location } }
9939
+ | { name: 'FreezeAsset'; params: { id: StagingXcmV5Location } }
9904
9940
  /**
9905
9941
  * Allow unprivileged transfers for the asset again.
9906
9942
  *
@@ -9912,7 +9948,7 @@ export type PalletAssetsCallLike002 =
9912
9948
  *
9913
9949
  * Weight: `O(1)`
9914
9950
  **/
9915
- | { name: 'ThawAsset'; params: { id: StagingXcmV4Location } }
9951
+ | { name: 'ThawAsset'; params: { id: StagingXcmV5Location } }
9916
9952
  /**
9917
9953
  * Change the Owner of an asset.
9918
9954
  *
@@ -9925,7 +9961,7 @@ export type PalletAssetsCallLike002 =
9925
9961
  *
9926
9962
  * Weight: `O(1)`
9927
9963
  **/
9928
- | { name: 'TransferOwnership'; params: { id: StagingXcmV4Location; owner: MultiAddressLike } }
9964
+ | { name: 'TransferOwnership'; params: { id: StagingXcmV5Location; owner: MultiAddressLike } }
9929
9965
  /**
9930
9966
  * Change the Issuer, Admin and Freezer of an asset.
9931
9967
  *
@@ -9943,7 +9979,7 @@ export type PalletAssetsCallLike002 =
9943
9979
  | {
9944
9980
  name: 'SetTeam';
9945
9981
  params: {
9946
- id: StagingXcmV4Location;
9982
+ id: StagingXcmV5Location;
9947
9983
  issuer: MultiAddressLike;
9948
9984
  admin: MultiAddressLike;
9949
9985
  freezer: MultiAddressLike;
@@ -9967,7 +10003,7 @@ export type PalletAssetsCallLike002 =
9967
10003
  *
9968
10004
  * Weight: `O(1)`
9969
10005
  **/
9970
- | { name: 'SetMetadata'; params: { id: StagingXcmV4Location; name: BytesLike; symbol: BytesLike; decimals: number } }
10006
+ | { name: 'SetMetadata'; params: { id: StagingXcmV5Location; name: BytesLike; symbol: BytesLike; decimals: number } }
9971
10007
  /**
9972
10008
  * Clear the metadata for an asset.
9973
10009
  *
@@ -9981,7 +10017,7 @@ export type PalletAssetsCallLike002 =
9981
10017
  *
9982
10018
  * Weight: `O(1)`
9983
10019
  **/
9984
- | { name: 'ClearMetadata'; params: { id: StagingXcmV4Location } }
10020
+ | { name: 'ClearMetadata'; params: { id: StagingXcmV5Location } }
9985
10021
  /**
9986
10022
  * Force the metadata for an asset to some value.
9987
10023
  *
@@ -10000,7 +10036,7 @@ export type PalletAssetsCallLike002 =
10000
10036
  **/
10001
10037
  | {
10002
10038
  name: 'ForceSetMetadata';
10003
- params: { id: StagingXcmV4Location; name: BytesLike; symbol: BytesLike; decimals: number; isFrozen: boolean };
10039
+ params: { id: StagingXcmV5Location; name: BytesLike; symbol: BytesLike; decimals: number; isFrozen: boolean };
10004
10040
  }
10005
10041
  /**
10006
10042
  * Clear the metadata for an asset.
@@ -10015,7 +10051,7 @@ export type PalletAssetsCallLike002 =
10015
10051
  *
10016
10052
  * Weight: `O(1)`
10017
10053
  **/
10018
- | { name: 'ForceClearMetadata'; params: { id: StagingXcmV4Location } }
10054
+ | { name: 'ForceClearMetadata'; params: { id: StagingXcmV5Location } }
10019
10055
  /**
10020
10056
  * Alter the attributes of a given asset.
10021
10057
  *
@@ -10043,7 +10079,7 @@ export type PalletAssetsCallLike002 =
10043
10079
  | {
10044
10080
  name: 'ForceAssetStatus';
10045
10081
  params: {
10046
- id: StagingXcmV4Location;
10082
+ id: StagingXcmV5Location;
10047
10083
  owner: MultiAddressLike;
10048
10084
  issuer: MultiAddressLike;
10049
10085
  admin: MultiAddressLike;
@@ -10075,7 +10111,7 @@ export type PalletAssetsCallLike002 =
10075
10111
  *
10076
10112
  * Weight: `O(1)`
10077
10113
  **/
10078
- | { name: 'ApproveTransfer'; params: { id: StagingXcmV4Location; delegate: MultiAddressLike; amount: bigint } }
10114
+ | { name: 'ApproveTransfer'; params: { id: StagingXcmV5Location; delegate: MultiAddressLike; amount: bigint } }
10079
10115
  /**
10080
10116
  * Cancel all of some asset approved for delegated transfer by a third-party account.
10081
10117
  *
@@ -10091,7 +10127,7 @@ export type PalletAssetsCallLike002 =
10091
10127
  *
10092
10128
  * Weight: `O(1)`
10093
10129
  **/
10094
- | { name: 'CancelApproval'; params: { id: StagingXcmV4Location; delegate: MultiAddressLike } }
10130
+ | { name: 'CancelApproval'; params: { id: StagingXcmV5Location; delegate: MultiAddressLike } }
10095
10131
  /**
10096
10132
  * Cancel all of some asset approved for delegated transfer by a third-party account.
10097
10133
  *
@@ -10109,7 +10145,7 @@ export type PalletAssetsCallLike002 =
10109
10145
  **/
10110
10146
  | {
10111
10147
  name: 'ForceCancelApproval';
10112
- params: { id: StagingXcmV4Location; owner: MultiAddressLike; delegate: MultiAddressLike };
10148
+ params: { id: StagingXcmV5Location; owner: MultiAddressLike; delegate: MultiAddressLike };
10113
10149
  }
10114
10150
  /**
10115
10151
  * Transfer some asset balance from a previously delegated account to some third-party
@@ -10133,7 +10169,7 @@ export type PalletAssetsCallLike002 =
10133
10169
  **/
10134
10170
  | {
10135
10171
  name: 'TransferApproved';
10136
- params: { id: StagingXcmV4Location; owner: MultiAddressLike; destination: MultiAddressLike; amount: bigint };
10172
+ params: { id: StagingXcmV5Location; owner: MultiAddressLike; destination: MultiAddressLike; amount: bigint };
10137
10173
  }
10138
10174
  /**
10139
10175
  * Create an asset account for non-provider assets.
@@ -10146,7 +10182,7 @@ export type PalletAssetsCallLike002 =
10146
10182
  *
10147
10183
  * Emits `Touched` event when successful.
10148
10184
  **/
10149
- | { name: 'Touch'; params: { id: StagingXcmV4Location } }
10185
+ | { name: 'Touch'; params: { id: StagingXcmV5Location } }
10150
10186
  /**
10151
10187
  * Return the deposit (if any) of an asset account or a consumer reference (if any) of an
10152
10188
  * account.
@@ -10159,7 +10195,7 @@ export type PalletAssetsCallLike002 =
10159
10195
  *
10160
10196
  * Emits `Refunded` event when successful.
10161
10197
  **/
10162
- | { name: 'Refund'; params: { id: StagingXcmV4Location; allowBurn: boolean } }
10198
+ | { name: 'Refund'; params: { id: StagingXcmV5Location; allowBurn: boolean } }
10163
10199
  /**
10164
10200
  * Sets the minimum balance of an asset.
10165
10201
  *
@@ -10174,7 +10210,7 @@ export type PalletAssetsCallLike002 =
10174
10210
  *
10175
10211
  * Emits `AssetMinBalanceChanged` event when successful.
10176
10212
  **/
10177
- | { name: 'SetMinBalance'; params: { id: StagingXcmV4Location; minBalance: bigint } }
10213
+ | { name: 'SetMinBalance'; params: { id: StagingXcmV5Location; minBalance: bigint } }
10178
10214
  /**
10179
10215
  * Create an asset account for `who`.
10180
10216
  *
@@ -10187,7 +10223,7 @@ export type PalletAssetsCallLike002 =
10187
10223
  *
10188
10224
  * Emits `Touched` event when successful.
10189
10225
  **/
10190
- | { name: 'TouchOther'; params: { id: StagingXcmV4Location; who: MultiAddressLike } }
10226
+ | { name: 'TouchOther'; params: { id: StagingXcmV5Location; who: MultiAddressLike } }
10191
10227
  /**
10192
10228
  * Return the deposit (if any) of a target asset account. Useful if you are the depositor.
10193
10229
  *
@@ -10200,7 +10236,7 @@ export type PalletAssetsCallLike002 =
10200
10236
  *
10201
10237
  * Emits `Refunded` event when successful.
10202
10238
  **/
10203
- | { name: 'RefundOther'; params: { id: StagingXcmV4Location; who: MultiAddressLike } }
10239
+ | { name: 'RefundOther'; params: { id: StagingXcmV5Location; who: MultiAddressLike } }
10204
10240
  /**
10205
10241
  * Disallow further unprivileged transfers of an asset `id` to and from an account `who`.
10206
10242
  *
@@ -10213,7 +10249,7 @@ export type PalletAssetsCallLike002 =
10213
10249
  *
10214
10250
  * Weight: `O(1)`
10215
10251
  **/
10216
- | { name: 'Block'; params: { id: StagingXcmV4Location; who: MultiAddressLike } }
10252
+ | { name: 'Block'; params: { id: StagingXcmV5Location; who: MultiAddressLike } }
10217
10253
  /**
10218
10254
  * Transfer the entire transferable balance from the caller asset account.
10219
10255
  *
@@ -10232,7 +10268,7 @@ export type PalletAssetsCallLike002 =
10232
10268
  * (false), or transfer everything except at least the minimum balance, which will
10233
10269
  * guarantee to keep the sender asset account alive (true).
10234
10270
  **/
10235
- | { name: 'TransferAll'; params: { id: StagingXcmV4Location; dest: MultiAddressLike; keepAlive: boolean } };
10271
+ | { name: 'TransferAll'; params: { id: StagingXcmV5Location; dest: MultiAddressLike; keepAlive: boolean } };
10236
10272
 
10237
10273
  /**
10238
10274
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -11465,7 +11501,7 @@ export type PalletAssetConversionCall =
11465
11501
  *
11466
11502
  * Once a pool is created, someone may [`Pallet::add_liquidity`] to it.
11467
11503
  **/
11468
- | { name: 'CreatePool'; params: { asset1: StagingXcmV4Location; asset2: StagingXcmV4Location } }
11504
+ | { name: 'CreatePool'; params: { asset1: StagingXcmV5Location; asset2: StagingXcmV5Location } }
11469
11505
  /**
11470
11506
  * Provide liquidity into the pool of `asset1` and `asset2`.
11471
11507
  * NOTE: an optimal amount of asset1 and asset2 will be calculated and
@@ -11485,8 +11521,8 @@ export type PalletAssetConversionCall =
11485
11521
  | {
11486
11522
  name: 'AddLiquidity';
11487
11523
  params: {
11488
- asset1: StagingXcmV4Location;
11489
- asset2: StagingXcmV4Location;
11524
+ asset1: StagingXcmV5Location;
11525
+ asset2: StagingXcmV5Location;
11490
11526
  amount1Desired: bigint;
11491
11527
  amount2Desired: bigint;
11492
11528
  amount1Min: bigint;
@@ -11502,8 +11538,8 @@ export type PalletAssetConversionCall =
11502
11538
  | {
11503
11539
  name: 'RemoveLiquidity';
11504
11540
  params: {
11505
- asset1: StagingXcmV4Location;
11506
- asset2: StagingXcmV4Location;
11541
+ asset1: StagingXcmV5Location;
11542
+ asset2: StagingXcmV5Location;
11507
11543
  lpTokenBurn: bigint;
11508
11544
  amount1MinReceive: bigint;
11509
11545
  amount2MinReceive: bigint;
@@ -11521,7 +11557,7 @@ export type PalletAssetConversionCall =
11521
11557
  | {
11522
11558
  name: 'SwapExactTokensForTokens';
11523
11559
  params: {
11524
- path: Array<StagingXcmV4Location>;
11560
+ path: Array<StagingXcmV5Location>;
11525
11561
  amountIn: bigint;
11526
11562
  amountOutMin: bigint;
11527
11563
  sendTo: AccountId32;
@@ -11539,7 +11575,7 @@ export type PalletAssetConversionCall =
11539
11575
  | {
11540
11576
  name: 'SwapTokensForExactTokens';
11541
11577
  params: {
11542
- path: Array<StagingXcmV4Location>;
11578
+ path: Array<StagingXcmV5Location>;
11543
11579
  amountOut: bigint;
11544
11580
  amountInMax: bigint;
11545
11581
  sendTo: AccountId32;
@@ -11559,7 +11595,7 @@ export type PalletAssetConversionCall =
11559
11595
  *
11560
11596
  * Emits `Touched` event when successful.
11561
11597
  **/
11562
- | { name: 'Touch'; params: { asset1: StagingXcmV4Location; asset2: StagingXcmV4Location } };
11598
+ | { name: 'Touch'; params: { asset1: StagingXcmV5Location; asset2: StagingXcmV5Location } };
11563
11599
 
11564
11600
  export type PalletAssetConversionCallLike =
11565
11601
  /**
@@ -11568,7 +11604,7 @@ export type PalletAssetConversionCallLike =
11568
11604
  *
11569
11605
  * Once a pool is created, someone may [`Pallet::add_liquidity`] to it.
11570
11606
  **/
11571
- | { name: 'CreatePool'; params: { asset1: StagingXcmV4Location; asset2: StagingXcmV4Location } }
11607
+ | { name: 'CreatePool'; params: { asset1: StagingXcmV5Location; asset2: StagingXcmV5Location } }
11572
11608
  /**
11573
11609
  * Provide liquidity into the pool of `asset1` and `asset2`.
11574
11610
  * NOTE: an optimal amount of asset1 and asset2 will be calculated and
@@ -11588,8 +11624,8 @@ export type PalletAssetConversionCallLike =
11588
11624
  | {
11589
11625
  name: 'AddLiquidity';
11590
11626
  params: {
11591
- asset1: StagingXcmV4Location;
11592
- asset2: StagingXcmV4Location;
11627
+ asset1: StagingXcmV5Location;
11628
+ asset2: StagingXcmV5Location;
11593
11629
  amount1Desired: bigint;
11594
11630
  amount2Desired: bigint;
11595
11631
  amount1Min: bigint;
@@ -11605,8 +11641,8 @@ export type PalletAssetConversionCallLike =
11605
11641
  | {
11606
11642
  name: 'RemoveLiquidity';
11607
11643
  params: {
11608
- asset1: StagingXcmV4Location;
11609
- asset2: StagingXcmV4Location;
11644
+ asset1: StagingXcmV5Location;
11645
+ asset2: StagingXcmV5Location;
11610
11646
  lpTokenBurn: bigint;
11611
11647
  amount1MinReceive: bigint;
11612
11648
  amount2MinReceive: bigint;
@@ -11624,7 +11660,7 @@ export type PalletAssetConversionCallLike =
11624
11660
  | {
11625
11661
  name: 'SwapExactTokensForTokens';
11626
11662
  params: {
11627
- path: Array<StagingXcmV4Location>;
11663
+ path: Array<StagingXcmV5Location>;
11628
11664
  amountIn: bigint;
11629
11665
  amountOutMin: bigint;
11630
11666
  sendTo: AccountId32Like;
@@ -11642,7 +11678,7 @@ export type PalletAssetConversionCallLike =
11642
11678
  | {
11643
11679
  name: 'SwapTokensForExactTokens';
11644
11680
  params: {
11645
- path: Array<StagingXcmV4Location>;
11681
+ path: Array<StagingXcmV5Location>;
11646
11682
  amountOut: bigint;
11647
11683
  amountInMax: bigint;
11648
11684
  sendTo: AccountId32Like;
@@ -11662,7 +11698,7 @@ export type PalletAssetConversionCallLike =
11662
11698
  *
11663
11699
  * Emits `Touched` event when successful.
11664
11700
  **/
11665
- | { name: 'Touch'; params: { asset1: StagingXcmV4Location; asset2: StagingXcmV4Location } };
11701
+ | { name: 'Touch'; params: { asset1: StagingXcmV5Location; asset2: StagingXcmV5Location } };
11666
11702
 
11667
11703
  /**
11668
11704
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -12172,7 +12208,7 @@ export type PalletAssetConversionOpsCall =
12172
12208
  *
12173
12209
  * Must be signed.
12174
12210
  **/
12175
- { name: 'MigrateToNewAccount'; params: { asset1: StagingXcmV4Location; asset2: StagingXcmV4Location } };
12211
+ { name: 'MigrateToNewAccount'; params: { asset1: StagingXcmV5Location; asset2: StagingXcmV5Location } };
12176
12212
 
12177
12213
  export type PalletAssetConversionOpsCallLike =
12178
12214
  /**
@@ -12181,7 +12217,7 @@ export type PalletAssetConversionOpsCallLike =
12181
12217
  *
12182
12218
  * Must be signed.
12183
12219
  **/
12184
- { name: 'MigrateToNewAccount'; params: { asset1: StagingXcmV4Location; asset2: StagingXcmV4Location } };
12220
+ { name: 'MigrateToNewAccount'; params: { asset1: StagingXcmV5Location; asset2: StagingXcmV5Location } };
12185
12221
 
12186
12222
  export type AssetHubWestendRuntimeOriginCaller =
12187
12223
  | { type: 'System'; value: FrameSupportDispatchRawOrigin }
@@ -12195,8 +12231,8 @@ export type FrameSupportDispatchRawOrigin =
12195
12231
  | { type: 'None' };
12196
12232
 
12197
12233
  export type PalletXcmOrigin =
12198
- | { type: 'Xcm'; value: StagingXcmV4Location }
12199
- | { type: 'Response'; value: StagingXcmV4Location };
12234
+ | { type: 'Xcm'; value: StagingXcmV5Location }
12235
+ | { type: 'Response'; value: StagingXcmV5Location };
12200
12236
 
12201
12237
  export type CumulusPalletXcmOrigin =
12202
12238
  | { type: 'Relay' }
@@ -13189,7 +13225,7 @@ export type FrameSystemExtensionsCheckWeight = {};
13189
13225
 
13190
13226
  export type PalletAssetConversionTxPaymentChargeAssetTxPayment = {
13191
13227
  tip: bigint;
13192
- assetId?: StagingXcmV4Location | undefined;
13228
+ assetId?: StagingXcmV5Location | undefined;
13193
13229
  };
13194
13230
 
13195
13231
  export type CumulusPrimitivesStorageWeightReclaimStorageWeightReclaim = {};
@@ -13285,7 +13321,7 @@ export type SpRuntimeDispatchErrorWithPostInfo = {
13285
13321
  export type XcmRuntimeApisDryRunError = 'Unimplemented' | 'VersionedConversionFailed';
13286
13322
 
13287
13323
  export type XcmRuntimeApisDryRunXcmDryRunEffects = {
13288
- executionResult: StagingXcmV4TraitsOutcome;
13324
+ executionResult: StagingXcmV5TraitsOutcome;
13289
13325
  emittedEvents: Array<AssetHubWestendRuntimeRuntimeEvent>;
13290
13326
  forwardedXcms: Array<[XcmVersionedLocation, Array<XcmVersionedXcm>]>;
13291
13327
  };
@@ -13310,9 +13346,9 @@ export type PolkadotPrimitivesVstagingCoreSelector = number;
13310
13346
  export type PolkadotPrimitivesVstagingClaimQueueOffset = number;
13311
13347
 
13312
13348
  export type XcmVersionedAsset =
13313
- | { type: 'V2'; value: XcmV2MultiassetMultiAsset }
13314
13349
  | { type: 'V3'; value: XcmV3MultiassetMultiAsset }
13315
- | { type: 'V4'; value: StagingXcmV4Asset };
13350
+ | { type: 'V4'; value: StagingXcmV4Asset }
13351
+ | { type: 'V5'; value: StagingXcmV5Asset };
13316
13352
 
13317
13353
  export type XcmRuntimeApisTrustedQueryError = 'VersionedAssetConversionFailed' | 'VersionedLocationConversionFailed';
13318
13354
 
@@ -13353,7 +13389,7 @@ export type PalletRevivePrimitivesEthContractResult = {
13353
13389
  fee: bigint;
13354
13390
  gasRequired: SpWeightsWeightV2Weight;
13355
13391
  storageDeposit: bigint;
13356
- result: Result<Bytes, DispatchError>;
13392
+ result: Result<PalletRevivePrimitivesExecReturnValue, DispatchError>;
13357
13393
  };
13358
13394
 
13359
13395
  export type PalletRevivePrimitivesCodeUploadReturnValue = { codeHash: H256; deposit: bigint };