@dedot/chaintypes 0.134.0 → 0.136.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/astar/types.d.ts CHANGED
@@ -93,6 +93,8 @@ export type AstarRuntimeRuntimeEvent =
93
93
  | { pallet: 'Treasury'; palletEvent: PalletTreasuryEvent }
94
94
  | { pallet: 'CommunityTreasury'; palletEvent: PalletTreasuryEvent }
95
95
  | { pallet: 'CollectiveProxy'; palletEvent: PalletCollectiveProxyEvent }
96
+ | { pallet: 'SafeMode'; palletEvent: PalletSafeModeEvent }
97
+ | { pallet: 'TxPause'; palletEvent: PalletTxPauseEvent }
96
98
  | { pallet: 'MultiBlockMigrations'; palletEvent: PalletMigrationsEvent };
97
99
 
98
100
  /**
@@ -2267,6 +2269,62 @@ export type PalletCollectiveProxyEvent =
2267
2269
  **/
2268
2270
  { name: 'CollectiveProxyExecuted'; data: { result: Result<[], DispatchError> } };
2269
2271
 
2272
+ /**
2273
+ * The `Event` enum of this pallet
2274
+ **/
2275
+ export type PalletSafeModeEvent =
2276
+ /**
2277
+ * The safe-mode was entered until inclusively this block.
2278
+ **/
2279
+ | { name: 'Entered'; data: { until: number } }
2280
+ /**
2281
+ * The safe-mode was extended until inclusively this block.
2282
+ **/
2283
+ | { name: 'Extended'; data: { until: number } }
2284
+ /**
2285
+ * Exited the safe-mode for a specific reason.
2286
+ **/
2287
+ | { name: 'Exited'; data: { reason: PalletSafeModeExitReason } }
2288
+ /**
2289
+ * An account reserved funds for either entering or extending the safe-mode.
2290
+ **/
2291
+ | { name: 'DepositPlaced'; data: { account: AccountId32; amount: bigint } }
2292
+ /**
2293
+ * An account had a reserve released that was reserved.
2294
+ **/
2295
+ | { name: 'DepositReleased'; data: { account: AccountId32; amount: bigint } }
2296
+ /**
2297
+ * An account had reserve slashed that was reserved.
2298
+ **/
2299
+ | { name: 'DepositSlashed'; data: { account: AccountId32; amount: bigint } }
2300
+ /**
2301
+ * Could not hold funds for entering or extending the safe-mode.
2302
+ *
2303
+ * This error comes from the underlying `Currency`.
2304
+ **/
2305
+ | { name: 'CannotDeposit' }
2306
+ /**
2307
+ * Could not release funds for entering or extending the safe-mode.
2308
+ *
2309
+ * This error comes from the underlying `Currency`.
2310
+ **/
2311
+ | { name: 'CannotRelease' };
2312
+
2313
+ export type PalletSafeModeExitReason = 'Timeout' | 'Force';
2314
+
2315
+ /**
2316
+ * The `Event` enum of this pallet
2317
+ **/
2318
+ export type PalletTxPauseEvent =
2319
+ /**
2320
+ * This pallet, or a specific call is now paused.
2321
+ **/
2322
+ | { name: 'CallPaused'; data: { fullName: [Bytes, Bytes] } }
2323
+ /**
2324
+ * This pallet, or a specific call is now unpaused.
2325
+ **/
2326
+ | { name: 'CallUnpaused'; data: { fullName: [Bytes, Bytes] } };
2327
+
2270
2328
  /**
2271
2329
  * The `Event` enum of this pallet
2272
2330
  **/
@@ -2821,6 +2879,8 @@ export type AstarRuntimeRuntimeCall =
2821
2879
  | { pallet: 'Treasury'; palletCall: PalletTreasuryCall }
2822
2880
  | { pallet: 'CommunityTreasury'; palletCall: PalletTreasuryCall }
2823
2881
  | { pallet: 'CollectiveProxy'; palletCall: PalletCollectiveProxyCall }
