@dedot/chaintypes 0.231.0 → 0.233.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/paseo/consts.d.ts +106 -18
- package/paseo/errors.d.ts +294 -42
- package/paseo/events.d.ts +753 -87
- package/paseo/index.d.ts +1 -1
- package/paseo/query.d.ts +556 -115
- package/paseo/runtime.d.ts +212 -91
- package/paseo/tx.d.ts +1188 -196
- package/paseo/types.d.ts +6894 -4909
- package/paseo/view-functions.d.ts +75 -1
package/paseo/tx.d.ts
CHANGED
|
@@ -45,11 +45,10 @@ import type {
|
|
|
45
45
|
FrameSupportPreimagesBounded,
|
|
46
46
|
FrameSupportScheduleDispatchTime,
|
|
47
47
|
SpWeightsWeightV2Weight,
|
|
48
|
-
PaseoRuntimeRuntimeParameters,
|
|
49
48
|
PolkadotRuntimeCommonClaimsEcdsaSignature,
|
|
50
49
|
PolkadotRuntimeCommonClaimsStatementKind,
|
|
51
50
|
PalletVestingVestingInfo,
|
|
52
|
-
|
|
51
|
+
PaseoRuntimeConstantsProxyProxyType,
|
|
53
52
|
PalletMultisigTimepoint,
|
|
54
53
|
PalletElectionProviderMultiPhaseRawSolution,
|
|
55
54
|
PalletElectionProviderMultiPhaseSolutionOrSnapshotSize,
|
|
@@ -60,23 +59,25 @@ import type {
|
|
|
60
59
|
PalletNominationPoolsConfigOp,
|
|
61
60
|
PalletNominationPoolsConfigOpU32,
|
|
62
61
|
PalletNominationPoolsConfigOpPerbill,
|
|
63
|
-
|
|
62
|
+
PalletNominationPoolsConfigOpAccountId32,
|
|
64
63
|
PalletNominationPoolsClaimPermission,
|
|
65
64
|
PalletNominationPoolsCommissionChangeRate,
|
|
66
65
|
PalletNominationPoolsCommissionClaimPermission,
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
66
|
+
PalletStakingAsyncRcClientValidatorSetReport,
|
|
67
|
+
PalletStakingAsyncAhClientOperatingMode,
|
|
68
|
+
PolkadotPrimitivesV8AsyncBackingAsyncBackingParams,
|
|
69
|
+
PolkadotPrimitivesV8ExecutorParams,
|
|
70
|
+
PolkadotPrimitivesV8ApprovalVotingParams,
|
|
71
|
+
PolkadotPrimitivesV8SchedulerParams,
|
|
72
|
+
PolkadotPrimitivesVstagingInherentData,
|
|
72
73
|
PolkadotParachainPrimitivesPrimitivesId,
|
|
73
74
|
PolkadotParachainPrimitivesPrimitivesValidationCode,
|
|
74
75
|
PolkadotParachainPrimitivesPrimitivesHeadData,
|
|
75
76
|
PolkadotParachainPrimitivesPrimitivesValidationCodeHash,
|
|
76
|
-
|
|
77
|
-
|
|
77
|
+
PolkadotPrimitivesV8PvfCheckStatement,
|
|
78
|
+
PolkadotPrimitivesV8ValidatorAppSignature,
|
|
78
79
|
PolkadotParachainPrimitivesPrimitivesHrmpChannelId,
|
|
79
|
-
|
|
80
|
+
PolkadotPrimitivesVstagingDisputeProof,
|
|
80
81
|
SpRuntimeMultiSigner,
|
|
81
82
|
PalletBrokerCoretimeInterfaceCoreAssignment,
|
|
82
83
|
PolkadotRuntimeParachainsAssignerCoretimePartsOf57600,
|
|
@@ -85,13 +86,20 @@ import type {
|
|
|
85
86
|
PalletStateTrieMigrationProgress,
|
|
86
87
|
XcmVersionedXcm,
|
|
87
88
|
XcmVersionedAssets,
|
|
88
|
-
|
|
89
|
+
StagingXcmV5Location,
|
|
89
90
|
XcmV3WeightLimit,
|
|
90
91
|
StagingXcmExecutorAssetTransferTransferType,
|
|
91
92
|
XcmVersionedAssetId,
|
|
92
93
|
PolkadotRuntimeParachainsInclusionAggregateMessageOrigin,
|
|
93
94
|
SpConsensusBeefyDoubleVotingProof,
|
|
95
|
+
SpConsensusBeefyForkVotingProof,
|
|
96
|
+
SpConsensusBeefyFutureBlockVotingProof,
|
|
94
97
|
PolkadotRuntimeParachainsParasParaGenesisArgs,
|
|
98
|
+
PalletRcMigratorMigrationStage,
|
|
99
|
+
StagingXcmV5Response,
|
|
100
|
+
PalletRcMigratorQueuePriority,
|
|
101
|
+
PalletRcMigratorManagerMultisigVote,
|
|
102
|
+
PalletRcMigratorMigrationSettings,
|
|
95
103
|
} from './types.js';
|
|
96
104
|
|
|
97
105
|
export type ChainSubmittableExtrinsic<
|
|
@@ -719,7 +727,7 @@ export interface ChainTx<
|
|
|
719
727
|
>;
|
|
720
728
|
|
|
721
729
|
/**
|
|
722
|
-
* Ensure that the
|
|
730
|
+
* Ensure that the bulk of pre-images is upgraded.
|
|
723
731
|
*
|
|
724
732
|
* The caller pays no fee if at least 90% of pre-images were successfully updated.
|
|
725
733
|
*
|
|
@@ -1032,6 +1040,33 @@ export interface ChainTx<
|
|
|
1032
1040
|
>
|
|
1033
1041
|
>;
|
|
1034
1042
|
|
|
1043
|
+
/**
|
|
1044
|
+
* Poke the deposit reserved for an index.
|
|
1045
|
+
*
|
|
1046
|
+
* The dispatch origin for this call must be _Signed_ and the signing account must have a
|
|
1047
|
+
* non-frozen account `index`.
|
|
1048
|
+
*
|
|
1049
|
+
* The transaction fees is waived if the deposit is changed after poking/reconsideration.
|
|
1050
|
+
*
|
|
1051
|
+
* - `index`: the index whose deposit is to be poked/reconsidered.
|
|
1052
|
+
*
|
|
1053
|
+
* Emits `DepositPoked` if successful.
|
|
1054
|
+
*
|
|
1055
|
+
* @param {number} index
|
|
1056
|
+
**/
|
|
1057
|
+
pokeDeposit: GenericTxCall<
|
|
1058
|
+
(index: number) => ChainSubmittableExtrinsic<
|
|
1059
|
+
{
|
|
1060
|
+
pallet: 'Indices';
|
|
1061
|
+
palletCall: {
|
|
1062
|
+
name: 'PokeDeposit';
|
|
1063
|
+
params: { index: number };
|
|
1064
|
+
};
|
|
1065
|
+
},
|
|
1066
|
+
ChainKnownTypes
|
|
1067
|
+
>
|
|
1068
|
+
>;
|
|
1069
|
+
|
|
1035
1070
|
/**
|
|
1036
1071
|
* Generic pallet tx call
|
|
1037
1072
|
**/
|
|
@@ -1364,7 +1399,9 @@ export interface ChainTx<
|
|
|
1364
1399
|
/**
|
|
1365
1400
|
* Schedule a portion of the stash to be unlocked ready for transfer out after the bond
|
|
1366
1401
|
* period ends. If this leaves an amount actively bonded less than
|
|
1367
|
-
*
|
|
1402
|
+
* [`asset::existential_deposit`], then it is increased to the full amount.
|
|
1403
|
+
*
|
|
1404
|
+
* The stash may be chilled if the ledger total amount falls to 0 after unbonding.
|
|
1368
1405
|
*
|
|
1369
1406
|
* The dispatch origin for this call must be _Signed_ by the controller, not the stash.
|
|
1370
1407
|
*
|
|
@@ -1776,6 +1813,7 @@ export interface ChainTx<
|
|
|
1776
1813
|
* Can be called by the `T::AdminOrigin`.
|
|
1777
1814
|
*
|
|
1778
1815
|
* Parameters: era and indices of the slashes for that era to kill.
|
|
1816
|
+
* They **must** be sorted in ascending order, *and* unique.
|
|
1779
1817
|
*
|
|
1780
1818
|
* @param {number} era
|
|
1781
1819
|
* @param {Array<number>} slashIndices
|
|
@@ -2189,6 +2227,74 @@ export interface ChainTx<
|
|
|
2189
2227
|
>
|
|
2190
2228
|
>;
|
|
2191
2229
|
|
|
2230
|
+
/**
|
|
2231
|
+
* Removes the legacy Staking locks if they exist.
|
|
2232
|
+
*
|
|
2233
|
+
* This removes the legacy lock on the stake with [`Config::OldCurrency`] and creates a
|
|
2234
|
+
* hold on it if needed. If all stake cannot be held, the best effort is made to hold as
|
|
2235
|
+
* much as possible. The remaining stake is forced withdrawn from the ledger.
|
|
2236
|
+
*
|
|
2237
|
+
* The fee is waived if the migration is successful.
|
|
2238
|
+
*
|
|
2239
|
+
* @param {AccountId32Like} stash
|
|
2240
|
+
**/
|
|
2241
|
+
migrateCurrency: GenericTxCall<
|
|
2242
|
+
(stash: AccountId32Like) => ChainSubmittableExtrinsic<
|
|
2243
|
+
{
|
|
2244
|
+
pallet: 'Staking';
|
|
2245
|
+
palletCall: {
|
|
2246
|
+
name: 'MigrateCurrency';
|
|
2247
|
+
params: { stash: AccountId32Like };
|
|
2248
|
+
};
|
|
2249
|
+
},
|
|
2250
|
+
ChainKnownTypes
|
|
2251
|
+
>
|
|
2252
|
+
>;
|
|
2253
|
+
|
|
2254
|
+
/**
|
|
2255
|
+
* This function allows governance to manually slash a validator and is a
|
|
2256
|
+
* **fallback mechanism**.
|
|
2257
|
+
*
|
|
2258
|
+
* The dispatch origin must be `T::AdminOrigin`.
|
|
2259
|
+
*
|
|
2260
|
+
* ## Parameters
|
|
2261
|
+
* - `validator_stash` - The stash account of the validator to slash.
|
|
2262
|
+
* - `era` - The era in which the validator was in the active set.
|
|
2263
|
+
* - `slash_fraction` - The percentage of the stake to slash, expressed as a Perbill.
|
|
2264
|
+
*
|
|
2265
|
+
* ## Behavior
|
|
2266
|
+
*
|
|
2267
|
+
* The slash will be applied using the standard slashing mechanics, respecting the
|
|
2268
|
+
* configured `SlashDeferDuration`.
|
|
2269
|
+
*
|
|
2270
|
+
* This means:
|
|
2271
|
+
* - If the validator was already slashed by a higher percentage for the same era, this
|
|
2272
|
+
* slash will have no additional effect.
|
|
2273
|
+
* - If the validator was previously slashed by a lower percentage, only the difference
|
|
2274
|
+
* will be applied.
|
|
2275
|
+
* - The slash will be deferred by `SlashDeferDuration` eras before being enacted.
|
|
2276
|
+
*
|
|
2277
|
+
* @param {AccountId32Like} validatorStash
|
|
2278
|
+
* @param {number} era
|
|
2279
|
+
* @param {Perbill} slashFraction
|
|
2280
|
+
**/
|
|
2281
|
+
manualSlash: GenericTxCall<
|
|
2282
|
+
(
|
|
2283
|
+
validatorStash: AccountId32Like,
|
|
2284
|
+
era: number,
|
|
2285
|
+
slashFraction: Perbill,
|
|
2286
|
+
) => ChainSubmittableExtrinsic<
|
|
2287
|
+
{
|
|
2288
|
+
pallet: 'Staking';
|
|
2289
|
+
palletCall: {
|
|
2290
|
+
name: 'ManualSlash';
|
|
2291
|
+
params: { validatorStash: AccountId32Like; era: number; slashFraction: Perbill };
|
|
2292
|
+
};
|
|
2293
|
+
},
|
|
2294
|
+
ChainKnownTypes
|
|
2295
|
+
>
|
|
2296
|
+
>;
|
|
2297
|
+
|
|
2192
2298
|
/**
|
|
2193
2299
|
* Generic pallet tx call
|
|
2194
2300
|
**/
|
|
@@ -2515,6 +2621,8 @@ export interface ChainTx<
|
|
|
2515
2621
|
* Emits [`Event::Paid`] if successful.
|
|
2516
2622
|
*
|
|
2517
2623
|
* @param {number} index
|
|
2624
|
+
*
|
|
2625
|
+
* @deprecated The `spend_local` call will be removed by May 2025. Migrate to the new flow and use the `spend` call.
|
|
2518
2626
|
**/
|
|
2519
2627
|
payout: GenericTxCall<
|
|
2520
2628
|
(index: number) => ChainSubmittableExtrinsic<
|
|
@@ -2551,6 +2659,8 @@ export interface ChainTx<
|
|
|
2551
2659
|
* Emits [`Event::SpendProcessed`] if the spend payout has succeed.
|
|
2552
2660
|
*
|
|
2553
2661
|
* @param {number} index
|
|
2662
|
+
*
|
|
2663
|
+
* @deprecated The `remove_approval` call will be removed by May 2025. It associated with the deprecated `spend_local` call.
|
|
2554
2664
|
**/
|
|
2555
2665
|
checkStatus: GenericTxCall<
|
|
2556
2666
|
(index: number) => ChainSubmittableExtrinsic<
|
|
@@ -3167,36 +3277,6 @@ export interface ChainTx<
|
|
|
3167
3277
|
**/
|
|
3168
3278
|
[callName: string]: GenericTxCall<TxCall<ChainKnownTypes>>;
|
|
3169
3279
|
};
|
|
3170
|
-
/**
|
|
3171
|
-
* Pallet `Parameters`'s transaction calls
|
|
3172
|
-
**/
|
|
3173
|
-
parameters: {
|
|
3174
|
-
/**
|
|
3175
|
-
* Set the value of a parameter.
|
|
3176
|
-
*
|
|
3177
|
-
* The dispatch origin of this call must be `AdminOrigin` for the given `key`. Values be
|
|
3178
|
-
* deleted by setting them to `None`.
|
|
3179
|
-
*
|
|
3180
|
-
* @param {PaseoRuntimeRuntimeParameters} keyValue
|
|
3181
|
-
**/
|
|
3182
|
-
setParameter: GenericTxCall<
|
|
3183
|
-
(keyValue: PaseoRuntimeRuntimeParameters) => ChainSubmittableExtrinsic<
|
|
3184
|
-
{
|
|
3185
|
-
pallet: 'Parameters';
|
|
3186
|
-
palletCall: {
|
|
3187
|
-
name: 'SetParameter';
|
|
3188
|
-
params: { keyValue: PaseoRuntimeRuntimeParameters };
|
|
3189
|
-
};
|
|
3190
|
-
},
|
|
3191
|
-
ChainKnownTypes
|
|
3192
|
-
>
|
|
3193
|
-
>;
|
|
3194
|
-
|
|
3195
|
-
/**
|
|
3196
|
-
* Generic pallet tx call
|
|
3197
|
-
**/
|
|
3198
|
-
[callName: string]: GenericTxCall<TxCall<ChainKnownTypes>>;
|
|
3199
|
-
};
|
|
3200
3280
|
/**
|
|
3201
3281
|
* Pallet `Claims`'s transaction calls
|
|
3202
3282
|
**/
|
|
@@ -3349,7 +3429,7 @@ export interface ChainTx<
|
|
|
3349
3429
|
* Attest to a statement, needed to finalize the claims process.
|
|
3350
3430
|
*
|
|
3351
3431
|
* WARNING: Insecure unless your chain includes `PrevalidateAttests` as a
|
|
3352
|
-
* `
|
|
3432
|
+
* `TransactionExtension`.
|
|
3353
3433
|
*
|
|
3354
3434
|
* Unsigned Validation:
|
|
3355
3435
|
* A call to attest is deemed valid if the sender has a `Preclaim` registered
|
|
@@ -3797,6 +3877,76 @@ export interface ChainTx<
|
|
|
3797
3877
|
>
|
|
3798
3878
|
>;
|
|
3799
3879
|
|
|
3880
|
+
/**
|
|
3881
|
+
* Dispatch a fallback call in the event the main call fails to execute.
|
|
3882
|
+
* May be called from any origin except `None`.
|
|
3883
|
+
*
|
|
3884
|
+
* This function first attempts to dispatch the `main` call.
|
|
3885
|
+
* If the `main` call fails, the `fallback` is attemted.
|
|
3886
|
+
* if the fallback is successfully dispatched, the weights of both calls
|
|
3887
|
+
* are accumulated and an event containing the main call error is deposited.
|
|
3888
|
+
*
|
|
3889
|
+
* In the event of a fallback failure the whole call fails
|
|
3890
|
+
* with the weights returned.
|
|
3891
|
+
*
|
|
3892
|
+
* - `main`: The main call to be dispatched. This is the primary action to execute.
|
|
3893
|
+
* - `fallback`: The fallback call to be dispatched in case the `main` call fails.
|
|
3894
|
+
*
|
|
3895
|
+
* ## Dispatch Logic
|
|
3896
|
+
* - If the origin is `root`, both the main and fallback calls are executed without
|
|
3897
|
+
* applying any origin filters.
|
|
3898
|
+
* - If the origin is not `root`, the origin filter is applied to both the `main` and
|
|
3899
|
+
* `fallback` calls.
|
|
3900
|
+
*
|
|
3901
|
+
* ## Use Case
|
|
3902
|
+
* - Some use cases might involve submitting a `batch` type call in either main, fallback
|
|
3903
|
+
* or both.
|
|
3904
|
+
*
|
|
3905
|
+
* @param {PaseoRuntimeRuntimeCallLike} main
|
|
3906
|
+
* @param {PaseoRuntimeRuntimeCallLike} fallback
|
|
3907
|
+
**/
|
|
3908
|
+
ifElse: GenericTxCall<
|
|
3909
|
+
(
|
|
3910
|
+
main: PaseoRuntimeRuntimeCallLike,
|
|
3911
|
+
fallback: PaseoRuntimeRuntimeCallLike,
|
|
3912
|
+
) => ChainSubmittableExtrinsic<
|
|
3913
|
+
{
|
|
3914
|
+
pallet: 'Utility';
|
|
3915
|
+
palletCall: {
|
|
3916
|
+
name: 'IfElse';
|
|
3917
|
+
params: { main: PaseoRuntimeRuntimeCallLike; fallback: PaseoRuntimeRuntimeCallLike };
|
|
3918
|
+
};
|
|
3919
|
+
},
|
|
3920
|
+
ChainKnownTypes
|
|
3921
|
+
>
|
|
3922
|
+
>;
|
|
3923
|
+
|
|
3924
|
+
/**
|
|
3925
|
+
* Dispatches a function call with a provided origin.
|
|
3926
|
+
*
|
|
3927
|
+
* Almost the same as [`Pallet::dispatch_as`] but forwards any error of the inner call.
|
|
3928
|
+
*
|
|
3929
|
+
* The dispatch origin for this call must be _Root_.
|
|
3930
|
+
*
|
|
3931
|
+
* @param {PaseoRuntimeOriginCaller} asOrigin
|
|
3932
|
+
* @param {PaseoRuntimeRuntimeCallLike} call
|
|
3933
|
+
**/
|
|
3934
|
+
dispatchAsFallible: GenericTxCall<
|
|
3935
|
+
(
|
|
3936
|
+
asOrigin: PaseoRuntimeOriginCaller,
|
|
3937
|
+
call: PaseoRuntimeRuntimeCallLike,
|
|
3938
|
+
) => ChainSubmittableExtrinsic<
|
|
3939
|
+
{
|
|
3940
|
+
pallet: 'Utility';
|
|
3941
|
+
palletCall: {
|
|
3942
|
+
name: 'DispatchAsFallible';
|
|
3943
|
+
params: { asOrigin: PaseoRuntimeOriginCaller; call: PaseoRuntimeRuntimeCallLike };
|
|
3944
|
+
};
|
|
3945
|
+
},
|
|
3946
|
+
ChainKnownTypes
|
|
3947
|
+
>
|
|
3948
|
+
>;
|
|
3949
|
+
|
|
3800
3950
|
/**
|
|
3801
3951
|
* Generic pallet tx call
|
|
3802
3952
|
**/
|
|
@@ -3818,13 +3968,13 @@ export interface ChainTx<
|
|
|
3818
3968
|
* - `call`: The call to be made by the `real` account.
|
|
3819
3969
|
*
|
|
3820
3970
|
* @param {MultiAddressLike} real
|
|
3821
|
-
* @param {
|
|
3971
|
+
* @param {PaseoRuntimeConstantsProxyProxyType | undefined} forceProxyType
|
|
3822
3972
|
* @param {PaseoRuntimeRuntimeCallLike} call
|
|
3823
3973
|
**/
|
|
3824
3974
|
proxy: GenericTxCall<
|
|
3825
3975
|
(
|
|
3826
3976
|
real: MultiAddressLike,
|
|
3827
|
-
forceProxyType:
|
|
3977
|
+
forceProxyType: PaseoRuntimeConstantsProxyProxyType | undefined,
|
|
3828
3978
|
call: PaseoRuntimeRuntimeCallLike,
|
|
3829
3979
|
) => ChainSubmittableExtrinsic<
|
|
3830
3980
|
{
|
|
@@ -3833,7 +3983,7 @@ export interface ChainTx<
|
|
|
3833
3983
|
name: 'Proxy';
|
|
3834
3984
|
params: {
|
|
3835
3985
|
real: MultiAddressLike;
|
|
3836
|
-
forceProxyType:
|
|
3986
|
+
forceProxyType: PaseoRuntimeConstantsProxyProxyType | undefined;
|
|
3837
3987
|
call: PaseoRuntimeRuntimeCallLike;
|
|
3838
3988
|
};
|
|
3839
3989
|
};
|
|
@@ -3854,20 +4004,20 @@ export interface ChainTx<
|
|
|
3854
4004
|
* zero.
|
|
3855
4005
|
*
|
|
3856
4006
|
* @param {MultiAddressLike} delegate
|
|
3857
|
-
* @param {
|
|
4007
|
+
* @param {PaseoRuntimeConstantsProxyProxyType} proxyType
|
|
3858
4008
|
* @param {number} delay
|
|
3859
4009
|
**/
|
|
3860
4010
|
addProxy: GenericTxCall<
|
|
3861
4011
|
(
|
|
3862
4012
|
delegate: MultiAddressLike,
|
|
3863
|
-
proxyType:
|
|
4013
|
+
proxyType: PaseoRuntimeConstantsProxyProxyType,
|
|
3864
4014
|
delay: number,
|
|
3865
4015
|
) => ChainSubmittableExtrinsic<
|
|
3866
4016
|
{
|
|
3867
4017
|
pallet: 'Proxy';
|
|
3868
4018
|
palletCall: {
|
|
3869
4019
|
name: 'AddProxy';
|
|
3870
|
-
params: { delegate: MultiAddressLike; proxyType:
|
|
4020
|
+
params: { delegate: MultiAddressLike; proxyType: PaseoRuntimeConstantsProxyProxyType; delay: number };
|
|
3871
4021
|
};
|
|
3872
4022
|
},
|
|
3873
4023
|
ChainKnownTypes
|
|
@@ -3884,20 +4034,20 @@ export interface ChainTx<
|
|
|
3884
4034
|
* - `proxy_type`: The permissions currently enabled for the removed proxy account.
|
|
3885
4035
|
*
|
|
3886
4036
|
* @param {MultiAddressLike} delegate
|
|
3887
|
-
* @param {
|
|
4037
|
+
* @param {PaseoRuntimeConstantsProxyProxyType} proxyType
|
|
3888
4038
|
* @param {number} delay
|
|
3889
4039
|
**/
|
|
3890
4040
|
removeProxy: GenericTxCall<
|
|
3891
4041
|
(
|
|
3892
4042
|
delegate: MultiAddressLike,
|
|
3893
|
-
proxyType:
|
|
4043
|
+
proxyType: PaseoRuntimeConstantsProxyProxyType,
|
|
3894
4044
|
delay: number,
|
|
3895
4045
|
) => ChainSubmittableExtrinsic<
|
|
3896
4046
|
{
|
|
3897
4047
|
pallet: 'Proxy';
|
|
3898
4048
|
palletCall: {
|
|
3899
4049
|
name: 'RemoveProxy';
|
|
3900
|
-
params: { delegate: MultiAddressLike; proxyType:
|
|
4050
|
+
params: { delegate: MultiAddressLike; proxyType: PaseoRuntimeConstantsProxyProxyType; delay: number };
|
|
3901
4051
|
};
|
|
3902
4052
|
},
|
|
3903
4053
|
ChainKnownTypes
|
|
@@ -3909,7 +4059,7 @@ export interface ChainTx<
|
|
|
3909
4059
|
*
|
|
3910
4060
|
* The dispatch origin for this call must be _Signed_.
|
|
3911
4061
|
*
|
|
3912
|
-
* WARNING: This may be called on accounts created by `
|
|
4062
|
+
* WARNING: This may be called on accounts created by `create_pure`, however if done, then
|
|
3913
4063
|
* the unreserved fees will be inaccessible. **All access to this account will be lost.**
|
|
3914
4064
|
*
|
|
3915
4065
|
**/
|
|
@@ -3945,13 +4095,13 @@ export interface ChainTx<
|
|
|
3945
4095
|
*
|
|
3946
4096
|
* Fails if there are insufficient funds to pay for deposit.
|
|
3947
4097
|
*
|
|
3948
|
-
* @param {
|
|
4098
|
+
* @param {PaseoRuntimeConstantsProxyProxyType} proxyType
|
|
3949
4099
|
* @param {number} delay
|
|
3950
4100
|
* @param {number} index
|
|
3951
4101
|
**/
|
|
3952
4102
|
createPure: GenericTxCall<
|
|
3953
4103
|
(
|
|
3954
|
-
proxyType:
|
|
4104
|
+
proxyType: PaseoRuntimeConstantsProxyProxyType,
|
|
3955
4105
|
delay: number,
|
|
3956
4106
|
index: number,
|
|
3957
4107
|
) => ChainSubmittableExtrinsic<
|
|
@@ -3959,7 +4109,7 @@ export interface ChainTx<
|
|
|
3959
4109
|
pallet: 'Proxy';
|
|
3960
4110
|
palletCall: {
|
|
3961
4111
|
name: 'CreatePure';
|
|
3962
|
-
params: { proxyType:
|
|
4112
|
+
params: { proxyType: PaseoRuntimeConstantsProxyProxyType; delay: number; index: number };
|
|
3963
4113
|
};
|
|
3964
4114
|
},
|
|
3965
4115
|
ChainKnownTypes
|
|
@@ -3973,19 +4123,19 @@ export interface ChainTx<
|
|
|
3973
4123
|
* inaccessible.
|
|
3974
4124
|
*
|
|
3975
4125
|
* Requires a `Signed` origin, and the sender account must have been created by a call to
|
|
3976
|
-
* `
|
|
4126
|
+
* `create_pure` with corresponding parameters.
|
|
3977
4127
|
*
|
|
3978
|
-
* - `spawner`: The account that originally called `
|
|
3979
|
-
* - `index`: The disambiguation index originally passed to `
|
|
3980
|
-
* - `proxy_type`: The proxy type originally passed to `
|
|
3981
|
-
* - `height`: The height of the chain when the call to `
|
|
3982
|
-
* - `ext_index`: The extrinsic index in which the call to `
|
|
4128
|
+
* - `spawner`: The account that originally called `create_pure` to create this account.
|
|
4129
|
+
* - `index`: The disambiguation index originally passed to `create_pure`. Probably `0`.
|
|
4130
|
+
* - `proxy_type`: The proxy type originally passed to `create_pure`.
|
|
4131
|
+
* - `height`: The height of the chain when the call to `create_pure` was processed.
|
|
4132
|
+
* - `ext_index`: The extrinsic index in which the call to `create_pure` was processed.
|
|
3983
4133
|
*
|
|
3984
4134
|
* Fails with `NoPermission` in case the caller is not a previously created pure
|
|
3985
|
-
* account whose `
|
|
4135
|
+
* account whose `create_pure` call has corresponding parameters.
|
|
3986
4136
|
*
|
|
3987
4137
|
* @param {MultiAddressLike} spawner
|
|
3988
|
-
* @param {
|
|
4138
|
+
* @param {PaseoRuntimeConstantsProxyProxyType} proxyType
|
|
3989
4139
|
* @param {number} index
|
|
3990
4140
|
* @param {number} height
|
|
3991
4141
|
* @param {number} extIndex
|
|
@@ -3993,7 +4143,7 @@ export interface ChainTx<
|
|
|
3993
4143
|
killPure: GenericTxCall<
|
|
3994
4144
|
(
|
|
3995
4145
|
spawner: MultiAddressLike,
|
|
3996
|
-
proxyType:
|
|
4146
|
+
proxyType: PaseoRuntimeConstantsProxyProxyType,
|
|
3997
4147
|
index: number,
|
|
3998
4148
|
height: number,
|
|
3999
4149
|
extIndex: number,
|
|
@@ -4004,7 +4154,7 @@ export interface ChainTx<
|
|
|
4004
4154
|
name: 'KillPure';
|
|
4005
4155
|
params: {
|
|
4006
4156
|
spawner: MultiAddressLike;
|
|
4007
|
-
proxyType:
|
|
4157
|
+
proxyType: PaseoRuntimeConstantsProxyProxyType;
|
|
4008
4158
|
index: number;
|
|
4009
4159
|
height: number;
|
|
4010
4160
|
extIndex: number;
|
|
@@ -4128,14 +4278,14 @@ export interface ChainTx<
|
|
|
4128
4278
|
*
|
|
4129
4279
|
* @param {MultiAddressLike} delegate
|
|
4130
4280
|
* @param {MultiAddressLike} real
|
|
4131
|
-
* @param {
|
|
4281
|
+
* @param {PaseoRuntimeConstantsProxyProxyType | undefined} forceProxyType
|
|
4132
4282
|
* @param {PaseoRuntimeRuntimeCallLike} call
|
|
4133
4283
|
**/
|
|
4134
4284
|
proxyAnnounced: GenericTxCall<
|
|
4135
4285
|
(
|
|
4136
4286
|
delegate: MultiAddressLike,
|
|
4137
4287
|
real: MultiAddressLike,
|
|
4138
|
-
forceProxyType:
|
|
4288
|
+
forceProxyType: PaseoRuntimeConstantsProxyProxyType | undefined,
|
|
4139
4289
|
call: PaseoRuntimeRuntimeCallLike,
|
|
4140
4290
|
) => ChainSubmittableExtrinsic<
|
|
4141
4291
|
{
|
|
@@ -4145,7 +4295,7 @@ export interface ChainTx<
|
|
|
4145
4295
|
params: {
|
|
4146
4296
|
delegate: MultiAddressLike;
|
|
4147
4297
|
real: MultiAddressLike;
|
|
4148
|
-
forceProxyType:
|
|
4298
|
+
forceProxyType: PaseoRuntimeConstantsProxyProxyType | undefined;
|
|
4149
4299
|
call: PaseoRuntimeRuntimeCallLike;
|
|
4150
4300
|
};
|
|
4151
4301
|
};
|
|
@@ -4154,6 +4304,29 @@ export interface ChainTx<
|
|
|
4154
4304
|
>
|
|
4155
4305
|
>;
|
|
4156
4306
|
|
|
4307
|
+
/**
|
|
4308
|
+
* Poke / Adjust deposits made for proxies and announcements based on current values.
|
|
4309
|
+
* This can be used by accounts to possibly lower their locked amount.
|
|
4310
|
+
*
|
|
4311
|
+
* The dispatch origin for this call must be _Signed_.
|
|
4312
|
+
*
|
|
4313
|
+
* The transaction fee is waived if the deposit amount has changed.
|
|
4314
|
+
*
|
|
4315
|
+
* Emits `DepositPoked` if successful.
|
|
4316
|
+
*
|
|
4317
|
+
**/
|
|
4318
|
+
pokeDeposit: GenericTxCall<
|
|
4319
|
+
() => ChainSubmittableExtrinsic<
|
|
4320
|
+
{
|
|
4321
|
+
pallet: 'Proxy';
|
|
4322
|
+
palletCall: {
|
|
4323
|
+
name: 'PokeDeposit';
|
|
4324
|
+
};
|
|
4325
|
+
},
|
|
4326
|
+
ChainKnownTypes
|
|
4327
|
+
>
|
|
4328
|
+
>;
|
|
4329
|
+
|
|
4157
4330
|
/**
|
|
4158
4331
|
* Generic pallet tx call
|
|
4159
4332
|
**/
|
|
@@ -4382,6 +4555,42 @@ export interface ChainTx<
|
|
|
4382
4555
|
>
|
|
4383
4556
|
>;
|
|
4384
4557
|
|
|
4558
|
+
/**
|
|
4559
|
+
* Poke the deposit reserved for an existing multisig operation.
|
|
4560
|
+
*
|
|
4561
|
+
* The dispatch origin for this call must be _Signed_ and must be the original depositor of
|
|
4562
|
+
* the multisig operation.
|
|
4563
|
+
*
|
|
4564
|
+
* The transaction fee is waived if the deposit amount has changed.
|
|
4565
|
+
*
|
|
4566
|
+
* - `threshold`: The total number of approvals needed for this multisig.
|
|
4567
|
+
* - `other_signatories`: The accounts (other than the sender) who are part of the
|
|
4568
|
+
* multisig.
|
|
4569
|
+
* - `call_hash`: The hash of the call this deposit is reserved for.
|
|
4570
|
+
*
|
|
4571
|
+
* Emits `DepositPoked` if successful.
|
|
4572
|
+
*
|
|
4573
|
+
* @param {number} threshold
|
|
4574
|
+
* @param {Array<AccountId32Like>} otherSignatories
|
|
4575
|
+
* @param {FixedBytes<32>} callHash
|
|
4576
|
+
**/
|
|
4577
|
+
pokeDeposit: GenericTxCall<
|
|
4578
|
+
(
|
|
4579
|
+
threshold: number,
|
|
4580
|
+
otherSignatories: Array<AccountId32Like>,
|
|
4581
|
+
callHash: FixedBytes<32>,
|
|
4582
|
+
) => ChainSubmittableExtrinsic<
|
|
4583
|
+
{
|
|
4584
|
+
pallet: 'Multisig';
|
|
4585
|
+
palletCall: {
|
|
4586
|
+
name: 'PokeDeposit';
|
|
4587
|
+
params: { threshold: number; otherSignatories: Array<AccountId32Like>; callHash: FixedBytes<32> };
|
|
4588
|
+
};
|
|
4589
|
+
},
|
|
4590
|
+
ChainKnownTypes
|
|
4591
|
+
>
|
|
4592
|
+
>;
|
|
4593
|
+
|
|
4385
4594
|
/**
|
|
4386
4595
|
* Generic pallet tx call
|
|
4387
4596
|
**/
|
|
@@ -4647,6 +4856,72 @@ export interface ChainTx<
|
|
|
4647
4856
|
>
|
|
4648
4857
|
>;
|
|
4649
4858
|
|
|
4859
|
+
/**
|
|
4860
|
+
* Approve bountry and propose a curator simultaneously.
|
|
4861
|
+
* This call is a shortcut to calling `approve_bounty` and `propose_curator` separately.
|
|
4862
|
+
*
|
|
4863
|
+
* May only be called from `T::SpendOrigin`.
|
|
4864
|
+
*
|
|
4865
|
+
* - `bounty_id`: Bounty ID to approve.
|
|
4866
|
+
* - `curator`: The curator account whom will manage this bounty.
|
|
4867
|
+
* - `fee`: The curator fee.
|
|
4868
|
+
*
|
|
4869
|
+
* ## Complexity
|
|
4870
|
+
* - O(1).
|
|
4871
|
+
*
|
|
4872
|
+
* @param {number} bountyId
|
|
4873
|
+
* @param {MultiAddressLike} curator
|
|
4874
|
+
* @param {bigint} fee
|
|
4875
|
+
**/
|
|
4876
|
+
approveBountyWithCurator: GenericTxCall<
|
|
4877
|
+
(
|
|
4878
|
+
bountyId: number,
|
|
4879
|
+
curator: MultiAddressLike,
|
|
4880
|
+
fee: bigint,
|
|
4881
|
+
) => ChainSubmittableExtrinsic<
|
|
4882
|
+
{
|
|
4883
|
+
pallet: 'Bounties';
|
|
4884
|
+
palletCall: {
|
|
4885
|
+
name: 'ApproveBountyWithCurator';
|
|
4886
|
+
params: { bountyId: number; curator: MultiAddressLike; fee: bigint };
|
|
4887
|
+
};
|
|
4888
|
+
},
|
|
4889
|
+
ChainKnownTypes
|
|
4890
|
+
>
|
|
4891
|
+
>;
|
|
4892
|
+
|
|
4893
|
+
/**
|
|
4894
|
+
* Poke the deposit reserved for creating a bounty proposal.
|
|
4895
|
+
*
|
|
4896
|
+
* This can be used by accounts to update their reserved amount.
|
|
4897
|
+
*
|
|
4898
|
+
* The dispatch origin for this call must be _Signed_.
|
|
4899
|
+
*
|
|
4900
|
+
* Parameters:
|
|
4901
|
+
* - `bounty_id`: The bounty id for which to adjust the deposit.
|
|
4902
|
+
*
|
|
4903
|
+
* If the deposit is updated, the difference will be reserved/unreserved from the
|
|
4904
|
+
* proposer's account.
|
|
4905
|
+
*
|
|
4906
|
+
* The transaction is made free if the deposit is updated and paid otherwise.
|
|
4907
|
+
*
|
|
4908
|
+
* Emits `DepositPoked` if the deposit is updated.
|
|
4909
|
+
*
|
|
4910
|
+
* @param {number} bountyId
|
|
4911
|
+
**/
|
|
4912
|
+
pokeDeposit: GenericTxCall<
|
|
4913
|
+
(bountyId: number) => ChainSubmittableExtrinsic<
|
|
4914
|
+
{
|
|
4915
|
+
pallet: 'Bounties';
|
|
4916
|
+
palletCall: {
|
|
4917
|
+
name: 'PokeDeposit';
|
|
4918
|
+
params: { bountyId: number };
|
|
4919
|
+
};
|
|
4920
|
+
},
|
|
4921
|
+
ChainKnownTypes
|
|
4922
|
+
>
|
|
4923
|
+
>;
|
|
4924
|
+
|
|
4650
4925
|
/**
|
|
4651
4926
|
* Generic pallet tx call
|
|
4652
4927
|
**/
|
|
@@ -5079,19 +5354,13 @@ export interface ChainTx<
|
|
|
5079
5354
|
* This can only be called when [`Phase::Emergency`] is enabled, as an alternative to
|
|
5080
5355
|
* calling [`Call::set_emergency_election_result`].
|
|
5081
5356
|
*
|
|
5082
|
-
* @param {number | undefined} maybeMaxVoters
|
|
5083
|
-
* @param {number | undefined} maybeMaxTargets
|
|
5084
5357
|
**/
|
|
5085
5358
|
governanceFallback: GenericTxCall<
|
|
5086
|
-
(
|
|
5087
|
-
maybeMaxVoters: number | undefined,
|
|
5088
|
-
maybeMaxTargets: number | undefined,
|
|
5089
|
-
) => ChainSubmittableExtrinsic<
|
|
5359
|
+
() => ChainSubmittableExtrinsic<
|
|
5090
5360
|
{
|
|
5091
5361
|
pallet: 'ElectionProviderMultiPhase';
|
|
5092
5362
|
palletCall: {
|
|
5093
5363
|
name: 'GovernanceFallback';
|
|
5094
|
-
params: { maybeMaxVoters: number | undefined; maybeMaxTargets: number | undefined };
|
|
5095
5364
|
};
|
|
5096
5365
|
},
|
|
5097
5366
|
ChainKnownTypes
|
|
@@ -5195,8 +5464,14 @@ export interface ChainTx<
|
|
|
5195
5464
|
**/
|
|
5196
5465
|
nominationPools: {
|
|
5197
5466
|
/**
|
|
5198
|
-
* Stake funds with a pool. The amount to bond is
|
|
5199
|
-
*
|
|
5467
|
+
* Stake funds with a pool. The amount to bond is delegated (or transferred based on
|
|
5468
|
+
* [`adapter::StakeStrategyType`]) from the member to the pool account and immediately
|
|
5469
|
+
* increases the pool's bond.
|
|
5470
|
+
*
|
|
5471
|
+
* The method of transferring the amount to the pool account is determined by
|
|
5472
|
+
* [`adapter::StakeStrategyType`]. If the pool is configured to use
|
|
5473
|
+
* [`adapter::StakeStrategyType::Delegate`], the funds remain in the account of
|
|
5474
|
+
* the `origin`, while the pool gains the right to use these funds for staking.
|
|
5200
5475
|
*
|
|
5201
5476
|
* # Note
|
|
5202
5477
|
*
|
|
@@ -5481,13 +5756,13 @@ export interface ChainTx<
|
|
|
5481
5756
|
* The dispatch origin of this call must be signed by the pool nominator or the pool
|
|
5482
5757
|
* root role.
|
|
5483
5758
|
*
|
|
5484
|
-
* This directly
|
|
5485
|
-
*
|
|
5759
|
+
* This directly forwards the call to an implementation of `StakingInterface` (e.g.,
|
|
5760
|
+
* `pallet-staking`) through [`Config::StakeAdapter`], on behalf of the bonded pool.
|
|
5486
5761
|
*
|
|
5487
5762
|
* # Note
|
|
5488
5763
|
*
|
|
5489
|
-
* In addition to a `root` or `nominator` role of `origin`, pool's depositor needs to
|
|
5490
|
-
* at least `depositor_min_bond` in the pool to start nominating.
|
|
5764
|
+
* In addition to a `root` or `nominator` role of `origin`, the pool's depositor needs to
|
|
5765
|
+
* have at least `depositor_min_bond` in the pool to start nominating.
|
|
5491
5766
|
*
|
|
5492
5767
|
* @param {number} poolId
|
|
5493
5768
|
* @param {Array<AccountId32Like>} validators
|
|
@@ -5621,16 +5896,16 @@ export interface ChainTx<
|
|
|
5621
5896
|
* most pool members and they should be informed of changes to pool roles.
|
|
5622
5897
|
*
|
|
5623
5898
|
* @param {number} poolId
|
|
5624
|
-
* @param {
|
|
5625
|
-
* @param {
|
|
5626
|
-
* @param {
|
|
5899
|
+
* @param {PalletNominationPoolsConfigOpAccountId32} newRoot
|
|
5900
|
+
* @param {PalletNominationPoolsConfigOpAccountId32} newNominator
|
|
5901
|
+
* @param {PalletNominationPoolsConfigOpAccountId32} newBouncer
|
|
5627
5902
|
**/
|
|
5628
5903
|
updateRoles: GenericTxCall<
|
|
5629
5904
|
(
|
|
5630
5905
|
poolId: number,
|
|
5631
|
-
newRoot:
|
|
5632
|
-
newNominator:
|
|
5633
|
-
newBouncer:
|
|
5906
|
+
newRoot: PalletNominationPoolsConfigOpAccountId32,
|
|
5907
|
+
newNominator: PalletNominationPoolsConfigOpAccountId32,
|
|
5908
|
+
newBouncer: PalletNominationPoolsConfigOpAccountId32,
|
|
5634
5909
|
) => ChainSubmittableExtrinsic<
|
|
5635
5910
|
{
|
|
5636
5911
|
pallet: 'NominationPools';
|
|
@@ -5638,9 +5913,9 @@ export interface ChainTx<
|
|
|
5638
5913
|
name: 'UpdateRoles';
|
|
5639
5914
|
params: {
|
|
5640
5915
|
poolId: number;
|
|
5641
|
-
newRoot:
|
|
5642
|
-
newNominator:
|
|
5643
|
-
newBouncer:
|
|
5916
|
+
newRoot: PalletNominationPoolsConfigOpAccountId32;
|
|
5917
|
+
newNominator: PalletNominationPoolsConfigOpAccountId32;
|
|
5918
|
+
newBouncer: PalletNominationPoolsConfigOpAccountId32;
|
|
5644
5919
|
};
|
|
5645
5920
|
};
|
|
5646
5921
|
},
|
|
@@ -5654,6 +5929,9 @@ export interface ChainTx<
|
|
|
5654
5929
|
* The dispatch origin of this call can be signed by the pool nominator or the pool
|
|
5655
5930
|
* root role, same as [`Pallet::nominate`].
|
|
5656
5931
|
*
|
|
5932
|
+
* This directly forwards the call to an implementation of `StakingInterface` (e.g.,
|
|
5933
|
+
* `pallet-staking`) through [`Config::StakeAdapter`], on behalf of the bonded pool.
|
|
5934
|
+
*
|
|
5657
5935
|
* Under certain conditions, this call can be dispatched permissionlessly (i.e. by any
|
|
5658
5936
|
* account).
|
|
5659
5937
|
*
|
|
@@ -5662,9 +5940,7 @@ export interface ChainTx<
|
|
|
5662
5940
|
* are unable to unbond.
|
|
5663
5941
|
*
|
|
5664
5942
|
* # Conditions for permissioned dispatch:
|
|
5665
|
-
* * The caller
|
|
5666
|
-
* This directly forward the call to the staking pallet, on behalf of the pool bonded
|
|
5667
|
-
* account.
|
|
5943
|
+
* * The caller is the pool's nominator or root.
|
|
5668
5944
|
*
|
|
5669
5945
|
* @param {number} poolId
|
|
5670
5946
|
**/
|
|
@@ -5836,9 +6112,20 @@ export interface ChainTx<
|
|
|
5836
6112
|
/**
|
|
5837
6113
|
* Claim pending commission.
|
|
5838
6114
|
*
|
|
5839
|
-
* The
|
|
5840
|
-
*
|
|
5841
|
-
*
|
|
6115
|
+
* The `root` role of the pool is _always_ allowed to claim the pool's commission.
|
|
6116
|
+
*
|
|
6117
|
+
* If the pool has set `CommissionClaimPermission::Permissionless`, then any account can
|
|
6118
|
+
* trigger the process of claiming the pool's commission.
|
|
6119
|
+
*
|
|
6120
|
+
* If the pool has set its `CommissionClaimPermission` to `Account(acc)`, then only
|
|
6121
|
+
* accounts
|
|
6122
|
+
* * `acc`, and
|
|
6123
|
+
* * the pool's root account
|
|
6124
|
+
*
|
|
6125
|
+
* may call this extrinsic on behalf of the pool.
|
|
6126
|
+
*
|
|
6127
|
+
* Pending commissions are paid out and added to the total claimed commission.
|
|
6128
|
+
* The total pending commission is reset to zero.
|
|
5842
6129
|
*
|
|
5843
6130
|
* @param {number} poolId
|
|
5844
6131
|
**/
|
|
@@ -5910,8 +6197,10 @@ export interface ChainTx<
|
|
|
5910
6197
|
* Fails unless [`crate::pallet::Config::StakeAdapter`] is of strategy type:
|
|
5911
6198
|
* [`adapter::StakeStrategyType::Delegate`].
|
|
5912
6199
|
*
|
|
5913
|
-
*
|
|
5914
|
-
*
|
|
6200
|
+
* The pending slash amount of the member must be equal or more than `ExistentialDeposit`.
|
|
6201
|
+
* This call can be dispatched permissionlessly (i.e. by any account). If the execution
|
|
6202
|
+
* is successful, fee is refunded and caller may be rewarded with a part of the slash
|
|
6203
|
+
* based on the [`crate::pallet::Config::StakeAdapter`] configuration.
|
|
5915
6204
|
*
|
|
5916
6205
|
* @param {MultiAddressLike} memberAccount
|
|
5917
6206
|
**/
|
|
@@ -6099,21 +6388,20 @@ export interface ChainTx<
|
|
|
6099
6388
|
[callName: string]: GenericTxCall<TxCall<ChainKnownTypes>>;
|
|
6100
6389
|
};
|
|
6101
6390
|
/**
|
|
6102
|
-
* Pallet `
|
|
6391
|
+
* Pallet `StakingAhClient`'s transaction calls
|
|
6103
6392
|
**/
|
|
6104
|
-
|
|
6393
|
+
stakingAhClient: {
|
|
6105
6394
|
/**
|
|
6106
|
-
* Set the validation upgrade cooldown.
|
|
6107
6395
|
*
|
|
6108
|
-
* @param {
|
|
6396
|
+
* @param {PalletStakingAsyncRcClientValidatorSetReport} report
|
|
6109
6397
|
**/
|
|
6110
|
-
|
|
6111
|
-
(
|
|
6398
|
+
validatorSet: GenericTxCall<
|
|
6399
|
+
(report: PalletStakingAsyncRcClientValidatorSetReport) => ChainSubmittableExtrinsic<
|
|
6112
6400
|
{
|
|
6113
|
-
pallet: '
|
|
6401
|
+
pallet: 'StakingAhClient';
|
|
6114
6402
|
palletCall: {
|
|
6115
|
-
name: '
|
|
6116
|
-
params: {
|
|
6403
|
+
name: 'ValidatorSet';
|
|
6404
|
+
params: { report: PalletStakingAsyncRcClientValidatorSetReport };
|
|
6117
6405
|
};
|
|
6118
6406
|
},
|
|
6119
6407
|
ChainKnownTypes
|
|
@@ -6121,17 +6409,17 @@ export interface ChainTx<
|
|
|
6121
6409
|
>;
|
|
6122
6410
|
|
|
6123
6411
|
/**
|
|
6124
|
-
*
|
|
6412
|
+
* Allows governance to force set the operating mode of the pallet.
|
|
6125
6413
|
*
|
|
6126
|
-
* @param {
|
|
6414
|
+
* @param {PalletStakingAsyncAhClientOperatingMode} mode
|
|
6127
6415
|
**/
|
|
6128
|
-
|
|
6129
|
-
(
|
|
6416
|
+
setMode: GenericTxCall<
|
|
6417
|
+
(mode: PalletStakingAsyncAhClientOperatingMode) => ChainSubmittableExtrinsic<
|
|
6130
6418
|
{
|
|
6131
|
-
pallet: '
|
|
6419
|
+
pallet: 'StakingAhClient';
|
|
6132
6420
|
palletCall: {
|
|
6133
|
-
name: '
|
|
6134
|
-
params: {
|
|
6421
|
+
name: 'SetMode';
|
|
6422
|
+
params: { mode: PalletStakingAsyncAhClientOperatingMode };
|
|
6135
6423
|
};
|
|
6136
6424
|
},
|
|
6137
6425
|
ChainKnownTypes
|
|
@@ -6139,16 +6427,41 @@ export interface ChainTx<
|
|
|
6139
6427
|
>;
|
|
6140
6428
|
|
|
6141
6429
|
/**
|
|
6142
|
-
*
|
|
6430
|
+
* manually do what this pallet was meant to do at the end of the migration.
|
|
6143
6431
|
*
|
|
6144
|
-
* @param {number} new_
|
|
6145
6432
|
**/
|
|
6146
|
-
|
|
6147
|
-
(
|
|
6433
|
+
forceOnMigrationEnd: GenericTxCall<
|
|
6434
|
+
() => ChainSubmittableExtrinsic<
|
|
6148
6435
|
{
|
|
6149
|
-
pallet: '
|
|
6436
|
+
pallet: 'StakingAhClient';
|
|
6150
6437
|
palletCall: {
|
|
6151
|
-
name: '
|
|
6438
|
+
name: 'ForceOnMigrationEnd';
|
|
6439
|
+
};
|
|
6440
|
+
},
|
|
6441
|
+
ChainKnownTypes
|
|
6442
|
+
>
|
|
6443
|
+
>;
|
|
6444
|
+
|
|
6445
|
+
/**
|
|
6446
|
+
* Generic pallet tx call
|
|
6447
|
+
**/
|
|
6448
|
+
[callName: string]: GenericTxCall<TxCall<ChainKnownTypes>>;
|
|
6449
|
+
};
|
|
6450
|
+
/**
|
|
6451
|
+
* Pallet `Configuration`'s transaction calls
|
|
6452
|
+
**/
|
|
6453
|
+
configuration: {
|
|
6454
|
+
/**
|
|
6455
|
+
* Set the validation upgrade cooldown.
|
|
6456
|
+
*
|
|
6457
|
+
* @param {number} new_
|
|
6458
|
+
**/
|
|
6459
|
+
setValidationUpgradeCooldown: GenericTxCall<
|
|
6460
|
+
(new_: number) => ChainSubmittableExtrinsic<
|
|
6461
|
+
{
|
|
6462
|
+
pallet: 'Configuration';
|
|
6463
|
+
palletCall: {
|
|
6464
|
+
name: 'SetValidationUpgradeCooldown';
|
|
6152
6465
|
params: { new: number };
|
|
6153
6466
|
};
|
|
6154
6467
|
},
|
|
@@ -6157,16 +6470,16 @@ export interface ChainTx<
|
|
|
6157
6470
|
>;
|
|
6158
6471
|
|
|
6159
6472
|
/**
|
|
6160
|
-
* Set the
|
|
6473
|
+
* Set the validation upgrade delay.
|
|
6161
6474
|
*
|
|
6162
6475
|
* @param {number} new_
|
|
6163
6476
|
**/
|
|
6164
|
-
|
|
6477
|
+
setValidationUpgradeDelay: GenericTxCall<
|
|
6165
6478
|
(new_: number) => ChainSubmittableExtrinsic<
|
|
6166
6479
|
{
|
|
6167
6480
|
pallet: 'Configuration';
|
|
6168
6481
|
palletCall: {
|
|
6169
|
-
name: '
|
|
6482
|
+
name: 'SetValidationUpgradeDelay';
|
|
6170
6483
|
params: { new: number };
|
|
6171
6484
|
};
|
|
6172
6485
|
},
|
|
@@ -6175,16 +6488,16 @@ export interface ChainTx<
|
|
|
6175
6488
|
>;
|
|
6176
6489
|
|
|
6177
6490
|
/**
|
|
6178
|
-
* Set the
|
|
6491
|
+
* Set the acceptance period for an included candidate.
|
|
6179
6492
|
*
|
|
6180
6493
|
* @param {number} new_
|
|
6181
6494
|
**/
|
|
6182
|
-
|
|
6495
|
+
setCodeRetentionPeriod: GenericTxCall<
|
|
6183
6496
|
(new_: number) => ChainSubmittableExtrinsic<
|
|
6184
6497
|
{
|
|
6185
6498
|
pallet: 'Configuration';
|
|
6186
6499
|
palletCall: {
|
|
6187
|
-
name: '
|
|
6500
|
+
name: 'SetCodeRetentionPeriod';
|
|
6188
6501
|
params: { new: number };
|
|
6189
6502
|
};
|
|
6190
6503
|
},
|
|
@@ -6193,16 +6506,16 @@ export interface ChainTx<
|
|
|
6193
6506
|
>;
|
|
6194
6507
|
|
|
6195
6508
|
/**
|
|
6196
|
-
* Set the max
|
|
6509
|
+
* Set the max validation code size for incoming upgrades.
|
|
6197
6510
|
*
|
|
6198
6511
|
* @param {number} new_
|
|
6199
6512
|
**/
|
|
6200
|
-
|
|
6513
|
+
setMaxCodeSize: GenericTxCall<
|
|
6201
6514
|
(new_: number) => ChainSubmittableExtrinsic<
|
|
6202
6515
|
{
|
|
6203
6516
|
pallet: 'Configuration';
|
|
6204
6517
|
palletCall: {
|
|
6205
|
-
name: '
|
|
6518
|
+
name: 'SetMaxCodeSize';
|
|
6206
6519
|
params: { new: number };
|
|
6207
6520
|
};
|
|
6208
6521
|
},
|
|
@@ -6211,19 +6524,34 @@ export interface ChainTx<
|
|
|
6211
6524
|
>;
|
|
6212
6525
|
|
|
6213
6526
|
/**
|
|
6214
|
-
* Set the
|
|
6527
|
+
* Set the max POV block size for incoming upgrades.
|
|
6215
6528
|
*
|
|
6216
|
-
*
|
|
6217
|
-
|
|
6529
|
+
* @param {number} new_
|
|
6530
|
+
**/
|
|
6531
|
+
setMaxPovSize: GenericTxCall<
|
|
6532
|
+
(new_: number) => ChainSubmittableExtrinsic<
|
|
6533
|
+
{
|
|
6534
|
+
pallet: 'Configuration';
|
|
6535
|
+
palletCall: {
|
|
6536
|
+
name: 'SetMaxPovSize';
|
|
6537
|
+
params: { new: number };
|
|
6538
|
+
};
|
|
6539
|
+
},
|
|
6540
|
+
ChainKnownTypes
|
|
6541
|
+
>
|
|
6542
|
+
>;
|
|
6543
|
+
|
|
6544
|
+
/**
|
|
6545
|
+
* Set the max head data size for paras.
|
|
6218
6546
|
*
|
|
6219
6547
|
* @param {number} new_
|
|
6220
6548
|
**/
|
|
6221
|
-
|
|
6549
|
+
setMaxHeadDataSize: GenericTxCall<
|
|
6222
6550
|
(new_: number) => ChainSubmittableExtrinsic<
|
|
6223
6551
|
{
|
|
6224
6552
|
pallet: 'Configuration';
|
|
6225
6553
|
palletCall: {
|
|
6226
|
-
name: '
|
|
6554
|
+
name: 'SetMaxHeadDataSize';
|
|
6227
6555
|
params: { new: number };
|
|
6228
6556
|
};
|
|
6229
6557
|
},
|
|
@@ -6232,16 +6560,19 @@ export interface ChainTx<
|
|
|
6232
6560
|
>;
|
|
6233
6561
|
|
|
6234
6562
|
/**
|
|
6235
|
-
* Set the
|
|
6563
|
+
* Set the number of coretime execution cores.
|
|
6564
|
+
*
|
|
6565
|
+
* NOTE: that this configuration is managed by the coretime chain. Only manually change
|
|
6566
|
+
* this, if you really know what you are doing!
|
|
6236
6567
|
*
|
|
6237
6568
|
* @param {number} new_
|
|
6238
6569
|
**/
|
|
6239
|
-
|
|
6570
|
+
setCoretimeCores: GenericTxCall<
|
|
6240
6571
|
(new_: number) => ChainSubmittableExtrinsic<
|
|
6241
6572
|
{
|
|
6242
6573
|
pallet: 'Configuration';
|
|
6243
6574
|
palletCall: {
|
|
6244
|
-
name: '
|
|
6575
|
+
name: 'SetCoretimeCores';
|
|
6245
6576
|
params: { new: number };
|
|
6246
6577
|
};
|
|
6247
6578
|
},
|
|
@@ -6781,15 +7112,15 @@ export interface ChainTx<
|
|
|
6781
7112
|
/**
|
|
6782
7113
|
* Set the asynchronous backing parameters.
|
|
6783
7114
|
*
|
|
6784
|
-
* @param {
|
|
7115
|
+
* @param {PolkadotPrimitivesV8AsyncBackingAsyncBackingParams} new_
|
|
6785
7116
|
**/
|
|
6786
7117
|
setAsyncBackingParams: GenericTxCall<
|
|
6787
|
-
(new_:
|
|
7118
|
+
(new_: PolkadotPrimitivesV8AsyncBackingAsyncBackingParams) => ChainSubmittableExtrinsic<
|
|
6788
7119
|
{
|
|
6789
7120
|
pallet: 'Configuration';
|
|
6790
7121
|
palletCall: {
|
|
6791
7122
|
name: 'SetAsyncBackingParams';
|
|
6792
|
-
params: { new:
|
|
7123
|
+
params: { new: PolkadotPrimitivesV8AsyncBackingAsyncBackingParams };
|
|
6793
7124
|
};
|
|
6794
7125
|
},
|
|
6795
7126
|
ChainKnownTypes
|
|
@@ -6799,15 +7130,15 @@ export interface ChainTx<
|
|
|
6799
7130
|
/**
|
|
6800
7131
|
* Set PVF executor parameters.
|
|
6801
7132
|
*
|
|
6802
|
-
* @param {
|
|
7133
|
+
* @param {PolkadotPrimitivesV8ExecutorParams} new_
|
|
6803
7134
|
**/
|
|
6804
7135
|
setExecutorParams: GenericTxCall<
|
|
6805
|
-
(new_:
|
|
7136
|
+
(new_: PolkadotPrimitivesV8ExecutorParams) => ChainSubmittableExtrinsic<
|
|
6806
7137
|
{
|
|
6807
7138
|
pallet: 'Configuration';
|
|
6808
7139
|
palletCall: {
|
|
6809
7140
|
name: 'SetExecutorParams';
|
|
6810
|
-
params: { new:
|
|
7141
|
+
params: { new: PolkadotPrimitivesV8ExecutorParams };
|
|
6811
7142
|
};
|
|
6812
7143
|
},
|
|
6813
7144
|
ChainKnownTypes
|
|
@@ -6886,24 +7217,6 @@ export interface ChainTx<
|
|
|
6886
7217
|
>
|
|
6887
7218
|
>;
|
|
6888
7219
|
|
|
6889
|
-
/**
|
|
6890
|
-
* Set the on demand (parathreads) ttl in the claimqueue.
|
|
6891
|
-
*
|
|
6892
|
-
* @param {number} new_
|
|
6893
|
-
**/
|
|
6894
|
-
setOnDemandTtl: GenericTxCall<
|
|
6895
|
-
(new_: number) => ChainSubmittableExtrinsic<
|
|
6896
|
-
{
|
|
6897
|
-
pallet: 'Configuration';
|
|
6898
|
-
palletCall: {
|
|
6899
|
-
name: 'SetOnDemandTtl';
|
|
6900
|
-
params: { new: number };
|
|
6901
|
-
};
|
|
6902
|
-
},
|
|
6903
|
-
ChainKnownTypes
|
|
6904
|
-
>
|
|
6905
|
-
>;
|
|
6906
|
-
|
|
6907
7220
|
/**
|
|
6908
7221
|
* Set the minimum backing votes threshold.
|
|
6909
7222
|
*
|
|
@@ -6947,15 +7260,15 @@ export interface ChainTx<
|
|
|
6947
7260
|
/**
|
|
6948
7261
|
* Set approval-voting-params.
|
|
6949
7262
|
*
|
|
6950
|
-
* @param {
|
|
7263
|
+
* @param {PolkadotPrimitivesV8ApprovalVotingParams} new_
|
|
6951
7264
|
**/
|
|
6952
7265
|
setApprovalVotingParams: GenericTxCall<
|
|
6953
|
-
(new_:
|
|
7266
|
+
(new_: PolkadotPrimitivesV8ApprovalVotingParams) => ChainSubmittableExtrinsic<
|
|
6954
7267
|
{
|
|
6955
7268
|
pallet: 'Configuration';
|
|
6956
7269
|
palletCall: {
|
|
6957
7270
|
name: 'SetApprovalVotingParams';
|
|
6958
|
-
params: { new:
|
|
7271
|
+
params: { new: PolkadotPrimitivesV8ApprovalVotingParams };
|
|
6959
7272
|
};
|
|
6960
7273
|
},
|
|
6961
7274
|
ChainKnownTypes
|
|
@@ -6965,15 +7278,15 @@ export interface ChainTx<
|
|
|
6965
7278
|
/**
|
|
6966
7279
|
* Set scheduler-params.
|
|
6967
7280
|
*
|
|
6968
|
-
* @param {
|
|
7281
|
+
* @param {PolkadotPrimitivesV8SchedulerParams} new_
|
|
6969
7282
|
**/
|
|
6970
7283
|
setSchedulerParams: GenericTxCall<
|
|
6971
|
-
(new_:
|
|
7284
|
+
(new_: PolkadotPrimitivesV8SchedulerParams) => ChainSubmittableExtrinsic<
|
|
6972
7285
|
{
|
|
6973
7286
|
pallet: 'Configuration';
|
|
6974
7287
|
palletCall: {
|
|
6975
7288
|
name: 'SetSchedulerParams';
|
|
6976
|
-
params: { new:
|
|
7289
|
+
params: { new: PolkadotPrimitivesV8SchedulerParams };
|
|
6977
7290
|
};
|
|
6978
7291
|
},
|
|
6979
7292
|
ChainKnownTypes
|
|
@@ -7010,15 +7323,15 @@ export interface ChainTx<
|
|
|
7010
7323
|
/**
|
|
7011
7324
|
* Enter the paras inherent. This will process bitfields and backed candidates.
|
|
7012
7325
|
*
|
|
7013
|
-
* @param {
|
|
7326
|
+
* @param {PolkadotPrimitivesVstagingInherentData} data
|
|
7014
7327
|
**/
|
|
7015
7328
|
enter: GenericTxCall<
|
|
7016
|
-
(data:
|
|
7329
|
+
(data: PolkadotPrimitivesVstagingInherentData) => ChainSubmittableExtrinsic<
|
|
7017
7330
|
{
|
|
7018
7331
|
pallet: 'ParaInherent';
|
|
7019
7332
|
palletCall: {
|
|
7020
7333
|
name: 'Enter';
|
|
7021
|
-
params: { data:
|
|
7334
|
+
params: { data: PolkadotPrimitivesVstagingInherentData };
|
|
7022
7335
|
};
|
|
7023
7336
|
},
|
|
7024
7337
|
ChainKnownTypes
|
|
@@ -7214,21 +7527,21 @@ export interface ChainTx<
|
|
|
7214
7527
|
* Includes a statement for a PVF pre-checking vote. Potentially, finalizes the vote and
|
|
7215
7528
|
* enacts the results if that was the last vote before achieving the supermajority.
|
|
7216
7529
|
*
|
|
7217
|
-
* @param {
|
|
7218
|
-
* @param {
|
|
7530
|
+
* @param {PolkadotPrimitivesV8PvfCheckStatement} stmt
|
|
7531
|
+
* @param {PolkadotPrimitivesV8ValidatorAppSignature} signature
|
|
7219
7532
|
**/
|
|
7220
7533
|
includePvfCheckStatement: GenericTxCall<
|
|
7221
7534
|
(
|
|
7222
|
-
stmt:
|
|
7223
|
-
signature:
|
|
7535
|
+
stmt: PolkadotPrimitivesV8PvfCheckStatement,
|
|
7536
|
+
signature: PolkadotPrimitivesV8ValidatorAppSignature,
|
|
7224
7537
|
) => ChainSubmittableExtrinsic<
|
|
7225
7538
|
{
|
|
7226
7539
|
pallet: 'Paras';
|
|
7227
7540
|
palletCall: {
|
|
7228
7541
|
name: 'IncludePvfCheckStatement';
|
|
7229
7542
|
params: {
|
|
7230
|
-
stmt:
|
|
7231
|
-
signature:
|
|
7543
|
+
stmt: PolkadotPrimitivesV8PvfCheckStatement;
|
|
7544
|
+
signature: PolkadotPrimitivesV8ValidatorAppSignature;
|
|
7232
7545
|
};
|
|
7233
7546
|
};
|
|
7234
7547
|
},
|
|
@@ -7258,6 +7571,91 @@ export interface ChainTx<
|
|
|
7258
7571
|
>
|
|
7259
7572
|
>;
|
|
7260
7573
|
|
|
7574
|
+
/**
|
|
7575
|
+
* Remove an upgrade cooldown for a parachain.
|
|
7576
|
+
*
|
|
7577
|
+
* The cost for removing the cooldown earlier depends on the time left for the cooldown
|
|
7578
|
+
* multiplied by [`Config::CooldownRemovalMultiplier`]. The paid tokens are burned.
|
|
7579
|
+
*
|
|
7580
|
+
* @param {PolkadotParachainPrimitivesPrimitivesId} para
|
|
7581
|
+
**/
|
|
7582
|
+
removeUpgradeCooldown: GenericTxCall<
|
|
7583
|
+
(para: PolkadotParachainPrimitivesPrimitivesId) => ChainSubmittableExtrinsic<
|
|
7584
|
+
{
|
|
7585
|
+
pallet: 'Paras';
|
|
7586
|
+
palletCall: {
|
|
7587
|
+
name: 'RemoveUpgradeCooldown';
|
|
7588
|
+
params: { para: PolkadotParachainPrimitivesPrimitivesId };
|
|
7589
|
+
};
|
|
7590
|
+
},
|
|
7591
|
+
ChainKnownTypes
|
|
7592
|
+
>
|
|
7593
|
+
>;
|
|
7594
|
+
|
|
7595
|
+
/**
|
|
7596
|
+
* Sets the storage for the authorized current code hash of the parachain.
|
|
7597
|
+
* If not applied, it will be removed at the `System::block_number() + valid_period` block.
|
|
7598
|
+
*
|
|
7599
|
+
* This can be useful, when triggering `Paras::force_set_current_code(para, code)`
|
|
7600
|
+
* from a different chain than the one where the `Paras` pallet is deployed.
|
|
7601
|
+
*
|
|
7602
|
+
* The main purpose is to avoid transferring the entire `code` Wasm blob between chains.
|
|
7603
|
+
* Instead, we authorize `code_hash` with `root`, which can later be applied by
|
|
7604
|
+
* `Paras::apply_authorized_force_set_current_code(para, code)` by anyone.
|
|
7605
|
+
*
|
|
7606
|
+
* Authorizations are stored in an **overwriting manner**.
|
|
7607
|
+
*
|
|
7608
|
+
* @param {PolkadotParachainPrimitivesPrimitivesId} para
|
|
7609
|
+
* @param {PolkadotParachainPrimitivesPrimitivesValidationCodeHash} newCodeHash
|
|
7610
|
+
* @param {number} validPeriod
|
|
7611
|
+
**/
|
|
7612
|
+
authorizeForceSetCurrentCodeHash: GenericTxCall<
|
|
7613
|
+
(
|
|
7614
|
+
para: PolkadotParachainPrimitivesPrimitivesId,
|
|
7615
|
+
newCodeHash: PolkadotParachainPrimitivesPrimitivesValidationCodeHash,
|
|
7616
|
+
validPeriod: number,
|
|
7617
|
+
) => ChainSubmittableExtrinsic<
|
|
7618
|
+
{
|
|
7619
|
+
pallet: 'Paras';
|
|
7620
|
+
palletCall: {
|
|
7621
|
+
name: 'AuthorizeForceSetCurrentCodeHash';
|
|
7622
|
+
params: {
|
|
7623
|
+
para: PolkadotParachainPrimitivesPrimitivesId;
|
|
7624
|
+
newCodeHash: PolkadotParachainPrimitivesPrimitivesValidationCodeHash;
|
|
7625
|
+
validPeriod: number;
|
|
7626
|
+
};
|
|
7627
|
+
};
|
|
7628
|
+
},
|
|
7629
|
+
ChainKnownTypes
|
|
7630
|
+
>
|
|
7631
|
+
>;
|
|
7632
|
+
|
|
7633
|
+
/**
|
|
7634
|
+
* Applies the already authorized current code for the parachain,
|
|
7635
|
+
* triggering the same functionality as `force_set_current_code`.
|
|
7636
|
+
*
|
|
7637
|
+
* @param {PolkadotParachainPrimitivesPrimitivesId} para
|
|
7638
|
+
* @param {PolkadotParachainPrimitivesPrimitivesValidationCode} newCode
|
|
7639
|
+
**/
|
|
7640
|
+
applyAuthorizedForceSetCurrentCode: GenericTxCall<
|
|
7641
|
+
(
|
|
7642
|
+
para: PolkadotParachainPrimitivesPrimitivesId,
|
|
7643
|
+
newCode: PolkadotParachainPrimitivesPrimitivesValidationCode,
|
|
7644
|
+
) => ChainSubmittableExtrinsic<
|
|
7645
|
+
{
|
|
7646
|
+
pallet: 'Paras';
|
|
7647
|
+
palletCall: {
|
|
7648
|
+
name: 'ApplyAuthorizedForceSetCurrentCode';
|
|
7649
|
+
params: {
|
|
7650
|
+
para: PolkadotParachainPrimitivesPrimitivesId;
|
|
7651
|
+
newCode: PolkadotParachainPrimitivesPrimitivesValidationCode;
|
|
7652
|
+
};
|
|
7653
|
+
};
|
|
7654
|
+
},
|
|
7655
|
+
ChainKnownTypes
|
|
7656
|
+
>
|
|
7657
|
+
>;
|
|
7658
|
+
|
|
7261
7659
|
/**
|
|
7262
7660
|
* Generic pallet tx call
|
|
7263
7661
|
**/
|
|
@@ -7647,19 +8045,19 @@ export interface ChainTx<
|
|
|
7647
8045
|
parasSlashing: {
|
|
7648
8046
|
/**
|
|
7649
8047
|
*
|
|
7650
|
-
* @param {
|
|
8048
|
+
* @param {PolkadotPrimitivesVstagingDisputeProof} disputeProof
|
|
7651
8049
|
* @param {SpSessionMembershipProof} keyOwnerProof
|
|
7652
8050
|
**/
|
|
7653
8051
|
reportDisputeLostUnsigned: GenericTxCall<
|
|
7654
8052
|
(
|
|
7655
|
-
disputeProof:
|
|
8053
|
+
disputeProof: PolkadotPrimitivesVstagingDisputeProof,
|
|
7656
8054
|
keyOwnerProof: SpSessionMembershipProof,
|
|
7657
8055
|
) => ChainSubmittableExtrinsic<
|
|
7658
8056
|
{
|
|
7659
8057
|
pallet: 'ParasSlashing';
|
|
7660
8058
|
palletCall: {
|
|
7661
8059
|
name: 'ReportDisputeLostUnsigned';
|
|
7662
|
-
params: { disputeProof:
|
|
8060
|
+
params: { disputeProof: PolkadotPrimitivesVstagingDisputeProof; keyOwnerProof: SpSessionMembershipProof };
|
|
7663
8061
|
};
|
|
7664
8062
|
},
|
|
7665
8063
|
ChainKnownTypes
|
|
@@ -7694,6 +8092,8 @@ export interface ChainTx<
|
|
|
7694
8092
|
*
|
|
7695
8093
|
* @param {bigint} maxAmount
|
|
7696
8094
|
* @param {PolkadotParachainPrimitivesPrimitivesId} paraId
|
|
8095
|
+
*
|
|
8096
|
+
* @deprecated This will be removed in favor of using `place_order_with_credits`
|
|
7697
8097
|
**/
|
|
7698
8098
|
placeOrderAllowDeath: GenericTxCall<
|
|
7699
8099
|
(
|
|
@@ -7730,6 +8130,8 @@ export interface ChainTx<
|
|
|
7730
8130
|
*
|
|
7731
8131
|
* @param {bigint} maxAmount
|
|
7732
8132
|
* @param {PolkadotParachainPrimitivesPrimitivesId} paraId
|
|
8133
|
+
*
|
|
8134
|
+
* @deprecated This will be removed in favor of using `place_order_with_credits`
|
|
7733
8135
|
**/
|
|
7734
8136
|
placeOrderKeepAlive: GenericTxCall<
|
|
7735
8137
|
(
|
|
@@ -7747,6 +8149,44 @@ export interface ChainTx<
|
|
|
7747
8149
|
>
|
|
7748
8150
|
>;
|
|
7749
8151
|
|
|
8152
|
+
/**
|
|
8153
|
+
* Create a single on demand core order with credits.
|
|
8154
|
+
* Will charge the owner's on-demand credit account the spot price for the current block.
|
|
8155
|
+
*
|
|
8156
|
+
* Parameters:
|
|
8157
|
+
* - `origin`: The sender of the call, on-demand credits will be withdrawn from this
|
|
8158
|
+
* account.
|
|
8159
|
+
* - `max_amount`: The maximum number of credits to spend from the origin to place an
|
|
8160
|
+
* order.
|
|
8161
|
+
* - `para_id`: A `ParaId` the origin wants to provide blockspace for.
|
|
8162
|
+
*
|
|
8163
|
+
* Errors:
|
|
8164
|
+
* - `InsufficientCredits`
|
|
8165
|
+
* - `QueueFull`
|
|
8166
|
+
* - `SpotPriceHigherThanMaxAmount`
|
|
8167
|
+
*
|
|
8168
|
+
* Events:
|
|
8169
|
+
* - `OnDemandOrderPlaced`
|
|
8170
|
+
*
|
|
8171
|
+
* @param {bigint} maxAmount
|
|
8172
|
+
* @param {PolkadotParachainPrimitivesPrimitivesId} paraId
|
|
8173
|
+
**/
|
|
8174
|
+
placeOrderWithCredits: GenericTxCall<
|
|
8175
|
+
(
|
|
8176
|
+
maxAmount: bigint,
|
|
8177
|
+
paraId: PolkadotParachainPrimitivesPrimitivesId,
|
|
8178
|
+
) => ChainSubmittableExtrinsic<
|
|
8179
|
+
{
|
|
8180
|
+
pallet: 'OnDemand';
|
|
8181
|
+
palletCall: {
|
|
8182
|
+
name: 'PlaceOrderWithCredits';
|
|
8183
|
+
params: { maxAmount: bigint; paraId: PolkadotParachainPrimitivesPrimitivesId };
|
|
8184
|
+
};
|
|
8185
|
+
},
|
|
8186
|
+
ChainKnownTypes
|
|
8187
|
+
>
|
|
8188
|
+
>;
|
|
8189
|
+
|
|
7750
8190
|
/**
|
|
7751
8191
|
* Generic pallet tx call
|
|
7752
8192
|
**/
|
|
@@ -8543,6 +8983,27 @@ export interface ChainTx<
|
|
|
8543
8983
|
>
|
|
8544
8984
|
>;
|
|
8545
8985
|
|
|
8986
|
+
/**
|
|
8987
|
+
*
|
|
8988
|
+
* @param {AccountId32Like} who
|
|
8989
|
+
* @param {bigint} amount
|
|
8990
|
+
**/
|
|
8991
|
+
creditAccount: GenericTxCall<
|
|
8992
|
+
(
|
|
8993
|
+
who: AccountId32Like,
|
|
8994
|
+
amount: bigint,
|
|
8995
|
+
) => ChainSubmittableExtrinsic<
|
|
8996
|
+
{
|
|
8997
|
+
pallet: 'Coretime';
|
|
8998
|
+
palletCall: {
|
|
8999
|
+
name: 'CreditAccount';
|
|
9000
|
+
params: { who: AccountId32Like; amount: bigint };
|
|
9001
|
+
};
|
|
9002
|
+
},
|
|
9003
|
+
ChainKnownTypes
|
|
9004
|
+
>
|
|
9005
|
+
>;
|
|
9006
|
+
|
|
8546
9007
|
/**
|
|
8547
9008
|
* Receive instructions from the `ExternalBrokerOrigin`, detailing how a specific core is
|
|
8548
9009
|
* to be used.
|
|
@@ -8819,6 +9280,8 @@ export interface ChainTx<
|
|
|
8819
9280
|
* @param {XcmVersionedLocation} beneficiary
|
|
8820
9281
|
* @param {XcmVersionedAssets} assets
|
|
8821
9282
|
* @param {number} feeAssetItem
|
|
9283
|
+
*
|
|
9284
|
+
* @deprecated This extrinsic uses `WeightLimit::Unlimited`, please migrate to `limited_teleport_assets` or `transfer_assets`
|
|
8822
9285
|
**/
|
|
8823
9286
|
teleportAssets: GenericTxCall<
|
|
8824
9287
|
(
|
|
@@ -8879,6 +9342,8 @@ export interface ChainTx<
|
|
|
8879
9342
|
* @param {XcmVersionedLocation} beneficiary
|
|
8880
9343
|
* @param {XcmVersionedAssets} assets
|
|
8881
9344
|
* @param {number} feeAssetItem
|
|
9345
|
+
*
|
|
9346
|
+
* @deprecated This extrinsic uses `WeightLimit::Unlimited`, please migrate to `limited_reserve_transfer_assets` or `transfer_assets`
|
|
8882
9347
|
**/
|
|
8883
9348
|
reserveTransferAssets: GenericTxCall<
|
|
8884
9349
|
(
|
|
@@ -8940,19 +9405,19 @@ export interface ChainTx<
|
|
|
8940
9405
|
* - `location`: The destination that is being described.
|
|
8941
9406
|
* - `xcm_version`: The latest version of XCM that `location` supports.
|
|
8942
9407
|
*
|
|
8943
|
-
* @param {
|
|
9408
|
+
* @param {StagingXcmV5Location} location
|
|
8944
9409
|
* @param {number} version
|
|
8945
9410
|
**/
|
|
8946
9411
|
forceXcmVersion: GenericTxCall<
|
|
8947
9412
|
(
|
|
8948
|
-
location:
|
|
9413
|
+
location: StagingXcmV5Location,
|
|
8949
9414
|
version: number,
|
|
8950
9415
|
) => ChainSubmittableExtrinsic<
|
|
8951
9416
|
{
|
|
8952
9417
|
pallet: 'XcmPallet';
|
|
8953
9418
|
palletCall: {
|
|
8954
9419
|
name: 'ForceXcmVersion';
|
|
8955
|
-
params: { location:
|
|
9420
|
+
params: { location: StagingXcmV5Location; version: number };
|
|
8956
9421
|
};
|
|
8957
9422
|
},
|
|
8958
9423
|
ChainKnownTypes
|
|
@@ -9340,6 +9805,74 @@ export interface ChainTx<
|
|
|
9340
9805
|
>
|
|
9341
9806
|
>;
|
|
9342
9807
|
|
|
9808
|
+
/**
|
|
9809
|
+
* Authorize another `aliaser` location to alias into the local `origin` making this call.
|
|
9810
|
+
* The `aliaser` is only authorized until the provided `expiry` block number.
|
|
9811
|
+
* The call can also be used for a previously authorized alias in order to update its
|
|
9812
|
+
* `expiry` block number.
|
|
9813
|
+
*
|
|
9814
|
+
* Usually useful to allow your local account to be aliased into from a remote location
|
|
9815
|
+
* also under your control (like your account on another chain).
|
|
9816
|
+
*
|
|
9817
|
+
* WARNING: make sure the caller `origin` (you) trusts the `aliaser` location to act in
|
|
9818
|
+
* their/your name. Once authorized using this call, the `aliaser` can freely impersonate
|
|
9819
|
+
* `origin` in XCM programs executed on the local chain.
|
|
9820
|
+
*
|
|
9821
|
+
* @param {XcmVersionedLocation} aliaser
|
|
9822
|
+
* @param {bigint | undefined} expires
|
|
9823
|
+
**/
|
|
9824
|
+
addAuthorizedAlias: GenericTxCall<
|
|
9825
|
+
(
|
|
9826
|
+
aliaser: XcmVersionedLocation,
|
|
9827
|
+
expires: bigint | undefined,
|
|
9828
|
+
) => ChainSubmittableExtrinsic<
|
|
9829
|
+
{
|
|
9830
|
+
pallet: 'XcmPallet';
|
|
9831
|
+
palletCall: {
|
|
9832
|
+
name: 'AddAuthorizedAlias';
|
|
9833
|
+
params: { aliaser: XcmVersionedLocation; expires: bigint | undefined };
|
|
9834
|
+
};
|
|
9835
|
+
},
|
|
9836
|
+
ChainKnownTypes
|
|
9837
|
+
>
|
|
9838
|
+
>;
|
|
9839
|
+
|
|
9840
|
+
/**
|
|
9841
|
+
* Remove a previously authorized `aliaser` from the list of locations that can alias into
|
|
9842
|
+
* the local `origin` making this call.
|
|
9843
|
+
*
|
|
9844
|
+
* @param {XcmVersionedLocation} aliaser
|
|
9845
|
+
**/
|
|
9846
|
+
removeAuthorizedAlias: GenericTxCall<
|
|
9847
|
+
(aliaser: XcmVersionedLocation) => ChainSubmittableExtrinsic<
|
|
9848
|
+
{
|
|
9849
|
+
pallet: 'XcmPallet';
|
|
9850
|
+
palletCall: {
|
|
9851
|
+
name: 'RemoveAuthorizedAlias';
|
|
9852
|
+
params: { aliaser: XcmVersionedLocation };
|
|
9853
|
+
};
|
|
9854
|
+
},
|
|
9855
|
+
ChainKnownTypes
|
|
9856
|
+
>
|
|
9857
|
+
>;
|
|
9858
|
+
|
|
9859
|
+
/**
|
|
9860
|
+
* Remove all previously authorized `aliaser`s that can alias into the local `origin`
|
|
9861
|
+
* making this call.
|
|
9862
|
+
*
|
|
9863
|
+
**/
|
|
9864
|
+
removeAllAuthorizedAliases: GenericTxCall<
|
|
9865
|
+
() => ChainSubmittableExtrinsic<
|
|
9866
|
+
{
|
|
9867
|
+
pallet: 'XcmPallet';
|
|
9868
|
+
palletCall: {
|
|
9869
|
+
name: 'RemoveAllAuthorizedAliases';
|
|
9870
|
+
};
|
|
9871
|
+
},
|
|
9872
|
+
ChainKnownTypes
|
|
9873
|
+
>
|
|
9874
|
+
>;
|
|
9875
|
+
|
|
9343
9876
|
/**
|
|
9344
9877
|
* Generic pallet tx call
|
|
9345
9878
|
**/
|
|
@@ -9512,7 +10045,7 @@ export interface ChainTx<
|
|
|
9512
10045
|
* @param {SpConsensusBeefyDoubleVotingProof} equivocationProof
|
|
9513
10046
|
* @param {SpSessionMembershipProof} keyOwnerProof
|
|
9514
10047
|
**/
|
|
9515
|
-
|
|
10048
|
+
reportDoubleVoting: GenericTxCall<
|
|
9516
10049
|
(
|
|
9517
10050
|
equivocationProof: SpConsensusBeefyDoubleVotingProof,
|
|
9518
10051
|
keyOwnerProof: SpSessionMembershipProof,
|
|
@@ -9520,7 +10053,7 @@ export interface ChainTx<
|
|
|
9520
10053
|
{
|
|
9521
10054
|
pallet: 'Beefy';
|
|
9522
10055
|
palletCall: {
|
|
9523
|
-
name: '
|
|
10056
|
+
name: 'ReportDoubleVoting';
|
|
9524
10057
|
params: { equivocationProof: SpConsensusBeefyDoubleVotingProof; keyOwnerProof: SpSessionMembershipProof };
|
|
9525
10058
|
};
|
|
9526
10059
|
},
|
|
@@ -9542,7 +10075,7 @@ export interface ChainTx<
|
|
|
9542
10075
|
* @param {SpConsensusBeefyDoubleVotingProof} equivocationProof
|
|
9543
10076
|
* @param {SpSessionMembershipProof} keyOwnerProof
|
|
9544
10077
|
**/
|
|
9545
|
-
|
|
10078
|
+
reportDoubleVotingUnsigned: GenericTxCall<
|
|
9546
10079
|
(
|
|
9547
10080
|
equivocationProof: SpConsensusBeefyDoubleVotingProof,
|
|
9548
10081
|
keyOwnerProof: SpSessionMembershipProof,
|
|
@@ -9550,7 +10083,7 @@ export interface ChainTx<
|
|
|
9550
10083
|
{
|
|
9551
10084
|
pallet: 'Beefy';
|
|
9552
10085
|
palletCall: {
|
|
9553
|
-
name: '
|
|
10086
|
+
name: 'ReportDoubleVotingUnsigned';
|
|
9554
10087
|
params: { equivocationProof: SpConsensusBeefyDoubleVotingProof; keyOwnerProof: SpSessionMembershipProof };
|
|
9555
10088
|
};
|
|
9556
10089
|
},
|
|
@@ -9580,14 +10113,126 @@ export interface ChainTx<
|
|
|
9580
10113
|
>;
|
|
9581
10114
|
|
|
9582
10115
|
/**
|
|
9583
|
-
*
|
|
10116
|
+
* Report fork voting equivocation. This method will verify the equivocation proof
|
|
10117
|
+
* and validate the given key ownership proof against the extracted offender.
|
|
10118
|
+
* If both are valid, the offence will be reported.
|
|
10119
|
+
*
|
|
10120
|
+
* @param {SpConsensusBeefyForkVotingProof} equivocationProof
|
|
10121
|
+
* @param {SpSessionMembershipProof} keyOwnerProof
|
|
9584
10122
|
**/
|
|
9585
|
-
|
|
9586
|
-
|
|
9587
|
-
|
|
9588
|
-
|
|
9589
|
-
|
|
9590
|
-
|
|
10123
|
+
reportForkVoting: GenericTxCall<
|
|
10124
|
+
(
|
|
10125
|
+
equivocationProof: SpConsensusBeefyForkVotingProof,
|
|
10126
|
+
keyOwnerProof: SpSessionMembershipProof,
|
|
10127
|
+
) => ChainSubmittableExtrinsic<
|
|
10128
|
+
{
|
|
10129
|
+
pallet: 'Beefy';
|
|
10130
|
+
palletCall: {
|
|
10131
|
+
name: 'ReportForkVoting';
|
|
10132
|
+
params: { equivocationProof: SpConsensusBeefyForkVotingProof; keyOwnerProof: SpSessionMembershipProof };
|
|
10133
|
+
};
|
|
10134
|
+
},
|
|
10135
|
+
ChainKnownTypes
|
|
10136
|
+
>
|
|
10137
|
+
>;
|
|
10138
|
+
|
|
10139
|
+
/**
|
|
10140
|
+
* Report fork voting equivocation. This method will verify the equivocation proof
|
|
10141
|
+
* and validate the given key ownership proof against the extracted offender.
|
|
10142
|
+
* If both are valid, the offence will be reported.
|
|
10143
|
+
*
|
|
10144
|
+
* This extrinsic must be called unsigned and it is expected that only
|
|
10145
|
+
* block authors will call it (validated in `ValidateUnsigned`), as such
|
|
10146
|
+
* if the block author is defined it will be defined as the equivocation
|
|
10147
|
+
* reporter.
|
|
10148
|
+
*
|
|
10149
|
+
* @param {SpConsensusBeefyForkVotingProof} equivocationProof
|
|
10150
|
+
* @param {SpSessionMembershipProof} keyOwnerProof
|
|
10151
|
+
**/
|
|
10152
|
+
reportForkVotingUnsigned: GenericTxCall<
|
|
10153
|
+
(
|
|
10154
|
+
equivocationProof: SpConsensusBeefyForkVotingProof,
|
|
10155
|
+
keyOwnerProof: SpSessionMembershipProof,
|
|
10156
|
+
) => ChainSubmittableExtrinsic<
|
|
10157
|
+
{
|
|
10158
|
+
pallet: 'Beefy';
|
|
10159
|
+
palletCall: {
|
|
10160
|
+
name: 'ReportForkVotingUnsigned';
|
|
10161
|
+
params: { equivocationProof: SpConsensusBeefyForkVotingProof; keyOwnerProof: SpSessionMembershipProof };
|
|
10162
|
+
};
|
|
10163
|
+
},
|
|
10164
|
+
ChainKnownTypes
|
|
10165
|
+
>
|
|
10166
|
+
>;
|
|
10167
|
+
|
|
10168
|
+
/**
|
|
10169
|
+
* Report future block voting equivocation. This method will verify the equivocation proof
|
|
10170
|
+
* and validate the given key ownership proof against the extracted offender.
|
|
10171
|
+
* If both are valid, the offence will be reported.
|
|
10172
|
+
*
|
|
10173
|
+
* @param {SpConsensusBeefyFutureBlockVotingProof} equivocationProof
|
|
10174
|
+
* @param {SpSessionMembershipProof} keyOwnerProof
|
|
10175
|
+
**/
|
|
10176
|
+
reportFutureBlockVoting: GenericTxCall<
|
|
10177
|
+
(
|
|
10178
|
+
equivocationProof: SpConsensusBeefyFutureBlockVotingProof,
|
|
10179
|
+
keyOwnerProof: SpSessionMembershipProof,
|
|
10180
|
+
) => ChainSubmittableExtrinsic<
|
|
10181
|
+
{
|
|
10182
|
+
pallet: 'Beefy';
|
|
10183
|
+
palletCall: {
|
|
10184
|
+
name: 'ReportFutureBlockVoting';
|
|
10185
|
+
params: {
|
|
10186
|
+
equivocationProof: SpConsensusBeefyFutureBlockVotingProof;
|
|
10187
|
+
keyOwnerProof: SpSessionMembershipProof;
|
|
10188
|
+
};
|
|
10189
|
+
};
|
|
10190
|
+
},
|
|
10191
|
+
ChainKnownTypes
|
|
10192
|
+
>
|
|
10193
|
+
>;
|
|
10194
|
+
|
|
10195
|
+
/**
|
|
10196
|
+
* Report future block voting equivocation. This method will verify the equivocation proof
|
|
10197
|
+
* and validate the given key ownership proof against the extracted offender.
|
|
10198
|
+
* If both are valid, the offence will be reported.
|
|
10199
|
+
*
|
|
10200
|
+
* This extrinsic must be called unsigned and it is expected that only
|
|
10201
|
+
* block authors will call it (validated in `ValidateUnsigned`), as such
|
|
10202
|
+
* if the block author is defined it will be defined as the equivocation
|
|
10203
|
+
* reporter.
|
|
10204
|
+
*
|
|
10205
|
+
* @param {SpConsensusBeefyFutureBlockVotingProof} equivocationProof
|
|
10206
|
+
* @param {SpSessionMembershipProof} keyOwnerProof
|
|
10207
|
+
**/
|
|
10208
|
+
reportFutureBlockVotingUnsigned: GenericTxCall<
|
|
10209
|
+
(
|
|
10210
|
+
equivocationProof: SpConsensusBeefyFutureBlockVotingProof,
|
|
10211
|
+
keyOwnerProof: SpSessionMembershipProof,
|
|
10212
|
+
) => ChainSubmittableExtrinsic<
|
|
10213
|
+
{
|
|
10214
|
+
pallet: 'Beefy';
|
|
10215
|
+
palletCall: {
|
|
10216
|
+
name: 'ReportFutureBlockVotingUnsigned';
|
|
10217
|
+
params: {
|
|
10218
|
+
equivocationProof: SpConsensusBeefyFutureBlockVotingProof;
|
|
10219
|
+
keyOwnerProof: SpSessionMembershipProof;
|
|
10220
|
+
};
|
|
10221
|
+
};
|
|
10222
|
+
},
|
|
10223
|
+
ChainKnownTypes
|
|
10224
|
+
>
|
|
10225
|
+
>;
|
|
10226
|
+
|
|
10227
|
+
/**
|
|
10228
|
+
* Generic pallet tx call
|
|
10229
|
+
**/
|
|
10230
|
+
[callName: string]: GenericTxCall<TxCall<ChainKnownTypes>>;
|
|
10231
|
+
};
|
|
10232
|
+
/**
|
|
10233
|
+
* Pallet `ParaSudoWrapper`'s transaction calls
|
|
10234
|
+
**/
|
|
10235
|
+
paraSudoWrapper: {
|
|
9591
10236
|
/**
|
|
9592
10237
|
* Schedule a para to be initialized at the start of the next session.
|
|
9593
10238
|
*
|
|
@@ -9845,6 +10490,353 @@ export interface ChainTx<
|
|
|
9845
10490
|
>
|
|
9846
10491
|
>;
|
|
9847
10492
|
|
|
10493
|
+
/**
|
|
10494
|
+
* Generic pallet tx call
|
|
10495
|
+
**/
|
|
10496
|
+
[callName: string]: GenericTxCall<TxCall<ChainKnownTypes>>;
|
|
10497
|
+
};
|
|
10498
|
+
/**
|
|
10499
|
+
* Pallet `RcMigrator`'s transaction calls
|
|
10500
|
+
**/
|
|
10501
|
+
rcMigrator: {
|
|
10502
|
+
/**
|
|
10503
|
+
* Set the migration stage.
|
|
10504
|
+
*
|
|
10505
|
+
* This call is intended for emergency use only and is guarded by the
|
|
10506
|
+
* [`Config::AdminOrigin`].
|
|
10507
|
+
*
|
|
10508
|
+
* @param {PalletRcMigratorMigrationStage} stage
|
|
10509
|
+
**/
|
|
10510
|
+
forceSetStage: GenericTxCall<
|
|
10511
|
+
(stage: PalletRcMigratorMigrationStage) => ChainSubmittableExtrinsic<
|
|
10512
|
+
{
|
|
10513
|
+
pallet: 'RcMigrator';
|
|
10514
|
+
palletCall: {
|
|
10515
|
+
name: 'ForceSetStage';
|
|
10516
|
+
params: { stage: PalletRcMigratorMigrationStage };
|
|
10517
|
+
};
|
|
10518
|
+
},
|
|
10519
|
+
ChainKnownTypes
|
|
10520
|
+
>
|
|
10521
|
+
>;
|
|
10522
|
+
|
|
10523
|
+
/**
|
|
10524
|
+
* Schedule the migration to start at a given moment.
|
|
10525
|
+
*
|
|
10526
|
+
* ### Parameters:
|
|
10527
|
+
* - `start`: The block number at which the migration will start. `DispatchTime` calculated
|
|
10528
|
+
* at the moment of the extrinsic execution.
|
|
10529
|
+
* - `warm_up`: Duration or timepoint that will be used to prepare for the migration. Calls
|
|
10530
|
+
* are filtered during this period. It is intended to give enough time for UMP and DMP
|
|
10531
|
+
* queues to empty. `DispatchTime` calculated at the moment of the transition to the
|
|
10532
|
+
* warm-up stage.
|
|
10533
|
+
* - `cool_off`: The block number at which the post migration cool-off period will end. The
|
|
10534
|
+
* `DispatchTime` calculated at the moment of the transition to the cool-off stage.
|
|
10535
|
+
* - `unsafe_ignore_staking_lock_check`: ONLY FOR TESTING. Ignore the check whether the
|
|
10536
|
+
* scheduled time point is far enough in the future.
|
|
10537
|
+
*
|
|
10538
|
+
* Note: If the staking election for next era is already complete, and the next
|
|
10539
|
+
* validator set is queued in `pallet-session`, we want to avoid starting the data
|
|
10540
|
+
* migration at this point as it can lead to some missed validator rewards. To address
|
|
10541
|
+
* this, we stop staking election at the start of migration and must wait atleast 1
|
|
10542
|
+
* session (set via warm_up) before starting the data migration.
|
|
10543
|
+
*
|
|
10544
|
+
* Read [`MigrationStage::Scheduled`] documentation for more details.
|
|
10545
|
+
*
|
|
10546
|
+
* @param {FrameSupportScheduleDispatchTime} start
|
|
10547
|
+
* @param {FrameSupportScheduleDispatchTime} warmUp
|
|
10548
|
+
* @param {FrameSupportScheduleDispatchTime} coolOff
|
|
10549
|
+
* @param {boolean} unsafeIgnoreStakingLockCheck
|
|
10550
|
+
**/
|
|
10551
|
+
scheduleMigration: GenericTxCall<
|
|
10552
|
+
(
|
|
10553
|
+
start: FrameSupportScheduleDispatchTime,
|
|
10554
|
+
warmUp: FrameSupportScheduleDispatchTime,
|
|
10555
|
+
coolOff: FrameSupportScheduleDispatchTime,
|
|
10556
|
+
unsafeIgnoreStakingLockCheck: boolean,
|
|
10557
|
+
) => ChainSubmittableExtrinsic<
|
|
10558
|
+
{
|
|
10559
|
+
pallet: 'RcMigrator';
|
|
10560
|
+
palletCall: {
|
|
10561
|
+
name: 'ScheduleMigration';
|
|
10562
|
+
params: {
|
|
10563
|
+
start: FrameSupportScheduleDispatchTime;
|
|
10564
|
+
warmUp: FrameSupportScheduleDispatchTime;
|
|
10565
|
+
coolOff: FrameSupportScheduleDispatchTime;
|
|
10566
|
+
unsafeIgnoreStakingLockCheck: boolean;
|
|
10567
|
+
};
|
|
10568
|
+
};
|
|
10569
|
+
},
|
|
10570
|
+
ChainKnownTypes
|
|
10571
|
+
>
|
|
10572
|
+
>;
|
|
10573
|
+
|
|
10574
|
+
/**
|
|
10575
|
+
* Start the data migration.
|
|
10576
|
+
*
|
|
10577
|
+
* This is typically called by the Asset Hub to indicate it's readiness to receive the
|
|
10578
|
+
* migration data.
|
|
10579
|
+
*
|
|
10580
|
+
**/
|
|
10581
|
+
startDataMigration: GenericTxCall<
|
|
10582
|
+
() => ChainSubmittableExtrinsic<
|
|
10583
|
+
{
|
|
10584
|
+
pallet: 'RcMigrator';
|
|
10585
|
+
palletCall: {
|
|
10586
|
+
name: 'StartDataMigration';
|
|
10587
|
+
};
|
|
10588
|
+
},
|
|
10589
|
+
ChainKnownTypes
|
|
10590
|
+
>
|
|
10591
|
+
>;
|
|
10592
|
+
|
|
10593
|
+
/**
|
|
10594
|
+
* Receive a query response from the Asset Hub for a previously sent xcm message.
|
|
10595
|
+
*
|
|
10596
|
+
* @param {bigint} queryId
|
|
10597
|
+
* @param {StagingXcmV5Response} response
|
|
10598
|
+
**/
|
|
10599
|
+
receiveQueryResponse: GenericTxCall<
|
|
10600
|
+
(
|
|
10601
|
+
queryId: bigint,
|
|
10602
|
+
response: StagingXcmV5Response,
|
|
10603
|
+
) => ChainSubmittableExtrinsic<
|
|
10604
|
+
{
|
|
10605
|
+
pallet: 'RcMigrator';
|
|
10606
|
+
palletCall: {
|
|
10607
|
+
name: 'ReceiveQueryResponse';
|
|
10608
|
+
params: { queryId: bigint; response: StagingXcmV5Response };
|
|
10609
|
+
};
|
|
10610
|
+
},
|
|
10611
|
+
ChainKnownTypes
|
|
10612
|
+
>
|
|
10613
|
+
>;
|
|
10614
|
+
|
|
10615
|
+
/**
|
|
10616
|
+
* Resend a previously sent and unconfirmed XCM message.
|
|
10617
|
+
*
|
|
10618
|
+
* @param {bigint} queryId
|
|
10619
|
+
**/
|
|
10620
|
+
resendXcm: GenericTxCall<
|
|
10621
|
+
(queryId: bigint) => ChainSubmittableExtrinsic<
|
|
10622
|
+
{
|
|
10623
|
+
pallet: 'RcMigrator';
|
|
10624
|
+
palletCall: {
|
|
10625
|
+
name: 'ResendXcm';
|
|
10626
|
+
params: { queryId: bigint };
|
|
10627
|
+
};
|
|
10628
|
+
},
|
|
10629
|
+
ChainKnownTypes
|
|
10630
|
+
>
|
|
10631
|
+
>;
|
|
10632
|
+
|
|
10633
|
+
/**
|
|
10634
|
+
* Set the unprocessed message buffer size.
|
|
10635
|
+
*
|
|
10636
|
+
* `None` means to use the configuration value.
|
|
10637
|
+
*
|
|
10638
|
+
* @param {number | undefined} new_
|
|
10639
|
+
**/
|
|
10640
|
+
setUnprocessedMsgBuffer: GenericTxCall<
|
|
10641
|
+
(new_: number | undefined) => ChainSubmittableExtrinsic<
|
|
10642
|
+
{
|
|
10643
|
+
pallet: 'RcMigrator';
|
|
10644
|
+
palletCall: {
|
|
10645
|
+
name: 'SetUnprocessedMsgBuffer';
|
|
10646
|
+
params: { new: number | undefined };
|
|
10647
|
+
};
|
|
10648
|
+
},
|
|
10649
|
+
ChainKnownTypes
|
|
10650
|
+
>
|
|
10651
|
+
>;
|
|
10652
|
+
|
|
10653
|
+
/**
|
|
10654
|
+
* Set the AH UMP queue priority configuration.
|
|
10655
|
+
*
|
|
10656
|
+
* Can only be called by the `AdminOrigin`.
|
|
10657
|
+
*
|
|
10658
|
+
* @param {PalletRcMigratorQueuePriority} new_
|
|
10659
|
+
**/
|
|
10660
|
+
setAhUmpQueuePriority: GenericTxCall<
|
|
10661
|
+
(new_: PalletRcMigratorQueuePriority) => ChainSubmittableExtrinsic<
|
|
10662
|
+
{
|
|
10663
|
+
pallet: 'RcMigrator';
|
|
10664
|
+
palletCall: {
|
|
10665
|
+
name: 'SetAhUmpQueuePriority';
|
|
10666
|
+
params: { new: PalletRcMigratorQueuePriority };
|
|
10667
|
+
};
|
|
10668
|
+
},
|
|
10669
|
+
ChainKnownTypes
|
|
10670
|
+
>
|
|
10671
|
+
>;
|
|
10672
|
+
|
|
10673
|
+
/**
|
|
10674
|
+
* Set the manager account id.
|
|
10675
|
+
*
|
|
10676
|
+
* The manager has the similar to [`Config::AdminOrigin`] privileges except that it
|
|
10677
|
+
* can not set the manager account id via `set_manager` call.
|
|
10678
|
+
*
|
|
10679
|
+
* @param {AccountId32Like | undefined} new_
|
|
10680
|
+
**/
|
|
10681
|
+
setManager: GenericTxCall<
|
|
10682
|
+
(new_: AccountId32Like | undefined) => ChainSubmittableExtrinsic<
|
|
10683
|
+
{
|
|
10684
|
+
pallet: 'RcMigrator';
|
|
10685
|
+
palletCall: {
|
|
10686
|
+
name: 'SetManager';
|
|
10687
|
+
params: { new: AccountId32Like | undefined };
|
|
10688
|
+
};
|
|
10689
|
+
},
|
|
10690
|
+
ChainKnownTypes
|
|
10691
|
+
>
|
|
10692
|
+
>;
|
|
10693
|
+
|
|
10694
|
+
/**
|
|
10695
|
+
* XCM send call identical to the [`pallet_xcm::Pallet::send`] call but with the
|
|
10696
|
+
* [Config::SendXcm] router which will be able to send messages to the Asset Hub during
|
|
10697
|
+
* the migration.
|
|
10698
|
+
*
|
|
10699
|
+
* @param {XcmVersionedLocation} dest
|
|
10700
|
+
* @param {XcmVersionedXcm} message
|
|
10701
|
+
**/
|
|
10702
|
+
sendXcmMessage: GenericTxCall<
|
|
10703
|
+
(
|
|
10704
|
+
dest: XcmVersionedLocation,
|
|
10705
|
+
message: XcmVersionedXcm,
|
|
10706
|
+
) => ChainSubmittableExtrinsic<
|
|
10707
|
+
{
|
|
10708
|
+
pallet: 'RcMigrator';
|
|
10709
|
+
palletCall: {
|
|
10710
|
+
name: 'SendXcmMessage';
|
|
10711
|
+
params: { dest: XcmVersionedLocation; message: XcmVersionedXcm };
|
|
10712
|
+
};
|
|
10713
|
+
},
|
|
10714
|
+
ChainKnownTypes
|
|
10715
|
+
>
|
|
10716
|
+
>;
|
|
10717
|
+
|
|
10718
|
+
/**
|
|
10719
|
+
* Set the accounts to be preserved on Relay Chain during the migration.
|
|
10720
|
+
*
|
|
10721
|
+
* The accounts must have no consumers references.
|
|
10722
|
+
*
|
|
10723
|
+
* @param {Array<AccountId32Like>} accounts
|
|
10724
|
+
**/
|
|
10725
|
+
preserveAccounts: GenericTxCall<
|
|
10726
|
+
(accounts: Array<AccountId32Like>) => ChainSubmittableExtrinsic<
|
|
10727
|
+
{
|
|
10728
|
+
pallet: 'RcMigrator';
|
|
10729
|
+
palletCall: {
|
|
10730
|
+
name: 'PreserveAccounts';
|
|
10731
|
+
params: { accounts: Array<AccountId32Like> };
|
|
10732
|
+
};
|
|
10733
|
+
},
|
|
10734
|
+
ChainKnownTypes
|
|
10735
|
+
>
|
|
10736
|
+
>;
|
|
10737
|
+
|
|
10738
|
+
/**
|
|
10739
|
+
* Set the canceller account id.
|
|
10740
|
+
*
|
|
10741
|
+
* The canceller can only stop scheduled migration.
|
|
10742
|
+
*
|
|
10743
|
+
* @param {AccountId32Like | undefined} new_
|
|
10744
|
+
**/
|
|
10745
|
+
setCanceller: GenericTxCall<
|
|
10746
|
+
(new_: AccountId32Like | undefined) => ChainSubmittableExtrinsic<
|
|
10747
|
+
{
|
|
10748
|
+
pallet: 'RcMigrator';
|
|
10749
|
+
palletCall: {
|
|
10750
|
+
name: 'SetCanceller';
|
|
10751
|
+
params: { new: AccountId32Like | undefined };
|
|
10752
|
+
};
|
|
10753
|
+
},
|
|
10754
|
+
ChainKnownTypes
|
|
10755
|
+
>
|
|
10756
|
+
>;
|
|
10757
|
+
|
|
10758
|
+
/**
|
|
10759
|
+
* Pause the migration.
|
|
10760
|
+
*
|
|
10761
|
+
**/
|
|
10762
|
+
pauseMigration: GenericTxCall<
|
|
10763
|
+
() => ChainSubmittableExtrinsic<
|
|
10764
|
+
{
|
|
10765
|
+
pallet: 'RcMigrator';
|
|
10766
|
+
palletCall: {
|
|
10767
|
+
name: 'PauseMigration';
|
|
10768
|
+
};
|
|
10769
|
+
},
|
|
10770
|
+
ChainKnownTypes
|
|
10771
|
+
>
|
|
10772
|
+
>;
|
|
10773
|
+
|
|
10774
|
+
/**
|
|
10775
|
+
* Cancel the migration.
|
|
10776
|
+
*
|
|
10777
|
+
* Migration can only be cancelled if it is in the [`MigrationStage::Scheduled`] state.
|
|
10778
|
+
*
|
|
10779
|
+
**/
|
|
10780
|
+
cancelMigration: GenericTxCall<
|
|
10781
|
+
() => ChainSubmittableExtrinsic<
|
|
10782
|
+
{
|
|
10783
|
+
pallet: 'RcMigrator';
|
|
10784
|
+
palletCall: {
|
|
10785
|
+
name: 'CancelMigration';
|
|
10786
|
+
};
|
|
10787
|
+
},
|
|
10788
|
+
ChainKnownTypes
|
|
10789
|
+
>
|
|
10790
|
+
>;
|
|
10791
|
+
|
|
10792
|
+
/**
|
|
10793
|
+
* Vote on behalf of any of the members in `MultisigMembers`.
|
|
10794
|
+
*
|
|
10795
|
+
* Unsigned extrinsic, requiring the `payload` to be signed.
|
|
10796
|
+
*
|
|
10797
|
+
* Upon each call, a new entry is created in `ManagerMultisigs` map the `payload.call` to
|
|
10798
|
+
* be dispatched. Once `MultisigThreshold` is reached, the entire map is deleted, and we
|
|
10799
|
+
* move on to the next round.
|
|
10800
|
+
*
|
|
10801
|
+
* The round system ensures that signatures from older round cannot be reused.
|
|
10802
|
+
*
|
|
10803
|
+
* @param {PalletRcMigratorManagerMultisigVote} payload
|
|
10804
|
+
* @param {SpRuntimeMultiSignature} sig
|
|
10805
|
+
**/
|
|
10806
|
+
voteManagerMultisig: GenericTxCall<
|
|
10807
|
+
(
|
|
10808
|
+
payload: PalletRcMigratorManagerMultisigVote,
|
|
10809
|
+
sig: SpRuntimeMultiSignature,
|
|
10810
|
+
) => ChainSubmittableExtrinsic<
|
|
10811
|
+
{
|
|
10812
|
+
pallet: 'RcMigrator';
|
|
10813
|
+
palletCall: {
|
|
10814
|
+
name: 'VoteManagerMultisig';
|
|
10815
|
+
params: { payload: PalletRcMigratorManagerMultisigVote; sig: SpRuntimeMultiSignature };
|
|
10816
|
+
};
|
|
10817
|
+
},
|
|
10818
|
+
ChainKnownTypes
|
|
10819
|
+
>
|
|
10820
|
+
>;
|
|
10821
|
+
|
|
10822
|
+
/**
|
|
10823
|
+
* Set the migration settings. Can only be done by admin or manager.
|
|
10824
|
+
*
|
|
10825
|
+
* @param {PalletRcMigratorMigrationSettings | undefined} settings
|
|
10826
|
+
**/
|
|
10827
|
+
setSettings: GenericTxCall<
|
|
10828
|
+
(settings: PalletRcMigratorMigrationSettings | undefined) => ChainSubmittableExtrinsic<
|
|
10829
|
+
{
|
|
10830
|
+
pallet: 'RcMigrator';
|
|
10831
|
+
palletCall: {
|
|
10832
|
+
name: 'SetSettings';
|
|
10833
|
+
params: { settings: PalletRcMigratorMigrationSettings | undefined };
|
|
10834
|
+
};
|
|
10835
|
+
},
|
|
10836
|
+
ChainKnownTypes
|
|
10837
|
+
>
|
|
10838
|
+
>;
|
|
10839
|
+
|
|
9848
10840
|
/**
|
|
9849
10841
|
* Generic pallet tx call
|
|
9850
10842
|
**/
|