@dedot/chaintypes 0.14.0 → 0.16.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/consts.d.ts +48 -30
  2. package/kusama/errors.d.ts +89 -100
  3. package/kusama/events.d.ts +87 -28
  4. package/kusama/index.d.ts +1 -1
  5. package/kusama/query.d.ts +241 -130
  6. package/kusama/runtime.d.ts +347 -95
  7. package/kusama/tx.d.ts +3309 -456
  8. package/kusama/types.d.ts +6341 -1092
  9. package/kusama-asset-hub/consts.d.ts +52 -3
  10. package/kusama-asset-hub/errors.d.ts +30 -5
  11. package/kusama-asset-hub/events.d.ts +61 -1
  12. package/kusama-asset-hub/index.d.ts +1 -1
  13. package/kusama-asset-hub/query.d.ts +100 -18
  14. package/kusama-asset-hub/runtime.d.ts +186 -15
  15. package/kusama-asset-hub/tx.d.ts +3074 -254
  16. package/kusama-asset-hub/types.d.ts +6190 -551
  17. package/package.json +2 -2
  18. package/paseo/index.d.ts +1 -1
  19. package/rococo/errors.d.ts +0 -10
  20. package/rococo/events.d.ts +33 -12
  21. package/rococo/index.d.ts +1 -1
  22. package/rococo/query.d.ts +52 -52
  23. package/rococo/runtime.d.ts +117 -58
  24. package/rococo/tx.d.ts +33 -33
  25. package/rococo/types.d.ts +191 -185
  26. package/rococo-asset-hub/consts.d.ts +2 -2
  27. package/rococo-asset-hub/events.d.ts +87 -80
  28. package/rococo-asset-hub/index.d.ts +1 -1
  29. package/rococo-asset-hub/query.d.ts +66 -54
  30. package/rococo-asset-hub/runtime.d.ts +12 -15
  31. package/rococo-asset-hub/tx.d.ts +250 -241
  32. package/rococo-asset-hub/types.d.ts +353 -404
  33. package/westend/consts.d.ts +9 -0
  34. package/westend/errors.d.ts +0 -10
  35. package/westend/events.d.ts +79 -13
  36. package/westend/index.d.ts +1 -1
  37. package/westend/query.d.ts +75 -52
  38. package/westend/runtime.d.ts +133 -58
  39. package/westend/tx.d.ts +72 -35
  40. package/westend/types.d.ts +308 -190
  41. package/westend-asset-hub/consts.d.ts +2 -2
  42. package/westend-asset-hub/events.d.ts +87 -80
  43. package/westend-asset-hub/index.d.ts +1 -1
  44. package/westend-asset-hub/query.d.ts +66 -54
  45. package/westend-asset-hub/runtime.d.ts +12 -15
  46. package/westend-asset-hub/tx.d.ts +250 -241
  47. package/westend-asset-hub/types.d.ts +353 -404
  48. package/westend-people/index.d.ts +1 -1
  49. package/westend-people/query.d.ts +12 -12
  50. package/westend-people/tx.d.ts +1 -58
  51. package/westend-people/types.d.ts +16 -62
@@ -43,7 +43,6 @@ import type {
43
43
  PalletNftsPriceWithDirection,
44
44
  PalletNftsPreSignedMint,
45
45
  PalletNftsPreSignedAttributes,
46
- StagingXcmV3MultilocationMultiLocation,
47
46
  PalletStateTrieMigrationMigrationLimits,
48
47
  PalletStateTrieMigrationMigrationTask,
49
48
  PalletStateTrieMigrationProgress,
@@ -357,63 +356,6 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
357
356
  >
358
357
  >;
359
358
 
360
- /**
361
- * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied
362
- * later.
363
- *
364
- * The `check_version` parameter sets a boolean flag for whether or not the runtime's spec
365
- * version and name should be verified on upgrade. Since the authorization only has a hash,
366
- * it cannot actually perform the verification.
367
- *
368
- * This call requires Root origin.
369
- *
370
- * @param {H256} codeHash
371
- * @param {boolean} checkVersion
372
- **/
373
- authorizeUpgrade: GenericTxCall<
374
- Rv,
375
- (
376
- codeHash: H256,
377
- checkVersion: boolean,
378
- ) => ChainSubmittableExtrinsic<
379
- Rv,
380
- {
381
- pallet: 'ParachainSystem';
382
- palletCall: {
383
- name: 'AuthorizeUpgrade';
384
- params: { codeHash: H256; checkVersion: boolean };
385
- };
386
- }
387
- >
388
- >;
389
-
390
- /**
391
- * Provide the preimage (runtime binary) `code` for an upgrade that has been authorized.
392
- *
393
- * If the authorization required a version check, this call will ensure the spec name
394
- * remains unchanged and that the spec version has increased.
395
- *
396
- * Note that this function will not apply the new `code`, but only attempt to schedule the
397
- * upgrade with the Relay Chain.
398
- *
399
- * All origins are allowed.
400
- *
401
- * @param {BytesLike} code
402
- **/
403
- enactAuthorizedUpgrade: GenericTxCall<
404
- Rv,
405
- (code: BytesLike) => ChainSubmittableExtrinsic<
406
- Rv,
407
- {
408
- pallet: 'ParachainSystem';
409
- palletCall: {
410
- name: 'EnactAuthorizedUpgrade';
411
- params: { code: BytesLike };
412
- };
413
- }
414
- >
415
- >;
416
-
417
359
  /**
418
360
  * Generic pallet tx call
419
361
  **/
@@ -1746,38 +1688,6 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
1746
1688
  **/
1747
1689
  [callName: string]: GenericTxCall<Rv, TxCall<Rv>>;
1748
1690
  };
1749
- /**
1750
- * Pallet `ToRococoXcmRouter`'s transaction calls
1751
- **/
1752
- toRococoXcmRouter: {
1753
- /**
1754
- * Notification about congested bridge queue.
1755
- *
1756
- * @param {H256} bridgeId
1757
- * @param {boolean} isCongested
1758
- **/
1759
- reportBridgeStatus: GenericTxCall<
1760
- Rv,
1761
- (
1762
- bridgeId: H256,
1763
- isCongested: boolean,
1764
- ) => ChainSubmittableExtrinsic<
1765
- Rv,
1766
- {
1767
- pallet: 'ToRococoXcmRouter';
1768
- palletCall: {
1769
- name: 'ReportBridgeStatus';
1770
- params: { bridgeId: H256; isCongested: boolean };
1771
- };
1772
- }
1773
- >
1774
- >;
1775
-
1776
- /**
1777
- * Generic pallet tx call
1778
- **/
1779
- [callName: string]: GenericTxCall<Rv, TxCall<Rv>>;
1780
- };
1781
1691
  /**
1782
1692
  * Pallet `MessageQueue`'s transaction calls
1783
1693
  **/
@@ -2754,8 +2664,6 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
2754
2664
  * - `id`: The identifier of the asset to be destroyed. This must identify an existing
2755
2665
  * asset.
2756
2666
  *
2757
- * The asset class must be frozen before calling `start_destroy`.
2758
- *
2759
2667
  * @param {number} id
2760
2668
  **/
2761
2669
  startDestroy: GenericTxCall<
@@ -3810,6 +3718,46 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
3810
3718
  >
3811
3719
  >;
3812
3720
 
