@dedot/chaintypes 0.178.0 → 0.179.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.
@@ -4896,6 +4896,56 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
4896
4896
  }
4897
4897
  >;
4898
4898
 
4899
+ /**
4900
+ * Failed to unreserve a multisig deposit.
4901
+ **/
4902
+ FailedToUnreserveMultisigDeposit: GenericPalletEvent<
4903
+ Rv,
4904
+ 'AhMigrator',
4905
+ 'FailedToUnreserveMultisigDeposit',
4906
+ {
4907
+ /**
4908
+ * The expected amount of the deposit that was expected to be unreserved.
4909
+ **/
4910
+ expectedAmount: bigint;
4911
+
4912
+ /**
4913
+ * The missing amount of the deposit.
4914
+ **/
4915
+ missingAmount: bigint;
4916
+
4917
+ /**
4918
+ * The account that the deposit was unreserved from.
4919
+ **/
4920
+ account: AccountId32;
4921
+ }
4922
+ >;
4923
+
4924
+ /**
4925
+ * Failed to unreserve a legacy status preimage deposit.
4926
+ **/
4927
+ FailedToUnreservePreimageDeposit: GenericPalletEvent<
4928
+ Rv,
4929
+ 'AhMigrator',
4930
+ 'FailedToUnreservePreimageDeposit',
4931
+ {
4932
+ /**
4933
+ * The expected amount of the deposit that was expected to be unreserved.
4934
+ **/
4935
+ expectedAmount: bigint;
4936
+
4937
+ /**
4938
+ * The missing amount of the deposit.
4939
+ **/
4940
+ missingAmount: bigint;
4941
+
4942
+ /**
4943
+ * The account that the deposit was unreserved from.
4944
+ **/
4945
+ account: AccountId32;
4946
+ }
4947
+ >;
4948
+
4899
4949
  /**
4900
4950
  * Generic pallet event
4901
4951
  **/
@@ -58,7 +58,7 @@ export interface VersionedKusamaAssetHubApi<Rv extends RpcVersion> extends Gener
58
58
 
59
59
  /**
60
60
  * @name: KusamaAssetHubApi
61
- * @specVersion: 1009003
61
+ * @specVersion: 2000001
62
62
  **/