2882
+ | { pallet: 'SafeMode'; palletCall: PalletSafeModeCall }
2883
+ | { pallet: 'TxPause'; palletCall: PalletTxPauseCall }
2824
2884
  | { pallet: 'MultiBlockMigrations'; palletCall: PalletMigrationsCall };
2825
2885
 
2826
2886
  export type AstarRuntimeRuntimeCallLike =
@@ -2864,6 +2924,8 @@ export type AstarRuntimeRuntimeCallLike =
2864
2924
  | { pallet: 'Treasury'; palletCall: PalletTreasuryCallLike }
2865
2925
  | { pallet: 'CommunityTreasury'; palletCall: PalletTreasuryCallLike }
2866
2926
  | { pallet: 'CollectiveProxy'; palletCall: PalletCollectiveProxyCallLike }
2927
+ | { pallet: 'SafeMode'; palletCall: PalletSafeModeCallLike }
2928
+ | { pallet: 'TxPause'; palletCall: PalletTxPauseCallLike }
2867
2929
  | { pallet: 'MultiBlockMigrations'; palletCall: PalletMigrationsCallLike };
2868
2930
 
2869
2931
  /**
@@ -6420,7 +6482,15 @@ export type PalletCollatorSelectionCall =
6420
6482
  * Set slash destination.
6421
6483
  * Use `Some` to deposit slashed balance into destination or `None` to burn it.
6422
6484
  **/
6423
- | { name: 'SetSlashDestination'; params: { destination?: AccountId32 | undefined } };
6485
+ | { name: 'SetSlashDestination'; params: { destination?: AccountId32 | undefined } }
6486
+ /**
6487
+ * Add an invulnerable collator.
6488
+ **/
6489
+ | { name: 'AddInvulnerable'; params: { who: AccountId32 } }
6490
+ /**
6491
+ * Remove an invulnerable collator.
6492
+ **/
6493
+ | { name: 'RemoveInvulnerable'; params: { who: AccountId32 } };
6424
6494
 
6425
6495
  export type PalletCollatorSelectionCallLike =
6426
6496
  /**
@@ -6462,7 +6532,15 @@ export type PalletCollatorSelectionCallLike =
6462
6532
  * Set slash destination.
6463
6533
  * Use `Some` to deposit slashed balance into destination or `None` to burn it.
6464
6534
  **/
6465
- | { name: 'SetSlashDestination'; params: { destination?: AccountId32Like | undefined } };
6535
+ | { name: 'SetSlashDestination'; params: { destination?: AccountId32Like | undefined } }
6536
+ /**
6537
+ * Add an invulnerable collator.
6538
+ **/
6539
+ | { name: 'AddInvulnerable'; params: { who: AccountId32Like } }
6540
+ /**
6541
+ * Remove an invulnerable collator.
6542
+ **/
6543
+ | { name: 'RemoveInvulnerable'; params: { who: AccountId32Like } };
6466
6544
 
6467
6545
  /**
6468
6546
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -9720,6 +9798,236 @@ export type PalletCollectiveProxyCallLike =
9720
9798
  **/
9721
9799
  { name: 'ExecuteCall'; params: { call: AstarRuntimeRuntimeCallLike } };
9722
9800
 