3721
+ /**
3722
+ * Transfer the entire transferable balance from the caller asset account.
3723
+ *
3724
+ * NOTE: This function only attempts to transfer _transferable_ balances. This means that
3725
+ * any held, frozen, or minimum balance (when `keep_alive` is `true`), will not be
3726
+ * transferred by this function. To ensure that this function results in a killed account,
3727
+ * you might need to prepare the account by removing any reference counters, storage
3728
+ * deposits, etc...
3729
+ *
3730
+ * The dispatch origin of this call must be Signed.
3731
+ *
3732
+ * - `id`: The identifier of the asset for the account holding a deposit.
3733
+ * - `dest`: The recipient of the transfer.
3734
+ * - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all
3735
+ * of the funds the asset account has, causing the sender asset account to be killed
3736
+ * (false), or transfer everything except at least the minimum balance, which will
3737
+ * guarantee to keep the sender asset account alive (true).
3738
+ *
3739
+ * @param {number} id
3740
+ * @param {MultiAddressLike} dest
3741
+ * @param {boolean} keepAlive
3742
+ **/
3743
+ transferAll: GenericTxCall<
3744
+ Rv,
3745
+ (
3746
+ id: number,
3747
+ dest: MultiAddressLike,
3748
+ keepAlive: boolean,
3749
+ ) => ChainSubmittableExtrinsic<
3750
+ Rv,
3751
+ {
3752
+ pallet: 'Assets';
3753
+ palletCall: {
3754
+ name: 'TransferAll';
3755
+ params: { id: number; dest: MultiAddressLike; keepAlive: boolean };
3756
+ };
3757
+ }
3758
+ >
3759
+ >;
3760
+
3813
3761
  /**
3814
3762
  * Generic pallet tx call
3815
3763
  **/
@@ -6298,14 +6246,14 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
6298
6246
  *
6299
6247
  * Weight: `O(1)`
6300
6248
  *
6301
- * @param {StagingXcmV3MultilocationMultiLocation} id
6249
+ * @param {StagingXcmV4Location} id
6302
6250
  * @param {MultiAddressLike} admin
6303
6251
  * @param {bigint} minBalance
6304
6252
  **/
6305
6253
  create: GenericTxCall<
6306
6254
  Rv,
6307
6255
  (
6308
- id: StagingXcmV3MultilocationMultiLocation,
6256
+ id: StagingXcmV4Location,
6309
6257
  admin: MultiAddressLike,
6310
6258
  minBalance: bigint,
6311
6259
  ) => ChainSubmittableExtrinsic<
@@ -6314,7 +6262,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
6314
6262
  pallet: 'ForeignAssets';
6315
6263
  palletCall: {
6316
6264
  name: 'Create';
6317
- params: { id: StagingXcmV3MultilocationMultiLocation; admin: MultiAddressLike; minBalance: bigint };
6265
+ params: { id: StagingXcmV4Location; admin: MultiAddressLike; minBalance: bigint };
6318
6266
  };
6319
6267
  }
6320
6268
  >
@@ -6341,7 +6289,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
6341
6289
  *
6342
6290
  * Weight: `O(1)`
6343
6291
  *
6344
- * @param {StagingXcmV3MultilocationMultiLocation} id
6292
+ * @param {StagingXcmV4Location} id
6345
6293
  * @param {MultiAddressLike} owner
6346
6294
  * @param {boolean} isSufficient
6347
6295
  * @param {bigint} minBalance
@@ -6349,7 +6297,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
6349
6297
  forceCreate: GenericTxCall<
6350
6298
  Rv,
6351
6299
  (
6352
- id: StagingXcmV3MultilocationMultiLocation,
6300
+ id: StagingXcmV4Location,
6353
6301
  owner: MultiAddressLike,
6354
6302
  isSufficient: boolean,
6355
6303
  minBalance: bigint,
@@ -6359,12 +6307,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
6359
6307
  pallet: 'ForeignAssets';
6360
6308
  palletCall: {
6361
6309
  name: 'ForceCreate';
6362
- params: {
6363
- id: StagingXcmV3MultilocationMultiLocation;
6364
- owner: MultiAddressLike;
6365
- isSufficient: boolean;
6366
- minBalance: bigint;
6367
- };
6310
+ params: { id: StagingXcmV4Location; owner: MultiAddressLike; isSufficient: boolean; minBalance: bigint };
6368
6311
  };
6369
6312
  }
6370
6313
  >
@@ -6381,19 +6324,17 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
6381
6324
  * - `id`: The identifier of the asset to be destroyed. This must identify an existing
6382
6325
  * asset.
6383
6326
  *
6384
- * The asset class must be frozen before calling `start_destroy`.
6385
- *
6386
- * @param {StagingXcmV3MultilocationMultiLocation} id
6327
+ * @param {StagingXcmV4Location} id
6387
6328
  **/
6388
6329
  startDestroy: GenericTxCall<
6389
6330
  Rv,
6390
- (id: StagingXcmV3MultilocationMultiLocation) => ChainSubmittableExtrinsic<
6331
+ (id: StagingXcmV4Location) => ChainSubmittableExtrinsic<
6391
6332
  Rv,
6392
6333
  {
6393
6334
  pallet: 'ForeignAssets';
6394
6335
  palletCall: {
6395
6336
  name: 'StartDestroy';
6396
- params: { id: StagingXcmV3MultilocationMultiLocation };
6337
+ params: { id: StagingXcmV4Location };
6397
6338
  };
6398
6339
  }
6399
6340
  >
@@ -6413,17 +6354,17 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
6413
6354
  *
6414
6355
  * Each call emits the `Event::DestroyedAccounts` event.
6415
6356
  *
6416
- * @param {StagingXcmV3MultilocationMultiLocation} id
6357
+ * @param {StagingXcmV4Location} id
6417
6358
  **/
6418
6359
  destroyAccounts: GenericTxCall<
6419
6360
  Rv,
6420
- (id: StagingXcmV3MultilocationMultiLocation) => ChainSubmittableExtrinsic<
6361
+ (id: StagingXcmV4Location) => ChainSubmittableExtrinsic<
6421
6362
  Rv,
6422
6363
  {
6423
6364
  pallet: 'ForeignAssets';
6424
6365
  palletCall: {
6425
6366
  name: 'DestroyAccounts';
6426
- params: { id: StagingXcmV3MultilocationMultiLocation };
6367
+ params: { id: StagingXcmV4Location };
6427
6368
  };
6428
6369
  }
6429
6370
  >
@@ -6443,17 +6384,17 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
6443
6384
  *
6444
6385
  * Each call emits the `Event::DestroyedApprovals` event.
6445
6386
  *
6446
- * @param {StagingXcmV3MultilocationMultiLocation} id
6387
+ * @param {StagingXcmV4Location} id
6447
6388
  **/
6448
6389
  destroyApprovals: GenericTxCall<
6449
6390
  Rv,
6450
- (id: StagingXcmV3MultilocationMultiLocation) => ChainSubmittableExtrinsic<
6391
+ (id: StagingXcmV4Location) => ChainSubmittableExtrinsic<
6451
6392
  Rv,
6452
6393
  {
6453
6394
  pallet: 'ForeignAssets';
6454
6395
  palletCall: {
6455
6396
  name: 'DestroyApprovals';
6456
- params: { id: StagingXcmV3MultilocationMultiLocation };
6397
+ params: { id: StagingXcmV4Location };
6457
6398
  };
6458
6399
  }
6459
6400
  >
@@ -6471,17 +6412,17 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
6471
6412
  *
6472
6413
  * Each successful call emits the `Event::Destroyed` event.
6473
6414
  *
6474
- * @param {StagingXcmV3MultilocationMultiLocation} id
6415
+ * @param {StagingXcmV4Location} id
6475
6416
  **/
6476
6417
  finishDestroy: GenericTxCall<
6477
6418
  Rv,
