@dedot/chaintypes 0.46.0 → 0.48.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.
@@ -49,7 +49,7 @@ import type {
49
49
  PalletXcmVersionMigrationStage,
50
50
  PalletXcmRemoteLockedFungibleRecord,
51
51
  XcmVersionedAssetId,
52
- StagingXcmV4Xcm,
52
+ StagingXcmV5Xcm,
53
53
  PalletMessageQueueBookState,
54
54
  CumulusPrimitivesCoreAggregateMessageOrigin,
55
55
  PalletMessageQueuePage,
@@ -59,6 +59,9 @@ import type {
59
59
  PalletIdentityRegistration,
60
60
  PalletIdentityRegistrarInfo,
61
61
  PalletIdentityAuthorityProperties,
62
+ PalletIdentityUsernameInformation,
63
+ PalletIdentityProvider,
64
+ PalletMigrationsMigrationCursor,
62
65
  } from './types';
63
66
 
64
67
  export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage<Rv> {
@@ -1046,9 +1049,9 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1046
1049
  * Only relevant if this pallet is being used as the [`xcm_executor::traits::RecordXcm`]
1047
1050
  * implementation in the XCM executor configuration.
1048
1051
  *
1049
- * @param {Callback<StagingXcmV4Xcm | undefined> =} callback
1052
+ * @param {Callback<StagingXcmV5Xcm | undefined> =} callback
1050
1053
  **/
1051
- recordedXcm: GenericStorageQuery<Rv, () => StagingXcmV4Xcm | undefined>;
1054
+ recordedXcm: GenericStorageQuery<Rv, () => StagingXcmV5Xcm | undefined>;
1052
1055
 
1053
1056
  /**
1054
1057
  * Generic pallet storage query
@@ -1161,13 +1164,17 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1161
1164
  * TWOX-NOTE: OK ― `AccountId` is a secure hash.
1162
1165
  *
1163
1166
  * @param {AccountId32Like} arg
1164
- * @param {Callback<[PalletIdentityRegistration, Bytes | undefined] | undefined> =} callback
1167
+ * @param {Callback<PalletIdentityRegistration | undefined> =} callback
1165
1168
  **/
1166
- identityOf: GenericStorageQuery<
1167
- Rv,
1168
- (arg: AccountId32Like) => [PalletIdentityRegistration, Bytes | undefined] | undefined,
1169
- AccountId32
1170
- >;
1169
+ identityOf: GenericStorageQuery<Rv, (arg: AccountId32Like) => PalletIdentityRegistration | undefined, AccountId32>;
1170
+
1171
+ /**
1172
+ * Identifies the primary username of an account.
1173
+ *
1174
+ * @param {AccountId32Like} arg
1175
+ * @param {Callback<Bytes | undefined> =} callback
1176
+ **/
1177
+ usernameOf: GenericStorageQuery<Rv, (arg: AccountId32Like) => Bytes | undefined, AccountId32>;
1171
1178
 
1172
1179
  /**
1173
1180
  * The super-identity of an alternative "sub" identity together with its name, within that
@@ -1203,39 +1210,80 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1203
1210
  /**
1204
1211
  * A map of the accounts who are authorized to grant usernames.
1205
1212
  *
1206
- * @param {AccountId32Like} arg
1213
+ * @param {BytesLike} arg
1207
1214
  * @param {Callback<PalletIdentityAuthorityProperties | undefined> =} callback
1208
1215
  **/
1209
- usernameAuthorities: GenericStorageQuery<
1210
- Rv,
1211
- (arg: AccountId32Like) => PalletIdentityAuthorityProperties | undefined,
1212
- AccountId32
1213
- >;
1216
+ authorityOf: GenericStorageQuery<Rv, (arg: BytesLike) => PalletIdentityAuthorityProperties | undefined, Bytes>;
1214
1217
 
1215
1218
  /**
1216
- * Reverse lookup from `username` to the `AccountId` that has registered it. The value should
1217
- * be a key in the `IdentityOf` map, but it may not if the user has cleared their identity.
1219
+ * Reverse lookup from `username` to the `AccountId` that has registered it and the provider of
1220
+ * the username. The `owner` value should be a key in the `UsernameOf` map, but it may not if
1221
+ * the user has cleared their username or it has been removed.
1218
1222
  *
1219
- * Multiple usernames may map to the same `AccountId`, but `IdentityOf` will only map to one
1223
+ * Multiple usernames may map to the same `AccountId`, but `UsernameOf` will only map to one
1220
1224
  * primary username.
1221
1225
  *
1222
1226
  * @param {BytesLike} arg
1223
- * @param {Callback<AccountId32 | undefined> =} callback
1227
+ * @param {Callback<PalletIdentityUsernameInformation | undefined> =} callback
1224
1228
  **/
1225
- accountOfUsername: GenericStorageQuery<Rv, (arg: BytesLike) => AccountId32 | undefined, Bytes>;
1229
+ usernameInfoOf: GenericStorageQuery<Rv, (arg: BytesLike) => PalletIdentityUsernameInformation | undefined, Bytes>;
1226
1230
 
1227
1231
  /**
1228
1232
  * Usernames that an authority has granted, but that the account controller has not confirmed
1229
1233
  * that they want it. Used primarily in cases where the `AccountId` cannot provide a signature
1230
1234
  * because they are a pure proxy, multisig, etc. In order to confirm it, they should call
1231
- * [`Call::accept_username`].
1235
+ * [accept_username](`Call::accept_username`).
1232
1236
  *
1233
1237
  * First tuple item is the account and second is the acceptance deadline.
1234
1238
  *
1235
1239
  * @param {BytesLike} arg
1236
- * @param {Callback<[AccountId32, number] | undefined> =} callback
1240
+ * @param {Callback<[AccountId32, number, PalletIdentityProvider] | undefined> =} callback
1241
+ **/
1242
+ pendingUsernames: GenericStorageQuery<
1243
+ Rv,
1244
+ (arg: BytesLike) => [AccountId32, number, PalletIdentityProvider] | undefined,
1245
+ Bytes
1246
+ >;
1247
+
1248
+ /**
1249
+ * Usernames for which the authority that granted them has started the removal process by
1250
+ * unbinding them. Each unbinding username maps to its grace period expiry, which is the first
1251
+ * block in which the username could be deleted through a
1252
+ * [remove_username](`Call::remove_username`) call.
1253
+ *
1254
+ * @param {BytesLike} arg
1255
+ * @param {Callback<number | undefined> =} callback
1256
+ **/
1257
+ unbindingUsernames: GenericStorageQuery<Rv, (arg: BytesLike) => number | undefined, Bytes>;
1258
+
1259
+ /**
1260
+ * Generic pallet storage query
1261
+ **/
1262
+ [storage: string]: GenericStorageQuery<Rv>;
1263
+ };
1264
+ /**
1265
+ * Pallet `MultiBlockMigrations`'s storage queries
1266
+ **/
1267
+ multiBlockMigrations: {
1268
+ /**
1269
+ * The currently active migration to run and its cursor.
1270
+ *
1271
+ * `None` indicates that no migration is running.
1272
+ *
1273
+ * @param {Callback<PalletMigrationsMigrationCursor | undefined> =} callback
1274
+ **/
1275
+ cursor: GenericStorageQuery<Rv, () => PalletMigrationsMigrationCursor | undefined>;
1276
+
1277
+ /**
1278
+ * Set of all successfully executed migrations.
1279
+ *
1280
+ * This is used as blacklist, to not re-execute migrations that have not been removed from the
1281
+ * codebase yet. Governance can regularly clear this out via `clear_historic`.
1282
+ *
1283
+ * @param {BytesLike} arg
1284
+ * @param {Callback<[] | undefined> =} callback
1237
1285
  **/
1238
- pendingUsernames: GenericStorageQuery<Rv, (arg: BytesLike) => [AccountId32, number] | undefined, Bytes>;
1286
+ historic: GenericStorageQuery<Rv, (arg: BytesLike) => [] | undefined, Bytes>;
1239
1287
 
1240
1288
  /**
1241
1289
  * Generic pallet storage query
@@ -42,6 +42,10 @@ import type {
42
42
  XcmRuntimeApisDryRunXcmDryRunEffects,
43
43
  XcmRuntimeApisConversionsError,
44
44
  CumulusPrimitivesCoreCollationInfo,
45
+ PolkadotPrimitivesVstagingCoreSelector,
46
+ PolkadotPrimitivesVstagingClaimQueueOffset,
47
+ XcmRuntimeApisTrustedQueryError,
48
+ XcmVersionedAsset,
45
49
  } from './types';
46
50
 
47
51
  export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<Rv> {
@@ -577,6 +581,25 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
577
581
  **/
578
582
  [method: string]: GenericRuntimeApiMethod<Rv>;
579
583
  };
584
+ /**
585
+ * @runtimeapi: GetCoreSelectorApi - 0x695c80446b8b3d4e
586
+ **/
587
+ getCoreSelectorApi: {
588
+ /**
589
+ * Retrieve core selector and claim queue offset for the next block.
590
+ *
591
+ * @callname: GetCoreSelectorApi_core_selector
592
+ **/
593
+ coreSelector: GenericRuntimeApiMethod<
594
+ Rv,
595
+ () => Promise<[PolkadotPrimitivesVstagingCoreSelector, PolkadotPrimitivesVstagingClaimQueueOffset]>
596
+ >;
597
+
598
+ /**
599
+ * Generic runtime api call
600
+ **/
601
+ [method: string]: GenericRuntimeApiMethod<Rv>;
602
+ };
580
603
  /**
581
604
  * @runtimeapi: GenesisBuilder - 0xfbc577b9d747efd6
582
605
  **/
@@ -585,9 +608,10 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
585
608
  * Build `RuntimeGenesisConfig` from a JSON blob not using any defaults and store it in the
586
609
  * storage.
587
610
  *
588
- * In the case of a FRAME-based runtime, this function deserializes the full `RuntimeGenesisConfig` from the given JSON blob and
589
- * puts it into the storage. If the provided JSON blob is incorrect or incomplete or the
590
- * deserialization fails, an error is returned.
611
+ * In the case of a FRAME-based runtime, this function deserializes the full
612
+ * `RuntimeGenesisConfig` from the given JSON blob and puts it into the storage. If the
613
+ * provided JSON blob is incorrect or incomplete or the deserialization fails, an error
614
+ * is returned.
591
615
  *
592
616
  * Please note that provided JSON blob must contain all `RuntimeGenesisConfig` fields, no
593
617
  * defaults will be used.
@@ -601,7 +625,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
601
625
  * Returns a JSON blob representation of the built-in `RuntimeGenesisConfig` identified by
602
626
  * `id`.
603
627
  *
604
- * If `id` is `None` the function returns JSON blob representation of the default
628
+ * If `id` is `None` the function should return JSON blob representation of the default
605
629
  * `RuntimeGenesisConfig` struct of the runtime. Implementation must provide default
606
630
  * `RuntimeGenesisConfig`.
607
631
  *
@@ -628,6 +652,53 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
628
652
  **/
629
653
  presetNames: GenericRuntimeApiMethod<Rv, () => Promise<Array<string>>>;
630
654
 
655
+ /**
656
+ * Generic runtime api call
657
+ **/
658
+ [method: string]: GenericRuntimeApiMethod<Rv>;
659
+ };
660
+ /**
661
+ * @runtimeapi: TrustedQueryApi - 0x2609be83ac4468dc
662
+ **/
663
+ trustedQueryApi: {
664
+ /**
665
+ * Returns if the location is a trusted reserve for the asset.
666
+ *
667
+ * # Arguments
668
+ * * `asset`: `VersionedAsset`.
669
+ * * `location`: `VersionedLocation`.
670
+ *
671
+ * @callname: TrustedQueryApi_is_trusted_reserve
672
+ * @param {XcmVersionedAsset} asset
673
+ * @param {XcmVersionedLocation} location
674
+ **/
675
+ isTrustedReserve: GenericRuntimeApiMethod<
676
+ Rv,
677
+ (
678
+ asset: XcmVersionedAsset,
679
+ location: XcmVersionedLocation,
680
+ ) => Promise<Result<boolean, XcmRuntimeApisTrustedQueryError>>
681
+ >;
682
+
683
+ /**
684
+ * Returns if the asset can be teleported to the location.
685
+ *
686
+ * # Arguments
687
+ * * `asset`: `VersionedAsset`.
688
+ * * `location`: `VersionedLocation`.
689
+ *
690
+ * @callname: TrustedQueryApi_is_trusted_teleporter
691
+ * @param {XcmVersionedAsset} asset
692
+ * @param {XcmVersionedLocation} location
693
+ **/
694
+ isTrustedTeleporter: GenericRuntimeApiMethod<
695
+ Rv,
696
+ (
697
+ asset: XcmVersionedAsset,
698
+ location: XcmVersionedLocation,
699
+ ) => Promise<Result<boolean, XcmRuntimeApisTrustedQueryError>>
700
+ >;
701
+
631
702
  /**
632
703
  * Generic runtime api call
633
704
  **/
@@ -22,7 +22,7 @@ import type {
22
22
  XcmVersionedXcm,
23
23
  XcmVersionedAssets,
24
24
  SpWeightsWeightV2Weight,
25
- StagingXcmV4Location,
25
+ StagingXcmV5Location,
26
26
  XcmV3WeightLimit,
27
27
  StagingXcmExecutorAssetTransferTransferType,
28
28
  XcmVersionedAssetId,
@@ -32,6 +32,8 @@ import type {
32
32
  PeopleWestendRuntimeProxyType,
33
33
  PeopleWestendRuntimePeopleIdentityInfo,
34
34
  PalletIdentityJudgement,
35
+ PalletMigrationsMigrationCursor,
36
+ PalletMigrationsHistoricCleanupSelector,
35
37
  } from './types';
36
38
 
37
39
  export type ChainSubmittableExtrinsic<
@@ -1250,13 +1252,13 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
1250
1252
  * - `location`: The destination that is being described.
1251
1253
  * - `xcm_version`: The latest version of XCM that `location` supports.
1252
1254
  *
1253
- * @param {StagingXcmV4Location} location
1255
+ * @param {StagingXcmV5Location} location
1254
1256
  * @param {number} version
1255
1257
  **/
1256
1258
  forceXcmVersion: GenericTxCall<
1257
1259
  Rv,
1258
1260
  (
1259
- location: StagingXcmV4Location,
1261
+ location: StagingXcmV5Location,
1260
1262
  version: number,
1261
1263
  ) => ChainSubmittableExtrinsic<
1262
1264
  Rv,
@@ -1264,7 +1266,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
1264
1266
  pallet: 'PolkadotXcm';
1265
1267
  palletCall: {
1266
1268
  name: 'ForceXcmVersion';
1267
- params: { location: StagingXcmV4Location; version: number };
1269
+ params: { location: StagingXcmV5Location; version: number };
1268
1270
  };
1269
1271
  }
1270
1272
  >
@@ -2988,8 +2990,9 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
2988
2990
  /**
2989
2991
  * Add an `AccountId` with permission to grant usernames with a given `suffix` appended.
2990
2992
  *
2991
- * The authority can grant up to `allocation` usernames. To top up their allocation, they
2992
- * should just issue (or request via governance) a new `add_username_authority` call.
2993
+ * The authority can grant up to `allocation` usernames. To top up the allocation or
2994
+ * change the account used to grant usernames, this call can be used with the updated
2995
+ * parameters to overwrite the existing configuration.
2993
2996
  *
2994
2997
  * @param {MultiAddressLike} authority
2995
2998
  * @param {BytesLike} suffix
@@ -3016,17 +3019,21 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
3016
3019
  /**
3017
3020
  * Remove `authority` from the username authorities.
3018
3021
  *
3022
+ * @param {BytesLike} suffix
3019
3023
  * @param {MultiAddressLike} authority
3020
3024
  **/
3021
3025
  removeUsernameAuthority: GenericTxCall<
3022
3026
  Rv,
3023
- (authority: MultiAddressLike) => ChainSubmittableExtrinsic<
3027
+ (
3028
+ suffix: BytesLike,
3029
+ authority: MultiAddressLike,
3030
+ ) => ChainSubmittableExtrinsic<
3024
3031
  Rv,
3025
3032
  {
3026
3033
  pallet: 'Identity';
3027
3034
  palletCall: {
3028
3035
  name: 'RemoveUsernameAuthority';
3029
- params: { authority: MultiAddressLike };
3036
+ params: { suffix: BytesLike; authority: MultiAddressLike };
3030
3037
  };
3031
3038
  }
3032
3039
  >
@@ -3035,7 +3042,11 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
3035
3042
  /**
3036
3043
  * Set the username for `who`. Must be called by a username authority.
3037
3044
  *
3038
- * The authority must have an `allocation`. Users can either pre-sign their usernames or
3045
+ * If `use_allocation` is set, the authority must have a username allocation available to
3046
+ * spend. Otherwise, the authority will need to put up a deposit for registering the
3047
+ * username.
3048
+ *
3049
+ * Users can either pre-sign their usernames or
3039
3050
  * accept them later.
3040
3051
  *
3041
3052
  * Usernames must:
@@ -3046,6 +3057,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
3046
3057
  * @param {MultiAddressLike} who
3047
3058
  * @param {BytesLike} username
3048
3059
  * @param {SpRuntimeMultiSignature | undefined} signature
3060
+ * @param {boolean} useAllocation
3049
3061
  **/
3050
3062
  setUsernameFor: GenericTxCall<
3051
3063
  Rv,
@@ -3053,13 +3065,19 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
3053
3065
  who: MultiAddressLike,
3054
3066
  username: BytesLike,
3055
3067
  signature: SpRuntimeMultiSignature | undefined,
3068
+ useAllocation: boolean,
3056
3069
  ) => ChainSubmittableExtrinsic<
