@dedot/chaintypes 0.97.0 → 0.98.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dedot/chaintypes",
3
- "version": "0.97.0",
3
+ "version": "0.98.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": "d7eca2ab18e1e83fd127f623513441e1c868a500",
22
+ "gitHead": "f6af61e8e911f24387d1deac75e1ee90ae8a83ef",
23
23
  "module": "./index.js",
24
24
  "types": "./index.d.ts",
25
25
  "exports": {
@@ -23,7 +23,7 @@ export interface VersionedWestendApi<Rv extends RpcVersion> extends GenericSubst
23
23
 
24
24
  /**
25
25
  * @name: WestendApi
26
- * @specVersion: 1018003
26
+ * @specVersion: 1018005
27
27
  **/
28
28
  export interface WestendApi {
29
29
  legacy: VersionedWestendApi<RpcLegacy>;
@@ -4096,6 +4096,13 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
4096
4096
  **/
4097
4097
  dmpDataMessageCounts: GenericStorageQuery<Rv, () => [number, number]>;
4098
4098
 
4099
+ /**
4100
+ *
4101
+ * @param {H256} arg
4102
+ * @param {Callback<StagingXcmV5Xcm | undefined> =} callback
4103
+ **/
4104
+ dmpMessagesFailed: GenericStorageQuery<Rv, (arg: H256) => StagingXcmV5Xcm | undefined, H256>;
4105
+
4099
4106
  /**
4100
4107
  * Generic pallet storage query
4101
4108
  **/
package/westend/tx.d.ts CHANGED
@@ -9788,6 +9788,23 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
9788
9788
  >
9789
9789
  >;
9790
9790
 
9791
+ /**
9792
+ * manually do what this pallet was meant to do at the end of the migration.
9793
+ *
9794
+ **/
9795
+ forceOnMigrationEnd: GenericTxCall<
9796
+ Rv,
9797
+ () => ChainSubmittableExtrinsic<
9798
+ Rv,
9799
+ {
9800
+ pallet: 'AssetHubStakingClient';
9801
+ palletCall: {
9802
+ name: 'ForceOnMigrationEnd';
9803
+ };
9804
+ }
9805
+ >
9806
+ >;
9807
+
9791
9808
  /**
9792
9809
  * Generic pallet tx call
9793
9810
  **/
@@ -11129,6 +11146,29 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
11129
11146
  >
11130
11147
  >;
11131
11148
 
11149
+ /**
11150
+ * Update the total number of XCM messages sent and processed by the Asset Hub.
11151
+ *
11152
+ * @param {number} sent
11153
+ * @param {number} processed
11154
+ **/
11155
+ updateAhMsgCounts: GenericTxCall<
11156
+ Rv,
11157
+ (
11158
+ sent: number,
11159
+ processed: number,
11160
+ ) => ChainSubmittableExtrinsic<
11161
+ Rv,
11162
+ {
11163
+ pallet: 'RcMigrator';
11164
+ palletCall: {
11165
+ name: 'UpdateAhMsgCounts';
11166
+ params: { sent: number; processed: number };
11167
+ };
11168
+ }
11169
+ >
11170
+ >;
11171
+
11132
11172
  /**
11133
11173
  * Generic pallet tx call
11134
11174
  **/
@@ -10678,14 +10678,22 @@ export type PalletStakingAsyncAhClientCall =
10678
10678
  /**
10679
10679
  * Allows governance to force set the operating mode of the pallet.
10680
10680
  **/
10681
- | { name: 'SetMode'; params: { mode: PalletStakingAsyncAhClientOperatingMode } };
10681
+ | { name: 'SetMode'; params: { mode: PalletStakingAsyncAhClientOperatingMode } }
10682
+ /**
10683
+ * manually do what this pallet was meant to do at the end of the migration.
10684
+ **/
10685
+ | { name: 'ForceOnMigrationEnd' };
10682
10686
 
10683
10687
  export type PalletStakingAsyncAhClientCallLike =
10684
10688
  | { name: 'ValidatorSet'; params: { report: PalletStakingAsyncRcClientValidatorSetReport } }
10685
10689
  /**
10686
10690
  * Allows governance to force set the operating mode of the pallet.
10687
10691
  **/
10688
- | { name: 'SetMode'; params: { mode: PalletStakingAsyncAhClientOperatingMode } };
10692
+ | { name: 'SetMode'; params: { mode: PalletStakingAsyncAhClientOperatingMode } }
10693
+ /**
10694
+ * manually do what this pallet was meant to do at the end of the migration.
10695
+ **/
10696
+ | { name: 'ForceOnMigrationEnd' };
10689
10697
 
10690
10698
  export type PalletStakingAsyncRcClientValidatorSetReport = {
10691
10699
  newValidatorSet: Array<AccountId32>;
@@ -11927,7 +11935,11 @@ export type PalletRcMigratorCall =
11927
11935
  /**
11928
11936
  * Update the total number of XCM messages processed by the Asset Hub.
11929
11937
  **/
11930
- | { name: 'UpdateAhMsgProcessedCount'; params: { count: number } };
11938
+ | { name: 'UpdateAhMsgProcessedCount'; params: { count: number } }
11939
+ /**
11940
+ * Update the total number of XCM messages sent and processed by the Asset Hub.
11941
+ **/
11942
+ | { name: 'UpdateAhMsgCounts'; params: { sent: number; processed: number } };
11931
11943
 
11932
11944
  export type PalletRcMigratorCallLike =
11933
11945
  /**
@@ -11951,7 +11963,11 @@ export type PalletRcMigratorCallLike =
11951
11963
  /**
11952
11964
  * Update the total number of XCM messages processed by the Asset Hub.
11953
11965
  **/
11954
- | { name: 'UpdateAhMsgProcessedCount'; params: { count: number } };
11966
+ | { name: 'UpdateAhMsgProcessedCount'; params: { count: number } }
11967
+ /**
11968
+ * Update the total number of XCM messages sent and processed by the Asset Hub.
11969
+ **/
11970
+ | { name: 'UpdateAhMsgCounts'; params: { sent: number; processed: number } };
11955
11971
 
11956
11972
  export type PalletRcMigratorMigrationStage =
11957
11973
  | { type: 'Pending' }
@@ -23,7 +23,7 @@ export interface VersionedWestendAssetHubApi<Rv extends RpcVersion> extends Gene
23
23
 
24
24
  /**
25
25
  * @name: WestendAssetHubApi
26
- * @specVersion: 1018003
26
+ * @specVersion: 1018005
27
27
  **/
28
28
  export interface WestendAssetHubApi {
29
29
  legacy: VersionedWestendAssetHubApi<RpcLegacy>;