6478
- (id: StagingXcmV3MultilocationMultiLocation) => ChainSubmittableExtrinsic<
6419
+ (id: StagingXcmV4Location) => ChainSubmittableExtrinsic<
6479
6420
  Rv,
6480
6421
  {
6481
6422
  pallet: 'ForeignAssets';
6482
6423
  palletCall: {
6483
6424
  name: 'FinishDestroy';
6484
- params: { id: StagingXcmV3MultilocationMultiLocation };
6425
+ params: { id: StagingXcmV4Location };
6485
6426
  };
6486
6427
  }
6487
6428
  >
@@ -6501,14 +6442,14 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
6501
6442
  * Weight: `O(1)`
6502
6443
  * Modes: Pre-existing balance of `beneficiary`; Account pre-existence of `beneficiary`.
6503
6444
  *
6504
- * @param {StagingXcmV3MultilocationMultiLocation} id
6445
+ * @param {StagingXcmV4Location} id
6505
6446
  * @param {MultiAddressLike} beneficiary
6506
6447
  * @param {bigint} amount
6507
6448
  **/
6508
6449
  mint: GenericTxCall<
6509
6450
  Rv,
6510
6451
  (
6511
- id: StagingXcmV3MultilocationMultiLocation,
6452
+ id: StagingXcmV4Location,
6512
6453
  beneficiary: MultiAddressLike,
6513
6454
  amount: bigint,
6514
6455
  ) => ChainSubmittableExtrinsic<
@@ -6517,7 +6458,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
6517
6458
  pallet: 'ForeignAssets';
6518
6459
  palletCall: {
6519
6460
  name: 'Mint';
6520
- params: { id: StagingXcmV3MultilocationMultiLocation; beneficiary: MultiAddressLike; amount: bigint };
6461
+ params: { id: StagingXcmV4Location; beneficiary: MultiAddressLike; amount: bigint };
6521
6462
  };
6522
6463
  }
6523
6464
  >
@@ -6540,14 +6481,14 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
6540
6481
  * Weight: `O(1)`
6541
6482
  * Modes: Post-existence of `who`; Pre & post Zombie-status of `who`.
6542
6483
  *
6543
- * @param {StagingXcmV3MultilocationMultiLocation} id
6484
+ * @param {StagingXcmV4Location} id
6544
6485
  * @param {MultiAddressLike} who
6545
6486
  * @param {bigint} amount
6546
6487
  **/
6547
6488
  burn: GenericTxCall<
6548
6489
  Rv,
6549
6490
  (
6550
- id: StagingXcmV3MultilocationMultiLocation,
6491
+ id: StagingXcmV4Location,
6551
6492
  who: MultiAddressLike,
6552
6493
  amount: bigint,
6553
6494
  ) => ChainSubmittableExtrinsic<
@@ -6556,7 +6497,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
6556
6497
  pallet: 'ForeignAssets';
6557
6498
  palletCall: {
6558
6499
  name: 'Burn';
6559
- params: { id: StagingXcmV3MultilocationMultiLocation; who: MultiAddressLike; amount: bigint };
6500
+ params: { id: StagingXcmV4Location; who: MultiAddressLike; amount: bigint };
6560
6501
  };
6561
6502
  }
6562
6503
  >
@@ -6582,14 +6523,14 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
6582
6523
  * Modes: Pre-existence of `target`; Post-existence of sender; Account pre-existence of
6583
6524
  * `target`.
6584
6525
  *
6585
- * @param {StagingXcmV3MultilocationMultiLocation} id
6526
+ * @param {StagingXcmV4Location} id
6586
6527
  * @param {MultiAddressLike} target
6587
6528
  * @param {bigint} amount
6588
6529
  **/
6589
6530
  transfer: GenericTxCall<
6590
6531
  Rv,
6591
6532
  (
6592
- id: StagingXcmV3MultilocationMultiLocation,
6533
+ id: StagingXcmV4Location,
6593
6534
  target: MultiAddressLike,
6594
6535
  amount: bigint,
6595
6536
  ) => ChainSubmittableExtrinsic<
@@ -6598,7 +6539,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
6598
6539
  pallet: 'ForeignAssets';
6599
6540
  palletCall: {
6600
6541
  name: 'Transfer';
6601
- params: { id: StagingXcmV3MultilocationMultiLocation; target: MultiAddressLike; amount: bigint };
6542
+ params: { id: StagingXcmV4Location; target: MultiAddressLike; amount: bigint };
6602
6543
  };
6603
6544
  }
6604
6545
  >
@@ -6624,14 +6565,14 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
6624
6565
  * Modes: Pre-existence of `target`; Post-existence of sender; Account pre-existence of
6625
6566
  * `target`.
6626
6567
  *
6627
- * @param {StagingXcmV3MultilocationMultiLocation} id
6568
+ * @param {StagingXcmV4Location} id
6628
6569
  * @param {MultiAddressLike} target
6629
6570
  * @param {bigint} amount
6630
6571
  **/
6631
6572
  transferKeepAlive: GenericTxCall<
6632
6573
  Rv,
6633
6574
  (
6634
- id: StagingXcmV3MultilocationMultiLocation,
6575
+ id: StagingXcmV4Location,
6635
6576
  target: MultiAddressLike,
6636
6577
  amount: bigint,
6637
6578
  ) => ChainSubmittableExtrinsic<
@@ -6640,7 +6581,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
6640
6581
  pallet: 'ForeignAssets';
6641
6582
  palletCall: {
6642
6583
  name: 'TransferKeepAlive';
6643
- params: { id: StagingXcmV3MultilocationMultiLocation; target: MultiAddressLike; amount: bigint };
6584
+ params: { id: StagingXcmV4Location; target: MultiAddressLike; amount: bigint };
6644
6585
  };
6645
6586
  }
6646
6587
  >
@@ -6667,7 +6608,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
6667
6608
  * Modes: Pre-existence of `dest`; Post-existence of `source`; Account pre-existence of
6668
6609
  * `dest`.
6669
6610
  *
6670
- * @param {StagingXcmV3MultilocationMultiLocation} id
6611
+ * @param {StagingXcmV4Location} id
6671
6612
  * @param {MultiAddressLike} source
6672
6613
  * @param {MultiAddressLike} dest
6673
6614
  * @param {bigint} amount
@@ -6675,7 +6616,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
6675
6616
  forceTransfer: GenericTxCall<
6676
6617
  Rv,
6677
6618
  (
6678
- id: StagingXcmV3MultilocationMultiLocation,
6619
+ id: StagingXcmV4Location,
6679
6620
  source: MultiAddressLike,
6680
6621
  dest: MultiAddressLike,
6681
6622
  amount: bigint,
@@ -6685,12 +6626,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
6685
6626
  pallet: 'ForeignAssets';
6686
6627
  palletCall: {
6687
6628
  name: 'ForceTransfer';
6688
- params: {
6689
- id: StagingXcmV3MultilocationMultiLocation;
6690
- source: MultiAddressLike;
6691
- dest: MultiAddressLike;
6692
- amount: bigint;
6693
- };
6629
+ params: { id: StagingXcmV4Location; source: MultiAddressLike; dest: MultiAddressLike; amount: bigint };
6694
6630
  };
6695
6631
  }
6696
6632
  >
@@ -6710,13 +6646,13 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
6710
6646
  *
6711
6647
  * Weight: `O(1)`
6712
6648
  *
6713
- * @param {StagingXcmV3MultilocationMultiLocation} id
6649
+ * @param {StagingXcmV4Location} id
6714
6650
  * @param {MultiAddressLike} who
6715
6651
  **/
6716
6652
  freeze: GenericTxCall<
6717
6653
  Rv,
