@polkadot/api-augment 16.5.4 → 17.0.1

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.
Files changed (51) hide show
  1. package/assetHubKusama/consts.d.ts +140 -53
  2. package/assetHubKusama/errors.d.ts +310 -111
  3. package/assetHubKusama/events.d.ts +420 -149
  4. package/assetHubKusama/query.d.ts +370 -92
  5. package/assetHubKusama/runtime.d.ts +157 -8
  6. package/assetHubKusama/tx.d.ts +690 -600
  7. package/cjs/assetHubKusama/consts.d.ts +140 -53
  8. package/cjs/assetHubKusama/errors.d.ts +310 -111
  9. package/cjs/assetHubKusama/events.d.ts +420 -149
  10. package/cjs/assetHubKusama/query.d.ts +370 -92
  11. package/cjs/assetHubKusama/runtime.d.ts +157 -8
  12. package/cjs/assetHubKusama/tx.d.ts +690 -600
  13. package/cjs/kusama/consts.d.ts +0 -40
  14. package/cjs/kusama/errors.d.ts +25 -151
  15. package/cjs/kusama/events.d.ts +93 -208
  16. package/cjs/kusama/query.d.ts +98 -177
  17. package/cjs/kusama/runtime.d.ts +86 -46
  18. package/cjs/kusama/tx.d.ts +108 -608
  19. package/cjs/packageInfo.js +1 -1
  20. package/cjs/polkadot/consts.d.ts +1 -1
  21. package/cjs/polkadot/errors.d.ts +25 -85
  22. package/cjs/polkadot/events.d.ts +103 -159
  23. package/cjs/polkadot/query.d.ts +108 -172
  24. package/cjs/polkadot/runtime.d.ts +72 -46
  25. package/cjs/polkadot/tx.d.ts +101 -351
  26. package/cjs/substrate/consts.d.ts +12 -3
  27. package/cjs/substrate/errors.d.ts +28 -14
  28. package/cjs/substrate/events.d.ts +66 -1
  29. package/cjs/substrate/query.d.ts +9 -0
  30. package/cjs/substrate/runtime.d.ts +5 -1
  31. package/cjs/substrate/tx.d.ts +81 -2
  32. package/kusama/consts.d.ts +0 -40
  33. package/kusama/errors.d.ts +25 -151
  34. package/kusama/events.d.ts +93 -208
  35. package/kusama/query.d.ts +98 -177
  36. package/kusama/runtime.d.ts +86 -46
  37. package/kusama/tx.d.ts +108 -608
  38. package/package.json +7 -7
  39. package/packageInfo.js +1 -1
  40. package/polkadot/consts.d.ts +1 -1
  41. package/polkadot/errors.d.ts +25 -85
  42. package/polkadot/events.d.ts +103 -159
  43. package/polkadot/query.d.ts +108 -172
  44. package/polkadot/runtime.d.ts +72 -46
  45. package/polkadot/tx.d.ts +101 -351
  46. package/substrate/consts.d.ts +12 -3
  47. package/substrate/errors.d.ts +28 -14
  48. package/substrate/events.d.ts +66 -1
  49. package/substrate/query.d.ts +9 -0
  50. package/substrate/runtime.d.ts +5 -1
  51. package/substrate/tx.d.ts +81 -2