63
63
  export interface KusamaAssetHubApi {
64
64
  legacy: VersionedKusamaAssetHubApi<RpcLegacy>;
@@ -16668,16 +16668,20 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
16668
16668
  * so we do not need to do it this time.
16669
16669
  *
16670
16670
  * @param {PalletRcMigratorMigrationFinishedData | undefined} data
16671
+ * @param {number} coolOffEndAt
16671
16672
  **/
16672
16673
  finishMigration: GenericTxCall<
16673
16674
  Rv,
16674
- (data: PalletRcMigratorMigrationFinishedData | undefined) => ChainSubmittableExtrinsic<
16675
+ (
16676
+ data: PalletRcMigratorMigrationFinishedData | undefined,
16677
+ coolOffEndAt: number,
16678
+ ) => ChainSubmittableExtrinsic<
16675
16679
  Rv,
16676
16680
  {
16677
16681
  pallet: 'AhMigrator';
16678
16682
  palletCall: {
16679
16683
  name: 'FinishMigration';
16680
- params: { data: PalletRcMigratorMigrationFinishedData | undefined };
16684
+ params: { data: PalletRcMigratorMigrationFinishedData | undefined; coolOffEndAt: number };
16681
16685
  };
16682
16686
  }
16683
16687
  >
@@ -19117,7 +19117,10 @@ export type PalletAhMigratorCall =
19117
19117
  * for some pallets and have already performed the checking account balance correction,
19118
19118
  * so we do not need to do it this time.
19119
19119
  **/
19120
- | { name: 'FinishMigration'; params: { data?: PalletRcMigratorMigrationFinishedData | undefined } }
19120
+ | {
19121
+ name: 'FinishMigration';
19122
+ params: { data?: PalletRcMigratorMigrationFinishedData | undefined; coolOffEndAt: number };
19123
+ }
19121
19124
  /**
19122
19125
  * XCM send call identical to the [`pallet_xcm::Pallet::send`] call but with the
19123
19126
  * [Config::SendXcm] router which will be able to send messages to the Relay Chain during
@@ -19240,7 +19243,10 @@ export type PalletAhMigratorCallLike =
19240
19243
  * for some pallets and have already performed the checking account balance correction,
19241
19244
  * so we do not need to do it this time.
19242
19245
  **/
19243
- | { name: 'FinishMigration'; params: { data?: PalletRcMigratorMigrationFinishedData | undefined } }
19246
+ | {
19247
+ name: 'FinishMigration';
19248
+ params: { data?: PalletRcMigratorMigrationFinishedData | undefined; coolOffEndAt: number };
19249
+ }
19244
19250
  /**
19245
19251
  * XCM send call identical to the [`pallet_xcm::Pallet::send`] call but with the
19246
19252
  * [Config::SendXcm] router which will be able to send messages to the Relay Chain during
@@ -19862,7 +19868,11 @@ export type PalletRcMigratorSocietyPortableCandidacy = {
19862
19868
 
19863
19869
  export type PalletRcMigratorSocietyPortableVote = { approve: boolean; weight: number };
19864
19870
 
19865
- export type PalletAhMigratorMigrationStage = 'Pending' | 'DataMigrationOngoing' | 'MigrationDone';
19871
+ export type PalletAhMigratorMigrationStage =
19872
+ | { type: 'Pending' }
19873
+ | { type: 'DataMigrationOngoing' }
19874
+ | { type: 'MigrationDone' }
19875
+ | { type: 'CoolOff'; value: { endAt: number } };
19866
19876
 
19867
19877
  export type PalletRcMigratorQueuePriority =
19868
19878
  | { type: 'Config' }
@@ -20164,6 +20174,50 @@ export type PalletAhMigratorEvent =
20164
20174
  message: StagingXcmV5Xcm;
20165
20175
  messageId: FixedBytes<32>;
20166
20176
  };
20177
+ }
20178
+ /**
20179
+ * Failed to unreserve a multisig deposit.
20180
+ **/
20181
+ | {
20182
+ name: 'FailedToUnreserveMultisigDeposit';
20183
+ data: {
20184
+ /**
20185
+ * The expected amount of the deposit that was expected to be unreserved.
20186
+ **/
20187
+ expectedAmount: bigint;
20188
+
20189
+ /**
20190
+ * The missing amount of the deposit.
20191
+ **/
20192
+ missingAmount: bigint;
20193
+
20194
+ /**
20195
+ * The account that the deposit was unreserved from.
20196
+ **/
20197
+ account: AccountId32;
20198
+ };
20199
+ }
20200
+ /**
20201
+ * Failed to unreserve a legacy status preimage deposit.
20202
+ **/
20203
+ | {
20204
+ name: 'FailedToUnreservePreimageDeposit';
20205
+ data: {
20206
+ /**
20207
+ * The expected amount of the deposit that was expected to be unreserved.
20208
+ **/
20209
+ expectedAmount: bigint;
20210
+
20211
+ /**
20212
+ * The missing amount of the deposit.
20213
+ **/
20214
+ missingAmount: bigint;
20215
+
20216
+ /**
20217
+ * The account that the deposit was unreserved from.
20218
+ **/
20219
+ account: AccountId32;
20220
+ };
20167
20221
  };
20168
20222
 
20169
20223
  export type PalletAhMigratorPalletEventName =
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dedot/chaintypes",
3
- "version": "0.178.0",
3
+ "version": "0.179.0",
4
4
  "description": "Types for substrate-based chains",
5
5
  "author": "Thang X. Vu <thang@dedot.dev>",
6
6
  "homepage": "https://dedot.dev",
@@ -25,7 +25,7 @@
25
25
  "directory": "dist"
26
26
  },
27
27
  "license": "Apache-2.0",
28
- "gitHead": "64bb631a1bb3b7d0d389002e485b8a087dc2230f",
28
+ "gitHead": "d2bf6a19ee522c5bf28478033641ffa895e1e9a8",
29
29
  "module": "./index.js",
30
30
  "types": "./index.d.ts",
31
31
  "exports": {