@polkadot/api-augment 16.4.8 → 16.5.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 +598 -4
- package/assetHubKusama/errors.d.ts +1278 -49
- package/assetHubKusama/events.d.ts +1691 -127
- package/assetHubKusama/query.d.ts +1175 -26
- package/assetHubKusama/runtime.d.ts +211 -8
- package/assetHubKusama/tx.d.ts +6095 -2628
- package/cjs/assetHubKusama/consts.d.ts +598 -4
- package/cjs/assetHubKusama/errors.d.ts +1278 -49
- package/cjs/assetHubKusama/events.d.ts +1691 -127
- package/cjs/assetHubKusama/query.d.ts +1175 -26
- package/cjs/assetHubKusama/runtime.d.ts +211 -8
- package/cjs/assetHubKusama/tx.d.ts +6095 -2628
- package/cjs/kusama/consts.d.ts +46 -104
- package/cjs/kusama/errors.d.ts +113 -121
- package/cjs/kusama/events.d.ts +258 -228
- package/cjs/kusama/query.d.ts +211 -104
- package/cjs/kusama/tx.d.ts +451 -236
- package/cjs/packageInfo.js +1 -1
- package/cjs/polkadot/consts.d.ts +40 -2
- package/cjs/polkadot/errors.d.ts +113 -0
- package/cjs/polkadot/events.d.ts +247 -1
- package/cjs/polkadot/query.d.ts +218 -4
- package/cjs/polkadot/runtime.d.ts +15 -1
- package/cjs/polkadot/tx.d.ts +399 -12
- package/kusama/consts.d.ts +46 -104
- package/kusama/errors.d.ts +113 -121
- package/kusama/events.d.ts +258 -228
- package/kusama/query.d.ts +211 -104
- package/kusama/tx.d.ts +451 -236
- package/package.json +7 -7
- package/packageInfo.js +1 -1
- package/polkadot/consts.d.ts +40 -2
- package/polkadot/errors.d.ts +113 -0
- package/polkadot/events.d.ts +247 -1
- package/polkadot/query.d.ts +218 -4
- package/polkadot/runtime.d.ts +15 -1
- package/polkadot/tx.d.ts +399 -12
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, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingUnlockChunk, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletVestingVestingInfo, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV8ApprovalVotingParams, PolkadotPrimitivesV8AsyncBackingAsyncBackingParams, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8PvfCheckStatement, PolkadotPrimitivesV8SchedulerParams,
|
|
7
|
+
import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, PalletBalancesAdjustmentDirection, PalletBrokerCoretimeInterfaceCoreAssignment, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpPerbill, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletRcMigratorManagerMultisigVote, PalletRcMigratorMigrationSettings, PalletRcMigratorMigrationStage, PalletRcMigratorQueuePriority, PalletStakingAsyncAhClientOperatingMode, PalletStakingAsyncRcClientValidatorSetReport, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingUnlockChunk, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletVestingVestingInfo, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV8ApprovalVotingParams, PolkadotPrimitivesV8AsyncBackingAsyncBackingParams, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8PvfCheckStatement, PolkadotPrimitivesV8SchedulerParams, PolkadotPrimitivesV8ValidatorAppSignature, PolkadotPrimitivesVstagingDisputeProof, PolkadotPrimitivesVstagingInherentData, PolkadotRuntimeCommonClaimsEcdsaSignature, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeConstantsProxyProxyType, PolkadotRuntimeOriginCaller, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeSessionKeys, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBeefyDoubleVotingProof, SpConsensusBeefyForkVotingProofAncestryProof, SpConsensusBeefyFutureBlockVotingProof, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeMultiSignature, SpRuntimeMultiSigner, SpSessionMembershipProof, SpWeightsWeightV2Weight, StagingXcmExecutorAssetTransferTransferType, StagingXcmV5Location, StagingXcmV5Response, 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>;
|
|
@@ -515,6 +515,24 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
515
515
|
* - O(1).
|
|
516
516
|
**/
|
|
517
517
|
extendBountyExpiry: AugmentedSubmittable<(bountyId: Compact<u32> | AnyNumber | Uint8Array, remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Bytes]>;
|
|
518
|
+
/**
|
|
519
|
+
* Poke the deposit reserved for creating a bounty proposal.
|
|
520
|
+
*
|
|
521
|
+
* This can be used by accounts to update their reserved amount.
|
|
522
|
+
*
|
|
523
|
+
* The dispatch origin for this call must be _Signed_.
|
|
524
|
+
*
|
|
525
|
+
* Parameters:
|
|
526
|
+
* - `bounty_id`: The bounty id for which to adjust the deposit.
|
|
527
|
+
*
|
|
528
|
+
* If the deposit is updated, the difference will be reserved/unreserved from the
|
|
529
|
+
* proposer's account.
|
|
530
|
+
*
|
|
531
|
+
* The transaction is made free if the deposit is updated and paid otherwise.
|
|
532
|
+
*
|
|
533
|
+
* Emits `DepositPoked` if the deposit is updated.
|
|
534
|
+
**/
|
|
535
|
+
pokeDeposit: AugmentedSubmittable<(bountyId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
|
|
518
536
|
/**
|
|
519
537
|
* Propose a new bounty.
|
|
520
538
|
*
|
|
@@ -1391,7 +1409,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1391
1409
|
* This can only be called when [`Phase::Emergency`] is enabled, as an alternative to
|
|
1392
1410
|
* calling [`Call::set_emergency_election_result`].
|
|
1393
1411
|
**/
|
|
1394
|
-
governanceFallback: AugmentedSubmittable<(
|
|
1412
|
+
governanceFallback: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
1395
1413
|
/**
|
|
1396
1414
|
* Set a solution in the queue, to be handed out to the client of this pallet in the next
|
|
1397
1415
|
* call to `ElectionProvider::elect`.
|
|
@@ -2655,6 +2673,25 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2655
2673
|
* the go-ahead signal while the PVF pre-checking feature is enabled.
|
|
2656
2674
|
**/
|
|
2657
2675
|
addTrustedValidationCode: AugmentedSubmittable<(validationCode: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
|
2676
|
+
/**
|
|
2677
|
+
* Applies the already authorized current code for the parachain,
|
|
2678
|
+
* triggering the same functionality as `force_set_current_code`.
|
|
2679
|
+
**/
|
|
2680
|
+
applyAuthorizedForceSetCurrentCode: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, newCode: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;
|
|
2681
|
+
/**
|
|
2682
|
+
* Sets the storage for the authorized current code hash of the parachain.
|
|
2683
|
+
* If not applied, it will be removed at the `System::block_number() + valid_period` block.
|
|
2684
|
+
*
|
|
2685
|
+
* This can be useful, when triggering `Paras::force_set_current_code(para, code)`
|
|
2686
|
+
* from a different chain than the one where the `Paras` pallet is deployed.
|
|
2687
|
+
*
|
|
2688
|
+
* The main purpose is to avoid transferring the entire `code` Wasm blob between chains.
|
|
2689
|
+
* Instead, we authorize `code_hash` with `root`, which can later be applied by
|
|
2690
|
+
* `Paras::apply_authorized_force_set_current_code(para, code)` by anyone.
|
|
2691
|
+
*
|
|
2692
|
+
* Authorizations are stored in an **overwriting manner**.
|
|
2693
|
+
**/
|
|
2694
|
+
authorizeForceSetCurrentCodeHash: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, newCodeHash: H256 | string | Uint8Array, validPeriod: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, H256, u32]>;
|
|
2658
2695
|
/**
|
|
2659
2696
|
* Note a new block head for para within the context of the current block.
|
|
2660
2697
|
**/
|
|
@@ -2699,6 +2736,13 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2699
2736
|
* dispatching.
|
|
2700
2737
|
**/
|
|
2701
2738
|
pokeUnusedValidationCode: AugmentedSubmittable<(validationCodeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
|
|
2739
|
+
/**
|
|
2740
|
+
* Remove an upgrade cooldown for a parachain.
|
|
2741
|
+
*
|
|
2742
|
+
* The cost for removing the cooldown earlier depends on the time left for the cooldown
|
|
2743
|
+
* multiplied by [`Config::CooldownRemovalMultiplier`]. The paid tokens are burned.
|
|
2744
|
+
**/
|
|
2745
|
+
removeUpgradeCooldown: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
2702
2746
|
/**
|
|
2703
2747
|
* Generic tx
|
|
2704
2748
|
**/
|
|
@@ -2718,7 +2762,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2718
2762
|
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
2719
2763
|
};
|
|
2720
2764
|
parasSlashing: {
|
|
2721
|
-
reportDisputeLostUnsigned: AugmentedSubmittable<(disputeProof:
|
|
2765
|
+
reportDisputeLostUnsigned: AugmentedSubmittable<(disputeProof: PolkadotPrimitivesVstagingDisputeProof | {
|
|
2722
2766
|
timeSlot?: any;
|
|
2723
2767
|
kind?: any;
|
|
2724
2768
|
validatorIndex?: any;
|
|
@@ -2727,7 +2771,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2727
2771
|
session?: any;
|
|
2728
2772
|
trieNodes?: any;
|
|
2729
2773
|
validatorCount?: any;
|
|
2730
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2774
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesVstagingDisputeProof, SpSessionMembershipProof]>;
|
|
2731
2775
|
/**
|
|
2732
2776
|
* Generic tx
|
|
2733
2777
|
**/
|
|
@@ -2853,16 +2897,16 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2853
2897
|
* inaccessible.
|
|
2854
2898
|
*
|
|
2855
2899
|
* Requires a `Signed` origin, and the sender account must have been created by a call to
|
|
2856
|
-
* `
|
|
2900
|
+
* `create_pure` with corresponding parameters.
|
|
2857
2901
|
*
|
|
2858
|
-
* - `spawner`: The account that originally called `
|
|
2859
|
-
* - `index`: The disambiguation index originally passed to `
|
|
2860
|
-
* - `proxy_type`: The proxy type originally passed to `
|
|
2861
|
-
* - `height`: The height of the chain when the call to `
|
|
2862
|
-
* - `ext_index`: The extrinsic index in which the call to `
|
|
2902
|
+
* - `spawner`: The account that originally called `create_pure` to create this account.
|
|
2903
|
+
* - `index`: The disambiguation index originally passed to `create_pure`. Probably `0`.
|
|
2904
|
+
* - `proxy_type`: The proxy type originally passed to `create_pure`.
|
|
2905
|
+
* - `height`: The height of the chain when the call to `create_pure` was processed.
|
|
2906
|
+
* - `ext_index`: The extrinsic index in which the call to `create_pure` was processed.
|
|
2863
2907
|
*
|
|
2864
2908
|
* Fails with `NoPermission` in case the caller is not a previously created pure
|
|
2865
|
-
* account whose `
|
|
2909
|
+
* account whose `create_pure` call has corresponding parameters.
|
|
2866
2910
|
**/
|
|
2867
2911
|
killPure: AugmentedSubmittable<(spawner: MultiAddress | {
|
|
2868
2912
|
Id: any;
|
|
@@ -2993,7 +3037,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2993
3037
|
*
|
|
2994
3038
|
* The dispatch origin for this call must be _Signed_.
|
|
2995
3039
|
*
|
|
2996
|
-
* WARNING: This may be called on accounts created by `
|
|
3040
|
+
* WARNING: This may be called on accounts created by `create_pure`, however if done, then
|
|
2997
3041
|
* the unreserved fees will be inaccessible. **All access to this account will be lost.**
|
|
2998
3042
|
**/
|
|
2999
3043
|
removeProxies: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
@@ -3022,6 +3066,326 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3022
3066
|
**/
|
|
3023
3067
|
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
3024
3068
|
};
|
|
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
|
+
};
|
|
3025
3389
|
referenda: {
|
|
3026
3390
|
/**
|
|
3027
3391
|
* Cancel an ongoing referendum.
|
|
@@ -3442,6 +3806,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3442
3806
|
* Can be called by the `T::AdminOrigin`.
|
|
3443
3807
|
*
|
|
3444
3808
|
* Parameters: era and indices of the slashes for that era to kill.
|
|
3809
|
+
* They **must** be sorted in ascending order, *and* unique.
|
|
3445
3810
|
**/
|
|
3446
3811
|
cancelDeferredSlash: AugmentedSubmittable<(era: u32 | AnyNumber | Uint8Array, slashIndices: Vec<u32> | (u32 | AnyNumber | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<u32>]>;
|
|
3447
3812
|
/**
|
|
@@ -3874,6 +4239,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3874
4239
|
* period ends. If this leaves an amount actively bonded less than
|
|
3875
4240
|
* [`asset::existential_deposit`], then it is increased to the full amount.
|
|
3876
4241
|
*
|
|
4242
|
+
* The stash may be chilled if the ledger total amount falls to 0 after unbonding.
|
|
4243
|
+
*
|
|
3877
4244
|
* The dispatch origin for this call must be _Signed_ by the controller, not the stash.
|
|
3878
4245
|
*
|
|
3879
4246
|
* Once the unlock period is done, you can call `withdraw_unbonded` to actually move
|
|
@@ -3942,6 +4309,26 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3942
4309
|
**/
|
|
3943
4310
|
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
3944
4311
|
};
|
|
4312
|
+
stakingAhClient: {
|
|
4313
|
+
/**
|
|
4314
|
+
* manually do what this pallet was meant to do at the end of the migration.
|
|
4315
|
+
**/
|
|
4316
|
+
forceOnMigrationEnd: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
4317
|
+
/**
|
|
4318
|
+
* Allows governance to force set the operating mode of the pallet.
|
|
4319
|
+
**/
|
|
4320
|
+
setMode: AugmentedSubmittable<(mode: PalletStakingAsyncAhClientOperatingMode | 'Passive' | 'Buffered' | 'Active' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStakingAsyncAhClientOperatingMode]>;
|
|
4321
|
+
validatorSet: AugmentedSubmittable<(report: PalletStakingAsyncRcClientValidatorSetReport | {
|
|
4322
|
+
newValidatorSet?: any;
|
|
4323
|
+
id?: any;
|
|
4324
|
+
pruneUpTo?: any;
|
|
4325
|
+
leftover?: any;
|
|
4326
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStakingAsyncRcClientValidatorSetReport]>;
|
|
4327
|
+
/**
|
|
4328
|
+
* Generic tx
|
|
4329
|
+
**/
|
|
4330
|
+
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
4331
|
+
};
|
|
3945
4332
|
stateTrieMigration: {
|
|
3946
4333
|
/**
|
|
3947
4334
|
* Continue the migration for the given `limits`.
|