@dedot/chaintypes 0.264.0 → 0.266.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.
@@ -98,34 +98,6 @@ import type {
98
98
  FrameSupportPreimagesBounded,
99
99
  FrameSupportScheduleDispatchTime,
100
100
  PolkadotParachainPrimitivesPrimitivesId,
101
- PalletRcMigratorAccountsAccount,
102
- PalletRcMigratorMultisigRcMultisig,
103
- PalletRcMigratorProxyRcProxy,
104
- PalletRcMigratorProxyRcProxyAnnouncement,
105
- PalletRcMigratorPreimageChunksRcPreimageChunk,
106
- PalletRcMigratorPreimageRequestStatusPortableRequestStatus,
107
- PalletRcMigratorPreimageLegacyRequestStatusRcPreimageLegacyStatus,
108
- PalletRcMigratorStakingNomPoolsRcNomPoolsMessage,
109
- PalletRcMigratorVestingRcVestingSchedule,
110
- PalletRcMigratorReferendaReferendaMessage,
111
- PalletReferendaReferendumInfo,
112
- PalletRcMigratorClaimsRcClaimsMessage,
113
- PalletRcMigratorStakingBagsListPortableBagsListMessage,
114
- PalletRcMigratorSchedulerRcSchedulerMessage,
115
- PalletRcMigratorIndicesRcIndicesIndex,
116
- PalletRcMigratorConvictionVotingRcConvictionVotingMessage,
117
- PalletRcMigratorBountiesRcBountiesMessage,
118
- PalletRcMigratorCrowdloanRcCrowdloanMessage,
119
- PalletRcMigratorTreasuryPortableTreasuryMessage,
120
- PalletRcMigratorSchedulerSchedulerAgendaMessage,
121
- PalletRcMigratorStakingDelegatedStakingPortableDelegatedStakingMessage,
122
- PalletRcMigratorChildBountiesPortableChildBountiesMessage,
123
- PalletRcMigratorStakingMessagePortableStakingMessage,
124
- PalletRcMigratorRecoveryPortableRecoveryMessage,
125
- PalletRcMigratorSocietyPortableSocietyMessage,
126
- PalletAhMigratorMigrationStage,
127
- PalletRcMigratorQueuePriority,
128
- PalletRcMigratorMigrationFinishedData,
129
101
  } from './types.js';
130
102
 
131
103
  export type ChainSubmittableExtrinsic<
@@ -759,7 +731,10 @@ export interface ChainTx<
759
731
  >;
760
732
 
761
733
  /**
762
- * Cancel an anonymously scheduled task.
734
+ * Cancel a scheduled task (named or anonymous), by providing the block it is scheduled for
735
+ * execution in, as well as the index of the task in that block's agenda.
736
+ *
737
+ * In the case of a named task, it will remove it from the lookup table as well.
763
738
  *
764
739
  * @param {number} when
765
740
  * @param {number} index
@@ -911,6 +886,8 @@ export interface ChainTx<
911
886
  * original task's configuration, but will have a lower value for `remaining` than the
912
887
  * original `total_retries`.
913
888
  *
889
+ * This call **cannot** be used to set a retry configuration for a named task.
890
+ *
914
891
  * @param {[number, number]} task
915
892
  * @param {number} retries
916
893
  * @param {number} period
@@ -946,6 +923,8 @@ export interface ChainTx<
946
923
  * original task's configuration, but will have a lower value for `remaining` than the
947
924
  * original `total_retries`.
948
925
  *
926
+ * This is the only way to set a retry configuration for a named task.
927
+ *
949
928
  * @param {FixedBytes<32>} id
950
929
  * @param {number} retries
951
930
  * @param {number} period
@@ -1927,14 +1906,16 @@ export interface ChainTx<
1927
1906
  session: {
1928
1907
  /**
1929
1908
  * Sets the session key(s) of the function caller to `keys`.
1909
+ *
1930
1910
  * Allows an account to set its session key prior to becoming a validator.
1931
1911
  * This doesn't take effect until the next session.
1932
1912
  *
1933
- * The dispatch origin of this function must be signed.
1934
- *
1935
- * ## Complexity
1936
- * - `O(1)`. Actual cost depends on the number of length of `T::Keys::key_ids()` which is
1937
- * fixed.
1913
+ * - `origin`: The dispatch origin of this function must be signed.
1914
+ * - `keys`: The new session keys to set. These are the public keys of all sessions keys
1915
+ * setup in the runtime.
1916
+ * - `proof`: The proof that `origin` has access to the private keys of `keys`. See
1917
+ * [`impl_opaque_keys`](sp_runtime::impl_opaque_keys) for more information about the
1918
+ * proof format.
1938
1919
  *
1939
1920
  * @param {AssetHubKusamaRuntimeSessionKeys} keys
1940
1921
  * @param {BytesLike} proof
@@ -1965,10 +1946,6 @@ export interface ChainTx<
1965
1946
  * means being a controller account) or directly convertible into a validator ID (which
1966
1947
  * usually means being a stash account).
1967
1948
  *
1968
- * ## Complexity
1969
- * - `O(1)` in number of key types. Actual cost depends on the number of length of
1970
- * `T::Keys::key_ids()` which is fixed.
1971
- *
1972
1949
  **/