package/kusama/tx.d.ts CHANGED
@@ -4,7 +4,7 @@ import type { Bytes, Compact, Option, U8aFixed, Vec, bool, u128, u16, u32, u64,
4
4
  import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
5
5
  import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
6
6
  import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
7
- import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, KusamaRuntimeConstantsProxyProxyType, PalletBalancesAdjustmentDirection, PalletBrokerCoretimeInterfaceCoreAssignment, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpPerbill, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletRcMigratorManagerMultisigVote, PalletRcMigratorMigrationStage, PalletRcMigratorQueuePriority, PalletStakingAsyncAhClientOperatingMode, PalletStakingAsyncRcClientValidatorSetReport, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingUnlockChunk, PalletStakingValidatorPrefs, PalletVestingVestingInfo, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV8ApprovalVotingParams, PolkadotPrimitivesV8AsyncBackingAsyncBackingParams, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8PvfCheckStatement, PolkadotPrimitivesV8SchedulerParams, PolkadotPrimitivesV8ValidatorAppSignature, PolkadotPrimitivesVstagingDisputeProof, PolkadotPrimitivesVstagingInherentData, PolkadotRuntimeCommonClaimsEcdsaSignature, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBeefyDoubleVotingProof, SpConsensusBeefyForkVotingProofAncestryProof, SpConsensusBeefyFutureBlockVotingProof, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeMultiSignature, SpRuntimeMultiSigner, SpSessionMembershipProof, SpWeightsWeightV2Weight, StagingKusamaRuntimeOriginCaller, StagingKusamaRuntimeRuntimeParameters, StagingKusamaRuntimeSessionKeys, StagingXcmExecutorAssetTransferTransferType, StagingXcmV5Location, StagingXcmV5Response, XcmV3WeightLimit, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
7
+ import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, KusamaRuntimeConstantsProxyProxyType, PalletBalancesAdjustmentDirection, PalletBrokerCoretimeInterfaceCoreAssignment, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpPerbill, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletStakingAsyncAhClientOperatingMode, PalletStakingAsyncRcClientValidatorSetReport, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingUnlockChunk, PalletStakingValidatorPrefs, PalletVestingVestingInfo, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV9ApprovalVotingParams, PolkadotPrimitivesV9AsyncBackingAsyncBackingParams, PolkadotPrimitivesV9ExecutorParams, PolkadotPrimitivesV9InherentData, PolkadotPrimitivesV9PvfCheckStatement, PolkadotPrimitivesV9SlashingDisputeProof, PolkadotPrimitivesV9ValidatorAppSignature, PolkadotPrimitivesVstagingSchedulerParams, PolkadotRuntimeCommonClaimsEcdsaSignature, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBeefyDoubleVotingProof, SpConsensusBeefyForkVotingProofAncestryProof, SpConsensusBeefyFutureBlockVotingProof, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeMultiSignature, SpRuntimeMultiSigner, SpSessionMembershipProof, SpWeightsWeightV2Weight, StagingKusamaRuntimeOriginCaller, StagingKusamaRuntimeRuntimeParameters, StagingKusamaRuntimeSessionKeys, StagingXcmExecutorAssetTransferTransferType, StagingXcmV5Location, XcmV3WeightLimit, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
8
8
  export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
9
9
  export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
10
10
  export type __SubmittableExtrinsicFunction<ApiType extends ApiTypes> = SubmittableExtrinsicFunction<ApiType>;
@@ -889,16 +889,16 @@ declare module '@polkadot/api-base/types/submittable' {
889
889
  /**
890
890
  * Set approval-voting-params.
891
891
  **/
892
- setApprovalVotingParams: AugmentedSubmittable<(updated: PolkadotPrimitivesV8ApprovalVotingParams | {
892
+ setApprovalVotingParams: AugmentedSubmittable<(updated: PolkadotPrimitivesV9ApprovalVotingParams | {
893
893
  maxApprovalCoalesceCount?: any;
894
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV8ApprovalVotingParams]>;
894
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV9ApprovalVotingParams]>;
895
895
  /**
896
896
  * Set the asynchronous backing parameters.
897
897
  **/
898
- setAsyncBackingParams: AugmentedSubmittable<(updated: PolkadotPrimitivesV8AsyncBackingAsyncBackingParams | {
898
+ setAsyncBackingParams: AugmentedSubmittable<(updated: PolkadotPrimitivesV9AsyncBackingAsyncBackingParams | {
899
899
  maxCandidateDepth?: any;
900
900
  allowedAncestryLen?: any;
901
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV8AsyncBackingAsyncBackingParams]>;
901
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV9AsyncBackingAsyncBackingParams]>;
902
902
  /**
903
903
  * Setting this to true will disable consistency checks for the configuration setters.
904
904
  * Use with caution.
@@ -926,7 +926,7 @@ declare module '@polkadot/api-base/types/submittable' {
926
926
  /**
927
927
  * Set PVF executor parameters.
928
928
  **/
929
- setExecutorParams: AugmentedSubmittable<(updated: PolkadotPrimitivesV8ExecutorParams) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV8ExecutorParams]>;
929
+ setExecutorParams: AugmentedSubmittable<(updated: PolkadotPrimitivesV9ExecutorParams) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV9ExecutorParams]>;
930
930
  /**
931
931
  * Set the parachain validator-group rotation frequency
932
932
  **/
@@ -984,6 +984,10 @@ declare module '@polkadot/api-base/types/submittable' {
984
984
  * Set the max POV block size for incoming upgrades.
985
985
  **/
986
986
  setMaxPovSize: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
987
+ /**
988
+ * Set the maximum relay parent session age.
989
+ **/
990
+ setMaxRelayParentSessionAge: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
987
991
  /**
988
992
  * Sets the maximum number of messages that a candidate can contain.
989
993
  **/
@@ -1068,19 +1072,17 @@ declare module '@polkadot/api-base/types/submittable' {
1068
1072
  /**
1069
1073
  * Set scheduler-params.
1070
1074
  **/
1071
- setSchedulerParams: AugmentedSubmittable<(updated: PolkadotPrimitivesV8SchedulerParams | {
1075
+ setSchedulerParams: AugmentedSubmittable<(updated: PolkadotPrimitivesVstagingSchedulerParams | {
1072
1076
  groupRotationFrequency?: any;
1073
1077
  parasAvailabilityPeriod?: any;
1074
1078
  maxValidatorsPerCore?: any;
1075
1079
  lookahead?: any;
1076
1080
  numCores?: any;
1077
- maxAvailabilityTimeouts?: any;
1078
1081
  onDemandQueueMaxSize?: any;
1079
1082
  onDemandTargetQueueUtilization?: any;
1080
1083
  onDemandFeeVariability?: any;
1081
1084
  onDemandBaseFee?: any;
1082
- ttl?: any;
1083
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV8SchedulerParams]>;
1085
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesVstagingSchedulerParams]>;
1084
1086
  /**
1085
1087
  * Set the scheduling lookahead, in expected number of blocks at peak throughput.
1086
1088
  **/
@@ -1320,6 +1322,8 @@ declare module '@polkadot/api-base/types/submittable' {
1320
1322
  Sr25519: any;
1321
1323
  } | {
1322
1324
  Ecdsa: any;
1325
+ } | {
1326
+ Eth: any;
1323
1327
  } | string) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u128>, Option<SpRuntimeMultiSignature>]>;
1324
1328
  /**
1325
1329
  * Contribute your entire balance to a crowd sale. This will transfer the entire balance of
@@ -1332,6 +1336,8 @@ declare module '@polkadot/api-base/types/submittable' {
1332
1336
  Sr25519: any;
1333
1337
  } | {
1334
1338
  Ecdsa: any;
1339
+ } | {
1340
+ Eth: any;
1335
1341
  } | string) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Option<SpRuntimeMultiSignature>]>;
1336
1342
  /**
1337
1343
  * Create a new crowdloaning campaign for a parachain slot with the given lease period
@@ -1346,6 +1352,8 @@ declare module '@polkadot/api-base/types/submittable' {
1346
1352
  Sr25519: any;
1347
1353
  } | {
1348
1354
  Ecdsa: any;
1355
+ } | {
1356
+ Eth: any;
1349
1357
  } | string) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u128>, Compact<u32>, Compact<u32>, Compact<u32>, Option<SpRuntimeMultiSigner>]>;
1350
1358
  /**
1351
1359
  * Remove a fund after the retirement period has ended and all funds have been returned.
@@ -1362,6 +1370,8 @@ declare module '@polkadot/api-base/types/submittable' {
1362
1370
  Sr25519: any;
1363
1371
  } | {
1364
1372
  Ecdsa: any;
1373
+ } | {
1374
+ Eth: any;
1365
1375
  } | string) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u128>, Compact<u32>, Compact<u32>, Compact<u32>, Option<SpRuntimeMultiSigner>]>;
1366
1376
  /**
1367
1377
  * Poke the fund into `NewRaise`
@@ -2154,6 +2164,13 @@ declare module '@polkadot/api-base/types/submittable' {
2154
2164
  * Register approval for a dispatch to be made from a deterministic composite account if
2155
2165
  * approved by a total of `threshold - 1` of `other_signatories`.
2156
2166
  *
2167
+ * **This function will NEVER execute the call, even if the approval threshold is
2168
+ * reached.** It only registers approval. To actually execute the call, `as_multi` must
2169
+ * be called with the full call data by any of the signatories.
2170
+ *
2171
+ * This function is more efficient than `as_multi` for intermediate approvals since it
2172
+ * only requires the call hash, not the full call data.
2173
+ *
2157
2174
  * Payment: `DepositBase` will be reserved if this is the first approval, plus
2158
2175
  * `threshold` times `DepositFactor`. It is returned once this dispatch happens or
2159
2176
  * is cancelled.
@@ -2168,7 +2185,8 @@ declare module '@polkadot/api-base/types/submittable' {
2168
2185
  * transaction index) of the first approval transaction.
2169
2186
  * - `call_hash`: The hash of the call to be executed.
2170
2187
  *
2171
- * NOTE: If this is the final approval, you will want to use `as_multi` instead.
2188
+ * NOTE: To execute the call after approvals are gathered, any signatory must call
2189
+ * `as_multi` with the full call data. This function cannot execute the call.
2172
2190
  *
2173
2191
  * ## Complexity
2174
2192
  * - `O(S)`.
@@ -2193,7 +2211,9 @@ declare module '@polkadot/api-base/types/submittable' {
2193
2211
  * Register approval for a dispatch to be made from a deterministic composite account if
2194
2212
  * approved by a total of `threshold - 1` of `other_signatories`.
2195
2213
  *
2196
- * If there are enough, then dispatch the call.
2214
+ * **If the approval threshold is met (including the sender's approval), this will
2215
+ * immediately execute the call.** This is the only way to execute a multisig call -
2216
+ * `approve_as_multi` will never trigger execution.
2197
2217
  *
2198
2218
  * Payment: `DepositBase` will be reserved if this is the first approval, plus
2199
2219
  * `threshold` times `DepositFactor`. It is returned once this dispatch happens or
@@ -2209,8 +2229,9 @@ declare module '@polkadot/api-base/types/submittable' {
2209
2229
  * transaction index) of the first approval transaction.
2210
2230
  * - `call`: The call to be executed.
2211
2231
  *
2212
- * NOTE: Unless this is the final approval, you will generally want to use
2213
- * `approve_as_multi` instead, since it only requires a hash of the call.
2232
+ * NOTE: For intermediate approvals (not the final approval), you should generally use
2233
+ * `approve_as_multi` instead, since it only requires a hash of the call and is more
2234
+ * efficient.
2214
2235
  *
2215
2236
  * Result is equivalent to the dispatched result if `threshold` is exactly `1`. Otherwise
2216
2237
  * on success, result is `Ok` and the result from the interior call, if it was executed,
@@ -2842,6 +2863,8 @@ declare module '@polkadot/api-base/types/submittable' {
2842
2863
  *
2843
2864
  * Events:
2844
2865
  * - `OnDemandOrderPlaced`
2866
+ *
2867
+ * @deprecated This will be removed in favor of using `place_order_with_credits`
2845
2868
  **/
2846
2869
  placeOrderAllowDeath: AugmentedSubmittable<(maxAmount: u128 | AnyNumber | Uint8Array, paraId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128, u32]>;
2847
2870
  /**
@@ -2860,6 +2883,8 @@ declare module '@polkadot/api-base/types/submittable' {
2860
2883
  *
2861
2884
  * Events:
2862
2885
  * - `OnDemandOrderPlaced`
2886
+ *
2887
+ * @deprecated This will be removed in favor of using `place_order_with_credits`
2863
2888
  **/
2864
2889
  placeOrderKeepAlive: AugmentedSubmittable<(maxAmount: u128 | AnyNumber | Uint8Array, paraId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128, u32]>;
2865
2890
  /**
@@ -2897,12 +2922,12 @@ declare module '@polkadot/api-base/types/submittable' {
2897
2922
  /**
2898
2923
  * Enter the paras inherent. This will process bitfields and backed candidates.
2899
2924
  **/
2900
- enter: AugmentedSubmittable<(data: PolkadotPrimitivesVstagingInherentData | {
2925
+ enter: AugmentedSubmittable<(data: PolkadotPrimitivesV9InherentData | {
2901
2926
  bitfields?: any;
2902
2927
  backedCandidates?: any;
2903
2928
  disputes?: any;
2904
2929
  parentHeader?: any;
2905
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesVstagingInherentData]>;
2930
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV9InherentData]>;
2906
2931
  /**
2907
2932
  * Generic tx
2908
2933
  **/
@@ -2919,6 +2944,8 @@ declare module '@polkadot/api-base/types/submittable' {
2919
2944
  Inflation: any;
2920
2945
  } | {
2921
2946
  Treasury: any;
2947
+ } | {
2948
+ AhClient: any;
2922
2949
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [StagingKusamaRuntimeRuntimeParameters]>;
2923
2950
  /**
2924
2951
  * Generic tx
@@ -2992,12 +3019,12 @@ declare module '@polkadot/api-base/types/submittable' {
2992
3019
  * Includes a statement for a PVF pre-checking vote. Potentially, finalizes the vote and
2993
3020
  * enacts the results if that was the last vote before achieving the supermajority.
2994
3021
  **/
2995
- includePvfCheckStatement: AugmentedSubmittable<(stmt: PolkadotPrimitivesV8PvfCheckStatement | {
3022
+ includePvfCheckStatement: AugmentedSubmittable<(stmt: PolkadotPrimitivesV9PvfCheckStatement | {
2996
3023
  accept?: any;
2997
3024
  subject?: any;
2998
3025
  sessionIndex?: any;
2999
3026
  validatorIndex?: any;
3000
- } | string | Uint8Array, signature: PolkadotPrimitivesV8ValidatorAppSignature | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV8PvfCheckStatement, PolkadotPrimitivesV8ValidatorAppSignature]>;
3027
+ } | string | Uint8Array, signature: PolkadotPrimitivesV9ValidatorAppSignature | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV9PvfCheckStatement, PolkadotPrimitivesV9ValidatorAppSignature]>;
3001
3028
  /**
3002
3029
  * Remove the validation code from the storage iff the reference count is 0.
3003
3030
  *
@@ -3032,7 +3059,7 @@ declare module '@polkadot/api-base/types/submittable' {
3032
3059
  [key: string]: SubmittableExtrinsicFunction<ApiType>;
3033
3060
  };
3034
3061
  parasSlashing: {
3035
- reportDisputeLostUnsigned: AugmentedSubmittable<(disputeProof: PolkadotPrimitivesVstagingDisputeProof | {
3062
+ reportDisputeLostUnsigned: AugmentedSubmittable<(disputeProof: PolkadotPrimitivesV9SlashingDisputeProof | {
3036
3063
  timeSlot?: any;
3037
3064
  kind?: any;
3038
3065
  validatorIndex?: any;
@@ -3041,7 +3068,7 @@ declare module '@polkadot/api-base/types/submittable' {
3041
3068
  session?: any;
3042
3069
  trieNodes?: any;
3043
3070
  validatorCount?: any;
3044
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesVstagingDisputeProof, SpSessionMembershipProof]>;
3071
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV9SlashingDisputeProof, SpSessionMembershipProof]>;
3045
3072
  /**
3046
3073
  * Generic tx
3047
3074
  **/
@@ -3336,583 +3363,6 @@ declare module '@polkadot/api-base/types/submittable' {
3336
3363
  **/
3337
3364
  [key: string]: SubmittableExtrinsicFunction<ApiType>;
3338
3365
  };
3339
- rcMigrator: {
3340
- /**
3341
- * Cancel the migration.
3342
- *
3343
- * Migration can only be cancelled if it is in the [`MigrationStage::Scheduled`] state.
3344
- **/
3345
- cancelMigration: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
3346
- /**
3347
- * Set the migration stage.
3348
- *
3349
- * This call is intended for emergency use only and is guarded by the
3350
- * [`Config::AdminOrigin`].
3351
- **/
3352
- forceSetStage: AugmentedSubmittable<(stage: PalletRcMigratorMigrationStage | {
3353
- Pending: any;
3354
- } | {
3355
- MigrationPaused: any;
3356
- } | {
3357
- Scheduled: any;
3358
- } | {
3359
- WaitingForAh: any;
3360
- } | {
3361
- WarmUp: any;
3362
- } | {
3363
- Starting: any;
3364
- } | {
3365
- PureProxyCandidatesMigrationInit: any;
3366
- } | {
3367
- AccountsMigrationInit: any;
3368
- } | {
3369
- AccountsMigrationOngoing: any;
3370
- } | {
3371
- AccountsMigrationDone: any;
3372
- } | {
3373
- MultisigMigrationInit: any;
3374
- } | {
3375
- MultisigMigrationOngoing: any;
3376
- } | {
3377
- MultisigMigrationDone: any;
3378
- } | {
3379
- ClaimsMigrationInit: any;
3380
- } | {
3381
- ClaimsMigrationOngoing: any;
3382
- } | {
3383
- ClaimsMigrationDone: any;
3384
- } | {
3385
- ProxyMigrationInit: any;
3386
- } | {
3387
- ProxyMigrationProxies: any;
3388
- } | {
3389
- ProxyMigrationAnnouncements: any;
3390
- } | {
3391
- ProxyMigrationDone: any;
3392
- } | {
3393
- PreimageMigrationInit: any;
3394
- } | {
3395
- PreimageMigrationChunksOngoing: any;
3396
- } | {
3397
- PreimageMigrationChunksDone: any;
3398
- } | {
3399
- PreimageMigrationRequestStatusOngoing: any;
3400
- } | {
3401
- PreimageMigrationRequestStatusDone: any;
3402
- } | {
3403
- PreimageMigrationLegacyRequestStatusInit: any;
3404
- } | {
3405
- PreimageMigrationLegacyRequestStatusOngoing: any;
3406
- } | {
3407
- PreimageMigrationLegacyRequestStatusDone: any;
3408
- } | {
3409
- PreimageMigrationDone: any;
3410
- } | {
3411
- NomPoolsMigrationInit: any;
3412
- } | {
3413
- NomPoolsMigrationOngoing: any;
3414
- } | {
3415
- NomPoolsMigrationDone: any;
3416
- } | {
3417
- VestingMigrationInit: any;
3418
- } | {
3419
- VestingMigrationOngoing: any;
3420
- } | {
3421
- VestingMigrationDone: any;
3422
- } | {
3423
- DelegatedStakingMigrationInit: any;
3424
- } | {
3425
- DelegatedStakingMigrationOngoing: any;
3426
- } | {
3427
- DelegatedStakingMigrationDone: any;
3428
- } | {
3429
- IndicesMigrationInit: any;
3430
- } | {
3431
- IndicesMigrationOngoing: any;
3432
- } | {
3433
- IndicesMigrationDone: any;
3434
- } | {
3435
- ReferendaMigrationInit: any;
3436
- } | {
3437
- ReferendaMigrationOngoing: any;
3438
- } | {
3439
- ReferendaMigrationDone: any;
3440
- } | {
3441
- BagsListMigrationInit: any;
3442
- } | {
3443
- BagsListMigrationOngoing: any;
3444
- } | {
3445
- BagsListMigrationDone: any;
3446
- } | {
3447
- SchedulerMigrationInit: any;
3448
- } | {
3449
- SchedulerMigrationOngoing: any;
3450
- } | {
3451
- SchedulerAgendaMigrationOngoing: any;
3452
- } | {
3453
- SchedulerMigrationDone: any;
3454
- } | {
3455
- ConvictionVotingMigrationInit: any;
3456
- } | {
3457
- ConvictionVotingMigrationOngoing: any;
3458
- } | {
3459
- ConvictionVotingMigrationDone: any;
3460
- } | {
3461
- BountiesMigrationInit: any;
3462
- } | {
3463
- BountiesMigrationOngoing: any;
3464
- } | {
3465
- BountiesMigrationDone: any;
3466
- } | {
3467
- ChildBountiesMigrationInit: any;
3468
- } | {
3469
- ChildBountiesMigrationOngoing: any;
3470
- } | {
3471
- ChildBountiesMigrationDone: any;
3472
- } | {
3473
- AssetRateMigrationInit: any;
3474
- } | {
3475
- AssetRateMigrationOngoing: any;
3476
- } | {
3477
- AssetRateMigrationDone: any;
3478
- } | {
3479
- CrowdloanMigrationInit: any;
3480
- } | {
3481
- CrowdloanMigrationOngoing: any;
3482
- } | {
3483
- CrowdloanMigrationDone: any;
3484
- } | {
3485
- TreasuryMigrationInit: any;
3486
- } | {
3487
- TreasuryMigrationOngoing: any;
3488
- } | {
3489
- TreasuryMigrationDone: any;
3490
- } | {
3491
- RecoveryMigrationInit: any;
3492
- } | {
3493
- RecoveryMigrationOngoing: any;
3494
- } | {
3495
- RecoveryMigrationDone: any;
3496
- } | {
3497
- SocietyMigrationInit: any;
3498
- } | {
3499
- SocietyMigrationOngoing: any;
3500
- } | {
3501
- SocietyMigrationDone: any;
3502
- } | {
3503
- StakingMigrationInit: any;
3504
- } | {
3505
- StakingMigrationOngoing: any;
3506
- } | {
3507
- StakingMigrationDone: any;
3508
- } | {
3509
- CoolOff: any;
3510
- } | {
3511
- SignalMigrationFinish: any;
3512
- } | {
3513
- MigrationDone: any;
3514
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletRcMigratorMigrationStage]>;
3515
- /**
3516
- * Pause the migration.
3517
- **/
3518
- pauseMigration: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
3519
- /**
3520
- * Set the accounts to be preserved on Relay Chain during the migration.
3521
- *
3522
- * The accounts must have no consumers references.
3523
- **/
3524
- preserveAccounts: AugmentedSubmittable<(accounts: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>]>;
3525
- /**
3526
- * Receive a query response from the Asset Hub for a previously sent xcm message.
3527
- **/
3528
- receiveQueryResponse: AugmentedSubmittable<(queryId: u64 | AnyNumber | Uint8Array, response: StagingXcmV5Response | {
3529
- Null: any;
3530
- } | {
3531
- Assets: any;
3532
- } | {
3533
- ExecutionResult: any;
3534
- } | {
3535
- Version: any;
3536
- } | {
3537
- PalletsInfo: any;
3538
- } | {
3539
- DispatchResult: any;
3540
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, StagingXcmV5Response]>;
3541
- /**
3542
- * Resend a previously sent and unconfirmed XCM message.
3543
- **/
3544
- resendXcm: AugmentedSubmittable<(queryId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;
3545
- /**
3546
- * Schedule the migration to start at a given moment.
3547
- *
3548
- * ### Parameters:
3549
- * - `start`: The block number at which the migration will start. `DispatchTime` calculated
3550
- * at the moment of the extrinsic execution.
3551
- * - `warm_up`: Duration or timepoint that will be used to prepare for the migration. Calls
3552
- * are filtered during this period. It is intended to give enough time for UMP and DMP
3553
- * queues to empty. `DispatchTime` calculated at the moment of the transition to the
3554
- * warm-up stage.
3555
- * - `cool_off`: The block number at which the post migration cool-off period will end. The
3556
- * `DispatchTime` calculated at the moment of the transition to the cool-off stage.
3557
- * - `unsafe_ignore_staking_lock_check`: ONLY FOR TESTING. Ignore the check whether the
3558
- * scheduled time point is far enough in the future.
3559
- *
3560
- * Note: If the staking election for next era is already complete, and the next
3561
- * validator set is queued in `pallet-session`, we want to avoid starting the data
3562
- * migration at this point as it can lead to some missed validator rewards. To address
3563
- * this, we stop staking election at the start of migration and must wait atleast 1
3564
- * session (set via warm_up) before starting the data migration.
3565
- *
3566
- * Read [`MigrationStage::Scheduled`] documentation for more details.
3567
- **/
3568
- scheduleMigration: AugmentedSubmittable<(start: FrameSupportScheduleDispatchTime | {
3569
- At: any;
3570
- } | {
3571
- After: any;
3572
- } | string | Uint8Array, warmUp: FrameSupportScheduleDispatchTime | {
3573
- At: any;
3574
- } | {
3575
- After: any;
3576
- } | string | Uint8Array, coolOff: FrameSupportScheduleDispatchTime | {
3577
- At: any;
3578
- } | {
3579
- After: any;
3580
- } | string | Uint8Array, unsafeIgnoreStakingLockCheck: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [FrameSupportScheduleDispatchTime, FrameSupportScheduleDispatchTime, FrameSupportScheduleDispatchTime, bool]>;
3581
- /**
3582
- * XCM send call identical to the [`pallet_xcm::Pallet::send`] call but with the
3583
- * [Config::SendXcm] router which will be able to send messages to the Asset Hub during
3584
- * the migration.
3585
- **/
3586
- sendXcmMessage: AugmentedSubmittable<(dest: XcmVersionedLocation | {
3587
- V3: any;
3588
- } | {
3589
- V4: any;
3590
- } | {
3591
- V5: any;
3592
- } | string | Uint8Array, message: XcmVersionedXcm | {
3593
- V3: any;
3594
- } | {
3595
- V4: any;
3596
- } | {
3597
- V5: any;
3598
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedXcm]>;
3599
- /**
3600
- * Set the AH UMP queue priority configuration.
3601
- *
3602
- * Can only be called by the `AdminOrigin`.
3603
- **/
3604
- setAhUmpQueuePriority: AugmentedSubmittable<(updated: PalletRcMigratorQueuePriority | {
3605
- Config: any;
3606
- } | {
3607
- OverrideConfig: any;
3608
- } | {
3609
- Disabled: any;
3610
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletRcMigratorQueuePriority]>;
3611
- /**
3612
- * Set the canceller account id.
3613
- *
3614
- * The canceller can only stop scheduled migration.
3615
- **/
3616
- setCanceller: AugmentedSubmittable<(updated: Option<AccountId32> | null | Uint8Array | AccountId32 | string) => SubmittableExtrinsic<ApiType>, [Option<AccountId32>]>;
3617
- /**
3618
- * Set the manager account id.
3619
- *
3620
- * The manager has the similar to [`Config::AdminOrigin`] privileges except that it
3621
- * can not set the manager account id via `set_manager` call.
3622
- **/
3623
- setManager: AugmentedSubmittable<(updated: Option<AccountId32> | null | Uint8Array | AccountId32 | string) => SubmittableExtrinsic<ApiType>, [Option<AccountId32>]>;
3624
- /**
3625
- * Set the unprocessed message buffer size.
3626
- *
3627
- * `None` means to use the configuration value.
3628
- **/
3629
- setUnprocessedMsgBuffer: AugmentedSubmittable<(updated: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;
3630
- /**
3631
- * Start the data migration.
3632
- *
3633
- * This is typically called by the Asset Hub to indicate it's readiness to receive the
3634
- * migration data.
3635
- **/
3636
- startDataMigration: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
3637
- /**
3638
- * Vote on behalf of any of the members in `MultisigMembers`.
3639
- *
3640
- * Unsigned extrinsic, requiring the `payload` to be signed.
3641
- *
3642
- * Upon each call, a new entry is created in `ManagerMultisigs` map the `payload.call` to
3643
- * be dispatched. Once `MultisigThreshold` is reached, the entire map is deleted, and we
3644
- * move on to the next round.
3645
- *
3646
- * The round system ensures that signatures from older round cannot be reused.
3647
- **/
3648
- voteManagerMultisig: AugmentedSubmittable<(payload: PalletRcMigratorManagerMultisigVote | {
3649
- who?: any;
3650
- call?: any;
3651
- round?: any;
3652
- } | string | Uint8Array, sig: SpRuntimeMultiSignature | {
3653
- Ed25519: any;
3654
- } | {
3655
- Sr25519: any;
3656
- } | {
3657
- Ecdsa: any;
3658
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletRcMigratorManagerMultisigVote, SpRuntimeMultiSignature]>;
3659
- /**
3660
- * Generic tx
3661
- **/
3662
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
3663
- };
3664
- recovery: {
3665
- /**
3666
- * Send a call through a recovered account.
3667
- *
3668
- * The dispatch origin for this call must be _Signed_ and registered to
3669
- * be able to make calls on behalf of the recovered account.
3670
- *
3671
- * Parameters:
3672
- * - `account`: The recovered account you want to make a call on-behalf-of.
3673
- * - `call`: The call you want to make with the recovered account.
3674
- **/
3675
- asRecovered: AugmentedSubmittable<(account: MultiAddress | {
3676
- Id: any;
3677
- } | {
3678
- Index: any;
3679
- } | {
3680
- Raw: any;
3681
- } | {
3682
- Address32: any;
3683
- } | {
3684
- Address20: any;
3685
- } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Call]>;
3686
- /**
3687
- * Cancel the ability to use `as_recovered` for `account`.
3688
- *
3689
- * The dispatch origin for this call must be _Signed_ and registered to
3690
- * be able to make calls on behalf of the recovered account.
3691
- *
3692
- * Parameters:
3693
- * - `account`: The recovered account you are able to call on-behalf-of.
3694
- **/
3695
- cancelRecovered: AugmentedSubmittable<(account: MultiAddress | {
3696
- Id: any;
3697
- } | {
3698
- Index: any;
3699
- } | {
3700
- Raw: any;
3701
- } | {
3702
- Address32: any;
3703
- } | {
3704
- Address20: any;
3705
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
3706
- /**
3707
- * Allow a successful rescuer to claim their recovered account.
3708
- *
3709
- * The dispatch origin for this call must be _Signed_ and must be a "rescuer"
3710
- * who has successfully completed the account recovery process: collected
3711
- * `threshold` or more vouches, waited `delay_period` blocks since initiation.
3712
- *
3713
- * Parameters:
3714
- * - `account`: The lost account that you want to claim has been successfully recovered by
3715
- * you.
3716
- **/
3717
- claimRecovery: AugmentedSubmittable<(account: MultiAddress | {
3718
- Id: any;
3719
- } | {
3720
- Index: any;
3721
- } | {
3722
- Raw: any;
3723
- } | {
3724
- Address32: any;
3725
- } | {
3726
- Address20: any;
3727
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
3728
- /**
3729
- * As the controller of a recoverable account, close an active recovery
3730
- * process for your account.
3731
- *
3732
- * Payment: By calling this function, the recoverable account will receive
3733
- * the recovery deposit `RecoveryDeposit` placed by the rescuer.
3734
- *
3735
- * The dispatch origin for this call must be _Signed_ and must be a
3736
- * recoverable account with an active recovery process for it.
3737
- *
3738
- * Parameters:
3739
- * - `rescuer`: The account trying to rescue this recoverable account.
3740
- **/
3741
- closeRecovery: AugmentedSubmittable<(rescuer: MultiAddress | {
3742
- Id: any;
3743
- } | {
3744
- Index: any;
3745
- } | {
3746
- Raw: any;
3747
- } | {
3748
- Address32: any;
3749
- } | {
3750
- Address20: any;
3751
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
3752
- /**
3753
- * Create a recovery configuration for your account. This makes your account recoverable.
3754
- *
3755
- * Payment: `ConfigDepositBase` + `FriendDepositFactor` * #_of_friends balance
3756
- * will be reserved for storing the recovery configuration. This deposit is returned
3757
- * in full when the user calls `remove_recovery`.
3758
- *
3759
- * The dispatch origin for this call must be _Signed_.
3760
- *
3761
- * Parameters:
3762
- * - `friends`: A list of friends you trust to vouch for recovery attempts. Should be
3763
- * ordered and contain no duplicate values.
3764
- * - `threshold`: The number of friends that must vouch for a recovery attempt before the
3765
- * account can be recovered. Should be less than or equal to the length of the list of
3766
- * friends.
3767
- * - `delay_period`: The number of blocks after a recovery attempt is initialized that
3768
- * needs to pass before the account can be recovered.
3769
- **/
3770
- createRecovery: AugmentedSubmittable<(friends: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], threshold: u16 | AnyNumber | Uint8Array, delayPeriod: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>, u16, u32]>;
3771
- /**
3772
- * Initiate the process for recovering a recoverable account.
3773
- *
3774
- * Payment: `RecoveryDeposit` balance will be reserved for initiating the
3775
- * recovery process. This deposit will always be repatriated to the account
3776
- * trying to be recovered. See `close_recovery`.
3777
- *
3778
- * The dispatch origin for this call must be _Signed_.
3779
- *
3780
- * Parameters:
3781
- * - `account`: The lost account that you want to recover. This account needs to be
3782
- * recoverable (i.e. have a recovery configuration).
3783
- **/
3784
- initiateRecovery: AugmentedSubmittable<(account: MultiAddress | {
3785
- Id: any;
3786
- } | {
3787
- Index: any;
3788
- } | {
3789
- Raw: any;
3790
- } | {
3791
- Address32: any;
3792
- } | {
3793
- Address20: any;
3794
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
3795
- /**
3796
- * Poke deposits for recovery configurations and / or active recoveries.
3797
- *
3798
- * This can be used by accounts to possibly lower their locked amount.
3799
- *
3800
- * The dispatch origin for this call must be _Signed_.
3801
- *
3802
- * Parameters:
3803
- * - `maybe_account`: Optional recoverable account for which you have an active recovery
3804
- * and want to adjust the deposit for the active recovery.
3805
- *
3806
- * This function checks both recovery configuration deposit and active recovery deposits
3807
- * of the caller:
3808
- * - If the caller has created a recovery configuration, checks and adjusts its deposit
3809
- * - If the caller has initiated any active recoveries, and provides the account in
3810
- * `maybe_account`, checks and adjusts those deposits
3811
- *
3812
- * If any deposit is updated, the difference will be reserved/unreserved from the caller's
3813
- * account.
3814
- *
3815
- * The transaction is made free if any deposit is updated and paid otherwise.
3816
- *
3817
- * Emits `DepositPoked` if any deposit is updated.
3818
- * Multiple events may be emitted in case both types of deposits are updated.
3819
- **/
3820
- pokeDeposit: AugmentedSubmittable<(maybeAccount: Option<MultiAddress> | null | Uint8Array | MultiAddress | {
3821
- Id: any;
3822
- } | {
3823
- Index: any;
3824
- } | {
3825
- Raw: any;
3826
- } | {
3827
- Address32: any;
3828
- } | {
3829
- Address20: any;
3830
- } | string) => SubmittableExtrinsic<ApiType>, [Option<MultiAddress>]>;
3831
- /**
3832
- * Remove the recovery process for your account. Recovered accounts are still accessible.
3833
- *
3834
- * NOTE: The user must make sure to call `close_recovery` on all active
3835
- * recovery attempts before calling this function else it will fail.
3836
- *
3837
- * Payment: By calling this function the recoverable account will unreserve
3838
- * their recovery configuration deposit.
3839
- * (`ConfigDepositBase` + `FriendDepositFactor` * #_of_friends)
3840
- *
3841
- * The dispatch origin for this call must be _Signed_ and must be a
3842
- * recoverable account (i.e. has a recovery configuration).
3843
- **/
3844
- removeRecovery: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
3845
- /**
3846
- * Allow ROOT to bypass the recovery process and set a rescuer account
3847
- * for a lost account directly.
3848
- *
3849
- * The dispatch origin for this call must be _ROOT_.
3850
- *
3851
- * Parameters:
3852
- * - `lost`: The "lost account" to be recovered.
3853
- * - `rescuer`: The "rescuer account" which can call as the lost account.
3854
- **/
3855
- setRecovered: AugmentedSubmittable<(lost: MultiAddress | {
3856
- Id: any;
3857
- } | {
3858
- Index: any;
3859
- } | {
3860
- Raw: any;
3861
- } | {
3862
- Address32: any;
3863
- } | {
3864
- Address20: any;
3865
- } | string | Uint8Array, rescuer: MultiAddress | {
3866
- Id: any;
3867
- } | {
3868
- Index: any;
3869
- } | {
3870
- Raw: any;
3871
- } | {
3872
- Address32: any;
3873
- } | {
3874
- Address20: any;
3875
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress]>;
3876
- /**
3877
- * Allow a "friend" of a recoverable account to vouch for an active recovery
3878
- * process for that account.
3879
- *
3880
- * The dispatch origin for this call must be _Signed_ and must be a "friend"
3881
- * for the recoverable account.
3882
- *
3883
- * Parameters:
3884
- * - `lost`: The lost account that you want to recover.
3885
- * - `rescuer`: The account trying to rescue the lost account that you want to vouch for.
3886
- *
3887
- * The combination of these two parameters must point to an active recovery
3888
- * process.
3889
- **/
3890
- vouchRecovery: AugmentedSubmittable<(lost: MultiAddress | {
3891
- Id: any;
3892
- } | {
3893
- Index: any;
3894
- } | {
3895
- Raw: any;
3896
- } | {
3897
- Address32: any;
3898
- } | {
3899
- Address20: any;
3900
- } | string | Uint8Array, rescuer: MultiAddress | {
3901
- Id: any;
3902
- } | {
3903
- Index: any;
3904
- } | {
3905
- Raw: any;
3906
- } | {
3907
- Address32: any;
3908
- } | {
3909
- Address20: any;
3910
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress]>;
3911
- /**
3912
- * Generic tx
3913
- **/
3914
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
3915
- };
3916
3366
  referenda: {
3917
3367
  /**
3918
3368
  * Cancel an ongoing referendum.
@@ -4145,7 +3595,10 @@ declare module '@polkadot/api-base/types/submittable' {
4145
3595
  };
4146
3596
  scheduler: {
4147
3597
  /**
4148
- * Cancel an anonymously scheduled task.
3598
+ * Cancel a scheduled task (named or anonymous), by providing the block it is scheduled for
3599
+ * execution in, as well as the index of the task in that block's agenda.
3600
+ *
3601
+ * In the case of a named task, it will remove it from the lookup table as well.
4149
3602
  **/
4150
3603
  cancel: AugmentedSubmittable<(when: u32 | AnyNumber | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
4151
3604
  /**
@@ -4189,6 +3642,8 @@ declare module '@polkadot/api-base/types/submittable' {
4189
3642
  * clones of the original task. Their retry configuration will be derived from the
4190
3643
  * original task's configuration, but will have a lower value for `remaining` than the
4191
3644
  * original `total_retries`.
3645
+ *
3646
+ * This call **cannot** be used to set a retry configuration for a named task.
4192
3647
  **/
4193
3648
  setRetry: AugmentedSubmittable<(task: ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], retries: u8 | AnyNumber | Uint8Array, period: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [ITuple<[u32, u32]>, u8, u32]>;
4194
3649
  /**
@@ -4204,6 +3659,8 @@ declare module '@polkadot/api-base/types/submittable' {
4204
3659
  * clones of the original task. Their retry configuration will be derived from the
4205
3660
  * original task's configuration, but will have a lower value for `remaining` than the
4206
3661
  * original `total_retries`.
3662
+ *
3663
+ * This is the only way to set a retry configuration for a named task.
4207
3664
  **/
4208
3665
  setRetryNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array, retries: u8 | AnyNumber | Uint8Array, period: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [U8aFixed, u8, u32]>;
4209
3666
  /**
@@ -4221,22 +3678,20 @@ declare module '@polkadot/api-base/types/submittable' {
4221
3678
  * convertible to a validator ID using the chain's typical addressing system (this usually
4222
3679
  * means being a controller account) or directly convertible into a validator ID (which
4223
3680
  * usually means being a stash account).
4224
- *
4225
- * ## Complexity
4226
- * - `O(1)` in number of key types. Actual cost depends on the number of length of
4227
- * `T::Keys::key_ids()` which is fixed.
4228
3681
  **/
4229
3682
  purgeKeys: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
4230
3683
  /**
4231
3684
  * Sets the session key(s) of the function caller to `keys`.
3685
+ *
4232
3686
  * Allows an account to set its session key prior to becoming a validator.
4233
3687
  * This doesn't take effect until the next session.
4234
3688
  *
4235
- * The dispatch origin of this function must be signed.
4236
- *
4237
- * ## Complexity
4238
- * - `O(1)`. Actual cost depends on the number of length of `T::Keys::key_ids()` which is
4239
- * fixed.
3689
+ * - `origin`: The dispatch origin of this function must be signed.
3690
+ * - `keys`: The new session keys to set. These are the public keys of all sessions keys
3691
+ * setup in the runtime.
3692
+ * - `proof`: The proof that `origin` has access to the private keys of `keys`. See
3693
+ * [`impl_opaque_keys`](sp_runtime::impl_opaque_keys) for more information about the
3694
+ * proof format.
4240
3695
  **/
4241
3696
  setKeys: AugmentedSubmittable<(keys: StagingKusamaRuntimeSessionKeys | {
4242
3697
  grandpa?: any;
@@ -4407,6 +3862,26 @@ declare module '@polkadot/api-base/types/submittable' {
4407
3862
  * Any bid deposit is lost and voucher is banned.
4408
3863
  **/
4409
3864
  kickCandidate: AugmentedSubmittable<(candidate: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
3865
+ /**
3866
+ * Kick a member from the society. Callable only by the Signed origin of the Founder.
3867
+ *
3868
+ * The member is fully removed (not suspended). All unclaimed payouts are slashed and
3869
+ * returned to the society pot.
3870
+ *
3871
+ * Parameters:
3872
+ * - `who`: The member to be removed.
3873
+ **/
3874
+ kickMember: AugmentedSubmittable<(who: MultiAddress | {
3875
+ Id: any;
3876
+ } | {
3877
+ Index: any;
3878
+ } | {
3879
+ Raw: any;
3880
+ } | {
3881
+ Address32: any;
3882
+ } | {
3883
+ Address20: any;
3884
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
4410
3885
  /**
4411
3886
  * Transfer the first matured payout for the sender and remove it from the records.
4412
3887
  *
@@ -4827,7 +4302,7 @@ declare module '@polkadot/api-base/types/submittable' {
4827
4302
  *
4828
4303
  * If a validator has more than [`Config::MaxExposurePageSize`] nominators backing
4829
4304
  * them, then the list of nominators is paged, with each page being capped at
4830
- * [`Config::MaxExposurePageSize`.] If a validator has more than one page of nominators,
4305
+ * [`Config::MaxExposurePageSize`]. If a validator has more than one page of nominators,
4831
4306
  * the call needs to be made for each page separately in order for all the nominators
4832
4307
  * backing a validator to receive the reward. The nominators are not sorted across pages
4833
4308
  * and so it should not be assumed the highest staker would be on the topmost page and vice
@@ -5098,6 +4573,23 @@ declare module '@polkadot/api-base/types/submittable' {
5098
4573
  * manually do what this pallet was meant to do at the end of the migration.
5099
4574
  **/
5100
4575
  forceOnMigrationEnd: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
4576
+ /**
4577
+ * Purge session keys for a validator, forwarded from AssetHub.
4578
+ *
4579
+ * This is called when a validator purges their session keys on AssetHub, which forwards
4580
+ * the request to the RelayChain via XCM.
4581
+ **/
4582
+ purgeKeysFromAh: AugmentedSubmittable<(stash: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
4583
+ /**
4584
+ * Set session keys for a validator, forwarded from AssetHub.
4585
+ *
4586
+ * This is called when a validator sets their session keys on AssetHub, which forwards
4587
+ * the request to the RelayChain via XCM.
4588
+ *
4589
+ * AssetHub validates both keys and ownership proof before sending.
4590
+ * RC trusts AH's validation and does not re-validate.
4591
+ **/
4592
+ setKeysFromAh: AugmentedSubmittable<(stash: AccountId32 | string | Uint8Array, keys: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, Bytes]>;
5101
4593
  /**
5102
4594
  * Allows governance to force set the operating mode of the pallet.
5103
4595
  **/
@@ -5284,6 +4776,8 @@ declare module '@polkadot/api-base/types/submittable' {
5284
4776
  * approval queue, i.e., the proposal has not been approved. This could also mean the
5285
4777
  * proposal does not exist altogether, thus there is no way it would have been approved
5286
4778
  * in the first place.
4779
+ *
4780
+ * @deprecated The `remove_approval` call will be removed by May 2025. It associated with the deprecated `spend_local` call.
5287
4781
  **/
5288
4782
  removeApproval: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
5289
4783
  /**
@@ -5345,6 +4839,8 @@ declare module '@polkadot/api-base/types/submittable' {
5345
4839
  * ## Events
5346
4840
  *
5347
4841
  * Emits [`Event::SpendApproved`] if successful.
4842
+ *
4843
+ * @deprecated The `spend_local` call will be removed by May 2025. Migrate to the new flow and use the `spend` call.
5348
4844
  **/
5349
4845
  spendLocal: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, beneficiary: MultiAddress | {
5350
4846
  Id: any;
@@ -6036,6 +5532,8 @@ declare module '@polkadot/api-base/types/submittable' {
6036
5532
  * fee on the `dest` (and possibly reserve) chains.
6037
5533
  * - `fee_asset_item`: The index into `assets` of the item which should be used to pay
6038
5534
  * fees.
5535
+ *
5536
+ * @deprecated This extrinsic uses `WeightLimit::Unlimited`, please migrate to `limited_reserve_transfer_assets` or `transfer_assets`
6039
5537
  **/
6040
5538
  reserveTransferAssets: AugmentedSubmittable<(dest: XcmVersionedLocation | {
6041
5539
  V3: any;
@@ -6088,6 +5586,8 @@ declare module '@polkadot/api-base/types/submittable' {
6088
5586
  * fee on the `dest` chain.
6089
5587
  * - `fee_asset_item`: The index into `assets` of the item which should be used to pay
6090
5588
  * fees.
5589
+ *
5590
+ * @deprecated This extrinsic uses `WeightLimit::Unlimited`, please migrate to `limited_teleport_assets` or `transfer_assets`
6091
5591
  **/
6092
5592
  teleportAssets: AugmentedSubmittable<(dest: XcmVersionedLocation | {
6093
5593
  V3: any;