@dedot/chaintypes 0.265.0 → 0.267.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.
Files changed (51) hide show
  1. package/kusama-asset-hub/consts.d.ts +26 -36
  2. package/kusama-asset-hub/errors.d.ts +50 -105
  3. package/kusama-asset-hub/events.d.ts +93 -229
  4. package/kusama-asset-hub/index.d.ts +1 -1
  5. package/kusama-asset-hub/query.d.ts +114 -112
  6. package/kusama-asset-hub/runtime.d.ts +29 -2
  7. package/kusama-asset-hub/tx.d.ts +32 -683
  8. package/kusama-asset-hub/types.d.ts +592 -1490
  9. package/kusama-asset-hub/view-functions.d.ts +38 -2
  10. package/kusama-people/consts.d.ts +2 -1
  11. package/kusama-people/index.d.ts +1 -1
  12. package/kusama-people/query.d.ts +45 -4
  13. package/kusama-people/runtime.d.ts +6 -2
  14. package/kusama-people/tx.d.ts +22 -13
  15. package/kusama-people/types.d.ts +84 -27
  16. package/kusama-people/view-functions.d.ts +42 -1
  17. package/package.json +2 -2
  18. package/paseo-hydration/consts.d.ts +0 -10
  19. package/paseo-hydration/errors.d.ts +57 -4
  20. package/paseo-hydration/events.d.ts +90 -14
  21. package/paseo-hydration/index.d.ts +1 -1
  22. package/paseo-hydration/query.d.ts +48 -0
  23. package/paseo-hydration/tx.d.ts +344 -1
  24. package/paseo-hydration/types.d.ts +11772 -11274
  25. package/paseo-hydration/view-functions.d.ts +32 -1
  26. package/polkadot/consts.d.ts +0 -9
  27. package/polkadot/errors.d.ts +25 -108
  28. package/polkadot/events.d.ts +0 -308
  29. package/polkadot/index.d.ts +3 -1
  30. package/polkadot/query.d.ts +82 -275
  31. package/polkadot/runtime.d.ts +73 -2
  32. package/polkadot/tx.d.ts +60 -375
  33. package/polkadot/types.d.ts +160 -908
  34. package/polkadot/view-functions.d.ts +0 -1
  35. package/polkadot-asset-hub/consts.d.ts +21 -31
  36. package/polkadot-asset-hub/errors.d.ts +50 -105
  37. package/polkadot-asset-hub/events.d.ts +93 -229
  38. package/polkadot-asset-hub/index.d.ts +1 -1
  39. package/polkadot-asset-hub/query.d.ts +114 -112
  40. package/polkadot-asset-hub/runtime.d.ts +29 -2
  41. package/polkadot-asset-hub/tx.d.ts +32 -647
  42. package/polkadot-asset-hub/types.d.ts +575 -1377
  43. package/polkadot-asset-hub/view-functions.d.ts +38 -2
  44. package/polkadot-people/consts.d.ts +2 -1
  45. package/polkadot-people/events.d.ts +20 -0
  46. package/polkadot-people/index.d.ts +3 -1
  47. package/polkadot-people/query.d.ts +45 -4
  48. package/polkadot-people/runtime.d.ts +6 -2
  49. package/polkadot-people/tx.d.ts +22 -13
  50. package/polkadot-people/types.d.ts +104 -28
  51. package/polkadot-people/view-functions.d.ts +38 -1
@@ -101,32 +101,6 @@ import type {
101
101
  PalletStakingAsyncPalletConfigOpBool,
102
102
  PalletStakingAsyncLedgerUnlockChunk,
103
103
  PolkadotParachainPrimitivesPrimitivesId,
104
- PalletRcMigratorAccountsAccount,
105
- PalletRcMigratorMultisigRcMultisig,
106
- PalletRcMigratorProxyRcProxy,
107
- PalletRcMigratorProxyRcProxyAnnouncement,
108
- PalletRcMigratorPreimageChunksRcPreimageChunk,
109
- PalletRcMigratorPreimageRequestStatusPortableRequestStatus,
110
- PalletRcMigratorPreimageLegacyRequestStatusRcPreimageLegacyStatus,
111
- PalletRcMigratorStakingNomPoolsRcNomPoolsMessage,
112
- PalletRcMigratorVestingRcVestingSchedule,
113
- PalletRcMigratorReferendaReferendaMessage,
114
- PalletReferendaReferendumInfo,
115
- PalletRcMigratorClaimsRcClaimsMessage,
116
- PalletRcMigratorStakingBagsListPortableBagsListMessage,
117
- PalletRcMigratorSchedulerRcSchedulerMessage,
118
- PalletRcMigratorIndicesRcIndicesIndex,
119
- PalletRcMigratorConvictionVotingRcConvictionVotingMessage,
120
- PalletRcMigratorBountiesRcBountiesMessage,
121
- PalletRcMigratorCrowdloanRcCrowdloanMessage,
122
- PalletRcMigratorTreasuryPortableTreasuryMessage,
123
- PalletRcMigratorSchedulerSchedulerAgendaMessage,
124
- PalletRcMigratorStakingDelegatedStakingPortableDelegatedStakingMessage,
125
- PalletRcMigratorChildBountiesPortableChildBountiesMessage,
126
- PalletRcMigratorStakingMessagePortableStakingMessage,
127
- PalletAhMigratorMigrationStage,
128
- PalletRcMigratorQueuePriority,
129
- PalletRcMigratorMigrationFinishedData,
130
104
  } from './types.js';