3057
3070
  Rv,
3058
3071
  {
3059
3072
  pallet: 'Identity';
3060
3073
  palletCall: {
3061
3074
  name: 'SetUsernameFor';
3062
- params: { who: MultiAddressLike; username: BytesLike; signature: SpRuntimeMultiSignature | undefined };
3075
+ params: {
3076
+ who: MultiAddressLike;
3077
+ username: BytesLike;
3078
+ signature: SpRuntimeMultiSignature | undefined;
3079
+ useAllocation: boolean;
3080
+ };
3063
3081
  };
3064
3082
  }
3065
3083
  >
@@ -3126,19 +3144,60 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
3126
3144
  >;
3127
3145
 
3128
3146
  /**
3129
- * Remove a username that corresponds to an account with no identity. Exists when a user
3130
- * gets a username but then calls `clear_identity`.
3147
+ * Start the process of removing a username by placing it in the unbinding usernames map.
3148
+ * Once the grace period has passed, the username can be deleted by calling
3149
+ * [remove_username](crate::Call::remove_username).
3150
+ *
3151
+ * @param {BytesLike} username
3152
+ **/
3153
+ unbindUsername: GenericTxCall<
3154
+ Rv,
3155
+ (username: BytesLike) => ChainSubmittableExtrinsic<
3156
+ Rv,
3157
+ {
3158
+ pallet: 'Identity';
3159
+ palletCall: {
3160
+ name: 'UnbindUsername';
3161
+ params: { username: BytesLike };
3162
+ };
3163
+ }
3164
+ >
3165
+ >;
3166
+
3167
+ /**
3168
+ * Permanently delete a username which has been unbinding for longer than the grace period.
3169
+ * Caller is refunded the fee if the username expired and the removal was successful.
3170
+ *
3171
+ * @param {BytesLike} username
3172
+ **/
3173
+ removeUsername: GenericTxCall<
3174
+ Rv,
3175
+ (username: BytesLike) => ChainSubmittableExtrinsic<
3176
+ Rv,
3177
+ {
3178
+ pallet: 'Identity';
3179
+ palletCall: {
3180
+ name: 'RemoveUsername';
3181
+ params: { username: BytesLike };
3182
+ };
3183
+ }
3184
+ >
3185
+ >;
3186
+
3187
+ /**
3188
+ * Call with [ForceOrigin](crate::Config::ForceOrigin) privileges which deletes a username
3189
+ * and slashes any deposit associated with it.
3131
3190
  *
3132
3191
  * @param {BytesLike} username
3133
3192
  **/
