@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.
- package/kusama/consts.d.ts +48 -30
- package/kusama/errors.d.ts +89 -100
- package/kusama/events.d.ts +87 -28
- package/kusama/index.d.ts +1 -1
- package/kusama/query.d.ts +241 -130
- package/kusama/runtime.d.ts +347 -95
- package/kusama/tx.d.ts +3309 -456
- package/kusama/types.d.ts +6341 -1092
- package/kusama-asset-hub/consts.d.ts +52 -3
- package/kusama-asset-hub/errors.d.ts +30 -5
- package/kusama-asset-hub/events.d.ts +61 -1
- package/kusama-asset-hub/index.d.ts +1 -1
- package/kusama-asset-hub/query.d.ts +100 -18
- package/kusama-asset-hub/runtime.d.ts +186 -15
- package/kusama-asset-hub/tx.d.ts +3074 -254
- package/kusama-asset-hub/types.d.ts +6190 -551
- package/package.json +2 -2
- package/paseo/index.d.ts +1 -1
- package/rococo/errors.d.ts +0 -10
- package/rococo/events.d.ts +33 -12
- package/rococo/index.d.ts +1 -1
- package/rococo/query.d.ts +52 -52
- package/rococo/runtime.d.ts +117 -58
- package/rococo/tx.d.ts +33 -33
- package/rococo/types.d.ts +191 -185
- package/rococo-asset-hub/consts.d.ts +2 -2
- package/rococo-asset-hub/events.d.ts +87 -80
- package/rococo-asset-hub/index.d.ts +1 -1
- package/rococo-asset-hub/query.d.ts +66 -54
- package/rococo-asset-hub/runtime.d.ts +12 -15
- package/rococo-asset-hub/tx.d.ts +250 -241
- package/rococo-asset-hub/types.d.ts +353 -404
- package/westend/consts.d.ts +9 -0
- package/westend/errors.d.ts +0 -10
- package/westend/events.d.ts +79 -13
- package/westend/index.d.ts +1 -1
- package/westend/query.d.ts +75 -52
- package/westend/runtime.d.ts +133 -58
- package/westend/tx.d.ts +72 -35
- package/westend/types.d.ts +308 -190
- package/westend-asset-hub/consts.d.ts +2 -2
- package/westend-asset-hub/events.d.ts +87 -80
- package/westend-asset-hub/index.d.ts +1 -1
- package/westend-asset-hub/query.d.ts +66 -54
- package/westend-asset-hub/runtime.d.ts +12 -15
- package/westend-asset-hub/tx.d.ts +250 -241
- package/westend-asset-hub/types.d.ts +353 -404
- package/westend-people/index.d.ts +1 -1
- package/westend-people/query.d.ts +12 -12
- package/westend-people/tx.d.ts +1 -58
- package/westend-people/types.d.ts +16 -62
package/rococo-asset-hub/tx.d.ts
CHANGED
|
@@ -43,7 +43,6 @@ import type {
|
|
|
43
43
|
PalletNftsPriceWithDirection,
|
|
44
44
|
PalletNftsPreSignedMint,
|
|
45
45
|
PalletNftsPreSignedAttributes,
|
|
46
|
-
StagingXcmV3MultilocationMultiLocation,
|
|
47
46
|
} from './types';
|
|
48
47
|
|
|
49
48
|
export type ChainSubmittableExtrinsic<
|
|
@@ -354,63 +353,6 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
354
353
|
>
|
|
355
354
|
>;
|
|
356
355
|
|
|
357
|
-
/**
|
|
358
|
-
* Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied
|
|
359
|
-
* later.
|
|
360
|
-
*
|
|
361
|
-
* The `check_version` parameter sets a boolean flag for whether or not the runtime's spec
|
|
362
|
-
* version and name should be verified on upgrade. Since the authorization only has a hash,
|
|
363
|
-
* it cannot actually perform the verification.
|
|
364
|
-
*
|
|
365
|
-
* This call requires Root origin.
|
|
366
|
-
*
|
|
367
|
-
* @param {H256} codeHash
|
|
368
|
-
* @param {boolean} checkVersion
|
|
369
|
-
**/
|
|
370
|
-
authorizeUpgrade: GenericTxCall<
|
|
371
|
-
Rv,
|
|
372
|
-
(
|
|
373
|
-
codeHash: H256,
|
|
374
|
-
checkVersion: boolean,
|
|
375
|
-
) => ChainSubmittableExtrinsic<
|
|
376
|
-
Rv,
|
|
377
|
-
{
|
|
378
|
-
pallet: 'ParachainSystem';
|
|
379
|
-
palletCall: {
|
|
380
|
-
name: 'AuthorizeUpgrade';
|
|
381
|
-
params: { codeHash: H256; checkVersion: boolean };
|
|
382
|
-
};
|
|
383
|
-
}
|
|
384
|
-
>
|
|
385
|
-
>;
|
|
386
|
-
|
|
387
|
-
/**
|
|
388
|
-
* Provide the preimage (runtime binary) `code` for an upgrade that has been authorized.
|
|
389
|
-
*
|
|
390
|
-
* If the authorization required a version check, this call will ensure the spec name
|
|
391
|
-
* remains unchanged and that the spec version has increased.
|
|
392
|
-
*
|
|
393
|
-
* Note that this function will not apply the new `code`, but only attempt to schedule the
|
|
394
|
-
* upgrade with the Relay Chain.
|
|
395
|
-
*
|
|
396
|
-
* All origins are allowed.
|
|
397
|
-
*
|
|
398
|
-
* @param {BytesLike} code
|
|
399
|
-
**/
|
|
400
|
-
enactAuthorizedUpgrade: GenericTxCall<
|
|
401
|
-
Rv,
|
|
402
|
-
(code: BytesLike) => ChainSubmittableExtrinsic<
|
|
403
|
-
Rv,
|
|
404
|
-
{
|
|
405
|
-
pallet: 'ParachainSystem';
|
|
406
|
-
palletCall: {
|
|
407
|
-
name: 'EnactAuthorizedUpgrade';
|
|
408
|
-
params: { code: BytesLike };
|
|
409
|
-
};
|
|
410
|
-
}
|
|
411
|
-
>
|
|
412
|
-
>;
|
|
413
|
-
|
|
414
356
|
/**
|
|
415
357
|
* Generic pallet tx call
|
|
416
358
|
**/
|
|
@@ -2616,38 +2558,6 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
2616
2558
|
**/
|
|
2617
2559
|
[callName: string]: GenericTxCall<Rv, TxCall<Rv>>;
|
|
2618
2560
|
};
|
|
2619
|
-
/**
|
|
2620
|
-
* Pallet `ToWestendXcmRouter`'s transaction calls
|
|
2621
|
-
**/
|
|
2622
|
-
toWestendXcmRouter: {
|
|
2623
|
-
/**
|
|
2624
|
-
* Notification about congested bridge queue.
|
|
2625
|
-
*
|
|
2626
|
-
* @param {H256} bridgeId
|
|
2627
|
-
* @param {boolean} isCongested
|
|
2628
|
-
**/
|
|
2629
|
-
reportBridgeStatus: GenericTxCall<
|
|
2630
|
-
Rv,
|
|
2631
|
-
(
|
|
2632
|
-
bridgeId: H256,
|
|
2633
|
-
isCongested: boolean,
|
|
2634
|
-
) => ChainSubmittableExtrinsic<
|
|
2635
|
-
Rv,
|
|
2636
|
-
{
|
|
2637
|
-
pallet: 'ToWestendXcmRouter';
|
|
2638
|
-
palletCall: {
|
|
2639
|
-
name: 'ReportBridgeStatus';
|
|
2640
|
-
params: { bridgeId: H256; isCongested: boolean };
|
|
2641
|
-
};
|
|
2642
|
-
}
|
|
2643
|
-
>
|
|
2644
|
-
>;
|
|
2645
|
-
|
|
2646
|
-
/**
|
|
2647
|
-
* Generic pallet tx call
|
|
2648
|
-
**/
|
|
2649
|
-
[callName: string]: GenericTxCall<Rv, TxCall<Rv>>;
|
|
2650
|
-
};
|
|
2651
2561
|
/**
|
|
2652
2562
|
* Pallet `Assets`'s transaction calls
|
|
2653
2563
|
**/
|
|
@@ -2751,8 +2661,6 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
2751
2661
|
* - `id`: The identifier of the asset to be destroyed. This must identify an existing
|
|
2752
2662
|
* asset.
|
|
2753
2663
|
*
|
|
2754
|
-
* The asset class must be frozen before calling `start_destroy`.
|
|
2755
|
-
*
|
|
2756
2664
|
* @param {number} id
|
|
2757
2665
|
**/
|
|
2758
2666
|
startDestroy: GenericTxCall<
|
|
@@ -3807,6 +3715,46 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
3807
3715
|
>
|
|
3808
3716
|
>;
|
|
3809
3717
|
|
|
3718
|
+
/**
|
|
3719
|
+
* Transfer the entire transferable balance from the caller asset account.
|
|
3720
|
+
*
|
|
3721
|
+
* NOTE: This function only attempts to transfer _transferable_ balances. This means that
|
|
3722
|
+
* any held, frozen, or minimum balance (when `keep_alive` is `true`), will not be
|
|
3723
|
+
* transferred by this function. To ensure that this function results in a killed account,
|
|
3724
|
+
* you might need to prepare the account by removing any reference counters, storage
|
|
3725
|
+
* deposits, etc...
|
|
3726
|
+
*
|
|
3727
|
+
* The dispatch origin of this call must be Signed.
|
|
3728
|
+
*
|
|
3729
|
+
* - `id`: The identifier of the asset for the account holding a deposit.
|
|
3730
|
+
* - `dest`: The recipient of the transfer.
|
|
3731
|
+
* - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all
|
|
3732
|
+
* of the funds the asset account has, causing the sender asset account to be killed
|
|
3733
|
+
* (false), or transfer everything except at least the minimum balance, which will
|
|
3734
|
+
* guarantee to keep the sender asset account alive (true).
|
|
3735
|
+
*
|
|
3736
|
+
* @param {number} id
|
|
3737
|
+
* @param {MultiAddressLike} dest
|
|
3738
|
+
* @param {boolean} keepAlive
|
|
3739
|
+
**/
|
|
3740
|
+
transferAll: GenericTxCall<
|
|
3741
|
+
Rv,
|
|
3742
|
+
(
|
|
3743
|
+
id: number,
|
|
3744
|
+
dest: MultiAddressLike,
|
|
3745
|
+
keepAlive: boolean,
|
|
3746
|
+
) => ChainSubmittableExtrinsic<
|
|
3747
|
+
Rv,
|
|
3748
|
+
{
|
|
3749
|
+
pallet: 'Assets';
|
|
3750
|
+
palletCall: {
|
|
3751
|
+
name: 'TransferAll';
|
|
3752
|
+
params: { id: number; dest: MultiAddressLike; keepAlive: boolean };
|
|
3753
|
+
};
|
|
3754
|
+
}
|
|
3755
|
+
>
|
|
3756
|
+
>;
|
|
3757
|
+
|
|
3810
3758
|
/**
|
|
3811
3759
|
* Generic pallet tx call
|
|
3812
3760
|
**/
|
|
@@ -6295,14 +6243,14 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
6295
6243
|
*
|
|
6296
6244
|
* Weight: `O(1)`
|
|
6297
6245
|
*
|
|
6298
|
-
* @param {
|
|
6246
|
+
* @param {StagingXcmV4Location} id
|
|
6299
6247
|
* @param {MultiAddressLike} admin
|
|
6300
6248
|
* @param {bigint} minBalance
|
|
6301
6249
|
**/
|
|
6302
6250
|
create: GenericTxCall<
|
|
6303
6251
|
Rv,
|
|
6304
6252
|
(
|
|
6305
|
-
id:
|
|
6253
|
+
id: StagingXcmV4Location,
|
|
6306
6254
|
admin: MultiAddressLike,
|
|
6307
6255
|
minBalance: bigint,
|
|
6308
6256
|
) => ChainSubmittableExtrinsic<
|
|
@@ -6311,7 +6259,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
6311
6259
|
pallet: 'ForeignAssets';
|
|
6312
6260
|
palletCall: {
|
|
6313
6261
|
name: 'Create';
|
|
6314
|
-
params: { id:
|
|
6262
|
+
params: { id: StagingXcmV4Location; admin: MultiAddressLike; minBalance: bigint };
|
|
6315
6263
|
};
|
|
6316
6264
|
}
|
|
6317
6265
|
>
|
|
@@ -6338,7 +6286,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
6338
6286
|
*
|
|
6339
6287
|
* Weight: `O(1)`
|
|
6340
6288
|
*
|
|
6341
|
-
* @param {
|
|
6289
|
+
* @param {StagingXcmV4Location} id
|
|
6342
6290
|
* @param {MultiAddressLike} owner
|
|
6343
6291
|
* @param {boolean} isSufficient
|
|
6344
6292
|
* @param {bigint} minBalance
|
|
@@ -6346,7 +6294,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
6346
6294
|
forceCreate: GenericTxCall<
|
|
6347
6295
|
Rv,
|
|
6348
6296
|
(
|
|
6349
|
-
id:
|
|
6297
|
+
id: StagingXcmV4Location,
|
|
6350
6298
|
owner: MultiAddressLike,
|
|
6351
6299
|
isSufficient: boolean,
|
|
6352
6300
|
minBalance: bigint,
|
|
@@ -6356,12 +6304,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
6356
6304
|
pallet: 'ForeignAssets';
|
|
6357
6305
|
palletCall: {
|
|
6358
6306
|
name: 'ForceCreate';
|
|
6359
|
-
params: {
|
|
6360
|
-
id: StagingXcmV3MultilocationMultiLocation;
|
|
6361
|
-
owner: MultiAddressLike;
|
|
6362
|
-
isSufficient: boolean;
|
|
6363
|
-
minBalance: bigint;
|
|
6364
|
-
};
|
|
6307
|
+
params: { id: StagingXcmV4Location; owner: MultiAddressLike; isSufficient: boolean; minBalance: bigint };
|
|
6365
6308
|
};
|
|
6366
6309
|
}
|
|
6367
6310
|
>
|
|
@@ -6378,19 +6321,17 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
6378
6321
|
* - `id`: The identifier of the asset to be destroyed. This must identify an existing
|
|
6379
6322
|
* asset.
|
|
6380
6323
|
*
|
|
6381
|
-
*
|
|
6382
|
-
*
|
|
6383
|
-
* @param {StagingXcmV3MultilocationMultiLocation} id
|
|
6324
|
+
* @param {StagingXcmV4Location} id
|
|
6384
6325
|
**/
|
|
6385
6326
|
startDestroy: GenericTxCall<
|
|
6386
6327
|
Rv,
|
|
6387
|
-
(id:
|
|
6328
|
+
(id: StagingXcmV4Location) => ChainSubmittableExtrinsic<
|
|
6388
6329
|
Rv,
|
|
6389
6330
|
{
|
|
6390
6331
|
pallet: 'ForeignAssets';
|
|
6391
6332
|
palletCall: {
|
|
6392
6333
|
name: 'StartDestroy';
|
|
6393
|
-
params: { id:
|
|
6334
|
+
params: { id: StagingXcmV4Location };
|
|
6394
6335
|
};
|
|
6395
6336
|
}
|
|
6396
6337
|
>
|
|
@@ -6410,17 +6351,17 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
6410
6351
|
*
|
|
6411
6352
|
* Each call emits the `Event::DestroyedAccounts` event.
|
|
6412
6353
|
*
|
|
6413
|
-
* @param {
|
|
6354
|
+
* @param {StagingXcmV4Location} id
|
|
6414
6355
|
**/
|
|
6415
6356
|
destroyAccounts: GenericTxCall<
|
|
6416
6357
|
Rv,
|
|
6417
|
-
(id:
|
|
6358
|
+
(id: StagingXcmV4Location) => ChainSubmittableExtrinsic<
|
|
6418
6359
|
Rv,
|
|
6419
6360
|
{
|
|
6420
6361
|
pallet: 'ForeignAssets';
|
|
6421
6362
|
palletCall: {
|
|
6422
6363
|
name: 'DestroyAccounts';
|
|
6423
|
-
params: { id:
|
|
6364
|
+
params: { id: StagingXcmV4Location };
|
|
6424
6365
|
};
|
|
6425
6366
|
}
|
|
6426
6367
|
>
|
|
@@ -6440,17 +6381,17 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
6440
6381
|
*
|
|
6441
6382
|
* Each call emits the `Event::DestroyedApprovals` event.
|
|
6442
6383
|
*
|
|
6443
|
-
* @param {
|
|
6384
|
+
* @param {StagingXcmV4Location} id
|
|
6444
6385
|
**/
|
|
6445
6386
|
destroyApprovals: GenericTxCall<
|
|
6446
6387
|
Rv,
|
|
6447
|
-
(id:
|
|
6388
|
+
(id: StagingXcmV4Location) => ChainSubmittableExtrinsic<
|
|
6448
6389
|
Rv,
|
|
6449
6390
|
{
|
|
6450
6391
|
pallet: 'ForeignAssets';
|
|
6451
6392
|
palletCall: {
|
|
6452
6393
|
name: 'DestroyApprovals';
|
|
6453
|
-
params: { id:
|
|
6394
|
+
params: { id: StagingXcmV4Location };
|
|
6454
6395
|
};
|
|
6455
6396
|
}
|
|
6456
6397
|
>
|
|
@@ -6468,17 +6409,17 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
6468
6409
|
*
|
|
6469
6410
|
* Each successful call emits the `Event::Destroyed` event.
|
|
6470
6411
|
*
|
|
6471
|
-
* @param {
|
|
6412
|
+
* @param {StagingXcmV4Location} id
|
|
6472
6413
|
**/
|
|
6473
6414
|
finishDestroy: GenericTxCall<
|
|
6474
6415
|
Rv,
|
|
6475
|
-
(id:
|
|
6416
|
+
(id: StagingXcmV4Location) => ChainSubmittableExtrinsic<
|
|
6476
6417
|
Rv,
|
|
6477
6418
|
{
|
|
6478
6419
|
pallet: 'ForeignAssets';
|
|
6479
6420
|
palletCall: {
|
|
6480
6421
|
name: 'FinishDestroy';
|
|
6481
|
-
params: { id:
|
|
6422
|
+
params: { id: StagingXcmV4Location };
|
|
6482
6423
|
};
|
|
6483
6424
|
}
|
|
6484
6425
|
>
|
|
@@ -6498,14 +6439,14 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
6498
6439
|
* Weight: `O(1)`
|
|
6499
6440
|
* Modes: Pre-existing balance of `beneficiary`; Account pre-existence of `beneficiary`.
|
|
6500
6441
|
*
|
|
6501
|
-
* @param {
|
|
6442
|
+
* @param {StagingXcmV4Location} id
|
|
6502
6443
|
* @param {MultiAddressLike} beneficiary
|
|
6503
6444
|
* @param {bigint} amount
|
|
6504
6445
|
**/
|
|
6505
6446
|
mint: GenericTxCall<
|
|
6506
6447
|
Rv,
|
|
6507
6448
|
(
|
|
6508
|
-
id:
|
|
6449
|
+
id: StagingXcmV4Location,
|
|
6509
6450
|
beneficiary: MultiAddressLike,
|
|
6510
6451
|
amount: bigint,
|
|
6511
6452
|
) => ChainSubmittableExtrinsic<
|
|
@@ -6514,7 +6455,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
6514
6455
|
pallet: 'ForeignAssets';
|
|
6515
6456
|
palletCall: {
|
|
6516
6457
|
name: 'Mint';
|
|
6517
|
-
params: { id:
|
|
6458
|
+
params: { id: StagingXcmV4Location; beneficiary: MultiAddressLike; amount: bigint };
|
|
6518
6459
|
};
|
|
6519
6460
|
}
|
|
6520
6461
|
>
|
|
@@ -6537,14 +6478,14 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
6537
6478
|
* Weight: `O(1)`
|
|
6538
6479
|
* Modes: Post-existence of `who`; Pre & post Zombie-status of `who`.
|
|
6539
6480
|
*
|
|
6540
|
-
* @param {
|
|
6481
|
+
* @param {StagingXcmV4Location} id
|
|
6541
6482
|
* @param {MultiAddressLike} who
|
|
6542
6483
|
* @param {bigint} amount
|
|
6543
6484
|
**/
|
|
6544
6485
|
burn: GenericTxCall<
|
|
6545
6486
|
Rv,
|
|
6546
6487
|
(
|
|
6547
|
-
id:
|
|
6488
|
+
id: StagingXcmV4Location,
|
|
6548
6489
|
who: MultiAddressLike,
|
|
6549
6490
|
amount: bigint,
|
|
6550
6491
|
) => ChainSubmittableExtrinsic<
|
|
@@ -6553,7 +6494,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
6553
6494
|
pallet: 'ForeignAssets';
|
|
6554
6495
|
palletCall: {
|
|
6555
6496
|
name: 'Burn';
|
|
6556
|
-
params: { id:
|
|
6497
|
+
params: { id: StagingXcmV4Location; who: MultiAddressLike; amount: bigint };
|
|
6557
6498
|
};
|
|
6558
6499
|
}
|
|
6559
6500
|
>
|
|
@@ -6579,14 +6520,14 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
6579
6520
|
* Modes: Pre-existence of `target`; Post-existence of sender; Account pre-existence of
|
|
6580
6521
|
* `target`.
|
|
6581
6522
|
*
|
|
6582
|
-
* @param {
|
|
6523
|
+
* @param {StagingXcmV4Location} id
|
|
6583
6524
|
* @param {MultiAddressLike} target
|
|
6584
6525
|
* @param {bigint} amount
|
|
6585
6526
|
**/
|
|
6586
6527
|
transfer: GenericTxCall<
|
|
6587
6528
|
Rv,
|
|
6588
6529
|
(
|
|
6589
|
-
id:
|
|
6530
|
+
id: StagingXcmV4Location,
|
|
6590
6531
|
target: MultiAddressLike,
|
|
6591
6532
|
amount: bigint,
|
|
6592
6533
|
) => ChainSubmittableExtrinsic<
|
|
@@ -6595,7 +6536,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
6595
6536
|
pallet: 'ForeignAssets';
|
|
6596
6537
|
palletCall: {
|
|
6597
6538
|
name: 'Transfer';
|
|
6598
|
-
params: { id:
|
|
6539
|
+
params: { id: StagingXcmV4Location; target: MultiAddressLike; amount: bigint };
|
|
6599
6540
|
};
|
|
6600
6541
|
}
|
|
6601
6542
|
>
|
|
@@ -6621,14 +6562,14 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
6621
6562
|
* Modes: Pre-existence of `target`; Post-existence of sender; Account pre-existence of
|
|
6622
6563
|
* `target`.
|
|
6623
6564
|
*
|
|
6624
|
-
* @param {
|
|
6565
|
+
* @param {StagingXcmV4Location} id
|
|
6625
6566
|
* @param {MultiAddressLike} target
|
|
6626
6567
|
* @param {bigint} amount
|
|
6627
6568
|
**/
|
|
6628
6569
|
transferKeepAlive: GenericTxCall<
|
|
6629
6570
|
Rv,
|
|
6630
6571
|
(
|
|
6631
|
-
id:
|
|
6572
|
+
id: StagingXcmV4Location,
|
|
6632
6573
|
target: MultiAddressLike,
|
|
6633
6574
|
amount: bigint,
|
|
6634
6575
|
) => ChainSubmittableExtrinsic<
|
|
@@ -6637,7 +6578,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
6637
6578
|
pallet: 'ForeignAssets';
|
|
6638
6579
|
palletCall: {
|
|
6639
6580
|
name: 'TransferKeepAlive';
|
|
6640
|
-
params: { id:
|
|
6581
|
+
params: { id: StagingXcmV4Location; target: MultiAddressLike; amount: bigint };
|
|
6641
6582
|
};
|
|
6642
6583
|
}
|
|
6643
6584
|
>
|
|
@@ -6664,7 +6605,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
6664
6605
|
* Modes: Pre-existence of `dest`; Post-existence of `source`; Account pre-existence of
|
|
6665
6606
|
* `dest`.
|
|
6666
6607
|
*
|
|
6667
|
-
* @param {
|
|
6608
|
+
* @param {StagingXcmV4Location} id
|
|
6668
6609
|
* @param {MultiAddressLike} source
|
|
6669
6610
|
* @param {MultiAddressLike} dest
|
|
6670
6611
|
* @param {bigint} amount
|
|
@@ -6672,7 +6613,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
6672
6613
|
forceTransfer: GenericTxCall<
|
|
6673
6614
|
Rv,
|
|
6674
6615
|
(
|
|
6675
|
-
id:
|
|
6616
|
+
id: StagingXcmV4Location,
|
|
6676
6617
|
source: MultiAddressLike,
|
|
6677
6618
|
dest: MultiAddressLike,
|
|
6678
6619
|
amount: bigint,
|
|
@@ -6682,12 +6623,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
6682
6623
|
pallet: 'ForeignAssets';
|
|
6683
6624
|
palletCall: {
|
|
6684
6625
|
name: 'ForceTransfer';
|
|
6685
|
-
params: {
|
|
6686
|
-
id: StagingXcmV3MultilocationMultiLocation;
|
|
6687
|
-
source: MultiAddressLike;
|
|
6688
|
-
dest: MultiAddressLike;
|
|
6689
|
-
amount: bigint;
|
|
6690
|
-
};
|
|
6626
|
+
params: { id: StagingXcmV4Location; source: MultiAddressLike; dest: MultiAddressLike; amount: bigint };
|
|
6691
6627
|
};
|
|
6692
6628
|
}
|
|
6693
6629
|
>
|
|
@@ -6707,13 +6643,13 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
6707
6643
|
*
|
|
6708
6644
|
* Weight: `O(1)`
|
|
6709
6645
|
*
|
|
6710
|
-
* @param {
|
|
6646
|
+
* @param {StagingXcmV4Location} id
|
|
6711
6647
|
* @param {MultiAddressLike} who
|
|
6712
6648
|
**/
|
|
6713
6649
|
freeze: GenericTxCall<
|
|
6714
6650
|
Rv,
|
|
6715
6651
|
(
|
|
6716
|
-
id:
|
|
6652
|
+
id: StagingXcmV4Location,
|
|
6717
6653
|
who: MultiAddressLike,
|
|
6718
6654
|
) => ChainSubmittableExtrinsic<
|
|
6719
6655
|
Rv,
|
|
@@ -6721,7 +6657,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
6721
6657
|
pallet: 'ForeignAssets';
|
|
6722
6658
|
palletCall: {
|
|
6723
6659
|
name: 'Freeze';
|
|
6724
|
-
params: { id:
|
|
6660
|
+
params: { id: StagingXcmV4Location; who: MultiAddressLike };
|
|
6725
6661
|
};
|
|
6726
6662
|
}
|
|
6727
6663
|
>
|
|
@@ -6739,13 +6675,13 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
6739
6675
|
*
|
|
6740
6676
|
* Weight: `O(1)`
|
|
6741
6677
|
*
|
|
6742
|
-
* @param {
|
|
6678
|
+
* @param {StagingXcmV4Location} id
|
|
6743
6679
|
* @param {MultiAddressLike} who
|
|
6744
6680
|
**/
|
|
6745
6681
|
thaw: GenericTxCall<
|
|
6746
6682
|
Rv,
|
|
6747
6683
|
(
|
|
6748
|
-
id:
|
|
6684
|
+
id: StagingXcmV4Location,
|
|
6749
6685
|
who: MultiAddressLike,
|
|
6750
6686
|
) => ChainSubmittableExtrinsic<
|
|
6751
6687
|
Rv,
|
|
@@ -6753,7 +6689,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
6753
6689
|
pallet: 'ForeignAssets';
|
|
6754
6690
|
palletCall: {
|
|
6755
6691
|
name: 'Thaw';
|
|
6756
|
-
params: { id:
|
|
6692
|
+
params: { id: StagingXcmV4Location; who: MultiAddressLike };
|
|
6757
6693
|
};
|
|
6758
6694
|
}
|
|
6759
6695
|
>
|
|
@@ -6770,17 +6706,17 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
6770
6706
|
*
|
|
6771
6707
|
* Weight: `O(1)`
|
|
6772
6708
|
*
|
|
6773
|
-
* @param {
|
|
6709
|
+
* @param {StagingXcmV4Location} id
|
|
6774
6710
|
**/
|
|
6775
6711
|
freezeAsset: GenericTxCall<
|
|
6776
6712
|
Rv,
|
|
6777
|
-
(id:
|
|
6713
|
+
(id: StagingXcmV4Location) => ChainSubmittableExtrinsic<
|
|
6778
6714
|
Rv,
|
|
6779
6715
|
{
|
|
6780
6716
|
pallet: 'ForeignAssets';
|
|
6781
6717
|
palletCall: {
|
|
6782
6718
|
name: 'FreezeAsset';
|
|
6783
|
-
params: { id:
|
|
6719
|
+
params: { id: StagingXcmV4Location };
|
|
6784
6720
|
};
|
|
6785
6721
|
}
|
|
6786
6722
|
>
|
|
@@ -6797,17 +6733,17 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
6797
6733
|
*
|
|
6798
6734
|
* Weight: `O(1)`
|
|
6799
6735
|
*
|
|
6800
|
-
* @param {
|
|
6736
|
+
* @param {StagingXcmV4Location} id
|
|
6801
6737
|
**/
|
|
6802
6738
|
thawAsset: GenericTxCall<
|
|
6803
6739
|
Rv,
|
|
6804
|
-
(id:
|
|
6740
|
+
(id: StagingXcmV4Location) => ChainSubmittableExtrinsic<
|
|
6805
6741
|
Rv,
|
|
6806
6742
|
{
|
|
6807
6743
|
pallet: 'ForeignAssets';
|
|
6808
6744
|
palletCall: {
|
|
6809
6745
|
name: 'ThawAsset';
|
|
6810
|
-
params: { id:
|
|
6746
|
+
params: { id: StagingXcmV4Location };
|
|
6811
6747
|
};
|
|
6812
6748
|
}
|
|
6813
6749
|
>
|
|
@@ -6825,13 +6761,13 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
6825
6761
|
*
|
|
6826
6762
|
* Weight: `O(1)`
|
|
6827
6763
|
*
|
|
6828
|
-
* @param {
|
|
6764
|
+
* @param {StagingXcmV4Location} id
|
|
6829
6765
|
* @param {MultiAddressLike} owner
|
|
6830
6766
|
**/
|
|
6831
6767
|
transferOwnership: GenericTxCall<
|
|
6832
6768
|
Rv,
|
|
6833
6769
|
(
|
|
6834
|
-
id:
|
|
6770
|
+
id: StagingXcmV4Location,
|
|
6835
6771
|
owner: MultiAddressLike,
|
|
6836
6772
|
) => ChainSubmittableExtrinsic<
|
|
6837
6773
|
Rv,
|
|
@@ -6839,7 +6775,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
6839
6775
|
pallet: 'ForeignAssets';
|
|
6840
6776
|
palletCall: {
|
|
6841
6777
|
name: 'TransferOwnership';
|
|
6842
|
-
params: { id:
|
|
6778
|
+
params: { id: StagingXcmV4Location; owner: MultiAddressLike };
|
|
6843
6779
|
};
|
|
6844
6780
|
}
|
|
6845
6781
|
>
|
|
@@ -6859,7 +6795,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
6859
6795
|
*
|
|
6860
6796
|
* Weight: `O(1)`
|
|
6861
6797
|
*
|
|
6862
|
-
* @param {
|
|
6798
|
+
* @param {StagingXcmV4Location} id
|
|
6863
6799
|
* @param {MultiAddressLike} issuer
|
|
6864
6800
|
* @param {MultiAddressLike} admin
|
|
6865
6801
|
* @param {MultiAddressLike} freezer
|
|
@@ -6867,7 +6803,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
6867
6803
|
setTeam: GenericTxCall<
|
|
6868
6804
|
Rv,
|
|
6869
6805
|
(
|
|
6870
|
-
id:
|
|
6806
|
+
id: StagingXcmV4Location,
|
|
6871
6807
|
issuer: MultiAddressLike,
|
|
6872
6808
|
admin: MultiAddressLike,
|
|
6873
6809
|
freezer: MultiAddressLike,
|
|
@@ -6878,7 +6814,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
6878
6814
|
palletCall: {
|
|
6879
6815
|
name: 'SetTeam';
|
|
6880
6816
|
params: {
|
|
6881
|
-
id:
|
|
6817
|
+
id: StagingXcmV4Location;
|
|
6882
6818
|
issuer: MultiAddressLike;
|
|
6883
6819
|
admin: MultiAddressLike;
|
|
6884
6820
|
freezer: MultiAddressLike;
|
|
@@ -6906,7 +6842,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
6906
6842
|
*
|
|
6907
6843
|
* Weight: `O(1)`
|
|
6908
6844
|
*
|
|
6909
|
-
* @param {
|
|
6845
|
+
* @param {StagingXcmV4Location} id
|
|
6910
6846
|
* @param {BytesLike} name
|
|
6911
6847
|
* @param {BytesLike} symbol
|
|
6912
6848
|
* @param {number} decimals
|
|
@@ -6914,7 +6850,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
6914
6850
|
setMetadata: GenericTxCall<
|
|
6915
6851
|
Rv,
|
|
6916
6852
|
(
|
|
6917
|
-
id:
|
|
6853
|
+
id: StagingXcmV4Location,
|
|
6918
6854
|
name: BytesLike,
|
|
6919
6855
|
symbol: BytesLike,
|
|
6920
6856
|
decimals: number,
|
|
@@ -6924,12 +6860,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
6924
6860
|
pallet: 'ForeignAssets';
|
|
6925
6861
|
palletCall: {
|
|
6926
6862
|
name: 'SetMetadata';
|
|
6927
|
-
params: {
|
|
6928
|
-
id: StagingXcmV3MultilocationMultiLocation;
|
|
6929
|
-
name: BytesLike;
|
|
6930
|
-
symbol: BytesLike;
|
|
6931
|
-
decimals: number;
|
|
6932
|
-
};
|
|
6863
|
+
params: { id: StagingXcmV4Location; name: BytesLike; symbol: BytesLike; decimals: number };
|
|
6933
6864
|
};
|
|
6934
6865
|
}
|
|
6935
6866
|
>
|
|
@@ -6948,17 +6879,17 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
6948
6879
|
*
|
|
6949
6880
|
* Weight: `O(1)`
|
|
6950
6881
|
*
|
|
6951
|
-
* @param {
|
|
6882
|
+
* @param {StagingXcmV4Location} id
|
|
6952
6883
|
**/
|
|
6953
6884
|
clearMetadata: GenericTxCall<
|
|
6954
6885
|
Rv,
|
|
6955
|
-
(id:
|
|
6886
|
+
(id: StagingXcmV4Location) => ChainSubmittableExtrinsic<
|
|
6956
6887
|
Rv,
|
|
6957
6888
|
{
|
|
6958
6889
|
pallet: 'ForeignAssets';
|
|
6959
6890
|
palletCall: {
|
|
6960
6891
|
name: 'ClearMetadata';
|
|
6961
|
-
params: { id:
|
|
6892
|
+
params: { id: StagingXcmV4Location };
|
|
6962
6893
|
};
|
|
6963
6894
|
}
|
|
6964
6895
|
>
|
|
@@ -6980,7 +6911,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
6980
6911
|
*
|
|
6981
6912
|
* Weight: `O(N + S)` where N and S are the length of the name and symbol respectively.
|
|
6982
6913
|
*
|
|
6983
|
-
* @param {
|
|
6914
|
+
* @param {StagingXcmV4Location} id
|
|
6984
6915
|
* @param {BytesLike} name
|
|
6985
6916
|
* @param {BytesLike} symbol
|
|
6986
6917
|
* @param {number} decimals
|
|
@@ -6989,7 +6920,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
6989
6920
|
forceSetMetadata: GenericTxCall<
|
|
6990
6921
|
Rv,
|
|
6991
6922
|
(
|
|
6992
|
-
id:
|
|
6923
|
+
id: StagingXcmV4Location,
|
|
6993
6924
|
name: BytesLike,
|
|
6994
6925
|
symbol: BytesLike,
|
|
6995
6926
|
decimals: number,
|
|
@@ -7001,7 +6932,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7001
6932
|
palletCall: {
|
|
7002
6933
|
name: 'ForceSetMetadata';
|
|
7003
6934
|
params: {
|
|
7004
|
-
id:
|
|
6935
|
+
id: StagingXcmV4Location;
|
|
7005
6936
|
name: BytesLike;
|
|
7006
6937
|
symbol: BytesLike;
|
|
7007
6938
|
decimals: number;
|
|
@@ -7025,17 +6956,17 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7025
6956
|
*
|
|
7026
6957
|
* Weight: `O(1)`
|
|
7027
6958
|
*
|
|
7028
|
-
* @param {
|
|
6959
|
+
* @param {StagingXcmV4Location} id
|
|
7029
6960
|
**/
|
|
7030
6961
|
forceClearMetadata: GenericTxCall<
|
|
7031
6962
|
Rv,
|
|
7032
|
-
(id:
|
|
6963
|
+
(id: StagingXcmV4Location) => ChainSubmittableExtrinsic<
|
|
7033
6964
|
Rv,
|
|
7034
6965
|
{
|
|
7035
6966
|
pallet: 'ForeignAssets';
|
|
7036
6967
|
palletCall: {
|
|
7037
6968
|
name: 'ForceClearMetadata';
|
|
7038
|
-
params: { id:
|
|
6969
|
+
params: { id: StagingXcmV4Location };
|
|
7039
6970
|
};
|
|
7040
6971
|
}
|
|
7041
6972
|
>
|
|
@@ -7065,7 +6996,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7065
6996
|
*
|
|
7066
6997
|
* Weight: `O(1)`
|
|
7067
6998
|
*
|
|
7068
|
-
* @param {
|
|
6999
|
+
* @param {StagingXcmV4Location} id
|
|
7069
7000
|
* @param {MultiAddressLike} owner
|
|
7070
7001
|
* @param {MultiAddressLike} issuer
|
|
7071
7002
|
* @param {MultiAddressLike} admin
|
|
@@ -7077,7 +7008,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7077
7008
|
forceAssetStatus: GenericTxCall<
|
|
7078
7009
|
Rv,
|
|
7079
7010
|
(
|
|
7080
|
-
id:
|
|
7011
|
+
id: StagingXcmV4Location,
|
|
7081
7012
|
owner: MultiAddressLike,
|
|
7082
7013
|
issuer: MultiAddressLike,
|
|
7083
7014
|
admin: MultiAddressLike,
|
|
@@ -7092,7 +7023,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7092
7023
|
palletCall: {
|
|
7093
7024
|
name: 'ForceAssetStatus';
|
|
7094
7025
|
params: {
|
|
7095
|
-
id:
|
|
7026
|
+
id: StagingXcmV4Location;
|
|
7096
7027
|
owner: MultiAddressLike;
|
|
7097
7028
|
issuer: MultiAddressLike;
|
|
7098
7029
|
admin: MultiAddressLike;
|
|
@@ -7128,14 +7059,14 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7128
7059
|
*
|
|
7129
7060
|
* Weight: `O(1)`
|
|
7130
7061
|
*
|
|
7131
|
-
* @param {
|
|
7062
|
+
* @param {StagingXcmV4Location} id
|
|
7132
7063
|
* @param {MultiAddressLike} delegate
|
|
7133
7064
|
* @param {bigint} amount
|
|
7134
7065
|
**/
|
|
7135
7066
|
approveTransfer: GenericTxCall<
|
|
7136
7067
|
Rv,
|
|
7137
7068
|
(
|
|
7138
|
-
id:
|
|
7069
|
+
id: StagingXcmV4Location,
|
|
7139
7070
|
delegate: MultiAddressLike,
|
|
7140
7071
|
amount: bigint,
|
|
7141
7072
|
) => ChainSubmittableExtrinsic<
|
|
@@ -7144,7 +7075,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7144
7075
|
pallet: 'ForeignAssets';
|
|
7145
7076
|
palletCall: {
|
|
7146
7077
|
name: 'ApproveTransfer';
|
|
7147
|
-
params: { id:
|
|
7078
|
+
params: { id: StagingXcmV4Location; delegate: MultiAddressLike; amount: bigint };
|
|
7148
7079
|
};
|
|
7149
7080
|
}
|
|
7150
7081
|
>
|
|
@@ -7165,13 +7096,13 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7165
7096
|
*
|
|
7166
7097
|
* Weight: `O(1)`
|
|
7167
7098
|
*
|
|
7168
|
-
* @param {
|
|
7099
|
+
* @param {StagingXcmV4Location} id
|
|
7169
7100
|
* @param {MultiAddressLike} delegate
|
|
7170
7101
|
**/
|
|
7171
7102
|
cancelApproval: GenericTxCall<
|
|
7172
7103
|
Rv,
|
|
7173
7104
|
(
|
|
7174
|
-
id:
|
|
7105
|
+
id: StagingXcmV4Location,
|
|
7175
7106
|
delegate: MultiAddressLike,
|
|
7176
7107
|
) => ChainSubmittableExtrinsic<
|
|
7177
7108
|
Rv,
|
|
@@ -7179,7 +7110,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7179
7110
|
pallet: 'ForeignAssets';
|
|
7180
7111
|
palletCall: {
|
|
7181
7112
|
name: 'CancelApproval';
|
|
7182
|
-
params: { id:
|
|
7113
|
+
params: { id: StagingXcmV4Location; delegate: MultiAddressLike };
|
|
7183
7114
|
};
|
|
7184
7115
|
}
|
|
7185
7116
|
>
|
|
@@ -7200,14 +7131,14 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7200
7131
|
*
|
|
7201
7132
|
* Weight: `O(1)`
|
|
7202
7133
|
*
|
|
7203
|
-
* @param {
|
|
7134
|
+
* @param {StagingXcmV4Location} id
|
|
7204
7135
|
* @param {MultiAddressLike} owner
|
|
7205
7136
|
* @param {MultiAddressLike} delegate
|
|
7206
7137
|
**/
|
|
7207
7138
|
forceCancelApproval: GenericTxCall<
|
|
7208
7139
|
Rv,
|
|
7209
7140
|
(
|
|
7210
|
-
id:
|
|
7141
|
+
id: StagingXcmV4Location,
|
|
7211
7142
|
owner: MultiAddressLike,
|
|
7212
7143
|
delegate: MultiAddressLike,
|
|
7213
7144
|
) => ChainSubmittableExtrinsic<
|
|
@@ -7216,7 +7147,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7216
7147
|
pallet: 'ForeignAssets';
|
|
7217
7148
|
palletCall: {
|
|
7218
7149
|
name: 'ForceCancelApproval';
|
|
7219
|
-
params: { id:
|
|
7150
|
+
params: { id: StagingXcmV4Location; owner: MultiAddressLike; delegate: MultiAddressLike };
|
|
7220
7151
|
};
|
|
7221
7152
|
}
|
|
7222
7153
|
>
|
|
@@ -7242,7 +7173,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7242
7173
|
*
|
|
7243
7174
|
* Weight: `O(1)`
|
|
7244
7175
|
*
|
|
7245
|
-
* @param {
|
|
7176
|
+
* @param {StagingXcmV4Location} id
|
|
7246
7177
|
* @param {MultiAddressLike} owner
|
|
7247
7178
|
* @param {MultiAddressLike} destination
|
|
7248
7179
|
* @param {bigint} amount
|
|
@@ -7250,7 +7181,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7250
7181
|
transferApproved: GenericTxCall<
|
|
7251
7182
|
Rv,
|
|
7252
7183
|
(
|
|
7253
|
-
id:
|
|
7184
|
+
id: StagingXcmV4Location,
|
|
7254
7185
|
owner: MultiAddressLike,
|
|
7255
7186
|
destination: MultiAddressLike,
|
|
7256
7187
|
amount: bigint,
|
|
@@ -7261,7 +7192,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7261
7192
|
palletCall: {
|
|
7262
7193
|
name: 'TransferApproved';
|
|
7263
7194
|
params: {
|
|
7264
|
-
id:
|
|
7195
|
+
id: StagingXcmV4Location;
|
|
7265
7196
|
owner: MultiAddressLike;
|
|
7266
7197
|
destination: MultiAddressLike;
|
|
7267
7198
|
amount: bigint;
|
|
@@ -7282,17 +7213,17 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7282
7213
|
*
|
|
7283
7214
|
* Emits `Touched` event when successful.
|
|
7284
7215
|
*
|
|
7285
|
-
* @param {
|
|
7216
|
+
* @param {StagingXcmV4Location} id
|
|
7286
7217
|
**/
|
|
7287
7218
|
touch: GenericTxCall<
|
|
7288
7219
|
Rv,
|
|
7289
|
-
(id:
|
|
7220
|
+
(id: StagingXcmV4Location) => ChainSubmittableExtrinsic<
|
|
7290
7221
|
Rv,
|
|
7291
7222
|
{
|
|
7292
7223
|
pallet: 'ForeignAssets';
|
|
7293
7224
|
palletCall: {
|
|
7294
7225
|
name: 'Touch';
|
|
7295
|
-
params: { id:
|
|
7226
|
+
params: { id: StagingXcmV4Location };
|
|
7296
7227
|
};
|
|
7297
7228
|
}
|
|
7298
7229
|
>
|
|
@@ -7310,13 +7241,13 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7310
7241
|
*
|
|
7311
7242
|
* Emits `Refunded` event when successful.
|
|
7312
7243
|
*
|
|
7313
|
-
* @param {
|
|
7244
|
+
* @param {StagingXcmV4Location} id
|
|
7314
7245
|
* @param {boolean} allowBurn
|
|
7315
7246
|
**/
|
|
7316
7247
|
refund: GenericTxCall<
|
|
7317
7248
|
Rv,
|
|
7318
7249
|
(
|
|
7319
|
-
id:
|
|
7250
|
+
id: StagingXcmV4Location,
|
|
7320
7251
|
allowBurn: boolean,
|
|
7321
7252
|
) => ChainSubmittableExtrinsic<
|
|
7322
7253
|
Rv,
|
|
@@ -7324,7 +7255,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7324
7255
|
pallet: 'ForeignAssets';
|
|
7325
7256
|
palletCall: {
|
|
7326
7257
|
name: 'Refund';
|
|
7327
|
-
params: { id:
|
|
7258
|
+
params: { id: StagingXcmV4Location; allowBurn: boolean };
|
|
7328
7259
|
};
|
|
7329
7260
|
}
|
|
7330
7261
|
>
|
|
@@ -7344,13 +7275,13 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7344
7275
|
*
|
|
7345
7276
|
* Emits `AssetMinBalanceChanged` event when successful.
|
|
7346
7277
|
*
|
|
7347
|
-
* @param {
|
|
7278
|
+
* @param {StagingXcmV4Location} id
|
|
7348
7279
|
* @param {bigint} minBalance
|
|
7349
7280
|
**/
|
|
7350
7281
|
setMinBalance: GenericTxCall<
|
|
7351
7282
|
Rv,
|
|
7352
7283
|
(
|
|
7353
|
-
id:
|
|
7284
|
+
id: StagingXcmV4Location,
|
|
7354
7285
|
minBalance: bigint,
|
|
7355
7286
|
) => ChainSubmittableExtrinsic<
|
|
7356
7287
|
Rv,
|
|
@@ -7358,7 +7289,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7358
7289
|
pallet: 'ForeignAssets';
|
|
7359
7290
|
palletCall: {
|
|
7360
7291
|
name: 'SetMinBalance';
|
|
7361
|
-
params: { id:
|
|
7292
|
+
params: { id: StagingXcmV4Location; minBalance: bigint };
|
|
7362
7293
|
};
|
|
7363
7294
|
}
|
|
7364
7295
|
>
|
|
@@ -7376,13 +7307,13 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7376
7307
|
*
|
|
7377
7308
|
* Emits `Touched` event when successful.
|
|
7378
7309
|
*
|
|
7379
|
-
* @param {
|
|
7310
|
+
* @param {StagingXcmV4Location} id
|
|
7380
7311
|
* @param {MultiAddressLike} who
|
|
7381
7312
|
**/
|
|
7382
7313
|
touchOther: GenericTxCall<
|
|
7383
7314
|
Rv,
|
|
7384
7315
|
(
|
|
7385
|
-
id:
|
|
7316
|
+
id: StagingXcmV4Location,
|
|
7386
7317
|
who: MultiAddressLike,
|
|
7387
7318
|
) => ChainSubmittableExtrinsic<
|
|
7388
7319
|
Rv,
|
|
@@ -7390,7 +7321,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7390
7321
|
pallet: 'ForeignAssets';
|
|
7391
7322
|
palletCall: {
|
|
7392
7323
|
name: 'TouchOther';
|
|
7393
|
-
params: { id:
|
|
7324
|
+
params: { id: StagingXcmV4Location; who: MultiAddressLike };
|
|
7394
7325
|
};
|
|
7395
7326
|
}
|
|
7396
7327
|
>
|
|
@@ -7408,13 +7339,13 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7408
7339
|
*
|
|
7409
7340
|
* Emits `Refunded` event when successful.
|
|
7410
7341
|
*
|
|
7411
|
-
* @param {
|
|
7342
|
+
* @param {StagingXcmV4Location} id
|
|
7412
7343
|
* @param {MultiAddressLike} who
|
|
7413
7344
|
**/
|
|
7414
7345
|
refundOther: GenericTxCall<
|
|
7415
7346
|
Rv,
|
|
7416
7347
|
(
|
|
7417
|
-
id:
|
|
7348
|
+
id: StagingXcmV4Location,
|
|
7418
7349
|
who: MultiAddressLike,
|
|
7419
7350
|
) => ChainSubmittableExtrinsic<
|
|
7420
7351
|
Rv,
|
|
@@ -7422,7 +7353,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7422
7353
|
pallet: 'ForeignAssets';
|
|
7423
7354
|
palletCall: {
|
|
7424
7355
|
name: 'RefundOther';
|
|
7425
|
-
params: { id:
|
|
7356
|
+
params: { id: StagingXcmV4Location; who: MultiAddressLike };
|
|
7426
7357
|
};
|
|
7427
7358
|
}
|
|
7428
7359
|
>
|
|
@@ -7440,13 +7371,13 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7440
7371
|
*
|
|
7441
7372
|
* Weight: `O(1)`
|
|
7442
7373
|
*
|
|
7443
|
-
* @param {
|
|
7374
|
+
* @param {StagingXcmV4Location} id
|
|
7444
7375
|
* @param {MultiAddressLike} who
|
|
7445
7376
|
**/
|
|
7446
7377
|
block: GenericTxCall<
|
|
7447
7378
|
Rv,
|
|
7448
7379
|
(
|
|
7449
|
-
id:
|
|
7380
|
+
id: StagingXcmV4Location,
|
|
7450
7381
|
who: MultiAddressLike,
|
|
7451
7382
|
) => ChainSubmittableExtrinsic<
|
|
7452
7383
|
Rv,
|
|
@@ -7454,7 +7385,47 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7454
7385
|
pallet: 'ForeignAssets';
|
|
7455
7386
|
palletCall: {
|
|
7456
7387
|
name: 'Block';
|
|
7457
|
-
params: { id:
|
|
7388
|
+
params: { id: StagingXcmV4Location; who: MultiAddressLike };
|
|
7389
|
+
};
|
|
7390
|
+
}
|
|
7391
|
+
>
|
|
7392
|
+
>;
|
|
7393
|
+
|
|
7394
|
+
/**
|
|
7395
|
+
* Transfer the entire transferable balance from the caller asset account.
|
|
7396
|
+
*
|
|
7397
|
+
* NOTE: This function only attempts to transfer _transferable_ balances. This means that
|
|
7398
|
+
* any held, frozen, or minimum balance (when `keep_alive` is `true`), will not be
|
|
7399
|
+
* transferred by this function. To ensure that this function results in a killed account,
|
|
7400
|
+
* you might need to prepare the account by removing any reference counters, storage
|
|
7401
|
+
* deposits, etc...
|
|
7402
|
+
*
|
|
7403
|
+
* The dispatch origin of this call must be Signed.
|
|
7404
|
+
*
|
|
7405
|
+
* - `id`: The identifier of the asset for the account holding a deposit.
|
|
7406
|
+
* - `dest`: The recipient of the transfer.
|
|
7407
|
+
* - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all
|
|
7408
|
+
* of the funds the asset account has, causing the sender asset account to be killed
|
|
7409
|
+
* (false), or transfer everything except at least the minimum balance, which will
|
|
7410
|
+
* guarantee to keep the sender asset account alive (true).
|
|
7411
|
+
*
|
|
7412
|
+
* @param {StagingXcmV4Location} id
|
|
7413
|
+
* @param {MultiAddressLike} dest
|
|
7414
|
+
* @param {boolean} keepAlive
|
|
7415
|
+
**/
|
|
7416
|
+
transferAll: GenericTxCall<
|
|
7417
|
+
Rv,
|
|
7418
|
+
(
|
|
7419
|
+
id: StagingXcmV4Location,
|
|
7420
|
+
dest: MultiAddressLike,
|
|
7421
|
+
keepAlive: boolean,
|
|
7422
|
+
) => ChainSubmittableExtrinsic<
|
|
7423
|
+
Rv,
|
|
7424
|
+
{
|
|
7425
|
+
pallet: 'ForeignAssets';
|
|
7426
|
+
palletCall: {
|
|
7427
|
+
name: 'TransferAll';
|
|
7428
|
+
params: { id: StagingXcmV4Location; dest: MultiAddressLike; keepAlive: boolean };
|
|
7458
7429
|
};
|
|
7459
7430
|
}
|
|
7460
7431
|
>
|
|
@@ -7670,8 +7641,6 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7670
7641
|
* - `id`: The identifier of the asset to be destroyed. This must identify an existing
|
|
7671
7642
|
* asset.
|
|
7672
7643
|
*
|
|
7673
|
-
* The asset class must be frozen before calling `start_destroy`.
|
|
7674
|
-
*
|
|
7675
7644
|
* @param {number} id
|
|
7676
7645
|
**/
|
|
7677
7646
|
startDestroy: GenericTxCall<
|
|
@@ -8726,6 +8695,46 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
8726
8695
|
>
|
|
8727
8696
|
>;
|
|
8728
8697
|
|
|
8698
|
+
/**
|
|
8699
|
+
* Transfer the entire transferable balance from the caller asset account.
|
|
8700
|
+
*
|
|
8701
|
+
* NOTE: This function only attempts to transfer _transferable_ balances. This means that
|
|
8702
|
+
* any held, frozen, or minimum balance (when `keep_alive` is `true`), will not be
|
|
8703
|
+
* transferred by this function. To ensure that this function results in a killed account,
|
|
8704
|
+
* you might need to prepare the account by removing any reference counters, storage
|
|
8705
|
+
* deposits, etc...
|
|
8706
|
+
*
|
|
8707
|
+
* The dispatch origin of this call must be Signed.
|
|
8708
|
+
*
|
|
8709
|
+
* - `id`: The identifier of the asset for the account holding a deposit.
|
|
8710
|
+
* - `dest`: The recipient of the transfer.
|
|
8711
|
+
* - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all
|
|
8712
|
+
* of the funds the asset account has, causing the sender asset account to be killed
|
|
8713
|
+
* (false), or transfer everything except at least the minimum balance, which will
|
|
8714
|
+
* guarantee to keep the sender asset account alive (true).
|
|
8715
|
+
*
|
|
8716
|
+
* @param {number} id
|
|
8717
|
+
* @param {MultiAddressLike} dest
|
|
8718
|
+
* @param {boolean} keepAlive
|
|
8719
|
+
**/
|
|
8720
|
+
transferAll: GenericTxCall<
|
|
8721
|
+
Rv,
|
|
8722
|
+
(
|
|
8723
|
+
id: number,
|
|
8724
|
+
dest: MultiAddressLike,
|
|
8725
|
+
keepAlive: boolean,
|
|
8726
|
+
) => ChainSubmittableExtrinsic<
|
|
8727
|
+
Rv,
|
|
8728
|
+
{
|
|
8729
|
+
pallet: 'PoolAssets';
|
|
8730
|
+
palletCall: {
|
|
8731
|
+
name: 'TransferAll';
|
|
8732
|
+
params: { id: number; dest: MultiAddressLike; keepAlive: boolean };
|
|
8733
|
+
};
|
|
8734
|
+
}
|
|
8735
|
+
>
|
|
8736
|
+
>;
|
|
8737
|
+
|
|
8729
8738
|
/**
|
|
8730
8739
|
* Generic pallet tx call
|
|
8731
8740
|
**/
|
|
@@ -8741,21 +8750,21 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
8741
8750
|
*
|
|
8742
8751
|
* Once a pool is created, someone may [`Pallet::add_liquidity`] to it.
|
|
8743
8752
|
*
|
|
8744
|
-
* @param {
|
|
8745
|
-
* @param {
|
|
8753
|
+
* @param {StagingXcmV4Location} asset1
|
|
8754
|
+
* @param {StagingXcmV4Location} asset2
|
|
8746
8755
|
**/
|
|
8747
8756
|
createPool: GenericTxCall<
|
|
8748
8757
|
Rv,
|
|
8749
8758
|
(
|
|
8750
|
-
asset1:
|
|
8751
|
-
asset2:
|
|
8759
|
+
asset1: StagingXcmV4Location,
|
|
8760
|
+
asset2: StagingXcmV4Location,
|
|
8752
8761
|
) => ChainSubmittableExtrinsic<
|
|
8753
8762
|
Rv,
|
|
8754
8763
|
{
|
|
8755
8764
|
pallet: 'AssetConversion';
|
|
8756
8765
|
palletCall: {
|
|
8757
8766
|
name: 'CreatePool';
|
|
8758
|
-
params: { asset1:
|
|
8767
|
+
params: { asset1: StagingXcmV4Location; asset2: StagingXcmV4Location };
|
|
8759
8768
|
};
|
|
8760
8769
|
}
|
|
8761
8770
|
>
|
|
@@ -8775,10 +8784,10 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
8775
8784
|
* calls to render the liquidity withdrawable and rectify the exchange rate.
|
|
8776
8785
|
*
|
|
8777
8786
|
* Once liquidity is added, someone may successfully call
|
|
8778
|
-
* [`Pallet::swap_exact_tokens_for_tokens`]
|
|
8787
|
+
* [`Pallet::swap_exact_tokens_for_tokens`].
|
|
8779
8788
|
*
|
|
8780
|
-
* @param {
|
|
8781
|
-
* @param {
|
|
8789
|
+
* @param {StagingXcmV4Location} asset1
|
|
8790
|
+
* @param {StagingXcmV4Location} asset2
|
|
8782
8791
|
* @param {bigint} amount1Desired
|
|
8783
8792
|
* @param {bigint} amount2Desired
|
|
8784
8793
|
* @param {bigint} amount1Min
|
|
@@ -8788,8 +8797,8 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
8788
8797
|
addLiquidity: GenericTxCall<
|
|
8789
8798
|
Rv,
|
|
8790
8799
|
(
|
|
8791
|
-
asset1:
|
|
8792
|
-
asset2:
|
|
8800
|
+
asset1: StagingXcmV4Location,
|
|
8801
|
+
asset2: StagingXcmV4Location,
|
|
8793
8802
|
amount1Desired: bigint,
|
|
8794
8803
|
amount2Desired: bigint,
|
|
8795
8804
|
amount1Min: bigint,
|
|
@@ -8802,8 +8811,8 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
8802
8811
|
palletCall: {
|
|
8803
8812
|
name: 'AddLiquidity';
|
|
8804
8813
|
params: {
|
|
8805
|
-
asset1:
|
|
8806
|
-
asset2:
|
|
8814
|
+
asset1: StagingXcmV4Location;
|
|
8815
|
+
asset2: StagingXcmV4Location;
|
|
8807
8816
|
amount1Desired: bigint;
|
|
8808
8817
|
amount2Desired: bigint;
|
|
8809
8818
|
amount1Min: bigint;
|
|
@@ -8820,8 +8829,8 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
8820
8829
|
* burned in the process. With the usage of `amount1_min_receive`/`amount2_min_receive`
|
|
8821
8830
|
* it's possible to control the min amount of returned tokens you're happy with.
|
|
8822
8831
|
*
|
|
8823
|
-
* @param {
|
|
8824
|
-
* @param {
|
|
8832
|
+
* @param {StagingXcmV4Location} asset1
|
|
8833
|
+
* @param {StagingXcmV4Location} asset2
|
|
8825
8834
|
* @param {bigint} lpTokenBurn
|
|
8826
8835
|
* @param {bigint} amount1MinReceive
|
|
8827
8836
|
* @param {bigint} amount2MinReceive
|
|
@@ -8830,8 +8839,8 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
8830
8839
|
removeLiquidity: GenericTxCall<
|
|
8831
8840
|
Rv,
|
|
8832
8841
|
(
|
|
8833
|
-
asset1:
|
|
8834
|
-
asset2:
|
|
8842
|
+
asset1: StagingXcmV4Location,
|
|
8843
|
+
asset2: StagingXcmV4Location,
|
|
8835
8844
|
lpTokenBurn: bigint,
|
|
8836
8845
|
amount1MinReceive: bigint,
|
|
8837
8846
|
amount2MinReceive: bigint,
|
|
@@ -8843,8 +8852,8 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
8843
8852
|
palletCall: {
|
|
8844
8853
|
name: 'RemoveLiquidity';
|
|
8845
8854
|
params: {
|
|
8846
|
-
asset1:
|
|
8847
|
-
asset2:
|
|
8855
|
+
asset1: StagingXcmV4Location;
|
|
8856
|
+
asset2: StagingXcmV4Location;
|
|
8848
8857
|
lpTokenBurn: bigint;
|
|
8849
8858
|
amount1MinReceive: bigint;
|
|
8850
8859
|
amount2MinReceive: bigint;
|
|
@@ -8863,7 +8872,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
8863
8872
|
* [`AssetConversionApi::quote_price_exact_tokens_for_tokens`] runtime call can be called
|
|
8864
8873
|
* for a quote.
|
|
8865
8874
|
*
|
|
8866
|
-
* @param {Array<
|
|
8875
|
+
* @param {Array<StagingXcmV4Location>} path
|
|
8867
8876
|
* @param {bigint} amountIn
|
|
8868
8877
|
* @param {bigint} amountOutMin
|
|
8869
8878
|
* @param {AccountId32Like} sendTo
|
|
@@ -8872,7 +8881,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
8872
8881
|
swapExactTokensForTokens: GenericTxCall<
|
|
8873
8882
|
Rv,
|
|
8874
8883
|
(
|
|
8875
|
-
path: Array<
|
|
8884
|
+
path: Array<StagingXcmV4Location>,
|
|
8876
8885
|
amountIn: bigint,
|
|
8877
8886
|
amountOutMin: bigint,
|
|
8878
8887
|
sendTo: AccountId32Like,
|
|
@@ -8884,7 +8893,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
8884
8893
|
palletCall: {
|
|
8885
8894
|
name: 'SwapExactTokensForTokens';
|
|
8886
8895
|
params: {
|
|
8887
|
-
path: Array<
|
|
8896
|
+
path: Array<StagingXcmV4Location>;
|
|
8888
8897
|
amountIn: bigint;
|
|
8889
8898
|
amountOutMin: bigint;
|
|
8890
8899
|
sendTo: AccountId32Like;
|
|
@@ -8903,7 +8912,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
8903
8912
|
* [`AssetConversionApi::quote_price_tokens_for_exact_tokens`] runtime call can be called
|
|
8904
8913
|
* for a quote.
|
|
8905
8914
|
*
|
|
8906
|
-
* @param {Array<
|
|
8915
|
+
* @param {Array<StagingXcmV4Location>} path
|
|
8907
8916
|
* @param {bigint} amountOut
|
|
8908
8917
|
* @param {bigint} amountInMax
|
|
8909
8918
|
* @param {AccountId32Like} sendTo
|
|
@@ -8912,7 +8921,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
8912
8921
|
swapTokensForExactTokens: GenericTxCall<
|
|
8913
8922
|
Rv,
|
|
8914
8923
|
(
|
|
8915
|
-
path: Array<
|
|
8924
|
+
path: Array<StagingXcmV4Location>,
|
|
8916
8925
|
amountOut: bigint,
|
|
8917
8926
|
amountInMax: bigint,
|
|
8918
8927
|
sendTo: AccountId32Like,
|
|
@@ -8924,7 +8933,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
8924
8933
|
palletCall: {
|
|
8925
8934
|
name: 'SwapTokensForExactTokens';
|
|
8926
8935
|
params: {
|
|
8927
|
-
path: Array<
|
|
8936
|
+
path: Array<StagingXcmV4Location>;
|
|
8928
8937
|
amountOut: bigint;
|
|
8929
8938
|
amountInMax: bigint;
|
|
8930
8939
|
sendTo: AccountId32Like;
|
|
@@ -8948,21 +8957,21 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
8948
8957
|
*
|
|
8949
8958
|
* Emits `Touched` event when successful.
|
|
8950
8959
|
*
|
|
8951
|
-
* @param {
|
|
8952
|
-
* @param {
|
|
8960
|
+
* @param {StagingXcmV4Location} asset1
|
|
8961
|
+
* @param {StagingXcmV4Location} asset2
|
|
8953
8962
|
**/
|
|
8954
8963
|
touch: GenericTxCall<
|
|
8955
8964
|
Rv,
|
|
8956
8965
|
(
|
|
8957
|
-
asset1:
|
|
8958
|
-
asset2:
|
|
8966
|
+
asset1: StagingXcmV4Location,
|
|
8967
|
+
asset2: StagingXcmV4Location,
|
|
8959
8968
|
) => ChainSubmittableExtrinsic<
|
|
8960
8969
|
Rv,
|
|
8961
8970
|
{
|
|
8962
8971
|
pallet: 'AssetConversion';
|
|
8963
8972
|
palletCall: {
|
|
8964
8973
|
name: 'Touch';
|
|
8965
|
-
params: { asset1:
|
|
8974
|
+
params: { asset1: StagingXcmV4Location; asset2: StagingXcmV4Location };
|
|
8966
8975
|
};
|
|
8967
8976
|
}
|
|
8968
8977
|
>
|
|
@@ -8983,21 +8992,21 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
8983
8992
|
*
|
|
8984
8993
|
* Must be signed.
|
|
8985
8994
|
*
|
|
8986
|
-
* @param {
|
|
8987
|
-
* @param {
|
|
8995
|
+
* @param {StagingXcmV4Location} asset1
|
|
8996
|
+
* @param {StagingXcmV4Location} asset2
|
|
8988
8997
|
**/
|
|
8989
8998
|
migrateToNewAccount: GenericTxCall<
|
|
8990
8999
|
Rv,
|
|
8991
9000
|
(
|
|
8992
|
-
asset1:
|
|
8993
|
-
asset2:
|
|
9001
|
+
asset1: StagingXcmV4Location,
|
|
9002
|
+
asset2: StagingXcmV4Location,
|
|
8994
9003
|
) => ChainSubmittableExtrinsic<
|
|
8995
9004
|
Rv,
|
|
8996
9005
|
{
|
|
8997
9006
|
pallet: 'AssetConversionMigration';
|
|
8998
9007
|
palletCall: {
|
|
8999
9008
|
name: 'MigrateToNewAccount';
|
|
9000
|
-
params: { asset1:
|
|
9009
|
+
params: { asset1: StagingXcmV4Location; asset2: StagingXcmV4Location };
|
|
9001
9010
|
};
|
|
9002
9011
|
}
|
|
9003
9012
|
>
|