@dedot/chaintypes 0.195.0 → 0.197.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/aleph/index.d.ts CHANGED
@@ -3,6 +3,7 @@
3
3
  import type { GenericSubstrateApi, GenericChainKnownTypes } from 'dedot/types';
4
4
  import type { MultiAddress } from 'dedot/codecs';
5
5
  import type {
6
+ FrameSystemEventRecord,
6
7
  AlephRuntimeRuntimeCall,
7
8
  SpRuntimeMultiSignature,
8
9
  FrameSystemExtensionsCheckNonZeroSender,
@@ -40,6 +41,7 @@ interface ChainKnownTypes extends GenericChainKnownTypes {
40
41
  PalletTransactionPaymentChargeTransactionPayment,
41
42
  ];
42
43
  AssetId: undefined;
44
+ EventRecord: FrameSystemEventRecord;
43
45
  }
44
46
 
45
47
  /**
package/astar/index.d.ts CHANGED
@@ -3,6 +3,7 @@
3
3
  import type { GenericSubstrateApi, GenericChainKnownTypes } from 'dedot/types';
4
4
  import type { MultiAddress } from 'dedot/codecs';
5
5
  import type {
6
+ FrameSystemEventRecord,
6
7
  AstarRuntimeRuntimeCall,
7
8
  SpRuntimeMultiSignature,
8
9
  FrameSystemExtensionsCheckSpecVersion,
@@ -40,6 +41,7 @@ interface ChainKnownTypes extends GenericChainKnownTypes {
40
41
  FrameMetadataHashExtensionCheckMetadataHash,
41
42
  ];
42
43
  AssetId: undefined;
44
+ EventRecord: FrameSystemEventRecord;
43
45
  }
44
46
 
45
47
  /**
@@ -3,6 +3,7 @@
3
3
  import type { GenericSubstrateApi, GenericChainKnownTypes } from 'dedot/types';
4
4
  import type { AccountId32 } from 'dedot/codecs';
5
5
  import type {
6
+ FrameSystemEventRecord,
6
7
  BasiliskRuntimeRuntimeCall,
7
8
  SpRuntimeMultiSignature,
8
9
  FrameSystemExtensionsCheckSpecVersion,
@@ -38,6 +39,7 @@ interface ChainKnownTypes extends GenericChainKnownTypes {
38
39
  PalletTransactionPaymentChargeTransactionPayment,
39
40
  ];
40
41
  AssetId: undefined;
42
+ EventRecord: FrameSystemEventRecord;
41
43
  }
42
44
 
43
45
  /**
@@ -3,6 +3,7 @@
3
3
  import type { GenericSubstrateApi, GenericChainKnownTypes } from 'dedot/types';
4
4
  import type { AccountId32 } from 'dedot/codecs';
5
5
  import type {
6
+ FrameSystemEventRecord,
6
7
  HydradxRuntimeRuntimeCall,
7
8
  SpRuntimeMultiSignature,
8
9
  FrameSystemExtensionsCheckNonZeroSender,
@@ -46,6 +47,7 @@ interface ChainKnownTypes extends GenericChainKnownTypes {
46
47
  CumulusPrimitivesStorageWeightReclaimStorageWeightReclaim,
47
48
  ];
48
49
  AssetId: undefined;
50
+ EventRecord: FrameSystemEventRecord;
49
51
  }
50
52
 
51
53
  /**
package/kusama/index.d.ts CHANGED
@@ -3,6 +3,7 @@
3
3
  import type { GenericSubstrateApi, GenericChainKnownTypes } from 'dedot/types';
4
4
  import type { MultiAddress } from 'dedot/codecs';
5
5
  import type {
6
+ FrameSystemEventRecord,
6
7
  StagingKusamaRuntimeRuntimeCall,
7
8
  SpRuntimeMultiSignature,
8
9
  FrameSystemExtensionsCheckNonZeroSender,
@@ -42,6 +43,7 @@ interface ChainKnownTypes extends GenericChainKnownTypes {
42
43
  FrameMetadataHashExtensionCheckMetadataHash,
43
44
  ];
44
45
  AssetId: undefined;
46
+ EventRecord: FrameSystemEventRecord;
45
47
  }
46
48
 
47
49
  /**
@@ -3,6 +3,7 @@
3
3
  import type { GenericSubstrateApi, GenericChainKnownTypes } from 'dedot/types';
4
4
  import type { MultiAddress } from 'dedot/codecs';
5
5
  import type {
6
+ FrameSystemEventRecord,
6
7
  AssetHubKusamaRuntimeRuntimeCall,
7
8
  SpRuntimeMultiSignature,
8
9
  FrameSystemExtensionsCheckNonZeroSender,
@@ -43,6 +44,7 @@ interface ChainKnownTypes extends GenericChainKnownTypes {
43
44
  FrameMetadataHashExtensionCheckMetadataHash,
44
45
  ];
45
46
  AssetId: StagingXcmV5Location;
47
+ EventRecord: FrameSystemEventRecord;
46
48
  }
47
49
 
48
50
  /**
@@ -3,6 +3,7 @@
3
3
  import type { GenericSubstrateApi, GenericChainKnownTypes } from 'dedot/types';
4
4
  import type { MultiAddress } from 'dedot/codecs';
5
5
  import type {
6
+ FrameSystemEventRecord,
6
7
  PeopleKusamaRuntimeRuntimeCall,
7
8
  SpRuntimeMultiSignature,
8
9
  FrameSystemExtensionsCheckNonZeroSender,
@@ -42,6 +43,7 @@ interface ChainKnownTypes extends GenericChainKnownTypes {
42
43
  FrameMetadataHashExtensionCheckMetadataHash,
43
44
  ];
44
45
  AssetId: undefined;
46
+ EventRecord: FrameSystemEventRecord;
45
47
  }
46
48
 
47
49
  /**
@@ -3,6 +3,7 @@
3
3
  import type { GenericSubstrateApi, GenericChainKnownTypes } from 'dedot/types';
4
4
  import type { AccountId20 } from 'dedot/codecs';
5
5
  import type {
6
+ FrameSystemEventRecord,
6
7
  MoonbeamRuntimeRuntimeCall,
7
8
  AccountEthereumSignature,
8
9
  FrameSystemExtensionsCheckNonZeroSender,
@@ -45,6 +46,7 @@ interface ChainKnownTypes extends GenericChainKnownTypes {
45
46
  [],
46
47
  ];
47
48
  AssetId: undefined;
49
+ EventRecord: FrameSystemEventRecord;
48
50
  }
49
51
 
50
52
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dedot/chaintypes",
3
- "version": "0.195.0",
3
+ "version": "0.197.0",
4
4
  "description": "Types for substrate-based chains",
5
5
  "author": "Thang X. Vu <thang@dedot.dev>",
6
6
  "homepage": "https://dedot.dev",
@@ -18,14 +18,14 @@
18
18
  "copy": "cp -R ./src/* ./dist && rm ./dist/index.ts"
19
19
  },
20
20
  "peerDependencies": {
21
- "dedot": ">=1.0.0"
21
+ "dedot": ">=1.0.1"
22
22
  },
23
23
  "publishConfig": {
24
24
  "access": "public",
25
25
  "directory": "dist"
26
26
  },
27
27
  "license": "Apache-2.0",
28
- "gitHead": "25f5ab9764daf2af5329f64dd4b8f00dd8cec722",
28
+ "gitHead": "1829455027395407f5acfad9af84af7c1142bf53",
29
29
  "module": "./index.js",
30
30
  "types": "./index.d.ts",
31
31
  "exports": {
@@ -46,9 +46,6 @@
46
46
  "./hydration": {
47
47
  "types": "./hydration/index.d.ts"
48
48
  },
49
- "./hyperbridge": {
50
- "types": "./hyperbridge/index.d.ts"
51
- },
52
49
  "./kusama": {
53
50
  "types": "./kusama/index.d.ts"
54
51
  },
package/paseo/errors.d.ts CHANGED
@@ -2800,6 +2800,11 @@ export interface ChainErrors extends GenericChainErrors {
2800
2800
  **/