1973
1950
  purgeKeys: GenericTxCall<
1974
1951
  () => ChainSubmittableExtrinsic<
@@ -3164,7 +3141,9 @@ export interface ChainTx<
3164
3141
  * Register approval for a dispatch to be made from a deterministic composite account if
3165
3142
  * approved by a total of `threshold - 1` of `other_signatories`.
3166
3143
  *
3167
- * If there are enough, then dispatch the call.
3144
+ * **If the approval threshold is met (including the sender's approval), this will
3145
+ * immediately execute the call.** This is the only way to execute a multisig call -
3146
+ * `approve_as_multi` will never trigger execution.
3168
3147
  *
3169
3148
  * Payment: `DepositBase` will be reserved if this is the first approval, plus
3170
3149
  * `threshold` times `DepositFactor`. It is returned once this dispatch happens or
@@ -3180,8 +3159,9 @@ export interface ChainTx<
3180
3159
  * transaction index) of the first approval transaction.
3181
3160
  * - `call`: The call to be executed.
3182
3161
  *
3183
- * NOTE: Unless this is the final approval, you will generally want to use
3184
- * `approve_as_multi` instead, since it only requires a hash of the call.
3162
+ * NOTE: For intermediate approvals (not the final approval), you should generally use
3163
+ * `approve_as_multi` instead, since it only requires a hash of the call and is more
3164
+ * efficient.
3185
3165
  *
3186
3166
  * Result is equivalent to the dispatched result if `threshold` is exactly `1`. Otherwise
3187
3167
  * on success, result is `Ok` and the result from the interior call, if it was executed,
@@ -3236,6 +3216,13 @@ export interface ChainTx<
3236
3216
  * Register approval for a dispatch to be made from a deterministic composite account if
3237
3217
  * approved by a total of `threshold - 1` of `other_signatories`.
3238
3218
  *
3219
+ * **This function will NEVER execute the call, even if the approval threshold is
3220
+ * reached.** It only registers approval. To actually execute the call, `as_multi` must
3221
+ * be called with the full call data by any of the signatories.
3222
+ *
3223
+ * This function is more efficient than `as_multi` for intermediate approvals since it
3224
+ * only requires the call hash, not the full call data.
3225
+ *
3239
3226
  * Payment: `DepositBase` will be reserved if this is the first approval, plus
3240
3227
  * `threshold` times `DepositFactor`. It is returned once this dispatch happens or
3241
3228
  * is cancelled.
@@ -3250,7 +3237,8 @@ export interface ChainTx<
3250
3237
  * transaction index) of the first approval transaction.
3251
3238
  * - `call_hash`: The hash of the call to be executed.
3252
3239
  *
3253
- * NOTE: If this is the final approval, you will want to use `as_multi` instead.
3240
+ * NOTE: To execute the call after approvals are gathered, any signatory must call
3241
+ * `as_multi` with the full call data. This function cannot execute the call.
3254
3242
  *
3255
3243
  * ## Complexity
3256
3244
  * - `O(S)`.
@@ -12969,13 +12957,11 @@ export interface ChainTx<
12969
12957
  * **Validation on AssetHub:**
12970
12958
  * - Keys are decoded as `T::RelayChainSessionKeys` to ensure they match RC's expected
12971
12959
  * format.
12960
+ * - Ownership proof is validated using `OpaqueKeys::ownership_proof_is_valid`.
12972
12961
  *
12973
12962
  * If validation passes, only the validated keys are sent to RC (with empty proof),
12974
12963
  * since RC trusts AH's validation.
12975
12964
  *
12976
- * Note: Ownership proof validation requires PR #1739 which is not backported to
12977
- * stable2512. The proof parameter will be added when that PR is backported.
12978
- *
12979
12965
  * **Fees:**
