@dedot/chaintypes 0.229.0 → 0.230.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 +9 -106
- package/paseo/errors.d.ts +42 -294
- package/paseo/events.d.ts +50 -753
- package/paseo/index.d.ts +1 -1
- package/paseo/query.d.ts +93 -556
- package/paseo/runtime.d.ts +71 -212
- package/paseo/tx.d.ts +138 -1161
- package/paseo/types.d.ts +8191 -10274
- package/paseo/view-functions.d.ts +1 -75
package/paseo/tx.d.ts
CHANGED
|
@@ -48,7 +48,7 @@ import type {
|
|
|
48
48
|
PolkadotRuntimeCommonClaimsEcdsaSignature,
|
|
49
49
|
PolkadotRuntimeCommonClaimsStatementKind,
|
|
50
50
|
PalletVestingVestingInfo,
|
|
51
|
-
|
|
51
|
+
PaseoRuntimeProxyType,
|
|
52
52
|
PalletMultisigTimepoint,
|
|
53
53
|
PalletElectionProviderMultiPhaseRawSolution,
|
|
54
54
|
PalletElectionProviderMultiPhaseSolutionOrSnapshotSize,
|
|
@@ -59,25 +59,23 @@ import type {
|
|
|
59
59
|
PalletNominationPoolsConfigOp,
|
|
60
60
|
PalletNominationPoolsConfigOpU32,
|
|
61
61
|
PalletNominationPoolsConfigOpPerbill,
|
|
62
|
-
|
|
62
|
+
PalletNominationPoolsConfigOp004,
|
|
63
63
|
PalletNominationPoolsClaimPermission,
|
|
64
64
|
PalletNominationPoolsCommissionChangeRate,
|
|
65
65
|
PalletNominationPoolsCommissionClaimPermission,
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
PolkadotPrimitivesV8SchedulerParams,
|
|
72
|
-
PolkadotPrimitivesVstagingInherentData,
|
|
66
|
+
PolkadotPrimitivesV7AsyncBackingAsyncBackingParams,
|
|
67
|
+
PolkadotPrimitivesV7ExecutorParams,
|
|
68
|
+
PolkadotPrimitivesV7ApprovalVotingParams,
|
|
69
|
+
PolkadotPrimitivesVstagingSchedulerParams,
|
|
70
|
+
PolkadotPrimitivesV7InherentData,
|
|
73
71
|
PolkadotParachainPrimitivesPrimitivesId,
|
|
74
72
|
PolkadotParachainPrimitivesPrimitivesValidationCode,
|
|
75
73
|
PolkadotParachainPrimitivesPrimitivesHeadData,
|
|
76
74
|
PolkadotParachainPrimitivesPrimitivesValidationCodeHash,
|
|
77
|
-
|
|
78
|
-
|
|
75
|
+
PolkadotPrimitivesV7PvfCheckStatement,
|
|
76
|
+
PolkadotPrimitivesV7ValidatorAppSignature,
|
|
79
77
|
PolkadotParachainPrimitivesPrimitivesHrmpChannelId,
|
|
80
|
-
|
|
78
|
+
PolkadotPrimitivesV7SlashingDisputeProof,
|
|
81
79
|
SpRuntimeMultiSigner,
|
|
82
80
|
PalletBrokerCoretimeInterfaceCoreAssignment,
|
|
83
81
|
PolkadotRuntimeParachainsAssignerCoretimePartsOf57600,
|
|
@@ -86,20 +84,13 @@ import type {
|
|
|
86
84
|
PalletStateTrieMigrationProgress,
|
|
87
85
|
XcmVersionedXcm,
|
|
88
86
|
XcmVersionedAssets,
|
|
89
|
-
|
|
87
|
+
StagingXcmV4Location,
|
|
90
88
|
XcmV3WeightLimit,
|
|
91
89
|
StagingXcmExecutorAssetTransferTransferType,
|
|
92
90
|
XcmVersionedAssetId,
|
|
93
91
|
PolkadotRuntimeParachainsInclusionAggregateMessageOrigin,
|
|
94
92
|
SpConsensusBeefyDoubleVotingProof,
|
|
95
|
-
SpConsensusBeefyForkVotingProof,
|
|
96
|
-
SpConsensusBeefyFutureBlockVotingProof,
|
|
97
93
|
PolkadotRuntimeParachainsParasParaGenesisArgs,
|
|
98
|
-
PalletRcMigratorMigrationStage,
|
|
99
|
-
StagingXcmV5Response,
|
|
100
|
-
PalletRcMigratorQueuePriority,
|
|
101
|
-
PalletRcMigratorManagerMultisigVote,
|
|
102
|
-
PalletRcMigratorMigrationSettings,
|
|
103
94
|
} from './types.js';
|
|
104
95
|
|
|
105
96
|
export type ChainSubmittableExtrinsic<
|
|
@@ -727,7 +718,7 @@ export interface ChainTx<
|
|
|
727
718
|
>;
|
|
728
719
|
|
|
729
720
|
/**
|
|
730
|
-
* Ensure that the bulk of pre-images is upgraded.
|
|
721
|
+
* Ensure that the a bulk of pre-images is upgraded.
|
|
731
722
|
*
|
|
732
723
|
* The caller pays no fee if at least 90% of pre-images were successfully updated.
|
|
733
724
|
*
|
|
@@ -1040,33 +1031,6 @@ export interface ChainTx<
|
|
|
1040
1031
|
>
|
|
1041
1032
|
>;
|
|
1042
1033
|
|
|
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
|
-
|
|
1070
1034
|
/**
|
|
1071
1035
|
* Generic pallet tx call
|
|
1072
1036
|
**/
|
|
@@ -1399,9 +1363,7 @@ export interface ChainTx<
|
|
|
1399
1363
|
/**
|
|
1400
1364
|
* Schedule a portion of the stash to be unlocked ready for transfer out after the bond
|
|
1401
1365
|
* period ends. If this leaves an amount actively bonded less than
|
|
1402
|
-
*
|
|
1403
|
-
*
|
|
1404
|
-
* The stash may be chilled if the ledger total amount falls to 0 after unbonding.
|
|
1366
|
+
* T::Currency::minimum_balance(), then it is increased to the full amount.
|
|
1405
1367
|
*
|
|
1406
1368
|
* The dispatch origin for this call must be _Signed_ by the controller, not the stash.
|
|
1407
1369
|
*
|
|
@@ -1813,7 +1775,6 @@ export interface ChainTx<
|
|
|
1813
1775
|
* Can be called by the `T::AdminOrigin`.
|
|
1814
1776
|
*
|
|
1815
1777
|
* Parameters: era and indices of the slashes for that era to kill.
|
|
1816
|
-
* They **must** be sorted in ascending order, *and* unique.
|
|
1817
1778
|
*
|
|
1818
1779
|
* @param {number} era
|
|
1819
1780
|
* @param {Array<number>} slashIndices
|
|
@@ -2227,74 +2188,6 @@ export interface ChainTx<
|
|
|
2227
2188
|
>
|
|
2228
2189
|
>;
|
|
2229
2190
|
|
|
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
|
-
|
|
2298
2191
|
/**
|
|
2299
2192
|
* Generic pallet tx call
|
|
2300
2193
|
**/
|
|
@@ -2621,8 +2514,6 @@ export interface ChainTx<
|
|
|
2621
2514
|
* Emits [`Event::Paid`] if successful.
|
|
2622
2515
|
*
|
|
2623
2516
|
* @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.
|
|
2626
2517
|
**/
|
|
2627
2518
|
payout: GenericTxCall<
|
|
2628
2519
|
(index: number) => ChainSubmittableExtrinsic<
|
|
@@ -2659,8 +2550,6 @@ export interface ChainTx<
|
|
|
2659
2550
|
* Emits [`Event::SpendProcessed`] if the spend payout has succeed.
|
|
2660
2551
|
*
|
|
2661
2552
|
* @param {number} index
|
|
2662
|
-
*
|
|
2663
|
-
* @deprecated The `remove_approval` call will be removed by May 2025. It associated with the deprecated `spend_local` call.
|
|
2664
2553
|
**/
|
|
2665
2554
|
checkStatus: GenericTxCall<
|
|
2666
2555
|
(index: number) => ChainSubmittableExtrinsic<
|
|
@@ -3429,7 +3318,7 @@ export interface ChainTx<
|
|
|
3429
3318
|
* Attest to a statement, needed to finalize the claims process.
|
|
3430
3319
|
*
|
|
3431
3320
|
* WARNING: Insecure unless your chain includes `PrevalidateAttests` as a
|
|
3432
|
-
* `
|
|
3321
|
+
* `SignedExtension`.
|
|
3433
3322
|
*
|
|
3434
3323
|
* Unsigned Validation:
|
|
3435
3324
|
* A call to attest is deemed valid if the sender has a `Preclaim` registered
|
|
@@ -3877,76 +3766,6 @@ export interface ChainTx<
|
|
|
3877
3766
|
>
|
|
3878
3767
|
>;
|
|
3879
3768
|
|
|
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
|
-
|
|
3950
3769
|
/**
|
|
3951
3770
|
* Generic pallet tx call
|
|
3952
3771
|
**/
|
|
@@ -3968,13 +3787,13 @@ export interface ChainTx<
|
|
|
3968
3787
|
* - `call`: The call to be made by the `real` account.
|
|
3969
3788
|
*
|
|
3970
3789
|
* @param {MultiAddressLike} real
|
|
3971
|
-
* @param {
|
|
3790
|
+
* @param {PaseoRuntimeProxyType | undefined} forceProxyType
|
|
3972
3791
|
* @param {PaseoRuntimeRuntimeCallLike} call
|
|
3973
3792
|
**/
|
|
3974
3793
|
proxy: GenericTxCall<
|
|
3975
3794
|
(
|
|
3976
3795
|
real: MultiAddressLike,
|
|
3977
|
-
forceProxyType:
|
|
3796
|
+
forceProxyType: PaseoRuntimeProxyType | undefined,
|
|
3978
3797
|
call: PaseoRuntimeRuntimeCallLike,
|
|
3979
3798
|
) => ChainSubmittableExtrinsic<
|
|
3980
3799
|
{
|
|
@@ -3983,7 +3802,7 @@ export interface ChainTx<
|
|
|
3983
3802
|
name: 'Proxy';
|
|
3984
3803
|
params: {
|
|
3985
3804
|
real: MultiAddressLike;
|
|
3986
|
-
forceProxyType:
|
|
3805
|
+
forceProxyType: PaseoRuntimeProxyType | undefined;
|
|
3987
3806
|
call: PaseoRuntimeRuntimeCallLike;
|
|
3988
3807
|
};
|
|
3989
3808
|
};
|
|
@@ -4004,20 +3823,20 @@ export interface ChainTx<
|
|
|
4004
3823
|
* zero.
|
|
4005
3824
|
*
|
|
4006
3825
|
* @param {MultiAddressLike} delegate
|
|
4007
|
-
* @param {
|
|
3826
|
+
* @param {PaseoRuntimeProxyType} proxyType
|
|
4008
3827
|
* @param {number} delay
|
|
4009
3828
|
**/
|
|
4010
3829
|
addProxy: GenericTxCall<
|
|
4011
3830
|
(
|
|
4012
3831
|
delegate: MultiAddressLike,
|
|
4013
|
-
proxyType:
|
|
3832
|
+
proxyType: PaseoRuntimeProxyType,
|
|
4014
3833
|
delay: number,
|
|
4015
3834
|
) => ChainSubmittableExtrinsic<
|
|
4016
3835
|
{
|
|
4017
3836
|
pallet: 'Proxy';
|
|
4018
3837
|
palletCall: {
|
|
4019
3838
|
name: 'AddProxy';
|
|
4020
|
-
params: { delegate: MultiAddressLike; proxyType:
|
|
3839
|
+
params: { delegate: MultiAddressLike; proxyType: PaseoRuntimeProxyType; delay: number };
|
|
4021
3840
|
};
|
|
4022
3841
|
},
|
|
4023
3842
|
ChainKnownTypes
|
|
@@ -4034,20 +3853,20 @@ export interface ChainTx<
|
|
|
4034
3853
|
* - `proxy_type`: The permissions currently enabled for the removed proxy account.
|
|
4035
3854
|
*
|
|
4036
3855
|
* @param {MultiAddressLike} delegate
|
|
4037
|
-
* @param {
|
|
3856
|
+
* @param {PaseoRuntimeProxyType} proxyType
|
|
4038
3857
|
* @param {number} delay
|
|
4039
3858
|
**/
|
|
4040
3859
|
removeProxy: GenericTxCall<
|
|
4041
3860
|
(
|
|
4042
3861
|
delegate: MultiAddressLike,
|
|
4043
|
-
proxyType:
|
|
3862
|
+
proxyType: PaseoRuntimeProxyType,
|
|
4044
3863
|
delay: number,
|
|
4045
3864
|
) => ChainSubmittableExtrinsic<
|
|
4046
3865
|
{
|
|
4047
3866
|
pallet: 'Proxy';
|
|
4048
3867
|
palletCall: {
|
|
4049
3868
|
name: 'RemoveProxy';
|
|
4050
|
-
params: { delegate: MultiAddressLike; proxyType:
|
|
3869
|
+
params: { delegate: MultiAddressLike; proxyType: PaseoRuntimeProxyType; delay: number };
|
|
4051
3870
|
};
|
|
4052
3871
|
},
|
|
4053
3872
|
ChainKnownTypes
|
|
@@ -4059,7 +3878,7 @@ export interface ChainTx<
|
|
|
4059
3878
|
*
|
|
4060
3879
|
* The dispatch origin for this call must be _Signed_.
|
|
4061
3880
|
*
|
|
4062
|
-
* WARNING: This may be called on accounts created by `
|
|
3881
|
+
* WARNING: This may be called on accounts created by `pure`, however if done, then
|
|
4063
3882
|
* the unreserved fees will be inaccessible. **All access to this account will be lost.**
|
|
4064
3883
|
*
|
|
4065
3884
|
**/
|
|
@@ -4095,13 +3914,13 @@ export interface ChainTx<
|
|
|
4095
3914
|
*
|
|
4096
3915
|
* Fails if there are insufficient funds to pay for deposit.
|
|
4097
3916
|
*
|
|
4098
|
-
* @param {
|
|
3917
|
+
* @param {PaseoRuntimeProxyType} proxyType
|
|
4099
3918
|
* @param {number} delay
|
|
4100
3919
|
* @param {number} index
|
|
4101
3920
|
**/
|
|
4102
3921
|
createPure: GenericTxCall<
|
|
4103
3922
|
(
|
|
4104
|
-
proxyType:
|
|
3923
|
+
proxyType: PaseoRuntimeProxyType,
|
|
4105
3924
|
delay: number,
|
|
4106
3925
|
index: number,
|
|
4107
3926
|
) => ChainSubmittableExtrinsic<
|
|
@@ -4109,7 +3928,7 @@ export interface ChainTx<
|
|
|
4109
3928
|
pallet: 'Proxy';
|
|
4110
3929
|
palletCall: {
|
|
4111
3930
|
name: 'CreatePure';
|
|
4112
|
-
params: { proxyType:
|
|
3931
|
+
params: { proxyType: PaseoRuntimeProxyType; delay: number; index: number };
|
|
4113
3932
|
};
|
|
4114
3933
|
},
|
|
4115
3934
|
ChainKnownTypes
|
|
@@ -4123,19 +3942,19 @@ export interface ChainTx<
|
|
|
4123
3942
|
* inaccessible.
|
|
4124
3943
|
*
|
|
4125
3944
|
* Requires a `Signed` origin, and the sender account must have been created by a call to
|
|
4126
|
-
* `
|
|
3945
|
+
* `pure` with corresponding parameters.
|
|
4127
3946
|
*
|
|
4128
|
-
* - `spawner`: The account that originally called `
|
|
4129
|
-
* - `index`: The disambiguation index originally passed to `
|
|
4130
|
-
* - `proxy_type`: The proxy type originally passed to `
|
|
4131
|
-
* - `height`: The height of the chain when the call to `
|
|
4132
|
-
* - `ext_index`: The extrinsic index in which the call to `
|
|
3947
|
+
* - `spawner`: The account that originally called `pure` to create this account.
|
|
3948
|
+
* - `index`: The disambiguation index originally passed to `pure`. Probably `0`.
|
|
3949
|
+
* - `proxy_type`: The proxy type originally passed to `pure`.
|
|
3950
|
+
* - `height`: The height of the chain when the call to `pure` was processed.
|
|
3951
|
+
* - `ext_index`: The extrinsic index in which the call to `pure` was processed.
|
|
4133
3952
|
*
|
|
4134
3953
|
* Fails with `NoPermission` in case the caller is not a previously created pure
|
|
4135
|
-
* account whose `
|
|
3954
|
+
* account whose `pure` call has corresponding parameters.
|
|
4136
3955
|
*
|
|
4137
3956
|
* @param {MultiAddressLike} spawner
|
|
4138
|
-
* @param {
|
|
3957
|
+
* @param {PaseoRuntimeProxyType} proxyType
|
|
4139
3958
|
* @param {number} index
|
|
4140
3959
|
* @param {number} height
|
|
4141
3960
|
* @param {number} extIndex
|
|
@@ -4143,7 +3962,7 @@ export interface ChainTx<
|
|
|
4143
3962
|
killPure: GenericTxCall<
|
|
4144
3963
|
(
|
|
4145
3964
|
spawner: MultiAddressLike,
|
|
4146
|
-
proxyType:
|
|
3965
|
+
proxyType: PaseoRuntimeProxyType,
|
|
4147
3966
|
index: number,
|
|
4148
3967
|
height: number,
|
|
4149
3968
|
extIndex: number,
|
|
@@ -4154,7 +3973,7 @@ export interface ChainTx<
|
|
|
4154
3973
|
name: 'KillPure';
|
|
4155
3974
|
params: {
|
|
4156
3975
|
spawner: MultiAddressLike;
|
|
4157
|
-
proxyType:
|
|
3976
|
+
proxyType: PaseoRuntimeProxyType;
|
|
4158
3977
|
index: number;
|
|
4159
3978
|
height: number;
|
|
4160
3979
|
extIndex: number;
|
|
@@ -4278,14 +4097,14 @@ export interface ChainTx<
|
|
|
4278
4097
|
*
|
|
4279
4098
|
* @param {MultiAddressLike} delegate
|
|
4280
4099
|
* @param {MultiAddressLike} real
|
|
4281
|
-
* @param {
|
|
4100
|
+
* @param {PaseoRuntimeProxyType | undefined} forceProxyType
|
|
4282
4101
|
* @param {PaseoRuntimeRuntimeCallLike} call
|
|
4283
4102
|
**/
|
|
4284
4103
|
proxyAnnounced: GenericTxCall<
|
|
4285
4104
|
(
|
|
4286
4105
|
delegate: MultiAddressLike,
|
|
4287
4106
|
real: MultiAddressLike,
|
|
4288
|
-
forceProxyType:
|
|
4107
|
+
forceProxyType: PaseoRuntimeProxyType | undefined,
|
|
4289
4108
|
call: PaseoRuntimeRuntimeCallLike,
|
|
4290
4109
|
) => ChainSubmittableExtrinsic<
|
|
4291
4110
|
{
|
|
@@ -4295,7 +4114,7 @@ export interface ChainTx<
|
|
|
4295
4114
|
params: {
|
|
4296
4115
|
delegate: MultiAddressLike;
|
|
4297
4116
|
real: MultiAddressLike;
|
|
4298
|
-
forceProxyType:
|
|
4117
|
+
forceProxyType: PaseoRuntimeProxyType | undefined;
|
|
4299
4118
|
call: PaseoRuntimeRuntimeCallLike;
|
|
4300
4119
|
};
|
|
4301
4120
|
};
|
|
@@ -4304,29 +4123,6 @@ export interface ChainTx<
|
|
|
4304
4123
|
>
|
|
4305
4124
|
>;
|
|
4306
4125
|
|
|
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
|
-
|
|
4330
4126
|
/**
|
|
4331
4127
|
* Generic pallet tx call
|
|
4332
4128
|
**/
|
|
@@ -4555,42 +4351,6 @@ export interface ChainTx<
|
|
|
4555
4351
|
>
|
|
4556
4352
|
>;
|
|
4557
4353
|
|
|
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
|
-
|
|
4594
4354
|
/**
|
|
4595
4355
|
* Generic pallet tx call
|
|
4596
4356
|
**/
|
|
@@ -4856,72 +4616,6 @@ export interface ChainTx<
|
|
|
4856
4616
|
>
|
|
4857
4617
|
>;
|
|
4858
4618
|
|
|
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
|
-
|
|
4925
4619
|
/**
|
|
4926
4620
|
* Generic pallet tx call
|
|
4927
4621
|
**/
|
|
@@ -5354,13 +5048,19 @@ export interface ChainTx<
|
|
|
5354
5048
|
* This can only be called when [`Phase::Emergency`] is enabled, as an alternative to
|
|
5355
5049
|
* calling [`Call::set_emergency_election_result`].
|
|
5356
5050
|
*
|
|
5051
|
+
* @param {number | undefined} maybeMaxVoters
|
|
5052
|
+
* @param {number | undefined} maybeMaxTargets
|
|
5357
5053
|
**/
|
|
5358
5054
|
governanceFallback: GenericTxCall<
|
|
5359
|
-
(
|
|
5055
|
+
(
|
|
5056
|
+
maybeMaxVoters: number | undefined,
|
|
5057
|
+
maybeMaxTargets: number | undefined,
|
|
5058
|
+
) => ChainSubmittableExtrinsic<
|
|
5360
5059
|
{
|
|
5361
5060
|
pallet: 'ElectionProviderMultiPhase';
|
|
5362
5061
|
palletCall: {
|
|
5363
5062
|
name: 'GovernanceFallback';
|
|
5063
|
+
params: { maybeMaxVoters: number | undefined; maybeMaxTargets: number | undefined };
|
|
5364
5064
|
};
|
|
5365
5065
|
},
|
|
5366
5066
|
ChainKnownTypes
|
|
@@ -5464,14 +5164,8 @@ export interface ChainTx<
|
|
|
5464
5164
|
**/
|
|
5465
5165
|
nominationPools: {
|
|
5466
5166
|
/**
|
|
5467
|
-
* Stake funds with a pool. The amount to bond is
|
|
5468
|
-
*
|
|
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.
|
|
5167
|
+
* Stake funds with a pool. The amount to bond is transferred from the member to the
|
|
5168
|
+
* pools account and immediately increases the pools bond.
|
|
5475
5169
|
*
|
|
5476
5170
|
* # Note
|
|
5477
5171
|
*
|
|
@@ -5756,13 +5450,13 @@ export interface ChainTx<
|
|
|
5756
5450
|
* The dispatch origin of this call must be signed by the pool nominator or the pool
|
|
5757
5451
|
* root role.
|
|
5758
5452
|
*
|
|
5759
|
-
* This directly
|
|
5760
|
-
*
|
|
5453
|
+
* This directly forward the call to the staking pallet, on behalf of the pool bonded
|
|
5454
|
+
* account.
|
|
5761
5455
|
*
|
|
5762
5456
|
* # Note
|
|
5763
5457
|
*
|
|
5764
|
-
* In addition to a `root` or `nominator` role of `origin`,
|
|
5765
|
-
*
|
|
5458
|
+
* In addition to a `root` or `nominator` role of `origin`, pool's depositor needs to have
|
|
5459
|
+
* at least `depositor_min_bond` in the pool to start nominating.
|
|
5766
5460
|
*
|
|
5767
5461
|
* @param {number} poolId
|
|
5768
5462
|
* @param {Array<AccountId32Like>} validators
|
|
@@ -5896,16 +5590,16 @@ export interface ChainTx<
|
|
|
5896
5590
|
* most pool members and they should be informed of changes to pool roles.
|
|
5897
5591
|
*
|
|
5898
5592
|
* @param {number} poolId
|
|
5899
|
-
* @param {
|
|
5900
|
-
* @param {
|
|
5901
|
-
* @param {
|
|
5593
|
+
* @param {PalletNominationPoolsConfigOp004} newRoot
|
|
5594
|
+
* @param {PalletNominationPoolsConfigOp004} newNominator
|
|
5595
|
+
* @param {PalletNominationPoolsConfigOp004} newBouncer
|
|
5902
5596
|
**/
|
|
5903
5597
|
updateRoles: GenericTxCall<
|
|
5904
5598
|
(
|
|
5905
5599
|
poolId: number,
|
|
5906
|
-
newRoot:
|
|
5907
|
-
newNominator:
|
|
5908
|
-
newBouncer:
|
|
5600
|
+
newRoot: PalletNominationPoolsConfigOp004,
|
|
5601
|
+
newNominator: PalletNominationPoolsConfigOp004,
|
|
5602
|
+
newBouncer: PalletNominationPoolsConfigOp004,
|
|
5909
5603
|
) => ChainSubmittableExtrinsic<
|
|
5910
5604
|
{
|
|
5911
5605
|
pallet: 'NominationPools';
|
|
@@ -5913,9 +5607,9 @@ export interface ChainTx<
|
|
|
5913
5607
|
name: 'UpdateRoles';
|
|
5914
5608
|
params: {
|
|
5915
5609
|
poolId: number;
|
|
5916
|
-
newRoot:
|
|
5917
|
-
newNominator:
|
|
5918
|
-
newBouncer:
|
|
5610
|
+
newRoot: PalletNominationPoolsConfigOp004;
|
|
5611
|
+
newNominator: PalletNominationPoolsConfigOp004;
|
|
5612
|
+
newBouncer: PalletNominationPoolsConfigOp004;
|
|
5919
5613
|
};
|
|
5920
5614
|
};
|
|
5921
5615
|
},
|
|
@@ -5929,9 +5623,6 @@ export interface ChainTx<
|
|
|
5929
5623
|
* The dispatch origin of this call can be signed by the pool nominator or the pool
|
|
5930
5624
|
* root role, same as [`Pallet::nominate`].
|
|
5931
5625
|
*
|
|
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
|
-
*
|
|
5935
5626
|
* Under certain conditions, this call can be dispatched permissionlessly (i.e. by any
|
|
5936
5627
|
* account).
|
|
5937
5628
|
*
|
|
@@ -5940,7 +5631,9 @@ export interface ChainTx<
|
|
|
5940
5631
|
* are unable to unbond.
|
|
5941
5632
|
*
|
|
5942
5633
|
* # Conditions for permissioned dispatch:
|
|
5943
|
-
* * The caller
|
|
5634
|
+
* * The caller has a nominator or root role of the pool.
|
|
5635
|
+
* This directly forward the call to the staking pallet, on behalf of the pool bonded
|
|
5636
|
+
* account.
|
|
5944
5637
|
*
|
|
5945
5638
|
* @param {number} poolId
|
|
5946
5639
|
**/
|
|
@@ -6112,20 +5805,9 @@ export interface ChainTx<
|
|
|
6112
5805
|
/**
|
|
6113
5806
|
* Claim pending commission.
|
|
6114
5807
|
*
|
|
6115
|
-
* The
|
|
6116
|
-
*
|
|
6117
|
-
*
|
|
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.
|
|
5808
|
+
* The dispatch origin of this call must be signed by the `root` role of the pool. Pending
|
|
5809
|
+
* commission is paid out and added to total claimed commission`. Total pending commission
|
|
5810
|
+
* is reset to zero. the current.
|
|
6129
5811
|
*
|
|
6130
5812
|
* @param {number} poolId
|
|
6131
5813
|
**/
|
|
@@ -6197,10 +5879,8 @@ export interface ChainTx<
|
|
|
6197
5879
|
* Fails unless [`crate::pallet::Config::StakeAdapter`] is of strategy type:
|
|
6198
5880
|
* [`adapter::StakeStrategyType::Delegate`].
|
|
6199
5881
|
*
|
|
6200
|
-
*
|
|
6201
|
-
*
|
|
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.
|
|
5882
|
+
* This call can be dispatched permissionlessly (i.e. by any account). If the member has
|
|
5883
|
+
* slash to be applied, caller may be rewarded with the part of the slash.
|
|
6204
5884
|
*
|
|
6205
5885
|
* @param {MultiAddressLike} memberAccount
|
|
6206
5886
|
**/
|
|
@@ -6387,66 +6067,6 @@ export interface ChainTx<
|
|
|
6387
6067
|
**/
|
|
6388
6068
|
[callName: string]: GenericTxCall<TxCall<ChainKnownTypes>>;
|
|
6389
6069
|
};
|
|
6390
|
-
/**
|
|
6391
|
-
* Pallet `StakingAhClient`'s transaction calls
|
|
6392
|
-
**/
|
|
6393
|
-
stakingAhClient: {
|
|
6394
|
-
/**
|
|
6395
|
-
*
|
|
6396
|
-
* @param {PalletStakingAsyncRcClientValidatorSetReport} report
|
|
6397
|
-
**/
|
|
6398
|
-
validatorSet: GenericTxCall<
|
|
6399
|
-
(report: PalletStakingAsyncRcClientValidatorSetReport) => ChainSubmittableExtrinsic<
|
|
6400
|
-
{
|
|
6401
|
-
pallet: 'StakingAhClient';
|
|
6402
|
-
palletCall: {
|
|
6403
|
-
name: 'ValidatorSet';
|
|
6404
|
-
params: { report: PalletStakingAsyncRcClientValidatorSetReport };
|
|
6405
|
-
};
|
|
6406
|
-
},
|
|
6407
|
-
ChainKnownTypes
|
|
6408
|
-
>
|
|
6409
|
-
>;
|
|
6410
|
-
|
|
6411
|
-
/**
|
|
6412
|
-
* Allows governance to force set the operating mode of the pallet.
|
|
6413
|
-
*
|
|
6414
|
-
* @param {PalletStakingAsyncAhClientOperatingMode} mode
|
|
6415
|
-
**/
|
|
6416
|
-
setMode: GenericTxCall<
|
|
6417
|
-
(mode: PalletStakingAsyncAhClientOperatingMode) => ChainSubmittableExtrinsic<
|
|
6418
|
-
{
|
|
6419
|
-
pallet: 'StakingAhClient';
|
|
6420
|
-
palletCall: {
|
|
6421
|
-
name: 'SetMode';
|
|
6422
|
-
params: { mode: PalletStakingAsyncAhClientOperatingMode };
|
|
6423
|
-
};
|
|
6424
|
-
},
|
|
6425
|
-
ChainKnownTypes
|
|
6426
|
-
>
|
|
6427
|
-
>;
|
|
6428
|
-
|
|
6429
|
-
/**
|
|
6430
|
-
* manually do what this pallet was meant to do at the end of the migration.
|
|
6431
|
-
*
|
|
6432
|
-
**/
|
|
6433
|
-
forceOnMigrationEnd: GenericTxCall<
|
|
6434
|
-
() => ChainSubmittableExtrinsic<
|
|
6435
|
-
{
|
|
6436
|
-
pallet: 'StakingAhClient';
|
|
6437
|
-
palletCall: {
|
|
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
6070
|
/**
|
|
6451
6071
|
* Pallet `Configuration`'s transaction calls
|
|
6452
6072
|
**/
|
|
@@ -6581,7 +6201,25 @@ export interface ChainTx<
|
|
|
6581
6201
|
>;
|
|
6582
6202
|
|
|
6583
6203
|
/**
|
|
6584
|
-
* Set the
|
|
6204
|
+
* Set the max number of times a claim may timeout on a core before it is abandoned
|
|
6205
|
+
*
|
|
6206
|
+
* @param {number} new_
|
|
6207
|
+
**/
|
|
6208
|
+
setMaxAvailabilityTimeouts: GenericTxCall<
|
|
6209
|
+
(new_: number) => ChainSubmittableExtrinsic<
|
|
6210
|
+
{
|
|
6211
|
+
pallet: 'Configuration';
|
|
6212
|
+
palletCall: {
|
|
6213
|
+
name: 'SetMaxAvailabilityTimeouts';
|
|
6214
|
+
params: { new: number };
|
|
6215
|
+
};
|
|
6216
|
+
},
|
|
6217
|
+
ChainKnownTypes
|
|
6218
|
+
>
|
|
6219
|
+
>;
|
|
6220
|
+
|
|
6221
|
+
/**
|
|
6222
|
+
* Set the parachain validator-group rotation frequency
|
|
6585
6223
|
*
|
|
6586
6224
|
* @param {number} new_
|
|
6587
6225
|
**/
|
|
@@ -7112,15 +6750,15 @@ export interface ChainTx<
|
|
|
7112
6750
|
/**
|
|
7113
6751
|
* Set the asynchronous backing parameters.
|
|
7114
6752
|
*
|
|
7115
|
-
* @param {
|
|
6753
|
+
* @param {PolkadotPrimitivesV7AsyncBackingAsyncBackingParams} new_
|
|
7116
6754
|
**/
|
|
7117
6755
|
setAsyncBackingParams: GenericTxCall<
|
|
7118
|
-
(new_:
|
|
6756
|
+
(new_: PolkadotPrimitivesV7AsyncBackingAsyncBackingParams) => ChainSubmittableExtrinsic<
|
|
7119
6757
|
{
|
|
7120
6758
|
pallet: 'Configuration';
|
|
7121
6759
|
palletCall: {
|
|
7122
6760
|
name: 'SetAsyncBackingParams';
|
|
7123
|
-
params: { new:
|
|
6761
|
+
params: { new: PolkadotPrimitivesV7AsyncBackingAsyncBackingParams };
|
|
7124
6762
|
};
|
|
7125
6763
|
},
|
|
7126
6764
|
ChainKnownTypes
|
|
@@ -7130,15 +6768,15 @@ export interface ChainTx<
|
|
|
7130
6768
|
/**
|
|
7131
6769
|
* Set PVF executor parameters.
|
|
7132
6770
|
*
|
|
7133
|
-
* @param {
|
|
6771
|
+
* @param {PolkadotPrimitivesV7ExecutorParams} new_
|
|
7134
6772
|
**/
|
|
7135
6773
|
setExecutorParams: GenericTxCall<
|
|
7136
|
-
(new_:
|
|
6774
|
+
(new_: PolkadotPrimitivesV7ExecutorParams) => ChainSubmittableExtrinsic<
|
|
7137
6775
|
{
|
|
7138
6776
|
pallet: 'Configuration';
|
|
7139
6777
|
palletCall: {
|
|
7140
6778
|
name: 'SetExecutorParams';
|
|
7141
|
-
params: { new:
|
|
6779
|
+
params: { new: PolkadotPrimitivesV7ExecutorParams };
|
|
7142
6780
|
};
|
|
7143
6781
|
},
|
|
7144
6782
|
ChainKnownTypes
|
|
@@ -7217,6 +6855,24 @@ export interface ChainTx<
|
|
|
7217
6855
|
>
|
|
7218
6856
|
>;
|
|
7219
6857
|
|
|
6858
|
+
/**
|
|
6859
|
+
* Set the on demand (parathreads) ttl in the claimqueue.
|
|
6860
|
+
*
|
|
6861
|
+
* @param {number} new_
|
|
6862
|
+
**/
|
|
6863
|
+
setOnDemandTtl: GenericTxCall<
|
|
6864
|
+
(new_: number) => ChainSubmittableExtrinsic<
|
|
6865
|
+
{
|
|
6866
|
+
pallet: 'Configuration';
|
|
6867
|
+
palletCall: {
|
|
6868
|
+
name: 'SetOnDemandTtl';
|
|
6869
|
+
params: { new: number };
|
|
6870
|
+
};
|
|
6871
|
+
},
|
|
6872
|
+
ChainKnownTypes
|
|
6873
|
+
>
|
|
6874
|
+
>;
|
|
6875
|
+
|
|
7220
6876
|
/**
|
|
7221
6877
|
* Set the minimum backing votes threshold.
|
|
7222
6878
|
*
|
|
@@ -7260,15 +6916,15 @@ export interface ChainTx<
|
|
|
7260
6916
|
/**
|
|
7261
6917
|
* Set approval-voting-params.
|
|
7262
6918
|
*
|
|
7263
|
-
* @param {
|
|
6919
|
+
* @param {PolkadotPrimitivesV7ApprovalVotingParams} new_
|
|
7264
6920
|
**/
|
|
7265
6921
|
setApprovalVotingParams: GenericTxCall<
|
|
7266
|
-
(new_:
|
|
6922
|
+
(new_: PolkadotPrimitivesV7ApprovalVotingParams) => ChainSubmittableExtrinsic<
|
|
7267
6923
|
{
|
|
7268
6924
|
pallet: 'Configuration';
|
|
7269
6925
|
palletCall: {
|
|
7270
6926
|
name: 'SetApprovalVotingParams';
|
|
7271
|
-
params: { new:
|
|
6927
|
+
params: { new: PolkadotPrimitivesV7ApprovalVotingParams };
|
|
7272
6928
|
};
|
|
7273
6929
|
},
|
|
7274
6930
|
ChainKnownTypes
|
|
@@ -7278,15 +6934,15 @@ export interface ChainTx<
|
|
|
7278
6934
|
/**
|
|
7279
6935
|
* Set scheduler-params.
|
|
7280
6936
|
*
|
|
7281
|
-
* @param {
|
|
6937
|
+
* @param {PolkadotPrimitivesVstagingSchedulerParams} new_
|
|
7282
6938
|
**/
|
|
7283
6939
|
setSchedulerParams: GenericTxCall<
|
|
7284
|
-
(new_:
|
|
6940
|
+
(new_: PolkadotPrimitivesVstagingSchedulerParams) => ChainSubmittableExtrinsic<
|
|
7285
6941
|
{
|
|
7286
6942
|
pallet: 'Configuration';
|
|
7287
6943
|
palletCall: {
|
|
7288
6944
|
name: 'SetSchedulerParams';
|
|
7289
|
-
params: { new:
|
|
6945
|
+
params: { new: PolkadotPrimitivesVstagingSchedulerParams };
|
|
7290
6946
|
};
|
|
7291
6947
|
},
|
|
7292
6948
|
ChainKnownTypes
|
|
@@ -7323,15 +6979,15 @@ export interface ChainTx<
|
|
|
7323
6979
|
/**
|
|
7324
6980
|
* Enter the paras inherent. This will process bitfields and backed candidates.
|
|
7325
6981
|
*
|
|
7326
|
-
* @param {
|
|
6982
|
+
* @param {PolkadotPrimitivesV7InherentData} data
|
|
7327
6983
|
**/
|
|
7328
6984
|
enter: GenericTxCall<
|
|
7329
|
-
(data:
|
|
6985
|
+
(data: PolkadotPrimitivesV7InherentData) => ChainSubmittableExtrinsic<
|
|
7330
6986
|
{
|
|
7331
6987
|
pallet: 'ParaInherent';
|
|
7332
6988
|
palletCall: {
|
|
7333
6989
|
name: 'Enter';
|
|
7334
|
-
params: { data:
|
|
6990
|
+
params: { data: PolkadotPrimitivesV7InherentData };
|
|
7335
6991
|
};
|
|
7336
6992
|
},
|
|
7337
6993
|
ChainKnownTypes
|
|
@@ -7527,21 +7183,21 @@ export interface ChainTx<
|
|
|
7527
7183
|
* Includes a statement for a PVF pre-checking vote. Potentially, finalizes the vote and
|
|
7528
7184
|
* enacts the results if that was the last vote before achieving the supermajority.
|
|
7529
7185
|
*
|
|
7530
|
-
* @param {
|
|
7531
|
-
* @param {
|
|
7186
|
+
* @param {PolkadotPrimitivesV7PvfCheckStatement} stmt
|
|
7187
|
+
* @param {PolkadotPrimitivesV7ValidatorAppSignature} signature
|
|
7532
7188
|
**/
|
|
7533
7189
|
includePvfCheckStatement: GenericTxCall<
|
|
7534
7190
|
(
|
|
7535
|
-
stmt:
|
|
7536
|
-
signature:
|
|
7191
|
+
stmt: PolkadotPrimitivesV7PvfCheckStatement,
|
|
7192
|
+
signature: PolkadotPrimitivesV7ValidatorAppSignature,
|
|
7537
7193
|
) => ChainSubmittableExtrinsic<
|
|
7538
7194
|
{
|
|
7539
7195
|
pallet: 'Paras';
|
|
7540
7196
|
palletCall: {
|
|
7541
7197
|
name: 'IncludePvfCheckStatement';
|
|
7542
7198
|
params: {
|
|
7543
|
-
stmt:
|
|
7544
|
-
signature:
|
|
7199
|
+
stmt: PolkadotPrimitivesV7PvfCheckStatement;
|
|
7200
|
+
signature: PolkadotPrimitivesV7ValidatorAppSignature;
|
|
7545
7201
|
};
|
|
7546
7202
|
};
|
|
7547
7203
|
},
|
|
@@ -7571,91 +7227,6 @@ export interface ChainTx<
|
|
|
7571
7227
|
>
|
|
7572
7228
|
>;
|
|
7573
7229
|
|
|
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
|
-
|
|
7659
7230
|
/**
|
|
7660
7231
|
* Generic pallet tx call
|
|
7661
7232
|
**/
|
|
@@ -8045,19 +7616,19 @@ export interface ChainTx<
|
|
|
8045
7616
|
parasSlashing: {
|
|
8046
7617
|
/**
|
|
8047
7618
|
*
|
|
8048
|
-
* @param {
|
|
7619
|
+
* @param {PolkadotPrimitivesV7SlashingDisputeProof} disputeProof
|
|
8049
7620
|
* @param {SpSessionMembershipProof} keyOwnerProof
|
|
8050
7621
|
**/
|
|
8051
7622
|
reportDisputeLostUnsigned: GenericTxCall<
|
|
8052
7623
|
(
|
|
8053
|
-
disputeProof:
|
|
7624
|
+
disputeProof: PolkadotPrimitivesV7SlashingDisputeProof,
|
|
8054
7625
|
keyOwnerProof: SpSessionMembershipProof,
|
|
8055
7626
|
) => ChainSubmittableExtrinsic<
|
|
8056
7627
|
{
|
|
8057
7628
|
pallet: 'ParasSlashing';
|
|
8058
7629
|
palletCall: {
|
|
8059
7630
|
name: 'ReportDisputeLostUnsigned';
|
|
8060
|
-
params: { disputeProof:
|
|
7631
|
+
params: { disputeProof: PolkadotPrimitivesV7SlashingDisputeProof; keyOwnerProof: SpSessionMembershipProof };
|
|
8061
7632
|
};
|
|
8062
7633
|
},
|
|
8063
7634
|
ChainKnownTypes
|
|
@@ -8092,8 +7663,6 @@ export interface ChainTx<
|
|
|
8092
7663
|
*
|
|
8093
7664
|
* @param {bigint} maxAmount
|
|
8094
7665
|
* @param {PolkadotParachainPrimitivesPrimitivesId} paraId
|
|
8095
|
-
*
|
|
8096
|
-
* @deprecated This will be removed in favor of using `place_order_with_credits`
|
|
8097
7666
|
**/
|
|
8098
7667
|
placeOrderAllowDeath: GenericTxCall<
|
|
8099
7668
|
(
|
|
@@ -8130,8 +7699,6 @@ export interface ChainTx<
|
|
|
8130
7699
|
*
|
|
8131
7700
|
* @param {bigint} maxAmount
|
|
8132
7701
|
* @param {PolkadotParachainPrimitivesPrimitivesId} paraId
|
|
8133
|
-
*
|
|
8134
|
-
* @deprecated This will be removed in favor of using `place_order_with_credits`
|
|
8135
7702
|
**/
|
|
8136
7703
|
placeOrderKeepAlive: GenericTxCall<
|
|
8137
7704
|
(
|
|
@@ -8149,44 +7716,6 @@ export interface ChainTx<
|
|
|
8149
7716
|
>
|
|
8150
7717
|
>;
|
|
8151
7718
|
|
|
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
|
-
|
|
8190
7719
|
/**
|
|
8191
7720
|
* Generic pallet tx call
|
|
8192
7721
|
**/
|
|
@@ -8983,27 +8512,6 @@ export interface ChainTx<
|
|
|
8983
8512
|
>
|
|
8984
8513
|
>;
|
|
8985
8514
|
|
|
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
|
-
|
|
9007
8515
|
/**
|
|
9008
8516
|
* Receive instructions from the `ExternalBrokerOrigin`, detailing how a specific core is
|
|
9009
8517
|
* to be used.
|
|
@@ -9280,8 +8788,6 @@ export interface ChainTx<
|
|
|
9280
8788
|
* @param {XcmVersionedLocation} beneficiary
|
|
9281
8789
|
* @param {XcmVersionedAssets} assets
|
|
9282
8790
|
* @param {number} feeAssetItem
|
|
9283
|
-
*
|
|
9284
|
-
* @deprecated This extrinsic uses `WeightLimit::Unlimited`, please migrate to `limited_teleport_assets` or `transfer_assets`
|
|
9285
8791
|
**/
|
|
9286
8792
|
teleportAssets: GenericTxCall<
|
|
9287
8793
|
(
|
|
@@ -9342,8 +8848,6 @@ export interface ChainTx<
|
|
|
9342
8848
|
* @param {XcmVersionedLocation} beneficiary
|
|
9343
8849
|
* @param {XcmVersionedAssets} assets
|
|
9344
8850
|
* @param {number} feeAssetItem
|
|
9345
|
-
*
|
|
9346
|
-
* @deprecated This extrinsic uses `WeightLimit::Unlimited`, please migrate to `limited_reserve_transfer_assets` or `transfer_assets`
|
|
9347
8851
|
**/
|
|
9348
8852
|
reserveTransferAssets: GenericTxCall<
|
|
9349
8853
|
(
|
|
@@ -9405,19 +8909,19 @@ export interface ChainTx<
|
|
|
9405
8909
|
* - `location`: The destination that is being described.
|
|
9406
8910
|
* - `xcm_version`: The latest version of XCM that `location` supports.
|
|
9407
8911
|
*
|
|
9408
|
-
* @param {
|
|
8912
|
+
* @param {StagingXcmV4Location} location
|
|
9409
8913
|
* @param {number} version
|
|
9410
8914
|
**/
|
|
9411
8915
|
forceXcmVersion: GenericTxCall<
|
|
9412
8916
|
(
|
|
9413
|
-
location:
|
|
8917
|
+
location: StagingXcmV4Location,
|
|
9414
8918
|
version: number,
|
|
9415
8919
|
) => ChainSubmittableExtrinsic<
|
|
9416
8920
|
{
|
|
9417
8921
|
pallet: 'XcmPallet';
|
|
9418
8922
|
palletCall: {
|
|
9419
8923
|
name: 'ForceXcmVersion';
|
|
9420
|
-
params: { location:
|
|
8924
|
+
params: { location: StagingXcmV4Location; version: number };
|
|
9421
8925
|
};
|
|
9422
8926
|
},
|
|
9423
8927
|
ChainKnownTypes
|
|
@@ -9805,74 +9309,6 @@ export interface ChainTx<
|
|
|
9805
9309
|
>
|
|
9806
9310
|
>;
|
|
9807
9311
|
|
|
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
|
-
|
|
9876
9312
|
/**
|
|
9877
9313
|
* Generic pallet tx call
|
|
9878
9314
|
**/
|
|
@@ -10045,7 +9481,7 @@ export interface ChainTx<
|
|
|
10045
9481
|
* @param {SpConsensusBeefyDoubleVotingProof} equivocationProof
|
|
10046
9482
|
* @param {SpSessionMembershipProof} keyOwnerProof
|
|
10047
9483
|
**/
|
|
10048
|
-
|
|
9484
|
+
reportEquivocation: GenericTxCall<
|
|
10049
9485
|
(
|
|
10050
9486
|
equivocationProof: SpConsensusBeefyDoubleVotingProof,
|
|
10051
9487
|
keyOwnerProof: SpSessionMembershipProof,
|
|
@@ -10053,7 +9489,7 @@ export interface ChainTx<
|
|
|
10053
9489
|
{
|
|
10054
9490
|
pallet: 'Beefy';
|
|
10055
9491
|
palletCall: {
|
|
10056
|
-
name: '
|
|
9492
|
+
name: 'ReportEquivocation';
|
|
10057
9493
|
params: { equivocationProof: SpConsensusBeefyDoubleVotingProof; keyOwnerProof: SpSessionMembershipProof };
|
|
10058
9494
|
};
|
|
10059
9495
|
},
|
|
@@ -10075,7 +9511,7 @@ export interface ChainTx<
|
|
|
10075
9511
|
* @param {SpConsensusBeefyDoubleVotingProof} equivocationProof
|
|
10076
9512
|
* @param {SpSessionMembershipProof} keyOwnerProof
|
|
10077
9513
|
**/
|
|
10078
|
-
|
|
9514
|
+
reportEquivocationUnsigned: GenericTxCall<
|
|
10079
9515
|
(
|
|
10080
9516
|
equivocationProof: SpConsensusBeefyDoubleVotingProof,
|
|
10081
9517
|
keyOwnerProof: SpSessionMembershipProof,
|
|
@@ -10083,7 +9519,7 @@ export interface ChainTx<
|
|
|
10083
9519
|
{
|
|
10084
9520
|
pallet: 'Beefy';
|
|
10085
9521
|
palletCall: {
|
|
10086
|
-
name: '
|
|
9522
|
+
name: 'ReportEquivocationUnsigned';
|
|
10087
9523
|
params: { equivocationProof: SpConsensusBeefyDoubleVotingProof; keyOwnerProof: SpSessionMembershipProof };
|
|
10088
9524
|
};
|
|
10089
9525
|
},
|
|
@@ -10112,118 +9548,6 @@ export interface ChainTx<
|
|
|
10112
9548
|
>
|
|
10113
9549
|
>;
|
|
10114
9550
|
|
|
10115
|
-
/**
|
|
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
|
|
10122
|
-
**/
|
|
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
9551
|
/**
|
|
10228
9552
|
* Generic pallet tx call
|
|
10229
9553
|
**/
|
|
@@ -10490,353 +9814,6 @@ export interface ChainTx<
|
|
|
10490
9814
|
>
|
|
10491
9815
|
>;
|
|
10492
9816
|
|
|
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
|
-
|
|
10840
9817
|
/**
|
|
10841
9818
|
* Generic pallet tx call
|
|
10842
9819
|
**/
|