2801
2801
  InvalidStageTransition: GenericPalletError;
2802
2802
 
2803
+ /**
2804
+ * Unsigned validation failed.
2805
+ **/
2806
+ UnsignedValidationFailed: GenericPalletError;
2807
+
2803
2808
  /**
2804
2809
  * Generic pallet error
2805
2810
  **/
package/paseo/events.d.ts CHANGED
@@ -64,6 +64,7 @@ import type {
64
64
  PalletRcMigratorMigrationStage,
65
65
  XcmV3MaybeErrorCode,
66
66
  PalletRcMigratorQueuePriority,
67
+ PalletRcMigratorMigrationSettings,
67
68
  } from './types.js';
68
69
 
69
70
  export interface ChainEvents extends GenericChainEvents {
@@ -3247,6 +3248,25 @@ export interface ChainEvents extends GenericChainEvents {
3247
3248
  **/
3248
3249
  ManagerMultisigVoted: GenericPalletEvent<'RcMigrator', 'ManagerMultisigVoted', { votes: number }>;
3249
3250
 
3251
+ /**
3252
+ * The migration settings were set.
3253
+ **/
3254
+ MigrationSettingsSet: GenericPalletEvent<
3255
+ 'RcMigrator',
3256
+ 'MigrationSettingsSet',
3257
+ {
3258
+ /**
3259
+ * The old migration settings.
3260
+ **/
3261
+ old?: PalletRcMigratorMigrationSettings | undefined;
3262
+
3263
+ /**
3264
+ * The new migration settings.
3265
+ **/
3266
+ new?: PalletRcMigratorMigrationSettings | undefined;
3267
+ }
3268
+ >;
3269
+
3250
3270
  /**
3251
3271
  * Generic pallet event
3252
3272
  **/
package/paseo/index.d.ts CHANGED
@@ -3,6 +3,7 @@
3
3
  import type { GenericSubstrateApi, GenericChainKnownTypes } from 'dedot/types';
4
4
  import type { MultiAddress } from 'dedot/codecs';
5
5
  import type {
6
+ FrameSystemEventRecord,
6
7
  PaseoRuntimeRuntimeCall,
7
8
  SpRuntimeMultiSignature,
8
9
  FrameSystemExtensionsCheckNonZeroSender,
@@ -44,11 +45,12 @@ interface ChainKnownTypes extends GenericChainKnownTypes {
44
45
  FrameMetadataHashExtensionCheckMetadataHash,
45
46
  ];
46
47
  AssetId: undefined;
48
+ EventRecord: FrameSystemEventRecord;
47
49
  }
48
50
 
49
51
  /**
50
52
  * @name: PaseoApi
51
- * @specVersion: 2000001
53
+ * @specVersion: 2000002
52
54
  **/
53
55
  export interface PaseoApi extends GenericSubstrateApi {
54
56
  rpc: ChainJsonRpcApis;
package/paseo/query.d.ts CHANGED
@@ -150,7 +150,7 @@ import type {
150
150
  PalletRcMigratorAccountsMigratedBalances,
151
151
  PalletRcMigratorQueuePriority,
152
152
  FrameSupportScheduleDispatchTime,
153
- SpRuntimeMultiSigner,
153
+ PalletRcMigratorMigrationSettings,
154
154
  PaseoRuntimeRuntimeCall,
155
155
  PaseoRuntimeRuntimeCallLike,
156
156
  } from './types.js';
@@ -3966,10 +3966,10 @@ export interface ChainStorage extends GenericChainStorage {
3966
3966
  *
3967
3967
  * Unconfirmed messages can be resent by calling the [`Pallet::resend_xcm`] function.
3968
3968
  *
3969
- * @param {H256} arg
3969
+ * @param {[bigint, H256]} arg
3970
3970
  * @param {Callback<StagingXcmV5Xcm | undefined> =} callback
3971
3971
  **/
3972
- pendingXcmMessages: GenericStorageQuery<(arg: H256) => StagingXcmV5Xcm | undefined, H256>;
3972
+ pendingXcmMessages: GenericStorageQuery<(arg: [bigint, H256]) => StagingXcmV5Xcm | undefined, [bigint, H256]>;
3973
3973
 
3974
3974
  /**
3975
3975
  * Counter for the related counted storage map
@@ -4082,21 +4082,42 @@ export interface ChainStorage extends GenericChainStorage {
4082
4082
  coolOffPeriod: GenericStorageQuery<() => FrameSupportScheduleDispatchTime | undefined>;
4083
4083
 
4084
4084
  /**
4085
+ * The migration settings.
4086
+ *
4087
+ * @param {Callback<PalletRcMigratorMigrationSettings | undefined> =} callback
4088
+ **/
4089
+ settings: GenericStorageQuery<() => PalletRcMigratorMigrationSettings | undefined>;
4090
+
4091
+ /**
4092
+ * The multisig AccountIDs that votes to execute a specific call.
4085
4093
  *
4086
4094
  * @param {PaseoRuntimeRuntimeCallLike} arg
4087
- * @param {Callback<Array<SpRuntimeMultiSigner>> =} callback
4095
+ * @param {Callback<Array<AccountId32>> =} callback
4088
4096
  **/
4089
4097
  managerMultisigs: GenericStorageQuery<
4090
- (arg: PaseoRuntimeRuntimeCallLike) => Array<SpRuntimeMultiSigner>,
4098
+ (arg: PaseoRuntimeRuntimeCallLike) => Array<AccountId32>,
4091
4099
  PaseoRuntimeRuntimeCall
4092
4100
  >;
4093
4101
 
4094
4102
  /**
4103
+ * The current round of the multisig voting.
4104
+ *
4105
+ * Votes are only valid for the current round.
4095
4106
  *
4096
4107
  * @param {Callback<number> =} callback
4097
4108
  **/
4098
4109
  managerMultisigRound: GenericStorageQuery<() => number>;
4099
4110
 
4111
+ /**
4112
+ * How often each participant voted in the current round.
4113
+ *
4114
+ * Will be cleared at the end of each round.
4115
+ *
4116
+ * @param {AccountId32Like} arg
4117
+ * @param {Callback<number> =} callback
4118
+ **/
4119
+ managerVotesInCurrentRound: GenericStorageQuery<(arg: AccountId32Like) => number, AccountId32>;
4120
+
4100
4121
  /**
4101
4122
  * Generic pallet storage query
4102
4123
  **/
@@ -16,7 +16,6 @@ import type {
16
16
  BytesLike,
17
17
  } from 'dedot/codecs';
18
18
  import type {
19
- RelayCommonApisInflationInfo,
20
19
  SpRuntimeBlock,
21
20
  SpRuntimeExtrinsicInclusionMode,
22
21
  SpCoreOpaqueMetadata,
@@ -93,25 +92,6 @@ import type {
93
92
  } from './types.js';
94
93
 
95
94
  export interface RuntimeApis extends GenericRuntimeApis {
96
- /**
97
- * @runtimeapi: Inflation - 0xc51ff1fa3f5d0cca
98
- **/
99
- inflation: {
100
- /**
101
- * Return the current estimates of the inflation amount.
102
- *
103
- * This is marked as experimental in light of RFC#89. Nonetheless, its usage is highly
104
- * recommended over trying to read-storage, or re-create the onchain logic.
105
- *
106
- * @callname: Inflation_experimental_inflation_prediction_info
107
- **/
108
- experimentalInflationPredictionInfo: GenericRuntimeApiMethod<() => Promise<RelayCommonApisInflationInfo>>;
109
-
110
- /**
111
- * Generic runtime api call
112
- **/
113
- [method: string]: GenericRuntimeApiMethod;
114
- };
115
95
  /**
116
96
  * @runtimeapi: Core - 0xdf6acb689907609b
117
97
  **/
package/paseo/tx.d.ts CHANGED
@@ -99,6 +99,7 @@ import type {
99
99
  StagingXcmV5Response,
100
100
  PalletRcMigratorQueuePriority,
101
101
  PalletRcMigratorManagerMultisigVote,
102
+ PalletRcMigratorMigrationSettings,
102
103
  } from './types.js';
103
104
 
104
105
  export type ChainSubmittableExtrinsic<
@@ -10818,6 +10819,24 @@ export interface ChainTx<
10818
10819
  >
10819
10820
  >;
10820
10821
 
10822
+ /**
10823
+ * Set the migration settings. Can only be done by admin or manager.
10824
+ *
10825
+ * @param {PalletRcMigratorMigrationSettings | undefined} settings
10826
+ **/
10827
+ setSettings: GenericTxCall<
10828
+ (settings: PalletRcMigratorMigrationSettings | undefined) => ChainSubmittableExtrinsic<
10829
+ {
10830
+ pallet: 'RcMigrator';
10831
+ palletCall: {
10832
+ name: 'SetSettings';
10833
+ params: { settings: PalletRcMigratorMigrationSettings | undefined };
10834
+ };
10835
+ },
10836
+ ChainKnownTypes
10837
+ >
10838
+ >;
10839
+
10821
10840
  /**
10822
10841
  * Generic pallet tx call
10823
10842
  **/
package/paseo/types.d.ts CHANGED
@@ -24,7 +24,6 @@ import type {
24
24
  UncheckedExtrinsic,
25
25
  Era,
26
26
  FixedI64,
27
- Perquintill,
28
27
  } from 'dedot/codecs';
29
28
 
30
29
  export type FrameSystemAccountInfo = {
@@ -11416,7 +11415,11 @@ export type PalletRcMigratorCall =
11416
11415
  | {
11417
11416
  name: 'VoteManagerMultisig';
11418
11417
  params: { payload: PalletRcMigratorManagerMultisigVote; sig: SpRuntimeMultiSignature };
11419
- };
11418
+ }
11419
+ /**
11420
+ * Set the migration settings. Can only be done by admin or manager.
11421
+ **/
11422
+ | { name: 'SetSettings'; params: { settings?: PalletRcMigratorMigrationSettings | undefined } };
11420
11423
 
11421
11424
  export type PalletRcMigratorCallLike =
11422
11425
  /**
@@ -11534,7 +11537,11 @@ export type PalletRcMigratorCallLike =
11534
11537
  | {
11535
11538
  name: 'VoteManagerMultisig';
11536
11539
  params: { payload: PalletRcMigratorManagerMultisigVote; sig: SpRuntimeMultiSignature };
11537
- };
11540
+ }
11541
+ /**
11542
+ * Set the migration settings. Can only be done by admin or manager.
11543
+ **/
11544
+ | { name: 'SetSettings'; params: { settings?: PalletRcMigratorMigrationSettings | undefined } };
11538
11545
 
11539
11546
  export type PalletRcMigratorMigrationStage =
11540
11547
  | { type: 'Pending' }
@@ -11739,6 +11746,11 @@ export type PalletRcMigratorManagerMultisigVote = {
11739
11746
  round: number;
11740
11747
  };
11741
11748
 
11749
+ export type PalletRcMigratorMigrationSettings = {
11750
+ maxAccountsPerBlock?: number | undefined;
11751
+ maxItemsPerBlock?: number | undefined;
11752
+ };
11753
+
11742
11754
  export type SpRuntimeBlakeTwo256 = {};
11743
11755
 
11744
11756
  export type PalletConvictionVotingTally = { ayes: bigint; nays: bigint; support: bigint };
@@ -13446,7 +13458,24 @@ export type PalletRcMigratorEvent =
13446
13458
  /**
13447
13459
  * The manager multisig received a vote.
13448
13460
  **/
13449
- | { name: 'ManagerMultisigVoted'; data: { votes: number } };
13461
+ | { name: 'ManagerMultisigVoted'; data: { votes: number } }
13462
+ /**
13463
+ * The migration settings were set.
13464
+ **/
13465
+ | {
13466
+ name: 'MigrationSettingsSet';
13467
+ data: {
13468
+ /**
13469
+ * The old migration settings.
13470
+ **/
13471
+ old?: PalletRcMigratorMigrationSettings | undefined;
13472
+
13473
+ /**
13474
+ * The new migration settings.
13475
+ **/
13476
+ new?: PalletRcMigratorMigrationSettings | undefined;
13477
+ };
13478
+ };
13450
13479
 
13451
13480
  export type FrameSystemLastRuntimeUpgradeInfo = { specVersion: number; specName: string };
13452
13481
 
@@ -16391,9 +16420,11 @@ export type PalletRcMigratorError =
16391
16420
  /**
16392
16421
  * The stage transition is invalid.
16393
16422
  **/
16394
- | 'InvalidStageTransition';
16395
-
16396
- export type RelayCommonApisInflationInfo = { inflation: Perquintill; nextMint: [bigint, bigint] };
16423
+ | 'InvalidStageTransition'
16424
+ /**
16425
+ * Unsigned validation failed.
16426
+ **/
16427
+ | 'UnsignedValidationFailed';
16397
16428
 
16398
16429
  export type SpRuntimeExtrinsicInclusionMode = 'AllExtrinsics' | 'OnlyInherents';
16399
16430
 
@@ -4441,6 +4441,54 @@ export interface ChainEvents extends GenericChainEvents {
4441
4441
  }
4442
4442
  >;
4443
4443
 
4444
+ /**
4445
+ * Failed to unreserve a multisig deposit.
4446
+ **/
4447
+ FailedToUnreserveMultisigDeposit: GenericPalletEvent<
4448
+ 'AhMigrator',
4449
+ 'FailedToUnreserveMultisigDeposit',
4450
+ {
4451
+ /**
4452
+ * The expected amount of the deposit that was expected to be unreserved.
4453
+ **/
4454
+ expectedAmount: bigint;
4455
+
4456
+ /**
4457
+ * The missing amount of the deposit.
4458
+ **/
4459
+ missingAmount: bigint;
4460
+
4461
+ /**
4462
+ * The account that the deposit was unreserved from.
4463
+ **/
4464
+ account: AccountId32;
4465
+ }
4466
+ >;
4467
+
4468
+ /**
4469
+ * Failed to unreserve a legacy status preimage deposit.
4470
+ **/
4471
+ FailedToUnreservePreimageDeposit: GenericPalletEvent<
4472
+ 'AhMigrator',
4473
+ 'FailedToUnreservePreimageDeposit',
4474
+ {
4475
+ /**
4476
+ * The expected amount of the deposit that was expected to be unreserved.
4477
+ **/
4478
+ expectedAmount: bigint;
4479
+
4480
+ /**
4481
+ * The missing amount of the deposit.
4482
+ **/
4483
+ missingAmount: bigint;
4484
+
4485
+ /**
4486
+ * The account that the deposit was unreserved from.
4487
+ **/
4488
+ account: AccountId32;
4489
+ }
4490
+ >;
4491
+
4444
4492
  /**
4445
4493
  * Generic pallet event
4446
4494
  **/
@@ -3,6 +3,7 @@
3
3
  import type { GenericSubstrateApi, GenericChainKnownTypes } from 'dedot/types';
4
4
  import type { MultiAddress } from 'dedot/codecs';
5
5
  import type {
6
+ FrameSystemEventRecord,
6
7
  AssetHubPaseoRuntimeRuntimeCall,
7
8
  SpRuntimeMultiSignature,
8
9
  FrameSystemExtensionsCheckNonZeroSender,
@@ -43,11 +44,12 @@ interface ChainKnownTypes extends GenericChainKnownTypes {
43
44
  FrameMetadataHashExtensionCheckMetadataHash,
44
45
  ];
45
46
  AssetId: StagingXcmV5Location;
47
+ EventRecord: FrameSystemEventRecord;
46
48
  }
47
49
 
48
50
  /**
49
51
  * @name: PaseoAssetHubApi
50
- * @specVersion: 2000001
52
+ * @specVersion: 2000002
51
53
  **/
52
54
  export interface PaseoAssetHubApi extends GenericSubstrateApi {
53
55
  rpc: ChainJsonRpcApis;
@@ -54,6 +54,7 @@ import type {
54
54
  CumulusPrimitivesCoreCollationInfo,
55
55
  StagingXcmV5Location,
56
56
  PolkadotParachainPrimitivesPrimitivesId,
57
+ SystemParachainsCommonApisInflationInfo,
57
58
  PalletRevivePrimitivesContractResult,
58
59
  PalletRevivePrimitivesContractResultInstantiateReturnValue,
59
60
  PalletRevivePrimitivesCode,
@@ -1000,6 +1001,25 @@ export interface RuntimeApis extends GenericRuntimeApis {
1000
1001
  **/
1001
1002
  [method: string]: GenericRuntimeApiMethod;
1002
1003
  };
1004
+ /**
1005
+ * @runtimeapi: Inflation - 0xc51ff1fa3f5d0cca
1006
+ **/
1007
+ inflation: {
1008
+ /**
1009
+ * Return the current estimates of the issuance amount.
1010
+ *
1011
+ * This is marked as experimental in light of RFC#89. Nonetheless, its usage is highly
1012
+ * recommended over trying to read-storage, or re-create the onchain logic.
1013
+ *
1014
+ * @callname: Inflation_experimental_issuance_prediction_info
1015
+ **/
1016
+ experimentalIssuancePredictionInfo: GenericRuntimeApiMethod<() => Promise<SystemParachainsCommonApisInflationInfo>>;
1017
+
1018
+ /**
1019
+ * Generic runtime api call
1020
+ **/
1021
+ [method: string]: GenericRuntimeApiMethod;
1022
+ };
1003
1023
  /**
1004
1024
  * @runtimeapi: ReviveApi - 0x8c403e5c4a9fd442
1005
1025
  **/
@@ -15245,14 +15245,18 @@ export interface ChainTx<
15245
15245
  * so we do not need to do it this time.
15246
15246
  *
15247
15247
  * @param {PalletRcMigratorMigrationFinishedData | undefined} data
15248
+ * @param {number} coolOffEndAt
15248
15249
  **/
15249
15250
  finishMigration: GenericTxCall<
15250
- (data: PalletRcMigratorMigrationFinishedData | undefined) => ChainSubmittableExtrinsic<
15251
+ (
15252
+ data: PalletRcMigratorMigrationFinishedData | undefined,
15253
+ coolOffEndAt: number,
15254
+ ) => ChainSubmittableExtrinsic<
15251
15255
  {
15252
15256
  pallet: 'AhMigrator';
15253
15257
  palletCall: {
15254
15258
  name: 'FinishMigration';
15255
- params: { data: PalletRcMigratorMigrationFinishedData | undefined };
15259
+ params: { data: PalletRcMigratorMigrationFinishedData | undefined; coolOffEndAt: number };
15256
15260
  };
15257
15261
  },
15258
15262
  ChainKnownTypes
@@ -26,6 +26,7 @@ import type {
26
26
  UncheckedExtrinsic,
27
27
  Era,
28
28
  FixedI64,
29
+ Perquintill,
29
30
  } from 'dedot/codecs';
30
31
 
31
32
  export type FrameSystemAccountInfo = {
@@ -17469,7 +17470,10 @@ export type PalletAhMigratorCall =
17469
17470
  * for some pallets and have already performed the checking account balance correction,
17470
17471
  * so we do not need to do it this time.
17471
17472
  **/
17472
- | { name: 'FinishMigration'; params: { data?: PalletRcMigratorMigrationFinishedData | undefined } }
17473
+ | {
17474
+ name: 'FinishMigration';
17475
+ params: { data?: PalletRcMigratorMigrationFinishedData | undefined; coolOffEndAt: number };
17476
+ }
17473
17477
  /**
17474
17478
  * XCM send call identical to the [`pallet_xcm::Pallet::send`] call but with the
17475
17479
  * [Config::SendXcm] router which will be able to send messages to the Relay Chain during
@@ -17590,7 +17594,10 @@ export type PalletAhMigratorCallLike =
17590
17594
  * for some pallets and have already performed the checking account balance correction,
17591
17595
  * so we do not need to do it this time.
17592
17596
  **/
17593
- | { name: 'FinishMigration'; params: { data?: PalletRcMigratorMigrationFinishedData | undefined } }
17597
+ | {
17598
+ name: 'FinishMigration';
17599
+ params: { data?: PalletRcMigratorMigrationFinishedData | undefined; coolOffEndAt: number };
17600
+ }
17594
17601
  /**
17595
17602
  * XCM send call identical to the [`pallet_xcm::Pallet::send`] call but with the
17596
17603
  * [Config::SendXcm] router which will be able to send messages to the Relay Chain during
@@ -18120,7 +18127,11 @@ export type PalletRcMigratorStakingMessagePortableUnappliedSlash = {
18120
18127
  payout: bigint;
18121
18128
  };
18122
18129
 
18123
- export type PalletAhMigratorMigrationStage = 'Pending' | 'DataMigrationOngoing' | 'MigrationDone';
18130
+ export type PalletAhMigratorMigrationStage =
18131
+ | { type: 'Pending' }
18132
+ | { type: 'DataMigrationOngoing' }
18133
+ | { type: 'MigrationDone' }
18134
+ | { type: 'CoolOff'; value: { endAt: number } };
18124
18135
 
18125
18136
  export type PalletRcMigratorQueuePriority =
18126
18137
  | { type: 'Config' }
@@ -19012,6 +19023,50 @@ export type PalletAhMigratorEvent =
19012
19023
  message: StagingXcmV5Xcm;
19013
19024
  messageId: FixedBytes<32>;
19014
19025
  };
19026
+ }
19027
+ /**
19028
+ * Failed to unreserve a multisig deposit.
19029
+ **/
19030
+ | {
19031
+ name: 'FailedToUnreserveMultisigDeposit';
19032
+ data: {
19033
+ /**
19034
+ * The expected amount of the deposit that was expected to be unreserved.
19035
+ **/
19036
+ expectedAmount: bigint;
19037
+
19038
+ /**
19039
+ * The missing amount of the deposit.
19040
+ **/
19041
+ missingAmount: bigint;
19042
+
19043
+ /**
19044
+ * The account that the deposit was unreserved from.
19045
+ **/
19046
+ account: AccountId32;
19047
+ };
19048
+ }
19049
+ /**
19050
+ * Failed to unreserve a legacy status preimage deposit.
19051
+ **/
19052
+ | {
19053
+ name: 'FailedToUnreservePreimageDeposit';
19054
+ data: {
19055
+ /**
19056
+ * The expected amount of the deposit that was expected to be unreserved.
19057
+ **/
19058
+ expectedAmount: bigint;
19059
+
19060
+ /**
19061
+ * The missing amount of the deposit.
19062
+ **/
19063
+ missingAmount: bigint;
19064
+
19065
+ /**
19066
+ * The account that the deposit was unreserved from.
19067
+ **/
19068
+ account: AccountId32;
19069
+ };
19015
19070
  };
19016
19071
 
19017
19072
  export type PalletAhMigratorPalletEventName =
@@ -22124,6 +22179,8 @@ export type CumulusPrimitivesCoreCollationInfo = {
22124
22179
 
22125
22180
  export type PolkadotParachainPrimitivesPrimitivesValidationCode = Bytes;
22126
22181
 
22182
+ export type SystemParachainsCommonApisInflationInfo = { issuance: Perquintill; nextMint: [bigint, bigint] };
22183
+
22127
22184
  export type PalletRevivePrimitivesContractResult = {
22128
22185
  gasConsumed: SpWeightsWeightV2Weight;
22129
22186
  gasRequired: SpWeightsWeightV2Weight;
@@ -3,6 +3,7 @@
3
3
  import type { GenericSubstrateApi, GenericChainKnownTypes } from 'dedot/types';
4
4
  import type { AccountId32 } from 'dedot/codecs';
5
5
  import type {
6
+ FrameSystemEventRecord,
6
7
  HydradxRuntimeRuntimeCall,
7
8
  SpRuntimeMultiSignature,
8
9
  FrameSystemExtensionsCheckNonZeroSender,
@@ -46,6 +47,7 @@ interface ChainKnownTypes extends GenericChainKnownTypes {
46
47
  CumulusPrimitivesStorageWeightReclaimStorageWeightReclaim,
47
48
  ];
48
49
  AssetId: undefined;
50
+ EventRecord: FrameSystemEventRecord;
49
51
  }
50
52
 
51
53
  /**
@@ -3,6 +3,7 @@
3
3
  import type { GenericSubstrateApi, GenericChainKnownTypes } from 'dedot/types';
4
4
  import type { MultiAddress } from 'dedot/codecs';
5
5
  import type {
6
+ FrameSystemEventRecord,
6
7
  PeoplePaseoRuntimeRuntimeCall,
7
8
  SpRuntimeMultiSignature,
8
9
  FrameSystemExtensionsCheckNonZeroSender,
@@ -42,11 +43,12 @@ interface ChainKnownTypes extends GenericChainKnownTypes {
42
43
  FrameMetadataHashExtensionCheckMetadataHash,
43
44
  ];
44
45
  AssetId: undefined;
46
+ EventRecord: FrameSystemEventRecord;
45
47
  }
46
48
 
47
49
  /**
48
50
  * @name: PaseoPeopleApi
49
- * @specVersion: 2000001
51
+ * @specVersion: 2000002
50
52
  **/
51
53
  export interface PaseoPeopleApi extends GenericSubstrateApi {
52
54
  rpc: ChainJsonRpcApis;
@@ -3,6 +3,7 @@
3
3
  import type { GenericSubstrateApi, GenericChainKnownTypes } from 'dedot/types';
4
4
  import type { MultiAddress } from 'dedot/codecs';
5
5
  import type {
6
+ FrameSystemEventRecord,
6
7
  PolkadotRuntimeRuntimeCall,
7
8
  SpRuntimeMultiSignature,
8
9
  FrameSystemExtensionsCheckNonZeroSender,
@@ -44,6 +45,7 @@ interface ChainKnownTypes extends GenericChainKnownTypes {
44
45
  FrameMetadataHashExtensionCheckMetadataHash,
45
46
  ];
46
47
  AssetId: undefined;
48
+ EventRecord: FrameSystemEventRecord;
47
49
  }
48
50
 
49
51
  /**
@@ -3,6 +3,7 @@
3
3
  import type { GenericSubstrateApi, GenericChainKnownTypes } from 'dedot/types';
4
4
  import type { MultiAddress } from 'dedot/codecs';
5
5
  import type {
6
+ FrameSystemEventRecord,
6
7
  AssetHubPolkadotRuntimeRuntimeCall,
7
8
  SpRuntimeMultiSignature,
8
9
  FrameSystemExtensionsCheckNonZeroSender,
@@ -43,6 +44,7 @@ interface ChainKnownTypes extends GenericChainKnownTypes {
43
44
  FrameMetadataHashExtensionCheckMetadataHash,
44
45
  ];
45
46
  AssetId: StagingXcmV5Location;
47
+ EventRecord: FrameSystemEventRecord;
46
48
  }
47
49
 
48
50
  /**
@@ -3,6 +3,7 @@
3
3
  import type { GenericSubstrateApi, GenericChainKnownTypes } from 'dedot/types';
4
4
  import type { MultiAddress } from 'dedot/codecs';
5
5
  import type {
6
+ FrameSystemEventRecord,
6
7
  PeoplePolkadotRuntimeRuntimeCall,
7
8
  SpRuntimeMultiSignature,
8
9
  FrameSystemExtensionsCheckNonZeroSender,
@@ -42,6 +43,7 @@ interface ChainKnownTypes extends GenericChainKnownTypes {
42
43
  FrameMetadataHashExtensionCheckMetadataHash,
43
44
  ];
44
45
  AssetId: undefined;
46
+ EventRecord: FrameSystemEventRecord;
45
47
  }
46
48
 
47
49
  /**
@@ -3,6 +3,7 @@
3
3
  import type { GenericSubstrateApi, GenericChainKnownTypes } from 'dedot/types';
4
4
  import type { MultiAddress } from 'dedot/codecs';
5
5
  import type {
6
+ FrameSystemEventRecord,
6
7
  KitchensinkRuntimeRuntimeCall,
7
8
  SpRuntimeMultiSignature,
8
9
  FrameSystemExtensionsCheckNonZeroSender,
@@ -45,6 +46,7 @@ interface ChainKnownTypes extends GenericChainKnownTypes {
45
46
  FrameSystemExtensionsWeightReclaim,
46
47
  ];
47
48
  AssetId: FrameSupportTokensFungibleUnionOfNativeOrWithId;
49
+ EventRecord: FrameSystemEventRecord;
48
50
  }
49
51
 
50
52
  /**
package/vara/index.d.ts CHANGED
@@ -3,6 +3,7 @@
3
3
  import type { GenericSubstrateApi, GenericChainKnownTypes } from 'dedot/types';
4
4
  import type { MultiAddress } from 'dedot/codecs';
5
5
  import type {
6
+ FrameSystemEventRecord,
6
7
  VaraRuntimeRuntimeCall,
7
8
  SpRuntimeMultiSignature,
8
9
  PalletGearStakingRewardsExtensionStakingBlackList,
@@ -44,6 +45,7 @@ interface ChainKnownTypes extends GenericChainKnownTypes {
44
45
  FrameMetadataHashExtensionCheckMetadataHash,
45
46
  ];
46
47
  AssetId: undefined;
48
+ EventRecord: FrameSystemEventRecord;
47
49
  }
48
50
 
49
51
  /**
@@ -3,6 +3,7 @@
3
3
  import type { GenericSubstrateApi, GenericChainKnownTypes } from 'dedot/types';
4
4
  import type { MultiAddress } from 'dedot/codecs';
5
5
  import type {
6
+ FrameSystemEventRecord,
6
7
  WestendRuntimeRuntimeCall,
7
8
  SpRuntimeMultiSignature,
8
9
  FrameSystemExtensionsAuthorizeCall,
@@ -46,6 +47,7 @@ interface ChainKnownTypes extends GenericChainKnownTypes {
46
47
  FrameSystemExtensionsWeightReclaim,
47
48
  ];
48
49
  AssetId: undefined;
50
+ EventRecord: FrameSystemEventRecord;
49
51
  }
50
52
 
51
53
  /**
@@ -3,6 +3,7 @@
3
3
  import type { GenericSubstrateApi, GenericChainKnownTypes } from 'dedot/types';
4
4
  import type { MultiAddress } from 'dedot/codecs';
5
5
  import type {
6
+ FrameSystemEventRecord,
6
7
  AssetHubWestendRuntimeRuntimeCall,
7
8
  SpRuntimeMultiSignature,
8
9
  FrameSystemExtensionsAuthorizeCall,
@@ -48,6 +49,7 @@ interface ChainKnownTypes extends GenericChainKnownTypes {
48
49
  [],
49
50
  ];
50
51
  AssetId: StagingXcmV5Location;
52
+ EventRecord: FrameSystemEventRecord;
51
53
  }
52
54
 
53
55
  /**
@@ -3,6 +3,7 @@
3
3
  import type { GenericSubstrateApi, GenericChainKnownTypes } from 'dedot/types';
4
4
  import type { MultiAddress } from 'dedot/codecs';
5
5
  import type {
6
+ FrameSystemEventRecord,
6
7
  PeopleWestendRuntimeRuntimeCall,
7
8
  SpRuntimeMultiSignature,
8
9
  FrameSystemExtensionsAuthorizeCall,
@@ -43,6 +44,7 @@ interface ChainKnownTypes extends GenericChainKnownTypes {
43
44
  [],
44
45
  ];
45
46
  AssetId: undefined;
47
+ EventRecord: FrameSystemEventRecord;
46
48
  }
47
49
 
48
50
  /**