@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
|
@@ -262,54 +262,39 @@ export type PalletAssetConversionTxPaymentEvent =
|
|
|
262
262
|
**/
|
|
263
263
|
| {
|
|
264
264
|
name: 'AssetTxFeePaid';
|
|
265
|
-
data: { who: AccountId32; actualFee: bigint; tip: bigint; assetId:
|
|
265
|
+
data: { who: AccountId32; actualFee: bigint; tip: bigint; assetId: StagingXcmV4Location };
|
|
266
266
|
}
|
|
267
267
|
/**
|
|
268
268
|
* A swap of the refund in native currency back to asset failed.
|
|
269
269
|
**/
|
|
270
270
|
| { name: 'AssetRefundFailed'; data: { nativeAmountKept: bigint } };
|
|
271
271
|
|
|
272
|
-
export type
|
|
272
|
+
export type StagingXcmV4Location = { parents: number; interior: StagingXcmV4Junctions };
|
|
273
273
|
|
|
274
|
-
export type
|
|
274
|
+
export type StagingXcmV4Junctions =
|
|
275
275
|
| { type: 'Here' }
|
|
276
|
-
| { type: 'X1'; value:
|
|
277
|
-
| { type: 'X2'; value:
|
|
278
|
-
| { type: 'X3'; value:
|
|
279
|
-
| { type: 'X4'; value:
|
|
280
|
-
| { type: 'X5'; value:
|
|
281
|
-
| { type: 'X6'; value:
|
|
282
|
-
| {
|
|
283
|
-
|
|
284
|
-
value: [XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction];
|
|
285
|
-
}
|
|
286
|
-
| {
|
|
287
|
-
type: 'X8';
|
|
288
|
-
value: [
|
|
289
|
-
XcmV3Junction,
|
|
290
|
-
XcmV3Junction,
|
|
291
|
-
XcmV3Junction,
|
|
292
|
-
XcmV3Junction,
|
|
293
|
-
XcmV3Junction,
|
|
294
|
-
XcmV3Junction,
|
|
295
|
-
XcmV3Junction,
|
|
296
|
-
XcmV3Junction,
|
|
297
|
-
];
|
|
298
|
-
};
|
|
276
|
+
| { type: 'X1'; value: FixedArray<StagingXcmV4Junction, 1> }
|
|
277
|
+
| { type: 'X2'; value: FixedArray<StagingXcmV4Junction, 2> }
|
|
278
|
+
| { type: 'X3'; value: FixedArray<StagingXcmV4Junction, 3> }
|
|
279
|
+
| { type: 'X4'; value: FixedArray<StagingXcmV4Junction, 4> }
|
|
280
|
+
| { type: 'X5'; value: FixedArray<StagingXcmV4Junction, 5> }
|
|
281
|
+
| { type: 'X6'; value: FixedArray<StagingXcmV4Junction, 6> }
|
|
282
|
+
| { type: 'X7'; value: FixedArray<StagingXcmV4Junction, 7> }
|
|
283
|
+
| { type: 'X8'; value: FixedArray<StagingXcmV4Junction, 8> };
|
|
299
284
|
|
|
300
|
-
export type
|
|
285
|
+
export type StagingXcmV4Junction =
|
|
301
286
|
| { type: 'Parachain'; value: number }
|
|
302
|
-
| { type: 'AccountId32'; value: { network?:
|
|
303
|
-
| { type: 'AccountIndex64'; value: { network?:
|
|
304
|
-
| { type: 'AccountKey20'; value: { network?:
|
|
287
|
+
| { type: 'AccountId32'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; id: FixedBytes<32> } }
|
|
288
|
+
| { type: 'AccountIndex64'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; index: bigint } }
|
|
289
|
+
| { type: 'AccountKey20'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; key: FixedBytes<20> } }
|
|
305
290
|
| { type: 'PalletInstance'; value: number }
|
|
306
291
|
| { type: 'GeneralIndex'; value: bigint }
|
|
307
292
|
| { type: 'GeneralKey'; value: { length: number; data: FixedBytes<32> } }
|
|
308
293
|
| { type: 'OnlyChild' }
|
|
309
294
|
| { type: 'Plurality'; value: { id: XcmV3JunctionBodyId; part: XcmV3JunctionBodyPart } }
|
|
310
|
-
| { type: 'GlobalConsensus'; value:
|
|
295
|
+
| { type: 'GlobalConsensus'; value: StagingXcmV4JunctionNetworkId };
|
|
311
296
|
|
|
312
|
-
export type
|
|
297
|
+
export type StagingXcmV4JunctionNetworkId =
|
|
313
298
|
| { type: 'ByGenesis'; value: FixedBytes<32> }
|
|
314
299
|
| { type: 'ByFork'; value: { blockNumber: bigint; blockHash: FixedBytes<32> } }
|
|
315
300
|
| { type: 'Polkadot' }
|
|
@@ -645,44 +630,6 @@ export type XcmV3TraitsError =
|
|
|
645
630
|
| { type: 'WeightNotComputable' }
|
|
646
631
|
| { type: 'ExceedsStackLimit' };
|
|
647
632
|
|
|
648
|
-
export type StagingXcmV4Location = { parents: number; interior: StagingXcmV4Junctions };
|
|
649
|
-
|
|
650
|
-
export type StagingXcmV4Junctions =
|
|
651
|
-
| { type: 'Here' }
|
|
652
|
-
| { type: 'X1'; value: FixedArray<StagingXcmV4Junction, 1> }
|
|
653
|
-
| { type: 'X2'; value: FixedArray<StagingXcmV4Junction, 2> }
|
|
654
|
-
| { type: 'X3'; value: FixedArray<StagingXcmV4Junction, 3> }
|
|
655
|
-
| { type: 'X4'; value: FixedArray<StagingXcmV4Junction, 4> }
|
|
656
|
-
| { type: 'X5'; value: FixedArray<StagingXcmV4Junction, 5> }
|
|
657
|
-
| { type: 'X6'; value: FixedArray<StagingXcmV4Junction, 6> }
|
|
658
|
-
| { type: 'X7'; value: FixedArray<StagingXcmV4Junction, 7> }
|
|
659
|
-
| { type: 'X8'; value: FixedArray<StagingXcmV4Junction, 8> };
|
|
660
|
-
|
|
661
|
-
export type StagingXcmV4Junction =
|
|
662
|
-
| { type: 'Parachain'; value: number }
|
|
663
|
-
| { type: 'AccountId32'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; id: FixedBytes<32> } }
|
|
664
|
-
| { type: 'AccountIndex64'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; index: bigint } }
|
|
665
|
-
| { type: 'AccountKey20'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; key: FixedBytes<20> } }
|
|
666
|
-
| { type: 'PalletInstance'; value: number }
|
|
667
|
-
| { type: 'GeneralIndex'; value: bigint }
|
|
668
|
-
| { type: 'GeneralKey'; value: { length: number; data: FixedBytes<32> } }
|
|
669
|
-
| { type: 'OnlyChild' }
|
|
670
|
-
| { type: 'Plurality'; value: { id: XcmV3JunctionBodyId; part: XcmV3JunctionBodyPart } }
|
|
671
|
-
| { type: 'GlobalConsensus'; value: StagingXcmV4JunctionNetworkId };
|
|
672
|
-
|
|
673
|
-
export type StagingXcmV4JunctionNetworkId =
|
|
674
|
-
| { type: 'ByGenesis'; value: FixedBytes<32> }
|
|
675
|
-
| { type: 'ByFork'; value: { blockNumber: bigint; blockHash: FixedBytes<32> } }
|
|
676
|
-
| { type: 'Polkadot' }
|
|
677
|
-
| { type: 'Kusama' }
|
|
678
|
-
| { type: 'Westend' }
|
|
679
|
-
| { type: 'Rococo' }
|
|
680
|
-
| { type: 'Wococo' }
|
|
681
|
-
| { type: 'Ethereum'; value: { chainId: bigint } }
|
|
682
|
-
| { type: 'BitcoinCore' }
|
|
683
|
-
| { type: 'BitcoinCash' }
|
|
684
|
-
| { type: 'PolkadotBulletin' };
|
|
685
|
-
|
|
686
633
|
export type StagingXcmV4Xcm = Array<StagingXcmV4Instruction>;
|
|
687
634
|
|
|
688
635
|
export type StagingXcmV4Instruction =
|
|
@@ -938,6 +885,59 @@ export type XcmV3MultiassetAssetId =
|
|
|
938
885
|
| { type: 'Concrete'; value: StagingXcmV3MultilocationMultiLocation }
|
|
939
886
|
| { type: 'Abstract'; value: FixedBytes<32> };
|
|
940
887
|
|
|
888
|
+
export type StagingXcmV3MultilocationMultiLocation = { parents: number; interior: XcmV3Junctions };
|
|
889
|
+
|
|
890
|
+
export type XcmV3Junctions =
|
|
891
|
+
| { type: 'Here' }
|
|
892
|
+
| { type: 'X1'; value: XcmV3Junction }
|
|
893
|
+
| { type: 'X2'; value: [XcmV3Junction, XcmV3Junction] }
|
|
894
|
+
| { type: 'X3'; value: [XcmV3Junction, XcmV3Junction, XcmV3Junction] }
|
|
895
|
+
| { type: 'X4'; value: [XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction] }
|
|
896
|
+
| { type: 'X5'; value: [XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction] }
|
|
897
|
+
| { type: 'X6'; value: [XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction] }
|
|
898
|
+
| {
|
|
899
|
+
type: 'X7';
|
|
900
|
+
value: [XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction];
|
|
901
|
+
}
|
|
902
|
+
| {
|
|
903
|
+
type: 'X8';
|
|
904
|
+
value: [
|
|
905
|
+
XcmV3Junction,
|
|
906
|
+
XcmV3Junction,
|
|
907
|
+
XcmV3Junction,
|
|
908
|
+
XcmV3Junction,
|
|
909
|
+
XcmV3Junction,
|
|
910
|
+
XcmV3Junction,
|
|
911
|
+
XcmV3Junction,
|
|
912
|
+
XcmV3Junction,
|
|
913
|
+
];
|
|
914
|
+
};
|
|
915
|
+
|
|
916
|
+
export type XcmV3Junction =
|
|
917
|
+
| { type: 'Parachain'; value: number }
|
|
918
|
+
| { type: 'AccountId32'; value: { network?: XcmV3JunctionNetworkId | undefined; id: FixedBytes<32> } }
|
|
919
|
+
| { type: 'AccountIndex64'; value: { network?: XcmV3JunctionNetworkId | undefined; index: bigint } }
|
|
920
|
+
| { type: 'AccountKey20'; value: { network?: XcmV3JunctionNetworkId | undefined; key: FixedBytes<20> } }
|
|
921
|
+
| { type: 'PalletInstance'; value: number }
|
|
922
|
+
| { type: 'GeneralIndex'; value: bigint }
|
|
923
|
+
| { type: 'GeneralKey'; value: { length: number; data: FixedBytes<32> } }
|
|
924
|
+
| { type: 'OnlyChild' }
|
|
925
|
+
| { type: 'Plurality'; value: { id: XcmV3JunctionBodyId; part: XcmV3JunctionBodyPart } }
|
|
926
|
+
| { type: 'GlobalConsensus'; value: XcmV3JunctionNetworkId };
|
|
927
|
+
|
|
928
|
+
export type XcmV3JunctionNetworkId =
|
|
929
|
+
| { type: 'ByGenesis'; value: FixedBytes<32> }
|
|
930
|
+
| { type: 'ByFork'; value: { blockNumber: bigint; blockHash: FixedBytes<32> } }
|
|
931
|
+
| { type: 'Polkadot' }
|
|
932
|
+
| { type: 'Kusama' }
|
|
933
|
+
| { type: 'Westend' }
|
|
934
|
+
| { type: 'Rococo' }
|
|
935
|
+
| { type: 'Wococo' }
|
|
936
|
+
| { type: 'Ethereum'; value: { chainId: bigint } }
|
|
937
|
+
| { type: 'BitcoinCore' }
|
|
938
|
+
| { type: 'BitcoinCash' }
|
|
939
|
+
| { type: 'PolkadotBulletin' };
|
|
940
|
+
|
|
941
941
|
export type XcmV3MultiassetFungibility =
|
|
942
942
|
| { type: 'Fungible'; value: bigint }
|
|
943
943
|
| { type: 'NonFungible'; value: XcmV3MultiassetAssetInstance };
|
|
@@ -1725,119 +1725,94 @@ export type PalletAssetsEvent002 =
|
|
|
1725
1725
|
/**
|
|
1726
1726
|
* Some asset class was created.
|
|
1727
1727
|
**/
|
|
1728
|
-
| {
|
|
1729
|
-
name: 'Created';
|
|
1730
|
-
data: { assetId: StagingXcmV3MultilocationMultiLocation; creator: AccountId32; owner: AccountId32 };
|
|
1731
|
-
}
|
|
1728
|
+
| { name: 'Created'; data: { assetId: StagingXcmV4Location; creator: AccountId32; owner: AccountId32 } }
|
|
1732
1729
|
/**
|
|
1733
1730
|
* Some assets were issued.
|
|
1734
1731
|
**/
|
|
1735
|
-
| { name: 'Issued'; data: { assetId:
|
|
1732
|
+
| { name: 'Issued'; data: { assetId: StagingXcmV4Location; owner: AccountId32; amount: bigint } }
|
|
1736
1733
|
/**
|
|
1737
1734
|
* Some assets were transferred.
|
|
1738
1735
|
**/
|
|
1739
|
-
| {
|
|
1740
|
-
name: 'Transferred';
|
|
1741
|
-
data: { assetId: StagingXcmV3MultilocationMultiLocation; from: AccountId32; to: AccountId32; amount: bigint };
|
|
1742
|
-
}
|
|
1736
|
+
| { name: 'Transferred'; data: { assetId: StagingXcmV4Location; from: AccountId32; to: AccountId32; amount: bigint } }
|
|
1743
1737
|
/**
|
|
1744
1738
|
* Some assets were destroyed.
|
|
1745
1739
|
**/
|
|
1746
|
-
| { name: 'Burned'; data: { assetId:
|
|
1740
|
+
| { name: 'Burned'; data: { assetId: StagingXcmV4Location; owner: AccountId32; balance: bigint } }
|
|
1747
1741
|
/**
|
|
1748
1742
|
* The management team changed.
|
|
1749
1743
|
**/
|
|
1750
1744
|
| {
|
|
1751
1745
|
name: 'TeamChanged';
|
|
1752
|
-
data: {
|
|
1753
|
-
assetId: StagingXcmV3MultilocationMultiLocation;
|
|
1754
|
-
issuer: AccountId32;
|
|
1755
|
-
admin: AccountId32;
|
|
1756
|
-
freezer: AccountId32;
|
|
1757
|
-
};
|
|
1746
|
+
data: { assetId: StagingXcmV4Location; issuer: AccountId32; admin: AccountId32; freezer: AccountId32 };
|
|
1758
1747
|
}
|
|
1759
1748
|
/**
|
|
1760
1749
|
* The owner changed.
|
|
1761
1750
|
**/
|
|
1762
|
-
| { name: 'OwnerChanged'; data: { assetId:
|
|
1751
|
+
| { name: 'OwnerChanged'; data: { assetId: StagingXcmV4Location; owner: AccountId32 } }
|
|
1763
1752
|
/**
|
|
1764
1753
|
* Some account `who` was frozen.
|
|
1765
1754
|
**/
|
|
1766
|
-
| { name: 'Frozen'; data: { assetId:
|
|
1755
|
+
| { name: 'Frozen'; data: { assetId: StagingXcmV4Location; who: AccountId32 } }
|
|
1767
1756
|
/**
|
|
1768
1757
|
* Some account `who` was thawed.
|
|
1769
1758
|
**/
|
|
1770
|
-
| { name: 'Thawed'; data: { assetId:
|
|
1759
|
+
| { name: 'Thawed'; data: { assetId: StagingXcmV4Location; who: AccountId32 } }
|
|
1771
1760
|
/**
|
|
1772
1761
|
* Some asset `asset_id` was frozen.
|
|
1773
1762
|
**/
|
|
1774
|
-
| { name: 'AssetFrozen'; data: { assetId:
|
|
1763
|
+
| { name: 'AssetFrozen'; data: { assetId: StagingXcmV4Location } }
|
|
1775
1764
|
/**
|
|
1776
1765
|
* Some asset `asset_id` was thawed.
|
|
1777
1766
|
**/
|
|
1778
|
-
| { name: 'AssetThawed'; data: { assetId:
|
|
1767
|
+
| { name: 'AssetThawed'; data: { assetId: StagingXcmV4Location } }
|
|
1779
1768
|
/**
|
|
1780
1769
|
* Accounts were destroyed for given asset.
|
|
1781
1770
|
**/
|
|
1782
1771
|
| {
|
|
1783
1772
|
name: 'AccountsDestroyed';
|
|
1784
|
-
data: { assetId:
|
|
1773
|
+
data: { assetId: StagingXcmV4Location; accountsDestroyed: number; accountsRemaining: number };
|
|
1785
1774
|
}
|
|
1786
1775
|
/**
|
|
1787
1776
|
* Approvals were destroyed for given asset.
|
|
1788
1777
|
**/
|
|
1789
1778
|
| {
|
|
1790
1779
|
name: 'ApprovalsDestroyed';
|
|
1791
|
-
data: { assetId:
|
|
1780
|
+
data: { assetId: StagingXcmV4Location; approvalsDestroyed: number; approvalsRemaining: number };
|
|
1792
1781
|
}
|
|
1793
1782
|
/**
|
|
1794
1783
|
* An asset class is in the process of being destroyed.
|
|
1795
1784
|
**/
|
|
1796
|
-
| { name: 'DestructionStarted'; data: { assetId:
|
|
1785
|
+
| { name: 'DestructionStarted'; data: { assetId: StagingXcmV4Location } }
|
|
1797
1786
|
/**
|
|
1798
1787
|
* An asset class was destroyed.
|
|
1799
1788
|
**/
|
|
1800
|
-
| { name: 'Destroyed'; data: { assetId:
|
|
1789
|
+
| { name: 'Destroyed'; data: { assetId: StagingXcmV4Location } }
|
|
1801
1790
|
/**
|
|
1802
1791
|
* Some asset class was force-created.
|
|
1803
1792
|
**/
|
|
1804
|
-
| { name: 'ForceCreated'; data: { assetId:
|
|
1793
|
+
| { name: 'ForceCreated'; data: { assetId: StagingXcmV4Location; owner: AccountId32 } }
|
|
1805
1794
|
/**
|
|
1806
1795
|
* New metadata has been set for an asset.
|
|
1807
1796
|
**/
|
|
1808
1797
|
| {
|
|
1809
1798
|
name: 'MetadataSet';
|
|
1810
|
-
data: {
|
|
1811
|
-
assetId: StagingXcmV3MultilocationMultiLocation;
|
|
1812
|
-
name: Bytes;
|
|
1813
|
-
symbol: Bytes;
|
|
1814
|
-
decimals: number;
|
|
1815
|
-
isFrozen: boolean;
|
|
1816
|
-
};
|
|
1799
|
+
data: { assetId: StagingXcmV4Location; name: Bytes; symbol: Bytes; decimals: number; isFrozen: boolean };
|
|
1817
1800
|
}
|
|
1818
1801
|
/**
|
|
1819
1802
|
* Metadata has been cleared for an asset.
|
|
1820
1803
|
**/
|
|
1821
|
-
| { name: 'MetadataCleared'; data: { assetId:
|
|
1804
|
+
| { name: 'MetadataCleared'; data: { assetId: StagingXcmV4Location } }
|
|
1822
1805
|
/**
|
|
1823
1806
|
* (Additional) funds have been approved for transfer to a destination account.
|
|
1824
1807
|
**/
|
|
1825
1808
|
| {
|
|
1826
1809
|
name: 'ApprovedTransfer';
|
|
1827
|
-
data: {
|
|
1828
|
-
assetId: StagingXcmV3MultilocationMultiLocation;
|
|
1829
|
-
source: AccountId32;
|
|
1830
|
-
delegate: AccountId32;
|
|
1831
|
-
amount: bigint;
|
|
1832
|
-
};
|
|
1810
|
+
data: { assetId: StagingXcmV4Location; source: AccountId32; delegate: AccountId32; amount: bigint };
|
|
1833
1811
|
}
|
|
1834
1812
|
/**
|
|
1835
1813
|
* An approval for account `delegate` was cancelled by `owner`.
|
|
1836
1814
|
**/
|
|
1837
|
-
| {
|
|
1838
|
-
name: 'ApprovalCancelled';
|
|
1839
|
-
data: { assetId: StagingXcmV3MultilocationMultiLocation; owner: AccountId32; delegate: AccountId32 };
|
|
1840
|
-
}
|
|
1815
|
+
| { name: 'ApprovalCancelled'; data: { assetId: StagingXcmV4Location; owner: AccountId32; delegate: AccountId32 } }
|
|
1841
1816
|
/**
|
|
1842
1817
|
* An `amount` was transferred in its entirety from `owner` to `destination` by
|
|
1843
1818
|
* the approved `delegate`.
|
|
@@ -1845,7 +1820,7 @@ export type PalletAssetsEvent002 =
|
|
|
1845
1820
|
| {
|
|
1846
1821
|
name: 'TransferredApproved';
|
|
1847
1822
|
data: {
|
|
1848
|
-
assetId:
|
|
1823
|
+
assetId: StagingXcmV4Location;
|
|
1849
1824
|
owner: AccountId32;
|
|
1850
1825
|
delegate: AccountId32;
|
|
1851
1826
|
destination: AccountId32;
|
|
@@ -1855,30 +1830,27 @@ export type PalletAssetsEvent002 =
|
|
|
1855
1830
|
/**
|
|
1856
1831
|
* An asset has had its attributes changed by the `Force` origin.
|
|
1857
1832
|
**/
|
|
1858
|
-
| { name: 'AssetStatusChanged'; data: { assetId:
|
|
1833
|
+
| { name: 'AssetStatusChanged'; data: { assetId: StagingXcmV4Location } }
|
|
1859
1834
|
/**
|
|
1860
1835
|
* The min_balance of an asset has been updated by the asset owner.
|
|
1861
1836
|
**/
|
|
1862
|
-
| { name: 'AssetMinBalanceChanged'; data: { assetId:
|
|
1837
|
+
| { name: 'AssetMinBalanceChanged'; data: { assetId: StagingXcmV4Location; newMinBalance: bigint } }
|
|
1863
1838
|
/**
|
|
1864
1839
|
* Some account `who` was created with a deposit from `depositor`.
|
|
1865
1840
|
**/
|
|
1866
|
-
| {
|
|
1867
|
-
name: 'Touched';
|
|
1868
|
-
data: { assetId: StagingXcmV3MultilocationMultiLocation; who: AccountId32; depositor: AccountId32 };
|
|
1869
|
-
}
|
|
1841
|
+
| { name: 'Touched'; data: { assetId: StagingXcmV4Location; who: AccountId32; depositor: AccountId32 } }
|
|
1870
1842
|
/**
|
|
1871
1843
|
* Some account `who` was blocked.
|
|
1872
1844
|
**/
|
|
1873
|
-
| { name: 'Blocked'; data: { assetId:
|
|
1845
|
+
| { name: 'Blocked'; data: { assetId: StagingXcmV4Location; who: AccountId32 } }
|
|
1874
1846
|
/**
|
|
1875
1847
|
* Some assets were deposited (e.g. for transaction fees).
|
|
1876
1848
|
**/
|
|
1877
|
-
| { name: 'Deposited'; data: { assetId:
|
|
1849
|
+
| { name: 'Deposited'; data: { assetId: StagingXcmV4Location; who: AccountId32; amount: bigint } }
|
|
1878
1850
|
/**
|
|
1879
1851
|
* Some assets were withdrawn from the account (e.g. for transaction fees).
|
|
1880
1852
|
**/
|
|
1881
|
-
| { name: 'Withdrawn'; data: { assetId:
|
|
1853
|
+
| { name: 'Withdrawn'; data: { assetId: StagingXcmV4Location; who: AccountId32; amount: bigint } };
|
|
1882
1854
|
|
|
1883
1855
|
/**
|
|
1884
1856
|
* The `Event` enum of this pallet
|
|
@@ -1899,7 +1871,7 @@ export type PalletAssetConversionEvent =
|
|
|
1899
1871
|
* The pool id associated with the pool. Note that the order of the assets may not be
|
|
1900
1872
|
* the same as the order specified in the create pool extrinsic.
|
|
1901
1873
|
**/
|
|
1902
|
-
poolId: [
|
|
1874
|
+
poolId: [StagingXcmV4Location, StagingXcmV4Location];
|
|
1903
1875
|
|
|
1904
1876
|
/**
|
|
1905
1877
|
* The account ID of the pool.
|
|
@@ -1932,7 +1904,7 @@ export type PalletAssetConversionEvent =
|
|
|
1932
1904
|
/**
|
|
1933
1905
|
* The pool id of the pool that the liquidity was added to.
|
|
1934
1906
|
**/
|
|
1935
|
-
poolId: [
|
|
1907
|
+
poolId: [StagingXcmV4Location, StagingXcmV4Location];
|
|
1936
1908
|
|
|
1937
1909
|
/**
|
|
1938
1910
|
* The amount of the first asset that was added to the pool.
|
|
@@ -1974,7 +1946,7 @@ export type PalletAssetConversionEvent =
|
|
|
1974
1946
|
/**
|
|
1975
1947
|
* The pool id that the liquidity was removed from.
|
|
1976
1948
|
**/
|
|
1977
|
-
poolId: [
|
|
1949
|
+
poolId: [StagingXcmV4Location, StagingXcmV4Location];
|
|
1978
1950
|
|
|
1979
1951
|
/**
|
|
1980
1952
|
* The amount of the first asset that was removed from the pool.
|
|
@@ -2033,7 +2005,7 @@ export type PalletAssetConversionEvent =
|
|
|
2033
2005
|
* The route of asset IDs with amounts that the swap went through.
|
|
2034
2006
|
* E.g. (A, amount_in) -> (Dot, amount_out) -> (B, amount_out)
|
|
2035
2007
|
**/
|
|
2036
|
-
path: Array<[
|
|
2008
|
+
path: Array<[StagingXcmV4Location, bigint]>;
|
|
2037
2009
|
};
|
|
2038
2010
|
}
|
|
2039
2011
|
/**
|
|
@@ -2056,7 +2028,7 @@ export type PalletAssetConversionEvent =
|
|
|
2056
2028
|
* The route of asset IDs with amounts that the swap went through.
|
|
2057
2029
|
* E.g. (A, amount_in) -> (Dot, amount_out) -> (B, amount_out)
|
|
2058
2030
|
**/
|
|
2059
|
-
path: Array<[
|
|
2031
|
+
path: Array<[StagingXcmV4Location, bigint]>;
|
|
2060
2032
|
};
|
|
2061
2033
|
}
|
|
2062
2034
|
/**
|
|
@@ -2068,7 +2040,7 @@ export type PalletAssetConversionEvent =
|
|
|
2068
2040
|
/**
|
|
2069
2041
|
* The ID of the pool.
|
|
2070
2042
|
**/
|
|
2071
|
-
poolId: [
|
|
2043
|
+
poolId: [StagingXcmV4Location, StagingXcmV4Location];
|
|
2072
2044
|
|
|
2073
2045
|
/**
|
|
2074
2046
|
* The account initiating the touch.
|
|
@@ -9079,7 +9051,7 @@ export type PalletAssetsCall002 =
|
|
|
9079
9051
|
*
|
|
9080
9052
|
* Weight: `O(1)`
|
|
9081
9053
|
**/
|
|
9082
|
-
| { name: 'Create'; params: { id:
|
|
9054
|
+
| { name: 'Create'; params: { id: StagingXcmV4Location; admin: MultiAddress; minBalance: bigint } }
|
|
9083
9055
|
/**
|
|
9084
9056
|
* Issue a new class of fungible assets from a privileged origin.
|
|
9085
9057
|
*
|
|
@@ -9103,12 +9075,7 @@ export type PalletAssetsCall002 =
|
|
|
9103
9075
|
**/
|
|
9104
9076
|
| {
|
|
9105
9077
|
name: 'ForceCreate';
|
|
9106
|
-
params: {
|
|
9107
|
-
id: StagingXcmV3MultilocationMultiLocation;
|
|
9108
|
-
owner: MultiAddress;
|
|
9109
|
-
isSufficient: boolean;
|
|
9110
|
-
minBalance: bigint;
|
|
9111
|
-
};
|
|
9078
|
+
params: { id: StagingXcmV4Location; owner: MultiAddress; isSufficient: boolean; minBalance: bigint };
|
|
9112
9079
|
}
|
|
9113
9080
|
/**
|
|
9114
9081
|
* Start the process of destroying a fungible asset class.
|
|
@@ -9123,7 +9090,7 @@ export type PalletAssetsCall002 =
|
|
|
9123
9090
|
*
|
|
9124
9091
|
* The asset class must be frozen before calling `start_destroy`.
|
|
9125
9092
|
**/
|
|
9126
|
-
| { name: 'StartDestroy'; params: { id:
|
|
9093
|
+
| { name: 'StartDestroy'; params: { id: StagingXcmV4Location } }
|
|
9127
9094
|
/**
|
|
9128
9095
|
* Destroy all accounts associated with a given asset.
|
|
9129
9096
|
*
|
|
@@ -9138,7 +9105,7 @@ export type PalletAssetsCall002 =
|
|
|
9138
9105
|
*
|
|
9139
9106
|
* Each call emits the `Event::DestroyedAccounts` event.
|
|
9140
9107
|
**/
|
|
9141
|
-
| { name: 'DestroyAccounts'; params: { id:
|
|
9108
|
+
| { name: 'DestroyAccounts'; params: { id: StagingXcmV4Location } }
|
|
9142
9109
|
/**
|
|
9143
9110
|
* Destroy all approvals associated with a given asset up to the max (T::RemoveItemsLimit).
|
|
9144
9111
|
*
|
|
@@ -9153,7 +9120,7 @@ export type PalletAssetsCall002 =
|
|
|
9153
9120
|
*
|
|
9154
9121
|
* Each call emits the `Event::DestroyedApprovals` event.
|
|
9155
9122
|
**/
|
|
9156
|
-
| { name: 'DestroyApprovals'; params: { id:
|
|
9123
|
+
| { name: 'DestroyApprovals'; params: { id: StagingXcmV4Location } }
|
|
9157
9124
|
/**
|
|
9158
9125
|
* Complete destroying asset and unreserve currency.
|
|
9159
9126
|
*
|
|
@@ -9166,7 +9133,7 @@ export type PalletAssetsCall002 =
|
|
|
9166
9133
|
*
|
|
9167
9134
|
* Each successful call emits the `Event::Destroyed` event.
|
|
9168
9135
|
**/
|
|
9169
|
-
| { name: 'FinishDestroy'; params: { id:
|
|
9136
|
+
| { name: 'FinishDestroy'; params: { id: StagingXcmV4Location } }
|
|
9170
9137
|
/**
|
|
9171
9138
|
* Mint assets of a particular class.
|
|
9172
9139
|
*
|
|
@@ -9181,7 +9148,7 @@ export type PalletAssetsCall002 =
|
|
|
9181
9148
|
* Weight: `O(1)`
|
|
9182
9149
|
* Modes: Pre-existing balance of `beneficiary`; Account pre-existence of `beneficiary`.
|
|
9183
9150
|
**/
|
|
9184
|
-
| { name: 'Mint'; params: { id:
|
|
9151
|
+
| { name: 'Mint'; params: { id: StagingXcmV4Location; beneficiary: MultiAddress; amount: bigint } }
|
|
9185
9152
|
/**
|
|
9186
9153
|
* Reduce the balance of `who` by as much as possible up to `amount` assets of `id`.
|
|
9187
9154
|
*
|
|
@@ -9199,7 +9166,7 @@ export type PalletAssetsCall002 =
|
|
|
9199
9166
|
* Weight: `O(1)`
|
|
9200
9167
|
* Modes: Post-existence of `who`; Pre & post Zombie-status of `who`.
|
|
9201
9168
|
**/
|
|
9202
|
-
| { name: 'Burn'; params: { id:
|
|
9169
|
+
| { name: 'Burn'; params: { id: StagingXcmV4Location; who: MultiAddress; amount: bigint } }
|
|
9203
9170
|
/**
|
|
9204
9171
|
* Move some assets from the sender account to another.
|
|
9205
9172
|
*
|
|
@@ -9220,7 +9187,7 @@ export type PalletAssetsCall002 =
|
|
|
9220
9187
|
* Modes: Pre-existence of `target`; Post-existence of sender; Account pre-existence of
|
|
9221
9188
|
* `target`.
|
|
9222
9189
|
**/
|
|
9223
|
-
| { name: 'Transfer'; params: { id:
|
|
9190
|
+
| { name: 'Transfer'; params: { id: StagingXcmV4Location; target: MultiAddress; amount: bigint } }
|
|
9224
9191
|
/**
|
|
9225
9192
|
* Move some assets from the sender account to another, keeping the sender account alive.
|
|
9226
9193
|
*
|
|
@@ -9241,10 +9208,7 @@ export type PalletAssetsCall002 =
|
|
|
9241
9208
|
* Modes: Pre-existence of `target`; Post-existence of sender; Account pre-existence of
|
|
9242
9209
|
* `target`.
|
|
9243
9210
|
**/
|
|
9244
|
-
| {
|
|
9245
|
-
name: 'TransferKeepAlive';
|
|
9246
|
-
params: { id: StagingXcmV3MultilocationMultiLocation; target: MultiAddress; amount: bigint };
|
|
9247
|
-
}
|
|
9211
|
+
| { name: 'TransferKeepAlive'; params: { id: StagingXcmV4Location; target: MultiAddress; amount: bigint } }
|
|
9248
9212
|
/**
|
|
9249
9213
|
* Move some assets from one account to another.
|
|
9250
9214
|
*
|
|
@@ -9268,7 +9232,7 @@ export type PalletAssetsCall002 =
|
|
|
9268
9232
|
**/
|
|
9269
9233
|
| {
|
|
9270
9234
|
name: 'ForceTransfer';
|
|
9271
|
-
params: { id:
|
|
9235
|
+
params: { id: StagingXcmV4Location; source: MultiAddress; dest: MultiAddress; amount: bigint };
|
|
9272
9236
|
}
|
|
9273
9237
|
/**
|
|
9274
9238
|
* Disallow further unprivileged transfers of an asset `id` from an account `who`. `who`
|
|
@@ -9284,7 +9248,7 @@ export type PalletAssetsCall002 =
|
|
|
9284
9248
|
*
|
|
9285
9249
|
* Weight: `O(1)`
|
|
9286
9250
|
**/
|
|
9287
|
-
| { name: 'Freeze'; params: { id:
|
|
9251
|
+
| { name: 'Freeze'; params: { id: StagingXcmV4Location; who: MultiAddress } }
|
|
9288
9252
|
/**
|
|
9289
9253
|
* Allow unprivileged transfers to and from an account again.
|
|
9290
9254
|
*
|
|
@@ -9297,7 +9261,7 @@ export type PalletAssetsCall002 =
|
|
|
9297
9261
|
*
|
|
9298
9262
|
* Weight: `O(1)`
|
|
9299
9263
|
**/
|
|
9300
|
-
| { name: 'Thaw'; params: { id:
|
|
9264
|
+
| { name: 'Thaw'; params: { id: StagingXcmV4Location; who: MultiAddress } }
|
|
9301
9265
|
/**
|
|
9302
9266
|
* Disallow further unprivileged transfers for the asset class.
|
|
9303
9267
|
*
|
|
@@ -9309,7 +9273,7 @@ export type PalletAssetsCall002 =
|
|
|
9309
9273
|
*
|
|
9310
9274
|
* Weight: `O(1)`
|
|
9311
9275
|
**/
|
|
9312
|
-
| { name: 'FreezeAsset'; params: { id:
|
|
9276
|
+
| { name: 'FreezeAsset'; params: { id: StagingXcmV4Location } }
|
|
9313
9277
|
/**
|
|
9314
9278
|
* Allow unprivileged transfers for the asset again.
|
|
9315
9279
|
*
|
|
@@ -9321,7 +9285,7 @@ export type PalletAssetsCall002 =
|
|
|
9321
9285
|
*
|
|
9322
9286
|
* Weight: `O(1)`
|
|
9323
9287
|
**/
|
|
9324
|
-
| { name: 'ThawAsset'; params: { id:
|
|
9288
|
+
| { name: 'ThawAsset'; params: { id: StagingXcmV4Location } }
|
|
9325
9289
|
/**
|
|
9326
9290
|
* Change the Owner of an asset.
|
|
9327
9291
|
*
|
|
@@ -9334,7 +9298,7 @@ export type PalletAssetsCall002 =
|
|
|
9334
9298
|
*
|
|
9335
9299
|
* Weight: `O(1)`
|
|
9336
9300
|
**/
|
|
9337
|
-
| { name: 'TransferOwnership'; params: { id:
|
|
9301
|
+
| { name: 'TransferOwnership'; params: { id: StagingXcmV4Location; owner: MultiAddress } }
|
|
9338
9302
|
/**
|
|
9339
9303
|
* Change the Issuer, Admin and Freezer of an asset.
|
|
9340
9304
|
*
|
|
@@ -9351,12 +9315,7 @@ export type PalletAssetsCall002 =
|
|
|
9351
9315
|
**/
|
|
9352
9316
|
| {
|
|
9353
9317
|
name: 'SetTeam';
|
|
9354
|
-
params: {
|
|
9355
|
-
id: StagingXcmV3MultilocationMultiLocation;
|
|
9356
|
-
issuer: MultiAddress;
|
|
9357
|
-
admin: MultiAddress;
|
|
9358
|
-
freezer: MultiAddress;
|
|
9359
|
-
};
|
|
9318
|
+
params: { id: StagingXcmV4Location; issuer: MultiAddress; admin: MultiAddress; freezer: MultiAddress };
|
|
9360
9319
|
}
|
|
9361
9320
|
/**
|
|
9362
9321
|
* Set the metadata for an asset.
|
|
@@ -9376,10 +9335,7 @@ export type PalletAssetsCall002 =
|
|
|
9376
9335
|
*
|
|
9377
9336
|
* Weight: `O(1)`
|
|
9378
9337
|
**/
|
|
9379
|
-
| {
|
|
9380
|
-
name: 'SetMetadata';
|
|
9381
|
-
params: { id: StagingXcmV3MultilocationMultiLocation; name: Bytes; symbol: Bytes; decimals: number };
|
|
9382
|
-
}
|
|
9338
|
+
| { name: 'SetMetadata'; params: { id: StagingXcmV4Location; name: Bytes; symbol: Bytes; decimals: number } }
|
|
9383
9339
|
/**
|
|
9384
9340
|
* Clear the metadata for an asset.
|
|
9385
9341
|
*
|
|
@@ -9393,7 +9349,7 @@ export type PalletAssetsCall002 =
|
|
|
9393
9349
|
*
|
|
9394
9350
|
* Weight: `O(1)`
|
|
9395
9351
|
**/
|
|
9396
|
-
| { name: 'ClearMetadata'; params: { id:
|
|
9352
|
+
| { name: 'ClearMetadata'; params: { id: StagingXcmV4Location } }
|
|
9397
9353
|
/**
|
|
9398
9354
|
* Force the metadata for an asset to some value.
|
|
9399
9355
|
*
|
|
@@ -9412,13 +9368,7 @@ export type PalletAssetsCall002 =
|
|
|
9412
9368
|
**/
|
|
9413
9369
|
| {
|
|
9414
9370
|
name: 'ForceSetMetadata';
|
|
9415
|
-
params: {
|
|
9416
|
-
id: StagingXcmV3MultilocationMultiLocation;
|
|
9417
|
-
name: Bytes;
|
|
9418
|
-
symbol: Bytes;
|
|
9419
|
-
decimals: number;
|
|
9420
|
-
isFrozen: boolean;
|
|
9421
|
-
};
|
|
9371
|
+
params: { id: StagingXcmV4Location; name: Bytes; symbol: Bytes; decimals: number; isFrozen: boolean };
|
|
9422
9372
|
}
|
|
9423
9373
|
/**
|
|
9424
9374
|
* Clear the metadata for an asset.
|
|
@@ -9433,7 +9383,7 @@ export type PalletAssetsCall002 =
|
|
|
9433
9383
|
*
|
|
9434
9384
|
* Weight: `O(1)`
|
|
9435
9385
|
**/
|
|
9436
|
-
| { name: 'ForceClearMetadata'; params: { id:
|
|
9386
|
+
| { name: 'ForceClearMetadata'; params: { id: StagingXcmV4Location } }
|
|
9437
9387
|
/**
|
|
9438
9388
|
* Alter the attributes of a given asset.
|
|
9439
9389
|
*
|
|
@@ -9461,7 +9411,7 @@ export type PalletAssetsCall002 =
|
|
|
9461
9411
|
| {
|
|
9462
9412
|
name: 'ForceAssetStatus';
|
|
9463
9413
|
params: {
|
|
9464
|
-
id:
|
|
9414
|
+
id: StagingXcmV4Location;
|
|
9465
9415
|
owner: MultiAddress;
|
|
9466
9416
|
issuer: MultiAddress;
|
|
9467
9417
|
admin: MultiAddress;
|
|
@@ -9493,10 +9443,7 @@ export type PalletAssetsCall002 =
|
|
|
9493
9443
|
*
|
|
9494
9444
|
* Weight: `O(1)`
|
|
9495
9445
|
**/
|
|
9496
|
-
| {
|
|
9497
|
-
name: 'ApproveTransfer';
|
|
9498
|
-
params: { id: StagingXcmV3MultilocationMultiLocation; delegate: MultiAddress; amount: bigint };
|
|
9499
|
-
}
|
|
9446
|
+
| { name: 'ApproveTransfer'; params: { id: StagingXcmV4Location; delegate: MultiAddress; amount: bigint } }
|
|
9500
9447
|
/**
|
|
9501
9448
|
* Cancel all of some asset approved for delegated transfer by a third-party account.
|
|
9502
9449
|
*
|
|
@@ -9512,7 +9459,7 @@ export type PalletAssetsCall002 =
|
|
|
9512
9459
|
*
|
|
9513
9460
|
* Weight: `O(1)`
|
|
9514
9461
|
**/
|
|
9515
|
-
| { name: 'CancelApproval'; params: { id:
|
|
9462
|
+
| { name: 'CancelApproval'; params: { id: StagingXcmV4Location; delegate: MultiAddress } }
|
|
9516
9463
|
/**
|
|
9517
9464
|
* Cancel all of some asset approved for delegated transfer by a third-party account.
|
|
9518
9465
|
*
|
|
@@ -9528,10 +9475,7 @@ export type PalletAssetsCall002 =
|
|
|
9528
9475
|
*
|
|
9529
9476
|
* Weight: `O(1)`
|
|
9530
9477
|
**/
|
|
9531
|
-
| {
|
|
9532
|
-
name: 'ForceCancelApproval';
|
|
9533
|
-
params: { id: StagingXcmV3MultilocationMultiLocation; owner: MultiAddress; delegate: MultiAddress };
|
|
9534
|
-
}
|
|
9478
|
+
| { name: 'ForceCancelApproval'; params: { id: StagingXcmV4Location; owner: MultiAddress; delegate: MultiAddress } }
|
|
9535
9479
|
/**
|
|
9536
9480
|
* Transfer some asset balance from a previously delegated account to some third-party
|
|
9537
9481
|
* account.
|
|
@@ -9554,12 +9498,7 @@ export type PalletAssetsCall002 =
|
|
|
9554
9498
|
**/
|
|
9555
9499
|
| {
|
|
9556
9500
|
name: 'TransferApproved';
|
|
9557
|
-
params: {
|
|
9558
|
-
id: StagingXcmV3MultilocationMultiLocation;
|
|
9559
|
-
owner: MultiAddress;
|
|
9560
|
-
destination: MultiAddress;
|
|
9561
|
-
amount: bigint;
|
|
9562
|
-
};
|
|
9501
|
+
params: { id: StagingXcmV4Location; owner: MultiAddress; destination: MultiAddress; amount: bigint };
|
|
9563
9502
|
}
|
|
9564
9503
|
/**
|
|
9565
9504
|
* Create an asset account for non-provider assets.
|
|
@@ -9572,7 +9511,7 @@ export type PalletAssetsCall002 =
|
|
|
9572
9511
|
*
|
|
9573
9512
|
* Emits `Touched` event when successful.
|
|
9574
9513
|
**/
|
|
9575
|
-
| { name: 'Touch'; params: { id:
|
|
9514
|
+
| { name: 'Touch'; params: { id: StagingXcmV4Location } }
|
|
9576
9515
|
/**
|
|
9577
9516
|
* Return the deposit (if any) of an asset account or a consumer reference (if any) of an
|
|
9578
9517
|
* account.
|
|
@@ -9585,7 +9524,7 @@ export type PalletAssetsCall002 =
|
|
|
9585
9524
|
*
|
|
9586
9525
|
* Emits `Refunded` event when successful.
|
|
9587
9526
|
**/
|
|
9588
|
-
| { name: 'Refund'; params: { id:
|
|
9527
|
+
| { name: 'Refund'; params: { id: StagingXcmV4Location; allowBurn: boolean } }
|
|
9589
9528
|
/**
|
|
9590
9529
|
* Sets the minimum balance of an asset.
|
|
9591
9530
|
*
|
|
@@ -9600,7 +9539,7 @@ export type PalletAssetsCall002 =
|
|
|
9600
9539
|
*
|
|
9601
9540
|
* Emits `AssetMinBalanceChanged` event when successful.
|
|
9602
9541
|
**/
|
|
9603
|
-
| { name: 'SetMinBalance'; params: { id:
|
|
9542
|
+
| { name: 'SetMinBalance'; params: { id: StagingXcmV4Location; minBalance: bigint } }
|
|
9604
9543
|
/**
|
|
9605
9544
|
* Create an asset account for `who`.
|
|
9606
9545
|
*
|
|
@@ -9613,7 +9552,7 @@ export type PalletAssetsCall002 =
|
|
|
9613
9552
|
*
|
|
9614
9553
|
* Emits `Touched` event when successful.
|
|
9615
9554
|
**/
|
|
9616
|
-
| { name: 'TouchOther'; params: { id:
|
|
9555
|
+
| { name: 'TouchOther'; params: { id: StagingXcmV4Location; who: MultiAddress } }
|
|
9617
9556
|
/**
|
|
9618
9557
|
* Return the deposit (if any) of a target asset account. Useful if you are the depositor.
|
|
9619
9558
|
*
|
|
@@ -9626,7 +9565,7 @@ export type PalletAssetsCall002 =
|
|
|
9626
9565
|
*
|
|
9627
9566
|
* Emits `Refunded` event when successful.
|
|
9628
9567
|
**/
|
|
9629
|
-
| { name: 'RefundOther'; params: { id:
|
|
9568
|
+
| { name: 'RefundOther'; params: { id: StagingXcmV4Location; who: MultiAddress } }
|
|
9630
9569
|
/**
|
|
9631
9570
|
* Disallow further unprivileged transfers of an asset `id` to and from an account `who`.
|
|
9632
9571
|
*
|
|
@@ -9639,7 +9578,7 @@ export type PalletAssetsCall002 =
|
|
|
9639
9578
|
*
|
|
9640
9579
|
* Weight: `O(1)`
|
|
9641
9580
|
**/
|
|
9642
|
-
| { name: 'Block'; params: { id:
|
|
9581
|
+
| { name: 'Block'; params: { id: StagingXcmV4Location; who: MultiAddress } };
|
|
9643
9582
|
|
|
9644
9583
|
export type PalletAssetsCallLike002 =
|
|
9645
9584
|
/**
|
|
@@ -9663,10 +9602,7 @@ export type PalletAssetsCallLike002 =
|
|
|
9663
9602
|
*
|
|
9664
9603
|
* Weight: `O(1)`
|
|
9665
9604
|
**/
|
|
9666
|
-
| {
|
|
9667
|
-
name: 'Create';
|
|
9668
|
-
params: { id: StagingXcmV3MultilocationMultiLocation; admin: MultiAddressLike; minBalance: bigint };
|
|
9669
|
-
}
|
|
9605
|
+
| { name: 'Create'; params: { id: StagingXcmV4Location; admin: MultiAddressLike; minBalance: bigint } }
|
|
9670
9606
|
/**
|
|
9671
9607
|
* Issue a new class of fungible assets from a privileged origin.
|
|
9672
9608
|
*
|
|
@@ -9690,12 +9626,7 @@ export type PalletAssetsCallLike002 =
|
|
|
9690
9626
|
**/
|
|
9691
9627
|
| {
|
|
9692
9628
|
name: 'ForceCreate';
|
|
9693
|
-
params: {
|
|
9694
|
-
id: StagingXcmV3MultilocationMultiLocation;
|
|
9695
|
-
owner: MultiAddressLike;
|
|
9696
|
-
isSufficient: boolean;
|
|
9697
|
-
minBalance: bigint;
|
|
9698
|
-
};
|
|
9629
|
+
params: { id: StagingXcmV4Location; owner: MultiAddressLike; isSufficient: boolean; minBalance: bigint };
|
|
9699
9630
|
}
|
|
9700
9631
|
/**
|
|
9701
9632
|
* Start the process of destroying a fungible asset class.
|
|
@@ -9710,7 +9641,7 @@ export type PalletAssetsCallLike002 =
|
|
|
9710
9641
|
*
|
|
9711
9642
|
* The asset class must be frozen before calling `start_destroy`.
|
|
9712
9643
|
**/
|
|
9713
|
-
| { name: 'StartDestroy'; params: { id:
|
|
9644
|
+
| { name: 'StartDestroy'; params: { id: StagingXcmV4Location } }
|
|
9714
9645
|
/**
|
|
9715
9646
|
* Destroy all accounts associated with a given asset.
|
|
9716
9647
|
*
|
|
@@ -9725,7 +9656,7 @@ export type PalletAssetsCallLike002 =
|
|
|
9725
9656
|
*
|
|
9726
9657
|
* Each call emits the `Event::DestroyedAccounts` event.
|
|
9727
9658
|
**/
|
|
9728
|
-
| { name: 'DestroyAccounts'; params: { id:
|
|
9659
|
+
| { name: 'DestroyAccounts'; params: { id: StagingXcmV4Location } }
|
|
9729
9660
|
/**
|
|
9730
9661
|
* Destroy all approvals associated with a given asset up to the max (T::RemoveItemsLimit).
|
|
9731
9662
|
*
|
|
@@ -9740,7 +9671,7 @@ export type PalletAssetsCallLike002 =
|
|
|
9740
9671
|
*
|
|
9741
9672
|
* Each call emits the `Event::DestroyedApprovals` event.
|
|
9742
9673
|
**/
|
|
9743
|
-
| { name: 'DestroyApprovals'; params: { id:
|
|
9674
|
+
| { name: 'DestroyApprovals'; params: { id: StagingXcmV4Location } }
|
|
9744
9675
|
/**
|
|
9745
9676
|
* Complete destroying asset and unreserve currency.
|
|
9746
9677
|
*
|
|
@@ -9753,7 +9684,7 @@ export type PalletAssetsCallLike002 =
|
|
|
9753
9684
|
*
|
|
9754
9685
|
* Each successful call emits the `Event::Destroyed` event.
|
|
9755
9686
|
**/
|
|
9756
|
-
| { name: 'FinishDestroy'; params: { id:
|
|
9687
|
+
| { name: 'FinishDestroy'; params: { id: StagingXcmV4Location } }
|
|
9757
9688
|
/**
|
|
9758
9689
|
* Mint assets of a particular class.
|
|
9759
9690
|
*
|
|
@@ -9768,10 +9699,7 @@ export type PalletAssetsCallLike002 =
|
|
|
9768
9699
|
* Weight: `O(1)`
|
|
9769
9700
|
* Modes: Pre-existing balance of `beneficiary`; Account pre-existence of `beneficiary`.
|
|
9770
9701
|
**/
|
|
9771
|
-
| {
|
|
9772
|
-
name: 'Mint';
|
|
9773
|
-
params: { id: StagingXcmV3MultilocationMultiLocation; beneficiary: MultiAddressLike; amount: bigint };
|
|
9774
|
-
}
|
|
9702
|
+
| { name: 'Mint'; params: { id: StagingXcmV4Location; beneficiary: MultiAddressLike; amount: bigint } }
|
|
9775
9703
|
/**
|
|
9776
9704
|
* Reduce the balance of `who` by as much as possible up to `amount` assets of `id`.
|
|
9777
9705
|
*
|
|
@@ -9789,7 +9717,7 @@ export type PalletAssetsCallLike002 =
|
|
|
9789
9717
|
* Weight: `O(1)`
|
|
9790
9718
|
* Modes: Post-existence of `who`; Pre & post Zombie-status of `who`.
|
|
9791
9719
|
**/
|
|
9792
|
-
| { name: 'Burn'; params: { id:
|
|
9720
|
+
| { name: 'Burn'; params: { id: StagingXcmV4Location; who: MultiAddressLike; amount: bigint } }
|
|
9793
9721
|
/**
|
|
9794
9722
|
* Move some assets from the sender account to another.
|
|
9795
9723
|
*
|
|
@@ -9810,10 +9738,7 @@ export type PalletAssetsCallLike002 =
|
|
|
9810
9738
|
* Modes: Pre-existence of `target`; Post-existence of sender; Account pre-existence of
|
|
9811
9739
|
* `target`.
|
|
9812
9740
|
**/
|
|
9813
|
-
| {
|
|
9814
|
-
name: 'Transfer';
|
|
9815
|
-
params: { id: StagingXcmV3MultilocationMultiLocation; target: MultiAddressLike; amount: bigint };
|
|
9816
|
-
}
|
|
9741
|
+
| { name: 'Transfer'; params: { id: StagingXcmV4Location; target: MultiAddressLike; amount: bigint } }
|
|
9817
9742
|
/**
|
|
9818
9743
|
* Move some assets from the sender account to another, keeping the sender account alive.
|
|
9819
9744
|
*
|
|
@@ -9834,10 +9759,7 @@ export type PalletAssetsCallLike002 =
|
|
|
9834
9759
|
* Modes: Pre-existence of `target`; Post-existence of sender; Account pre-existence of
|
|
9835
9760
|
* `target`.
|
|
9836
9761
|
**/
|
|
9837
|
-
| {
|
|
9838
|
-
name: 'TransferKeepAlive';
|
|
9839
|
-
params: { id: StagingXcmV3MultilocationMultiLocation; target: MultiAddressLike; amount: bigint };
|
|
9840
|
-
}
|
|
9762
|
+
| { name: 'TransferKeepAlive'; params: { id: StagingXcmV4Location; target: MultiAddressLike; amount: bigint } }
|
|
9841
9763
|
/**
|
|
9842
9764
|
* Move some assets from one account to another.
|
|
9843
9765
|
*
|
|
@@ -9861,12 +9783,7 @@ export type PalletAssetsCallLike002 =
|
|
|
9861
9783
|
**/
|
|
9862
9784
|
| {
|
|
9863
9785
|
name: 'ForceTransfer';
|
|
9864
|
-
params: {
|
|
9865
|
-
id: StagingXcmV3MultilocationMultiLocation;
|
|
9866
|
-
source: MultiAddressLike;
|
|
9867
|
-
dest: MultiAddressLike;
|
|
9868
|
-
amount: bigint;
|
|
9869
|
-
};
|
|
9786
|
+
params: { id: StagingXcmV4Location; source: MultiAddressLike; dest: MultiAddressLike; amount: bigint };
|
|
9870
9787
|
}
|
|
9871
9788
|
/**
|
|
9872
9789
|
* Disallow further unprivileged transfers of an asset `id` from an account `who`. `who`
|
|
@@ -9882,7 +9799,7 @@ export type PalletAssetsCallLike002 =
|
|
|
9882
9799
|
*
|
|
9883
9800
|
* Weight: `O(1)`
|
|
9884
9801
|
**/
|
|
9885
|
-
| { name: 'Freeze'; params: { id:
|
|
9802
|
+
| { name: 'Freeze'; params: { id: StagingXcmV4Location; who: MultiAddressLike } }
|
|
9886
9803
|
/**
|
|
9887
9804
|
* Allow unprivileged transfers to and from an account again.
|
|
9888
9805
|
*
|
|
@@ -9895,7 +9812,7 @@ export type PalletAssetsCallLike002 =
|
|
|
9895
9812
|
*
|
|
9896
9813
|
* Weight: `O(1)`
|
|
9897
9814
|
**/
|
|
9898
|
-
| { name: 'Thaw'; params: { id:
|
|
9815
|
+
| { name: 'Thaw'; params: { id: StagingXcmV4Location; who: MultiAddressLike } }
|
|
9899
9816
|
/**
|
|
9900
9817
|
* Disallow further unprivileged transfers for the asset class.
|
|
9901
9818
|
*
|
|
@@ -9907,7 +9824,7 @@ export type PalletAssetsCallLike002 =
|
|
|
9907
9824
|
*
|
|
9908
9825
|
* Weight: `O(1)`
|
|
9909
9826
|
**/
|
|
9910
|
-
| { name: 'FreezeAsset'; params: { id:
|
|
9827
|
+
| { name: 'FreezeAsset'; params: { id: StagingXcmV4Location } }
|
|
9911
9828
|
/**
|
|
9912
9829
|
* Allow unprivileged transfers for the asset again.
|
|
9913
9830
|
*
|
|
@@ -9919,7 +9836,7 @@ export type PalletAssetsCallLike002 =
|
|
|
9919
9836
|
*
|
|
9920
9837
|
* Weight: `O(1)`
|
|
9921
9838
|
**/
|
|
9922
|
-
| { name: 'ThawAsset'; params: { id:
|
|
9839
|
+
| { name: 'ThawAsset'; params: { id: StagingXcmV4Location } }
|
|
9923
9840
|
/**
|
|
9924
9841
|
* Change the Owner of an asset.
|
|
9925
9842
|
*
|
|
@@ -9932,7 +9849,7 @@ export type PalletAssetsCallLike002 =
|
|
|
9932
9849
|
*
|
|
9933
9850
|
* Weight: `O(1)`
|
|
9934
9851
|
**/
|
|
9935
|
-
| { name: 'TransferOwnership'; params: { id:
|
|
9852
|
+
| { name: 'TransferOwnership'; params: { id: StagingXcmV4Location; owner: MultiAddressLike } }
|
|
9936
9853
|
/**
|
|
9937
9854
|
* Change the Issuer, Admin and Freezer of an asset.
|
|
9938
9855
|
*
|
|
@@ -9950,7 +9867,7 @@ export type PalletAssetsCallLike002 =
|
|
|
9950
9867
|
| {
|
|
9951
9868
|
name: 'SetTeam';
|
|
9952
9869
|
params: {
|
|
9953
|
-
id:
|
|
9870
|
+
id: StagingXcmV4Location;
|
|
9954
9871
|
issuer: MultiAddressLike;
|
|
9955
9872
|
admin: MultiAddressLike;
|
|
9956
9873
|
freezer: MultiAddressLike;
|
|
@@ -9974,10 +9891,7 @@ export type PalletAssetsCallLike002 =
|
|
|
9974
9891
|
*
|
|
9975
9892
|
* Weight: `O(1)`
|
|
9976
9893
|
**/
|
|
9977
|
-
| {
|
|
9978
|
-
name: 'SetMetadata';
|
|
9979
|
-
params: { id: StagingXcmV3MultilocationMultiLocation; name: BytesLike; symbol: BytesLike; decimals: number };
|
|
9980
|
-
}
|
|
9894
|
+
| { name: 'SetMetadata'; params: { id: StagingXcmV4Location; name: BytesLike; symbol: BytesLike; decimals: number } }
|
|
9981
9895
|
/**
|
|
9982
9896
|
* Clear the metadata for an asset.
|
|
9983
9897
|
*
|
|
@@ -9991,7 +9905,7 @@ export type PalletAssetsCallLike002 =
|
|
|
9991
9905
|
*
|
|
9992
9906
|
* Weight: `O(1)`
|
|
9993
9907
|
**/
|
|
9994
|
-
| { name: 'ClearMetadata'; params: { id:
|
|
9908
|
+
| { name: 'ClearMetadata'; params: { id: StagingXcmV4Location } }
|
|
9995
9909
|
/**
|
|
9996
9910
|
* Force the metadata for an asset to some value.
|
|
9997
9911
|
*
|
|
@@ -10010,13 +9924,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10010
9924
|
**/
|
|
10011
9925
|
| {
|
|
10012
9926
|
name: 'ForceSetMetadata';
|
|
10013
|
-
params: {
|
|
10014
|
-
id: StagingXcmV3MultilocationMultiLocation;
|
|
10015
|
-
name: BytesLike;
|
|
10016
|
-
symbol: BytesLike;
|
|
10017
|
-
decimals: number;
|
|
10018
|
-
isFrozen: boolean;
|
|
10019
|
-
};
|
|
9927
|
+
params: { id: StagingXcmV4Location; name: BytesLike; symbol: BytesLike; decimals: number; isFrozen: boolean };
|
|
10020
9928
|
}
|
|
10021
9929
|
/**
|
|
10022
9930
|
* Clear the metadata for an asset.
|
|
@@ -10031,7 +9939,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10031
9939
|
*
|
|
10032
9940
|
* Weight: `O(1)`
|
|
10033
9941
|
**/
|
|
10034
|
-
| { name: 'ForceClearMetadata'; params: { id:
|
|
9942
|
+
| { name: 'ForceClearMetadata'; params: { id: StagingXcmV4Location } }
|
|
10035
9943
|
/**
|
|
10036
9944
|
* Alter the attributes of a given asset.
|
|
10037
9945
|
*
|
|
@@ -10059,7 +9967,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10059
9967
|
| {
|
|
10060
9968
|
name: 'ForceAssetStatus';
|
|
10061
9969
|
params: {
|
|
10062
|
-
id:
|
|
9970
|
+
id: StagingXcmV4Location;
|
|
10063
9971
|
owner: MultiAddressLike;
|
|
10064
9972
|
issuer: MultiAddressLike;
|
|
10065
9973
|
admin: MultiAddressLike;
|
|
@@ -10091,10 +9999,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10091
9999
|
*
|
|
10092
10000
|
* Weight: `O(1)`
|
|
10093
10001
|
**/
|
|
10094
|
-
| {
|
|
10095
|
-
name: 'ApproveTransfer';
|
|
10096
|
-
params: { id: StagingXcmV3MultilocationMultiLocation; delegate: MultiAddressLike; amount: bigint };
|
|
10097
|
-
}
|
|
10002
|
+
| { name: 'ApproveTransfer'; params: { id: StagingXcmV4Location; delegate: MultiAddressLike; amount: bigint } }
|
|
10098
10003
|
/**
|
|
10099
10004
|
* Cancel all of some asset approved for delegated transfer by a third-party account.
|
|
10100
10005
|
*
|
|
@@ -10110,7 +10015,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10110
10015
|
*
|
|
10111
10016
|
* Weight: `O(1)`
|
|
10112
10017
|
**/
|
|
10113
|
-
| { name: 'CancelApproval'; params: { id:
|
|
10018
|
+
| { name: 'CancelApproval'; params: { id: StagingXcmV4Location; delegate: MultiAddressLike } }
|
|
10114
10019
|
/**
|
|
10115
10020
|
* Cancel all of some asset approved for delegated transfer by a third-party account.
|
|
10116
10021
|
*
|
|
@@ -10128,7 +10033,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10128
10033
|
**/
|
|
10129
10034
|
| {
|
|
10130
10035
|
name: 'ForceCancelApproval';
|
|
10131
|
-
params: { id:
|
|
10036
|
+
params: { id: StagingXcmV4Location; owner: MultiAddressLike; delegate: MultiAddressLike };
|
|
10132
10037
|
}
|
|
10133
10038
|
/**
|
|
10134
10039
|
* Transfer some asset balance from a previously delegated account to some third-party
|
|
@@ -10152,12 +10057,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10152
10057
|
**/
|
|
10153
10058
|
| {
|
|
10154
10059
|
name: 'TransferApproved';
|
|
10155
|
-
params: {
|
|
10156
|
-
id: StagingXcmV3MultilocationMultiLocation;
|
|
10157
|
-
owner: MultiAddressLike;
|
|
10158
|
-
destination: MultiAddressLike;
|
|
10159
|
-
amount: bigint;
|
|
10160
|
-
};
|
|
10060
|
+
params: { id: StagingXcmV4Location; owner: MultiAddressLike; destination: MultiAddressLike; amount: bigint };
|
|
10161
10061
|
}
|
|
10162
10062
|
/**
|
|
10163
10063
|
* Create an asset account for non-provider assets.
|
|
@@ -10170,7 +10070,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10170
10070
|
*
|
|
10171
10071
|
* Emits `Touched` event when successful.
|
|
10172
10072
|
**/
|
|
10173
|
-
| { name: 'Touch'; params: { id:
|
|
10073
|
+
| { name: 'Touch'; params: { id: StagingXcmV4Location } }
|
|
10174
10074
|
/**
|
|
10175
10075
|
* Return the deposit (if any) of an asset account or a consumer reference (if any) of an
|
|
10176
10076
|
* account.
|
|
@@ -10183,7 +10083,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10183
10083
|
*
|
|
10184
10084
|
* Emits `Refunded` event when successful.
|
|
10185
10085
|
**/
|
|
10186
|
-
| { name: 'Refund'; params: { id:
|
|
10086
|
+
| { name: 'Refund'; params: { id: StagingXcmV4Location; allowBurn: boolean } }
|
|
10187
10087
|
/**
|
|
10188
10088
|
* Sets the minimum balance of an asset.
|
|
10189
10089
|
*
|
|
@@ -10198,7 +10098,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10198
10098
|
*
|
|
10199
10099
|
* Emits `AssetMinBalanceChanged` event when successful.
|
|
10200
10100
|
**/
|
|
10201
|
-
| { name: 'SetMinBalance'; params: { id:
|
|
10101
|
+
| { name: 'SetMinBalance'; params: { id: StagingXcmV4Location; minBalance: bigint } }
|
|
10202
10102
|
/**
|
|
10203
10103
|
* Create an asset account for `who`.
|
|
10204
10104
|
*
|
|
@@ -10211,7 +10111,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10211
10111
|
*
|
|
10212
10112
|
* Emits `Touched` event when successful.
|
|
10213
10113
|
**/
|
|
10214
|
-
| { name: 'TouchOther'; params: { id:
|
|
10114
|
+
| { name: 'TouchOther'; params: { id: StagingXcmV4Location; who: MultiAddressLike } }
|
|
10215
10115
|
/**
|
|
10216
10116
|
* Return the deposit (if any) of a target asset account. Useful if you are the depositor.
|
|
10217
10117
|
*
|
|
@@ -10224,7 +10124,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10224
10124
|
*
|
|
10225
10125
|
* Emits `Refunded` event when successful.
|
|
10226
10126
|
**/
|
|
10227
|
-
| { name: 'RefundOther'; params: { id:
|
|
10127
|
+
| { name: 'RefundOther'; params: { id: StagingXcmV4Location; who: MultiAddressLike } }
|
|
10228
10128
|
/**
|
|
10229
10129
|
* Disallow further unprivileged transfers of an asset `id` to and from an account `who`.
|
|
10230
10130
|
*
|
|
@@ -10237,7 +10137,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10237
10137
|
*
|
|
10238
10138
|
* Weight: `O(1)`
|
|
10239
10139
|
**/
|
|
10240
|
-
| { name: 'Block'; params: { id:
|
|
10140
|
+
| { name: 'Block'; params: { id: StagingXcmV4Location; who: MultiAddressLike } };
|
|
10241
10141
|
|
|
10242
10142
|
/**
|
|
10243
10143
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -11336,10 +11236,7 @@ export type PalletAssetConversionCall =
|
|
|
11336
11236
|
*
|
|
11337
11237
|
* Once a pool is created, someone may [`Pallet::add_liquidity`] to it.
|
|
11338
11238
|
**/
|
|
11339
|
-
| {
|
|
11340
|
-
name: 'CreatePool';
|
|
11341
|
-
params: { asset1: StagingXcmV3MultilocationMultiLocation; asset2: StagingXcmV3MultilocationMultiLocation };
|
|
11342
|
-
}
|
|
11239
|
+
| { name: 'CreatePool'; params: { asset1: StagingXcmV4Location; asset2: StagingXcmV4Location } }
|
|
11343
11240
|
/**
|
|
11344
11241
|
* Provide liquidity into the pool of `asset1` and `asset2`.
|
|
11345
11242
|
* NOTE: an optimal amount of asset1 and asset2 will be calculated and
|
|
@@ -11359,8 +11256,8 @@ export type PalletAssetConversionCall =
|
|
|
11359
11256
|
| {
|
|
11360
11257
|
name: 'AddLiquidity';
|
|
11361
11258
|
params: {
|
|
11362
|
-
asset1:
|
|
11363
|
-
asset2:
|
|
11259
|
+
asset1: StagingXcmV4Location;
|
|
11260
|
+
asset2: StagingXcmV4Location;
|
|
11364
11261
|
amount1Desired: bigint;
|
|
11365
11262
|
amount2Desired: bigint;
|
|
11366
11263
|
amount1Min: bigint;
|
|
@@ -11376,8 +11273,8 @@ export type PalletAssetConversionCall =
|
|
|
11376
11273
|
| {
|
|
11377
11274
|
name: 'RemoveLiquidity';
|
|
11378
11275
|
params: {
|
|
11379
|
-
asset1:
|
|
11380
|
-
asset2:
|
|
11276
|
+
asset1: StagingXcmV4Location;
|
|
11277
|
+
asset2: StagingXcmV4Location;
|
|
11381
11278
|
lpTokenBurn: bigint;
|
|
11382
11279
|
amount1MinReceive: bigint;
|
|
11383
11280
|
amount2MinReceive: bigint;
|
|
@@ -11395,7 +11292,7 @@ export type PalletAssetConversionCall =
|
|
|
11395
11292
|
| {
|
|
11396
11293
|
name: 'SwapExactTokensForTokens';
|
|
11397
11294
|
params: {
|
|
11398
|
-
path: Array<
|
|
11295
|
+
path: Array<StagingXcmV4Location>;
|
|
11399
11296
|
amountIn: bigint;
|
|
11400
11297
|
amountOutMin: bigint;
|
|
11401
11298
|
sendTo: AccountId32;
|
|
@@ -11413,7 +11310,7 @@ export type PalletAssetConversionCall =
|
|
|
11413
11310
|
| {
|
|
11414
11311
|
name: 'SwapTokensForExactTokens';
|
|
11415
11312
|
params: {
|
|
11416
|
-
path: Array<
|
|
11313
|
+
path: Array<StagingXcmV4Location>;
|
|
11417
11314
|
amountOut: bigint;
|
|
11418
11315
|
amountInMax: bigint;
|
|
11419
11316
|
sendTo: AccountId32;
|
|
@@ -11433,10 +11330,7 @@ export type PalletAssetConversionCall =
|
|
|
11433
11330
|
*
|
|
11434
11331
|
* Emits `Touched` event when successful.
|
|
11435
11332
|
**/
|
|
11436
|
-
| {
|
|
11437
|
-
name: 'Touch';
|
|
11438
|
-
params: { asset1: StagingXcmV3MultilocationMultiLocation; asset2: StagingXcmV3MultilocationMultiLocation };
|
|
11439
|
-
};
|
|
11333
|
+
| { name: 'Touch'; params: { asset1: StagingXcmV4Location; asset2: StagingXcmV4Location } };
|
|
11440
11334
|
|
|
11441
11335
|
export type PalletAssetConversionCallLike =
|
|
11442
11336
|
/**
|
|
@@ -11445,10 +11339,7 @@ export type PalletAssetConversionCallLike =
|
|
|
11445
11339
|
*
|
|
11446
11340
|
* Once a pool is created, someone may [`Pallet::add_liquidity`] to it.
|
|
11447
11341
|
**/
|
|
11448
|
-
| {
|
|
11449
|
-
name: 'CreatePool';
|
|
11450
|
-
params: { asset1: StagingXcmV3MultilocationMultiLocation; asset2: StagingXcmV3MultilocationMultiLocation };
|
|
11451
|
-
}
|
|
11342
|
+
| { name: 'CreatePool'; params: { asset1: StagingXcmV4Location; asset2: StagingXcmV4Location } }
|
|
11452
11343
|
/**
|
|
11453
11344
|
* Provide liquidity into the pool of `asset1` and `asset2`.
|
|
11454
11345
|
* NOTE: an optimal amount of asset1 and asset2 will be calculated and
|
|
@@ -11468,8 +11359,8 @@ export type PalletAssetConversionCallLike =
|
|
|
11468
11359
|
| {
|
|
11469
11360
|
name: 'AddLiquidity';
|
|
11470
11361
|
params: {
|
|
11471
|
-
asset1:
|
|
11472
|
-
asset2:
|
|
11362
|
+
asset1: StagingXcmV4Location;
|
|
11363
|
+
asset2: StagingXcmV4Location;
|
|
11473
11364
|
amount1Desired: bigint;
|
|
11474
11365
|
amount2Desired: bigint;
|
|
11475
11366
|
amount1Min: bigint;
|
|
@@ -11485,8 +11376,8 @@ export type PalletAssetConversionCallLike =
|
|
|
11485
11376
|
| {
|
|
11486
11377
|
name: 'RemoveLiquidity';
|
|
11487
11378
|
params: {
|
|
11488
|
-
asset1:
|
|
11489
|
-
asset2:
|
|
11379
|
+
asset1: StagingXcmV4Location;
|
|
11380
|
+
asset2: StagingXcmV4Location;
|
|
11490
11381
|
lpTokenBurn: bigint;
|
|
11491
11382
|
amount1MinReceive: bigint;
|
|
11492
11383
|
amount2MinReceive: bigint;
|
|
@@ -11504,7 +11395,7 @@ export type PalletAssetConversionCallLike =
|
|
|
11504
11395
|
| {
|
|
11505
11396
|
name: 'SwapExactTokensForTokens';
|
|
11506
11397
|
params: {
|
|
11507
|
-
path: Array<
|
|
11398
|
+
path: Array<StagingXcmV4Location>;
|
|
11508
11399
|
amountIn: bigint;
|
|
11509
11400
|
amountOutMin: bigint;
|
|
11510
11401
|
sendTo: AccountId32Like;
|
|
@@ -11522,7 +11413,7 @@ export type PalletAssetConversionCallLike =
|
|
|
11522
11413
|
| {
|
|
11523
11414
|
name: 'SwapTokensForExactTokens';
|
|
11524
11415
|
params: {
|
|
11525
|
-
path: Array<
|
|
11416
|
+
path: Array<StagingXcmV4Location>;
|
|
11526
11417
|
amountOut: bigint;
|
|
11527
11418
|
amountInMax: bigint;
|
|
11528
11419
|
sendTo: AccountId32Like;
|
|
@@ -11542,10 +11433,7 @@ export type PalletAssetConversionCallLike =
|
|
|
11542
11433
|
*
|
|
11543
11434
|
* Emits `Touched` event when successful.
|
|
11544
11435
|
**/
|
|
11545
|
-
| {
|
|
11546
|
-
name: 'Touch';
|
|
11547
|
-
params: { asset1: StagingXcmV3MultilocationMultiLocation; asset2: StagingXcmV3MultilocationMultiLocation };
|
|
11548
|
-
};
|
|
11436
|
+
| { name: 'Touch'; params: { asset1: StagingXcmV4Location; asset2: StagingXcmV4Location } };
|
|
11549
11437
|
|
|
11550
11438
|
export type AssetHubPolkadotRuntimeOriginCaller =
|
|
11551
11439
|
| { type: 'System'; value: FrameSupportDispatchRawOrigin }
|
|
@@ -12271,7 +12159,7 @@ export type FrameSystemExtensionsCheckWeight = {};
|
|
|
12271
12159
|
|
|
12272
12160
|
export type PalletAssetConversionTxPaymentChargeAssetTxPayment = {
|
|
12273
12161
|
tip: bigint;
|
|
12274
|
-
assetId?:
|
|
12162
|
+
assetId?: StagingXcmV4Location | undefined;
|
|
12275
12163
|
};
|
|
12276
12164
|
|
|
12277
12165
|
export type FrameMetadataHashExtensionCheckMetadataHash = { mode: FrameMetadataHashExtensionMode };
|