@dedot/chaintypes 0.30.0 → 0.32.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.
@@ -87,6 +87,9 @@ export type MoonbeamRuntimeRuntimeEvent =
87
87
  | { pallet: 'XcmTransactor'; palletEvent: PalletXcmTransactorEvent }
88
88
  | { pallet: 'EthereumXcm'; palletEvent: PalletEthereumXcmEvent }
89
89
  | { pallet: 'MessageQueue'; palletEvent: PalletMessageQueueEvent }
90
+ | { pallet: 'EvmForeignAssets'; palletEvent: PalletMoonbeamForeignAssetsEvent }
91
+ | { pallet: 'XcmWeightTrader'; palletEvent: PalletXcmWeightTraderEvent }
92
+ | { pallet: 'EmergencyParaXcm'; palletEvent: PalletEmergencyParaXcmEvent }
90
93
  | { pallet: 'Randomness'; palletEvent: PalletRandomnessEvent };
91
94
 
92
95
  /**
@@ -1305,6 +1308,9 @@ export type MoonbeamRuntimeRuntimeCall =
1305
1308
  | { pallet: 'XcmTransactor'; palletCall: PalletXcmTransactorCall }
1306
1309
  | { pallet: 'EthereumXcm'; palletCall: PalletEthereumXcmCall }
1307
1310
  | { pallet: 'MessageQueue'; palletCall: PalletMessageQueueCall }
1311
+ | { pallet: 'EvmForeignAssets'; palletCall: PalletMoonbeamForeignAssetsCall }
1312
+ | { pallet: 'XcmWeightTrader'; palletCall: PalletXcmWeightTraderCall }
1313
+ | { pallet: 'EmergencyParaXcm'; palletCall: PalletEmergencyParaXcmCall }
1308
1314
  | { pallet: 'Randomness'; palletCall: PalletRandomnessCall };
1309
1315
 
1310
1316
  export type MoonbeamRuntimeRuntimeCallLike =
@@ -1343,6 +1349,9 @@ export type MoonbeamRuntimeRuntimeCallLike =
1343
1349
  | { pallet: 'XcmTransactor'; palletCall: PalletXcmTransactorCallLike }
1344
1350
  | { pallet: 'EthereumXcm'; palletCall: PalletEthereumXcmCallLike }
1345
1351
  | { pallet: 'MessageQueue'; palletCall: PalletMessageQueueCallLike }
1352
+ | { pallet: 'EvmForeignAssets'; palletCall: PalletMoonbeamForeignAssetsCallLike }
1353
+ | { pallet: 'XcmWeightTrader'; palletCall: PalletXcmWeightTraderCallLike }
1354
+ | { pallet: 'EmergencyParaXcm'; palletCall: PalletEmergencyParaXcmCallLike }
1346
1355
  | { pallet: 'Randomness'; palletCall: PalletRandomnessCallLike };
1347
1356
 
1348
1357
  /**
@@ -3778,15 +3787,13 @@ export type PalletMultisigCallLike =
3778
3787
  /**
3779
3788
  * Contains a variant per dispatchable extrinsic that this pallet has.
3780
3789
  **/
3781
- export type PalletMoonbeamLazyMigrationsCall = {
3782
- name: 'ClearSuicidedStorage';
3783
- params: { addresses: Array<H160>; limit: number };
3784
- };
3790
+ export type PalletMoonbeamLazyMigrationsCall =
3791
+ | { name: 'ClearSuicidedStorage'; params: { addresses: Array<H160>; limit: number } }
3792
+ | { name: 'CreateContractMetadata'; params: { address: H160 } };
3785
3793
 
3786
- export type PalletMoonbeamLazyMigrationsCallLike = {
3787
- name: 'ClearSuicidedStorage';
3788
- params: { addresses: Array<H160>; limit: number };
3789
- };
3794
+ export type PalletMoonbeamLazyMigrationsCallLike =
3795
+ | { name: 'ClearSuicidedStorage'; params: { addresses: Array<H160>; limit: number } }
3796
+ | { name: 'CreateContractMetadata'; params: { address: H160 } };
3790
3797
 