131
105
 
132
106
  export type ChainSubmittableExtrinsic<
@@ -659,7 +633,10 @@ export interface ChainTx<
659
633
  >;
660
634
 
661
635
  /**
662
- * Cancel an anonymously scheduled task.
636
+ * Cancel a scheduled task (named or anonymous), by providing the block it is scheduled for
637
+ * execution in, as well as the index of the task in that block's agenda.
638
+ *
639
+ * In the case of a named task, it will remove it from the lookup table as well.
663
640
  *
664
641
  * @param {number} when
665
642
  * @param {number} index
@@ -811,6 +788,8 @@ export interface ChainTx<
811
788
  * original task's configuration, but will have a lower value for `remaining` than the
812
789
  * original `total_retries`.
813
790
  *
791
+ * This call **cannot** be used to set a retry configuration for a named task.
792
+ *
814
793
  * @param {[number, number]} task
815
794
  * @param {number} retries
816
795
  * @param {number} period
@@ -846,6 +825,8 @@ export interface ChainTx<
846
825
  * original task's configuration, but will have a lower value for `remaining` than the
847
826
  * original `total_retries`.
848
827
  *
828
+ * This is the only way to set a retry configuration for a named task.
829
+ *
849
830
  * @param {FixedBytes<32>} id
850
831
  * @param {number} retries
851
832
  * @param {number} period
@@ -1928,14 +1909,16 @@ export interface ChainTx<
1928
1909
  session: {
1929
1910
  /**
1930
1911
  * Sets the session key(s) of the function caller to `keys`.
1912
+ *
1931
1913
  * Allows an account to set its session key prior to becoming a validator.
1932
1914
  * This doesn't take effect until the next session.
1933
1915
  *
1934
- * The dispatch origin of this function must be signed.
1935
- *
1936
- * ## Complexity
1937
- * - `O(1)`. Actual cost depends on the number of length of `T::Keys::key_ids()` which is
1938
- * fixed.
1916
+ * - `origin`: The dispatch origin of this function must be signed.
1917
+ * - `keys`: The new session keys to set. These are the public keys of all sessions keys
1918
+ * setup in the runtime.
1919
+ * - `proof`: The proof that `origin` has access to the private keys of `keys`. See
1920
+ * [`impl_opaque_keys`](sp_runtime::impl_opaque_keys) for more information about the
1921
+ * proof format.
1939
1922
  *
1940
1923
  * @param {AssetHubPolkadotRuntimeSessionKeys} keys
1941
1924
  * @param {BytesLike} proof
@@ -1966,10 +1949,6 @@ export interface ChainTx<
1966
1949
  * means being a controller account) or directly convertible into a validator ID (which
1967
1950
  * usually means being a stash account).
1968
1951
  *
1969
- * ## Complexity
1970
- * - `O(1)` in number of key types. Actual cost depends on the number of length of
1971
- * `T::Keys::key_ids()` which is fixed.
1972
- *
1973
1952
  **/
1974
1953
  purgeKeys: GenericTxCall<
1975
1954
  () => ChainSubmittableExtrinsic<
@@ -3249,7 +3228,9 @@ export interface ChainTx<
3249
3228
  * Register approval for a dispatch to be made from a deterministic composite account if
3250
3229
  * approved by a total of `threshold - 1` of `other_signatories`.
3251
3230
  *
3252
- * If there are enough, then dispatch the call.
3231
+ * **If the approval threshold is met (including the sender's approval), this will
3232
+ * immediately execute the call.** This is the only way to execute a multisig call -
3233
+ * `approve_as_multi` will never trigger execution.
3253
3234
  *
3254
3235
  * Payment: `DepositBase` will be reserved if this is the first approval, plus
3255
3236
  * `threshold` times `DepositFactor`. It is returned once this dispatch happens or
@@ -3265,8 +3246,9 @@ export interface ChainTx<
3265
3246
  * transaction index) of the first approval transaction.