9801
+ /**
9802
+ * Contains a variant per dispatchable extrinsic that this pallet has.
9803
+ **/
9804
+ export type PalletSafeModeCall =
9805
+ /**
9806
+ * Enter safe-mode permissionlessly for [`Config::EnterDuration`] blocks.
9807
+ *
9808
+ * Reserves [`Config::EnterDepositAmount`] from the caller's account.
9809
+ * Emits an [`Event::Entered`] event on success.
9810
+ * Errors with [`Error::Entered`] if the safe-mode is already entered.
9811
+ * Errors with [`Error::NotConfigured`] if the deposit amount is `None`.
9812
+ **/
9813
+ | { name: 'Enter' }
9814
+ /**
9815
+ * Enter safe-mode by force for a per-origin configured number of blocks.
9816
+ *
9817
+ * Emits an [`Event::Entered`] event on success.
9818
+ * Errors with [`Error::Entered`] if the safe-mode is already entered.
9819
+ *
9820
+ * Can only be called by the [`Config::ForceEnterOrigin`] origin.
9821
+ **/
9822
+ | { name: 'ForceEnter' }
9823
+ /**
9824
+ * Extend the safe-mode permissionlessly for [`Config::ExtendDuration`] blocks.
9825
+ *
9826
+ * This accumulates on top of the current remaining duration.
9827
+ * Reserves [`Config::ExtendDepositAmount`] from the caller's account.
9828
+ * Emits an [`Event::Extended`] event on success.
9829
+ * Errors with [`Error::Exited`] if the safe-mode is entered.
9830
+ * Errors with [`Error::NotConfigured`] if the deposit amount is `None`.
9831
+ *
9832
+ * This may be called by any signed origin with [`Config::ExtendDepositAmount`] free
9833
+ * currency to reserve. This call can be disabled for all origins by configuring
9834
+ * [`Config::ExtendDepositAmount`] to `None`.
9835
+ **/
9836
+ | { name: 'Extend' }
9837
+ /**
9838
+ * Extend the safe-mode by force for a per-origin configured number of blocks.
9839
+ *
9840
+ * Emits an [`Event::Extended`] event on success.
9841
+ * Errors with [`Error::Exited`] if the safe-mode is inactive.
9842
+ *
9843
+ * Can only be called by the [`Config::ForceExtendOrigin`] origin.
9844
+ **/
9845
+ | { name: 'ForceExtend' }
9846
+ /**
9847
+ * Exit safe-mode by force.
9848
+ *
9849
+ * Emits an [`Event::Exited`] with [`ExitReason::Force`] event on success.
9850
+ * Errors with [`Error::Exited`] if the safe-mode is inactive.
9851
+ *
9852
+ * Note: `safe-mode` will be automatically deactivated by [`Pallet::on_initialize`] hook
9853
+ * after the block height is greater than the [`EnteredUntil`] storage item.
9854
+ * Emits an [`Event::Exited`] with [`ExitReason::Timeout`] event when deactivated in the
9855
+ * hook.
9856
+ **/
9857
+ | { name: 'ForceExit' }
9858
+ /**
9859
+ * Slash a deposit for an account that entered or extended safe-mode at a given
9860
+ * historical block.
9861
+ *
9862
+ * This can only be called while safe-mode is entered.
9863
+ *
9864
+ * Emits a [`Event::DepositSlashed`] event on success.
9865
+ * Errors with [`Error::Entered`] if safe-mode is entered.
9866
+ *
9867
+ * Can only be called by the [`Config::ForceDepositOrigin`] origin.
9868
+ **/
9869
+ | { name: 'ForceSlashDeposit'; params: { account: AccountId32; block: number } }
9870
+ /**
9871
+ * Permissionlessly release a deposit for an account that entered safe-mode at a
9872
+ * given historical block.
9873
+ *
9874
+ * The call can be completely disabled by setting [`Config::ReleaseDelay`] to `None`.
9875
+ * This cannot be called while safe-mode is entered and not until
9876
+ * [`Config::ReleaseDelay`] blocks have passed since safe-mode was entered.
9877
+ *
9878
+ * Emits a [`Event::DepositReleased`] event on success.
9879
+ * Errors with [`Error::Entered`] if the safe-mode is entered.
9880
+ * Errors with [`Error::CannotReleaseYet`] if [`Config::ReleaseDelay`] block have not
9881
+ * passed since safe-mode was entered. Errors with [`Error::NoDeposit`] if the payee has no
9882
+ * reserved currency at the block specified.
9883
+ **/
9884
+ | { name: 'ReleaseDeposit'; params: { account: AccountId32; block: number } }
9885
+ /**
9886
+ * Force to release a deposit for an account that entered safe-mode at a given
9887
+ * historical block.
9888
+ *
9889
+ * This can be called while safe-mode is still entered.
9890
+ *
9891
+ * Emits a [`Event::DepositReleased`] event on success.
9892
+ * Errors with [`Error::Entered`] if safe-mode is entered.
9893
+ * Errors with [`Error::NoDeposit`] if the payee has no reserved currency at the
9894
+ * specified block.
9895
+ *
9896
+ * Can only be called by the [`Config::ForceDepositOrigin`] origin.
9897
+ **/
9898
+ | { name: 'ForceReleaseDeposit'; params: { account: AccountId32; block: number } };
9899
+
9900
+ export type PalletSafeModeCallLike =
9901
+ /**
9902
+ * Enter safe-mode permissionlessly for [`Config::EnterDuration`] blocks.
9903
+ *
9904
+ * Reserves [`Config::EnterDepositAmount`] from the caller's account.
9905
+ * Emits an [`Event::Entered`] event on success.
9906
+ * Errors with [`Error::Entered`] if the safe-mode is already entered.
9907
+ * Errors with [`Error::NotConfigured`] if the deposit amount is `None`.
9908
+ **/
9909
+ | { name: 'Enter' }
9910
+ /**
9911
+ * Enter safe-mode by force for a per-origin configured number of blocks.
9912
+ *
9913
+ * Emits an [`Event::Entered`] event on success.
9914
+ * Errors with [`Error::Entered`] if the safe-mode is already entered.
9915
+ *
9916
+ * Can only be called by the [`Config::ForceEnterOrigin`] origin.
9917
+ **/
9918
+ | { name: 'ForceEnter' }
9919
+ /**
9920
+ * Extend the safe-mode permissionlessly for [`Config::ExtendDuration`] blocks.
9921
+ *
9922
+ * This accumulates on top of the current remaining duration.
9923
+ * Reserves [`Config::ExtendDepositAmount`] from the caller's account.
9924
+ * Emits an [`Event::Extended`] event on success.
9925
+ * Errors with [`Error::Exited`] if the safe-mode is entered.
9926
+ * Errors with [`Error::NotConfigured`] if the deposit amount is `None`.
9927
+ *
9928
+ * This may be called by any signed origin with [`Config::ExtendDepositAmount`] free
9929
+ * currency to reserve. This call can be disabled for all origins by configuring
9930
+ * [`Config::ExtendDepositAmount`] to `None`.
9931
+ **/
9932
+ | { name: 'Extend' }
9933
+ /**
9934
+ * Extend the safe-mode by force for a per-origin configured number of blocks.
9935
+ *
9936
+ * Emits an [`Event::Extended`] event on success.
9937
+ * Errors with [`Error::Exited`] if the safe-mode is inactive.
9938
+ *
9939
+ * Can only be called by the [`Config::ForceExtendOrigin`] origin.
9940
+ **/
9941
+ | { name: 'ForceExtend' }
9942
+ /**
9943
+ * Exit safe-mode by force.
9944
+ *
9945
+ * Emits an [`Event::Exited`] with [`ExitReason::Force`] event on success.
9946
+ * Errors with [`Error::Exited`] if the safe-mode is inactive.
9947
+ *
9948
+ * Note: `safe-mode` will be automatically deactivated by [`Pallet::on_initialize`] hook
9949
+ * after the block height is greater than the [`EnteredUntil`] storage item.
9950
+ * Emits an [`Event::Exited`] with [`ExitReason::Timeout`] event when deactivated in the
9951
+ * hook.
9952
+ **/
9953
+ | { name: 'ForceExit' }
9954
+ /**
9955
+ * Slash a deposit for an account that entered or extended safe-mode at a given
9956
+ * historical block.
9957
+ *
9958
+ * This can only be called while safe-mode is entered.
9959
+ *
9960
+ * Emits a [`Event::DepositSlashed`] event on success.
9961
+ * Errors with [`Error::Entered`] if safe-mode is entered.
9962
+ *
9963
+ * Can only be called by the [`Config::ForceDepositOrigin`] origin.
9964
+ **/
9965
+ | { name: 'ForceSlashDeposit'; params: { account: AccountId32Like; block: number } }
9966
+ /**
9967
+ * Permissionlessly release a deposit for an account that entered safe-mode at a
9968
+ * given historical block.
9969
+ *
9970
+ * The call can be completely disabled by setting [`Config::ReleaseDelay`] to `None`.
9971
+ * This cannot be called while safe-mode is entered and not until
9972
+ * [`Config::ReleaseDelay`] blocks have passed since safe-mode was entered.
9973
+ *
9974
+ * Emits a [`Event::DepositReleased`] event on success.
9975
+ * Errors with [`Error::Entered`] if the safe-mode is entered.
9976
+ * Errors with [`Error::CannotReleaseYet`] if [`Config::ReleaseDelay`] block have not
9977
+ * passed since safe-mode was entered. Errors with [`Error::NoDeposit`] if the payee has no
9978
+ * reserved currency at the block specified.
9979
+ **/
9980
+ | { name: 'ReleaseDeposit'; params: { account: AccountId32Like; block: number } }
9981
+ /**
9982
+ * Force to release a deposit for an account that entered safe-mode at a given
9983
+ * historical block.
9984
+ *
9985
+ * This can be called while safe-mode is still entered.
9986
+ *
9987
+ * Emits a [`Event::DepositReleased`] event on success.
9988
+ * Errors with [`Error::Entered`] if safe-mode is entered.
9989
+ * Errors with [`Error::NoDeposit`] if the payee has no reserved currency at the
9990
+ * specified block.
9991
+ *
9992
+ * Can only be called by the [`Config::ForceDepositOrigin`] origin.
9993
+ **/
9994
+ | { name: 'ForceReleaseDeposit'; params: { account: AccountId32Like; block: number } };
9995
+
9996
+ /**
9997
+ * Contains a variant per dispatchable extrinsic that this pallet has.
9998
+ **/
9999
+ export type PalletTxPauseCall =
10000
+ /**
10001
+ * Pause a call.
10002
+ *
10003
+ * Can only be called by [`Config::PauseOrigin`].
10004
+ * Emits an [`Event::CallPaused`] event on success.
10005
+ **/
10006
+ | { name: 'Pause'; params: { fullName: [Bytes, Bytes] } }
10007
+ /**
10008
+ * Un-pause a call.
10009
+ *
10010
+ * Can only be called by [`Config::UnpauseOrigin`].
10011
+ * Emits an [`Event::CallUnpaused`] event on success.
10012
+ **/
10013
+ | { name: 'Unpause'; params: { ident: [Bytes, Bytes] } };
10014
+
10015
+ export type PalletTxPauseCallLike =
10016
+ /**
10017
+ * Pause a call.
10018
+ *
10019
+ * Can only be called by [`Config::PauseOrigin`].
10020
+ * Emits an [`Event::CallPaused`] event on success.
10021
+ **/
10022
+ | { name: 'Pause'; params: { fullName: [BytesLike, BytesLike] } }
10023
+ /**
10024
+ * Un-pause a call.
10025
+ *
10026
+ * Can only be called by [`Config::UnpauseOrigin`].
10027
+ * Emits an [`Event::CallUnpaused`] event on success.
10028
+ **/
10029
+ | { name: 'Unpause'; params: { ident: [BytesLike, BytesLike] } };
10030
+
9723
10031
  /**
9724
10032
  * Contains a variant per dispatchable extrinsic that this pallet has.
9725
10033
  **/