3791
3798
  /**
3792
3799
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -7850,14 +7857,6 @@ export type PalletAssetManagerCall =
7850
7857
  isSufficient: boolean;
7851
7858
  };
7852
7859
  }
7853
- /**
7854
- * Change the amount of units we are charging per execution second
7855
- * for a given ForeignAssetType
7856
- **/
7857
- | {
7858
- name: 'SetAssetUnitsPerSecond';
7859
- params: { assetType: MoonbeamRuntimeXcmConfigAssetType; unitsPerSecond: bigint; numAssetsWeightHint: number };
7860
- }
7861
7860
  /**
7862
7861
  * Change the xcm type mapping for a given assetId
7863
7862
  * We also change this if the previous units per second where pointing at the old
@@ -7867,10 +7866,6 @@ export type PalletAssetManagerCall =
7867
7866
  name: 'ChangeExistingAssetType';
7868
7867
  params: { assetId: bigint; newAssetType: MoonbeamRuntimeXcmConfigAssetType; numAssetsWeightHint: number };
7869
7868
  }
7870
- | {
7871
- name: 'RemoveSupportedAsset';
7872
- params: { assetType: MoonbeamRuntimeXcmConfigAssetType; numAssetsWeightHint: number };
7873
- }
7874
7869
  /**
7875
7870
  * Remove a given assetId -> assetType association
7876
7871
  **/
@@ -7896,14 +7891,6 @@ export type PalletAssetManagerCallLike =
7896
7891
  isSufficient: boolean;
7897
7892
  };
7898
7893
  }
7899
- /**
7900
- * Change the amount of units we are charging per execution second
7901
- * for a given ForeignAssetType
7902
- **/
7903
- | {
7904
- name: 'SetAssetUnitsPerSecond';
7905
- params: { assetType: MoonbeamRuntimeXcmConfigAssetType; unitsPerSecond: bigint; numAssetsWeightHint: number };
7906
- }
7907
7894
  /**
7908
7895
  * Change the xcm type mapping for a given assetId
7909
7896
  * We also change this if the previous units per second where pointing at the old
@@ -7913,10 +7900,6 @@ export type PalletAssetManagerCallLike =
7913
7900
  name: 'ChangeExistingAssetType';
7914
7901
  params: { assetId: bigint; newAssetType: MoonbeamRuntimeXcmConfigAssetType; numAssetsWeightHint: number };
7915
7902
  }
7916
- | {
7917
- name: 'RemoveSupportedAsset';
7918
- params: { assetType: MoonbeamRuntimeXcmConfigAssetType; numAssetsWeightHint: number };
7919
- }
7920
7903
  /**
7921
7904
  * Remove a given assetId -> assetType association
7922
7905
  **/
@@ -8700,6 +8683,101 @@ export type CumulusPrimitivesCoreAggregateMessageOrigin =
8700
8683
  | { type: 'Parent' }
8701
8684
  | { type: 'Sibling'; value: PolkadotParachainPrimitivesPrimitivesId };
8702
8685
 
