@dedot/chaintypes 0.143.0 → 0.145.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 +67 -7
- package/paseo/errors.d.ts +164 -4
- package/paseo/events.d.ts +490 -4
- package/paseo/index.d.ts +1 -1
- package/paseo/query.d.ts +308 -19
- package/paseo/runtime.d.ts +22 -0
- package/paseo/tx.d.ts +682 -31
- package/paseo/types.d.ts +1406 -129
- package/paseo-people/consts.d.ts +38 -1
- package/paseo-people/errors.d.ts +18 -12
- package/paseo-people/events.d.ts +110 -2
- package/paseo-people/index.d.ts +1 -1
- package/paseo-people/query.d.ts +36 -6
- package/paseo-people/runtime.d.ts +1 -1
- package/paseo-people/tx.d.ts +204 -0
- package/paseo-people/types.d.ts +312 -24
- package/polkadot-asset-hub/consts.d.ts +38 -2
- package/polkadot-asset-hub/errors.d.ts +48 -12
- package/polkadot-asset-hub/events.d.ts +110 -2
- package/polkadot-asset-hub/index.d.ts +1 -1
- package/polkadot-asset-hub/query.d.ts +36 -6
- package/polkadot-asset-hub/runtime.d.ts +1 -1
- package/polkadot-asset-hub/tx.d.ts +231 -0
- package/polkadot-asset-hub/types.d.ts +383 -30
package/paseo/tx.d.ts
CHANGED
|
@@ -65,6 +65,8 @@ import type {
|
|
|
65
65
|
PalletNominationPoolsClaimPermission,
|
|
66
66
|
PalletNominationPoolsCommissionChangeRate,
|
|
67
67
|
PalletNominationPoolsCommissionClaimPermission,
|
|
68
|
+
PalletStakingAsyncRcClientValidatorSetReport,
|
|
69
|
+
PalletStakingAsyncAhClientOperatingMode,
|
|
68
70
|
PolkadotPrimitivesV8AsyncBackingAsyncBackingParams,
|
|
69
71
|
PolkadotPrimitivesV8ExecutorParams,
|
|
70
72
|
PolkadotPrimitivesV8ApprovalVotingParams,
|
|
@@ -77,7 +79,7 @@ import type {
|
|
|
77
79
|
PolkadotPrimitivesV8PvfCheckStatement,
|
|
78
80
|
PolkadotPrimitivesV8ValidatorAppSignature,
|
|
79
81
|
PolkadotParachainPrimitivesPrimitivesHrmpChannelId,
|
|
80
|
-
|
|
82
|
+
PolkadotPrimitivesVstagingDisputeProof,
|
|
81
83
|
SpRuntimeMultiSigner,
|
|
82
84
|
PalletBrokerCoretimeInterfaceCoreAssignment,
|
|
83
85
|
PolkadotRuntimeParachainsAssignerCoretimePartsOf57600,
|
|
@@ -95,6 +97,9 @@ import type {
|
|
|
95
97
|
SpConsensusBeefyForkVotingProof,
|
|
96
98
|
SpConsensusBeefyFutureBlockVotingProof,
|
|
97
99
|
PolkadotRuntimeParachainsParasParaGenesisArgs,
|
|
100
|
+
PalletRcMigratorMigrationStage,
|
|
101
|
+
StagingXcmV5Response,
|
|
102
|
+
PalletRcMigratorQueuePriority,
|
|
98
103
|
} from './types.js';
|
|
99
104
|
|
|
100
105
|
export type ChainSubmittableExtrinsic<
|
|
@@ -745,7 +750,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
745
750
|
>;
|
|
746
751
|
|
|
747
752
|
/**
|
|
748
|
-
* Ensure that the
|
|
753
|
+
* Ensure that the bulk of pre-images is upgraded.
|
|
749
754
|
*
|
|
750
755
|
* The caller pays no fee if at least 90% of pre-images were successfully updated.
|
|
751
756
|
*
|
|
@@ -1068,6 +1073,34 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
1068
1073
|
>
|
|
1069
1074
|
>;
|
|
1070
1075
|
|
|
1076
|
+
/**
|
|
1077
|
+
* Poke the deposit reserved for an index.
|
|
1078
|
+
*
|
|
1079
|
+
* The dispatch origin for this call must be _Signed_ and the signing account must have a
|
|
1080
|
+
* non-frozen account `index`.
|
|
1081
|
+
*
|
|
1082
|
+
* The transaction fees is waived if the deposit is changed after poking/reconsideration.
|
|
1083
|
+
*
|
|
1084
|
+
* - `index`: the index whose deposit is to be poked/reconsidered.
|
|
1085
|
+
*
|
|
1086
|
+
* Emits `DepositPoked` if successful.
|
|
1087
|
+
*
|
|
1088
|
+
* @param {number} index
|
|
1089
|
+
**/
|
|
1090
|
+
pokeDeposit: GenericTxCall<
|
|
1091
|
+
Rv,
|
|
1092
|
+
(index: number) => ChainSubmittableExtrinsic<
|
|
1093
|
+
Rv,
|
|
1094
|
+
{
|
|
1095
|
+
pallet: 'Indices';
|
|
1096
|
+
palletCall: {
|
|
1097
|
+
name: 'PokeDeposit';
|
|
1098
|
+
params: { index: number };
|
|
1099
|
+
};
|
|
1100
|
+
}
|
|
1101
|
+
>
|
|
1102
|
+
>;
|
|
1103
|
+
|
|
1071
1104
|
/**
|
|
1072
1105
|
* Generic pallet tx call
|
|
1073
1106
|
**/
|
|
@@ -1413,6 +1446,8 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
1413
1446
|
* period ends. If this leaves an amount actively bonded less than
|
|
1414
1447
|
* [`asset::existential_deposit`], then it is increased to the full amount.
|
|
1415
1448
|
*
|
|
1449
|
+
* The stash may be chilled if the ledger total amount falls to 0 after unbonding.
|
|
1450
|
+
*
|
|
1416
1451
|
* The dispatch origin for this call must be _Signed_ by the controller, not the stash.
|
|
1417
1452
|
*
|
|
1418
1453
|
* Once the unlock period is done, you can call `withdraw_unbonded` to actually move
|
|
@@ -1838,6 +1873,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
1838
1873
|
* Can be called by the `T::AdminOrigin`.
|
|
1839
1874
|
*
|
|
1840
1875
|
* Parameters: era and indices of the slashes for that era to kill.
|
|
1876
|
+
* They **must** be sorted in ascending order, *and* unique.
|
|
1841
1877
|
*
|
|
1842
1878
|
* @param {number} era
|
|
1843
1879
|
* @param {Array<number>} slashIndices
|
|
@@ -2265,29 +2301,75 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
2265
2301
|
>;
|
|
2266
2302
|
|
|
2267
2303
|
/**
|
|
2268
|
-
*
|
|
2304
|
+
* Removes the legacy Staking locks if they exist.
|
|
2305
|
+
*
|
|
2306
|
+
* This removes the legacy lock on the stake with [`Config::OldCurrency`] and creates a
|
|
2307
|
+
* hold on it if needed. If all stake cannot be held, the best effort is made to hold as
|
|
2308
|
+
* much as possible. The remaining stake is forced withdrawn from the ledger.
|
|
2269
2309
|
*
|
|
2270
|
-
*
|
|
2271
|
-
* exceeds their actual staked funds. This situation can arise due to cases such as
|
|
2272
|
-
* external slashing by another pallet, leading to an inconsistency between the ledger
|
|
2273
|
-
* and the actual stake.
|
|
2310
|
+
* The fee is waived if the migration is successful.
|
|
2274
2311
|
*
|
|
2275
2312
|
* @param {AccountId32Like} stash
|
|
2276
2313
|
**/
|
|
2277
|
-
|
|
2314
|
+
migrateCurrency: GenericTxCall<
|
|
2278
2315
|
Rv,
|
|
2279
2316
|
(stash: AccountId32Like) => ChainSubmittableExtrinsic<
|
|
2280
2317
|
Rv,
|
|
2281
2318
|
{
|
|
2282
2319
|
pallet: 'Staking';
|
|
2283
2320
|
palletCall: {
|
|
2284
|
-
name: '
|
|
2321
|
+
name: 'MigrateCurrency';
|
|
2285
2322
|
params: { stash: AccountId32Like };
|
|
2286
2323
|
};
|
|
2287
2324
|
}
|
|
2288
2325
|
>
|
|
2289
2326
|
>;
|
|
2290
2327
|
|
|
2328
|
+
/**
|
|
2329
|
+
* This function allows governance to manually slash a validator and is a
|
|
2330
|
+
* **fallback mechanism**.
|
|
2331
|
+
*
|
|
2332
|
+
* The dispatch origin must be `T::AdminOrigin`.
|
|
2333
|
+
*
|
|
2334
|
+
* ## Parameters
|
|
2335
|
+
* - `validator_stash` - The stash account of the validator to slash.
|
|
2336
|
+
* - `era` - The era in which the validator was in the active set.
|
|
2337
|
+
* - `slash_fraction` - The percentage of the stake to slash, expressed as a Perbill.
|
|
2338
|
+
*
|
|
2339
|
+
* ## Behavior
|
|
2340
|
+
*
|
|
2341
|
+
* The slash will be applied using the standard slashing mechanics, respecting the
|
|
2342
|
+
* configured `SlashDeferDuration`.
|
|
2343
|
+
*
|
|
2344
|
+
* This means:
|
|
2345
|
+
* - If the validator was already slashed by a higher percentage for the same era, this
|
|
2346
|
+
* slash will have no additional effect.
|
|
2347
|
+
* - If the validator was previously slashed by a lower percentage, only the difference
|
|
2348
|
+
* will be applied.
|
|
2349
|
+
* - The slash will be deferred by `SlashDeferDuration` eras before being enacted.
|
|
2350
|
+
*
|
|
2351
|
+
* @param {AccountId32Like} validatorStash
|
|
2352
|
+
* @param {number} era
|
|
2353
|
+
* @param {Perbill} slashFraction
|
|
2354
|
+
**/
|
|
2355
|
+
manualSlash: GenericTxCall<
|
|
2356
|
+
Rv,
|
|
2357
|
+
(
|
|
2358
|
+
validatorStash: AccountId32Like,
|
|
2359
|
+
era: number,
|
|
2360
|
+
slashFraction: Perbill,
|
|
2361
|
+
) => ChainSubmittableExtrinsic<
|
|
2362
|
+
Rv,
|
|
2363
|
+
{
|
|
2364
|
+
pallet: 'Staking';
|
|
2365
|
+
palletCall: {
|
|
2366
|
+
name: 'ManualSlash';
|
|
2367
|
+
params: { validatorStash: AccountId32Like; era: number; slashFraction: Perbill };
|
|
2368
|
+
};
|
|
2369
|
+
}
|
|
2370
|
+
>
|
|
2371
|
+
>;
|
|
2372
|
+
|
|
2291
2373
|
/**
|
|
2292
2374
|
* Generic pallet tx call
|
|
2293
2375
|
**/
|
|
@@ -3913,6 +3995,78 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
3913
3995
|
>
|
|
3914
3996
|
>;
|
|
3915
3997
|
|
|
3998
|
+
/**
|
|
3999
|
+
* Dispatch a fallback call in the event the main call fails to execute.
|
|
4000
|
+
* May be called from any origin except `None`.
|
|
4001
|
+
*
|
|
4002
|
+
* This function first attempts to dispatch the `main` call.
|
|
4003
|
+
* If the `main` call fails, the `fallback` is attemted.
|
|
4004
|
+
* if the fallback is successfully dispatched, the weights of both calls
|
|
4005
|
+
* are accumulated and an event containing the main call error is deposited.
|
|
4006
|
+
*
|
|
4007
|
+
* In the event of a fallback failure the whole call fails
|
|
4008
|
+
* with the weights returned.
|
|
4009
|
+
*
|
|
4010
|
+
* - `main`: The main call to be dispatched. This is the primary action to execute.
|
|
4011
|
+
* - `fallback`: The fallback call to be dispatched in case the `main` call fails.
|
|
4012
|
+
*
|
|
4013
|
+
* ## Dispatch Logic
|
|
4014
|
+
* - If the origin is `root`, both the main and fallback calls are executed without
|
|
4015
|
+
* applying any origin filters.
|
|
4016
|
+
* - If the origin is not `root`, the origin filter is applied to both the `main` and
|
|
4017
|
+
* `fallback` calls.
|
|
4018
|
+
*
|
|
4019
|
+
* ## Use Case
|
|
4020
|
+
* - Some use cases might involve submitting a `batch` type call in either main, fallback
|
|
4021
|
+
* or both.
|
|
4022
|
+
*
|
|
4023
|
+
* @param {PaseoRuntimeRuntimeCallLike} main
|
|
4024
|
+
* @param {PaseoRuntimeRuntimeCallLike} fallback
|
|
4025
|
+
**/
|
|
4026
|
+
ifElse: GenericTxCall<
|
|
4027
|
+
Rv,
|
|
4028
|
+
(
|
|
4029
|
+
main: PaseoRuntimeRuntimeCallLike,
|
|
4030
|
+
fallback: PaseoRuntimeRuntimeCallLike,
|
|
4031
|
+
) => ChainSubmittableExtrinsic<
|
|
4032
|
+
Rv,
|
|
4033
|
+
{
|
|
4034
|
+
pallet: 'Utility';
|
|
4035
|
+
palletCall: {
|
|
4036
|
+
name: 'IfElse';
|
|
4037
|
+
params: { main: PaseoRuntimeRuntimeCallLike; fallback: PaseoRuntimeRuntimeCallLike };
|
|
4038
|
+
};
|
|
4039
|
+
}
|
|
4040
|
+
>
|
|
4041
|
+
>;
|
|
4042
|
+
|
|
4043
|
+
/**
|
|
4044
|
+
* Dispatches a function call with a provided origin.
|
|
4045
|
+
*
|
|
4046
|
+
* Almost the same as [`Pallet::dispatch_as`] but forwards any error of the inner call.
|
|
4047
|
+
*
|
|
4048
|
+
* The dispatch origin for this call must be _Root_.
|
|
4049
|
+
*
|
|
4050
|
+
* @param {PaseoRuntimeOriginCaller} asOrigin
|
|
4051
|
+
* @param {PaseoRuntimeRuntimeCallLike} call
|
|
4052
|
+
**/
|
|
4053
|
+
dispatchAsFallible: GenericTxCall<
|
|
4054
|
+
Rv,
|
|
4055
|
+
(
|
|
4056
|
+
asOrigin: PaseoRuntimeOriginCaller,
|
|
4057
|
+
call: PaseoRuntimeRuntimeCallLike,
|
|
4058
|
+
) => ChainSubmittableExtrinsic<
|
|
4059
|
+
Rv,
|
|
4060
|
+
{
|
|
4061
|
+
pallet: 'Utility';
|
|
4062
|
+
palletCall: {
|
|
4063
|
+
name: 'DispatchAsFallible';
|
|
4064
|
+
params: { asOrigin: PaseoRuntimeOriginCaller; call: PaseoRuntimeRuntimeCallLike };
|
|
4065
|
+
};
|
|
4066
|
+
}
|
|
4067
|
+
>
|
|
4068
|
+
>;
|
|
4069
|
+
|
|
3916
4070
|
/**
|
|
3917
4071
|
* Generic pallet tx call
|
|
3918
4072
|
**/
|
|
@@ -4280,6 +4434,30 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
4280
4434
|
>
|
|
4281
4435
|
>;
|
|
4282
4436
|
|
|
4437
|
+
/**
|
|
4438
|
+
* Poke / Adjust deposits made for proxies and announcements based on current values.
|
|
4439
|
+
* This can be used by accounts to possibly lower their locked amount.
|
|
4440
|
+
*
|
|
4441
|
+
* The dispatch origin for this call must be _Signed_.
|
|
4442
|
+
*
|
|
4443
|
+
* The transaction fee is waived if the deposit amount has changed.
|
|
4444
|
+
*
|
|
4445
|
+
* Emits `DepositPoked` if successful.
|
|
4446
|
+
*
|
|
4447
|
+
**/
|
|
4448
|
+
pokeDeposit: GenericTxCall<
|
|
4449
|
+
Rv,
|
|
4450
|
+
() => ChainSubmittableExtrinsic<
|
|
4451
|
+
Rv,
|
|
4452
|
+
{
|
|
4453
|
+
pallet: 'Proxy';
|
|
4454
|
+
palletCall: {
|
|
4455
|
+
name: 'PokeDeposit';
|
|
4456
|
+
};
|
|
4457
|
+
}
|
|
4458
|
+
>
|
|
4459
|
+
>;
|
|
4460
|
+
|
|
4283
4461
|
/**
|
|
4284
4462
|
* Generic pallet tx call
|
|
4285
4463
|
**/
|
|
@@ -4512,6 +4690,43 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
4512
4690
|
>
|
|
4513
4691
|
>;
|
|
4514
4692
|
|
|
4693
|
+
/**
|
|
4694
|
+
* Poke the deposit reserved for an existing multisig operation.
|
|
4695
|
+
*
|
|
4696
|
+
* The dispatch origin for this call must be _Signed_ and must be the original depositor of
|
|
4697
|
+
* the multisig operation.
|
|
4698
|
+
*
|
|
4699
|
+
* The transaction fee is waived if the deposit amount has changed.
|
|
4700
|
+
*
|
|
4701
|
+
* - `threshold`: The total number of approvals needed for this multisig.
|
|
4702
|
+
* - `other_signatories`: The accounts (other than the sender) who are part of the
|
|
4703
|
+
* multisig.
|
|
4704
|
+
* - `call_hash`: The hash of the call this deposit is reserved for.
|
|
4705
|
+
*
|
|
4706
|
+
* Emits `DepositPoked` if successful.
|
|
4707
|
+
*
|
|
4708
|
+
* @param {number} threshold
|
|
4709
|
+
* @param {Array<AccountId32Like>} otherSignatories
|
|
4710
|
+
* @param {FixedBytes<32>} callHash
|
|
4711
|
+
**/
|
|
4712
|
+
pokeDeposit: GenericTxCall<
|
|
4713
|
+
Rv,
|
|
4714
|
+
(
|
|
4715
|
+
threshold: number,
|
|
4716
|
+
otherSignatories: Array<AccountId32Like>,
|
|
4717
|
+
callHash: FixedBytes<32>,
|
|
4718
|
+
) => ChainSubmittableExtrinsic<
|
|
4719
|
+
Rv,
|
|
4720
|
+
{
|
|
4721
|
+
pallet: 'Multisig';
|
|
4722
|
+
palletCall: {
|
|
4723
|
+
name: 'PokeDeposit';
|
|
4724
|
+
params: { threshold: number; otherSignatories: Array<AccountId32Like>; callHash: FixedBytes<32> };
|
|
4725
|
+
};
|
|
4726
|
+
}
|
|
4727
|
+
>
|
|
4728
|
+
>;
|
|
4729
|
+
|
|
4515
4730
|
/**
|
|
4516
4731
|
* Generic pallet tx call
|
|
4517
4732
|
**/
|
|
@@ -5264,21 +5479,15 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
5264
5479
|
* This can only be called when [`Phase::Emergency`] is enabled, as an alternative to
|
|
5265
5480
|
* calling [`Call::set_emergency_election_result`].
|
|
5266
5481
|
*
|
|
5267
|
-
* @param {number | undefined} maybeMaxVoters
|
|
5268
|
-
* @param {number | undefined} maybeMaxTargets
|
|
5269
5482
|
**/
|
|
5270
5483
|
governanceFallback: GenericTxCall<
|
|
5271
5484
|
Rv,
|
|
5272
|
-
(
|
|
5273
|
-
maybeMaxVoters: number | undefined,
|
|
5274
|
-
maybeMaxTargets: number | undefined,
|
|
5275
|
-
) => ChainSubmittableExtrinsic<
|
|
5485
|
+
() => ChainSubmittableExtrinsic<
|
|
5276
5486
|
Rv,
|
|
5277
5487
|
{
|
|
5278
5488
|
pallet: 'ElectionProviderMultiPhase';
|
|
5279
5489
|
palletCall: {
|
|
5280
5490
|
name: 'GovernanceFallback';
|
|
5281
|
-
params: { maybeMaxVoters: number | undefined; maybeMaxTargets: number | undefined };
|
|
5282
5491
|
};
|
|
5283
5492
|
}
|
|
5284
5493
|
>
|
|
@@ -5384,8 +5593,9 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
5384
5593
|
**/
|
|
5385
5594
|
nominationPools: {
|
|
5386
5595
|
/**
|
|
5387
|
-
* Stake funds with a pool. The amount to bond is
|
|
5388
|
-
*
|
|
5596
|
+
* Stake funds with a pool. The amount to bond is delegated (or transferred based on
|
|
5597
|
+
* [`adapter::StakeStrategyType`]) from the member to the pool account and immediately
|
|
5598
|
+
* increases the pool's bond.
|
|
5389
5599
|
*
|
|
5390
5600
|
* The method of transferring the amount to the pool account is determined by
|
|
5391
5601
|
* [`adapter::StakeStrategyType`]. If the pool is configured to use
|
|
@@ -5683,13 +5893,13 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
5683
5893
|
* The dispatch origin of this call must be signed by the pool nominator or the pool
|
|
5684
5894
|
* root role.
|
|
5685
5895
|
*
|
|
5686
|
-
* This directly
|
|
5687
|
-
*
|
|
5896
|
+
* This directly forwards the call to an implementation of `StakingInterface` (e.g.,
|
|
5897
|
+
* `pallet-staking`) through [`Config::StakeAdapter`], on behalf of the bonded pool.
|
|
5688
5898
|
*
|
|
5689
5899
|
* # Note
|
|
5690
5900
|
*
|
|
5691
|
-
* In addition to a `root` or `nominator` role of `origin`, pool's depositor needs to
|
|
5692
|
-
* at least `depositor_min_bond` in the pool to start nominating.
|
|
5901
|
+
* In addition to a `root` or `nominator` role of `origin`, the pool's depositor needs to
|
|
5902
|
+
* have at least `depositor_min_bond` in the pool to start nominating.
|
|
5693
5903
|
*
|
|
5694
5904
|
* @param {number} poolId
|
|
5695
5905
|
* @param {Array<AccountId32Like>} validators
|
|
@@ -5861,6 +6071,9 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
5861
6071
|
* The dispatch origin of this call can be signed by the pool nominator or the pool
|
|
5862
6072
|
* root role, same as [`Pallet::nominate`].
|
|
5863
6073
|
*
|
|
6074
|
+
* This directly forwards the call to an implementation of `StakingInterface` (e.g.,
|
|
6075
|
+
* `pallet-staking`) through [`Config::StakeAdapter`], on behalf of the bonded pool.
|
|
6076
|
+
*
|
|
5864
6077
|
* Under certain conditions, this call can be dispatched permissionlessly (i.e. by any
|
|
5865
6078
|
* account).
|
|
5866
6079
|
*
|
|
@@ -5869,9 +6082,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
5869
6082
|
* are unable to unbond.
|
|
5870
6083
|
*
|
|
5871
6084
|
* # Conditions for permissioned dispatch:
|
|
5872
|
-
* * The caller
|
|
5873
|
-
* This directly forward the call to the staking pallet, on behalf of the pool bonded
|
|
5874
|
-
* account.
|
|
6085
|
+
* * The caller is the pool's nominator or root.
|
|
5875
6086
|
*
|
|
5876
6087
|
* @param {number} poolId
|
|
5877
6088
|
**/
|
|
@@ -6050,9 +6261,20 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
6050
6261
|
/**
|
|
6051
6262
|
* Claim pending commission.
|
|
6052
6263
|
*
|
|
6053
|
-
* The
|
|
6054
|
-
*
|
|
6055
|
-
*
|
|
6264
|
+
* The `root` role of the pool is _always_ allowed to claim the pool's commission.
|
|
6265
|
+
*
|
|
6266
|
+
* If the pool has set `CommissionClaimPermission::Permissionless`, then any account can
|
|
6267
|
+
* trigger the process of claiming the pool's commission.
|
|
6268
|
+
*
|
|
6269
|
+
* If the pool has set its `CommissionClaimPermission` to `Account(acc)`, then only
|
|
6270
|
+
* accounts
|
|
6271
|
+
* * `acc`, and
|
|
6272
|
+
* * the pool's root account
|
|
6273
|
+
*
|
|
6274
|
+
* may call this extrinsic on behalf of the pool.
|
|
6275
|
+
*
|
|
6276
|
+
* Pending commissions are paid out and added to the total claimed commission.
|
|
6277
|
+
* The total pending commission is reset to zero.
|
|
6056
6278
|
*
|
|
6057
6279
|
* @param {number} poolId
|
|
6058
6280
|
**/
|
|
@@ -6323,6 +6545,69 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
6323
6545
|
**/
|
|
6324
6546
|
[callName: string]: GenericTxCall<Rv, TxCall<Rv>>;
|
|
6325
6547
|
};
|
|
6548
|
+
/**
|
|
6549
|
+
* Pallet `StakingAhClient`'s transaction calls
|
|
6550
|
+
**/
|
|
6551
|
+
stakingAhClient: {
|
|
6552
|
+
/**
|
|
6553
|
+
*
|
|
6554
|
+
* @param {PalletStakingAsyncRcClientValidatorSetReport} report
|
|
6555
|
+
**/
|
|
6556
|
+
validatorSet: GenericTxCall<
|
|
6557
|
+
Rv,
|
|
6558
|
+
(report: PalletStakingAsyncRcClientValidatorSetReport) => ChainSubmittableExtrinsic<
|
|
6559
|
+
Rv,
|
|
6560
|
+
{
|
|
6561
|
+
pallet: 'StakingAhClient';
|
|
6562
|
+
palletCall: {
|
|
6563
|
+
name: 'ValidatorSet';
|
|
6564
|
+
params: { report: PalletStakingAsyncRcClientValidatorSetReport };
|
|
6565
|
+
};
|
|
6566
|
+
}
|
|
6567
|
+
>
|
|
6568
|
+
>;
|
|
6569
|
+
|
|
6570
|
+
/**
|
|
6571
|
+
* Allows governance to force set the operating mode of the pallet.
|
|
6572
|
+
*
|
|
6573
|
+
* @param {PalletStakingAsyncAhClientOperatingMode} mode
|
|
6574
|
+
**/
|
|
6575
|
+
setMode: GenericTxCall<
|
|
6576
|
+
Rv,
|
|
6577
|
+
(mode: PalletStakingAsyncAhClientOperatingMode) => ChainSubmittableExtrinsic<
|
|
6578
|
+
Rv,
|
|
6579
|
+
{
|
|
6580
|
+
pallet: 'StakingAhClient';
|
|
6581
|
+
palletCall: {
|
|
6582
|
+
name: 'SetMode';
|
|
6583
|
+
params: { mode: PalletStakingAsyncAhClientOperatingMode };
|
|
6584
|
+
};
|
|
6585
|
+
}
|
|
6586
|
+
>
|
|
6587
|
+
>;
|
|
6588
|
+
|
|
6589
|
+
/**
|
|
6590
|
+
* manually do what this pallet was meant to do at the end of the migration.
|
|
6591
|
+
*
|
|
6592
|
+
**/
|
|
6593
|
+
forceOnMigrationEnd: GenericTxCall<
|
|
6594
|
+
Rv,
|
|
6595
|
+
() => ChainSubmittableExtrinsic<
|
|
6596
|
+
Rv,
|
|
6597
|
+
{
|
|
6598
|
+
pallet: 'StakingAhClient';
|
|
6599
|
+
palletCall: {
|
|
6600
|
+
name: 'ForceOnMigrationEnd';
|
|
6601
|
+
};
|
|
6602
|
+
}
|
|
6603
|
+
>
|
|
6604
|
+
>;
|
|
6605
|
+
|
|
6606
|
+
/**
|
|
6607
|
+
* Generic pallet tx call
|
|
6608
|
+
**/
|
|
6609
|
+
[callName: string]: GenericTxCall<Rv, TxCall<Rv>>;
|
|
6610
|
+
};
|
|
6326
6611
|
/**
|
|
6327
6612
|
* Pallet `Configuration`'s transaction calls
|
|
6328
6613
|
**/
|
|
@@ -7905,13 +8190,13 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7905
8190
|
parasSlashing: {
|
|
7906
8191
|
/**
|
|
7907
8192
|
*
|
|
7908
|
-
* @param {
|
|
8193
|
+
* @param {PolkadotPrimitivesVstagingDisputeProof} disputeProof
|
|
7909
8194
|
* @param {SpSessionMembershipProof} keyOwnerProof
|
|
7910
8195
|
**/
|
|
7911
8196
|
reportDisputeLostUnsigned: GenericTxCall<
|
|
7912
8197
|
Rv,
|
|
7913
8198
|
(
|
|
7914
|
-
disputeProof:
|
|
8199
|
+
disputeProof: PolkadotPrimitivesVstagingDisputeProof,
|
|
7915
8200
|
keyOwnerProof: SpSessionMembershipProof,
|
|
7916
8201
|
) => ChainSubmittableExtrinsic<
|
|
7917
8202
|
Rv,
|
|
@@ -7919,7 +8204,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7919
8204
|
pallet: 'ParasSlashing';
|
|
7920
8205
|
palletCall: {
|
|
7921
8206
|
name: 'ReportDisputeLostUnsigned';
|
|
7922
|
-
params: { disputeProof:
|
|
8207
|
+
params: { disputeProof: PolkadotPrimitivesVstagingDisputeProof; keyOwnerProof: SpSessionMembershipProof };
|
|
7923
8208
|
};
|
|
7924
8209
|
}
|
|
7925
8210
|
>
|
|
@@ -8008,6 +8293,45 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
8008
8293
|
>
|
|
8009
8294
|
>;
|
|
8010
8295
|
|
|
8296
|
+
/**
|
|
8297
|
+
* Create a single on demand core order with credits.
|
|
8298
|
+
* Will charge the owner's on-demand credit account the spot price for the current block.
|
|
8299
|
+
*
|
|
8300
|
+
* Parameters:
|
|
8301
|
+
* - `origin`: The sender of the call, on-demand credits will be withdrawn from this
|
|
8302
|
+
* account.
|
|
8303
|
+
* - `max_amount`: The maximum number of credits to spend from the origin to place an
|
|
8304
|
+
* order.
|
|
8305
|
+
* - `para_id`: A `ParaId` the origin wants to provide blockspace for.
|
|
8306
|
+
*
|
|
8307
|
+
* Errors:
|
|
8308
|
+
* - `InsufficientCredits`
|
|
8309
|
+
* - `QueueFull`
|
|
8310
|
+
* - `SpotPriceHigherThanMaxAmount`
|
|
8311
|
+
*
|
|
8312
|
+
* Events:
|
|
8313
|
+
* - `OnDemandOrderPlaced`
|
|
8314
|
+
*
|
|
8315
|
+
* @param {bigint} maxAmount
|
|
8316
|
+
* @param {PolkadotParachainPrimitivesPrimitivesId} paraId
|
|
8317
|
+
**/
|
|
8318
|
+
placeOrderWithCredits: GenericTxCall<
|
|
8319
|
+
Rv,
|
|
8320
|
+
(
|
|
8321
|
+
maxAmount: bigint,
|
|
8322
|
+
paraId: PolkadotParachainPrimitivesPrimitivesId,
|
|
8323
|
+
) => ChainSubmittableExtrinsic<
|
|
8324
|
+
Rv,
|
|
8325
|
+
{
|
|
8326
|
+
pallet: 'OnDemand';
|
|
8327
|
+
palletCall: {
|
|
8328
|
+
name: 'PlaceOrderWithCredits';
|
|
8329
|
+
params: { maxAmount: bigint; paraId: PolkadotParachainPrimitivesPrimitivesId };
|
|
8330
|
+
};
|
|
8331
|
+
}
|
|
8332
|
+
>
|
|
8333
|
+
>;
|
|
8334
|
+
|
|
8011
8335
|
/**
|
|
8012
8336
|
* Generic pallet tx call
|
|
8013
8337
|
**/
|
|
@@ -8830,6 +9154,28 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
8830
9154
|
>
|
|
8831
9155
|
>;
|
|
8832
9156
|
|
|
9157
|
+
/**
|
|
9158
|
+
*
|
|
9159
|
+
* @param {AccountId32Like} who
|
|
9160
|
+
* @param {bigint} amount
|
|
9161
|
+
**/
|
|
9162
|
+
creditAccount: GenericTxCall<
|
|
9163
|
+
Rv,
|
|
9164
|
+
(
|
|
9165
|
+
who: AccountId32Like,
|
|
9166
|
+
amount: bigint,
|
|
9167
|
+
) => ChainSubmittableExtrinsic<
|
|
9168
|
+
Rv,
|
|
9169
|
+
{
|
|
9170
|
+
pallet: 'Coretime';
|
|
9171
|
+
palletCall: {
|
|
9172
|
+
name: 'CreditAccount';
|
|
9173
|
+
params: { who: AccountId32Like; amount: bigint };
|
|
9174
|
+
};
|
|
9175
|
+
}
|
|
9176
|
+
>
|
|
9177
|
+
>;
|
|
9178
|
+
|
|
8833
9179
|
/**
|
|
8834
9180
|
* Receive instructions from the `ExternalBrokerOrigin`, detailing how a specific core is
|
|
8835
9181
|
* to be used.
|
|
@@ -9648,6 +9994,77 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
9648
9994
|
>
|
|
9649
9995
|
>;
|
|
9650
9996
|
|
|
9997
|
+
/**
|
|
9998
|
+
* Authorize another `aliaser` location to alias into the local `origin` making this call.
|
|
9999
|
+
* The `aliaser` is only authorized until the provided `expiry` block number.
|
|
10000
|
+
* The call can also be used for a previously authorized alias in order to update its
|
|
10001
|
+
* `expiry` block number.
|
|
10002
|
+
*
|
|
10003
|
+
* Usually useful to allow your local account to be aliased into from a remote location
|
|
10004
|
+
* also under your control (like your account on another chain).
|
|
10005
|
+
*
|
|
10006
|
+
* WARNING: make sure the caller `origin` (you) trusts the `aliaser` location to act in
|
|
10007
|
+
* their/your name. Once authorized using this call, the `aliaser` can freely impersonate
|
|
10008
|
+
* `origin` in XCM programs executed on the local chain.
|
|
10009
|
+
*
|
|
10010
|
+
* @param {XcmVersionedLocation} aliaser
|
|
10011
|
+
* @param {bigint | undefined} expires
|
|
10012
|
+
**/
|
|
10013
|
+
addAuthorizedAlias: GenericTxCall<
|
|
10014
|
+
Rv,
|
|
10015
|
+
(
|
|
10016
|
+
aliaser: XcmVersionedLocation,
|
|
10017
|
+
expires: bigint | undefined,
|
|
10018
|
+
) => ChainSubmittableExtrinsic<
|
|
10019
|
+
Rv,
|
|
10020
|
+
{
|
|
10021
|
+
pallet: 'XcmPallet';
|
|
10022
|
+
palletCall: {
|
|
10023
|
+
name: 'AddAuthorizedAlias';
|
|
10024
|
+
params: { aliaser: XcmVersionedLocation; expires: bigint | undefined };
|
|
10025
|
+
};
|
|
10026
|
+
}
|
|
10027
|
+
>
|
|
10028
|
+
>;
|
|
10029
|
+
|
|
10030
|
+
/**
|
|
10031
|
+
* Remove a previously authorized `aliaser` from the list of locations that can alias into
|
|
10032
|
+
* the local `origin` making this call.
|
|
10033
|
+
*
|
|
10034
|
+
* @param {XcmVersionedLocation} aliaser
|
|
10035
|
+
**/
|
|
10036
|
+
removeAuthorizedAlias: GenericTxCall<
|
|
10037
|
+
Rv,
|
|
10038
|
+
(aliaser: XcmVersionedLocation) => ChainSubmittableExtrinsic<
|
|
10039
|
+
Rv,
|
|
10040
|
+
{
|
|
10041
|
+
pallet: 'XcmPallet';
|
|
10042
|
+
palletCall: {
|
|
10043
|
+
name: 'RemoveAuthorizedAlias';
|
|
10044
|
+
params: { aliaser: XcmVersionedLocation };
|
|
10045
|
+
};
|
|
10046
|
+
}
|
|
10047
|
+
>
|
|
10048
|
+
>;
|
|
10049
|
+
|
|
10050
|
+
/**
|
|
10051
|
+
* Remove all previously authorized `aliaser`s that can alias into the local `origin`
|
|
10052
|
+
* making this call.
|
|
10053
|
+
*
|
|
10054
|
+
**/
|
|
10055
|
+
removeAllAuthorizedAliases: GenericTxCall<
|
|
10056
|
+
Rv,
|
|
10057
|
+
() => ChainSubmittableExtrinsic<
|
|
10058
|
+
Rv,
|
|
10059
|
+
{
|
|
10060
|
+
pallet: 'XcmPallet';
|
|
10061
|
+
palletCall: {
|
|
10062
|
+
name: 'RemoveAllAuthorizedAliases';
|
|
10063
|
+
};
|
|
10064
|
+
}
|
|
10065
|
+
>
|
|
10066
|
+
>;
|
|
10067
|
+
|
|
9651
10068
|
/**
|
|
9652
10069
|
* Generic pallet tx call
|
|
9653
10070
|
**/
|
|
@@ -10288,6 +10705,240 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
10288
10705
|
>
|
|
10289
10706
|
>;
|
|
10290
10707
|
|
|
10708
|
+
/**
|
|
10709
|
+
* Generic pallet tx call
|
|
10710
|
+
**/
|
|
10711
|
+
[callName: string]: GenericTxCall<Rv, TxCall<Rv>>;
|
|
10712
|
+
};
|
|
10713
|
+
/**
|
|
10714
|
+
* Pallet `RcMigrator`'s transaction calls
|
|
10715
|
+
**/
|
|
10716
|
+
rcMigrator: {
|
|
10717
|
+
/**
|
|
10718
|
+
* Set the migration stage.
|
|
10719
|
+
*
|
|
10720
|
+
* This call is intended for emergency use only and is guarded by the
|
|
10721
|
+
* [`Config::AdminOrigin`].
|
|
10722
|
+
*
|
|
10723
|
+
* @param {PalletRcMigratorMigrationStage} stage
|
|
10724
|
+
**/
|
|
10725
|
+
forceSetStage: GenericTxCall<
|
|
10726
|
+
Rv,
|
|
10727
|
+
(stage: PalletRcMigratorMigrationStage) => ChainSubmittableExtrinsic<
|
|
10728
|
+
Rv,
|
|
10729
|
+
{
|
|
10730
|
+
pallet: 'RcMigrator';
|
|
10731
|
+
palletCall: {
|
|
10732
|
+
name: 'ForceSetStage';
|
|
10733
|
+
params: { stage: PalletRcMigratorMigrationStage };
|
|
10734
|
+
};
|
|
10735
|
+
}
|
|
10736
|
+
>
|
|
10737
|
+
>;
|
|
10738
|
+
|
|
10739
|
+
/**
|
|
10740
|
+
* Schedule the migration to start at a given moment.
|
|
10741
|
+
*
|
|
10742
|
+
* ### Parameters:
|
|
10743
|
+
* - `start`: The block number at which the migration will start. `DispatchTime` calculated
|
|
10744
|
+
* at the moment of the extrinsic execution.
|
|
10745
|
+
* - `warm_up`: Duration or timepoint that will be used to prepare for the migration. Calls
|
|
10746
|
+
* are filtered during this period. It is intended to give enough time for UMP and DMP
|
|
10747
|
+
* queues to empty. `DispatchTime` calculated at the moment of the transition to the
|
|
10748
|
+
* warm-up stage.
|
|
10749
|
+
* - `cool_off`: The block number at which the post migration cool-off period will end. The
|
|
10750
|
+
* `DispatchTime` calculated at the moment of the transition to the cool-off stage.
|
|
10751
|
+
* - `unsafe_ignore_staking_lock_check`: ONLY FOR TESTING. Ignore the check whether the
|
|
10752
|
+
* scheduled time point is far enough in the future.
|
|
10753
|
+
*
|
|
10754
|
+
* Note: If the staking election for next era is already complete, and the next
|
|
10755
|
+
* validator set is queued in `pallet-session`, we want to avoid starting the data
|
|
10756
|
+
* migration at this point as it can lead to some missed validator rewards. To address
|
|
10757
|
+
* this, we stop staking election at the start of migration and must wait atleast 1
|
|
10758
|
+
* session (set via warm_up) before starting the data migration.
|
|
10759
|
+
*
|
|
10760
|
+
* Read [`MigrationStage::Scheduled`] documentation for more details.
|
|
10761
|
+
*
|
|
10762
|
+
* @param {FrameSupportScheduleDispatchTime} start
|
|
10763
|
+
* @param {FrameSupportScheduleDispatchTime} warmUp
|
|
10764
|
+
* @param {FrameSupportScheduleDispatchTime} coolOff
|
|
10765
|
+
* @param {boolean} unsafeIgnoreStakingLockCheck
|
|
10766
|
+
**/
|
|
10767
|
+
scheduleMigration: GenericTxCall<
|
|
10768
|
+
Rv,
|
|
10769
|
+
(
|
|
10770
|
+
start: FrameSupportScheduleDispatchTime,
|
|
10771
|
+
warmUp: FrameSupportScheduleDispatchTime,
|
|
10772
|
+
coolOff: FrameSupportScheduleDispatchTime,
|
|
10773
|
+
unsafeIgnoreStakingLockCheck: boolean,
|
|
10774
|
+
) => ChainSubmittableExtrinsic<
|
|
10775
|
+
Rv,
|
|
10776
|
+
{
|
|
10777
|
+
pallet: 'RcMigrator';
|
|
10778
|
+
palletCall: {
|
|
10779
|
+
name: 'ScheduleMigration';
|
|
10780
|
+
params: {
|
|
10781
|
+
start: FrameSupportScheduleDispatchTime;
|
|
10782
|
+
warmUp: FrameSupportScheduleDispatchTime;
|
|
10783
|
+
coolOff: FrameSupportScheduleDispatchTime;
|
|
10784
|
+
unsafeIgnoreStakingLockCheck: boolean;
|
|
10785
|
+
};
|
|
10786
|
+
};
|
|
10787
|
+
}
|
|
10788
|
+
>
|
|
10789
|
+
>;
|
|
10790
|
+
|
|
10791
|
+
/**
|
|
10792
|
+
* Start the data migration.
|
|
10793
|
+
*
|
|
10794
|
+
* This is typically called by the Asset Hub to indicate it's readiness to receive the
|
|
10795
|
+
* migration data.
|
|
10796
|
+
*
|
|
10797
|
+
**/
|
|
10798
|
+
startDataMigration: GenericTxCall<
|
|
10799
|
+
Rv,
|
|
10800
|
+
() => ChainSubmittableExtrinsic<
|
|
10801
|
+
Rv,
|
|
10802
|
+
{
|
|
10803
|
+
pallet: 'RcMigrator';
|
|
10804
|
+
palletCall: {
|
|
10805
|
+
name: 'StartDataMigration';
|
|
10806
|
+
};
|
|
10807
|
+
}
|
|
10808
|
+
>
|
|
10809
|
+
>;
|
|
10810
|
+
|
|
10811
|
+
/**
|
|
10812
|
+
* Receive a query response from the Asset Hub for a previously sent xcm message.
|
|
10813
|
+
*
|
|
10814
|
+
* @param {bigint} queryId
|
|
10815
|
+
* @param {StagingXcmV5Response} response
|
|
10816
|
+
**/
|
|
10817
|
+
receiveQueryResponse: GenericTxCall<
|
|
10818
|
+
Rv,
|
|
10819
|
+
(
|
|
10820
|
+
queryId: bigint,
|
|
10821
|
+
response: StagingXcmV5Response,
|
|
10822
|
+
) => ChainSubmittableExtrinsic<
|
|
10823
|
+
Rv,
|
|
10824
|
+
{
|
|
10825
|
+
pallet: 'RcMigrator';
|
|
10826
|
+
palletCall: {
|
|
10827
|
+
name: 'ReceiveQueryResponse';
|
|
10828
|
+
params: { queryId: bigint; response: StagingXcmV5Response };
|
|
10829
|
+
};
|
|
10830
|
+
}
|
|
10831
|
+
>
|
|
10832
|
+
>;
|
|
10833
|
+
|
|
10834
|
+
/**
|
|
10835
|
+
* Resend a previously sent and unconfirmed XCM message.
|
|
10836
|
+
*
|
|
10837
|
+
* @param {bigint} queryId
|
|
10838
|
+
**/
|
|
10839
|
+
resendXcm: GenericTxCall<
|
|
10840
|
+
Rv,
|
|
10841
|
+
(queryId: bigint) => ChainSubmittableExtrinsic<
|
|
10842
|
+
Rv,
|
|
10843
|
+
{
|
|
10844
|
+
pallet: 'RcMigrator';
|
|
10845
|
+
palletCall: {
|
|
10846
|
+
name: 'ResendXcm';
|
|
10847
|
+
params: { queryId: bigint };
|
|
10848
|
+
};
|
|
10849
|
+
}
|
|
10850
|
+
>
|
|
10851
|
+
>;
|
|
10852
|
+
|
|
10853
|
+
/**
|
|
10854
|
+
* Set the unprocessed message buffer size.
|
|
10855
|
+
*
|
|
10856
|
+
* `None` means to use the configuration value.
|
|
10857
|
+
*
|
|
10858
|
+
* @param {number | undefined} new_
|
|
10859
|
+
**/
|
|
10860
|
+
setUnprocessedMsgBuffer: GenericTxCall<
|
|
10861
|
+
Rv,
|
|
10862
|
+
(new_: number | undefined) => ChainSubmittableExtrinsic<
|
|
10863
|
+
Rv,
|
|
10864
|
+
{
|
|
10865
|
+
pallet: 'RcMigrator';
|
|
10866
|
+
palletCall: {
|
|
10867
|
+
name: 'SetUnprocessedMsgBuffer';
|
|
10868
|
+
params: { new: number | undefined };
|
|
10869
|
+
};
|
|
10870
|
+
}
|
|
10871
|
+
>
|
|
10872
|
+
>;
|
|
10873
|
+
|
|
10874
|
+
/**
|
|
10875
|
+
* Set the AH UMP queue priority configuration.
|
|
10876
|
+
*
|
|
10877
|
+
* Can only be called by the `AdminOrigin`.
|
|
10878
|
+
*
|
|
10879
|
+
* @param {PalletRcMigratorQueuePriority} new_
|
|
10880
|
+
**/
|
|
10881
|
+
setAhUmpQueuePriority: GenericTxCall<
|
|
10882
|
+
Rv,
|
|
10883
|
+
(new_: PalletRcMigratorQueuePriority) => ChainSubmittableExtrinsic<
|
|
10884
|
+
Rv,
|
|
10885
|
+
{
|
|
10886
|
+
pallet: 'RcMigrator';
|
|
10887
|
+
palletCall: {
|
|
10888
|
+
name: 'SetAhUmpQueuePriority';
|
|
10889
|
+
params: { new: PalletRcMigratorQueuePriority };
|
|
10890
|
+
};
|
|
10891
|
+
}
|
|
10892
|
+
>
|
|
10893
|
+
>;
|
|
10894
|
+
|
|
10895
|
+
/**
|
|
10896
|
+
* Set the manager account id.
|
|
10897
|
+
*
|
|
10898
|
+
* The manager has the similar to [`Config::AdminOrigin`] privileges except that it
|
|
10899
|
+
* can not set the manager account id via `set_manager` call.
|
|
10900
|
+
*
|
|
10901
|
+
* @param {AccountId32Like | undefined} new_
|
|
10902
|
+
**/
|
|
10903
|
+
setManager: GenericTxCall<
|
|
10904
|
+
Rv,
|
|
10905
|
+
(new_: AccountId32Like | undefined) => ChainSubmittableExtrinsic<
|
|
10906
|
+
Rv,
|
|
10907
|
+
{
|
|
10908
|
+
pallet: 'RcMigrator';
|
|
10909
|
+
palletCall: {
|
|
10910
|
+
name: 'SetManager';
|
|
10911
|
+
params: { new: AccountId32Like | undefined };
|
|
10912
|
+
};
|
|
10913
|
+
}
|
|
10914
|
+
>
|
|
10915
|
+
>;
|
|
10916
|
+
|
|
10917
|
+
/**
|
|
10918
|
+
* XCM send call identical to the [`pallet_xcm::Pallet::send`] call but with the
|
|
10919
|
+
* [Config::SendXcm] router which will be able to send messages to the Asset Hub during
|
|
10920
|
+
* the migration.
|
|
10921
|
+
*
|
|
10922
|
+
* @param {XcmVersionedLocation} dest
|
|
10923
|
+
* @param {XcmVersionedXcm} message
|
|
10924
|
+
**/
|
|
10925
|
+
sendXcmMessage: GenericTxCall<
|
|
10926
|
+
Rv,
|
|
10927
|
+
(
|
|
10928
|
+
dest: XcmVersionedLocation,
|
|
10929
|
+
message: XcmVersionedXcm,
|
|
10930
|
+
) => ChainSubmittableExtrinsic<
|
|
10931
|
+
Rv,
|
|
10932
|
+
{
|
|
10933
|
+
pallet: 'RcMigrator';
|
|
10934
|
+
palletCall: {
|
|
10935
|
+
name: 'SendXcmMessage';
|
|
10936
|
+
params: { dest: XcmVersionedLocation; message: XcmVersionedXcm };
|
|
10937
|
+
};
|
|
10938
|
+
}
|
|
10939
|
+
>
|
|
10940
|
+
>;
|
|
10941
|
+
|
|
10291
10942
|
/**
|
|
10292
10943
|
* Generic pallet tx call
|
|
10293
10944
|
**/
|