@dedot/chaintypes 0.157.0 → 0.158.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/package.json +2 -2
- package/polkadot/consts.d.ts +41 -2
- package/polkadot/errors.d.ts +33 -0
- package/polkadot/events.d.ts +106 -0
- package/polkadot/index.d.ts +1 -1
- package/polkadot/query.d.ts +35 -0
- package/polkadot/tx.d.ts +145 -15
- package/polkadot/types.d.ts +369 -93
- package/polkadot/view-functions.d.ts +83 -1
- package/polkadot-asset-hub/consts.d.ts +32 -2
- package/polkadot-asset-hub/errors.d.ts +103 -0
- package/polkadot-asset-hub/events.d.ts +106 -35
- package/polkadot-asset-hub/index.d.ts +1 -1
- package/polkadot-asset-hub/query.d.ts +59 -19
- package/polkadot-asset-hub/runtime.d.ts +133 -12
- package/polkadot-asset-hub/tx.d.ts +242 -140
- package/polkadot-asset-hub/types.d.ts +1570 -1293
- package/polkadot-asset-hub/view-functions.d.ts +34 -1
|
@@ -15,7 +15,8 @@ import type {
|
|
|
15
15
|
AssetHubPolkadotRuntimeRuntimeCallLike,
|
|
16
16
|
SpRuntimeMultiSignature,
|
|
17
17
|
FrameSystemEventRecord,
|
|
18
|
-
|
|
18
|
+
CumulusPalletParachainSystemParachainInherentBasicParachainInherentData,
|
|
19
|
+
CumulusPalletParachainSystemParachainInherentInboundMessagesData,
|
|
19
20
|
PalletBalancesAdjustmentDirection,
|
|
20
21
|
PalletVestingVestingInfo,
|
|
21
22
|
AssetHubPolkadotRuntimeSessionKeys,
|
|
@@ -28,6 +29,10 @@ import type {
|
|
|
28
29
|
StagingXcmExecutorAssetTransferTransferType,
|
|
29
30
|
XcmVersionedAssetId,
|
|
30
31
|
CumulusPrimitivesCoreAggregateMessageOrigin,
|
|
32
|
+
SnowbridgeCoreOperatingModeBasicOperatingMode,
|
|
33
|
+
SnowbridgeCoreAssetMetadata,
|
|
34
|
+
StagingXcmV5Asset,
|
|
35
|
+
SnowbridgeCoreRewardMessageId,
|
|
31
36
|
AssetHubPolkadotRuntimeOriginCaller,
|
|
32
37
|
PalletMultisigTimepoint,
|
|
33
38
|
AssetHubPolkadotRuntimeProxyType,
|
|
@@ -44,7 +49,6 @@ import type {
|
|
|
44
49
|
PalletNftsPriceWithDirection,
|
|
45
50
|
PalletNftsPreSignedMint,
|
|
46
51
|
PalletNftsPreSignedAttributes,
|
|
47
|
-
StagingXcmV4Location,
|
|
48
52
|
PalletStateTrieMigrationMigrationLimits,
|
|
49
53
|
PalletStateTrieMigrationMigrationTask,
|
|
50
54
|
PalletStateTrieMigrationProgress,
|
|
@@ -324,17 +328,24 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
324
328
|
* As a side effect, this function upgrades the current validation function
|
|
325
329
|
* if the appropriate time has come.
|
|
326
330
|
*
|
|
327
|
-
* @param {
|
|
331
|
+
* @param {CumulusPalletParachainSystemParachainInherentBasicParachainInherentData} data
|
|
332
|
+
* @param {CumulusPalletParachainSystemParachainInherentInboundMessagesData} inboundMessagesData
|
|
328
333
|
**/
|
|
329
334
|
setValidationData: GenericTxCall<
|
|
330
335
|
Rv,
|
|
331
|
-
(
|
|
336
|
+
(
|
|
337
|
+
data: CumulusPalletParachainSystemParachainInherentBasicParachainInherentData,
|
|
338
|
+
inboundMessagesData: CumulusPalletParachainSystemParachainInherentInboundMessagesData,
|
|
339
|
+
) => ChainSubmittableExtrinsic<
|
|
332
340
|
Rv,
|
|
333
341
|
{
|
|
334
342
|
pallet: 'ParachainSystem';
|
|
335
343
|
palletCall: {
|
|
336
344
|
name: 'SetValidationData';
|
|
337
|
-
params: {
|
|
345
|
+
params: {
|
|
346
|
+
data: CumulusPalletParachainSystemParachainInherentBasicParachainInherentData;
|
|
347
|
+
inboundMessagesData: CumulusPalletParachainSystemParachainInherentInboundMessagesData;
|
|
348
|
+
};
|
|
338
349
|
};
|
|
339
350
|
}
|
|
340
351
|
>
|
|
@@ -1349,6 +1360,8 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
1349
1360
|
* @param {XcmVersionedLocation} beneficiary
|
|
1350
1361
|
* @param {XcmVersionedAssets} assets
|
|
1351
1362
|
* @param {number} feeAssetItem
|
|
1363
|
+
*
|
|
1364
|
+
* @deprecated This extrinsic uses `WeightLimit::Unlimited`, please migrate to `limited_teleport_assets` or `transfer_assets`
|
|
1352
1365
|
**/
|
|
1353
1366
|
teleportAssets: GenericTxCall<
|
|
1354
1367
|
Rv,
|
|
@@ -1410,6 +1423,8 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
1410
1423
|
* @param {XcmVersionedLocation} beneficiary
|
|
1411
1424
|
* @param {XcmVersionedAssets} assets
|
|
1412
1425
|
* @param {number} feeAssetItem
|
|
1426
|
+
*
|
|
1427
|
+
* @deprecated This extrinsic uses `WeightLimit::Unlimited`, please migrate to `limited_reserve_transfer_assets` or `transfer_assets`
|
|
1413
1428
|
**/
|
|
1414
1429
|
reserveTransferAssets: GenericTxCall<
|
|
1415
1430
|
Rv,
|
|
@@ -2076,6 +2091,93 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
2076
2091
|
**/
|
|
2077
2092
|
[callName: string]: GenericTxCall<Rv, TxCall<Rv>>;
|
|
2078
2093
|
};
|
|
2094
|
+
/**
|
|
2095
|
+
* Pallet `SnowbridgeSystemFrontend`'s transaction calls
|
|
2096
|
+
**/
|
|
2097
|
+
snowbridgeSystemFrontend: {
|
|
2098
|
+
/**
|
|
2099
|
+
* Set the operating mode for exporting messages to Ethereum.
|
|
2100
|
+
*
|
|
2101
|
+
* @param {SnowbridgeCoreOperatingModeBasicOperatingMode} mode
|
|
2102
|
+
**/
|
|
2103
|
+
setOperatingMode: GenericTxCall<
|
|
2104
|
+
Rv,
|
|
2105
|
+
(mode: SnowbridgeCoreOperatingModeBasicOperatingMode) => ChainSubmittableExtrinsic<
|
|
2106
|
+
Rv,
|
|
2107
|
+
{
|
|
2108
|
+
pallet: 'SnowbridgeSystemFrontend';
|
|
2109
|
+
palletCall: {
|
|
2110
|
+
name: 'SetOperatingMode';
|
|
2111
|
+
params: { mode: SnowbridgeCoreOperatingModeBasicOperatingMode };
|
|
2112
|
+
};
|
|
2113
|
+
}
|
|
2114
|
+
>
|
|
2115
|
+
>;
|
|
2116
|
+
|
|
2117
|
+
/**
|
|
2118
|
+
* Initiates the registration for a Polkadot-native token as a wrapped ERC20 token on
|
|
2119
|
+
* Ethereum.
|
|
2120
|
+
* - `asset_id`: Location of the asset
|
|
2121
|
+
* - `metadata`: Metadata to include in the instantiated ERC20 contract on Ethereum
|
|
2122
|
+
*
|
|
2123
|
+
* All origins are allowed, however `asset_id` must be a location nested within the origin
|
|
2124
|
+
* consensus system.
|
|
2125
|
+
*
|
|
2126
|
+
* @param {XcmVersionedLocation} assetId
|
|
2127
|
+
* @param {SnowbridgeCoreAssetMetadata} metadata
|
|
2128
|
+
* @param {StagingXcmV5Asset} feeAsset
|
|
2129
|
+
**/
|
|
2130
|
+
registerToken: GenericTxCall<
|
|
2131
|
+
Rv,
|
|
2132
|
+
(
|
|
2133
|
+
assetId: XcmVersionedLocation,
|
|
2134
|
+
metadata: SnowbridgeCoreAssetMetadata,
|
|
2135
|
+
feeAsset: StagingXcmV5Asset,
|
|
2136
|
+
) => ChainSubmittableExtrinsic<
|
|
2137
|
+
Rv,
|
|
2138
|
+
{
|
|
2139
|
+
pallet: 'SnowbridgeSystemFrontend';
|
|
2140
|
+
palletCall: {
|
|
2141
|
+
name: 'RegisterToken';
|
|
2142
|
+
params: {
|
|
2143
|
+
assetId: XcmVersionedLocation;
|
|
2144
|
+
metadata: SnowbridgeCoreAssetMetadata;
|
|
2145
|
+
feeAsset: StagingXcmV5Asset;
|
|
2146
|
+
};
|
|
2147
|
+
};
|
|
2148
|
+
}
|
|
2149
|
+
>
|
|
2150
|
+
>;
|
|
2151
|
+
|
|
2152
|
+
/**
|
|
2153
|
+
* Add an additional relayer tip for a committed message identified by `message_id`.
|
|
2154
|
+
* The tip asset will be swapped for ether.
|
|
2155
|
+
*
|
|
2156
|
+
* @param {SnowbridgeCoreRewardMessageId} messageId
|
|
2157
|
+
* @param {StagingXcmV5Asset} asset
|
|
2158
|
+
**/
|
|
2159
|
+
addTip: GenericTxCall<
|
|
2160
|
+
Rv,
|
|
2161
|
+
(
|
|
2162
|
+
messageId: SnowbridgeCoreRewardMessageId,
|
|
2163
|
+
asset: StagingXcmV5Asset,
|
|
2164
|
+
) => ChainSubmittableExtrinsic<
|
|
2165
|
+
Rv,
|
|
2166
|
+
{
|
|
2167
|
+
pallet: 'SnowbridgeSystemFrontend';
|
|
2168
|
+
palletCall: {
|
|
2169
|
+
name: 'AddTip';
|
|
2170
|
+
params: { messageId: SnowbridgeCoreRewardMessageId; asset: StagingXcmV5Asset };
|
|
2171
|
+
};
|
|
2172
|
+
}
|
|
2173
|
+
>
|
|
2174
|
+
>;
|
|
2175
|
+
|
|
2176
|
+
/**
|
|
2177
|
+
* Generic pallet tx call
|
|
2178
|
+
**/
|
|
2179
|
+
[callName: string]: GenericTxCall<Rv, TxCall<Rv>>;
|
|
2180
|
+
};
|
|
2079
2181
|
/**
|
|
2080
2182
|
* Pallet `Utility`'s transaction calls
|
|
2081
2183
|
**/
|
|
@@ -2725,7 +2827,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
2725
2827
|
*
|
|
2726
2828
|
* The dispatch origin for this call must be _Signed_.
|
|
2727
2829
|
*
|
|
2728
|
-
* WARNING: This may be called on accounts created by `
|
|
2830
|
+
* WARNING: This may be called on accounts created by `create_pure`, however if done, then
|
|
2729
2831
|
* the unreserved fees will be inaccessible. **All access to this account will be lost.**
|
|
2730
2832
|
*
|
|
2731
2833
|
**/
|
|
@@ -2791,16 +2893,16 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
2791
2893
|
* inaccessible.
|
|
2792
2894
|
*
|
|
2793
2895
|
* Requires a `Signed` origin, and the sender account must have been created by a call to
|
|
2794
|
-
* `
|
|
2896
|
+
* `create_pure` with corresponding parameters.
|
|
2795
2897
|
*
|
|
2796
|
-
* - `spawner`: The account that originally called `
|
|
2797
|
-
* - `index`: The disambiguation index originally passed to `
|
|
2798
|
-
* - `proxy_type`: The proxy type originally passed to `
|
|
2799
|
-
* - `height`: The height of the chain when the call to `
|
|
2800
|
-
* - `ext_index`: The extrinsic index in which the call to `
|
|
2898
|
+
* - `spawner`: The account that originally called `create_pure` to create this account.
|
|
2899
|
+
* - `index`: The disambiguation index originally passed to `create_pure`. Probably `0`.
|
|
2900
|
+
* - `proxy_type`: The proxy type originally passed to `create_pure`.
|
|
2901
|
+
* - `height`: The height of the chain when the call to `create_pure` was processed.
|
|
2902
|
+
* - `ext_index`: The extrinsic index in which the call to `create_pure` was processed.
|
|
2801
2903
|
*
|
|
2802
2904
|
* Fails with `NoPermission` in case the caller is not a previously created pure
|
|
2803
|
-
* account whose `
|
|
2905
|
+
* account whose `create_pure` call has corresponding parameters.
|
|
2804
2906
|
*
|
|
2805
2907
|
* @param {MultiAddressLike} spawner
|
|
2806
2908
|
* @param {AssetHubPolkadotRuntimeProxyType} proxyType
|
|
@@ -6700,14 +6802,14 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
6700
6802
|
*
|
|
6701
6803
|
* Weight: `O(1)`
|
|
6702
6804
|
*
|
|
6703
|
-
* @param {
|
|
6805
|
+
* @param {StagingXcmV5Location} id
|
|
6704
6806
|
* @param {MultiAddressLike} admin
|
|
6705
6807
|
* @param {bigint} minBalance
|
|
6706
6808
|
**/
|
|
6707
6809
|
create: GenericTxCall<
|
|
6708
6810
|
Rv,
|
|
6709
6811
|
(
|
|
6710
|
-
id:
|
|
6812
|
+
id: StagingXcmV5Location,
|
|
6711
6813
|
admin: MultiAddressLike,
|
|
6712
6814
|
minBalance: bigint,
|
|
6713
6815
|
) => ChainSubmittableExtrinsic<
|
|
@@ -6716,7 +6818,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
6716
6818
|
pallet: 'ForeignAssets';
|
|
6717
6819
|
palletCall: {
|
|
6718
6820
|
name: 'Create';
|
|
6719
|
-
params: { id:
|
|
6821
|
+
params: { id: StagingXcmV5Location; admin: MultiAddressLike; minBalance: bigint };
|
|
6720
6822
|
};
|
|
6721
6823
|
}
|
|
6722
6824
|
>
|
|
@@ -6743,7 +6845,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
6743
6845
|
*
|
|
6744
6846
|
* Weight: `O(1)`
|
|
6745
6847
|
*
|
|
6746
|
-
* @param {
|
|
6848
|
+
* @param {StagingXcmV5Location} id
|
|
6747
6849
|
* @param {MultiAddressLike} owner
|
|
6748
6850
|
* @param {boolean} isSufficient
|
|
6749
6851
|
* @param {bigint} minBalance
|
|
@@ -6751,7 +6853,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
6751
6853
|
forceCreate: GenericTxCall<
|
|
6752
6854
|
Rv,
|
|
6753
6855
|
(
|
|
6754
|
-
id:
|
|
6856
|
+
id: StagingXcmV5Location,
|
|
6755
6857
|
owner: MultiAddressLike,
|
|
6756
6858
|
isSufficient: boolean,
|
|
6757
6859
|
minBalance: bigint,
|
|
@@ -6761,7 +6863,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
6761
6863
|
pallet: 'ForeignAssets';
|
|
6762
6864
|
palletCall: {
|
|
6763
6865
|
name: 'ForceCreate';
|
|
6764
|
-
params: { id:
|
|
6866
|
+
params: { id: StagingXcmV5Location; owner: MultiAddressLike; isSufficient: boolean; minBalance: bigint };
|
|
6765
6867
|
};
|
|
6766
6868
|
}
|
|
6767
6869
|
>
|
|
@@ -6781,17 +6883,17 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
6781
6883
|
* It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
|
|
6782
6884
|
* an account contains holds or freezes in place.
|
|
6783
6885
|
*
|
|
6784
|
-
* @param {
|
|
6886
|
+
* @param {StagingXcmV5Location} id
|
|
6785
6887
|
**/
|
|
6786
6888
|
startDestroy: GenericTxCall<
|
|
6787
6889
|
Rv,
|
|
6788
|
-
(id:
|
|
6890
|
+
(id: StagingXcmV5Location) => ChainSubmittableExtrinsic<
|
|
6789
6891
|
Rv,
|
|
6790
6892
|
{
|
|
6791
6893
|
pallet: 'ForeignAssets';
|
|
6792
6894
|
palletCall: {
|
|
6793
6895
|
name: 'StartDestroy';
|
|
6794
|
-
params: { id:
|
|
6896
|
+
params: { id: StagingXcmV5Location };
|
|
6795
6897
|
};
|
|
6796
6898
|
}
|
|
6797
6899
|
>
|
|
@@ -6811,17 +6913,17 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
6811
6913
|
*
|
|
6812
6914
|
* Each call emits the `Event::DestroyedAccounts` event.
|
|
6813
6915
|
*
|
|
6814
|
-
* @param {
|
|
6916
|
+
* @param {StagingXcmV5Location} id
|
|
6815
6917
|
**/
|
|
6816
6918
|
destroyAccounts: GenericTxCall<
|
|
6817
6919
|
Rv,
|
|
6818
|
-
(id:
|
|
6920
|
+
(id: StagingXcmV5Location) => ChainSubmittableExtrinsic<
|
|
6819
6921
|
Rv,
|
|
6820
6922
|
{
|
|
6821
6923
|
pallet: 'ForeignAssets';
|
|
6822
6924
|
palletCall: {
|
|
6823
6925
|
name: 'DestroyAccounts';
|
|
6824
|
-
params: { id:
|
|
6926
|
+
params: { id: StagingXcmV5Location };
|
|
6825
6927
|
};
|
|
6826
6928
|
}
|
|
6827
6929
|
>
|
|
@@ -6841,17 +6943,17 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
6841
6943
|
*
|
|
6842
6944
|
* Each call emits the `Event::DestroyedApprovals` event.
|
|
6843
6945
|
*
|
|
6844
|
-
* @param {
|
|
6946
|
+
* @param {StagingXcmV5Location} id
|
|
6845
6947
|
**/
|
|
6846
6948
|
destroyApprovals: GenericTxCall<
|
|
6847
6949
|
Rv,
|
|
6848
|
-
(id:
|
|
6950
|
+
(id: StagingXcmV5Location) => ChainSubmittableExtrinsic<
|
|
6849
6951
|
Rv,
|
|
6850
6952
|
{
|
|
6851
6953
|
pallet: 'ForeignAssets';
|
|
6852
6954
|
palletCall: {
|
|
6853
6955
|
name: 'DestroyApprovals';
|
|
6854
|
-
params: { id:
|
|
6956
|
+
params: { id: StagingXcmV5Location };
|
|
6855
6957
|
};
|
|
6856
6958
|
}
|
|
6857
6959
|
>
|
|
@@ -6869,17 +6971,17 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
6869
6971
|
*
|
|
6870
6972
|
* Each successful call emits the `Event::Destroyed` event.
|
|
6871
6973
|
*
|
|
6872
|
-
* @param {
|
|
6974
|
+
* @param {StagingXcmV5Location} id
|
|
6873
6975
|
**/
|
|
6874
6976
|
finishDestroy: GenericTxCall<
|
|
6875
6977
|
Rv,
|
|
6876
|
-
(id:
|
|
6978
|
+
(id: StagingXcmV5Location) => ChainSubmittableExtrinsic<
|
|
6877
6979
|
Rv,
|
|
6878
6980
|
{
|
|
6879
6981
|
pallet: 'ForeignAssets';
|
|
6880
6982
|
palletCall: {
|
|
6881
6983
|
name: 'FinishDestroy';
|
|
6882
|
-
params: { id:
|
|
6984
|
+
params: { id: StagingXcmV5Location };
|
|
6883
6985
|
};
|
|
6884
6986
|
}
|
|
6885
6987
|
>
|
|
@@ -6899,14 +7001,14 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
6899
7001
|
* Weight: `O(1)`
|
|
6900
7002
|
* Modes: Pre-existing balance of `beneficiary`; Account pre-existence of `beneficiary`.
|
|
6901
7003
|
*
|
|
6902
|
-
* @param {
|
|
7004
|
+
* @param {StagingXcmV5Location} id
|
|
6903
7005
|
* @param {MultiAddressLike} beneficiary
|
|
6904
7006
|
* @param {bigint} amount
|
|
6905
7007
|
**/
|
|
6906
7008
|
mint: GenericTxCall<
|
|
6907
7009
|
Rv,
|
|
6908
7010
|
(
|
|
6909
|
-
id:
|
|
7011
|
+
id: StagingXcmV5Location,
|
|
6910
7012
|
beneficiary: MultiAddressLike,
|
|
6911
7013
|
amount: bigint,
|
|
6912
7014
|
) => ChainSubmittableExtrinsic<
|
|
@@ -6915,7 +7017,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
6915
7017
|
pallet: 'ForeignAssets';
|
|
6916
7018
|
palletCall: {
|
|
6917
7019
|
name: 'Mint';
|
|
6918
|
-
params: { id:
|
|
7020
|
+
params: { id: StagingXcmV5Location; beneficiary: MultiAddressLike; amount: bigint };
|
|
6919
7021
|
};
|
|
6920
7022
|
}
|
|
6921
7023
|
>
|
|
@@ -6938,14 +7040,14 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
6938
7040
|
* Weight: `O(1)`
|
|
6939
7041
|
* Modes: Post-existence of `who`; Pre & post Zombie-status of `who`.
|
|
6940
7042
|
*
|
|
6941
|
-
* @param {
|
|
7043
|
+
* @param {StagingXcmV5Location} id
|
|
6942
7044
|
* @param {MultiAddressLike} who
|
|
6943
7045
|
* @param {bigint} amount
|
|
6944
7046
|
**/
|
|
6945
7047
|
burn: GenericTxCall<
|
|
6946
7048
|
Rv,
|
|
6947
7049
|
(
|
|
6948
|
-
id:
|
|
7050
|
+
id: StagingXcmV5Location,
|
|
6949
7051
|
who: MultiAddressLike,
|
|
6950
7052
|
amount: bigint,
|
|
6951
7053
|
) => ChainSubmittableExtrinsic<
|
|
@@ -6954,7 +7056,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
6954
7056
|
pallet: 'ForeignAssets';
|
|
6955
7057
|
palletCall: {
|
|
6956
7058
|
name: 'Burn';
|
|
6957
|
-
params: { id:
|
|
7059
|
+
params: { id: StagingXcmV5Location; who: MultiAddressLike; amount: bigint };
|
|
6958
7060
|
};
|
|
6959
7061
|
}
|
|
6960
7062
|
>
|
|
@@ -6980,14 +7082,14 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
6980
7082
|
* Modes: Pre-existence of `target`; Post-existence of sender; Account pre-existence of
|
|
6981
7083
|
* `target`.
|
|
6982
7084
|
*
|
|
6983
|
-
* @param {
|
|
7085
|
+
* @param {StagingXcmV5Location} id
|
|
6984
7086
|
* @param {MultiAddressLike} target
|
|
6985
7087
|
* @param {bigint} amount
|
|
6986
7088
|
**/
|
|
6987
7089
|
transfer: GenericTxCall<
|
|
6988
7090
|
Rv,
|
|
6989
7091
|
(
|
|
6990
|
-
id:
|
|
7092
|
+
id: StagingXcmV5Location,
|
|
6991
7093
|
target: MultiAddressLike,
|
|
6992
7094
|
amount: bigint,
|
|
6993
7095
|
) => ChainSubmittableExtrinsic<
|
|
@@ -6996,7 +7098,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
6996
7098
|
pallet: 'ForeignAssets';
|
|
6997
7099
|
palletCall: {
|
|
6998
7100
|
name: 'Transfer';
|
|
6999
|
-
params: { id:
|
|
7101
|
+
params: { id: StagingXcmV5Location; target: MultiAddressLike; amount: bigint };
|
|
7000
7102
|
};
|
|
7001
7103
|
}
|
|
7002
7104
|
>
|
|
@@ -7022,14 +7124,14 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7022
7124
|
* Modes: Pre-existence of `target`; Post-existence of sender; Account pre-existence of
|
|
7023
7125
|
* `target`.
|
|
7024
7126
|
*
|
|
7025
|
-
* @param {
|
|
7127
|
+
* @param {StagingXcmV5Location} id
|
|
7026
7128
|
* @param {MultiAddressLike} target
|
|
7027
7129
|
* @param {bigint} amount
|
|
7028
7130
|
**/
|
|
7029
7131
|
transferKeepAlive: GenericTxCall<
|
|
7030
7132
|
Rv,
|
|
7031
7133
|
(
|
|
7032
|
-
id:
|
|
7134
|
+
id: StagingXcmV5Location,
|
|
7033
7135
|
target: MultiAddressLike,
|
|
7034
7136
|
amount: bigint,
|
|
7035
7137
|
) => ChainSubmittableExtrinsic<
|
|
@@ -7038,7 +7140,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7038
7140
|
pallet: 'ForeignAssets';
|
|
7039
7141
|
palletCall: {
|
|
7040
7142
|
name: 'TransferKeepAlive';
|
|
7041
|
-
params: { id:
|
|
7143
|
+
params: { id: StagingXcmV5Location; target: MultiAddressLike; amount: bigint };
|
|
7042
7144
|
};
|
|
7043
7145
|
}
|
|
7044
7146
|
>
|
|
@@ -7065,7 +7167,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7065
7167
|
* Modes: Pre-existence of `dest`; Post-existence of `source`; Account pre-existence of
|
|
7066
7168
|
* `dest`.
|
|
7067
7169
|
*
|
|
7068
|
-
* @param {
|
|
7170
|
+
* @param {StagingXcmV5Location} id
|
|
7069
7171
|
* @param {MultiAddressLike} source
|
|
7070
7172
|
* @param {MultiAddressLike} dest
|
|
7071
7173
|
* @param {bigint} amount
|
|
@@ -7073,7 +7175,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7073
7175
|
forceTransfer: GenericTxCall<
|
|
7074
7176
|
Rv,
|
|
7075
7177
|
(
|
|
7076
|
-
id:
|
|
7178
|
+
id: StagingXcmV5Location,
|
|
7077
7179
|
source: MultiAddressLike,
|
|
7078
7180
|
dest: MultiAddressLike,
|
|
7079
7181
|
amount: bigint,
|
|
@@ -7083,7 +7185,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7083
7185
|
pallet: 'ForeignAssets';
|
|
7084
7186
|
palletCall: {
|
|
7085
7187
|
name: 'ForceTransfer';
|
|
7086
|
-
params: { id:
|
|
7188
|
+
params: { id: StagingXcmV5Location; source: MultiAddressLike; dest: MultiAddressLike; amount: bigint };
|
|
7087
7189
|
};
|
|
7088
7190
|
}
|
|
7089
7191
|
>
|
|
@@ -7103,13 +7205,13 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7103
7205
|
*
|
|
7104
7206
|
* Weight: `O(1)`
|
|
7105
7207
|
*
|
|
7106
|
-
* @param {
|
|
7208
|
+
* @param {StagingXcmV5Location} id
|
|
7107
7209
|
* @param {MultiAddressLike} who
|
|
7108
7210
|
**/
|
|
7109
7211
|
freeze: GenericTxCall<
|
|
7110
7212
|
Rv,
|
|
7111
7213
|
(
|
|
7112
|
-
id:
|
|
7214
|
+
id: StagingXcmV5Location,
|
|
7113
7215
|
who: MultiAddressLike,
|
|
7114
7216
|
) => ChainSubmittableExtrinsic<
|
|
7115
7217
|
Rv,
|
|
@@ -7117,7 +7219,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7117
7219
|
pallet: 'ForeignAssets';
|
|
7118
7220
|
palletCall: {
|
|
7119
7221
|
name: 'Freeze';
|
|
7120
|
-
params: { id:
|
|
7222
|
+
params: { id: StagingXcmV5Location; who: MultiAddressLike };
|
|
7121
7223
|
};
|
|
7122
7224
|
}
|
|
7123
7225
|
>
|
|
@@ -7135,13 +7237,13 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7135
7237
|
*
|
|
7136
7238
|
* Weight: `O(1)`
|
|
7137
7239
|
*
|
|
7138
|
-
* @param {
|
|
7240
|
+
* @param {StagingXcmV5Location} id
|
|
7139
7241
|
* @param {MultiAddressLike} who
|
|
7140
7242
|
**/
|
|
7141
7243
|
thaw: GenericTxCall<
|
|
7142
7244
|
Rv,
|
|
7143
7245
|
(
|
|
7144
|
-
id:
|
|
7246
|
+
id: StagingXcmV5Location,
|
|
7145
7247
|
who: MultiAddressLike,
|
|
7146
7248
|
) => ChainSubmittableExtrinsic<
|
|
7147
7249
|
Rv,
|
|
@@ -7149,7 +7251,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7149
7251
|
pallet: 'ForeignAssets';
|
|
7150
7252
|
palletCall: {
|
|
7151
7253
|
name: 'Thaw';
|
|
7152
|
-
params: { id:
|
|
7254
|
+
params: { id: StagingXcmV5Location; who: MultiAddressLike };
|
|
7153
7255
|
};
|
|
7154
7256
|
}
|
|
7155
7257
|
>
|
|
@@ -7166,17 +7268,17 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7166
7268
|
*
|
|
7167
7269
|
* Weight: `O(1)`
|
|
7168
7270
|
*
|
|
7169
|
-
* @param {
|
|
7271
|
+
* @param {StagingXcmV5Location} id
|
|
7170
7272
|
**/
|
|
7171
7273
|
freezeAsset: GenericTxCall<
|
|
7172
7274
|
Rv,
|
|
7173
|
-
(id:
|
|
7275
|
+
(id: StagingXcmV5Location) => ChainSubmittableExtrinsic<
|
|
7174
7276
|
Rv,
|
|
7175
7277
|
{
|
|
7176
7278
|
pallet: 'ForeignAssets';
|
|
7177
7279
|
palletCall: {
|
|
7178
7280
|
name: 'FreezeAsset';
|
|
7179
|
-
params: { id:
|
|
7281
|
+
params: { id: StagingXcmV5Location };
|
|
7180
7282
|
};
|
|
7181
7283
|
}
|
|
7182
7284
|
>
|
|
@@ -7193,17 +7295,17 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7193
7295
|
*
|
|
7194
7296
|
* Weight: `O(1)`
|
|
7195
7297
|
*
|
|
7196
|
-
* @param {
|
|
7298
|
+
* @param {StagingXcmV5Location} id
|
|
7197
7299
|
**/
|
|
7198
7300
|
thawAsset: GenericTxCall<
|
|
7199
7301
|
Rv,
|
|
7200
|
-
(id:
|
|
7302
|
+
(id: StagingXcmV5Location) => ChainSubmittableExtrinsic<
|
|
7201
7303
|
Rv,
|
|
7202
7304
|
{
|
|
7203
7305
|
pallet: 'ForeignAssets';
|
|
7204
7306
|
palletCall: {
|
|
7205
7307
|
name: 'ThawAsset';
|
|
7206
|
-
params: { id:
|
|
7308
|
+
params: { id: StagingXcmV5Location };
|
|
7207
7309
|
};
|
|
7208
7310
|
}
|
|
7209
7311
|
>
|
|
@@ -7221,13 +7323,13 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7221
7323
|
*
|
|
7222
7324
|
* Weight: `O(1)`
|
|
7223
7325
|
*
|
|
7224
|
-
* @param {
|
|
7326
|
+
* @param {StagingXcmV5Location} id
|
|
7225
7327
|
* @param {MultiAddressLike} owner
|
|
7226
7328
|
**/
|
|
7227
7329
|
transferOwnership: GenericTxCall<
|
|
7228
7330
|
Rv,
|
|
7229
7331
|
(
|
|
7230
|
-
id:
|
|
7332
|
+
id: StagingXcmV5Location,
|
|
7231
7333
|
owner: MultiAddressLike,
|
|
7232
7334
|
) => ChainSubmittableExtrinsic<
|
|
7233
7335
|
Rv,
|
|
@@ -7235,7 +7337,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7235
7337
|
pallet: 'ForeignAssets';
|
|
7236
7338
|
palletCall: {
|
|
7237
7339
|
name: 'TransferOwnership';
|
|
7238
|
-
params: { id:
|
|
7340
|
+
params: { id: StagingXcmV5Location; owner: MultiAddressLike };
|
|
7239
7341
|
};
|
|
7240
7342
|
}
|
|
7241
7343
|
>
|
|
@@ -7255,7 +7357,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7255
7357
|
*
|
|
7256
7358
|
* Weight: `O(1)`
|
|
7257
7359
|
*
|
|
7258
|
-
* @param {
|
|
7360
|
+
* @param {StagingXcmV5Location} id
|
|
7259
7361
|
* @param {MultiAddressLike} issuer
|
|
7260
7362
|
* @param {MultiAddressLike} admin
|
|
7261
7363
|
* @param {MultiAddressLike} freezer
|
|
@@ -7263,7 +7365,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7263
7365
|
setTeam: GenericTxCall<
|
|
7264
7366
|
Rv,
|
|
7265
7367
|
(
|
|
7266
|
-
id:
|
|
7368
|
+
id: StagingXcmV5Location,
|
|
7267
7369
|
issuer: MultiAddressLike,
|
|
7268
7370
|
admin: MultiAddressLike,
|
|
7269
7371
|
freezer: MultiAddressLike,
|
|
@@ -7274,7 +7376,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7274
7376
|
palletCall: {
|
|
7275
7377
|
name: 'SetTeam';
|
|
7276
7378
|
params: {
|
|
7277
|
-
id:
|
|
7379
|
+
id: StagingXcmV5Location;
|
|
7278
7380
|
issuer: MultiAddressLike;
|
|
7279
7381
|
admin: MultiAddressLike;
|
|
7280
7382
|
freezer: MultiAddressLike;
|
|
@@ -7302,7 +7404,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7302
7404
|
*
|
|
7303
7405
|
* Weight: `O(1)`
|
|
7304
7406
|
*
|
|
7305
|
-
* @param {
|
|
7407
|
+
* @param {StagingXcmV5Location} id
|
|
7306
7408
|
* @param {BytesLike} name
|
|
7307
7409
|
* @param {BytesLike} symbol
|
|
7308
7410
|
* @param {number} decimals
|
|
@@ -7310,7 +7412,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7310
7412
|
setMetadata: GenericTxCall<
|
|
7311
7413
|
Rv,
|
|
7312
7414
|
(
|
|
7313
|
-
id:
|
|
7415
|
+
id: StagingXcmV5Location,
|
|
7314
7416
|
name: BytesLike,
|
|
7315
7417
|
symbol: BytesLike,
|
|
7316
7418
|
decimals: number,
|
|
@@ -7320,7 +7422,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7320
7422
|
pallet: 'ForeignAssets';
|
|
7321
7423
|
palletCall: {
|
|
7322
7424
|
name: 'SetMetadata';
|
|
7323
|
-
params: { id:
|
|
7425
|
+
params: { id: StagingXcmV5Location; name: BytesLike; symbol: BytesLike; decimals: number };
|
|
7324
7426
|
};
|
|
7325
7427
|
}
|
|
7326
7428
|
>
|
|
@@ -7339,17 +7441,17 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7339
7441
|
*
|
|
7340
7442
|
* Weight: `O(1)`
|
|
7341
7443
|
*
|
|
7342
|
-
* @param {
|
|
7444
|
+
* @param {StagingXcmV5Location} id
|
|
7343
7445
|
**/
|
|
7344
7446
|
clearMetadata: GenericTxCall<
|
|
7345
7447
|
Rv,
|
|
7346
|
-
(id:
|
|
7448
|
+
(id: StagingXcmV5Location) => ChainSubmittableExtrinsic<
|
|
7347
7449
|
Rv,
|
|
7348
7450
|
{
|
|
7349
7451
|
pallet: 'ForeignAssets';
|
|
7350
7452
|
palletCall: {
|
|
7351
7453
|
name: 'ClearMetadata';
|
|
7352
|
-
params: { id:
|
|
7454
|
+
params: { id: StagingXcmV5Location };
|
|
7353
7455
|
};
|
|
7354
7456
|
}
|
|
7355
7457
|
>
|
|
@@ -7371,7 +7473,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7371
7473
|
*
|
|
7372
7474
|
* Weight: `O(N + S)` where N and S are the length of the name and symbol respectively.
|
|
7373
7475
|
*
|
|
7374
|
-
* @param {
|
|
7476
|
+
* @param {StagingXcmV5Location} id
|
|
7375
7477
|
* @param {BytesLike} name
|
|
7376
7478
|
* @param {BytesLike} symbol
|
|
7377
7479
|
* @param {number} decimals
|
|
@@ -7380,7 +7482,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7380
7482
|
forceSetMetadata: GenericTxCall<
|
|
7381
7483
|
Rv,
|
|
7382
7484
|
(
|
|
7383
|
-
id:
|
|
7485
|
+
id: StagingXcmV5Location,
|
|
7384
7486
|
name: BytesLike,
|
|
7385
7487
|
symbol: BytesLike,
|
|
7386
7488
|
decimals: number,
|
|
@@ -7392,7 +7494,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7392
7494
|
palletCall: {
|
|
7393
7495
|
name: 'ForceSetMetadata';
|
|
7394
7496
|
params: {
|
|
7395
|
-
id:
|
|
7497
|
+
id: StagingXcmV5Location;
|
|
7396
7498
|
name: BytesLike;
|
|
7397
7499
|
symbol: BytesLike;
|
|
7398
7500
|
decimals: number;
|
|
@@ -7416,17 +7518,17 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7416
7518
|
*
|
|
7417
7519
|
* Weight: `O(1)`
|
|
7418
7520
|
*
|
|
7419
|
-
* @param {
|
|
7521
|
+
* @param {StagingXcmV5Location} id
|
|
7420
7522
|
**/
|
|
7421
7523
|
forceClearMetadata: GenericTxCall<
|
|
7422
7524
|
Rv,
|
|
7423
|
-
(id:
|
|
7525
|
+
(id: StagingXcmV5Location) => ChainSubmittableExtrinsic<
|
|
7424
7526
|
Rv,
|
|
7425
7527
|
{
|
|
7426
7528
|
pallet: 'ForeignAssets';
|
|
7427
7529
|
palletCall: {
|
|
7428
7530
|
name: 'ForceClearMetadata';
|
|
7429
|
-
params: { id:
|
|
7531
|
+
params: { id: StagingXcmV5Location };
|
|
7430
7532
|
};
|
|
7431
7533
|
}
|
|
7432
7534
|
>
|
|
@@ -7456,7 +7558,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7456
7558
|
*
|
|
7457
7559
|
* Weight: `O(1)`
|
|
7458
7560
|
*
|
|
7459
|
-
* @param {
|
|
7561
|
+
* @param {StagingXcmV5Location} id
|
|
7460
7562
|
* @param {MultiAddressLike} owner
|
|
7461
7563
|
* @param {MultiAddressLike} issuer
|
|
7462
7564
|
* @param {MultiAddressLike} admin
|
|
@@ -7468,7 +7570,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7468
7570
|
forceAssetStatus: GenericTxCall<
|
|
7469
7571
|
Rv,
|
|
7470
7572
|
(
|
|
7471
|
-
id:
|
|
7573
|
+
id: StagingXcmV5Location,
|
|
7472
7574
|
owner: MultiAddressLike,
|
|
7473
7575
|
issuer: MultiAddressLike,
|
|
7474
7576
|
admin: MultiAddressLike,
|
|
@@ -7483,7 +7585,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7483
7585
|
palletCall: {
|
|
7484
7586
|
name: 'ForceAssetStatus';
|
|
7485
7587
|
params: {
|
|
7486
|
-
id:
|
|
7588
|
+
id: StagingXcmV5Location;
|
|
7487
7589
|
owner: MultiAddressLike;
|
|
7488
7590
|
issuer: MultiAddressLike;
|
|
7489
7591
|
admin: MultiAddressLike;
|
|
@@ -7519,14 +7621,14 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7519
7621
|
*
|
|
7520
7622
|
* Weight: `O(1)`
|
|
7521
7623
|
*
|
|
7522
|
-
* @param {
|
|
7624
|
+
* @param {StagingXcmV5Location} id
|
|
7523
7625
|
* @param {MultiAddressLike} delegate
|
|
7524
7626
|
* @param {bigint} amount
|
|
7525
7627
|
**/
|
|
7526
7628
|
approveTransfer: GenericTxCall<
|
|
7527
7629
|
Rv,
|
|
7528
7630
|
(
|
|
7529
|
-
id:
|
|
7631
|
+
id: StagingXcmV5Location,
|
|
7530
7632
|
delegate: MultiAddressLike,
|
|
7531
7633
|
amount: bigint,
|
|
7532
7634
|
) => ChainSubmittableExtrinsic<
|
|
@@ -7535,7 +7637,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7535
7637
|
pallet: 'ForeignAssets';
|
|
7536
7638
|
palletCall: {
|
|
7537
7639
|
name: 'ApproveTransfer';
|
|
7538
|
-
params: { id:
|
|
7640
|
+
params: { id: StagingXcmV5Location; delegate: MultiAddressLike; amount: bigint };
|
|
7539
7641
|
};
|
|
7540
7642
|
}
|
|
7541
7643
|
>
|
|
@@ -7556,13 +7658,13 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7556
7658
|
*
|
|
7557
7659
|
* Weight: `O(1)`
|
|
7558
7660
|
*
|
|
7559
|
-
* @param {
|
|
7661
|
+
* @param {StagingXcmV5Location} id
|
|
7560
7662
|
* @param {MultiAddressLike} delegate
|
|
7561
7663
|
**/
|
|
7562
7664
|
cancelApproval: GenericTxCall<
|
|
7563
7665
|
Rv,
|
|
7564
7666
|
(
|
|
7565
|
-
id:
|
|
7667
|
+
id: StagingXcmV5Location,
|
|
7566
7668
|
delegate: MultiAddressLike,
|
|
7567
7669
|
) => ChainSubmittableExtrinsic<
|
|
7568
7670
|
Rv,
|
|
@@ -7570,7 +7672,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7570
7672
|
pallet: 'ForeignAssets';
|
|
7571
7673
|
palletCall: {
|
|
7572
7674
|
name: 'CancelApproval';
|
|
7573
|
-
params: { id:
|
|
7675
|
+
params: { id: StagingXcmV5Location; delegate: MultiAddressLike };
|
|
7574
7676
|
};
|
|
7575
7677
|
}
|
|
7576
7678
|
>
|
|
@@ -7591,14 +7693,14 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7591
7693
|
*
|
|
7592
7694
|
* Weight: `O(1)`
|
|
7593
7695
|
*
|
|
7594
|
-
* @param {
|
|
7696
|
+
* @param {StagingXcmV5Location} id
|
|
7595
7697
|
* @param {MultiAddressLike} owner
|
|
7596
7698
|
* @param {MultiAddressLike} delegate
|
|
7597
7699
|
**/
|
|
7598
7700
|
forceCancelApproval: GenericTxCall<
|
|
7599
7701
|
Rv,
|
|
7600
7702
|
(
|
|
7601
|
-
id:
|
|
7703
|
+
id: StagingXcmV5Location,
|
|
7602
7704
|
owner: MultiAddressLike,
|
|
7603
7705
|
delegate: MultiAddressLike,
|
|
7604
7706
|
) => ChainSubmittableExtrinsic<
|
|
@@ -7607,7 +7709,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7607
7709
|
pallet: 'ForeignAssets';
|
|
7608
7710
|
palletCall: {
|
|
7609
7711
|
name: 'ForceCancelApproval';
|
|
7610
|
-
params: { id:
|
|
7712
|
+
params: { id: StagingXcmV5Location; owner: MultiAddressLike; delegate: MultiAddressLike };
|
|
7611
7713
|
};
|
|
7612
7714
|
}
|
|
7613
7715
|
>
|
|
@@ -7633,7 +7735,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7633
7735
|
*
|
|
7634
7736
|
* Weight: `O(1)`
|
|
7635
7737
|
*
|
|
7636
|
-
* @param {
|
|
7738
|
+
* @param {StagingXcmV5Location} id
|
|
7637
7739
|
* @param {MultiAddressLike} owner
|
|
7638
7740
|
* @param {MultiAddressLike} destination
|
|
7639
7741
|
* @param {bigint} amount
|
|
@@ -7641,7 +7743,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7641
7743
|
transferApproved: GenericTxCall<
|
|
7642
7744
|
Rv,
|
|
7643
7745
|
(
|
|
7644
|
-
id:
|
|
7746
|
+
id: StagingXcmV5Location,
|
|
7645
7747
|
owner: MultiAddressLike,
|
|
7646
7748
|
destination: MultiAddressLike,
|
|
7647
7749
|
amount: bigint,
|
|
@@ -7652,7 +7754,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7652
7754
|
palletCall: {
|
|
7653
7755
|
name: 'TransferApproved';
|
|
7654
7756
|
params: {
|
|
7655
|
-
id:
|
|
7757
|
+
id: StagingXcmV5Location;
|
|
7656
7758
|
owner: MultiAddressLike;
|
|
7657
7759
|
destination: MultiAddressLike;
|
|
7658
7760
|
amount: bigint;
|
|
@@ -7673,17 +7775,17 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7673
7775
|
*
|
|
7674
7776
|
* Emits `Touched` event when successful.
|
|
7675
7777
|
*
|
|
7676
|
-
* @param {
|
|
7778
|
+
* @param {StagingXcmV5Location} id
|
|
7677
7779
|
**/
|
|
7678
7780
|
touch: GenericTxCall<
|
|
7679
7781
|
Rv,
|
|
7680
|
-
(id:
|
|
7782
|
+
(id: StagingXcmV5Location) => ChainSubmittableExtrinsic<
|
|
7681
7783
|
Rv,
|
|
7682
7784
|
{
|
|
7683
7785
|
pallet: 'ForeignAssets';
|
|
7684
7786
|
palletCall: {
|
|
7685
7787
|
name: 'Touch';
|
|
7686
|
-
params: { id:
|
|
7788
|
+
params: { id: StagingXcmV5Location };
|
|
7687
7789
|
};
|
|
7688
7790
|
}
|
|
7689
7791
|
>
|
|
@@ -7704,13 +7806,13 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7704
7806
|
*
|
|
7705
7807
|
* Emits `Refunded` event when successful.
|
|
7706
7808
|
*
|
|
7707
|
-
* @param {
|
|
7809
|
+
* @param {StagingXcmV5Location} id
|
|
7708
7810
|
* @param {boolean} allowBurn
|
|
7709
7811
|
**/
|
|
7710
7812
|
refund: GenericTxCall<
|
|
7711
7813
|
Rv,
|
|
7712
7814
|
(
|
|
7713
|
-
id:
|
|
7815
|
+
id: StagingXcmV5Location,
|
|
7714
7816
|
allowBurn: boolean,
|
|
7715
7817
|
) => ChainSubmittableExtrinsic<
|
|
7716
7818
|
Rv,
|
|
@@ -7718,7 +7820,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7718
7820
|
pallet: 'ForeignAssets';
|
|
7719
7821
|
palletCall: {
|
|
7720
7822
|
name: 'Refund';
|
|
7721
|
-
params: { id:
|
|
7823
|
+
params: { id: StagingXcmV5Location; allowBurn: boolean };
|
|
7722
7824
|
};
|
|
7723
7825
|
}
|
|
7724
7826
|
>
|
|
@@ -7738,13 +7840,13 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7738
7840
|
*
|
|
7739
7841
|
* Emits `AssetMinBalanceChanged` event when successful.
|
|
7740
7842
|
*
|
|
7741
|
-
* @param {
|
|
7843
|
+
* @param {StagingXcmV5Location} id
|
|
7742
7844
|
* @param {bigint} minBalance
|
|
7743
7845
|
**/
|
|
7744
7846
|
setMinBalance: GenericTxCall<
|
|
7745
7847
|
Rv,
|
|
7746
7848
|
(
|
|
7747
|
-
id:
|
|
7849
|
+
id: StagingXcmV5Location,
|
|
7748
7850
|
minBalance: bigint,
|
|
7749
7851
|
) => ChainSubmittableExtrinsic<
|
|
7750
7852
|
Rv,
|
|
@@ -7752,7 +7854,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7752
7854
|
pallet: 'ForeignAssets';
|
|
7753
7855
|
palletCall: {
|
|
7754
7856
|
name: 'SetMinBalance';
|
|
7755
|
-
params: { id:
|
|
7857
|
+
params: { id: StagingXcmV5Location; minBalance: bigint };
|
|
7756
7858
|
};
|
|
7757
7859
|
}
|
|
7758
7860
|
>
|
|
@@ -7770,13 +7872,13 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7770
7872
|
*
|
|
7771
7873
|
* Emits `Touched` event when successful.
|
|
7772
7874
|
*
|
|
7773
|
-
* @param {
|
|
7875
|
+
* @param {StagingXcmV5Location} id
|
|
7774
7876
|
* @param {MultiAddressLike} who
|
|
7775
7877
|
**/
|
|
7776
7878
|
touchOther: GenericTxCall<
|
|
7777
7879
|
Rv,
|
|
7778
7880
|
(
|
|
7779
|
-
id:
|
|
7881
|
+
id: StagingXcmV5Location,
|
|
7780
7882
|
who: MultiAddressLike,
|
|
7781
7883
|
) => ChainSubmittableExtrinsic<
|
|
7782
7884
|
Rv,
|
|
@@ -7784,7 +7886,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7784
7886
|
pallet: 'ForeignAssets';
|
|
7785
7887
|
palletCall: {
|
|
7786
7888
|
name: 'TouchOther';
|
|
7787
|
-
params: { id:
|
|
7889
|
+
params: { id: StagingXcmV5Location; who: MultiAddressLike };
|
|
7788
7890
|
};
|
|
7789
7891
|
}
|
|
7790
7892
|
>
|
|
@@ -7805,13 +7907,13 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7805
7907
|
*
|
|
7806
7908
|
* Emits `Refunded` event when successful.
|
|
7807
7909
|
*
|
|
7808
|
-
* @param {
|
|
7910
|
+
* @param {StagingXcmV5Location} id
|
|
7809
7911
|
* @param {MultiAddressLike} who
|
|
7810
7912
|
**/
|
|
7811
7913
|
refundOther: GenericTxCall<
|
|
7812
7914
|
Rv,
|
|
7813
7915
|
(
|
|
7814
|
-
id:
|
|
7916
|
+
id: StagingXcmV5Location,
|
|
7815
7917
|
who: MultiAddressLike,
|
|
7816
7918
|
) => ChainSubmittableExtrinsic<
|
|
7817
7919
|
Rv,
|
|
@@ -7819,7 +7921,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7819
7921
|
pallet: 'ForeignAssets';
|
|
7820
7922
|
palletCall: {
|
|
7821
7923
|
name: 'RefundOther';
|
|
7822
|
-
params: { id:
|
|
7924
|
+
params: { id: StagingXcmV5Location; who: MultiAddressLike };
|
|
7823
7925
|
};
|
|
7824
7926
|
}
|
|
7825
7927
|
>
|
|
@@ -7837,13 +7939,13 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7837
7939
|
*
|
|
7838
7940
|
* Weight: `O(1)`
|
|
7839
7941
|
*
|
|
7840
|
-
* @param {
|
|
7942
|
+
* @param {StagingXcmV5Location} id
|
|
7841
7943
|
* @param {MultiAddressLike} who
|
|
7842
7944
|
**/
|
|
7843
7945
|
block: GenericTxCall<
|
|
7844
7946
|
Rv,
|
|
7845
7947
|
(
|
|
7846
|
-
id:
|
|
7948
|
+
id: StagingXcmV5Location,
|
|
7847
7949
|
who: MultiAddressLike,
|
|
7848
7950
|
) => ChainSubmittableExtrinsic<
|
|
7849
7951
|
Rv,
|
|
@@ -7851,7 +7953,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7851
7953
|
pallet: 'ForeignAssets';
|
|
7852
7954
|
palletCall: {
|
|
7853
7955
|
name: 'Block';
|
|
7854
|
-
params: { id:
|
|
7956
|
+
params: { id: StagingXcmV5Location; who: MultiAddressLike };
|
|
7855
7957
|
};
|
|
7856
7958
|
}
|
|
7857
7959
|
>
|
|
@@ -7875,14 +7977,14 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7875
7977
|
* (false), or transfer everything except at least the minimum balance, which will
|
|
7876
7978
|
* guarantee to keep the sender asset account alive (true).
|
|
7877
7979
|
*
|
|
7878
|
-
* @param {
|
|
7980
|
+
* @param {StagingXcmV5Location} id
|
|
7879
7981
|
* @param {MultiAddressLike} dest
|
|
7880
7982
|
* @param {boolean} keepAlive
|
|
7881
7983
|
**/
|
|
7882
7984
|
transferAll: GenericTxCall<
|
|
7883
7985
|
Rv,
|
|
7884
7986
|
(
|
|
7885
|
-
id:
|
|
7987
|
+
id: StagingXcmV5Location,
|
|
7886
7988
|
dest: MultiAddressLike,
|
|
7887
7989
|
keepAlive: boolean,
|
|
7888
7990
|
) => ChainSubmittableExtrinsic<
|
|
@@ -7891,7 +7993,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7891
7993
|
pallet: 'ForeignAssets';
|
|
7892
7994
|
palletCall: {
|
|
7893
7995
|
name: 'TransferAll';
|
|
7894
|
-
params: { id:
|
|
7996
|
+
params: { id: StagingXcmV5Location; dest: MultiAddressLike; keepAlive: boolean };
|
|
7895
7997
|
};
|
|
7896
7998
|
}
|
|
7897
7999
|
>
|
|
@@ -9123,21 +9225,21 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
9123
9225
|
*
|
|
9124
9226
|
* Once a pool is created, someone may [`Pallet::add_liquidity`] to it.
|
|
9125
9227
|
*
|
|
9126
|
-
* @param {
|
|
9127
|
-
* @param {
|
|
9228
|
+
* @param {StagingXcmV5Location} asset1
|
|
9229
|
+
* @param {StagingXcmV5Location} asset2
|
|
9128
9230
|
**/
|
|
9129
9231
|
createPool: GenericTxCall<
|
|
9130
9232
|
Rv,
|
|
9131
9233
|
(
|
|
9132
|
-
asset1:
|
|
9133
|
-
asset2:
|
|
9234
|
+
asset1: StagingXcmV5Location,
|
|
9235
|
+
asset2: StagingXcmV5Location,
|
|
9134
9236
|
) => ChainSubmittableExtrinsic<
|
|
9135
9237
|
Rv,
|
|
9136
9238
|
{
|
|
9137
9239
|
pallet: 'AssetConversion';
|
|
9138
9240
|
palletCall: {
|
|
9139
9241
|
name: 'CreatePool';
|
|
9140
|
-
params: { asset1:
|
|
9242
|
+
params: { asset1: StagingXcmV5Location; asset2: StagingXcmV5Location };
|
|
9141
9243
|
};
|
|
9142
9244
|
}
|
|
9143
9245
|
>
|
|
@@ -9159,8 +9261,8 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
9159
9261
|
* Once liquidity is added, someone may successfully call
|
|
9160
9262
|
* [`Pallet::swap_exact_tokens_for_tokens`].
|
|
9161
9263
|
*
|
|
9162
|
-
* @param {
|
|
9163
|
-
* @param {
|
|
9264
|
+
* @param {StagingXcmV5Location} asset1
|
|
9265
|
+
* @param {StagingXcmV5Location} asset2
|
|
9164
9266
|
* @param {bigint} amount1Desired
|
|
9165
9267
|
* @param {bigint} amount2Desired
|
|
9166
9268
|
* @param {bigint} amount1Min
|
|
@@ -9170,8 +9272,8 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
9170
9272
|
addLiquidity: GenericTxCall<
|
|
9171
9273
|
Rv,
|
|
9172
9274
|
(
|
|
9173
|
-
asset1:
|
|
9174
|
-
asset2:
|
|
9275
|
+
asset1: StagingXcmV5Location,
|
|
9276
|
+
asset2: StagingXcmV5Location,
|
|
9175
9277
|
amount1Desired: bigint,
|
|
9176
9278
|
amount2Desired: bigint,
|
|
9177
9279
|
amount1Min: bigint,
|
|
@@ -9184,8 +9286,8 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
9184
9286
|
palletCall: {
|
|
9185
9287
|
name: 'AddLiquidity';
|
|
9186
9288
|
params: {
|
|
9187
|
-
asset1:
|
|
9188
|
-
asset2:
|
|
9289
|
+
asset1: StagingXcmV5Location;
|
|
9290
|
+
asset2: StagingXcmV5Location;
|
|
9189
9291
|
amount1Desired: bigint;
|
|
9190
9292
|
amount2Desired: bigint;
|
|
9191
9293
|
amount1Min: bigint;
|
|
@@ -9202,8 +9304,8 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
9202
9304
|
* burned in the process. With the usage of `amount1_min_receive`/`amount2_min_receive`
|
|
9203
9305
|
* it's possible to control the min amount of returned tokens you're happy with.
|
|
9204
9306
|
*
|
|
9205
|
-
* @param {
|
|
9206
|
-
* @param {
|
|
9307
|
+
* @param {StagingXcmV5Location} asset1
|
|
9308
|
+
* @param {StagingXcmV5Location} asset2
|
|
9207
9309
|
* @param {bigint} lpTokenBurn
|
|
9208
9310
|
* @param {bigint} amount1MinReceive
|
|
9209
9311
|
* @param {bigint} amount2MinReceive
|
|
@@ -9212,8 +9314,8 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
9212
9314
|
removeLiquidity: GenericTxCall<
|
|
9213
9315
|
Rv,
|
|
9214
9316
|
(
|
|
9215
|
-
asset1:
|
|
9216
|
-
asset2:
|
|
9317
|
+
asset1: StagingXcmV5Location,
|
|
9318
|
+
asset2: StagingXcmV5Location,
|
|
9217
9319
|
lpTokenBurn: bigint,
|
|
9218
9320
|
amount1MinReceive: bigint,
|
|
9219
9321
|
amount2MinReceive: bigint,
|
|
@@ -9225,8 +9327,8 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
9225
9327
|
palletCall: {
|
|
9226
9328
|
name: 'RemoveLiquidity';
|
|
9227
9329
|
params: {
|
|
9228
|
-
asset1:
|
|
9229
|
-
asset2:
|
|
9330
|
+
asset1: StagingXcmV5Location;
|
|
9331
|
+
asset2: StagingXcmV5Location;
|
|
9230
9332
|
lpTokenBurn: bigint;
|
|
9231
9333
|
amount1MinReceive: bigint;
|
|
9232
9334
|
amount2MinReceive: bigint;
|
|
@@ -9245,7 +9347,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
9245
9347
|
* [`AssetConversionApi::quote_price_exact_tokens_for_tokens`] runtime call can be called
|
|
9246
9348
|
* for a quote.
|
|
9247
9349
|
*
|
|
9248
|
-
* @param {Array<
|
|
9350
|
+
* @param {Array<StagingXcmV5Location>} path
|
|
9249
9351
|
* @param {bigint} amountIn
|
|
9250
9352
|
* @param {bigint} amountOutMin
|
|
9251
9353
|
* @param {AccountId32Like} sendTo
|
|
@@ -9254,7 +9356,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
9254
9356
|
swapExactTokensForTokens: GenericTxCall<
|
|
9255
9357
|
Rv,
|
|
9256
9358
|
(
|
|
9257
|
-
path: Array<
|
|
9359
|
+
path: Array<StagingXcmV5Location>,
|
|
9258
9360
|
amountIn: bigint,
|
|
9259
9361
|
amountOutMin: bigint,
|
|
9260
9362
|
sendTo: AccountId32Like,
|
|
@@ -9266,7 +9368,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
9266
9368
|
palletCall: {
|
|
9267
9369
|
name: 'SwapExactTokensForTokens';
|
|
9268
9370
|
params: {
|
|
9269
|
-
path: Array<
|
|
9371
|
+
path: Array<StagingXcmV5Location>;
|
|
9270
9372
|
amountIn: bigint;
|
|
9271
9373
|
amountOutMin: bigint;
|
|
9272
9374
|
sendTo: AccountId32Like;
|
|
@@ -9285,7 +9387,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
9285
9387
|
* [`AssetConversionApi::quote_price_tokens_for_exact_tokens`] runtime call can be called
|
|
9286
9388
|
* for a quote.
|
|
9287
9389
|
*
|
|
9288
|
-
* @param {Array<
|
|
9390
|
+
* @param {Array<StagingXcmV5Location>} path
|
|
9289
9391
|
* @param {bigint} amountOut
|
|
9290
9392
|
* @param {bigint} amountInMax
|
|
9291
9393
|
* @param {AccountId32Like} sendTo
|
|
@@ -9294,7 +9396,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
9294
9396
|
swapTokensForExactTokens: GenericTxCall<
|
|
9295
9397
|
Rv,
|
|
9296
9398
|
(
|
|
9297
|
-
path: Array<
|
|
9399
|
+
path: Array<StagingXcmV5Location>,
|
|
9298
9400
|
amountOut: bigint,
|
|
9299
9401
|
amountInMax: bigint,
|
|
9300
9402
|
sendTo: AccountId32Like,
|
|
@@ -9306,7 +9408,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
9306
9408
|
palletCall: {
|
|
9307
9409
|
name: 'SwapTokensForExactTokens';
|
|
9308
9410
|
params: {
|
|
9309
|
-
path: Array<
|
|
9411
|
+
path: Array<StagingXcmV5Location>;
|
|
9310
9412
|
amountOut: bigint;
|
|
9311
9413
|
amountInMax: bigint;
|
|
9312
9414
|
sendTo: AccountId32Like;
|
|
@@ -9330,21 +9432,21 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
9330
9432
|
*
|
|
9331
9433
|
* Emits `Touched` event when successful.
|
|
9332
9434
|
*
|
|
9333
|
-
* @param {
|
|
9334
|
-
* @param {
|
|
9435
|
+
* @param {StagingXcmV5Location} asset1
|
|
9436
|
+
* @param {StagingXcmV5Location} asset2
|
|
9335
9437
|
**/
|
|
9336
9438
|
touch: GenericTxCall<
|
|
9337
9439
|
Rv,
|
|
9338
9440
|
(
|
|
9339
|
-
asset1:
|
|
9340
|
-
asset2:
|
|
9441
|
+
asset1: StagingXcmV5Location,
|
|
9442
|
+
asset2: StagingXcmV5Location,
|
|
9341
9443
|
) => ChainSubmittableExtrinsic<
|
|
9342
9444
|
Rv,
|
|
9343
9445
|
{
|
|
9344
9446
|
pallet: 'AssetConversion';
|
|
9345
9447
|
palletCall: {
|
|
9346
9448
|
name: 'Touch';
|
|
9347
|
-
params: { asset1:
|
|
9449
|
+
params: { asset1: StagingXcmV5Location; asset2: StagingXcmV5Location };
|
|
9348
9450
|
};
|
|
9349
9451
|
}
|
|
9350
9452
|
>
|