8686
+ /**
8687
+ * Contains a variant per dispatchable extrinsic that this pallet has.
8688
+ **/
8689
+ export type PalletMoonbeamForeignAssetsCall =
8690
+ /**
8691
+ * Create new asset with the ForeignAssetCreator
8692
+ **/
8693
+ | {
8694
+ name: 'CreateForeignAsset';
8695
+ params: { assetId: bigint; xcmLocation: StagingXcmV4Location; decimals: number; symbol: Bytes; name: Bytes };
8696
+ }
8697
+ /**
8698
+ * Change the xcm type mapping for a given assetId
8699
+ * We also change this if the previous units per second where pointing at the old
8700
+ * assetType
8701
+ **/
8702
+ | { name: 'ChangeXcmLocation'; params: { assetId: bigint; newXcmLocation: StagingXcmV4Location } }
8703
+ /**
8704
+ * Freeze a given foreign assetId
8705
+ **/
8706
+ | { name: 'FreezeForeignAsset'; params: { assetId: bigint; allowXcmDeposit: boolean } }
8707
+ /**
8708
+ * Unfreeze a given foreign assetId
8709
+ **/
8710
+ | { name: 'UnfreezeForeignAsset'; params: { assetId: bigint } };
8711
+
8712
+ export type PalletMoonbeamForeignAssetsCallLike =
8713
+ /**
8714
+ * Create new asset with the ForeignAssetCreator
8715
+ **/
8716
+ | {
8717
+ name: 'CreateForeignAsset';
8718
+ params: {
8719
+ assetId: bigint;
8720
+ xcmLocation: StagingXcmV4Location;
8721
+ decimals: number;
8722
+ symbol: BytesLike;
8723
+ name: BytesLike;
8724
+ };
8725
+ }
8726
+ /**
8727
+ * Change the xcm type mapping for a given assetId
8728
+ * We also change this if the previous units per second where pointing at the old
8729
+ * assetType
8730
+ **/
8731
+ | { name: 'ChangeXcmLocation'; params: { assetId: bigint; newXcmLocation: StagingXcmV4Location } }
8732
+ /**
8733
+ * Freeze a given foreign assetId
8734
+ **/
8735
+ | { name: 'FreezeForeignAsset'; params: { assetId: bigint; allowXcmDeposit: boolean } }
8736
+ /**
8737
+ * Unfreeze a given foreign assetId
8738
+ **/
8739
+ | { name: 'UnfreezeForeignAsset'; params: { assetId: bigint } };
8740
+
8741
+ /**
8742
+ * Contains a variant per dispatchable extrinsic that this pallet has.
8743
+ **/
8744
+ export type PalletXcmWeightTraderCall =
8745
+ | { name: 'AddAsset'; params: { location: StagingXcmV4Location; relativePrice: bigint } }
8746
+ | { name: 'EditAsset'; params: { location: StagingXcmV4Location; relativePrice: bigint } }
8747
+ | { name: 'PauseAssetSupport'; params: { location: StagingXcmV4Location } }
8748
+ | { name: 'ResumeAssetSupport'; params: { location: StagingXcmV4Location } }
8749
+ | { name: 'RemoveAsset'; params: { location: StagingXcmV4Location } };
8750
+
8751
+ export type PalletXcmWeightTraderCallLike =
8752
+ | { name: 'AddAsset'; params: { location: StagingXcmV4Location; relativePrice: bigint } }
8753
+ | { name: 'EditAsset'; params: { location: StagingXcmV4Location; relativePrice: bigint } }
8754
+ | { name: 'PauseAssetSupport'; params: { location: StagingXcmV4Location } }
8755
+ | { name: 'ResumeAssetSupport'; params: { location: StagingXcmV4Location } }
8756
+ | { name: 'RemoveAsset'; params: { location: StagingXcmV4Location } };
8757
+
8758
+ /**
8759
+ * Contains a variant per dispatchable extrinsic that this pallet has.
8760
+ **/
8761
+ export type PalletEmergencyParaXcmCall =
8762
+ /**
8763
+ * Resume `Normal` mode
8764
+ **/
8765
+ | { name: 'PausedToNormal' }
8766
+ /**
8767
+ * Authorize a runtime upgrade. Only callable in `Paused` mode
8768
+ **/
8769
+ | { name: 'FastAuthorizeUpgrade'; params: { codeHash: H256 } };
8770
+
8771
+ export type PalletEmergencyParaXcmCallLike =
8772
+ /**
8773
+ * Resume `Normal` mode
8774
+ **/
8775
+ | { name: 'PausedToNormal' }
8776
+ /**
8777
+ * Authorize a runtime upgrade. Only callable in `Paused` mode
8778
+ **/
8779
+ | { name: 'FastAuthorizeUpgrade'; params: { codeHash: H256 } };
8780
+
8703
8781
  /**
8704
8782
  * Contains a variant per dispatchable extrinsic that this pallet has.
8705
8783
  **/
@@ -9269,7 +9347,7 @@ export type PalletAssetManagerEvent =
9269
9347
  /**
9270
9348
  * Changed the amount of units we are charging per execution second for a given asset
9271
9349
  **/