6718
6654
  (
6719
- id: StagingXcmV3MultilocationMultiLocation,
6655
+ id: StagingXcmV4Location,
6720
6656
  who: MultiAddressLike,
6721
6657
  ) => ChainSubmittableExtrinsic<
6722
6658
  Rv,
@@ -6724,7 +6660,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
6724
6660
  pallet: 'ForeignAssets';
6725
6661
  palletCall: {
6726
6662
  name: 'Freeze';
6727
- params: { id: StagingXcmV3MultilocationMultiLocation; who: MultiAddressLike };
6663
+ params: { id: StagingXcmV4Location; who: MultiAddressLike };
6728
6664
  };
6729
6665
  }
6730
6666
  >
@@ -6742,13 +6678,13 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
6742
6678
  *
6743
6679
  * Weight: `O(1)`
6744
6680
  *
6745
- * @param {StagingXcmV3MultilocationMultiLocation} id
6681
+ * @param {StagingXcmV4Location} id
6746
6682
  * @param {MultiAddressLike} who
6747
6683
  **/
6748
6684
  thaw: GenericTxCall<
6749
6685
  Rv,
6750
6686
  (
6751
- id: StagingXcmV3MultilocationMultiLocation,
6687
+ id: StagingXcmV4Location,
6752
6688
  who: MultiAddressLike,
6753
6689
  ) => ChainSubmittableExtrinsic<
6754
6690
  Rv,
@@ -6756,7 +6692,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
6756
6692
  pallet: 'ForeignAssets';
6757
6693
  palletCall: {
6758
6694
  name: 'Thaw';
6759
- params: { id: StagingXcmV3MultilocationMultiLocation; who: MultiAddressLike };
6695
+ params: { id: StagingXcmV4Location; who: MultiAddressLike };
6760
6696
  };
6761
6697
  }
6762
6698
  >
@@ -6773,17 +6709,17 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
6773
6709
  *
6774
6710
  * Weight: `O(1)`
6775
6711
  *
6776
- * @param {StagingXcmV3MultilocationMultiLocation} id
6712
+ * @param {StagingXcmV4Location} id
6777
6713
  **/
6778
6714
  freezeAsset: GenericTxCall<
6779
6715
  Rv,
6780
- (id: StagingXcmV3MultilocationMultiLocation) => ChainSubmittableExtrinsic<
6716
+ (id: StagingXcmV4Location) => ChainSubmittableExtrinsic<
6781
6717
  Rv,
6782
6718
  {
6783
6719
  pallet: 'ForeignAssets';
6784
6720
  palletCall: {
6785
6721
  name: 'FreezeAsset';
6786
- params: { id: StagingXcmV3MultilocationMultiLocation };
6722
+ params: { id: StagingXcmV4Location };
6787
6723
  };
6788
6724
  }
6789
6725
  >
@@ -6800,17 +6736,17 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
6800
6736
  *
6801
6737
  * Weight: `O(1)`
6802
6738
  *
6803
- * @param {StagingXcmV3MultilocationMultiLocation} id
6739
+ * @param {StagingXcmV4Location} id
6804
6740
  **/
6805
6741
  thawAsset: GenericTxCall<
6806
6742
  Rv,
6807
- (id: StagingXcmV3MultilocationMultiLocation) => ChainSubmittableExtrinsic<
6743
+ (id: StagingXcmV4Location) => ChainSubmittableExtrinsic<
6808
6744
  Rv,
6809
6745
  {
6810
6746
  pallet: 'ForeignAssets';
6811
6747
  palletCall: {
6812
6748
  name: 'ThawAsset';
6813
- params: { id: StagingXcmV3MultilocationMultiLocation };
6749
+ params: { id: StagingXcmV4Location };
6814
6750
  };
6815
6751
  }
6816
6752
  >
@@ -6828,13 +6764,13 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
6828
6764
  *
6829
6765
  * Weight: `O(1)`
6830
6766
  *
6831
- * @param {StagingXcmV3MultilocationMultiLocation} id
6767
+ * @param {StagingXcmV4Location} id
6832
6768
  * @param {MultiAddressLike} owner
6833
6769
  **/
6834
6770
  transferOwnership: GenericTxCall<
6835
6771
  Rv,
6836
6772
  (
6837
- id: StagingXcmV3MultilocationMultiLocation,
6773
+ id: StagingXcmV4Location,
6838
6774
  owner: MultiAddressLike,
6839
6775
  ) => ChainSubmittableExtrinsic<
6840
6776
  Rv,
@@ -6842,7 +6778,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
6842
6778
  pallet: 'ForeignAssets';
6843
6779
  palletCall: {
6844
6780
  name: 'TransferOwnership';
6845
- params: { id: StagingXcmV3MultilocationMultiLocation; owner: MultiAddressLike };
6781
+ params: { id: StagingXcmV4Location; owner: MultiAddressLike };
6846
6782
  };
6847
6783
  }
6848
6784
  >
@@ -6862,7 +6798,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
6862
6798
  *
6863
6799
  * Weight: `O(1)`
6864
6800
  *
6865
- * @param {StagingXcmV3MultilocationMultiLocation} id
6801
+ * @param {StagingXcmV4Location} id
6866
6802
  * @param {MultiAddressLike} issuer
6867
6803
  * @param {MultiAddressLike} admin
6868
6804
  * @param {MultiAddressLike} freezer
@@ -6870,7 +6806,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
6870
6806
  setTeam: GenericTxCall<
6871
6807
  Rv,