12980
12966
  * The actual cost of this call is higher than what the weight-based fee estimate shows.
12981
12967
  * In addition to the local transaction weight fee, the stash account is charged an XCM
@@ -13646,26 +13632,6 @@ export interface ChainTx<
13646
13632
  >
13647
13633
  >;
13648
13634
 
13649
- /**
13650
- * Set the validators who cannot be slashed (if any).
13651
- *
13652
- * The dispatch origin must be Root.
13653
- *
13654
- * @param {Array<AccountId32Like>} invulnerables
13655
- **/
13656
- setInvulnerables: GenericTxCall<
13657
- (invulnerables: Array<AccountId32Like>) => ChainSubmittableExtrinsic<
13658
- {
13659
- pallet: 'Staking';
13660
- palletCall: {
13661
- name: 'SetInvulnerables';
13662
- params: { invulnerables: Array<AccountId32Like> };
13663
- };
13664
- },
13665
- ChainKnownTypes
13666
- >
13667
- >;
13668
-
13669
13635
  /**
13670
13636
  * Force a current staker to become completely unstaked, immediately.
13671
13637
  *
@@ -14028,7 +13994,7 @@ export interface ChainTx<
14028
13994
  *
14029
13995
  * If a validator has more than [`Config::MaxExposurePageSize`] nominators backing
14030
13996
  * them, then the list of nominators is paged, with each page being capped at
14031
- * [`Config::MaxExposurePageSize`.] If a validator has more than one page of nominators,
13997
+ * [`Config::MaxExposurePageSize`]. If a validator has more than one page of nominators,
14032
13998
  * the call needs to be made for each page separately in order for all the nominators
14033
13999
  * backing a validator to receive the reward. The nominators are not sorted across pages
14034
14000
  * and so it should not be assumed the highest staker would be on the topmost page and vice
@@ -16383,623 +16349,6 @@ export interface ChainTx<
16383
16349
  >
16384
16350
  >;
16385
16351
 
16386
- /**
16387
- * Generic pallet tx call
16388
- **/
16389
- [callName: string]: GenericTxCall<TxCall<ChainKnownTypes>>;
16390
- };
16391
- /**
16392
- * Pallet `AhMigrator`'s transaction calls
16393
- **/
16394
- ahMigrator: {
16395
- /**
16396
- * Receive accounts from the Relay Chain.
16397
- *
16398
- * The accounts sent with `pallet_rc_migrator::Pallet::migrate_accounts` function.
16399
- *
16400
- * @param {Array<PalletRcMigratorAccountsAccount>} accounts
16401
- **/
16402
- receiveAccounts: GenericTxCall<
16403
- (accounts: Array<PalletRcMigratorAccountsAccount>) => ChainSubmittableExtrinsic<
16404
- {
16405
- pallet: 'AhMigrator';
16406
- palletCall: {
16407
- name: 'ReceiveAccounts';
16408
- params: { accounts: Array<PalletRcMigratorAccountsAccount> };
16409
- };
16410
- },
16411
- ChainKnownTypes
16412
- >
16413
- >;
16414
-
16415
- /**
16416
- * Receive multisigs from the Relay Chain.
16417
- *
16418
- * This will be called from an XCM `Transact` inside a DMP from the relay chain. The
16419
- * multisigs were prepared by
16420
- * `pallet_rc_migrator::multisig::MultisigMigrator::migrate_many`.
16421
- *
16422
- * @param {Array<PalletRcMigratorMultisigRcMultisig>} accounts
16423
- **/
16424
- receiveMultisigs: GenericTxCall<
16425
- (accounts: Array<PalletRcMigratorMultisigRcMultisig>) => ChainSubmittableExtrinsic<
16426
- {
16427
- pallet: 'AhMigrator';
16428
- palletCall: {
16429
- name: 'ReceiveMultisigs';
16430
- params: { accounts: Array<PalletRcMigratorMultisigRcMultisig> };
16431
- };
16432
- },
16433
- ChainKnownTypes
16434
- >
16435
- >;
16436
-
16437
- /**
16438
- * Receive proxies from the Relay Chain.
16439
- *
16440
- * @param {Array<PalletRcMigratorProxyRcProxy>} proxies
16441
- **/
16442
- receiveProxyProxies: GenericTxCall<
16443
- (proxies: Array<PalletRcMigratorProxyRcProxy>) => ChainSubmittableExtrinsic<
16444
- {
16445
- pallet: 'AhMigrator';
16446
- palletCall: {
16447
- name: 'ReceiveProxyProxies';
16448
- params: { proxies: Array<PalletRcMigratorProxyRcProxy> };
16449
- };
16450
- },
16451
- ChainKnownTypes
16452
- >
16453
- >;
16454
-
16455
- /**
16456
- * Receive proxy announcements from the Relay Chain.
16457
- *
16458
- * @param {Array<PalletRcMigratorProxyRcProxyAnnouncement>} announcements
16459
- **/
16460
- receiveProxyAnnouncements: GenericTxCall<
16461
- (announcements: Array<PalletRcMigratorProxyRcProxyAnnouncement>) => ChainSubmittableExtrinsic<
16462
- {
16463
- pallet: 'AhMigrator';
16464
- palletCall: {
16465
- name: 'ReceiveProxyAnnouncements';
16466
- params: { announcements: Array<PalletRcMigratorProxyRcProxyAnnouncement> };
16467
- };
16468
- },
16469
- ChainKnownTypes
16470
- >
16471
- >;
16472
-
16473
- /**
16474
- *
16475
- * @param {Array<PalletRcMigratorPreimageChunksRcPreimageChunk>} chunks
16476
- **/
16477
- receivePreimageChunks: GenericTxCall<
16478
- (chunks: Array<PalletRcMigratorPreimageChunksRcPreimageChunk>) => ChainSubmittableExtrinsic<
16479
- {
16480
- pallet: 'AhMigrator';
16481
- palletCall: {
16482
- name: 'ReceivePreimageChunks';
16483
- params: { chunks: Array<PalletRcMigratorPreimageChunksRcPreimageChunk> };
16484
- };
16485
- },
16486
- ChainKnownTypes
16487
- >
16488
- >;
16489
-
16490
- /**
16491
- *
16492
- * @param {Array<PalletRcMigratorPreimageRequestStatusPortableRequestStatus>} requestStatus
16493
- **/
16494
- receivePreimageRequestStatus: GenericTxCall<
16495
- (requestStatus: Array<PalletRcMigratorPreimageRequestStatusPortableRequestStatus>) => ChainSubmittableExtrinsic<
16496
- {
16497
- pallet: 'AhMigrator';
16498
- palletCall: {
16499
- name: 'ReceivePreimageRequestStatus';
16500
- params: { requestStatus: Array<PalletRcMigratorPreimageRequestStatusPortableRequestStatus> };
16501
- };
16502
- },
16503
- ChainKnownTypes
16504
- >
16505
- >;
16506
-
16507
- /**
16508
- *
16509
- * @param {Array<PalletRcMigratorPreimageLegacyRequestStatusRcPreimageLegacyStatus>} legacyStatus
16510
- **/
16511
- receivePreimageLegacyStatus: GenericTxCall<
16512
- (
16513
- legacyStatus: Array<PalletRcMigratorPreimageLegacyRequestStatusRcPreimageLegacyStatus>,
16514
- ) => ChainSubmittableExtrinsic<
16515
- {
16516
- pallet: 'AhMigrator';
16517
- palletCall: {
16518
- name: 'ReceivePreimageLegacyStatus';
16519
- params: { legacyStatus: Array<PalletRcMigratorPreimageLegacyRequestStatusRcPreimageLegacyStatus> };
16520
- };
16521
- },
16522
- ChainKnownTypes
16523
- >
16524
- >;
16525
-
16526
- /**
16527
- *
16528
- * @param {Array<PalletRcMigratorStakingNomPoolsRcNomPoolsMessage>} messages
16529
- **/
16530
- receiveNomPoolsMessages: GenericTxCall<
16531
- (messages: Array<PalletRcMigratorStakingNomPoolsRcNomPoolsMessage>) => ChainSubmittableExtrinsic<
16532
- {
16533
- pallet: 'AhMigrator';
16534
- palletCall: {
16535
- name: 'ReceiveNomPoolsMessages';
16536
- params: { messages: Array<PalletRcMigratorStakingNomPoolsRcNomPoolsMessage> };
16537
- };
16538
- },
16539
- ChainKnownTypes
16540
- >
16541
- >;
16542
-
16543
- /**
16544
- *
16545
- * @param {Array<PalletRcMigratorVestingRcVestingSchedule>} schedules
16546
- **/
16547
- receiveVestingSchedules: GenericTxCall<
16548
- (schedules: Array<PalletRcMigratorVestingRcVestingSchedule>) => ChainSubmittableExtrinsic<
16549
- {
16550
- pallet: 'AhMigrator';
16551
- palletCall: {
16552
- name: 'ReceiveVestingSchedules';
16553
- params: { schedules: Array<PalletRcMigratorVestingRcVestingSchedule> };
16554
- };
16555
- },
16556
- ChainKnownTypes
16557
- >
16558
- >;
16559
-
16560
- /**
16561
- * Receive referendum counts, deciding counts, votes for the track queue.
16562
- *
16563
- * @param {Array<PalletRcMigratorReferendaReferendaMessage>} values
16564
- **/
16565
- receiveReferendaValues: GenericTxCall<
16566
- (values: Array<PalletRcMigratorReferendaReferendaMessage>) => ChainSubmittableExtrinsic<
16567
- {
16568
- pallet: 'AhMigrator';
16569
- palletCall: {
16570
- name: 'ReceiveReferendaValues';
16571
- params: { values: Array<PalletRcMigratorReferendaReferendaMessage> };
16572
- };
16573
- },
16574
- ChainKnownTypes
16575
- >
16576
- >;
16577
-
16578
- /**
16579
- * Receive referendums from the Relay Chain.
16580
- *
16581
- * @param {Array<[number, PalletReferendaReferendumInfo]>} referendums
16582
- **/
16583
- receiveReferendums: GenericTxCall<
16584
- (referendums: Array<[number, PalletReferendaReferendumInfo]>) => ChainSubmittableExtrinsic<
16585
- {
16586
- pallet: 'AhMigrator';
16587
- palletCall: {
16588
- name: 'ReceiveReferendums';
16589
- params: { referendums: Array<[number, PalletReferendaReferendumInfo]> };
16590
- };
16591
- },
16592
- ChainKnownTypes
16593
- >
16594
- >;
16595
-
16596
- /**
16597
- *
16598
- * @param {Array<PalletRcMigratorClaimsRcClaimsMessage>} messages
16599
- **/
16600
- receiveClaims: GenericTxCall<
16601
- (messages: Array<PalletRcMigratorClaimsRcClaimsMessage>) => ChainSubmittableExtrinsic<
16602
- {
16603
- pallet: 'AhMigrator';
16604
- palletCall: {
16605
- name: 'ReceiveClaims';
16606
- params: { messages: Array<PalletRcMigratorClaimsRcClaimsMessage> };
16607
- };
16608
- },
16609
- ChainKnownTypes
16610
- >
16611
- >;
16612
-
16613
- /**
16614
- *
16615
- * @param {Array<PalletRcMigratorStakingBagsListPortableBagsListMessage>} messages
16616
- **/
16617
- receiveBagsListMessages: GenericTxCall<
16618
- (messages: Array<PalletRcMigratorStakingBagsListPortableBagsListMessage>) => ChainSubmittableExtrinsic<
16619
- {
16620
- pallet: 'AhMigrator';
16621
- palletCall: {
16622
- name: 'ReceiveBagsListMessages';
16623
- params: { messages: Array<PalletRcMigratorStakingBagsListPortableBagsListMessage> };
16624
- };
16625
- },
16626
- ChainKnownTypes
16627
- >
16628
- >;
16629
-
16630
- /**
16631
- *
16632
- * @param {Array<PalletRcMigratorSchedulerRcSchedulerMessage>} messages
16633
- **/
16634
- receiveSchedulerMessages: GenericTxCall<
16635
- (messages: Array<PalletRcMigratorSchedulerRcSchedulerMessage>) => ChainSubmittableExtrinsic<
16636
- {
16637
- pallet: 'AhMigrator';
16638
- palletCall: {
16639
- name: 'ReceiveSchedulerMessages';
16640
- params: { messages: Array<PalletRcMigratorSchedulerRcSchedulerMessage> };
16641
- };
16642
- },
16643
- ChainKnownTypes
16644
- >
16645
- >;
16646
-
16647
- /**
16648
- *
16649
- * @param {Array<PalletRcMigratorIndicesRcIndicesIndex>} indices
16650
- **/
16651
- receiveIndices: GenericTxCall<
16652
- (indices: Array<PalletRcMigratorIndicesRcIndicesIndex>) => ChainSubmittableExtrinsic<
16653
- {
16654
- pallet: 'AhMigrator';
16655
- palletCall: {
16656
- name: 'ReceiveIndices';
16657
- params: { indices: Array<PalletRcMigratorIndicesRcIndicesIndex> };
16658
- };
16659
- },
16660
- ChainKnownTypes
16661
- >
16662
- >;
16663
-
16664
- /**
16665
- *
16666
- * @param {Array<PalletRcMigratorConvictionVotingRcConvictionVotingMessage>} messages
16667
- **/
16668
- receiveConvictionVotingMessages: GenericTxCall<
16669
- (messages: Array<PalletRcMigratorConvictionVotingRcConvictionVotingMessage>) => ChainSubmittableExtrinsic<
16670
- {
16671
- pallet: 'AhMigrator';
16672
- palletCall: {
16673
- name: 'ReceiveConvictionVotingMessages';
16674
- params: { messages: Array<PalletRcMigratorConvictionVotingRcConvictionVotingMessage> };
16675
- };
16676
- },
16677
- ChainKnownTypes
16678
- >
16679
- >;
16680
-
16681
- /**
16682
- *
16683
- * @param {Array<PalletRcMigratorBountiesRcBountiesMessage>} messages
16684
- **/
16685
- receiveBountiesMessages: GenericTxCall<
16686
- (messages: Array<PalletRcMigratorBountiesRcBountiesMessage>) => ChainSubmittableExtrinsic<
16687
- {
16688
- pallet: 'AhMigrator';
16689
- palletCall: {
16690
- name: 'ReceiveBountiesMessages';
16691
- params: { messages: Array<PalletRcMigratorBountiesRcBountiesMessage> };
16692
- };
16693
- },
16694
- ChainKnownTypes
16695
- >
16696
- >;
16697
-
16698
- /**
16699
- *
16700
- * @param {Array<[PolkadotRuntimeCommonImplsVersionedLocatableAsset, FixedU128]>} rates
16701
- **/
16702
- receiveAssetRates: GenericTxCall<
16703
- (rates: Array<[PolkadotRuntimeCommonImplsVersionedLocatableAsset, FixedU128]>) => ChainSubmittableExtrinsic<
16704
- {
16705
- pallet: 'AhMigrator';
16706
- palletCall: {
16707
- name: 'ReceiveAssetRates';
16708
- params: { rates: Array<[PolkadotRuntimeCommonImplsVersionedLocatableAsset, FixedU128]> };
16709
- };
16710
- },
16711
- ChainKnownTypes
16712
- >
16713
- >;
16714
-
16715
- /**
16716
- *
16717
- * @param {Array<PalletRcMigratorCrowdloanRcCrowdloanMessage>} messages
16718
- **/
16719
- receiveCrowdloanMessages: GenericTxCall<
16720
- (messages: Array<PalletRcMigratorCrowdloanRcCrowdloanMessage>) => ChainSubmittableExtrinsic<
16721
- {
16722
- pallet: 'AhMigrator';
16723
- palletCall: {
16724
- name: 'ReceiveCrowdloanMessages';
16725
- params: { messages: Array<PalletRcMigratorCrowdloanRcCrowdloanMessage> };
16726
- };
16727
- },
16728
- ChainKnownTypes
16729
- >
16730
- >;
16731
-
16732
- /**
16733
- *
16734
- * @param {Array<[number, H256]>} metadata
16735
- **/
16736
- receiveReferendaMetadata: GenericTxCall<
16737
- (metadata: Array<[number, H256]>) => ChainSubmittableExtrinsic<
16738
- {
16739
- pallet: 'AhMigrator';
16740
- palletCall: {
16741
- name: 'ReceiveReferendaMetadata';
16742
- params: { metadata: Array<[number, H256]> };
16743
- };
16744
- },
16745
- ChainKnownTypes
16746
- >
16747
- >;
16748
-
16749
- /**
16750
- *
16751
- * @param {Array<PalletRcMigratorTreasuryPortableTreasuryMessage>} messages
16752
- **/
16753
- receiveTreasuryMessages: GenericTxCall<
16754
- (messages: Array<PalletRcMigratorTreasuryPortableTreasuryMessage>) => ChainSubmittableExtrinsic<
16755
- {
16756
- pallet: 'AhMigrator';
16757
- palletCall: {
16758
- name: 'ReceiveTreasuryMessages';
16759
- params: { messages: Array<PalletRcMigratorTreasuryPortableTreasuryMessage> };
16760
- };
16761
- },
16762
- ChainKnownTypes
16763
- >
16764
- >;
16765
-
16766
- /**
16767
- *
16768
- * @param {Array<PalletRcMigratorSchedulerSchedulerAgendaMessage>} messages
16769
- **/
16770
- receiveSchedulerAgendaMessages: GenericTxCall<
16771
- (messages: Array<PalletRcMigratorSchedulerSchedulerAgendaMessage>) => ChainSubmittableExtrinsic<
16772
- {
16773
- pallet: 'AhMigrator';
16774
- palletCall: {
16775
- name: 'ReceiveSchedulerAgendaMessages';
16776
- params: { messages: Array<PalletRcMigratorSchedulerSchedulerAgendaMessage> };
16777
- };
16778
- },
16779
- ChainKnownTypes
16780
- >
16781
- >;
16782
-
16783
- /**
16784
- *
16785
- * @param {Array<PalletRcMigratorStakingDelegatedStakingPortableDelegatedStakingMessage>} messages
16786
- **/
16787
- receiveDelegatedStakingMessages: GenericTxCall<
16788
- (
16789
- messages: Array<PalletRcMigratorStakingDelegatedStakingPortableDelegatedStakingMessage>,
16790
- ) => ChainSubmittableExtrinsic<
16791
- {
16792
- pallet: 'AhMigrator';
16793
- palletCall: {
16794
- name: 'ReceiveDelegatedStakingMessages';
16795
- params: { messages: Array<PalletRcMigratorStakingDelegatedStakingPortableDelegatedStakingMessage> };
16796
- };
16797
- },
16798
- ChainKnownTypes
16799
- >
16800
- >;
16801
-
16802
- /**
16803
- *
16804
- * @param {Array<PalletRcMigratorChildBountiesPortableChildBountiesMessage>} messages
16805
- **/
16806
- receiveChildBountiesMessages: GenericTxCall<
16807
- (messages: Array<PalletRcMigratorChildBountiesPortableChildBountiesMessage>) => ChainSubmittableExtrinsic<
16808
- {
16809
- pallet: 'AhMigrator';
16810
- palletCall: {
16811
- name: 'ReceiveChildBountiesMessages';
16812
- params: { messages: Array<PalletRcMigratorChildBountiesPortableChildBountiesMessage> };
16813
- };
16814
- },
16815
- ChainKnownTypes
16816
- >
16817
- >;
16818
-
16819
- /**
16820
- *
16821
- * @param {Array<PalletRcMigratorStakingMessagePortableStakingMessage>} messages
16822
- **/
16823
- receiveStakingMessages: GenericTxCall<
16824
- (messages: Array<PalletRcMigratorStakingMessagePortableStakingMessage>) => ChainSubmittableExtrinsic<
16825
- {
16826
- pallet: 'AhMigrator';
16827
- palletCall: {
16828
- name: 'ReceiveStakingMessages';
16829
- params: { messages: Array<PalletRcMigratorStakingMessagePortableStakingMessage> };
16830
- };
16831
- },
16832
- ChainKnownTypes
16833
- >
16834
- >;
16835
-
16836
- /**
16837
- *
16838
- * @param {Array<PalletRcMigratorRecoveryPortableRecoveryMessage>} messages
16839
- **/
16840
- receiveRecoveryMessages: GenericTxCall<
16841
- (messages: Array<PalletRcMigratorRecoveryPortableRecoveryMessage>) => ChainSubmittableExtrinsic<
16842
- {
16843
- pallet: 'AhMigrator';
16844
- palletCall: {
16845
- name: 'ReceiveRecoveryMessages';
16846
- params: { messages: Array<PalletRcMigratorRecoveryPortableRecoveryMessage> };
16847
- };
16848
- },
16849
- ChainKnownTypes
16850
- >
16851
- >;
16852
-
16853
- /**
16854
- *
16855
- * @param {Array<PalletRcMigratorSocietyPortableSocietyMessage>} messages
16856
- **/
16857
- receiveSocietyMessages: GenericTxCall<
16858
- (messages: Array<PalletRcMigratorSocietyPortableSocietyMessage>) => ChainSubmittableExtrinsic<
16859
- {
16860
- pallet: 'AhMigrator';
16861
- palletCall: {
16862
- name: 'ReceiveSocietyMessages';
16863
- params: { messages: Array<PalletRcMigratorSocietyPortableSocietyMessage> };
16864
- };
16865
- },
16866
- ChainKnownTypes
16867
- >
16868
- >;
16869
-
16870
- /**
16871
- * Set the migration stage.
16872
- *
16873
- * This call is intended for emergency use only and is guarded by the
16874
- * [`Config::AdminOrigin`].
16875
- *
16876
- * @param {PalletAhMigratorMigrationStage} stage
16877
- **/
16878
- forceSetStage: GenericTxCall<
16879
- (stage: PalletAhMigratorMigrationStage) => ChainSubmittableExtrinsic<
16880
- {
16881
- pallet: 'AhMigrator';
16882
- palletCall: {
16883
- name: 'ForceSetStage';
16884
- params: { stage: PalletAhMigratorMigrationStage };
16885
- };
16886
- },
16887
- ChainKnownTypes
16888
- >
16889
- >;
16890
-
16891
- /**
16892
- * Start the data migration.
16893
- *
16894
- * This is typically called by the Relay Chain to start the migration on the Asset Hub and
16895
- * receive a handshake message indicating the Asset Hub's readiness.
16896
- *
16897
- **/
16898
- startMigration: GenericTxCall<
16899
- () => ChainSubmittableExtrinsic<
16900
- {
16901
- pallet: 'AhMigrator';
16902
- palletCall: {
16903
- name: 'StartMigration';
16904
- };
16905
- },
16906
- ChainKnownTypes
16907
- >
16908
- >;
16909
-
16910
- /**
16911
- * Set the DMP queue priority configuration.
16912
- *
16913
- * Can only be called by the `AdminOrigin`.
16914
- *
16915
- * @param {PalletRcMigratorQueuePriority} new_
16916
- **/
16917
- setDmpQueuePriority: GenericTxCall<
16918
- (new_: PalletRcMigratorQueuePriority) => ChainSubmittableExtrinsic<
16919
- {
16920
- pallet: 'AhMigrator';
16921
- palletCall: {
16922
- name: 'SetDmpQueuePriority';
16923
- params: { new: PalletRcMigratorQueuePriority };
16924
- };
16925
- },
16926
- ChainKnownTypes
16927
- >
16928
- >;
16929
-
16930
- /**
16931
- * Set the manager account id.
16932
- *
16933
- * The manager has the similar to [`Config::AdminOrigin`] privileges except that it
16934
- * can not set the manager account id via `set_manager` call.
16935
- *
16936
- * @param {AccountId32Like | undefined} new_
16937
- **/
16938
- setManager: GenericTxCall<
16939
- (new_: AccountId32Like | undefined) => ChainSubmittableExtrinsic<
16940
- {
16941
- pallet: 'AhMigrator';
16942
- palletCall: {
16943
- name: 'SetManager';
16944
- params: { new: AccountId32Like | undefined };
16945
- };
16946
- },
16947
- ChainKnownTypes
16948
- >
16949
- >;
16950
-
16951
- /**
16952
- * Finish the migration.
16953
- *
16954
- * This is typically called by the Relay Chain to signal the migration has finished.
16955
- *
16956
- * The `data` parameter might be `None` if we are running the migration for a second time
16957
- * for some pallets and have already performed the checking account balance correction,
16958
- * so we do not need to do it this time.
16959
- *
16960
- * @param {PalletRcMigratorMigrationFinishedData | undefined} data
16961
- * @param {number} coolOffEndAt
16962
- **/
16963
- finishMigration: GenericTxCall<
16964
- (
16965
- data: PalletRcMigratorMigrationFinishedData | undefined,
16966
- coolOffEndAt: number,
16967
- ) => ChainSubmittableExtrinsic<
16968
- {
16969
- pallet: 'AhMigrator';
16970
- palletCall: {
16971
- name: 'FinishMigration';
16972
- params: { data: PalletRcMigratorMigrationFinishedData | undefined; coolOffEndAt: number };
16973
- };
16974
- },
16975
- ChainKnownTypes
16976
- >
16977
- >;
16978
-
16979
- /**
16980
- * XCM send call identical to the [`pallet_xcm::Pallet::send`] call but with the
16981
- * [Config::SendXcm] router which will be able to send messages to the Relay Chain during
16982
- * the migration.
16983
- *
16984
- * @param {XcmVersionedLocation} dest
16985
- * @param {XcmVersionedXcm} message
16986
- **/
16987
- sendXcmMessage: GenericTxCall<
16988
- (
16989
- dest: XcmVersionedLocation,
16990
- message: XcmVersionedXcm,
16991
- ) => ChainSubmittableExtrinsic<
16992
- {
16993
- pallet: 'AhMigrator';
16994
- palletCall: {
16995
- name: 'SendXcmMessage';
16996
- params: { dest: XcmVersionedLocation; message: XcmVersionedXcm };
16997
- };
16998
- },
16999
- ChainKnownTypes
17000
- >
17001
- >;
17002
-
17003
16352
  /**
17004
16353
  * Generic pallet tx call
17005
16354
  **/