@dedot/chaintypes 0.36.0 → 0.38.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 CHANGED
@@ -23,7 +23,7 @@ export interface VersionedKusamaApi<Rv extends RpcVersion> extends GenericSubstr
23
23
 
24
24
  /**
25
25
  * @name: KusamaApi
26
- * @specVersion: 1003000
26
+ * @specVersion: 1003003
27
27
  **/
28
28
  export interface KusamaApi {
29
29
  legacy: VersionedKusamaApi<RpcLegacy>;
@@ -10,7 +10,7 @@ import type {
10
10
  SpWeightsWeightV2Weight,
11
11
  PalletNftsBitFlagsPalletFeature,
12
12
  FrameSupportPalletId,
13
- StagingXcmV3MultilocationMultiLocation,
13
+ StagingXcmV4Location,
14
14
  } from './types';
15
15
 
16
16
  export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<Rv> {
@@ -784,7 +784,7 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
784
784
  /**
785
785
  * Asset class from [`Config::Assets`] used to pay the [`Config::PoolSetupFee`].
786
786
  **/
787
- poolSetupFeeAsset: StagingXcmV3MultilocationMultiLocation;
787
+ poolSetupFeeAsset: StagingXcmV4Location;
788
788
 
789
789
  /**
790
790
  * A fee to withdraw the liquidity.
@@ -5,9 +5,8 @@ import type { DispatchInfo, DispatchError, AccountId32, H256, FixedBytes, Result
5
5
  import type {
6
6
  SpWeightsWeightV2Weight,
7
7
  FrameSupportTokensMiscBalanceStatus,
8
- StagingXcmV3MultilocationMultiLocation,
9
- StagingXcmV4TraitsOutcome,
10
8
  StagingXcmV4Location,
9
+ StagingXcmV4TraitsOutcome,
11
10
  StagingXcmV4Xcm,
12
11
  StagingXcmV4Response,
13
12
  XcmVersionedAssets,
@@ -285,7 +284,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
285
284
  Rv,
286
285
  'AssetTxPayment',
287
286
  'AssetTxFeePaid',
288
- { who: AccountId32; actualFee: bigint; tip: bigint; assetId: StagingXcmV3MultilocationMultiLocation }
287
+ { who: AccountId32; actualFee: bigint; tip: bigint; assetId: StagingXcmV4Location }
289
288
  >;
290
289
 
291
290
  /**
@@ -1786,7 +1785,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
1786
1785
  Rv,
1787
1786
  'ForeignAssets',
1788
1787
  'Created',
1789
- { assetId: StagingXcmV3MultilocationMultiLocation; creator: AccountId32; owner: AccountId32 }
1788
+ { assetId: StagingXcmV4Location; creator: AccountId32; owner: AccountId32 }
1790
1789
  >;
1791
1790
 
1792
1791
  /**
@@ -1796,7 +1795,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
1796
1795
  Rv,
1797
1796
  'ForeignAssets',
1798
1797
  'Issued',
1799
- { assetId: StagingXcmV3MultilocationMultiLocation; owner: AccountId32; amount: bigint }
1798
+ { assetId: StagingXcmV4Location; owner: AccountId32; amount: bigint }
1800
1799
  >;
1801
1800
 
1802
1801
  /**
@@ -1806,7 +1805,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
1806
1805
  Rv,
1807
1806
  'ForeignAssets',
1808
1807
  'Transferred',
1809
- { assetId: StagingXcmV3MultilocationMultiLocation; from: AccountId32; to: AccountId32; amount: bigint }
1808
+ { assetId: StagingXcmV4Location; from: AccountId32; to: AccountId32; amount: bigint }
1810
1809
  >;
1811
1810
 
1812
1811
  /**
@@ -1816,7 +1815,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
1816
1815
  Rv,
1817
1816
  'ForeignAssets',
1818
1817
  'Burned',
1819
- { assetId: StagingXcmV3MultilocationMultiLocation; owner: AccountId32; balance: bigint }
1818
+ { assetId: StagingXcmV4Location; owner: AccountId32; balance: bigint }
1820
1819
  >;
1821
1820
 
1822
1821
  /**
@@ -1826,7 +1825,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
1826
1825
  Rv,
1827
1826
  'ForeignAssets',
1828
1827
  'TeamChanged',
1829
- { assetId: StagingXcmV3MultilocationMultiLocation; issuer: AccountId32; admin: AccountId32; freezer: AccountId32 }
1828
+ { assetId: StagingXcmV4Location; issuer: AccountId32; admin: AccountId32; freezer: AccountId32 }
1830
1829
  >;
1831
1830
 
1832
1831
  /**
@@ -1836,48 +1835,28 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
1836
1835
  Rv,
1837
1836
  'ForeignAssets',
1838
1837
  'OwnerChanged',
1839
- { assetId: StagingXcmV3MultilocationMultiLocation; owner: AccountId32 }
1838
+ { assetId: StagingXcmV4Location; owner: AccountId32 }
1840
1839
  >;
1841
1840
 
1842
1841
  /**
1843
1842
  * Some account `who` was frozen.
1844
1843
  **/
1845
- Frozen: GenericPalletEvent<
1846
- Rv,
1847
- 'ForeignAssets',
1848
- 'Frozen',
1849
- { assetId: StagingXcmV3MultilocationMultiLocation; who: AccountId32 }
1850
- >;
1844
+ Frozen: GenericPalletEvent<Rv, 'ForeignAssets', 'Frozen', { assetId: StagingXcmV4Location; who: AccountId32 }>;
1851
1845
 
1852
1846
  /**
1853
1847
  * Some account `who` was thawed.
1854
1848
  **/
1855
- Thawed: GenericPalletEvent<
1856
- Rv,
1857
- 'ForeignAssets',
1858
- 'Thawed',
1859
- { assetId: StagingXcmV3MultilocationMultiLocation; who: AccountId32 }
1860
- >;
1849
+ Thawed: GenericPalletEvent<Rv, 'ForeignAssets', 'Thawed', { assetId: StagingXcmV4Location; who: AccountId32 }>;
1861
1850
 
1862
1851
  /**
1863
1852
  * Some asset `asset_id` was frozen.
1864
1853
  **/
1865
- AssetFrozen: GenericPalletEvent<
1866
- Rv,
1867
- 'ForeignAssets',
1868
- 'AssetFrozen',
1869
- { assetId: StagingXcmV3MultilocationMultiLocation }
1870
- >;
1854
+ AssetFrozen: GenericPalletEvent<Rv, 'ForeignAssets', 'AssetFrozen', { assetId: StagingXcmV4Location }>;
1871
1855
 
1872
1856
  /**
1873
1857
  * Some asset `asset_id` was thawed.
1874
1858
  **/
1875
- AssetThawed: GenericPalletEvent<
1876
- Rv,
1877
- 'ForeignAssets',
1878
- 'AssetThawed',
1879
- { assetId: StagingXcmV3MultilocationMultiLocation }
1880
- >;
1859
+ AssetThawed: GenericPalletEvent<Rv, 'ForeignAssets', 'AssetThawed', { assetId: StagingXcmV4Location }>;
1881
1860
 
1882
1861
  /**
1883
1862
  * Accounts were destroyed for given asset.
@@ -1886,7 +1865,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
1886
1865
  Rv,
1887
1866
  'ForeignAssets',
1888
1867
  'AccountsDestroyed',
1889
- { assetId: StagingXcmV3MultilocationMultiLocation; accountsDestroyed: number; accountsRemaining: number }
1868
+ { assetId: StagingXcmV4Location; accountsDestroyed: number; accountsRemaining: number }
1890
1869
  >;
1891
1870
 
1892
1871
  /**
@@ -1896,7 +1875,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
1896
1875
  Rv,
1897
1876
  'ForeignAssets',
1898
1877
  'ApprovalsDestroyed',
1899
- { assetId: StagingXcmV3MultilocationMultiLocation; approvalsDestroyed: number; approvalsRemaining: number }
1878
+ { assetId: StagingXcmV4Location; approvalsDestroyed: number; approvalsRemaining: number }
1900
1879
  >;
1901
1880
 
1902
1881
  /**
@@ -1906,18 +1885,13 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
1906
1885
  Rv,
1907
1886
  'ForeignAssets',
1908
1887
  'DestructionStarted',
1909
- { assetId: StagingXcmV3MultilocationMultiLocation }
1888
+ { assetId: StagingXcmV4Location }
1910
1889
  >;
1911
1890
 
1912
1891
  /**
1913
1892
  * An asset class was destroyed.
1914
1893
  **/
1915
- Destroyed: GenericPalletEvent<
1916
- Rv,
1917
- 'ForeignAssets',
1918
- 'Destroyed',
1919
- { assetId: StagingXcmV3MultilocationMultiLocation }
1920
- >;
1894
+ Destroyed: GenericPalletEvent<Rv, 'ForeignAssets', 'Destroyed', { assetId: StagingXcmV4Location }>;
1921
1895
 
1922
1896
  /**
1923
1897
  * Some asset class was force-created.
@@ -1926,7 +1900,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
1926
1900
  Rv,
1927
1901
  'ForeignAssets',
1928
1902
  'ForceCreated',
1929
- { assetId: StagingXcmV3MultilocationMultiLocation; owner: AccountId32 }
1903
+ { assetId: StagingXcmV4Location; owner: AccountId32 }
1930
1904
  >;
1931
1905
 
1932
1906
  /**
@@ -1936,24 +1910,13 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
1936
1910
  Rv,
1937
1911
  'ForeignAssets',
1938
1912
  'MetadataSet',
1939
- {
1940
- assetId: StagingXcmV3MultilocationMultiLocation;
1941
- name: Bytes;
1942
- symbol: Bytes;
1943
- decimals: number;
1944
- isFrozen: boolean;
1945
- }
1913
+ { assetId: StagingXcmV4Location; name: Bytes; symbol: Bytes; decimals: number; isFrozen: boolean }
1946
1914
  >;
1947
1915
 
1948
1916
  /**
1949
1917
  * Metadata has been cleared for an asset.
1950
1918
  **/
1951
- MetadataCleared: GenericPalletEvent<
1952
- Rv,
1953
- 'ForeignAssets',
1954
- 'MetadataCleared',
1955
- { assetId: StagingXcmV3MultilocationMultiLocation }
1956
- >;
1919
+ MetadataCleared: GenericPalletEvent<Rv, 'ForeignAssets', 'MetadataCleared', { assetId: StagingXcmV4Location }>;
1957
1920
 
1958
1921
  /**
1959
1922
  * (Additional) funds have been approved for transfer to a destination account.
@@ -1962,7 +1925,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
1962
1925
  Rv,
1963
1926
  'ForeignAssets',
1964
1927
  'ApprovedTransfer',
1965
- { assetId: StagingXcmV3MultilocationMultiLocation; source: AccountId32; delegate: AccountId32; amount: bigint }
1928
+ { assetId: StagingXcmV4Location; source: AccountId32; delegate: AccountId32; amount: bigint }
1966
1929
  >;
1967
1930
 
1968
1931
  /**
@@ -1972,7 +1935,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
1972
1935
  Rv,
1973
1936
  'ForeignAssets',
1974
1937
  'ApprovalCancelled',
1975
- { assetId: StagingXcmV3MultilocationMultiLocation; owner: AccountId32; delegate: AccountId32 }
1938
+ { assetId: StagingXcmV4Location; owner: AccountId32; delegate: AccountId32 }
1976
1939
  >;
1977
1940
 
1978
1941
  /**
@@ -1984,7 +1947,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
1984
1947
  'ForeignAssets',
1985
1948
  'TransferredApproved',
1986
1949
  {
1987
- assetId: StagingXcmV3MultilocationMultiLocation;
1950
+ assetId: StagingXcmV4Location;
1988
1951
  owner: AccountId32;
1989
1952
  delegate: AccountId32;
1990
1953
  destination: AccountId32;
@@ -1999,7 +1962,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
1999
1962
  Rv,
2000
1963
  'ForeignAssets',
2001
1964
  'AssetStatusChanged',
2002
- { assetId: StagingXcmV3MultilocationMultiLocation }
1965
+ { assetId: StagingXcmV4Location }
2003
1966
  >;
2004
1967
 
2005
1968
  /**
@@ -2009,7 +1972,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
2009
1972
  Rv,
2010
1973
  'ForeignAssets',
2011
1974
  'AssetMinBalanceChanged',
2012
- { assetId: StagingXcmV3MultilocationMultiLocation; newMinBalance: bigint }
1975
+ { assetId: StagingXcmV4Location; newMinBalance: bigint }
2013
1976
  >;
2014
1977
 
2015
1978
  /**
@@ -2019,18 +1982,13 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
2019
1982
  Rv,
2020
1983
  'ForeignAssets',
2021
1984
  'Touched',
2022
- { assetId: StagingXcmV3MultilocationMultiLocation; who: AccountId32; depositor: AccountId32 }
1985
+ { assetId: StagingXcmV4Location; who: AccountId32; depositor: AccountId32 }
2023
1986
  >;
2024
1987
 
2025
1988
  /**
2026
1989
  * Some account `who` was blocked.
2027
1990
  **/
2028
- Blocked: GenericPalletEvent<
2029
- Rv,
2030
- 'ForeignAssets',
2031
- 'Blocked',
2032
- { assetId: StagingXcmV3MultilocationMultiLocation; who: AccountId32 }
2033
- >;
1991
+ Blocked: GenericPalletEvent<Rv, 'ForeignAssets', 'Blocked', { assetId: StagingXcmV4Location; who: AccountId32 }>;
2034
1992
 
2035
1993
  /**
2036
1994
  * Some assets were deposited (e.g. for transaction fees).
@@ -2039,7 +1997,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
2039
1997
  Rv,
2040
1998
  'ForeignAssets',
2041
1999
  'Deposited',
2042
- { assetId: StagingXcmV3MultilocationMultiLocation; who: AccountId32; amount: bigint }
2000
+ { assetId: StagingXcmV4Location; who: AccountId32; amount: bigint }
2043
2001
  >;
2044
2002
 
2045
2003
  /**
@@ -2049,7 +2007,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
2049
2007
  Rv,
2050
2008
  'ForeignAssets',
2051
2009
  'Withdrawn',
2052
- { assetId: StagingXcmV3MultilocationMultiLocation; who: AccountId32; amount: bigint }
2010
+ { assetId: StagingXcmV4Location; who: AccountId32; amount: bigint }
2053
2011
  >;
2054
2012
 
2055
2013
  /**
@@ -2302,7 +2260,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
2302
2260
  * The pool id associated with the pool. Note that the order of the assets may not be
2303
2261
  * the same as the order specified in the create pool extrinsic.
2304
2262
  **/
2305
- poolId: [StagingXcmV3MultilocationMultiLocation, StagingXcmV3MultilocationMultiLocation];
2263
+ poolId: [StagingXcmV4Location, StagingXcmV4Location];
2306
2264
 
2307
2265
  /**
2308
2266
  * The account ID of the pool.
@@ -2338,7 +2296,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
2338
2296
  /**
2339
2297
  * The pool id of the pool that the liquidity was added to.
2340
2298
  **/
2341
- poolId: [StagingXcmV3MultilocationMultiLocation, StagingXcmV3MultilocationMultiLocation];
2299
+ poolId: [StagingXcmV4Location, StagingXcmV4Location];
2342
2300
 
2343
2301
  /**
2344
2302
  * The amount of the first asset that was added to the pool.
@@ -2383,7 +2341,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
2383
2341
  /**
2384
2342
  * The pool id that the liquidity was removed from.
2385
2343
  **/
2386
- poolId: [StagingXcmV3MultilocationMultiLocation, StagingXcmV3MultilocationMultiLocation];
2344
+ poolId: [StagingXcmV4Location, StagingXcmV4Location];
2387
2345
 
2388
2346
  /**
2389
2347
  * The amount of the first asset that was removed from the pool.
@@ -2445,7 +2403,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
2445
2403
  * The route of asset IDs with amounts that the swap went through.
2446
2404
  * E.g. (A, amount_in) -> (Dot, amount_out) -> (B, amount_out)
2447
2405
  **/
2448
- path: Array<[StagingXcmV3MultilocationMultiLocation, bigint]>;
2406
+ path: Array<[StagingXcmV4Location, bigint]>;
2449
2407
  }
2450
2408
  >;
2451
2409
 
@@ -2471,7 +2429,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
2471
2429
  * The route of asset IDs with amounts that the swap went through.
2472
2430
  * E.g. (A, amount_in) -> (Dot, amount_out) -> (B, amount_out)
2473
2431
  **/
2474
- path: Array<[StagingXcmV3MultilocationMultiLocation, bigint]>;
2432
+ path: Array<[StagingXcmV4Location, bigint]>;
2475
2433
  }