9272
- | { name: 'UnitsPerSecondChanged'; data: { assetType: MoonbeamRuntimeXcmConfigAssetType; unitsPerSecond: bigint } }
9350
+ | { name: 'UnitsPerSecondChanged' }
9273
9351
  /**
9274
9352
  * Changed the xcm type mapping for a given asset id
9275
9353
  **/
@@ -9489,6 +9567,59 @@ export type FrameSupportMessagesProcessMessageError =
9489
9567
  | { type: 'Overweight'; value: SpWeightsWeightV2Weight }
9490
9568
  | { type: 'Yield' };
9491
9569
 
9570
+ /**
9571
+ * The `Event` enum of this pallet
9572
+ **/
9573
+ export type PalletMoonbeamForeignAssetsEvent =
9574
+ /**
9575
+ * New asset with the asset manager is registered
9576
+ **/
9577
+ | { name: 'ForeignAssetCreated'; data: { contractAddress: H160; assetId: bigint; xcmLocation: StagingXcmV4Location } }
9578
+ /**
9579
+ * Changed the xcm type mapping for a given asset id
9580
+ **/
9581
+ | { name: 'ForeignAssetXcmLocationChanged'; data: { assetId: bigint; newXcmLocation: StagingXcmV4Location } }
9582
+ | { name: 'ForeignAssetFrozen'; data: { assetId: bigint; xcmLocation: StagingXcmV4Location } }
9583
+ | { name: 'ForeignAssetUnfrozen'; data: { assetId: bigint; xcmLocation: StagingXcmV4Location } };
9584
+
9585
+ /**
9586
+ * The `Event` enum of this pallet
9587
+ **/
9588
+ export type PalletXcmWeightTraderEvent =
9589
+ /**
9590
+ * New supported asset is registered
9591
+ **/
9592
+ | { name: 'SupportedAssetAdded'; data: { location: StagingXcmV4Location; relativePrice: bigint } }
9593
+ /**
9594
+ * Changed the amount of units we are charging per execution second for a given asset
9595
+ **/
9596
+ | { name: 'SupportedAssetEdited'; data: { location: StagingXcmV4Location; relativePrice: bigint } }
9597
+ /**
9598
+ * Pause support for a given asset
9599
+ **/
9600
+ | { name: 'PauseAssetSupport'; data: { location: StagingXcmV4Location } }
9601
+ /**
9602
+ * Resume support for a given asset
9603
+ **/
9604
+ | { name: 'ResumeAssetSupport'; data: { location: StagingXcmV4Location } }
9605
+ /**
9606
+ * Supported asset type for fee payment removed
9607
+ **/
9608
+ | { name: 'SupportedAssetRemoved'; data: { location: StagingXcmV4Location } };
9609
+
9610
+ /**
9611
+ * The `Event` enum of this pallet
9612
+ **/
9613
+ export type PalletEmergencyParaXcmEvent =
9614
+ /**
9615
+ * The XCM incoming execution was Paused
9616
+ **/
9617
+ | 'EnteredPausedXcmMode'
9618
+ /**
9619
+ * The XCM incoming execution returned to normal operation
9620
+ **/
9621
+ | 'NormalXcmOperationResumed';
9622
+
9492
9623
  /**
9493
9624
  * The `Event` enum of this pallet
9494
9625
  **/
@@ -10306,7 +10437,15 @@ export type PalletMoonbeamLazyMigrationsError =
10306
10437
  /**
10307
10438
  * The contract is not corrupted (Still exist or properly suicided)
10308
10439
  **/
10309
- | 'ContractNotCorrupted';
10440
+ | 'ContractNotCorrupted'
10441
+ /**
10442
+ * The contract already have metadata
10443
+ **/
10444
+ | 'ContractMetadataAlreadySet'
10445
+ /**
10446
+ * Contract not exist
10447
+ **/
10448
+ | 'ContractNotExist';
10310
10449
 
10311
10450
  export type PalletEvmCodeMetadata = { size: bigint; hash: H256 };
10312
10451
 
@@ -11473,6 +11612,67 @@ export type PalletMessageQueueError =
11473
11612
  **/
11474
11613
  | 'RecursiveDisallowed';
11475
11614
 