@@ -10257,7 +10565,8 @@ export type AstarRuntimeRuntimeHoldReason =
10257
10565
  | { type: 'Preimage'; value: PalletPreimageHoldReason }
10258
10566
  | { type: 'Council'; value: PalletCollectiveHoldReason }
10259
10567
  | { type: 'TechnicalCommittee'; value: PalletCollectiveHoldReason }
10260
- | { type: 'CommunityCouncil'; value: PalletCollectiveHoldReason };
10568
+ | { type: 'CommunityCouncil'; value: PalletCollectiveHoldReason }
10569
+ | { type: 'SafeMode'; value: PalletSafeModeHoldReason };
10261
10570
 
10262
10571
  export type PalletContractsHoldReason = 'CodeUploadDepositReserve' | 'StorageDepositReserve';
10263
10572
 
@@ -10265,6 +10574,8 @@ export type PalletPreimageHoldReason = 'Preimage';
10265
10574
 
10266
10575
  export type PalletCollectiveHoldReason = 'ProposalSubmission';
10267
10576
 
10577
+ export type PalletSafeModeHoldReason = 'EnterOrExtend';
10578
+
10268
10579
  export type FrameSupportTokensMiscIdAmountRuntimeFreezeReason = { id: AstarRuntimeRuntimeFreezeReason; amount: bigint };
