@dedot/chaintypes 0.270.0 → 0.271.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/basilisk/consts.d.ts +9 -0
- package/basilisk/events.d.ts +15 -0
- package/basilisk/index.d.ts +1 -1
- package/basilisk/types.d.ts +6 -0
- package/moonbeam/index.d.ts +1 -1
- package/package.json +2 -2
- package/paseo/consts.d.ts +0 -9
- package/paseo/errors.d.ts +25 -108
- package/paseo/events.d.ts +0 -308
- package/paseo/index.d.ts +3 -1
- package/paseo/query.d.ts +82 -275
- package/paseo/runtime.d.ts +73 -2
- package/paseo/tx.d.ts +60 -375
- package/paseo/types.d.ts +160 -908
- package/paseo/view-functions.d.ts +0 -1
- package/paseo-people/consts.d.ts +2 -1
- package/paseo-people/events.d.ts +20 -0
- package/paseo-people/index.d.ts +3 -1
- package/paseo-people/json-rpc.d.ts +1 -0
- package/paseo-people/query.d.ts +45 -4
- package/paseo-people/runtime.d.ts +6 -2
- package/paseo-people/tx.d.ts +22 -13
- package/paseo-people/types.d.ts +104 -28
- package/paseo-people/view-functions.d.ts +38 -1
- package/polkadot-people/index.d.ts +1 -1
- package/westend-asset-hub/consts.d.ts +11 -2
- package/westend-asset-hub/errors.d.ts +29 -4
- package/westend-asset-hub/events.d.ts +60 -13
- package/westend-asset-hub/index.d.ts +1 -1
- package/westend-asset-hub/query.d.ts +100 -13
- package/westend-asset-hub/runtime.d.ts +59 -3
- package/westend-asset-hub/tx.d.ts +76 -35
- package/westend-asset-hub/types.d.ts +186 -58
- package/westend-asset-hub/view-functions.d.ts +59 -1
package/paseo/tx.d.ts
CHANGED
|
@@ -68,7 +68,7 @@ import type {
|
|
|
68
68
|
PolkadotPrimitivesV9AsyncBackingAsyncBackingParams,
|
|
69
69
|
PolkadotPrimitivesV9ExecutorParams,
|
|
70
70
|
PolkadotPrimitivesV9ApprovalVotingParams,
|
|
71
|
-
|
|
71
|
+
PolkadotPrimitivesVstagingSchedulerParams,
|
|
72
72
|
PolkadotPrimitivesV9InherentData,
|
|
73
73
|
PolkadotParachainPrimitivesPrimitivesId,
|
|
74
74
|
PolkadotParachainPrimitivesPrimitivesValidationCode,
|
|
@@ -80,7 +80,7 @@ import type {
|
|
|
80
80
|
PolkadotPrimitivesV9SlashingDisputeProof,
|
|
81
81
|
SpRuntimeMultiSigner,
|
|
82
82
|
PalletBrokerCoretimeInterfaceCoreAssignment,
|
|
83
|
-
|
|
83
|
+
PolkadotRuntimeParachainsSchedulerAssignerCoretimePartsOf57600,
|
|
84
84
|
PalletStateTrieMigrationMigrationLimits,
|
|
85
85
|
PalletStateTrieMigrationMigrationTask,
|
|
86
86
|
PalletStateTrieMigrationProgress,
|
|
@@ -95,11 +95,6 @@ import type {
|
|
|
95
95
|
SpConsensusBeefyForkVotingProof,
|
|
96
96
|
SpConsensusBeefyFutureBlockVotingProof,
|
|
97
97
|
PolkadotRuntimeParachainsParasParaGenesisArgs,
|
|
98
|
-
PalletRcMigratorMigrationStage,
|
|
99
|
-
StagingXcmV5Response,
|
|
100
|
-
PalletRcMigratorQueuePriority,
|
|
101
|
-
PalletRcMigratorManagerMultisigVote,
|
|
102
|
-
PalletRcMigratorMigrationSettings,
|
|
103
98
|
} from './types.js';
|
|
104
99
|
|
|
105
100
|
export type ChainSubmittableExtrinsic<
|
|
@@ -388,7 +383,10 @@ export interface ChainTx<
|
|
|
388
383
|
>;
|
|
389
384
|
|
|
390
385
|
/**
|
|
391
|
-
* Cancel
|
|
386
|
+
* Cancel a scheduled task (named or anonymous), by providing the block it is scheduled for
|
|
387
|
+
* execution in, as well as the index of the task in that block's agenda.
|
|
388
|
+
*
|
|
389
|
+
* In the case of a named task, it will remove it from the lookup table as well.
|
|
392
390
|
*
|
|
393
391
|
* @param {number} when
|
|
394
392
|
* @param {number} index
|
|
@@ -540,6 +538,8 @@ export interface ChainTx<
|
|
|
540
538
|
* original task's configuration, but will have a lower value for `remaining` than the
|
|
541
539
|
* original `total_retries`.
|
|
542
540
|
*
|
|
541
|
+
* This call **cannot** be used to set a retry configuration for a named task.
|
|
542
|
+
*
|
|
543
543
|
* @param {[number, number]} task
|
|
544
544
|
* @param {number} retries
|
|
545
545
|
* @param {number} period
|
|
@@ -575,6 +575,8 @@ export interface ChainTx<
|
|
|
575
575
|
* original task's configuration, but will have a lower value for `remaining` than the
|
|
576
576
|
* original `total_retries`.
|
|
577
577
|
*
|
|
578
|
+
* This is the only way to set a retry configuration for a named task.
|
|
579
|
+
*
|
|
578
580
|
* @param {FixedBytes<32>} id
|
|
579
581
|
* @param {number} retries
|
|
580
582
|
* @param {number} period
|
|
@@ -2112,7 +2114,7 @@ export interface ChainTx<
|
|
|
2112
2114
|
*
|
|
2113
2115
|
* If a validator has more than [`Config::MaxExposurePageSize`] nominators backing
|
|
2114
2116
|
* them, then the list of nominators is paged, with each page being capped at
|
|
2115
|
-
* [`Config::MaxExposurePageSize
|
|
2117
|
+
* [`Config::MaxExposurePageSize`]. If a validator has more than one page of nominators,
|
|
2116
2118
|
* the call needs to be made for each page separately in order for all the nominators
|
|
2117
2119
|
* backing a validator to receive the reward. The nominators are not sorted across pages
|
|
2118
2120
|
* and so it should not be assumed the highest staker would be on the topmost page and vice
|
|
@@ -2306,14 +2308,16 @@ export interface ChainTx<
|
|
|
2306
2308
|
session: {
|
|
2307
2309
|
/**
|
|
2308
2310
|
* Sets the session key(s) of the function caller to `keys`.
|
|
2311
|
+
*
|
|
2309
2312
|
* Allows an account to set its session key prior to becoming a validator.
|
|
2310
2313
|
* This doesn't take effect until the next session.
|
|
2311
2314
|
*
|
|
2312
|
-
* The dispatch origin of this function must be signed.
|
|
2313
|
-
*
|
|
2314
|
-
*
|
|
2315
|
-
* - `
|
|
2316
|
-
*
|
|
2315
|
+
* - `origin`: The dispatch origin of this function must be signed.
|
|
2316
|
+
* - `keys`: The new session keys to set. These are the public keys of all sessions keys
|
|
2317
|
+
* setup in the runtime.
|
|
2318
|
+
* - `proof`: The proof that `origin` has access to the private keys of `keys`. See
|
|
2319
|
+
* [`impl_opaque_keys`](sp_runtime::impl_opaque_keys) for more information about the
|
|
2320
|
+
* proof format.
|
|
2317
2321
|
*
|
|
2318
2322
|
* @param {PaseoRuntimeSessionKeys} keys
|
|
2319
2323
|
* @param {BytesLike} proof
|
|
@@ -2344,10 +2348,6 @@ export interface ChainTx<
|
|
|
2344
2348
|
* means being a controller account) or directly convertible into a validator ID (which
|
|
2345
2349
|
* usually means being a stash account).
|
|
2346
2350
|
*
|
|
2347
|
-
* ## Complexity
|
|
2348
|
-
* - `O(1)` in number of key types. Actual cost depends on the number of length of
|
|
2349
|
-
* `T::Keys::key_ids()` which is fixed.
|
|
2350
|
-
*
|
|
2351
2351
|
**/
|
|
2352
2352
|
purgeKeys: GenericTxCall<
|
|
2353
2353
|
() => ChainSubmittableExtrinsic<
|
|
@@ -4373,7 +4373,9 @@ export interface ChainTx<
|
|
|
4373
4373
|
* Register approval for a dispatch to be made from a deterministic composite account if
|
|
4374
4374
|
* approved by a total of `threshold - 1` of `other_signatories`.
|
|
4375
4375
|
*
|
|
4376
|
-
* If
|
|
4376
|
+
* **If the approval threshold is met (including the sender's approval), this will
|
|
4377
|
+
* immediately execute the call.** This is the only way to execute a multisig call -
|
|
4378
|
+
* `approve_as_multi` will never trigger execution.
|
|
4377
4379
|
*
|
|
4378
4380
|
* Payment: `DepositBase` will be reserved if this is the first approval, plus
|
|
4379
4381
|
* `threshold` times `DepositFactor`. It is returned once this dispatch happens or
|
|
@@ -4389,8 +4391,9 @@ export interface ChainTx<
|
|
|
4389
4391
|
* transaction index) of the first approval transaction.
|
|
4390
4392
|
* - `call`: The call to be executed.
|
|
4391
4393
|
*
|
|
4392
|
-
* NOTE:
|
|
4393
|
-
* `approve_as_multi` instead, since it only requires a hash of the call
|
|
4394
|
+
* NOTE: For intermediate approvals (not the final approval), you should generally use
|
|
4395
|
+
* `approve_as_multi` instead, since it only requires a hash of the call and is more
|
|
4396
|
+
* efficient.
|
|
4394
4397
|
*
|
|
4395
4398
|
* Result is equivalent to the dispatched result if `threshold` is exactly `1`. Otherwise
|
|
4396
4399
|
* on success, result is `Ok` and the result from the interior call, if it was executed,
|
|
@@ -4445,6 +4448,13 @@ export interface ChainTx<
|
|
|
4445
4448
|
* Register approval for a dispatch to be made from a deterministic composite account if
|
|
4446
4449
|
* approved by a total of `threshold - 1` of `other_signatories`.
|
|
4447
4450
|
*
|
|
4451
|
+
* **This function will NEVER execute the call, even if the approval threshold is
|
|
4452
|
+
* reached.** It only registers approval. To actually execute the call, `as_multi` must
|
|
4453
|
+
* be called with the full call data by any of the signatories.
|
|
4454
|
+
*
|
|
4455
|
+
* This function is more efficient than `as_multi` for intermediate approvals since it
|
|
4456
|
+
* only requires the call hash, not the full call data.
|
|
4457
|
+
*
|
|
4448
4458
|
* Payment: `DepositBase` will be reserved if this is the first approval, plus
|
|
4449
4459
|
* `threshold` times `DepositFactor`. It is returned once this dispatch happens or
|
|
4450
4460
|
* is cancelled.
|
|
@@ -4459,7 +4469,8 @@ export interface ChainTx<
|
|
|
4459
4469
|
* transaction index) of the first approval transaction.
|
|
4460
4470
|
* - `call_hash`: The hash of the call to be executed.
|
|
4461
4471
|
*
|
|
4462
|
-
* NOTE:
|
|
4472
|
+
* NOTE: To execute the call after approvals are gathered, any signatory must call
|
|
4473
|
+
* `as_multi` with the full call data. This function cannot execute the call.
|
|
4463
4474
|
*
|
|
4464
4475
|
* ## Complexity
|
|
4465
4476
|
* - `O(S)`.
|
|
@@ -7327,15 +7338,33 @@ export interface ChainTx<
|
|
|
7327
7338
|
/**
|
|
7328
7339
|
* Set scheduler-params.
|
|
7329
7340
|
*
|
|
7330
|
-
* @param {
|
|
7341
|
+
* @param {PolkadotPrimitivesVstagingSchedulerParams} new_
|
|
7331
7342
|
**/
|
|
7332
7343
|
setSchedulerParams: GenericTxCall<
|
|
7333
|
-
(new_:
|
|
7344
|
+
(new_: PolkadotPrimitivesVstagingSchedulerParams) => ChainSubmittableExtrinsic<
|
|
7334
7345
|
{
|
|
7335
7346
|
pallet: 'Configuration';
|
|
7336
7347
|
palletCall: {
|
|
7337
7348
|
name: 'SetSchedulerParams';
|
|
7338
|
-
params: { new:
|
|
7349
|
+
params: { new: PolkadotPrimitivesVstagingSchedulerParams };
|
|
7350
|
+
};
|
|
7351
|
+
},
|
|
7352
|
+
ChainKnownTypes
|
|
7353
|
+
>
|
|
7354
|
+
>;
|
|
7355
|
+
|
|
7356
|
+
/**
|
|
7357
|
+
* Set the maximum relay parent session age.
|
|
7358
|
+
*
|
|
7359
|
+
* @param {number} new_
|
|
7360
|
+
**/
|
|
7361
|
+
setMaxRelayParentSessionAge: GenericTxCall<
|
|
7362
|
+
(new_: number) => ChainSubmittableExtrinsic<
|
|
7363
|
+
{
|
|
7364
|
+
pallet: 'Configuration';
|
|
7365
|
+
palletCall: {
|
|
7366
|
+
name: 'SetMaxRelayParentSessionAge';
|
|
7367
|
+
params: { new: number };
|
|
7339
7368
|
};
|
|
7340
7369
|
},
|
|
7341
7370
|
ChainKnownTypes
|
|
@@ -9066,7 +9095,7 @@ export interface ChainTx<
|
|
|
9066
9095
|
*
|
|
9067
9096
|
* @param {number} core
|
|
9068
9097
|
* @param {number} begin
|
|
9069
|
-
* @param {Array<[PalletBrokerCoretimeInterfaceCoreAssignment,
|
|
9098
|
+
* @param {Array<[PalletBrokerCoretimeInterfaceCoreAssignment, PolkadotRuntimeParachainsSchedulerAssignerCoretimePartsOf57600]>} assignment
|
|
9070
9099
|
* @param {number | undefined} endHint
|
|
9071
9100
|
**/
|
|
9072
9101
|
assignCore: GenericTxCall<
|
|
@@ -9074,7 +9103,7 @@ export interface ChainTx<
|
|
|
9074
9103
|
core: number,
|
|
9075
9104
|
begin: number,
|
|
9076
9105
|
assignment: Array<
|
|
9077
|
-
[PalletBrokerCoretimeInterfaceCoreAssignment,
|
|
9106
|
+
[PalletBrokerCoretimeInterfaceCoreAssignment, PolkadotRuntimeParachainsSchedulerAssignerCoretimePartsOf57600]
|
|
9078
9107
|
>,
|
|
9079
9108
|
endHint: number | undefined,
|
|
9080
9109
|
) => ChainSubmittableExtrinsic<
|
|
@@ -9086,7 +9115,10 @@ export interface ChainTx<
|
|
|
9086
9115
|
core: number;
|
|
9087
9116
|
begin: number;
|
|
9088
9117
|
assignment: Array<
|
|
9089
|
-
[
|
|
9118
|
+
[
|
|
9119
|
+
PalletBrokerCoretimeInterfaceCoreAssignment,
|
|
9120
|
+
PolkadotRuntimeParachainsSchedulerAssignerCoretimePartsOf57600,
|
|
9121
|
+
]
|
|
9090
9122
|
>;
|
|
9091
9123
|
endHint: number | undefined;
|
|
9092
9124
|
};
|
|
@@ -10539,353 +10571,6 @@ export interface ChainTx<
|
|
|
10539
10571
|
>
|
|
10540
10572
|
>;
|
|
10541
10573
|
|
|
10542
|
-
/**
|
|
10543
|
-
* Generic pallet tx call
|
|
10544
|
-
**/
|
|
10545
|
-
[callName: string]: GenericTxCall<TxCall<ChainKnownTypes>>;
|
|
10546
|
-
};
|
|
10547
|
-
/**
|
|
10548
|
-
* Pallet `RcMigrator`'s transaction calls
|
|
10549
|
-
**/
|
|
10550
|
-
rcMigrator: {
|
|
10551
|
-
/**
|
|
10552
|
-
* Set the migration stage.
|
|
10553
|
-
*
|
|
10554
|
-
* This call is intended for emergency use only and is guarded by the
|
|
10555
|
-
* [`Config::AdminOrigin`].
|
|
10556
|
-
*
|
|
10557
|
-
* @param {PalletRcMigratorMigrationStage} stage
|
|
10558
|
-
**/
|
|
10559
|
-
forceSetStage: GenericTxCall<
|
|
10560
|
-
(stage: PalletRcMigratorMigrationStage) => ChainSubmittableExtrinsic<
|
|
10561
|
-
{
|
|
10562
|
-
pallet: 'RcMigrator';
|
|
10563
|
-
palletCall: {
|
|
10564
|
-
name: 'ForceSetStage';
|
|
10565
|
-
params: { stage: PalletRcMigratorMigrationStage };
|
|
10566
|
-
};
|
|
10567
|
-
},
|
|
10568
|
-
ChainKnownTypes
|
|
10569
|
-
>
|
|
10570
|
-
>;
|
|
10571
|
-
|
|
10572
|
-
/**
|
|
10573
|
-
* Schedule the migration to start at a given moment.
|
|
10574
|
-
*
|
|
10575
|
-
* ### Parameters:
|
|
10576
|
-
* - `start`: The block number at which the migration will start. `DispatchTime` calculated
|
|
10577
|
-
* at the moment of the extrinsic execution.
|
|
10578
|
-
* - `warm_up`: Duration or timepoint that will be used to prepare for the migration. Calls
|
|
10579
|
-
* are filtered during this period. It is intended to give enough time for UMP and DMP
|
|
10580
|
-
* queues to empty. `DispatchTime` calculated at the moment of the transition to the
|
|
10581
|
-
* warm-up stage.
|
|
10582
|
-
* - `cool_off`: The block number at which the post migration cool-off period will end. The
|
|
10583
|
-
* `DispatchTime` calculated at the moment of the transition to the cool-off stage.
|
|
10584
|
-
* - `unsafe_ignore_staking_lock_check`: ONLY FOR TESTING. Ignore the check whether the
|
|
10585
|
-
* scheduled time point is far enough in the future.
|
|
10586
|
-
*
|
|
10587
|
-
* Note: If the staking election for next era is already complete, and the next
|
|
10588
|
-
* validator set is queued in `pallet-session`, we want to avoid starting the data
|
|
10589
|
-
* migration at this point as it can lead to some missed validator rewards. To address
|
|
10590
|
-
* this, we stop staking election at the start of migration and must wait atleast 1
|
|
10591
|
-
* session (set via warm_up) before starting the data migration.
|
|
10592
|
-
*
|
|
10593
|
-
* Read [`MigrationStage::Scheduled`] documentation for more details.
|
|
10594
|
-
*
|
|
10595
|
-
* @param {FrameSupportScheduleDispatchTime} start
|
|
10596
|
-
* @param {FrameSupportScheduleDispatchTime} warmUp
|
|
10597
|
-
* @param {FrameSupportScheduleDispatchTime} coolOff
|
|
10598
|
-
* @param {boolean} unsafeIgnoreStakingLockCheck
|
|
10599
|
-
**/
|
|
10600
|
-
scheduleMigration: GenericTxCall<
|
|
10601
|
-
(
|
|
10602
|
-
start: FrameSupportScheduleDispatchTime,
|
|
10603
|
-
warmUp: FrameSupportScheduleDispatchTime,
|
|
10604
|
-
coolOff: FrameSupportScheduleDispatchTime,
|
|
10605
|
-
unsafeIgnoreStakingLockCheck: boolean,
|
|
10606
|
-
) => ChainSubmittableExtrinsic<
|
|
10607
|
-
{
|
|
10608
|
-
pallet: 'RcMigrator';
|
|
10609
|
-
palletCall: {
|
|
10610
|
-
name: 'ScheduleMigration';
|
|
10611
|
-
params: {
|
|
10612
|
-
start: FrameSupportScheduleDispatchTime;
|
|
10613
|
-
warmUp: FrameSupportScheduleDispatchTime;
|
|
10614
|
-
coolOff: FrameSupportScheduleDispatchTime;
|
|
10615
|
-
unsafeIgnoreStakingLockCheck: boolean;
|
|
10616
|
-
};
|
|
10617
|
-
};
|
|
10618
|
-
},
|
|
10619
|
-
ChainKnownTypes
|
|
10620
|
-
>
|
|
10621
|
-
>;
|
|
10622
|
-
|
|
10623
|
-
/**
|
|
10624
|
-
* Start the data migration.
|
|
10625
|
-
*
|
|
10626
|
-
* This is typically called by the Asset Hub to indicate it's readiness to receive the
|
|
10627
|
-
* migration data.
|
|
10628
|
-
*
|
|
10629
|
-
**/
|
|
10630
|
-
startDataMigration: GenericTxCall<
|
|
10631
|
-
() => ChainSubmittableExtrinsic<
|
|
10632
|
-
{
|
|
10633
|
-
pallet: 'RcMigrator';
|
|
10634
|
-
palletCall: {
|
|
10635
|
-
name: 'StartDataMigration';
|
|
10636
|
-
};
|
|
10637
|
-
},
|
|
10638
|
-
ChainKnownTypes
|
|
10639
|
-
>
|
|
10640
|
-
>;
|
|
10641
|
-
|
|
10642
|
-
/**
|
|
10643
|
-
* Receive a query response from the Asset Hub for a previously sent xcm message.
|
|
10644
|
-
*
|
|
10645
|
-
* @param {bigint} queryId
|
|
10646
|
-
* @param {StagingXcmV5Response} response
|
|
10647
|
-
**/
|
|
10648
|
-
receiveQueryResponse: GenericTxCall<
|
|
10649
|
-
(
|
|
10650
|
-
queryId: bigint,
|
|
10651
|
-
response: StagingXcmV5Response,
|
|
10652
|
-
) => ChainSubmittableExtrinsic<
|
|
10653
|
-
{
|
|
10654
|
-
pallet: 'RcMigrator';
|
|
10655
|
-
palletCall: {
|
|
10656
|
-
name: 'ReceiveQueryResponse';
|
|
10657
|
-
params: { queryId: bigint; response: StagingXcmV5Response };
|
|
10658
|
-
};
|
|
10659
|
-
},
|
|
10660
|
-
ChainKnownTypes
|
|
10661
|
-
>
|
|
10662
|
-
>;
|
|
10663
|
-
|
|
10664
|
-
/**
|
|
10665
|
-
* Resend a previously sent and unconfirmed XCM message.
|
|
10666
|
-
*
|
|
10667
|
-
* @param {bigint} queryId
|
|
10668
|
-
**/
|
|
10669
|
-
resendXcm: GenericTxCall<
|
|
10670
|
-
(queryId: bigint) => ChainSubmittableExtrinsic<
|
|
10671
|
-
{
|
|
10672
|
-
pallet: 'RcMigrator';
|
|
10673
|
-
palletCall: {
|
|
10674
|
-
name: 'ResendXcm';
|
|
10675
|
-
params: { queryId: bigint };
|
|
10676
|
-
};
|
|
10677
|
-
},
|
|
10678
|
-
ChainKnownTypes
|
|
10679
|
-
>
|
|
10680
|
-
>;
|
|
10681
|
-
|
|
10682
|
-
/**
|
|
10683
|
-
* Set the unprocessed message buffer size.
|
|
10684
|
-
*
|
|
10685
|
-
* `None` means to use the configuration value.
|
|
10686
|
-
*
|
|
10687
|
-
* @param {number | undefined} new_
|
|
10688
|
-
**/
|
|
10689
|
-
setUnprocessedMsgBuffer: GenericTxCall<
|
|
10690
|
-
(new_: number | undefined) => ChainSubmittableExtrinsic<
|
|
10691
|
-
{
|
|
10692
|
-
pallet: 'RcMigrator';
|
|
10693
|
-
palletCall: {
|
|
10694
|
-
name: 'SetUnprocessedMsgBuffer';
|
|
10695
|
-
params: { new: number | undefined };
|
|
10696
|
-
};
|
|
10697
|
-
},
|
|
10698
|
-
ChainKnownTypes
|
|
10699
|
-
>
|
|
10700
|
-
>;
|
|
10701
|
-
|
|
10702
|
-
/**
|
|
10703
|
-
* Set the AH UMP queue priority configuration.
|
|
10704
|
-
*
|
|
10705
|
-
* Can only be called by the `AdminOrigin`.
|
|
10706
|
-
*
|
|
10707
|
-
* @param {PalletRcMigratorQueuePriority} new_
|
|
10708
|
-
**/
|
|
10709
|
-
setAhUmpQueuePriority: GenericTxCall<
|
|
10710
|
-
(new_: PalletRcMigratorQueuePriority) => ChainSubmittableExtrinsic<
|
|
10711
|
-
{
|
|
10712
|
-
pallet: 'RcMigrator';
|
|
10713
|
-
palletCall: {
|
|
10714
|
-
name: 'SetAhUmpQueuePriority';
|
|
10715
|
-
params: { new: PalletRcMigratorQueuePriority };
|
|
10716
|
-
};
|
|
10717
|
-
},
|
|
10718
|
-
ChainKnownTypes
|
|
10719
|
-
>
|
|
10720
|
-
>;
|
|
10721
|
-
|
|
10722
|
-
/**
|
|
10723
|
-
* Set the manager account id.
|
|
10724
|
-
*
|
|
10725
|
-
* The manager has the similar to [`Config::AdminOrigin`] privileges except that it
|
|
10726
|
-
* can not set the manager account id via `set_manager` call.
|
|
10727
|
-
*
|
|
10728
|
-
* @param {AccountId32Like | undefined} new_
|
|
10729
|
-
**/
|
|
10730
|
-
setManager: GenericTxCall<
|
|
10731
|
-
(new_: AccountId32Like | undefined) => ChainSubmittableExtrinsic<
|
|
10732
|
-
{
|
|
10733
|
-
pallet: 'RcMigrator';
|
|
10734
|
-
palletCall: {
|
|
10735
|
-
name: 'SetManager';
|
|
10736
|
-
params: { new: AccountId32Like | undefined };
|
|
10737
|
-
};
|
|
10738
|
-
},
|
|
10739
|
-
ChainKnownTypes
|
|
10740
|
-
>
|
|
10741
|
-
>;
|
|
10742
|
-
|
|
10743
|
-
/**
|
|
10744
|
-
* XCM send call identical to the [`pallet_xcm::Pallet::send`] call but with the
|
|
10745
|
-
* [Config::SendXcm] router which will be able to send messages to the Asset Hub during
|
|
10746
|
-
* the migration.
|
|
10747
|
-
*
|
|
10748
|
-
* @param {XcmVersionedLocation} dest
|
|
10749
|
-
* @param {XcmVersionedXcm} message
|
|
10750
|
-
**/
|
|
10751
|
-
sendXcmMessage: GenericTxCall<
|
|
10752
|
-
(
|
|
10753
|
-
dest: XcmVersionedLocation,
|
|
10754
|
-
message: XcmVersionedXcm,
|
|
10755
|
-
) => ChainSubmittableExtrinsic<
|
|
10756
|
-
{
|
|
10757
|
-
pallet: 'RcMigrator';
|
|
10758
|
-
palletCall: {
|
|
10759
|
-
name: 'SendXcmMessage';
|
|
10760
|
-
params: { dest: XcmVersionedLocation; message: XcmVersionedXcm };
|
|
10761
|
-
};
|
|
10762
|
-
},
|
|
10763
|
-
ChainKnownTypes
|
|
10764
|
-
>
|
|
10765
|
-
>;
|
|
10766
|
-
|
|
10767
|
-
/**
|
|
10768
|
-
* Set the accounts to be preserved on Relay Chain during the migration.
|
|
10769
|
-
*
|
|
10770
|
-
* The accounts must have no consumers references.
|
|
10771
|
-
*
|
|
10772
|
-
* @param {Array<AccountId32Like>} accounts
|
|
10773
|
-
**/
|
|
10774
|
-
preserveAccounts: GenericTxCall<
|
|
10775
|
-
(accounts: Array<AccountId32Like>) => ChainSubmittableExtrinsic<
|
|
10776
|
-
{
|
|
10777
|
-
pallet: 'RcMigrator';
|
|
10778
|
-
palletCall: {
|
|
10779
|
-
name: 'PreserveAccounts';
|
|
10780
|
-
params: { accounts: Array<AccountId32Like> };
|
|
10781
|
-
};
|
|
10782
|
-
},
|
|
10783
|
-
ChainKnownTypes
|
|
10784
|
-
>
|
|
10785
|
-
>;
|
|
10786
|
-
|
|
10787
|
-
/**
|
|
10788
|
-
* Set the canceller account id.
|
|
10789
|
-
*
|
|
10790
|
-
* The canceller can only stop scheduled migration.
|
|
10791
|
-
*
|
|
10792
|
-
* @param {AccountId32Like | undefined} new_
|
|
10793
|
-
**/
|
|
10794
|
-
setCanceller: GenericTxCall<
|
|
10795
|
-
(new_: AccountId32Like | undefined) => ChainSubmittableExtrinsic<
|
|
10796
|
-
{
|
|
10797
|
-
pallet: 'RcMigrator';
|
|
10798
|
-
palletCall: {
|
|
10799
|
-
name: 'SetCanceller';
|
|
10800
|
-
params: { new: AccountId32Like | undefined };
|
|
10801
|
-
};
|
|
10802
|
-
},
|
|
10803
|
-
ChainKnownTypes
|
|
10804
|
-
>
|
|
10805
|
-
>;
|
|
10806
|
-
|
|
10807
|
-
/**
|
|
10808
|
-
* Pause the migration.
|
|
10809
|
-
*
|
|
10810
|
-
**/
|
|
10811
|
-
pauseMigration: GenericTxCall<
|
|
10812
|
-
() => ChainSubmittableExtrinsic<
|
|
10813
|
-
{
|
|
10814
|
-
pallet: 'RcMigrator';
|
|
10815
|
-
palletCall: {
|
|
10816
|
-
name: 'PauseMigration';
|
|
10817
|
-
};
|
|
10818
|
-
},
|
|
10819
|
-
ChainKnownTypes
|
|
10820
|
-
>
|
|
10821
|
-
>;
|
|
10822
|
-
|
|
10823
|
-
/**
|
|
10824
|
-
* Cancel the migration.
|
|
10825
|
-
*
|
|
10826
|
-
* Migration can only be cancelled if it is in the [`MigrationStage::Scheduled`] state.
|
|
10827
|
-
*
|
|
10828
|
-
**/
|
|
10829
|
-
cancelMigration: GenericTxCall<
|
|
10830
|
-
() => ChainSubmittableExtrinsic<
|
|
10831
|
-
{
|
|
10832
|
-
pallet: 'RcMigrator';
|
|
10833
|
-
palletCall: {
|
|
10834
|
-
name: 'CancelMigration';
|
|
10835
|
-
};
|
|
10836
|
-
},
|
|
10837
|
-
ChainKnownTypes
|
|
10838
|
-
>
|
|
10839
|
-
>;
|
|
10840
|
-
|
|
10841
|
-
/**
|
|
10842
|
-
* Vote on behalf of any of the members in `MultisigMembers`.
|
|
10843
|
-
*
|
|
10844
|
-
* Unsigned extrinsic, requiring the `payload` to be signed.
|
|
10845
|
-
*
|
|
10846
|
-
* Upon each call, a new entry is created in `ManagerMultisigs` map the `payload.call` to
|
|
10847
|
-
* be dispatched. Once `MultisigThreshold` is reached, the entire map is deleted, and we
|
|
10848
|
-
* move on to the next round.
|
|
10849
|
-
*
|
|
10850
|
-
* The round system ensures that signatures from older round cannot be reused.
|
|
10851
|
-
*
|
|
10852
|
-
* @param {PalletRcMigratorManagerMultisigVote} payload
|
|
10853
|
-
* @param {SpRuntimeMultiSignature} sig
|
|
10854
|
-
**/
|
|
10855
|
-
voteManagerMultisig: GenericTxCall<
|
|
10856
|
-
(
|
|
10857
|
-
payload: PalletRcMigratorManagerMultisigVote,
|
|
10858
|
-
sig: SpRuntimeMultiSignature,
|
|
10859
|
-
) => ChainSubmittableExtrinsic<
|
|
10860
|
-
{
|
|
10861
|
-
pallet: 'RcMigrator';
|
|
10862
|
-
palletCall: {
|
|
10863
|
-
name: 'VoteManagerMultisig';
|
|
10864
|
-
params: { payload: PalletRcMigratorManagerMultisigVote; sig: SpRuntimeMultiSignature };
|
|
10865
|
-
};
|
|
10866
|
-
},
|
|
10867
|
-
ChainKnownTypes
|
|
10868
|
-
>
|
|
10869
|
-
>;
|
|
10870
|
-
|
|
10871
|
-
/**
|
|
10872
|
-
* Set the migration settings. Can only be done by admin or manager.
|
|
10873
|
-
*
|
|
10874
|
-
* @param {PalletRcMigratorMigrationSettings | undefined} settings
|
|
10875
|
-
**/
|
|
10876
|
-
setSettings: GenericTxCall<
|
|
10877
|
-
(settings: PalletRcMigratorMigrationSettings | undefined) => ChainSubmittableExtrinsic<
|
|
10878
|
-
{
|
|
10879
|
-
pallet: 'RcMigrator';
|
|
10880
|
-
palletCall: {
|
|
10881
|
-
name: 'SetSettings';
|
|
10882
|
-
params: { settings: PalletRcMigratorMigrationSettings | undefined };
|
|
10883
|
-
};
|
|
10884
|
-
},
|
|
10885
|
-
ChainKnownTypes
|
|
10886
|
-
>
|
|
10887
|
-
>;
|
|
10888
|
-
|
|
10889
10574
|
/**
|
|
10890
10575
|
* Generic pallet tx call
|
|
10891
10576
|
**/
|