@dedot/chaintypes 0.35.0 → 0.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/kusama/index.d.ts +1 -1
- package/kusama-asset-hub/consts.d.ts +2 -2
- package/kusama-asset-hub/events.d.ts +34 -76
- package/kusama-asset-hub/index.d.ts +1 -1
- package/kusama-asset-hub/query.d.ts +17 -25
- package/kusama-asset-hub/runtime.d.ts +12 -15
- package/kusama-asset-hub/tx.d.ts +124 -140
- package/kusama-asset-hub/types.d.ts +183 -295
- package/package.json +2 -2
- package/paseo/consts.d.ts +9 -0
- package/paseo/events.d.ts +38 -0
- package/paseo/index.d.ts +1 -1
- package/paseo/query.d.ts +23 -0
- package/paseo/runtime.d.ts +20 -0
- package/paseo/tx.d.ts +32 -0
- package/paseo/types.d.ts +99 -0
- package/polkadot/index.d.ts +1 -1
- package/polkadot-asset-hub/consts.d.ts +2 -2
- package/polkadot-asset-hub/events.d.ts +34 -76
- package/polkadot-asset-hub/index.d.ts +1 -1
- package/polkadot-asset-hub/query.d.ts +17 -25
- package/polkadot-asset-hub/runtime.d.ts +12 -15
- package/polkadot-asset-hub/tx.d.ts +124 -140
- package/polkadot-asset-hub/types.d.ts +183 -295
- package/westend-asset-hub/consts.d.ts +2 -2
- package/westend-asset-hub/events.d.ts +64 -64
- package/westend-asset-hub/index.d.ts +1 -1
- package/westend-asset-hub/query.d.ts +26 -26
- package/westend-asset-hub/runtime.d.ts +12 -12
- package/westend-asset-hub/tx.d.ts +136 -136
- package/westend-asset-hub/types.d.ts +462 -426
|
@@ -263,54 +263,39 @@ export type PalletAssetConversionTxPaymentEvent =
|
|
|
263
263
|
**/
|
|
264
264
|
| {
|
|
265
265
|
name: 'AssetTxFeePaid';
|
|
266
|
-
data: { who: AccountId32; actualFee: bigint; tip: bigint; assetId:
|
|
266
|
+
data: { who: AccountId32; actualFee: bigint; tip: bigint; assetId: StagingXcmV4Location };
|
|
267
267
|
}
|
|
268
268
|
/**
|
|
269
269
|
* A swap of the refund in native currency back to asset failed.
|
|
270
270
|
**/
|
|
271
271
|
| { name: 'AssetRefundFailed'; data: { nativeAmountKept: bigint } };
|
|
272
272
|
|
|
273
|
-
export type
|
|
273
|
+
export type StagingXcmV4Location = { parents: number; interior: StagingXcmV4Junctions };
|
|
274
274
|
|
|
275
|
-
export type
|
|
275
|
+
export type StagingXcmV4Junctions =
|
|
276
276
|
| { type: 'Here' }
|
|
277
|
-
| { type: 'X1'; value:
|
|
278
|
-
| { type: 'X2'; value:
|
|
279
|
-
| { type: 'X3'; value:
|
|
280
|
-
| { type: 'X4'; value:
|
|
281
|
-
| { type: 'X5'; value:
|
|
282
|
-
| { type: 'X6'; value:
|
|
283
|
-
| {
|
|
284
|
-
|
|
285
|
-
value: [XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction];
|
|
286
|
-
}
|
|
287
|
-
| {
|
|
288
|
-
type: 'X8';
|
|
289
|
-
value: [
|
|
290
|
-
XcmV3Junction,
|
|
291
|
-
XcmV3Junction,
|
|
292
|
-
XcmV3Junction,
|
|
293
|
-
XcmV3Junction,
|
|
294
|
-
XcmV3Junction,
|
|
295
|
-
XcmV3Junction,
|
|
296
|
-
XcmV3Junction,
|
|
297
|
-
XcmV3Junction,
|
|
298
|
-
];
|
|
299
|
-
};
|
|
277
|
+
| { type: 'X1'; value: FixedArray<StagingXcmV4Junction, 1> }
|
|
278
|
+
| { type: 'X2'; value: FixedArray<StagingXcmV4Junction, 2> }
|
|
279
|
+
| { type: 'X3'; value: FixedArray<StagingXcmV4Junction, 3> }
|
|
280
|
+
| { type: 'X4'; value: FixedArray<StagingXcmV4Junction, 4> }
|
|
281
|
+
| { type: 'X5'; value: FixedArray<StagingXcmV4Junction, 5> }
|
|
282
|
+
| { type: 'X6'; value: FixedArray<StagingXcmV4Junction, 6> }
|
|
283
|
+
| { type: 'X7'; value: FixedArray<StagingXcmV4Junction, 7> }
|
|
284
|
+
| { type: 'X8'; value: FixedArray<StagingXcmV4Junction, 8> };
|
|
300
285
|
|
|
301
|
-
export type
|
|
286
|
+
export type StagingXcmV4Junction =
|
|
302
287
|
| { type: 'Parachain'; value: number }
|
|
303
|
-
| { type: 'AccountId32'; value: { network?:
|
|
304
|
-
| { type: 'AccountIndex64'; value: { network?:
|
|
305
|
-
| { type: 'AccountKey20'; value: { network?:
|
|
288
|
+
| { type: 'AccountId32'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; id: FixedBytes<32> } }
|
|
289
|
+
| { type: 'AccountIndex64'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; index: bigint } }
|
|
290
|
+
| { type: 'AccountKey20'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; key: FixedBytes<20> } }
|
|
306
291
|
| { type: 'PalletInstance'; value: number }
|
|
307
292
|
| { type: 'GeneralIndex'; value: bigint }
|
|
308
293
|
| { type: 'GeneralKey'; value: { length: number; data: FixedBytes<32> } }
|
|
309
294
|
| { type: 'OnlyChild' }
|
|
310
295
|
| { type: 'Plurality'; value: { id: XcmV3JunctionBodyId; part: XcmV3JunctionBodyPart } }
|
|
311
|
-
| { type: 'GlobalConsensus'; value:
|
|
296
|
+
| { type: 'GlobalConsensus'; value: StagingXcmV4JunctionNetworkId };
|
|
312
297
|
|
|
313
|
-
export type
|
|
298
|
+
export type StagingXcmV4JunctionNetworkId =
|
|
314
299
|
| { type: 'ByGenesis'; value: FixedBytes<32> }
|
|
315
300
|
| { type: 'ByFork'; value: { blockNumber: bigint; blockHash: FixedBytes<32> } }
|
|
316
301
|
| { type: 'Polkadot' }
|
|
@@ -646,44 +631,6 @@ export type XcmV3TraitsError =
|
|
|
646
631
|
| { type: 'WeightNotComputable' }
|
|
647
632
|
| { type: 'ExceedsStackLimit' };
|
|
648
633
|
|
|
649
|
-
export type StagingXcmV4Location = { parents: number; interior: StagingXcmV4Junctions };
|
|
650
|
-
|
|
651
|
-
export type StagingXcmV4Junctions =
|
|
652
|
-
| { type: 'Here' }
|
|
653
|
-
| { type: 'X1'; value: FixedArray<StagingXcmV4Junction, 1> }
|
|
654
|
-
| { type: 'X2'; value: FixedArray<StagingXcmV4Junction, 2> }
|
|
655
|
-
| { type: 'X3'; value: FixedArray<StagingXcmV4Junction, 3> }
|
|
656
|
-
| { type: 'X4'; value: FixedArray<StagingXcmV4Junction, 4> }
|
|
657
|
-
| { type: 'X5'; value: FixedArray<StagingXcmV4Junction, 5> }
|
|
658
|
-
| { type: 'X6'; value: FixedArray<StagingXcmV4Junction, 6> }
|
|
659
|
-
| { type: 'X7'; value: FixedArray<StagingXcmV4Junction, 7> }
|
|
660
|
-
| { type: 'X8'; value: FixedArray<StagingXcmV4Junction, 8> };
|
|
661
|
-
|
|
662
|
-
export type StagingXcmV4Junction =
|
|
663
|
-
| { type: 'Parachain'; value: number }
|
|
664
|
-
| { type: 'AccountId32'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; id: FixedBytes<32> } }
|
|
665
|
-
| { type: 'AccountIndex64'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; index: bigint } }
|
|
666
|
-
| { type: 'AccountKey20'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; key: FixedBytes<20> } }
|
|
667
|
-
| { type: 'PalletInstance'; value: number }
|
|
668
|
-
| { type: 'GeneralIndex'; value: bigint }
|
|
669
|
-
| { type: 'GeneralKey'; value: { length: number; data: FixedBytes<32> } }
|
|
670
|
-
| { type: 'OnlyChild' }
|
|
671
|
-
| { type: 'Plurality'; value: { id: XcmV3JunctionBodyId; part: XcmV3JunctionBodyPart } }
|
|
672
|
-
| { type: 'GlobalConsensus'; value: StagingXcmV4JunctionNetworkId };
|
|
673
|
-
|
|
674
|
-
export type StagingXcmV4JunctionNetworkId =
|
|
675
|
-
| { type: 'ByGenesis'; value: FixedBytes<32> }
|
|
676
|
-
| { type: 'ByFork'; value: { blockNumber: bigint; blockHash: FixedBytes<32> } }
|
|
677
|
-
| { type: 'Polkadot' }
|
|
678
|
-
| { type: 'Kusama' }
|
|
679
|
-
| { type: 'Westend' }
|
|
680
|
-
| { type: 'Rococo' }
|
|
681
|
-
| { type: 'Wococo' }
|
|
682
|
-
| { type: 'Ethereum'; value: { chainId: bigint } }
|
|
683
|
-
| { type: 'BitcoinCore' }
|
|
684
|
-
| { type: 'BitcoinCash' }
|
|
685
|
-
| { type: 'PolkadotBulletin' };
|
|
686
|
-
|
|
687
634
|
export type StagingXcmV4Xcm = Array<StagingXcmV4Instruction>;
|
|
688
635
|
|
|
689
636
|
export type StagingXcmV4Instruction =
|
|
@@ -939,6 +886,59 @@ export type XcmV3MultiassetAssetId =
|
|
|
939
886
|
| { type: 'Concrete'; value: StagingXcmV3MultilocationMultiLocation }
|
|
940
887
|
| { type: 'Abstract'; value: FixedBytes<32> };
|
|
941
888
|
|
|
889
|
+
export type StagingXcmV3MultilocationMultiLocation = { parents: number; interior: XcmV3Junctions };
|
|
890
|
+
|
|
891
|
+
export type XcmV3Junctions =
|
|
892
|
+
| { type: 'Here' }
|
|
893
|
+
| { type: 'X1'; value: XcmV3Junction }
|
|
894
|
+
| { type: 'X2'; value: [XcmV3Junction, XcmV3Junction] }
|
|
895
|
+
| { type: 'X3'; value: [XcmV3Junction, XcmV3Junction, XcmV3Junction] }
|
|
896
|
+
| { type: 'X4'; value: [XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction] }
|
|
897
|
+
| { type: 'X5'; value: [XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction] }
|
|
898
|
+
| { type: 'X6'; value: [XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction] }
|
|
899
|
+
| {
|
|
900
|
+
type: 'X7';
|
|
901
|
+
value: [XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction];
|
|
902
|
+
}
|
|
903
|
+
| {
|
|
904
|
+
type: 'X8';
|
|
905
|
+
value: [
|
|
906
|
+
XcmV3Junction,
|
|
907
|
+
XcmV3Junction,
|
|
908
|
+
XcmV3Junction,
|
|
909
|
+
XcmV3Junction,
|
|
910
|
+
XcmV3Junction,
|
|
911
|
+
XcmV3Junction,
|
|
912
|
+
XcmV3Junction,
|
|
913
|
+
XcmV3Junction,
|
|
914
|
+
];
|
|
915
|
+
};
|
|
916
|
+
|
|
917
|
+
export type XcmV3Junction =
|
|
918
|
+
| { type: 'Parachain'; value: number }
|
|
919
|
+
| { type: 'AccountId32'; value: { network?: XcmV3JunctionNetworkId | undefined; id: FixedBytes<32> } }
|
|
920
|
+
| { type: 'AccountIndex64'; value: { network?: XcmV3JunctionNetworkId | undefined; index: bigint } }
|
|
921
|
+
| { type: 'AccountKey20'; value: { network?: XcmV3JunctionNetworkId | undefined; key: FixedBytes<20> } }
|
|
922
|
+
| { type: 'PalletInstance'; value: number }
|
|
923
|
+
| { type: 'GeneralIndex'; value: bigint }
|
|
924
|
+
| { type: 'GeneralKey'; value: { length: number; data: FixedBytes<32> } }
|
|
925
|
+
| { type: 'OnlyChild' }
|
|
926
|
+
| { type: 'Plurality'; value: { id: XcmV3JunctionBodyId; part: XcmV3JunctionBodyPart } }
|
|
927
|
+
| { type: 'GlobalConsensus'; value: XcmV3JunctionNetworkId };
|
|
928
|
+
|
|
929
|
+
export type XcmV3JunctionNetworkId =
|
|
930
|
+
| { type: 'ByGenesis'; value: FixedBytes<32> }
|
|
931
|
+
| { type: 'ByFork'; value: { blockNumber: bigint; blockHash: FixedBytes<32> } }
|
|
932
|
+
| { type: 'Polkadot' }
|
|
933
|
+
| { type: 'Kusama' }
|
|
934
|
+
| { type: 'Westend' }
|
|
935
|
+
| { type: 'Rococo' }
|
|
936
|
+
| { type: 'Wococo' }
|
|
937
|
+
| { type: 'Ethereum'; value: { chainId: bigint } }
|
|
938
|
+
| { type: 'BitcoinCore' }
|
|
939
|
+
| { type: 'BitcoinCash' }
|
|
940
|
+
| { type: 'PolkadotBulletin' };
|
|
941
|
+
|
|
942
942
|
export type XcmV3MultiassetFungibility =
|
|
943
943
|
| { type: 'Fungible'; value: bigint }
|
|
944
944
|
| { type: 'NonFungible'; value: XcmV3MultiassetAssetInstance };
|
|
@@ -1726,119 +1726,94 @@ export type PalletAssetsEvent002 =
|
|
|
1726
1726
|
/**
|
|
1727
1727
|
* Some asset class was created.
|
|
1728
1728
|
**/
|
|
1729
|
-
| {
|
|
1730
|
-
name: 'Created';
|
|
1731
|
-
data: { assetId: StagingXcmV3MultilocationMultiLocation; creator: AccountId32; owner: AccountId32 };
|
|
1732
|
-
}
|
|
1729
|
+
| { name: 'Created'; data: { assetId: StagingXcmV4Location; creator: AccountId32; owner: AccountId32 } }
|
|
1733
1730
|
/**
|
|
1734
1731
|
* Some assets were issued.
|
|
1735
1732
|
**/
|
|
1736
|
-
| { name: 'Issued'; data: { assetId:
|
|
1733
|
+
| { name: 'Issued'; data: { assetId: StagingXcmV4Location; owner: AccountId32; amount: bigint } }
|
|
1737
1734
|
/**
|
|
1738
1735
|
* Some assets were transferred.
|
|
1739
1736
|
**/
|
|
1740
|
-
| {
|
|
1741
|
-
name: 'Transferred';
|
|
1742
|
-
data: { assetId: StagingXcmV3MultilocationMultiLocation; from: AccountId32; to: AccountId32; amount: bigint };
|
|
1743
|
-
}
|
|
1737
|
+
| { name: 'Transferred'; data: { assetId: StagingXcmV4Location; from: AccountId32; to: AccountId32; amount: bigint } }
|
|
1744
1738
|
/**
|
|
1745
1739
|
* Some assets were destroyed.
|
|
1746
1740
|
**/
|
|
1747
|
-
| { name: 'Burned'; data: { assetId:
|
|
1741
|
+
| { name: 'Burned'; data: { assetId: StagingXcmV4Location; owner: AccountId32; balance: bigint } }
|
|
1748
1742
|
/**
|
|
1749
1743
|
* The management team changed.
|
|
1750
1744
|
**/
|
|
1751
1745
|
| {
|
|
1752
1746
|
name: 'TeamChanged';
|
|
1753
|
-
data: {
|
|
1754
|
-
assetId: StagingXcmV3MultilocationMultiLocation;
|
|
1755
|
-
issuer: AccountId32;
|
|
1756
|
-
admin: AccountId32;
|
|
1757
|
-
freezer: AccountId32;
|
|
1758
|
-
};
|
|
1747
|
+
data: { assetId: StagingXcmV4Location; issuer: AccountId32; admin: AccountId32; freezer: AccountId32 };
|
|
1759
1748
|
}
|
|
1760
1749
|
/**
|
|
1761
1750
|
* The owner changed.
|
|
1762
1751
|
**/
|
|
1763
|
-
| { name: 'OwnerChanged'; data: { assetId:
|
|
1752
|
+
| { name: 'OwnerChanged'; data: { assetId: StagingXcmV4Location; owner: AccountId32 } }
|
|
1764
1753
|
/**
|
|
1765
1754
|
* Some account `who` was frozen.
|
|
1766
1755
|
**/
|
|
1767
|
-
| { name: 'Frozen'; data: { assetId:
|
|
1756
|
+
| { name: 'Frozen'; data: { assetId: StagingXcmV4Location; who: AccountId32 } }
|
|
1768
1757
|
/**
|
|
1769
1758
|
* Some account `who` was thawed.
|
|
1770
1759
|
**/
|
|
1771
|
-
| { name: 'Thawed'; data: { assetId:
|
|
1760
|
+
| { name: 'Thawed'; data: { assetId: StagingXcmV4Location; who: AccountId32 } }
|
|
1772
1761
|
/**
|
|
1773
1762
|
* Some asset `asset_id` was frozen.
|
|
1774
1763
|
**/
|
|
1775
|
-
| { name: 'AssetFrozen'; data: { assetId:
|
|
1764
|
+
| { name: 'AssetFrozen'; data: { assetId: StagingXcmV4Location } }
|
|
1776
1765
|
/**
|
|
1777
1766
|
* Some asset `asset_id` was thawed.
|
|
1778
1767
|
**/
|
|
1779
|
-
| { name: 'AssetThawed'; data: { assetId:
|
|
1768
|
+
| { name: 'AssetThawed'; data: { assetId: StagingXcmV4Location } }
|
|
1780
1769
|
/**
|
|
1781
1770
|
* Accounts were destroyed for given asset.
|
|
1782
1771
|
**/
|
|
1783
1772
|
| {
|
|
1784
1773
|
name: 'AccountsDestroyed';
|
|
1785
|
-
data: { assetId:
|
|
1774
|
+
data: { assetId: StagingXcmV4Location; accountsDestroyed: number; accountsRemaining: number };
|
|
1786
1775
|
}
|
|
1787
1776
|
/**
|
|
1788
1777
|
* Approvals were destroyed for given asset.
|
|
1789
1778
|
**/
|
|
1790
1779
|
| {
|
|
1791
1780
|
name: 'ApprovalsDestroyed';
|
|
1792
|
-
data: { assetId:
|
|
1781
|
+
data: { assetId: StagingXcmV4Location; approvalsDestroyed: number; approvalsRemaining: number };
|
|
1793
1782
|
}
|
|
1794
1783
|
/**
|
|
1795
1784
|
* An asset class is in the process of being destroyed.
|
|
1796
1785
|
**/
|
|
1797
|
-
| { name: 'DestructionStarted'; data: { assetId:
|
|
1786
|
+
| { name: 'DestructionStarted'; data: { assetId: StagingXcmV4Location } }
|
|
1798
1787
|
/**
|
|
1799
1788
|
* An asset class was destroyed.
|
|
1800
1789
|
**/
|
|
1801
|
-
| { name: 'Destroyed'; data: { assetId:
|
|
1790
|
+
| { name: 'Destroyed'; data: { assetId: StagingXcmV4Location } }
|
|
1802
1791
|
/**
|
|
1803
1792
|
* Some asset class was force-created.
|
|
1804
1793
|
**/
|
|
1805
|
-
| { name: 'ForceCreated'; data: { assetId:
|
|
1794
|
+
| { name: 'ForceCreated'; data: { assetId: StagingXcmV4Location; owner: AccountId32 } }
|
|
1806
1795
|
/**
|
|
1807
1796
|
* New metadata has been set for an asset.
|
|
1808
1797
|
**/
|
|
1809
1798
|
| {
|
|
1810
1799
|
name: 'MetadataSet';
|
|
1811
|
-
data: {
|
|
1812
|
-
assetId: StagingXcmV3MultilocationMultiLocation;
|
|
1813
|
-
name: Bytes;
|
|
1814
|
-
symbol: Bytes;
|
|
1815
|
-
decimals: number;
|
|
1816
|
-
isFrozen: boolean;
|
|
1817
|
-
};
|
|
1800
|
+
data: { assetId: StagingXcmV4Location; name: Bytes; symbol: Bytes; decimals: number; isFrozen: boolean };
|
|
1818
1801
|
}
|
|
1819
1802
|
/**
|
|
1820
1803
|
* Metadata has been cleared for an asset.
|
|
1821
1804
|
**/
|
|
1822
|
-
| { name: 'MetadataCleared'; data: { assetId:
|
|
1805
|
+
| { name: 'MetadataCleared'; data: { assetId: StagingXcmV4Location } }
|
|
1823
1806
|
/**
|
|
1824
1807
|
* (Additional) funds have been approved for transfer to a destination account.
|
|
1825
1808
|
**/
|
|
1826
1809
|
| {
|
|
1827
1810
|
name: 'ApprovedTransfer';
|
|
1828
|
-
data: {
|
|
1829
|
-
assetId: StagingXcmV3MultilocationMultiLocation;
|
|
1830
|
-
source: AccountId32;
|
|
1831
|
-
delegate: AccountId32;
|
|
1832
|
-
amount: bigint;
|
|
1833
|
-
};
|
|
1811
|
+
data: { assetId: StagingXcmV4Location; source: AccountId32; delegate: AccountId32; amount: bigint };
|
|
1834
1812
|
}
|
|
1835
1813
|
/**
|
|
1836
1814
|
* An approval for account `delegate` was cancelled by `owner`.
|
|
1837
1815
|
**/
|
|
1838
|
-
| {
|
|
1839
|
-
name: 'ApprovalCancelled';
|
|
1840
|
-
data: { assetId: StagingXcmV3MultilocationMultiLocation; owner: AccountId32; delegate: AccountId32 };
|
|
1841
|
-
}
|
|
1816
|
+
| { name: 'ApprovalCancelled'; data: { assetId: StagingXcmV4Location; owner: AccountId32; delegate: AccountId32 } }
|
|
1842
1817
|
/**
|
|
1843
1818
|
* An `amount` was transferred in its entirety from `owner` to `destination` by
|
|
1844
1819
|
* the approved `delegate`.
|
|
@@ -1846,7 +1821,7 @@ export type PalletAssetsEvent002 =
|
|
|
1846
1821
|
| {
|
|
1847
1822
|
name: 'TransferredApproved';
|
|
1848
1823
|
data: {
|
|
1849
|
-
assetId:
|
|
1824
|
+
assetId: StagingXcmV4Location;
|
|
1850
1825
|
owner: AccountId32;
|
|
1851
1826
|
delegate: AccountId32;
|
|
1852
1827
|
destination: AccountId32;
|
|
@@ -1856,30 +1831,27 @@ export type PalletAssetsEvent002 =
|
|
|
1856
1831
|
/**
|
|
1857
1832
|
* An asset has had its attributes changed by the `Force` origin.
|
|
1858
1833
|
**/
|
|
1859
|
-
| { name: 'AssetStatusChanged'; data: { assetId:
|
|
1834
|
+
| { name: 'AssetStatusChanged'; data: { assetId: StagingXcmV4Location } }
|
|
1860
1835
|
/**
|
|
1861
1836
|
* The min_balance of an asset has been updated by the asset owner.
|
|
1862
1837
|
**/
|
|
1863
|
-
| { name: 'AssetMinBalanceChanged'; data: { assetId:
|
|
1838
|
+
| { name: 'AssetMinBalanceChanged'; data: { assetId: StagingXcmV4Location; newMinBalance: bigint } }
|
|
1864
1839
|
/**
|
|
1865
1840
|
* Some account `who` was created with a deposit from `depositor`.
|
|
1866
1841
|
**/
|
|
1867
|
-
| {
|
|
1868
|
-
name: 'Touched';
|
|
1869
|
-
data: { assetId: StagingXcmV3MultilocationMultiLocation; who: AccountId32; depositor: AccountId32 };
|
|
1870
|
-
}
|
|
1842
|
+
| { name: 'Touched'; data: { assetId: StagingXcmV4Location; who: AccountId32; depositor: AccountId32 } }
|
|
1871
1843
|
/**
|
|
1872
1844
|
* Some account `who` was blocked.
|
|
1873
1845
|
**/
|
|
1874
|
-
| { name: 'Blocked'; data: { assetId:
|
|
1846
|
+
| { name: 'Blocked'; data: { assetId: StagingXcmV4Location; who: AccountId32 } }
|
|
1875
1847
|
/**
|
|
1876
1848
|
* Some assets were deposited (e.g. for transaction fees).
|
|
1877
1849
|
**/
|
|
1878
|
-
| { name: 'Deposited'; data: { assetId:
|
|
1850
|
+
| { name: 'Deposited'; data: { assetId: StagingXcmV4Location; who: AccountId32; amount: bigint } }
|
|
1879
1851
|
/**
|
|
1880
1852
|
* Some assets were withdrawn from the account (e.g. for transaction fees).
|
|
1881
1853
|
**/
|
|
1882
|
-
| { name: 'Withdrawn'; data: { assetId:
|
|
1854
|
+
| { name: 'Withdrawn'; data: { assetId: StagingXcmV4Location; who: AccountId32; amount: bigint } };
|
|
1883
1855
|
|
|
1884
1856
|
/**
|
|
1885
1857
|
* The `Event` enum of this pallet
|
|
@@ -1916,7 +1888,7 @@ export type PalletAssetConversionEvent =
|
|
|
1916
1888
|
* The pool id associated with the pool. Note that the order of the assets may not be
|
|
1917
1889
|
* the same as the order specified in the create pool extrinsic.
|
|
1918
1890
|
**/
|
|
1919
|
-
poolId: [
|
|
1891
|
+
poolId: [StagingXcmV4Location, StagingXcmV4Location];
|
|
1920
1892
|
|
|
1921
1893
|
/**
|
|
1922
1894
|
* The account ID of the pool.
|
|
@@ -1949,7 +1921,7 @@ export type PalletAssetConversionEvent =
|
|
|
1949
1921
|
/**
|
|
1950
1922
|
* The pool id of the pool that the liquidity was added to.
|
|
1951
1923
|
**/
|
|
1952
|
-
poolId: [
|
|
1924
|
+
poolId: [StagingXcmV4Location, StagingXcmV4Location];
|
|
1953
1925
|
|
|
1954
1926
|
/**
|
|
1955
1927
|
* The amount of the first asset that was added to the pool.
|
|
@@ -1991,7 +1963,7 @@ export type PalletAssetConversionEvent =
|
|
|
1991
1963
|
/**
|
|
1992
1964
|
* The pool id that the liquidity was removed from.
|
|
1993
1965
|
**/
|
|
1994
|
-
poolId: [
|
|
1966
|
+
poolId: [StagingXcmV4Location, StagingXcmV4Location];
|
|
1995
1967
|
|
|
1996
1968
|
/**
|
|
1997
1969
|
* The amount of the first asset that was removed from the pool.
|
|
@@ -2050,7 +2022,7 @@ export type PalletAssetConversionEvent =
|
|
|
2050
2022
|
* The route of asset IDs with amounts that the swap went through.
|
|
2051
2023
|
* E.g. (A, amount_in) -> (Dot, amount_out) -> (B, amount_out)
|
|
2052
2024
|
**/
|
|
2053
|
-
path: Array<[
|
|
2025
|
+
path: Array<[StagingXcmV4Location, bigint]>;
|
|
2054
2026
|
};
|
|
2055
2027
|
}
|
|
2056
2028
|
/**
|
|
@@ -2073,7 +2045,7 @@ export type PalletAssetConversionEvent =
|
|
|
2073
2045
|
* The route of asset IDs with amounts that the swap went through.
|
|
2074
2046
|
* E.g. (A, amount_in) -> (Dot, amount_out) -> (B, amount_out)
|
|
2075
2047
|
**/
|
|
2076
|
-
path: Array<[
|
|
2048
|
+
path: Array<[StagingXcmV4Location, bigint]>;
|
|
2077
2049
|
};
|
|
2078
2050
|
}
|
|
2079
2051
|
/**
|
|
@@ -2085,7 +2057,7 @@ export type PalletAssetConversionEvent =
|
|
|
2085
2057
|
/**
|
|
2086
2058
|
* The ID of the pool.
|
|
2087
2059
|
**/
|
|
2088
|
-
poolId: [
|
|
2060
|
+
poolId: [StagingXcmV4Location, StagingXcmV4Location];
|
|
2089
2061
|
|
|
2090
2062
|
/**
|
|
2091
2063
|
* The account initiating the touch.
|
|
@@ -9104,7 +9076,7 @@ export type PalletAssetsCall002 =
|
|
|
9104
9076
|
*
|
|
9105
9077
|
* Weight: `O(1)`
|
|
9106
9078
|
**/
|
|
9107
|
-
| { name: 'Create'; params: { id:
|
|
9079
|
+
| { name: 'Create'; params: { id: StagingXcmV4Location; admin: MultiAddress; minBalance: bigint } }
|
|
9108
9080
|
/**
|
|
9109
9081
|
* Issue a new class of fungible assets from a privileged origin.
|
|
9110
9082
|
*
|
|
@@ -9128,12 +9100,7 @@ export type PalletAssetsCall002 =
|
|
|
9128
9100
|
**/
|
|
9129
9101
|
| {
|
|
9130
9102
|
name: 'ForceCreate';
|
|
9131
|
-
params: {
|
|
9132
|
-
id: StagingXcmV3MultilocationMultiLocation;
|
|
9133
|
-
owner: MultiAddress;
|
|
9134
|
-
isSufficient: boolean;
|
|
9135
|
-
minBalance: bigint;
|
|
9136
|
-
};
|
|
9103
|
+
params: { id: StagingXcmV4Location; owner: MultiAddress; isSufficient: boolean; minBalance: bigint };
|
|
9137
9104
|
}
|
|
9138
9105
|
/**
|
|
9139
9106
|
* Start the process of destroying a fungible asset class.
|
|
@@ -9148,7 +9115,7 @@ export type PalletAssetsCall002 =
|
|
|
9148
9115
|
*
|
|
9149
9116
|
* The asset class must be frozen before calling `start_destroy`.
|
|
9150
9117
|
**/
|
|
9151
|
-
| { name: 'StartDestroy'; params: { id:
|
|
9118
|
+
| { name: 'StartDestroy'; params: { id: StagingXcmV4Location } }
|
|
9152
9119
|
/**
|
|
9153
9120
|
* Destroy all accounts associated with a given asset.
|
|
9154
9121
|
*
|
|
@@ -9163,7 +9130,7 @@ export type PalletAssetsCall002 =
|
|
|
9163
9130
|
*
|
|
9164
9131
|
* Each call emits the `Event::DestroyedAccounts` event.
|
|
9165
9132
|
**/
|
|
9166
|
-
| { name: 'DestroyAccounts'; params: { id:
|
|
9133
|
+
| { name: 'DestroyAccounts'; params: { id: StagingXcmV4Location } }
|
|
9167
9134
|
/**
|
|
9168
9135
|
* Destroy all approvals associated with a given asset up to the max (T::RemoveItemsLimit).
|
|
9169
9136
|
*
|
|
@@ -9178,7 +9145,7 @@ export type PalletAssetsCall002 =
|
|
|
9178
9145
|
*
|
|
9179
9146
|
* Each call emits the `Event::DestroyedApprovals` event.
|
|
9180
9147
|
**/
|
|
9181
|
-
| { name: 'DestroyApprovals'; params: { id:
|
|
9148
|
+
| { name: 'DestroyApprovals'; params: { id: StagingXcmV4Location } }
|
|
9182
9149
|
/**
|
|
9183
9150
|
* Complete destroying asset and unreserve currency.
|
|
9184
9151
|
*
|
|
@@ -9191,7 +9158,7 @@ export type PalletAssetsCall002 =
|
|
|
9191
9158
|
*
|
|
9192
9159
|
* Each successful call emits the `Event::Destroyed` event.
|
|
9193
9160
|
**/
|
|
9194
|
-
| { name: 'FinishDestroy'; params: { id:
|
|
9161
|
+
| { name: 'FinishDestroy'; params: { id: StagingXcmV4Location } }
|
|
9195
9162
|
/**
|
|
9196
9163
|
* Mint assets of a particular class.
|
|
9197
9164
|
*
|
|
@@ -9206,7 +9173,7 @@ export type PalletAssetsCall002 =
|
|
|
9206
9173
|
* Weight: `O(1)`
|
|
9207
9174
|
* Modes: Pre-existing balance of `beneficiary`; Account pre-existence of `beneficiary`.
|
|
9208
9175
|
**/
|
|
9209
|
-
| { name: 'Mint'; params: { id:
|
|
9176
|
+
| { name: 'Mint'; params: { id: StagingXcmV4Location; beneficiary: MultiAddress; amount: bigint } }
|
|
9210
9177
|
/**
|
|
9211
9178
|
* Reduce the balance of `who` by as much as possible up to `amount` assets of `id`.
|
|
9212
9179
|
*
|
|
@@ -9224,7 +9191,7 @@ export type PalletAssetsCall002 =
|
|
|
9224
9191
|
* Weight: `O(1)`
|
|
9225
9192
|
* Modes: Post-existence of `who`; Pre & post Zombie-status of `who`.
|
|
9226
9193
|
**/
|
|
9227
|
-
| { name: 'Burn'; params: { id:
|
|
9194
|
+
| { name: 'Burn'; params: { id: StagingXcmV4Location; who: MultiAddress; amount: bigint } }
|
|
9228
9195
|
/**
|
|
9229
9196
|
* Move some assets from the sender account to another.
|
|
9230
9197
|
*
|
|
@@ -9245,7 +9212,7 @@ export type PalletAssetsCall002 =
|
|
|
9245
9212
|
* Modes: Pre-existence of `target`; Post-existence of sender; Account pre-existence of
|
|
9246
9213
|
* `target`.
|
|
9247
9214
|
**/
|
|
9248
|
-
| { name: 'Transfer'; params: { id:
|
|
9215
|
+
| { name: 'Transfer'; params: { id: StagingXcmV4Location; target: MultiAddress; amount: bigint } }
|
|
9249
9216
|
/**
|
|
9250
9217
|
* Move some assets from the sender account to another, keeping the sender account alive.
|
|
9251
9218
|
*
|
|
@@ -9266,10 +9233,7 @@ export type PalletAssetsCall002 =
|
|
|
9266
9233
|
* Modes: Pre-existence of `target`; Post-existence of sender; Account pre-existence of
|
|
9267
9234
|
* `target`.
|
|
9268
9235
|
**/
|
|
9269
|
-
| {
|
|
9270
|
-
name: 'TransferKeepAlive';
|
|
9271
|
-
params: { id: StagingXcmV3MultilocationMultiLocation; target: MultiAddress; amount: bigint };
|
|
9272
|
-
}
|
|
9236
|
+
| { name: 'TransferKeepAlive'; params: { id: StagingXcmV4Location; target: MultiAddress; amount: bigint } }
|
|
9273
9237
|
/**
|
|
9274
9238
|
* Move some assets from one account to another.
|
|
9275
9239
|
*
|
|
@@ -9293,7 +9257,7 @@ export type PalletAssetsCall002 =
|
|
|
9293
9257
|
**/
|
|
9294
9258
|
| {
|
|
9295
9259
|
name: 'ForceTransfer';
|
|
9296
|
-
params: { id:
|
|
9260
|
+
params: { id: StagingXcmV4Location; source: MultiAddress; dest: MultiAddress; amount: bigint };
|
|
9297
9261
|
}
|
|
9298
9262
|
/**
|
|
9299
9263
|
* Disallow further unprivileged transfers of an asset `id` from an account `who`. `who`
|
|
@@ -9309,7 +9273,7 @@ export type PalletAssetsCall002 =
|
|
|
9309
9273
|
*
|
|
9310
9274
|
* Weight: `O(1)`
|
|
9311
9275
|
**/
|
|
9312
|
-
| { name: 'Freeze'; params: { id:
|
|
9276
|
+
| { name: 'Freeze'; params: { id: StagingXcmV4Location; who: MultiAddress } }
|
|
9313
9277
|
/**
|
|
9314
9278
|
* Allow unprivileged transfers to and from an account again.
|
|
9315
9279
|
*
|
|
@@ -9322,7 +9286,7 @@ export type PalletAssetsCall002 =
|
|
|
9322
9286
|
*
|
|
9323
9287
|
* Weight: `O(1)`
|
|
9324
9288
|
**/
|
|
9325
|
-
| { name: 'Thaw'; params: { id:
|
|
9289
|
+
| { name: 'Thaw'; params: { id: StagingXcmV4Location; who: MultiAddress } }
|
|
9326
9290
|
/**
|
|
9327
9291
|
* Disallow further unprivileged transfers for the asset class.
|
|
9328
9292
|
*
|
|
@@ -9334,7 +9298,7 @@ export type PalletAssetsCall002 =
|
|
|
9334
9298
|
*
|
|
9335
9299
|
* Weight: `O(1)`
|
|
9336
9300
|
**/
|
|
9337
|
-
| { name: 'FreezeAsset'; params: { id:
|
|
9301
|
+
| { name: 'FreezeAsset'; params: { id: StagingXcmV4Location } }
|
|
9338
9302
|
/**
|
|
9339
9303
|
* Allow unprivileged transfers for the asset again.
|
|
9340
9304
|
*
|
|
@@ -9346,7 +9310,7 @@ export type PalletAssetsCall002 =
|
|
|
9346
9310
|
*
|
|
9347
9311
|
* Weight: `O(1)`
|
|
9348
9312
|
**/
|
|
9349
|
-
| { name: 'ThawAsset'; params: { id:
|
|
9313
|
+
| { name: 'ThawAsset'; params: { id: StagingXcmV4Location } }
|
|
9350
9314
|
/**
|
|
9351
9315
|
* Change the Owner of an asset.
|
|
9352
9316
|
*
|
|
@@ -9359,7 +9323,7 @@ export type PalletAssetsCall002 =
|
|
|
9359
9323
|
*
|
|
9360
9324
|
* Weight: `O(1)`
|
|
9361
9325
|
**/
|
|
9362
|
-
| { name: 'TransferOwnership'; params: { id:
|
|
9326
|
+
| { name: 'TransferOwnership'; params: { id: StagingXcmV4Location; owner: MultiAddress } }
|
|
9363
9327
|
/**
|
|
9364
9328
|
* Change the Issuer, Admin and Freezer of an asset.
|
|
9365
9329
|
*
|
|
@@ -9376,12 +9340,7 @@ export type PalletAssetsCall002 =
|
|
|
9376
9340
|
**/
|
|
9377
9341
|
| {
|
|
9378
9342
|
name: 'SetTeam';
|
|
9379
|
-
params: {
|
|
9380
|
-
id: StagingXcmV3MultilocationMultiLocation;
|
|
9381
|
-
issuer: MultiAddress;
|
|
9382
|
-
admin: MultiAddress;
|
|
9383
|
-
freezer: MultiAddress;
|
|
9384
|
-
};
|
|
9343
|
+
params: { id: StagingXcmV4Location; issuer: MultiAddress; admin: MultiAddress; freezer: MultiAddress };
|
|
9385
9344
|
}
|
|
9386
9345
|
/**
|
|
9387
9346
|
* Set the metadata for an asset.
|
|
@@ -9401,10 +9360,7 @@ export type PalletAssetsCall002 =
|
|
|
9401
9360
|
*
|
|
9402
9361
|
* Weight: `O(1)`
|
|
9403
9362
|
**/
|
|
9404
|
-
| {
|
|
9405
|
-
name: 'SetMetadata';
|
|
9406
|
-
params: { id: StagingXcmV3MultilocationMultiLocation; name: Bytes; symbol: Bytes; decimals: number };
|
|
9407
|
-
}
|
|
9363
|
+
| { name: 'SetMetadata'; params: { id: StagingXcmV4Location; name: Bytes; symbol: Bytes; decimals: number } }
|
|
9408
9364
|
/**
|
|
9409
9365
|
* Clear the metadata for an asset.
|
|
9410
9366
|
*
|
|
@@ -9418,7 +9374,7 @@ export type PalletAssetsCall002 =
|
|
|
9418
9374
|
*
|
|
9419
9375
|
* Weight: `O(1)`
|
|
9420
9376
|
**/
|
|
9421
|
-
| { name: 'ClearMetadata'; params: { id:
|
|
9377
|
+
| { name: 'ClearMetadata'; params: { id: StagingXcmV4Location } }
|
|
9422
9378
|
/**
|
|
9423
9379
|
* Force the metadata for an asset to some value.
|
|
9424
9380
|
*
|
|
@@ -9437,13 +9393,7 @@ export type PalletAssetsCall002 =
|
|
|
9437
9393
|
**/
|
|
9438
9394
|
| {
|
|
9439
9395
|
name: 'ForceSetMetadata';
|
|
9440
|
-
params: {
|
|
9441
|
-
id: StagingXcmV3MultilocationMultiLocation;
|
|
9442
|
-
name: Bytes;
|
|
9443
|
-
symbol: Bytes;
|
|
9444
|
-
decimals: number;
|
|
9445
|
-
isFrozen: boolean;
|
|
9446
|
-
};
|
|
9396
|
+
params: { id: StagingXcmV4Location; name: Bytes; symbol: Bytes; decimals: number; isFrozen: boolean };
|
|
9447
9397
|
}
|
|
9448
9398
|
/**
|
|
9449
9399
|
* Clear the metadata for an asset.
|
|
@@ -9458,7 +9408,7 @@ export type PalletAssetsCall002 =
|
|
|
9458
9408
|
*
|
|
9459
9409
|
* Weight: `O(1)`
|
|
9460
9410
|
**/
|
|
9461
|
-
| { name: 'ForceClearMetadata'; params: { id:
|
|
9411
|
+
| { name: 'ForceClearMetadata'; params: { id: StagingXcmV4Location } }
|
|
9462
9412
|
/**
|
|
9463
9413
|
* Alter the attributes of a given asset.
|
|
9464
9414
|
*
|
|
@@ -9486,7 +9436,7 @@ export type PalletAssetsCall002 =
|
|
|
9486
9436
|
| {
|
|
9487
9437
|
name: 'ForceAssetStatus';
|
|
9488
9438
|
params: {
|
|
9489
|
-
id:
|
|
9439
|
+
id: StagingXcmV4Location;
|
|
9490
9440
|
owner: MultiAddress;
|
|
9491
9441
|
issuer: MultiAddress;
|
|
9492
9442
|
admin: MultiAddress;
|
|
@@ -9518,10 +9468,7 @@ export type PalletAssetsCall002 =
|
|
|
9518
9468
|
*
|
|
9519
9469
|
* Weight: `O(1)`
|
|
9520
9470
|
**/
|
|
9521
|
-
| {
|
|
9522
|
-
name: 'ApproveTransfer';
|
|
9523
|
-
params: { id: StagingXcmV3MultilocationMultiLocation; delegate: MultiAddress; amount: bigint };
|
|
9524
|
-
}
|
|
9471
|
+
| { name: 'ApproveTransfer'; params: { id: StagingXcmV4Location; delegate: MultiAddress; amount: bigint } }
|
|
9525
9472
|
/**
|
|
9526
9473
|
* Cancel all of some asset approved for delegated transfer by a third-party account.
|
|
9527
9474
|
*
|
|
@@ -9537,7 +9484,7 @@ export type PalletAssetsCall002 =
|
|
|
9537
9484
|
*
|
|
9538
9485
|
* Weight: `O(1)`
|
|
9539
9486
|
**/
|
|
9540
|
-
| { name: 'CancelApproval'; params: { id:
|
|
9487
|
+
| { name: 'CancelApproval'; params: { id: StagingXcmV4Location; delegate: MultiAddress } }
|
|
9541
9488
|
/**
|
|
9542
9489
|
* Cancel all of some asset approved for delegated transfer by a third-party account.
|
|
9543
9490
|
*
|
|
@@ -9553,10 +9500,7 @@ export type PalletAssetsCall002 =
|
|
|
9553
9500
|
*
|
|
9554
9501
|
* Weight: `O(1)`
|
|
9555
9502
|
**/
|
|
9556
|
-
| {
|
|
9557
|
-
name: 'ForceCancelApproval';
|
|
9558
|
-
params: { id: StagingXcmV3MultilocationMultiLocation; owner: MultiAddress; delegate: MultiAddress };
|
|
9559
|
-
}
|
|
9503
|
+
| { name: 'ForceCancelApproval'; params: { id: StagingXcmV4Location; owner: MultiAddress; delegate: MultiAddress } }
|
|
9560
9504
|
/**
|
|
9561
9505
|
* Transfer some asset balance from a previously delegated account to some third-party
|
|
9562
9506
|
* account.
|
|
@@ -9579,12 +9523,7 @@ export type PalletAssetsCall002 =
|
|
|
9579
9523
|
**/
|
|
9580
9524
|
| {
|
|
9581
9525
|
name: 'TransferApproved';
|
|
9582
|
-
params: {
|
|
9583
|
-
id: StagingXcmV3MultilocationMultiLocation;
|
|
9584
|
-
owner: MultiAddress;
|
|
9585
|
-
destination: MultiAddress;
|
|
9586
|
-
amount: bigint;
|
|
9587
|
-
};
|
|
9526
|
+
params: { id: StagingXcmV4Location; owner: MultiAddress; destination: MultiAddress; amount: bigint };
|
|
9588
9527
|
}
|
|
9589
9528
|
/**
|
|
9590
9529
|
* Create an asset account for non-provider assets.
|
|
@@ -9597,7 +9536,7 @@ export type PalletAssetsCall002 =
|
|
|
9597
9536
|
*
|
|
9598
9537
|
* Emits `Touched` event when successful.
|
|
9599
9538
|
**/
|
|
9600
|
-
| { name: 'Touch'; params: { id:
|
|
9539
|
+
| { name: 'Touch'; params: { id: StagingXcmV4Location } }
|
|
9601
9540
|
/**
|
|
9602
9541
|
* Return the deposit (if any) of an asset account or a consumer reference (if any) of an
|
|
9603
9542
|
* account.
|
|
@@ -9610,7 +9549,7 @@ export type PalletAssetsCall002 =
|
|
|
9610
9549
|
*
|
|
9611
9550
|
* Emits `Refunded` event when successful.
|
|
9612
9551
|
**/
|
|
9613
|
-
| { name: 'Refund'; params: { id:
|
|
9552
|
+
| { name: 'Refund'; params: { id: StagingXcmV4Location; allowBurn: boolean } }
|
|
9614
9553
|
/**
|
|
9615
9554
|
* Sets the minimum balance of an asset.
|
|
9616
9555
|
*
|
|
@@ -9625,7 +9564,7 @@ export type PalletAssetsCall002 =
|
|
|
9625
9564
|
*
|
|
9626
9565
|
* Emits `AssetMinBalanceChanged` event when successful.
|
|
9627
9566
|
**/
|
|
9628
|
-
| { name: 'SetMinBalance'; params: { id:
|
|
9567
|
+
| { name: 'SetMinBalance'; params: { id: StagingXcmV4Location; minBalance: bigint } }
|
|
9629
9568
|
/**
|
|
9630
9569
|
* Create an asset account for `who`.
|
|
9631
9570
|
*
|
|
@@ -9638,7 +9577,7 @@ export type PalletAssetsCall002 =
|
|
|
9638
9577
|
*
|
|
9639
9578
|
* Emits `Touched` event when successful.
|
|
9640
9579
|
**/
|
|
9641
|
-
| { name: 'TouchOther'; params: { id:
|
|
9580
|
+
| { name: 'TouchOther'; params: { id: StagingXcmV4Location; who: MultiAddress } }
|
|
9642
9581
|
/**
|
|
9643
9582
|
* Return the deposit (if any) of a target asset account. Useful if you are the depositor.
|
|
9644
9583
|
*
|
|
@@ -9651,7 +9590,7 @@ export type PalletAssetsCall002 =
|
|
|
9651
9590
|
*
|
|
9652
9591
|
* Emits `Refunded` event when successful.
|
|
9653
9592
|
**/
|
|
9654
|
-
| { name: 'RefundOther'; params: { id:
|
|
9593
|
+
| { name: 'RefundOther'; params: { id: StagingXcmV4Location; who: MultiAddress } }
|
|
9655
9594
|
/**
|
|
9656
9595
|
* Disallow further unprivileged transfers of an asset `id` to and from an account `who`.
|
|
9657
9596
|
*
|
|
@@ -9664,7 +9603,7 @@ export type PalletAssetsCall002 =
|
|
|
9664
9603
|
*
|
|
9665
9604
|
* Weight: `O(1)`
|
|
9666
9605
|
**/
|
|
9667
|
-
| { name: 'Block'; params: { id:
|
|
9606
|
+
| { name: 'Block'; params: { id: StagingXcmV4Location; who: MultiAddress } };
|
|
9668
9607
|
|
|
9669
9608
|
export type PalletAssetsCallLike002 =
|
|
9670
9609
|
/**
|
|
@@ -9688,10 +9627,7 @@ export type PalletAssetsCallLike002 =
|
|
|
9688
9627
|
*
|
|
9689
9628
|
* Weight: `O(1)`
|
|
9690
9629
|
**/
|
|
9691
|
-
| {
|
|
9692
|
-
name: 'Create';
|
|
9693
|
-
params: { id: StagingXcmV3MultilocationMultiLocation; admin: MultiAddressLike; minBalance: bigint };
|
|
9694
|
-
}
|
|
9630
|
+
| { name: 'Create'; params: { id: StagingXcmV4Location; admin: MultiAddressLike; minBalance: bigint } }
|
|
9695
9631
|
/**
|
|
9696
9632
|
* Issue a new class of fungible assets from a privileged origin.
|
|
9697
9633
|
*
|
|
@@ -9715,12 +9651,7 @@ export type PalletAssetsCallLike002 =
|
|
|
9715
9651
|
**/
|
|
9716
9652
|
| {
|
|
9717
9653
|
name: 'ForceCreate';
|
|
9718
|
-
params: {
|
|
9719
|
-
id: StagingXcmV3MultilocationMultiLocation;
|
|
9720
|
-
owner: MultiAddressLike;
|
|
9721
|
-
isSufficient: boolean;
|
|
9722
|
-
minBalance: bigint;
|
|
9723
|
-
};
|
|
9654
|
+
params: { id: StagingXcmV4Location; owner: MultiAddressLike; isSufficient: boolean; minBalance: bigint };
|
|
9724
9655
|
}
|
|
9725
9656
|
/**
|
|
9726
9657
|
* Start the process of destroying a fungible asset class.
|
|
@@ -9735,7 +9666,7 @@ export type PalletAssetsCallLike002 =
|
|
|
9735
9666
|
*
|
|
9736
9667
|
* The asset class must be frozen before calling `start_destroy`.
|
|
9737
9668
|
**/
|
|
9738
|
-
| { name: 'StartDestroy'; params: { id:
|
|
9669
|
+
| { name: 'StartDestroy'; params: { id: StagingXcmV4Location } }
|
|
9739
9670
|
/**
|
|
9740
9671
|
* Destroy all accounts associated with a given asset.
|
|
9741
9672
|
*
|
|
@@ -9750,7 +9681,7 @@ export type PalletAssetsCallLike002 =
|
|
|
9750
9681
|
*
|
|
9751
9682
|
* Each call emits the `Event::DestroyedAccounts` event.
|
|
9752
9683
|
**/
|
|
9753
|
-
| { name: 'DestroyAccounts'; params: { id:
|
|
9684
|
+
| { name: 'DestroyAccounts'; params: { id: StagingXcmV4Location } }
|
|
9754
9685
|
/**
|
|
9755
9686
|
* Destroy all approvals associated with a given asset up to the max (T::RemoveItemsLimit).
|
|
9756
9687
|
*
|
|
@@ -9765,7 +9696,7 @@ export type PalletAssetsCallLike002 =
|
|
|
9765
9696
|
*
|
|
9766
9697
|
* Each call emits the `Event::DestroyedApprovals` event.
|
|
9767
9698
|
**/
|
|
9768
|
-
| { name: 'DestroyApprovals'; params: { id:
|
|
9699
|
+
| { name: 'DestroyApprovals'; params: { id: StagingXcmV4Location } }
|
|
9769
9700
|
/**
|
|
9770
9701
|
* Complete destroying asset and unreserve currency.
|
|
9771
9702
|
*
|
|
@@ -9778,7 +9709,7 @@ export type PalletAssetsCallLike002 =
|
|
|
9778
9709
|
*
|
|
9779
9710
|
* Each successful call emits the `Event::Destroyed` event.
|
|
9780
9711
|
**/
|
|
9781
|
-
| { name: 'FinishDestroy'; params: { id:
|
|
9712
|
+
| { name: 'FinishDestroy'; params: { id: StagingXcmV4Location } }
|
|
9782
9713
|
/**
|
|
9783
9714
|
* Mint assets of a particular class.
|
|
9784
9715
|
*
|
|
@@ -9793,10 +9724,7 @@ export type PalletAssetsCallLike002 =
|
|
|
9793
9724
|
* Weight: `O(1)`
|
|
9794
9725
|
* Modes: Pre-existing balance of `beneficiary`; Account pre-existence of `beneficiary`.
|
|
9795
9726
|
**/
|
|
9796
|
-
| {
|
|
9797
|
-
name: 'Mint';
|
|
9798
|
-
params: { id: StagingXcmV3MultilocationMultiLocation; beneficiary: MultiAddressLike; amount: bigint };
|
|
9799
|
-
}
|
|
9727
|
+
| { name: 'Mint'; params: { id: StagingXcmV4Location; beneficiary: MultiAddressLike; amount: bigint } }
|
|
9800
9728
|
/**
|
|
9801
9729
|
* Reduce the balance of `who` by as much as possible up to `amount` assets of `id`.
|
|
9802
9730
|
*
|
|
@@ -9814,7 +9742,7 @@ export type PalletAssetsCallLike002 =
|
|
|
9814
9742
|
* Weight: `O(1)`
|
|
9815
9743
|
* Modes: Post-existence of `who`; Pre & post Zombie-status of `who`.
|
|
9816
9744
|
**/
|
|
9817
|
-
| { name: 'Burn'; params: { id:
|
|
9745
|
+
| { name: 'Burn'; params: { id: StagingXcmV4Location; who: MultiAddressLike; amount: bigint } }
|
|
9818
9746
|
/**
|
|
9819
9747
|
* Move some assets from the sender account to another.
|
|
9820
9748
|
*
|
|
@@ -9835,10 +9763,7 @@ export type PalletAssetsCallLike002 =
|
|
|
9835
9763
|
* Modes: Pre-existence of `target`; Post-existence of sender; Account pre-existence of
|
|
9836
9764
|
* `target`.
|
|
9837
9765
|
**/
|
|
9838
|
-
| {
|
|
9839
|
-
name: 'Transfer';
|
|
9840
|
-
params: { id: StagingXcmV3MultilocationMultiLocation; target: MultiAddressLike; amount: bigint };
|
|
9841
|
-
}
|
|
9766
|
+
| { name: 'Transfer'; params: { id: StagingXcmV4Location; target: MultiAddressLike; amount: bigint } }
|
|
9842
9767
|
/**
|
|
9843
9768
|
* Move some assets from the sender account to another, keeping the sender account alive.
|
|
9844
9769
|
*
|
|
@@ -9859,10 +9784,7 @@ export type PalletAssetsCallLike002 =
|
|
|
9859
9784
|
* Modes: Pre-existence of `target`; Post-existence of sender; Account pre-existence of
|
|
9860
9785
|
* `target`.
|
|
9861
9786
|
**/
|
|
9862
|
-
| {
|
|
9863
|
-
name: 'TransferKeepAlive';
|
|
9864
|
-
params: { id: StagingXcmV3MultilocationMultiLocation; target: MultiAddressLike; amount: bigint };
|
|
9865
|
-
}
|
|
9787
|
+
| { name: 'TransferKeepAlive'; params: { id: StagingXcmV4Location; target: MultiAddressLike; amount: bigint } }
|
|
9866
9788
|
/**
|
|
9867
9789
|
* Move some assets from one account to another.
|
|
9868
9790
|
*
|
|
@@ -9886,12 +9808,7 @@ export type PalletAssetsCallLike002 =
|
|
|
9886
9808
|
**/
|
|
9887
9809
|
| {
|
|
9888
9810
|
name: 'ForceTransfer';
|
|
9889
|
-
params: {
|
|
9890
|
-
id: StagingXcmV3MultilocationMultiLocation;
|
|
9891
|
-
source: MultiAddressLike;
|
|
9892
|
-
dest: MultiAddressLike;
|
|
9893
|
-
amount: bigint;
|
|
9894
|
-
};
|
|
9811
|
+
params: { id: StagingXcmV4Location; source: MultiAddressLike; dest: MultiAddressLike; amount: bigint };
|
|
9895
9812
|
}
|
|
9896
9813
|
/**
|
|
9897
9814
|
* Disallow further unprivileged transfers of an asset `id` from an account `who`. `who`
|
|
@@ -9907,7 +9824,7 @@ export type PalletAssetsCallLike002 =
|
|
|
9907
9824
|
*
|
|
9908
9825
|
* Weight: `O(1)`
|
|
9909
9826
|
**/
|
|
9910
|
-
| { name: 'Freeze'; params: { id:
|
|
9827
|
+
| { name: 'Freeze'; params: { id: StagingXcmV4Location; who: MultiAddressLike } }
|
|
9911
9828
|
/**
|
|
9912
9829
|
* Allow unprivileged transfers to and from an account again.
|
|
9913
9830
|
*
|
|
@@ -9920,7 +9837,7 @@ export type PalletAssetsCallLike002 =
|
|
|
9920
9837
|
*
|
|
9921
9838
|
* Weight: `O(1)`
|
|
9922
9839
|
**/
|
|
9923
|
-
| { name: 'Thaw'; params: { id:
|
|
9840
|
+
| { name: 'Thaw'; params: { id: StagingXcmV4Location; who: MultiAddressLike } }
|
|
9924
9841
|
/**
|
|
9925
9842
|
* Disallow further unprivileged transfers for the asset class.
|
|
9926
9843
|
*
|
|
@@ -9932,7 +9849,7 @@ export type PalletAssetsCallLike002 =
|
|
|
9932
9849
|
*
|
|
9933
9850
|
* Weight: `O(1)`
|
|
9934
9851
|
**/
|
|
9935
|
-
| { name: 'FreezeAsset'; params: { id:
|
|
9852
|
+
| { name: 'FreezeAsset'; params: { id: StagingXcmV4Location } }
|
|
9936
9853
|
/**
|
|
9937
9854
|
* Allow unprivileged transfers for the asset again.
|
|
9938
9855
|
*
|
|
@@ -9944,7 +9861,7 @@ export type PalletAssetsCallLike002 =
|
|
|
9944
9861
|
*
|
|
9945
9862
|
* Weight: `O(1)`
|
|
9946
9863
|
**/
|
|
9947
|
-
| { name: 'ThawAsset'; params: { id:
|
|
9864
|
+
| { name: 'ThawAsset'; params: { id: StagingXcmV4Location } }
|
|
9948
9865
|
/**
|
|
9949
9866
|
* Change the Owner of an asset.
|
|
9950
9867
|
*
|
|
@@ -9957,7 +9874,7 @@ export type PalletAssetsCallLike002 =
|
|
|
9957
9874
|
*
|
|
9958
9875
|
* Weight: `O(1)`
|
|
9959
9876
|
**/
|
|
9960
|
-
| { name: 'TransferOwnership'; params: { id:
|
|
9877
|
+
| { name: 'TransferOwnership'; params: { id: StagingXcmV4Location; owner: MultiAddressLike } }
|
|
9961
9878
|
/**
|
|
9962
9879
|
* Change the Issuer, Admin and Freezer of an asset.
|
|
9963
9880
|
*
|
|
@@ -9975,7 +9892,7 @@ export type PalletAssetsCallLike002 =
|
|
|
9975
9892
|
| {
|
|
9976
9893
|
name: 'SetTeam';
|
|
9977
9894
|
params: {
|
|
9978
|
-
id:
|
|
9895
|
+
id: StagingXcmV4Location;
|
|
9979
9896
|
issuer: MultiAddressLike;
|
|
9980
9897
|
admin: MultiAddressLike;
|
|
9981
9898
|
freezer: MultiAddressLike;
|
|
@@ -9999,10 +9916,7 @@ export type PalletAssetsCallLike002 =
|
|
|
9999
9916
|
*
|
|
10000
9917
|
* Weight: `O(1)`
|
|
10001
9918
|
**/
|
|
10002
|
-
| {
|
|
10003
|
-
name: 'SetMetadata';
|
|
10004
|
-
params: { id: StagingXcmV3MultilocationMultiLocation; name: BytesLike; symbol: BytesLike; decimals: number };
|
|
10005
|
-
}
|
|
9919
|
+
| { name: 'SetMetadata'; params: { id: StagingXcmV4Location; name: BytesLike; symbol: BytesLike; decimals: number } }
|
|
10006
9920
|
/**
|
|
10007
9921
|
* Clear the metadata for an asset.
|
|
10008
9922
|
*
|
|
@@ -10016,7 +9930,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10016
9930
|
*
|
|
10017
9931
|
* Weight: `O(1)`
|
|
10018
9932
|
**/
|
|
10019
|
-
| { name: 'ClearMetadata'; params: { id:
|
|
9933
|
+
| { name: 'ClearMetadata'; params: { id: StagingXcmV4Location } }
|
|
10020
9934
|
/**
|
|
10021
9935
|
* Force the metadata for an asset to some value.
|
|
10022
9936
|
*
|
|
@@ -10035,13 +9949,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10035
9949
|
**/
|
|
10036
9950
|
| {
|
|
10037
9951
|
name: 'ForceSetMetadata';
|
|
10038
|
-
params: {
|
|
10039
|
-
id: StagingXcmV3MultilocationMultiLocation;
|
|
10040
|
-
name: BytesLike;
|
|
10041
|
-
symbol: BytesLike;
|
|
10042
|
-
decimals: number;
|
|
10043
|
-
isFrozen: boolean;
|
|
10044
|
-
};
|
|
9952
|
+
params: { id: StagingXcmV4Location; name: BytesLike; symbol: BytesLike; decimals: number; isFrozen: boolean };
|
|
10045
9953
|
}
|
|
10046
9954
|
/**
|
|
10047
9955
|
* Clear the metadata for an asset.
|
|
@@ -10056,7 +9964,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10056
9964
|
*
|
|
10057
9965
|
* Weight: `O(1)`
|
|
10058
9966
|
**/
|
|
10059
|
-
| { name: 'ForceClearMetadata'; params: { id:
|
|
9967
|
+
| { name: 'ForceClearMetadata'; params: { id: StagingXcmV4Location } }
|
|
10060
9968
|
/**
|
|
10061
9969
|
* Alter the attributes of a given asset.
|
|
10062
9970
|
*
|
|
@@ -10084,7 +9992,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10084
9992
|
| {
|
|
10085
9993
|
name: 'ForceAssetStatus';
|
|
10086
9994
|
params: {
|
|
10087
|
-
id:
|
|
9995
|
+
id: StagingXcmV4Location;
|
|
10088
9996
|
owner: MultiAddressLike;
|
|
10089
9997
|
issuer: MultiAddressLike;
|
|
10090
9998
|
admin: MultiAddressLike;
|
|
@@ -10116,10 +10024,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10116
10024
|
*
|
|
10117
10025
|
* Weight: `O(1)`
|
|
10118
10026
|
**/
|
|
10119
|
-
| {
|
|
10120
|
-
name: 'ApproveTransfer';
|
|
10121
|
-
params: { id: StagingXcmV3MultilocationMultiLocation; delegate: MultiAddressLike; amount: bigint };
|
|
10122
|
-
}
|
|
10027
|
+
| { name: 'ApproveTransfer'; params: { id: StagingXcmV4Location; delegate: MultiAddressLike; amount: bigint } }
|
|
10123
10028
|
/**
|
|
10124
10029
|
* Cancel all of some asset approved for delegated transfer by a third-party account.
|
|
10125
10030
|
*
|
|
@@ -10135,7 +10040,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10135
10040
|
*
|
|
10136
10041
|
* Weight: `O(1)`
|
|
10137
10042
|
**/
|
|
10138
|
-
| { name: 'CancelApproval'; params: { id:
|
|
10043
|
+
| { name: 'CancelApproval'; params: { id: StagingXcmV4Location; delegate: MultiAddressLike } }
|
|
10139
10044
|
/**
|
|
10140
10045
|
* Cancel all of some asset approved for delegated transfer by a third-party account.
|
|
10141
10046
|
*
|
|
@@ -10153,7 +10058,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10153
10058
|
**/
|
|
10154
10059
|
| {
|
|
10155
10060
|
name: 'ForceCancelApproval';
|
|
10156
|
-
params: { id:
|
|
10061
|
+
params: { id: StagingXcmV4Location; owner: MultiAddressLike; delegate: MultiAddressLike };
|
|
10157
10062
|
}
|
|
10158
10063
|
/**
|
|
10159
10064
|
* Transfer some asset balance from a previously delegated account to some third-party
|
|
@@ -10177,12 +10082,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10177
10082
|
**/
|
|
10178
10083
|
| {
|
|
10179
10084
|
name: 'TransferApproved';
|
|
10180
|
-
params: {
|
|
10181
|
-
id: StagingXcmV3MultilocationMultiLocation;
|
|
10182
|
-
owner: MultiAddressLike;
|
|
10183
|
-
destination: MultiAddressLike;
|
|
10184
|
-
amount: bigint;
|
|
10185
|
-
};
|
|
10085
|
+
params: { id: StagingXcmV4Location; owner: MultiAddressLike; destination: MultiAddressLike; amount: bigint };
|
|
10186
10086
|
}
|
|
10187
10087
|
/**
|
|
10188
10088
|
* Create an asset account for non-provider assets.
|
|
@@ -10195,7 +10095,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10195
10095
|
*
|
|
10196
10096
|
* Emits `Touched` event when successful.
|
|
10197
10097
|
**/
|
|
10198
|
-
| { name: 'Touch'; params: { id:
|
|
10098
|
+
| { name: 'Touch'; params: { id: StagingXcmV4Location } }
|
|
10199
10099
|
/**
|
|
10200
10100
|
* Return the deposit (if any) of an asset account or a consumer reference (if any) of an
|
|
10201
10101
|
* account.
|
|
@@ -10208,7 +10108,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10208
10108
|
*
|
|
10209
10109
|
* Emits `Refunded` event when successful.
|
|
10210
10110
|
**/
|
|
10211
|
-
| { name: 'Refund'; params: { id:
|
|
10111
|
+
| { name: 'Refund'; params: { id: StagingXcmV4Location; allowBurn: boolean } }
|
|
10212
10112
|
/**
|
|
10213
10113
|
* Sets the minimum balance of an asset.
|
|
10214
10114
|
*
|
|
@@ -10223,7 +10123,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10223
10123
|
*
|
|
10224
10124
|
* Emits `AssetMinBalanceChanged` event when successful.
|
|
10225
10125
|
**/
|
|
10226
|
-
| { name: 'SetMinBalance'; params: { id:
|
|
10126
|
+
| { name: 'SetMinBalance'; params: { id: StagingXcmV4Location; minBalance: bigint } }
|
|
10227
10127
|
/**
|
|
10228
10128
|
* Create an asset account for `who`.
|
|
10229
10129
|
*
|
|
@@ -10236,7 +10136,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10236
10136
|
*
|
|
10237
10137
|
* Emits `Touched` event when successful.
|
|
10238
10138
|
**/
|
|
10239
|
-
| { name: 'TouchOther'; params: { id:
|
|
10139
|
+
| { name: 'TouchOther'; params: { id: StagingXcmV4Location; who: MultiAddressLike } }
|
|
10240
10140
|
/**
|
|
10241
10141
|
* Return the deposit (if any) of a target asset account. Useful if you are the depositor.
|
|
10242
10142
|
*
|
|
@@ -10249,7 +10149,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10249
10149
|
*
|
|
10250
10150
|
* Emits `Refunded` event when successful.
|
|
10251
10151
|
**/
|
|
10252
|
-
| { name: 'RefundOther'; params: { id:
|
|
10152
|
+
| { name: 'RefundOther'; params: { id: StagingXcmV4Location; who: MultiAddressLike } }
|
|
10253
10153
|
/**
|
|
10254
10154
|
* Disallow further unprivileged transfers of an asset `id` to and from an account `who`.
|
|
10255
10155
|
*
|
|
@@ -10262,7 +10162,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10262
10162
|
*
|
|
10263
10163
|
* Weight: `O(1)`
|
|
10264
10164
|
**/
|
|
10265
|
-
| { name: 'Block'; params: { id:
|
|
10165
|
+
| { name: 'Block'; params: { id: StagingXcmV4Location; who: MultiAddressLike } };
|
|
10266
10166
|
|
|
10267
10167
|
/**
|
|
10268
10168
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -11461,10 +11361,7 @@ export type PalletAssetConversionCall =
|
|
|
11461
11361
|
*
|
|
11462
11362
|
* Once a pool is created, someone may [`Pallet::add_liquidity`] to it.
|
|
11463
11363
|
**/
|
|
11464
|
-
| {
|
|
11465
|
-
name: 'CreatePool';
|
|
11466
|
-
params: { asset1: StagingXcmV3MultilocationMultiLocation; asset2: StagingXcmV3MultilocationMultiLocation };
|
|
11467
|
-
}
|
|
11364
|
+
| { name: 'CreatePool'; params: { asset1: StagingXcmV4Location; asset2: StagingXcmV4Location } }
|
|
11468
11365
|
/**
|
|
11469
11366
|
* Provide liquidity into the pool of `asset1` and `asset2`.
|
|
11470
11367
|
* NOTE: an optimal amount of asset1 and asset2 will be calculated and
|
|
@@ -11484,8 +11381,8 @@ export type PalletAssetConversionCall =
|
|
|
11484
11381
|
| {
|
|
11485
11382
|
name: 'AddLiquidity';
|
|
11486
11383
|
params: {
|
|
11487
|
-
asset1:
|
|
11488
|
-
asset2:
|
|
11384
|
+
asset1: StagingXcmV4Location;
|
|
11385
|
+
asset2: StagingXcmV4Location;
|
|
11489
11386
|
amount1Desired: bigint;
|
|
11490
11387
|
amount2Desired: bigint;
|
|
11491
11388
|
amount1Min: bigint;
|
|
@@ -11501,8 +11398,8 @@ export type PalletAssetConversionCall =
|
|
|
11501
11398
|
| {
|
|
11502
11399
|
name: 'RemoveLiquidity';
|
|
11503
11400
|
params: {
|
|
11504
|
-
asset1:
|
|
11505
|
-
asset2:
|
|
11401
|
+
asset1: StagingXcmV4Location;
|
|
11402
|
+
asset2: StagingXcmV4Location;
|
|
11506
11403
|
lpTokenBurn: bigint;
|
|
11507
11404
|
amount1MinReceive: bigint;
|
|
11508
11405
|
amount2MinReceive: bigint;
|
|
@@ -11520,7 +11417,7 @@ export type PalletAssetConversionCall =
|
|
|
11520
11417
|
| {
|
|
11521
11418
|
name: 'SwapExactTokensForTokens';
|
|
11522
11419
|
params: {
|
|
11523
|
-
path: Array<
|
|
11420
|
+
path: Array<StagingXcmV4Location>;
|
|
11524
11421
|
amountIn: bigint;
|
|
11525
11422
|
amountOutMin: bigint;
|
|
11526
11423
|
sendTo: AccountId32;
|
|
@@ -11538,7 +11435,7 @@ export type PalletAssetConversionCall =
|
|
|
11538
11435
|
| {
|
|
11539
11436
|
name: 'SwapTokensForExactTokens';
|
|
11540
11437
|
params: {
|
|
11541
|
-
path: Array<
|
|
11438
|
+
path: Array<StagingXcmV4Location>;
|
|
11542
11439
|
amountOut: bigint;
|
|
11543
11440
|
amountInMax: bigint;
|
|
11544
11441
|
sendTo: AccountId32;
|
|
@@ -11558,10 +11455,7 @@ export type PalletAssetConversionCall =
|
|
|
11558
11455
|
*
|
|
11559
11456
|
* Emits `Touched` event when successful.
|
|
11560
11457
|
**/
|
|
11561
|
-
| {
|
|
11562
|
-
name: 'Touch';
|
|
11563
|
-
params: { asset1: StagingXcmV3MultilocationMultiLocation; asset2: StagingXcmV3MultilocationMultiLocation };
|
|
11564
|
-
};
|
|
11458
|
+
| { name: 'Touch'; params: { asset1: StagingXcmV4Location; asset2: StagingXcmV4Location } };
|
|
11565
11459
|
|
|
11566
11460
|
export type PalletAssetConversionCallLike =
|
|
11567
11461
|
/**
|
|
@@ -11570,10 +11464,7 @@ export type PalletAssetConversionCallLike =
|
|
|
11570
11464
|
*
|
|
11571
11465
|
* Once a pool is created, someone may [`Pallet::add_liquidity`] to it.
|
|
11572
11466
|
**/
|
|
11573
|
-
| {
|
|
11574
|
-
name: 'CreatePool';
|
|
11575
|
-
params: { asset1: StagingXcmV3MultilocationMultiLocation; asset2: StagingXcmV3MultilocationMultiLocation };
|
|
11576
|
-
}
|
|
11467
|
+
| { name: 'CreatePool'; params: { asset1: StagingXcmV4Location; asset2: StagingXcmV4Location } }
|
|
11577
11468
|
/**
|
|
11578
11469
|
* Provide liquidity into the pool of `asset1` and `asset2`.
|
|
11579
11470
|
* NOTE: an optimal amount of asset1 and asset2 will be calculated and
|
|
@@ -11593,8 +11484,8 @@ export type PalletAssetConversionCallLike =
|
|
|
11593
11484
|
| {
|
|
11594
11485
|
name: 'AddLiquidity';
|
|
11595
11486
|
params: {
|
|
11596
|
-
asset1:
|
|
11597
|
-
asset2:
|
|
11487
|
+
asset1: StagingXcmV4Location;
|
|
11488
|
+
asset2: StagingXcmV4Location;
|
|
11598
11489
|
amount1Desired: bigint;
|
|
11599
11490
|
amount2Desired: bigint;
|
|
11600
11491
|
amount1Min: bigint;
|
|
@@ -11610,8 +11501,8 @@ export type PalletAssetConversionCallLike =
|
|
|
11610
11501
|
| {
|
|
11611
11502
|
name: 'RemoveLiquidity';
|
|
11612
11503
|
params: {
|
|
11613
|
-
asset1:
|
|
11614
|
-
asset2:
|
|
11504
|
+
asset1: StagingXcmV4Location;
|
|
11505
|
+
asset2: StagingXcmV4Location;
|
|
11615
11506
|
lpTokenBurn: bigint;
|
|
11616
11507
|
amount1MinReceive: bigint;
|
|
11617
11508
|
amount2MinReceive: bigint;
|
|
@@ -11629,7 +11520,7 @@ export type PalletAssetConversionCallLike =
|
|
|
11629
11520
|
| {
|
|
11630
11521
|
name: 'SwapExactTokensForTokens';
|
|
11631
11522
|
params: {
|
|
11632
|
-
path: Array<
|
|
11523
|
+
path: Array<StagingXcmV4Location>;
|
|
11633
11524
|
amountIn: bigint;
|
|
11634
11525
|
amountOutMin: bigint;
|
|
11635
11526
|
sendTo: AccountId32Like;
|
|
@@ -11647,7 +11538,7 @@ export type PalletAssetConversionCallLike =
|
|
|
11647
11538
|
| {
|
|
11648
11539
|
name: 'SwapTokensForExactTokens';
|
|
11649
11540
|
params: {
|
|
11650
|
-
path: Array<
|
|
11541
|
+
path: Array<StagingXcmV4Location>;
|
|
11651
11542
|
amountOut: bigint;
|
|
11652
11543
|
amountInMax: bigint;
|
|
11653
11544
|
sendTo: AccountId32Like;
|
|
@@ -11667,10 +11558,7 @@ export type PalletAssetConversionCallLike =
|
|
|
11667
11558
|
*
|
|
11668
11559
|
* Emits `Touched` event when successful.
|
|
11669
11560
|
**/
|
|
11670
|
-
| {
|
|
11671
|
-
name: 'Touch';
|
|
11672
|
-
params: { asset1: StagingXcmV3MultilocationMultiLocation; asset2: StagingXcmV3MultilocationMultiLocation };
|
|
11673
|
-
};
|
|
11561
|
+
| { name: 'Touch'; params: { asset1: StagingXcmV4Location; asset2: StagingXcmV4Location } };
|
|
11674
11562
|
|
|
11675
11563
|
export type AssetHubKusamaRuntimeOriginCaller =
|
|
11676
11564
|
| { type: 'System'; value: FrameSupportDispatchRawOrigin }
|
|
@@ -12424,7 +12312,7 @@ export type FrameSystemExtensionsCheckWeight = {};
|
|
|
12424
12312
|
|
|
12425
12313
|
export type PalletAssetConversionTxPaymentChargeAssetTxPayment = {
|
|
12426
12314
|
tip: bigint;
|
|
12427
|
-
assetId?:
|
|
12315
|
+
assetId?: StagingXcmV4Location | undefined;
|
|
12428
12316
|
};
|
|
12429
12317
|
|
|
12430
12318
|
export type FrameMetadataHashExtensionCheckMetadataHash = { mode: FrameMetadataHashExtensionMode };
|