10269
10580
 
10270
10581
  export type AstarRuntimeRuntimeFreezeReason = { type: 'DappStaking'; value: PalletDappStakingFreezeReason };
@@ -10795,6 +11106,10 @@ export type PalletCollatorSelectionError =
10795
11106
  * User is already an Invulnerable
10796
11107
  **/
10797
11108
  | 'AlreadyInvulnerable'
11109
+ /**
11110
+ * User is not an Invulnerable
11111
+ **/
11112
+ | 'NotInvulnerable'
10798
11113
  /**
10799
11114
  * Account has no associated validator ID
10800
11115
  **/
@@ -11859,6 +12174,57 @@ export type PalletTreasuryError =
11859
12174
  **/
11860
12175
  | 'ProposalNotApproved';
11861
12176
 
12177
+ /**
12178
+ * The `Error` enum of this pallet.
12179
+ **/
12180
+ export type PalletSafeModeError =
12181
+ /**
12182
+ * The safe-mode is (already or still) entered.
12183
+ **/
12184
+ | 'Entered'
12185
+ /**
12186
+ * The safe-mode is (already or still) exited.
12187
+ **/
12188
+ | 'Exited'
12189
+ /**
12190
+ * This functionality of the pallet is disabled by the configuration.
12191
+ **/
12192
+ | 'NotConfigured'
12193
+ /**
12194
+ * There is no balance reserved.
12195
+ **/
12196
+ | 'NoDeposit'
12197
+ /**
12198
+ * The account already has a deposit reserved and can therefore not enter or extend again.
12199
+ **/
12200
+ | 'AlreadyDeposited'
12201
+ /**
12202
+ * This deposit cannot be released yet.
12203
+ **/
12204
+ | 'CannotReleaseYet'
12205
+ /**
12206
+ * An error from the underlying `Currency`.
12207
+ **/
12208
+ | 'CurrencyError';
12209
+
12210
+ /**
12211
+ * The `Error` enum of this pallet.
12212
+ **/
12213
+ export type PalletTxPauseError =
12214
+ /**
12215
+ * The call is paused.
12216
+ **/
12217
+ | 'IsPaused'
12218
+ /**
12219
+ * The call is unpaused.
12220
+ **/
12221
+ | 'IsUnpaused'
12222
+ /**
12223
+ * The call is whitelisted and cannot be paused.
12224
+ **/
12225
+ | 'Unpausable'
12226
+ | 'NotFound';
12227
+
11862
12228
  /**
11863
12229
  * The `Error` enum of this pallet.
11864
12230
  **/
