@dedot/chaintypes 0.229.0 → 0.231.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 +18 -106
- package/paseo/errors.d.ts +42 -294
- package/paseo/events.d.ts +87 -753
- package/paseo/index.d.ts +1 -1
- package/paseo/query.d.ts +115 -556
- package/paseo/runtime.d.ts +91 -212
- package/paseo/tx.d.ts +190 -1182
- package/paseo/types.d.ts +8528 -10512
- package/paseo/view-functions.d.ts +1 -75
package/paseo/tx.d.ts
CHANGED
|
@@ -45,10 +45,11 @@ import type {
|
|
|
45
45
|
FrameSupportPreimagesBounded,
|
|
46
46
|
FrameSupportScheduleDispatchTime,
|
|
47
47
|
SpWeightsWeightV2Weight,
|
|
48
|
+
PaseoRuntimeRuntimeParameters,
|
|
48
49
|
PolkadotRuntimeCommonClaimsEcdsaSignature,
|
|
49
50
|
PolkadotRuntimeCommonClaimsStatementKind,
|
|
50
51
|
PalletVestingVestingInfo,
|
|
51
|
-
|
|
52
|
+
PaseoRuntimeProxyType,
|
|
52
53
|
PalletMultisigTimepoint,
|
|
53
54
|
PalletElectionProviderMultiPhaseRawSolution,
|
|
54
55
|
PalletElectionProviderMultiPhaseSolutionOrSnapshotSize,
|
|
@@ -59,25 +60,23 @@ import type {
|
|
|
59
60
|
PalletNominationPoolsConfigOp,
|
|
60
61
|
PalletNominationPoolsConfigOpU32,
|
|
61
62
|
PalletNominationPoolsConfigOpPerbill,
|
|
62
|
-
|
|
63
|
+
PalletNominationPoolsConfigOp004,
|
|
63
64
|
PalletNominationPoolsClaimPermission,
|
|
64
65
|
PalletNominationPoolsCommissionChangeRate,
|
|
65
66
|
PalletNominationPoolsCommissionClaimPermission,
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
PolkadotPrimitivesV8SchedulerParams,
|
|
72
|
-
PolkadotPrimitivesVstagingInherentData,
|
|
67
|
+
PolkadotPrimitivesV7AsyncBackingAsyncBackingParams,
|
|
68
|
+
PolkadotPrimitivesV7ExecutorParams,
|
|
69
|
+
PolkadotPrimitivesV7ApprovalVotingParams,
|
|
70
|
+
PolkadotPrimitivesVstagingSchedulerParams,
|
|
71
|
+
PolkadotPrimitivesV7InherentData,
|
|
73
72
|
PolkadotParachainPrimitivesPrimitivesId,
|
|
74
73
|
PolkadotParachainPrimitivesPrimitivesValidationCode,
|
|
75
74
|
PolkadotParachainPrimitivesPrimitivesHeadData,
|
|
76
75
|
PolkadotParachainPrimitivesPrimitivesValidationCodeHash,
|
|
77
|
-
|
|
78
|
-
|
|
76
|
+
PolkadotPrimitivesV7PvfCheckStatement,
|
|
77
|
+
PolkadotPrimitivesV7ValidatorAppSignature,
|
|
79
78
|
PolkadotParachainPrimitivesPrimitivesHrmpChannelId,
|
|
80
|
-
|
|
79
|
+
PolkadotPrimitivesV7SlashingDisputeProof,
|
|
81
80
|
SpRuntimeMultiSigner,
|
|
82
81
|
PalletBrokerCoretimeInterfaceCoreAssignment,
|
|
83
82
|
PolkadotRuntimeParachainsAssignerCoretimePartsOf57600,
|
|
@@ -86,20 +85,13 @@ import type {
|
|
|
86
85
|
PalletStateTrieMigrationProgress,
|
|
87
86
|
XcmVersionedXcm,
|
|
88
87
|
XcmVersionedAssets,
|
|
89
|
-
|
|
88
|
+
StagingXcmV4Location,
|
|
90
89
|
XcmV3WeightLimit,
|
|
91
90
|
StagingXcmExecutorAssetTransferTransferType,
|
|
92
91
|
XcmVersionedAssetId,
|
|
93
92
|
PolkadotRuntimeParachainsInclusionAggregateMessageOrigin,
|
|
94
93
|
SpConsensusBeefyDoubleVotingProof,
|
|
95
|
-
SpConsensusBeefyForkVotingProof,
|
|
96
|
-
SpConsensusBeefyFutureBlockVotingProof,
|
|
97
94
|
PolkadotRuntimeParachainsParasParaGenesisArgs,
|
|
98
|
-
PalletRcMigratorMigrationStage,
|
|
99
|
-
StagingXcmV5Response,
|
|
100
|
-
PalletRcMigratorQueuePriority,
|
|
101
|
-
PalletRcMigratorManagerMultisigVote,
|
|
102
|
-
PalletRcMigratorMigrationSettings,
|
|
103
95
|
} from './types.js';
|
|
104
96
|
|
|
105
97
|
export type ChainSubmittableExtrinsic<
|
|
@@ -727,7 +719,7 @@ export interface ChainTx<
|
|
|
727
719
|
>;
|
|
728
720
|
|
|
729
721
|
/**
|
|
730
|
-
* Ensure that the bulk of pre-images is upgraded.
|
|
722
|
+
* Ensure that the a bulk of pre-images is upgraded.
|
|
731
723
|
*
|
|
732
724
|
* The caller pays no fee if at least 90% of pre-images were successfully updated.
|
|
733
725
|
*
|
|
@@ -1040,33 +1032,6 @@ export interface ChainTx<
|
|
|
1040
1032
|
>
|
|
1041
1033
|
>;
|
|
1042
1034
|
|
|
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
1035
|
/**
|
|
1071
1036
|
* Generic pallet tx call
|
|
1072
1037
|
**/
|
|
@@ -1399,9 +1364,7 @@ export interface ChainTx<
|
|
|
1399
1364
|
/**
|
|
1400
1365
|
* Schedule a portion of the stash to be unlocked ready for transfer out after the bond
|
|
1401
1366
|
* 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.
|
|
1367
|
+
* T::Currency::minimum_balance(), then it is increased to the full amount.
|
|
1405
1368
|
*
|
|
1406
1369
|
* The dispatch origin for this call must be _Signed_ by the controller, not the stash.
|
|
1407
1370
|
*
|
|
@@ -1813,7 +1776,6 @@ export interface ChainTx<
|
|
|
1813
1776
|
* Can be called by the `T::AdminOrigin`.
|
|
1814
1777
|
*
|
|
1815
1778
|
* Parameters: era and indices of the slashes for that era to kill.
|
|
1816
|
-
* They **must** be sorted in ascending order, *and* unique.
|
|
1817
1779
|
*
|
|
1818
1780
|
* @param {number} era
|
|
1819
1781
|
* @param {Array<number>} slashIndices
|
|
@@ -2227,74 +2189,6 @@ export interface ChainTx<
|
|
|
2227
2189
|
>
|
|
2228
2190
|
>;
|
|
2229
2191
|
|
|
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
2192
|
/**
|
|
2299
2193
|
* Generic pallet tx call
|
|
2300
2194
|
**/
|
|
@@ -2621,8 +2515,6 @@ export interface ChainTx<
|
|
|
2621
2515
|
* Emits [`Event::Paid`] if successful.
|
|
2622
2516
|
*
|
|
2623
2517
|
* @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
2518
|
**/
|
|
2627
2519
|
payout: GenericTxCall<
|
|
2628
2520
|
(index: number) => ChainSubmittableExtrinsic<
|
|
@@ -2659,8 +2551,6 @@ export interface ChainTx<
|
|
|
2659
2551
|
* Emits [`Event::SpendProcessed`] if the spend payout has succeed.
|
|
2660
2552
|
*
|
|
2661
2553
|
* @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
2554
|
**/
|
|
2665
2555
|
checkStatus: GenericTxCall<
|
|
2666
2556
|
(index: number) => ChainSubmittableExtrinsic<
|
|
@@ -3277,6 +3167,36 @@ export interface ChainTx<
|
|
|
3277
3167
|
**/
|
|
3278
3168
|
[callName: string]: GenericTxCall<TxCall<ChainKnownTypes>>;
|
|
3279
3169
|
};
|
|
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
|
+
};
|
|
3280
3200
|
/**
|
|
3281
3201
|
* Pallet `Claims`'s transaction calls
|
|
3282
3202
|
**/
|
|
@@ -3429,7 +3349,7 @@ export interface ChainTx<
|
|
|
3429
3349
|
* Attest to a statement, needed to finalize the claims process.
|
|
3430
3350
|
*
|
|
3431
3351
|
* WARNING: Insecure unless your chain includes `PrevalidateAttests` as a
|
|
3432
|
-
* `
|
|
3352
|
+
* `SignedExtension`.
|
|
3433
3353
|
*
|
|
3434
3354
|
* Unsigned Validation:
|
|
3435
3355
|
* A call to attest is deemed valid if the sender has a `Preclaim` registered
|
|
@@ -3877,76 +3797,6 @@ export interface ChainTx<
|
|
|
3877
3797
|
>
|
|
3878
3798
|
>;
|
|
3879
3799
|
|
|
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
3800
|
/**
|
|
3951
3801
|
* Generic pallet tx call
|
|
3952
3802
|
**/
|
|
@@ -3968,13 +3818,13 @@ export interface ChainTx<
|
|
|
3968
3818
|
* - `call`: The call to be made by the `real` account.
|
|
3969
3819
|
*
|
|
3970
3820
|
* @param {MultiAddressLike} real
|
|
3971
|
-
* @param {
|
|
3821
|
+
* @param {PaseoRuntimeProxyType | undefined} forceProxyType
|
|
3972
3822
|
* @param {PaseoRuntimeRuntimeCallLike} call
|
|
3973
3823
|
**/
|
|
3974
3824
|
proxy: GenericTxCall<
|
|
3975
3825
|
(
|
|
3976
3826
|
real: MultiAddressLike,
|
|
3977
|
-
forceProxyType:
|
|
3827
|
+
forceProxyType: PaseoRuntimeProxyType | undefined,
|
|
3978
3828
|
call: PaseoRuntimeRuntimeCallLike,
|
|
3979
3829
|
) => ChainSubmittableExtrinsic<
|
|
3980
3830
|
{
|
|
@@ -3983,7 +3833,7 @@ export interface ChainTx<
|
|
|
3983
3833
|
name: 'Proxy';
|
|
3984
3834
|
params: {
|
|
3985
3835
|
real: MultiAddressLike;
|
|
3986
|
-
forceProxyType:
|
|
3836
|
+
forceProxyType: PaseoRuntimeProxyType | undefined;
|
|
3987
3837
|
call: PaseoRuntimeRuntimeCallLike;
|
|
3988
3838
|
};
|
|
3989
3839
|
};
|
|
@@ -4004,20 +3854,20 @@ export interface ChainTx<
|
|
|
4004
3854
|
* zero.
|
|
4005
3855
|
*
|
|
4006
3856
|
* @param {MultiAddressLike} delegate
|
|
4007
|
-
* @param {
|
|
3857
|
+
* @param {PaseoRuntimeProxyType} proxyType
|
|
4008
3858
|
* @param {number} delay
|
|
4009
3859
|
**/
|
|
4010
3860
|
addProxy: GenericTxCall<
|
|
4011
3861
|
(
|
|
4012
3862
|
delegate: MultiAddressLike,
|
|
4013
|
-
proxyType:
|
|
3863
|
+
proxyType: PaseoRuntimeProxyType,
|
|
4014
3864
|
delay: number,
|
|
4015
3865
|
) => ChainSubmittableExtrinsic<
|
|
4016
3866
|
{
|
|
4017
3867
|
pallet: 'Proxy';
|
|
4018
3868
|
palletCall: {
|
|
4019
3869
|
name: 'AddProxy';
|
|
4020
|
-
params: { delegate: MultiAddressLike; proxyType:
|
|
3870
|
+
params: { delegate: MultiAddressLike; proxyType: PaseoRuntimeProxyType; delay: number };
|
|
4021
3871
|
};
|
|
4022
3872
|
},
|
|
4023
3873
|
ChainKnownTypes
|
|
@@ -4034,20 +3884,20 @@ export interface ChainTx<
|
|
|
4034
3884
|
* - `proxy_type`: The permissions currently enabled for the removed proxy account.
|
|
4035
3885
|
*
|
|
4036
3886
|
* @param {MultiAddressLike} delegate
|
|
4037
|
-
* @param {
|
|
3887
|
+
* @param {PaseoRuntimeProxyType} proxyType
|
|
4038
3888
|
* @param {number} delay
|
|
4039
3889
|
**/
|
|
4040
3890
|
removeProxy: GenericTxCall<
|
|
4041
3891
|
(
|
|
4042
3892
|
delegate: MultiAddressLike,
|
|
4043
|
-
proxyType:
|
|
3893
|
+
proxyType: PaseoRuntimeProxyType,
|
|
4044
3894
|
delay: number,
|
|
4045
3895
|
) => ChainSubmittableExtrinsic<
|
|
4046
3896
|
{
|
|
4047
3897
|
pallet: 'Proxy';
|
|
4048
3898
|
palletCall: {
|
|
4049
3899
|
name: 'RemoveProxy';
|
|
4050
|
-
params: { delegate: MultiAddressLike; proxyType:
|
|
3900
|
+
params: { delegate: MultiAddressLike; proxyType: PaseoRuntimeProxyType; delay: number };
|
|
4051
3901
|
};
|
|
4052
3902
|
},
|
|
4053
3903
|
ChainKnownTypes
|
|
@@ -4059,7 +3909,7 @@ export interface ChainTx<
|
|
|
4059
3909
|
*
|
|
4060
3910
|
* The dispatch origin for this call must be _Signed_.
|
|
4061
3911
|
*
|
|
4062
|
-
* WARNING: This may be called on accounts created by `
|
|
3912
|
+
* WARNING: This may be called on accounts created by `pure`, however if done, then
|
|
4063
3913
|
* the unreserved fees will be inaccessible. **All access to this account will be lost.**
|
|
4064
3914
|
*
|
|
4065
3915
|
**/
|
|
@@ -4095,13 +3945,13 @@ export interface ChainTx<
|
|
|
4095
3945
|
*
|
|
4096
3946
|
* Fails if there are insufficient funds to pay for deposit.
|
|
4097
3947
|
*
|
|
4098
|
-
* @param {
|
|
3948
|
+
* @param {PaseoRuntimeProxyType} proxyType
|
|
4099
3949
|
* @param {number} delay
|
|
4100
3950
|
* @param {number} index
|
|
4101
3951
|
**/
|
|
4102
3952
|
createPure: GenericTxCall<
|
|
4103
3953
|
(
|
|
4104
|
-
proxyType:
|
|
3954
|
+
proxyType: PaseoRuntimeProxyType,
|
|
4105
3955
|
delay: number,
|
|
4106
3956
|
index: number,
|
|
4107
3957
|
) => ChainSubmittableExtrinsic<
|
|
@@ -4109,7 +3959,7 @@ export interface ChainTx<
|
|
|
4109
3959
|
pallet: 'Proxy';
|
|
4110
3960
|
palletCall: {
|
|
4111
3961
|
name: 'CreatePure';
|
|
4112
|
-
params: { proxyType:
|
|
3962
|
+
params: { proxyType: PaseoRuntimeProxyType; delay: number; index: number };
|
|
4113
3963
|
};
|
|
4114
3964
|
},
|
|
4115
3965
|
ChainKnownTypes
|
|
@@ -4123,19 +3973,19 @@ export interface ChainTx<
|
|
|
4123
3973
|
* inaccessible.
|
|
4124
3974
|
*
|
|
4125
3975
|
* Requires a `Signed` origin, and the sender account must have been created by a call to
|
|
4126
|
-
* `
|
|
3976
|
+
* `pure` with corresponding parameters.
|
|
4127
3977
|
*
|
|
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 `
|
|
3978
|
+
* - `spawner`: The account that originally called `pure` to create this account.
|
|
3979
|
+
* - `index`: The disambiguation index originally passed to `pure`. Probably `0`.
|
|
3980
|
+
* - `proxy_type`: The proxy type originally passed to `pure`.
|
|
3981
|
+
* - `height`: The height of the chain when the call to `pure` was processed.
|
|
3982
|
+
* - `ext_index`: The extrinsic index in which the call to `pure` was processed.
|
|
4133
3983
|
*
|
|
4134
3984
|
* Fails with `NoPermission` in case the caller is not a previously created pure
|
|
4135
|
-
* account whose `
|
|
3985
|
+
* account whose `pure` call has corresponding parameters.
|
|
4136
3986
|
*
|
|
4137
3987
|
* @param {MultiAddressLike} spawner
|
|
4138
|
-
* @param {
|
|
3988
|
+
* @param {PaseoRuntimeProxyType} proxyType
|
|
4139
3989
|
* @param {number} index
|
|
4140
3990
|
* @param {number} height
|
|
4141
3991
|
* @param {number} extIndex
|
|
@@ -4143,7 +3993,7 @@ export interface ChainTx<
|
|
|
4143
3993
|
killPure: GenericTxCall<
|
|
4144
3994
|
(
|
|
4145
3995
|
spawner: MultiAddressLike,
|
|
4146
|
-
proxyType:
|
|
3996
|
+
proxyType: PaseoRuntimeProxyType,
|
|
4147
3997
|
index: number,
|
|
4148
3998
|
height: number,
|
|
4149
3999
|
extIndex: number,
|
|
@@ -4154,7 +4004,7 @@ export interface ChainTx<
|
|
|
4154
4004
|
name: 'KillPure';
|
|
4155
4005
|
params: {
|
|
4156
4006
|
spawner: MultiAddressLike;
|
|
4157
|
-
proxyType:
|
|
4007
|
+
proxyType: PaseoRuntimeProxyType;
|
|
4158
4008
|
index: number;
|
|
4159
4009
|
height: number;
|
|
4160
4010
|
extIndex: number;
|
|
@@ -4278,14 +4128,14 @@ export interface ChainTx<
|
|
|
4278
4128
|
*
|
|
4279
4129
|
* @param {MultiAddressLike} delegate
|
|
4280
4130
|
* @param {MultiAddressLike} real
|
|
4281
|
-
* @param {
|
|
4131
|
+
* @param {PaseoRuntimeProxyType | undefined} forceProxyType
|
|
4282
4132
|
* @param {PaseoRuntimeRuntimeCallLike} call
|
|
4283
4133
|
**/
|
|
4284
4134
|
proxyAnnounced: GenericTxCall<
|
|
4285
4135
|
(
|
|
4286
4136
|
delegate: MultiAddressLike,
|
|
4287
4137
|
real: MultiAddressLike,
|
|
4288
|
-
forceProxyType:
|
|
4138
|
+
forceProxyType: PaseoRuntimeProxyType | undefined,
|
|
4289
4139
|
call: PaseoRuntimeRuntimeCallLike,
|
|
4290
4140
|
) => ChainSubmittableExtrinsic<
|
|
4291
4141
|
{
|
|
@@ -4295,7 +4145,7 @@ export interface ChainTx<
|
|
|
4295
4145
|
params: {
|
|
4296
4146
|
delegate: MultiAddressLike;
|
|
4297
4147
|
real: MultiAddressLike;
|
|
4298
|
-
forceProxyType:
|
|
4148
|
+
forceProxyType: PaseoRuntimeProxyType | undefined;
|
|
4299
4149
|
call: PaseoRuntimeRuntimeCallLike;
|
|
4300
4150
|
};
|
|
4301
4151
|
};
|
|
@@ -4304,29 +4154,6 @@ export interface ChainTx<
|
|
|
4304
4154
|
>
|
|
4305
4155
|
>;
|
|
4306
4156
|
|
|
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
4157
|
/**
|
|
4331
4158
|
* Generic pallet tx call
|
|
4332
4159
|
**/
|
|
@@ -4555,42 +4382,6 @@ export interface ChainTx<
|
|
|
4555
4382
|
>
|
|
4556
4383
|
>;
|
|
4557
4384
|
|
|
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
4385
|
/**
|
|
4595
4386
|
* Generic pallet tx call
|
|
4596
4387
|
**/
|
|
@@ -4856,72 +4647,6 @@ export interface ChainTx<
|
|
|
4856
4647
|
>
|
|
4857
4648
|
>;
|
|
4858
4649
|
|
|
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
4650
|
/**
|
|
4926
4651
|
* Generic pallet tx call
|
|
4927
4652
|
**/
|
|
@@ -5354,13 +5079,19 @@ export interface ChainTx<
|
|
|
5354
5079
|
* This can only be called when [`Phase::Emergency`] is enabled, as an alternative to
|
|
5355
5080
|
* calling [`Call::set_emergency_election_result`].
|
|
5356
5081
|
*
|
|
5082
|
+
* @param {number | undefined} maybeMaxVoters
|
|
5083
|
+
* @param {number | undefined} maybeMaxTargets
|
|
5357
5084
|
**/
|
|
5358
5085
|
governanceFallback: GenericTxCall<
|
|
5359
|
-
(
|
|
5086
|
+
(
|
|
5087
|
+
maybeMaxVoters: number | undefined,
|
|
5088
|
+
maybeMaxTargets: number | undefined,
|
|
5089
|
+
) => ChainSubmittableExtrinsic<
|
|
5360
5090
|
{
|
|
5361
5091
|
pallet: 'ElectionProviderMultiPhase';
|
|
5362
5092
|
palletCall: {
|
|
5363
5093
|
name: 'GovernanceFallback';
|
|
5094
|
+
params: { maybeMaxVoters: number | undefined; maybeMaxTargets: number | undefined };
|
|
5364
5095
|
};
|
|
5365
5096
|
},
|
|
5366
5097
|
ChainKnownTypes
|
|
@@ -5464,14 +5195,8 @@ export interface ChainTx<
|
|
|
5464
5195
|
**/
|
|
5465
5196
|
nominationPools: {
|
|
5466
5197
|
/**
|
|
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.
|
|
5198
|
+
* Stake funds with a pool. The amount to bond is transferred from the member to the
|
|
5199
|
+
* pools account and immediately increases the pools bond.
|
|
5475
5200
|
*
|
|
5476
5201
|
* # Note
|
|
5477
5202
|
*
|
|
@@ -5756,13 +5481,13 @@ export interface ChainTx<
|
|
|
5756
5481
|
* The dispatch origin of this call must be signed by the pool nominator or the pool
|
|
5757
5482
|
* root role.
|
|
5758
5483
|
*
|
|
5759
|
-
* This directly
|
|
5760
|
-
*
|
|
5484
|
+
* This directly forward the call to the staking pallet, on behalf of the pool bonded
|
|
5485
|
+
* account.
|
|
5761
5486
|
*
|
|
5762
5487
|
* # Note
|
|
5763
5488
|
*
|
|
5764
|
-
* In addition to a `root` or `nominator` role of `origin`,
|
|
5765
|
-
*
|
|
5489
|
+
* In addition to a `root` or `nominator` role of `origin`, pool's depositor needs to have
|
|
5490
|
+
* at least `depositor_min_bond` in the pool to start nominating.
|
|
5766
5491
|
*
|
|
5767
5492
|
* @param {number} poolId
|
|
5768
5493
|
* @param {Array<AccountId32Like>} validators
|
|
@@ -5896,16 +5621,16 @@ export interface ChainTx<
|
|
|
5896
5621
|
* most pool members and they should be informed of changes to pool roles.
|
|
5897
5622
|
*
|
|
5898
5623
|
* @param {number} poolId
|
|
5899
|
-
* @param {
|
|
5900
|
-
* @param {
|
|
5901
|
-
* @param {
|
|
5624
|
+
* @param {PalletNominationPoolsConfigOp004} newRoot
|
|
5625
|
+
* @param {PalletNominationPoolsConfigOp004} newNominator
|
|
5626
|
+
* @param {PalletNominationPoolsConfigOp004} newBouncer
|
|
5902
5627
|
**/
|
|
5903
5628
|
updateRoles: GenericTxCall<
|
|
5904
5629
|
(
|
|
5905
5630
|
poolId: number,
|
|
5906
|
-
newRoot:
|
|
5907
|
-
newNominator:
|
|
5908
|
-
newBouncer:
|
|
5631
|
+
newRoot: PalletNominationPoolsConfigOp004,
|
|
5632
|
+
newNominator: PalletNominationPoolsConfigOp004,
|
|
5633
|
+
newBouncer: PalletNominationPoolsConfigOp004,
|
|
5909
5634
|
) => ChainSubmittableExtrinsic<
|
|
5910
5635
|
{
|
|
5911
5636
|
pallet: 'NominationPools';
|
|
@@ -5913,9 +5638,9 @@ export interface ChainTx<
|
|
|
5913
5638
|
name: 'UpdateRoles';
|
|
5914
5639
|
params: {
|
|
5915
5640
|
poolId: number;
|
|
5916
|
-
newRoot:
|
|
5917
|
-
newNominator:
|
|
5918
|
-
newBouncer:
|
|
5641
|
+
newRoot: PalletNominationPoolsConfigOp004;
|
|
5642
|
+
newNominator: PalletNominationPoolsConfigOp004;
|
|
5643
|
+
newBouncer: PalletNominationPoolsConfigOp004;
|
|
5919
5644
|
};
|
|
5920
5645
|
};
|
|
5921
5646
|
},
|
|
@@ -5929,9 +5654,6 @@ export interface ChainTx<
|
|
|
5929
5654
|
* The dispatch origin of this call can be signed by the pool nominator or the pool
|
|
5930
5655
|
* root role, same as [`Pallet::nominate`].
|
|
5931
5656
|
*
|
|
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
5657
|
* Under certain conditions, this call can be dispatched permissionlessly (i.e. by any
|
|
5936
5658
|
* account).
|
|
5937
5659
|
*
|
|
@@ -5940,7 +5662,9 @@ export interface ChainTx<
|
|
|
5940
5662
|
* are unable to unbond.
|
|
5941
5663
|
*
|
|
5942
5664
|
* # Conditions for permissioned dispatch:
|
|
5943
|
-
* * The caller
|
|
5665
|
+
* * The caller has a nominator or root role of the pool.
|
|
5666
|
+
* This directly forward the call to the staking pallet, on behalf of the pool bonded
|
|
5667
|
+
* account.
|
|
5944
5668
|
*
|
|
5945
5669
|
* @param {number} poolId
|
|
5946
5670
|
**/
|
|
@@ -6112,20 +5836,9 @@ export interface ChainTx<
|
|
|
6112
5836
|
/**
|
|
6113
5837
|
* Claim pending commission.
|
|
6114
5838
|
*
|
|
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.
|
|
5839
|
+
* The dispatch origin of this call must be signed by the `root` role of the pool. Pending
|
|
5840
|
+
* commission is paid out and added to total claimed commission`. Total pending commission
|
|
5841
|
+
* is reset to zero. the current.
|
|
6129
5842
|
*
|
|
6130
5843
|
* @param {number} poolId
|
|
6131
5844
|
**/
|
|
@@ -6197,10 +5910,8 @@ export interface ChainTx<
|
|
|
6197
5910
|
* Fails unless [`crate::pallet::Config::StakeAdapter`] is of strategy type:
|
|
6198
5911
|
* [`adapter::StakeStrategyType::Delegate`].
|
|
6199
5912
|
*
|
|
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.
|
|
5913
|
+
* This call can be dispatched permissionlessly (i.e. by any account). If the member has
|
|
5914
|
+
* slash to be applied, caller may be rewarded with the part of the slash.
|
|
6204
5915
|
*
|
|
6205
5916
|
* @param {MultiAddressLike} memberAccount
|
|
6206
5917
|
**/
|
|
@@ -6388,20 +6099,21 @@ export interface ChainTx<
|
|
|
6388
6099
|
[callName: string]: GenericTxCall<TxCall<ChainKnownTypes>>;
|
|
6389
6100
|
};
|
|
6390
6101
|
/**
|
|
6391
|
-
* Pallet `
|
|
6102
|
+
* Pallet `Configuration`'s transaction calls
|
|
6392
6103
|
**/
|
|
6393
|
-
|
|
6104
|
+
configuration: {
|
|
6394
6105
|
/**
|
|
6106
|
+
* Set the validation upgrade cooldown.
|
|
6395
6107
|
*
|
|
6396
|
-
* @param {
|
|
6108
|
+
* @param {number} new_
|
|
6397
6109
|
**/
|
|
6398
|
-
|
|
6399
|
-
(
|
|
6110
|
+
setValidationUpgradeCooldown: GenericTxCall<
|
|
6111
|
+
(new_: number) => ChainSubmittableExtrinsic<
|
|
6400
6112
|
{
|
|
6401
|
-
pallet: '
|
|
6113
|
+
pallet: 'Configuration';
|
|
6402
6114
|
palletCall: {
|
|
6403
|
-
name: '
|
|
6404
|
-
params: {
|
|
6115
|
+
name: 'SetValidationUpgradeCooldown';
|
|
6116
|
+
params: { new: number };
|
|
6405
6117
|
};
|
|
6406
6118
|
},
|
|
6407
6119
|
ChainKnownTypes
|
|
@@ -6409,17 +6121,17 @@ export interface ChainTx<
|
|
|
6409
6121
|
>;
|
|
6410
6122
|
|
|
6411
6123
|
/**
|
|
6412
|
-
*
|
|
6124
|
+
* Set the validation upgrade delay.
|
|
6413
6125
|
*
|
|
6414
|
-
* @param {
|
|
6126
|
+
* @param {number} new_
|
|
6415
6127
|
**/
|
|
6416
|
-
|
|
6417
|
-
(
|
|
6128
|
+
setValidationUpgradeDelay: GenericTxCall<
|
|
6129
|
+
(new_: number) => ChainSubmittableExtrinsic<
|
|
6418
6130
|
{
|
|
6419
|
-
pallet: '
|
|
6131
|
+
pallet: 'Configuration';
|
|
6420
6132
|
palletCall: {
|
|
6421
|
-
name: '
|
|
6422
|
-
params: {
|
|
6133
|
+
name: 'SetValidationUpgradeDelay';
|
|
6134
|
+
params: { new: number };
|
|
6423
6135
|
};
|
|
6424
6136
|
},
|
|
6425
6137
|
ChainKnownTypes
|
|
@@ -6427,75 +6139,14 @@ export interface ChainTx<
|
|
|
6427
6139
|
>;
|
|
6428
6140
|
|
|
6429
6141
|
/**
|
|
6430
|
-
*
|
|
6142
|
+
* Set the acceptance period for an included candidate.
|
|
6431
6143
|
*
|
|
6144
|
+
* @param {number} new_
|
|
6432
6145
|
**/
|
|
6433
|
-
|
|
6434
|
-
() => ChainSubmittableExtrinsic<
|
|
6146
|
+
setCodeRetentionPeriod: GenericTxCall<
|
|
6147
|
+
(new_: number) => ChainSubmittableExtrinsic<
|
|
6435
6148
|
{
|
|
6436
|
-
pallet: '
|
|
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
|
-
/**
|
|
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';
|
|
6465
|
-
params: { new: number };
|
|
6466
|
-
};
|
|
6467
|
-
},
|
|
6468
|
-
ChainKnownTypes
|
|
6469
|
-
>
|
|
6470
|
-
>;
|
|
6471
|
-
|
|
6472
|
-
/**
|
|
6473
|
-
* Set the validation upgrade delay.
|
|
6474
|
-
*
|
|
6475
|
-
* @param {number} new_
|
|
6476
|
-
**/
|
|
6477
|
-
setValidationUpgradeDelay: GenericTxCall<
|
|
6478
|
-
(new_: number) => ChainSubmittableExtrinsic<
|
|
6479
|
-
{
|
|
6480
|
-
pallet: 'Configuration';
|
|
6481
|
-
palletCall: {
|
|
6482
|
-
name: 'SetValidationUpgradeDelay';
|
|
6483
|
-
params: { new: number };
|
|
6484
|
-
};
|
|
6485
|
-
},
|
|
6486
|
-
ChainKnownTypes
|
|
6487
|
-
>
|
|
6488
|
-
>;
|
|
6489
|
-
|
|
6490
|
-
/**
|
|
6491
|
-
* Set the acceptance period for an included candidate.
|
|
6492
|
-
*
|
|
6493
|
-
* @param {number} new_
|
|
6494
|
-
**/
|
|
6495
|
-
setCodeRetentionPeriod: GenericTxCall<
|
|
6496
|
-
(new_: number) => ChainSubmittableExtrinsic<
|
|
6497
|
-
{
|
|
6498
|
-
pallet: 'Configuration';
|
|
6149
|
+
pallet: 'Configuration';
|
|
6499
6150
|
palletCall: {
|
|
6500
6151
|
name: 'SetCodeRetentionPeriod';
|
|
6501
6152
|
params: { new: number };
|
|
@@ -6580,6 +6231,24 @@ export interface ChainTx<
|
|
|
6580
6231
|
>
|
|
6581
6232
|
>;
|
|
6582
6233
|
|
|
6234
|
+
/**
|
|
6235
|
+
* Set the max number of times a claim may timeout on a core before it is abandoned
|
|
6236
|
+
*
|
|
6237
|
+
* @param {number} new_
|
|
6238
|
+
**/
|
|
6239
|
+
setMaxAvailabilityTimeouts: GenericTxCall<
|
|
6240
|
+
(new_: number) => ChainSubmittableExtrinsic<
|
|
6241
|
+
{
|
|
6242
|
+
pallet: 'Configuration';
|
|
6243
|
+
palletCall: {
|
|
6244
|
+
name: 'SetMaxAvailabilityTimeouts';
|
|
6245
|
+
params: { new: number };
|
|
6246
|
+
};
|
|
6247
|
+
},
|
|
6248
|
+
ChainKnownTypes
|
|
6249
|
+
>
|
|
6250
|
+
>;
|
|
6251
|
+
|
|
6583
6252
|
/**
|
|
6584
6253
|
* Set the parachain validator-group rotation frequency
|
|
6585
6254
|
*
|
|
@@ -7112,15 +6781,15 @@ export interface ChainTx<
|
|
|
7112
6781
|
/**
|
|
7113
6782
|
* Set the asynchronous backing parameters.
|
|
7114
6783
|
*
|
|
7115
|
-
* @param {
|
|
6784
|
+
* @param {PolkadotPrimitivesV7AsyncBackingAsyncBackingParams} new_
|
|
7116
6785
|
**/
|
|
7117
6786
|
setAsyncBackingParams: GenericTxCall<
|
|
7118
|
-
(new_:
|
|
6787
|
+
(new_: PolkadotPrimitivesV7AsyncBackingAsyncBackingParams) => ChainSubmittableExtrinsic<
|
|
7119
6788
|
{
|
|
7120
6789
|
pallet: 'Configuration';
|
|
7121
6790
|
palletCall: {
|
|
7122
6791
|
name: 'SetAsyncBackingParams';
|
|
7123
|
-
params: { new:
|
|
6792
|
+
params: { new: PolkadotPrimitivesV7AsyncBackingAsyncBackingParams };
|
|
7124
6793
|
};
|
|
7125
6794
|
},
|
|
7126
6795
|
ChainKnownTypes
|
|
@@ -7130,15 +6799,15 @@ export interface ChainTx<
|
|
|
7130
6799
|
/**
|
|
7131
6800
|
* Set PVF executor parameters.
|
|
7132
6801
|
*
|
|
7133
|
-
* @param {
|
|
6802
|
+
* @param {PolkadotPrimitivesV7ExecutorParams} new_
|
|
7134
6803
|
**/
|
|
7135
6804
|
setExecutorParams: GenericTxCall<
|
|
7136
|
-
(new_:
|
|
6805
|
+
(new_: PolkadotPrimitivesV7ExecutorParams) => ChainSubmittableExtrinsic<
|
|
7137
6806
|
{
|
|
7138
6807
|
pallet: 'Configuration';
|
|
7139
6808
|
palletCall: {
|
|
7140
6809
|
name: 'SetExecutorParams';
|
|
7141
|
-
params: { new:
|
|
6810
|
+
params: { new: PolkadotPrimitivesV7ExecutorParams };
|
|
7142
6811
|
};
|
|
7143
6812
|
},
|
|
7144
6813
|
ChainKnownTypes
|
|
@@ -7217,6 +6886,24 @@ export interface ChainTx<
|
|
|
7217
6886
|
>
|
|
7218
6887
|
>;
|
|
7219
6888
|
|
|
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
|
+
|
|
7220
6907
|
/**
|
|
7221
6908
|
* Set the minimum backing votes threshold.
|
|
7222
6909
|
*
|
|
@@ -7260,15 +6947,15 @@ export interface ChainTx<
|
|
|
7260
6947
|
/**
|
|
7261
6948
|
* Set approval-voting-params.
|
|
7262
6949
|
*
|
|
7263
|
-
* @param {
|
|
6950
|
+
* @param {PolkadotPrimitivesV7ApprovalVotingParams} new_
|
|
7264
6951
|
**/
|
|
7265
6952
|
setApprovalVotingParams: GenericTxCall<
|
|
7266
|
-
(new_:
|
|
6953
|
+
(new_: PolkadotPrimitivesV7ApprovalVotingParams) => ChainSubmittableExtrinsic<
|
|
7267
6954
|
{
|
|
7268
6955
|
pallet: 'Configuration';
|
|
7269
6956
|
palletCall: {
|
|
7270
6957
|
name: 'SetApprovalVotingParams';
|
|
7271
|
-
params: { new:
|
|
6958
|
+
params: { new: PolkadotPrimitivesV7ApprovalVotingParams };
|
|
7272
6959
|
};
|
|
7273
6960
|
},
|
|
7274
6961
|
ChainKnownTypes
|
|
@@ -7278,15 +6965,15 @@ export interface ChainTx<
|
|
|
7278
6965
|
/**
|
|
7279
6966
|
* Set scheduler-params.
|
|
7280
6967
|
*
|
|
7281
|
-
* @param {
|
|
6968
|
+
* @param {PolkadotPrimitivesVstagingSchedulerParams} new_
|
|
7282
6969
|
**/
|
|
7283
6970
|
setSchedulerParams: GenericTxCall<
|
|
7284
|
-
(new_:
|
|
6971
|
+
(new_: PolkadotPrimitivesVstagingSchedulerParams) => ChainSubmittableExtrinsic<
|
|
7285
6972
|
{
|
|
7286
6973
|
pallet: 'Configuration';
|
|
7287
6974
|
palletCall: {
|
|
7288
6975
|
name: 'SetSchedulerParams';
|
|
7289
|
-
params: { new:
|
|
6976
|
+
params: { new: PolkadotPrimitivesVstagingSchedulerParams };
|
|
7290
6977
|
};
|
|
7291
6978
|
},
|
|
7292
6979
|
ChainKnownTypes
|
|
@@ -7323,15 +7010,15 @@ export interface ChainTx<
|
|
|
7323
7010
|
/**
|
|
7324
7011
|
* Enter the paras inherent. This will process bitfields and backed candidates.
|
|
7325
7012
|
*
|
|
7326
|
-
* @param {
|
|
7013
|
+
* @param {PolkadotPrimitivesV7InherentData} data
|
|
7327
7014
|
**/
|
|
7328
7015
|
enter: GenericTxCall<
|
|
7329
|
-
(data:
|
|
7016
|
+
(data: PolkadotPrimitivesV7InherentData) => ChainSubmittableExtrinsic<
|
|
7330
7017
|
{
|
|
7331
7018
|
pallet: 'ParaInherent';
|
|
7332
7019
|
palletCall: {
|
|
7333
7020
|
name: 'Enter';
|
|
7334
|
-
params: { data:
|
|
7021
|
+
params: { data: PolkadotPrimitivesV7InherentData };
|
|
7335
7022
|
};
|
|
7336
7023
|
},
|
|
7337
7024
|
ChainKnownTypes
|
|
@@ -7527,21 +7214,21 @@ export interface ChainTx<
|
|
|
7527
7214
|
* Includes a statement for a PVF pre-checking vote. Potentially, finalizes the vote and
|
|
7528
7215
|
* enacts the results if that was the last vote before achieving the supermajority.
|
|
7529
7216
|
*
|
|
7530
|
-
* @param {
|
|
7531
|
-
* @param {
|
|
7217
|
+
* @param {PolkadotPrimitivesV7PvfCheckStatement} stmt
|
|
7218
|
+
* @param {PolkadotPrimitivesV7ValidatorAppSignature} signature
|
|
7532
7219
|
**/
|
|
7533
7220
|
includePvfCheckStatement: GenericTxCall<
|
|
7534
7221
|
(
|
|
7535
|
-
stmt:
|
|
7536
|
-
signature:
|
|
7222
|
+
stmt: PolkadotPrimitivesV7PvfCheckStatement,
|
|
7223
|
+
signature: PolkadotPrimitivesV7ValidatorAppSignature,
|
|
7537
7224
|
) => ChainSubmittableExtrinsic<
|
|
7538
7225
|
{
|
|
7539
7226
|
pallet: 'Paras';
|
|
7540
7227
|
palletCall: {
|
|
7541
7228
|
name: 'IncludePvfCheckStatement';
|
|
7542
7229
|
params: {
|
|
7543
|
-
stmt:
|
|
7544
|
-
signature:
|
|
7230
|
+
stmt: PolkadotPrimitivesV7PvfCheckStatement;
|
|
7231
|
+
signature: PolkadotPrimitivesV7ValidatorAppSignature;
|
|
7545
7232
|
};
|
|
7546
7233
|
};
|
|
7547
7234
|
},
|
|
@@ -7571,91 +7258,6 @@ export interface ChainTx<
|
|
|
7571
7258
|
>
|
|
7572
7259
|
>;
|
|
7573
7260
|
|
|
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
7261
|
/**
|
|
7660
7262
|
* Generic pallet tx call
|
|
7661
7263
|
**/
|
|
@@ -8045,19 +7647,19 @@ export interface ChainTx<
|
|
|
8045
7647
|
parasSlashing: {
|
|
8046
7648
|
/**
|
|
8047
7649
|
*
|
|
8048
|
-
* @param {
|
|
7650
|
+
* @param {PolkadotPrimitivesV7SlashingDisputeProof} disputeProof
|
|
8049
7651
|
* @param {SpSessionMembershipProof} keyOwnerProof
|
|
8050
7652
|
**/
|
|
8051
7653
|
reportDisputeLostUnsigned: GenericTxCall<
|
|
8052
7654
|
(
|
|
8053
|
-
disputeProof:
|
|
7655
|
+
disputeProof: PolkadotPrimitivesV7SlashingDisputeProof,
|
|
8054
7656
|
keyOwnerProof: SpSessionMembershipProof,
|
|
8055
7657
|
) => ChainSubmittableExtrinsic<
|
|
8056
7658
|
{
|
|
8057
7659
|
pallet: 'ParasSlashing';
|
|
8058
7660
|
palletCall: {
|
|
8059
7661
|
name: 'ReportDisputeLostUnsigned';
|
|
8060
|
-
params: { disputeProof:
|
|
7662
|
+
params: { disputeProof: PolkadotPrimitivesV7SlashingDisputeProof; keyOwnerProof: SpSessionMembershipProof };
|
|
8061
7663
|
};
|
|
8062
7664
|
},
|
|
8063
7665
|
ChainKnownTypes
|
|
@@ -8092,8 +7694,6 @@ export interface ChainTx<
|
|
|
8092
7694
|
*
|
|
8093
7695
|
* @param {bigint} maxAmount
|
|
8094
7696
|
* @param {PolkadotParachainPrimitivesPrimitivesId} paraId
|
|
8095
|
-
*
|
|
8096
|
-
* @deprecated This will be removed in favor of using `place_order_with_credits`
|
|
8097
7697
|
**/
|
|
8098
7698
|
placeOrderAllowDeath: GenericTxCall<
|
|
8099
7699
|
(
|
|
@@ -8130,8 +7730,6 @@ export interface ChainTx<
|
|
|
8130
7730
|
*
|
|
8131
7731
|
* @param {bigint} maxAmount
|
|
8132
7732
|
* @param {PolkadotParachainPrimitivesPrimitivesId} paraId
|
|
8133
|
-
*
|
|
8134
|
-
* @deprecated This will be removed in favor of using `place_order_with_credits`
|
|
8135
7733
|
**/
|
|
8136
7734
|
placeOrderKeepAlive: GenericTxCall<
|
|
8137
7735
|
(
|
|
@@ -8149,44 +7747,6 @@ export interface ChainTx<
|
|
|
8149
7747
|
>
|
|
8150
7748
|
>;
|
|
8151
7749
|
|
|
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
7750
|
/**
|
|
8191
7751
|
* Generic pallet tx call
|
|
8192
7752
|
**/
|
|
@@ -8983,27 +8543,6 @@ export interface ChainTx<
|
|
|
8983
8543
|
>
|
|
8984
8544
|
>;
|
|
8985
8545
|
|
|
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
8546
|
/**
|
|
9008
8547
|
* Receive instructions from the `ExternalBrokerOrigin`, detailing how a specific core is
|
|
9009
8548
|
* to be used.
|
|
@@ -9280,8 +8819,6 @@ export interface ChainTx<
|
|
|
9280
8819
|
* @param {XcmVersionedLocation} beneficiary
|
|
9281
8820
|
* @param {XcmVersionedAssets} assets
|
|
9282
8821
|
* @param {number} feeAssetItem
|
|
9283
|
-
*
|
|
9284
|
-
* @deprecated This extrinsic uses `WeightLimit::Unlimited`, please migrate to `limited_teleport_assets` or `transfer_assets`
|
|
9285
8822
|
**/
|
|
9286
8823
|
teleportAssets: GenericTxCall<
|
|
9287
8824
|
(
|
|
@@ -9342,8 +8879,6 @@ export interface ChainTx<
|
|
|
9342
8879
|
* @param {XcmVersionedLocation} beneficiary
|
|
9343
8880
|
* @param {XcmVersionedAssets} assets
|
|
9344
8881
|
* @param {number} feeAssetItem
|
|
9345
|
-
*
|
|
9346
|
-
* @deprecated This extrinsic uses `WeightLimit::Unlimited`, please migrate to `limited_reserve_transfer_assets` or `transfer_assets`
|
|
9347
8882
|
**/
|
|
9348
8883
|
reserveTransferAssets: GenericTxCall<
|
|
9349
8884
|
(
|
|
@@ -9405,19 +8940,19 @@ export interface ChainTx<
|
|
|
9405
8940
|
* - `location`: The destination that is being described.
|
|
9406
8941
|
* - `xcm_version`: The latest version of XCM that `location` supports.
|
|
9407
8942
|
*
|
|
9408
|
-
* @param {
|
|
8943
|
+
* @param {StagingXcmV4Location} location
|
|
9409
8944
|
* @param {number} version
|
|
9410
8945
|
**/
|
|
9411
8946
|
forceXcmVersion: GenericTxCall<
|
|
9412
8947
|
(
|
|
9413
|
-
location:
|
|
8948
|
+
location: StagingXcmV4Location,
|
|
9414
8949
|
version: number,
|
|
9415
8950
|
) => ChainSubmittableExtrinsic<
|
|
9416
8951
|
{
|
|
9417
8952
|
pallet: 'XcmPallet';
|
|
9418
8953
|
palletCall: {
|
|
9419
8954
|
name: 'ForceXcmVersion';
|
|
9420
|
-
params: { location:
|
|
8955
|
+
params: { location: StagingXcmV4Location; version: number };
|
|
9421
8956
|
};
|
|
9422
8957
|
},
|
|
9423
8958
|
ChainKnownTypes
|
|
@@ -9805,74 +9340,6 @@ export interface ChainTx<
|
|
|
9805
9340
|
>
|
|
9806
9341
|
>;
|
|
9807
9342
|
|
|
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
9343
|
/**
|
|
9877
9344
|
* Generic pallet tx call
|
|
9878
9345
|
**/
|
|
@@ -10045,7 +9512,7 @@ export interface ChainTx<
|
|
|
10045
9512
|
* @param {SpConsensusBeefyDoubleVotingProof} equivocationProof
|
|
10046
9513
|
* @param {SpSessionMembershipProof} keyOwnerProof
|
|
10047
9514
|
**/
|
|
10048
|
-
|
|
9515
|
+
reportEquivocation: GenericTxCall<
|
|
10049
9516
|
(
|
|
10050
9517
|
equivocationProof: SpConsensusBeefyDoubleVotingProof,
|
|
10051
9518
|
keyOwnerProof: SpSessionMembershipProof,
|
|
@@ -10053,7 +9520,7 @@ export interface ChainTx<
|
|
|
10053
9520
|
{
|
|
10054
9521
|
pallet: 'Beefy';
|
|
10055
9522
|
palletCall: {
|
|
10056
|
-
name: '
|
|
9523
|
+
name: 'ReportEquivocation';
|
|
10057
9524
|
params: { equivocationProof: SpConsensusBeefyDoubleVotingProof; keyOwnerProof: SpSessionMembershipProof };
|
|
10058
9525
|
};
|
|
10059
9526
|
},
|
|
@@ -10075,7 +9542,7 @@ export interface ChainTx<
|
|
|
10075
9542
|
* @param {SpConsensusBeefyDoubleVotingProof} equivocationProof
|
|
10076
9543
|
* @param {SpSessionMembershipProof} keyOwnerProof
|
|
10077
9544
|
**/
|
|
10078
|
-
|
|
9545
|
+
reportEquivocationUnsigned: GenericTxCall<
|
|
10079
9546
|
(
|
|
10080
9547
|
equivocationProof: SpConsensusBeefyDoubleVotingProof,
|
|
10081
9548
|
keyOwnerProof: SpSessionMembershipProof,
|
|
@@ -10083,7 +9550,7 @@ export interface ChainTx<
|
|
|
10083
9550
|
{
|
|
10084
9551
|
pallet: 'Beefy';
|
|
10085
9552
|
palletCall: {
|
|
10086
|
-
name: '
|
|
9553
|
+
name: 'ReportEquivocationUnsigned';
|
|
10087
9554
|
params: { equivocationProof: SpConsensusBeefyDoubleVotingProof; keyOwnerProof: SpSessionMembershipProof };
|
|
10088
9555
|
};
|
|
10089
9556
|
},
|
|
@@ -10113,119 +9580,7 @@ export interface ChainTx<
|
|
|
10113
9580
|
>;
|
|
10114
9581
|
|
|
10115
9582
|
/**
|
|
10116
|
-
*
|
|
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
|
-
/**
|
|
10228
|
-
* Generic pallet tx call
|
|
9583
|
+
* Generic pallet tx call
|
|
10229
9584
|
**/
|
|
10230
9585
|
[callName: string]: GenericTxCall<TxCall<ChainKnownTypes>>;
|
|
10231
9586
|
};
|
|
@@ -10490,353 +9845,6 @@ export interface ChainTx<
|
|
|
10490
9845
|
>
|
|
10491
9846
|
>;
|
|
10492
9847
|
|
|
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
9848
|
/**
|
|
10841
9849
|
* Generic pallet tx call
|
|
10842
9850
|
**/
|