3266
3247
  * - `call`: The call to be executed.
3267
3248
  *
3268
- * NOTE: Unless this is the final approval, you will generally want to use
3269
- * `approve_as_multi` instead, since it only requires a hash of the call.
3249
+ * NOTE: For intermediate approvals (not the final approval), you should generally use
3250
+ * `approve_as_multi` instead, since it only requires a hash of the call and is more
3251
+ * efficient.
3270
3252
  *
3271
3253
  * Result is equivalent to the dispatched result if `threshold` is exactly `1`. Otherwise
3272
3254
  * on success, result is `Ok` and the result from the interior call, if it was executed,
@@ -3321,6 +3303,13 @@ export interface ChainTx<
3321
3303
  * Register approval for a dispatch to be made from a deterministic composite account if
3322
3304
  * approved by a total of `threshold - 1` of `other_signatories`.
3323
3305
  *
3306
+ * **This function will NEVER execute the call, even if the approval threshold is
3307
+ * reached.** It only registers approval. To actually execute the call, `as_multi` must
3308
+ * be called with the full call data by any of the signatories.
3309
+ *
3310
+ * This function is more efficient than `as_multi` for intermediate approvals since it
3311
+ * only requires the call hash, not the full call data.
3312
+ *
3324
3313
  * Payment: `DepositBase` will be reserved if this is the first approval, plus
3325
3314
  * `threshold` times `DepositFactor`. It is returned once this dispatch happens or
3326
3315
  * is cancelled.
@@ -3335,7 +3324,8 @@ export interface ChainTx<
3335
3324
  * transaction index) of the first approval transaction.
3336
3325
  * - `call_hash`: The hash of the call to be executed.
3337
3326
  *
3338
- * NOTE: If this is the final approval, you will want to use `as_multi` instead.
3327
+ * NOTE: To execute the call after approvals are gathered, any signatory must call
3328
+ * `as_multi` with the full call data. This function cannot execute the call.
3339
3329
  *
3340
3330
  * ## Complexity
3341
3331
  * - `O(S)`.
@@ -13407,13 +13397,11 @@ export interface ChainTx<
13407
13397
  * **Validation on AssetHub:**
13408
13398
  * - Keys are decoded as `T::RelayChainSessionKeys` to ensure they match RC's expected
13409
13399
  * format.
13400
+ * - Ownership proof is validated using `OpaqueKeys::ownership_proof_is_valid`.
13410
13401
  *
13411
13402
  * If validation passes, only the validated keys are sent to RC (with empty proof),
13412
13403
  * since RC trusts AH's validation.
13413
13404
  *
13414
- * Note: Ownership proof validation requires PR #1739 which is not backported to
13415
- * stable2512. The proof parameter will be added when that PR is backported.
13416
- *
13417
13405
  * **Fees:**
13418
13406
  * The actual cost of this call is higher than what the weight-based fee estimate shows.
13419
13407
  * In addition to the local transaction weight fee, the stash account is charged an XCM
@@ -14084,26 +14072,6 @@ export interface ChainTx<
14084
14072
  >
14085
14073
  >;
14086
14074
 
