@dedot/chaintypes 0.122.0 → 0.131.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 (53) hide show
  1. package/astar/consts.d.ts +0 -9
  2. package/astar/index.d.ts +1 -1
  3. package/astar/query.d.ts +0 -15
  4. package/hydration/consts.d.ts +29 -0
  5. package/hydration/errors.d.ts +172 -10
  6. package/hydration/events.d.ts +105 -0
  7. package/hydration/index.d.ts +1 -1
  8. package/hydration/json-rpc.d.ts +1 -0
  9. package/hydration/query.d.ts +50 -0
  10. package/hydration/tx.d.ts +408 -0
  11. package/hydration/types.d.ts +695 -12
  12. package/kusama/consts.d.ts +27 -7
  13. package/kusama/errors.d.ts +51 -4
  14. package/kusama/events.d.ts +212 -4
  15. package/kusama/index.d.ts +1 -1
  16. package/kusama/query.d.ts +44 -19
  17. package/kusama/runtime.d.ts +22 -0
  18. package/kusama/tx.d.ts +377 -25
  19. package/kusama/types.d.ts +638 -80
  20. package/kusama-asset-hub/consts.d.ts +98 -2
  21. package/kusama-asset-hub/errors.d.ts +314 -12
  22. package/kusama-asset-hub/events.d.ts +157 -3
  23. package/kusama-asset-hub/index.d.ts +1 -1
  24. package/kusama-asset-hub/query.d.ts +113 -6
  25. package/kusama-asset-hub/runtime.d.ts +217 -1
  26. package/kusama-asset-hub/tx.d.ts +581 -1
  27. package/kusama-asset-hub/types.d.ts +1086 -26
  28. package/moonbeam/index.d.ts +1 -1
  29. package/package.json +2 -2
  30. package/polkadot/consts.d.ts +23 -5
  31. package/polkadot/errors.d.ts +51 -4
  32. package/polkadot/events.d.ts +207 -4
  33. package/polkadot/index.d.ts +1 -1
  34. package/polkadot/query.d.ts +44 -19
  35. package/polkadot/runtime.d.ts +22 -0
  36. package/polkadot/tx.d.ts +376 -24
  37. package/polkadot/types.d.ts +630 -78
  38. package/westend/consts.d.ts +28 -9
  39. package/westend/errors.d.ts +21 -37
  40. package/westend/events.d.ts +25 -49
  41. package/westend/index.d.ts +1 -1
  42. package/westend/query.d.ts +40 -70
  43. package/westend/runtime.d.ts +7 -0
  44. package/westend/tx.d.ts +77 -124
  45. package/westend/types.d.ts +228 -328
  46. package/westend-asset-hub/consts.d.ts +41 -14
  47. package/westend-asset-hub/errors.d.ts +12 -96
  48. package/westend-asset-hub/events.d.ts +29 -81
  49. package/westend-asset-hub/index.d.ts +1 -1
  50. package/westend-asset-hub/query.d.ts +61 -125
  51. package/westend-asset-hub/runtime.d.ts +47 -1
  52. package/westend-asset-hub/tx.d.ts +97 -549
  53. package/westend-asset-hub/types.d.ts +489 -958
