@polkadot/api-augment 16.5.6 → 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.
- package/assetHubKusama/consts.d.ts +140 -53
- package/assetHubKusama/errors.d.ts +310 -111
- package/assetHubKusama/events.d.ts +420 -149
- package/assetHubKusama/query.d.ts +370 -92
- package/assetHubKusama/runtime.d.ts +157 -8
- package/assetHubKusama/tx.d.ts +690 -600
- package/cjs/assetHubKusama/consts.d.ts +140 -53
- package/cjs/assetHubKusama/errors.d.ts +310 -111
- package/cjs/assetHubKusama/events.d.ts +420 -149
- package/cjs/assetHubKusama/query.d.ts +370 -92
- package/cjs/assetHubKusama/runtime.d.ts +157 -8
- package/cjs/assetHubKusama/tx.d.ts +690 -600
- package/cjs/kusama/consts.d.ts +0 -40
- package/cjs/kusama/errors.d.ts +25 -151
- package/cjs/kusama/events.d.ts +93 -208
- package/cjs/kusama/query.d.ts +98 -177
- package/cjs/kusama/runtime.d.ts +86 -46
- package/cjs/kusama/tx.d.ts +108 -608
- package/cjs/packageInfo.js +1 -1
- package/cjs/polkadot/consts.d.ts +1 -1
- package/cjs/polkadot/errors.d.ts +25 -85
- package/cjs/polkadot/events.d.ts +103 -159
- package/cjs/polkadot/query.d.ts +108 -172
- package/cjs/polkadot/runtime.d.ts +72 -46
- package/cjs/polkadot/tx.d.ts +101 -351
- package/cjs/substrate/consts.d.ts +12 -3
- package/cjs/substrate/errors.d.ts +28 -14
- package/cjs/substrate/events.d.ts +66 -1
- package/cjs/substrate/query.d.ts +9 -0
- package/cjs/substrate/runtime.d.ts +5 -1
- package/cjs/substrate/tx.d.ts +81 -2
- package/kusama/consts.d.ts +0 -40
- package/kusama/errors.d.ts +25 -151
- package/kusama/events.d.ts +93 -208
- package/kusama/query.d.ts +98 -177
- package/kusama/runtime.d.ts +86 -46
- package/kusama/tx.d.ts +108 -608
- package/package.json +6 -6
- package/packageInfo.js +1 -1
- package/polkadot/consts.d.ts +1 -1
- package/polkadot/errors.d.ts +25 -85
- package/polkadot/events.d.ts +103 -159
- package/polkadot/query.d.ts +108 -172
- package/polkadot/runtime.d.ts +72 -46
- package/polkadot/tx.d.ts +101 -351
- package/substrate/consts.d.ts +12 -3
- package/substrate/errors.d.ts +28 -14
- package/substrate/events.d.ts +66 -1
- package/substrate/query.d.ts +9 -0
- package/substrate/runtime.d.ts +5 -1
- package/substrate/tx.d.ts +81 -2
package/cjs/polkadot/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, PalletBalancesAdjustmentDirection, PalletBrokerCoretimeInterfaceCoreAssignment, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpPerbill, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState,
|
|
7
|
+
import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, 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, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletVestingVestingInfo, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV9ApprovalVotingParams, PolkadotPrimitivesV9AsyncBackingAsyncBackingParams, PolkadotPrimitivesV9ExecutorParams, PolkadotPrimitivesV9InherentData, PolkadotPrimitivesV9PvfCheckStatement, PolkadotPrimitivesV9SlashingDisputeProof, PolkadotPrimitivesV9ValidatorAppSignature, PolkadotPrimitivesVstagingSchedulerParams, PolkadotRuntimeCommonClaimsEcdsaSignature, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeConstantsProxyProxyType, PolkadotRuntimeOriginCaller, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeRuntimeParameters, PolkadotRuntimeSessionKeys, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBeefyDoubleVotingProof, SpConsensusBeefyForkVotingProofAncestryProof, SpConsensusBeefyFutureBlockVotingProof, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeMultiSignature, SpRuntimeMultiSigner, SpSessionMembershipProof, SpWeightsWeightV2Weight, 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:
|
|
892
|
+
setApprovalVotingParams: AugmentedSubmittable<(updated: PolkadotPrimitivesV9ApprovalVotingParams | {
|
|
893
893
|
maxApprovalCoalesceCount?: any;
|
|
894
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
894
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV9ApprovalVotingParams]>;
|
|
895
895
|
/**
|
|
896
896
|
* Set the asynchronous backing parameters.
|
|
897
897
|
**/
|
|
898
|
-
setAsyncBackingParams: AugmentedSubmittable<(updated:
|
|
898
|
+
setAsyncBackingParams: AugmentedSubmittable<(updated: PolkadotPrimitivesV9AsyncBackingAsyncBackingParams | {
|
|
899
899
|
maxCandidateDepth?: any;
|
|
900
900
|
allowedAncestryLen?: any;
|
|
901
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
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:
|
|
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:
|
|
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
|
-
|
|
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`
|
|
@@ -1901,6 +1911,13 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1901
1911
|
* Register approval for a dispatch to be made from a deterministic composite account if
|
|
1902
1912
|
* approved by a total of `threshold - 1` of `other_signatories`.
|
|
1903
1913
|
*
|
|
1914
|
+
* **This function will NEVER execute the call, even if the approval threshold is
|
|
1915
|
+
* reached.** It only registers approval. To actually execute the call, `as_multi` must
|
|
1916
|
+
* be called with the full call data by any of the signatories.
|
|
1917
|
+
*
|
|
1918
|
+
* This function is more efficient than `as_multi` for intermediate approvals since it
|
|
1919
|
+
* only requires the call hash, not the full call data.
|
|
1920
|
+
*
|
|
1904
1921
|
* Payment: `DepositBase` will be reserved if this is the first approval, plus
|
|
1905
1922
|
* `threshold` times `DepositFactor`. It is returned once this dispatch happens or
|
|
1906
1923
|
* is cancelled.
|
|
@@ -1915,7 +1932,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1915
1932
|
* transaction index) of the first approval transaction.
|
|
1916
1933
|
* - `call_hash`: The hash of the call to be executed.
|
|
1917
1934
|
*
|
|
1918
|
-
* NOTE:
|
|
1935
|
+
* NOTE: To execute the call after approvals are gathered, any signatory must call
|
|
1936
|
+
* `as_multi` with the full call data. This function cannot execute the call.
|
|
1919
1937
|
*
|
|
1920
1938
|
* ## Complexity
|
|
1921
1939
|
* - `O(S)`.
|
|
@@ -1940,7 +1958,9 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1940
1958
|
* Register approval for a dispatch to be made from a deterministic composite account if
|
|
1941
1959
|
* approved by a total of `threshold - 1` of `other_signatories`.
|
|
1942
1960
|
*
|
|
1943
|
-
* If
|
|
1961
|
+
* **If the approval threshold is met (including the sender's approval), this will
|
|
1962
|
+
* immediately execute the call.** This is the only way to execute a multisig call -
|
|
1963
|
+
* `approve_as_multi` will never trigger execution.
|
|
1944
1964
|
*
|
|
1945
1965
|
* Payment: `DepositBase` will be reserved if this is the first approval, plus
|
|
1946
1966
|
* `threshold` times `DepositFactor`. It is returned once this dispatch happens or
|
|
@@ -1956,8 +1976,9 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1956
1976
|
* transaction index) of the first approval transaction.
|
|
1957
1977
|
* - `call`: The call to be executed.
|
|
1958
1978
|
*
|
|
1959
|
-
* NOTE:
|
|
1960
|
-
* `approve_as_multi` instead, since it only requires a hash of the call
|
|
1979
|
+
* NOTE: For intermediate approvals (not the final approval), you should generally use
|
|
1980
|
+
* `approve_as_multi` instead, since it only requires a hash of the call and is more
|
|
1981
|
+
* efficient.
|
|
1961
1982
|
*
|
|
1962
1983
|
* Result is equivalent to the dispatched result if `threshold` is exactly `1`. Otherwise
|
|
1963
1984
|
* on success, result is `Ok` and the result from the interior call, if it was executed,
|
|
@@ -2589,6 +2610,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2589
2610
|
*
|
|
2590
2611
|
* Events:
|
|
2591
2612
|
* - `OnDemandOrderPlaced`
|
|
2613
|
+
*
|
|
2614
|
+
* @deprecated This will be removed in favor of using `place_order_with_credits`
|
|
2592
2615
|
**/
|
|
2593
2616
|
placeOrderAllowDeath: AugmentedSubmittable<(maxAmount: u128 | AnyNumber | Uint8Array, paraId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128, u32]>;
|
|
2594
2617
|
/**
|
|
@@ -2607,6 +2630,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2607
2630
|
*
|
|
2608
2631
|
* Events:
|
|
2609
2632
|
* - `OnDemandOrderPlaced`
|
|
2633
|
+
*
|
|
2634
|
+
* @deprecated This will be removed in favor of using `place_order_with_credits`
|
|
2610
2635
|
**/
|
|
2611
2636
|
placeOrderKeepAlive: AugmentedSubmittable<(maxAmount: u128 | AnyNumber | Uint8Array, paraId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128, u32]>;
|
|
2612
2637
|
/**
|
|
@@ -2644,12 +2669,27 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2644
2669
|
/**
|
|
2645
2670
|
* Enter the paras inherent. This will process bitfields and backed candidates.
|
|
2646
2671
|
**/
|
|
2647
|
-
enter: AugmentedSubmittable<(data:
|
|
2672
|
+
enter: AugmentedSubmittable<(data: PolkadotPrimitivesV9InherentData | {
|
|
2648
2673
|
bitfields?: any;
|
|
2649
2674
|
backedCandidates?: any;
|
|
2650
2675
|
disputes?: any;
|
|
2651
2676
|
parentHeader?: any;
|
|
2652
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2677
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV9InherentData]>;
|
|
2678
|
+
/**
|
|
2679
|
+
* Generic tx
|
|
2680
|
+
**/
|
|
2681
|
+
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
2682
|
+
};
|
|
2683
|
+
parameters: {
|
|
2684
|
+
/**
|
|
2685
|
+
* Set the value of a parameter.
|
|
2686
|
+
*
|
|
2687
|
+
* The dispatch origin of this call must be `AdminOrigin` for the given `key`. Values be
|
|
2688
|
+
* deleted by setting them to `None`.
|
|
2689
|
+
**/
|
|
2690
|
+
setParameter: AugmentedSubmittable<(keyValue: PolkadotRuntimeRuntimeParameters | {
|
|
2691
|
+
AhClient: any;
|
|
2692
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotRuntimeRuntimeParameters]>;
|
|
2653
2693
|
/**
|
|
2654
2694
|
* Generic tx
|
|
2655
2695
|
**/
|
|
@@ -2722,12 +2762,12 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2722
2762
|
* Includes a statement for a PVF pre-checking vote. Potentially, finalizes the vote and
|
|
2723
2763
|
* enacts the results if that was the last vote before achieving the supermajority.
|
|
2724
2764
|
**/
|
|
2725
|
-
includePvfCheckStatement: AugmentedSubmittable<(stmt:
|
|
2765
|
+
includePvfCheckStatement: AugmentedSubmittable<(stmt: PolkadotPrimitivesV9PvfCheckStatement | {
|
|
2726
2766
|
accept?: any;
|
|
2727
2767
|
subject?: any;
|
|
2728
2768
|
sessionIndex?: any;
|
|
2729
2769
|
validatorIndex?: any;
|
|
2730
|
-
} | string | Uint8Array, signature:
|
|
2770
|
+
} | string | Uint8Array, signature: PolkadotPrimitivesV9ValidatorAppSignature | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV9PvfCheckStatement, PolkadotPrimitivesV9ValidatorAppSignature]>;
|
|
2731
2771
|
/**
|
|
2732
2772
|
* Remove the validation code from the storage iff the reference count is 0.
|
|
2733
2773
|
*
|
|
@@ -2762,7 +2802,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2762
2802
|
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
2763
2803
|
};
|
|
2764
2804
|
parasSlashing: {
|
|
2765
|
-
reportDisputeLostUnsigned: AugmentedSubmittable<(disputeProof:
|
|
2805
|
+
reportDisputeLostUnsigned: AugmentedSubmittable<(disputeProof: PolkadotPrimitivesV9SlashingDisputeProof | {
|
|
2766
2806
|
timeSlot?: any;
|
|
2767
2807
|
kind?: any;
|
|
2768
2808
|
validatorIndex?: any;
|
|
@@ -2771,7 +2811,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2771
2811
|
session?: any;
|
|
2772
2812
|
trieNodes?: any;
|
|
2773
2813
|
validatorCount?: any;
|
|
2774
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2814
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV9SlashingDisputeProof, SpSessionMembershipProof]>;
|
|
2775
2815
|
/**
|
|
2776
2816
|
* Generic tx
|
|
2777
2817
|
**/
|
|
@@ -3066,326 +3106,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3066
3106
|
**/
|
|
3067
3107
|
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
3068
3108
|
};
|
|
3069
|
-
rcMigrator: {
|
|
3070
|
-
/**
|
|
3071
|
-
* Cancel the migration.
|
|
3072
|
-
*
|
|
3073
|
-
* Migration can only be cancelled if it is in the [`MigrationStage::Scheduled`] state.
|
|
3074
|
-
**/
|
|
3075
|
-
cancelMigration: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
3076
|
-
/**
|
|
3077
|
-
* Set the migration stage.
|
|
3078
|
-
*
|
|
3079
|
-
* This call is intended for emergency use only and is guarded by the
|
|
3080
|
-
* [`Config::AdminOrigin`].
|
|
3081
|
-
**/
|
|
3082
|
-
forceSetStage: AugmentedSubmittable<(stage: PalletRcMigratorMigrationStage | {
|
|
3083
|
-
Pending: any;
|
|
3084
|
-
} | {
|
|
3085
|
-
MigrationPaused: any;
|
|
3086
|
-
} | {
|
|
3087
|
-
Scheduled: any;
|
|
3088
|
-
} | {
|
|
3089
|
-
WaitingForAh: any;
|
|
3090
|
-
} | {
|
|
3091
|
-
WarmUp: any;
|
|
3092
|
-
} | {
|
|
3093
|
-
Starting: any;
|
|
3094
|
-
} | {
|
|
3095
|
-
PureProxyCandidatesMigrationInit: any;
|
|
3096
|
-
} | {
|
|
3097
|
-
AccountsMigrationInit: any;
|
|
3098
|
-
} | {
|
|
3099
|
-
AccountsMigrationOngoing: any;
|
|
3100
|
-
} | {
|
|
3101
|
-
AccountsMigrationDone: any;
|
|
3102
|
-
} | {
|
|
3103
|
-
MultisigMigrationInit: any;
|
|
3104
|
-
} | {
|
|
3105
|
-
MultisigMigrationOngoing: any;
|
|
3106
|
-
} | {
|
|
3107
|
-
MultisigMigrationDone: any;
|
|
3108
|
-
} | {
|
|
3109
|
-
ClaimsMigrationInit: any;
|
|
3110
|
-
} | {
|
|
3111
|
-
ClaimsMigrationOngoing: any;
|
|
3112
|
-
} | {
|
|
3113
|
-
ClaimsMigrationDone: any;
|
|
3114
|
-
} | {
|
|
3115
|
-
ProxyMigrationInit: any;
|
|
3116
|
-
} | {
|
|
3117
|
-
ProxyMigrationProxies: any;
|
|
3118
|
-
} | {
|
|
3119
|
-
ProxyMigrationAnnouncements: any;
|
|
3120
|
-
} | {
|
|
3121
|
-
ProxyMigrationDone: any;
|
|
3122
|
-
} | {
|
|
3123
|
-
PreimageMigrationInit: any;
|
|
3124
|
-
} | {
|
|
3125
|
-
PreimageMigrationChunksOngoing: any;
|
|
3126
|
-
} | {
|
|
3127
|
-
PreimageMigrationChunksDone: any;
|
|
3128
|
-
} | {
|
|
3129
|
-
PreimageMigrationRequestStatusOngoing: any;
|
|
3130
|
-
} | {
|
|
3131
|
-
PreimageMigrationRequestStatusDone: any;
|
|
3132
|
-
} | {
|
|
3133
|
-
PreimageMigrationLegacyRequestStatusInit: any;
|
|
3134
|
-
} | {
|
|
3135
|
-
PreimageMigrationLegacyRequestStatusOngoing: any;
|
|
3136
|
-
} | {
|
|
3137
|
-
PreimageMigrationLegacyRequestStatusDone: any;
|
|
3138
|
-
} | {
|
|
3139
|
-
PreimageMigrationDone: any;
|
|
3140
|
-
} | {
|
|
3141
|
-
NomPoolsMigrationInit: any;
|
|
3142
|
-
} | {
|
|
3143
|
-
NomPoolsMigrationOngoing: any;
|
|
3144
|
-
} | {
|
|
3145
|
-
NomPoolsMigrationDone: any;
|
|
3146
|
-
} | {
|
|
3147
|
-
VestingMigrationInit: any;
|
|
3148
|
-
} | {
|
|
3149
|
-
VestingMigrationOngoing: any;
|
|
3150
|
-
} | {
|
|
3151
|
-
VestingMigrationDone: any;
|
|
3152
|
-
} | {
|
|
3153
|
-
DelegatedStakingMigrationInit: any;
|
|
3154
|
-
} | {
|
|
3155
|
-
DelegatedStakingMigrationOngoing: any;
|
|
3156
|
-
} | {
|
|
3157
|
-
DelegatedStakingMigrationDone: any;
|
|
3158
|
-
} | {
|
|
3159
|
-
IndicesMigrationInit: any;
|
|
3160
|
-
} | {
|
|
3161
|
-
IndicesMigrationOngoing: any;
|
|
3162
|
-
} | {
|
|
3163
|
-
IndicesMigrationDone: any;
|
|
3164
|
-
} | {
|
|
3165
|
-
ReferendaMigrationInit: any;
|
|
3166
|
-
} | {
|
|
3167
|
-
ReferendaMigrationOngoing: any;
|
|
3168
|
-
} | {
|
|
3169
|
-
ReferendaMigrationDone: any;
|
|
3170
|
-
} | {
|
|
3171
|
-
BagsListMigrationInit: any;
|
|
3172
|
-
} | {
|
|
3173
|
-
BagsListMigrationOngoing: any;
|
|
3174
|
-
} | {
|
|
3175
|
-
BagsListMigrationDone: any;
|
|
3176
|
-
} | {
|
|
3177
|
-
SchedulerMigrationInit: any;
|
|
3178
|
-
} | {
|
|
3179
|
-
SchedulerMigrationOngoing: any;
|
|
3180
|
-
} | {
|
|
3181
|
-
SchedulerAgendaMigrationOngoing: any;
|
|
3182
|
-
} | {
|
|
3183
|
-
SchedulerMigrationDone: any;
|
|
3184
|
-
} | {
|
|
3185
|
-
ConvictionVotingMigrationInit: any;
|
|
3186
|
-
} | {
|
|
3187
|
-
ConvictionVotingMigrationOngoing: any;
|
|
3188
|
-
} | {
|
|
3189
|
-
ConvictionVotingMigrationDone: any;
|
|
3190
|
-
} | {
|
|
3191
|
-
BountiesMigrationInit: any;
|
|
3192
|
-
} | {
|
|
3193
|
-
BountiesMigrationOngoing: any;
|
|
3194
|
-
} | {
|
|
3195
|
-
BountiesMigrationDone: any;
|
|
3196
|
-
} | {
|
|
3197
|
-
ChildBountiesMigrationInit: any;
|
|
3198
|
-
} | {
|
|
3199
|
-
ChildBountiesMigrationOngoing: any;
|
|
3200
|
-
} | {
|
|
3201
|
-
ChildBountiesMigrationDone: any;
|
|
3202
|
-
} | {
|
|
3203
|
-
AssetRateMigrationInit: any;
|
|
3204
|
-
} | {
|
|
3205
|
-
AssetRateMigrationOngoing: any;
|
|
3206
|
-
} | {
|
|
3207
|
-
AssetRateMigrationDone: any;
|
|
3208
|
-
} | {
|
|
3209
|
-
CrowdloanMigrationInit: any;
|
|
3210
|
-
} | {
|
|
3211
|
-
CrowdloanMigrationOngoing: any;
|
|
3212
|
-
} | {
|
|
3213
|
-
CrowdloanMigrationDone: any;
|
|
3214
|
-
} | {
|
|
3215
|
-
TreasuryMigrationInit: any;
|
|
3216
|
-
} | {
|
|
3217
|
-
TreasuryMigrationOngoing: any;
|
|
3218
|
-
} | {
|
|
3219
|
-
TreasuryMigrationDone: any;
|
|
3220
|
-
} | {
|
|
3221
|
-
StakingMigrationInit: any;
|
|
3222
|
-
} | {
|
|
3223
|
-
StakingMigrationOngoing: any;
|
|
3224
|
-
} | {
|
|
3225
|
-
StakingMigrationDone: any;
|
|
3226
|
-
} | {
|
|
3227
|
-
CoolOff: any;
|
|
3228
|
-
} | {
|
|
3229
|
-
SignalMigrationFinish: any;
|
|
3230
|
-
} | {
|
|
3231
|
-
MigrationDone: any;
|
|
3232
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletRcMigratorMigrationStage]>;
|
|
3233
|
-
/**
|
|
3234
|
-
* Pause the migration.
|
|
3235
|
-
**/
|
|
3236
|
-
pauseMigration: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
3237
|
-
/**
|
|
3238
|
-
* Set the accounts to be preserved on Relay Chain during the migration.
|
|
3239
|
-
*
|
|
3240
|
-
* The accounts must have no consumers references.
|
|
3241
|
-
**/
|
|
3242
|
-
preserveAccounts: AugmentedSubmittable<(accounts: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>]>;
|
|
3243
|
-
/**
|
|
3244
|
-
* Receive a query response from the Asset Hub for a previously sent xcm message.
|
|
3245
|
-
**/
|
|
3246
|
-
receiveQueryResponse: AugmentedSubmittable<(queryId: u64 | AnyNumber | Uint8Array, response: StagingXcmV5Response | {
|
|
3247
|
-
Null: any;
|
|
3248
|
-
} | {
|
|
3249
|
-
Assets: any;
|
|
3250
|
-
} | {
|
|
3251
|
-
ExecutionResult: any;
|
|
3252
|
-
} | {
|
|
3253
|
-
Version: any;
|
|
3254
|
-
} | {
|
|
3255
|
-
PalletsInfo: any;
|
|
3256
|
-
} | {
|
|
3257
|
-
DispatchResult: any;
|
|
3258
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, StagingXcmV5Response]>;
|
|
3259
|
-
/**
|
|
3260
|
-
* Resend a previously sent and unconfirmed XCM message.
|
|
3261
|
-
**/
|
|
3262
|
-
resendXcm: AugmentedSubmittable<(queryId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;
|
|
3263
|
-
/**
|
|
3264
|
-
* Schedule the migration to start at a given moment.
|
|
3265
|
-
*
|
|
3266
|
-
* ### Parameters:
|
|
3267
|
-
* - `start`: The block number at which the migration will start. `DispatchTime` calculated
|
|
3268
|
-
* at the moment of the extrinsic execution.
|
|
3269
|
-
* - `warm_up`: Duration or timepoint that will be used to prepare for the migration. Calls
|
|
3270
|
-
* are filtered during this period. It is intended to give enough time for UMP and DMP
|
|
3271
|
-
* queues to empty. `DispatchTime` calculated at the moment of the transition to the
|
|
3272
|
-
* warm-up stage.
|
|
3273
|
-
* - `cool_off`: The block number at which the post migration cool-off period will end. The
|
|
3274
|
-
* `DispatchTime` calculated at the moment of the transition to the cool-off stage.
|
|
3275
|
-
* - `unsafe_ignore_staking_lock_check`: ONLY FOR TESTING. Ignore the check whether the
|
|
3276
|
-
* scheduled time point is far enough in the future.
|
|
3277
|
-
*
|
|
3278
|
-
* Note: If the staking election for next era is already complete, and the next
|
|
3279
|
-
* validator set is queued in `pallet-session`, we want to avoid starting the data
|
|
3280
|
-
* migration at this point as it can lead to some missed validator rewards. To address
|
|
3281
|
-
* this, we stop staking election at the start of migration and must wait atleast 1
|
|
3282
|
-
* session (set via warm_up) before starting the data migration.
|
|
3283
|
-
*
|
|
3284
|
-
* Read [`MigrationStage::Scheduled`] documentation for more details.
|
|
3285
|
-
**/
|
|
3286
|
-
scheduleMigration: AugmentedSubmittable<(start: FrameSupportScheduleDispatchTime | {
|
|
3287
|
-
At: any;
|
|
3288
|
-
} | {
|
|
3289
|
-
After: any;
|
|
3290
|
-
} | string | Uint8Array, warmUp: FrameSupportScheduleDispatchTime | {
|
|
3291
|
-
At: any;
|
|
3292
|
-
} | {
|
|
3293
|
-
After: any;
|
|
3294
|
-
} | string | Uint8Array, coolOff: FrameSupportScheduleDispatchTime | {
|
|
3295
|
-
At: any;
|
|
3296
|
-
} | {
|
|
3297
|
-
After: any;
|
|
3298
|
-
} | string | Uint8Array, unsafeIgnoreStakingLockCheck: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [FrameSupportScheduleDispatchTime, FrameSupportScheduleDispatchTime, FrameSupportScheduleDispatchTime, bool]>;
|
|
3299
|
-
/**
|
|
3300
|
-
* XCM send call identical to the [`pallet_xcm::Pallet::send`] call but with the
|
|
3301
|
-
* [Config::SendXcm] router which will be able to send messages to the Asset Hub during
|
|
3302
|
-
* the migration.
|
|
3303
|
-
**/
|
|
3304
|
-
sendXcmMessage: AugmentedSubmittable<(dest: XcmVersionedLocation | {
|
|
3305
|
-
V3: any;
|
|
3306
|
-
} | {
|
|
3307
|
-
V4: any;
|
|
3308
|
-
} | {
|
|
3309
|
-
V5: any;
|
|
3310
|
-
} | string | Uint8Array, message: XcmVersionedXcm | {
|
|
3311
|
-
V3: any;
|
|
3312
|
-
} | {
|
|
3313
|
-
V4: any;
|
|
3314
|
-
} | {
|
|
3315
|
-
V5: any;
|
|
3316
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedXcm]>;
|
|
3317
|
-
/**
|
|
3318
|
-
* Set the AH UMP queue priority configuration.
|
|
3319
|
-
*
|
|
3320
|
-
* Can only be called by the `AdminOrigin`.
|
|
3321
|
-
**/
|
|
3322
|
-
setAhUmpQueuePriority: AugmentedSubmittable<(updated: PalletRcMigratorQueuePriority | {
|
|
3323
|
-
Config: any;
|
|
3324
|
-
} | {
|
|
3325
|
-
OverrideConfig: any;
|
|
3326
|
-
} | {
|
|
3327
|
-
Disabled: any;
|
|
3328
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletRcMigratorQueuePriority]>;
|
|
3329
|
-
/**
|
|
3330
|
-
* Set the canceller account id.
|
|
3331
|
-
*
|
|
3332
|
-
* The canceller can only stop scheduled migration.
|
|
3333
|
-
**/
|
|
3334
|
-
setCanceller: AugmentedSubmittable<(updated: Option<AccountId32> | null | Uint8Array | AccountId32 | string) => SubmittableExtrinsic<ApiType>, [Option<AccountId32>]>;
|
|
3335
|
-
/**
|
|
3336
|
-
* Set the manager account id.
|
|
3337
|
-
*
|
|
3338
|
-
* The manager has the similar to [`Config::AdminOrigin`] privileges except that it
|
|
3339
|
-
* can not set the manager account id via `set_manager` call.
|
|
3340
|
-
**/
|
|
3341
|
-
setManager: AugmentedSubmittable<(updated: Option<AccountId32> | null | Uint8Array | AccountId32 | string) => SubmittableExtrinsic<ApiType>, [Option<AccountId32>]>;
|
|
3342
|
-
/**
|
|
3343
|
-
* Set the migration settings. Can only be done by admin or manager.
|
|
3344
|
-
**/
|
|
3345
|
-
setSettings: AugmentedSubmittable<(settings: Option<PalletRcMigratorMigrationSettings> | null | Uint8Array | PalletRcMigratorMigrationSettings | {
|
|
3346
|
-
maxAccountsPerBlock?: any;
|
|
3347
|
-
maxItemsPerBlock?: any;
|
|
3348
|
-
} | string) => SubmittableExtrinsic<ApiType>, [Option<PalletRcMigratorMigrationSettings>]>;
|
|
3349
|
-
/**
|
|
3350
|
-
* Set the unprocessed message buffer size.
|
|
3351
|
-
*
|
|
3352
|
-
* `None` means to use the configuration value.
|
|
3353
|
-
**/
|
|
3354
|
-
setUnprocessedMsgBuffer: AugmentedSubmittable<(updated: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;
|
|
3355
|
-
/**
|
|
3356
|
-
* Start the data migration.
|
|
3357
|
-
*
|
|
3358
|
-
* This is typically called by the Asset Hub to indicate it's readiness to receive the
|
|
3359
|
-
* migration data.
|
|
3360
|
-
**/
|
|
3361
|
-
startDataMigration: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
3362
|
-
/**
|
|
3363
|
-
* Vote on behalf of any of the members in `MultisigMembers`.
|
|
3364
|
-
*
|
|
3365
|
-
* Unsigned extrinsic, requiring the `payload` to be signed.
|
|
3366
|
-
*
|
|
3367
|
-
* Upon each call, a new entry is created in `ManagerMultisigs` map the `payload.call` to
|
|
3368
|
-
* be dispatched. Once `MultisigThreshold` is reached, the entire map is deleted, and we
|
|
3369
|
-
* move on to the next round.
|
|
3370
|
-
*
|
|
3371
|
-
* The round system ensures that signatures from older round cannot be reused.
|
|
3372
|
-
**/
|
|
3373
|
-
voteManagerMultisig: AugmentedSubmittable<(payload: PalletRcMigratorManagerMultisigVote | {
|
|
3374
|
-
who?: any;
|
|
3375
|
-
call?: any;
|
|
3376
|
-
round?: any;
|
|
3377
|
-
} | string | Uint8Array, sig: SpRuntimeMultiSignature | {
|
|
3378
|
-
Ed25519: any;
|
|
3379
|
-
} | {
|
|
3380
|
-
Sr25519: any;
|
|
3381
|
-
} | {
|
|
3382
|
-
Ecdsa: any;
|
|
3383
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletRcMigratorManagerMultisigVote, SpRuntimeMultiSignature]>;
|
|
3384
|
-
/**
|
|
3385
|
-
* Generic tx
|
|
3386
|
-
**/
|
|
3387
|
-
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
3388
|
-
};
|
|
3389
3109
|
referenda: {
|
|
3390
3110
|
/**
|
|
3391
3111
|
* Cancel an ongoing referendum.
|
|
@@ -3618,7 +3338,10 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3618
3338
|
};
|
|
3619
3339
|
scheduler: {
|
|
3620
3340
|
/**
|
|
3621
|
-
* Cancel
|
|
3341
|
+
* Cancel a scheduled task (named or anonymous), by providing the block it is scheduled for
|
|
3342
|
+
* execution in, as well as the index of the task in that block's agenda.
|
|
3343
|
+
*
|
|
3344
|
+
* In the case of a named task, it will remove it from the lookup table as well.
|
|
3622
3345
|
**/
|
|
3623
3346
|
cancel: AugmentedSubmittable<(when: u32 | AnyNumber | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
|
|
3624
3347
|
/**
|
|
@@ -3662,6 +3385,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3662
3385
|
* clones of the original task. Their retry configuration will be derived from the
|
|
3663
3386
|
* original task's configuration, but will have a lower value for `remaining` than the
|
|
3664
3387
|
* original `total_retries`.
|
|
3388
|
+
*
|
|
3389
|
+
* This call **cannot** be used to set a retry configuration for a named task.
|
|
3665
3390
|
**/
|
|
3666
3391
|
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]>;
|
|
3667
3392
|
/**
|
|
@@ -3677,6 +3402,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3677
3402
|
* clones of the original task. Their retry configuration will be derived from the
|
|
3678
3403
|
* original task's configuration, but will have a lower value for `remaining` than the
|
|
3679
3404
|
* original `total_retries`.
|
|
3405
|
+
*
|
|
3406
|
+
* This is the only way to set a retry configuration for a named task.
|
|
3680
3407
|
**/
|
|
3681
3408
|
setRetryNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array, retries: u8 | AnyNumber | Uint8Array, period: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [U8aFixed, u8, u32]>;
|
|
3682
3409
|
/**
|
|
@@ -3694,22 +3421,20 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3694
3421
|
* convertible to a validator ID using the chain's typical addressing system (this usually
|
|
3695
3422
|
* means being a controller account) or directly convertible into a validator ID (which
|
|
3696
3423
|
* usually means being a stash account).
|
|
3697
|
-
*
|
|
3698
|
-
* ## Complexity
|
|
3699
|
-
* - `O(1)` in number of key types. Actual cost depends on the number of length of
|
|
3700
|
-
* `T::Keys::key_ids()` which is fixed.
|
|
3701
3424
|
**/
|
|
3702
3425
|
purgeKeys: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
3703
3426
|
/**
|
|
3704
3427
|
* Sets the session key(s) of the function caller to `keys`.
|
|
3428
|
+
*
|
|
3705
3429
|
* Allows an account to set its session key prior to becoming a validator.
|
|
3706
3430
|
* This doesn't take effect until the next session.
|
|
3707
3431
|
*
|
|
3708
|
-
* The dispatch origin of this function must be signed.
|
|
3709
|
-
*
|
|
3710
|
-
*
|
|
3711
|
-
* - `
|
|
3712
|
-
*
|
|
3432
|
+
* - `origin`: The dispatch origin of this function must be signed.
|
|
3433
|
+
* - `keys`: The new session keys to set. These are the public keys of all sessions keys
|
|
3434
|
+
* setup in the runtime.
|
|
3435
|
+
* - `proof`: The proof that `origin` has access to the private keys of `keys`. See
|
|
3436
|
+
* [`impl_opaque_keys`](sp_runtime::impl_opaque_keys) for more information about the
|
|
3437
|
+
* proof format.
|
|
3713
3438
|
**/
|
|
3714
3439
|
setKeys: AugmentedSubmittable<(keys: PolkadotRuntimeSessionKeys | {
|
|
3715
3440
|
grandpa?: any;
|
|
@@ -4043,7 +3768,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4043
3768
|
*
|
|
4044
3769
|
* If a validator has more than [`Config::MaxExposurePageSize`] nominators backing
|
|
4045
3770
|
* them, then the list of nominators is paged, with each page being capped at
|
|
4046
|
-
* [`Config::MaxExposurePageSize
|
|
3771
|
+
* [`Config::MaxExposurePageSize`]. If a validator has more than one page of nominators,
|
|
4047
3772
|
* the call needs to be made for each page separately in order for all the nominators
|
|
4048
3773
|
* backing a validator to receive the reward. The nominators are not sorted across pages
|
|
4049
3774
|
* and so it should not be assumed the highest staker would be on the topmost page and vice
|
|
@@ -4314,6 +4039,23 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4314
4039
|
* manually do what this pallet was meant to do at the end of the migration.
|
|
4315
4040
|
**/
|
|
4316
4041
|
forceOnMigrationEnd: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
4042
|
+
/**
|
|
4043
|
+
* Purge session keys for a validator, forwarded from AssetHub.
|
|
4044
|
+
*
|
|
4045
|
+
* This is called when a validator purges their session keys on AssetHub, which forwards
|
|
4046
|
+
* the request to the RelayChain via XCM.
|
|
4047
|
+
**/
|
|
4048
|
+
purgeKeysFromAh: AugmentedSubmittable<(stash: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
|
4049
|
+
/**
|
|
4050
|
+
* Set session keys for a validator, forwarded from AssetHub.
|
|
4051
|
+
*
|
|
4052
|
+
* This is called when a validator sets their session keys on AssetHub, which forwards
|
|
4053
|
+
* the request to the RelayChain via XCM.
|
|
4054
|
+
*
|
|
4055
|
+
* AssetHub validates both keys and ownership proof before sending.
|
|
4056
|
+
* RC trusts AH's validation and does not re-validate.
|
|
4057
|
+
**/
|
|
4058
|
+
setKeysFromAh: AugmentedSubmittable<(stash: AccountId32 | string | Uint8Array, keys: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, Bytes]>;
|
|
4317
4059
|
/**
|
|
4318
4060
|
* Allows governance to force set the operating mode of the pallet.
|
|
4319
4061
|
**/
|
|
@@ -4595,6 +4337,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4595
4337
|
* approval queue, i.e., the proposal has not been approved. This could also mean the
|
|
4596
4338
|
* proposal does not exist altogether, thus there is no way it would have been approved
|
|
4597
4339
|
* in the first place.
|
|
4340
|
+
*
|
|
4341
|
+
* @deprecated The `remove_approval` call will be removed by May 2025. It associated with the deprecated `spend_local` call.
|
|
4598
4342
|
**/
|
|
4599
4343
|
removeApproval: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
|
|
4600
4344
|
/**
|
|
@@ -4656,6 +4400,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4656
4400
|
* ## Events
|
|
4657
4401
|
*
|
|
4658
4402
|
* Emits [`Event::SpendApproved`] if successful.
|
|
4403
|
+
*
|
|
4404
|
+
* @deprecated The `spend_local` call will be removed by May 2025. Migrate to the new flow and use the `spend` call.
|
|
4659
4405
|
**/
|
|
4660
4406
|
spendLocal: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, beneficiary: MultiAddress | {
|
|
4661
4407
|
Id: any;
|
|
@@ -5347,6 +5093,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5347
5093
|
* fee on the `dest` (and possibly reserve) chains.
|
|
5348
5094
|
* - `fee_asset_item`: The index into `assets` of the item which should be used to pay
|
|
5349
5095
|
* fees.
|
|
5096
|
+
*
|
|
5097
|
+
* @deprecated This extrinsic uses `WeightLimit::Unlimited`, please migrate to `limited_reserve_transfer_assets` or `transfer_assets`
|
|
5350
5098
|
**/
|
|
5351
5099
|
reserveTransferAssets: AugmentedSubmittable<(dest: XcmVersionedLocation | {
|
|
5352
5100
|
V3: any;
|
|
@@ -5399,6 +5147,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5399
5147
|
* fee on the `dest` chain.
|
|
5400
5148
|
* - `fee_asset_item`: The index into `assets` of the item which should be used to pay
|
|
5401
5149
|
* fees.
|
|
5150
|
+
*
|
|
5151
|
+
* @deprecated This extrinsic uses `WeightLimit::Unlimited`, please migrate to `limited_teleport_assets` or `transfer_assets`
|
|
5402
5152
|
**/
|
|
5403
5153
|
teleportAssets: AugmentedSubmittable<(dest: XcmVersionedLocation | {
|
|
5404
5154
|
V3: any;
|