2476
2434
  >;
2477
2435
 
@@ -2486,7 +2444,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
2486
2444
  /**
2487
2445
  * The ID of the pool.
2488
2446
  **/
2489
- poolId: [StagingXcmV3MultilocationMultiLocation, StagingXcmV3MultilocationMultiLocation];
2447
+ poolId: [StagingXcmV4Location, StagingXcmV4Location];
2490
2448
 
2491
2449
  /**
2492
2450
  * The account initiating the touch.
@@ -23,7 +23,7 @@ export interface VersionedKusamaAssetHubApi<Rv extends RpcVersion> extends Gener
23
23
 
24
24
  /**
25
25
  * @name: KusamaAssetHubApi
26
- * @specVersion: 1003000
26
+ * @specVersion: 1003004
27
27
  **/
28
28
  export interface KusamaAssetHubApi {
29
29
  legacy: VersionedKusamaAssetHubApi<RpcLegacy>;
@@ -76,7 +76,7 @@ import type {
76
76
  PalletNftsPendingSwap,
77
77
  PalletNftsCollectionConfig,
78
78
  PalletNftsItemConfig,
79
- StagingXcmV3MultilocationMultiLocation,
79
+ StagingXcmV4Location,
80
80
  PalletNftFractionalizationDetails,
81
81
  PalletAssetConversionPoolInfo,
82
82
  } from './types';
@@ -1568,25 +1568,25 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1568
1568
  /**
1569
1569
  * Details of an asset.
1570
1570
  *
1571
- * @param {StagingXcmV3MultilocationMultiLocation} arg
1571
+ * @param {StagingXcmV4Location} arg
1572
1572
  * @param {Callback<PalletAssetsAssetDetails | undefined> =} callback
1573
1573
  **/
1574
1574
  asset: GenericStorageQuery<
1575
1575
  Rv,
1576
- (arg: StagingXcmV3MultilocationMultiLocation) => PalletAssetsAssetDetails | undefined,
1577
- StagingXcmV3MultilocationMultiLocation
1576
+ (arg: StagingXcmV4Location) => PalletAssetsAssetDetails | undefined,
1577
+ StagingXcmV4Location
1578
1578
  >;
1579
1579
 
1580
1580
  /**
1581
1581
  * The holdings of a specific account for a specific asset.
1582
1582
  *
1583
- * @param {[StagingXcmV3MultilocationMultiLocation, AccountId32Like]} arg
1583
+ * @param {[StagingXcmV4Location, AccountId32Like]} arg
1584
1584
  * @param {Callback<PalletAssetsAssetAccount | undefined> =} callback
1585
1585
  **/
1586
1586
  account: GenericStorageQuery<
1587
1587
  Rv,
1588
- (arg: [StagingXcmV3MultilocationMultiLocation, AccountId32Like]) => PalletAssetsAssetAccount | undefined,
1589
- [StagingXcmV3MultilocationMultiLocation, AccountId32]
1588
+ (arg: [StagingXcmV4Location, AccountId32Like]) => PalletAssetsAssetAccount | undefined,
1589
+ [StagingXcmV4Location, AccountId32]
1590
1590
  >;
1591
1591
 
1592
1592
  /**
@@ -1594,28 +1594,22 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1594
1594
  * is the amount of `T::Currency` reserved for storing this.
1595
1595
  * First key is the asset ID, second key is the owner and third key is the delegate.
1596
1596
  *
1597
- * @param {[StagingXcmV3MultilocationMultiLocation, AccountId32Like, AccountId32Like]} arg
1597
+ * @param {[StagingXcmV4Location, AccountId32Like, AccountId32Like]} arg
1598
1598
  * @param {Callback<PalletAssetsApproval | undefined> =} callback
1599
1599
  **/
1600
1600
  approvals: GenericStorageQuery<
1601
1601
  Rv,
1602
- (
1603
- arg: [StagingXcmV3MultilocationMultiLocation, AccountId32Like, AccountId32Like],
1604
- ) => PalletAssetsApproval | undefined,
1605
- [StagingXcmV3MultilocationMultiLocation, AccountId32, AccountId32]
1602
+ (arg: [StagingXcmV4Location, AccountId32Like, AccountId32Like]) => PalletAssetsApproval | undefined,
1603
+ [StagingXcmV4Location, AccountId32, AccountId32]
1606
1604
  >;
1607
1605
 
1608
1606
  /**
1609
1607
  * Metadata of an asset.
1610
1608
  *
1611
- * @param {StagingXcmV3MultilocationMultiLocation} arg
1609
+ * @param {StagingXcmV4Location} arg
1612
1610
  * @param {Callback<PalletAssetsAssetMetadata> =} callback
1613
1611
  **/
1614
- metadata: GenericStorageQuery<
1615
- Rv,
1616
- (arg: StagingXcmV3MultilocationMultiLocation) => PalletAssetsAssetMetadata,
1617
- StagingXcmV3MultilocationMultiLocation
1618
- >;
1612
+ metadata: GenericStorageQuery<Rv, (arg: StagingXcmV4Location) => PalletAssetsAssetMetadata, StagingXcmV4Location>;
1619
1613
 
1620
1614
  /**
1621
1615
  * The asset ID enforced for the next asset creation, if any present. Otherwise, this storage
@@ -1628,9 +1622,9 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1628
1622
  * The initial next asset ID can be set using the [`GenesisConfig`] or the
1629
1623
  * [SetNextAssetId](`migration::next_asset_id::SetNextAssetId`) migration.
1630
1624
  *
1631
- * @param {Callback<StagingXcmV3MultilocationMultiLocation | undefined> =} callback
1625
+ * @param {Callback<StagingXcmV4Location | undefined> =} callback
1632
1626
  **/
1633
- nextAssetId: GenericStorageQuery<Rv, () => StagingXcmV3MultilocationMultiLocation | undefined>;
1627
+ nextAssetId: GenericStorageQuery<Rv, () => StagingXcmV4Location | undefined>;
1634
1628
 
1635
1629
  /**
1636
1630
  * Generic pallet storage query
@@ -1732,15 +1726,13 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1732
1726
  * Map from `PoolAssetId` to `PoolInfo`. This establishes whether a pool has been officially
1733
1727
  * created rather than people sending tokens directly to a pool's public account.
1734
1728
  *
1735
- * @param {[StagingXcmV3MultilocationMultiLocation, StagingXcmV3MultilocationMultiLocation]} arg
1729
+ * @param {[StagingXcmV4Location, StagingXcmV4Location]} arg
1736
1730
  * @param {Callback<PalletAssetConversionPoolInfo | undefined> =} callback
1737
1731
  **/
1738
1732
  pools: GenericStorageQuery<
1739
1733
  Rv,
1740
- (
1741
- arg: [StagingXcmV3MultilocationMultiLocation, StagingXcmV3MultilocationMultiLocation],
1742
- ) => PalletAssetConversionPoolInfo | undefined,
1743
- [StagingXcmV3MultilocationMultiLocation, StagingXcmV3MultilocationMultiLocation]
1734
+ (arg: [StagingXcmV4Location, StagingXcmV4Location]) => PalletAssetConversionPoolInfo | undefined,
1735
+ [StagingXcmV4Location, StagingXcmV4Location]
1744
1736
  >;
1745
1737
 
1746
1738
  /**
@@ -27,7 +27,7 @@ import type {
27
27
  SpRuntimeTransactionValidityValidTransaction,
28
28
  SpRuntimeTransactionValidityTransactionSource,
29
29
  SpCoreCryptoKeyTypeId,
30
- StagingXcmV3MultilocationMultiLocation,
30
+ StagingXcmV4Location,
31
31
  PalletTransactionPaymentRuntimeDispatchInfo,
32
32
  PalletTransactionPaymentFeeDetails,
33
33
  SpWeightsWeightV2Weight,
@@ -339,16 +339,16 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
339
339
  * (Use `amount_in_max` to control slippage.)
340
340
  *
341
341
  * @callname: AssetConversionApi_quote_price_tokens_for_exact_tokens
342
- * @param {StagingXcmV3MultilocationMultiLocation} asset1
343
- * @param {StagingXcmV3MultilocationMultiLocation} asset2
342
+ * @param {StagingXcmV4Location} asset1
343
+ * @param {StagingXcmV4Location} asset2
344
344
  * @param {bigint} amount
345
345
  * @param {boolean} include_fee
346
346
  **/
347
347
  quotePriceTokensForExactTokens: GenericRuntimeApiMethod<
348
348
  Rv,
349
349
  (
350
- asset1: StagingXcmV3MultilocationMultiLocation,
351
- asset2: StagingXcmV3MultilocationMultiLocation,
350
+ asset1: StagingXcmV4Location,
351
+ asset2: StagingXcmV4Location,
352
352
  amount: bigint,
353
353
  includeFee: boolean,
354
354
  ) => Promise<bigint | undefined>
@@ -361,16 +361,16 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
361
361
  * (Use `amount_out_min` to control slippage.)
362
362
  *
363
363
  * @callname: AssetConversionApi_quote_price_exact_tokens_for_tokens
364
- * @param {StagingXcmV3MultilocationMultiLocation} asset1
365
- * @param {StagingXcmV3MultilocationMultiLocation} asset2
364
+ * @param {StagingXcmV4Location} asset1
365
+ * @param {StagingXcmV4Location} asset2
366
366
  * @param {bigint} amount
367
367
  * @param {boolean} include_fee
368
368
  **/
369
369
  quotePriceExactTokensForTokens: GenericRuntimeApiMethod<
370
370
  Rv,
371
371
  (
372
- asset1: StagingXcmV3MultilocationMultiLocation,
373
- asset2: StagingXcmV3MultilocationMultiLocation,
372
+ asset1: StagingXcmV4Location,
373
+ asset2: StagingXcmV4Location,
374
374
  amount: bigint,
375
375
  includeFee: boolean,
376
376
  ) => Promise<bigint | undefined>
@@ -380,15 +380,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
380
380
  * Returns the size of the liquidity pool for the given asset pair.
381
381
  *
382
382
  * @callname: AssetConversionApi_get_reserves
383
- * @param {StagingXcmV3MultilocationMultiLocation} asset1
384
- * @param {StagingXcmV3MultilocationMultiLocation} asset2
383
+ * @param {StagingXcmV4Location} asset1
384
+ * @param {StagingXcmV4Location} asset2
385
385
  **/
386
386
  getReserves: GenericRuntimeApiMethod<
387
387
  Rv,
388
- (
389
- asset1: StagingXcmV3MultilocationMultiLocation,
390
- asset2: StagingXcmV3MultilocationMultiLocation,
391
- ) => Promise<[bigint, bigint] | undefined>
388
+ (asset1: StagingXcmV4Location, asset2: StagingXcmV4Location) => Promise<[bigint, bigint] | undefined>
392
389
  >;
393
390
 
394
391
  /**