@@ -12094,4 +12460,6 @@ export type AstarRuntimeRuntimeError =
12094
12460
  | { pallet: 'Democracy'; palletError: PalletDemocracyError }
12095
12461
  | { pallet: 'Treasury'; palletError: PalletTreasuryError }
12096
12462
  | { pallet: 'CommunityTreasury'; palletError: PalletTreasuryError }
12463
+ | { pallet: 'SafeMode'; palletError: PalletSafeModeError }
12464
+ | { pallet: 'TxPause'; palletError: PalletTxPauseError }
12097
12465
  | { pallet: 'MultiBlockMigrations'; palletError: PalletMigrationsError };
@@ -25,7 +25,7 @@ export interface VersionedKusamaAssetHubApi<Rv extends RpcVersion> extends Gener
25
25
 
26
26
  /**
27
27
  * @name: KusamaAssetHubApi
28
- * @specVersion: 1006000
28
+ * @specVersion: 1006001
29
29
  **/
30
30
  export interface KusamaAssetHubApi {
31
31
  legacy: VersionedKusamaAssetHubApi<RpcLegacy>;
@@ -1,12 +1,13 @@
1
1
  // Generated by dedot cli
2
2
 
3
3
  import type { GenericChainConsts, RpcVersion } from 'dedot/types';
4
- import type { RuntimeVersion } from 'dedot/codecs';
4
+ import type { RuntimeVersion, AccountId32 } from 'dedot/codecs';
5
5
  import type {
6
6
  FrameSystemLimitsBlockWeights,
7
7
  FrameSystemLimitsBlockLength,
8
8
  SpWeightsRuntimeDbWeight,
9
9
  PolkadotParachainPrimitivesPrimitivesId,
10
+ FrameSupportPalletId,
10
11
  SpWeightsWeightV2Weight,
11
12
  } from './types.js';
12
13
 
@@ -209,6 +210,36 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
209
210
  * Pallet `CollatorSelection`'s constants
210
211
  **/
211
212
  collatorSelection: {
213
+ /**
214
+ * Account Identifier from which the internal Pot is generated.
215
+ **/
216
+ potId: FrameSupportPalletId;
217
+
218
+ /**
219
+ * Maximum number of candidates that we should have.
220
+ *
221
+ * This does not take into account the invulnerables.
222
+ **/
223
+ maxCandidates: number;
224
+
225
+ /**
226
+ * Minimum number eligible collators. Should always be greater than zero. This includes
227
+ * Invulnerable collators. This ensures that there will always be one collator who can
228
+ * produce a block.
229
+ **/
230
+ minEligibleCollators: number;
231
+
232
+ /**
233
+ * Maximum number of invulnerables.
234
+ **/
235
+ maxInvulnerables: number;
236
+ kickThreshold: number;
237
+
238
+ /**
239
+ * Gets this pallet's derived pot account.
240
+ **/
241
+ potAccount: AccountId32;
242
+
212
243
  /**
213
244
  * Generic pallet constant
214
245
  **/
@@ -292,6 +323,12 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
292
323
  * Pallet `PolkadotXcm`'s constants
293
324
  **/
294
325
  polkadotXcm: {
326
+ /**
327
+ * The latest supported version that we advertise. Generally just set it to
328
+ * `pallet_xcm::CurrentXcmVersion`.
329
+ **/
330
+ advertisedXcmVersion: number;
331
+
295
332
  /**
296
333
  * Generic pallet constant
297
334
  **/
@@ -96,16 +96,6 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
96
96
  **/
97
97
  NotScheduled: GenericPalletError<Rv>;
98
98
 
99
- /**
100
- * No code upgrade has been authorized.
101
- **/
102
- NothingAuthorized: GenericPalletError<Rv>;
103
-
104
- /**
105
- * The given code upgrade has not been authorized.
106
- **/
107
- Unauthorized: GenericPalletError<Rv>;
108
-
109
99
  /**
110
100
  * Generic pallet error
111
101
  **/
@@ -483,6 +473,21 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
483
473
  **/
484
474
  LocalExecutionIncomplete: GenericPalletError<Rv>;
485
475
 
476
+ /**
477
+ * Too many locations authorized to alias origin.
478
+ **/
479
+ TooManyAuthorizedAliases: GenericPalletError<Rv>;
480
+
481
+ /**
482
+ * Expiry block number is in the past.
483
+ **/
484
+ ExpiresInPast: GenericPalletError<Rv>;
485
+
486
+ /**
487
+ * The alias to remove authorization for was not found.
488
+ **/
489
+ AliasNotFound: GenericPalletError<Rv>;
490
+
486
491
  /**
487
492
  * Generic pallet error
488
493
  **/
@@ -602,12 +607,13 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
602
607
  SenderInSignatories: GenericPalletError<Rv>;
603
608
 
604
609
  /**
605
- * Multisig operation not found when attempting to cancel.
610
+ * Multisig operation not found in storage.
606
611
  **/
607
612
  NotFound: GenericPalletError<Rv>;
608
613
 
609
614
  /**
610
- * Only the account that originally created the multisig is able to cancel it.
615
+ * Only the account that originally created the multisig is able to cancel it or update
616
+ * its deposits.
611
617
  **/
612
618
  NotOwner: GenericPalletError<Rv>;
613
619