6872
6808
  (
6873
- id: StagingXcmV3MultilocationMultiLocation,
6809
+ id: StagingXcmV4Location,
6874
6810
  issuer: MultiAddressLike,
6875
6811
  admin: MultiAddressLike,
6876
6812
  freezer: MultiAddressLike,
@@ -6881,7 +6817,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
6881
6817
  palletCall: {
6882
6818
  name: 'SetTeam';
6883
6819
  params: {
6884
- id: StagingXcmV3MultilocationMultiLocation;
6820
+ id: StagingXcmV4Location;
6885
6821
  issuer: MultiAddressLike;
6886
6822
  admin: MultiAddressLike;
6887
6823
  freezer: MultiAddressLike;
@@ -6909,7 +6845,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
6909
6845
  *
6910
6846
  * Weight: `O(1)`
6911
6847
  *
6912
- * @param {StagingXcmV3MultilocationMultiLocation} id
6848
+ * @param {StagingXcmV4Location} id
6913
6849
  * @param {BytesLike} name
6914
6850
  * @param {BytesLike} symbol
6915
6851
  * @param {number} decimals
@@ -6917,7 +6853,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
6917
6853
  setMetadata: GenericTxCall<
6918
6854
  Rv,
6919
6855
  (
6920
- id: StagingXcmV3MultilocationMultiLocation,
6856
+ id: StagingXcmV4Location,
6921
6857
  name: BytesLike,
6922
6858
  symbol: BytesLike,
6923
6859
  decimals: number,
@@ -6927,12 +6863,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
6927
6863
  pallet: 'ForeignAssets';
6928
6864
  palletCall: {
6929
6865
  name: 'SetMetadata';
6930
- params: {
6931
- id: StagingXcmV3MultilocationMultiLocation;
6932
- name: BytesLike;
6933
- symbol: BytesLike;
6934
- decimals: number;
6935
- };
6866
+ params: { id: StagingXcmV4Location; name: BytesLike; symbol: BytesLike; decimals: number };
6936
6867
  };
6937
6868
  }
6938
6869
  >
@@ -6951,17 +6882,17 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
6951
6882
  *
6952
6883
  * Weight: `O(1)`
6953
6884
  *
6954
- * @param {StagingXcmV3MultilocationMultiLocation} id
6885
+ * @param {StagingXcmV4Location} id
6955
6886
  **/
6956
6887
  clearMetadata: GenericTxCall<
6957
6888
  Rv,
6958
- (id: StagingXcmV3MultilocationMultiLocation) => ChainSubmittableExtrinsic<
6889
+ (id: StagingXcmV4Location) => ChainSubmittableExtrinsic<
6959
6890
  Rv,
6960
6891
  {
6961
6892
  pallet: 'ForeignAssets';
6962
6893
  palletCall: {
6963
6894
  name: 'ClearMetadata';
6964
- params: { id: StagingXcmV3MultilocationMultiLocation };
6895
+ params: { id: StagingXcmV4Location };
6965
6896
  };
6966
6897
  }
6967
6898
  >
@@ -6983,7 +6914,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
6983
6914
  *
6984
6915
  * Weight: `O(N + S)` where N and S are the length of the name and symbol respectively.
6985
6916
  *
6986
- * @param {StagingXcmV3MultilocationMultiLocation} id
6917
+ * @param {StagingXcmV4Location} id
6987
6918
  * @param {BytesLike} name
6988
6919
  * @param {BytesLike} symbol
6989
6920
  * @param {number} decimals
@@ -6992,7 +6923,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
6992
6923
  forceSetMetadata: GenericTxCall<
6993
6924
  Rv,
6994
6925
  (
6995
- id: StagingXcmV3MultilocationMultiLocation,
6926
+ id: StagingXcmV4Location,
6996
6927
  name: BytesLike,
6997
6928
  symbol: BytesLike,
6998
6929
  decimals: number,
@@ -7004,7 +6935,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
7004
6935
  palletCall: {
7005
6936
  name: 'ForceSetMetadata';
7006
6937
  params: {
7007
- id: StagingXcmV3MultilocationMultiLocation;
6938
+ id: StagingXcmV4Location;
7008
6939
  name: BytesLike;
7009
6940
  symbol: BytesLike;
7010
6941
  decimals: number;
@@ -7028,17 +6959,17 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
7028
6959
  *
7029
6960
  * Weight: `O(1)`
7030
6961
  *
7031
- * @param {StagingXcmV3MultilocationMultiLocation} id
6962
+ * @param {StagingXcmV4Location} id
7032
6963
  **/
7033
6964
  forceClearMetadata: GenericTxCall<
7034
6965
  Rv,
7035
- (id: StagingXcmV3MultilocationMultiLocation) => ChainSubmittableExtrinsic<
6966
+ (id: StagingXcmV4Location) => ChainSubmittableExtrinsic<
7036
6967
  Rv,
7037
6968
  {
7038
6969
  pallet: 'ForeignAssets';
7039
6970
  palletCall: {
7040
6971
  name: 'ForceClearMetadata';
7041
- params: { id: StagingXcmV3MultilocationMultiLocation };
6972
+ params: { id: StagingXcmV4Location };
7042
6973
  };
7043
6974
  }
7044
6975
  >
@@ -7068,7 +6999,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
7068
6999
  *
7069
7000
  * Weight: `O(1)`
7070
7001
  *
7071
- * @param {StagingXcmV3MultilocationMultiLocation} id
7002
+ * @param {StagingXcmV4Location} id
7072
7003
  * @param {MultiAddressLike} owner
7073
7004
  * @param {MultiAddressLike} issuer
7074
7005
  * @param {MultiAddressLike} admin
@@ -7080,7 +7011,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
7080
7011
  forceAssetStatus: GenericTxCall<
7081
7012
  Rv,
7082
7013
  (
7083
- id: StagingXcmV3MultilocationMultiLocation,
7014
+ id: StagingXcmV4Location,
7084
7015
  owner: MultiAddressLike,
7085
7016
  issuer: MultiAddressLike,
7086
7017
  admin: MultiAddressLike,
@@ -7095,7 +7026,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
7095
7026
  palletCall: {
7096
7027
  name: 'ForceAssetStatus';
7097
7028
  params: {
7098
- id: StagingXcmV3MultilocationMultiLocation;
7029
+ id: StagingXcmV4Location;
7099
7030
  owner: MultiAddressLike;
7100
7031
  issuer: MultiAddressLike;
7101
7032
  admin: MultiAddressLike;
@@ -7131,14 +7062,14 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
7131
7062
  *
7132
7063
  * Weight: `O(1)`
7133
7064
  *
7134
- * @param {StagingXcmV3MultilocationMultiLocation} id
7065
+ * @param {StagingXcmV4Location} id
7135
7066
  * @param {MultiAddressLike} delegate
7136
7067
  * @param {bigint} amount
7137
7068
  **/
7138
7069
  approveTransfer: GenericTxCall<
7139
7070
  Rv,
7140
7071
  (
7141
- id: StagingXcmV3MultilocationMultiLocation,
7072
+ id: StagingXcmV4Location,
7142
7073
  delegate: MultiAddressLike,
7143
7074
  amount: bigint,
7144
7075
  ) => ChainSubmittableExtrinsic<
@@ -7147,7 +7078,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
7147
7078
  pallet: 'ForeignAssets';
7148
7079
  palletCall: {
7149
7080
  name: 'ApproveTransfer';
7150
- params: { id: StagingXcmV3MultilocationMultiLocation; delegate: MultiAddressLike; amount: bigint };
7081
+ params: { id: StagingXcmV4Location; delegate: MultiAddressLike; amount: bigint };
7151
7082
  };
7152
7083
  }
7153
7084
  >
@@ -7168,13 +7099,13 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
7168
7099
  *
7169
7100
  * Weight: `O(1)`
7170
7101
  *
7171
- * @param {StagingXcmV3MultilocationMultiLocation} id
7102
+ * @param {StagingXcmV4Location} id
7172
7103
  * @param {MultiAddressLike} delegate
7173
7104
  **/
7174
7105
  cancelApproval: GenericTxCall<
7175
7106
  Rv,
7176
7107
  (
7177
- id: StagingXcmV3MultilocationMultiLocation,
7108
+ id: StagingXcmV4Location,
7178
7109
  delegate: MultiAddressLike,
7179
7110
  ) => ChainSubmittableExtrinsic<
7180
7111
  Rv,
@@ -7182,7 +7113,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
7182
7113
  pallet: 'ForeignAssets';
7183
7114
  palletCall: {
7184
7115
  name: 'CancelApproval';
7185
- params: { id: StagingXcmV3MultilocationMultiLocation; delegate: MultiAddressLike };
7116
+ params: { id: StagingXcmV4Location; delegate: MultiAddressLike };
7186
7117
  };
7187
7118
  }
7188
7119
  >
@@ -7203,14 +7134,14 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
7203
7134
  *
7204
7135
  * Weight: `O(1)`
7205
7136
  *
7206
- * @param {StagingXcmV3MultilocationMultiLocation} id
7137
+ * @param {StagingXcmV4Location} id
7207
7138
  * @param {MultiAddressLike} owner
7208
7139
  * @param {MultiAddressLike} delegate
7209
7140
  **/
7210
7141
  forceCancelApproval: GenericTxCall<
7211
7142
  Rv,
7212
7143
  (
7213
- id: StagingXcmV3MultilocationMultiLocation,
7144
+ id: StagingXcmV4Location,
7214
7145
  owner: MultiAddressLike,
7215
7146
  delegate: MultiAddressLike,
7216
7147
  ) => ChainSubmittableExtrinsic<
@@ -7219,7 +7150,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
7219
7150
  pallet: 'ForeignAssets';
7220
7151
  palletCall: {
7221
7152
  name: 'ForceCancelApproval';
7222
- params: { id: StagingXcmV3MultilocationMultiLocation; owner: MultiAddressLike; delegate: MultiAddressLike };
7153
+ params: { id: StagingXcmV4Location; owner: MultiAddressLike; delegate: MultiAddressLike };
7223
7154
  };
7224
7155
  }
7225
7156
  >
@@ -7245,7 +7176,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
7245
7176
  *
7246
7177
  * Weight: `O(1)`
7247
7178
  *
7248
- * @param {StagingXcmV3MultilocationMultiLocation} id
7179
+ * @param {StagingXcmV4Location} id
7249
7180
  * @param {MultiAddressLike} owner
7250
7181
  * @param {MultiAddressLike} destination
7251
7182
  * @param {bigint} amount
@@ -7253,7 +7184,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
7253
7184
  transferApproved: GenericTxCall<
7254
7185
  Rv,
7255
7186
  (
7256
- id: StagingXcmV3MultilocationMultiLocation,
7187
+ id: StagingXcmV4Location,
7257
7188
  owner: MultiAddressLike,
7258
7189
  destination: MultiAddressLike,
7259
7190
  amount: bigint,
@@ -7264,7 +7195,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
7264
7195
  palletCall: {
7265
7196
  name: 'TransferApproved';
7266
7197
  params: {
7267
- id: StagingXcmV3MultilocationMultiLocation;
7198
+ id: StagingXcmV4Location;
7268
7199
  owner: MultiAddressLike;
7269
7200
  destination: MultiAddressLike;
7270
7201
  amount: bigint;
@@ -7285,17 +7216,17 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
7285
7216
  *
7286
7217
  * Emits `Touched` event when successful.
7287
7218
  *
7288
- * @param {StagingXcmV3MultilocationMultiLocation} id
7219
+ * @param {StagingXcmV4Location} id
7289
7220
  **/
7290
7221
  touch: GenericTxCall<
7291
7222
  Rv,
7292
- (id: StagingXcmV3MultilocationMultiLocation) => ChainSubmittableExtrinsic<
7223
+ (id: StagingXcmV4Location) => ChainSubmittableExtrinsic<
7293
7224
  Rv,
7294
7225
  {
7295
7226
  pallet: 'ForeignAssets';
7296
7227
  palletCall: {
7297
7228
  name: 'Touch';
7298
- params: { id: StagingXcmV3MultilocationMultiLocation };
7229
+ params: { id: StagingXcmV4Location };
7299
7230
  };
7300
7231
  }
7301
7232
  >
@@ -7313,13 +7244,13 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
7313
7244
  *
7314
7245
  * Emits `Refunded` event when successful.
7315
7246
  *
7316
- * @param {StagingXcmV3MultilocationMultiLocation} id
7247
+ * @param {StagingXcmV4Location} id
7317
7248
  * @param {boolean} allowBurn
7318
7249
  **/
7319
7250
  refund: GenericTxCall<
7320
7251
  Rv,
7321
7252
  (
7322
- id: StagingXcmV3MultilocationMultiLocation,
7253
+ id: StagingXcmV4Location,
7323
7254
  allowBurn: boolean,
7324
7255
  ) => ChainSubmittableExtrinsic<
7325
7256
  Rv,
@@ -7327,7 +7258,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
7327
7258
  pallet: 'ForeignAssets';
7328
7259
  palletCall: {
7329
7260
  name: 'Refund';
7330
- params: { id: StagingXcmV3MultilocationMultiLocation; allowBurn: boolean };
7261
+ params: { id: StagingXcmV4Location; allowBurn: boolean };
7331
7262
  };
7332
7263
  }
7333
7264
  >
@@ -7347,13 +7278,13 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
7347
7278
  *
7348
7279
  * Emits `AssetMinBalanceChanged` event when successful.
7349
7280
  *
7350
- * @param {StagingXcmV3MultilocationMultiLocation} id
7281
+ * @param {StagingXcmV4Location} id
7351
7282
  * @param {bigint} minBalance
7352
7283
  **/
7353
7284
  setMinBalance: GenericTxCall<
7354
7285
  Rv,
7355
7286
  (
7356
- id: StagingXcmV3MultilocationMultiLocation,
7287
+ id: StagingXcmV4Location,
7357
7288
  minBalance: bigint,
7358
7289
  ) => ChainSubmittableExtrinsic<
7359
7290
  Rv,
@@ -7361,7 +7292,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
7361
7292
  pallet: 'ForeignAssets';
7362
7293
  palletCall: {
7363
7294
  name: 'SetMinBalance';
7364
- params: { id: StagingXcmV3MultilocationMultiLocation; minBalance: bigint };
7295
+ params: { id: StagingXcmV4Location; minBalance: bigint };
7365
7296
  };
7366
7297
  }
7367
7298
  >
@@ -7379,13 +7310,13 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
7379
7310
  *
7380
7311
  * Emits `Touched` event when successful.
7381
7312
  *
7382
- * @param {StagingXcmV3MultilocationMultiLocation} id
7313
+ * @param {StagingXcmV4Location} id
7383
7314
  * @param {MultiAddressLike} who
7384
7315
  **/
7385
7316
  touchOther: GenericTxCall<
7386
7317
  Rv,
7387
7318
  (
7388
- id: StagingXcmV3MultilocationMultiLocation,
7319
+ id: StagingXcmV4Location,
7389
7320
  who: MultiAddressLike,
7390
7321
  ) => ChainSubmittableExtrinsic<
7391
7322
  Rv,
@@ -7393,7 +7324,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
7393
7324
  pallet: 'ForeignAssets';
7394
7325
  palletCall: {
7395
7326
  name: 'TouchOther';
7396
- params: { id: StagingXcmV3MultilocationMultiLocation; who: MultiAddressLike };
7327
+ params: { id: StagingXcmV4Location; who: MultiAddressLike };
7397
7328
  };
7398
7329
  }
7399
7330
  >
@@ -7411,13 +7342,13 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
7411
7342
  *
7412
7343
  * Emits `Refunded` event when successful.
7413
7344
  *
7414
- * @param {StagingXcmV3MultilocationMultiLocation} id
7345
+ * @param {StagingXcmV4Location} id
7415
7346
  * @param {MultiAddressLike} who
7416
7347
  **/
7417
7348
  refundOther: GenericTxCall<
7418
7349
  Rv,
7419
7350
  (
7420
- id: StagingXcmV3MultilocationMultiLocation,
7351
+ id: StagingXcmV4Location,
7421
7352
  who: MultiAddressLike,
7422
7353
  ) => ChainSubmittableExtrinsic<
7423
7354
  Rv,
@@ -7425,7 +7356,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
7425
7356
  pallet: 'ForeignAssets';
7426
7357
  palletCall: {
7427
7358
  name: 'RefundOther';
7428
- params: { id: StagingXcmV3MultilocationMultiLocation; who: MultiAddressLike };
7359
+ params: { id: StagingXcmV4Location; who: MultiAddressLike };
7429
7360
  };
7430
7361
  }
7431
7362
  >
@@ -7443,13 +7374,13 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
7443
7374
  *
7444
7375
  * Weight: `O(1)`
7445
7376
  *
7446
- * @param {StagingXcmV3MultilocationMultiLocation} id
7377
+ * @param {StagingXcmV4Location} id
7447
7378
  * @param {MultiAddressLike} who
7448
7379
  **/
7449
7380
  block: GenericTxCall<
7450
7381
  Rv,
7451
7382
  (
7452
- id: StagingXcmV3MultilocationMultiLocation,
7383
+ id: StagingXcmV4Location,
7453
7384
  who: MultiAddressLike,
7454
7385
  ) => ChainSubmittableExtrinsic<
7455
7386
  Rv,
@@ -7457,7 +7388,47 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
7457
7388
  pallet: 'ForeignAssets';
7458
7389
  palletCall: {
7459
7390
  name: 'Block';
7460
- params: { id: StagingXcmV3MultilocationMultiLocation; who: MultiAddressLike };
7391
+ params: { id: StagingXcmV4Location; who: MultiAddressLike };
7392
+ };
7393
+ }
7394
+ >
7395
+ >;
7396
+
7397
+ /**
7398
+ * Transfer the entire transferable balance from the caller asset account.
7399
+ *
7400
+ * NOTE: This function only attempts to transfer _transferable_ balances. This means that
7401
+ * any held, frozen, or minimum balance (when `keep_alive` is `true`), will not be
7402
+ * transferred by this function. To ensure that this function results in a killed account,
7403
+ * you might need to prepare the account by removing any reference counters, storage
7404
+ * deposits, etc...
7405
+ *
7406
+ * The dispatch origin of this call must be Signed.
7407
+ *
7408
+ * - `id`: The identifier of the asset for the account holding a deposit.
7409
+ * - `dest`: The recipient of the transfer.
7410
+ * - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all
7411
+ * of the funds the asset account has, causing the sender asset account to be killed
7412
+ * (false), or transfer everything except at least the minimum balance, which will
7413
+ * guarantee to keep the sender asset account alive (true).
7414
+ *
7415
+ * @param {StagingXcmV4Location} id
7416
+ * @param {MultiAddressLike} dest
7417
+ * @param {boolean} keepAlive
7418
+ **/
7419
+ transferAll: GenericTxCall<
7420
+ Rv,
7421
+ (
7422
+ id: StagingXcmV4Location,
7423
+ dest: MultiAddressLike,
7424
+ keepAlive: boolean,
7425
+ ) => ChainSubmittableExtrinsic<
7426
+ Rv,
7427
+ {
7428
+ pallet: 'ForeignAssets';
7429
+ palletCall: {
7430
+ name: 'TransferAll';
7431
+ params: { id: StagingXcmV4Location; dest: MultiAddressLike; keepAlive: boolean };
7461
7432
  };
7462
7433
  }
7463
7434
  >
@@ -7673,8 +7644,6 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
7673
7644
  * - `id`: The identifier of the asset to be destroyed. This must identify an existing
7674
7645
  * asset.
7675
7646
  *
7676
- * The asset class must be frozen before calling `start_destroy`.
7677
- *
7678
7647
  * @param {number} id
7679
7648
  **/
7680
7649
  startDestroy: GenericTxCall<
@@ -8729,6 +8698,46 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
8729
8698
  >
8730
8699
  >;
8731
8700
 
8701
+ /**
8702
+ * Transfer the entire transferable balance from the caller asset account.
8703
+ *
8704
+ * NOTE: This function only attempts to transfer _transferable_ balances. This means that
8705
+ * any held, frozen, or minimum balance (when `keep_alive` is `true`), will not be
8706
+ * transferred by this function. To ensure that this function results in a killed account,
8707
+ * you might need to prepare the account by removing any reference counters, storage
8708
+ * deposits, etc...
8709
+ *
8710
+ * The dispatch origin of this call must be Signed.
8711
+ *
8712
+ * - `id`: The identifier of the asset for the account holding a deposit.
8713
+ * - `dest`: The recipient of the transfer.
8714
+ * - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all
8715
+ * of the funds the asset account has, causing the sender asset account to be killed
8716
+ * (false), or transfer everything except at least the minimum balance, which will
8717
+ * guarantee to keep the sender asset account alive (true).
8718
+ *
8719
+ * @param {number} id
8720
+ * @param {MultiAddressLike} dest
8721
+ * @param {boolean} keepAlive
8722
+ **/
8723
+ transferAll: GenericTxCall<
8724
+ Rv,
8725
+ (
8726
+ id: number,
8727
+ dest: MultiAddressLike,
8728
+ keepAlive: boolean,
8729
+ ) => ChainSubmittableExtrinsic<
8730
+ Rv,
8731
+ {
8732
+ pallet: 'PoolAssets';
8733
+ palletCall: {
8734
+ name: 'TransferAll';
8735
+ params: { id: number; dest: MultiAddressLike; keepAlive: boolean };
8736
+ };
8737
+ }
8738
+ >
8739
+ >;
8740
+
8732
8741
  /**
8733
8742
  * Generic pallet tx call
8734
8743
  **/
@@ -8744,21 +8753,21 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
8744
8753
  *
8745
8754
  * Once a pool is created, someone may [`Pallet::add_liquidity`] to it.
8746
8755
  *
8747
- * @param {StagingXcmV3MultilocationMultiLocation} asset1
8748
- * @param {StagingXcmV3MultilocationMultiLocation} asset2
8756
+ * @param {StagingXcmV4Location} asset1
8757
+ * @param {StagingXcmV4Location} asset2
8749
8758
  **/
8750
8759
  createPool: GenericTxCall<
8751
8760
  Rv,
8752
8761
  (
8753
- asset1: StagingXcmV3MultilocationMultiLocation,
8754
- asset2: StagingXcmV3MultilocationMultiLocation,
8762
+ asset1: StagingXcmV4Location,
8763
+ asset2: StagingXcmV4Location,
8755
8764
  ) => ChainSubmittableExtrinsic<
8756
8765
  Rv,
8757
8766
  {
8758
8767
  pallet: 'AssetConversion';
8759
8768
  palletCall: {
8760
8769
  name: 'CreatePool';
8761
- params: { asset1: StagingXcmV3MultilocationMultiLocation; asset2: StagingXcmV3MultilocationMultiLocation };
8770
+ params: { asset1: StagingXcmV4Location; asset2: StagingXcmV4Location };
8762
8771
  };
8763
8772
  }
8764
8773
  >
@@ -8778,10 +8787,10 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
8778
8787
  * calls to render the liquidity withdrawable and rectify the exchange rate.
8779
8788
  *
8780
8789
  * Once liquidity is added, someone may successfully call
8781
- * [`Pallet::swap_exact_tokens_for_tokens`] successfully.
8790
+ * [`Pallet::swap_exact_tokens_for_tokens`].
8782
8791
  *
8783
- * @param {StagingXcmV3MultilocationMultiLocation} asset1
8784
- * @param {StagingXcmV3MultilocationMultiLocation} asset2
8792
+ * @param {StagingXcmV4Location} asset1
8793
+ * @param {StagingXcmV4Location} asset2
8785
8794
  * @param {bigint} amount1Desired
8786
8795
  * @param {bigint} amount2Desired
8787
8796
  * @param {bigint} amount1Min
@@ -8791,8 +8800,8 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
8791
8800
  addLiquidity: GenericTxCall<
8792
8801
  Rv,
8793
8802
  (
8794
- asset1: StagingXcmV3MultilocationMultiLocation,
8795
- asset2: StagingXcmV3MultilocationMultiLocation,
8803
+ asset1: StagingXcmV4Location,
8804
+ asset2: StagingXcmV4Location,
8796
8805
  amount1Desired: bigint,
8797
8806
  amount2Desired: bigint,
8798
8807
  amount1Min: bigint,
@@ -8805,8 +8814,8 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
8805
8814
  palletCall: {
8806
8815
  name: 'AddLiquidity';
8807
8816
  params: {
8808
- asset1: StagingXcmV3MultilocationMultiLocation;
8809
- asset2: StagingXcmV3MultilocationMultiLocation;
8817
+ asset1: StagingXcmV4Location;
8818
+ asset2: StagingXcmV4Location;
8810
8819
  amount1Desired: bigint;
8811
8820
  amount2Desired: bigint;
8812
8821
  amount1Min: bigint;
@@ -8823,8 +8832,8 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
8823
8832
  * burned in the process. With the usage of `amount1_min_receive`/`amount2_min_receive`
8824
8833
  * it's possible to control the min amount of returned tokens you're happy with.
8825
8834
  *
8826
- * @param {StagingXcmV3MultilocationMultiLocation} asset1
8827
- * @param {StagingXcmV3MultilocationMultiLocation} asset2
8835
+ * @param {StagingXcmV4Location} asset1
8836
+ * @param {StagingXcmV4Location} asset2
8828
8837
  * @param {bigint} lpTokenBurn
8829
8838
  * @param {bigint} amount1MinReceive
8830
8839
  * @param {bigint} amount2MinReceive
@@ -8833,8 +8842,8 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
8833
8842
  removeLiquidity: GenericTxCall<
8834
8843
  Rv,
8835
8844
  (
8836
- asset1: StagingXcmV3MultilocationMultiLocation,
8837
- asset2: StagingXcmV3MultilocationMultiLocation,
8845
+ asset1: StagingXcmV4Location,
8846
+ asset2: StagingXcmV4Location,
8838
8847
  lpTokenBurn: bigint,
8839
8848
  amount1MinReceive: bigint,
8840
8849
  amount2MinReceive: bigint,
@@ -8846,8 +8855,8 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
8846
8855
  palletCall: {
8847
8856
  name: 'RemoveLiquidity';
8848
8857
  params: {
8849
- asset1: StagingXcmV3MultilocationMultiLocation;
8850
- asset2: StagingXcmV3MultilocationMultiLocation;
8858
+ asset1: StagingXcmV4Location;
8859
+ asset2: StagingXcmV4Location;
8851
8860
  lpTokenBurn: bigint;
8852
8861
  amount1MinReceive: bigint;
8853
8862
  amount2MinReceive: bigint;
@@ -8866,7 +8875,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
8866
8875
  * [`AssetConversionApi::quote_price_exact_tokens_for_tokens`] runtime call can be called
8867
8876
  * for a quote.
8868
8877
  *
8869
- * @param {Array<StagingXcmV3MultilocationMultiLocation>} path
8878
+ * @param {Array<StagingXcmV4Location>} path
8870
8879
  * @param {bigint} amountIn
8871
8880
  * @param {bigint} amountOutMin
8872
8881
  * @param {AccountId32Like} sendTo
@@ -8875,7 +8884,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
8875
8884
  swapExactTokensForTokens: GenericTxCall<
8876
8885
  Rv,
8877
8886
  (
8878
- path: Array<StagingXcmV3MultilocationMultiLocation>,
8887
+ path: Array<StagingXcmV4Location>,
8879
8888
  amountIn: bigint,
8880
8889
  amountOutMin: bigint,
8881
8890
  sendTo: AccountId32Like,
@@ -8887,7 +8896,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
8887
8896
  palletCall: {
8888
8897
  name: 'SwapExactTokensForTokens';
8889
8898
  params: {
8890
- path: Array<StagingXcmV3MultilocationMultiLocation>;
8899
+ path: Array<StagingXcmV4Location>;
8891
8900
  amountIn: bigint;
8892
8901
  amountOutMin: bigint;
8893
8902
  sendTo: AccountId32Like;
@@ -8906,7 +8915,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
8906
8915
  * [`AssetConversionApi::quote_price_tokens_for_exact_tokens`] runtime call can be called
8907
8916
  * for a quote.
8908
8917
  *
8909
- * @param {Array<StagingXcmV3MultilocationMultiLocation>} path
8918
+ * @param {Array<StagingXcmV4Location>} path
8910
8919
  * @param {bigint} amountOut
8911
8920
  * @param {bigint} amountInMax
8912
8921
  * @param {AccountId32Like} sendTo
@@ -8915,7 +8924,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
8915
8924
  swapTokensForExactTokens: GenericTxCall<
8916
8925
  Rv,
8917
8926
  (
8918
- path: Array<StagingXcmV3MultilocationMultiLocation>,
8927
+ path: Array<StagingXcmV4Location>,
8919
8928
  amountOut: bigint,
8920
8929
  amountInMax: bigint,
8921
8930
  sendTo: AccountId32Like,
@@ -8927,7 +8936,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
8927
8936
  palletCall: {
8928
8937
  name: 'SwapTokensForExactTokens';
8929
8938
  params: {
8930
- path: Array<StagingXcmV3MultilocationMultiLocation>;
8939
+ path: Array<StagingXcmV4Location>;
8931
8940
  amountOut: bigint;
8932
8941
  amountInMax: bigint;
8933
8942
  sendTo: AccountId32Like;
@@ -8951,21 +8960,21 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
8951
8960
  *
8952
8961
  * Emits `Touched` event when successful.
8953
8962
  *
8954
- * @param {StagingXcmV3MultilocationMultiLocation} asset1
8955
- * @param {StagingXcmV3MultilocationMultiLocation} asset2
8963
+ * @param {StagingXcmV4Location} asset1
8964
+ * @param {StagingXcmV4Location} asset2
8956
8965
  **/
8957
8966
  touch: GenericTxCall<
8958
8967
  Rv,
8959
8968
  (
8960
- asset1: StagingXcmV3MultilocationMultiLocation,
8961
- asset2: StagingXcmV3MultilocationMultiLocation,
8969
+ asset1: StagingXcmV4Location,
8970
+ asset2: StagingXcmV4Location,
8962
8971
  ) => ChainSubmittableExtrinsic<
8963
8972
  Rv,
8964
8973
  {
8965
8974
  pallet: 'AssetConversion';
8966
8975
  palletCall: {
8967
8976
  name: 'Touch';
8968
- params: { asset1: StagingXcmV3MultilocationMultiLocation; asset2: StagingXcmV3MultilocationMultiLocation };
8977
+ params: { asset1: StagingXcmV4Location; asset2: StagingXcmV4Location };
8969
8978
  };
8970
8979
  }
8971
8980
  >
@@ -9171,21 +9180,21 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
9171
9180
  *
9172
9181
  * Must be signed.
9173
9182
  *
9174
- * @param {StagingXcmV3MultilocationMultiLocation} asset1
9175
- * @param {StagingXcmV3MultilocationMultiLocation} asset2
9183
+ * @param {StagingXcmV4Location} asset1
9184
+ * @param {StagingXcmV4Location} asset2
9176
9185
  **/
9177
9186
  migrateToNewAccount: GenericTxCall<
9178
9187
  Rv,
9179
9188
  (
9180
- asset1: StagingXcmV3MultilocationMultiLocation,
9181
- asset2: StagingXcmV3MultilocationMultiLocation,
9189
+ asset1: StagingXcmV4Location,
9190
+ asset2: StagingXcmV4Location,
9182
9191
  ) => ChainSubmittableExtrinsic<
9183
9192
  Rv,
9184
9193
  {
9185
9194
  pallet: 'AssetConversionMigration';
9186
9195
  palletCall: {
9187
9196
  name: 'MigrateToNewAccount';
9188
- params: { asset1: StagingXcmV3MultilocationMultiLocation; asset2: StagingXcmV3MultilocationMultiLocation };
9197
+ params: { asset1: StagingXcmV4Location; asset2: StagingXcmV4Location };
9189
9198
  };
9190
9199
  }
9191
9200
  >