@dedot/chaintypes 0.14.0 → 0.16.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/consts.d.ts +48 -30
- package/kusama/errors.d.ts +89 -100
- package/kusama/events.d.ts +87 -28
- package/kusama/index.d.ts +1 -1
- package/kusama/query.d.ts +241 -130
- package/kusama/runtime.d.ts +347 -95
- package/kusama/tx.d.ts +3309 -456
- package/kusama/types.d.ts +6341 -1092
- package/kusama-asset-hub/consts.d.ts +52 -3
- package/kusama-asset-hub/errors.d.ts +30 -5
- package/kusama-asset-hub/events.d.ts +61 -1
- package/kusama-asset-hub/index.d.ts +1 -1
- package/kusama-asset-hub/query.d.ts +100 -18
- package/kusama-asset-hub/runtime.d.ts +186 -15
- package/kusama-asset-hub/tx.d.ts +3074 -254
- package/kusama-asset-hub/types.d.ts +6190 -551
- package/package.json +2 -2
- package/paseo/index.d.ts +1 -1
- package/rococo/errors.d.ts +0 -10
- package/rococo/events.d.ts +33 -12
- package/rococo/index.d.ts +1 -1
- package/rococo/query.d.ts +52 -52
- package/rococo/runtime.d.ts +117 -58
- package/rococo/tx.d.ts +33 -33
- package/rococo/types.d.ts +191 -185
- package/rococo-asset-hub/consts.d.ts +2 -2
- package/rococo-asset-hub/events.d.ts +87 -80
- package/rococo-asset-hub/index.d.ts +1 -1
- package/rococo-asset-hub/query.d.ts +66 -54
- package/rococo-asset-hub/runtime.d.ts +12 -15
- package/rococo-asset-hub/tx.d.ts +250 -241
- package/rococo-asset-hub/types.d.ts +353 -404
- package/westend/consts.d.ts +9 -0
- package/westend/errors.d.ts +0 -10
- package/westend/events.d.ts +79 -13
- package/westend/index.d.ts +1 -1
- package/westend/query.d.ts +75 -52
- package/westend/runtime.d.ts +133 -58
- package/westend/tx.d.ts +72 -35
- package/westend/types.d.ts +308 -190
- package/westend-asset-hub/consts.d.ts +2 -2
- package/westend-asset-hub/events.d.ts +87 -80
- package/westend-asset-hub/index.d.ts +1 -1
- package/westend-asset-hub/query.d.ts +66 -54
- package/westend-asset-hub/runtime.d.ts +12 -15
- package/westend-asset-hub/tx.d.ts +250 -241
- package/westend-asset-hub/types.d.ts +353 -404
- package/westend-people/index.d.ts +1 -1
- package/westend-people/query.d.ts +12 -12
- package/westend-people/tx.d.ts +1 -58
- package/westend-people/types.d.ts +16 -62
|
@@ -9,13 +9,13 @@ import type {
|
|
|
9
9
|
FixedBytes,
|
|
10
10
|
FixedArray,
|
|
11
11
|
Bytes,
|
|
12
|
+
FixedU128,
|
|
12
13
|
Result,
|
|
13
14
|
Permill,
|
|
14
15
|
BytesLike,
|
|
15
16
|
MultiAddress,
|
|
16
17
|
MultiAddressLike,
|
|
17
18
|
AccountId32Like,
|
|
18
|
-
FixedU128,
|
|
19
19
|
Era,
|
|
20
20
|
Header,
|
|
21
21
|
UncheckedExtrinsic,
|
|
@@ -59,6 +59,7 @@ export type AssetHubWestendRuntimeRuntimeEvent =
|
|
|
59
59
|
| { pallet: 'XcmpQueue'; palletEvent: CumulusPalletXcmpQueueEvent }
|
|
60
60
|
| { pallet: 'PolkadotXcm'; palletEvent: PalletXcmEvent }
|
|
61
61
|
| { pallet: 'CumulusXcm'; palletEvent: CumulusPalletXcmEvent }
|
|
62
|
+
| { pallet: 'ToRococoXcmRouter'; palletEvent: PalletXcmBridgeHubRouterEvent }
|
|
62
63
|
| { pallet: 'MessageQueue'; palletEvent: PalletMessageQueueEvent }
|
|
63
64
|
| { pallet: 'Utility'; palletEvent: PalletUtilityEvent }
|
|
64
65
|
| { pallet: 'Multisig'; palletEvent: PalletMultisigEvent }
|
|
@@ -267,54 +268,39 @@ export type PalletAssetConversionTxPaymentEvent =
|
|
|
267
268
|
**/
|
|
268
269
|
| {
|
|
269
270
|
name: 'AssetTxFeePaid';
|
|
270
|
-
data: { who: AccountId32; actualFee: bigint; tip: bigint; assetId:
|
|
271
|
+
data: { who: AccountId32; actualFee: bigint; tip: bigint; assetId: StagingXcmV4Location };
|
|
271
272
|
}
|
|
272
273
|
/**
|
|
273
274
|
* A swap of the refund in native currency back to asset failed.
|
|
274
275
|
**/
|
|
275
276
|
| { name: 'AssetRefundFailed'; data: { nativeAmountKept: bigint } };
|
|
276
277
|
|
|
277
|
-
export type
|
|
278
|
+
export type StagingXcmV4Location = { parents: number; interior: StagingXcmV4Junctions };
|
|
278
279
|
|
|
279
|
-
export type
|
|
280
|
+
export type StagingXcmV4Junctions =
|
|
280
281
|
| { type: 'Here' }
|
|
281
|
-
| { type: 'X1'; value:
|
|
282
|
-
| { type: 'X2'; value:
|
|
283
|
-
| { type: 'X3'; value:
|
|
284
|
-
| { type: 'X4'; value:
|
|
285
|
-
| { type: 'X5'; value:
|
|
286
|
-
| { type: 'X6'; value:
|
|
287
|
-
| {
|
|
288
|
-
|
|
289
|
-
value: [XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction];
|
|
290
|
-
}
|
|
291
|
-
| {
|
|
292
|
-
type: 'X8';
|
|
293
|
-
value: [
|
|
294
|
-
XcmV3Junction,
|
|
295
|
-
XcmV3Junction,
|
|
296
|
-
XcmV3Junction,
|
|
297
|
-
XcmV3Junction,
|
|
298
|
-
XcmV3Junction,
|
|
299
|
-
XcmV3Junction,
|
|
300
|
-
XcmV3Junction,
|
|
301
|
-
XcmV3Junction,
|
|
302
|
-
];
|
|
303
|
-
};
|
|
282
|
+
| { type: 'X1'; value: FixedArray<StagingXcmV4Junction, 1> }
|
|
283
|
+
| { type: 'X2'; value: FixedArray<StagingXcmV4Junction, 2> }
|
|
284
|
+
| { type: 'X3'; value: FixedArray<StagingXcmV4Junction, 3> }
|
|
285
|
+
| { type: 'X4'; value: FixedArray<StagingXcmV4Junction, 4> }
|
|
286
|
+
| { type: 'X5'; value: FixedArray<StagingXcmV4Junction, 5> }
|
|
287
|
+
| { type: 'X6'; value: FixedArray<StagingXcmV4Junction, 6> }
|
|
288
|
+
| { type: 'X7'; value: FixedArray<StagingXcmV4Junction, 7> }
|
|
289
|
+
| { type: 'X8'; value: FixedArray<StagingXcmV4Junction, 8> };
|
|
304
290
|
|
|
305
|
-
export type
|
|
291
|
+
export type StagingXcmV4Junction =
|
|
306
292
|
| { type: 'Parachain'; value: number }
|
|
307
|
-
| { type: 'AccountId32'; value: { network?:
|
|
308
|
-
| { type: 'AccountIndex64'; value: { network?:
|
|
309
|
-
| { type: 'AccountKey20'; value: { network?:
|
|
293
|
+
| { type: 'AccountId32'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; id: FixedBytes<32> } }
|
|
294
|
+
| { type: 'AccountIndex64'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; index: bigint } }
|
|
295
|
+
| { type: 'AccountKey20'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; key: FixedBytes<20> } }
|
|
310
296
|
| { type: 'PalletInstance'; value: number }
|
|
311
297
|
| { type: 'GeneralIndex'; value: bigint }
|
|
312
298
|
| { type: 'GeneralKey'; value: { length: number; data: FixedBytes<32> } }
|
|
313
299
|
| { type: 'OnlyChild' }
|
|
314
300
|
| { type: 'Plurality'; value: { id: XcmV3JunctionBodyId; part: XcmV3JunctionBodyPart } }
|
|
315
|
-
| { type: 'GlobalConsensus'; value:
|
|
301
|
+
| { type: 'GlobalConsensus'; value: StagingXcmV4JunctionNetworkId };
|
|
316
302
|
|
|
317
|
-
export type
|
|
303
|
+
export type StagingXcmV4JunctionNetworkId =
|
|
318
304
|
| { type: 'ByGenesis'; value: FixedBytes<32> }
|
|
319
305
|
| { type: 'ByFork'; value: { blockNumber: bigint; blockHash: FixedBytes<32> } }
|
|
320
306
|
| { type: 'Polkadot' }
|
|
@@ -636,44 +622,6 @@ export type XcmV3TraitsError =
|
|
|
636
622
|
| { type: 'WeightNotComputable' }
|
|
637
623
|
| { type: 'ExceedsStackLimit' };
|
|
638
624
|
|
|
639
|
-
export type StagingXcmV4Location = { parents: number; interior: StagingXcmV4Junctions };
|
|
640
|
-
|
|
641
|
-
export type StagingXcmV4Junctions =
|
|
642
|
-
| { type: 'Here' }
|
|
643
|
-
| { type: 'X1'; value: FixedArray<StagingXcmV4Junction, 1> }
|
|
644
|
-
| { type: 'X2'; value: FixedArray<StagingXcmV4Junction, 2> }
|
|
645
|
-
| { type: 'X3'; value: FixedArray<StagingXcmV4Junction, 3> }
|
|
646
|
-
| { type: 'X4'; value: FixedArray<StagingXcmV4Junction, 4> }
|
|
647
|
-
| { type: 'X5'; value: FixedArray<StagingXcmV4Junction, 5> }
|
|
648
|
-
| { type: 'X6'; value: FixedArray<StagingXcmV4Junction, 6> }
|
|
649
|
-
| { type: 'X7'; value: FixedArray<StagingXcmV4Junction, 7> }
|
|
650
|
-
| { type: 'X8'; value: FixedArray<StagingXcmV4Junction, 8> };
|
|
651
|
-
|
|
652
|
-
export type StagingXcmV4Junction =
|
|
653
|
-
| { type: 'Parachain'; value: number }
|
|
654
|
-
| { type: 'AccountId32'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; id: FixedBytes<32> } }
|
|
655
|
-
| { type: 'AccountIndex64'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; index: bigint } }
|
|
656
|
-
| { type: 'AccountKey20'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; key: FixedBytes<20> } }
|
|
657
|
-
| { type: 'PalletInstance'; value: number }
|
|
658
|
-
| { type: 'GeneralIndex'; value: bigint }
|
|
659
|
-
| { type: 'GeneralKey'; value: { length: number; data: FixedBytes<32> } }
|
|
660
|
-
| { type: 'OnlyChild' }
|
|
661
|
-
| { type: 'Plurality'; value: { id: XcmV3JunctionBodyId; part: XcmV3JunctionBodyPart } }
|
|
662
|
-
| { type: 'GlobalConsensus'; value: StagingXcmV4JunctionNetworkId };
|
|
663
|
-
|
|
664
|
-
export type StagingXcmV4JunctionNetworkId =
|
|
665
|
-
| { type: 'ByGenesis'; value: FixedBytes<32> }
|
|
666
|
-
| { type: 'ByFork'; value: { blockNumber: bigint; blockHash: FixedBytes<32> } }
|
|
667
|
-
| { type: 'Polkadot' }
|
|
668
|
-
| { type: 'Kusama' }
|
|
669
|
-
| { type: 'Westend' }
|
|
670
|
-
| { type: 'Rococo' }
|
|
671
|
-
| { type: 'Wococo' }
|
|
672
|
-
| { type: 'Ethereum'; value: { chainId: bigint } }
|
|
673
|
-
| { type: 'BitcoinCore' }
|
|
674
|
-
| { type: 'BitcoinCash' }
|
|
675
|
-
| { type: 'PolkadotBulletin' };
|
|
676
|
-
|
|
677
625
|
export type StagingXcmV4Xcm = Array<StagingXcmV4Instruction>;
|
|
678
626
|
|
|
679
627
|
export type StagingXcmV4Instruction =
|
|
@@ -929,6 +877,59 @@ export type XcmV3MultiassetAssetId =
|
|
|
929
877
|
| { type: 'Concrete'; value: StagingXcmV3MultilocationMultiLocation }
|
|
930
878
|
| { type: 'Abstract'; value: FixedBytes<32> };
|
|
931
879
|
|
|
880
|
+
export type StagingXcmV3MultilocationMultiLocation = { parents: number; interior: XcmV3Junctions };
|
|
881
|
+
|
|
882
|
+
export type XcmV3Junctions =
|
|
883
|
+
| { type: 'Here' }
|
|
884
|
+
| { type: 'X1'; value: XcmV3Junction }
|
|
885
|
+
| { type: 'X2'; value: [XcmV3Junction, XcmV3Junction] }
|
|
886
|
+
| { type: 'X3'; value: [XcmV3Junction, XcmV3Junction, XcmV3Junction] }
|
|
887
|
+
| { type: 'X4'; value: [XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction] }
|
|
888
|
+
| { type: 'X5'; value: [XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction] }
|
|
889
|
+
| { type: 'X6'; value: [XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction] }
|
|
890
|
+
| {
|
|
891
|
+
type: 'X7';
|
|
892
|
+
value: [XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction];
|
|
893
|
+
}
|
|
894
|
+
| {
|
|
895
|
+
type: 'X8';
|
|
896
|
+
value: [
|
|
897
|
+
XcmV3Junction,
|
|
898
|
+
XcmV3Junction,
|
|
899
|
+
XcmV3Junction,
|
|
900
|
+
XcmV3Junction,
|
|
901
|
+
XcmV3Junction,
|
|
902
|
+
XcmV3Junction,
|
|
903
|
+
XcmV3Junction,
|
|
904
|
+
XcmV3Junction,
|
|
905
|
+
];
|
|
906
|
+
};
|
|
907
|
+
|
|
908
|
+
export type XcmV3Junction =
|
|
909
|
+
| { type: 'Parachain'; value: number }
|
|
910
|
+
| { type: 'AccountId32'; value: { network?: XcmV3JunctionNetworkId | undefined; id: FixedBytes<32> } }
|
|
911
|
+
| { type: 'AccountIndex64'; value: { network?: XcmV3JunctionNetworkId | undefined; index: bigint } }
|
|
912
|
+
| { type: 'AccountKey20'; value: { network?: XcmV3JunctionNetworkId | undefined; key: FixedBytes<20> } }
|
|
913
|
+
| { type: 'PalletInstance'; value: number }
|
|
914
|
+
| { type: 'GeneralIndex'; value: bigint }
|
|
915
|
+
| { type: 'GeneralKey'; value: { length: number; data: FixedBytes<32> } }
|
|
916
|
+
| { type: 'OnlyChild' }
|
|
917
|
+
| { type: 'Plurality'; value: { id: XcmV3JunctionBodyId; part: XcmV3JunctionBodyPart } }
|
|
918
|
+
| { type: 'GlobalConsensus'; value: XcmV3JunctionNetworkId };
|
|
919
|
+
|
|
920
|
+
export type XcmV3JunctionNetworkId =
|
|
921
|
+
| { type: 'ByGenesis'; value: FixedBytes<32> }
|
|
922
|
+
| { type: 'ByFork'; value: { blockNumber: bigint; blockHash: FixedBytes<32> } }
|
|
923
|
+
| { type: 'Polkadot' }
|
|
924
|
+
| { type: 'Kusama' }
|
|
925
|
+
| { type: 'Westend' }
|
|
926
|
+
| { type: 'Rococo' }
|
|
927
|
+
| { type: 'Wococo' }
|
|
928
|
+
| { type: 'Ethereum'; value: { chainId: bigint } }
|
|
929
|
+
| { type: 'BitcoinCore' }
|
|
930
|
+
| { type: 'BitcoinCash' }
|
|
931
|
+
| { type: 'PolkadotBulletin' };
|
|
932
|
+
|
|
932
933
|
export type XcmV3MultiassetFungibility =
|
|
933
934
|
| { type: 'Fungible'; value: bigint }
|
|
934
935
|
| { type: 'NonFungible'; value: XcmV3MultiassetAssetInstance };
|
|
@@ -966,6 +967,35 @@ export type CumulusPalletXcmEvent =
|
|
|
966
967
|
**/
|
|
967
968
|
| { name: 'ExecutedDownward'; data: [FixedBytes<32>, StagingXcmV4TraitsOutcome] };
|
|
968
969
|
|
|
970
|
+
/**
|
|
971
|
+
* The `Event` enum of this pallet
|
|
972
|
+
**/
|
|
973
|
+
export type PalletXcmBridgeHubRouterEvent =
|
|
974
|
+
/**
|
|
975
|
+
* Delivery fee factor has been decreased.
|
|
976
|
+
**/
|
|
977
|
+
| {
|
|
978
|
+
name: 'DeliveryFeeFactorDecreased';
|
|
979
|
+
data: {
|
|
980
|
+
/**
|
|
981
|
+
* New value of the `DeliveryFeeFactor`.
|
|
982
|
+
**/
|
|
983
|
+
newValue: FixedU128;
|
|
984
|
+
};
|
|
985
|
+
}
|
|
986
|
+
/**
|
|
987
|
+
* Delivery fee factor has been increased.
|
|
988
|
+
**/
|
|
989
|
+
| {
|
|
990
|
+
name: 'DeliveryFeeFactorIncreased';
|
|
991
|
+
data: {
|
|
992
|
+
/**
|
|
993
|
+
* New value of the `DeliveryFeeFactor`.
|
|
994
|
+
**/
|
|
995
|
+
newValue: FixedU128;
|
|
996
|
+
};
|
|
997
|
+
};
|
|
998
|
+
|
|
969
999
|
/**
|
|
970
1000
|
* The `Event` enum of this pallet
|
|
971
1001
|
**/
|
|
@@ -1716,119 +1746,94 @@ export type PalletAssetsEvent002 =
|
|
|
1716
1746
|
/**
|
|
1717
1747
|
* Some asset class was created.
|
|
1718
1748
|
**/
|
|
1719
|
-
| {
|
|
1720
|
-
name: 'Created';
|
|
1721
|
-
data: { assetId: StagingXcmV3MultilocationMultiLocation; creator: AccountId32; owner: AccountId32 };
|
|
1722
|
-
}
|
|
1749
|
+
| { name: 'Created'; data: { assetId: StagingXcmV4Location; creator: AccountId32; owner: AccountId32 } }
|
|
1723
1750
|
/**
|
|
1724
1751
|
* Some assets were issued.
|
|
1725
1752
|
**/
|
|
1726
|
-
| { name: 'Issued'; data: { assetId:
|
|
1753
|
+
| { name: 'Issued'; data: { assetId: StagingXcmV4Location; owner: AccountId32; amount: bigint } }
|
|
1727
1754
|
/**
|
|
1728
1755
|
* Some assets were transferred.
|
|
1729
1756
|
**/
|
|
1730
|
-
| {
|
|
1731
|
-
name: 'Transferred';
|
|
1732
|
-
data: { assetId: StagingXcmV3MultilocationMultiLocation; from: AccountId32; to: AccountId32; amount: bigint };
|
|
1733
|
-
}
|
|
1757
|
+
| { name: 'Transferred'; data: { assetId: StagingXcmV4Location; from: AccountId32; to: AccountId32; amount: bigint } }
|
|
1734
1758
|
/**
|
|
1735
1759
|
* Some assets were destroyed.
|
|
1736
1760
|
**/
|
|
1737
|
-
| { name: 'Burned'; data: { assetId:
|
|
1761
|
+
| { name: 'Burned'; data: { assetId: StagingXcmV4Location; owner: AccountId32; balance: bigint } }
|
|
1738
1762
|
/**
|
|
1739
1763
|
* The management team changed.
|
|
1740
1764
|
**/
|
|
1741
1765
|
| {
|
|
1742
1766
|
name: 'TeamChanged';
|
|
1743
|
-
data: {
|
|
1744
|
-
assetId: StagingXcmV3MultilocationMultiLocation;
|
|
1745
|
-
issuer: AccountId32;
|
|
1746
|
-
admin: AccountId32;
|
|
1747
|
-
freezer: AccountId32;
|
|
1748
|
-
};
|
|
1767
|
+
data: { assetId: StagingXcmV4Location; issuer: AccountId32; admin: AccountId32; freezer: AccountId32 };
|
|
1749
1768
|
}
|
|
1750
1769
|
/**
|
|
1751
1770
|
* The owner changed.
|
|
1752
1771
|
**/
|
|
1753
|
-
| { name: 'OwnerChanged'; data: { assetId:
|
|
1772
|
+
| { name: 'OwnerChanged'; data: { assetId: StagingXcmV4Location; owner: AccountId32 } }
|
|
1754
1773
|
/**
|
|
1755
1774
|
* Some account `who` was frozen.
|
|
1756
1775
|
**/
|
|
1757
|
-
| { name: 'Frozen'; data: { assetId:
|
|
1776
|
+
| { name: 'Frozen'; data: { assetId: StagingXcmV4Location; who: AccountId32 } }
|
|
1758
1777
|
/**
|
|
1759
1778
|
* Some account `who` was thawed.
|
|
1760
1779
|
**/
|
|
1761
|
-
| { name: 'Thawed'; data: { assetId:
|
|
1780
|
+
| { name: 'Thawed'; data: { assetId: StagingXcmV4Location; who: AccountId32 } }
|
|
1762
1781
|
/**
|
|
1763
1782
|
* Some asset `asset_id` was frozen.
|
|
1764
1783
|
**/
|
|
1765
|
-
| { name: 'AssetFrozen'; data: { assetId:
|
|
1784
|
+
| { name: 'AssetFrozen'; data: { assetId: StagingXcmV4Location } }
|
|
1766
1785
|
/**
|
|
1767
1786
|
* Some asset `asset_id` was thawed.
|
|
1768
1787
|
**/
|
|
1769
|
-
| { name: 'AssetThawed'; data: { assetId:
|
|
1788
|
+
| { name: 'AssetThawed'; data: { assetId: StagingXcmV4Location } }
|
|
1770
1789
|
/**
|
|
1771
1790
|
* Accounts were destroyed for given asset.
|
|
1772
1791
|
**/
|
|
1773
1792
|
| {
|
|
1774
1793
|
name: 'AccountsDestroyed';
|
|
1775
|
-
data: { assetId:
|
|
1794
|
+
data: { assetId: StagingXcmV4Location; accountsDestroyed: number; accountsRemaining: number };
|
|
1776
1795
|
}
|
|
1777
1796
|
/**
|
|
1778
1797
|
* Approvals were destroyed for given asset.
|
|
1779
1798
|
**/
|
|
1780
1799
|
| {
|
|
1781
1800
|
name: 'ApprovalsDestroyed';
|
|
1782
|
-
data: { assetId:
|
|
1801
|
+
data: { assetId: StagingXcmV4Location; approvalsDestroyed: number; approvalsRemaining: number };
|
|
1783
1802
|
}
|
|
1784
1803
|
/**
|
|
1785
1804
|
* An asset class is in the process of being destroyed.
|
|
1786
1805
|
**/
|
|
1787
|
-
| { name: 'DestructionStarted'; data: { assetId:
|
|
1806
|
+
| { name: 'DestructionStarted'; data: { assetId: StagingXcmV4Location } }
|
|
1788
1807
|
/**
|
|
1789
1808
|
* An asset class was destroyed.
|
|
1790
1809
|
**/
|
|
1791
|
-
| { name: 'Destroyed'; data: { assetId:
|
|
1810
|
+
| { name: 'Destroyed'; data: { assetId: StagingXcmV4Location } }
|
|
1792
1811
|
/**
|
|
1793
1812
|
* Some asset class was force-created.
|
|
1794
1813
|
**/
|
|
1795
|
-
| { name: 'ForceCreated'; data: { assetId:
|
|
1814
|
+
| { name: 'ForceCreated'; data: { assetId: StagingXcmV4Location; owner: AccountId32 } }
|
|
1796
1815
|
/**
|
|
1797
1816
|
* New metadata has been set for an asset.
|
|
1798
1817
|
**/
|
|
1799
1818
|
| {
|
|
1800
1819
|
name: 'MetadataSet';
|
|
1801
|
-
data: {
|
|
1802
|
-
assetId: StagingXcmV3MultilocationMultiLocation;
|
|
1803
|
-
name: Bytes;
|
|
1804
|
-
symbol: Bytes;
|
|
1805
|
-
decimals: number;
|
|
1806
|
-
isFrozen: boolean;
|
|
1807
|
-
};
|
|
1820
|
+
data: { assetId: StagingXcmV4Location; name: Bytes; symbol: Bytes; decimals: number; isFrozen: boolean };
|
|
1808
1821
|
}
|
|
1809
1822
|
/**
|
|
1810
1823
|
* Metadata has been cleared for an asset.
|
|
1811
1824
|
**/
|
|
1812
|
-
| { name: 'MetadataCleared'; data: { assetId:
|
|
1825
|
+
| { name: 'MetadataCleared'; data: { assetId: StagingXcmV4Location } }
|
|
1813
1826
|
/**
|
|
1814
1827
|
* (Additional) funds have been approved for transfer to a destination account.
|
|
1815
1828
|
**/
|
|
1816
1829
|
| {
|
|
1817
1830
|
name: 'ApprovedTransfer';
|
|
1818
|
-
data: {
|
|
1819
|
-
assetId: StagingXcmV3MultilocationMultiLocation;
|
|
1820
|
-
source: AccountId32;
|
|
1821
|
-
delegate: AccountId32;
|
|
1822
|
-
amount: bigint;
|
|
1823
|
-
};
|
|
1831
|
+
data: { assetId: StagingXcmV4Location; source: AccountId32; delegate: AccountId32; amount: bigint };
|
|
1824
1832
|
}
|
|
1825
1833
|
/**
|
|
1826
1834
|
* An approval for account `delegate` was cancelled by `owner`.
|
|
1827
1835
|
**/
|
|
1828
|
-
| {
|
|
1829
|
-
name: 'ApprovalCancelled';
|
|
1830
|
-
data: { assetId: StagingXcmV3MultilocationMultiLocation; owner: AccountId32; delegate: AccountId32 };
|
|
1831
|
-
}
|
|
1836
|
+
| { name: 'ApprovalCancelled'; data: { assetId: StagingXcmV4Location; owner: AccountId32; delegate: AccountId32 } }
|
|
1832
1837
|
/**
|
|
1833
1838
|
* An `amount` was transferred in its entirety from `owner` to `destination` by
|
|
1834
1839
|
* the approved `delegate`.
|
|
@@ -1836,7 +1841,7 @@ export type PalletAssetsEvent002 =
|
|
|
1836
1841
|
| {
|
|
1837
1842
|
name: 'TransferredApproved';
|
|
1838
1843
|
data: {
|
|
1839
|
-
assetId:
|
|
1844
|
+
assetId: StagingXcmV4Location;
|
|
1840
1845
|
owner: AccountId32;
|
|
1841
1846
|
delegate: AccountId32;
|
|
1842
1847
|
destination: AccountId32;
|
|
@@ -1846,30 +1851,27 @@ export type PalletAssetsEvent002 =
|
|
|
1846
1851
|
/**
|
|
1847
1852
|
* An asset has had its attributes changed by the `Force` origin.
|
|
1848
1853
|
**/
|
|
1849
|
-
| { name: 'AssetStatusChanged'; data: { assetId:
|
|
1854
|
+
| { name: 'AssetStatusChanged'; data: { assetId: StagingXcmV4Location } }
|
|
1850
1855
|
/**
|
|
1851
1856
|
* The min_balance of an asset has been updated by the asset owner.
|
|
1852
1857
|
**/
|
|
1853
|
-
| { name: 'AssetMinBalanceChanged'; data: { assetId:
|
|
1858
|
+
| { name: 'AssetMinBalanceChanged'; data: { assetId: StagingXcmV4Location; newMinBalance: bigint } }
|
|
1854
1859
|
/**
|
|
1855
1860
|
* Some account `who` was created with a deposit from `depositor`.
|
|
1856
1861
|
**/
|
|
1857
|
-
| {
|
|
1858
|
-
name: 'Touched';
|
|
1859
|
-
data: { assetId: StagingXcmV3MultilocationMultiLocation; who: AccountId32; depositor: AccountId32 };
|
|
1860
|
-
}
|
|
1862
|
+
| { name: 'Touched'; data: { assetId: StagingXcmV4Location; who: AccountId32; depositor: AccountId32 } }
|
|
1861
1863
|
/**
|
|
1862
1864
|
* Some account `who` was blocked.
|
|
1863
1865
|
**/
|
|
1864
|
-
| { name: 'Blocked'; data: { assetId:
|
|
1866
|
+
| { name: 'Blocked'; data: { assetId: StagingXcmV4Location; who: AccountId32 } }
|
|
1865
1867
|
/**
|
|
1866
1868
|
* Some assets were deposited (e.g. for transaction fees).
|
|
1867
1869
|
**/
|
|
1868
|
-
| { name: 'Deposited'; data: { assetId:
|
|
1870
|
+
| { name: 'Deposited'; data: { assetId: StagingXcmV4Location; who: AccountId32; amount: bigint } }
|
|
1869
1871
|
/**
|
|
1870
1872
|
* Some assets were withdrawn from the account (e.g. for transaction fees).
|
|
1871
1873
|
**/
|
|
1872
|
-
| { name: 'Withdrawn'; data: { assetId:
|
|
1874
|
+
| { name: 'Withdrawn'; data: { assetId: StagingXcmV4Location; who: AccountId32; amount: bigint } };
|
|
1873
1875
|
|
|
1874
1876
|
/**
|
|
1875
1877
|
* The `Event` enum of this pallet
|
|
@@ -1906,7 +1908,7 @@ export type PalletAssetConversionEvent =
|
|
|
1906
1908
|
* The pool id associated with the pool. Note that the order of the assets may not be
|
|
1907
1909
|
* the same as the order specified in the create pool extrinsic.
|
|
1908
1910
|
**/
|
|
1909
|
-
poolId: [
|
|
1911
|
+
poolId: [StagingXcmV4Location, StagingXcmV4Location];
|
|
1910
1912
|
|
|
1911
1913
|
/**
|
|
1912
1914
|
* The account ID of the pool.
|
|
@@ -1939,7 +1941,7 @@ export type PalletAssetConversionEvent =
|
|
|
1939
1941
|
/**
|
|
1940
1942
|
* The pool id of the pool that the liquidity was added to.
|
|
1941
1943
|
**/
|
|
1942
|
-
poolId: [
|
|
1944
|
+
poolId: [StagingXcmV4Location, StagingXcmV4Location];
|
|
1943
1945
|
|
|
1944
1946
|
/**
|
|
1945
1947
|
* The amount of the first asset that was added to the pool.
|
|
@@ -1981,7 +1983,7 @@ export type PalletAssetConversionEvent =
|
|
|
1981
1983
|
/**
|
|
1982
1984
|
* The pool id that the liquidity was removed from.
|
|
1983
1985
|
**/
|
|
1984
|
-
poolId: [
|
|
1986
|
+
poolId: [StagingXcmV4Location, StagingXcmV4Location];
|
|
1985
1987
|
|
|
1986
1988
|
/**
|
|
1987
1989
|
* The amount of the first asset that was removed from the pool.
|
|
@@ -2040,7 +2042,7 @@ export type PalletAssetConversionEvent =
|
|
|
2040
2042
|
* The route of asset IDs with amounts that the swap went through.
|
|
2041
2043
|
* E.g. (A, amount_in) -> (Dot, amount_out) -> (B, amount_out)
|
|
2042
2044
|
**/
|
|
2043
|
-
path: Array<[
|
|
2045
|
+
path: Array<[StagingXcmV4Location, bigint]>;
|
|
2044
2046
|
};
|
|
2045
2047
|
}
|
|
2046
2048
|
/**
|
|
@@ -2063,7 +2065,7 @@ export type PalletAssetConversionEvent =
|
|
|
2063
2065
|
* The route of asset IDs with amounts that the swap went through.
|
|
2064
2066
|
* E.g. (A, amount_in) -> (Dot, amount_out) -> (B, amount_out)
|
|
2065
2067
|
**/
|
|
2066
|
-
path: Array<[
|
|
2068
|
+
path: Array<[StagingXcmV4Location, bigint]>;
|
|
2067
2069
|
};
|
|
2068
2070
|
}
|
|
2069
2071
|
/**
|
|
@@ -2075,7 +2077,7 @@ export type PalletAssetConversionEvent =
|
|
|
2075
2077
|
/**
|
|
2076
2078
|
* The ID of the pool.
|
|
2077
2079
|
**/
|
|
2078
|
-
poolId: [
|
|
2080
|
+
poolId: [StagingXcmV4Location, StagingXcmV4Location];
|
|
2079
2081
|
|
|
2080
2082
|
/**
|
|
2081
2083
|
* The account initiating the touch.
|
|
@@ -2095,8 +2097,8 @@ export type PalletAssetsFreezerEvent =
|
|
|
2095
2097
|
* The `Event` enum of this pallet
|
|
2096
2098
|
**/
|
|
2097
2099
|
export type PalletAssetsFreezerEvent002 =
|
|
2098
|
-
| { name: 'Frozen'; data: { who: AccountId32; assetId:
|
|
2099
|
-
| { name: 'Thawed'; data: { who: AccountId32; assetId:
|
|
2100
|
+
| { name: 'Frozen'; data: { who: AccountId32; assetId: StagingXcmV4Location; amount: bigint } }
|
|
2101
|
+
| { name: 'Thawed'; data: { who: AccountId32; assetId: StagingXcmV4Location; amount: bigint } };
|
|
2100
2102
|
|
|
2101
2103
|
/**
|
|
2102
2104
|
* Inner events of this pallet.
|
|
@@ -2170,7 +2172,7 @@ export type PalletAssetConversionOpsEvent =
|
|
|
2170
2172
|
/**
|
|
2171
2173
|
* Pool's ID.
|
|
2172
2174
|
**/
|
|
2173
|
-
poolId: [
|
|
2175
|
+
poolId: [StagingXcmV4Location, StagingXcmV4Location];
|
|
2174
2176
|
|
|
2175
2177
|
/**
|
|
2176
2178
|
* Pool's prior account ID.
|
|
@@ -2408,7 +2410,7 @@ export type FrameSystemError =
|
|
|
2408
2410
|
export type CumulusPalletParachainSystemUnincludedSegmentAncestor = {
|
|
2409
2411
|
usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth;
|
|
2410
2412
|
paraHeadHash?: H256 | undefined;
|
|
2411
|
-
consumedGoAheadSignal?:
|
|
2413
|
+
consumedGoAheadSignal?: PolkadotPrimitivesV8UpgradeGoAhead | undefined;
|
|
2412
2414
|
};
|
|
2413
2415
|
|
|
2414
2416
|
export type CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth = {
|
|
@@ -2421,15 +2423,15 @@ export type CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth = {
|
|
|
2421
2423
|
|
|
2422
2424
|
export type CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate = { msgCount: number; totalBytes: number };
|
|
2423
2425
|
|
|
2424
|
-
export type
|
|
2426
|
+
export type PolkadotPrimitivesV8UpgradeGoAhead = 'Abort' | 'GoAhead';
|
|
2425
2427
|
|
|
2426
2428
|
export type CumulusPalletParachainSystemUnincludedSegmentSegmentTracker = {
|
|
2427
2429
|
usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth;
|
|
2428
2430
|
hrmpWatermark?: number | undefined;
|
|
2429
|
-
consumedGoAheadSignal?:
|
|
2431
|
+
consumedGoAheadSignal?: PolkadotPrimitivesV8UpgradeGoAhead | undefined;
|
|
2430
2432
|
};
|
|
2431
2433
|
|
|
2432
|
-
export type
|
|
2434
|
+
export type PolkadotPrimitivesV8PersistedValidationData = {
|
|
2433
2435
|
parentHead: PolkadotParachainPrimitivesPrimitivesHeadData;
|
|
2434
2436
|
relayParentNumber: number;
|
|
2435
2437
|
relayParentStorageRoot: H256;
|
|
@@ -2438,15 +2440,15 @@ export type PolkadotPrimitivesV7PersistedValidationData = {
|
|
|
2438
2440
|
|
|
2439
2441
|
export type PolkadotParachainPrimitivesPrimitivesHeadData = Bytes;
|
|
2440
2442
|
|
|
2441
|
-
export type
|
|
2443
|
+
export type PolkadotPrimitivesV8UpgradeRestriction = 'Present';
|
|
2442
2444
|
|
|
2443
2445
|
export type SpTrieStorageProof = { trieNodes: Array<Bytes> };
|
|
2444
2446
|
|
|
2445
2447
|
export type CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot = {
|
|
2446
2448
|
dmqMqcHead: H256;
|
|
2447
2449
|
relayDispatchQueueRemainingCapacity: CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity;
|
|
2448
|
-
ingressChannels: Array<[PolkadotParachainPrimitivesPrimitivesId,
|
|
2449
|
-
egressChannels: Array<[PolkadotParachainPrimitivesPrimitivesId,
|
|
2450
|
+
ingressChannels: Array<[PolkadotParachainPrimitivesPrimitivesId, PolkadotPrimitivesV8AbridgedHrmpChannel]>;
|
|
2451
|
+
egressChannels: Array<[PolkadotParachainPrimitivesPrimitivesId, PolkadotPrimitivesV8AbridgedHrmpChannel]>;
|
|
2450
2452
|
};
|
|
2451
2453
|
|
|
2452
2454
|
export type CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity = {
|
|
@@ -2454,7 +2456,7 @@ export type CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRema
|
|
|
2454
2456
|
remainingSize: number;
|
|
2455
2457
|
};
|
|
2456
2458
|
|
|
2457
|
-
export type
|
|
2459
|
+
export type PolkadotPrimitivesV8AbridgedHrmpChannel = {
|
|
2458
2460
|
maxCapacity: number;
|
|
2459
2461
|
maxTotalSize: number;
|
|
2460
2462
|
maxMessageSize: number;
|
|
@@ -2463,7 +2465,7 @@ export type PolkadotPrimitivesV7AbridgedHrmpChannel = {
|
|
|
2463
2465
|
mqcHead?: H256 | undefined;
|
|
2464
2466
|
};
|
|
2465
2467
|
|
|
2466
|
-
export type
|
|
2468
|
+
export type PolkadotPrimitivesV8AbridgedHostConfiguration = {
|
|
2467
2469
|
maxCodeSize: number;
|
|
2468
2470
|
maxHeadDataSize: number;
|
|
2469
2471
|
maxUpwardQueueCount: number;
|
|
@@ -2473,10 +2475,10 @@ export type PolkadotPrimitivesV7AbridgedHostConfiguration = {
|
|
|
2473
2475
|
hrmpMaxMessageNumPerCandidate: number;
|
|
2474
2476
|
validationUpgradeCooldown: number;
|
|
2475
2477
|
validationUpgradeDelay: number;
|
|
2476
|
-
asyncBackingParams:
|
|
2478
|
+
asyncBackingParams: PolkadotPrimitivesV8AsyncBackingAsyncBackingParams;
|
|
2477
2479
|
};
|
|
2478
2480
|
|
|
2479
|
-
export type
|
|
2481
|
+
export type PolkadotPrimitivesV8AsyncBackingAsyncBackingParams = {
|
|
2480
2482
|
maxCandidateDepth: number;
|
|
2481
2483
|
allowedAncestryLen: number;
|
|
2482
2484
|
};
|
|
@@ -2504,30 +2506,7 @@ export type CumulusPalletParachainSystemCall =
|
|
|
2504
2506
|
* if the appropriate time has come.
|
|
2505
2507
|
**/
|
|
2506
2508
|
| { name: 'SetValidationData'; params: { data: CumulusPrimitivesParachainInherentParachainInherentData } }
|
|
2507
|
-
| { name: 'SudoSendUpwardMessage'; params: { message: Bytes } }
|
|
2508
|
-
/**
|
|
2509
|
-
* Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied
|
|
2510
|
-
* later.
|
|
2511
|
-
*
|
|
2512
|
-
* The `check_version` parameter sets a boolean flag for whether or not the runtime's spec
|
|
2513
|
-
* version and name should be verified on upgrade. Since the authorization only has a hash,
|
|
2514
|
-
* it cannot actually perform the verification.
|
|
2515
|
-
*
|
|
2516
|
-
* This call requires Root origin.
|
|
2517
|
-
**/
|
|
2518
|
-
| { name: 'AuthorizeUpgrade'; params: { codeHash: H256; checkVersion: boolean } }
|
|
2519
|
-
/**
|
|
2520
|
-
* Provide the preimage (runtime binary) `code` for an upgrade that has been authorized.
|
|
2521
|
-
*
|
|
2522
|
-
* If the authorization required a version check, this call will ensure the spec name
|
|
2523
|
-
* remains unchanged and that the spec version has increased.
|
|
2524
|
-
*
|
|
2525
|
-
* Note that this function will not apply the new `code`, but only attempt to schedule the
|
|
2526
|
-
* upgrade with the Relay Chain.
|
|
2527
|
-
*
|
|
2528
|
-
* All origins are allowed.
|
|
2529
|
-
**/
|
|
2530
|
-
| { name: 'EnactAuthorizedUpgrade'; params: { code: Bytes } };
|
|
2509
|
+
| { name: 'SudoSendUpwardMessage'; params: { message: Bytes } };
|
|
2531
2510
|
|
|
2532
2511
|
export type CumulusPalletParachainSystemCallLike =
|
|
2533
2512
|
/**
|
|
@@ -2542,33 +2521,10 @@ export type CumulusPalletParachainSystemCallLike =
|
|
|
2542
2521
|
* if the appropriate time has come.
|
|
2543
2522
|
**/
|
|
2544
2523
|
| { name: 'SetValidationData'; params: { data: CumulusPrimitivesParachainInherentParachainInherentData } }
|
|
2545
|
-
| { name: 'SudoSendUpwardMessage'; params: { message: BytesLike } }
|
|
2546
|
-
/**
|
|
2547
|
-
* Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied
|
|
2548
|
-
* later.
|
|
2549
|
-
*
|
|
2550
|
-
* The `check_version` parameter sets a boolean flag for whether or not the runtime's spec
|
|
2551
|
-
* version and name should be verified on upgrade. Since the authorization only has a hash,
|
|
2552
|
-
* it cannot actually perform the verification.
|
|
2553
|
-
*
|
|
2554
|
-
* This call requires Root origin.
|
|
2555
|
-
**/
|
|
2556
|
-
| { name: 'AuthorizeUpgrade'; params: { codeHash: H256; checkVersion: boolean } }
|
|
2557
|
-
/**
|
|
2558
|
-
* Provide the preimage (runtime binary) `code` for an upgrade that has been authorized.
|
|
2559
|
-
*
|
|
2560
|
-
* If the authorization required a version check, this call will ensure the spec name
|
|
2561
|
-
* remains unchanged and that the spec version has increased.
|
|
2562
|
-
*
|
|
2563
|
-
* Note that this function will not apply the new `code`, but only attempt to schedule the
|
|
2564
|
-
* upgrade with the Relay Chain.
|
|
2565
|
-
*
|
|
2566
|
-
* All origins are allowed.
|
|
2567
|
-
**/
|
|
2568
|
-
| { name: 'EnactAuthorizedUpgrade'; params: { code: BytesLike } };
|
|
2524
|
+
| { name: 'SudoSendUpwardMessage'; params: { message: BytesLike } };
|
|
2569
2525
|
|
|
2570
2526
|
export type CumulusPrimitivesParachainInherentParachainInherentData = {
|
|
2571
|
-
validationData:
|
|
2527
|
+
validationData: PolkadotPrimitivesV8PersistedValidationData;
|
|
2572
2528
|
relayChainState: SpTrieStorageProof;
|
|
2573
2529
|
downwardMessages: Array<PolkadotCorePrimitivesInboundDownwardMessage>;
|
|
2574
2530
|
horizontalMessages: Array<[PolkadotParachainPrimitivesPrimitivesId, Array<PolkadotCorePrimitivesInboundHrmpMessage>]>;
|
|
@@ -4428,23 +4384,6 @@ export type CumulusPalletXcmCall = null;
|
|
|
4428
4384
|
|
|
4429
4385
|
export type CumulusPalletXcmCallLike = null;
|
|
4430
4386
|
|
|
4431
|
-
export type BpXcmBridgeHubRouterBridgeState = { deliveryFeeFactor: FixedU128; isCongested: boolean };
|
|
4432
|
-
|
|
4433
|
-
/**
|
|
4434
|
-
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
4435
|
-
**/
|
|
4436
|
-
export type PalletXcmBridgeHubRouterCall =
|
|
4437
|
-
/**
|
|
4438
|
-
* Notification about congested bridge queue.
|
|
4439
|
-
**/
|
|
4440
|
-
{ name: 'ReportBridgeStatus'; params: { bridgeId: H256; isCongested: boolean } };
|
|
4441
|
-
|
|
4442
|
-
export type PalletXcmBridgeHubRouterCallLike =
|
|
4443
|
-
/**
|
|
4444
|
-
* Notification about congested bridge queue.
|
|
4445
|
-
**/
|
|
4446
|
-
{ name: 'ReportBridgeStatus'; params: { bridgeId: H256; isCongested: boolean } };
|
|
4447
|
-
|
|
4448
4387
|
export type PalletMessageQueueBookState = {
|
|
4449
4388
|
begin: number;
|
|
4450
4389
|
end: number;
|
|
@@ -4776,7 +4715,6 @@ export type AssetHubWestendRuntimeRuntimeCall =
|
|
|
4776
4715
|
| { pallet: 'XcmpQueue'; palletCall: CumulusPalletXcmpQueueCall }
|
|
4777
4716
|
| { pallet: 'PolkadotXcm'; palletCall: PalletXcmCall }
|
|
4778
4717
|
| { pallet: 'CumulusXcm'; palletCall: CumulusPalletXcmCall }
|
|
4779
|
-
| { pallet: 'ToRococoXcmRouter'; palletCall: PalletXcmBridgeHubRouterCall }
|
|
4780
4718
|
| { pallet: 'MessageQueue'; palletCall: PalletMessageQueueCall }
|
|
4781
4719
|
| { pallet: 'Utility'; palletCall: PalletUtilityCall }
|
|
4782
4720
|
| { pallet: 'Multisig'; palletCall: PalletMultisigCall }
|
|
@@ -4802,7 +4740,6 @@ export type AssetHubWestendRuntimeRuntimeCallLike =
|
|
|
4802
4740
|
| { pallet: 'XcmpQueue'; palletCall: CumulusPalletXcmpQueueCallLike }
|
|
4803
4741
|
| { pallet: 'PolkadotXcm'; palletCall: PalletXcmCallLike }
|
|
4804
4742
|
| { pallet: 'CumulusXcm'; palletCall: CumulusPalletXcmCallLike }
|
|
4805
|
-
| { pallet: 'ToRococoXcmRouter'; palletCall: PalletXcmBridgeHubRouterCallLike }
|
|
4806
4743
|
| { pallet: 'MessageQueue'; palletCall: PalletMessageQueueCallLike }
|
|
4807
4744
|
| { pallet: 'Utility'; palletCall: PalletUtilityCallLike }
|
|
4808
4745
|
| { pallet: 'Multisig'; palletCall: PalletMultisigCallLike }
|
|
@@ -5514,8 +5451,6 @@ export type PalletAssetsCall =
|
|
|
5514
5451
|
*
|
|
5515
5452
|
* - `id`: The identifier of the asset to be destroyed. This must identify an existing
|
|
5516
5453
|
* asset.
|
|
5517
|
-
*
|
|
5518
|
-
* The asset class must be frozen before calling `start_destroy`.
|
|
5519
5454
|
**/
|
|
5520
5455
|
| { name: 'StartDestroy'; params: { id: number } }
|
|
5521
5456
|
/**
|
|
@@ -5996,7 +5931,26 @@ export type PalletAssetsCall =
|
|
|
5996
5931
|
*
|
|
5997
5932
|
* Weight: `O(1)`
|
|
5998
5933
|
**/
|
|
5999
|
-
| { name: 'Block'; params: { id: number; who: MultiAddress } }
|
|
5934
|
+
| { name: 'Block'; params: { id: number; who: MultiAddress } }
|
|
5935
|
+
/**
|
|
5936
|
+
* Transfer the entire transferable balance from the caller asset account.
|
|
5937
|
+
*
|
|
5938
|
+
* NOTE: This function only attempts to transfer _transferable_ balances. This means that
|
|
5939
|
+
* any held, frozen, or minimum balance (when `keep_alive` is `true`), will not be
|
|
5940
|
+
* transferred by this function. To ensure that this function results in a killed account,
|
|
5941
|
+
* you might need to prepare the account by removing any reference counters, storage
|
|
5942
|
+
* deposits, etc...
|
|
5943
|
+
*
|
|
5944
|
+
* The dispatch origin of this call must be Signed.
|
|
5945
|
+
*
|
|
5946
|
+
* - `id`: The identifier of the asset for the account holding a deposit.
|
|
5947
|
+
* - `dest`: The recipient of the transfer.
|
|
5948
|
+
* - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all
|
|
5949
|
+
* of the funds the asset account has, causing the sender asset account to be killed
|
|
5950
|
+
* (false), or transfer everything except at least the minimum balance, which will
|
|
5951
|
+
* guarantee to keep the sender asset account alive (true).
|
|
5952
|
+
**/
|
|
5953
|
+
| { name: 'TransferAll'; params: { id: number; dest: MultiAddress; keepAlive: boolean } };
|
|
6000
5954
|
|
|
6001
5955
|
export type PalletAssetsCallLike =
|
|
6002
5956
|
/**
|
|
@@ -6053,8 +6007,6 @@ export type PalletAssetsCallLike =
|
|
|
6053
6007
|
*
|
|
6054
6008
|
* - `id`: The identifier of the asset to be destroyed. This must identify an existing
|
|
6055
6009
|
* asset.
|
|
6056
|
-
*
|
|
6057
|
-
* The asset class must be frozen before calling `start_destroy`.
|
|
6058
6010
|
**/
|
|
6059
6011
|
| { name: 'StartDestroy'; params: { id: number } }
|
|
6060
6012
|
/**
|
|
@@ -6541,7 +6493,26 @@ export type PalletAssetsCallLike =
|
|
|
6541
6493
|
*
|
|
6542
6494
|
* Weight: `O(1)`
|
|
6543
6495
|
**/
|
|
6544
|
-
| { name: 'Block'; params: { id: number; who: MultiAddressLike } }
|
|
6496
|
+
| { name: 'Block'; params: { id: number; who: MultiAddressLike } }
|
|
6497
|
+
/**
|
|
6498
|
+
* Transfer the entire transferable balance from the caller asset account.
|
|
6499
|
+
*
|
|
6500
|
+
* NOTE: This function only attempts to transfer _transferable_ balances. This means that
|
|
6501
|
+
* any held, frozen, or minimum balance (when `keep_alive` is `true`), will not be
|
|
6502
|
+
* transferred by this function. To ensure that this function results in a killed account,
|
|
6503
|
+
* you might need to prepare the account by removing any reference counters, storage
|
|
6504
|
+
* deposits, etc...
|
|
6505
|
+
*
|
|
6506
|
+
* The dispatch origin of this call must be Signed.
|
|
6507
|
+
*
|
|
6508
|
+
* - `id`: The identifier of the asset for the account holding a deposit.
|
|
6509
|
+
* - `dest`: The recipient of the transfer.
|
|
6510
|
+
* - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all
|
|
6511
|
+
* of the funds the asset account has, causing the sender asset account to be killed
|
|
6512
|
+
* (false), or transfer everything except at least the minimum balance, which will
|
|
6513
|
+
* guarantee to keep the sender asset account alive (true).
|
|
6514
|
+
**/
|
|
6515
|
+
| { name: 'TransferAll'; params: { id: number; dest: MultiAddressLike; keepAlive: boolean } };
|
|
6545
6516
|
|
|
6546
6517
|
/**
|
|
6547
6518
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -8969,7 +8940,7 @@ export type PalletAssetsCall002 =
|
|
|
8969
8940
|
*
|
|
8970
8941
|
* Weight: `O(1)`
|
|
8971
8942
|
**/
|
|
8972
|
-
| { name: 'Create'; params: { id:
|
|
8943
|
+
| { name: 'Create'; params: { id: StagingXcmV4Location; admin: MultiAddress; minBalance: bigint } }
|
|
8973
8944
|
/**
|
|
8974
8945
|
* Issue a new class of fungible assets from a privileged origin.
|
|
8975
8946
|
*
|
|
@@ -8993,12 +8964,7 @@ export type PalletAssetsCall002 =
|
|
|
8993
8964
|
**/
|
|
8994
8965
|
| {
|
|
8995
8966
|
name: 'ForceCreate';
|
|
8996
|
-
params: {
|
|
8997
|
-
id: StagingXcmV3MultilocationMultiLocation;
|
|
8998
|
-
owner: MultiAddress;
|
|
8999
|
-
isSufficient: boolean;
|
|
9000
|
-
minBalance: bigint;
|
|
9001
|
-
};
|
|
8967
|
+
params: { id: StagingXcmV4Location; owner: MultiAddress; isSufficient: boolean; minBalance: bigint };
|
|
9002
8968
|
}
|
|
9003
8969
|
/**
|
|
9004
8970
|
* Start the process of destroying a fungible asset class.
|
|
@@ -9010,10 +8976,8 @@ export type PalletAssetsCall002 =
|
|
|
9010
8976
|
*
|
|
9011
8977
|
* - `id`: The identifier of the asset to be destroyed. This must identify an existing
|
|
9012
8978
|
* asset.
|
|
9013
|
-
*
|
|
9014
|
-
* The asset class must be frozen before calling `start_destroy`.
|
|
9015
8979
|
**/
|
|
9016
|
-
| { name: 'StartDestroy'; params: { id:
|
|
8980
|
+
| { name: 'StartDestroy'; params: { id: StagingXcmV4Location } }
|
|
9017
8981
|
/**
|
|
9018
8982
|
* Destroy all accounts associated with a given asset.
|
|
9019
8983
|
*
|
|
@@ -9028,7 +8992,7 @@ export type PalletAssetsCall002 =
|
|
|
9028
8992
|
*
|
|
9029
8993
|
* Each call emits the `Event::DestroyedAccounts` event.
|
|
9030
8994
|
**/
|
|
9031
|
-
| { name: 'DestroyAccounts'; params: { id:
|
|
8995
|
+
| { name: 'DestroyAccounts'; params: { id: StagingXcmV4Location } }
|
|
9032
8996
|
/**
|
|
9033
8997
|
* Destroy all approvals associated with a given asset up to the max (T::RemoveItemsLimit).
|
|
9034
8998
|
*
|
|
@@ -9043,7 +9007,7 @@ export type PalletAssetsCall002 =
|
|
|
9043
9007
|
*
|
|
9044
9008
|
* Each call emits the `Event::DestroyedApprovals` event.
|
|
9045
9009
|
**/
|
|
9046
|
-
| { name: 'DestroyApprovals'; params: { id:
|
|
9010
|
+
| { name: 'DestroyApprovals'; params: { id: StagingXcmV4Location } }
|
|
9047
9011
|
/**
|
|
9048
9012
|
* Complete destroying asset and unreserve currency.
|
|
9049
9013
|
*
|
|
@@ -9056,7 +9020,7 @@ export type PalletAssetsCall002 =
|
|
|
9056
9020
|
*
|
|
9057
9021
|
* Each successful call emits the `Event::Destroyed` event.
|
|
9058
9022
|
**/
|
|
9059
|
-
| { name: 'FinishDestroy'; params: { id:
|
|
9023
|
+
| { name: 'FinishDestroy'; params: { id: StagingXcmV4Location } }
|
|
9060
9024
|
/**
|
|
9061
9025
|
* Mint assets of a particular class.
|
|
9062
9026
|
*
|
|
@@ -9071,7 +9035,7 @@ export type PalletAssetsCall002 =
|
|
|
9071
9035
|
* Weight: `O(1)`
|
|
9072
9036
|
* Modes: Pre-existing balance of `beneficiary`; Account pre-existence of `beneficiary`.
|
|
9073
9037
|
**/
|
|
9074
|
-
| { name: 'Mint'; params: { id:
|
|
9038
|
+
| { name: 'Mint'; params: { id: StagingXcmV4Location; beneficiary: MultiAddress; amount: bigint } }
|
|
9075
9039
|
/**
|
|
9076
9040
|
* Reduce the balance of `who` by as much as possible up to `amount` assets of `id`.
|
|
9077
9041
|
*
|
|
@@ -9089,7 +9053,7 @@ export type PalletAssetsCall002 =
|
|
|
9089
9053
|
* Weight: `O(1)`
|
|
9090
9054
|
* Modes: Post-existence of `who`; Pre & post Zombie-status of `who`.
|
|
9091
9055
|
**/
|
|
9092
|
-
| { name: 'Burn'; params: { id:
|
|
9056
|
+
| { name: 'Burn'; params: { id: StagingXcmV4Location; who: MultiAddress; amount: bigint } }
|
|
9093
9057
|
/**
|
|
9094
9058
|
* Move some assets from the sender account to another.
|
|
9095
9059
|
*
|
|
@@ -9110,7 +9074,7 @@ export type PalletAssetsCall002 =
|
|
|
9110
9074
|
* Modes: Pre-existence of `target`; Post-existence of sender; Account pre-existence of
|
|
9111
9075
|
* `target`.
|
|
9112
9076
|
**/
|
|
9113
|
-
| { name: 'Transfer'; params: { id:
|
|
9077
|
+
| { name: 'Transfer'; params: { id: StagingXcmV4Location; target: MultiAddress; amount: bigint } }
|
|
9114
9078
|
/**
|
|
9115
9079
|
* Move some assets from the sender account to another, keeping the sender account alive.
|
|
9116
9080
|
*
|
|
@@ -9131,10 +9095,7 @@ export type PalletAssetsCall002 =
|
|
|
9131
9095
|
* Modes: Pre-existence of `target`; Post-existence of sender; Account pre-existence of
|
|
9132
9096
|
* `target`.
|
|
9133
9097
|
**/
|
|
9134
|
-
| {
|
|
9135
|
-
name: 'TransferKeepAlive';
|
|
9136
|
-
params: { id: StagingXcmV3MultilocationMultiLocation; target: MultiAddress; amount: bigint };
|
|
9137
|
-
}
|
|
9098
|
+
| { name: 'TransferKeepAlive'; params: { id: StagingXcmV4Location; target: MultiAddress; amount: bigint } }
|
|
9138
9099
|
/**
|
|
9139
9100
|
* Move some assets from one account to another.
|
|
9140
9101
|
*
|
|
@@ -9158,7 +9119,7 @@ export type PalletAssetsCall002 =
|
|
|
9158
9119
|
**/
|
|
9159
9120
|
| {
|
|
9160
9121
|
name: 'ForceTransfer';
|
|
9161
|
-
params: { id:
|
|
9122
|
+
params: { id: StagingXcmV4Location; source: MultiAddress; dest: MultiAddress; amount: bigint };
|
|
9162
9123
|
}
|
|
9163
9124
|
/**
|
|
9164
9125
|
* Disallow further unprivileged transfers of an asset `id` from an account `who`. `who`
|
|
@@ -9174,7 +9135,7 @@ export type PalletAssetsCall002 =
|
|
|
9174
9135
|
*
|
|
9175
9136
|
* Weight: `O(1)`
|
|
9176
9137
|
**/
|
|
9177
|
-
| { name: 'Freeze'; params: { id:
|
|
9138
|
+
| { name: 'Freeze'; params: { id: StagingXcmV4Location; who: MultiAddress } }
|
|
9178
9139
|
/**
|
|
9179
9140
|
* Allow unprivileged transfers to and from an account again.
|
|
9180
9141
|
*
|
|
@@ -9187,7 +9148,7 @@ export type PalletAssetsCall002 =
|
|
|
9187
9148
|
*
|
|
9188
9149
|
* Weight: `O(1)`
|
|
9189
9150
|
**/
|
|
9190
|
-
| { name: 'Thaw'; params: { id:
|
|
9151
|
+
| { name: 'Thaw'; params: { id: StagingXcmV4Location; who: MultiAddress } }
|
|
9191
9152
|
/**
|
|
9192
9153
|
* Disallow further unprivileged transfers for the asset class.
|
|
9193
9154
|
*
|
|
@@ -9199,7 +9160,7 @@ export type PalletAssetsCall002 =
|
|
|
9199
9160
|
*
|
|
9200
9161
|
* Weight: `O(1)`
|
|
9201
9162
|
**/
|
|
9202
|
-
| { name: 'FreezeAsset'; params: { id:
|
|
9163
|
+
| { name: 'FreezeAsset'; params: { id: StagingXcmV4Location } }
|
|
9203
9164
|
/**
|
|
9204
9165
|
* Allow unprivileged transfers for the asset again.
|
|
9205
9166
|
*
|
|
@@ -9211,7 +9172,7 @@ export type PalletAssetsCall002 =
|
|
|
9211
9172
|
*
|
|
9212
9173
|
* Weight: `O(1)`
|
|
9213
9174
|
**/
|
|
9214
|
-
| { name: 'ThawAsset'; params: { id:
|
|
9175
|
+
| { name: 'ThawAsset'; params: { id: StagingXcmV4Location } }
|
|
9215
9176
|
/**
|
|
9216
9177
|
* Change the Owner of an asset.
|
|
9217
9178
|
*
|
|
@@ -9224,7 +9185,7 @@ export type PalletAssetsCall002 =
|
|
|
9224
9185
|
*
|
|
9225
9186
|
* Weight: `O(1)`
|
|
9226
9187
|
**/
|
|
9227
|
-
| { name: 'TransferOwnership'; params: { id:
|
|
9188
|
+
| { name: 'TransferOwnership'; params: { id: StagingXcmV4Location; owner: MultiAddress } }
|
|
9228
9189
|
/**
|
|
9229
9190
|
* Change the Issuer, Admin and Freezer of an asset.
|
|
9230
9191
|
*
|
|
@@ -9241,12 +9202,7 @@ export type PalletAssetsCall002 =
|
|
|
9241
9202
|
**/
|
|
9242
9203
|
| {
|
|
9243
9204
|
name: 'SetTeam';
|
|
9244
|
-
params: {
|
|
9245
|
-
id: StagingXcmV3MultilocationMultiLocation;
|
|
9246
|
-
issuer: MultiAddress;
|
|
9247
|
-
admin: MultiAddress;
|
|
9248
|
-
freezer: MultiAddress;
|
|
9249
|
-
};
|
|
9205
|
+
params: { id: StagingXcmV4Location; issuer: MultiAddress; admin: MultiAddress; freezer: MultiAddress };
|
|
9250
9206
|
}
|
|
9251
9207
|
/**
|
|
9252
9208
|
* Set the metadata for an asset.
|
|
@@ -9266,10 +9222,7 @@ export type PalletAssetsCall002 =
|
|
|
9266
9222
|
*
|
|
9267
9223
|
* Weight: `O(1)`
|
|
9268
9224
|
**/
|
|
9269
|
-
| {
|
|
9270
|
-
name: 'SetMetadata';
|
|
9271
|
-
params: { id: StagingXcmV3MultilocationMultiLocation; name: Bytes; symbol: Bytes; decimals: number };
|
|
9272
|
-
}
|
|
9225
|
+
| { name: 'SetMetadata'; params: { id: StagingXcmV4Location; name: Bytes; symbol: Bytes; decimals: number } }
|
|
9273
9226
|
/**
|
|
9274
9227
|
* Clear the metadata for an asset.
|
|
9275
9228
|
*
|
|
@@ -9283,7 +9236,7 @@ export type PalletAssetsCall002 =
|
|
|
9283
9236
|
*
|
|
9284
9237
|
* Weight: `O(1)`
|
|
9285
9238
|
**/
|
|
9286
|
-
| { name: 'ClearMetadata'; params: { id:
|
|
9239
|
+
| { name: 'ClearMetadata'; params: { id: StagingXcmV4Location } }
|
|
9287
9240
|
/**
|
|
9288
9241
|
* Force the metadata for an asset to some value.
|
|
9289
9242
|
*
|
|
@@ -9302,13 +9255,7 @@ export type PalletAssetsCall002 =
|
|
|
9302
9255
|
**/
|
|
9303
9256
|
| {
|
|
9304
9257
|
name: 'ForceSetMetadata';
|
|
9305
|
-
params: {
|
|
9306
|
-
id: StagingXcmV3MultilocationMultiLocation;
|
|
9307
|
-
name: Bytes;
|
|
9308
|
-
symbol: Bytes;
|
|
9309
|
-
decimals: number;
|
|
9310
|
-
isFrozen: boolean;
|
|
9311
|
-
};
|
|
9258
|
+
params: { id: StagingXcmV4Location; name: Bytes; symbol: Bytes; decimals: number; isFrozen: boolean };
|
|
9312
9259
|
}
|
|
9313
9260
|
/**
|
|
9314
9261
|
* Clear the metadata for an asset.
|
|
@@ -9323,7 +9270,7 @@ export type PalletAssetsCall002 =
|
|
|
9323
9270
|
*
|
|
9324
9271
|
* Weight: `O(1)`
|
|
9325
9272
|
**/
|
|
9326
|
-
| { name: 'ForceClearMetadata'; params: { id:
|
|
9273
|
+
| { name: 'ForceClearMetadata'; params: { id: StagingXcmV4Location } }
|
|
9327
9274
|
/**
|
|
9328
9275
|
* Alter the attributes of a given asset.
|
|
9329
9276
|
*
|
|
@@ -9351,7 +9298,7 @@ export type PalletAssetsCall002 =
|
|
|
9351
9298
|
| {
|
|
9352
9299
|
name: 'ForceAssetStatus';
|
|
9353
9300
|
params: {
|
|
9354
|
-
id:
|
|
9301
|
+
id: StagingXcmV4Location;
|
|
9355
9302
|
owner: MultiAddress;
|
|
9356
9303
|
issuer: MultiAddress;
|
|
9357
9304
|
admin: MultiAddress;
|
|
@@ -9383,10 +9330,7 @@ export type PalletAssetsCall002 =
|
|
|
9383
9330
|
*
|
|
9384
9331
|
* Weight: `O(1)`
|
|
9385
9332
|
**/
|
|
9386
|
-
| {
|
|
9387
|
-
name: 'ApproveTransfer';
|
|
9388
|
-
params: { id: StagingXcmV3MultilocationMultiLocation; delegate: MultiAddress; amount: bigint };
|
|
9389
|
-
}
|
|
9333
|
+
| { name: 'ApproveTransfer'; params: { id: StagingXcmV4Location; delegate: MultiAddress; amount: bigint } }
|
|
9390
9334
|
/**
|
|
9391
9335
|
* Cancel all of some asset approved for delegated transfer by a third-party account.
|
|
9392
9336
|
*
|
|
@@ -9402,7 +9346,7 @@ export type PalletAssetsCall002 =
|
|
|
9402
9346
|
*
|
|
9403
9347
|
* Weight: `O(1)`
|
|
9404
9348
|
**/
|
|
9405
|
-
| { name: 'CancelApproval'; params: { id:
|
|
9349
|
+
| { name: 'CancelApproval'; params: { id: StagingXcmV4Location; delegate: MultiAddress } }
|
|
9406
9350
|
/**
|
|
9407
9351
|
* Cancel all of some asset approved for delegated transfer by a third-party account.
|
|
9408
9352
|
*
|
|
@@ -9418,10 +9362,7 @@ export type PalletAssetsCall002 =
|
|
|
9418
9362
|
*
|
|
9419
9363
|
* Weight: `O(1)`
|
|
9420
9364
|
**/
|
|
9421
|
-
| {
|
|
9422
|
-
name: 'ForceCancelApproval';
|
|
9423
|
-
params: { id: StagingXcmV3MultilocationMultiLocation; owner: MultiAddress; delegate: MultiAddress };
|
|
9424
|
-
}
|
|
9365
|
+
| { name: 'ForceCancelApproval'; params: { id: StagingXcmV4Location; owner: MultiAddress; delegate: MultiAddress } }
|
|
9425
9366
|
/**
|
|
9426
9367
|
* Transfer some asset balance from a previously delegated account to some third-party
|
|
9427
9368
|
* account.
|
|
@@ -9444,12 +9385,7 @@ export type PalletAssetsCall002 =
|
|
|
9444
9385
|
**/
|
|
9445
9386
|
| {
|
|
9446
9387
|
name: 'TransferApproved';
|
|
9447
|
-
params: {
|
|
9448
|
-
id: StagingXcmV3MultilocationMultiLocation;
|
|
9449
|
-
owner: MultiAddress;
|
|
9450
|
-
destination: MultiAddress;
|
|
9451
|
-
amount: bigint;
|
|
9452
|
-
};
|
|
9388
|
+
params: { id: StagingXcmV4Location; owner: MultiAddress; destination: MultiAddress; amount: bigint };
|
|
9453
9389
|
}
|
|
9454
9390
|
/**
|
|
9455
9391
|
* Create an asset account for non-provider assets.
|
|
@@ -9462,7 +9398,7 @@ export type PalletAssetsCall002 =
|
|
|
9462
9398
|
*
|
|
9463
9399
|
* Emits `Touched` event when successful.
|
|
9464
9400
|
**/
|
|
9465
|
-
| { name: 'Touch'; params: { id:
|
|
9401
|
+
| { name: 'Touch'; params: { id: StagingXcmV4Location } }
|
|
9466
9402
|
/**
|
|
9467
9403
|
* Return the deposit (if any) of an asset account or a consumer reference (if any) of an
|
|
9468
9404
|
* account.
|
|
@@ -9475,7 +9411,7 @@ export type PalletAssetsCall002 =
|
|
|
9475
9411
|
*
|
|
9476
9412
|
* Emits `Refunded` event when successful.
|
|
9477
9413
|
**/
|
|
9478
|
-
| { name: 'Refund'; params: { id:
|
|
9414
|
+
| { name: 'Refund'; params: { id: StagingXcmV4Location; allowBurn: boolean } }
|
|
9479
9415
|
/**
|
|
9480
9416
|
* Sets the minimum balance of an asset.
|
|
9481
9417
|
*
|
|
@@ -9490,7 +9426,7 @@ export type PalletAssetsCall002 =
|
|
|
9490
9426
|
*
|
|
9491
9427
|
* Emits `AssetMinBalanceChanged` event when successful.
|
|
9492
9428
|
**/
|
|
9493
|
-
| { name: 'SetMinBalance'; params: { id:
|
|
9429
|
+
| { name: 'SetMinBalance'; params: { id: StagingXcmV4Location; minBalance: bigint } }
|
|
9494
9430
|
/**
|
|
9495
9431
|
* Create an asset account for `who`.
|
|
9496
9432
|
*
|
|
@@ -9503,7 +9439,7 @@ export type PalletAssetsCall002 =
|
|
|
9503
9439
|
*
|
|
9504
9440
|
* Emits `Touched` event when successful.
|
|
9505
9441
|
**/
|
|
9506
|
-
| { name: 'TouchOther'; params: { id:
|
|
9442
|
+
| { name: 'TouchOther'; params: { id: StagingXcmV4Location; who: MultiAddress } }
|
|
9507
9443
|
/**
|
|
9508
9444
|
* Return the deposit (if any) of a target asset account. Useful if you are the depositor.
|
|
9509
9445
|
*
|
|
@@ -9516,7 +9452,7 @@ export type PalletAssetsCall002 =
|
|
|
9516
9452
|
*
|
|
9517
9453
|
* Emits `Refunded` event when successful.
|
|
9518
9454
|
**/
|
|
9519
|
-
| { name: 'RefundOther'; params: { id:
|
|
9455
|
+
| { name: 'RefundOther'; params: { id: StagingXcmV4Location; who: MultiAddress } }
|
|
9520
9456
|
/**
|
|
9521
9457
|
* Disallow further unprivileged transfers of an asset `id` to and from an account `who`.
|
|
9522
9458
|
*
|
|
@@ -9529,7 +9465,26 @@ export type PalletAssetsCall002 =
|
|
|
9529
9465
|
*
|
|
9530
9466
|
* Weight: `O(1)`
|
|
9531
9467
|
**/
|
|
9532
|
-
| { name: 'Block'; params: { id:
|
|
9468
|
+
| { name: 'Block'; params: { id: StagingXcmV4Location; who: MultiAddress } }
|
|
9469
|
+
/**
|
|
9470
|
+
* Transfer the entire transferable balance from the caller asset account.
|
|
9471
|
+
*
|
|
9472
|
+
* NOTE: This function only attempts to transfer _transferable_ balances. This means that
|
|
9473
|
+
* any held, frozen, or minimum balance (when `keep_alive` is `true`), will not be
|
|
9474
|
+
* transferred by this function. To ensure that this function results in a killed account,
|
|
9475
|
+
* you might need to prepare the account by removing any reference counters, storage
|
|
9476
|
+
* deposits, etc...
|
|
9477
|
+
*
|
|
9478
|
+
* The dispatch origin of this call must be Signed.
|
|
9479
|
+
*
|
|
9480
|
+
* - `id`: The identifier of the asset for the account holding a deposit.
|
|
9481
|
+
* - `dest`: The recipient of the transfer.
|
|
9482
|
+
* - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all
|
|
9483
|
+
* of the funds the asset account has, causing the sender asset account to be killed
|
|
9484
|
+
* (false), or transfer everything except at least the minimum balance, which will
|
|
9485
|
+
* guarantee to keep the sender asset account alive (true).
|
|
9486
|
+
**/
|
|
9487
|
+
| { name: 'TransferAll'; params: { id: StagingXcmV4Location; dest: MultiAddress; keepAlive: boolean } };
|
|
9533
9488
|
|
|
9534
9489
|
export type PalletAssetsCallLike002 =
|
|
9535
9490
|
/**
|
|
@@ -9553,10 +9508,7 @@ export type PalletAssetsCallLike002 =
|
|
|
9553
9508
|
*
|
|
9554
9509
|
* Weight: `O(1)`
|
|
9555
9510
|
**/
|
|
9556
|
-
| {
|
|
9557
|
-
name: 'Create';
|
|
9558
|
-
params: { id: StagingXcmV3MultilocationMultiLocation; admin: MultiAddressLike; minBalance: bigint };
|
|
9559
|
-
}
|
|
9511
|
+
| { name: 'Create'; params: { id: StagingXcmV4Location; admin: MultiAddressLike; minBalance: bigint } }
|
|
9560
9512
|
/**
|
|
9561
9513
|
* Issue a new class of fungible assets from a privileged origin.
|
|
9562
9514
|
*
|
|
@@ -9580,12 +9532,7 @@ export type PalletAssetsCallLike002 =
|
|
|
9580
9532
|
**/
|
|
9581
9533
|
| {
|
|
9582
9534
|
name: 'ForceCreate';
|
|
9583
|
-
params: {
|
|
9584
|
-
id: StagingXcmV3MultilocationMultiLocation;
|
|
9585
|
-
owner: MultiAddressLike;
|
|
9586
|
-
isSufficient: boolean;
|
|
9587
|
-
minBalance: bigint;
|
|
9588
|
-
};
|
|
9535
|
+
params: { id: StagingXcmV4Location; owner: MultiAddressLike; isSufficient: boolean; minBalance: bigint };
|
|
9589
9536
|
}
|
|
9590
9537
|
/**
|
|
9591
9538
|
* Start the process of destroying a fungible asset class.
|
|
@@ -9597,10 +9544,8 @@ export type PalletAssetsCallLike002 =
|
|
|
9597
9544
|
*
|
|
9598
9545
|
* - `id`: The identifier of the asset to be destroyed. This must identify an existing
|
|
9599
9546
|
* asset.
|
|
9600
|
-
*
|
|
9601
|
-
* The asset class must be frozen before calling `start_destroy`.
|
|
9602
9547
|
**/
|
|
9603
|
-
| { name: 'StartDestroy'; params: { id:
|
|
9548
|
+
| { name: 'StartDestroy'; params: { id: StagingXcmV4Location } }
|
|
9604
9549
|
/**
|
|
9605
9550
|
* Destroy all accounts associated with a given asset.
|
|
9606
9551
|
*
|
|
@@ -9615,7 +9560,7 @@ export type PalletAssetsCallLike002 =
|
|
|
9615
9560
|
*
|
|
9616
9561
|
* Each call emits the `Event::DestroyedAccounts` event.
|
|
9617
9562
|
**/
|
|
9618
|
-
| { name: 'DestroyAccounts'; params: { id:
|
|
9563
|
+
| { name: 'DestroyAccounts'; params: { id: StagingXcmV4Location } }
|
|
9619
9564
|
/**
|
|
9620
9565
|
* Destroy all approvals associated with a given asset up to the max (T::RemoveItemsLimit).
|
|
9621
9566
|
*
|
|
@@ -9630,7 +9575,7 @@ export type PalletAssetsCallLike002 =
|
|
|
9630
9575
|
*
|
|
9631
9576
|
* Each call emits the `Event::DestroyedApprovals` event.
|
|
9632
9577
|
**/
|
|
9633
|
-
| { name: 'DestroyApprovals'; params: { id:
|
|
9578
|
+
| { name: 'DestroyApprovals'; params: { id: StagingXcmV4Location } }
|
|
9634
9579
|
/**
|
|
9635
9580
|
* Complete destroying asset and unreserve currency.
|
|
9636
9581
|
*
|
|
@@ -9643,7 +9588,7 @@ export type PalletAssetsCallLike002 =
|
|
|
9643
9588
|
*
|
|
9644
9589
|
* Each successful call emits the `Event::Destroyed` event.
|
|
9645
9590
|
**/
|
|
9646
|
-
| { name: 'FinishDestroy'; params: { id:
|
|
9591
|
+
| { name: 'FinishDestroy'; params: { id: StagingXcmV4Location } }
|
|
9647
9592
|
/**
|
|
9648
9593
|
* Mint assets of a particular class.
|
|
9649
9594
|
*
|
|
@@ -9658,10 +9603,7 @@ export type PalletAssetsCallLike002 =
|
|
|
9658
9603
|
* Weight: `O(1)`
|
|
9659
9604
|
* Modes: Pre-existing balance of `beneficiary`; Account pre-existence of `beneficiary`.
|
|
9660
9605
|
**/
|
|
9661
|
-
| {
|
|
9662
|
-
name: 'Mint';
|
|
9663
|
-
params: { id: StagingXcmV3MultilocationMultiLocation; beneficiary: MultiAddressLike; amount: bigint };
|
|
9664
|
-
}
|
|
9606
|
+
| { name: 'Mint'; params: { id: StagingXcmV4Location; beneficiary: MultiAddressLike; amount: bigint } }
|
|
9665
9607
|
/**
|
|
9666
9608
|
* Reduce the balance of `who` by as much as possible up to `amount` assets of `id`.
|
|
9667
9609
|
*
|
|
@@ -9679,7 +9621,7 @@ export type PalletAssetsCallLike002 =
|
|
|
9679
9621
|
* Weight: `O(1)`
|
|
9680
9622
|
* Modes: Post-existence of `who`; Pre & post Zombie-status of `who`.
|
|
9681
9623
|
**/
|
|
9682
|
-
| { name: 'Burn'; params: { id:
|
|
9624
|
+
| { name: 'Burn'; params: { id: StagingXcmV4Location; who: MultiAddressLike; amount: bigint } }
|
|
9683
9625
|
/**
|
|
9684
9626
|
* Move some assets from the sender account to another.
|
|
9685
9627
|
*
|
|
@@ -9700,10 +9642,7 @@ export type PalletAssetsCallLike002 =
|
|
|
9700
9642
|
* Modes: Pre-existence of `target`; Post-existence of sender; Account pre-existence of
|
|
9701
9643
|
* `target`.
|
|
9702
9644
|
**/
|
|
9703
|
-
| {
|
|
9704
|
-
name: 'Transfer';
|
|
9705
|
-
params: { id: StagingXcmV3MultilocationMultiLocation; target: MultiAddressLike; amount: bigint };
|
|
9706
|
-
}
|
|
9645
|
+
| { name: 'Transfer'; params: { id: StagingXcmV4Location; target: MultiAddressLike; amount: bigint } }
|
|
9707
9646
|
/**
|
|
9708
9647
|
* Move some assets from the sender account to another, keeping the sender account alive.
|
|
9709
9648
|
*
|
|
@@ -9724,10 +9663,7 @@ export type PalletAssetsCallLike002 =
|
|
|
9724
9663
|
* Modes: Pre-existence of `target`; Post-existence of sender; Account pre-existence of
|
|
9725
9664
|
* `target`.
|
|
9726
9665
|
**/
|
|
9727
|
-
| {
|
|
9728
|
-
name: 'TransferKeepAlive';
|
|
9729
|
-
params: { id: StagingXcmV3MultilocationMultiLocation; target: MultiAddressLike; amount: bigint };
|
|
9730
|
-
}
|
|
9666
|
+
| { name: 'TransferKeepAlive'; params: { id: StagingXcmV4Location; target: MultiAddressLike; amount: bigint } }
|
|
9731
9667
|
/**
|
|
9732
9668
|
* Move some assets from one account to another.
|
|
9733
9669
|
*
|
|
@@ -9751,12 +9687,7 @@ export type PalletAssetsCallLike002 =
|
|
|
9751
9687
|
**/
|
|
9752
9688
|
| {
|
|
9753
9689
|
name: 'ForceTransfer';
|
|
9754
|
-
params: {
|
|
9755
|
-
id: StagingXcmV3MultilocationMultiLocation;
|
|
9756
|
-
source: MultiAddressLike;
|
|
9757
|
-
dest: MultiAddressLike;
|
|
9758
|
-
amount: bigint;
|
|
9759
|
-
};
|
|
9690
|
+
params: { id: StagingXcmV4Location; source: MultiAddressLike; dest: MultiAddressLike; amount: bigint };
|
|
9760
9691
|
}
|
|
9761
9692
|
/**
|
|
9762
9693
|
* Disallow further unprivileged transfers of an asset `id` from an account `who`. `who`
|
|
@@ -9772,7 +9703,7 @@ export type PalletAssetsCallLike002 =
|
|
|
9772
9703
|
*
|
|
9773
9704
|
* Weight: `O(1)`
|
|
9774
9705
|
**/
|
|
9775
|
-
| { name: 'Freeze'; params: { id:
|
|
9706
|
+
| { name: 'Freeze'; params: { id: StagingXcmV4Location; who: MultiAddressLike } }
|
|
9776
9707
|
/**
|
|
9777
9708
|
* Allow unprivileged transfers to and from an account again.
|
|
9778
9709
|
*
|
|
@@ -9785,7 +9716,7 @@ export type PalletAssetsCallLike002 =
|
|
|
9785
9716
|
*
|
|
9786
9717
|
* Weight: `O(1)`
|
|
9787
9718
|
**/
|
|
9788
|
-
| { name: 'Thaw'; params: { id:
|
|
9719
|
+
| { name: 'Thaw'; params: { id: StagingXcmV4Location; who: MultiAddressLike } }
|
|
9789
9720
|
/**
|
|
9790
9721
|
* Disallow further unprivileged transfers for the asset class.
|
|
9791
9722
|
*
|
|
@@ -9797,7 +9728,7 @@ export type PalletAssetsCallLike002 =
|
|
|
9797
9728
|
*
|
|
9798
9729
|
* Weight: `O(1)`
|
|
9799
9730
|
**/
|
|
9800
|
-
| { name: 'FreezeAsset'; params: { id:
|
|
9731
|
+
| { name: 'FreezeAsset'; params: { id: StagingXcmV4Location } }
|
|
9801
9732
|
/**
|
|
9802
9733
|
* Allow unprivileged transfers for the asset again.
|
|
9803
9734
|
*
|
|
@@ -9809,7 +9740,7 @@ export type PalletAssetsCallLike002 =
|
|
|
9809
9740
|
*
|
|
9810
9741
|
* Weight: `O(1)`
|
|
9811
9742
|
**/
|
|
9812
|
-
| { name: 'ThawAsset'; params: { id:
|
|
9743
|
+
| { name: 'ThawAsset'; params: { id: StagingXcmV4Location } }
|
|
9813
9744
|
/**
|
|
9814
9745
|
* Change the Owner of an asset.
|
|
9815
9746
|
*
|
|
@@ -9822,7 +9753,7 @@ export type PalletAssetsCallLike002 =
|
|
|
9822
9753
|
*
|
|
9823
9754
|
* Weight: `O(1)`
|
|
9824
9755
|
**/
|
|
9825
|
-
| { name: 'TransferOwnership'; params: { id:
|
|
9756
|
+
| { name: 'TransferOwnership'; params: { id: StagingXcmV4Location; owner: MultiAddressLike } }
|
|
9826
9757
|
/**
|
|
9827
9758
|
* Change the Issuer, Admin and Freezer of an asset.
|
|
9828
9759
|
*
|
|
@@ -9840,7 +9771,7 @@ export type PalletAssetsCallLike002 =
|
|
|
9840
9771
|
| {
|
|
9841
9772
|
name: 'SetTeam';
|
|
9842
9773
|
params: {
|
|
9843
|
-
id:
|
|
9774
|
+
id: StagingXcmV4Location;
|
|
9844
9775
|
issuer: MultiAddressLike;
|
|
9845
9776
|
admin: MultiAddressLike;
|
|
9846
9777
|
freezer: MultiAddressLike;
|
|
@@ -9864,10 +9795,7 @@ export type PalletAssetsCallLike002 =
|
|
|
9864
9795
|
*
|
|
9865
9796
|
* Weight: `O(1)`
|
|
9866
9797
|
**/
|
|
9867
|
-
| {
|
|
9868
|
-
name: 'SetMetadata';
|
|
9869
|
-
params: { id: StagingXcmV3MultilocationMultiLocation; name: BytesLike; symbol: BytesLike; decimals: number };
|
|
9870
|
-
}
|
|
9798
|
+
| { name: 'SetMetadata'; params: { id: StagingXcmV4Location; name: BytesLike; symbol: BytesLike; decimals: number } }
|
|
9871
9799
|
/**
|
|
9872
9800
|
* Clear the metadata for an asset.
|
|
9873
9801
|
*
|
|
@@ -9881,7 +9809,7 @@ export type PalletAssetsCallLike002 =
|
|
|
9881
9809
|
*
|
|
9882
9810
|
* Weight: `O(1)`
|
|
9883
9811
|
**/
|
|
9884
|
-
| { name: 'ClearMetadata'; params: { id:
|
|
9812
|
+
| { name: 'ClearMetadata'; params: { id: StagingXcmV4Location } }
|
|
9885
9813
|
/**
|
|
9886
9814
|
* Force the metadata for an asset to some value.
|
|
9887
9815
|
*
|
|
@@ -9900,13 +9828,7 @@ export type PalletAssetsCallLike002 =
|
|
|
9900
9828
|
**/
|
|
9901
9829
|
| {
|
|
9902
9830
|
name: 'ForceSetMetadata';
|
|
9903
|
-
params: {
|
|
9904
|
-
id: StagingXcmV3MultilocationMultiLocation;
|
|
9905
|
-
name: BytesLike;
|
|
9906
|
-
symbol: BytesLike;
|
|
9907
|
-
decimals: number;
|
|
9908
|
-
isFrozen: boolean;
|
|
9909
|
-
};
|
|
9831
|
+
params: { id: StagingXcmV4Location; name: BytesLike; symbol: BytesLike; decimals: number; isFrozen: boolean };
|
|
9910
9832
|
}
|
|
9911
9833
|
/**
|
|
9912
9834
|
* Clear the metadata for an asset.
|
|
@@ -9921,7 +9843,7 @@ export type PalletAssetsCallLike002 =
|
|
|
9921
9843
|
*
|
|
9922
9844
|
* Weight: `O(1)`
|
|
9923
9845
|
**/
|
|
9924
|
-
| { name: 'ForceClearMetadata'; params: { id:
|
|
9846
|
+
| { name: 'ForceClearMetadata'; params: { id: StagingXcmV4Location } }
|
|
9925
9847
|
/**
|
|
9926
9848
|
* Alter the attributes of a given asset.
|
|
9927
9849
|
*
|
|
@@ -9949,7 +9871,7 @@ export type PalletAssetsCallLike002 =
|
|
|
9949
9871
|
| {
|
|
9950
9872
|
name: 'ForceAssetStatus';
|
|
9951
9873
|
params: {
|
|
9952
|
-
id:
|
|
9874
|
+
id: StagingXcmV4Location;
|
|
9953
9875
|
owner: MultiAddressLike;
|
|
9954
9876
|
issuer: MultiAddressLike;
|
|
9955
9877
|
admin: MultiAddressLike;
|
|
@@ -9981,10 +9903,7 @@ export type PalletAssetsCallLike002 =
|
|
|
9981
9903
|
*
|
|
9982
9904
|
* Weight: `O(1)`
|
|
9983
9905
|
**/
|
|
9984
|
-
| {
|
|
9985
|
-
name: 'ApproveTransfer';
|
|
9986
|
-
params: { id: StagingXcmV3MultilocationMultiLocation; delegate: MultiAddressLike; amount: bigint };
|
|
9987
|
-
}
|
|
9906
|
+
| { name: 'ApproveTransfer'; params: { id: StagingXcmV4Location; delegate: MultiAddressLike; amount: bigint } }
|
|
9988
9907
|
/**
|
|
9989
9908
|
* Cancel all of some asset approved for delegated transfer by a third-party account.
|
|
9990
9909
|
*
|
|
@@ -10000,7 +9919,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10000
9919
|
*
|
|
10001
9920
|
* Weight: `O(1)`
|
|
10002
9921
|
**/
|
|
10003
|
-
| { name: 'CancelApproval'; params: { id:
|
|
9922
|
+
| { name: 'CancelApproval'; params: { id: StagingXcmV4Location; delegate: MultiAddressLike } }
|
|
10004
9923
|
/**
|
|
10005
9924
|
* Cancel all of some asset approved for delegated transfer by a third-party account.
|
|
10006
9925
|
*
|
|
@@ -10018,7 +9937,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10018
9937
|
**/
|
|
10019
9938
|
| {
|
|
10020
9939
|
name: 'ForceCancelApproval';
|
|
10021
|
-
params: { id:
|
|
9940
|
+
params: { id: StagingXcmV4Location; owner: MultiAddressLike; delegate: MultiAddressLike };
|
|
10022
9941
|
}
|
|
10023
9942
|
/**
|
|
10024
9943
|
* Transfer some asset balance from a previously delegated account to some third-party
|
|
@@ -10042,12 +9961,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10042
9961
|
**/
|
|
10043
9962
|
| {
|
|
10044
9963
|
name: 'TransferApproved';
|
|
10045
|
-
params: {
|
|
10046
|
-
id: StagingXcmV3MultilocationMultiLocation;
|
|
10047
|
-
owner: MultiAddressLike;
|
|
10048
|
-
destination: MultiAddressLike;
|
|
10049
|
-
amount: bigint;
|
|
10050
|
-
};
|
|
9964
|
+
params: { id: StagingXcmV4Location; owner: MultiAddressLike; destination: MultiAddressLike; amount: bigint };
|
|
10051
9965
|
}
|
|
10052
9966
|
/**
|
|
10053
9967
|
* Create an asset account for non-provider assets.
|
|
@@ -10060,7 +9974,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10060
9974
|
*
|
|
10061
9975
|
* Emits `Touched` event when successful.
|
|
10062
9976
|
**/
|
|
10063
|
-
| { name: 'Touch'; params: { id:
|
|
9977
|
+
| { name: 'Touch'; params: { id: StagingXcmV4Location } }
|
|
10064
9978
|
/**
|
|
10065
9979
|
* Return the deposit (if any) of an asset account or a consumer reference (if any) of an
|
|
10066
9980
|
* account.
|
|
@@ -10073,7 +9987,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10073
9987
|
*
|
|
10074
9988
|
* Emits `Refunded` event when successful.
|
|
10075
9989
|
**/
|
|
10076
|
-
| { name: 'Refund'; params: { id:
|
|
9990
|
+
| { name: 'Refund'; params: { id: StagingXcmV4Location; allowBurn: boolean } }
|
|
10077
9991
|
/**
|
|
10078
9992
|
* Sets the minimum balance of an asset.
|
|
10079
9993
|
*
|
|
@@ -10088,7 +10002,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10088
10002
|
*
|
|
10089
10003
|
* Emits `AssetMinBalanceChanged` event when successful.
|
|
10090
10004
|
**/
|
|
10091
|
-
| { name: 'SetMinBalance'; params: { id:
|
|
10005
|
+
| { name: 'SetMinBalance'; params: { id: StagingXcmV4Location; minBalance: bigint } }
|
|
10092
10006
|
/**
|
|
10093
10007
|
* Create an asset account for `who`.
|
|
10094
10008
|
*
|
|
@@ -10101,7 +10015,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10101
10015
|
*
|
|
10102
10016
|
* Emits `Touched` event when successful.
|
|
10103
10017
|
**/
|
|
10104
|
-
| { name: 'TouchOther'; params: { id:
|
|
10018
|
+
| { name: 'TouchOther'; params: { id: StagingXcmV4Location; who: MultiAddressLike } }
|
|
10105
10019
|
/**
|
|
10106
10020
|
* Return the deposit (if any) of a target asset account. Useful if you are the depositor.
|
|
10107
10021
|
*
|
|
@@ -10114,7 +10028,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10114
10028
|
*
|
|
10115
10029
|
* Emits `Refunded` event when successful.
|
|
10116
10030
|
**/
|
|
10117
|
-
| { name: 'RefundOther'; params: { id:
|
|
10031
|
+
| { name: 'RefundOther'; params: { id: StagingXcmV4Location; who: MultiAddressLike } }
|
|
10118
10032
|
/**
|
|
10119
10033
|
* Disallow further unprivileged transfers of an asset `id` to and from an account `who`.
|
|
10120
10034
|
*
|
|
@@ -10127,7 +10041,26 @@ export type PalletAssetsCallLike002 =
|
|
|
10127
10041
|
*
|
|
10128
10042
|
* Weight: `O(1)`
|
|
10129
10043
|
**/
|
|
10130
|
-
| { name: 'Block'; params: { id:
|
|
10044
|
+
| { name: 'Block'; params: { id: StagingXcmV4Location; who: MultiAddressLike } }
|
|
10045
|
+
/**
|
|
10046
|
+
* Transfer the entire transferable balance from the caller asset account.
|
|
10047
|
+
*
|
|
10048
|
+
* NOTE: This function only attempts to transfer _transferable_ balances. This means that
|
|
10049
|
+
* any held, frozen, or minimum balance (when `keep_alive` is `true`), will not be
|
|
10050
|
+
* transferred by this function. To ensure that this function results in a killed account,
|
|
10051
|
+
* you might need to prepare the account by removing any reference counters, storage
|
|
10052
|
+
* deposits, etc...
|
|
10053
|
+
*
|
|
10054
|
+
* The dispatch origin of this call must be Signed.
|
|
10055
|
+
*
|
|
10056
|
+
* - `id`: The identifier of the asset for the account holding a deposit.
|
|
10057
|
+
* - `dest`: The recipient of the transfer.
|
|
10058
|
+
* - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all
|
|
10059
|
+
* of the funds the asset account has, causing the sender asset account to be killed
|
|
10060
|
+
* (false), or transfer everything except at least the minimum balance, which will
|
|
10061
|
+
* guarantee to keep the sender asset account alive (true).
|
|
10062
|
+
**/
|
|
10063
|
+
| { name: 'TransferAll'; params: { id: StagingXcmV4Location; dest: MultiAddressLike; keepAlive: boolean } };
|
|
10131
10064
|
|
|
10132
10065
|
/**
|
|
10133
10066
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -10287,8 +10220,6 @@ export type PalletAssetsCall003 =
|
|
|
10287
10220
|
*
|
|
10288
10221
|
* - `id`: The identifier of the asset to be destroyed. This must identify an existing
|
|
10289
10222
|
* asset.
|
|
10290
|
-
*
|
|
10291
|
-
* The asset class must be frozen before calling `start_destroy`.
|
|
10292
10223
|
**/
|
|
10293
10224
|
| { name: 'StartDestroy'; params: { id: number } }
|
|
10294
10225
|
/**
|
|
@@ -10769,7 +10700,26 @@ export type PalletAssetsCall003 =
|
|
|
10769
10700
|
*
|
|
10770
10701
|
* Weight: `O(1)`
|
|
10771
10702
|
**/
|
|
10772
|
-
| { name: 'Block'; params: { id: number; who: MultiAddress } }
|
|
10703
|
+
| { name: 'Block'; params: { id: number; who: MultiAddress } }
|
|
10704
|
+
/**
|
|
10705
|
+
* Transfer the entire transferable balance from the caller asset account.
|
|
10706
|
+
*
|
|
10707
|
+
* NOTE: This function only attempts to transfer _transferable_ balances. This means that
|
|
10708
|
+
* any held, frozen, or minimum balance (when `keep_alive` is `true`), will not be
|
|
10709
|
+
* transferred by this function. To ensure that this function results in a killed account,
|
|
10710
|
+
* you might need to prepare the account by removing any reference counters, storage
|
|
10711
|
+
* deposits, etc...
|
|
10712
|
+
*
|
|
10713
|
+
* The dispatch origin of this call must be Signed.
|
|
10714
|
+
*
|
|
10715
|
+
* - `id`: The identifier of the asset for the account holding a deposit.
|
|
10716
|
+
* - `dest`: The recipient of the transfer.
|
|
10717
|
+
* - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all
|
|
10718
|
+
* of the funds the asset account has, causing the sender asset account to be killed
|
|
10719
|
+
* (false), or transfer everything except at least the minimum balance, which will
|
|
10720
|
+
* guarantee to keep the sender asset account alive (true).
|
|
10721
|
+
**/
|
|
10722
|
+
| { name: 'TransferAll'; params: { id: number; dest: MultiAddress; keepAlive: boolean } };
|
|
10773
10723
|
|
|
10774
10724
|
export type PalletAssetsCallLike003 =
|
|
10775
10725
|
/**
|
|
@@ -10826,8 +10776,6 @@ export type PalletAssetsCallLike003 =
|
|
|
10826
10776
|
*
|
|
10827
10777
|
* - `id`: The identifier of the asset to be destroyed. This must identify an existing
|
|
10828
10778
|
* asset.
|
|
10829
|
-
*
|
|
10830
|
-
* The asset class must be frozen before calling `start_destroy`.
|
|
10831
10779
|
**/
|
|
10832
10780
|
| { name: 'StartDestroy'; params: { id: number } }
|
|
10833
10781
|
/**
|
|
@@ -11314,7 +11262,26 @@ export type PalletAssetsCallLike003 =
|
|
|
11314
11262
|
*
|
|
11315
11263
|
* Weight: `O(1)`
|
|
11316
11264
|
**/
|
|
11317
|
-
| { name: 'Block'; params: { id: number; who: MultiAddressLike } }
|
|
11265
|
+
| { name: 'Block'; params: { id: number; who: MultiAddressLike } }
|
|
11266
|
+
/**
|
|
11267
|
+
* Transfer the entire transferable balance from the caller asset account.
|
|
11268
|
+
*
|
|
11269
|
+
* NOTE: This function only attempts to transfer _transferable_ balances. This means that
|
|
11270
|
+
* any held, frozen, or minimum balance (when `keep_alive` is `true`), will not be
|
|
11271
|
+
* transferred by this function. To ensure that this function results in a killed account,
|
|
11272
|
+
* you might need to prepare the account by removing any reference counters, storage
|
|
11273
|
+
* deposits, etc...
|
|
11274
|
+
*
|
|
11275
|
+
* The dispatch origin of this call must be Signed.
|
|
11276
|
+
*
|
|
11277
|
+
* - `id`: The identifier of the asset for the account holding a deposit.
|
|
11278
|
+
* - `dest`: The recipient of the transfer.
|
|
11279
|
+
* - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all
|
|
11280
|
+
* of the funds the asset account has, causing the sender asset account to be killed
|
|
11281
|
+
* (false), or transfer everything except at least the minimum balance, which will
|
|
11282
|
+
* guarantee to keep the sender asset account alive (true).
|
|
11283
|
+
**/
|
|
11284
|
+
| { name: 'TransferAll'; params: { id: number; dest: MultiAddressLike; keepAlive: boolean } };
|
|
11318
11285
|
|
|
11319
11286
|
/**
|
|
11320
11287
|
* Pallet's callable functions.
|
|
@@ -11326,10 +11293,7 @@ export type PalletAssetConversionCall =
|
|
|
11326
11293
|
*
|
|
11327
11294
|
* Once a pool is created, someone may [`Pallet::add_liquidity`] to it.
|
|
11328
11295
|
**/
|
|
11329
|
-
| {
|
|
11330
|
-
name: 'CreatePool';
|
|
11331
|
-
params: { asset1: StagingXcmV3MultilocationMultiLocation; asset2: StagingXcmV3MultilocationMultiLocation };
|
|
11332
|
-
}
|
|
11296
|
+
| { name: 'CreatePool'; params: { asset1: StagingXcmV4Location; asset2: StagingXcmV4Location } }
|
|
11333
11297
|
/**
|
|
11334
11298
|
* Provide liquidity into the pool of `asset1` and `asset2`.
|
|
11335
11299
|
* NOTE: an optimal amount of asset1 and asset2 will be calculated and
|
|
@@ -11344,13 +11308,13 @@ export type PalletAssetConversionCall =
|
|
|
11344
11308
|
* calls to render the liquidity withdrawable and rectify the exchange rate.
|
|
11345
11309
|
*
|
|
11346
11310
|
* Once liquidity is added, someone may successfully call
|
|
11347
|
-
* [`Pallet::swap_exact_tokens_for_tokens`]
|
|
11311
|
+
* [`Pallet::swap_exact_tokens_for_tokens`].
|
|
11348
11312
|
**/
|
|
11349
11313
|
| {
|
|
11350
11314
|
name: 'AddLiquidity';
|
|
11351
11315
|
params: {
|
|
11352
|
-
asset1:
|
|
11353
|
-
asset2:
|
|
11316
|
+
asset1: StagingXcmV4Location;
|
|
11317
|
+
asset2: StagingXcmV4Location;
|
|
11354
11318
|
amount1Desired: bigint;
|
|
11355
11319
|
amount2Desired: bigint;
|
|
11356
11320
|
amount1Min: bigint;
|
|
@@ -11366,8 +11330,8 @@ export type PalletAssetConversionCall =
|
|
|
11366
11330
|
| {
|
|
11367
11331
|
name: 'RemoveLiquidity';
|
|
11368
11332
|
params: {
|
|
11369
|
-
asset1:
|
|
11370
|
-
asset2:
|
|
11333
|
+
asset1: StagingXcmV4Location;
|
|
11334
|
+
asset2: StagingXcmV4Location;
|
|
11371
11335
|
lpTokenBurn: bigint;
|
|
11372
11336
|
amount1MinReceive: bigint;
|
|
11373
11337
|
amount2MinReceive: bigint;
|
|
@@ -11385,7 +11349,7 @@ export type PalletAssetConversionCall =
|
|
|
11385
11349
|
| {
|
|
11386
11350
|
name: 'SwapExactTokensForTokens';
|
|
11387
11351
|
params: {
|
|
11388
|
-
path: Array<
|
|
11352
|
+
path: Array<StagingXcmV4Location>;
|
|
11389
11353
|
amountIn: bigint;
|
|
11390
11354
|
amountOutMin: bigint;
|
|
11391
11355
|
sendTo: AccountId32;
|
|
@@ -11403,7 +11367,7 @@ export type PalletAssetConversionCall =
|
|
|
11403
11367
|
| {
|
|
11404
11368
|
name: 'SwapTokensForExactTokens';
|
|
11405
11369
|
params: {
|
|
11406
|
-
path: Array<
|
|
11370
|
+
path: Array<StagingXcmV4Location>;
|
|
11407
11371
|
amountOut: bigint;
|
|
11408
11372
|
amountInMax: bigint;
|
|
11409
11373
|
sendTo: AccountId32;
|
|
@@ -11423,10 +11387,7 @@ export type PalletAssetConversionCall =
|
|
|
11423
11387
|
*
|
|
11424
11388
|
* Emits `Touched` event when successful.
|
|
11425
11389
|
**/
|
|
11426
|
-
| {
|
|
11427
|
-
name: 'Touch';
|
|
11428
|
-
params: { asset1: StagingXcmV3MultilocationMultiLocation; asset2: StagingXcmV3MultilocationMultiLocation };
|
|
11429
|
-
};
|
|
11390
|
+
| { name: 'Touch'; params: { asset1: StagingXcmV4Location; asset2: StagingXcmV4Location } };
|
|
11430
11391
|
|
|
11431
11392
|
export type PalletAssetConversionCallLike =
|
|
11432
11393
|
/**
|
|
@@ -11435,10 +11396,7 @@ export type PalletAssetConversionCallLike =
|
|
|
11435
11396
|
*
|
|
11436
11397
|
* Once a pool is created, someone may [`Pallet::add_liquidity`] to it.
|
|
11437
11398
|
**/
|
|
11438
|
-
| {
|
|
11439
|
-
name: 'CreatePool';
|
|
11440
|
-
params: { asset1: StagingXcmV3MultilocationMultiLocation; asset2: StagingXcmV3MultilocationMultiLocation };
|
|
11441
|
-
}
|
|
11399
|
+
| { name: 'CreatePool'; params: { asset1: StagingXcmV4Location; asset2: StagingXcmV4Location } }
|
|
11442
11400
|
/**
|
|
11443
11401
|
* Provide liquidity into the pool of `asset1` and `asset2`.
|
|
11444
11402
|
* NOTE: an optimal amount of asset1 and asset2 will be calculated and
|
|
@@ -11453,13 +11411,13 @@ export type PalletAssetConversionCallLike =
|
|
|
11453
11411
|
* calls to render the liquidity withdrawable and rectify the exchange rate.
|
|
11454
11412
|
*
|
|
11455
11413
|
* Once liquidity is added, someone may successfully call
|
|
11456
|
-
* [`Pallet::swap_exact_tokens_for_tokens`]
|
|
11414
|
+
* [`Pallet::swap_exact_tokens_for_tokens`].
|
|
11457
11415
|
**/
|
|
11458
11416
|
| {
|
|
11459
11417
|
name: 'AddLiquidity';
|
|
11460
11418
|
params: {
|
|
11461
|
-
asset1:
|
|
11462
|
-
asset2:
|
|
11419
|
+
asset1: StagingXcmV4Location;
|
|
11420
|
+
asset2: StagingXcmV4Location;
|
|
11463
11421
|
amount1Desired: bigint;
|
|
11464
11422
|
amount2Desired: bigint;
|
|
11465
11423
|
amount1Min: bigint;
|
|
@@ -11475,8 +11433,8 @@ export type PalletAssetConversionCallLike =
|
|
|
11475
11433
|
| {
|
|
11476
11434
|
name: 'RemoveLiquidity';
|
|
11477
11435
|
params: {
|
|
11478
|
-
asset1:
|
|
11479
|
-
asset2:
|
|
11436
|
+
asset1: StagingXcmV4Location;
|
|
11437
|
+
asset2: StagingXcmV4Location;
|
|
11480
11438
|
lpTokenBurn: bigint;
|
|
11481
11439
|
amount1MinReceive: bigint;
|
|
11482
11440
|
amount2MinReceive: bigint;
|
|
@@ -11494,7 +11452,7 @@ export type PalletAssetConversionCallLike =
|
|
|
11494
11452
|
| {
|
|
11495
11453
|
name: 'SwapExactTokensForTokens';
|
|
11496
11454
|
params: {
|
|
11497
|
-
path: Array<
|
|
11455
|
+
path: Array<StagingXcmV4Location>;
|
|
11498
11456
|
amountIn: bigint;
|
|
11499
11457
|
amountOutMin: bigint;
|
|
11500
11458
|
sendTo: AccountId32Like;
|
|
@@ -11512,7 +11470,7 @@ export type PalletAssetConversionCallLike =
|
|
|
11512
11470
|
| {
|
|
11513
11471
|
name: 'SwapTokensForExactTokens';
|
|
11514
11472
|
params: {
|
|
11515
|
-
path: Array<
|
|
11473
|
+
path: Array<StagingXcmV4Location>;
|
|
11516
11474
|
amountOut: bigint;
|
|
11517
11475
|
amountInMax: bigint;
|
|
11518
11476
|
sendTo: AccountId32Like;
|
|
@@ -11532,10 +11490,7 @@ export type PalletAssetConversionCallLike =
|
|
|
11532
11490
|
*
|
|
11533
11491
|
* Emits `Touched` event when successful.
|
|
11534
11492
|
**/
|
|
11535
|
-
| {
|
|
11536
|
-
name: 'Touch';
|
|
11537
|
-
params: { asset1: StagingXcmV3MultilocationMultiLocation; asset2: StagingXcmV3MultilocationMultiLocation };
|
|
11538
|
-
};
|
|
11493
|
+
| { name: 'Touch'; params: { asset1: StagingXcmV4Location; asset2: StagingXcmV4Location } };
|
|
11539
11494
|
|
|
11540
11495
|
/**
|
|
11541
11496
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -11713,10 +11668,7 @@ export type PalletAssetConversionOpsCall =
|
|
|
11713
11668
|
*
|
|
11714
11669
|
* Must be signed.
|
|
11715
11670
|
**/
|
|
11716
|
-
{
|
|
11717
|
-
name: 'MigrateToNewAccount';
|
|
11718
|
-
params: { asset1: StagingXcmV3MultilocationMultiLocation; asset2: StagingXcmV3MultilocationMultiLocation };
|
|
11719
|
-
};
|
|
11671
|
+
{ name: 'MigrateToNewAccount'; params: { asset1: StagingXcmV4Location; asset2: StagingXcmV4Location } };
|
|
11720
11672
|
|
|
11721
11673
|
export type PalletAssetConversionOpsCallLike =
|
|
11722
11674
|
/**
|
|
@@ -11725,10 +11677,7 @@ export type PalletAssetConversionOpsCallLike =
|
|
|
11725
11677
|
*
|
|
11726
11678
|
* Must be signed.
|
|
11727
11679
|
**/
|
|
11728
|
-
{
|
|
11729
|
-
name: 'MigrateToNewAccount';
|
|
11730
|
-
params: { asset1: StagingXcmV3MultilocationMultiLocation; asset2: StagingXcmV3MultilocationMultiLocation };
|
|
11731
|
-
};
|
|
11680
|
+
{ name: 'MigrateToNewAccount'; params: { asset1: StagingXcmV4Location; asset2: StagingXcmV4Location } };
|
|
11732
11681
|
|
|
11733
11682
|
export type AssetHubWestendRuntimeOriginCaller =
|
|
11734
11683
|
| { type: 'System'; value: FrameSupportDispatchRawOrigin }
|
|
@@ -12519,7 +12468,7 @@ export type FrameSystemExtensionsCheckWeight = {};
|
|
|
12519
12468
|
|
|
12520
12469
|
export type PalletAssetConversionTxPaymentChargeAssetTxPayment = {
|
|
12521
12470
|
tip: bigint;
|
|
12522
|
-
assetId?:
|
|
12471
|
+
assetId?: StagingXcmV4Location | undefined;
|
|
12523
12472
|
};
|
|
12524
12473
|
|
|
12525
12474
|
export type CumulusPrimitivesStorageWeightReclaimStorageWeightReclaim = {};
|