14087
- /**
14088
- * Set the validators who cannot be slashed (if any).
14089
- *
14090
- * The dispatch origin must be Root.
14091
- *
14092
- * @param {Array<AccountId32Like>} invulnerables
14093
- **/
14094
- setInvulnerables: GenericTxCall<
14095
- (invulnerables: Array<AccountId32Like>) => ChainSubmittableExtrinsic<
14096
- {
14097
- pallet: 'Staking';
14098
- palletCall: {
14099
- name: 'SetInvulnerables';
14100
- params: { invulnerables: Array<AccountId32Like> };
14101
- };
14102
- },
14103
- ChainKnownTypes
14104
- >
14105
- >;
14106
-
14107
14075
  /**
14108
14076
  * Force a current staker to become completely unstaked, immediately.
14109
14077
  *
@@ -14466,7 +14434,7 @@ export interface ChainTx<
14466
14434
  *
14467
14435
  * If a validator has more than [`Config::MaxExposurePageSize`] nominators backing
14468
14436
  * them, then the list of nominators is paged, with each page being capped at
14469
- * [`Config::MaxExposurePageSize`.] If a validator has more than one page of nominators,
14437
+ * [`Config::MaxExposurePageSize`]. If a validator has more than one page of nominators,
14470
14438
  * the call needs to be made for each page separately in order for all the nominators
14471
14439
  * backing a validator to receive the reward. The nominators are not sorted across pages
14472
14440
  * and so it should not be assumed the highest staker would be on the topmost page and vice
@@ -15352,589 +15320,6 @@ export interface ChainTx<
15352
15320
  >
15353
15321
  >;
15354
15322
 
15355
- /**
15356
- * Generic pallet tx call
15357
- **/
15358
- [callName: string]: GenericTxCall<TxCall<ChainKnownTypes>>;
15359
- };
15360
- /**
15361
- * Pallet `AhMigrator`'s transaction calls
15362
- **/
15363
- ahMigrator: {
15364
- /**
15365
- * Receive accounts from the Relay Chain.
15366
- *
15367
- * The accounts sent with `pallet_rc_migrator::Pallet::migrate_accounts` function.
15368
- *
15369
- * @param {Array<PalletRcMigratorAccountsAccount>} accounts
15370
- **/
15371
- receiveAccounts: GenericTxCall<
15372
- (accounts: Array<PalletRcMigratorAccountsAccount>) => ChainSubmittableExtrinsic<
15373
- {
15374
- pallet: 'AhMigrator';
15375
- palletCall: {
15376
- name: 'ReceiveAccounts';
15377
- params: { accounts: Array<PalletRcMigratorAccountsAccount> };
15378
- };
15379
- },
15380
- ChainKnownTypes
15381
- >
15382
- >;
15383
-
15384
- /**
15385
- * Receive multisigs from the Relay Chain.
15386
- *
15387
- * This will be called from an XCM `Transact` inside a DMP from the relay chain. The
15388
- * multisigs were prepared by
15389
- * `pallet_rc_migrator::multisig::MultisigMigrator::migrate_many`.
15390
- *
15391
- * @param {Array<PalletRcMigratorMultisigRcMultisig>} accounts
15392
- **/
15393
- receiveMultisigs: GenericTxCall<
15394
- (accounts: Array<PalletRcMigratorMultisigRcMultisig>) => ChainSubmittableExtrinsic<
15395
- {
15396
- pallet: 'AhMigrator';
15397
- palletCall: {
15398
- name: 'ReceiveMultisigs';
15399
- params: { accounts: Array<PalletRcMigratorMultisigRcMultisig> };
15400
- };
15401
- },
15402
- ChainKnownTypes
15403
- >
15404
- >;
15405
-
15406
- /**
15407
- * Receive proxies from the Relay Chain.
15408
- *
15409
- * @param {Array<PalletRcMigratorProxyRcProxy>} proxies
15410
- **/
15411
- receiveProxyProxies: GenericTxCall<
15412
- (proxies: Array<PalletRcMigratorProxyRcProxy>) => ChainSubmittableExtrinsic<
15413
- {
15414
- pallet: 'AhMigrator';
15415
- palletCall: {
15416
- name: 'ReceiveProxyProxies';
15417
- params: { proxies: Array<PalletRcMigratorProxyRcProxy> };
15418
- };
15419
- },
15420
- ChainKnownTypes
15421
- >
15422
- >;
15423
-
15424
- /**
15425
- * Receive proxy announcements from the Relay Chain.
15426
- *
15427
- * @param {Array<PalletRcMigratorProxyRcProxyAnnouncement>} announcements
15428
- **/
15429
- receiveProxyAnnouncements: GenericTxCall<
15430
- (announcements: Array<PalletRcMigratorProxyRcProxyAnnouncement>) => ChainSubmittableExtrinsic<
15431
- {
15432
- pallet: 'AhMigrator';
15433
- palletCall: {
15434
- name: 'ReceiveProxyAnnouncements';
15435
- params: { announcements: Array<PalletRcMigratorProxyRcProxyAnnouncement> };
15436
- };
15437
- },
15438
- ChainKnownTypes
15439
- >
15440
- >;
15441
-
15442
- /**
15443
- *
15444
- * @param {Array<PalletRcMigratorPreimageChunksRcPreimageChunk>} chunks
15445
- **/
15446
- receivePreimageChunks: GenericTxCall<
15447
- (chunks: Array<PalletRcMigratorPreimageChunksRcPreimageChunk>) => ChainSubmittableExtrinsic<
15448
- {
15449
- pallet: 'AhMigrator';
15450
- palletCall: {
15451
- name: 'ReceivePreimageChunks';
15452
- params: { chunks: Array<PalletRcMigratorPreimageChunksRcPreimageChunk> };
15453
- };
15454
- },
15455
- ChainKnownTypes
15456
- >
15457
- >;
15458
-
15459
- /**
15460
- *
15461
- * @param {Array<PalletRcMigratorPreimageRequestStatusPortableRequestStatus>} requestStatus
15462
- **/
15463
- receivePreimageRequestStatus: GenericTxCall<
15464
- (requestStatus: Array<PalletRcMigratorPreimageRequestStatusPortableRequestStatus>) => ChainSubmittableExtrinsic<
15465
- {
15466
- pallet: 'AhMigrator';
15467
- palletCall: {
15468
- name: 'ReceivePreimageRequestStatus';
15469
- params: { requestStatus: Array<PalletRcMigratorPreimageRequestStatusPortableRequestStatus> };
15470
- };
15471
- },
15472
- ChainKnownTypes
15473
- >
15474
- >;
15475
-
15476
- /**
15477
- *
15478
- * @param {Array<PalletRcMigratorPreimageLegacyRequestStatusRcPreimageLegacyStatus>} legacyStatus
15479
- **/
15480
- receivePreimageLegacyStatus: GenericTxCall<
15481
- (
15482
- legacyStatus: Array<PalletRcMigratorPreimageLegacyRequestStatusRcPreimageLegacyStatus>,
15483
- ) => ChainSubmittableExtrinsic<
15484
- {
15485
- pallet: 'AhMigrator';
15486
- palletCall: {
15487
- name: 'ReceivePreimageLegacyStatus';
15488
- params: { legacyStatus: Array<PalletRcMigratorPreimageLegacyRequestStatusRcPreimageLegacyStatus> };
15489
- };
15490
- },
15491
- ChainKnownTypes
15492
- >
15493
- >;
15494
-
15495
- /**
15496
- *
15497
- * @param {Array<PalletRcMigratorStakingNomPoolsRcNomPoolsMessage>} messages
15498
- **/
15499
- receiveNomPoolsMessages: GenericTxCall<
15500
- (messages: Array<PalletRcMigratorStakingNomPoolsRcNomPoolsMessage>) => ChainSubmittableExtrinsic<
15501
- {
15502
- pallet: 'AhMigrator';
15503
- palletCall: {
15504
- name: 'ReceiveNomPoolsMessages';
15505
- params: { messages: Array<PalletRcMigratorStakingNomPoolsRcNomPoolsMessage> };
15506
- };
15507
- },
15508
- ChainKnownTypes
15509
- >
15510
- >;
15511
-
15512
- /**
15513
- *
15514
- * @param {Array<PalletRcMigratorVestingRcVestingSchedule>} schedules
15515
- **/
15516
- receiveVestingSchedules: GenericTxCall<
15517
- (schedules: Array<PalletRcMigratorVestingRcVestingSchedule>) => ChainSubmittableExtrinsic<
15518
- {
15519
- pallet: 'AhMigrator';
15520
- palletCall: {
15521
- name: 'ReceiveVestingSchedules';
15522
- params: { schedules: Array<PalletRcMigratorVestingRcVestingSchedule> };
15523
- };
15524
- },
15525
- ChainKnownTypes
15526
- >
15527
- >;
15528
-
15529
- /**
15530
- * Receive referendum counts, deciding counts, votes for the track queue.
15531
- *
15532
- * @param {Array<PalletRcMigratorReferendaReferendaMessage>} values
15533
- **/
15534
- receiveReferendaValues: GenericTxCall<
15535
- (values: Array<PalletRcMigratorReferendaReferendaMessage>) => ChainSubmittableExtrinsic<
15536
- {
15537
- pallet: 'AhMigrator';
15538
- palletCall: {
15539
- name: 'ReceiveReferendaValues';
15540
- params: { values: Array<PalletRcMigratorReferendaReferendaMessage> };
15541
- };
15542
- },
15543
- ChainKnownTypes
15544
- >
15545
- >;
15546
-
15547
- /**
15548
- * Receive referendums from the Relay Chain.
15549
- *
15550
- * @param {Array<[number, PalletReferendaReferendumInfo]>} referendums
15551
- **/
15552
- receiveReferendums: GenericTxCall<
15553
- (referendums: Array<[number, PalletReferendaReferendumInfo]>) => ChainSubmittableExtrinsic<
15554
- {
15555
- pallet: 'AhMigrator';
15556
- palletCall: {
15557
- name: 'ReceiveReferendums';
15558
- params: { referendums: Array<[number, PalletReferendaReferendumInfo]> };
15559
- };
15560
- },
15561
- ChainKnownTypes
15562
- >
15563
- >;
15564
-
15565
- /**
15566
- *
15567
- * @param {Array<PalletRcMigratorClaimsRcClaimsMessage>} messages
15568
- **/
15569
- receiveClaims: GenericTxCall<
15570
- (messages: Array<PalletRcMigratorClaimsRcClaimsMessage>) => ChainSubmittableExtrinsic<
15571
- {
15572
- pallet: 'AhMigrator';
15573
- palletCall: {
15574
- name: 'ReceiveClaims';
15575
- params: { messages: Array<PalletRcMigratorClaimsRcClaimsMessage> };
15576
- };
15577
- },
15578
- ChainKnownTypes
15579
- >
15580
- >;
15581
-
15582
- /**
15583
- *
15584
- * @param {Array<PalletRcMigratorStakingBagsListPortableBagsListMessage>} messages
15585
- **/
15586
- receiveBagsListMessages: GenericTxCall<
15587
- (messages: Array<PalletRcMigratorStakingBagsListPortableBagsListMessage>) => ChainSubmittableExtrinsic<
15588
- {
15589
- pallet: 'AhMigrator';
15590
- palletCall: {
15591
- name: 'ReceiveBagsListMessages';
15592
- params: { messages: Array<PalletRcMigratorStakingBagsListPortableBagsListMessage> };
15593
- };
15594
- },
15595
- ChainKnownTypes
15596
- >
15597
- >;
15598
-
15599
- /**
15600
- *
15601
- * @param {Array<PalletRcMigratorSchedulerRcSchedulerMessage>} messages
15602
- **/
15603
- receiveSchedulerMessages: GenericTxCall<
15604
- (messages: Array<PalletRcMigratorSchedulerRcSchedulerMessage>) => ChainSubmittableExtrinsic<
15605
- {
15606
- pallet: 'AhMigrator';
15607
- palletCall: {
15608
- name: 'ReceiveSchedulerMessages';
15609
- params: { messages: Array<PalletRcMigratorSchedulerRcSchedulerMessage> };
15610
- };
15611
- },
15612
- ChainKnownTypes
15613
- >
15614
- >;
15615
-
15616
- /**
15617
- *
15618
- * @param {Array<PalletRcMigratorIndicesRcIndicesIndex>} indices
15619
- **/
15620
- receiveIndices: GenericTxCall<
15621
- (indices: Array<PalletRcMigratorIndicesRcIndicesIndex>) => ChainSubmittableExtrinsic<
15622
- {
15623
- pallet: 'AhMigrator';
15624
- palletCall: {
15625
- name: 'ReceiveIndices';
15626
- params: { indices: Array<PalletRcMigratorIndicesRcIndicesIndex> };
15627
- };
15628
- },
15629
- ChainKnownTypes
15630
- >
15631
- >;
15632
-
15633
- /**
15634
- *
15635
- * @param {Array<PalletRcMigratorConvictionVotingRcConvictionVotingMessage>} messages
15636
- **/
15637
- receiveConvictionVotingMessages: GenericTxCall<
15638
- (messages: Array<PalletRcMigratorConvictionVotingRcConvictionVotingMessage>) => ChainSubmittableExtrinsic<
15639
- {
15640
- pallet: 'AhMigrator';
15641
- palletCall: {
15642
- name: 'ReceiveConvictionVotingMessages';
15643
- params: { messages: Array<PalletRcMigratorConvictionVotingRcConvictionVotingMessage> };
15644
- };
15645
- },
15646
- ChainKnownTypes
15647
- >
15648
- >;
15649
-
15650
- /**
15651
- *
15652
- * @param {Array<PalletRcMigratorBountiesRcBountiesMessage>} messages
15653
- **/
15654
- receiveBountiesMessages: GenericTxCall<
15655
- (messages: Array<PalletRcMigratorBountiesRcBountiesMessage>) => ChainSubmittableExtrinsic<
15656
- {
15657
- pallet: 'AhMigrator';
15658
- palletCall: {
15659
- name: 'ReceiveBountiesMessages';
15660
- params: { messages: Array<PalletRcMigratorBountiesRcBountiesMessage> };
15661
- };
15662
- },
15663
- ChainKnownTypes
15664
- >
15665
- >;
15666
-
15667
- /**
15668
- *
15669
- * @param {Array<[PolkadotRuntimeCommonImplsVersionedLocatableAsset, FixedU128]>} rates
15670
- **/
15671
- receiveAssetRates: GenericTxCall<
15672
- (rates: Array<[PolkadotRuntimeCommonImplsVersionedLocatableAsset, FixedU128]>) => ChainSubmittableExtrinsic<
15673
- {
15674
- pallet: 'AhMigrator';
15675
- palletCall: {
15676
- name: 'ReceiveAssetRates';
15677
- params: { rates: Array<[PolkadotRuntimeCommonImplsVersionedLocatableAsset, FixedU128]> };
15678
- };
15679
- },
15680
- ChainKnownTypes
15681
- >
15682
- >;
15683
-
15684
- /**
15685
- *
15686
- * @param {Array<PalletRcMigratorCrowdloanRcCrowdloanMessage>} messages
15687
- **/
15688
- receiveCrowdloanMessages: GenericTxCall<
15689
- (messages: Array<PalletRcMigratorCrowdloanRcCrowdloanMessage>) => ChainSubmittableExtrinsic<
15690
- {
15691
- pallet: 'AhMigrator';
15692
- palletCall: {
15693
- name: 'ReceiveCrowdloanMessages';
15694
- params: { messages: Array<PalletRcMigratorCrowdloanRcCrowdloanMessage> };
15695
- };
15696
- },
15697
- ChainKnownTypes
15698
- >
15699
- >;
15700
-
15701
- /**
15702
- *
15703
- * @param {Array<[number, H256]>} metadata
15704
- **/
15705
- receiveReferendaMetadata: GenericTxCall<
15706
- (metadata: Array<[number, H256]>) => ChainSubmittableExtrinsic<
15707
- {
15708
- pallet: 'AhMigrator';
15709
- palletCall: {
15710
- name: 'ReceiveReferendaMetadata';
15711
- params: { metadata: Array<[number, H256]> };
15712
- };
15713
- },
15714
- ChainKnownTypes
15715
- >
15716
- >;
15717
-
15718
- /**
15719
- *
15720
- * @param {Array<PalletRcMigratorTreasuryPortableTreasuryMessage>} messages
15721
- **/
15722
- receiveTreasuryMessages: GenericTxCall<
15723
- (messages: Array<PalletRcMigratorTreasuryPortableTreasuryMessage>) => ChainSubmittableExtrinsic<
15724
- {
15725
- pallet: 'AhMigrator';
15726
- palletCall: {
15727
- name: 'ReceiveTreasuryMessages';
15728
- params: { messages: Array<PalletRcMigratorTreasuryPortableTreasuryMessage> };
15729
- };
15730
- },
15731
- ChainKnownTypes
15732
- >
15733
- >;
15734
-
15735
- /**
15736
- *
15737
- * @param {Array<PalletRcMigratorSchedulerSchedulerAgendaMessage>} messages
15738
- **/
15739
- receiveSchedulerAgendaMessages: GenericTxCall<
15740
- (messages: Array<PalletRcMigratorSchedulerSchedulerAgendaMessage>) => ChainSubmittableExtrinsic<
15741
- {
15742
- pallet: 'AhMigrator';
15743
- palletCall: {
15744
- name: 'ReceiveSchedulerAgendaMessages';
15745
- params: { messages: Array<PalletRcMigratorSchedulerSchedulerAgendaMessage> };
15746
- };
15747
- },
15748
- ChainKnownTypes
15749
- >
15750
- >;
15751
-
15752
- /**
15753
- *
15754
- * @param {Array<PalletRcMigratorStakingDelegatedStakingPortableDelegatedStakingMessage>} messages
15755
- **/
15756
- receiveDelegatedStakingMessages: GenericTxCall<
15757
- (
15758
- messages: Array<PalletRcMigratorStakingDelegatedStakingPortableDelegatedStakingMessage>,
15759
- ) => ChainSubmittableExtrinsic<
15760
- {
15761
- pallet: 'AhMigrator';
15762
- palletCall: {
15763
- name: 'ReceiveDelegatedStakingMessages';
15764
- params: { messages: Array<PalletRcMigratorStakingDelegatedStakingPortableDelegatedStakingMessage> };
15765
- };
15766
- },
15767
- ChainKnownTypes
15768
- >
15769
- >;
15770
-
15771
- /**
15772
- *
15773
- * @param {Array<PalletRcMigratorChildBountiesPortableChildBountiesMessage>} messages
15774
- **/
15775
- receiveChildBountiesMessages: GenericTxCall<
15776
- (messages: Array<PalletRcMigratorChildBountiesPortableChildBountiesMessage>) => ChainSubmittableExtrinsic<
15777
- {
15778
- pallet: 'AhMigrator';
15779
- palletCall: {
15780
- name: 'ReceiveChildBountiesMessages';
15781
- params: { messages: Array<PalletRcMigratorChildBountiesPortableChildBountiesMessage> };
15782
- };
15783
- },
15784
- ChainKnownTypes
15785
- >
15786
- >;
15787
-
15788
- /**
15789
- *
15790
- * @param {Array<PalletRcMigratorStakingMessagePortableStakingMessage>} messages
15791
- **/
15792
- receiveStakingMessages: GenericTxCall<
15793
- (messages: Array<PalletRcMigratorStakingMessagePortableStakingMessage>) => ChainSubmittableExtrinsic<
15794
- {
15795
- pallet: 'AhMigrator';
15796
- palletCall: {
15797
- name: 'ReceiveStakingMessages';
15798
- params: { messages: Array<PalletRcMigratorStakingMessagePortableStakingMessage> };
15799
- };
15800
- },
15801
- ChainKnownTypes
15802
- >
15803
- >;
15804
-
15805
- /**
15806
- * Set the migration stage.
15807
- *
15808
- * This call is intended for emergency use only and is guarded by the
15809
- * [`Config::AdminOrigin`].
15810
- *
15811
- * @param {PalletAhMigratorMigrationStage} stage
15812
- **/
15813
- forceSetStage: GenericTxCall<
15814
- (stage: PalletAhMigratorMigrationStage) => ChainSubmittableExtrinsic<
15815
- {
15816
- pallet: 'AhMigrator';
15817
- palletCall: {
15818
- name: 'ForceSetStage';
15819
- params: { stage: PalletAhMigratorMigrationStage };
15820
- };
15821
- },
15822
- ChainKnownTypes
15823
- >
15824
- >;
15825
-
15826
- /**
15827
- * Start the data migration.
15828
- *
15829
- * This is typically called by the Relay Chain to start the migration on the Asset Hub and
15830
- * receive a handshake message indicating the Asset Hub's readiness.
15831
- *
15832
- **/
15833
- startMigration: GenericTxCall<
15834
- () => ChainSubmittableExtrinsic<
15835
- {
15836
- pallet: 'AhMigrator';
15837
- palletCall: {
15838
- name: 'StartMigration';
15839
- };
15840
- },
15841
- ChainKnownTypes
15842
- >
15843
- >;
15844
-
15845
- /**
15846
- * Set the DMP queue priority configuration.
15847
- *
15848
- * Can only be called by the `AdminOrigin`.
15849
- *
15850
- * @param {PalletRcMigratorQueuePriority} new_
15851
- **/
15852
- setDmpQueuePriority: GenericTxCall<
15853
- (new_: PalletRcMigratorQueuePriority) => ChainSubmittableExtrinsic<
15854
- {
15855
- pallet: 'AhMigrator';
15856
- palletCall: {
15857
- name: 'SetDmpQueuePriority';
15858
- params: { new: PalletRcMigratorQueuePriority };
15859
- };
15860
- },
15861
- ChainKnownTypes
15862
- >
15863
- >;
15864
-
15865
- /**
15866
- * Set the manager account id.
15867
- *
15868
- * The manager has the similar to [`Config::AdminOrigin`] privileges except that it
15869
- * can not set the manager account id via `set_manager` call.
15870
- *
15871
- * @param {AccountId32Like | undefined} new_
15872
- **/
15873
- setManager: GenericTxCall<
15874
- (new_: AccountId32Like | undefined) => ChainSubmittableExtrinsic<
15875
- {
15876
- pallet: 'AhMigrator';
15877
- palletCall: {
15878
- name: 'SetManager';
15879
- params: { new: AccountId32Like | undefined };
15880
- };
15881
- },
15882
- ChainKnownTypes
15883
- >
15884
- >;
15885
-
15886
- /**
15887
- * Finish the migration.
15888
- *
15889
- * This is typically called by the Relay Chain to signal the migration has finished.
15890
- *
15891
- * The `data` parameter might be `None` if we are running the migration for a second time
15892
- * for some pallets and have already performed the checking account balance correction,
15893
- * so we do not need to do it this time.
15894
- *
15895
- * @param {PalletRcMigratorMigrationFinishedData | undefined} data
15896
- * @param {number} coolOffEndAt
15897
- **/
15898
- finishMigration: GenericTxCall<
15899
- (
15900
- data: PalletRcMigratorMigrationFinishedData | undefined,
15901
- coolOffEndAt: number,
15902
- ) => ChainSubmittableExtrinsic<
15903
- {
15904
- pallet: 'AhMigrator';
15905
- palletCall: {
15906
- name: 'FinishMigration';
15907
- params: { data: PalletRcMigratorMigrationFinishedData | undefined; coolOffEndAt: number };
15908
- };
15909
- },
15910
- ChainKnownTypes
15911
- >
15912
- >;
15913
-
15914
- /**
15915
- * XCM send call identical to the [`pallet_xcm::Pallet::send`] call but with the
15916
- * [Config::SendXcm] router which will be able to send messages to the Relay Chain during
15917
- * the migration.
15918
- *
15919
- * @param {XcmVersionedLocation} dest
15920
- * @param {XcmVersionedXcm} message
15921
- **/
15922
- sendXcmMessage: GenericTxCall<
15923
- (
15924
- dest: XcmVersionedLocation,
15925
- message: XcmVersionedXcm,
15926
- ) => ChainSubmittableExtrinsic<
15927
- {
15928
- pallet: 'AhMigrator';
15929
- palletCall: {
15930
- name: 'SendXcmMessage';
15931
- params: { dest: XcmVersionedLocation; message: XcmVersionedXcm };
15932
- };
15933
- },
15934
- ChainKnownTypes
15935
- >
15936
- >;
15937
-
15938
15323
  /**
15939
15324
  * Generic pallet tx call
15940
15325
  **/