11615
+ export type PalletMoonbeamForeignAssetsAssetStatus = 'Active' | 'FrozenXcmDepositAllowed' | 'FrozenXcmDepositForbidden';
11616
+
11617
+ /**
11618
+ * An error that can occur while executing the mapping pallet's logic.
11619
+ **/
11620
+ export type PalletMoonbeamForeignAssetsError =
11621
+ | 'AssetAlreadyExists'
11622
+ | 'AssetAlreadyFrozen'
11623
+ | 'AssetDoesNotExist'
11624
+ | 'AssetIdFiltered'
11625
+ | 'AssetNotFrozen'
11626
+ | 'CorruptedStorageOrphanLocation'
11627
+ | 'Erc20ContractCreationFail'
11628
+ | 'EvmCallPauseFail'
11629
+ | 'EvmCallUnpauseFail'
11630
+ | 'EvmInternalError'
11631
+ | 'InvalidSymbol'
11632
+ | 'InvalidTokenName'
11633
+ | 'LocationAlreadyExists'
11634
+ | 'TooManyForeignAssets';
11635
+
11636
+ /**
11637
+ * The `Error` enum of this pallet.
11638
+ **/
11639
+ export type PalletXcmWeightTraderError =
11640
+ /**
11641
+ * The given asset was already added
11642
+ **/
11643
+ | 'AssetAlreadyAdded'
11644
+ /**
11645
+ * The given asset was already paused
11646
+ **/
11647
+ | 'AssetAlreadyPaused'
11648
+ /**
11649
+ * The given asset was not found
11650
+ **/
11651
+ | 'AssetNotFound'
11652
+ /**
11653
+ * The given asset is not paused
11654
+ **/
11655
+ | 'AssetNotPaused'
11656
+ /**
11657
+ * XCM location filtered
11658
+ **/
11659
+ | 'XcmLocationFiltered'
11660
+ /**
11661
+ * The relative price cannot be zero
11662
+ **/
11663
+ | 'PriceCannotBeZero';
11664
+
11665
+ export type PalletEmergencyParaXcmXcmMode = 'Normal' | 'Paused';
11666
+
11667
+ /**
11668
+ * An error that can occur while executing this pallet's extrinsics.
11669
+ **/
11670
+ export type PalletEmergencyParaXcmError =
11671
+ /**
11672
+ * The current XCM Mode is not Paused
11673
+ **/
11674
+ 'NotInPausedMode';
11675
+
11476
11676
  /**
11477
11677
  * The `Error` enum of this pallet.
11478
11678
  **/
@@ -11531,6 +11731,12 @@ export type FrameSystemExtensionsCheckWeight = {};
11531
11731
 
11532
11732
  export type PalletTransactionPaymentChargeTransactionPayment = bigint;
11533
11733
 
11734
+ export type FrameMetadataHashExtensionCheckMetadataHash = { mode: FrameMetadataHashExtensionMode };
11735
+
11736
+ export type FrameMetadataHashExtensionMode = 'Disabled' | 'Enabled';
11737
+
11738
+ export type CumulusPrimitivesStorageWeightReclaimStorageWeightReclaim = {};
11739
+
11534
11740
  export type MoonbeamRuntimeRuntime = {};
11535
11741
 
11536
11742
  export type SpRuntimeTransactionValidityTransactionSource = 'InBlock' | 'Local' | 'External';
@@ -11677,5 +11883,8 @@ export type MoonbeamRuntimeRuntimeError =
11677
11883
  | { pallet: 'XcmTransactor'; palletError: PalletXcmTransactorError }
11678
11884
  | { pallet: 'EthereumXcm'; palletError: PalletEthereumXcmError }
11679
11885
  | { pallet: 'MessageQueue'; palletError: PalletMessageQueueError }
11886
+ | { pallet: 'EvmForeignAssets'; palletError: PalletMoonbeamForeignAssetsError }
11887
+ | { pallet: 'XcmWeightTrader'; palletError: PalletXcmWeightTraderError }
11888
+ | { pallet: 'EmergencyParaXcm'; palletError: PalletEmergencyParaXcmError }
11680
11889
  | { pallet: 'PrecompileBenchmarks'; palletError: PalletPrecompileBenchmarksError }