3134
- removeDanglingUsername: GenericTxCall<
3193
+ killUsername: GenericTxCall<
3135
3194
  Rv,
3136
3195
  (username: BytesLike) => ChainSubmittableExtrinsic<
3137
3196
  Rv,
3138
3197
  {
3139
3198
  pallet: 'Identity';
3140
3199
  palletCall: {
3141
- name: 'RemoveDanglingUsername';
3200
+ name: 'KillUsername';
3142
3201
  params: { username: BytesLike };
3143
3202
  };
3144
3203
  }
@@ -3150,6 +3209,111 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
3150
3209
  **/
3151
3210
  [callName: string]: GenericTxCall<Rv, TxCall<Rv>>;
3152
3211
  };
3212
+ /**
3213
+ * Pallet `MultiBlockMigrations`'s transaction calls
3214
+ **/
3215
+ multiBlockMigrations: {
3216
+ /**
3217
+ * Allows root to set a cursor to forcefully start, stop or forward the migration process.
3218
+ *
3219
+ * Should normally not be needed and is only in place as emergency measure. Note that
3220
+ * restarting the migration process in this manner will not call the
3221
+ * [`MigrationStatusHandler::started`] hook or emit an `UpgradeStarted` event.
3222
+ *
3223
+ * @param {PalletMigrationsMigrationCursor | undefined} cursor
3224
+ **/
3225
+ forceSetCursor: GenericTxCall<
3226
+ Rv,
3227
+ (cursor: PalletMigrationsMigrationCursor | undefined) => ChainSubmittableExtrinsic<
3228
+ Rv,
3229
+ {
3230
+ pallet: 'MultiBlockMigrations';
3231
+ palletCall: {
3232
+ name: 'ForceSetCursor';
3233
+ params: { cursor: PalletMigrationsMigrationCursor | undefined };
3234
+ };
3235
+ }
3236
+ >
3237
+ >;
3238
+
3239
+ /**
3240
+ * Allows root to set an active cursor to forcefully start/forward the migration process.
3241
+ *
3242
+ * This is an edge-case version of [`Self::force_set_cursor`] that allows to set the
3243
+ * `started_at` value to the next block number. Otherwise this would not be possible, since
3244
+ * `force_set_cursor` takes an absolute block number. Setting `started_at` to `None`
3245
+ * indicates that the current block number plus one should be used.
3246
+ *
3247
+ * @param {number} index
3248
+ * @param {BytesLike | undefined} innerCursor
3249
+ * @param {number | undefined} startedAt
3250
+ **/
3251
+ forceSetActiveCursor: GenericTxCall<
3252
+ Rv,
3253
+ (
3254
+ index: number,
3255
+ innerCursor: BytesLike | undefined,
3256
+ startedAt: number | undefined,
3257
+ ) => ChainSubmittableExtrinsic<
3258
+ Rv,
3259
+ {
3260
+ pallet: 'MultiBlockMigrations';
3261
+ palletCall: {
3262
+ name: 'ForceSetActiveCursor';
3263
+ params: { index: number; innerCursor: BytesLike | undefined; startedAt: number | undefined };
3264
+ };
3265
+ }
3266
+ >
3267
+ >;
3268
+
3269
+ /**
3270
+ * Forces the onboarding of the migrations.
3271
+ *
3272
+ * This process happens automatically on a runtime upgrade. It is in place as an emergency
3273
+ * measurement. The cursor needs to be `None` for this to succeed.
3274
+ *
3275
+ **/
3276
+ forceOnboardMbms: GenericTxCall<
3277
+ Rv,
3278
+ () => ChainSubmittableExtrinsic<
3279
+ Rv,
3280
+ {
3281
+ pallet: 'MultiBlockMigrations';
3282
+ palletCall: {
3283
+ name: 'ForceOnboardMbms';
3284
+ };
3285
+ }
3286
+ >
3287
+ >;
3288
+
3289
+ /**
3290
+ * Clears the `Historic` set.
3291
+ *
3292
+ * `map_cursor` must be set to the last value that was returned by the
3293
+ * `HistoricCleared` event. The first time `None` can be used. `limit` must be chosen in a
3294
+ * way that will result in a sensible weight.
3295
+ *
3296
+ * @param {PalletMigrationsHistoricCleanupSelector} selector
3297
+ **/
3298
+ clearHistoric: GenericTxCall<
3299
+ Rv,
3300
+ (selector: PalletMigrationsHistoricCleanupSelector) => ChainSubmittableExtrinsic<
3301
+ Rv,
3302
+ {
3303
+ pallet: 'MultiBlockMigrations';
3304
+ palletCall: {
3305
+ name: 'ClearHistoric';
3306
+ params: { selector: PalletMigrationsHistoricCleanupSelector };
3307
+ };
3308
+ }
3309
+ >
3310
+ >;
3311
+
3312
+ /**
3313
+ * Generic pallet tx call
3314
+ **/
3315
+ [callName: string]: GenericTxCall<Rv, TxCall<Rv>>;
3316
+ };
3153
3317
  /**
3154
3318
  * Pallet `IdentityMigrator`'s transaction calls
3155
3319
  **/