@dedot/chaintypes 0.149.0 → 0.151.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/basilisk/index.d.ts +1 -1
- package/kusama/consts.d.ts +41 -2
- package/kusama/errors.d.ts +38 -0
- package/kusama/events.d.ts +132 -0
- package/kusama/index.d.ts +1 -1
- package/kusama/query.d.ts +35 -0
- package/kusama/tx.d.ts +209 -15
- package/kusama/types.d.ts +465 -98
- package/kusama/view-functions.d.ts +80 -1
- package/kusama-asset-hub/consts.d.ts +48 -2
- package/kusama-asset-hub/errors.d.ts +52 -23
- package/kusama-asset-hub/events.d.ts +212 -36
- package/kusama-asset-hub/index.d.ts +1 -1
- package/kusama-asset-hub/query.d.ts +79 -26
- package/kusama-asset-hub/runtime.d.ts +180 -13
- package/kusama-asset-hub/tx.d.ts +347 -143
- package/kusama-asset-hub/types.d.ts +1613 -1188
- package/kusama-asset-hub/view-functions.d.ts +34 -1
- package/kusama-people/consts.d.ts +21 -0
- package/kusama-people/errors.d.ts +8 -0
- package/kusama-people/events.d.ts +22 -0
- package/kusama-people/index.d.ts +1 -1
- package/kusama-people/query.d.ts +25 -2
- package/kusama-people/runtime.d.ts +121 -0
- package/kusama-people/tx.d.ts +24 -12
- package/kusama-people/types.d.ts +1072 -954
- package/kusama-people/view-functions.d.ts +34 -1
- package/package.json +2 -2
package/kusama-asset-hub/tx.d.ts
CHANGED
|
@@ -10,12 +10,24 @@ import type {
|
|
|
10
10
|
RpcV2,
|
|
11
11
|
ISubmittableExtrinsicLegacy,
|
|
12
12
|
} from 'dedot/types';
|
|
13
|
-
import type {
|
|
13
|
+
import type {
|
|
14
|
+
MultiAddressLike,
|
|
15
|
+
Extrinsic,
|
|
16
|
+
BytesLike,
|
|
17
|
+
H256,
|
|
18
|
+
AccountId32Like,
|
|
19
|
+
FixedBytes,
|
|
20
|
+
H160,
|
|
21
|
+
U256,
|
|
22
|
+
} from 'dedot/codecs';
|
|
14
23
|
import type {
|
|
15
24
|
AssetHubKusamaRuntimeRuntimeCallLike,
|
|
16
25
|
SpRuntimeMultiSignature,
|
|
17
26
|
FrameSystemEventRecord,
|
|
18
|
-
|
|
27
|
+
CumulusPalletParachainSystemParachainInherentBasicParachainInherentData,
|
|
28
|
+
CumulusPalletParachainSystemParachainInherentInboundMessagesData,
|
|
29
|
+
PalletMigrationsMigrationCursor,
|
|
30
|
+
PalletMigrationsHistoricCleanupSelector,
|
|
19
31
|
PalletBalancesAdjustmentDirection,
|
|
20
32
|
PalletVestingVestingInfo,
|
|
21
33
|
AssetHubKusamaRuntimeSessionKeys,
|
|
@@ -45,7 +57,6 @@ import type {
|
|
|
45
57
|
PalletNftsPriceWithDirection,
|
|
46
58
|
PalletNftsPreSignedMint,
|
|
47
59
|
PalletNftsPreSignedAttributes,
|
|
48
|
-
StagingXcmV4Location,
|
|
49
60
|
PalletStateTrieMigrationMigrationLimits,
|
|
50
61
|
PalletStateTrieMigrationMigrationTask,
|
|
51
62
|
PalletStateTrieMigrationProgress,
|
|
@@ -325,17 +336,24 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
325
336
|
* As a side effect, this function upgrades the current validation function
|
|
326
337
|
* if the appropriate time has come.
|
|
327
338
|
*
|
|
328
|
-
* @param {
|
|
339
|
+
* @param {CumulusPalletParachainSystemParachainInherentBasicParachainInherentData} data
|
|
340
|
+
* @param {CumulusPalletParachainSystemParachainInherentInboundMessagesData} inboundMessagesData
|
|
329
341
|
**/
|
|
330
342
|
setValidationData: GenericTxCall<
|
|
331
343
|
Rv,
|
|
332
|
-
(
|
|
344
|
+
(
|
|
345
|
+
data: CumulusPalletParachainSystemParachainInherentBasicParachainInherentData,
|
|
346
|
+
inboundMessagesData: CumulusPalletParachainSystemParachainInherentInboundMessagesData,
|
|
347
|
+
) => ChainSubmittableExtrinsic<
|
|
333
348
|
Rv,
|
|
334
349
|
{
|
|
335
350
|
pallet: 'ParachainSystem';
|
|
336
351
|
palletCall: {
|
|
337
352
|
name: 'SetValidationData';
|
|
338
|
-
params: {
|
|
353
|
+
params: {
|
|
354
|
+
data: CumulusPalletParachainSystemParachainInherentBasicParachainInherentData;
|
|
355
|
+
inboundMessagesData: CumulusPalletParachainSystemParachainInherentInboundMessagesData;
|
|
356
|
+
};
|
|
339
357
|
};
|
|
340
358
|
}
|
|
341
359
|
>
|
|
@@ -419,6 +437,111 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
419
437
|
**/
|
|
420
438
|
[callName: string]: GenericTxCall<Rv, TxCall<Rv>>;
|
|
421
439
|
};
|
|
440
|
+
/**
|
|
441
|
+
* Pallet `MultiBlockMigrations`'s transaction calls
|
|
442
|
+
**/
|
|
443
|
+
multiBlockMigrations: {
|
|
444
|
+
/**
|
|
445
|
+
* Allows root to set a cursor to forcefully start, stop or forward the migration process.
|
|
446
|
+
*
|
|
447
|
+
* Should normally not be needed and is only in place as emergency measure. Note that
|
|
448
|
+
* restarting the migration process in this manner will not call the
|
|
449
|
+
* [`MigrationStatusHandler::started`] hook or emit an `UpgradeStarted` event.
|
|
450
|
+
*
|
|
451
|
+
* @param {PalletMigrationsMigrationCursor | undefined} cursor
|
|
452
|
+
**/
|
|
453
|
+
forceSetCursor: GenericTxCall<
|
|
454
|
+
Rv,
|
|
455
|
+
(cursor: PalletMigrationsMigrationCursor | undefined) => ChainSubmittableExtrinsic<
|
|
456
|
+
Rv,
|
|
457
|
+
{
|
|
458
|
+
pallet: 'MultiBlockMigrations';
|
|
459
|
+
palletCall: {
|
|
460
|
+
name: 'ForceSetCursor';
|
|
461
|
+
params: { cursor: PalletMigrationsMigrationCursor | undefined };
|
|
462
|
+
};
|
|
463
|
+
}
|
|
464
|
+
>
|
|
465
|
+
>;
|
|
466
|
+
|
|
467
|
+
/**
|
|
468
|
+
* Allows root to set an active cursor to forcefully start/forward the migration process.
|
|
469
|
+
*
|
|
470
|
+
* This is an edge-case version of [`Self::force_set_cursor`] that allows to set the
|
|
471
|
+
* `started_at` value to the next block number. Otherwise this would not be possible, since
|
|
472
|
+
* `force_set_cursor` takes an absolute block number. Setting `started_at` to `None`
|
|
473
|
+
* indicates that the current block number plus one should be used.
|
|
474
|
+
*
|
|
475
|
+
* @param {number} index
|
|
476
|
+
* @param {BytesLike | undefined} innerCursor
|
|
477
|
+
* @param {number | undefined} startedAt
|
|
478
|
+
**/
|
|
479
|
+
forceSetActiveCursor: GenericTxCall<
|
|
480
|
+
Rv,
|
|
481
|
+
(
|
|
482
|
+
index: number,
|
|
483
|
+
innerCursor: BytesLike | undefined,
|
|
484
|
+
startedAt: number | undefined,
|
|
485
|
+
) => ChainSubmittableExtrinsic<
|
|
486
|
+
Rv,
|
|
487
|
+
{
|
|
488
|
+
pallet: 'MultiBlockMigrations';
|
|
489
|
+
palletCall: {
|
|
490
|
+
name: 'ForceSetActiveCursor';
|
|
491
|
+
params: { index: number; innerCursor: BytesLike | undefined; startedAt: number | undefined };
|
|
492
|
+
};
|
|
493
|
+
}
|
|
494
|
+
>
|
|
495
|
+
>;
|
|
496
|
+
|
|
497
|
+
/**
|
|
498
|
+
* Forces the onboarding of the migrations.
|
|
499
|
+
*
|
|
500
|
+
* This process happens automatically on a runtime upgrade. It is in place as an emergency
|
|
501
|
+
* measurement. The cursor needs to be `None` for this to succeed.
|
|
502
|
+
*
|
|
503
|
+
**/
|
|
504
|
+
forceOnboardMbms: GenericTxCall<
|
|
505
|
+
Rv,
|
|
506
|
+
() => ChainSubmittableExtrinsic<
|
|
507
|
+
Rv,
|
|
508
|
+
{
|
|
509
|
+
pallet: 'MultiBlockMigrations';
|
|
510
|
+
palletCall: {
|
|
511
|
+
name: 'ForceOnboardMbms';
|
|
512
|
+
};
|
|
513
|
+
}
|
|
514
|
+
>
|
|
515
|
+
>;
|
|
516
|
+
|
|
517
|
+
/**
|
|
518
|
+
* Clears the `Historic` set.
|
|
519
|
+
*
|
|
520
|
+
* `map_cursor` must be set to the last value that was returned by the
|
|
521
|
+
* `HistoricCleared` event. The first time `None` can be used. `limit` must be chosen in a
|
|
522
|
+
* way that will result in a sensible weight.
|
|
523
|
+
*
|
|
524
|
+
* @param {PalletMigrationsHistoricCleanupSelector} selector
|
|
525
|
+
**/
|
|
526
|
+
clearHistoric: GenericTxCall<
|
|
527
|
+
Rv,
|
|
528
|
+
(selector: PalletMigrationsHistoricCleanupSelector) => ChainSubmittableExtrinsic<
|
|
529
|
+
Rv,
|
|
530
|
+
{
|
|
531
|
+
pallet: 'MultiBlockMigrations';
|
|
532
|
+
palletCall: {
|
|
533
|
+
name: 'ClearHistoric';
|
|
534
|
+
params: { selector: PalletMigrationsHistoricCleanupSelector };
|
|
535
|
+
};
|
|
536
|
+
}
|
|
537
|
+
>
|
|
538
|
+
>;
|
|
539
|
+
|
|
540
|
+
/**
|
|
541
|
+
* Generic pallet tx call
|
|
542
|
+
**/
|
|
543
|
+
[callName: string]: GenericTxCall<Rv, TxCall<Rv>>;
|
|
544
|
+
};
|
|
422
545
|
/**
|
|
423
546
|
* Pallet `Balances`'s transaction calls
|
|
424
547
|
**/
|
|
@@ -1350,6 +1473,8 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
1350
1473
|
* @param {XcmVersionedLocation} beneficiary
|
|
1351
1474
|
* @param {XcmVersionedAssets} assets
|
|
1352
1475
|
* @param {number} feeAssetItem
|
|
1476
|
+
*
|
|
1477
|
+
* @deprecated This extrinsic uses `WeightLimit::Unlimited`, please migrate to `limited_teleport_assets` or `transfer_assets`
|
|
1353
1478
|
**/
|
|
1354
1479
|
teleportAssets: GenericTxCall<
|
|
1355
1480
|
Rv,
|
|
@@ -1411,6 +1536,8 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
1411
1536
|
* @param {XcmVersionedLocation} beneficiary
|
|
1412
1537
|
* @param {XcmVersionedAssets} assets
|
|
1413
1538
|
* @param {number} feeAssetItem
|
|
1539
|
+
*
|
|
1540
|
+
* @deprecated This extrinsic uses `WeightLimit::Unlimited`, please migrate to `limited_reserve_transfer_assets` or `transfer_assets`
|
|
1414
1541
|
**/
|
|
1415
1542
|
reserveTransferAssets: GenericTxCall<
|
|
1416
1543
|
Rv,
|
|
@@ -2726,7 +2853,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
2726
2853
|
*
|
|
2727
2854
|
* The dispatch origin for this call must be _Signed_.
|
|
2728
2855
|
*
|
|
2729
|
-
* WARNING: This may be called on accounts created by `
|
|
2856
|
+
* WARNING: This may be called on accounts created by `create_pure`, however if done, then
|
|
2730
2857
|
* the unreserved fees will be inaccessible. **All access to this account will be lost.**
|
|
2731
2858
|
*
|
|
2732
2859
|
**/
|
|
@@ -2792,16 +2919,16 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
2792
2919
|
* inaccessible.
|
|
2793
2920
|
*
|
|
2794
2921
|
* Requires a `Signed` origin, and the sender account must have been created by a call to
|
|
2795
|
-
* `
|
|
2922
|
+
* `create_pure` with corresponding parameters.
|
|
2796
2923
|
*
|
|
2797
|
-
* - `spawner`: The account that originally called `
|
|
2798
|
-
* - `index`: The disambiguation index originally passed to `
|
|
2799
|
-
* - `proxy_type`: The proxy type originally passed to `
|
|
2800
|
-
* - `height`: The height of the chain when the call to `
|
|
2801
|
-
* - `ext_index`: The extrinsic index in which the call to `
|
|
2924
|
+
* - `spawner`: The account that originally called `create_pure` to create this account.
|
|
2925
|
+
* - `index`: The disambiguation index originally passed to `create_pure`. Probably `0`.
|
|
2926
|
+
* - `proxy_type`: The proxy type originally passed to `create_pure`.
|
|
2927
|
+
* - `height`: The height of the chain when the call to `create_pure` was processed.
|
|
2928
|
+
* - `ext_index`: The extrinsic index in which the call to `create_pure` was processed.
|
|
2802
2929
|
*
|
|
2803
2930
|
* Fails with `NoPermission` in case the caller is not a previously created pure
|
|
2804
|
-
* account whose `
|
|
2931
|
+
* account whose `create_pure` call has corresponding parameters.
|
|
2805
2932
|
*
|
|
2806
2933
|
* @param {MultiAddressLike} spawner
|
|
2807
2934
|
* @param {AssetHubKusamaRuntimeProxyType} proxyType
|
|
@@ -6838,14 +6965,14 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
6838
6965
|
*
|
|
6839
6966
|
* Weight: `O(1)`
|
|
6840
6967
|
*
|
|
6841
|
-
* @param {
|
|
6968
|
+
* @param {StagingXcmV5Location} id
|
|
6842
6969
|
* @param {MultiAddressLike} admin
|
|
6843
6970
|
* @param {bigint} minBalance
|
|
6844
6971
|
**/
|
|
6845
6972
|
create: GenericTxCall<
|
|
6846
6973
|
Rv,
|
|
6847
6974
|
(
|
|
6848
|
-
id:
|
|
6975
|
+
id: StagingXcmV5Location,
|
|
6849
6976
|
admin: MultiAddressLike,
|
|
6850
6977
|
minBalance: bigint,
|
|
6851
6978
|
) => ChainSubmittableExtrinsic<
|
|
@@ -6854,7 +6981,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
6854
6981
|
pallet: 'ForeignAssets';
|
|
6855
6982
|
palletCall: {
|
|
6856
6983
|
name: 'Create';
|
|
6857
|
-
params: { id:
|
|
6984
|
+
params: { id: StagingXcmV5Location; admin: MultiAddressLike; minBalance: bigint };
|
|
6858
6985
|
};
|
|
6859
6986
|
}
|
|
6860
6987
|
>
|
|
@@ -6881,7 +7008,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
6881
7008
|
*
|
|
6882
7009
|
* Weight: `O(1)`
|
|
6883
7010
|
*
|
|
6884
|
-
* @param {
|
|
7011
|
+
* @param {StagingXcmV5Location} id
|
|
6885
7012
|
* @param {MultiAddressLike} owner
|
|
6886
7013
|
* @param {boolean} isSufficient
|
|
6887
7014
|
* @param {bigint} minBalance
|
|
@@ -6889,7 +7016,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
6889
7016
|
forceCreate: GenericTxCall<
|
|
6890
7017
|
Rv,
|
|
6891
7018
|
(
|
|
6892
|
-
id:
|
|
7019
|
+
id: StagingXcmV5Location,
|
|
6893
7020
|
owner: MultiAddressLike,
|
|
6894
7021
|
isSufficient: boolean,
|
|
6895
7022
|
minBalance: bigint,
|
|
@@ -6899,7 +7026,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
6899
7026
|
pallet: 'ForeignAssets';
|
|
6900
7027
|
palletCall: {
|
|
6901
7028
|
name: 'ForceCreate';
|
|
6902
|
-
params: { id:
|
|
7029
|
+
params: { id: StagingXcmV5Location; owner: MultiAddressLike; isSufficient: boolean; minBalance: bigint };
|
|
6903
7030
|
};
|
|
6904
7031
|
}
|
|
6905
7032
|
>
|
|
@@ -6919,17 +7046,17 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
6919
7046
|
* It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
|
|
6920
7047
|
* an account contains holds or freezes in place.
|
|
6921
7048
|
*
|
|
6922
|
-
* @param {
|
|
7049
|
+
* @param {StagingXcmV5Location} id
|
|
6923
7050
|
**/
|
|
6924
7051
|
startDestroy: GenericTxCall<
|
|
6925
7052
|
Rv,
|
|
6926
|
-
(id:
|
|
7053
|
+
(id: StagingXcmV5Location) => ChainSubmittableExtrinsic<
|
|
6927
7054
|
Rv,
|
|
6928
7055
|
{
|
|
6929
7056
|
pallet: 'ForeignAssets';
|
|
6930
7057
|
palletCall: {
|
|
6931
7058
|
name: 'StartDestroy';
|
|
6932
|
-
params: { id:
|
|
7059
|
+
params: { id: StagingXcmV5Location };
|
|
6933
7060
|
};
|
|
6934
7061
|
}
|
|
6935
7062
|
>
|
|
@@ -6949,17 +7076,17 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
6949
7076
|
*
|
|
6950
7077
|
* Each call emits the `Event::DestroyedAccounts` event.
|
|
6951
7078
|
*
|
|
6952
|
-
* @param {
|
|
7079
|
+
* @param {StagingXcmV5Location} id
|
|
6953
7080
|
**/
|
|
6954
7081
|
destroyAccounts: GenericTxCall<
|
|
6955
7082
|
Rv,
|
|
6956
|
-
(id:
|
|
7083
|
+
(id: StagingXcmV5Location) => ChainSubmittableExtrinsic<
|
|
6957
7084
|
Rv,
|
|
6958
7085
|
{
|
|
6959
7086
|
pallet: 'ForeignAssets';
|
|
6960
7087
|
palletCall: {
|
|
6961
7088
|
name: 'DestroyAccounts';
|
|
6962
|
-
params: { id:
|
|
7089
|
+
params: { id: StagingXcmV5Location };
|
|
6963
7090
|
};
|
|
6964
7091
|
}
|
|
6965
7092
|
>
|
|
@@ -6979,17 +7106,17 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
6979
7106
|
*
|
|
6980
7107
|
* Each call emits the `Event::DestroyedApprovals` event.
|
|
6981
7108
|
*
|
|
6982
|
-
* @param {
|
|
7109
|
+
* @param {StagingXcmV5Location} id
|
|
6983
7110
|
**/
|
|
6984
7111
|
destroyApprovals: GenericTxCall<
|
|
6985
7112
|
Rv,
|
|
6986
|
-
(id:
|
|
7113
|
+
(id: StagingXcmV5Location) => ChainSubmittableExtrinsic<
|
|
6987
7114
|
Rv,
|
|
6988
7115
|
{
|
|
6989
7116
|
pallet: 'ForeignAssets';
|
|
6990
7117
|
palletCall: {
|
|
6991
7118
|
name: 'DestroyApprovals';
|
|
6992
|
-
params: { id:
|
|
7119
|
+
params: { id: StagingXcmV5Location };
|
|
6993
7120
|
};
|
|
6994
7121
|
}
|
|
6995
7122
|
>
|
|
@@ -7007,17 +7134,17 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7007
7134
|
*
|
|
7008
7135
|
* Each successful call emits the `Event::Destroyed` event.
|
|
7009
7136
|
*
|
|
7010
|
-
* @param {
|
|
7137
|
+
* @param {StagingXcmV5Location} id
|
|
7011
7138
|
**/
|
|
7012
7139
|
finishDestroy: GenericTxCall<
|
|
7013
7140
|
Rv,
|
|
7014
|
-
(id:
|
|
7141
|
+
(id: StagingXcmV5Location) => ChainSubmittableExtrinsic<
|
|
7015
7142
|
Rv,
|
|
7016
7143
|
{
|
|
7017
7144
|
pallet: 'ForeignAssets';
|
|
7018
7145
|
palletCall: {
|
|
7019
7146
|
name: 'FinishDestroy';
|
|
7020
|
-
params: { id:
|
|
7147
|
+
params: { id: StagingXcmV5Location };
|
|
7021
7148
|
};
|
|
7022
7149
|
}
|
|
7023
7150
|
>
|
|
@@ -7037,14 +7164,14 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7037
7164
|
* Weight: `O(1)`
|
|
7038
7165
|
* Modes: Pre-existing balance of `beneficiary`; Account pre-existence of `beneficiary`.
|
|
7039
7166
|
*
|
|
7040
|
-
* @param {
|
|
7167
|
+
* @param {StagingXcmV5Location} id
|
|
7041
7168
|
* @param {MultiAddressLike} beneficiary
|
|
7042
7169
|
* @param {bigint} amount
|
|
7043
7170
|
**/
|
|
7044
7171
|
mint: GenericTxCall<
|
|
7045
7172
|
Rv,
|
|
7046
7173
|
(
|
|
7047
|
-
id:
|
|
7174
|
+
id: StagingXcmV5Location,
|
|
7048
7175
|
beneficiary: MultiAddressLike,
|
|
7049
7176
|
amount: bigint,
|
|
7050
7177
|
) => ChainSubmittableExtrinsic<
|
|
@@ -7053,7 +7180,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7053
7180
|
pallet: 'ForeignAssets';
|
|
7054
7181
|
palletCall: {
|
|
7055
7182
|
name: 'Mint';
|
|
7056
|
-
params: { id:
|
|
7183
|
+
params: { id: StagingXcmV5Location; beneficiary: MultiAddressLike; amount: bigint };
|
|
7057
7184
|
};
|
|
7058
7185
|
}
|
|
7059
7186
|
>
|
|
@@ -7076,14 +7203,14 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7076
7203
|
* Weight: `O(1)`
|
|
7077
7204
|
* Modes: Post-existence of `who`; Pre & post Zombie-status of `who`.
|
|
7078
7205
|
*
|
|
7079
|
-
* @param {
|
|
7206
|
+
* @param {StagingXcmV5Location} id
|
|
7080
7207
|
* @param {MultiAddressLike} who
|
|
7081
7208
|
* @param {bigint} amount
|
|
7082
7209
|
**/
|
|
7083
7210
|
burn: GenericTxCall<
|
|
7084
7211
|
Rv,
|
|
7085
7212
|
(
|
|
7086
|
-
id:
|
|
7213
|
+
id: StagingXcmV5Location,
|
|
7087
7214
|
who: MultiAddressLike,
|
|
7088
7215
|
amount: bigint,
|
|
7089
7216
|
) => ChainSubmittableExtrinsic<
|
|
@@ -7092,7 +7219,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7092
7219
|
pallet: 'ForeignAssets';
|
|
7093
7220
|
palletCall: {
|
|
7094
7221
|
name: 'Burn';
|
|
7095
|
-
params: { id:
|
|
7222
|
+
params: { id: StagingXcmV5Location; who: MultiAddressLike; amount: bigint };
|
|
7096
7223
|
};
|
|
7097
7224
|
}
|
|
7098
7225
|
>
|
|
@@ -7118,14 +7245,14 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7118
7245
|
* Modes: Pre-existence of `target`; Post-existence of sender; Account pre-existence of
|
|
7119
7246
|
* `target`.
|
|
7120
7247
|
*
|
|
7121
|
-
* @param {
|
|
7248
|
+
* @param {StagingXcmV5Location} id
|
|
7122
7249
|
* @param {MultiAddressLike} target
|
|
7123
7250
|
* @param {bigint} amount
|
|
7124
7251
|
**/
|
|
7125
7252
|
transfer: GenericTxCall<
|
|
7126
7253
|
Rv,
|
|
7127
7254
|
(
|
|
7128
|
-
id:
|
|
7255
|
+
id: StagingXcmV5Location,
|
|
7129
7256
|
target: MultiAddressLike,
|
|
7130
7257
|
amount: bigint,
|
|
7131
7258
|
) => ChainSubmittableExtrinsic<
|
|
@@ -7134,7 +7261,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7134
7261
|
pallet: 'ForeignAssets';
|
|
7135
7262
|
palletCall: {
|
|
7136
7263
|
name: 'Transfer';
|
|
7137
|
-
params: { id:
|
|
7264
|
+
params: { id: StagingXcmV5Location; target: MultiAddressLike; amount: bigint };
|
|
7138
7265
|
};
|
|
7139
7266
|
}
|
|
7140
7267
|
>
|
|
@@ -7160,14 +7287,14 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7160
7287
|
* Modes: Pre-existence of `target`; Post-existence of sender; Account pre-existence of
|
|
7161
7288
|
* `target`.
|
|
7162
7289
|
*
|
|
7163
|
-
* @param {
|
|
7290
|
+
* @param {StagingXcmV5Location} id
|
|
7164
7291
|
* @param {MultiAddressLike} target
|
|
7165
7292
|
* @param {bigint} amount
|
|
7166
7293
|
**/
|
|
7167
7294
|
transferKeepAlive: GenericTxCall<
|
|
7168
7295
|
Rv,
|
|
7169
7296
|
(
|
|
7170
|
-
id:
|
|
7297
|
+
id: StagingXcmV5Location,
|
|
7171
7298
|
target: MultiAddressLike,
|
|
7172
7299
|
amount: bigint,
|
|
7173
7300
|
) => ChainSubmittableExtrinsic<
|
|
@@ -7176,7 +7303,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7176
7303
|
pallet: 'ForeignAssets';
|
|
7177
7304
|
palletCall: {
|
|
7178
7305
|
name: 'TransferKeepAlive';
|
|
7179
|
-
params: { id:
|
|
7306
|
+
params: { id: StagingXcmV5Location; target: MultiAddressLike; amount: bigint };
|
|
7180
7307
|
};
|
|
7181
7308
|
}
|
|
7182
7309
|
>
|
|
@@ -7203,7 +7330,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7203
7330
|
* Modes: Pre-existence of `dest`; Post-existence of `source`; Account pre-existence of
|
|
7204
7331
|
* `dest`.
|
|
7205
7332
|
*
|
|
7206
|
-
* @param {
|
|
7333
|
+
* @param {StagingXcmV5Location} id
|
|
7207
7334
|
* @param {MultiAddressLike} source
|
|
7208
7335
|
* @param {MultiAddressLike} dest
|
|
7209
7336
|
* @param {bigint} amount
|
|
@@ -7211,7 +7338,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7211
7338
|
forceTransfer: GenericTxCall<
|
|
7212
7339
|
Rv,
|
|
7213
7340
|
(
|
|
7214
|
-
id:
|
|
7341
|
+
id: StagingXcmV5Location,
|
|
7215
7342
|
source: MultiAddressLike,
|
|
7216
7343
|
dest: MultiAddressLike,
|
|
7217
7344
|
amount: bigint,
|
|
@@ -7221,7 +7348,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7221
7348
|
pallet: 'ForeignAssets';
|
|
7222
7349
|
palletCall: {
|
|
7223
7350
|
name: 'ForceTransfer';
|
|
7224
|
-
params: { id:
|
|
7351
|
+
params: { id: StagingXcmV5Location; source: MultiAddressLike; dest: MultiAddressLike; amount: bigint };
|
|
7225
7352
|
};
|
|
7226
7353
|
}
|
|
7227
7354
|
>
|
|
@@ -7241,13 +7368,13 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7241
7368
|
*
|
|
7242
7369
|
* Weight: `O(1)`
|
|
7243
7370
|
*
|
|
7244
|
-
* @param {
|
|
7371
|
+
* @param {StagingXcmV5Location} id
|
|
7245
7372
|
* @param {MultiAddressLike} who
|
|
7246
7373
|
**/
|
|
7247
7374
|
freeze: GenericTxCall<
|
|
7248
7375
|
Rv,
|
|
7249
7376
|
(
|
|
7250
|
-
id:
|
|
7377
|
+
id: StagingXcmV5Location,
|
|
7251
7378
|
who: MultiAddressLike,
|
|
7252
7379
|
) => ChainSubmittableExtrinsic<
|
|
7253
7380
|
Rv,
|
|
@@ -7255,7 +7382,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7255
7382
|
pallet: 'ForeignAssets';
|
|
7256
7383
|
palletCall: {
|
|
7257
7384
|
name: 'Freeze';
|
|
7258
|
-
params: { id:
|
|
7385
|
+
params: { id: StagingXcmV5Location; who: MultiAddressLike };
|
|
7259
7386
|
};
|
|
7260
7387
|
}
|
|
7261
7388
|
>
|
|
@@ -7273,13 +7400,13 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7273
7400
|
*
|
|
7274
7401
|
* Weight: `O(1)`
|
|
7275
7402
|
*
|
|
7276
|
-
* @param {
|
|
7403
|
+
* @param {StagingXcmV5Location} id
|
|
7277
7404
|
* @param {MultiAddressLike} who
|
|
7278
7405
|
**/
|
|
7279
7406
|
thaw: GenericTxCall<
|
|
7280
7407
|
Rv,
|
|
7281
7408
|
(
|
|
7282
|
-
id:
|
|
7409
|
+
id: StagingXcmV5Location,
|
|
7283
7410
|
who: MultiAddressLike,
|
|
7284
7411
|
) => ChainSubmittableExtrinsic<
|
|
7285
7412
|
Rv,
|
|
@@ -7287,7 +7414,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7287
7414
|
pallet: 'ForeignAssets';
|
|
7288
7415
|
palletCall: {
|
|
7289
7416
|
name: 'Thaw';
|
|
7290
|
-
params: { id:
|
|
7417
|
+
params: { id: StagingXcmV5Location; who: MultiAddressLike };
|
|
7291
7418
|
};
|
|
7292
7419
|
}
|
|
7293
7420
|
>
|
|
@@ -7304,17 +7431,17 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7304
7431
|
*
|
|
7305
7432
|
* Weight: `O(1)`
|
|
7306
7433
|
*
|
|
7307
|
-
* @param {
|
|
7434
|
+
* @param {StagingXcmV5Location} id
|
|
7308
7435
|
**/
|
|
7309
7436
|
freezeAsset: GenericTxCall<
|
|
7310
7437
|
Rv,
|
|
7311
|
-
(id:
|
|
7438
|
+
(id: StagingXcmV5Location) => ChainSubmittableExtrinsic<
|
|
7312
7439
|
Rv,
|
|
7313
7440
|
{
|
|
7314
7441
|
pallet: 'ForeignAssets';
|
|
7315
7442
|
palletCall: {
|
|
7316
7443
|
name: 'FreezeAsset';
|
|
7317
|
-
params: { id:
|
|
7444
|
+
params: { id: StagingXcmV5Location };
|
|
7318
7445
|
};
|
|
7319
7446
|
}
|
|
7320
7447
|
>
|
|
@@ -7331,17 +7458,17 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7331
7458
|
*
|
|
7332
7459
|
* Weight: `O(1)`
|
|
7333
7460
|
*
|
|
7334
|
-
* @param {
|
|
7461
|
+
* @param {StagingXcmV5Location} id
|
|
7335
7462
|
**/
|
|
7336
7463
|
thawAsset: GenericTxCall<
|
|
7337
7464
|
Rv,
|
|
7338
|
-
(id:
|
|
7465
|
+
(id: StagingXcmV5Location) => ChainSubmittableExtrinsic<
|
|
7339
7466
|
Rv,
|
|
7340
7467
|
{
|
|
7341
7468
|
pallet: 'ForeignAssets';
|
|
7342
7469
|
palletCall: {
|
|
7343
7470
|
name: 'ThawAsset';
|
|
7344
|
-
params: { id:
|
|
7471
|
+
params: { id: StagingXcmV5Location };
|
|
7345
7472
|
};
|
|
7346
7473
|
}
|
|
7347
7474
|
>
|
|
@@ -7359,13 +7486,13 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7359
7486
|
*
|
|
7360
7487
|
* Weight: `O(1)`
|
|
7361
7488
|
*
|
|
7362
|
-
* @param {
|
|
7489
|
+
* @param {StagingXcmV5Location} id
|
|
7363
7490
|
* @param {MultiAddressLike} owner
|
|
7364
7491
|
**/
|
|
7365
7492
|
transferOwnership: GenericTxCall<
|
|
7366
7493
|
Rv,
|
|
7367
7494
|
(
|
|
7368
|
-
id:
|
|
7495
|
+
id: StagingXcmV5Location,
|
|
7369
7496
|
owner: MultiAddressLike,
|
|
7370
7497
|
) => ChainSubmittableExtrinsic<
|
|
7371
7498
|
Rv,
|
|
@@ -7373,7 +7500,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7373
7500
|
pallet: 'ForeignAssets';
|
|
7374
7501
|
palletCall: {
|
|
7375
7502
|
name: 'TransferOwnership';
|
|
7376
|
-
params: { id:
|
|
7503
|
+
params: { id: StagingXcmV5Location; owner: MultiAddressLike };
|
|
7377
7504
|
};
|
|
7378
7505
|
}
|
|
7379
7506
|
>
|
|
@@ -7393,7 +7520,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7393
7520
|
*
|
|
7394
7521
|
* Weight: `O(1)`
|
|
7395
7522
|
*
|
|
7396
|
-
* @param {
|
|
7523
|
+
* @param {StagingXcmV5Location} id
|
|
7397
7524
|
* @param {MultiAddressLike} issuer
|
|
7398
7525
|
* @param {MultiAddressLike} admin
|
|
7399
7526
|
* @param {MultiAddressLike} freezer
|
|
@@ -7401,7 +7528,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7401
7528
|
setTeam: GenericTxCall<
|
|
7402
7529
|
Rv,
|
|
7403
7530
|
(
|
|
7404
|
-
id:
|
|
7531
|
+
id: StagingXcmV5Location,
|
|
7405
7532
|
issuer: MultiAddressLike,
|
|
7406
7533
|
admin: MultiAddressLike,
|
|
7407
7534
|
freezer: MultiAddressLike,
|
|
@@ -7412,7 +7539,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7412
7539
|
palletCall: {
|
|
7413
7540
|
name: 'SetTeam';
|
|
7414
7541
|
params: {
|
|
7415
|
-
id:
|
|
7542
|
+
id: StagingXcmV5Location;
|
|
7416
7543
|
issuer: MultiAddressLike;
|
|
7417
7544
|
admin: MultiAddressLike;
|
|
7418
7545
|
freezer: MultiAddressLike;
|
|
@@ -7440,7 +7567,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7440
7567
|
*
|
|
7441
7568
|
* Weight: `O(1)`
|
|
7442
7569
|
*
|
|
7443
|
-
* @param {
|
|
7570
|
+
* @param {StagingXcmV5Location} id
|
|
7444
7571
|
* @param {BytesLike} name
|
|
7445
7572
|
* @param {BytesLike} symbol
|
|
7446
7573
|
* @param {number} decimals
|
|
@@ -7448,7 +7575,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7448
7575
|
setMetadata: GenericTxCall<
|
|
7449
7576
|
Rv,
|
|
7450
7577
|
(
|
|
7451
|
-
id:
|
|
7578
|
+
id: StagingXcmV5Location,
|
|
7452
7579
|
name: BytesLike,
|
|
7453
7580
|
symbol: BytesLike,
|
|
7454
7581
|
decimals: number,
|
|
@@ -7458,7 +7585,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7458
7585
|
pallet: 'ForeignAssets';
|
|
7459
7586
|
palletCall: {
|
|
7460
7587
|
name: 'SetMetadata';
|
|
7461
|
-
params: { id:
|
|
7588
|
+
params: { id: StagingXcmV5Location; name: BytesLike; symbol: BytesLike; decimals: number };
|
|
7462
7589
|
};
|
|
7463
7590
|
}
|
|
7464
7591
|
>
|
|
@@ -7477,17 +7604,17 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7477
7604
|
*
|
|
7478
7605
|
* Weight: `O(1)`
|
|
7479
7606
|
*
|
|
7480
|
-
* @param {
|
|
7607
|
+
* @param {StagingXcmV5Location} id
|
|
7481
7608
|
**/
|
|
7482
7609
|
clearMetadata: GenericTxCall<
|
|
7483
7610
|
Rv,
|
|
7484
|
-
(id:
|
|
7611
|
+
(id: StagingXcmV5Location) => ChainSubmittableExtrinsic<
|
|
7485
7612
|
Rv,
|
|
7486
7613
|
{
|
|
7487
7614
|
pallet: 'ForeignAssets';
|
|
7488
7615
|
palletCall: {
|
|
7489
7616
|
name: 'ClearMetadata';
|
|
7490
|
-
params: { id:
|
|
7617
|
+
params: { id: StagingXcmV5Location };
|
|
7491
7618
|
};
|
|
7492
7619
|
}
|
|
7493
7620
|
>
|
|
@@ -7509,7 +7636,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7509
7636
|
*
|
|
7510
7637
|
* Weight: `O(N + S)` where N and S are the length of the name and symbol respectively.
|
|
7511
7638
|
*
|
|
7512
|
-
* @param {
|
|
7639
|
+
* @param {StagingXcmV5Location} id
|
|
7513
7640
|
* @param {BytesLike} name
|
|
7514
7641
|
* @param {BytesLike} symbol
|
|
7515
7642
|
* @param {number} decimals
|
|
@@ -7518,7 +7645,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7518
7645
|
forceSetMetadata: GenericTxCall<
|
|
7519
7646
|
Rv,
|
|
7520
7647
|
(
|
|
7521
|
-
id:
|
|
7648
|
+
id: StagingXcmV5Location,
|
|
7522
7649
|
name: BytesLike,
|
|
7523
7650
|
symbol: BytesLike,
|
|
7524
7651
|
decimals: number,
|
|
@@ -7530,7 +7657,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7530
7657
|
palletCall: {
|
|
7531
7658
|
name: 'ForceSetMetadata';
|
|
7532
7659
|
params: {
|
|
7533
|
-
id:
|
|
7660
|
+
id: StagingXcmV5Location;
|
|
7534
7661
|
name: BytesLike;
|
|
7535
7662
|
symbol: BytesLike;
|
|
7536
7663
|
decimals: number;
|
|
@@ -7554,17 +7681,17 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7554
7681
|
*
|
|
7555
7682
|
* Weight: `O(1)`
|
|
7556
7683
|
*
|
|
7557
|
-
* @param {
|
|
7684
|
+
* @param {StagingXcmV5Location} id
|
|
7558
7685
|
**/
|
|
7559
7686
|
forceClearMetadata: GenericTxCall<
|
|
7560
7687
|
Rv,
|
|
7561
|
-
(id:
|
|
7688
|
+
(id: StagingXcmV5Location) => ChainSubmittableExtrinsic<
|
|
7562
7689
|
Rv,
|
|
7563
7690
|
{
|
|
7564
7691
|
pallet: 'ForeignAssets';
|
|
7565
7692
|
palletCall: {
|
|
7566
7693
|
name: 'ForceClearMetadata';
|
|
7567
|
-
params: { id:
|
|
7694
|
+
params: { id: StagingXcmV5Location };
|
|
7568
7695
|
};
|
|
7569
7696
|
}
|
|
7570
7697
|
>
|
|
@@ -7594,7 +7721,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7594
7721
|
*
|
|
7595
7722
|
* Weight: `O(1)`
|
|
7596
7723
|
*
|
|
7597
|
-
* @param {
|
|
7724
|
+
* @param {StagingXcmV5Location} id
|
|
7598
7725
|
* @param {MultiAddressLike} owner
|
|
7599
7726
|
* @param {MultiAddressLike} issuer
|
|
7600
7727
|
* @param {MultiAddressLike} admin
|
|
@@ -7606,7 +7733,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7606
7733
|
forceAssetStatus: GenericTxCall<
|
|
7607
7734
|
Rv,
|
|
7608
7735
|
(
|
|
7609
|
-
id:
|
|
7736
|
+
id: StagingXcmV5Location,
|
|
7610
7737
|
owner: MultiAddressLike,
|
|
7611
7738
|
issuer: MultiAddressLike,
|
|
7612
7739
|
admin: MultiAddressLike,
|
|
@@ -7621,7 +7748,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7621
7748
|
palletCall: {
|
|
7622
7749
|
name: 'ForceAssetStatus';
|
|
7623
7750
|
params: {
|
|
7624
|
-
id:
|
|
7751
|
+
id: StagingXcmV5Location;
|
|
7625
7752
|
owner: MultiAddressLike;
|
|
7626
7753
|
issuer: MultiAddressLike;
|
|
7627
7754
|
admin: MultiAddressLike;
|
|
@@ -7657,14 +7784,14 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7657
7784
|
*
|
|
7658
7785
|
* Weight: `O(1)`
|
|
7659
7786
|
*
|
|
7660
|
-
* @param {
|
|
7787
|
+
* @param {StagingXcmV5Location} id
|
|
7661
7788
|
* @param {MultiAddressLike} delegate
|
|
7662
7789
|
* @param {bigint} amount
|
|
7663
7790
|
**/
|
|
7664
7791
|
approveTransfer: GenericTxCall<
|
|
7665
7792
|
Rv,
|
|
7666
7793
|
(
|
|
7667
|
-
id:
|
|
7794
|
+
id: StagingXcmV5Location,
|
|
7668
7795
|
delegate: MultiAddressLike,
|
|
7669
7796
|
amount: bigint,
|
|
7670
7797
|
) => ChainSubmittableExtrinsic<
|
|
@@ -7673,7 +7800,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7673
7800
|
pallet: 'ForeignAssets';
|
|
7674
7801
|
palletCall: {
|
|
7675
7802
|
name: 'ApproveTransfer';
|
|
7676
|
-
params: { id:
|
|
7803
|
+
params: { id: StagingXcmV5Location; delegate: MultiAddressLike; amount: bigint };
|
|
7677
7804
|
};
|
|
7678
7805
|
}
|
|
7679
7806
|
>
|
|
@@ -7694,13 +7821,13 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7694
7821
|
*
|
|
7695
7822
|
* Weight: `O(1)`
|
|
7696
7823
|
*
|
|
7697
|
-
* @param {
|
|
7824
|
+
* @param {StagingXcmV5Location} id
|
|
7698
7825
|
* @param {MultiAddressLike} delegate
|
|
7699
7826
|
**/
|
|
7700
7827
|
cancelApproval: GenericTxCall<
|
|
7701
7828
|
Rv,
|
|
7702
7829
|
(
|
|
7703
|
-
id:
|
|
7830
|
+
id: StagingXcmV5Location,
|
|
7704
7831
|
delegate: MultiAddressLike,
|
|
7705
7832
|
) => ChainSubmittableExtrinsic<
|
|
7706
7833
|
Rv,
|
|
@@ -7708,7 +7835,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7708
7835
|
pallet: 'ForeignAssets';
|
|
7709
7836
|
palletCall: {
|
|
7710
7837
|
name: 'CancelApproval';
|
|
7711
|
-
params: { id:
|
|
7838
|
+
params: { id: StagingXcmV5Location; delegate: MultiAddressLike };
|
|
7712
7839
|
};
|
|
7713
7840
|
}
|
|
7714
7841
|
>
|
|
@@ -7729,14 +7856,14 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7729
7856
|
*
|
|
7730
7857
|
* Weight: `O(1)`
|
|
7731
7858
|
*
|
|
7732
|
-
* @param {
|
|
7859
|
+
* @param {StagingXcmV5Location} id
|
|
7733
7860
|
* @param {MultiAddressLike} owner
|
|
7734
7861
|
* @param {MultiAddressLike} delegate
|
|
7735
7862
|
**/
|
|
7736
7863
|
forceCancelApproval: GenericTxCall<
|
|
7737
7864
|
Rv,
|
|
7738
7865
|
(
|
|
7739
|
-
id:
|
|
7866
|
+
id: StagingXcmV5Location,
|
|
7740
7867
|
owner: MultiAddressLike,
|
|
7741
7868
|
delegate: MultiAddressLike,
|
|
7742
7869
|
) => ChainSubmittableExtrinsic<
|
|
@@ -7745,7 +7872,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7745
7872
|
pallet: 'ForeignAssets';
|
|
7746
7873
|
palletCall: {
|
|
7747
7874
|
name: 'ForceCancelApproval';
|
|
7748
|
-
params: { id:
|
|
7875
|
+
params: { id: StagingXcmV5Location; owner: MultiAddressLike; delegate: MultiAddressLike };
|
|
7749
7876
|
};
|
|
7750
7877
|
}
|
|
7751
7878
|
>
|
|
@@ -7771,7 +7898,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7771
7898
|
*
|
|
7772
7899
|
* Weight: `O(1)`
|
|
7773
7900
|
*
|
|
7774
|
-
* @param {
|
|
7901
|
+
* @param {StagingXcmV5Location} id
|
|
7775
7902
|
* @param {MultiAddressLike} owner
|
|
7776
7903
|
* @param {MultiAddressLike} destination
|
|
7777
7904
|
* @param {bigint} amount
|
|
@@ -7779,7 +7906,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7779
7906
|
transferApproved: GenericTxCall<
|
|
7780
7907
|
Rv,
|
|
7781
7908
|
(
|
|
7782
|
-
id:
|
|
7909
|
+
id: StagingXcmV5Location,
|
|
7783
7910
|
owner: MultiAddressLike,
|
|
7784
7911
|
destination: MultiAddressLike,
|
|
7785
7912
|
amount: bigint,
|
|
@@ -7790,7 +7917,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7790
7917
|
palletCall: {
|
|
7791
7918
|
name: 'TransferApproved';
|
|
7792
7919
|
params: {
|
|
7793
|
-
id:
|
|
7920
|
+
id: StagingXcmV5Location;
|
|
7794
7921
|
owner: MultiAddressLike;
|
|
7795
7922
|
destination: MultiAddressLike;
|
|
7796
7923
|
amount: bigint;
|
|
@@ -7811,17 +7938,17 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7811
7938
|
*
|
|
7812
7939
|
* Emits `Touched` event when successful.
|
|
7813
7940
|
*
|
|
7814
|
-
* @param {
|
|
7941
|
+
* @param {StagingXcmV5Location} id
|
|
7815
7942
|
**/
|
|
7816
7943
|
touch: GenericTxCall<
|
|
7817
7944
|
Rv,
|
|
7818
|
-
(id:
|
|
7945
|
+
(id: StagingXcmV5Location) => ChainSubmittableExtrinsic<
|
|
7819
7946
|
Rv,
|
|
7820
7947
|
{
|
|
7821
7948
|
pallet: 'ForeignAssets';
|
|
7822
7949
|
palletCall: {
|
|
7823
7950
|
name: 'Touch';
|
|
7824
|
-
params: { id:
|
|
7951
|
+
params: { id: StagingXcmV5Location };
|
|
7825
7952
|
};
|
|
7826
7953
|
}
|
|
7827
7954
|
>
|
|
@@ -7842,13 +7969,13 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7842
7969
|
*
|
|
7843
7970
|
* Emits `Refunded` event when successful.
|
|
7844
7971
|
*
|
|
7845
|
-
* @param {
|
|
7972
|
+
* @param {StagingXcmV5Location} id
|
|
7846
7973
|
* @param {boolean} allowBurn
|
|
7847
7974
|
**/
|
|
7848
7975
|
refund: GenericTxCall<
|
|
7849
7976
|
Rv,
|
|
7850
7977
|
(
|
|
7851
|
-
id:
|
|
7978
|
+
id: StagingXcmV5Location,
|
|
7852
7979
|
allowBurn: boolean,
|
|
7853
7980
|
) => ChainSubmittableExtrinsic<
|
|
7854
7981
|
Rv,
|
|
@@ -7856,7 +7983,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7856
7983
|
pallet: 'ForeignAssets';
|
|
7857
7984
|
palletCall: {
|
|
7858
7985
|
name: 'Refund';
|
|
7859
|
-
params: { id:
|
|
7986
|
+
params: { id: StagingXcmV5Location; allowBurn: boolean };
|
|
7860
7987
|
};
|
|
7861
7988
|
}
|
|
7862
7989
|
>
|
|
@@ -7876,13 +8003,13 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7876
8003
|
*
|
|
7877
8004
|
* Emits `AssetMinBalanceChanged` event when successful.
|
|
7878
8005
|
*
|
|
7879
|
-
* @param {
|
|
8006
|
+
* @param {StagingXcmV5Location} id
|
|
7880
8007
|
* @param {bigint} minBalance
|
|
7881
8008
|
**/
|
|
7882
8009
|
setMinBalance: GenericTxCall<
|
|
7883
8010
|
Rv,
|
|
7884
8011
|
(
|
|
7885
|
-
id:
|
|
8012
|
+
id: StagingXcmV5Location,
|
|
7886
8013
|
minBalance: bigint,
|
|
7887
8014
|
) => ChainSubmittableExtrinsic<
|
|
7888
8015
|
Rv,
|
|
@@ -7890,7 +8017,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7890
8017
|
pallet: 'ForeignAssets';
|
|
7891
8018
|
palletCall: {
|
|
7892
8019
|
name: 'SetMinBalance';
|
|
7893
|
-
params: { id:
|
|
8020
|
+
params: { id: StagingXcmV5Location; minBalance: bigint };
|
|
7894
8021
|
};
|
|
7895
8022
|
}
|
|
7896
8023
|
>
|
|
@@ -7908,13 +8035,13 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7908
8035
|
*
|
|
7909
8036
|
* Emits `Touched` event when successful.
|
|
7910
8037
|
*
|
|
7911
|
-
* @param {
|
|
8038
|
+
* @param {StagingXcmV5Location} id
|
|
7912
8039
|
* @param {MultiAddressLike} who
|
|
7913
8040
|
**/
|
|
7914
8041
|
touchOther: GenericTxCall<
|
|
7915
8042
|
Rv,
|
|
7916
8043
|
(
|
|
7917
|
-
id:
|
|
8044
|
+
id: StagingXcmV5Location,
|
|
7918
8045
|
who: MultiAddressLike,
|
|
7919
8046
|
) => ChainSubmittableExtrinsic<
|
|
7920
8047
|
Rv,
|
|
@@ -7922,7 +8049,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7922
8049
|
pallet: 'ForeignAssets';
|
|
7923
8050
|
palletCall: {
|
|
7924
8051
|
name: 'TouchOther';
|
|
7925
|
-
params: { id:
|
|
8052
|
+
params: { id: StagingXcmV5Location; who: MultiAddressLike };
|
|
7926
8053
|
};
|
|
7927
8054
|
}
|
|
7928
8055
|
>
|
|
@@ -7943,13 +8070,13 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7943
8070
|
*
|
|
7944
8071
|
* Emits `Refunded` event when successful.
|
|
7945
8072
|
*
|
|
7946
|
-
* @param {
|
|
8073
|
+
* @param {StagingXcmV5Location} id
|
|
7947
8074
|
* @param {MultiAddressLike} who
|
|
7948
8075
|
**/
|
|
7949
8076
|
refundOther: GenericTxCall<
|
|
7950
8077
|
Rv,
|
|
7951
8078
|
(
|
|
7952
|
-
id:
|
|
8079
|
+
id: StagingXcmV5Location,
|
|
7953
8080
|
who: MultiAddressLike,
|
|
7954
8081
|
) => ChainSubmittableExtrinsic<
|
|
7955
8082
|
Rv,
|
|
@@ -7957,7 +8084,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7957
8084
|
pallet: 'ForeignAssets';
|
|
7958
8085
|
palletCall: {
|
|
7959
8086
|
name: 'RefundOther';
|
|
7960
|
-
params: { id:
|
|
8087
|
+
params: { id: StagingXcmV5Location; who: MultiAddressLike };
|
|
7961
8088
|
};
|
|
7962
8089
|
}
|
|
7963
8090
|
>
|
|
@@ -7975,13 +8102,13 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7975
8102
|
*
|
|
7976
8103
|
* Weight: `O(1)`
|
|
7977
8104
|
*
|
|
7978
|
-
* @param {
|
|
8105
|
+
* @param {StagingXcmV5Location} id
|
|
7979
8106
|
* @param {MultiAddressLike} who
|
|
7980
8107
|
**/
|
|
7981
8108
|
block: GenericTxCall<
|
|
7982
8109
|
Rv,
|
|
7983
8110
|
(
|
|
7984
|
-
id:
|
|
8111
|
+
id: StagingXcmV5Location,
|
|
7985
8112
|
who: MultiAddressLike,
|
|
7986
8113
|
) => ChainSubmittableExtrinsic<
|
|
7987
8114
|
Rv,
|
|
@@ -7989,7 +8116,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7989
8116
|
pallet: 'ForeignAssets';
|
|
7990
8117
|
palletCall: {
|
|
7991
8118
|
name: 'Block';
|
|
7992
|
-
params: { id:
|
|
8119
|
+
params: { id: StagingXcmV5Location; who: MultiAddressLike };
|
|
7993
8120
|
};
|
|
7994
8121
|
}
|
|
7995
8122
|
>
|
|
@@ -8013,14 +8140,14 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
8013
8140
|
* (false), or transfer everything except at least the minimum balance, which will
|
|
8014
8141
|
* guarantee to keep the sender asset account alive (true).
|
|
8015
8142
|
*
|
|
8016
|
-
* @param {
|
|
8143
|
+
* @param {StagingXcmV5Location} id
|
|
8017
8144
|
* @param {MultiAddressLike} dest
|
|
8018
8145
|
* @param {boolean} keepAlive
|
|
8019
8146
|
**/
|
|
8020
8147
|
transferAll: GenericTxCall<
|
|
8021
8148
|
Rv,
|
|
8022
8149
|
(
|
|
8023
|
-
id:
|
|
8150
|
+
id: StagingXcmV5Location,
|
|
8024
8151
|
dest: MultiAddressLike,
|
|
8025
8152
|
keepAlive: boolean,
|
|
8026
8153
|
) => ChainSubmittableExtrinsic<
|
|
@@ -8029,7 +8156,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
8029
8156
|
pallet: 'ForeignAssets';
|
|
8030
8157
|
palletCall: {
|
|
8031
8158
|
name: 'TransferAll';
|
|
8032
|
-
params: { id:
|
|
8159
|
+
params: { id: StagingXcmV5Location; dest: MultiAddressLike; keepAlive: boolean };
|
|
8033
8160
|
};
|
|
8034
8161
|
}
|
|
8035
8162
|
>
|
|
@@ -9363,21 +9490,21 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
9363
9490
|
*
|
|
9364
9491
|
* Once a pool is created, someone may [`Pallet::add_liquidity`] to it.
|
|
9365
9492
|
*
|
|
9366
|
-
* @param {
|
|
9367
|
-
* @param {
|
|
9493
|
+
* @param {StagingXcmV5Location} asset1
|
|
9494
|
+
* @param {StagingXcmV5Location} asset2
|
|
9368
9495
|
**/
|
|
9369
9496
|
createPool: GenericTxCall<
|
|
9370
9497
|
Rv,
|
|
9371
9498
|
(
|
|
9372
|
-
asset1:
|
|
9373
|
-
asset2:
|
|
9499
|
+
asset1: StagingXcmV5Location,
|
|
9500
|
+
asset2: StagingXcmV5Location,
|
|
9374
9501
|
) => ChainSubmittableExtrinsic<
|
|
9375
9502
|
Rv,
|
|
9376
9503
|
{
|
|
9377
9504
|
pallet: 'AssetConversion';
|
|
9378
9505
|
palletCall: {
|
|
9379
9506
|
name: 'CreatePool';
|
|
9380
|
-
params: { asset1:
|
|
9507
|
+
params: { asset1: StagingXcmV5Location; asset2: StagingXcmV5Location };
|
|
9381
9508
|
};
|
|
9382
9509
|
}
|
|
9383
9510
|
>
|
|
@@ -9399,8 +9526,8 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
9399
9526
|
* Once liquidity is added, someone may successfully call
|
|
9400
9527
|
* [`Pallet::swap_exact_tokens_for_tokens`].
|
|
9401
9528
|
*
|
|
9402
|
-
* @param {
|
|
9403
|
-
* @param {
|
|
9529
|
+
* @param {StagingXcmV5Location} asset1
|
|
9530
|
+
* @param {StagingXcmV5Location} asset2
|
|
9404
9531
|
* @param {bigint} amount1Desired
|
|
9405
9532
|
* @param {bigint} amount2Desired
|
|
9406
9533
|
* @param {bigint} amount1Min
|
|
@@ -9410,8 +9537,8 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
9410
9537
|
addLiquidity: GenericTxCall<
|
|
9411
9538
|
Rv,
|
|
9412
9539
|
(
|
|
9413
|
-
asset1:
|
|
9414
|
-
asset2:
|
|
9540
|
+
asset1: StagingXcmV5Location,
|
|
9541
|
+
asset2: StagingXcmV5Location,
|
|
9415
9542
|
amount1Desired: bigint,
|
|
9416
9543
|
amount2Desired: bigint,
|
|
9417
9544
|
amount1Min: bigint,
|
|
@@ -9424,8 +9551,8 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
9424
9551
|
palletCall: {
|
|
9425
9552
|
name: 'AddLiquidity';
|
|
9426
9553
|
params: {
|
|
9427
|
-
asset1:
|
|
9428
|
-
asset2:
|
|
9554
|
+
asset1: StagingXcmV5Location;
|
|
9555
|
+
asset2: StagingXcmV5Location;
|
|
9429
9556
|
amount1Desired: bigint;
|
|
9430
9557
|
amount2Desired: bigint;
|
|
9431
9558
|
amount1Min: bigint;
|
|
@@ -9442,8 +9569,8 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
9442
9569
|
* burned in the process. With the usage of `amount1_min_receive`/`amount2_min_receive`
|
|
9443
9570
|
* it's possible to control the min amount of returned tokens you're happy with.
|
|
9444
9571
|
*
|
|
9445
|
-
* @param {
|
|
9446
|
-
* @param {
|
|
9572
|
+
* @param {StagingXcmV5Location} asset1
|
|
9573
|
+
* @param {StagingXcmV5Location} asset2
|
|
9447
9574
|
* @param {bigint} lpTokenBurn
|
|
9448
9575
|
* @param {bigint} amount1MinReceive
|
|
9449
9576
|
* @param {bigint} amount2MinReceive
|
|
@@ -9452,8 +9579,8 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
9452
9579
|
removeLiquidity: GenericTxCall<
|
|
9453
9580
|
Rv,
|
|
9454
9581
|
(
|
|
9455
|
-
asset1:
|
|
9456
|
-
asset2:
|
|
9582
|
+
asset1: StagingXcmV5Location,
|
|
9583
|
+
asset2: StagingXcmV5Location,
|
|
9457
9584
|
lpTokenBurn: bigint,
|
|
9458
9585
|
amount1MinReceive: bigint,
|
|
9459
9586
|
amount2MinReceive: bigint,
|
|
@@ -9465,8 +9592,8 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
9465
9592
|
palletCall: {
|
|
9466
9593
|
name: 'RemoveLiquidity';
|
|
9467
9594
|
params: {
|
|
9468
|
-
asset1:
|
|
9469
|
-
asset2:
|
|
9595
|
+
asset1: StagingXcmV5Location;
|
|
9596
|
+
asset2: StagingXcmV5Location;
|
|
9470
9597
|
lpTokenBurn: bigint;
|
|
9471
9598
|
amount1MinReceive: bigint;
|
|
9472
9599
|
amount2MinReceive: bigint;
|
|
@@ -9485,7 +9612,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
9485
9612
|
* [`AssetConversionApi::quote_price_exact_tokens_for_tokens`] runtime call can be called
|
|
9486
9613
|
* for a quote.
|
|
9487
9614
|
*
|
|
9488
|
-
* @param {Array<
|
|
9615
|
+
* @param {Array<StagingXcmV5Location>} path
|
|
9489
9616
|
* @param {bigint} amountIn
|
|
9490
9617
|
* @param {bigint} amountOutMin
|
|
9491
9618
|
* @param {AccountId32Like} sendTo
|
|
@@ -9494,7 +9621,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
9494
9621
|
swapExactTokensForTokens: GenericTxCall<
|
|
9495
9622
|
Rv,
|
|
9496
9623
|
(
|
|
9497
|
-
path: Array<
|
|
9624
|
+
path: Array<StagingXcmV5Location>,
|
|
9498
9625
|
amountIn: bigint,
|
|
9499
9626
|
amountOutMin: bigint,
|
|
9500
9627
|
sendTo: AccountId32Like,
|
|
@@ -9506,7 +9633,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
9506
9633
|
palletCall: {
|
|
9507
9634
|
name: 'SwapExactTokensForTokens';
|
|
9508
9635
|
params: {
|
|
9509
|
-
path: Array<
|
|
9636
|
+
path: Array<StagingXcmV5Location>;
|
|
9510
9637
|
amountIn: bigint;
|
|
9511
9638
|
amountOutMin: bigint;
|
|
9512
9639
|
sendTo: AccountId32Like;
|
|
@@ -9525,7 +9652,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
9525
9652
|
* [`AssetConversionApi::quote_price_tokens_for_exact_tokens`] runtime call can be called
|
|
9526
9653
|
* for a quote.
|
|
9527
9654
|
*
|
|
9528
|
-
* @param {Array<
|
|
9655
|
+
* @param {Array<StagingXcmV5Location>} path
|
|
9529
9656
|
* @param {bigint} amountOut
|
|
9530
9657
|
* @param {bigint} amountInMax
|
|
9531
9658
|
* @param {AccountId32Like} sendTo
|
|
@@ -9534,7 +9661,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
9534
9661
|
swapTokensForExactTokens: GenericTxCall<
|
|
9535
9662
|
Rv,
|
|
9536
9663
|
(
|
|
9537
|
-
path: Array<
|
|
9664
|
+
path: Array<StagingXcmV5Location>,
|
|
9538
9665
|
amountOut: bigint,
|
|
9539
9666
|
amountInMax: bigint,
|
|
9540
9667
|
sendTo: AccountId32Like,
|
|
@@ -9546,7 +9673,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
9546
9673
|
palletCall: {
|
|
9547
9674
|
name: 'SwapTokensForExactTokens';
|
|
9548
9675
|
params: {
|
|
9549
|
-
path: Array<
|
|
9676
|
+
path: Array<StagingXcmV5Location>;
|
|
9550
9677
|
amountOut: bigint;
|
|
9551
9678
|
amountInMax: bigint;
|
|
9552
9679
|
sendTo: AccountId32Like;
|
|
@@ -9570,21 +9697,21 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
9570
9697
|
*
|
|
9571
9698
|
* Emits `Touched` event when successful.
|
|
9572
9699
|
*
|
|
9573
|
-
* @param {
|
|
9574
|
-
* @param {
|
|
9700
|
+
* @param {StagingXcmV5Location} asset1
|
|
9701
|
+
* @param {StagingXcmV5Location} asset2
|
|
9575
9702
|
**/
|
|
9576
9703
|
touch: GenericTxCall<
|
|
9577
9704
|
Rv,
|
|
9578
9705
|
(
|
|
9579
|
-
asset1:
|
|
9580
|
-
asset2:
|
|
9706
|
+
asset1: StagingXcmV5Location,
|
|
9707
|
+
asset2: StagingXcmV5Location,
|
|
9581
9708
|
) => ChainSubmittableExtrinsic<
|
|
9582
9709
|
Rv,
|
|
9583
9710
|
{
|
|
9584
9711
|
pallet: 'AssetConversion';
|
|
9585
9712
|
palletCall: {
|
|
9586
9713
|
name: 'Touch';
|
|
9587
|
-
params: { asset1:
|
|
9714
|
+
params: { asset1: StagingXcmV5Location; asset2: StagingXcmV5Location };
|
|
9588
9715
|
};
|
|
9589
9716
|
}
|
|
9590
9717
|
>
|
|
@@ -9683,10 +9810,10 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
9683
9810
|
>;
|
|
9684
9811
|
|
|
9685
9812
|
/**
|
|
9686
|
-
* Instantiates a contract from a previously deployed
|
|
9813
|
+
* Instantiates a contract from a previously deployed vm binary.
|
|
9687
9814
|
*
|
|
9688
9815
|
* This function is identical to [`Self::instantiate_with_code`] but without the
|
|
9689
|
-
* code deployment step. Instead, the `code_hash` of an on-chain deployed
|
|
9816
|
+
* code deployment step. Instead, the `code_hash` of an on-chain deployed vm binary
|
|
9690
9817
|
* must be supplied.
|
|
9691
9818
|
*
|
|
9692
9819
|
* @param {bigint} value
|
|
@@ -9788,6 +9915,83 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
9788
9915
|
>
|
|
9789
9916
|
>;
|
|
9790
9917
|
|
|
9918
|
+
/**
|
|
9919
|
+
* Same as [`Self::instantiate_with_code`], but intended to be dispatched **only**
|
|
9920
|
+
* by an EVM transaction through the EVM compatibility layer.
|
|
9921
|
+
*
|
|
9922
|
+
* Calling this dispatchable ensures that the origin's nonce is bumped only once,
|
|
9923
|
+
* via the `CheckNonce` transaction extension. In contrast, [`Self::instantiate_with_code`]
|
|
9924
|
+
* also bumps the nonce after contract instantiation, since it may be invoked multiple
|
|
9925
|
+
* times within a batch call transaction.
|
|
9926
|
+
*
|
|
9927
|
+
* @param {U256} value
|
|
9928
|
+
* @param {SpWeightsWeightV2Weight} gasLimit
|
|
9929
|
+
* @param {bigint} storageDepositLimit
|
|
9930
|
+
* @param {BytesLike} code
|
|
9931
|
+
* @param {BytesLike} data
|
|
9932
|
+
**/
|
|
9933
|
+
ethInstantiateWithCode: GenericTxCall<
|
|
9934
|
+
Rv,
|
|
9935
|
+
(
|
|
9936
|
+
value: U256,
|
|
9937
|
+
gasLimit: SpWeightsWeightV2Weight,
|
|
9938
|
+
storageDepositLimit: bigint,
|
|
9939
|
+
code: BytesLike,
|
|
9940
|
+
data: BytesLike,
|
|
9941
|
+
) => ChainSubmittableExtrinsic<
|
|
9942
|
+
Rv,
|
|
9943
|
+
{
|
|
9944
|
+
pallet: 'Revive';
|
|
9945
|
+
palletCall: {
|
|
9946
|
+
name: 'EthInstantiateWithCode';
|
|
9947
|
+
params: {
|
|
9948
|
+
value: U256;
|
|
9949
|
+
gasLimit: SpWeightsWeightV2Weight;
|
|
9950
|
+
storageDepositLimit: bigint;
|
|
9951
|
+
code: BytesLike;
|
|
9952
|
+
data: BytesLike;
|
|
9953
|
+
};
|
|
9954
|
+
};
|
|
9955
|
+
}
|
|
9956
|
+
>
|
|
9957
|
+
>;
|
|
9958
|
+
|
|
9959
|
+
/**
|
|
9960
|
+
* Same as [`Self::call`], but intended to be dispatched **only**
|
|
9961
|
+
* by an EVM transaction through the EVM compatibility layer.
|
|
9962
|
+
*
|
|
9963
|
+
* @param {H160} dest
|
|
9964
|
+
* @param {U256} value
|
|
9965
|
+
* @param {SpWeightsWeightV2Weight} gasLimit
|
|
9966
|
+
* @param {bigint} storageDepositLimit
|
|
9967
|
+
* @param {BytesLike} data
|
|
9968
|
+
**/
|
|
9969
|
+
ethCall: GenericTxCall<
|
|
9970
|
+
Rv,
|
|
9971
|
+
(
|
|
9972
|
+
dest: H160,
|
|
9973
|
+
value: U256,
|
|
9974
|
+
gasLimit: SpWeightsWeightV2Weight,
|
|
9975
|
+
storageDepositLimit: bigint,
|
|
9976
|
+
data: BytesLike,
|
|
9977
|
+
) => ChainSubmittableExtrinsic<
|
|
9978
|
+
Rv,
|
|
9979
|
+
{
|
|
9980
|
+
pallet: 'Revive';
|
|
9981
|
+
palletCall: {
|
|
9982
|
+
name: 'EthCall';
|
|
9983
|
+
params: {
|
|
9984
|
+
dest: H160;
|
|
9985
|
+
value: U256;
|
|
9986
|
+
gasLimit: SpWeightsWeightV2Weight;
|
|
9987
|
+
storageDepositLimit: bigint;
|
|
9988
|
+
data: BytesLike;
|
|
9989
|
+
};
|
|
9990
|
+
};
|
|
9991
|
+
}
|
|
9992
|
+
>
|
|
9993
|
+
>;
|
|
9994
|
+
|
|
9791
9995
|
/**
|
|
9792
9996
|
* Upload new `code` without instantiating a contract from it.
|
|
9793
9997
|
*
|