@@ -26,7 +26,8 @@ import type {
26
26
  AssetHubWestendRuntimeRuntimeCallLike,
27
27
  SpRuntimeMultiSignature,
28
28
  FrameSystemEventRecord,
29
- CumulusPrimitivesParachainInherentParachainInherentData,
29
+ CumulusPalletParachainSystemParachainInherentBasicParachainInherentData,
30
+ CumulusPalletParachainSystemParachainInherentInboundMessagesData,
30
31
  PalletMigrationsMigrationCursor,
31
32
  PalletMigrationsHistoricCleanupSelector,
32
33
  SpWeightsWeightV2Weight,
@@ -43,8 +44,8 @@ import type {
43
44
  CumulusPrimitivesCoreAggregateMessageOrigin,
44
45
  SnowbridgeCoreOperatingModeBasicOperatingMode,
45
46
  SnowbridgeCoreAssetMetadata,
46
- SnowbridgeCoreRewardMessageId,
47
47
  StagingXcmV5Asset,
48
+ SnowbridgeCoreRewardMessageId,
48
49
  AssetHubWestendRuntimeOriginCaller,
49
50
  PalletMultisigTimepoint,
50
51
  AssetHubWestendRuntimeProxyType,
@@ -91,26 +92,8 @@ import type {
91
92
  PalletConvictionVotingConviction,
92
93
  FrameSupportPreimagesBounded,
93
94
  PolkadotRuntimeCommonImplsVersionedLocatableAsset,
95
+ ParachainsCommonPayVersionedLocatableAccount,
94
96
  AssetHubWestendRuntimeRuntimeHoldReason,
95
- PalletRcMigratorAccountsAccount,
96
- PalletRcMigratorMultisigRcMultisig,
97
- PalletRcMigratorProxyRcProxy,
98
- PalletRcMigratorProxyRcProxyAnnouncement,
99
- PalletRcMigratorPreimageChunksRcPreimageChunk,
100
- PalletRcMigratorPreimageRequestStatusRcPreimageRequestStatus,
101
- PalletRcMigratorPreimageLegacyRequestStatusRcPreimageLegacyStatus,
102
- PalletRcMigratorStakingNomPoolsRcNomPoolsMessage,
103
- PalletRcMigratorVestingRcVestingSchedule,
104
- PalletRcMigratorStakingFastUnstakeRcFastUnstakeMessage,
105
- PalletReferendaReferendumInfo,
106
- PalletRcMigratorStakingBagsListRcBagsListMessage,
107
- PalletRcMigratorSchedulerRcSchedulerMessage,
108
- PalletRcMigratorIndicesRcIndicesIndex,
109
- PalletRcMigratorConvictionVotingRcConvictionVotingMessage,
110
- PalletRcMigratorSchedulerAliasScheduled,
111
- PalletRcMigratorStakingMessageRcStakingMessage,
112
- PalletAhMigratorMigrationStage,
113
- PalletRcMigratorMigrationFinishedData,
114
97
  } from './types.js';
115
98
 
116
99
  export type ChainSubmittableExtrinsic<
@@ -387,17 +370,24 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
387
370
  * As a side effect, this function upgrades the current validation function
388
371
  * if the appropriate time has come.
389
372
  *
390
- * @param {CumulusPrimitivesParachainInherentParachainInherentData} data
373
+ * @param {CumulusPalletParachainSystemParachainInherentBasicParachainInherentData} data
374
+ * @param {CumulusPalletParachainSystemParachainInherentInboundMessagesData} inboundMessagesData
391
375
  **/
392
376
  setValidationData: GenericTxCall<
393
377
  Rv,
394
- (data: CumulusPrimitivesParachainInherentParachainInherentData) => ChainSubmittableExtrinsic<
378
+ (
379
+ data: CumulusPalletParachainSystemParachainInherentBasicParachainInherentData,
380
+ inboundMessagesData: CumulusPalletParachainSystemParachainInherentInboundMessagesData,
381
+ ) => ChainSubmittableExtrinsic<
395
382
  Rv,
396
383
  {
397
384
  pallet: 'ParachainSystem';
398
385
  palletCall: {
399
386
  name: 'SetValidationData';
400
- params: { data: CumulusPrimitivesParachainInherentParachainInherentData };
387
+ params: {
388
+ data: CumulusPalletParachainSystemParachainInherentBasicParachainInherentData;
389
+ inboundMessagesData: CumulusPalletParachainSystemParachainInherentInboundMessagesData;
390
+ };
401
391
  };
402
392
  }
403
393
  >
@@ -2812,19 +2802,25 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
2812
2802
  *
2813
2803
  * @param {XcmVersionedLocation} assetId
2814
2804
  * @param {SnowbridgeCoreAssetMetadata} metadata
2805
+ * @param {StagingXcmV5Asset} feeAsset
2815
2806
  **/
2816
2807
  registerToken: GenericTxCall<
2817
2808
  Rv,
2818
2809
  (
2819
2810
  assetId: XcmVersionedLocation,
2820
2811
  metadata: SnowbridgeCoreAssetMetadata,
2812
+ feeAsset: StagingXcmV5Asset,
2821
2813
  ) => ChainSubmittableExtrinsic<
2822
2814
  Rv,
2823
2815
  {
2824
2816
  pallet: 'SnowbridgeSystemFrontend';
2825
2817
  palletCall: {
2826
2818
  name: 'RegisterToken';
2827
- params: { assetId: XcmVersionedLocation; metadata: SnowbridgeCoreAssetMetadata };
2819
+ params: {
2820
+ assetId: XcmVersionedLocation;
2821
+ metadata: SnowbridgeCoreAssetMetadata;
2822
+ feeAsset: StagingXcmV5Asset;
2823
+ };
2828
2824
  };
2829
2825
  }
2830
2826
  >
@@ -3508,7 +3504,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
3508
3504
  *
3509
3505
  * The dispatch origin for this call must be _Signed_.
3510
3506
  *
3511
- * WARNING: This may be called on accounts created by `pure`, however if done, then
3507
+ * WARNING: This may be called on accounts created by `create_pure`, however if done, then
3512
3508
  * the unreserved fees will be inaccessible. **All access to this account will be lost.**
3513
3509
  *
3514
3510
  **/
@@ -3574,16 +3570,16 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
3574
3570
  * inaccessible.
3575
3571
  *
3576
3572
  * Requires a `Signed` origin, and the sender account must have been created by a call to
3577
- * `pure` with corresponding parameters.
3573
+ * `create_pure` with corresponding parameters.
3578
3574
  *
3579
- * - `spawner`: The account that originally called `pure` to create this account.
3575
+ * - `spawner`: The account that originally called `create_pure` to create this account.
3580
3576
  * - `index`: The disambiguation index originally passed to `create_pure`. Probably `0`.
3581
- * - `proxy_type`: The proxy type originally passed to `pure`.
3582
- * - `height`: The height of the chain when the call to `pure` was processed.
3583
- * - `ext_index`: The extrinsic index in which the call to `pure` was processed.
3577
+ * - `proxy_type`: The proxy type originally passed to `create_pure`.
3578
+ * - `height`: The height of the chain when the call to `create_pure` was processed.
3579
+ * - `ext_index`: The extrinsic index in which the call to `create_pure` was processed.
3584
3580
  *
3585
3581
  * Fails with `NoPermission` in case the caller is not a previously created pure
3586
- * account whose `pure` call has corresponding parameters.
3582
+ * account whose `create_pure` call has corresponding parameters.
3587
3583
  *
3588
3584
  * @param {MultiAddressLike} spawner
3589
3585
  * @param {AssetHubWestendRuntimeProxyType} proxyType
@@ -10526,10 +10522,10 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
10526
10522
  >;
10527
10523
 
10528
10524
  /**
10529
- * Instantiates a contract from a previously deployed wasm binary.
10525
+ * Instantiates a contract from a previously deployed vm binary.
10530
10526
  *
10531
10527
  * This function is identical to [`Self::instantiate_with_code`] but without the
10532
- * code deployment step. Instead, the `code_hash` of an on-chain deployed wasm binary
10528
+ * code deployment step. Instead, the `code_hash` of an on-chain deployed vm binary
10533
10529
  * must be supplied.
10534
10530
  *
10535
10531
  * @param {bigint} value
@@ -10631,6 +10627,47 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
10631
10627
  >
10632
10628
  >;
10633
10629
 
10630
+ /**
10631
+ * Same as [`Self::instantiate_with_code`], but intended to be dispatched **only**
10632
+ * by an EVM transaction through the EVM compatibility layer.
10633
+ *
10634
+ * Calling this dispatchable ensures that the origin's nonce is bumped only once,
10635
+ * via the `CheckNonce` transaction extension. In contrast, [`Self::instantiate_with_code`]
10636
+ * also bumps the nonce after contract instantiation, since it may be invoked multiple
10637
+ * times within a batch call transaction.
10638
+ *
10639
+ * @param {bigint} value
10640
+ * @param {SpWeightsWeightV2Weight} gasLimit
10641
+ * @param {bigint} storageDepositLimit
10642
+ * @param {BytesLike} code
10643
+ * @param {BytesLike} data
10644
+ **/
10645
+ ethInstantiateWithCode: GenericTxCall<
10646
+ Rv,
10647
+ (
10648
+ value: bigint,
10649
+ gasLimit: SpWeightsWeightV2Weight,
10650
+ storageDepositLimit: bigint,
10651
+ code: BytesLike,
10652
+ data: BytesLike,
10653
+ ) => ChainSubmittableExtrinsic<
10654
+ Rv,
10655
+ {
10656
+ pallet: 'Revive';
10657
+ palletCall: {
10658
+ name: 'EthInstantiateWithCode';
10659
+ params: {
10660
+ value: bigint;
10661
+ gasLimit: SpWeightsWeightV2Weight;
10662
+ storageDepositLimit: bigint;
10663
+ code: BytesLike;
10664
+ data: BytesLike;
10665
+ };
10666
+ };
10667
+ }
10668
+ >
10669
+ >;
10670
+
10634
10671
  /**
10635
10672
  * Upload new `code` without instantiating a contract from it.
10636
10673
  *
@@ -11781,8 +11818,8 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
11781
11818
  * Remove all data structures concerning a staker/stash once it is at a state where it can
11782
11819
  * be considered `dust` in the staking system. The requirements are:
11783
11820
  *
11784
- * 1. the `total_balance` of the stash is below existential deposit.
11785
- * 2. or, the `ledger.total` of the stash is below existential deposit.
11821
+ * 1. the `total_balance` of the stash is below minimum bond.
11822
+ * 2. or, the `ledger.total` of the stash is below minimum bond.
11786
11823
  * 3. or, existential deposit is zero and either `total_balance` or `ledger.total` is zero.
11787
11824
  *
11788
11825
  * The former can happen in cases like a slash; the latter when a fully unbonded account
@@ -12192,30 +12229,6 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
12192
12229
  >
12193
12230
  >;
12194
12231
 
12195
- /**
12196
- * Adjusts the staking ledger by withdrawing any excess staked amount.
12197
- *
12198
- * This function corrects cases where a user's recorded stake in the ledger
12199
- * exceeds their actual staked funds. This situation can arise due to cases such as
12200
- * external slashing by another pallet, leading to an inconsistency between the ledger
12201
- * and the actual stake.
12202
- *
12203
- * @param {AccountId32Like} stash
12204
- **/
12205
- withdrawOverstake: GenericTxCall<
12206
- Rv,
12207
- (stash: AccountId32Like) => ChainSubmittableExtrinsic<
12208
- Rv,
12209
- {
12210
- pallet: 'Staking';
12211
- palletCall: {
12212
- name: 'WithdrawOverstake';
12213
- params: { stash: AccountId32Like };
12214
- };
12215
- }
12216
- >
12217
- >;
12218
-
12219
12232
  /**
12220
12233
  * Generic pallet tx call
12221
12234
  **/
@@ -13504,6 +13517,27 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
13504
13517
  >
13505
13518
  >;
13506
13519
 
13520
+ /**
13521
+ * Set the invulnerable list.
13522
+ *
13523
+ * Dispatch origin must the the same as [`crate::Config::AdminOrigin`].
13524
+ *
13525
+ * @param {Array<AccountId32Like>} inv
13526
+ **/
13527
+ setInvulnerables: GenericTxCall<
13528
+ Rv,
13529
+ (inv: Array<AccountId32Like>) => ChainSubmittableExtrinsic<
13530
+ Rv,
13531
+ {
13532
+ pallet: 'MultiBlockElectionSigned';
13533
+ palletCall: {
13534
+ name: 'SetInvulnerables';
13535
+ params: { inv: Array<AccountId32Like> };
13536
+ };
13537
+ }
13538
+ >
13539
+ >;
13540
+
13507
13541
  /**
13508
13542
  * Generic pallet tx call
13509
13543
  **/
@@ -14204,7 +14238,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
14204
14238
  *
14205
14239
  * @param {PolkadotRuntimeCommonImplsVersionedLocatableAsset} assetKind
14206
14240
  * @param {bigint} amount
14207
- * @param {XcmVersionedLocation} beneficiary
14241
+ * @param {ParachainsCommonPayVersionedLocatableAccount} beneficiary
14208
14242
  * @param {number | undefined} validFrom
14209
14243
  **/
14210
14244
  spend: GenericTxCall<
@@ -14212,7 +14246,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
14212
14246
  (
14213
14247
  assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset,
14214
14248
  amount: bigint,
14215
- beneficiary: XcmVersionedLocation,
14249
+ beneficiary: ParachainsCommonPayVersionedLocatableAccount,
14216
14250
  validFrom: number | undefined,
14217
14251
  ) => ChainSubmittableExtrinsic<
14218
14252
  Rv,
@@ -14223,7 +14257,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
14223
14257
  params: {
14224
14258
  assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset;
14225
14259
  amount: bigint;
14226
- beneficiary: XcmVersionedLocation;
14260
+ beneficiary: ParachainsCommonPayVersionedLocatableAccount;
14227
14261
  validFrom: number | undefined;
14228
14262
  };
14229
14263
  };
@@ -14648,492 +14682,6 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
14648
14682
  >
14649
14683
  >;
14650
14684
 
14651
- /**
14652
- * Generic pallet tx call
14653
- **/
14654
- [callName: string]: GenericTxCall<Rv, TxCall<Rv>>;
14655
- };
14656
- /**
14657
- * Pallet `AhMigrator`'s transaction calls
14658
- **/
14659
- ahMigrator: {
14660
- /**
14661
- * Receive accounts from the Relay Chain.
14662
- *
14663
- * The accounts sent with `pallet_rc_migrator::Pallet::migrate_accounts` function.
14664
- *
14665
- * @param {Array<PalletRcMigratorAccountsAccount>} accounts
14666
- **/
14667
- receiveAccounts: GenericTxCall<
14668
- Rv,
14669
- (accounts: Array<PalletRcMigratorAccountsAccount>) => ChainSubmittableExtrinsic<
14670
- Rv,
14671
- {
14672
- pallet: 'AhMigrator';
14673
- palletCall: {
14674
- name: 'ReceiveAccounts';
14675
- params: { accounts: Array<PalletRcMigratorAccountsAccount> };
14676
- };
14677
- }
14678
- >
14679
- >;
14680
-
14681
- /**
14682
- * Receive multisigs from the Relay Chain.
14683
- *
14684
- * This will be called from an XCM `Transact` inside a DMP from the relay chain. The
14685
- * multisigs were prepared by
14686
- * `pallet_rc_migrator::multisig::MultisigMigrator::migrate_many`.
14687
- *
14688
- * @param {Array<PalletRcMigratorMultisigRcMultisig>} accounts
14689
- **/
14690
- receiveMultisigs: GenericTxCall<
14691
- Rv,
14692
- (accounts: Array<PalletRcMigratorMultisigRcMultisig>) => ChainSubmittableExtrinsic<
14693
- Rv,
14694
- {
14695
- pallet: 'AhMigrator';
14696
- palletCall: {
14697
- name: 'ReceiveMultisigs';
14698
- params: { accounts: Array<PalletRcMigratorMultisigRcMultisig> };
14699
- };
14700
- }
14701
- >
14702
- >;
14703
-
14704
- /**
14705
- * Receive proxies from the Relay Chain.
14706
- *
14707
- * @param {Array<PalletRcMigratorProxyRcProxy>} proxies
14708
- **/
14709
- receiveProxyProxies: GenericTxCall<
14710
- Rv,
14711
- (proxies: Array<PalletRcMigratorProxyRcProxy>) => ChainSubmittableExtrinsic<
14712
- Rv,
14713
- {
14714
- pallet: 'AhMigrator';
14715
- palletCall: {
14716
- name: 'ReceiveProxyProxies';
14717
- params: { proxies: Array<PalletRcMigratorProxyRcProxy> };
14718
- };
14719
- }
14720
- >
14721
- >;
14722
-
14723
- /**
14724
- * Receive proxy announcements from the Relay Chain.
14725
- *
14726
- * @param {Array<PalletRcMigratorProxyRcProxyAnnouncement>} announcements
14727
- **/
14728
- receiveProxyAnnouncements: GenericTxCall<
14729
- Rv,
14730
- (announcements: Array<PalletRcMigratorProxyRcProxyAnnouncement>) => ChainSubmittableExtrinsic<
14731
- Rv,
14732
- {
14733
- pallet: 'AhMigrator';
14734
- palletCall: {
14735
- name: 'ReceiveProxyAnnouncements';
14736
- params: { announcements: Array<PalletRcMigratorProxyRcProxyAnnouncement> };
14737
- };
14738
- }
14739
- >
14740
- >;
14741
-
14742
- /**
14743
- *
14744
- * @param {Array<PalletRcMigratorPreimageChunksRcPreimageChunk>} chunks
14745
- **/
14746
- receivePreimageChunks: GenericTxCall<
14747
- Rv,
14748
- (chunks: Array<PalletRcMigratorPreimageChunksRcPreimageChunk>) => ChainSubmittableExtrinsic<
14749
- Rv,
14750
- {
14751
- pallet: 'AhMigrator';
14752
- palletCall: {
14753
- name: 'ReceivePreimageChunks';
14754
- params: { chunks: Array<PalletRcMigratorPreimageChunksRcPreimageChunk> };
14755
- };
14756
- }
14757
- >
14758
- >;
14759
-
14760
- /**
14761
- *
14762
- * @param {Array<PalletRcMigratorPreimageRequestStatusRcPreimageRequestStatus>} requestStatus
14763
- **/
14764
- receivePreimageRequestStatus: GenericTxCall<
14765
- Rv,
14766
- (requestStatus: Array<PalletRcMigratorPreimageRequestStatusRcPreimageRequestStatus>) => ChainSubmittableExtrinsic<
14767
- Rv,
14768
- {
14769
- pallet: 'AhMigrator';
14770
- palletCall: {
14771
- name: 'ReceivePreimageRequestStatus';
14772
- params: { requestStatus: Array<PalletRcMigratorPreimageRequestStatusRcPreimageRequestStatus> };
14773
- };
14774
- }
14775
- >
14776
- >;
14777
-
14778
- /**
14779
- *
14780
- * @param {Array<PalletRcMigratorPreimageLegacyRequestStatusRcPreimageLegacyStatus>} legacyStatus
14781
- **/
14782
- receivePreimageLegacyStatus: GenericTxCall<
14783
- Rv,
14784
- (
14785
- legacyStatus: Array<PalletRcMigratorPreimageLegacyRequestStatusRcPreimageLegacyStatus>,
14786
- ) => ChainSubmittableExtrinsic<
14787
- Rv,
14788
- {
14789
- pallet: 'AhMigrator';
14790
- palletCall: {
14791
- name: 'ReceivePreimageLegacyStatus';
14792
- params: { legacyStatus: Array<PalletRcMigratorPreimageLegacyRequestStatusRcPreimageLegacyStatus> };
14793
- };
14794
- }
14795
- >
14796
- >;
14797
-
14798
- /**
14799
- *
14800
- * @param {Array<PalletRcMigratorStakingNomPoolsRcNomPoolsMessage>} messages
14801
- **/
14802
- receiveNomPoolsMessages: GenericTxCall<
14803
- Rv,
14804
- (messages: Array<PalletRcMigratorStakingNomPoolsRcNomPoolsMessage>) => ChainSubmittableExtrinsic<
14805
- Rv,
14806
- {
14807
- pallet: 'AhMigrator';
14808
- palletCall: {
14809
- name: 'ReceiveNomPoolsMessages';
14810
- params: { messages: Array<PalletRcMigratorStakingNomPoolsRcNomPoolsMessage> };
14811
- };
14812
- }
14813
- >
14814
- >;
14815
-
14816
- /**
14817
- *
14818
- * @param {Array<PalletRcMigratorVestingRcVestingSchedule>} schedules
14819
- **/
14820
- receiveVestingSchedules: GenericTxCall<
14821
- Rv,
14822
- (schedules: Array<PalletRcMigratorVestingRcVestingSchedule>) => ChainSubmittableExtrinsic<
14823
- Rv,
14824
- {
14825
- pallet: 'AhMigrator';
14826
- palletCall: {
14827
- name: 'ReceiveVestingSchedules';
14828
- params: { schedules: Array<PalletRcMigratorVestingRcVestingSchedule> };
14829
- };
14830
- }
14831
- >
14832
- >;
14833
-
14834
- /**
14835
- *
14836
- * @param {Array<PalletRcMigratorStakingFastUnstakeRcFastUnstakeMessage>} messages
14837
- **/
14838
- receiveFastUnstakeMessages: GenericTxCall<
14839
- Rv,
14840
- (messages: Array<PalletRcMigratorStakingFastUnstakeRcFastUnstakeMessage>) => ChainSubmittableExtrinsic<
14841
- Rv,
14842
- {
14843
- pallet: 'AhMigrator';
14844
- palletCall: {
14845
- name: 'ReceiveFastUnstakeMessages';
14846
- params: { messages: Array<PalletRcMigratorStakingFastUnstakeRcFastUnstakeMessage> };
14847
- };
14848
- }
14849
- >
14850
- >;
14851
-
14852
- /**
14853
- * Receive referendum counts, deciding counts, votes for the track queue.
14854
- *
14855
- * @param {number} referendumCount
14856
- * @param {Array<[number, number]>} decidingCount
14857
- * @param {Array<[number, Array<[number, bigint]>]>} trackQueue
14858
- **/
14859
- receiveReferendaValues: GenericTxCall<
14860
- Rv,
14861
- (
14862
- referendumCount: number,
14863
- decidingCount: Array<[number, number]>,
14864
- trackQueue: Array<[number, Array<[number, bigint]>]>,
14865
- ) => ChainSubmittableExtrinsic<
14866
- Rv,
14867
- {
14868
- pallet: 'AhMigrator';
14869
- palletCall: {
14870
- name: 'ReceiveReferendaValues';
14871
- params: {
14872
- referendumCount: number;
14873
- decidingCount: Array<[number, number]>;
14874
- trackQueue: Array<[number, Array<[number, bigint]>]>;
14875
- };
14876
- };
14877
- }
14878
- >
14879
- >;
14880
-
14881
- /**
14882
- * Receive referendums from the Relay Chain.
14883
- *
14884
- * @param {Array<[number, PalletReferendaReferendumInfo]>} referendums
14885
- **/
14886
- receiveReferendums: GenericTxCall<
14887
- Rv,
14888
- (referendums: Array<[number, PalletReferendaReferendumInfo]>) => ChainSubmittableExtrinsic<
14889
- Rv,
14890
- {
14891
- pallet: 'AhMigrator';
14892
- palletCall: {
14893
- name: 'ReceiveReferendums';
14894
- params: { referendums: Array<[number, PalletReferendaReferendumInfo]> };
14895
- };
14896
- }
14897
- >
14898
- >;
14899
-
14900
- /**
14901
- *
14902
- * @param {Array<PalletRcMigratorStakingBagsListRcBagsListMessage>} messages
14903
- **/
14904
- receiveBagsListMessages: GenericTxCall<
14905
- Rv,
14906
- (messages: Array<PalletRcMigratorStakingBagsListRcBagsListMessage>) => ChainSubmittableExtrinsic<
14907
- Rv,
14908
- {
14909
- pallet: 'AhMigrator';
14910
- palletCall: {
14911
- name: 'ReceiveBagsListMessages';
14912
- params: { messages: Array<PalletRcMigratorStakingBagsListRcBagsListMessage> };
14913
- };
14914
- }
14915
- >
14916
- >;
14917
-
14918
- /**
14919
- *
14920
- * @param {Array<PalletRcMigratorSchedulerRcSchedulerMessage>} messages
14921
- **/
14922
- receiveSchedulerMessages: GenericTxCall<
14923
- Rv,
14924
- (messages: Array<PalletRcMigratorSchedulerRcSchedulerMessage>) => ChainSubmittableExtrinsic<
14925
- Rv,
14926
- {
14927
- pallet: 'AhMigrator';
14928
- palletCall: {
14929
- name: 'ReceiveSchedulerMessages';
14930
- params: { messages: Array<PalletRcMigratorSchedulerRcSchedulerMessage> };
14931
- };
14932
- }
14933
- >
14934
- >;
14935
-
14936
- /**
14937
- *
14938
- * @param {Array<PalletRcMigratorIndicesRcIndicesIndex>} indices
14939
- **/
14940
- receiveIndices: GenericTxCall<
14941
- Rv,
14942
- (indices: Array<PalletRcMigratorIndicesRcIndicesIndex>) => ChainSubmittableExtrinsic<
14943
- Rv,
14944
- {
14945
- pallet: 'AhMigrator';
14946
- palletCall: {
14947
- name: 'ReceiveIndices';
14948
- params: { indices: Array<PalletRcMigratorIndicesRcIndicesIndex> };
14949
- };
14950
- }
14951
- >
14952
- >;
14953
-
14954
- /**
14955
- *
14956
- * @param {Array<PalletRcMigratorConvictionVotingRcConvictionVotingMessage>} messages
14957
- **/
14958
- receiveConvictionVotingMessages: GenericTxCall<
14959
- Rv,
14960
- (messages: Array<PalletRcMigratorConvictionVotingRcConvictionVotingMessage>) => ChainSubmittableExtrinsic<
14961
- Rv,
14962
- {
14963
- pallet: 'AhMigrator';
14964
- palletCall: {
14965
- name: 'ReceiveConvictionVotingMessages';
14966
- params: { messages: Array<PalletRcMigratorConvictionVotingRcConvictionVotingMessage> };
14967
- };
14968
- }
14969
- >
14970
- >;
14971
-
14972
- /**
14973
- *
14974
- * @param {Array<[PolkadotRuntimeCommonImplsVersionedLocatableAsset, FixedU128]>} rates
14975
- **/
14976
- receiveAssetRates: GenericTxCall<
14977
- Rv,
14978
- (rates: Array<[PolkadotRuntimeCommonImplsVersionedLocatableAsset, FixedU128]>) => ChainSubmittableExtrinsic<
14979
- Rv,
14980
- {
14981
- pallet: 'AhMigrator';
14982
- palletCall: {
14983
- name: 'ReceiveAssetRates';
14984
- params: { rates: Array<[PolkadotRuntimeCommonImplsVersionedLocatableAsset, FixedU128]> };
14985
- };
14986
- }
14987
- >
14988
- >;
14989
-
14990
- /**
14991
- *
14992
- * @param {Array<[number, H256]>} metadata
14993
- **/
14994
- receiveReferendaMetadata: GenericTxCall<
14995
- Rv,
14996
- (metadata: Array<[number, H256]>) => ChainSubmittableExtrinsic<
14997
- Rv,
14998
- {
14999
- pallet: 'AhMigrator';
15000
- palletCall: {
15001
- name: 'ReceiveReferendaMetadata';
15002
- params: { metadata: Array<[number, H256]> };
15003
- };
15004
- }
15005
- >
15006
- >;
15007
-
15008
- /**
15009
- *
15010
- * @param {Array<[number, Array<PalletRcMigratorSchedulerAliasScheduled | undefined>]>} messages
15011
- **/
15012
- receiveSchedulerAgendaMessages: GenericTxCall<
15013
- Rv,
15014
- (
15015
- messages: Array<[number, Array<PalletRcMigratorSchedulerAliasScheduled | undefined>]>,
15016
- ) => ChainSubmittableExtrinsic<
15017
- Rv,
15018
- {
15019
- pallet: 'AhMigrator';
15020
- palletCall: {
15021
- name: 'ReceiveSchedulerAgendaMessages';
15022
- params: { messages: Array<[number, Array<PalletRcMigratorSchedulerAliasScheduled | undefined>]> };
15023
- };
15024
- }
15025
- >
15026
- >;
15027
-
15028
- /**
15029
- *
15030
- * @param {Array<PalletRcMigratorStakingMessageRcStakingMessage>} messages
15031
- **/
15032
- receiveStakingMessages: GenericTxCall<
15033
- Rv,
15034
- (messages: Array<PalletRcMigratorStakingMessageRcStakingMessage>) => ChainSubmittableExtrinsic<
15035
- Rv,
15036
- {
15037
- pallet: 'AhMigrator';
15038
- palletCall: {
15039
- name: 'ReceiveStakingMessages';
15040
- params: { messages: Array<PalletRcMigratorStakingMessageRcStakingMessage> };
15041
- };
15042
- }
15043
- >
15044
- >;
15045
-
15046
- /**
15047
- * Set the migration stage.
15048
- *
15049
- * This call is intended for emergency use only and is guarded by the
15050
- * [`Config::ManagerOrigin`].
15051
- *
15052
- * @param {PalletAhMigratorMigrationStage} stage
15053
- **/
15054
- forceSetStage: GenericTxCall<
15055
- Rv,
15056
- (stage: PalletAhMigratorMigrationStage) => ChainSubmittableExtrinsic<
15057
- Rv,
15058
- {
15059
- pallet: 'AhMigrator';
15060
- palletCall: {
15061
- name: 'ForceSetStage';
15062
- params: { stage: PalletAhMigratorMigrationStage };
15063
- };
15064
- }
15065
- >
15066
- >;
15067
-
15068
- /**
15069
- * Start the data migration.
15070
- *
15071
- * This is typically called by the Relay Chain to start the migration on the Asset Hub and
15072
- * receive a handshake message indicating the Asset Hub's readiness.
15073
- *
15074
- **/
15075
- startMigration: GenericTxCall<
15076
- Rv,
15077
- () => ChainSubmittableExtrinsic<
15078
- Rv,
15079
- {
15080
- pallet: 'AhMigrator';
15081
- palletCall: {
15082
- name: 'StartMigration';
15083
- };
15084
- }
15085
- >
15086
- >;
15087
-
15088
- /**
15089
- * Finish the migration.
15090
- *
15091
- * This is typically called by the Relay Chain to signal the migration has finished.
15092
- *
15093
- * @param {PalletRcMigratorMigrationFinishedData} data
15094
- **/
15095
- finishMigration: GenericTxCall<
15096
- Rv,
15097
- (data: PalletRcMigratorMigrationFinishedData) => ChainSubmittableExtrinsic<
15098
- Rv,
15099
- {
15100
- pallet: 'AhMigrator';
15101
- palletCall: {
15102
- name: 'FinishMigration';
15103
- params: { data: PalletRcMigratorMigrationFinishedData };
15104
- };
15105
- }
15106
- >
15107
- >;
15108
-
15109
- /**
15110
- * Fix hold reasons that were incorrectly assigned during migration.
15111
- * This should only be used post-migration to repair bad hold reasons.
15112
- *
15113
- * Only the `ManagerOrigin` can call this function.
15114
- *
15115
- * @param {AccountId32Like} account
15116
- * @param {bigint} delegationHold
15117
- * @param {bigint} stakingHold
15118
- **/
15119
- fixMisplacedHold: GenericTxCall<
15120
- Rv,
15121
- (
15122
- account: AccountId32Like,
15123
- delegationHold: bigint,
15124
- stakingHold: bigint,
15125
- ) => ChainSubmittableExtrinsic<
15126
- Rv,
15127
- {
15128
- pallet: 'AhMigrator';
15129
- palletCall: {
15130
- name: 'FixMisplacedHold';
15131
- params: { account: AccountId32Like; delegationHold: bigint; stakingHold: bigint };
15132
- };
15133
- }
15134
- >
15135
- >;
15136
-
15137
14685
  /**
15138
14686
  * Generic pallet tx call
15139
14687
  **/