@dedot/chaintypes 0.35.0 → 0.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/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/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
|
@@ -16,13 +16,13 @@ import type {
|
|
|
16
16
|
FrameSystemDispatchEventInfo,
|
|
17
17
|
SpWeightsWeightV2Weight,
|
|
18
18
|
FrameSupportTokensMiscBalanceStatus,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
StagingXcmV5Location,
|
|
20
|
+
StagingXcmV5TraitsOutcome,
|
|
21
|
+
StagingXcmV5Xcm,
|
|
22
|
+
StagingXcmV5Response,
|
|
23
23
|
XcmVersionedAssets,
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
StagingXcmV5AssetAssets,
|
|
25
|
+
XcmV5TraitsError,
|
|
26
26
|
XcmVersionedLocation,
|
|
27
27
|
CumulusPrimitivesCoreAggregateMessageOrigin,
|
|
28
28
|
FrameSupportMessagesProcessMessageError,
|
|
@@ -303,7 +303,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
303
303
|
Rv,
|
|
304
304
|
'AssetTxPayment',
|
|
305
305
|
'AssetTxFeePaid',
|
|
306
|
-
{ who: AccountId32; actualFee: bigint; tip: bigint; assetId:
|
|
306
|
+
{ who: AccountId32; actualFee: bigint; tip: bigint; assetId: StagingXcmV5Location }
|
|
307
307
|
>;
|
|
308
308
|
|
|
309
309
|
/**
|
|
@@ -442,7 +442,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
442
442
|
/**
|
|
443
443
|
* Execution of an XCM message was attempted.
|
|
444
444
|
**/
|
|
445
|
-
Attempted: GenericPalletEvent<Rv, 'PolkadotXcm', 'Attempted', { outcome:
|
|
445
|
+
Attempted: GenericPalletEvent<Rv, 'PolkadotXcm', 'Attempted', { outcome: StagingXcmV5TraitsOutcome }>;
|
|
446
446
|
|
|
447
447
|
/**
|
|
448
448
|
* A XCM message was sent.
|
|
@@ -452,9 +452,9 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
452
452
|
'PolkadotXcm',
|
|
453
453
|
'Sent',
|
|
454
454
|
{
|
|
455
|
-
origin:
|
|
456
|
-
destination:
|
|
457
|
-
message:
|
|
455
|
+
origin: StagingXcmV5Location;
|
|
456
|
+
destination: StagingXcmV5Location;
|
|
457
|
+
message: StagingXcmV5Xcm;
|
|
458
458
|
messageId: FixedBytes<32>;
|
|
459
459
|
}
|
|
460
460
|
>;
|
|
@@ -468,7 +468,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
468
468
|
Rv,
|
|
469
469
|
'PolkadotXcm',
|
|
470
470
|
'UnexpectedResponse',
|
|
471
|
-
{ origin:
|
|
471
|
+
{ origin: StagingXcmV5Location; queryId: bigint }
|
|
472
472
|
>;
|
|
473
473
|
|
|
474
474
|
/**
|
|
@@ -479,7 +479,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
479
479
|
Rv,
|
|
480
480
|
'PolkadotXcm',
|
|
481
481
|
'ResponseReady',
|
|
482
|
-
{ queryId: bigint; response:
|
|
482
|
+
{ queryId: bigint; response: StagingXcmV5Response }
|
|
483
483
|
>;
|
|
484
484
|
|
|
485
485
|
/**
|
|
@@ -543,7 +543,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
543
543
|
Rv,
|
|
544
544
|
'PolkadotXcm',
|
|
545
545
|
'InvalidResponder',
|
|
546
|
-
{ origin:
|
|
546
|
+
{ origin: StagingXcmV5Location; queryId: bigint; expectedLocation?: StagingXcmV5Location | undefined }
|
|
547
547
|
>;
|
|
548
548
|
|
|
549
549
|
/**
|
|
@@ -559,7 +559,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
559
559
|
Rv,
|
|
560
560
|
'PolkadotXcm',
|
|
561
561
|
'InvalidResponderVersion',
|
|
562
|
-
{ origin:
|
|
562
|
+
{ origin: StagingXcmV5Location; queryId: bigint }
|
|
563
563
|
>;
|
|
564
564
|
|
|
565
565
|
/**
|
|
@@ -574,7 +574,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
574
574
|
Rv,
|
|
575
575
|
'PolkadotXcm',
|
|
576
576
|
'AssetsTrapped',
|
|
577
|
-
{ hash: H256; origin:
|
|
577
|
+
{ hash: H256; origin: StagingXcmV5Location; assets: XcmVersionedAssets }
|
|
578
578
|
>;
|
|
579
579
|
|
|
580
580
|
/**
|
|
@@ -586,7 +586,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
586
586
|
Rv,
|
|
587
587
|
'PolkadotXcm',
|
|
588
588
|
'VersionChangeNotified',
|
|
589
|
-
{ destination:
|
|
589
|
+
{ destination: StagingXcmV5Location; result: number; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> }
|
|
590
590
|
>;
|
|
591
591
|
|
|
592
592
|
/**
|
|
@@ -597,7 +597,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
597
597
|
Rv,
|
|
598
598
|
'PolkadotXcm',
|
|
599
599
|
'SupportedVersionChanged',
|
|
600
|
-
{ location:
|
|
600
|
+
{ location: StagingXcmV5Location; version: number }
|
|
601
601
|
>;
|
|
602
602
|
|
|
603
603
|
/**
|
|
@@ -608,7 +608,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
608
608
|
Rv,
|
|
609
609
|
'PolkadotXcm',
|
|
610
610
|
'NotifyTargetSendFail',
|
|
611
|
-
{ location:
|
|
611
|
+
{ location: StagingXcmV5Location; queryId: bigint; error: XcmV5TraitsError }
|
|
612
612
|
>;
|
|
613
613
|
|
|
614
614
|
/**
|
|
@@ -635,7 +635,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
635
635
|
Rv,
|
|
636
636
|
'PolkadotXcm',
|
|
637
637
|
'InvalidQuerierVersion',
|
|
638
|
-
{ origin:
|
|
638
|
+
{ origin: StagingXcmV5Location; queryId: bigint }
|
|
639
639
|
>;
|
|
640
640
|
|
|
641
641
|
/**
|
|
@@ -648,10 +648,10 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
648
648
|
'PolkadotXcm',
|
|
649
649
|
'InvalidQuerier',
|
|
650
650
|
{
|
|
651
|
-
origin:
|
|
651
|
+
origin: StagingXcmV5Location;
|
|
652
652
|
queryId: bigint;
|
|
653
|
-
expectedQuerier:
|
|
654
|
-
maybeActualQuerier?:
|
|
653
|
+
expectedQuerier: StagingXcmV5Location;
|
|
654
|
+
maybeActualQuerier?: StagingXcmV5Location | undefined;
|
|
655
655
|
}
|
|
656
656
|
>;
|
|
657
657
|
|
|
@@ -663,7 +663,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
663
663
|
Rv,
|
|
664
664
|
'PolkadotXcm',
|
|
665
665
|
'VersionNotifyStarted',
|
|
666
|
-
{ destination:
|
|
666
|
+
{ destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> }
|
|
667
667
|
>;
|
|
668
668
|
|
|
669
669
|
/**
|
|
@@ -673,7 +673,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
673
673
|
Rv,
|
|
674
674
|
'PolkadotXcm',
|
|
675
675
|
'VersionNotifyRequested',
|
|
676
|
-
{ destination:
|
|
676
|
+
{ destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> }
|
|
677
677
|
>;
|
|
678
678
|
|
|
679
679
|
/**
|
|
@@ -684,7 +684,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
684
684
|
Rv,
|
|
685
685
|
'PolkadotXcm',
|
|
686
686
|
'VersionNotifyUnrequested',
|
|
687
|
-
{ destination:
|
|
687
|
+
{ destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> }
|
|
688
688
|
>;
|
|
689
689
|
|
|
690
690
|
/**
|
|
@@ -694,7 +694,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
694
694
|
Rv,
|
|
695
695
|
'PolkadotXcm',
|
|
696
696
|
'FeesPaid',
|
|
697
|
-
{ paying:
|
|
697
|
+
{ paying: StagingXcmV5Location; fees: StagingXcmV5AssetAssets }
|
|
698
698
|
>;
|
|
699
699
|
|
|
700
700
|
/**
|
|
@@ -704,7 +704,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
704
704
|
Rv,
|
|
705
705
|
'PolkadotXcm',
|
|
706
706
|
'AssetsClaimed',
|
|
707
|
-
{ hash: H256; origin:
|
|
707
|
+
{ hash: H256; origin: StagingXcmV5Location; assets: XcmVersionedAssets }
|
|
708
708
|
>;
|
|
709
709
|
|
|
710
710
|
/**
|
|
@@ -741,7 +741,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
741
741
|
Rv,
|
|
742
742
|
'CumulusXcm',
|
|
743
743
|
'ExecutedDownward',
|
|
744
|
-
[FixedBytes<32>,
|
|
744
|
+
[FixedBytes<32>, StagingXcmV5TraitsOutcome]
|
|
745
745
|
>;
|
|
746
746
|
|
|
747
747
|
/**
|
|
@@ -1823,7 +1823,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1823
1823
|
Rv,
|
|
1824
1824
|
'ForeignAssets',
|
|
1825
1825
|
'Created',
|
|
1826
|
-
{ assetId:
|
|
1826
|
+
{ assetId: StagingXcmV5Location; creator: AccountId32; owner: AccountId32 }
|
|
1827
1827
|
>;
|
|
1828
1828
|
|
|
1829
1829
|
/**
|
|
@@ -1833,7 +1833,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1833
1833
|
Rv,
|
|
1834
1834
|
'ForeignAssets',
|
|
1835
1835
|
'Issued',
|
|
1836
|
-
{ assetId:
|
|
1836
|
+
{ assetId: StagingXcmV5Location; owner: AccountId32; amount: bigint }
|
|
1837
1837
|
>;
|
|
1838
1838
|
|
|
1839
1839
|
/**
|
|
@@ -1843,7 +1843,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1843
1843
|
Rv,
|
|
1844
1844
|
'ForeignAssets',
|
|
1845
1845
|
'Transferred',
|
|
1846
|
-
{ assetId:
|
|
1846
|
+
{ assetId: StagingXcmV5Location; from: AccountId32; to: AccountId32; amount: bigint }
|
|
1847
1847
|
>;
|
|
1848
1848
|
|
|
1849
1849
|
/**
|
|
@@ -1853,7 +1853,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1853
1853
|
Rv,
|
|
1854
1854
|
'ForeignAssets',
|
|
1855
1855
|
'Burned',
|
|
1856
|
-
{ assetId:
|
|
1856
|
+
{ assetId: StagingXcmV5Location; owner: AccountId32; balance: bigint }
|
|
1857
1857
|
>;
|
|
1858
1858
|
|
|
1859
1859
|
/**
|
|
@@ -1863,7 +1863,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1863
1863
|
Rv,
|
|
1864
1864
|
'ForeignAssets',
|
|
1865
1865
|
'TeamChanged',
|
|
1866
|
-
{ assetId:
|
|
1866
|
+
{ assetId: StagingXcmV5Location; issuer: AccountId32; admin: AccountId32; freezer: AccountId32 }
|
|
1867
1867
|
>;
|
|
1868
1868
|
|
|
1869
1869
|
/**
|
|
@@ -1873,28 +1873,28 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1873
1873
|
Rv,
|
|
1874
1874
|
'ForeignAssets',
|
|
1875
1875
|
'OwnerChanged',
|
|
1876
|
-
{ assetId:
|
|
1876
|
+
{ assetId: StagingXcmV5Location; owner: AccountId32 }
|
|
1877
1877
|
>;
|
|
1878
1878
|
|
|
1879
1879
|
/**
|
|
1880
1880
|
* Some account `who` was frozen.
|
|
1881
1881
|
**/
|
|
1882
|
-
Frozen: GenericPalletEvent<Rv, 'ForeignAssets', 'Frozen', { assetId:
|
|
1882
|
+
Frozen: GenericPalletEvent<Rv, 'ForeignAssets', 'Frozen', { assetId: StagingXcmV5Location; who: AccountId32 }>;
|
|
1883
1883
|
|
|
1884
1884
|
/**
|
|
1885
1885
|
* Some account `who` was thawed.
|
|
1886
1886
|
**/
|
|
1887
|
-
Thawed: GenericPalletEvent<Rv, 'ForeignAssets', 'Thawed', { assetId:
|
|
1887
|
+
Thawed: GenericPalletEvent<Rv, 'ForeignAssets', 'Thawed', { assetId: StagingXcmV5Location; who: AccountId32 }>;
|
|
1888
1888
|
|
|
1889
1889
|
/**
|
|
1890
1890
|
* Some asset `asset_id` was frozen.
|
|
1891
1891
|
**/
|
|
1892
|
-
AssetFrozen: GenericPalletEvent<Rv, 'ForeignAssets', 'AssetFrozen', { assetId:
|
|
1892
|
+
AssetFrozen: GenericPalletEvent<Rv, 'ForeignAssets', 'AssetFrozen', { assetId: StagingXcmV5Location }>;
|
|
1893
1893
|
|
|
1894
1894
|
/**
|
|
1895
1895
|
* Some asset `asset_id` was thawed.
|
|
1896
1896
|
**/
|
|
1897
|
-
AssetThawed: GenericPalletEvent<Rv, 'ForeignAssets', 'AssetThawed', { assetId:
|
|
1897
|
+
AssetThawed: GenericPalletEvent<Rv, 'ForeignAssets', 'AssetThawed', { assetId: StagingXcmV5Location }>;
|
|
1898
1898
|
|
|
1899
1899
|
/**
|
|
1900
1900
|
* Accounts were destroyed for given asset.
|
|
@@ -1903,7 +1903,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1903
1903
|
Rv,
|
|
1904
1904
|
'ForeignAssets',
|
|
1905
1905
|
'AccountsDestroyed',
|
|
1906
|
-
{ assetId:
|
|
1906
|
+
{ assetId: StagingXcmV5Location; accountsDestroyed: number; accountsRemaining: number }
|
|
1907
1907
|
>;
|
|
1908
1908
|
|
|
1909
1909
|
/**
|
|
@@ -1913,7 +1913,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1913
1913
|
Rv,
|
|
1914
1914
|
'ForeignAssets',
|
|
1915
1915
|
'ApprovalsDestroyed',
|
|
1916
|
-
{ assetId:
|
|
1916
|
+
{ assetId: StagingXcmV5Location; approvalsDestroyed: number; approvalsRemaining: number }
|
|
1917
1917
|
>;
|
|
1918
1918
|
|
|
1919
1919
|
/**
|
|
@@ -1923,13 +1923,13 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1923
1923
|
Rv,
|
|
1924
1924
|
'ForeignAssets',
|
|
1925
1925
|
'DestructionStarted',
|
|
1926
|
-
{ assetId:
|
|
1926
|
+
{ assetId: StagingXcmV5Location }
|
|
1927
1927
|
>;
|
|
1928
1928
|
|
|
1929
1929
|
/**
|
|
1930
1930
|
* An asset class was destroyed.
|
|
1931
1931
|
**/
|
|
1932
|
-
Destroyed: GenericPalletEvent<Rv, 'ForeignAssets', 'Destroyed', { assetId:
|
|
1932
|
+
Destroyed: GenericPalletEvent<Rv, 'ForeignAssets', 'Destroyed', { assetId: StagingXcmV5Location }>;
|
|
1933
1933
|
|
|
1934
1934
|
/**
|
|
1935
1935
|
* Some asset class was force-created.
|
|
@@ -1938,7 +1938,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1938
1938
|
Rv,
|
|
1939
1939
|
'ForeignAssets',
|
|
1940
1940
|
'ForceCreated',
|
|
1941
|
-
{ assetId:
|
|
1941
|
+
{ assetId: StagingXcmV5Location; owner: AccountId32 }
|
|
1942
1942
|
>;
|
|
1943
1943
|
|
|
1944
1944
|
/**
|
|
@@ -1948,13 +1948,13 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1948
1948
|
Rv,
|
|
1949
1949
|
'ForeignAssets',
|
|
1950
1950
|
'MetadataSet',
|
|
1951
|
-
{ assetId:
|
|
1951
|
+
{ assetId: StagingXcmV5Location; name: Bytes; symbol: Bytes; decimals: number; isFrozen: boolean }
|
|
1952
1952
|
>;
|
|
1953
1953
|
|
|
1954
1954
|
/**
|
|
1955
1955
|
* Metadata has been cleared for an asset.
|
|
1956
1956
|
**/
|
|
1957
|
-
MetadataCleared: GenericPalletEvent<Rv, 'ForeignAssets', 'MetadataCleared', { assetId:
|
|
1957
|
+
MetadataCleared: GenericPalletEvent<Rv, 'ForeignAssets', 'MetadataCleared', { assetId: StagingXcmV5Location }>;
|
|
1958
1958
|
|
|
1959
1959
|
/**
|
|
1960
1960
|
* (Additional) funds have been approved for transfer to a destination account.
|
|
@@ -1963,7 +1963,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1963
1963
|
Rv,
|
|
1964
1964
|
'ForeignAssets',
|
|
1965
1965
|
'ApprovedTransfer',
|
|
1966
|
-
{ assetId:
|
|
1966
|
+
{ assetId: StagingXcmV5Location; source: AccountId32; delegate: AccountId32; amount: bigint }
|
|
1967
1967
|
>;
|
|
1968
1968
|
|
|
1969
1969
|
/**
|
|
@@ -1973,7 +1973,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1973
1973
|
Rv,
|
|
1974
1974
|
'ForeignAssets',
|
|
1975
1975
|
'ApprovalCancelled',
|
|
1976
|
-
{ assetId:
|
|
1976
|
+
{ assetId: StagingXcmV5Location; owner: AccountId32; delegate: AccountId32 }
|
|
1977
1977
|
>;
|
|
1978
1978
|
|
|
1979
1979
|
/**
|
|
@@ -1985,7 +1985,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1985
1985
|
'ForeignAssets',
|
|
1986
1986
|
'TransferredApproved',
|
|
1987
1987
|
{
|
|
1988
|
-
assetId:
|
|
1988
|
+
assetId: StagingXcmV5Location;
|
|
1989
1989
|
owner: AccountId32;
|
|
1990
1990
|
delegate: AccountId32;
|
|
1991
1991
|
destination: AccountId32;
|
|
@@ -2000,7 +2000,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2000
2000
|
Rv,
|
|
2001
2001
|
'ForeignAssets',
|
|
2002
2002
|
'AssetStatusChanged',
|
|
2003
|
-
{ assetId:
|
|
2003
|
+
{ assetId: StagingXcmV5Location }
|
|
2004
2004
|
>;
|
|
2005
2005
|
|
|
2006
2006
|
/**
|
|
@@ -2010,7 +2010,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2010
2010
|
Rv,
|
|
2011
2011
|
'ForeignAssets',
|
|
2012
2012
|
'AssetMinBalanceChanged',
|
|
2013
|
-
{ assetId:
|
|
2013
|
+
{ assetId: StagingXcmV5Location; newMinBalance: bigint }
|
|
2014
2014
|
>;
|
|
2015
2015
|
|
|
2016
2016
|
/**
|
|
@@ -2020,13 +2020,13 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2020
2020
|
Rv,
|
|
2021
2021
|
'ForeignAssets',
|
|
2022
2022
|
'Touched',
|
|
2023
|
-
{ assetId:
|
|
2023
|
+
{ assetId: StagingXcmV5Location; who: AccountId32; depositor: AccountId32 }
|
|
2024
2024
|
>;
|
|
2025
2025
|
|
|
2026
2026
|
/**
|
|
2027
2027
|
* Some account `who` was blocked.
|
|
2028
2028
|
**/
|
|
2029
|
-
Blocked: GenericPalletEvent<Rv, 'ForeignAssets', 'Blocked', { assetId:
|
|
2029
|
+
Blocked: GenericPalletEvent<Rv, 'ForeignAssets', 'Blocked', { assetId: StagingXcmV5Location; who: AccountId32 }>;
|
|
2030
2030
|
|
|
2031
2031
|
/**
|
|
2032
2032
|
* Some assets were deposited (e.g. for transaction fees).
|
|
@@ -2035,7 +2035,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2035
2035
|
Rv,
|
|
2036
2036
|
'ForeignAssets',
|
|
2037
2037
|
'Deposited',
|
|
2038
|
-
{ assetId:
|
|
2038
|
+
{ assetId: StagingXcmV5Location; who: AccountId32; amount: bigint }
|
|
2039
2039
|
>;
|
|
2040
2040
|
|
|
2041
2041
|
/**
|
|
@@ -2045,7 +2045,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2045
2045
|
Rv,
|
|
2046
2046
|
'ForeignAssets',
|
|
2047
2047
|
'Withdrawn',
|
|
2048
|
-
{ assetId:
|
|
2048
|
+
{ assetId: StagingXcmV5Location; who: AccountId32; amount: bigint }
|
|
2049
2049
|
>;
|
|
2050
2050
|
|
|
2051
2051
|
/**
|
|
@@ -2298,7 +2298,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2298
2298
|
* The pool id associated with the pool. Note that the order of the assets may not be
|
|
2299
2299
|
* the same as the order specified in the create pool extrinsic.
|
|
2300
2300
|
**/
|
|
2301
|
-
poolId: [
|
|
2301
|
+
poolId: [StagingXcmV5Location, StagingXcmV5Location];
|
|
2302
2302
|
|
|
2303
2303
|
/**
|
|
2304
2304
|
* The account ID of the pool.
|
|
@@ -2334,7 +2334,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2334
2334
|
/**
|
|
2335
2335
|
* The pool id of the pool that the liquidity was added to.
|
|
2336
2336
|
**/
|
|
2337
|
-
poolId: [
|
|
2337
|
+
poolId: [StagingXcmV5Location, StagingXcmV5Location];
|
|
2338
2338
|
|
|
2339
2339
|
/**
|
|
2340
2340
|
* The amount of the first asset that was added to the pool.
|
|
@@ -2379,7 +2379,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2379
2379
|
/**
|
|
2380
2380
|
* The pool id that the liquidity was removed from.
|
|
2381
2381
|
**/
|
|
2382
|
-
poolId: [
|
|
2382
|
+
poolId: [StagingXcmV5Location, StagingXcmV5Location];
|
|
2383
2383
|
|
|
2384
2384
|
/**
|
|
2385
2385
|
* The amount of the first asset that was removed from the pool.
|
|
@@ -2441,7 +2441,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2441
2441
|
* The route of asset IDs with amounts that the swap went through.
|
|
2442
2442
|
* E.g. (A, amount_in) -> (Dot, amount_out) -> (B, amount_out)
|
|
2443
2443
|
**/
|
|
2444
|
-
path: Array<[
|
|
2444
|
+
path: Array<[StagingXcmV5Location, bigint]>;
|
|
2445
2445
|
}
|
|
2446
2446
|
>;
|
|
2447
2447
|
|
|
@@ -2467,7 +2467,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2467
2467
|
* The route of asset IDs with amounts that the swap went through.
|
|
2468
2468
|
* E.g. (A, amount_in) -> (Dot, amount_out) -> (B, amount_out)
|
|
2469
2469
|
**/
|
|
2470
|
-
path: Array<[
|
|
2470
|
+
path: Array<[StagingXcmV5Location, bigint]>;
|
|
2471
2471
|
}
|
|
2472
2472
|
>;
|
|
2473
2473
|
|
|
@@ -2482,7 +2482,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2482
2482
|
/**
|
|
2483
2483
|
* The ID of the pool.
|
|
2484
2484
|
**/
|
|
2485
|
-
poolId: [
|
|
2485
|
+
poolId: [StagingXcmV5Location, StagingXcmV5Location];
|
|
2486
2486
|
|
|
2487
2487
|
/**
|
|
2488
2488
|
* The account initiating the touch.
|
|
@@ -2516,13 +2516,13 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2516
2516
|
Rv,
|
|
2517
2517
|
'ForeignAssetsFreezer',
|
|
2518
2518
|
'Frozen',
|
|
2519
|
-
{ who: AccountId32; assetId:
|
|
2519
|
+
{ who: AccountId32; assetId: StagingXcmV5Location; amount: bigint }
|
|
2520
2520
|
>;
|
|
2521
2521
|
Thawed: GenericPalletEvent<
|
|
2522
2522
|
Rv,
|
|
2523
2523
|
'ForeignAssetsFreezer',
|
|
2524
2524
|
'Thawed',
|
|
2525
|
-
{ who: AccountId32; assetId:
|
|
2525
|
+
{ who: AccountId32; assetId: StagingXcmV5Location; amount: bigint }
|
|
2526
2526
|
>;
|
|
2527
2527
|
|
|
2528
2528
|
/**
|
|
@@ -2781,7 +2781,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2781
2781
|
/**
|
|
2782
2782
|
* Pool's ID.
|
|
2783
2783
|
**/
|
|
2784
|
-
poolId: [
|
|
2784
|
+
poolId: [StagingXcmV5Location, StagingXcmV5Location];
|
|
2785
2785
|
|
|
2786
2786
|
/**
|
|
2787
2787
|
* Pool's prior account ID.
|
|
@@ -23,7 +23,7 @@ export interface VersionedWestendAssetHubApi<Rv extends RpcVersion> extends Gene
|
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
* @name: WestendAssetHubApi
|
|
26
|
-
* @specVersion:
|
|
26
|
+
* @specVersion: 1016005
|
|
27
27
|
**/
|
|
28
28
|
export interface WestendAssetHubApi {
|
|
29
29
|
legacy: VersionedWestendAssetHubApi<RpcLegacy>;
|
|
@@ -49,7 +49,7 @@ import type {
|
|
|
49
49
|
PalletXcmVersionMigrationStage,
|
|
50
50
|
PalletXcmRemoteLockedFungibleRecord,
|
|
51
51
|
XcmVersionedAssetId,
|
|
52
|
-
|
|
52
|
+
StagingXcmV5Xcm,
|
|
53
53
|
PalletMessageQueueBookState,
|
|
54
54
|
CumulusPrimitivesCoreAggregateMessageOrigin,
|
|
55
55
|
PalletMessageQueuePage,
|
|
@@ -74,7 +74,7 @@ import type {
|
|
|
74
74
|
PalletNftsPendingSwap,
|
|
75
75
|
PalletNftsCollectionConfig,
|
|
76
76
|
PalletNftsItemConfig,
|
|
77
|
-
|
|
77
|
+
StagingXcmV5Location,
|
|
78
78
|
PalletNftFractionalizationDetails,
|
|
79
79
|
PalletAssetConversionPoolInfo,
|
|
80
80
|
FrameSupportTokensMiscIdAmountRuntimeFreezeReason,
|
|
@@ -1070,9 +1070,9 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1070
1070
|
* Only relevant if this pallet is being used as the [`xcm_executor::traits::RecordXcm`]
|
|
1071
1071
|
* implementation in the XCM executor configuration.
|
|
1072
1072
|
*
|
|
1073
|
-
* @param {Callback<
|
|
1073
|
+
* @param {Callback<StagingXcmV5Xcm | undefined> =} callback
|
|
1074
1074
|
**/
|
|
1075
|
-
recordedXcm: GenericStorageQuery<Rv, () =>
|
|
1075
|
+
recordedXcm: GenericStorageQuery<Rv, () => StagingXcmV5Xcm | undefined>;
|
|
1076
1076
|
|
|
1077
1077
|
/**
|
|
1078
1078
|
* Generic pallet storage query
|
|
@@ -1565,25 +1565,25 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1565
1565
|
/**
|
|
1566
1566
|
* Details of an asset.
|
|
1567
1567
|
*
|
|
1568
|
-
* @param {
|
|
1568
|
+
* @param {StagingXcmV5Location} arg
|
|
1569
1569
|
* @param {Callback<PalletAssetsAssetDetails | undefined> =} callback
|
|
1570
1570
|
**/
|
|
1571
1571
|
asset: GenericStorageQuery<
|
|
1572
1572
|
Rv,
|
|
1573
|
-
(arg:
|
|
1574
|
-
|
|
1573
|
+
(arg: StagingXcmV5Location) => PalletAssetsAssetDetails | undefined,
|
|
1574
|
+
StagingXcmV5Location
|
|
1575
1575
|
>;
|
|
1576
1576
|
|
|
1577
1577
|
/**
|
|
1578
1578
|
* The holdings of a specific account for a specific asset.
|
|
1579
1579
|
*
|
|
1580
|
-
* @param {[
|
|
1580
|
+
* @param {[StagingXcmV5Location, AccountId32Like]} arg
|
|
1581
1581
|
* @param {Callback<PalletAssetsAssetAccount | undefined> =} callback
|
|
1582
1582
|
**/
|
|
1583
1583
|
account: GenericStorageQuery<
|
|
1584
1584
|
Rv,
|
|
1585
|
-
(arg: [
|
|
1586
|
-
[
|
|
1585
|
+
(arg: [StagingXcmV5Location, AccountId32Like]) => PalletAssetsAssetAccount | undefined,
|
|
1586
|
+
[StagingXcmV5Location, AccountId32]
|
|
1587
1587
|
>;
|
|
1588
1588
|
|
|
1589
1589
|
/**
|
|
@@ -1591,22 +1591,22 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1591
1591
|
* is the amount of `T::Currency` reserved for storing this.
|
|
1592
1592
|
* First key is the asset ID, second key is the owner and third key is the delegate.
|
|
1593
1593
|
*
|
|
1594
|
-
* @param {[
|
|
1594
|
+
* @param {[StagingXcmV5Location, AccountId32Like, AccountId32Like]} arg
|
|
1595
1595
|
* @param {Callback<PalletAssetsApproval | undefined> =} callback
|
|
1596
1596
|
**/
|
|
1597
1597
|
approvals: GenericStorageQuery<
|
|
1598
1598
|
Rv,
|
|
1599
|
-
(arg: [
|
|
1600
|
-
[
|
|
1599
|
+
(arg: [StagingXcmV5Location, AccountId32Like, AccountId32Like]) => PalletAssetsApproval | undefined,
|
|
1600
|
+
[StagingXcmV5Location, AccountId32, AccountId32]
|
|
1601
1601
|
>;
|
|
1602
1602
|
|
|
1603
1603
|
/**
|
|
1604
1604
|
* Metadata of an asset.
|
|
1605
1605
|
*
|
|
1606
|
-
* @param {
|
|
1606
|
+
* @param {StagingXcmV5Location} arg
|
|
1607
1607
|
* @param {Callback<PalletAssetsAssetMetadata> =} callback
|
|
1608
1608
|
**/
|
|
1609
|
-
metadata: GenericStorageQuery<Rv, (arg:
|
|
1609
|
+
metadata: GenericStorageQuery<Rv, (arg: StagingXcmV5Location) => PalletAssetsAssetMetadata, StagingXcmV5Location>;
|
|
1610
1610
|
|
|
1611
1611
|
/**
|
|
1612
1612
|
* The asset ID enforced for the next asset creation, if any present. Otherwise, this storage
|
|
@@ -1619,9 +1619,9 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1619
1619
|
* The initial next asset ID can be set using the [`GenesisConfig`] or the
|
|
1620
1620
|
* [SetNextAssetId](`migration::next_asset_id::SetNextAssetId`) migration.
|
|
1621
1621
|
*
|
|
1622
|
-
* @param {Callback<
|
|
1622
|
+
* @param {Callback<StagingXcmV5Location | undefined> =} callback
|
|
1623
1623
|
**/
|
|
1624
|
-
nextAssetId: GenericStorageQuery<Rv, () =>
|
|
1624
|
+
nextAssetId: GenericStorageQuery<Rv, () => StagingXcmV5Location | undefined>;
|
|
1625
1625
|
|
|
1626
1626
|
/**
|
|
1627
1627
|
* Generic pallet storage query
|
|
@@ -1723,13 +1723,13 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1723
1723
|
* Map from `PoolAssetId` to `PoolInfo`. This establishes whether a pool has been officially
|
|
1724
1724
|
* created rather than people sending tokens directly to a pool's public account.
|
|
1725
1725
|
*
|
|
1726
|
-
* @param {[
|
|
1726
|
+
* @param {[StagingXcmV5Location, StagingXcmV5Location]} arg
|
|
1727
1727
|
* @param {Callback<PalletAssetConversionPoolInfo | undefined> =} callback
|
|
1728
1728
|
**/
|
|
1729
1729
|
pools: GenericStorageQuery<
|
|
1730
1730
|
Rv,
|
|
1731
|
-
(arg: [
|
|
1732
|
-
[
|
|
1731
|
+
(arg: [StagingXcmV5Location, StagingXcmV5Location]) => PalletAssetConversionPoolInfo | undefined,
|
|
1732
|
+
[StagingXcmV5Location, StagingXcmV5Location]
|
|
1733
1733
|
>;
|
|
1734
1734
|
|
|
1735
1735
|
/**
|
|
@@ -1785,25 +1785,25 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1785
1785
|
/**
|
|
1786
1786
|
* A map that stores freezes applied on an account for a given AssetId.
|
|
1787
1787
|
*
|
|
1788
|
-
* @param {[
|
|
1788
|
+
* @param {[StagingXcmV5Location, AccountId32Like]} arg
|
|
1789
1789
|
* @param {Callback<Array<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>> =} callback
|
|
1790
1790
|
**/
|
|
1791
1791
|
freezes: GenericStorageQuery<
|
|
1792
1792
|
Rv,
|
|
1793
|
-
(arg: [
|
|
1794
|
-
[
|
|
1793
|
+
(arg: [StagingXcmV5Location, AccountId32Like]) => Array<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>,
|
|
1794
|
+
[StagingXcmV5Location, AccountId32]
|
|
1795
1795
|
>;
|
|
1796
1796
|
|
|
1797
1797
|
/**
|
|
1798
1798
|
* A map that stores the current total frozen balance for every account on a given AssetId.
|
|
1799
1799
|
*
|
|
1800
|
-
* @param {[
|
|
1800
|
+
* @param {[StagingXcmV5Location, AccountId32Like]} arg
|
|
1801
1801
|
* @param {Callback<bigint | undefined> =} callback
|
|
1802
1802
|
**/
|
|
1803
1803
|
frozenBalances: GenericStorageQuery<
|
|
1804
1804
|
Rv,
|
|
1805
|
-
(arg: [
|
|
1806
|
-
[
|
|
1805
|
+
(arg: [StagingXcmV5Location, AccountId32Like]) => bigint | undefined,
|
|
1806
|
+
[StagingXcmV5Location, AccountId32]
|
|
1807
1807
|
>;
|
|
1808
1808
|
|
|
1809
1809
|
/**
|