11681
11890
  | { pallet: 'Randomness'; palletError: PalletRandomnessError };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dedot/chaintypes",
3
- "version": "0.30.0",
3
+ "version": "0.32.0",
4
4
  "description": "Types for substrate-based chains",
5
5
  "author": "Thang X. Vu <thang@coongcrafts.io>",
6
6
  "main": "",
@@ -19,7 +19,7 @@
19
19
  "directory": "dist"
20
20
  },
21
21
  "license": "Apache-2.0",
22
- "gitHead": "120bdef29f17029d20dcd81b5cd16ee265315f51",
22
+ "gitHead": "598c0bb2617ab4ac7f4bbf02f9bf8584049c5773",
23
23
  "module": "./index.js",
24
24
  "types": "./index.d.ts"
25
25
  }
@@ -35,7 +35,7 @@ import type {
35
35
  SpRuntimeDispatchErrorWithPostInfo,
36
36
  PolkadotRuntimeCommonImplsVersionedLocatableAsset,
37
37
  XcmVersionedLocation,
38
- PolkadotPrimitivesV8CandidateReceipt,
38
+ PolkadotPrimitivesVstagingCandidateReceiptV2,
39
39
  PolkadotParachainPrimitivesPrimitivesHeadData,
40
40
  PolkadotPrimitivesV8CoreIndex,
41
41
  PolkadotPrimitivesV8GroupIndex,
@@ -1919,7 +1919,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
1919
1919
  'ParaInclusion',
1920
1920
  'CandidateBacked',
1921
1921
  [
1922
- PolkadotPrimitivesV8CandidateReceipt,
1922
+ PolkadotPrimitivesVstagingCandidateReceiptV2,
1923
1923
  PolkadotParachainPrimitivesPrimitivesHeadData,
1924
1924
  PolkadotPrimitivesV8CoreIndex,
1925
1925
  PolkadotPrimitivesV8GroupIndex,
@@ -1934,7 +1934,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
1934
1934
  'ParaInclusion',
1935
1935
  'CandidateIncluded',
1936
1936
  [
1937
- PolkadotPrimitivesV8CandidateReceipt,
1937
+ PolkadotPrimitivesVstagingCandidateReceiptV2,
1938
1938
  PolkadotParachainPrimitivesPrimitivesHeadData,
1939
1939
  PolkadotPrimitivesV8CoreIndex,
1940
1940
  PolkadotPrimitivesV8GroupIndex,
@@ -1949,7 +1949,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
1949
1949
  'ParaInclusion',
1950
1950
  'CandidateTimedOut',
1951
1951
  [
1952
- PolkadotPrimitivesV8CandidateReceipt,
1952
+ PolkadotPrimitivesVstagingCandidateReceiptV2,
1953
1953
  PolkadotParachainPrimitivesPrimitivesHeadData,
1954
1954
  PolkadotPrimitivesV8CoreIndex,
1955
1955
  ]
@@ -23,7 +23,7 @@ export interface VersionedWestendApi<Rv extends RpcVersion> extends GenericSubst
23
23
 
24
24
  /**
25
25
  * @name: WestendApi
26
- * @specVersion: 1016001
26
+ * @specVersion: 1016002
27
27
  **/
28
28
  export interface WestendApi {
29
29
  legacy: VersionedWestendApi<RpcLegacy>;
@@ -95,7 +95,7 @@ import type {
95
95
  PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker,
96
96
  PolkadotRuntimeParachainsInclusionCandidatePendingAvailability,
97
97
  PolkadotParachainPrimitivesPrimitivesId,
98
- PolkadotPrimitivesV8ScrapedOnChainVotes,
98
+ PolkadotPrimitivesVstagingScrapedOnChainVotes,
99
99
  PolkadotRuntimeParachainsSchedulerPalletCoreOccupied,
100
100
  PolkadotPrimitivesV8CoreIndex,
101
101
  PolkadotRuntimeParachainsSchedulerPalletParasEntry,
@@ -2410,9 +2410,9 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2410
2410
  /**
2411
2411
  * Scraped on chain data for extracting resolved disputes as well as backing votes.
2412
2412
  *
2413
- * @param {Callback<PolkadotPrimitivesV8ScrapedOnChainVotes | undefined> =} callback
2413
+ * @param {Callback<PolkadotPrimitivesVstagingScrapedOnChainVotes | undefined> =} callback
2414
2414
  **/
2415
- onChainVotes: GenericStorageQuery<Rv, () => PolkadotPrimitivesV8ScrapedOnChainVotes | undefined>;
2415
+ onChainVotes: GenericStorageQuery<Rv, () => PolkadotPrimitivesVstagingScrapedOnChainVotes | undefined>;
2416
2416
 
2417
2417
  /**
2418
2418
  * Generic pallet storage query
@@ -27,18 +27,18 @@ import type {
27
27
  PolkadotPrimitivesV8ValidatorAppPublic,
28
28
  PolkadotPrimitivesV8ValidatorIndex,
29
29
  PolkadotPrimitivesV8GroupRotationInfo,
30
- PolkadotPrimitivesV8CoreState,
30
+ PolkadotPrimitivesVstagingCoreState,
31
31
  PolkadotPrimitivesV8PersistedValidationData,
32
32
  PolkadotParachainPrimitivesPrimitivesId,
33
33
  PolkadotPrimitivesV8OccupiedCoreAssumption,
34
34
  PolkadotParachainPrimitivesPrimitivesValidationCodeHash,
35
35
  PolkadotPrimitivesV8CandidateCommitments,
36
36
  PolkadotParachainPrimitivesPrimitivesValidationCode,
37
- PolkadotPrimitivesV8CommittedCandidateReceipt,
38
- PolkadotPrimitivesV8CandidateEvent,
37
+ PolkadotPrimitivesVstagingCommittedCandidateReceiptV2,
38
+ PolkadotPrimitivesVstagingCandidateEvent,
39
39
  PolkadotCorePrimitivesInboundDownwardMessage,
40
40
  PolkadotCorePrimitivesInboundHrmpMessage,
41
- PolkadotPrimitivesV8ScrapedOnChainVotes,
41
+ PolkadotPrimitivesVstagingScrapedOnChainVotes,
42
42
  PolkadotPrimitivesV8SessionInfo,
43
43
  PolkadotPrimitivesV8PvfCheckStatement,
44
44
  PolkadotPrimitivesV8ValidatorAppSignature,
@@ -48,7 +48,7 @@ import type {
48
48
  PolkadotPrimitivesV8SlashingPendingSlashes,
49
49
  PolkadotPrimitivesV8SlashingOpaqueKeyOwnershipProof,
50
50
  PolkadotPrimitivesV8SlashingDisputeProof,
51
- PolkadotPrimitivesV8AsyncBackingBackingState,
51
+ PolkadotPrimitivesVstagingAsyncBackingBackingState,
52
52
  PolkadotPrimitivesV8AsyncBackingAsyncBackingParams,
53
53
  PolkadotPrimitivesV8ApprovalVotingParams,
54
54
  PolkadotPrimitivesV8CoreIndex,
@@ -294,7 +294,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
294
294
  *
295
295
  * @callname: ParachainHost_availability_cores
296
296
  **/
297
- availabilityCores: GenericRuntimeApiMethod<Rv, () => Promise<Array<PolkadotPrimitivesV8CoreState>>>;
297
+ availabilityCores: GenericRuntimeApiMethod<Rv, () => Promise<Array<PolkadotPrimitivesVstagingCoreState>>>;
298
298
 
299
299
  /**
300
300
  * Yields the persisted validation data for the given `ParaId` along with an assumption that
@@ -388,7 +388,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
388
388
  Rv,
389
389
  (
390
390
  paraId: PolkadotParachainPrimitivesPrimitivesId,
391
- ) => Promise<PolkadotPrimitivesV8CommittedCandidateReceipt | undefined>
391
+ ) => Promise<PolkadotPrimitivesVstagingCommittedCandidateReceiptV2 | undefined>
392
392
  >;
393
393
 
394
394
  /**
@@ -396,7 +396,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
396
396
  *
397
397
  * @callname: ParachainHost_candidate_events
398
398
  **/
399
- candidateEvents: GenericRuntimeApiMethod<Rv, () => Promise<Array<PolkadotPrimitivesV8CandidateEvent>>>;
399
+ candidateEvents: GenericRuntimeApiMethod<Rv, () => Promise<Array<PolkadotPrimitivesVstagingCandidateEvent>>>;
400
400
 
401
401
  /**
402
402
  * Get all the pending inbound messages in the downward message queue for a para.
@@ -443,7 +443,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
443
443
  *
444
444
  * @callname: ParachainHost_on_chain_votes
445
445
  **/
446
- onChainVotes: GenericRuntimeApiMethod<Rv, () => Promise<PolkadotPrimitivesV8ScrapedOnChainVotes | undefined>>;
446
+ onChainVotes: GenericRuntimeApiMethod<Rv, () => Promise<PolkadotPrimitivesVstagingScrapedOnChainVotes | undefined>>;
447
447
 
448
448
  /**
449
449
  * Get the session info for the given session, if stored.
@@ -579,7 +579,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
579
579
  Rv,
580
580
  (
581
581
  undefined: PolkadotParachainPrimitivesPrimitivesId,
582
- ) => Promise<PolkadotPrimitivesV8AsyncBackingBackingState | undefined>
582
+ ) => Promise<PolkadotPrimitivesVstagingAsyncBackingBackingState | undefined>
583
583
  >;
584
584
 
585
585
  /**
@@ -629,7 +629,9 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
629
629
  **/
630
630
  candidatesPendingAvailability: GenericRuntimeApiMethod<
631
631
  Rv,
632
- (paraId: PolkadotParachainPrimitivesPrimitivesId) => Promise<Array<PolkadotPrimitivesV8CommittedCandidateReceipt>>
632
+ (
633
+ paraId: PolkadotParachainPrimitivesPrimitivesId,
634
+ ) => Promise<Array<PolkadotPrimitivesVstagingCommittedCandidateReceiptV2>>
633
635
  >;
634
636
 
635
637
  /**
package/westend/tx.d.ts CHANGED
@@ -70,7 +70,7 @@ import type {
70
70
  PolkadotPrimitivesV8ExecutorParams,
71
71
  PolkadotPrimitivesV8ApprovalVotingParams,
72
72
  PolkadotPrimitivesV8SchedulerParams,
73
- PolkadotPrimitivesV8InherentData,
73
+ PolkadotPrimitivesVstagingInherentData,
74
74
  PolkadotParachainPrimitivesPrimitivesId,
75
75
  PolkadotParachainPrimitivesPrimitivesValidationCode,
76
76
  PolkadotParachainPrimitivesPrimitivesHeadData,
@@ -996,7 +996,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
996
996
  /**
997
997
  * Schedule a portion of the stash to be unlocked ready for transfer out after the bond
998
998
  * period ends. If this leaves an amount actively bonded less than
999
- * T::Currency::minimum_balance(), then it is increased to the full amount.
999
+ * [`asset::existential_deposit`], then it is increased to the full amount.
1000
1000
  *
1001
1001
  * The dispatch origin for this call must be _Signed_ by the controller, not the stash.
1002
1002
  *
@@ -7451,17 +7451,17 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
7451
7451
  /**
7452
7452
  * Enter the paras inherent. This will process bitfields and backed candidates.
7453
7453
  *
7454
- * @param {PolkadotPrimitivesV8InherentData} data
7454
+ * @param {PolkadotPrimitivesVstagingInherentData} data
7455
7455
  **/
7456
7456
  enter: GenericTxCall<
7457
7457
  Rv,
7458
- (data: PolkadotPrimitivesV8InherentData) => ChainSubmittableExtrinsic<
7458
+ (data: PolkadotPrimitivesVstagingInherentData) => ChainSubmittableExtrinsic<
7459
7459
  Rv,
7460
7460
  {
7461
7461
  pallet: 'ParaInherent';
7462
7462
  palletCall: {
7463
7463
  name: 'Enter';
7464
- params: { data: PolkadotPrimitivesV8InherentData };
7464
+ params: { data: PolkadotPrimitivesVstagingInherentData };
7465
7465
  };
7466
7466
  }
7467
7467
  >