@dedot/chaintypes 0.174.0 → 0.176.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/index.d.ts +1 -1
- package/paseo-asset-hub/index.d.ts +1 -1
- package/paseo-hydration/consts.d.ts +46 -12
- package/paseo-hydration/errors.d.ts +103 -13
- package/paseo-hydration/events.d.ts +416 -0
- package/paseo-hydration/index.d.ts +1 -1
- package/paseo-hydration/query.d.ts +239 -15
- package/paseo-hydration/runtime.d.ts +121 -0
- package/paseo-hydration/tx.d.ts +353 -19
- package/paseo-hydration/types.d.ts +889 -42
- package/paseo-people/index.d.ts +1 -1
- package/polkadot/consts.d.ts +18 -0
- package/polkadot/errors.d.ts +113 -0
- package/polkadot/events.d.ts +364 -0
- package/polkadot/index.d.ts +1 -1
- package/polkadot/query.d.ts +329 -0
- package/polkadot/runtime.d.ts +26 -0
- package/polkadot/tx.d.ts +432 -0
- package/polkadot/types.d.ts +905 -4
- package/polkadot-asset-hub/consts.d.ts +658 -2
- package/polkadot-asset-hub/errors.d.ts +1294 -20
- package/polkadot-asset-hub/events.d.ts +1916 -15
- package/polkadot-asset-hub/index.d.ts +1 -1
- package/polkadot-asset-hub/query.d.ts +1801 -25
- package/polkadot-asset-hub/runtime.d.ts +168 -0
- package/polkadot-asset-hub/tx.d.ts +10212 -4748
- package/polkadot-asset-hub/types.d.ts +9243 -1313
- package/polkadot-asset-hub/view-functions.d.ts +44 -0
package/polkadot/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,
|
|
@@ -94,6 +96,11 @@ import type {
|
|
|
94
96
|
SpConsensusBeefyDoubleVotingProof,
|
|
95
97
|
SpConsensusBeefyForkVotingProof,
|
|
96
98
|
SpConsensusBeefyFutureBlockVotingProof,
|
|
99
|
+
PalletRcMigratorMigrationStage,
|
|
100
|
+
StagingXcmV5Response,
|
|
101
|
+
PalletRcMigratorQueuePriority,
|
|
102
|
+
PalletRcMigratorManagerMultisigVote,
|
|
103
|
+
PalletRcMigratorMigrationSettings,
|
|
97
104
|
} from './types.js';
|
|
98
105
|
|
|
99
106
|
export type ChainSubmittableExtrinsic<
|
|
@@ -6576,6 +6583,69 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
6576
6583
|
**/
|
|
6577
6584
|
[callName: string]: GenericTxCall<Rv, TxCall<Rv>>;
|
|
6578
6585
|
};
|
|
6586
|
+
/**
|
|
6587
|
+
* Pallet `StakingAhClient`'s transaction calls
|
|
6588
|
+
**/
|
|
6589
|
+
stakingAhClient: {
|
|
6590
|
+
/**
|
|
6591
|
+
*
|
|
6592
|
+
* @param {PalletStakingAsyncRcClientValidatorSetReport} report
|
|
6593
|
+
**/
|
|
6594
|
+
validatorSet: GenericTxCall<
|
|
6595
|
+
Rv,
|
|
6596
|
+
(report: PalletStakingAsyncRcClientValidatorSetReport) => ChainSubmittableExtrinsic<
|
|
6597
|
+
Rv,
|
|
6598
|
+
{
|
|
6599
|
+
pallet: 'StakingAhClient';
|
|
6600
|
+
palletCall: {
|
|
6601
|
+
name: 'ValidatorSet';
|
|
6602
|
+
params: { report: PalletStakingAsyncRcClientValidatorSetReport };
|
|
6603
|
+
};
|
|
6604
|
+
}
|
|
6605
|
+
>
|
|
6606
|
+
>;
|
|
6607
|
+
|
|
6608
|
+
/**
|
|
6609
|
+
* Allows governance to force set the operating mode of the pallet.
|
|
6610
|
+
*
|
|
6611
|
+
* @param {PalletStakingAsyncAhClientOperatingMode} mode
|
|
6612
|
+
**/
|
|
6613
|
+
setMode: GenericTxCall<
|
|
6614
|
+
Rv,
|
|
6615
|
+
(mode: PalletStakingAsyncAhClientOperatingMode) => ChainSubmittableExtrinsic<
|
|
6616
|
+
Rv,
|
|
6617
|
+
{
|
|
6618
|
+
pallet: 'StakingAhClient';
|
|
6619
|
+
palletCall: {
|
|
6620
|
+
name: 'SetMode';
|
|
6621
|
+
params: { mode: PalletStakingAsyncAhClientOperatingMode };
|
|
6622
|
+
};
|
|
6623
|
+
}
|
|
6624
|
+
>
|
|
6625
|
+
>;
|
|
6626
|
+
|
|
6627
|
+
/**
|
|
6628
|
+
* manually do what this pallet was meant to do at the end of the migration.
|
|
6629
|
+
*
|
|
6630
|
+
**/
|
|
6631
|
+
forceOnMigrationEnd: GenericTxCall<
|
|
6632
|
+
Rv,
|
|
6633
|
+
() => ChainSubmittableExtrinsic<
|
|
6634
|
+
Rv,
|
|
6635
|
+
{
|
|
6636
|
+
pallet: 'StakingAhClient';
|
|
6637
|
+
palletCall: {
|
|
6638
|
+
name: 'ForceOnMigrationEnd';
|
|
6639
|
+
};
|
|
6640
|
+
}
|
|
6641
|
+
>
|
|
6642
|
+
>;
|
|
6643
|
+
|
|
6644
|
+
/**
|
|
6645
|
+
* Generic pallet tx call
|
|
6646
|
+
**/
|
|
6647
|
+
[callName: string]: GenericTxCall<Rv, TxCall<Rv>>;
|
|
6648
|
+
};
|
|
6579
6649
|
/**
|
|
6580
6650
|
* Pallet `Configuration`'s transaction calls
|
|
6581
6651
|
**/
|
|
@@ -10492,6 +10562,368 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
10492
10562
|
>
|
|
10493
10563
|
>;
|
|
10494
10564
|
|
|
10565
|
+
/**
|
|
10566
|
+
* Generic pallet tx call
|
|
10567
|
+
**/
|
|
10568
|
+
[callName: string]: GenericTxCall<Rv, TxCall<Rv>>;
|
|
10569
|
+
};
|
|
10570
|
+
/**
|
|
10571
|
+
* Pallet `RcMigrator`'s transaction calls
|
|
10572
|
+
**/
|
|
10573
|
+
rcMigrator: {
|
|
10574
|
+
/**
|
|
10575
|
+
* Set the migration stage.
|
|
10576
|
+
*
|
|
10577
|
+
* This call is intended for emergency use only and is guarded by the
|
|
10578
|
+
* [`Config::AdminOrigin`].
|
|
10579
|
+
*
|
|
10580
|
+
* @param {PalletRcMigratorMigrationStage} stage
|
|
10581
|
+
**/
|
|
10582
|
+
forceSetStage: GenericTxCall<
|
|
10583
|
+
Rv,
|
|
10584
|
+
(stage: PalletRcMigratorMigrationStage) => ChainSubmittableExtrinsic<
|
|
10585
|
+
Rv,
|
|
10586
|
+
{
|
|
10587
|
+
pallet: 'RcMigrator';
|
|
10588
|
+
palletCall: {
|
|
10589
|
+
name: 'ForceSetStage';
|
|
10590
|
+
params: { stage: PalletRcMigratorMigrationStage };
|
|
10591
|
+
};
|
|
10592
|
+
}
|
|
10593
|
+
>
|
|
10594
|
+
>;
|
|
10595
|
+
|
|
10596
|
+
/**
|
|
10597
|
+
* Schedule the migration to start at a given moment.
|
|
10598
|
+
*
|
|
10599
|
+
* ### Parameters:
|
|
10600
|
+
* - `start`: The block number at which the migration will start. `DispatchTime` calculated
|
|
10601
|
+
* at the moment of the extrinsic execution.
|
|
10602
|
+
* - `warm_up`: Duration or timepoint that will be used to prepare for the migration. Calls
|
|
10603
|
+
* are filtered during this period. It is intended to give enough time for UMP and DMP
|
|
10604
|
+
* queues to empty. `DispatchTime` calculated at the moment of the transition to the
|
|
10605
|
+
* warm-up stage.
|
|
10606
|
+
* - `cool_off`: The block number at which the post migration cool-off period will end. The
|
|
10607
|
+
* `DispatchTime` calculated at the moment of the transition to the cool-off stage.
|
|
10608
|
+
* - `unsafe_ignore_staking_lock_check`: ONLY FOR TESTING. Ignore the check whether the
|
|
10609
|
+
* scheduled time point is far enough in the future.
|
|
10610
|
+
*
|
|
10611
|
+
* Note: If the staking election for next era is already complete, and the next
|
|
10612
|
+
* validator set is queued in `pallet-session`, we want to avoid starting the data
|
|
10613
|
+
* migration at this point as it can lead to some missed validator rewards. To address
|
|
10614
|
+
* this, we stop staking election at the start of migration and must wait atleast 1
|
|
10615
|
+
* session (set via warm_up) before starting the data migration.
|
|
10616
|
+
*
|
|
10617
|
+
* Read [`MigrationStage::Scheduled`] documentation for more details.
|
|
10618
|
+
*
|
|
10619
|
+
* @param {FrameSupportScheduleDispatchTime} start
|
|
10620
|
+
* @param {FrameSupportScheduleDispatchTime} warmUp
|
|
10621
|
+
* @param {FrameSupportScheduleDispatchTime} coolOff
|
|
10622
|
+
* @param {boolean} unsafeIgnoreStakingLockCheck
|
|
10623
|
+
**/
|
|
10624
|
+
scheduleMigration: GenericTxCall<
|
|
10625
|
+
Rv,
|
|
10626
|
+
(
|
|
10627
|
+
start: FrameSupportScheduleDispatchTime,
|
|
10628
|
+
warmUp: FrameSupportScheduleDispatchTime,
|
|
10629
|
+
coolOff: FrameSupportScheduleDispatchTime,
|
|
10630
|
+
unsafeIgnoreStakingLockCheck: boolean,
|
|
10631
|
+
) => ChainSubmittableExtrinsic<
|
|
10632
|
+
Rv,
|
|
10633
|
+
{
|
|
10634
|
+
pallet: 'RcMigrator';
|
|
10635
|
+
palletCall: {
|
|
10636
|
+
name: 'ScheduleMigration';
|
|
10637
|
+
params: {
|
|
10638
|
+
start: FrameSupportScheduleDispatchTime;
|
|
10639
|
+
warmUp: FrameSupportScheduleDispatchTime;
|
|
10640
|
+
coolOff: FrameSupportScheduleDispatchTime;
|
|
10641
|
+
unsafeIgnoreStakingLockCheck: boolean;
|
|
10642
|
+
};
|
|
10643
|
+
};
|
|
10644
|
+
}
|
|
10645
|
+
>
|
|
10646
|
+
>;
|
|
10647
|
+
|
|
10648
|
+
/**
|
|
10649
|
+
* Start the data migration.
|
|
10650
|
+
*
|
|
10651
|
+
* This is typically called by the Asset Hub to indicate it's readiness to receive the
|
|
10652
|
+
* migration data.
|
|
10653
|
+
*
|
|
10654
|
+
**/
|
|
10655
|
+
startDataMigration: GenericTxCall<
|
|
10656
|
+
Rv,
|
|
10657
|
+
() => ChainSubmittableExtrinsic<
|
|
10658
|
+
Rv,
|
|
10659
|
+
{
|
|
10660
|
+
pallet: 'RcMigrator';
|
|
10661
|
+
palletCall: {
|
|
10662
|
+
name: 'StartDataMigration';
|
|
10663
|
+
};
|
|
10664
|
+
}
|
|
10665
|
+
>
|
|
10666
|
+
>;
|
|
10667
|
+
|
|
10668
|
+
/**
|
|
10669
|
+
* Receive a query response from the Asset Hub for a previously sent xcm message.
|
|
10670
|
+
*
|
|
10671
|
+
* @param {bigint} queryId
|
|
10672
|
+
* @param {StagingXcmV5Response} response
|
|
10673
|
+
**/
|
|
10674
|
+
receiveQueryResponse: GenericTxCall<
|
|
10675
|
+
Rv,
|
|
10676
|
+
(
|
|
10677
|
+
queryId: bigint,
|
|
10678
|
+
response: StagingXcmV5Response,
|
|
10679
|
+
) => ChainSubmittableExtrinsic<
|
|
10680
|
+
Rv,
|
|
10681
|
+
{
|
|
10682
|
+
pallet: 'RcMigrator';
|
|
10683
|
+
palletCall: {
|
|
10684
|
+
name: 'ReceiveQueryResponse';
|
|
10685
|
+
params: { queryId: bigint; response: StagingXcmV5Response };
|
|
10686
|
+
};
|
|
10687
|
+
}
|
|
10688
|
+
>
|
|
10689
|
+
>;
|
|
10690
|
+
|
|
10691
|
+
/**
|
|
10692
|
+
* Resend a previously sent and unconfirmed XCM message.
|
|
10693
|
+
*
|
|
10694
|
+
* @param {bigint} queryId
|
|
10695
|
+
**/
|
|
10696
|
+
resendXcm: GenericTxCall<
|
|
10697
|
+
Rv,
|
|
10698
|
+
(queryId: bigint) => ChainSubmittableExtrinsic<
|
|
10699
|
+
Rv,
|
|
10700
|
+
{
|
|
10701
|
+
pallet: 'RcMigrator';
|
|
10702
|
+
palletCall: {
|
|
10703
|
+
name: 'ResendXcm';
|
|
10704
|
+
params: { queryId: bigint };
|
|
10705
|
+
};
|
|
10706
|
+
}
|
|
10707
|
+
>
|
|
10708
|
+
>;
|
|
10709
|
+
|
|
10710
|
+
/**
|
|
10711
|
+
* Set the unprocessed message buffer size.
|
|
10712
|
+
*
|
|
10713
|
+
* `None` means to use the configuration value.
|
|
10714
|
+
*
|
|
10715
|
+
* @param {number | undefined} new_
|
|
10716
|
+
**/
|
|
10717
|
+
setUnprocessedMsgBuffer: GenericTxCall<
|
|
10718
|
+
Rv,
|
|
10719
|
+
(new_: number | undefined) => ChainSubmittableExtrinsic<
|
|
10720
|
+
Rv,
|
|
10721
|
+
{
|
|
10722
|
+
pallet: 'RcMigrator';
|
|
10723
|
+
palletCall: {
|
|
10724
|
+
name: 'SetUnprocessedMsgBuffer';
|
|
10725
|
+
params: { new: number | undefined };
|
|
10726
|
+
};
|
|
10727
|
+
}
|
|
10728
|
+
>
|
|
10729
|
+
>;
|
|
10730
|
+
|
|
10731
|
+
/**
|
|
10732
|
+
* Set the AH UMP queue priority configuration.
|
|
10733
|
+
*
|
|
10734
|
+
* Can only be called by the `AdminOrigin`.
|
|
10735
|
+
*
|
|
10736
|
+
* @param {PalletRcMigratorQueuePriority} new_
|
|
10737
|
+
**/
|
|
10738
|
+
setAhUmpQueuePriority: GenericTxCall<
|
|
10739
|
+
Rv,
|
|
10740
|
+
(new_: PalletRcMigratorQueuePriority) => ChainSubmittableExtrinsic<
|
|
10741
|
+
Rv,
|
|
10742
|
+
{
|
|
10743
|
+
pallet: 'RcMigrator';
|
|
10744
|
+
palletCall: {
|
|
10745
|
+
name: 'SetAhUmpQueuePriority';
|
|
10746
|
+
params: { new: PalletRcMigratorQueuePriority };
|
|
10747
|
+
};
|
|
10748
|
+
}
|
|
10749
|
+
>
|
|
10750
|
+
>;
|
|
10751
|
+
|
|
10752
|
+
/**
|
|
10753
|
+
* Set the manager account id.
|
|
10754
|
+
*
|
|
10755
|
+
* The manager has the similar to [`Config::AdminOrigin`] privileges except that it
|
|
10756
|
+
* can not set the manager account id via `set_manager` call.
|
|
10757
|
+
*
|
|
10758
|
+
* @param {AccountId32Like | undefined} new_
|
|
10759
|
+
**/
|
|
10760
|
+
setManager: GenericTxCall<
|
|
10761
|
+
Rv,
|
|
10762
|
+
(new_: AccountId32Like | undefined) => ChainSubmittableExtrinsic<
|
|
10763
|
+
Rv,
|
|
10764
|
+
{
|
|
10765
|
+
pallet: 'RcMigrator';
|
|
10766
|
+
palletCall: {
|
|
10767
|
+
name: 'SetManager';
|
|
10768
|
+
params: { new: AccountId32Like | undefined };
|
|
10769
|
+
};
|
|
10770
|
+
}
|
|
10771
|
+
>
|
|
10772
|
+
>;
|
|
10773
|
+
|
|
10774
|
+
/**
|
|
10775
|
+
* XCM send call identical to the [`pallet_xcm::Pallet::send`] call but with the
|
|
10776
|
+
* [Config::SendXcm] router which will be able to send messages to the Asset Hub during
|
|
10777
|
+
* the migration.
|
|
10778
|
+
*
|
|
10779
|
+
* @param {XcmVersionedLocation} dest
|
|
10780
|
+
* @param {XcmVersionedXcm} message
|
|
10781
|
+
**/
|
|
10782
|
+
sendXcmMessage: GenericTxCall<
|
|
10783
|
+
Rv,
|
|
10784
|
+
(
|
|
10785
|
+
dest: XcmVersionedLocation,
|
|
10786
|
+
message: XcmVersionedXcm,
|
|
10787
|
+
) => ChainSubmittableExtrinsic<
|
|
10788
|
+
Rv,
|
|
10789
|
+
{
|
|
10790
|
+
pallet: 'RcMigrator';
|
|
10791
|
+
palletCall: {
|
|
10792
|
+
name: 'SendXcmMessage';
|
|
10793
|
+
params: { dest: XcmVersionedLocation; message: XcmVersionedXcm };
|
|
10794
|
+
};
|
|
10795
|
+
}
|
|
10796
|
+
>
|
|
10797
|
+
>;
|
|
10798
|
+
|
|
10799
|
+
/**
|
|
10800
|
+
* Set the accounts to be preserved on Relay Chain during the migration.
|
|
10801
|
+
*
|
|
10802
|
+
* The accounts must have no consumers references.
|
|
10803
|
+
*
|
|
10804
|
+
* @param {Array<AccountId32Like>} accounts
|
|
10805
|
+
**/
|
|
10806
|
+
preserveAccounts: GenericTxCall<
|
|
10807
|
+
Rv,
|
|
10808
|
+
(accounts: Array<AccountId32Like>) => ChainSubmittableExtrinsic<
|
|
10809
|
+
Rv,
|
|
10810
|
+
{
|
|
10811
|
+
pallet: 'RcMigrator';
|
|
10812
|
+
palletCall: {
|
|
10813
|
+
name: 'PreserveAccounts';
|
|
10814
|
+
params: { accounts: Array<AccountId32Like> };
|
|
10815
|
+
};
|
|
10816
|
+
}
|
|
10817
|
+
>
|
|
10818
|
+
>;
|
|
10819
|
+
|
|
10820
|
+
/**
|
|
10821
|
+
* Set the canceller account id.
|
|
10822
|
+
*
|
|
10823
|
+
* The canceller can only stop scheduled migration.
|
|
10824
|
+
*
|
|
10825
|
+
* @param {AccountId32Like | undefined} new_
|
|
10826
|
+
**/
|
|
10827
|
+
setCanceller: GenericTxCall<
|
|
10828
|
+
Rv,
|
|
10829
|
+
(new_: AccountId32Like | undefined) => ChainSubmittableExtrinsic<
|
|
10830
|
+
Rv,
|
|
10831
|
+
{
|
|
10832
|
+
pallet: 'RcMigrator';
|
|
10833
|
+
palletCall: {
|
|
10834
|
+
name: 'SetCanceller';
|
|
10835
|
+
params: { new: AccountId32Like | undefined };
|
|
10836
|
+
};
|
|
10837
|
+
}
|
|
10838
|
+
>
|
|
10839
|
+
>;
|
|
10840
|
+
|
|
10841
|
+
/**
|
|
10842
|
+
* Pause the migration.
|
|
10843
|
+
*
|
|
10844
|
+
**/
|
|
10845
|
+
pauseMigration: GenericTxCall<
|
|
10846
|
+
Rv,
|
|
10847
|
+
() => ChainSubmittableExtrinsic<
|
|
10848
|
+
Rv,
|
|
10849
|
+
{
|
|
10850
|
+
pallet: 'RcMigrator';
|
|
10851
|
+
palletCall: {
|
|
10852
|
+
name: 'PauseMigration';
|
|
10853
|
+
};
|
|
10854
|
+
}
|
|
10855
|
+
>
|
|
10856
|
+
>;
|
|
10857
|
+
|
|
10858
|
+
/**
|
|
10859
|
+
* Cancel the migration.
|
|
10860
|
+
*
|
|
10861
|
+
* Migration can only be cancelled if it is in the [`MigrationStage::Scheduled`] state.
|
|
10862
|
+
*
|
|
10863
|
+
**/
|
|
10864
|
+
cancelMigration: GenericTxCall<
|
|
10865
|
+
Rv,
|
|
10866
|
+
() => ChainSubmittableExtrinsic<
|
|
10867
|
+
Rv,
|
|
10868
|
+
{
|
|
10869
|
+
pallet: 'RcMigrator';
|
|
10870
|
+
palletCall: {
|
|
10871
|
+
name: 'CancelMigration';
|
|
10872
|
+
};
|
|
10873
|
+
}
|
|
10874
|
+
>
|
|
10875
|
+
>;
|
|
10876
|
+
|
|
10877
|
+
/**
|
|
10878
|
+
* Vote on behalf of any of the members in `MultisigMembers`.
|
|
10879
|
+
*
|
|
10880
|
+
* Unsigned extrinsic, requiring the `payload` to be signed.
|
|
10881
|
+
*
|
|
10882
|
+
* Upon each call, a new entry is created in `ManagerMultisigs` map the `payload.call` to
|
|
10883
|
+
* be dispatched. Once `MultisigThreshold` is reached, the entire map is deleted, and we
|
|
10884
|
+
* move on to the next round.
|
|
10885
|
+
*
|
|
10886
|
+
* The round system ensures that signatures from older round cannot be reused.
|
|
10887
|
+
*
|
|
10888
|
+
* @param {PalletRcMigratorManagerMultisigVote} payload
|
|
10889
|
+
* @param {SpRuntimeMultiSignature} sig
|
|
10890
|
+
**/
|
|
10891
|
+
voteManagerMultisig: GenericTxCall<
|
|
10892
|
+
Rv,
|
|
10893
|
+
(
|
|
10894
|
+
payload: PalletRcMigratorManagerMultisigVote,
|
|
10895
|
+
sig: SpRuntimeMultiSignature,
|
|
10896
|
+
) => ChainSubmittableExtrinsic<
|
|
10897
|
+
Rv,
|
|
10898
|
+
{
|
|
10899
|
+
pallet: 'RcMigrator';
|
|
10900
|
+
palletCall: {
|
|
10901
|
+
name: 'VoteManagerMultisig';
|
|
10902
|
+
params: { payload: PalletRcMigratorManagerMultisigVote; sig: SpRuntimeMultiSignature };
|
|
10903
|
+
};
|
|
10904
|
+
}
|
|
10905
|
+
>
|
|
10906
|
+
>;
|
|
10907
|
+
|
|
10908
|
+
/**
|
|
10909
|
+
* Set the migration settings. Can only be done by admin or manager.
|
|
10910
|
+
*
|
|
10911
|
+
* @param {PalletRcMigratorMigrationSettings | undefined} settings
|
|
10912
|
+
**/
|
|
10913
|
+
setSettings: GenericTxCall<
|
|
10914
|
+
Rv,
|
|
10915
|
+
(settings: PalletRcMigratorMigrationSettings | undefined) => ChainSubmittableExtrinsic<
|
|
10916
|
+
Rv,
|
|
10917
|
+
{
|
|
10918
|
+
pallet: 'RcMigrator';
|
|
10919
|
+
palletCall: {
|
|
10920
|
+
name: 'SetSettings';
|
|
10921
|
+
params: { settings: PalletRcMigratorMigrationSettings | undefined };
|
|
10922
|
+
};
|
|
10923
|
+
}
|
|
10924
|
+
>
|
|
10925
|
+
>;
|
|
10926
|
+
|
|
10495
10927
|
/**
|
|
10496
10928
|
* Generic pallet tx call
|
|
10497
10929
|
**/
|