@dedot/chaintypes 0.157.0 → 0.158.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/polkadot/consts.d.ts +41 -2
- package/polkadot/errors.d.ts +33 -0
- package/polkadot/events.d.ts +106 -0
- package/polkadot/index.d.ts +1 -1
- package/polkadot/query.d.ts +35 -0
- package/polkadot/tx.d.ts +145 -15
- package/polkadot/types.d.ts +369 -93
- package/polkadot/view-functions.d.ts +83 -1
- package/polkadot-asset-hub/consts.d.ts +32 -2
- package/polkadot-asset-hub/errors.d.ts +103 -0
- package/polkadot-asset-hub/events.d.ts +106 -35
- package/polkadot-asset-hub/index.d.ts +1 -1
- package/polkadot-asset-hub/query.d.ts +59 -19
- package/polkadot-asset-hub/runtime.d.ts +133 -12
- package/polkadot-asset-hub/tx.d.ts +242 -140
- package/polkadot-asset-hub/types.d.ts +1570 -1293
- package/polkadot-asset-hub/view-functions.d.ts +34 -1
|
@@ -12,13 +12,13 @@ import type {
|
|
|
12
12
|
Result,
|
|
13
13
|
Permill,
|
|
14
14
|
BytesLike,
|
|
15
|
+
Header,
|
|
15
16
|
MultiAddress,
|
|
16
17
|
MultiAddressLike,
|
|
17
18
|
AccountId32Like,
|
|
18
|
-
Perbill,
|
|
19
|
-
Era,
|
|
20
|
-
Header,
|
|
21
19
|
UncheckedExtrinsic,
|
|
20
|
+
Era,
|
|
21
|
+
Perbill,
|
|
22
22
|
} from 'dedot/codecs';
|
|
23
23
|
|
|
24
24
|
export type FrameSystemAccountInfo = {
|
|
@@ -62,6 +62,7 @@ export type AssetHubPolkadotRuntimeRuntimeEvent =
|
|
|
62
62
|
| { pallet: 'CumulusXcm'; palletEvent: CumulusPalletXcmEvent }
|
|
63
63
|
| { pallet: 'ToKusamaXcmRouter'; palletEvent: PalletXcmBridgeHubRouterEvent }
|
|
64
64
|
| { pallet: 'MessageQueue'; palletEvent: PalletMessageQueueEvent }
|
|
65
|
+
| { pallet: 'SnowbridgeSystemFrontend'; palletEvent: SnowbridgePalletSystemFrontendEvent }
|
|
65
66
|
| { pallet: 'Utility'; palletEvent: PalletUtilityEvent }
|
|
66
67
|
| { pallet: 'Multisig'; palletEvent: PalletMultisigEvent }
|
|
67
68
|
| { pallet: 'Proxy'; palletEvent: PalletProxyEvent }
|
|
@@ -266,10 +267,16 @@ export type PalletBalancesEvent =
|
|
|
266
267
|
/**
|
|
267
268
|
* The `TotalIssuance` was forcefully changed.
|
|
268
269
|
**/
|
|
269
|
-
| { name: 'TotalIssuanceForced'; data: { old: bigint; new: bigint } }
|
|
270
|
+
| { name: 'TotalIssuanceForced'; data: { old: bigint; new: bigint } }
|
|
271
|
+
/**
|
|
272
|
+
* An unexpected/defensive event was triggered.
|
|
273
|
+
**/
|
|
274
|
+
| { name: 'Unexpected'; data: PalletBalancesUnexpectedKind };
|
|
270
275
|
|
|
271
276
|
export type FrameSupportTokensMiscBalanceStatus = 'Free' | 'Reserved';
|
|
272
277
|
|
|
278
|
+
export type PalletBalancesUnexpectedKind = 'BalanceUpdated' | 'FailedToMutateAccount';
|
|
279
|
+
|
|
273
280
|
/**
|
|
274
281
|
* The `Event` enum of this pallet
|
|
275
282
|
**/
|
|
@@ -290,46 +297,43 @@ export type PalletAssetConversionTxPaymentEvent =
|
|
|
290
297
|
**/
|
|
291
298
|
| {
|
|
292
299
|
name: 'AssetTxFeePaid';
|
|
293
|
-
data: { who: AccountId32; actualFee: bigint; tip: bigint; assetId:
|
|
300
|
+
data: { who: AccountId32; actualFee: bigint; tip: bigint; assetId: StagingXcmV5Location };
|
|
294
301
|
}
|
|
295
302
|
/**
|
|
296
303
|
* A swap of the refund in native currency back to asset failed.
|
|
297
304
|
**/
|
|
298
305
|
| { name: 'AssetRefundFailed'; data: { nativeAmountKept: bigint } };
|
|
299
306
|
|
|
300
|
-
export type
|
|
307
|
+
export type StagingXcmV5Location = { parents: number; interior: StagingXcmV5Junctions };
|
|
301
308
|
|
|
302
|
-
export type
|
|
309
|
+
export type StagingXcmV5Junctions =
|
|
303
310
|
| { type: 'Here' }
|
|
304
|
-
| { type: 'X1'; value: FixedArray<
|
|
305
|
-
| { type: 'X2'; value: FixedArray<
|
|
306
|
-
| { type: 'X3'; value: FixedArray<
|
|
307
|
-
| { type: 'X4'; value: FixedArray<
|
|
308
|
-
| { type: 'X5'; value: FixedArray<
|
|
309
|
-
| { type: 'X6'; value: FixedArray<
|
|
310
|
-
| { type: 'X7'; value: FixedArray<
|
|
311
|
-
| { type: 'X8'; value: FixedArray<
|
|
311
|
+
| { type: 'X1'; value: FixedArray<StagingXcmV5Junction, 1> }
|
|
312
|
+
| { type: 'X2'; value: FixedArray<StagingXcmV5Junction, 2> }
|
|
313
|
+
| { type: 'X3'; value: FixedArray<StagingXcmV5Junction, 3> }
|
|
314
|
+
| { type: 'X4'; value: FixedArray<StagingXcmV5Junction, 4> }
|
|
315
|
+
| { type: 'X5'; value: FixedArray<StagingXcmV5Junction, 5> }
|
|
316
|
+
| { type: 'X6'; value: FixedArray<StagingXcmV5Junction, 6> }
|
|
317
|
+
| { type: 'X7'; value: FixedArray<StagingXcmV5Junction, 7> }
|
|
318
|
+
| { type: 'X8'; value: FixedArray<StagingXcmV5Junction, 8> };
|
|
312
319
|
|
|
313
|
-
export type
|
|
320
|
+
export type StagingXcmV5Junction =
|
|
314
321
|
| { type: 'Parachain'; value: number }
|
|
315
|
-
| { type: 'AccountId32'; value: { network?:
|
|
316
|
-
| { type: 'AccountIndex64'; value: { network?:
|
|
317
|
-
| { type: 'AccountKey20'; value: { network?:
|
|
322
|
+
| { type: 'AccountId32'; value: { network?: StagingXcmV5JunctionNetworkId | undefined; id: FixedBytes<32> } }
|
|
323
|
+
| { type: 'AccountIndex64'; value: { network?: StagingXcmV5JunctionNetworkId | undefined; index: bigint } }
|
|
324
|
+
| { type: 'AccountKey20'; value: { network?: StagingXcmV5JunctionNetworkId | undefined; key: FixedBytes<20> } }
|
|
318
325
|
| { type: 'PalletInstance'; value: number }
|
|
319
326
|
| { type: 'GeneralIndex'; value: bigint }
|
|
320
327
|
| { type: 'GeneralKey'; value: { length: number; data: FixedBytes<32> } }
|
|
321
328
|
| { type: 'OnlyChild' }
|
|
322
329
|
| { type: 'Plurality'; value: { id: XcmV3JunctionBodyId; part: XcmV3JunctionBodyPart } }
|
|
323
|
-
| { type: 'GlobalConsensus'; value:
|
|
330
|
+
| { type: 'GlobalConsensus'; value: StagingXcmV5JunctionNetworkId };
|
|
324
331
|
|
|
325
|
-
export type
|
|
332
|
+
export type StagingXcmV5JunctionNetworkId =
|
|
326
333
|
| { type: 'ByGenesis'; value: FixedBytes<32> }
|
|
327
334
|
| { type: 'ByFork'; value: { blockNumber: bigint; blockHash: FixedBytes<32> } }
|
|
328
335
|
| { type: 'Polkadot' }
|
|
329
336
|
| { type: 'Kusama' }
|
|
330
|
-
| { type: 'Westend' }
|
|
331
|
-
| { type: 'Rococo' }
|
|
332
|
-
| { type: 'Wococo' }
|
|
333
337
|
| { type: 'Ethereum'; value: { chainId: bigint } }
|
|
334
338
|
| { type: 'BitcoinCore' }
|
|
335
339
|
| { type: 'BitcoinCash' }
|
|
@@ -358,6 +362,10 @@ export type XcmV3JunctionBodyPart =
|
|
|
358
362
|
* The `Event` enum of this pallet
|
|
359
363
|
**/
|
|
360
364
|
export type PalletVestingEvent =
|
|
365
|
+
/**
|
|
366
|
+
* A vesting schedule has been created.
|
|
367
|
+
**/
|
|
368
|
+
| { name: 'VestingCreated'; data: { account: AccountId32; scheduleIndex: number } }
|
|
361
369
|
/**
|
|
362
370
|
* The amount vested has been updated. This could indicate a change in funds available.
|
|
363
371
|
* The balance given is the amount which is left unvested (and thus locked).
|
|
@@ -423,6 +431,11 @@ export type PalletSessionEvent =
|
|
|
423
431
|
* block number as the type might suggest.
|
|
424
432
|
**/
|
|
425
433
|
| { name: 'NewSession'; data: { sessionIndex: number } }
|
|
434
|
+
/**
|
|
435
|
+
* The `NewSession` event in the current block also implies a new validator set to be
|
|
436
|
+
* queued.
|
|
437
|
+
**/
|
|
438
|
+
| { name: 'NewQueued' }
|
|
426
439
|
/**
|
|
427
440
|
* Validator has been disabled.
|
|
428
441
|
**/
|
|
@@ -656,8 +669,10 @@ export type PalletXcmEvent =
|
|
|
656
669
|
|
|
657
670
|
export type StagingXcmV5TraitsOutcome =
|
|
658
671
|
| { type: 'Complete'; value: { used: SpWeightsWeightV2Weight } }
|
|
659
|
-
| { type: 'Incomplete'; value: { used: SpWeightsWeightV2Weight; error:
|
|
660
|
-
| { type: 'Error'; value:
|
|
672
|
+
| { type: 'Incomplete'; value: { used: SpWeightsWeightV2Weight; error: StagingXcmV5TraitsInstructionError } }
|
|
673
|
+
| { type: 'Error'; value: StagingXcmV5TraitsInstructionError };
|
|
674
|
+
|
|
675
|
+
export type StagingXcmV5TraitsInstructionError = { index: number; error: XcmV5TraitsError };
|
|
661
676
|
|
|
662
677
|
export type XcmV5TraitsError =
|
|
663
678
|
| { type: 'Overflow' }
|
|
@@ -702,41 +717,6 @@ export type XcmV5TraitsError =
|
|
|
702
717
|
| { type: 'WeightNotComputable' }
|
|
703
718
|
| { type: 'ExceedsStackLimit' };
|
|
704
719
|
|
|
705
|
-
export type StagingXcmV5Location = { parents: number; interior: StagingXcmV5Junctions };
|
|
706
|
-
|
|
707
|
-
export type StagingXcmV5Junctions =
|
|
708
|
-
| { type: 'Here' }
|
|
709
|
-
| { type: 'X1'; value: FixedArray<StagingXcmV5Junction, 1> }
|
|
710
|
-
| { type: 'X2'; value: FixedArray<StagingXcmV5Junction, 2> }
|
|
711
|
-
| { type: 'X3'; value: FixedArray<StagingXcmV5Junction, 3> }
|
|
712
|
-
| { type: 'X4'; value: FixedArray<StagingXcmV5Junction, 4> }
|
|
713
|
-
| { type: 'X5'; value: FixedArray<StagingXcmV5Junction, 5> }
|
|
714
|
-
| { type: 'X6'; value: FixedArray<StagingXcmV5Junction, 6> }
|
|
715
|
-
| { type: 'X7'; value: FixedArray<StagingXcmV5Junction, 7> }
|
|
716
|
-
| { type: 'X8'; value: FixedArray<StagingXcmV5Junction, 8> };
|
|
717
|
-
|
|
718
|
-
export type StagingXcmV5Junction =
|
|
719
|
-
| { type: 'Parachain'; value: number }
|
|
720
|
-
| { type: 'AccountId32'; value: { network?: StagingXcmV5JunctionNetworkId | undefined; id: FixedBytes<32> } }
|
|
721
|
-
| { type: 'AccountIndex64'; value: { network?: StagingXcmV5JunctionNetworkId | undefined; index: bigint } }
|
|
722
|
-
| { type: 'AccountKey20'; value: { network?: StagingXcmV5JunctionNetworkId | undefined; key: FixedBytes<20> } }
|
|
723
|
-
| { type: 'PalletInstance'; value: number }
|
|
724
|
-
| { type: 'GeneralIndex'; value: bigint }
|
|
725
|
-
| { type: 'GeneralKey'; value: { length: number; data: FixedBytes<32> } }
|
|
726
|
-
| { type: 'OnlyChild' }
|
|
727
|
-
| { type: 'Plurality'; value: { id: XcmV3JunctionBodyId; part: XcmV3JunctionBodyPart } }
|
|
728
|
-
| { type: 'GlobalConsensus'; value: StagingXcmV5JunctionNetworkId };
|
|
729
|
-
|
|
730
|
-
export type StagingXcmV5JunctionNetworkId =
|
|
731
|
-
| { type: 'ByGenesis'; value: FixedBytes<32> }
|
|
732
|
-
| { type: 'ByFork'; value: { blockNumber: bigint; blockHash: FixedBytes<32> } }
|
|
733
|
-
| { type: 'Polkadot' }
|
|
734
|
-
| { type: 'Kusama' }
|
|
735
|
-
| { type: 'Ethereum'; value: { chainId: bigint } }
|
|
736
|
-
| { type: 'BitcoinCore' }
|
|
737
|
-
| { type: 'BitcoinCash' }
|
|
738
|
-
| { type: 'PolkadotBulletin' };
|
|
739
|
-
|
|
740
720
|
export type StagingXcmV5Xcm = Array<StagingXcmV5Instruction>;
|
|
741
721
|
|
|
742
722
|
export type StagingXcmV5Instruction =
|
|
@@ -1011,6 +991,44 @@ export type StagingXcmV4Asset = { id: StagingXcmV4AssetAssetId; fun: StagingXcmV
|
|
|
1011
991
|
|
|
1012
992
|
export type StagingXcmV4AssetAssetId = StagingXcmV4Location;
|
|
1013
993
|
|
|
994
|
+
export type StagingXcmV4Location = { parents: number; interior: StagingXcmV4Junctions };
|
|
995
|
+
|
|
996
|
+
export type StagingXcmV4Junctions =
|
|
997
|
+
| { type: 'Here' }
|
|
998
|
+
| { type: 'X1'; value: FixedArray<StagingXcmV4Junction, 1> }
|
|
999
|
+
| { type: 'X2'; value: FixedArray<StagingXcmV4Junction, 2> }
|
|
1000
|
+
| { type: 'X3'; value: FixedArray<StagingXcmV4Junction, 3> }
|
|
1001
|
+
| { type: 'X4'; value: FixedArray<StagingXcmV4Junction, 4> }
|
|
1002
|
+
| { type: 'X5'; value: FixedArray<StagingXcmV4Junction, 5> }
|
|
1003
|
+
| { type: 'X6'; value: FixedArray<StagingXcmV4Junction, 6> }
|
|
1004
|
+
| { type: 'X7'; value: FixedArray<StagingXcmV4Junction, 7> }
|
|
1005
|
+
| { type: 'X8'; value: FixedArray<StagingXcmV4Junction, 8> };
|
|
1006
|
+
|
|
1007
|
+
export type StagingXcmV4Junction =
|
|
1008
|
+
| { type: 'Parachain'; value: number }
|
|
1009
|
+
| { type: 'AccountId32'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; id: FixedBytes<32> } }
|
|
1010
|
+
| { type: 'AccountIndex64'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; index: bigint } }
|
|
1011
|
+
| { type: 'AccountKey20'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; key: FixedBytes<20> } }
|
|
1012
|
+
| { type: 'PalletInstance'; value: number }
|
|
1013
|
+
| { type: 'GeneralIndex'; value: bigint }
|
|
1014
|
+
| { type: 'GeneralKey'; value: { length: number; data: FixedBytes<32> } }
|
|
1015
|
+
| { type: 'OnlyChild' }
|
|
1016
|
+
| { type: 'Plurality'; value: { id: XcmV3JunctionBodyId; part: XcmV3JunctionBodyPart } }
|
|
1017
|
+
| { type: 'GlobalConsensus'; value: StagingXcmV4JunctionNetworkId };
|
|
1018
|
+
|
|
1019
|
+
export type StagingXcmV4JunctionNetworkId =
|
|
1020
|
+
| { type: 'ByGenesis'; value: FixedBytes<32> }
|
|
1021
|
+
| { type: 'ByFork'; value: { blockNumber: bigint; blockHash: FixedBytes<32> } }
|
|
1022
|
+
| { type: 'Polkadot' }
|
|
1023
|
+
| { type: 'Kusama' }
|
|
1024
|
+
| { type: 'Westend' }
|
|
1025
|
+
| { type: 'Rococo' }
|
|
1026
|
+
| { type: 'Wococo' }
|
|
1027
|
+
| { type: 'Ethereum'; value: { chainId: bigint } }
|
|
1028
|
+
| { type: 'BitcoinCore' }
|
|
1029
|
+
| { type: 'BitcoinCash' }
|
|
1030
|
+
| { type: 'PolkadotBulletin' };
|
|
1031
|
+
|
|
1014
1032
|
export type StagingXcmV4AssetFungibility =
|
|
1015
1033
|
| { type: 'Fungible'; value: bigint }
|
|
1016
1034
|
| { type: 'NonFungible'; value: StagingXcmV4AssetAssetInstance };
|
|
@@ -1198,6 +1216,29 @@ export type FrameSupportMessagesProcessMessageError =
|
|
|
1198
1216
|
| { type: 'Yield' }
|
|
1199
1217
|
| { type: 'StackLimitReached' };
|
|
1200
1218
|
|
|
1219
|
+
/**
|
|
1220
|
+
* The `Event` enum of this pallet
|
|
1221
|
+
**/
|
|
1222
|
+
export type SnowbridgePalletSystemFrontendEvent =
|
|
1223
|
+
/**
|
|
1224
|
+
* An XCM was sent
|
|
1225
|
+
**/
|
|
1226
|
+
| {
|
|
1227
|
+
name: 'MessageSent';
|
|
1228
|
+
data: {
|
|
1229
|
+
origin: StagingXcmV5Location;
|
|
1230
|
+
destination: StagingXcmV5Location;
|
|
1231
|
+
message: StagingXcmV5Xcm;
|
|
1232
|
+
messageId: FixedBytes<32>;
|
|
1233
|
+
};
|
|
1234
|
+
}
|
|
1235
|
+
/**
|
|
1236
|
+
* Set OperatingMode
|
|
1237
|
+
**/
|
|
1238
|
+
| { name: 'ExportOperatingModeChanged'; data: { mode: SnowbridgeCoreOperatingModeBasicOperatingMode } };
|
|
1239
|
+
|
|
1240
|
+
export type SnowbridgeCoreOperatingModeBasicOperatingMode = 'Normal' | 'Halted';
|
|
1241
|
+
|
|
1201
1242
|
/**
|
|
1202
1243
|
* The `Event` enum of this pallet
|
|
1203
1244
|
**/
|
|
@@ -1312,6 +1353,18 @@ export type PalletProxyEvent =
|
|
|
1312
1353
|
disambiguationIndex: number;
|
|
1313
1354
|
};
|
|
1314
1355
|
}
|
|
1356
|
+
/**
|
|
1357
|
+
* A pure proxy was killed by its spawner.
|
|
1358
|
+
**/
|
|
1359
|
+
| {
|
|
1360
|
+
name: 'PureKilled';
|
|
1361
|
+
data: {
|
|
1362
|
+
pure: AccountId32;
|
|
1363
|
+
spawner: AccountId32;
|
|
1364
|
+
proxyType: AssetHubPolkadotRuntimeProxyType;
|
|
1365
|
+
disambiguationIndex: number;
|
|
1366
|
+
};
|
|
1367
|
+
}
|
|
1315
1368
|
/**
|
|
1316
1369
|
* An announcement was placed to make a call in the future.
|
|
1317
1370
|
**/
|
|
@@ -1851,94 +1904,94 @@ export type PalletAssetsEvent002 =
|
|
|
1851
1904
|
/**
|
|
1852
1905
|
* Some asset class was created.
|
|
1853
1906
|
**/
|
|
1854
|
-
| { name: 'Created'; data: { assetId:
|
|
1907
|
+
| { name: 'Created'; data: { assetId: StagingXcmV5Location; creator: AccountId32; owner: AccountId32 } }
|
|
1855
1908
|
/**
|
|
1856
1909
|
* Some assets were issued.
|
|
1857
1910
|
**/
|
|
1858
|
-
| { name: 'Issued'; data: { assetId:
|
|
1911
|
+
| { name: 'Issued'; data: { assetId: StagingXcmV5Location; owner: AccountId32; amount: bigint } }
|
|
1859
1912
|
/**
|
|
1860
1913
|
* Some assets were transferred.
|
|
1861
1914
|
**/
|
|
1862
|
-
| { name: 'Transferred'; data: { assetId:
|
|
1915
|
+
| { name: 'Transferred'; data: { assetId: StagingXcmV5Location; from: AccountId32; to: AccountId32; amount: bigint } }
|
|
1863
1916
|
/**
|
|
1864
1917
|
* Some assets were destroyed.
|
|
1865
1918
|
**/
|
|
1866
|
-
| { name: 'Burned'; data: { assetId:
|
|
1919
|
+
| { name: 'Burned'; data: { assetId: StagingXcmV5Location; owner: AccountId32; balance: bigint } }
|
|
1867
1920
|
/**
|
|
1868
1921
|
* The management team changed.
|
|
1869
1922
|
**/
|
|
1870
1923
|
| {
|
|
1871
1924
|
name: 'TeamChanged';
|
|
1872
|
-
data: { assetId:
|
|
1925
|
+
data: { assetId: StagingXcmV5Location; issuer: AccountId32; admin: AccountId32; freezer: AccountId32 };
|
|
1873
1926
|
}
|
|
1874
1927
|
/**
|
|
1875
1928
|
* The owner changed.
|
|
1876
1929
|
**/
|
|
1877
|
-
| { name: 'OwnerChanged'; data: { assetId:
|
|
1930
|
+
| { name: 'OwnerChanged'; data: { assetId: StagingXcmV5Location; owner: AccountId32 } }
|
|
1878
1931
|
/**
|
|
1879
1932
|
* Some account `who` was frozen.
|
|
1880
1933
|
**/
|
|
1881
|
-
| { name: 'Frozen'; data: { assetId:
|
|
1934
|
+
| { name: 'Frozen'; data: { assetId: StagingXcmV5Location; who: AccountId32 } }
|
|
1882
1935
|
/**
|
|
1883
1936
|
* Some account `who` was thawed.
|
|
1884
1937
|
**/
|
|
1885
|
-
| { name: 'Thawed'; data: { assetId:
|
|
1938
|
+
| { name: 'Thawed'; data: { assetId: StagingXcmV5Location; who: AccountId32 } }
|
|
1886
1939
|
/**
|
|
1887
1940
|
* Some asset `asset_id` was frozen.
|
|
1888
1941
|
**/
|
|
1889
|
-
| { name: 'AssetFrozen'; data: { assetId:
|
|
1942
|
+
| { name: 'AssetFrozen'; data: { assetId: StagingXcmV5Location } }
|
|
1890
1943
|
/**
|
|
1891
1944
|
* Some asset `asset_id` was thawed.
|
|
1892
1945
|
**/
|
|
1893
|
-
| { name: 'AssetThawed'; data: { assetId:
|
|
1946
|
+
| { name: 'AssetThawed'; data: { assetId: StagingXcmV5Location } }
|
|
1894
1947
|
/**
|
|
1895
1948
|
* Accounts were destroyed for given asset.
|
|
1896
1949
|
**/
|
|
1897
1950
|
| {
|
|
1898
1951
|
name: 'AccountsDestroyed';
|
|
1899
|
-
data: { assetId:
|
|
1952
|
+
data: { assetId: StagingXcmV5Location; accountsDestroyed: number; accountsRemaining: number };
|
|
1900
1953
|
}
|
|
1901
1954
|
/**
|
|
1902
1955
|
* Approvals were destroyed for given asset.
|
|
1903
1956
|
**/
|
|
1904
1957
|
| {
|
|
1905
1958
|
name: 'ApprovalsDestroyed';
|
|
1906
|
-
data: { assetId:
|
|
1959
|
+
data: { assetId: StagingXcmV5Location; approvalsDestroyed: number; approvalsRemaining: number };
|
|
1907
1960
|
}
|
|
1908
1961
|
/**
|
|
1909
1962
|
* An asset class is in the process of being destroyed.
|
|
1910
1963
|
**/
|
|
1911
|
-
| { name: 'DestructionStarted'; data: { assetId:
|
|
1964
|
+
| { name: 'DestructionStarted'; data: { assetId: StagingXcmV5Location } }
|
|
1912
1965
|
/**
|
|
1913
1966
|
* An asset class was destroyed.
|
|
1914
1967
|
**/
|
|
1915
|
-
| { name: 'Destroyed'; data: { assetId:
|
|
1968
|
+
| { name: 'Destroyed'; data: { assetId: StagingXcmV5Location } }
|
|
1916
1969
|
/**
|
|
1917
1970
|
* Some asset class was force-created.
|
|
1918
1971
|
**/
|
|
1919
|
-
| { name: 'ForceCreated'; data: { assetId:
|
|
1972
|
+
| { name: 'ForceCreated'; data: { assetId: StagingXcmV5Location; owner: AccountId32 } }
|
|
1920
1973
|
/**
|
|
1921
1974
|
* New metadata has been set for an asset.
|
|
1922
1975
|
**/
|
|
1923
1976
|
| {
|
|
1924
1977
|
name: 'MetadataSet';
|
|
1925
|
-
data: { assetId:
|
|
1978
|
+
data: { assetId: StagingXcmV5Location; name: Bytes; symbol: Bytes; decimals: number; isFrozen: boolean };
|
|
1926
1979
|
}
|
|
1927
1980
|
/**
|
|
1928
1981
|
* Metadata has been cleared for an asset.
|
|
1929
1982
|
**/
|
|
1930
|
-
| { name: 'MetadataCleared'; data: { assetId:
|
|
1983
|
+
| { name: 'MetadataCleared'; data: { assetId: StagingXcmV5Location } }
|
|
1931
1984
|
/**
|
|
1932
1985
|
* (Additional) funds have been approved for transfer to a destination account.
|
|
1933
1986
|
**/
|
|
1934
1987
|
| {
|
|
1935
1988
|
name: 'ApprovedTransfer';
|
|
1936
|
-
data: { assetId:
|
|
1989
|
+
data: { assetId: StagingXcmV5Location; source: AccountId32; delegate: AccountId32; amount: bigint };
|
|
1937
1990
|
}
|
|
1938
1991
|
/**
|
|
1939
1992
|
* An approval for account `delegate` was cancelled by `owner`.
|
|
1940
1993
|
**/
|
|
1941
|
-
| { name: 'ApprovalCancelled'; data: { assetId:
|
|
1994
|
+
| { name: 'ApprovalCancelled'; data: { assetId: StagingXcmV5Location; owner: AccountId32; delegate: AccountId32 } }
|
|
1942
1995
|
/**
|
|
1943
1996
|
* An `amount` was transferred in its entirety from `owner` to `destination` by
|
|
1944
1997
|
* the approved `delegate`.
|
|
@@ -1946,7 +1999,7 @@ export type PalletAssetsEvent002 =
|
|
|
1946
1999
|
| {
|
|
1947
2000
|
name: 'TransferredApproved';
|
|
1948
2001
|
data: {
|
|
1949
|
-
assetId:
|
|
2002
|
+
assetId: StagingXcmV5Location;
|
|
1950
2003
|
owner: AccountId32;
|
|
1951
2004
|
delegate: AccountId32;
|
|
1952
2005
|
destination: AccountId32;
|
|
@@ -1956,27 +2009,27 @@ export type PalletAssetsEvent002 =
|
|
|
1956
2009
|
/**
|
|
1957
2010
|
* An asset has had its attributes changed by the `Force` origin.
|
|
1958
2011
|
**/
|
|
1959
|
-
| { name: 'AssetStatusChanged'; data: { assetId:
|
|
2012
|
+
| { name: 'AssetStatusChanged'; data: { assetId: StagingXcmV5Location } }
|
|
1960
2013
|
/**
|
|
1961
2014
|
* The min_balance of an asset has been updated by the asset owner.
|
|
1962
2015
|
**/
|
|
1963
|
-
| { name: 'AssetMinBalanceChanged'; data: { assetId:
|
|
2016
|
+
| { name: 'AssetMinBalanceChanged'; data: { assetId: StagingXcmV5Location; newMinBalance: bigint } }
|
|
1964
2017
|
/**
|
|
1965
2018
|
* Some account `who` was created with a deposit from `depositor`.
|
|
1966
2019
|
**/
|
|
1967
|
-
| { name: 'Touched'; data: { assetId:
|
|
2020
|
+
| { name: 'Touched'; data: { assetId: StagingXcmV5Location; who: AccountId32; depositor: AccountId32 } }
|
|
1968
2021
|
/**
|
|
1969
2022
|
* Some account `who` was blocked.
|
|
1970
2023
|
**/
|
|
1971
|
-
| { name: 'Blocked'; data: { assetId:
|
|
2024
|
+
| { name: 'Blocked'; data: { assetId: StagingXcmV5Location; who: AccountId32 } }
|
|
1972
2025
|
/**
|
|
1973
2026
|
* Some assets were deposited (e.g. for transaction fees).
|
|
1974
2027
|
**/
|
|
1975
|
-
| { name: 'Deposited'; data: { assetId:
|
|
2028
|
+
| { name: 'Deposited'; data: { assetId: StagingXcmV5Location; who: AccountId32; amount: bigint } }
|
|
1976
2029
|
/**
|
|
1977
2030
|
* Some assets were withdrawn from the account (e.g. for transaction fees).
|
|
1978
2031
|
**/
|
|
1979
|
-
| { name: 'Withdrawn'; data: { assetId:
|
|
2032
|
+
| { name: 'Withdrawn'; data: { assetId: StagingXcmV5Location; who: AccountId32; amount: bigint } };
|
|
1980
2033
|
|
|
1981
2034
|
/**
|
|
1982
2035
|
* The `Event` enum of this pallet
|
|
@@ -1997,7 +2050,7 @@ export type PalletAssetConversionEvent =
|
|
|
1997
2050
|
* The pool id associated with the pool. Note that the order of the assets may not be
|
|
1998
2051
|
* the same as the order specified in the create pool extrinsic.
|
|
1999
2052
|
**/
|
|
2000
|
-
poolId: [
|
|
2053
|
+
poolId: [StagingXcmV5Location, StagingXcmV5Location];
|
|
2001
2054
|
|
|
2002
2055
|
/**
|
|
2003
2056
|
* The account ID of the pool.
|
|
@@ -2030,7 +2083,7 @@ export type PalletAssetConversionEvent =
|
|
|
2030
2083
|
/**
|
|
2031
2084
|
* The pool id of the pool that the liquidity was added to.
|
|
2032
2085
|
**/
|
|
2033
|
-
poolId: [
|
|
2086
|
+
poolId: [StagingXcmV5Location, StagingXcmV5Location];
|
|
2034
2087
|
|
|
2035
2088
|
/**
|
|
2036
2089
|
* The amount of the first asset that was added to the pool.
|
|
@@ -2072,7 +2125,7 @@ export type PalletAssetConversionEvent =
|
|
|
2072
2125
|
/**
|
|
2073
2126
|
* The pool id that the liquidity was removed from.
|
|
2074
2127
|
**/
|
|
2075
|
-
poolId: [
|
|
2128
|
+
poolId: [StagingXcmV5Location, StagingXcmV5Location];
|
|
2076
2129
|
|
|
2077
2130
|
/**
|
|
2078
2131
|
* The amount of the first asset that was removed from the pool.
|
|
@@ -2131,7 +2184,7 @@ export type PalletAssetConversionEvent =
|
|
|
2131
2184
|
* The route of asset IDs with amounts that the swap went through.
|
|
2132
2185
|
* E.g. (A, amount_in) -> (Dot, amount_out) -> (B, amount_out)
|
|
2133
2186
|
**/
|
|
2134
|
-
path: Array<[
|
|
2187
|
+
path: Array<[StagingXcmV5Location, bigint]>;
|
|
2135
2188
|
};
|
|
2136
2189
|
}
|
|
2137
2190
|
/**
|
|
@@ -2154,7 +2207,7 @@ export type PalletAssetConversionEvent =
|
|
|
2154
2207
|
* The route of asset IDs with amounts that the swap went through.
|
|
2155
2208
|
* E.g. (A, amount_in) -> (Dot, amount_out) -> (B, amount_out)
|
|
2156
2209
|
**/
|
|
2157
|
-
path: Array<[
|
|
2210
|
+
path: Array<[StagingXcmV5Location, bigint]>;
|
|
2158
2211
|
};
|
|
2159
2212
|
}
|
|
2160
2213
|
/**
|
|
@@ -2166,7 +2219,7 @@ export type PalletAssetConversionEvent =
|
|
|
2166
2219
|
/**
|
|
2167
2220
|
* The ID of the pool.
|
|
2168
2221
|
**/
|
|
2169
|
-
poolId: [
|
|
2222
|
+
poolId: [StagingXcmV5Location, StagingXcmV5Location];
|
|
2170
2223
|
|
|
2171
2224
|
/**
|
|
2172
2225
|
* The account initiating the touch.
|
|
@@ -2455,28 +2508,108 @@ export type FrameSystemError =
|
|
|
2455
2508
|
**/
|
|
2456
2509
|
| 'Unauthorized';
|
|
2457
2510
|
|
|
2458
|
-
export type
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
}
|
|
2511
|
+
export type AssetHubPolkadotRuntimeRuntimeCall =
|
|
2512
|
+
| { pallet: 'System'; palletCall: FrameSystemCall }
|
|
2513
|
+
| { pallet: 'ParachainSystem'; palletCall: CumulusPalletParachainSystemCall }
|
|
2514
|
+
| { pallet: 'Timestamp'; palletCall: PalletTimestampCall }
|
|
2515
|
+
| { pallet: 'ParachainInfo'; palletCall: StagingParachainInfoCall }
|
|
2516
|
+
| { pallet: 'Balances'; palletCall: PalletBalancesCall }
|
|
2517
|
+
| { pallet: 'Vesting'; palletCall: PalletVestingCall }
|
|
2518
|
+
| { pallet: 'CollatorSelection'; palletCall: PalletCollatorSelectionCall }
|
|
2519
|
+
| { pallet: 'Session'; palletCall: PalletSessionCall }
|
|
2520
|
+
| { pallet: 'XcmpQueue'; palletCall: CumulusPalletXcmpQueueCall }
|
|
2521
|
+
| { pallet: 'PolkadotXcm'; palletCall: PalletXcmCall }
|
|
2522
|
+
| { pallet: 'CumulusXcm'; palletCall: CumulusPalletXcmCall }
|
|
2523
|
+
| { pallet: 'ToKusamaXcmRouter'; palletCall: PalletXcmBridgeHubRouterCall }
|
|
2524
|
+
| { pallet: 'MessageQueue'; palletCall: PalletMessageQueueCall }
|
|
2525
|
+
| { pallet: 'SnowbridgeSystemFrontend'; palletCall: SnowbridgePalletSystemFrontendCall }
|
|
2526
|
+
| { pallet: 'Utility'; palletCall: PalletUtilityCall }
|
|
2527
|
+
| { pallet: 'Multisig'; palletCall: PalletMultisigCall }
|
|
2528
|
+
| { pallet: 'Proxy'; palletCall: PalletProxyCall }
|
|
2529
|
+
| { pallet: 'Assets'; palletCall: PalletAssetsCall }
|
|
2530
|
+
| { pallet: 'Uniques'; palletCall: PalletUniquesCall }
|
|
2531
|
+
| { pallet: 'Nfts'; palletCall: PalletNftsCall }
|
|
2532
|
+
| { pallet: 'ForeignAssets'; palletCall: PalletAssetsCall002 }
|
|
2533
|
+
| { pallet: 'PoolAssets'; palletCall: PalletAssetsCall003 }
|
|
2534
|
+
| { pallet: 'AssetConversion'; palletCall: PalletAssetConversionCall }
|
|
2535
|
+
| { pallet: 'StateTrieMigration'; palletCall: PalletStateTrieMigrationCall };
|
|
2463
2536
|
|
|
2464
|
-
export type
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
}
|
|
2537
|
+
export type AssetHubPolkadotRuntimeRuntimeCallLike =
|
|
2538
|
+
| { pallet: 'System'; palletCall: FrameSystemCallLike }
|
|
2539
|
+
| { pallet: 'ParachainSystem'; palletCall: CumulusPalletParachainSystemCallLike }
|
|
2540
|
+
| { pallet: 'Timestamp'; palletCall: PalletTimestampCallLike }
|
|
2541
|
+
| { pallet: 'ParachainInfo'; palletCall: StagingParachainInfoCallLike }
|
|
2542
|
+
| { pallet: 'Balances'; palletCall: PalletBalancesCallLike }
|
|
2543
|
+
| { pallet: 'Vesting'; palletCall: PalletVestingCallLike }
|
|
2544
|
+
| { pallet: 'CollatorSelection'; palletCall: PalletCollatorSelectionCallLike }
|
|
2545
|
+
| { pallet: 'Session'; palletCall: PalletSessionCallLike }
|
|
2546
|
+
| { pallet: 'XcmpQueue'; palletCall: CumulusPalletXcmpQueueCallLike }
|
|
2547
|
+
| { pallet: 'PolkadotXcm'; palletCall: PalletXcmCallLike }
|
|
2548
|
+
| { pallet: 'CumulusXcm'; palletCall: CumulusPalletXcmCallLike }
|
|
2549
|
+
| { pallet: 'ToKusamaXcmRouter'; palletCall: PalletXcmBridgeHubRouterCallLike }
|
|
2550
|
+
| { pallet: 'MessageQueue'; palletCall: PalletMessageQueueCallLike }
|
|
2551
|
+
| { pallet: 'SnowbridgeSystemFrontend'; palletCall: SnowbridgePalletSystemFrontendCallLike }
|
|
2552
|
+
| { pallet: 'Utility'; palletCall: PalletUtilityCallLike }
|
|
2553
|
+
| { pallet: 'Multisig'; palletCall: PalletMultisigCallLike }
|
|
2554
|
+
| { pallet: 'Proxy'; palletCall: PalletProxyCallLike }
|
|
2555
|
+
| { pallet: 'Assets'; palletCall: PalletAssetsCallLike }
|
|
2556
|
+
| { pallet: 'Uniques'; palletCall: PalletUniquesCallLike }
|
|
2557
|
+
| { pallet: 'Nfts'; palletCall: PalletNftsCallLike }
|
|
2558
|
+
| { pallet: 'ForeignAssets'; palletCall: PalletAssetsCallLike002 }
|
|
2559
|
+
| { pallet: 'PoolAssets'; palletCall: PalletAssetsCallLike003 }
|
|
2560
|
+
| { pallet: 'AssetConversion'; palletCall: PalletAssetConversionCallLike }
|
|
2561
|
+
| { pallet: 'StateTrieMigration'; palletCall: PalletStateTrieMigrationCallLike };
|
|
2471
2562
|
|
|
2472
|
-
|
|
2563
|
+
/**
|
|
2564
|
+
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
2565
|
+
**/
|
|
2566
|
+
export type CumulusPalletParachainSystemCall =
|
|
2567
|
+
/**
|
|
2568
|
+
* Set the current validation data.
|
|
2569
|
+
*
|
|
2570
|
+
* This should be invoked exactly once per block. It will panic at the finalization
|
|
2571
|
+
* phase if the call was not invoked.
|
|
2572
|
+
*
|
|
2573
|
+
* The dispatch origin for this call must be `Inherent`
|
|
2574
|
+
*
|
|
2575
|
+
* As a side effect, this function upgrades the current validation function
|
|
2576
|
+
* if the appropriate time has come.
|
|
2577
|
+
**/
|
|
2578
|
+
| {
|
|
2579
|
+
name: 'SetValidationData';
|
|
2580
|
+
params: {
|
|
2581
|
+
data: CumulusPalletParachainSystemParachainInherentBasicParachainInherentData;
|
|
2582
|
+
inboundMessagesData: CumulusPalletParachainSystemParachainInherentInboundMessagesData;
|
|
2583
|
+
};
|
|
2584
|
+
}
|
|
2585
|
+
| { name: 'SudoSendUpwardMessage'; params: { message: Bytes } };
|
|
2473
2586
|
|
|
2474
|
-
export type
|
|
2587
|
+
export type CumulusPalletParachainSystemCallLike =
|
|
2588
|
+
/**
|
|
2589
|
+
* Set the current validation data.
|
|
2590
|
+
*
|
|
2591
|
+
* This should be invoked exactly once per block. It will panic at the finalization
|
|
2592
|
+
* phase if the call was not invoked.
|
|
2593
|
+
*
|
|
2594
|
+
* The dispatch origin for this call must be `Inherent`
|
|
2595
|
+
*
|
|
2596
|
+
* As a side effect, this function upgrades the current validation function
|
|
2597
|
+
* if the appropriate time has come.
|
|
2598
|
+
**/
|
|
2599
|
+
| {
|
|
2600
|
+
name: 'SetValidationData';
|
|
2601
|
+
params: {
|
|
2602
|
+
data: CumulusPalletParachainSystemParachainInherentBasicParachainInherentData;
|
|
2603
|
+
inboundMessagesData: CumulusPalletParachainSystemParachainInherentInboundMessagesData;
|
|
2604
|
+
};
|
|
2605
|
+
}
|
|
2606
|
+
| { name: 'SudoSendUpwardMessage'; params: { message: BytesLike } };
|
|
2475
2607
|
|
|
2476
|
-
export type
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
|
|
2608
|
+
export type CumulusPalletParachainSystemParachainInherentBasicParachainInherentData = {
|
|
2609
|
+
validationData: PolkadotPrimitivesV8PersistedValidationData;
|
|
2610
|
+
relayChainState: SpTrieStorageProof;
|
|
2611
|
+
relayParentDescendants: Array<Header>;
|
|
2612
|
+
collatorPeerId?: Bytes | undefined;
|
|
2480
2613
|
};
|
|
2481
2614
|
|
|
2482
2615
|
export type PolkadotPrimitivesV8PersistedValidationData = {
|
|
@@ -2488,130 +2621,29 @@ export type PolkadotPrimitivesV8PersistedValidationData = {
|
|
|
2488
2621
|
|
|
2489
2622
|
export type PolkadotParachainPrimitivesPrimitivesHeadData = Bytes;
|
|
2490
2623
|
|
|
2491
|
-
export type PolkadotPrimitivesV8UpgradeRestriction = 'Present';
|
|
2492
|
-
|
|
2493
2624
|
export type SpTrieStorageProof = { trieNodes: Array<Bytes> };
|
|
2494
2625
|
|
|
2495
|
-
export type
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
ingressChannels: Array<[PolkadotParachainPrimitivesPrimitivesId, PolkadotPrimitivesV8AbridgedHrmpChannel]>;
|
|
2499
|
-
egressChannels: Array<[PolkadotParachainPrimitivesPrimitivesId, PolkadotPrimitivesV8AbridgedHrmpChannel]>;
|
|
2500
|
-
};
|
|
2501
|
-
|
|
2502
|
-
export type CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity = {
|
|
2503
|
-
remainingCount: number;
|
|
2504
|
-
remainingSize: number;
|
|
2505
|
-
};
|
|
2506
|
-
|
|
2507
|
-
export type PolkadotPrimitivesV8AbridgedHrmpChannel = {
|
|
2508
|
-
maxCapacity: number;
|
|
2509
|
-
maxTotalSize: number;
|
|
2510
|
-
maxMessageSize: number;
|
|
2511
|
-
msgCount: number;
|
|
2512
|
-
totalSize: number;
|
|
2513
|
-
mqcHead?: H256 | undefined;
|
|
2514
|
-
};
|
|
2515
|
-
|
|
2516
|
-
export type PolkadotPrimitivesV8AbridgedHostConfiguration = {
|
|
2517
|
-
maxCodeSize: number;
|
|
2518
|
-
maxHeadDataSize: number;
|
|
2519
|
-
maxUpwardQueueCount: number;
|
|
2520
|
-
maxUpwardQueueSize: number;
|
|
2521
|
-
maxUpwardMessageSize: number;
|
|
2522
|
-
maxUpwardMessageNumPerCandidate: number;
|
|
2523
|
-
hrmpMaxMessageNumPerCandidate: number;
|
|
2524
|
-
validationUpgradeCooldown: number;
|
|
2525
|
-
validationUpgradeDelay: number;
|
|
2526
|
-
asyncBackingParams: PolkadotPrimitivesV8AsyncBackingAsyncBackingParams;
|
|
2527
|
-
};
|
|
2528
|
-
|
|
2529
|
-
export type PolkadotPrimitivesV8AsyncBackingAsyncBackingParams = {
|
|
2530
|
-
maxCandidateDepth: number;
|
|
2531
|
-
allowedAncestryLen: number;
|
|
2626
|
+
export type CumulusPalletParachainSystemParachainInherentInboundMessagesData = {
|
|
2627
|
+
downwardMessages: CumulusPalletParachainSystemParachainInherentAbridgedInboundMessagesCollection;
|
|
2628
|
+
horizontalMessages: CumulusPalletParachainSystemParachainInherentAbridgedInboundMessagesCollection002;
|
|
2532
2629
|
};
|
|
2533
2630
|
|
|
2534
|
-
export type
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
recipient: PolkadotParachainPrimitivesPrimitivesId;
|
|
2538
|
-
data: Bytes;
|
|
2631
|
+
export type CumulusPalletParachainSystemParachainInherentAbridgedInboundMessagesCollection = {
|
|
2632
|
+
fullMessages: Array<PolkadotCorePrimitivesInboundDownwardMessage>;
|
|
2633
|
+
hashedMessages: Array<CumulusPrimitivesParachainInherentHashedMessage>;
|
|
2539
2634
|
};
|
|
2540
2635
|
|
|
2541
|
-
|
|
2542
|
-
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
2543
|
-
**/
|
|
2544
|
-
export type CumulusPalletParachainSystemCall =
|
|
2545
|
-
/**
|
|
2546
|
-
* Set the current validation data.
|
|
2547
|
-
*
|
|
2548
|
-
* This should be invoked exactly once per block. It will panic at the finalization
|
|
2549
|
-
* phase if the call was not invoked.
|
|
2550
|
-
*
|
|
2551
|
-
* The dispatch origin for this call must be `Inherent`
|
|
2552
|
-
*
|
|
2553
|
-
* As a side effect, this function upgrades the current validation function
|
|
2554
|
-
* if the appropriate time has come.
|
|
2555
|
-
**/
|
|
2556
|
-
| { name: 'SetValidationData'; params: { data: CumulusPrimitivesParachainInherentParachainInherentData } }
|
|
2557
|
-
| { name: 'SudoSendUpwardMessage'; params: { message: Bytes } };
|
|
2636
|
+
export type PolkadotCorePrimitivesInboundDownwardMessage = { sentAt: number; msg: Bytes };
|
|
2558
2637
|
|
|
2559
|
-
export type
|
|
2560
|
-
/**
|
|
2561
|
-
* Set the current validation data.
|
|
2562
|
-
*
|
|
2563
|
-
* This should be invoked exactly once per block. It will panic at the finalization
|
|
2564
|
-
* phase if the call was not invoked.
|
|
2565
|
-
*
|
|
2566
|
-
* The dispatch origin for this call must be `Inherent`
|
|
2567
|
-
*
|
|
2568
|
-
* As a side effect, this function upgrades the current validation function
|
|
2569
|
-
* if the appropriate time has come.
|
|
2570
|
-
**/
|
|
2571
|
-
| { name: 'SetValidationData'; params: { data: CumulusPrimitivesParachainInherentParachainInherentData } }
|
|
2572
|
-
| { name: 'SudoSendUpwardMessage'; params: { message: BytesLike } };
|
|
2638
|
+
export type CumulusPrimitivesParachainInherentHashedMessage = { sentAt: number; msgHash: H256 };
|
|
2573
2639
|
|
|
2574
|
-
export type
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
downwardMessages: Array<PolkadotCorePrimitivesInboundDownwardMessage>;
|
|
2578
|
-
horizontalMessages: Array<[PolkadotParachainPrimitivesPrimitivesId, Array<PolkadotCorePrimitivesInboundHrmpMessage>]>;
|
|
2640
|
+
export type CumulusPalletParachainSystemParachainInherentAbridgedInboundMessagesCollection002 = {
|
|
2641
|
+
fullMessages: Array<[PolkadotParachainPrimitivesPrimitivesId, PolkadotCorePrimitivesInboundHrmpMessage]>;
|
|
2642
|
+
hashedMessages: Array<[PolkadotParachainPrimitivesPrimitivesId, CumulusPrimitivesParachainInherentHashedMessage]>;
|
|
2579
2643
|
};
|
|
2580
2644
|
|
|
2581
|
-
export type PolkadotCorePrimitivesInboundDownwardMessage = { sentAt: number; msg: Bytes };
|
|
2582
|
-
|
|
2583
2645
|
export type PolkadotCorePrimitivesInboundHrmpMessage = { sentAt: number; data: Bytes };
|
|
2584
2646
|
|
|
2585
|
-
/**
|
|
2586
|
-
* The `Error` enum of this pallet.
|
|
2587
|
-
**/
|
|
2588
|
-
export type CumulusPalletParachainSystemError =
|
|
2589
|
-
/**
|
|
2590
|
-
* Attempt to upgrade validation function while existing upgrade pending.
|
|
2591
|
-
**/
|
|
2592
|
-
| 'OverlappingUpgrades'
|
|
2593
|
-
/**
|
|
2594
|
-
* Polkadot currently prohibits this parachain from upgrading its validation function.
|
|
2595
|
-
**/
|
|
2596
|
-
| 'ProhibitedByPolkadot'
|
|
2597
|
-
/**
|
|
2598
|
-
* The supplied validation function has compiled into a blob larger than Polkadot is
|
|
2599
|
-
* willing to run.
|
|
2600
|
-
**/
|
|
2601
|
-
| 'TooBig'
|
|
2602
|
-
/**
|
|
2603
|
-
* The inherent which supplies the validation data did not run this block.
|
|
2604
|
-
**/
|
|
2605
|
-
| 'ValidationDataNotAvailable'
|
|
2606
|
-
/**
|
|
2607
|
-
* The inherent which supplies the host configuration did not run this block.
|
|
2608
|
-
**/
|
|
2609
|
-
| 'HostConfigurationNotAvailable'
|
|
2610
|
-
/**
|
|
2611
|
-
* No validation function upgrade is currently scheduled.
|
|
2612
|
-
**/
|
|
2613
|
-
| 'NotScheduled';
|
|
2614
|
-
|
|
2615
2647
|
/**
|
|
2616
2648
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
2617
2649
|
**/
|
|
@@ -2670,24 +2702,6 @@ export type StagingParachainInfoCall = null;
|
|
|
2670
2702
|
|
|
2671
2703
|
export type StagingParachainInfoCallLike = null;
|
|
2672
2704
|
|
|
2673
|
-
export type PalletBalancesBalanceLock = { id: FixedBytes<8>; amount: bigint; reasons: PalletBalancesReasons };
|
|
2674
|
-
|
|
2675
|
-
export type PalletBalancesReasons = 'Fee' | 'Misc' | 'All';
|
|
2676
|
-
|
|
2677
|
-
export type PalletBalancesReserveData = { id: FixedBytes<8>; amount: bigint };
|
|
2678
|
-
|
|
2679
|
-
export type FrameSupportTokensMiscIdAmount = { id: AssetHubPolkadotRuntimeRuntimeHoldReason; amount: bigint };
|
|
2680
|
-
|
|
2681
|
-
export type AssetHubPolkadotRuntimeRuntimeHoldReason =
|
|
2682
|
-
| { type: 'PolkadotXcm'; value: PalletXcmHoldReason }
|
|
2683
|
-
| { type: 'StateTrieMigration'; value: PalletStateTrieMigrationHoldReason };
|
|
2684
|
-
|
|
2685
|
-
export type PalletXcmHoldReason = 'AuthorizeAlias';
|
|
2686
|
-
|
|
2687
|
-
export type PalletStateTrieMigrationHoldReason = 'SlashForMigrate';
|
|
2688
|
-
|
|
2689
|
-
export type FrameSupportTokensMiscIdAmount002 = { id: []; amount: bigint };
|
|
2690
|
-
|
|
2691
2705
|
/**
|
|
2692
2706
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
2693
2707
|
**/
|
|
@@ -2863,65 +2877,6 @@ export type PalletBalancesCallLike =
|
|
|
2863
2877
|
|
|
2864
2878
|
export type PalletBalancesAdjustmentDirection = 'Increase' | 'Decrease';
|
|
2865
2879
|
|
|
2866
|
-
/**
|
|
2867
|
-
* The `Error` enum of this pallet.
|
|
2868
|
-
**/
|
|
2869
|
-
export type PalletBalancesError =
|
|
2870
|
-
/**
|
|
2871
|
-
* Vesting balance too high to send value.
|
|
2872
|
-
**/
|
|
2873
|
-
| 'VestingBalance'
|
|
2874
|
-
/**
|
|
2875
|
-
* Account liquidity restrictions prevent withdrawal.
|
|
2876
|
-
**/
|
|
2877
|
-
| 'LiquidityRestrictions'
|
|
2878
|
-
/**
|
|
2879
|
-
* Balance too low to send value.
|
|
2880
|
-
**/
|
|
2881
|
-
| 'InsufficientBalance'
|
|
2882
|
-
/**
|
|
2883
|
-
* Value too low to create account due to existential deposit.
|
|
2884
|
-
**/
|
|
2885
|
-
| 'ExistentialDeposit'
|
|
2886
|
-
/**
|
|
2887
|
-
* Transfer/payment would kill account.
|
|
2888
|
-
**/
|
|
2889
|
-
| 'Expendability'
|
|
2890
|
-
/**
|
|
2891
|
-
* A vesting schedule already exists for this account.
|
|
2892
|
-
**/
|
|
2893
|
-
| 'ExistingVestingSchedule'
|
|
2894
|
-
/**
|
|
2895
|
-
* Beneficiary account must pre-exist.
|
|
2896
|
-
**/
|
|
2897
|
-
| 'DeadAccount'
|
|
2898
|
-
/**
|
|
2899
|
-
* Number of named reserves exceed `MaxReserves`.
|
|
2900
|
-
**/
|
|
2901
|
-
| 'TooManyReserves'
|
|
2902
|
-
/**
|
|
2903
|
-
* Number of holds exceed `VariantCountOf<T::RuntimeHoldReason>`.
|
|
2904
|
-
**/
|
|
2905
|
-
| 'TooManyHolds'
|
|
2906
|
-
/**
|
|
2907
|
-
* Number of freezes exceed `MaxFreezes`.
|
|
2908
|
-
**/
|
|
2909
|
-
| 'TooManyFreezes'
|
|
2910
|
-
/**
|
|
2911
|
-
* The issuance cannot be modified since it is already deactivated.
|
|
2912
|
-
**/
|
|
2913
|
-
| 'IssuanceDeactivated'
|
|
2914
|
-
/**
|
|
2915
|
-
* The delta cannot be zero.
|
|
2916
|
-
**/
|
|
2917
|
-
| 'DeltaZero';
|
|
2918
|
-
|
|
2919
|
-
export type PalletTransactionPaymentReleases = 'V1Ancient' | 'V2';
|
|
2920
|
-
|
|
2921
|
-
export type PalletVestingVestingInfo = { locked: bigint; perBlock: bigint; startingBlock: number };
|
|
2922
|
-
|
|
2923
|
-
export type PalletVestingReleases = 'V0' | 'V1';
|
|
2924
|
-
|
|
2925
2880
|
/**
|
|
2926
2881
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
2927
2882
|
**/
|
|
@@ -3119,33 +3074,7 @@ export type PalletVestingCallLike =
|
|
|
3119
3074
|
**/
|
|
3120
3075
|
| { name: 'ForceRemoveVestingSchedule'; params: { target: MultiAddressLike; scheduleIndex: number } };
|
|
3121
3076
|
|
|
3122
|
-
|
|
3123
|
-
* Error for the vesting pallet.
|
|
3124
|
-
**/
|
|
3125
|
-
export type PalletVestingError =
|
|
3126
|
-
/**
|
|
3127
|
-
* The account given is not vesting.
|
|
3128
|
-
**/
|
|
3129
|
-
| 'NotVesting'
|
|
3130
|
-
/**
|
|
3131
|
-
* The account already has `MaxVestingSchedules` count of schedules and thus
|
|
3132
|
-
* cannot add another one. Consider merging existing schedules in order to add another.
|
|
3133
|
-
**/
|
|
3134
|
-
| 'AtMaxVestingSchedules'
|
|
3135
|
-
/**
|
|
3136
|
-
* Amount being transferred is too low to create a vesting schedule.
|
|
3137
|
-
**/
|
|
3138
|
-
| 'AmountLow'
|
|
3139
|
-
/**
|
|
3140
|
-
* An index was out of bounds of the vesting schedules.
|
|
3141
|
-
**/
|
|
3142
|
-
| 'ScheduleIndexOutOfBounds'
|
|
3143
|
-
/**
|
|
3144
|
-
* Failed to create a new schedule because some parameter was invalid.
|
|
3145
|
-
**/
|
|
3146
|
-
| 'InvalidScheduleParams';
|
|
3147
|
-
|
|
3148
|
-
export type PalletCollatorSelectionCandidateInfo = { who: AccountId32; deposit: bigint };
|
|
3077
|
+
export type PalletVestingVestingInfo = { locked: bigint; perBlock: bigint; startingBlock: number };
|
|
3149
3078
|
|
|
3150
3079
|
/**
|
|
3151
3080
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -3320,132 +3249,49 @@ export type PalletCollatorSelectionCallLike =
|
|
|
3320
3249
|
**/
|
|
3321
3250
|
| { name: 'TakeCandidateSlot'; params: { deposit: bigint; target: AccountId32Like } };
|
|
3322
3251
|
|
|
3323
|
-
export type FrameSupportPalletId = FixedBytes<8>;
|
|
3324
|
-
|
|
3325
3252
|
/**
|
|
3326
|
-
*
|
|
3253
|
+
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
3327
3254
|
**/
|
|
3328
|
-
export type
|
|
3255
|
+
export type PalletSessionCall =
|
|
3329
3256
|
/**
|
|
3330
|
-
*
|
|
3257
|
+
* Sets the session key(s) of the function caller to `keys`.
|
|
3258
|
+
* Allows an account to set its session key prior to becoming a validator.
|
|
3259
|
+
* This doesn't take effect until the next session.
|
|
3260
|
+
*
|
|
3261
|
+
* The dispatch origin of this function must be signed.
|
|
3262
|
+
*
|
|
3263
|
+
* ## Complexity
|
|
3264
|
+
* - `O(1)`. Actual cost depends on the number of length of `T::Keys::key_ids()` which is
|
|
3265
|
+
* fixed.
|
|
3331
3266
|
**/
|
|
3332
|
-
| '
|
|
3267
|
+
| { name: 'SetKeys'; params: { keys: AssetHubPolkadotRuntimeSessionKeys; proof: Bytes } }
|
|
3333
3268
|
/**
|
|
3334
|
-
*
|
|
3269
|
+
* Removes any session key(s) of the function caller.
|
|
3270
|
+
*
|
|
3271
|
+
* This doesn't take effect until the next session.
|
|
3272
|
+
*
|
|
3273
|
+
* The dispatch origin of this function must be Signed and the account must be either be
|
|
3274
|
+
* convertible to a validator ID using the chain's typical addressing system (this usually
|
|
3275
|
+
* means being a controller account) or directly convertible into a validator ID (which
|
|
3276
|
+
* usually means being a stash account).
|
|
3277
|
+
*
|
|
3278
|
+
* ## Complexity
|
|
3279
|
+
* - `O(1)` in number of key types. Actual cost depends on the number of length of
|
|
3280
|
+
* `T::Keys::key_ids()` which is fixed.
|
|
3335
3281
|
**/
|
|
3336
|
-
| '
|
|
3282
|
+
| { name: 'PurgeKeys' };
|
|
3283
|
+
|
|
3284
|
+
export type PalletSessionCallLike =
|
|
3337
3285
|
/**
|
|
3338
|
-
*
|
|
3339
|
-
|
|
3340
|
-
|
|
3341
|
-
|
|
3342
|
-
*
|
|
3343
|
-
|
|
3344
|
-
|
|
3345
|
-
|
|
3346
|
-
*
|
|
3347
|
-
**/
|
|
3348
|
-
| 'TooManyInvulnerables'
|
|
3349
|
-
/**
|
|
3350
|
-
* Account is already an Invulnerable.
|
|
3351
|
-
**/
|
|
3352
|
-
| 'AlreadyInvulnerable'
|
|
3353
|
-
/**
|
|
3354
|
-
* Account is not an Invulnerable.
|
|
3355
|
-
**/
|
|
3356
|
-
| 'NotInvulnerable'
|
|
3357
|
-
/**
|
|
3358
|
-
* Account has no associated validator ID.
|
|
3359
|
-
**/
|
|
3360
|
-
| 'NoAssociatedValidatorId'
|
|
3361
|
-
/**
|
|
3362
|
-
* Validator ID is not yet registered.
|
|
3363
|
-
**/
|
|
3364
|
-
| 'ValidatorNotRegistered'
|
|
3365
|
-
/**
|
|
3366
|
-
* Could not insert in the candidate list.
|
|
3367
|
-
**/
|
|
3368
|
-
| 'InsertToCandidateListFailed'
|
|
3369
|
-
/**
|
|
3370
|
-
* Could not remove from the candidate list.
|
|
3371
|
-
**/
|
|
3372
|
-
| 'RemoveFromCandidateListFailed'
|
|
3373
|
-
/**
|
|
3374
|
-
* New deposit amount would be below the minimum candidacy bond.
|
|
3375
|
-
**/
|
|
3376
|
-
| 'DepositTooLow'
|
|
3377
|
-
/**
|
|
3378
|
-
* Could not update the candidate list.
|
|
3379
|
-
**/
|
|
3380
|
-
| 'UpdateCandidateListFailed'
|
|
3381
|
-
/**
|
|
3382
|
-
* Deposit amount is too low to take the target's slot in the candidate list.
|
|
3383
|
-
**/
|
|
3384
|
-
| 'InsufficientBond'
|
|
3385
|
-
/**
|
|
3386
|
-
* The target account to be replaced in the candidate list is not a candidate.
|
|
3387
|
-
**/
|
|
3388
|
-
| 'TargetIsNotCandidate'
|
|
3389
|
-
/**
|
|
3390
|
-
* The updated deposit amount is equal to the amount already reserved.
|
|
3391
|
-
**/
|
|
3392
|
-
| 'IdenticalDeposit'
|
|
3393
|
-
/**
|
|
3394
|
-
* Cannot lower candidacy bond while occupying a future collator slot in the list.
|
|
3395
|
-
**/
|
|
3396
|
-
| 'InvalidUnreserve';
|
|
3397
|
-
|
|
3398
|
-
export type AssetHubPolkadotRuntimeSessionKeys = { aura: SpConsensusAuraEd25519AppEd25519Public };
|
|
3399
|
-
|
|
3400
|
-
export type SpConsensusAuraEd25519AppEd25519Public = FixedBytes<32>;
|
|
3401
|
-
|
|
3402
|
-
export type SpStakingOffenceOffenceSeverity = Perbill;
|
|
3403
|
-
|
|
3404
|
-
export type SpCoreCryptoKeyTypeId = FixedBytes<4>;
|
|
3405
|
-
|
|
3406
|
-
/**
|
|
3407
|
-
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
3408
|
-
**/
|
|
3409
|
-
export type PalletSessionCall =
|
|
3410
|
-
/**
|
|
3411
|
-
* Sets the session key(s) of the function caller to `keys`.
|
|
3412
|
-
* Allows an account to set its session key prior to becoming a validator.
|
|
3413
|
-
* This doesn't take effect until the next session.
|
|
3414
|
-
*
|
|
3415
|
-
* The dispatch origin of this function must be signed.
|
|
3416
|
-
*
|
|
3417
|
-
* ## Complexity
|
|
3418
|
-
* - `O(1)`. Actual cost depends on the number of length of `T::Keys::key_ids()` which is
|
|
3419
|
-
* fixed.
|
|
3420
|
-
**/
|
|
3421
|
-
| { name: 'SetKeys'; params: { keys: AssetHubPolkadotRuntimeSessionKeys; proof: Bytes } }
|
|
3422
|
-
/**
|
|
3423
|
-
* Removes any session key(s) of the function caller.
|
|
3424
|
-
*
|
|
3425
|
-
* This doesn't take effect until the next session.
|
|
3426
|
-
*
|
|
3427
|
-
* The dispatch origin of this function must be Signed and the account must be either be
|
|
3428
|
-
* convertible to a validator ID using the chain's typical addressing system (this usually
|
|
3429
|
-
* means being a controller account) or directly convertible into a validator ID (which
|
|
3430
|
-
* usually means being a stash account).
|
|
3431
|
-
*
|
|
3432
|
-
* ## Complexity
|
|
3433
|
-
* - `O(1)` in number of key types. Actual cost depends on the number of length of
|
|
3434
|
-
* `T::Keys::key_ids()` which is fixed.
|
|
3435
|
-
**/
|
|
3436
|
-
| { name: 'PurgeKeys' };
|
|
3437
|
-
|
|
3438
|
-
export type PalletSessionCallLike =
|
|
3439
|
-
/**
|
|
3440
|
-
* Sets the session key(s) of the function caller to `keys`.
|
|
3441
|
-
* Allows an account to set its session key prior to becoming a validator.
|
|
3442
|
-
* This doesn't take effect until the next session.
|
|
3443
|
-
*
|
|
3444
|
-
* The dispatch origin of this function must be signed.
|
|
3445
|
-
*
|
|
3446
|
-
* ## Complexity
|
|
3447
|
-
* - `O(1)`. Actual cost depends on the number of length of `T::Keys::key_ids()` which is
|
|
3448
|
-
* fixed.
|
|
3286
|
+
* Sets the session key(s) of the function caller to `keys`.
|
|
3287
|
+
* Allows an account to set its session key prior to becoming a validator.
|
|
3288
|
+
* This doesn't take effect until the next session.
|
|
3289
|
+
*
|
|
3290
|
+
* The dispatch origin of this function must be signed.
|
|
3291
|
+
*
|
|
3292
|
+
* ## Complexity
|
|
3293
|
+
* - `O(1)`. Actual cost depends on the number of length of `T::Keys::key_ids()` which is
|
|
3294
|
+
* fixed.
|
|
3449
3295
|
**/
|
|
3450
3296
|
| { name: 'SetKeys'; params: { keys: AssetHubPolkadotRuntimeSessionKeys; proof: BytesLike } }
|
|
3451
3297
|
/**
|
|
@@ -3464,48 +3310,9 @@ export type PalletSessionCallLike =
|
|
|
3464
3310
|
**/
|
|
3465
3311
|
| { name: 'PurgeKeys' };
|
|
3466
3312
|
|
|
3467
|
-
|
|
3468
|
-
* Error for the session pallet.
|
|
3469
|
-
**/
|
|
3470
|
-
export type PalletSessionError =
|
|
3471
|
-
/**
|
|
3472
|
-
* Invalid ownership proof.
|
|
3473
|
-
**/
|
|
3474
|
-
| 'InvalidProof'
|
|
3475
|
-
/**
|
|
3476
|
-
* No associated validator ID for account.
|
|
3477
|
-
**/
|
|
3478
|
-
| 'NoAssociatedValidatorId'
|
|
3479
|
-
/**
|
|
3480
|
-
* Registered duplicate key.
|
|
3481
|
-
**/
|
|
3482
|
-
| 'DuplicatedKey'
|
|
3483
|
-
/**
|
|
3484
|
-
* No keys are associated with this account.
|
|
3485
|
-
**/
|
|
3486
|
-
| 'NoKeys'
|
|
3487
|
-
/**
|
|
3488
|
-
* Key setting account is not live, so it's impossible to associate keys.
|
|
3489
|
-
**/
|
|
3490
|
-
| 'NoAccount';
|
|
3491
|
-
|
|
3492
|
-
export type SpConsensusSlotsSlot = bigint;
|
|
3493
|
-
|
|
3494
|
-
export type CumulusPalletXcmpQueueOutboundChannelDetails = {
|
|
3495
|
-
recipient: PolkadotParachainPrimitivesPrimitivesId;
|
|
3496
|
-
state: CumulusPalletXcmpQueueOutboundState;
|
|
3497
|
-
signalsExist: boolean;
|
|
3498
|
-
firstIndex: number;
|
|
3499
|
-
lastIndex: number;
|
|
3500
|
-
};
|
|
3501
|
-
|
|
3502
|
-
export type CumulusPalletXcmpQueueOutboundState = 'Ok' | 'Suspended';
|
|
3313
|
+
export type AssetHubPolkadotRuntimeSessionKeys = { aura: SpConsensusAuraEd25519AppEd25519Public };
|
|
3503
3314
|
|
|
3504
|
-
export type
|
|
3505
|
-
suspendThreshold: number;
|
|
3506
|
-
dropThreshold: number;
|
|
3507
|
-
resumeThreshold: number;
|
|
3508
|
-
};
|
|
3315
|
+
export type SpConsensusAuraEd25519AppEd25519Public = FixedBytes<32>;
|
|
3509
3316
|
|
|
3510
3317
|
/**
|
|
3511
3318
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -3591,257 +3398,106 @@ export type CumulusPalletXcmpQueueCallLike =
|
|
|
3591
3398
|
| { name: 'UpdateResumeThreshold'; params: { new: number } };
|
|
3592
3399
|
|
|
3593
3400
|
/**
|
|
3594
|
-
*
|
|
3401
|
+
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
3595
3402
|
**/
|
|
3596
|
-
export type
|
|
3403
|
+
export type PalletXcmCall =
|
|
3404
|
+
| { name: 'Send'; params: { dest: XcmVersionedLocation; message: XcmVersionedXcm } }
|
|
3597
3405
|
/**
|
|
3598
|
-
*
|
|
3406
|
+
* Teleport some assets from the local chain to some destination chain.
|
|
3407
|
+
*
|
|
3408
|
+
* **This function is deprecated: Use `limited_teleport_assets` instead.**
|
|
3409
|
+
*
|
|
3410
|
+
* Fee payment on the destination side is made from the asset in the `assets` vector of
|
|
3411
|
+
* index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,
|
|
3412
|
+
* with all fees taken as needed from the asset.
|
|
3413
|
+
*
|
|
3414
|
+
* - `origin`: Must be capable of withdrawing the `assets` and executing XCM.
|
|
3415
|
+
* - `dest`: Destination context for the assets. Will typically be `[Parent,
|
|
3416
|
+
* Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from
|
|
3417
|
+
* relay to parachain.
|
|
3418
|
+
* - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will
|
|
3419
|
+
* generally be an `AccountId32` value.
|
|
3420
|
+
* - `assets`: The assets to be withdrawn. This should include the assets used to pay the
|
|
3421
|
+
* fee on the `dest` chain.
|
|
3422
|
+
* - `fee_asset_item`: The index into `assets` of the item which should be used to pay
|
|
3423
|
+
* fees.
|
|
3599
3424
|
**/
|
|
3600
|
-
|
|
|
3425
|
+
| {
|
|
3426
|
+
name: 'TeleportAssets';
|
|
3427
|
+
params: {
|
|
3428
|
+
dest: XcmVersionedLocation;
|
|
3429
|
+
beneficiary: XcmVersionedLocation;
|
|
3430
|
+
assets: XcmVersionedAssets;
|
|
3431
|
+
feeAssetItem: number;
|
|
3432
|
+
};
|
|
3433
|
+
}
|
|
3601
3434
|
/**
|
|
3602
|
-
*
|
|
3435
|
+
* Transfer some assets from the local chain to the destination chain through their local,
|
|
3436
|
+
* destination or remote reserve.
|
|
3437
|
+
*
|
|
3438
|
+
* `assets` must have same reserve location and may not be teleportable to `dest`.
|
|
3439
|
+
* - `assets` have local reserve: transfer assets to sovereign account of destination
|
|
3440
|
+
* chain and forward a notification XCM to `dest` to mint and deposit reserve-based
|
|
3441
|
+
* assets to `beneficiary`.
|
|
3442
|
+
* - `assets` have destination reserve: burn local assets and forward a notification to
|
|
3443
|
+
* `dest` chain to withdraw the reserve assets from this chain's sovereign account and
|
|
3444
|
+
* deposit them to `beneficiary`.
|
|
3445
|
+
* - `assets` have remote reserve: burn local assets, forward XCM to reserve chain to move
|
|
3446
|
+
* reserves from this chain's SA to `dest` chain's SA, and forward another XCM to `dest`
|
|
3447
|
+
* to mint and deposit reserve-based assets to `beneficiary`.
|
|
3448
|
+
*
|
|
3449
|
+
* **This function is deprecated: Use `limited_reserve_transfer_assets` instead.**
|
|
3450
|
+
*
|
|
3451
|
+
* Fee payment on the destination side is made from the asset in the `assets` vector of
|
|
3452
|
+
* index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,
|
|
3453
|
+
* with all fees taken as needed from the asset.
|
|
3454
|
+
*
|
|
3455
|
+
* - `origin`: Must be capable of withdrawing the `assets` and executing XCM.
|
|
3456
|
+
* - `dest`: Destination context for the assets. Will typically be `[Parent,
|
|
3457
|
+
* Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from
|
|
3458
|
+
* relay to parachain.
|
|
3459
|
+
* - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will
|
|
3460
|
+
* generally be an `AccountId32` value.
|
|
3461
|
+
* - `assets`: The assets to be withdrawn. This should include the assets used to pay the
|
|
3462
|
+
* fee on the `dest` (and possibly reserve) chains.
|
|
3463
|
+
* - `fee_asset_item`: The index into `assets` of the item which should be used to pay
|
|
3464
|
+
* fees.
|
|
3603
3465
|
**/
|
|
3604
|
-
|
|
|
3466
|
+
| {
|
|
3467
|
+
name: 'ReserveTransferAssets';
|
|
3468
|
+
params: {
|
|
3469
|
+
dest: XcmVersionedLocation;
|
|
3470
|
+
beneficiary: XcmVersionedLocation;
|
|
3471
|
+
assets: XcmVersionedAssets;
|
|
3472
|
+
feeAssetItem: number;
|
|
3473
|
+
};
|
|
3474
|
+
}
|
|
3605
3475
|
/**
|
|
3606
|
-
*
|
|
3476
|
+
* Execute an XCM message from a local, signed, origin.
|
|
3477
|
+
*
|
|
3478
|
+
* An event is deposited indicating whether `msg` could be executed completely or only
|
|
3479
|
+
* partially.
|
|
3480
|
+
*
|
|
3481
|
+
* No more than `max_weight` will be used in its attempted execution. If this is less than
|
|
3482
|
+
* the maximum amount of weight that the message could take to be executed, then no
|
|
3483
|
+
* execution attempt will be made.
|
|
3607
3484
|
**/
|
|
3608
|
-
| '
|
|
3485
|
+
| { name: 'Execute'; params: { message: XcmVersionedXcm; maxWeight: SpWeightsWeightV2Weight } }
|
|
3609
3486
|
/**
|
|
3610
|
-
*
|
|
3487
|
+
* Extoll that a particular destination can be communicated with through a particular
|
|
3488
|
+
* version of XCM.
|
|
3489
|
+
*
|
|
3490
|
+
* - `origin`: Must be an origin specified by AdminOrigin.
|
|
3491
|
+
* - `location`: The destination that is being described.
|
|
3492
|
+
* - `xcm_version`: The latest version of XCM that `location` supports.
|
|
3611
3493
|
**/
|
|
3612
|
-
| '
|
|
3494
|
+
| { name: 'ForceXcmVersion'; params: { location: StagingXcmV5Location; version: number } }
|
|
3613
3495
|
/**
|
|
3614
|
-
*
|
|
3615
|
-
|
|
3616
|
-
|
|
3617
|
-
|
|
3618
|
-
|
|
3619
|
-
| {
|
|
3620
|
-
type: 'Pending';
|
|
3621
|
-
value: {
|
|
3622
|
-
responder: XcmVersionedLocation;
|
|
3623
|
-
maybeMatchQuerier?: XcmVersionedLocation | undefined;
|
|
3624
|
-
maybeNotify?: [number, number] | undefined;
|
|
3625
|
-
timeout: number;
|
|
3626
|
-
};
|
|
3627
|
-
}
|
|
3628
|
-
| { type: 'VersionNotifier'; value: { origin: XcmVersionedLocation; isActive: boolean } }
|
|
3629
|
-
| { type: 'Ready'; value: { response: XcmVersionedResponse; at: number } };
|
|
3630
|
-
|
|
3631
|
-
export type XcmVersionedResponse =
|
|
3632
|
-
| { type: 'V3'; value: XcmV3Response }
|
|
3633
|
-
| { type: 'V4'; value: StagingXcmV4Response }
|
|
3634
|
-
| { type: 'V5'; value: StagingXcmV5Response };
|
|
3635
|
-
|
|
3636
|
-
export type XcmV3Response =
|
|
3637
|
-
| { type: 'Null' }
|
|
3638
|
-
| { type: 'Assets'; value: XcmV3MultiassetMultiAssets }
|
|
3639
|
-
| { type: 'ExecutionResult'; value?: [number, XcmV3TraitsError] | undefined }
|
|
3640
|
-
| { type: 'Version'; value: number }
|
|
3641
|
-
| { type: 'PalletsInfo'; value: Array<XcmV3PalletInfo> }
|
|
3642
|
-
| { type: 'DispatchResult'; value: XcmV3MaybeErrorCode };
|
|
3643
|
-
|
|
3644
|
-
export type XcmV3TraitsError =
|
|
3645
|
-
| { type: 'Overflow' }
|
|
3646
|
-
| { type: 'Unimplemented' }
|
|
3647
|
-
| { type: 'UntrustedReserveLocation' }
|
|
3648
|
-
| { type: 'UntrustedTeleportLocation' }
|
|
3649
|
-
| { type: 'LocationFull' }
|
|
3650
|
-
| { type: 'LocationNotInvertible' }
|
|
3651
|
-
| { type: 'BadOrigin' }
|
|
3652
|
-
| { type: 'InvalidLocation' }
|
|
3653
|
-
| { type: 'AssetNotFound' }
|
|
3654
|
-
| { type: 'FailedToTransactAsset' }
|
|
3655
|
-
| { type: 'NotWithdrawable' }
|
|
3656
|
-
| { type: 'LocationCannotHold' }
|
|
3657
|
-
| { type: 'ExceedsMaxMessageSize' }
|
|
3658
|
-
| { type: 'DestinationUnsupported' }
|
|
3659
|
-
| { type: 'Transport' }
|
|
3660
|
-
| { type: 'Unroutable' }
|
|
3661
|
-
| { type: 'UnknownClaim' }
|
|
3662
|
-
| { type: 'FailedToDecode' }
|
|
3663
|
-
| { type: 'MaxWeightInvalid' }
|
|
3664
|
-
| { type: 'NotHoldingFees' }
|
|
3665
|
-
| { type: 'TooExpensive' }
|
|
3666
|
-
| { type: 'Trap'; value: bigint }
|
|
3667
|
-
| { type: 'ExpectationFalse' }
|
|
3668
|
-
| { type: 'PalletNotFound' }
|
|
3669
|
-
| { type: 'NameMismatch' }
|
|
3670
|
-
| { type: 'VersionIncompatible' }
|
|
3671
|
-
| { type: 'HoldingWouldOverflow' }
|
|
3672
|
-
| { type: 'ExportError' }
|
|
3673
|
-
| { type: 'ReanchorFailed' }
|
|
3674
|
-
| { type: 'NoDeal' }
|
|
3675
|
-
| { type: 'FeesNotMet' }
|
|
3676
|
-
| { type: 'LockError' }
|
|
3677
|
-
| { type: 'NoPermission' }
|
|
3678
|
-
| { type: 'Unanchored' }
|
|
3679
|
-
| { type: 'NotDepositable' }
|
|
3680
|
-
| { type: 'UnhandledXcmVersion' }
|
|
3681
|
-
| { type: 'WeightLimitReached'; value: SpWeightsWeightV2Weight }
|
|
3682
|
-
| { type: 'Barrier' }
|
|
3683
|
-
| { type: 'WeightNotComputable' }
|
|
3684
|
-
| { type: 'ExceedsStackLimit' };
|
|
3685
|
-
|
|
3686
|
-
export type XcmV3PalletInfo = {
|
|
3687
|
-
index: number;
|
|
3688
|
-
name: Bytes;
|
|
3689
|
-
moduleName: Bytes;
|
|
3690
|
-
major: number;
|
|
3691
|
-
minor: number;
|
|
3692
|
-
patch: number;
|
|
3693
|
-
};
|
|
3694
|
-
|
|
3695
|
-
export type StagingXcmV4Response =
|
|
3696
|
-
| { type: 'Null' }
|
|
3697
|
-
| { type: 'Assets'; value: StagingXcmV4AssetAssets }
|
|
3698
|
-
| { type: 'ExecutionResult'; value?: [number, XcmV3TraitsError] | undefined }
|
|
3699
|
-
| { type: 'Version'; value: number }
|
|
3700
|
-
| { type: 'PalletsInfo'; value: Array<StagingXcmV4PalletInfo> }
|
|
3701
|
-
| { type: 'DispatchResult'; value: XcmV3MaybeErrorCode };
|
|
3702
|
-
|
|
3703
|
-
export type StagingXcmV4PalletInfo = {
|
|
3704
|
-
index: number;
|
|
3705
|
-
name: Bytes;
|
|
3706
|
-
moduleName: Bytes;
|
|
3707
|
-
major: number;
|
|
3708
|
-
minor: number;
|
|
3709
|
-
patch: number;
|
|
3710
|
-
};
|
|
3711
|
-
|
|
3712
|
-
export type PalletXcmVersionMigrationStage =
|
|
3713
|
-
| { type: 'MigrateSupportedVersion' }
|
|
3714
|
-
| { type: 'MigrateVersionNotifiers' }
|
|
3715
|
-
| { type: 'NotifyCurrentTargets'; value?: Bytes | undefined }
|
|
3716
|
-
| { type: 'MigrateAndNotifyOldTargets' };
|
|
3717
|
-
|
|
3718
|
-
export type XcmVersionedAssetId =
|
|
3719
|
-
| { type: 'V3'; value: XcmV3MultiassetAssetId }
|
|
3720
|
-
| { type: 'V4'; value: StagingXcmV4AssetAssetId }
|
|
3721
|
-
| { type: 'V5'; value: StagingXcmV5AssetAssetId };
|
|
3722
|
-
|
|
3723
|
-
export type PalletXcmRemoteLockedFungibleRecord = {
|
|
3724
|
-
amount: bigint;
|
|
3725
|
-
owner: XcmVersionedLocation;
|
|
3726
|
-
locker: XcmVersionedLocation;
|
|
3727
|
-
consumers: Array<[[], bigint]>;
|
|
3728
|
-
};
|
|
3729
|
-
|
|
3730
|
-
export type PalletXcmAuthorizedAliasesEntry = {
|
|
3731
|
-
aliasers: Array<XcmRuntimeApisAuthorizedAliasesOriginAliaser>;
|
|
3732
|
-
ticket: FrameSupportStorageDisabled;
|
|
3733
|
-
};
|
|
3734
|
-
|
|
3735
|
-
export type FrameSupportStorageDisabled = {};
|
|
3736
|
-
|
|
3737
|
-
export type PalletXcmMaxAuthorizedAliases = {};
|
|
3738
|
-
|
|
3739
|
-
export type XcmRuntimeApisAuthorizedAliasesOriginAliaser = {
|
|
3740
|
-
location: XcmVersionedLocation;
|
|
3741
|
-
expiry?: bigint | undefined;
|
|
3742
|
-
};
|
|
3743
|
-
|
|
3744
|
-
/**
|
|
3745
|
-
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
3746
|
-
**/
|
|
3747
|
-
export type PalletXcmCall =
|
|
3748
|
-
| { name: 'Send'; params: { dest: XcmVersionedLocation; message: XcmVersionedXcm } }
|
|
3749
|
-
/**
|
|
3750
|
-
* Teleport some assets from the local chain to some destination chain.
|
|
3751
|
-
*
|
|
3752
|
-
* **This function is deprecated: Use `limited_teleport_assets` instead.**
|
|
3753
|
-
*
|
|
3754
|
-
* Fee payment on the destination side is made from the asset in the `assets` vector of
|
|
3755
|
-
* index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,
|
|
3756
|
-
* with all fees taken as needed from the asset.
|
|
3757
|
-
*
|
|
3758
|
-
* - `origin`: Must be capable of withdrawing the `assets` and executing XCM.
|
|
3759
|
-
* - `dest`: Destination context for the assets. Will typically be `[Parent,
|
|
3760
|
-
* Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from
|
|
3761
|
-
* relay to parachain.
|
|
3762
|
-
* - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will
|
|
3763
|
-
* generally be an `AccountId32` value.
|
|
3764
|
-
* - `assets`: The assets to be withdrawn. This should include the assets used to pay the
|
|
3765
|
-
* fee on the `dest` chain.
|
|
3766
|
-
* - `fee_asset_item`: The index into `assets` of the item which should be used to pay
|
|
3767
|
-
* fees.
|
|
3768
|
-
**/
|
|
3769
|
-
| {
|
|
3770
|
-
name: 'TeleportAssets';
|
|
3771
|
-
params: {
|
|
3772
|
-
dest: XcmVersionedLocation;
|
|
3773
|
-
beneficiary: XcmVersionedLocation;
|
|
3774
|
-
assets: XcmVersionedAssets;
|
|
3775
|
-
feeAssetItem: number;
|
|
3776
|
-
};
|
|
3777
|
-
}
|
|
3778
|
-
/**
|
|
3779
|
-
* Transfer some assets from the local chain to the destination chain through their local,
|
|
3780
|
-
* destination or remote reserve.
|
|
3781
|
-
*
|
|
3782
|
-
* `assets` must have same reserve location and may not be teleportable to `dest`.
|
|
3783
|
-
* - `assets` have local reserve: transfer assets to sovereign account of destination
|
|
3784
|
-
* chain and forward a notification XCM to `dest` to mint and deposit reserve-based
|
|
3785
|
-
* assets to `beneficiary`.
|
|
3786
|
-
* - `assets` have destination reserve: burn local assets and forward a notification to
|
|
3787
|
-
* `dest` chain to withdraw the reserve assets from this chain's sovereign account and
|
|
3788
|
-
* deposit them to `beneficiary`.
|
|
3789
|
-
* - `assets` have remote reserve: burn local assets, forward XCM to reserve chain to move
|
|
3790
|
-
* reserves from this chain's SA to `dest` chain's SA, and forward another XCM to `dest`
|
|
3791
|
-
* to mint and deposit reserve-based assets to `beneficiary`.
|
|
3792
|
-
*
|
|
3793
|
-
* **This function is deprecated: Use `limited_reserve_transfer_assets` instead.**
|
|
3794
|
-
*
|
|
3795
|
-
* Fee payment on the destination side is made from the asset in the `assets` vector of
|
|
3796
|
-
* index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,
|
|
3797
|
-
* with all fees taken as needed from the asset.
|
|
3798
|
-
*
|
|
3799
|
-
* - `origin`: Must be capable of withdrawing the `assets` and executing XCM.
|
|
3800
|
-
* - `dest`: Destination context for the assets. Will typically be `[Parent,
|
|
3801
|
-
* Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from
|
|
3802
|
-
* relay to parachain.
|
|
3803
|
-
* - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will
|
|
3804
|
-
* generally be an `AccountId32` value.
|
|
3805
|
-
* - `assets`: The assets to be withdrawn. This should include the assets used to pay the
|
|
3806
|
-
* fee on the `dest` (and possibly reserve) chains.
|
|
3807
|
-
* - `fee_asset_item`: The index into `assets` of the item which should be used to pay
|
|
3808
|
-
* fees.
|
|
3809
|
-
**/
|
|
3810
|
-
| {
|
|
3811
|
-
name: 'ReserveTransferAssets';
|
|
3812
|
-
params: {
|
|
3813
|
-
dest: XcmVersionedLocation;
|
|
3814
|
-
beneficiary: XcmVersionedLocation;
|
|
3815
|
-
assets: XcmVersionedAssets;
|
|
3816
|
-
feeAssetItem: number;
|
|
3817
|
-
};
|
|
3818
|
-
}
|
|
3819
|
-
/**
|
|
3820
|
-
* Execute an XCM message from a local, signed, origin.
|
|
3821
|
-
*
|
|
3822
|
-
* An event is deposited indicating whether `msg` could be executed completely or only
|
|
3823
|
-
* partially.
|
|
3824
|
-
*
|
|
3825
|
-
* No more than `max_weight` will be used in its attempted execution. If this is less than
|
|
3826
|
-
* the maximum amount of weight that the message could take to be executed, then no
|
|
3827
|
-
* execution attempt will be made.
|
|
3828
|
-
**/
|
|
3829
|
-
| { name: 'Execute'; params: { message: XcmVersionedXcm; maxWeight: SpWeightsWeightV2Weight } }
|
|
3830
|
-
/**
|
|
3831
|
-
* Extoll that a particular destination can be communicated with through a particular
|
|
3832
|
-
* version of XCM.
|
|
3833
|
-
*
|
|
3834
|
-
* - `origin`: Must be an origin specified by AdminOrigin.
|
|
3835
|
-
* - `location`: The destination that is being described.
|
|
3836
|
-
* - `xcm_version`: The latest version of XCM that `location` supports.
|
|
3837
|
-
**/
|
|
3838
|
-
| { name: 'ForceXcmVersion'; params: { location: StagingXcmV5Location; version: number } }
|
|
3839
|
-
/**
|
|
3840
|
-
* Set a safe XCM version (the version that XCM should be encoded with if the most recent
|
|
3841
|
-
* version a destination can accept is unknown).
|
|
3842
|
-
*
|
|
3843
|
-
* - `origin`: Must be an origin specified by AdminOrigin.
|
|
3844
|
-
* - `maybe_xcm_version`: The default XCM encoding version, or `None` to disable.
|
|
3496
|
+
* Set a safe XCM version (the version that XCM should be encoded with if the most recent
|
|
3497
|
+
* version a destination can accept is unknown).
|
|
3498
|
+
*
|
|
3499
|
+
* - `origin`: Must be an origin specified by AdminOrigin.
|
|
3500
|
+
* - `maybe_xcm_version`: The default XCM encoding version, or `None` to disable.
|
|
3845
3501
|
**/
|
|
3846
3502
|
| { name: 'ForceDefaultXcmVersion'; params: { maybeXcmVersion?: number | undefined } }
|
|
3847
3503
|
/**
|
|
@@ -4524,31 +4180,90 @@ export type XcmV3Instruction =
|
|
|
4524
4180
|
value: { weightLimit: XcmV3WeightLimit; checkOrigin?: StagingXcmV3MultilocationMultiLocation | undefined };
|
|
4525
4181
|
};
|
|
4526
4182
|
|
|
4527
|
-
export type
|
|
4528
|
-
|
|
4529
|
-
|
|
4530
|
-
|
|
4531
|
-
}
|
|
4532
|
-
|
|
4533
|
-
|
|
4534
|
-
| { type: 'Definite'; value: XcmV3MultiassetMultiAssets }
|
|
4535
|
-
| { type: 'Wild'; value: XcmV3MultiassetWildMultiAsset };
|
|
4536
|
-
|
|
4537
|
-
export type XcmV3MultiassetWildMultiAsset =
|
|
4538
|
-
| { type: 'All' }
|
|
4539
|
-
| { type: 'AllOf'; value: { id: XcmV3MultiassetAssetId; fun: XcmV3MultiassetWildFungibility } }
|
|
4540
|
-
| { type: 'AllCounted'; value: number }
|
|
4541
|
-
| { type: 'AllOfCounted'; value: { id: XcmV3MultiassetAssetId; fun: XcmV3MultiassetWildFungibility; count: number } };
|
|
4542
|
-
|
|
4543
|
-
export type XcmV3MultiassetWildFungibility = 'Fungible' | 'NonFungible';
|
|
4544
|
-
|
|
4545
|
-
export type StagingXcmV4Xcm = Array<StagingXcmV4Instruction>;
|
|
4183
|
+
export type XcmV3Response =
|
|
4184
|
+
| { type: 'Null' }
|
|
4185
|
+
| { type: 'Assets'; value: XcmV3MultiassetMultiAssets }
|
|
4186
|
+
| { type: 'ExecutionResult'; value?: [number, XcmV3TraitsError] | undefined }
|
|
4187
|
+
| { type: 'Version'; value: number }
|
|
4188
|
+
| { type: 'PalletsInfo'; value: Array<XcmV3PalletInfo> }
|
|
4189
|
+
| { type: 'DispatchResult'; value: XcmV3MaybeErrorCode };
|
|
4546
4190
|
|
|
4547
|
-
export type
|
|
4548
|
-
| { type: '
|
|
4549
|
-
| { type: '
|
|
4550
|
-
| { type: '
|
|
4551
|
-
| {
|
|
4191
|
+
export type XcmV3TraitsError =
|
|
4192
|
+
| { type: 'Overflow' }
|
|
4193
|
+
| { type: 'Unimplemented' }
|
|
4194
|
+
| { type: 'UntrustedReserveLocation' }
|
|
4195
|
+
| { type: 'UntrustedTeleportLocation' }
|
|
4196
|
+
| { type: 'LocationFull' }
|
|
4197
|
+
| { type: 'LocationNotInvertible' }
|
|
4198
|
+
| { type: 'BadOrigin' }
|
|
4199
|
+
| { type: 'InvalidLocation' }
|
|
4200
|
+
| { type: 'AssetNotFound' }
|
|
4201
|
+
| { type: 'FailedToTransactAsset' }
|
|
4202
|
+
| { type: 'NotWithdrawable' }
|
|
4203
|
+
| { type: 'LocationCannotHold' }
|
|
4204
|
+
| { type: 'ExceedsMaxMessageSize' }
|
|
4205
|
+
| { type: 'DestinationUnsupported' }
|
|
4206
|
+
| { type: 'Transport' }
|
|
4207
|
+
| { type: 'Unroutable' }
|
|
4208
|
+
| { type: 'UnknownClaim' }
|
|
4209
|
+
| { type: 'FailedToDecode' }
|
|
4210
|
+
| { type: 'MaxWeightInvalid' }
|
|
4211
|
+
| { type: 'NotHoldingFees' }
|
|
4212
|
+
| { type: 'TooExpensive' }
|
|
4213
|
+
| { type: 'Trap'; value: bigint }
|
|
4214
|
+
| { type: 'ExpectationFalse' }
|
|
4215
|
+
| { type: 'PalletNotFound' }
|
|
4216
|
+
| { type: 'NameMismatch' }
|
|
4217
|
+
| { type: 'VersionIncompatible' }
|
|
4218
|
+
| { type: 'HoldingWouldOverflow' }
|
|
4219
|
+
| { type: 'ExportError' }
|
|
4220
|
+
| { type: 'ReanchorFailed' }
|
|
4221
|
+
| { type: 'NoDeal' }
|
|
4222
|
+
| { type: 'FeesNotMet' }
|
|
4223
|
+
| { type: 'LockError' }
|
|
4224
|
+
| { type: 'NoPermission' }
|
|
4225
|
+
| { type: 'Unanchored' }
|
|
4226
|
+
| { type: 'NotDepositable' }
|
|
4227
|
+
| { type: 'UnhandledXcmVersion' }
|
|
4228
|
+
| { type: 'WeightLimitReached'; value: SpWeightsWeightV2Weight }
|
|
4229
|
+
| { type: 'Barrier' }
|
|
4230
|
+
| { type: 'WeightNotComputable' }
|
|
4231
|
+
| { type: 'ExceedsStackLimit' };
|
|
4232
|
+
|
|
4233
|
+
export type XcmV3PalletInfo = {
|
|
4234
|
+
index: number;
|
|
4235
|
+
name: Bytes;
|
|
4236
|
+
moduleName: Bytes;
|
|
4237
|
+
major: number;
|
|
4238
|
+
minor: number;
|
|
4239
|
+
patch: number;
|
|
4240
|
+
};
|
|
4241
|
+
|
|
4242
|
+
export type XcmV3QueryResponseInfo = {
|
|
4243
|
+
destination: StagingXcmV3MultilocationMultiLocation;
|
|
4244
|
+
queryId: bigint;
|
|
4245
|
+
maxWeight: SpWeightsWeightV2Weight;
|
|
4246
|
+
};
|
|
4247
|
+
|
|
4248
|
+
export type XcmV3MultiassetMultiAssetFilter =
|
|
4249
|
+
| { type: 'Definite'; value: XcmV3MultiassetMultiAssets }
|
|
4250
|
+
| { type: 'Wild'; value: XcmV3MultiassetWildMultiAsset };
|
|
4251
|
+
|
|
4252
|
+
export type XcmV3MultiassetWildMultiAsset =
|
|
4253
|
+
| { type: 'All' }
|
|
4254
|
+
| { type: 'AllOf'; value: { id: XcmV3MultiassetAssetId; fun: XcmV3MultiassetWildFungibility } }
|
|
4255
|
+
| { type: 'AllCounted'; value: number }
|
|
4256
|
+
| { type: 'AllOfCounted'; value: { id: XcmV3MultiassetAssetId; fun: XcmV3MultiassetWildFungibility; count: number } };
|
|
4257
|
+
|
|
4258
|
+
export type XcmV3MultiassetWildFungibility = 'Fungible' | 'NonFungible';
|
|
4259
|
+
|
|
4260
|
+
export type StagingXcmV4Xcm = Array<StagingXcmV4Instruction>;
|
|
4261
|
+
|
|
4262
|
+
export type StagingXcmV4Instruction =
|
|
4263
|
+
| { type: 'WithdrawAsset'; value: StagingXcmV4AssetAssets }
|
|
4264
|
+
| { type: 'ReserveAssetDeposited'; value: StagingXcmV4AssetAssets }
|
|
4265
|
+
| { type: 'ReceiveTeleportedAsset'; value: StagingXcmV4AssetAssets }
|
|
4266
|
+
| {
|
|
4552
4267
|
type: 'QueryResponse';
|
|
4553
4268
|
value: {
|
|
4554
4269
|
queryId: bigint;
|
|
@@ -4632,6 +4347,23 @@ export type StagingXcmV4Instruction =
|
|
|
4632
4347
|
value: { weightLimit: XcmV3WeightLimit; checkOrigin?: StagingXcmV4Location | undefined };
|
|
4633
4348
|
};
|
|
4634
4349
|
|
|
4350
|
+
export type StagingXcmV4Response =
|
|
4351
|
+
| { type: 'Null' }
|
|
4352
|
+
| { type: 'Assets'; value: StagingXcmV4AssetAssets }
|
|
4353
|
+
| { type: 'ExecutionResult'; value?: [number, XcmV3TraitsError] | undefined }
|
|
4354
|
+
| { type: 'Version'; value: number }
|
|
4355
|
+
| { type: 'PalletsInfo'; value: Array<StagingXcmV4PalletInfo> }
|
|
4356
|
+
| { type: 'DispatchResult'; value: XcmV3MaybeErrorCode };
|
|
4357
|
+
|
|
4358
|
+
export type StagingXcmV4PalletInfo = {
|
|
4359
|
+
index: number;
|
|
4360
|
+
name: Bytes;
|
|
4361
|
+
moduleName: Bytes;
|
|
4362
|
+
major: number;
|
|
4363
|
+
minor: number;
|
|
4364
|
+
patch: number;
|
|
4365
|
+
};
|
|
4366
|
+
|
|
4635
4367
|
export type StagingXcmV4QueryResponseInfo = {
|
|
4636
4368
|
destination: StagingXcmV4Location;
|
|
4637
4369
|
queryId: bigint;
|
|
@@ -4659,121 +4391,10 @@ export type StagingXcmExecutorAssetTransferTransferType =
|
|
|
4659
4391
|
| { type: 'DestinationReserve' }
|
|
4660
4392
|
| { type: 'RemoteReserve'; value: XcmVersionedLocation };
|
|
4661
4393
|
|
|
4662
|
-
|
|
4663
|
-
|
|
4664
|
-
|
|
4665
|
-
|
|
4666
|
-
/**
|
|
4667
|
-
* The desired destination was unreachable, generally because there is a no way of routing
|
|
4668
|
-
* to it.
|
|
4669
|
-
**/
|
|
4670
|
-
| 'Unreachable'
|
|
4671
|
-
/**
|
|
4672
|
-
* There was some other issue (i.e. not to do with routing) in sending the message.
|
|
4673
|
-
* Perhaps a lack of space for buffering the message.
|
|
4674
|
-
**/
|
|
4675
|
-
| 'SendFailure'
|
|
4676
|
-
/**
|
|
4677
|
-
* The message execution fails the filter.
|
|
4678
|
-
**/
|
|
4679
|
-
| 'Filtered'
|
|
4680
|
-
/**
|
|
4681
|
-
* The message's weight could not be determined.
|
|
4682
|
-
**/
|
|
4683
|
-
| 'UnweighableMessage'
|
|
4684
|
-
/**
|
|
4685
|
-
* The destination `Location` provided cannot be inverted.
|
|
4686
|
-
**/
|
|
4687
|
-
| 'DestinationNotInvertible'
|
|
4688
|
-
/**
|
|
4689
|
-
* The assets to be sent are empty.
|
|
4690
|
-
**/
|
|
4691
|
-
| 'Empty'
|
|
4692
|
-
/**
|
|
4693
|
-
* Could not re-anchor the assets to declare the fees for the destination chain.
|
|
4694
|
-
**/
|
|
4695
|
-
| 'CannotReanchor'
|
|
4696
|
-
/**
|
|
4697
|
-
* Too many assets have been attempted for transfer.
|
|
4698
|
-
**/
|
|
4699
|
-
| 'TooManyAssets'
|
|
4700
|
-
/**
|
|
4701
|
-
* Origin is invalid for sending.
|
|
4702
|
-
**/
|
|
4703
|
-
| 'InvalidOrigin'
|
|
4704
|
-
/**
|
|
4705
|
-
* The version of the `Versioned` value used is not able to be interpreted.
|
|
4706
|
-
**/
|
|
4707
|
-
| 'BadVersion'
|
|
4708
|
-
/**
|
|
4709
|
-
* The given location could not be used (e.g. because it cannot be expressed in the
|
|
4710
|
-
* desired version of XCM).
|
|
4711
|
-
**/
|
|
4712
|
-
| 'BadLocation'
|
|
4713
|
-
/**
|
|
4714
|
-
* The referenced subscription could not be found.
|
|
4715
|
-
**/
|
|
4716
|
-
| 'NoSubscription'
|
|
4717
|
-
/**
|
|
4718
|
-
* The location is invalid since it already has a subscription from us.
|
|
4719
|
-
**/
|
|
4720
|
-
| 'AlreadySubscribed'
|
|
4721
|
-
/**
|
|
4722
|
-
* Could not check-out the assets for teleportation to the destination chain.
|
|
4723
|
-
**/
|
|
4724
|
-
| 'CannotCheckOutTeleport'
|
|
4725
|
-
/**
|
|
4726
|
-
* The owner does not own (all) of the asset that they wish to do the operation on.
|
|
4727
|
-
**/
|
|
4728
|
-
| 'LowBalance'
|
|
4729
|
-
/**
|
|
4730
|
-
* The asset owner has too many locks on the asset.
|
|
4731
|
-
**/
|
|
4732
|
-
| 'TooManyLocks'
|
|
4733
|
-
/**
|
|
4734
|
-
* The given account is not an identifiable sovereign account for any location.
|
|
4735
|
-
**/
|
|
4736
|
-
| 'AccountNotSovereign'
|
|
4737
|
-
/**
|
|
4738
|
-
* The operation required fees to be paid which the initiator could not meet.
|
|
4739
|
-
**/
|
|
4740
|
-
| 'FeesNotMet'
|
|
4741
|
-
/**
|
|
4742
|
-
* A remote lock with the corresponding data could not be found.
|
|
4743
|
-
**/
|
|
4744
|
-
| 'LockNotFound'
|
|
4745
|
-
/**
|
|
4746
|
-
* The unlock operation cannot succeed because there are still consumers of the lock.
|
|
4747
|
-
**/
|
|
4748
|
-
| 'InUse'
|
|
4749
|
-
/**
|
|
4750
|
-
* Invalid asset, reserve chain could not be determined for it.
|
|
4751
|
-
**/
|
|
4752
|
-
| 'InvalidAssetUnknownReserve'
|
|
4753
|
-
/**
|
|
4754
|
-
* Invalid asset, do not support remote asset reserves with different fees reserves.
|
|
4755
|
-
**/
|
|
4756
|
-
| 'InvalidAssetUnsupportedReserve'
|
|
4757
|
-
/**
|
|
4758
|
-
* Too many assets with different reserve locations have been attempted for transfer.
|
|
4759
|
-
**/
|
|
4760
|
-
| 'TooManyReserves'
|
|
4761
|
-
/**
|
|
4762
|
-
* Local XCM execution incomplete.
|
|
4763
|
-
**/
|
|
4764
|
-
| 'LocalExecutionIncomplete'
|
|
4765
|
-
/**
|
|
4766
|
-
* Too many locations authorized to alias origin.
|
|
4767
|
-
**/
|
|
4768
|
-
| 'TooManyAuthorizedAliases'
|
|
4769
|
-
/**
|
|
4770
|
-
* Expiry block number is in the past.
|
|
4771
|
-
**/
|
|
4772
|
-
| 'ExpiresInPast'
|
|
4773
|
-
/**
|
|
4774
|
-
* The alias to remove authorization for was not found.
|
|
4775
|
-
**/
|
|
4776
|
-
| 'AliasNotFound';
|
|
4394
|
+
export type XcmVersionedAssetId =
|
|
4395
|
+
| { type: 'V3'; value: XcmV3MultiassetAssetId }
|
|
4396
|
+
| { type: 'V4'; value: StagingXcmV4AssetAssetId }
|
|
4397
|
+
| { type: 'V5'; value: StagingXcmV5AssetAssetId };
|
|
4777
4398
|
|
|
4778
4399
|
/**
|
|
4779
4400
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -4782,8 +4403,6 @@ export type CumulusPalletXcmCall = null;
|
|
|
4782
4403
|
|
|
4783
4404
|
export type CumulusPalletXcmCallLike = null;
|
|
4784
4405
|
|
|
4785
|
-
export type BpXcmBridgeHubRouterBridgeState = { deliveryFeeFactor: FixedU128; isCongested: boolean };
|
|
4786
|
-
|
|
4787
4406
|
/**
|
|
4788
4407
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
4789
4408
|
**/
|
|
@@ -4799,29 +4418,6 @@ export type PalletXcmBridgeHubRouterCallLike =
|
|
|
4799
4418
|
**/
|
|
4800
4419
|
{ name: 'ReportBridgeStatus'; params: { bridgeId: H256; isCongested: boolean } };
|
|
4801
4420
|
|
|
4802
|
-
export type PalletMessageQueueBookState = {
|
|
4803
|
-
begin: number;
|
|
4804
|
-
end: number;
|
|
4805
|
-
count: number;
|
|
4806
|
-
readyNeighbours?: PalletMessageQueueNeighbours | undefined;
|
|
4807
|
-
messageCount: bigint;
|
|
4808
|
-
size: bigint;
|
|
4809
|
-
};
|
|
4810
|
-
|
|
4811
|
-
export type PalletMessageQueueNeighbours = {
|
|
4812
|
-
prev: CumulusPrimitivesCoreAggregateMessageOrigin;
|
|
4813
|
-
next: CumulusPrimitivesCoreAggregateMessageOrigin;
|
|
4814
|
-
};
|
|
4815
|
-
|
|
4816
|
-
export type PalletMessageQueuePage = {
|
|
4817
|
-
remaining: number;
|
|
4818
|
-
remainingSize: number;
|
|
4819
|
-
firstIndex: number;
|
|
4820
|
-
first: number;
|
|
4821
|
-
last: number;
|
|
4822
|
-
heap: Bytes;
|
|
4823
|
-
};
|
|
4824
|
-
|
|
4825
4421
|
/**
|
|
4826
4422
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
4827
4423
|
**/
|
|
@@ -4886,51 +4482,59 @@ export type PalletMessageQueueCallLike =
|
|
|
4886
4482
|
};
|
|
4887
4483
|
|
|
4888
4484
|
/**
|
|
4889
|
-
*
|
|
4485
|
+
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
4890
4486
|
**/
|
|
4891
|
-
export type
|
|
4892
|
-
/**
|
|
4893
|
-
* Page is not reapable because it has items remaining to be processed and is not old
|
|
4894
|
-
* enough.
|
|
4895
|
-
**/
|
|
4896
|
-
| 'NotReapable'
|
|
4487
|
+
export type SnowbridgePalletSystemFrontendCall =
|
|
4897
4488
|
/**
|
|
4898
|
-
*
|
|
4899
|
-
**/
|
|
4900
|
-
| 'NoPage'
|
|
4901
|
-
/**
|
|
4902
|
-
* The referenced message could not be found.
|
|
4903
|
-
**/
|
|
4904
|
-
| 'NoMessage'
|
|
4905
|
-
/**
|
|
4906
|
-
* The message was already processed and cannot be processed again.
|
|
4489
|
+
* Set the operating mode for exporting messages to Ethereum.
|
|
4907
4490
|
**/
|
|
4908
|
-
| '
|
|
4491
|
+
| { name: 'SetOperatingMode'; params: { mode: SnowbridgeCoreOperatingModeBasicOperatingMode } }
|
|
4909
4492
|
/**
|
|
4910
|
-
*
|
|
4493
|
+
* Initiates the registration for a Polkadot-native token as a wrapped ERC20 token on
|
|
4494
|
+
* Ethereum.
|
|
4495
|
+
* - `asset_id`: Location of the asset
|
|
4496
|
+
* - `metadata`: Metadata to include in the instantiated ERC20 contract on Ethereum
|
|
4497
|
+
*
|
|
4498
|
+
* All origins are allowed, however `asset_id` must be a location nested within the origin
|
|
4499
|
+
* consensus system.
|
|
4911
4500
|
**/
|
|
4912
|
-
|
|
|
4501
|
+
| {
|
|
4502
|
+
name: 'RegisterToken';
|
|
4503
|
+
params: { assetId: XcmVersionedLocation; metadata: SnowbridgeCoreAssetMetadata; feeAsset: StagingXcmV5Asset };
|
|
4504
|
+
}
|
|
4913
4505
|
/**
|
|
4914
|
-
*
|
|
4506
|
+
* Add an additional relayer tip for a committed message identified by `message_id`.
|
|
4507
|
+
* The tip asset will be swapped for ether.
|
|
4915
4508
|
**/
|
|
4916
|
-
| '
|
|
4509
|
+
| { name: 'AddTip'; params: { messageId: SnowbridgeCoreRewardMessageId; asset: StagingXcmV5Asset } };
|
|
4510
|
+
|
|
4511
|
+
export type SnowbridgePalletSystemFrontendCallLike =
|
|
4917
4512
|
/**
|
|
4918
|
-
*
|
|
4919
|
-
*
|
|
4920
|
-
* Such errors are expected, but not guaranteed, to resolve themselves eventually through
|
|
4921
|
-
* retrying.
|
|
4513
|
+
* Set the operating mode for exporting messages to Ethereum.
|
|
4922
4514
|
**/
|
|
4923
|
-
| '
|
|
4515
|
+
| { name: 'SetOperatingMode'; params: { mode: SnowbridgeCoreOperatingModeBasicOperatingMode } }
|
|
4924
4516
|
/**
|
|
4925
|
-
*
|
|
4517
|
+
* Initiates the registration for a Polkadot-native token as a wrapped ERC20 token on
|
|
4518
|
+
* Ethereum.
|
|
4519
|
+
* - `asset_id`: Location of the asset
|
|
4520
|
+
* - `metadata`: Metadata to include in the instantiated ERC20 contract on Ethereum
|
|
4926
4521
|
*
|
|
4927
|
-
*
|
|
4522
|
+
* All origins are allowed, however `asset_id` must be a location nested within the origin
|
|
4523
|
+
* consensus system.
|
|
4928
4524
|
**/
|
|
4929
|
-
|
|
|
4525
|
+
| {
|
|
4526
|
+
name: 'RegisterToken';
|
|
4527
|
+
params: { assetId: XcmVersionedLocation; metadata: SnowbridgeCoreAssetMetadata; feeAsset: StagingXcmV5Asset };
|
|
4528
|
+
}
|
|
4930
4529
|
/**
|
|
4931
|
-
*
|
|
4530
|
+
* Add an additional relayer tip for a committed message identified by `message_id`.
|
|
4531
|
+
* The tip asset will be swapped for ether.
|
|
4932
4532
|
**/
|
|
4933
|
-
| '
|
|
4533
|
+
| { name: 'AddTip'; params: { messageId: SnowbridgeCoreRewardMessageId; asset: StagingXcmV5Asset } };
|
|
4534
|
+
|
|
4535
|
+
export type SnowbridgeCoreAssetMetadata = { name: Bytes; symbol: Bytes; decimals: number };
|
|
4536
|
+
|
|
4537
|
+
export type SnowbridgeCoreRewardMessageId = { type: 'Inbound'; value: bigint } | { type: 'Outbound'; value: bigint };
|
|
4934
4538
|
|
|
4935
4539
|
/**
|
|
4936
4540
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -5199,55 +4803,24 @@ export type PalletUtilityCallLike =
|
|
|
5199
4803
|
params: { asOrigin: AssetHubPolkadotRuntimeOriginCaller; call: AssetHubPolkadotRuntimeRuntimeCallLike };
|
|
5200
4804
|
};
|
|
5201
4805
|
|
|
5202
|
-
export type
|
|
5203
|
-
| {
|
|
5204
|
-
| {
|
|
5205
|
-
| {
|
|
5206
|
-
| { pallet: 'ParachainInfo'; palletCall: StagingParachainInfoCall }
|
|
5207
|
-
| { pallet: 'Balances'; palletCall: PalletBalancesCall }
|
|
5208
|
-
| { pallet: 'Vesting'; palletCall: PalletVestingCall }
|
|
5209
|
-
| { pallet: 'CollatorSelection'; palletCall: PalletCollatorSelectionCall }
|
|
5210
|
-
| { pallet: 'Session'; palletCall: PalletSessionCall }
|
|
5211
|
-
| { pallet: 'XcmpQueue'; palletCall: CumulusPalletXcmpQueueCall }
|
|
5212
|
-
| { pallet: 'PolkadotXcm'; palletCall: PalletXcmCall }
|
|
5213
|
-
| { pallet: 'CumulusXcm'; palletCall: CumulusPalletXcmCall }
|
|
5214
|
-
| { pallet: 'ToKusamaXcmRouter'; palletCall: PalletXcmBridgeHubRouterCall }
|
|
5215
|
-
| { pallet: 'MessageQueue'; palletCall: PalletMessageQueueCall }
|
|
5216
|
-
| { pallet: 'Utility'; palletCall: PalletUtilityCall }
|
|
5217
|
-
| { pallet: 'Multisig'; palletCall: PalletMultisigCall }
|
|
5218
|
-
| { pallet: 'Proxy'; palletCall: PalletProxyCall }
|
|
5219
|
-
| { pallet: 'Assets'; palletCall: PalletAssetsCall }
|
|
5220
|
-
| { pallet: 'Uniques'; palletCall: PalletUniquesCall }
|
|
5221
|
-
| { pallet: 'Nfts'; palletCall: PalletNftsCall }
|
|
5222
|
-
| { pallet: 'ForeignAssets'; palletCall: PalletAssetsCall002 }
|
|
5223
|
-
| { pallet: 'PoolAssets'; palletCall: PalletAssetsCall003 }
|
|
5224
|
-
| { pallet: 'AssetConversion'; palletCall: PalletAssetConversionCall }
|
|
5225
|
-
| { pallet: 'StateTrieMigration'; palletCall: PalletStateTrieMigrationCall };
|
|
4806
|
+
export type AssetHubPolkadotRuntimeOriginCaller =
|
|
4807
|
+
| { type: 'System'; value: FrameSupportDispatchRawOrigin }
|
|
4808
|
+
| { type: 'PolkadotXcm'; value: PalletXcmOrigin }
|
|
4809
|
+
| { type: 'CumulusXcm'; value: CumulusPalletXcmOrigin };
|
|
5226
4810
|
|
|
5227
|
-
export type
|
|
5228
|
-
| {
|
|
5229
|
-
| {
|
|
5230
|
-
| {
|
|
5231
|
-
| {
|
|
5232
|
-
|
|
5233
|
-
|
|
5234
|
-
| {
|
|
5235
|
-
| {
|
|
5236
|
-
|
|
5237
|
-
|
|
5238
|
-
| {
|
|
5239
|
-
| {
|
|
5240
|
-
| { pallet: 'MessageQueue'; palletCall: PalletMessageQueueCallLike }
|
|
5241
|
-
| { pallet: 'Utility'; palletCall: PalletUtilityCallLike }
|
|
5242
|
-
| { pallet: 'Multisig'; palletCall: PalletMultisigCallLike }
|
|
5243
|
-
| { pallet: 'Proxy'; palletCall: PalletProxyCallLike }
|
|
5244
|
-
| { pallet: 'Assets'; palletCall: PalletAssetsCallLike }
|
|
5245
|
-
| { pallet: 'Uniques'; palletCall: PalletUniquesCallLike }
|
|
5246
|
-
| { pallet: 'Nfts'; palletCall: PalletNftsCallLike }
|
|
5247
|
-
| { pallet: 'ForeignAssets'; palletCall: PalletAssetsCallLike002 }
|
|
5248
|
-
| { pallet: 'PoolAssets'; palletCall: PalletAssetsCallLike003 }
|
|
5249
|
-
| { pallet: 'AssetConversion'; palletCall: PalletAssetConversionCallLike }
|
|
5250
|
-
| { pallet: 'StateTrieMigration'; palletCall: PalletStateTrieMigrationCallLike };
|
|
4811
|
+
export type FrameSupportDispatchRawOrigin =
|
|
4812
|
+
| { type: 'Root' }
|
|
4813
|
+
| { type: 'Signed'; value: AccountId32 }
|
|
4814
|
+
| { type: 'None' }
|
|
4815
|
+
| { type: 'Authorized' };
|
|
4816
|
+
|
|
4817
|
+
export type PalletXcmOrigin =
|
|
4818
|
+
| { type: 'Xcm'; value: StagingXcmV5Location }
|
|
4819
|
+
| { type: 'Response'; value: StagingXcmV5Location };
|
|
4820
|
+
|
|
4821
|
+
export type CumulusPalletXcmOrigin =
|
|
4822
|
+
| { type: 'Relay' }
|
|
4823
|
+
| { type: 'SiblingParachain'; value: PolkadotParachainPrimitivesPrimitivesId };
|
|
5251
4824
|
|
|
5252
4825
|
/**
|
|
5253
4826
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -5633,7 +5206,7 @@ export type PalletProxyCall =
|
|
|
5633
5206
|
*
|
|
5634
5207
|
* The dispatch origin for this call must be _Signed_.
|
|
5635
5208
|
*
|
|
5636
|
-
* WARNING: This may be called on accounts created by `
|
|
5209
|
+
* WARNING: This may be called on accounts created by `create_pure`, however if done, then
|
|
5637
5210
|
* the unreserved fees will be inaccessible. **All access to this account will be lost.**
|
|
5638
5211
|
**/
|
|
5639
5212
|
| { name: 'RemoveProxies' }
|
|
@@ -5665,16 +5238,16 @@ export type PalletProxyCall =
|
|
|
5665
5238
|
* inaccessible.
|
|
5666
5239
|
*
|
|
5667
5240
|
* Requires a `Signed` origin, and the sender account must have been created by a call to
|
|
5668
|
-
* `
|
|
5241
|
+
* `create_pure` with corresponding parameters.
|
|
5669
5242
|
*
|
|
5670
|
-
* - `spawner`: The account that originally called `
|
|
5671
|
-
* - `index`: The disambiguation index originally passed to `
|
|
5672
|
-
* - `proxy_type`: The proxy type originally passed to `
|
|
5673
|
-
* - `height`: The height of the chain when the call to `
|
|
5674
|
-
* - `ext_index`: The extrinsic index in which the call to `
|
|
5243
|
+
* - `spawner`: The account that originally called `create_pure` to create this account.
|
|
5244
|
+
* - `index`: The disambiguation index originally passed to `create_pure`. Probably `0`.
|
|
5245
|
+
* - `proxy_type`: The proxy type originally passed to `create_pure`.
|
|
5246
|
+
* - `height`: The height of the chain when the call to `create_pure` was processed.
|
|
5247
|
+
* - `ext_index`: The extrinsic index in which the call to `create_pure` was processed.
|
|
5675
5248
|
*
|
|
5676
5249
|
* Fails with `NoPermission` in case the caller is not a previously created pure
|
|
5677
|
-
* account whose `
|
|
5250
|
+
* account whose `create_pure` call has corresponding parameters.
|
|
5678
5251
|
**/
|
|
5679
5252
|
| {
|
|
5680
5253
|
name: 'KillPure';
|
|
@@ -5817,7 +5390,7 @@ export type PalletProxyCallLike =
|
|
|
5817
5390
|
*
|
|
5818
5391
|
* The dispatch origin for this call must be _Signed_.
|
|
5819
5392
|
*
|
|
5820
|
-
* WARNING: This may be called on accounts created by `
|
|
5393
|
+
* WARNING: This may be called on accounts created by `create_pure`, however if done, then
|
|
5821
5394
|
* the unreserved fees will be inaccessible. **All access to this account will be lost.**
|
|
5822
5395
|
**/
|
|
5823
5396
|
| { name: 'RemoveProxies' }
|
|
@@ -5849,16 +5422,16 @@ export type PalletProxyCallLike =
|
|
|
5849
5422
|
* inaccessible.
|
|
5850
5423
|
*
|
|
5851
5424
|
* Requires a `Signed` origin, and the sender account must have been created by a call to
|
|
5852
|
-
* `
|
|
5425
|
+
* `create_pure` with corresponding parameters.
|
|
5853
5426
|
*
|
|
5854
|
-
* - `spawner`: The account that originally called `
|
|
5855
|
-
* - `index`: The disambiguation index originally passed to `
|
|
5856
|
-
* - `proxy_type`: The proxy type originally passed to `
|
|
5857
|
-
* - `height`: The height of the chain when the call to `
|
|
5858
|
-
* - `ext_index`: The extrinsic index in which the call to `
|
|
5427
|
+
* - `spawner`: The account that originally called `create_pure` to create this account.
|
|
5428
|
+
* - `index`: The disambiguation index originally passed to `create_pure`. Probably `0`.
|
|
5429
|
+
* - `proxy_type`: The proxy type originally passed to `create_pure`.
|
|
5430
|
+
* - `height`: The height of the chain when the call to `create_pure` was processed.
|
|
5431
|
+
* - `ext_index`: The extrinsic index in which the call to `create_pure` was processed.
|
|
5859
5432
|
*
|
|
5860
5433
|
* Fails with `NoPermission` in case the caller is not a previously created pure
|
|
5861
|
-
* account whose `
|
|
5434
|
+
* account whose `create_pure` call has corresponding parameters.
|
|
5862
5435
|
**/
|
|
5863
5436
|
| {
|
|
5864
5437
|
name: 'KillPure';
|
|
@@ -9513,7 +9086,7 @@ export type PalletAssetsCall002 =
|
|
|
9513
9086
|
*
|
|
9514
9087
|
* Weight: `O(1)`
|
|
9515
9088
|
**/
|
|
9516
|
-
| { name: 'Create'; params: { id:
|
|
9089
|
+
| { name: 'Create'; params: { id: StagingXcmV5Location; admin: MultiAddress; minBalance: bigint } }
|
|
9517
9090
|
/**
|
|
9518
9091
|
* Issue a new class of fungible assets from a privileged origin.
|
|
9519
9092
|
*
|
|
@@ -9537,7 +9110,7 @@ export type PalletAssetsCall002 =
|
|
|
9537
9110
|
**/
|
|
9538
9111
|
| {
|
|
9539
9112
|
name: 'ForceCreate';
|
|
9540
|
-
params: { id:
|
|
9113
|
+
params: { id: StagingXcmV5Location; owner: MultiAddress; isSufficient: boolean; minBalance: bigint };
|
|
9541
9114
|
}
|
|
9542
9115
|
/**
|
|
9543
9116
|
* Start the process of destroying a fungible asset class.
|
|
@@ -9553,7 +9126,7 @@ export type PalletAssetsCall002 =
|
|
|
9553
9126
|
* It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
|
|
9554
9127
|
* an account contains holds or freezes in place.
|
|
9555
9128
|
**/
|
|
9556
|
-
| { name: 'StartDestroy'; params: { id:
|
|
9129
|
+
| { name: 'StartDestroy'; params: { id: StagingXcmV5Location } }
|
|
9557
9130
|
/**
|
|
9558
9131
|
* Destroy all accounts associated with a given asset.
|
|
9559
9132
|
*
|
|
@@ -9568,7 +9141,7 @@ export type PalletAssetsCall002 =
|
|
|
9568
9141
|
*
|
|
9569
9142
|
* Each call emits the `Event::DestroyedAccounts` event.
|
|
9570
9143
|
**/
|
|
9571
|
-
| { name: 'DestroyAccounts'; params: { id:
|
|
9144
|
+
| { name: 'DestroyAccounts'; params: { id: StagingXcmV5Location } }
|
|
9572
9145
|
/**
|
|
9573
9146
|
* Destroy all approvals associated with a given asset up to the max (T::RemoveItemsLimit).
|
|
9574
9147
|
*
|
|
@@ -9583,7 +9156,7 @@ export type PalletAssetsCall002 =
|
|
|
9583
9156
|
*
|
|
9584
9157
|
* Each call emits the `Event::DestroyedApprovals` event.
|
|
9585
9158
|
**/
|
|
9586
|
-
| { name: 'DestroyApprovals'; params: { id:
|
|
9159
|
+
| { name: 'DestroyApprovals'; params: { id: StagingXcmV5Location } }
|
|
9587
9160
|
/**
|
|
9588
9161
|
* Complete destroying asset and unreserve currency.
|
|
9589
9162
|
*
|
|
@@ -9596,7 +9169,7 @@ export type PalletAssetsCall002 =
|
|
|
9596
9169
|
*
|
|
9597
9170
|
* Each successful call emits the `Event::Destroyed` event.
|
|
9598
9171
|
**/
|
|
9599
|
-
| { name: 'FinishDestroy'; params: { id:
|
|
9172
|
+
| { name: 'FinishDestroy'; params: { id: StagingXcmV5Location } }
|
|
9600
9173
|
/**
|
|
9601
9174
|
* Mint assets of a particular class.
|
|
9602
9175
|
*
|
|
@@ -9611,7 +9184,7 @@ export type PalletAssetsCall002 =
|
|
|
9611
9184
|
* Weight: `O(1)`
|
|
9612
9185
|
* Modes: Pre-existing balance of `beneficiary`; Account pre-existence of `beneficiary`.
|
|
9613
9186
|
**/
|
|
9614
|
-
| { name: 'Mint'; params: { id:
|
|
9187
|
+
| { name: 'Mint'; params: { id: StagingXcmV5Location; beneficiary: MultiAddress; amount: bigint } }
|
|
9615
9188
|
/**
|
|
9616
9189
|
* Reduce the balance of `who` by as much as possible up to `amount` assets of `id`.
|
|
9617
9190
|
*
|
|
@@ -9629,7 +9202,7 @@ export type PalletAssetsCall002 =
|
|
|
9629
9202
|
* Weight: `O(1)`
|
|
9630
9203
|
* Modes: Post-existence of `who`; Pre & post Zombie-status of `who`.
|
|
9631
9204
|
**/
|
|
9632
|
-
| { name: 'Burn'; params: { id:
|
|
9205
|
+
| { name: 'Burn'; params: { id: StagingXcmV5Location; who: MultiAddress; amount: bigint } }
|
|
9633
9206
|
/**
|
|
9634
9207
|
* Move some assets from the sender account to another.
|
|
9635
9208
|
*
|
|
@@ -9650,7 +9223,7 @@ export type PalletAssetsCall002 =
|
|
|
9650
9223
|
* Modes: Pre-existence of `target`; Post-existence of sender; Account pre-existence of
|
|
9651
9224
|
* `target`.
|
|
9652
9225
|
**/
|
|
9653
|
-
| { name: 'Transfer'; params: { id:
|
|
9226
|
+
| { name: 'Transfer'; params: { id: StagingXcmV5Location; target: MultiAddress; amount: bigint } }
|
|
9654
9227
|
/**
|
|
9655
9228
|
* Move some assets from the sender account to another, keeping the sender account alive.
|
|
9656
9229
|
*
|
|
@@ -9671,7 +9244,7 @@ export type PalletAssetsCall002 =
|
|
|
9671
9244
|
* Modes: Pre-existence of `target`; Post-existence of sender; Account pre-existence of
|
|
9672
9245
|
* `target`.
|
|
9673
9246
|
**/
|
|
9674
|
-
| { name: 'TransferKeepAlive'; params: { id:
|
|
9247
|
+
| { name: 'TransferKeepAlive'; params: { id: StagingXcmV5Location; target: MultiAddress; amount: bigint } }
|
|
9675
9248
|
/**
|
|
9676
9249
|
* Move some assets from one account to another.
|
|
9677
9250
|
*
|
|
@@ -9695,7 +9268,7 @@ export type PalletAssetsCall002 =
|
|
|
9695
9268
|
**/
|
|
9696
9269
|
| {
|
|
9697
9270
|
name: 'ForceTransfer';
|
|
9698
|
-
params: { id:
|
|
9271
|
+
params: { id: StagingXcmV5Location; source: MultiAddress; dest: MultiAddress; amount: bigint };
|
|
9699
9272
|
}
|
|
9700
9273
|
/**
|
|
9701
9274
|
* Disallow further unprivileged transfers of an asset `id` from an account `who`. `who`
|
|
@@ -9711,7 +9284,7 @@ export type PalletAssetsCall002 =
|
|
|
9711
9284
|
*
|
|
9712
9285
|
* Weight: `O(1)`
|
|
9713
9286
|
**/
|
|
9714
|
-
| { name: 'Freeze'; params: { id:
|
|
9287
|
+
| { name: 'Freeze'; params: { id: StagingXcmV5Location; who: MultiAddress } }
|
|
9715
9288
|
/**
|
|
9716
9289
|
* Allow unprivileged transfers to and from an account again.
|
|
9717
9290
|
*
|
|
@@ -9724,7 +9297,7 @@ export type PalletAssetsCall002 =
|
|
|
9724
9297
|
*
|
|
9725
9298
|
* Weight: `O(1)`
|
|
9726
9299
|
**/
|
|
9727
|
-
| { name: 'Thaw'; params: { id:
|
|
9300
|
+
| { name: 'Thaw'; params: { id: StagingXcmV5Location; who: MultiAddress } }
|
|
9728
9301
|
/**
|
|
9729
9302
|
* Disallow further unprivileged transfers for the asset class.
|
|
9730
9303
|
*
|
|
@@ -9736,7 +9309,7 @@ export type PalletAssetsCall002 =
|
|
|
9736
9309
|
*
|
|
9737
9310
|
* Weight: `O(1)`
|
|
9738
9311
|
**/
|
|
9739
|
-
| { name: 'FreezeAsset'; params: { id:
|
|
9312
|
+
| { name: 'FreezeAsset'; params: { id: StagingXcmV5Location } }
|
|
9740
9313
|
/**
|
|
9741
9314
|
* Allow unprivileged transfers for the asset again.
|
|
9742
9315
|
*
|
|
@@ -9748,7 +9321,7 @@ export type PalletAssetsCall002 =
|
|
|
9748
9321
|
*
|
|
9749
9322
|
* Weight: `O(1)`
|
|
9750
9323
|
**/
|
|
9751
|
-
| { name: 'ThawAsset'; params: { id:
|
|
9324
|
+
| { name: 'ThawAsset'; params: { id: StagingXcmV5Location } }
|
|
9752
9325
|
/**
|
|
9753
9326
|
* Change the Owner of an asset.
|
|
9754
9327
|
*
|
|
@@ -9761,7 +9334,7 @@ export type PalletAssetsCall002 =
|
|
|
9761
9334
|
*
|
|
9762
9335
|
* Weight: `O(1)`
|
|
9763
9336
|
**/
|
|
9764
|
-
| { name: 'TransferOwnership'; params: { id:
|
|
9337
|
+
| { name: 'TransferOwnership'; params: { id: StagingXcmV5Location; owner: MultiAddress } }
|
|
9765
9338
|
/**
|
|
9766
9339
|
* Change the Issuer, Admin and Freezer of an asset.
|
|
9767
9340
|
*
|
|
@@ -9778,7 +9351,7 @@ export type PalletAssetsCall002 =
|
|
|
9778
9351
|
**/
|
|
9779
9352
|
| {
|
|
9780
9353
|
name: 'SetTeam';
|
|
9781
|
-
params: { id:
|
|
9354
|
+
params: { id: StagingXcmV5Location; issuer: MultiAddress; admin: MultiAddress; freezer: MultiAddress };
|
|
9782
9355
|
}
|
|
9783
9356
|
/**
|
|
9784
9357
|
* Set the metadata for an asset.
|
|
@@ -9798,7 +9371,7 @@ export type PalletAssetsCall002 =
|
|
|
9798
9371
|
*
|
|
9799
9372
|
* Weight: `O(1)`
|
|
9800
9373
|
**/
|
|
9801
|
-
| { name: 'SetMetadata'; params: { id:
|
|
9374
|
+
| { name: 'SetMetadata'; params: { id: StagingXcmV5Location; name: Bytes; symbol: Bytes; decimals: number } }
|
|
9802
9375
|
/**
|
|
9803
9376
|
* Clear the metadata for an asset.
|
|
9804
9377
|
*
|
|
@@ -9812,7 +9385,7 @@ export type PalletAssetsCall002 =
|
|
|
9812
9385
|
*
|
|
9813
9386
|
* Weight: `O(1)`
|
|
9814
9387
|
**/
|
|
9815
|
-
| { name: 'ClearMetadata'; params: { id:
|
|
9388
|
+
| { name: 'ClearMetadata'; params: { id: StagingXcmV5Location } }
|
|
9816
9389
|
/**
|
|
9817
9390
|
* Force the metadata for an asset to some value.
|
|
9818
9391
|
*
|
|
@@ -9831,7 +9404,7 @@ export type PalletAssetsCall002 =
|
|
|
9831
9404
|
**/
|
|
9832
9405
|
| {
|
|
9833
9406
|
name: 'ForceSetMetadata';
|
|
9834
|
-
params: { id:
|
|
9407
|
+
params: { id: StagingXcmV5Location; name: Bytes; symbol: Bytes; decimals: number; isFrozen: boolean };
|
|
9835
9408
|
}
|
|
9836
9409
|
/**
|
|
9837
9410
|
* Clear the metadata for an asset.
|
|
@@ -9846,7 +9419,7 @@ export type PalletAssetsCall002 =
|
|
|
9846
9419
|
*
|
|
9847
9420
|
* Weight: `O(1)`
|
|
9848
9421
|
**/
|
|
9849
|
-
| { name: 'ForceClearMetadata'; params: { id:
|
|
9422
|
+
| { name: 'ForceClearMetadata'; params: { id: StagingXcmV5Location } }
|
|
9850
9423
|
/**
|
|
9851
9424
|
* Alter the attributes of a given asset.
|
|
9852
9425
|
*
|
|
@@ -9874,7 +9447,7 @@ export type PalletAssetsCall002 =
|
|
|
9874
9447
|
| {
|
|
9875
9448
|
name: 'ForceAssetStatus';
|
|
9876
9449
|
params: {
|
|
9877
|
-
id:
|
|
9450
|
+
id: StagingXcmV5Location;
|
|
9878
9451
|
owner: MultiAddress;
|
|
9879
9452
|
issuer: MultiAddress;
|
|
9880
9453
|
admin: MultiAddress;
|
|
@@ -9906,7 +9479,7 @@ export type PalletAssetsCall002 =
|
|
|
9906
9479
|
*
|
|
9907
9480
|
* Weight: `O(1)`
|
|
9908
9481
|
**/
|
|
9909
|
-
| { name: 'ApproveTransfer'; params: { id:
|
|
9482
|
+
| { name: 'ApproveTransfer'; params: { id: StagingXcmV5Location; delegate: MultiAddress; amount: bigint } }
|
|
9910
9483
|
/**
|
|
9911
9484
|
* Cancel all of some asset approved for delegated transfer by a third-party account.
|
|
9912
9485
|
*
|
|
@@ -9922,7 +9495,7 @@ export type PalletAssetsCall002 =
|
|
|
9922
9495
|
*
|
|
9923
9496
|
* Weight: `O(1)`
|
|
9924
9497
|
**/
|
|
9925
|
-
| { name: 'CancelApproval'; params: { id:
|
|
9498
|
+
| { name: 'CancelApproval'; params: { id: StagingXcmV5Location; delegate: MultiAddress } }
|
|
9926
9499
|
/**
|
|
9927
9500
|
* Cancel all of some asset approved for delegated transfer by a third-party account.
|
|
9928
9501
|
*
|
|
@@ -9938,7 +9511,7 @@ export type PalletAssetsCall002 =
|
|
|
9938
9511
|
*
|
|
9939
9512
|
* Weight: `O(1)`
|
|
9940
9513
|
**/
|
|
9941
|
-
| { name: 'ForceCancelApproval'; params: { id:
|
|
9514
|
+
| { name: 'ForceCancelApproval'; params: { id: StagingXcmV5Location; owner: MultiAddress; delegate: MultiAddress } }
|
|
9942
9515
|
/**
|
|
9943
9516
|
* Transfer some asset balance from a previously delegated account to some third-party
|
|
9944
9517
|
* account.
|
|
@@ -9961,7 +9534,7 @@ export type PalletAssetsCall002 =
|
|
|
9961
9534
|
**/
|
|
9962
9535
|
| {
|
|
9963
9536
|
name: 'TransferApproved';
|
|
9964
|
-
params: { id:
|
|
9537
|
+
params: { id: StagingXcmV5Location; owner: MultiAddress; destination: MultiAddress; amount: bigint };
|
|
9965
9538
|
}
|
|
9966
9539
|
/**
|
|
9967
9540
|
* Create an asset account for non-provider assets.
|
|
@@ -9974,7 +9547,7 @@ export type PalletAssetsCall002 =
|
|
|
9974
9547
|
*
|
|
9975
9548
|
* Emits `Touched` event when successful.
|
|
9976
9549
|
**/
|
|
9977
|
-
| { name: 'Touch'; params: { id:
|
|
9550
|
+
| { name: 'Touch'; params: { id: StagingXcmV5Location } }
|
|
9978
9551
|
/**
|
|
9979
9552
|
* Return the deposit (if any) of an asset account or a consumer reference (if any) of an
|
|
9980
9553
|
* account.
|
|
@@ -9990,7 +9563,7 @@ export type PalletAssetsCall002 =
|
|
|
9990
9563
|
*
|
|
9991
9564
|
* Emits `Refunded` event when successful.
|
|
9992
9565
|
**/
|
|
9993
|
-
| { name: 'Refund'; params: { id:
|
|
9566
|
+
| { name: 'Refund'; params: { id: StagingXcmV5Location; allowBurn: boolean } }
|
|
9994
9567
|
/**
|
|
9995
9568
|
* Sets the minimum balance of an asset.
|
|
9996
9569
|
*
|
|
@@ -10005,7 +9578,7 @@ export type PalletAssetsCall002 =
|
|
|
10005
9578
|
*
|
|
10006
9579
|
* Emits `AssetMinBalanceChanged` event when successful.
|
|
10007
9580
|
**/
|
|
10008
|
-
| { name: 'SetMinBalance'; params: { id:
|
|
9581
|
+
| { name: 'SetMinBalance'; params: { id: StagingXcmV5Location; minBalance: bigint } }
|
|
10009
9582
|
/**
|
|
10010
9583
|
* Create an asset account for `who`.
|
|
10011
9584
|
*
|
|
@@ -10018,7 +9591,7 @@ export type PalletAssetsCall002 =
|
|
|
10018
9591
|
*
|
|
10019
9592
|
* Emits `Touched` event when successful.
|
|
10020
9593
|
**/
|
|
10021
|
-
| { name: 'TouchOther'; params: { id:
|
|
9594
|
+
| { name: 'TouchOther'; params: { id: StagingXcmV5Location; who: MultiAddress } }
|
|
10022
9595
|
/**
|
|
10023
9596
|
* Return the deposit (if any) of a target asset account. Useful if you are the depositor.
|
|
10024
9597
|
*
|
|
@@ -10034,7 +9607,7 @@ export type PalletAssetsCall002 =
|
|
|
10034
9607
|
*
|
|
10035
9608
|
* Emits `Refunded` event when successful.
|
|
10036
9609
|
**/
|
|
10037
|
-
| { name: 'RefundOther'; params: { id:
|
|
9610
|
+
| { name: 'RefundOther'; params: { id: StagingXcmV5Location; who: MultiAddress } }
|
|
10038
9611
|
/**
|
|
10039
9612
|
* Disallow further unprivileged transfers of an asset `id` to and from an account `who`.
|
|
10040
9613
|
*
|
|
@@ -10047,7 +9620,7 @@ export type PalletAssetsCall002 =
|
|
|
10047
9620
|
*
|
|
10048
9621
|
* Weight: `O(1)`
|
|
10049
9622
|
**/
|
|
10050
|
-
| { name: 'Block'; params: { id:
|
|
9623
|
+
| { name: 'Block'; params: { id: StagingXcmV5Location; who: MultiAddress } }
|
|
10051
9624
|
/**
|
|
10052
9625
|
* Transfer the entire transferable balance from the caller asset account.
|
|
10053
9626
|
*
|
|
@@ -10066,7 +9639,7 @@ export type PalletAssetsCall002 =
|
|
|
10066
9639
|
* (false), or transfer everything except at least the minimum balance, which will
|
|
10067
9640
|
* guarantee to keep the sender asset account alive (true).
|
|
10068
9641
|
**/
|
|
10069
|
-
| { name: 'TransferAll'; params: { id:
|
|
9642
|
+
| { name: 'TransferAll'; params: { id: StagingXcmV5Location; dest: MultiAddress; keepAlive: boolean } };
|
|
10070
9643
|
|
|
10071
9644
|
export type PalletAssetsCallLike002 =
|
|
10072
9645
|
/**
|
|
@@ -10090,7 +9663,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10090
9663
|
*
|
|
10091
9664
|
* Weight: `O(1)`
|
|
10092
9665
|
**/
|
|
10093
|
-
| { name: 'Create'; params: { id:
|
|
9666
|
+
| { name: 'Create'; params: { id: StagingXcmV5Location; admin: MultiAddressLike; minBalance: bigint } }
|
|
10094
9667
|
/**
|
|
10095
9668
|
* Issue a new class of fungible assets from a privileged origin.
|
|
10096
9669
|
*
|
|
@@ -10114,7 +9687,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10114
9687
|
**/
|
|
10115
9688
|
| {
|
|
10116
9689
|
name: 'ForceCreate';
|
|
10117
|
-
params: { id:
|
|
9690
|
+
params: { id: StagingXcmV5Location; owner: MultiAddressLike; isSufficient: boolean; minBalance: bigint };
|
|
10118
9691
|
}
|
|
10119
9692
|
/**
|
|
10120
9693
|
* Start the process of destroying a fungible asset class.
|
|
@@ -10130,7 +9703,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10130
9703
|
* It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
|
|
10131
9704
|
* an account contains holds or freezes in place.
|
|
10132
9705
|
**/
|
|
10133
|
-
| { name: 'StartDestroy'; params: { id:
|
|
9706
|
+
| { name: 'StartDestroy'; params: { id: StagingXcmV5Location } }
|
|
10134
9707
|
/**
|
|
10135
9708
|
* Destroy all accounts associated with a given asset.
|
|
10136
9709
|
*
|
|
@@ -10145,7 +9718,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10145
9718
|
*
|
|
10146
9719
|
* Each call emits the `Event::DestroyedAccounts` event.
|
|
10147
9720
|
**/
|
|
10148
|
-
| { name: 'DestroyAccounts'; params: { id:
|
|
9721
|
+
| { name: 'DestroyAccounts'; params: { id: StagingXcmV5Location } }
|
|
10149
9722
|
/**
|
|
10150
9723
|
* Destroy all approvals associated with a given asset up to the max (T::RemoveItemsLimit).
|
|
10151
9724
|
*
|
|
@@ -10160,7 +9733,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10160
9733
|
*
|
|
10161
9734
|
* Each call emits the `Event::DestroyedApprovals` event.
|
|
10162
9735
|
**/
|
|
10163
|
-
| { name: 'DestroyApprovals'; params: { id:
|
|
9736
|
+
| { name: 'DestroyApprovals'; params: { id: StagingXcmV5Location } }
|
|
10164
9737
|
/**
|
|
10165
9738
|
* Complete destroying asset and unreserve currency.
|
|
10166
9739
|
*
|
|
@@ -10173,7 +9746,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10173
9746
|
*
|
|
10174
9747
|
* Each successful call emits the `Event::Destroyed` event.
|
|
10175
9748
|
**/
|
|
10176
|
-
| { name: 'FinishDestroy'; params: { id:
|
|
9749
|
+
| { name: 'FinishDestroy'; params: { id: StagingXcmV5Location } }
|
|
10177
9750
|
/**
|
|
10178
9751
|
* Mint assets of a particular class.
|
|
10179
9752
|
*
|
|
@@ -10188,7 +9761,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10188
9761
|
* Weight: `O(1)`
|
|
10189
9762
|
* Modes: Pre-existing balance of `beneficiary`; Account pre-existence of `beneficiary`.
|
|
10190
9763
|
**/
|
|
10191
|
-
| { name: 'Mint'; params: { id:
|
|
9764
|
+
| { name: 'Mint'; params: { id: StagingXcmV5Location; beneficiary: MultiAddressLike; amount: bigint } }
|
|
10192
9765
|
/**
|
|
10193
9766
|
* Reduce the balance of `who` by as much as possible up to `amount` assets of `id`.
|
|
10194
9767
|
*
|
|
@@ -10206,7 +9779,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10206
9779
|
* Weight: `O(1)`
|
|
10207
9780
|
* Modes: Post-existence of `who`; Pre & post Zombie-status of `who`.
|
|
10208
9781
|
**/
|
|
10209
|
-
| { name: 'Burn'; params: { id:
|
|
9782
|
+
| { name: 'Burn'; params: { id: StagingXcmV5Location; who: MultiAddressLike; amount: bigint } }
|
|
10210
9783
|
/**
|
|
10211
9784
|
* Move some assets from the sender account to another.
|
|
10212
9785
|
*
|
|
@@ -10227,7 +9800,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10227
9800
|
* Modes: Pre-existence of `target`; Post-existence of sender; Account pre-existence of
|
|
10228
9801
|
* `target`.
|
|
10229
9802
|
**/
|
|
10230
|
-
| { name: 'Transfer'; params: { id:
|
|
9803
|
+
| { name: 'Transfer'; params: { id: StagingXcmV5Location; target: MultiAddressLike; amount: bigint } }
|
|
10231
9804
|
/**
|
|
10232
9805
|
* Move some assets from the sender account to another, keeping the sender account alive.
|
|
10233
9806
|
*
|
|
@@ -10248,7 +9821,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10248
9821
|
* Modes: Pre-existence of `target`; Post-existence of sender; Account pre-existence of
|
|
10249
9822
|
* `target`.
|
|
10250
9823
|
**/
|
|
10251
|
-
| { name: 'TransferKeepAlive'; params: { id:
|
|
9824
|
+
| { name: 'TransferKeepAlive'; params: { id: StagingXcmV5Location; target: MultiAddressLike; amount: bigint } }
|
|
10252
9825
|
/**
|
|
10253
9826
|
* Move some assets from one account to another.
|
|
10254
9827
|
*
|
|
@@ -10272,7 +9845,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10272
9845
|
**/
|
|
10273
9846
|
| {
|
|
10274
9847
|
name: 'ForceTransfer';
|
|
10275
|
-
params: { id:
|
|
9848
|
+
params: { id: StagingXcmV5Location; source: MultiAddressLike; dest: MultiAddressLike; amount: bigint };
|
|
10276
9849
|
}
|
|
10277
9850
|
/**
|
|
10278
9851
|
* Disallow further unprivileged transfers of an asset `id` from an account `who`. `who`
|
|
@@ -10288,7 +9861,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10288
9861
|
*
|
|
10289
9862
|
* Weight: `O(1)`
|
|
10290
9863
|
**/
|
|
10291
|
-
| { name: 'Freeze'; params: { id:
|
|
9864
|
+
| { name: 'Freeze'; params: { id: StagingXcmV5Location; who: MultiAddressLike } }
|
|
10292
9865
|
/**
|
|
10293
9866
|
* Allow unprivileged transfers to and from an account again.
|
|
10294
9867
|
*
|
|
@@ -10301,7 +9874,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10301
9874
|
*
|
|
10302
9875
|
* Weight: `O(1)`
|
|
10303
9876
|
**/
|
|
10304
|
-
| { name: 'Thaw'; params: { id:
|
|
9877
|
+
| { name: 'Thaw'; params: { id: StagingXcmV5Location; who: MultiAddressLike } }
|
|
10305
9878
|
/**
|
|
10306
9879
|
* Disallow further unprivileged transfers for the asset class.
|
|
10307
9880
|
*
|
|
@@ -10313,7 +9886,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10313
9886
|
*
|
|
10314
9887
|
* Weight: `O(1)`
|
|
10315
9888
|
**/
|
|
10316
|
-
| { name: 'FreezeAsset'; params: { id:
|
|
9889
|
+
| { name: 'FreezeAsset'; params: { id: StagingXcmV5Location } }
|
|
10317
9890
|
/**
|
|
10318
9891
|
* Allow unprivileged transfers for the asset again.
|
|
10319
9892
|
*
|
|
@@ -10325,7 +9898,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10325
9898
|
*
|
|
10326
9899
|
* Weight: `O(1)`
|
|
10327
9900
|
**/
|
|
10328
|
-
| { name: 'ThawAsset'; params: { id:
|
|
9901
|
+
| { name: 'ThawAsset'; params: { id: StagingXcmV5Location } }
|
|
10329
9902
|
/**
|
|
10330
9903
|
* Change the Owner of an asset.
|
|
10331
9904
|
*
|
|
@@ -10338,7 +9911,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10338
9911
|
*
|
|
10339
9912
|
* Weight: `O(1)`
|
|
10340
9913
|
**/
|
|
10341
|
-
| { name: 'TransferOwnership'; params: { id:
|
|
9914
|
+
| { name: 'TransferOwnership'; params: { id: StagingXcmV5Location; owner: MultiAddressLike } }
|
|
10342
9915
|
/**
|
|
10343
9916
|
* Change the Issuer, Admin and Freezer of an asset.
|
|
10344
9917
|
*
|
|
@@ -10356,7 +9929,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10356
9929
|
| {
|
|
10357
9930
|
name: 'SetTeam';
|
|
10358
9931
|
params: {
|
|
10359
|
-
id:
|
|
9932
|
+
id: StagingXcmV5Location;
|
|
10360
9933
|
issuer: MultiAddressLike;
|
|
10361
9934
|
admin: MultiAddressLike;
|
|
10362
9935
|
freezer: MultiAddressLike;
|
|
@@ -10380,7 +9953,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10380
9953
|
*
|
|
10381
9954
|
* Weight: `O(1)`
|
|
10382
9955
|
**/
|
|
10383
|
-
| { name: 'SetMetadata'; params: { id:
|
|
9956
|
+
| { name: 'SetMetadata'; params: { id: StagingXcmV5Location; name: BytesLike; symbol: BytesLike; decimals: number } }
|
|
10384
9957
|
/**
|
|
10385
9958
|
* Clear the metadata for an asset.
|
|
10386
9959
|
*
|
|
@@ -10394,7 +9967,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10394
9967
|
*
|
|
10395
9968
|
* Weight: `O(1)`
|
|
10396
9969
|
**/
|
|
10397
|
-
| { name: 'ClearMetadata'; params: { id:
|
|
9970
|
+
| { name: 'ClearMetadata'; params: { id: StagingXcmV5Location } }
|
|
10398
9971
|
/**
|
|
10399
9972
|
* Force the metadata for an asset to some value.
|
|
10400
9973
|
*
|
|
@@ -10413,7 +9986,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10413
9986
|
**/
|
|
10414
9987
|
| {
|
|
10415
9988
|
name: 'ForceSetMetadata';
|
|
10416
|
-
params: { id:
|
|
9989
|
+
params: { id: StagingXcmV5Location; name: BytesLike; symbol: BytesLike; decimals: number; isFrozen: boolean };
|
|
10417
9990
|
}
|
|
10418
9991
|
/**
|
|
10419
9992
|
* Clear the metadata for an asset.
|
|
@@ -10428,7 +10001,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10428
10001
|
*
|
|
10429
10002
|
* Weight: `O(1)`
|
|
10430
10003
|
**/
|
|
10431
|
-
| { name: 'ForceClearMetadata'; params: { id:
|
|
10004
|
+
| { name: 'ForceClearMetadata'; params: { id: StagingXcmV5Location } }
|
|
10432
10005
|
/**
|
|
10433
10006
|
* Alter the attributes of a given asset.
|
|
10434
10007
|
*
|
|
@@ -10456,7 +10029,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10456
10029
|
| {
|
|
10457
10030
|
name: 'ForceAssetStatus';
|
|
10458
10031
|
params: {
|
|
10459
|
-
id:
|
|
10032
|
+
id: StagingXcmV5Location;
|
|
10460
10033
|
owner: MultiAddressLike;
|
|
10461
10034
|
issuer: MultiAddressLike;
|
|
10462
10035
|
admin: MultiAddressLike;
|
|
@@ -10488,7 +10061,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10488
10061
|
*
|
|
10489
10062
|
* Weight: `O(1)`
|
|
10490
10063
|
**/
|
|
10491
|
-
| { name: 'ApproveTransfer'; params: { id:
|
|
10064
|
+
| { name: 'ApproveTransfer'; params: { id: StagingXcmV5Location; delegate: MultiAddressLike; amount: bigint } }
|
|
10492
10065
|
/**
|
|
10493
10066
|
* Cancel all of some asset approved for delegated transfer by a third-party account.
|
|
10494
10067
|
*
|
|
@@ -10504,7 +10077,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10504
10077
|
*
|
|
10505
10078
|
* Weight: `O(1)`
|
|
10506
10079
|
**/
|
|
10507
|
-
| { name: 'CancelApproval'; params: { id:
|
|
10080
|
+
| { name: 'CancelApproval'; params: { id: StagingXcmV5Location; delegate: MultiAddressLike } }
|
|
10508
10081
|
/**
|
|
10509
10082
|
* Cancel all of some asset approved for delegated transfer by a third-party account.
|
|
10510
10083
|
*
|
|
@@ -10522,7 +10095,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10522
10095
|
**/
|
|
10523
10096
|
| {
|
|
10524
10097
|
name: 'ForceCancelApproval';
|
|
10525
|
-
params: { id:
|
|
10098
|
+
params: { id: StagingXcmV5Location; owner: MultiAddressLike; delegate: MultiAddressLike };
|
|
10526
10099
|
}
|
|
10527
10100
|
/**
|
|
10528
10101
|
* Transfer some asset balance from a previously delegated account to some third-party
|
|
@@ -10546,7 +10119,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10546
10119
|
**/
|
|
10547
10120
|
| {
|
|
10548
10121
|
name: 'TransferApproved';
|
|
10549
|
-
params: { id:
|
|
10122
|
+
params: { id: StagingXcmV5Location; owner: MultiAddressLike; destination: MultiAddressLike; amount: bigint };
|
|
10550
10123
|
}
|
|
10551
10124
|
/**
|
|
10552
10125
|
* Create an asset account for non-provider assets.
|
|
@@ -10559,7 +10132,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10559
10132
|
*
|
|
10560
10133
|
* Emits `Touched` event when successful.
|
|
10561
10134
|
**/
|
|
10562
|
-
| { name: 'Touch'; params: { id:
|
|
10135
|
+
| { name: 'Touch'; params: { id: StagingXcmV5Location } }
|
|
10563
10136
|
/**
|
|
10564
10137
|
* Return the deposit (if any) of an asset account or a consumer reference (if any) of an
|
|
10565
10138
|
* account.
|
|
@@ -10575,7 +10148,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10575
10148
|
*
|
|
10576
10149
|
* Emits `Refunded` event when successful.
|
|
10577
10150
|
**/
|
|
10578
|
-
| { name: 'Refund'; params: { id:
|
|
10151
|
+
| { name: 'Refund'; params: { id: StagingXcmV5Location; allowBurn: boolean } }
|
|
10579
10152
|
/**
|
|
10580
10153
|
* Sets the minimum balance of an asset.
|
|
10581
10154
|
*
|
|
@@ -10590,7 +10163,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10590
10163
|
*
|
|
10591
10164
|
* Emits `AssetMinBalanceChanged` event when successful.
|
|
10592
10165
|
**/
|
|
10593
|
-
| { name: 'SetMinBalance'; params: { id:
|
|
10166
|
+
| { name: 'SetMinBalance'; params: { id: StagingXcmV5Location; minBalance: bigint } }
|
|
10594
10167
|
/**
|
|
10595
10168
|
* Create an asset account for `who`.
|
|
10596
10169
|
*
|
|
@@ -10603,7 +10176,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10603
10176
|
*
|
|
10604
10177
|
* Emits `Touched` event when successful.
|
|
10605
10178
|
**/
|
|
10606
|
-
| { name: 'TouchOther'; params: { id:
|
|
10179
|
+
| { name: 'TouchOther'; params: { id: StagingXcmV5Location; who: MultiAddressLike } }
|
|
10607
10180
|
/**
|
|
10608
10181
|
* Return the deposit (if any) of a target asset account. Useful if you are the depositor.
|
|
10609
10182
|
*
|
|
@@ -10619,7 +10192,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10619
10192
|
*
|
|
10620
10193
|
* Emits `Refunded` event when successful.
|
|
10621
10194
|
**/
|
|
10622
|
-
| { name: 'RefundOther'; params: { id:
|
|
10195
|
+
| { name: 'RefundOther'; params: { id: StagingXcmV5Location; who: MultiAddressLike } }
|
|
10623
10196
|
/**
|
|
10624
10197
|
* Disallow further unprivileged transfers of an asset `id` to and from an account `who`.
|
|
10625
10198
|
*
|
|
@@ -10632,7 +10205,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10632
10205
|
*
|
|
10633
10206
|
* Weight: `O(1)`
|
|
10634
10207
|
**/
|
|
10635
|
-
| { name: 'Block'; params: { id:
|
|
10208
|
+
| { name: 'Block'; params: { id: StagingXcmV5Location; who: MultiAddressLike } }
|
|
10636
10209
|
/**
|
|
10637
10210
|
* Transfer the entire transferable balance from the caller asset account.
|
|
10638
10211
|
*
|
|
@@ -10651,7 +10224,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10651
10224
|
* (false), or transfer everything except at least the minimum balance, which will
|
|
10652
10225
|
* guarantee to keep the sender asset account alive (true).
|
|
10653
10226
|
**/
|
|
10654
|
-
| { name: 'TransferAll'; params: { id:
|
|
10227
|
+
| { name: 'TransferAll'; params: { id: StagingXcmV5Location; dest: MultiAddressLike; keepAlive: boolean } };
|
|
10655
10228
|
|
|
10656
10229
|
/**
|
|
10657
10230
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -11802,7 +11375,7 @@ export type PalletAssetConversionCall =
|
|
|
11802
11375
|
*
|
|
11803
11376
|
* Once a pool is created, someone may [`Pallet::add_liquidity`] to it.
|
|
11804
11377
|
**/
|
|
11805
|
-
| { name: 'CreatePool'; params: { asset1:
|
|
11378
|
+
| { name: 'CreatePool'; params: { asset1: StagingXcmV5Location; asset2: StagingXcmV5Location } }
|
|
11806
11379
|
/**
|
|
11807
11380
|
* Provide liquidity into the pool of `asset1` and `asset2`.
|
|
11808
11381
|
* NOTE: an optimal amount of asset1 and asset2 will be calculated and
|
|
@@ -11822,8 +11395,8 @@ export type PalletAssetConversionCall =
|
|
|
11822
11395
|
| {
|
|
11823
11396
|
name: 'AddLiquidity';
|
|
11824
11397
|
params: {
|
|
11825
|
-
asset1:
|
|
11826
|
-
asset2:
|
|
11398
|
+
asset1: StagingXcmV5Location;
|
|
11399
|
+
asset2: StagingXcmV5Location;
|
|
11827
11400
|
amount1Desired: bigint;
|
|
11828
11401
|
amount2Desired: bigint;
|
|
11829
11402
|
amount1Min: bigint;
|
|
@@ -11839,8 +11412,8 @@ export type PalletAssetConversionCall =
|
|
|
11839
11412
|
| {
|
|
11840
11413
|
name: 'RemoveLiquidity';
|
|
11841
11414
|
params: {
|
|
11842
|
-
asset1:
|
|
11843
|
-
asset2:
|
|
11415
|
+
asset1: StagingXcmV5Location;
|
|
11416
|
+
asset2: StagingXcmV5Location;
|
|
11844
11417
|
lpTokenBurn: bigint;
|
|
11845
11418
|
amount1MinReceive: bigint;
|
|
11846
11419
|
amount2MinReceive: bigint;
|
|
@@ -11858,7 +11431,7 @@ export type PalletAssetConversionCall =
|
|
|
11858
11431
|
| {
|
|
11859
11432
|
name: 'SwapExactTokensForTokens';
|
|
11860
11433
|
params: {
|
|
11861
|
-
path: Array<
|
|
11434
|
+
path: Array<StagingXcmV5Location>;
|
|
11862
11435
|
amountIn: bigint;
|
|
11863
11436
|
amountOutMin: bigint;
|
|
11864
11437
|
sendTo: AccountId32;
|
|
@@ -11876,7 +11449,7 @@ export type PalletAssetConversionCall =
|
|
|
11876
11449
|
| {
|
|
11877
11450
|
name: 'SwapTokensForExactTokens';
|
|
11878
11451
|
params: {
|
|
11879
|
-
path: Array<
|
|
11452
|
+
path: Array<StagingXcmV5Location>;
|
|
11880
11453
|
amountOut: bigint;
|
|
11881
11454
|
amountInMax: bigint;
|
|
11882
11455
|
sendTo: AccountId32;
|
|
@@ -11896,7 +11469,7 @@ export type PalletAssetConversionCall =
|
|
|
11896
11469
|
*
|
|
11897
11470
|
* Emits `Touched` event when successful.
|
|
11898
11471
|
**/
|
|
11899
|
-
| { name: 'Touch'; params: { asset1:
|
|
11472
|
+
| { name: 'Touch'; params: { asset1: StagingXcmV5Location; asset2: StagingXcmV5Location } };
|
|
11900
11473
|
|
|
11901
11474
|
export type PalletAssetConversionCallLike =
|
|
11902
11475
|
/**
|
|
@@ -11905,7 +11478,7 @@ export type PalletAssetConversionCallLike =
|
|
|
11905
11478
|
*
|
|
11906
11479
|
* Once a pool is created, someone may [`Pallet::add_liquidity`] to it.
|
|
11907
11480
|
**/
|
|
11908
|
-
| { name: 'CreatePool'; params: { asset1:
|
|
11481
|
+
| { name: 'CreatePool'; params: { asset1: StagingXcmV5Location; asset2: StagingXcmV5Location } }
|
|
11909
11482
|
/**
|
|
11910
11483
|
* Provide liquidity into the pool of `asset1` and `asset2`.
|
|
11911
11484
|
* NOTE: an optimal amount of asset1 and asset2 will be calculated and
|
|
@@ -11925,8 +11498,8 @@ export type PalletAssetConversionCallLike =
|
|
|
11925
11498
|
| {
|
|
11926
11499
|
name: 'AddLiquidity';
|
|
11927
11500
|
params: {
|
|
11928
|
-
asset1:
|
|
11929
|
-
asset2:
|
|
11501
|
+
asset1: StagingXcmV5Location;
|
|
11502
|
+
asset2: StagingXcmV5Location;
|
|
11930
11503
|
amount1Desired: bigint;
|
|
11931
11504
|
amount2Desired: bigint;
|
|
11932
11505
|
amount1Min: bigint;
|
|
@@ -11942,8 +11515,8 @@ export type PalletAssetConversionCallLike =
|
|
|
11942
11515
|
| {
|
|
11943
11516
|
name: 'RemoveLiquidity';
|
|
11944
11517
|
params: {
|
|
11945
|
-
asset1:
|
|
11946
|
-
asset2:
|
|
11518
|
+
asset1: StagingXcmV5Location;
|
|
11519
|
+
asset2: StagingXcmV5Location;
|
|
11947
11520
|
lpTokenBurn: bigint;
|
|
11948
11521
|
amount1MinReceive: bigint;
|
|
11949
11522
|
amount2MinReceive: bigint;
|
|
@@ -11951,239 +11524,944 @@ export type PalletAssetConversionCallLike =
|
|
|
11951
11524
|
};
|
|
11952
11525
|
}
|
|
11953
11526
|
/**
|
|
11954
|
-
* Swap the exact amount of `asset1` into `asset2`.
|
|
11955
|
-
* `amount_out_min` param allows you to specify the min amount of the `asset2`
|
|
11956
|
-
* you're happy to receive.
|
|
11957
|
-
*
|
|
11958
|
-
* [`AssetConversionApi::quote_price_exact_tokens_for_tokens`] runtime call can be called
|
|
11959
|
-
* for a quote.
|
|
11527
|
+
* Swap the exact amount of `asset1` into `asset2`.
|
|
11528
|
+
* `amount_out_min` param allows you to specify the min amount of the `asset2`
|
|
11529
|
+
* you're happy to receive.
|
|
11530
|
+
*
|
|
11531
|
+
* [`AssetConversionApi::quote_price_exact_tokens_for_tokens`] runtime call can be called
|
|
11532
|
+
* for a quote.
|
|
11533
|
+
**/
|
|
11534
|
+
| {
|
|
11535
|
+
name: 'SwapExactTokensForTokens';
|
|
11536
|
+
params: {
|
|
11537
|
+
path: Array<StagingXcmV5Location>;
|
|
11538
|
+
amountIn: bigint;
|
|
11539
|
+
amountOutMin: bigint;
|
|
11540
|
+
sendTo: AccountId32Like;
|
|
11541
|
+
keepAlive: boolean;
|
|
11542
|
+
};
|
|
11543
|
+
}
|
|
11544
|
+
/**
|
|
11545
|
+
* Swap any amount of `asset1` to get the exact amount of `asset2`.
|
|
11546
|
+
* `amount_in_max` param allows to specify the max amount of the `asset1`
|
|
11547
|
+
* you're happy to provide.
|
|
11548
|
+
*
|
|
11549
|
+
* [`AssetConversionApi::quote_price_tokens_for_exact_tokens`] runtime call can be called
|
|
11550
|
+
* for a quote.
|
|
11551
|
+
**/
|
|
11552
|
+
| {
|
|
11553
|
+
name: 'SwapTokensForExactTokens';
|
|
11554
|
+
params: {
|
|
11555
|
+
path: Array<StagingXcmV5Location>;
|
|
11556
|
+
amountOut: bigint;
|
|
11557
|
+
amountInMax: bigint;
|
|
11558
|
+
sendTo: AccountId32Like;
|
|
11559
|
+
keepAlive: boolean;
|
|
11560
|
+
};
|
|
11561
|
+
}
|
|
11562
|
+
/**
|
|
11563
|
+
* Touch an existing pool to fulfill prerequisites before providing liquidity, such as
|
|
11564
|
+
* ensuring that the pool's accounts are in place. It is typically useful when a pool
|
|
11565
|
+
* creator removes the pool's accounts and does not provide a liquidity. This action may
|
|
11566
|
+
* involve holding assets from the caller as a deposit for creating the pool's accounts.
|
|
11567
|
+
*
|
|
11568
|
+
* The origin must be Signed.
|
|
11569
|
+
*
|
|
11570
|
+
* - `asset1`: The asset ID of an existing pool with a pair (asset1, asset2).
|
|
11571
|
+
* - `asset2`: The asset ID of an existing pool with a pair (asset1, asset2).
|
|
11572
|
+
*
|
|
11573
|
+
* Emits `Touched` event when successful.
|
|
11574
|
+
**/
|
|
11575
|
+
| { name: 'Touch'; params: { asset1: StagingXcmV5Location; asset2: StagingXcmV5Location } };
|
|
11576
|
+
|
|
11577
|
+
/**
|
|
11578
|
+
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
11579
|
+
**/
|
|
11580
|
+
export type PalletStateTrieMigrationCall =
|
|
11581
|
+
/**
|
|
11582
|
+
* Control the automatic migration.
|
|
11583
|
+
*
|
|
11584
|
+
* The dispatch origin of this call must be [`Config::ControlOrigin`].
|
|
11585
|
+
**/
|
|
11586
|
+
| { name: 'ControlAutoMigration'; params: { maybeConfig?: PalletStateTrieMigrationMigrationLimits | undefined } }
|
|
11587
|
+
/**
|
|
11588
|
+
* Continue the migration for the given `limits`.
|
|
11589
|
+
*
|
|
11590
|
+
* The dispatch origin of this call can be any signed account.
|
|
11591
|
+
*
|
|
11592
|
+
* This transaction has NO MONETARY INCENTIVES. calling it will not reward anyone. Albeit,
|
|
11593
|
+
* Upon successful execution, the transaction fee is returned.
|
|
11594
|
+
*
|
|
11595
|
+
* The (potentially over-estimated) of the byte length of all the data read must be
|
|
11596
|
+
* provided for up-front fee-payment and weighing. In essence, the caller is guaranteeing
|
|
11597
|
+
* that executing the current `MigrationTask` with the given `limits` will not exceed
|
|
11598
|
+
* `real_size_upper` bytes of read data.
|
|
11599
|
+
*
|
|
11600
|
+
* The `witness_task` is merely a helper to prevent the caller from being slashed or
|
|
11601
|
+
* generally trigger a migration that they do not intend. This parameter is just a message
|
|
11602
|
+
* from caller, saying that they believed `witness_task` was the last state of the
|
|
11603
|
+
* migration, and they only wish for their transaction to do anything, if this assumption
|
|
11604
|
+
* holds. In case `witness_task` does not match, the transaction fails.
|
|
11605
|
+
*
|
|
11606
|
+
* Based on the documentation of [`MigrationTask::migrate_until_exhaustion`], the
|
|
11607
|
+
* recommended way of doing this is to pass a `limit` that only bounds `count`, as the
|
|
11608
|
+
* `size` limit can always be overwritten.
|
|
11609
|
+
**/
|
|
11610
|
+
| {
|
|
11611
|
+
name: 'ContinueMigrate';
|
|
11612
|
+
params: {
|
|
11613
|
+
limits: PalletStateTrieMigrationMigrationLimits;
|
|
11614
|
+
realSizeUpper: number;
|
|
11615
|
+
witnessTask: PalletStateTrieMigrationMigrationTask;
|
|
11616
|
+
};
|
|
11617
|
+
}
|
|
11618
|
+
/**
|
|
11619
|
+
* Migrate the list of top keys by iterating each of them one by one.
|
|
11620
|
+
*
|
|
11621
|
+
* This does not affect the global migration process tracker ([`MigrationProcess`]), and
|
|
11622
|
+
* should only be used in case any keys are leftover due to a bug.
|
|
11623
|
+
**/
|
|
11624
|
+
| { name: 'MigrateCustomTop'; params: { keys: Array<Bytes>; witnessSize: number } }
|
|
11625
|
+
/**
|
|
11626
|
+
* Migrate the list of child keys by iterating each of them one by one.
|
|
11627
|
+
*
|
|
11628
|
+
* All of the given child keys must be present under one `child_root`.
|
|
11629
|
+
*
|
|
11630
|
+
* This does not affect the global migration process tracker ([`MigrationProcess`]), and
|
|
11631
|
+
* should only be used in case any keys are leftover due to a bug.
|
|
11632
|
+
**/
|
|
11633
|
+
| { name: 'MigrateCustomChild'; params: { root: Bytes; childKeys: Array<Bytes>; totalSize: number } }
|
|
11634
|
+
/**
|
|
11635
|
+
* Set the maximum limit of the signed migration.
|
|
11636
|
+
**/
|
|
11637
|
+
| { name: 'SetSignedMaxLimits'; params: { limits: PalletStateTrieMigrationMigrationLimits } }
|
|
11638
|
+
/**
|
|
11639
|
+
* Forcefully set the progress the running migration.
|
|
11640
|
+
*
|
|
11641
|
+
* This is only useful in one case: the next key to migrate is too big to be migrated with
|
|
11642
|
+
* a signed account, in a parachain context, and we simply want to skip it. A reasonable
|
|
11643
|
+
* example of this would be `:code:`, which is both very expensive to migrate, and commonly
|
|
11644
|
+
* used, so probably it is already migrated.
|
|
11645
|
+
*
|
|
11646
|
+
* In case you mess things up, you can also, in principle, use this to reset the migration
|
|
11647
|
+
* process.
|
|
11648
|
+
**/
|
|
11649
|
+
| {
|
|
11650
|
+
name: 'ForceSetProgress';
|
|
11651
|
+
params: { progressTop: PalletStateTrieMigrationProgress; progressChild: PalletStateTrieMigrationProgress };
|
|
11652
|
+
};
|
|
11653
|
+
|
|
11654
|
+
export type PalletStateTrieMigrationCallLike =
|
|
11655
|
+
/**
|
|
11656
|
+
* Control the automatic migration.
|
|
11657
|
+
*
|
|
11658
|
+
* The dispatch origin of this call must be [`Config::ControlOrigin`].
|
|
11659
|
+
**/
|
|
11660
|
+
| { name: 'ControlAutoMigration'; params: { maybeConfig?: PalletStateTrieMigrationMigrationLimits | undefined } }
|
|
11661
|
+
/**
|
|
11662
|
+
* Continue the migration for the given `limits`.
|
|
11663
|
+
*
|
|
11664
|
+
* The dispatch origin of this call can be any signed account.
|
|
11665
|
+
*
|
|
11666
|
+
* This transaction has NO MONETARY INCENTIVES. calling it will not reward anyone. Albeit,
|
|
11667
|
+
* Upon successful execution, the transaction fee is returned.
|
|
11668
|
+
*
|
|
11669
|
+
* The (potentially over-estimated) of the byte length of all the data read must be
|
|
11670
|
+
* provided for up-front fee-payment and weighing. In essence, the caller is guaranteeing
|
|
11671
|
+
* that executing the current `MigrationTask` with the given `limits` will not exceed
|
|
11672
|
+
* `real_size_upper` bytes of read data.
|
|
11673
|
+
*
|
|
11674
|
+
* The `witness_task` is merely a helper to prevent the caller from being slashed or
|
|
11675
|
+
* generally trigger a migration that they do not intend. This parameter is just a message
|
|
11676
|
+
* from caller, saying that they believed `witness_task` was the last state of the
|
|
11677
|
+
* migration, and they only wish for their transaction to do anything, if this assumption
|
|
11678
|
+
* holds. In case `witness_task` does not match, the transaction fails.
|
|
11679
|
+
*
|
|
11680
|
+
* Based on the documentation of [`MigrationTask::migrate_until_exhaustion`], the
|
|
11681
|
+
* recommended way of doing this is to pass a `limit` that only bounds `count`, as the
|
|
11682
|
+
* `size` limit can always be overwritten.
|
|
11683
|
+
**/
|
|
11684
|
+
| {
|
|
11685
|
+
name: 'ContinueMigrate';
|
|
11686
|
+
params: {
|
|
11687
|
+
limits: PalletStateTrieMigrationMigrationLimits;
|
|
11688
|
+
realSizeUpper: number;
|
|
11689
|
+
witnessTask: PalletStateTrieMigrationMigrationTask;
|
|
11690
|
+
};
|
|
11691
|
+
}
|
|
11692
|
+
/**
|
|
11693
|
+
* Migrate the list of top keys by iterating each of them one by one.
|
|
11694
|
+
*
|
|
11695
|
+
* This does not affect the global migration process tracker ([`MigrationProcess`]), and
|
|
11696
|
+
* should only be used in case any keys are leftover due to a bug.
|
|
11697
|
+
**/
|
|
11698
|
+
| { name: 'MigrateCustomTop'; params: { keys: Array<BytesLike>; witnessSize: number } }
|
|
11699
|
+
/**
|
|
11700
|
+
* Migrate the list of child keys by iterating each of them one by one.
|
|
11701
|
+
*
|
|
11702
|
+
* All of the given child keys must be present under one `child_root`.
|
|
11703
|
+
*
|
|
11704
|
+
* This does not affect the global migration process tracker ([`MigrationProcess`]), and
|
|
11705
|
+
* should only be used in case any keys are leftover due to a bug.
|
|
11706
|
+
**/
|
|
11707
|
+
| { name: 'MigrateCustomChild'; params: { root: BytesLike; childKeys: Array<BytesLike>; totalSize: number } }
|
|
11708
|
+
/**
|
|
11709
|
+
* Set the maximum limit of the signed migration.
|
|
11710
|
+
**/
|
|
11711
|
+
| { name: 'SetSignedMaxLimits'; params: { limits: PalletStateTrieMigrationMigrationLimits } }
|
|
11712
|
+
/**
|
|
11713
|
+
* Forcefully set the progress the running migration.
|
|
11714
|
+
*
|
|
11715
|
+
* This is only useful in one case: the next key to migrate is too big to be migrated with
|
|
11716
|
+
* a signed account, in a parachain context, and we simply want to skip it. A reasonable
|
|
11717
|
+
* example of this would be `:code:`, which is both very expensive to migrate, and commonly
|
|
11718
|
+
* used, so probably it is already migrated.
|
|
11719
|
+
*
|
|
11720
|
+
* In case you mess things up, you can also, in principle, use this to reset the migration
|
|
11721
|
+
* process.
|
|
11722
|
+
**/
|
|
11723
|
+
| {
|
|
11724
|
+
name: 'ForceSetProgress';
|
|
11725
|
+
params: { progressTop: PalletStateTrieMigrationProgress; progressChild: PalletStateTrieMigrationProgress };
|
|
11726
|
+
};
|
|
11727
|
+
|
|
11728
|
+
export type PalletStateTrieMigrationMigrationLimits = { size: number; item: number };
|
|
11729
|
+
|
|
11730
|
+
export type PalletStateTrieMigrationMigrationTask = {
|
|
11731
|
+
progressTop: PalletStateTrieMigrationProgress;
|
|
11732
|
+
progressChild: PalletStateTrieMigrationProgress;
|
|
11733
|
+
size: number;
|
|
11734
|
+
topItems: number;
|
|
11735
|
+
childItems: number;
|
|
11736
|
+
};
|
|
11737
|
+
|
|
11738
|
+
export type PalletStateTrieMigrationProgress =
|
|
11739
|
+
| { type: 'ToStart' }
|
|
11740
|
+
| { type: 'LastKey'; value: Bytes }
|
|
11741
|
+
| { type: 'Complete' };
|
|
11742
|
+
|
|
11743
|
+
export type SpRuntimeBlakeTwo256 = {};
|
|
11744
|
+
|
|
11745
|
+
export type SpRuntimeBlock = { header: Header; extrinsics: Array<UncheckedExtrinsic> };
|
|
11746
|
+
|
|
11747
|
+
export type FrameSystemExtensionsCheckNonZeroSender = {};
|
|
11748
|
+
|
|
11749
|
+
export type FrameSystemExtensionsCheckSpecVersion = {};
|
|
11750
|
+
|
|
11751
|
+
export type FrameSystemExtensionsCheckTxVersion = {};
|
|
11752
|
+
|
|
11753
|
+
export type FrameSystemExtensionsCheckGenesis = {};
|
|
11754
|
+
|
|
11755
|
+
export type FrameSystemExtensionsCheckMortality = Era;
|
|
11756
|
+
|
|
11757
|
+
export type FrameSystemExtensionsCheckNonce = number;
|
|
11758
|
+
|
|
11759
|
+
export type FrameSystemExtensionsCheckWeight = {};
|
|
11760
|
+
|
|
11761
|
+
export type PalletAssetConversionTxPaymentChargeAssetTxPayment = {
|
|
11762
|
+
tip: bigint;
|
|
11763
|
+
assetId?: StagingXcmV5Location | undefined;
|
|
11764
|
+
};
|
|
11765
|
+
|
|
11766
|
+
export type FrameMetadataHashExtensionCheckMetadataHash = { mode: FrameMetadataHashExtensionMode };
|
|
11767
|
+
|
|
11768
|
+
export type FrameMetadataHashExtensionMode = 'Disabled' | 'Enabled';
|
|
11769
|
+
|
|
11770
|
+
export type CumulusPalletParachainSystemUnincludedSegmentAncestor = {
|
|
11771
|
+
usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth;
|
|
11772
|
+
paraHeadHash?: H256 | undefined;
|
|
11773
|
+
consumedGoAheadSignal?: PolkadotPrimitivesV8UpgradeGoAhead | undefined;
|
|
11774
|
+
};
|
|
11775
|
+
|
|
11776
|
+
export type CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth = {
|
|
11777
|
+
umpMsgCount: number;
|
|
11778
|
+
umpTotalBytes: number;
|
|
11779
|
+
hrmpOutgoing: Array<
|
|
11780
|
+
[PolkadotParachainPrimitivesPrimitivesId, CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate]
|
|
11781
|
+
>;
|
|
11782
|
+
};
|
|
11783
|
+
|
|
11784
|
+
export type CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate = { msgCount: number; totalBytes: number };
|
|
11785
|
+
|
|
11786
|
+
export type PolkadotPrimitivesV8UpgradeGoAhead = 'Abort' | 'GoAhead';
|
|
11787
|
+
|
|
11788
|
+
export type CumulusPalletParachainSystemUnincludedSegmentSegmentTracker = {
|
|
11789
|
+
usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth;
|
|
11790
|
+
hrmpWatermark?: number | undefined;
|
|
11791
|
+
consumedGoAheadSignal?: PolkadotPrimitivesV8UpgradeGoAhead | undefined;
|
|
11792
|
+
};
|
|
11793
|
+
|
|
11794
|
+
export type PolkadotPrimitivesV8UpgradeRestriction = 'Present';
|
|
11795
|
+
|
|
11796
|
+
export type CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot = {
|
|
11797
|
+
dmqMqcHead: H256;
|
|
11798
|
+
relayDispatchQueueRemainingCapacity: CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity;
|
|
11799
|
+
ingressChannels: Array<[PolkadotParachainPrimitivesPrimitivesId, PolkadotPrimitivesV8AbridgedHrmpChannel]>;
|
|
11800
|
+
egressChannels: Array<[PolkadotParachainPrimitivesPrimitivesId, PolkadotPrimitivesV8AbridgedHrmpChannel]>;
|
|
11801
|
+
};
|
|
11802
|
+
|
|
11803
|
+
export type CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity = {
|
|
11804
|
+
remainingCount: number;
|
|
11805
|
+
remainingSize: number;
|
|
11806
|
+
};
|
|
11807
|
+
|
|
11808
|
+
export type PolkadotPrimitivesV8AbridgedHrmpChannel = {
|
|
11809
|
+
maxCapacity: number;
|
|
11810
|
+
maxTotalSize: number;
|
|
11811
|
+
maxMessageSize: number;
|
|
11812
|
+
msgCount: number;
|
|
11813
|
+
totalSize: number;
|
|
11814
|
+
mqcHead?: H256 | undefined;
|
|
11815
|
+
};
|
|
11816
|
+
|
|
11817
|
+
export type PolkadotPrimitivesV8AbridgedHostConfiguration = {
|
|
11818
|
+
maxCodeSize: number;
|
|
11819
|
+
maxHeadDataSize: number;
|
|
11820
|
+
maxUpwardQueueCount: number;
|
|
11821
|
+
maxUpwardQueueSize: number;
|
|
11822
|
+
maxUpwardMessageSize: number;
|
|
11823
|
+
maxUpwardMessageNumPerCandidate: number;
|
|
11824
|
+
hrmpMaxMessageNumPerCandidate: number;
|
|
11825
|
+
validationUpgradeCooldown: number;
|
|
11826
|
+
validationUpgradeDelay: number;
|
|
11827
|
+
asyncBackingParams: PolkadotPrimitivesV8AsyncBackingAsyncBackingParams;
|
|
11828
|
+
};
|
|
11829
|
+
|
|
11830
|
+
export type PolkadotPrimitivesV8AsyncBackingAsyncBackingParams = {
|
|
11831
|
+
maxCandidateDepth: number;
|
|
11832
|
+
allowedAncestryLen: number;
|
|
11833
|
+
};
|
|
11834
|
+
|
|
11835
|
+
export type CumulusPrimitivesParachainInherentMessageQueueChain = H256;
|
|
11836
|
+
|
|
11837
|
+
export type CumulusPalletParachainSystemParachainInherentInboundMessageId = { sentAt: number; reverseIdx: number };
|
|
11838
|
+
|
|
11839
|
+
export type PolkadotCorePrimitivesOutboundHrmpMessage = {
|
|
11840
|
+
recipient: PolkadotParachainPrimitivesPrimitivesId;
|
|
11841
|
+
data: Bytes;
|
|
11842
|
+
};
|
|
11843
|
+
|
|
11844
|
+
/**
|
|
11845
|
+
* The `Error` enum of this pallet.
|
|
11846
|
+
**/
|
|
11847
|
+
export type CumulusPalletParachainSystemError =
|
|
11848
|
+
/**
|
|
11849
|
+
* Attempt to upgrade validation function while existing upgrade pending.
|
|
11850
|
+
**/
|
|
11851
|
+
| 'OverlappingUpgrades'
|
|
11852
|
+
/**
|
|
11853
|
+
* Polkadot currently prohibits this parachain from upgrading its validation function.
|
|
11854
|
+
**/
|
|
11855
|
+
| 'ProhibitedByPolkadot'
|
|
11856
|
+
/**
|
|
11857
|
+
* The supplied validation function has compiled into a blob larger than Polkadot is
|
|
11858
|
+
* willing to run.
|
|
11859
|
+
**/
|
|
11860
|
+
| 'TooBig'
|
|
11861
|
+
/**
|
|
11862
|
+
* The inherent which supplies the validation data did not run this block.
|
|
11863
|
+
**/
|
|
11864
|
+
| 'ValidationDataNotAvailable'
|
|
11865
|
+
/**
|
|
11866
|
+
* The inherent which supplies the host configuration did not run this block.
|
|
11867
|
+
**/
|
|
11868
|
+
| 'HostConfigurationNotAvailable'
|
|
11869
|
+
/**
|
|
11870
|
+
* No validation function upgrade is currently scheduled.
|
|
11871
|
+
**/
|
|
11872
|
+
| 'NotScheduled';
|
|
11873
|
+
|
|
11874
|
+
export type PalletBalancesBalanceLock = { id: FixedBytes<8>; amount: bigint; reasons: PalletBalancesReasons };
|
|
11875
|
+
|
|
11876
|
+
export type PalletBalancesReasons = 'Fee' | 'Misc' | 'All';
|
|
11877
|
+
|
|
11878
|
+
export type PalletBalancesReserveData = { id: FixedBytes<8>; amount: bigint };
|
|
11879
|
+
|
|
11880
|
+
export type FrameSupportTokensMiscIdAmount = { id: AssetHubPolkadotRuntimeRuntimeHoldReason; amount: bigint };
|
|
11881
|
+
|
|
11882
|
+
export type AssetHubPolkadotRuntimeRuntimeHoldReason =
|
|
11883
|
+
| { type: 'Session'; value: PalletSessionHoldReason }
|
|
11884
|
+
| { type: 'PolkadotXcm'; value: PalletXcmHoldReason }
|
|
11885
|
+
| { type: 'StateTrieMigration'; value: PalletStateTrieMigrationHoldReason };
|
|
11886
|
+
|
|
11887
|
+
export type PalletSessionHoldReason = 'Keys';
|
|
11888
|
+
|
|
11889
|
+
export type PalletXcmHoldReason = 'AuthorizeAlias';
|
|
11890
|
+
|
|
11891
|
+
export type PalletStateTrieMigrationHoldReason = 'SlashForMigrate';
|
|
11892
|
+
|
|
11893
|
+
export type FrameSupportTokensMiscIdAmount002 = { id: []; amount: bigint };
|
|
11894
|
+
|
|
11895
|
+
/**
|
|
11896
|
+
* The `Error` enum of this pallet.
|
|
11897
|
+
**/
|
|
11898
|
+
export type PalletBalancesError =
|
|
11899
|
+
/**
|
|
11900
|
+
* Vesting balance too high to send value.
|
|
11901
|
+
**/
|
|
11902
|
+
| 'VestingBalance'
|
|
11903
|
+
/**
|
|
11904
|
+
* Account liquidity restrictions prevent withdrawal.
|
|
11905
|
+
**/
|
|
11906
|
+
| 'LiquidityRestrictions'
|
|
11907
|
+
/**
|
|
11908
|
+
* Balance too low to send value.
|
|
11909
|
+
**/
|
|
11910
|
+
| 'InsufficientBalance'
|
|
11911
|
+
/**
|
|
11912
|
+
* Value too low to create account due to existential deposit.
|
|
11913
|
+
**/
|
|
11914
|
+
| 'ExistentialDeposit'
|
|
11915
|
+
/**
|
|
11916
|
+
* Transfer/payment would kill account.
|
|
11917
|
+
**/
|
|
11918
|
+
| 'Expendability'
|
|
11919
|
+
/**
|
|
11920
|
+
* A vesting schedule already exists for this account.
|
|
11921
|
+
**/
|
|
11922
|
+
| 'ExistingVestingSchedule'
|
|
11923
|
+
/**
|
|
11924
|
+
* Beneficiary account must pre-exist.
|
|
11925
|
+
**/
|
|
11926
|
+
| 'DeadAccount'
|
|
11927
|
+
/**
|
|
11928
|
+
* Number of named reserves exceed `MaxReserves`.
|
|
11929
|
+
**/
|
|
11930
|
+
| 'TooManyReserves'
|
|
11931
|
+
/**
|
|
11932
|
+
* Number of holds exceed `VariantCountOf<T::RuntimeHoldReason>`.
|
|
11933
|
+
**/
|
|
11934
|
+
| 'TooManyHolds'
|
|
11935
|
+
/**
|
|
11936
|
+
* Number of freezes exceed `MaxFreezes`.
|
|
11937
|
+
**/
|
|
11938
|
+
| 'TooManyFreezes'
|
|
11939
|
+
/**
|
|
11940
|
+
* The issuance cannot be modified since it is already deactivated.
|
|
11941
|
+
**/
|
|
11942
|
+
| 'IssuanceDeactivated'
|
|
11943
|
+
/**
|
|
11944
|
+
* The delta cannot be zero.
|
|
11945
|
+
**/
|
|
11946
|
+
| 'DeltaZero';
|
|
11947
|
+
|
|
11948
|
+
export type PalletTransactionPaymentReleases = 'V1Ancient' | 'V2';
|
|
11949
|
+
|
|
11950
|
+
export type PalletVestingReleases = 'V0' | 'V1';
|
|
11951
|
+
|
|
11952
|
+
/**
|
|
11953
|
+
* Error for the vesting pallet.
|
|
11954
|
+
**/
|
|
11955
|
+
export type PalletVestingError =
|
|
11956
|
+
/**
|
|
11957
|
+
* The account given is not vesting.
|
|
11958
|
+
**/
|
|
11959
|
+
| 'NotVesting'
|
|
11960
|
+
/**
|
|
11961
|
+
* The account already has `MaxVestingSchedules` count of schedules and thus
|
|
11962
|
+
* cannot add another one. Consider merging existing schedules in order to add another.
|
|
11963
|
+
**/
|
|
11964
|
+
| 'AtMaxVestingSchedules'
|
|
11965
|
+
/**
|
|
11966
|
+
* Amount being transferred is too low to create a vesting schedule.
|
|
11967
|
+
**/
|
|
11968
|
+
| 'AmountLow'
|
|
11969
|
+
/**
|
|
11970
|
+
* An index was out of bounds of the vesting schedules.
|
|
11971
|
+
**/
|
|
11972
|
+
| 'ScheduleIndexOutOfBounds'
|
|
11973
|
+
/**
|
|
11974
|
+
* Failed to create a new schedule because some parameter was invalid.
|
|
11975
|
+
**/
|
|
11976
|
+
| 'InvalidScheduleParams';
|
|
11977
|
+
|
|
11978
|
+
export type PalletCollatorSelectionCandidateInfo = { who: AccountId32; deposit: bigint };
|
|
11979
|
+
|
|
11980
|
+
export type FrameSupportPalletId = FixedBytes<8>;
|
|
11981
|
+
|
|
11982
|
+
/**
|
|
11983
|
+
* The `Error` enum of this pallet.
|
|
11984
|
+
**/
|
|
11985
|
+
export type PalletCollatorSelectionError =
|
|
11986
|
+
/**
|
|
11987
|
+
* The pallet has too many candidates.
|
|
11988
|
+
**/
|
|
11989
|
+
| 'TooManyCandidates'
|
|
11990
|
+
/**
|
|
11991
|
+
* Leaving would result in too few candidates.
|
|
11992
|
+
**/
|
|
11993
|
+
| 'TooFewEligibleCollators'
|
|
11994
|
+
/**
|
|
11995
|
+
* Account is already a candidate.
|
|
11996
|
+
**/
|
|
11997
|
+
| 'AlreadyCandidate'
|
|
11998
|
+
/**
|
|
11999
|
+
* Account is not a candidate.
|
|
12000
|
+
**/
|
|
12001
|
+
| 'NotCandidate'
|
|
12002
|
+
/**
|
|
12003
|
+
* There are too many Invulnerables.
|
|
12004
|
+
**/
|
|
12005
|
+
| 'TooManyInvulnerables'
|
|
12006
|
+
/**
|
|
12007
|
+
* Account is already an Invulnerable.
|
|
12008
|
+
**/
|
|
12009
|
+
| 'AlreadyInvulnerable'
|
|
12010
|
+
/**
|
|
12011
|
+
* Account is not an Invulnerable.
|
|
12012
|
+
**/
|
|
12013
|
+
| 'NotInvulnerable'
|
|
12014
|
+
/**
|
|
12015
|
+
* Account has no associated validator ID.
|
|
12016
|
+
**/
|
|
12017
|
+
| 'NoAssociatedValidatorId'
|
|
12018
|
+
/**
|
|
12019
|
+
* Validator ID is not yet registered.
|
|
12020
|
+
**/
|
|
12021
|
+
| 'ValidatorNotRegistered'
|
|
12022
|
+
/**
|
|
12023
|
+
* Could not insert in the candidate list.
|
|
12024
|
+
**/
|
|
12025
|
+
| 'InsertToCandidateListFailed'
|
|
12026
|
+
/**
|
|
12027
|
+
* Could not remove from the candidate list.
|
|
12028
|
+
**/
|
|
12029
|
+
| 'RemoveFromCandidateListFailed'
|
|
12030
|
+
/**
|
|
12031
|
+
* New deposit amount would be below the minimum candidacy bond.
|
|
12032
|
+
**/
|
|
12033
|
+
| 'DepositTooLow'
|
|
12034
|
+
/**
|
|
12035
|
+
* Could not update the candidate list.
|
|
12036
|
+
**/
|
|
12037
|
+
| 'UpdateCandidateListFailed'
|
|
12038
|
+
/**
|
|
12039
|
+
* Deposit amount is too low to take the target's slot in the candidate list.
|
|
12040
|
+
**/
|
|
12041
|
+
| 'InsufficientBond'
|
|
12042
|
+
/**
|
|
12043
|
+
* The target account to be replaced in the candidate list is not a candidate.
|
|
12044
|
+
**/
|
|
12045
|
+
| 'TargetIsNotCandidate'
|
|
12046
|
+
/**
|
|
12047
|
+
* The updated deposit amount is equal to the amount already reserved.
|
|
12048
|
+
**/
|
|
12049
|
+
| 'IdenticalDeposit'
|
|
12050
|
+
/**
|
|
12051
|
+
* Cannot lower candidacy bond while occupying a future collator slot in the list.
|
|
12052
|
+
**/
|
|
12053
|
+
| 'InvalidUnreserve';
|
|
12054
|
+
|
|
12055
|
+
export type SpStakingOffenceOffenceSeverity = Perbill;
|
|
12056
|
+
|
|
12057
|
+
export type SpCoreCryptoKeyTypeId = FixedBytes<4>;
|
|
12058
|
+
|
|
12059
|
+
/**
|
|
12060
|
+
* Error for the session pallet.
|
|
12061
|
+
**/
|
|
12062
|
+
export type PalletSessionError =
|
|
12063
|
+
/**
|
|
12064
|
+
* Invalid ownership proof.
|
|
12065
|
+
**/
|
|
12066
|
+
| 'InvalidProof'
|
|
12067
|
+
/**
|
|
12068
|
+
* No associated validator ID for account.
|
|
12069
|
+
**/
|
|
12070
|
+
| 'NoAssociatedValidatorId'
|
|
12071
|
+
/**
|
|
12072
|
+
* Registered duplicate key.
|
|
12073
|
+
**/
|
|
12074
|
+
| 'DuplicatedKey'
|
|
12075
|
+
/**
|
|
12076
|
+
* No keys are associated with this account.
|
|
12077
|
+
**/
|
|
12078
|
+
| 'NoKeys'
|
|
12079
|
+
/**
|
|
12080
|
+
* Key setting account is not live, so it's impossible to associate keys.
|
|
12081
|
+
**/
|
|
12082
|
+
| 'NoAccount';
|
|
12083
|
+
|
|
12084
|
+
export type SpConsensusSlotsSlot = bigint;
|
|
12085
|
+
|
|
12086
|
+
export type CumulusPalletXcmpQueueOutboundChannelDetails = {
|
|
12087
|
+
recipient: PolkadotParachainPrimitivesPrimitivesId;
|
|
12088
|
+
state: CumulusPalletXcmpQueueOutboundState;
|
|
12089
|
+
signalsExist: boolean;
|
|
12090
|
+
firstIndex: number;
|
|
12091
|
+
lastIndex: number;
|
|
12092
|
+
};
|
|
12093
|
+
|
|
12094
|
+
export type CumulusPalletXcmpQueueOutboundState = 'Ok' | 'Suspended';
|
|
12095
|
+
|
|
12096
|
+
export type CumulusPalletXcmpQueueQueueConfigData = {
|
|
12097
|
+
suspendThreshold: number;
|
|
12098
|
+
dropThreshold: number;
|
|
12099
|
+
resumeThreshold: number;
|
|
12100
|
+
};
|
|
12101
|
+
|
|
12102
|
+
/**
|
|
12103
|
+
* The `Error` enum of this pallet.
|
|
12104
|
+
**/
|
|
12105
|
+
export type CumulusPalletXcmpQueueError =
|
|
12106
|
+
/**
|
|
12107
|
+
* Setting the queue config failed since one of its values was invalid.
|
|
12108
|
+
**/
|
|
12109
|
+
| 'BadQueueConfig'
|
|
12110
|
+
/**
|
|
12111
|
+
* The execution is already suspended.
|
|
12112
|
+
**/
|
|
12113
|
+
| 'AlreadySuspended'
|
|
12114
|
+
/**
|
|
12115
|
+
* The execution is already resumed.
|
|
12116
|
+
**/
|
|
12117
|
+
| 'AlreadyResumed'
|
|
12118
|
+
/**
|
|
12119
|
+
* There are too many active outbound channels.
|
|
12120
|
+
**/
|
|
12121
|
+
| 'TooManyActiveOutboundChannels'
|
|
12122
|
+
/**
|
|
12123
|
+
* The message is too big.
|
|
12124
|
+
**/
|
|
12125
|
+
| 'TooBig';
|
|
12126
|
+
|
|
12127
|
+
export type PalletXcmQueryStatus =
|
|
12128
|
+
| {
|
|
12129
|
+
type: 'Pending';
|
|
12130
|
+
value: {
|
|
12131
|
+
responder: XcmVersionedLocation;
|
|
12132
|
+
maybeMatchQuerier?: XcmVersionedLocation | undefined;
|
|
12133
|
+
maybeNotify?: [number, number] | undefined;
|
|
12134
|
+
timeout: number;
|
|
12135
|
+
};
|
|
12136
|
+
}
|
|
12137
|
+
| { type: 'VersionNotifier'; value: { origin: XcmVersionedLocation; isActive: boolean } }
|
|
12138
|
+
| { type: 'Ready'; value: { response: XcmVersionedResponse; at: number } };
|
|
12139
|
+
|
|
12140
|
+
export type XcmVersionedResponse =
|
|
12141
|
+
| { type: 'V3'; value: XcmV3Response }
|
|
12142
|
+
| { type: 'V4'; value: StagingXcmV4Response }
|
|
12143
|
+
| { type: 'V5'; value: StagingXcmV5Response };
|
|
12144
|
+
|
|
12145
|
+
export type PalletXcmVersionMigrationStage =
|
|
12146
|
+
| { type: 'MigrateSupportedVersion' }
|
|
12147
|
+
| { type: 'MigrateVersionNotifiers' }
|
|
12148
|
+
| { type: 'NotifyCurrentTargets'; value?: Bytes | undefined }
|
|
12149
|
+
| { type: 'MigrateAndNotifyOldTargets' };
|
|
12150
|
+
|
|
12151
|
+
export type PalletXcmRemoteLockedFungibleRecord = {
|
|
12152
|
+
amount: bigint;
|
|
12153
|
+
owner: XcmVersionedLocation;
|
|
12154
|
+
locker: XcmVersionedLocation;
|
|
12155
|
+
consumers: Array<[[], bigint]>;
|
|
12156
|
+
};
|
|
12157
|
+
|
|
12158
|
+
export type PalletXcmAuthorizedAliasesEntry = {
|
|
12159
|
+
aliasers: Array<XcmRuntimeApisAuthorizedAliasesOriginAliaser>;
|
|
12160
|
+
ticket: FrameSupportTokensFungibleHoldConsideration;
|
|
12161
|
+
};
|
|
12162
|
+
|
|
12163
|
+
export type FrameSupportTokensFungibleHoldConsideration = bigint;
|
|
12164
|
+
|
|
12165
|
+
export type PalletXcmMaxAuthorizedAliases = {};
|
|
12166
|
+
|
|
12167
|
+
export type XcmRuntimeApisAuthorizedAliasesOriginAliaser = {
|
|
12168
|
+
location: XcmVersionedLocation;
|
|
12169
|
+
expiry?: bigint | undefined;
|
|
12170
|
+
};
|
|
12171
|
+
|
|
12172
|
+
/**
|
|
12173
|
+
* The `Error` enum of this pallet.
|
|
12174
|
+
**/
|
|
12175
|
+
export type PalletXcmError =
|
|
12176
|
+
/**
|
|
12177
|
+
* The desired destination was unreachable, generally because there is a no way of routing
|
|
12178
|
+
* to it.
|
|
12179
|
+
**/
|
|
12180
|
+
| { name: 'Unreachable' }
|
|
12181
|
+
/**
|
|
12182
|
+
* There was some other issue (i.e. not to do with routing) in sending the message.
|
|
12183
|
+
* Perhaps a lack of space for buffering the message.
|
|
12184
|
+
**/
|
|
12185
|
+
| { name: 'SendFailure' }
|
|
12186
|
+
/**
|
|
12187
|
+
* The message execution fails the filter.
|
|
12188
|
+
**/
|
|
12189
|
+
| { name: 'Filtered' }
|
|
12190
|
+
/**
|
|
12191
|
+
* The message's weight could not be determined.
|
|
12192
|
+
**/
|
|
12193
|
+
| { name: 'UnweighableMessage' }
|
|
12194
|
+
/**
|
|
12195
|
+
* The destination `Location` provided cannot be inverted.
|
|
12196
|
+
**/
|
|
12197
|
+
| { name: 'DestinationNotInvertible' }
|
|
12198
|
+
/**
|
|
12199
|
+
* The assets to be sent are empty.
|
|
12200
|
+
**/
|
|
12201
|
+
| { name: 'Empty' }
|
|
12202
|
+
/**
|
|
12203
|
+
* Could not re-anchor the assets to declare the fees for the destination chain.
|
|
12204
|
+
**/
|
|
12205
|
+
| { name: 'CannotReanchor' }
|
|
12206
|
+
/**
|
|
12207
|
+
* Too many assets have been attempted for transfer.
|
|
12208
|
+
**/
|
|
12209
|
+
| { name: 'TooManyAssets' }
|
|
12210
|
+
/**
|
|
12211
|
+
* Origin is invalid for sending.
|
|
12212
|
+
**/
|
|
12213
|
+
| { name: 'InvalidOrigin' }
|
|
12214
|
+
/**
|
|
12215
|
+
* The version of the `Versioned` value used is not able to be interpreted.
|
|
12216
|
+
**/
|
|
12217
|
+
| { name: 'BadVersion' }
|
|
12218
|
+
/**
|
|
12219
|
+
* The given location could not be used (e.g. because it cannot be expressed in the
|
|
12220
|
+
* desired version of XCM).
|
|
12221
|
+
**/
|
|
12222
|
+
| { name: 'BadLocation' }
|
|
12223
|
+
/**
|
|
12224
|
+
* The referenced subscription could not be found.
|
|
12225
|
+
**/
|
|
12226
|
+
| { name: 'NoSubscription' }
|
|
12227
|
+
/**
|
|
12228
|
+
* The location is invalid since it already has a subscription from us.
|
|
12229
|
+
**/
|
|
12230
|
+
| { name: 'AlreadySubscribed' }
|
|
12231
|
+
/**
|
|
12232
|
+
* Could not check-out the assets for teleportation to the destination chain.
|
|
12233
|
+
**/
|
|
12234
|
+
| { name: 'CannotCheckOutTeleport' }
|
|
12235
|
+
/**
|
|
12236
|
+
* The owner does not own (all) of the asset that they wish to do the operation on.
|
|
12237
|
+
**/
|
|
12238
|
+
| { name: 'LowBalance' }
|
|
12239
|
+
/**
|
|
12240
|
+
* The asset owner has too many locks on the asset.
|
|
12241
|
+
**/
|
|
12242
|
+
| { name: 'TooManyLocks' }
|
|
12243
|
+
/**
|
|
12244
|
+
* The given account is not an identifiable sovereign account for any location.
|
|
12245
|
+
**/
|
|
12246
|
+
| { name: 'AccountNotSovereign' }
|
|
12247
|
+
/**
|
|
12248
|
+
* The operation required fees to be paid which the initiator could not meet.
|
|
12249
|
+
**/
|
|
12250
|
+
| { name: 'FeesNotMet' }
|
|
12251
|
+
/**
|
|
12252
|
+
* A remote lock with the corresponding data could not be found.
|
|
12253
|
+
**/
|
|
12254
|
+
| { name: 'LockNotFound' }
|
|
12255
|
+
/**
|
|
12256
|
+
* The unlock operation cannot succeed because there are still consumers of the lock.
|
|
12257
|
+
**/
|
|
12258
|
+
| { name: 'InUse' }
|
|
12259
|
+
/**
|
|
12260
|
+
* Invalid asset, reserve chain could not be determined for it.
|
|
12261
|
+
**/
|
|
12262
|
+
| { name: 'InvalidAssetUnknownReserve' }
|
|
12263
|
+
/**
|
|
12264
|
+
* Invalid asset, do not support remote asset reserves with different fees reserves.
|
|
12265
|
+
**/
|
|
12266
|
+
| { name: 'InvalidAssetUnsupportedReserve' }
|
|
12267
|
+
/**
|
|
12268
|
+
* Too many assets with different reserve locations have been attempted for transfer.
|
|
12269
|
+
**/
|
|
12270
|
+
| { name: 'TooManyReserves' }
|
|
12271
|
+
/**
|
|
12272
|
+
* Local XCM execution incomplete.
|
|
12273
|
+
**/
|
|
12274
|
+
| { name: 'LocalExecutionIncomplete' }
|
|
12275
|
+
/**
|
|
12276
|
+
* Too many locations authorized to alias origin.
|
|
12277
|
+
**/
|
|
12278
|
+
| { name: 'TooManyAuthorizedAliases' }
|
|
12279
|
+
/**
|
|
12280
|
+
* Expiry block number is in the past.
|
|
12281
|
+
**/
|
|
12282
|
+
| { name: 'ExpiresInPast' }
|
|
12283
|
+
/**
|
|
12284
|
+
* The alias to remove authorization for was not found.
|
|
12285
|
+
**/
|
|
12286
|
+
| { name: 'AliasNotFound' }
|
|
12287
|
+
/**
|
|
12288
|
+
* Local XCM execution incomplete with the actual XCM error and the index of the
|
|
12289
|
+
* instruction that caused the error.
|
|
12290
|
+
**/
|
|
12291
|
+
| { name: 'LocalExecutionIncompleteWithError'; data: { index: number; error: PalletXcmErrorsExecutionError } };
|
|
12292
|
+
|
|
12293
|
+
export type PalletXcmErrorsExecutionError =
|
|
12294
|
+
| 'Overflow'
|
|
12295
|
+
| 'Unimplemented'
|
|
12296
|
+
| 'UntrustedReserveLocation'
|
|
12297
|
+
| 'UntrustedTeleportLocation'
|
|
12298
|
+
| 'LocationFull'
|
|
12299
|
+
| 'LocationNotInvertible'
|
|
12300
|
+
| 'BadOrigin'
|
|
12301
|
+
| 'InvalidLocation'
|
|
12302
|
+
| 'AssetNotFound'
|
|
12303
|
+
| 'FailedToTransactAsset'
|
|
12304
|
+
| 'NotWithdrawable'
|
|
12305
|
+
| 'LocationCannotHold'
|
|
12306
|
+
| 'ExceedsMaxMessageSize'
|
|
12307
|
+
| 'DestinationUnsupported'
|
|
12308
|
+
| 'Transport'
|
|
12309
|
+
| 'Unroutable'
|
|
12310
|
+
| 'UnknownClaim'
|
|
12311
|
+
| 'FailedToDecode'
|
|
12312
|
+
| 'MaxWeightInvalid'
|
|
12313
|
+
| 'NotHoldingFees'
|
|
12314
|
+
| 'TooExpensive'
|
|
12315
|
+
| 'Trap'
|
|
12316
|
+
| 'ExpectationFalse'
|
|
12317
|
+
| 'PalletNotFound'
|
|
12318
|
+
| 'NameMismatch'
|
|
12319
|
+
| 'VersionIncompatible'
|
|
12320
|
+
| 'HoldingWouldOverflow'
|
|
12321
|
+
| 'ExportError'
|
|
12322
|
+
| 'ReanchorFailed'
|
|
12323
|
+
| 'NoDeal'
|
|
12324
|
+
| 'FeesNotMet'
|
|
12325
|
+
| 'LockError'
|
|
12326
|
+
| 'NoPermission'
|
|
12327
|
+
| 'Unanchored'
|
|
12328
|
+
| 'NotDepositable'
|
|
12329
|
+
| 'TooManyAssets'
|
|
12330
|
+
| 'UnhandledXcmVersion'
|
|
12331
|
+
| 'WeightLimitReached'
|
|
12332
|
+
| 'Barrier'
|
|
12333
|
+
| 'WeightNotComputable'
|
|
12334
|
+
| 'ExceedsStackLimit';
|
|
12335
|
+
|
|
12336
|
+
export type BpXcmBridgeHubRouterBridgeState = { deliveryFeeFactor: FixedU128; isCongested: boolean };
|
|
12337
|
+
|
|
12338
|
+
export type PalletMessageQueueBookState = {
|
|
12339
|
+
begin: number;
|
|
12340
|
+
end: number;
|
|
12341
|
+
count: number;
|
|
12342
|
+
readyNeighbours?: PalletMessageQueueNeighbours | undefined;
|
|
12343
|
+
messageCount: bigint;
|
|
12344
|
+
size: bigint;
|
|
12345
|
+
};
|
|
12346
|
+
|
|
12347
|
+
export type PalletMessageQueueNeighbours = {
|
|
12348
|
+
prev: CumulusPrimitivesCoreAggregateMessageOrigin;
|
|
12349
|
+
next: CumulusPrimitivesCoreAggregateMessageOrigin;
|
|
12350
|
+
};
|
|
12351
|
+
|
|
12352
|
+
export type PalletMessageQueuePage = {
|
|
12353
|
+
remaining: number;
|
|
12354
|
+
remainingSize: number;
|
|
12355
|
+
firstIndex: number;
|
|
12356
|
+
first: number;
|
|
12357
|
+
last: number;
|
|
12358
|
+
heap: Bytes;
|
|
12359
|
+
};
|
|
12360
|
+
|
|
12361
|
+
/**
|
|
12362
|
+
* The `Error` enum of this pallet.
|
|
12363
|
+
**/
|
|
12364
|
+
export type PalletMessageQueueError =
|
|
12365
|
+
/**
|
|
12366
|
+
* Page is not reapable because it has items remaining to be processed and is not old
|
|
12367
|
+
* enough.
|
|
12368
|
+
**/
|
|
12369
|
+
| 'NotReapable'
|
|
12370
|
+
/**
|
|
12371
|
+
* Page to be reaped does not exist.
|
|
12372
|
+
**/
|
|
12373
|
+
| 'NoPage'
|
|
12374
|
+
/**
|
|
12375
|
+
* The referenced message could not be found.
|
|
12376
|
+
**/
|
|
12377
|
+
| 'NoMessage'
|
|
12378
|
+
/**
|
|
12379
|
+
* The message was already processed and cannot be processed again.
|
|
12380
|
+
**/
|
|
12381
|
+
| 'AlreadyProcessed'
|
|
12382
|
+
/**
|
|
12383
|
+
* The message is queued for future execution.
|
|
12384
|
+
**/
|
|
12385
|
+
| 'Queued'
|
|
12386
|
+
/**
|
|
12387
|
+
* There is temporarily not enough weight to continue servicing messages.
|
|
11960
12388
|
**/
|
|
11961
|
-
|
|
|
11962
|
-
name: 'SwapExactTokensForTokens';
|
|
11963
|
-
params: {
|
|
11964
|
-
path: Array<StagingXcmV4Location>;
|
|
11965
|
-
amountIn: bigint;
|
|
11966
|
-
amountOutMin: bigint;
|
|
11967
|
-
sendTo: AccountId32Like;
|
|
11968
|
-
keepAlive: boolean;
|
|
11969
|
-
};
|
|
11970
|
-
}
|
|
12389
|
+
| 'InsufficientWeight'
|
|
11971
12390
|
/**
|
|
11972
|
-
*
|
|
11973
|
-
* `amount_in_max` param allows to specify the max amount of the `asset1`
|
|
11974
|
-
* you're happy to provide.
|
|
12391
|
+
* This message is temporarily unprocessable.
|
|
11975
12392
|
*
|
|
11976
|
-
*
|
|
11977
|
-
*
|
|
12393
|
+
* Such errors are expected, but not guaranteed, to resolve themselves eventually through
|
|
12394
|
+
* retrying.
|
|
11978
12395
|
**/
|
|
11979
|
-
|
|
|
11980
|
-
name: 'SwapTokensForExactTokens';
|
|
11981
|
-
params: {
|
|
11982
|
-
path: Array<StagingXcmV4Location>;
|
|
11983
|
-
amountOut: bigint;
|
|
11984
|
-
amountInMax: bigint;
|
|
11985
|
-
sendTo: AccountId32Like;
|
|
11986
|
-
keepAlive: boolean;
|
|
11987
|
-
};
|
|
11988
|
-
}
|
|
12396
|
+
| 'TemporarilyUnprocessable'
|
|
11989
12397
|
/**
|
|
11990
|
-
*
|
|
11991
|
-
* ensuring that the pool's accounts are in place. It is typically useful when a pool
|
|
11992
|
-
* creator removes the pool's accounts and does not provide a liquidity. This action may
|
|
11993
|
-
* involve holding assets from the caller as a deposit for creating the pool's accounts.
|
|
11994
|
-
*
|
|
11995
|
-
* The origin must be Signed.
|
|
11996
|
-
*
|
|
11997
|
-
* - `asset1`: The asset ID of an existing pool with a pair (asset1, asset2).
|
|
11998
|
-
* - `asset2`: The asset ID of an existing pool with a pair (asset1, asset2).
|
|
12398
|
+
* The queue is paused and no message can be executed from it.
|
|
11999
12399
|
*
|
|
12000
|
-
*
|
|
12400
|
+
* This can change at any time and may resolve in the future by re-trying.
|
|
12401
|
+
**/
|
|
12402
|
+
| 'QueuePaused'
|
|
12403
|
+
/**
|
|
12404
|
+
* Another call is in progress and needs to finish before this call can happen.
|
|
12001
12405
|
**/
|
|
12002
|
-
|
|
|
12406
|
+
| 'RecursiveDisallowed';
|
|
12003
12407
|
|
|
12004
12408
|
/**
|
|
12005
|
-
*
|
|
12409
|
+
* The `Error` enum of this pallet.
|
|
12006
12410
|
**/
|
|
12007
|
-
export type
|
|
12411
|
+
export type SnowbridgePalletSystemFrontendError =
|
|
12008
12412
|
/**
|
|
12009
|
-
*
|
|
12010
|
-
*
|
|
12011
|
-
* The dispatch origin of this call must be [`Config::ControlOrigin`].
|
|
12413
|
+
* Convert versioned location failure
|
|
12012
12414
|
**/
|
|
12013
|
-
|
|
|
12415
|
+
| 'UnsupportedLocationVersion'
|
|
12014
12416
|
/**
|
|
12015
|
-
*
|
|
12016
|
-
*
|
|
12017
|
-
* The dispatch origin of this call can be any signed account.
|
|
12018
|
-
*
|
|
12019
|
-
* This transaction has NO MONETARY INCENTIVES. calling it will not reward anyone. Albeit,
|
|
12020
|
-
* Upon successful execution, the transaction fee is returned.
|
|
12021
|
-
*
|
|
12022
|
-
* The (potentially over-estimated) of the byte length of all the data read must be
|
|
12023
|
-
* provided for up-front fee-payment and weighing. In essence, the caller is guaranteeing
|
|
12024
|
-
* that executing the current `MigrationTask` with the given `limits` will not exceed
|
|
12025
|
-
* `real_size_upper` bytes of read data.
|
|
12026
|
-
*
|
|
12027
|
-
* The `witness_task` is merely a helper to prevent the caller from being slashed or
|
|
12028
|
-
* generally trigger a migration that they do not intend. This parameter is just a message
|
|
12029
|
-
* from caller, saying that they believed `witness_task` was the last state of the
|
|
12030
|
-
* migration, and they only wish for their transaction to do anything, if this assumption
|
|
12031
|
-
* holds. In case `witness_task` does not match, the transaction fails.
|
|
12032
|
-
*
|
|
12033
|
-
* Based on the documentation of [`MigrationTask::migrate_until_exhaustion`], the
|
|
12034
|
-
* recommended way of doing this is to pass a `limit` that only bounds `count`, as the
|
|
12035
|
-
* `size` limit can always be overwritten.
|
|
12417
|
+
* Check location failure, should start from the dispatch origin as owner
|
|
12036
12418
|
**/
|
|
12037
|
-
|
|
|
12038
|
-
name: 'ContinueMigrate';
|
|
12039
|
-
params: {
|
|
12040
|
-
limits: PalletStateTrieMigrationMigrationLimits;
|
|
12041
|
-
realSizeUpper: number;
|
|
12042
|
-
witnessTask: PalletStateTrieMigrationMigrationTask;
|
|
12043
|
-
};
|
|
12044
|
-
}
|
|
12419
|
+
| 'InvalidAssetOwner'
|
|
12045
12420
|
/**
|
|
12046
|
-
*
|
|
12047
|
-
*
|
|
12048
|
-
* This does not affect the global migration process tracker ([`MigrationProcess`]), and
|
|
12049
|
-
* should only be used in case any keys are leftover due to a bug.
|
|
12421
|
+
* Send xcm message failure
|
|
12050
12422
|
**/
|
|
12051
|
-
|
|
|
12423
|
+
| 'SendFailure'
|
|
12052
12424
|
/**
|
|
12053
|
-
*
|
|
12054
|
-
*
|
|
12055
|
-
* All of the given child keys must be present under one `child_root`.
|
|
12056
|
-
*
|
|
12057
|
-
* This does not affect the global migration process tracker ([`MigrationProcess`]), and
|
|
12058
|
-
* should only be used in case any keys are leftover due to a bug.
|
|
12425
|
+
* Withdraw fee asset failure
|
|
12059
12426
|
**/
|
|
12060
|
-
|
|
|
12427
|
+
| 'FeesNotMet'
|
|
12061
12428
|
/**
|
|
12062
|
-
*
|
|
12429
|
+
* Convert to reanchored location failure
|
|
12063
12430
|
**/
|
|
12064
|
-
|
|
|
12431
|
+
| 'LocationConversionFailed'
|
|
12065
12432
|
/**
|
|
12066
|
-
*
|
|
12067
|
-
*
|
|
12068
|
-
* This is only useful in one case: the next key to migrate is too big to be migrated with
|
|
12069
|
-
* a signed account, in a parachain context, and we simply want to skip it. A reasonable
|
|
12070
|
-
* example of this would be `:code:`, which is both very expensive to migrate, and commonly
|
|
12071
|
-
* used, so probably it is already migrated.
|
|
12072
|
-
*
|
|
12073
|
-
* In case you mess things up, you can also, in principle, use this to reset the migration
|
|
12074
|
-
* process.
|
|
12433
|
+
* Message export is halted
|
|
12075
12434
|
**/
|
|
12076
|
-
|
|
|
12077
|
-
name: 'ForceSetProgress';
|
|
12078
|
-
params: { progressTop: PalletStateTrieMigrationProgress; progressChild: PalletStateTrieMigrationProgress };
|
|
12079
|
-
};
|
|
12080
|
-
|
|
12081
|
-
export type PalletStateTrieMigrationCallLike =
|
|
12435
|
+
| 'Halted'
|
|
12082
12436
|
/**
|
|
12083
|
-
*
|
|
12084
|
-
*
|
|
12085
|
-
* The dispatch origin of this call must be [`Config::ControlOrigin`].
|
|
12437
|
+
* The desired destination was unreachable, generally because there is a no way of routing
|
|
12438
|
+
* to it.
|
|
12086
12439
|
**/
|
|
12087
|
-
|
|
|
12440
|
+
| 'Unreachable'
|
|
12088
12441
|
/**
|
|
12089
|
-
*
|
|
12090
|
-
*
|
|
12091
|
-
* The dispatch origin of this call can be any signed account.
|
|
12092
|
-
*
|
|
12093
|
-
* This transaction has NO MONETARY INCENTIVES. calling it will not reward anyone. Albeit,
|
|
12094
|
-
* Upon successful execution, the transaction fee is returned.
|
|
12095
|
-
*
|
|
12096
|
-
* The (potentially over-estimated) of the byte length of all the data read must be
|
|
12097
|
-
* provided for up-front fee-payment and weighing. In essence, the caller is guaranteeing
|
|
12098
|
-
* that executing the current `MigrationTask` with the given `limits` will not exceed
|
|
12099
|
-
* `real_size_upper` bytes of read data.
|
|
12100
|
-
*
|
|
12101
|
-
* The `witness_task` is merely a helper to prevent the caller from being slashed or
|
|
12102
|
-
* generally trigger a migration that they do not intend. This parameter is just a message
|
|
12103
|
-
* from caller, saying that they believed `witness_task` was the last state of the
|
|
12104
|
-
* migration, and they only wish for their transaction to do anything, if this assumption
|
|
12105
|
-
* holds. In case `witness_task` does not match, the transaction fails.
|
|
12106
|
-
*
|
|
12107
|
-
* Based on the documentation of [`MigrationTask::migrate_until_exhaustion`], the
|
|
12108
|
-
* recommended way of doing this is to pass a `limit` that only bounds `count`, as the
|
|
12109
|
-
* `size` limit can always be overwritten.
|
|
12442
|
+
* The asset provided for the tip is unsupported.
|
|
12110
12443
|
**/
|
|
12111
|
-
|
|
|
12112
|
-
name: 'ContinueMigrate';
|
|
12113
|
-
params: {
|
|
12114
|
-
limits: PalletStateTrieMigrationMigrationLimits;
|
|
12115
|
-
realSizeUpper: number;
|
|
12116
|
-
witnessTask: PalletStateTrieMigrationMigrationTask;
|
|
12117
|
-
};
|
|
12118
|
-
}
|
|
12444
|
+
| 'UnsupportedAsset'
|
|
12119
12445
|
/**
|
|
12120
|
-
*
|
|
12121
|
-
*
|
|
12122
|
-
* This does not affect the global migration process tracker ([`MigrationProcess`]), and
|
|
12123
|
-
* should only be used in case any keys are leftover due to a bug.
|
|
12446
|
+
* Unable to withdraw asset.
|
|
12124
12447
|
**/
|
|
12125
|
-
|
|
|
12448
|
+
| 'WithdrawError'
|
|
12126
12449
|
/**
|
|
12127
|
-
*
|
|
12128
|
-
*
|
|
12129
|
-
* All of the given child keys must be present under one `child_root`.
|
|
12130
|
-
*
|
|
12131
|
-
* This does not affect the global migration process tracker ([`MigrationProcess`]), and
|
|
12132
|
-
* should only be used in case any keys are leftover due to a bug.
|
|
12450
|
+
* Account could not be converted to a location.
|
|
12133
12451
|
**/
|
|
12134
|
-
|
|
|
12452
|
+
| 'InvalidAccount'
|
|
12135
12453
|
/**
|
|
12136
|
-
*
|
|
12454
|
+
* Provided tip asset could not be swapped for ether.
|
|
12137
12455
|
**/
|
|
12138
|
-
|
|
|
12456
|
+
| 'SwapError'
|
|
12139
12457
|
/**
|
|
12140
|
-
*
|
|
12141
|
-
*
|
|
12142
|
-
* This is only useful in one case: the next key to migrate is too big to be migrated with
|
|
12143
|
-
* a signed account, in a parachain context, and we simply want to skip it. A reasonable
|
|
12144
|
-
* example of this would be `:code:`, which is both very expensive to migrate, and commonly
|
|
12145
|
-
* used, so probably it is already migrated.
|
|
12146
|
-
*
|
|
12147
|
-
* In case you mess things up, you can also, in principle, use this to reset the migration
|
|
12148
|
-
* process.
|
|
12458
|
+
* Ether could not be burned.
|
|
12149
12459
|
**/
|
|
12150
|
-
|
|
|
12151
|
-
|
|
12152
|
-
|
|
12153
|
-
|
|
12154
|
-
|
|
12155
|
-
export type PalletStateTrieMigrationMigrationLimits = { size: number; item: number };
|
|
12156
|
-
|
|
12157
|
-
export type PalletStateTrieMigrationMigrationTask = {
|
|
12158
|
-
progressTop: PalletStateTrieMigrationProgress;
|
|
12159
|
-
progressChild: PalletStateTrieMigrationProgress;
|
|
12160
|
-
size: number;
|
|
12161
|
-
topItems: number;
|
|
12162
|
-
childItems: number;
|
|
12163
|
-
};
|
|
12164
|
-
|
|
12165
|
-
export type PalletStateTrieMigrationProgress =
|
|
12166
|
-
| { type: 'ToStart' }
|
|
12167
|
-
| { type: 'LastKey'; value: Bytes }
|
|
12168
|
-
| { type: 'Complete' };
|
|
12169
|
-
|
|
12170
|
-
export type AssetHubPolkadotRuntimeOriginCaller =
|
|
12171
|
-
| { type: 'System'; value: FrameSupportDispatchRawOrigin }
|
|
12172
|
-
| { type: 'PolkadotXcm'; value: PalletXcmOrigin }
|
|
12173
|
-
| { type: 'CumulusXcm'; value: CumulusPalletXcmOrigin };
|
|
12174
|
-
|
|
12175
|
-
export type FrameSupportDispatchRawOrigin =
|
|
12176
|
-
| { type: 'Root' }
|
|
12177
|
-
| { type: 'Signed'; value: AccountId32 }
|
|
12178
|
-
| { type: 'None' };
|
|
12179
|
-
|
|
12180
|
-
export type PalletXcmOrigin =
|
|
12181
|
-
| { type: 'Xcm'; value: StagingXcmV5Location }
|
|
12182
|
-
| { type: 'Response'; value: StagingXcmV5Location };
|
|
12183
|
-
|
|
12184
|
-
export type CumulusPalletXcmOrigin =
|
|
12185
|
-
| { type: 'Relay' }
|
|
12186
|
-
| { type: 'SiblingParachain'; value: PolkadotParachainPrimitivesPrimitivesId };
|
|
12460
|
+
| 'BurnError'
|
|
12461
|
+
/**
|
|
12462
|
+
* The tip provided is zero.
|
|
12463
|
+
**/
|
|
12464
|
+
| 'TipAmountZero';
|
|
12187
12465
|
|
|
12188
12466
|
/**
|
|
12189
12467
|
* The `Error` enum of this pallet.
|
|
@@ -12550,7 +12828,23 @@ export type PalletUniquesError =
|
|
|
12550
12828
|
/**
|
|
12551
12829
|
* The provided bid is too low.
|
|
12552
12830
|
**/
|
|
12553
|
-
| 'BidTooLow'
|
|
12831
|
+
| 'BidTooLow'
|
|
12832
|
+
/**
|
|
12833
|
+
* No metadata is found.
|
|
12834
|
+
**/
|
|
12835
|
+
| 'NoMetadata'
|
|
12836
|
+
/**
|
|
12837
|
+
* Wrong metadata key/value bytes supplied.
|
|
12838
|
+
**/
|
|
12839
|
+
| 'WrongMetadata'
|
|
12840
|
+
/**
|
|
12841
|
+
* An attribute is not found.
|
|
12842
|
+
**/
|
|
12843
|
+
| 'AttributeNotFound'
|
|
12844
|
+
/**
|
|
12845
|
+
* Wrong attribute key/value bytes supplied.
|
|
12846
|
+
**/
|
|
12847
|
+
| 'WrongAttribute';
|
|
12554
12848
|
|
|
12555
12849
|
export type PalletNftsCollectionDetails = {
|
|
12556
12850
|
owner: AccountId32;
|
|
@@ -12879,35 +13173,8 @@ export type PalletAssetConversionError =
|
|
|
12879
13173
|
**/
|
|
12880
13174
|
| 'BelowMinimum';
|
|
12881
13175
|
|
|
12882
|
-
export type FrameSystemExtensionsCheckNonZeroSender = {};
|
|
12883
|
-
|
|
12884
|
-
export type FrameSystemExtensionsCheckSpecVersion = {};
|
|
12885
|
-
|
|
12886
|
-
export type FrameSystemExtensionsCheckTxVersion = {};
|
|
12887
|
-
|
|
12888
|
-
export type FrameSystemExtensionsCheckGenesis = {};
|
|
12889
|
-
|
|
12890
|
-
export type FrameSystemExtensionsCheckMortality = Era;
|
|
12891
|
-
|
|
12892
|
-
export type FrameSystemExtensionsCheckNonce = number;
|
|
12893
|
-
|
|
12894
|
-
export type FrameSystemExtensionsCheckWeight = {};
|
|
12895
|
-
|
|
12896
|
-
export type PalletAssetConversionTxPaymentChargeAssetTxPayment = {
|
|
12897
|
-
tip: bigint;
|
|
12898
|
-
assetId?: StagingXcmV4Location | undefined;
|
|
12899
|
-
};
|
|
12900
|
-
|
|
12901
|
-
export type FrameMetadataHashExtensionCheckMetadataHash = { mode: FrameMetadataHashExtensionMode };
|
|
12902
|
-
|
|
12903
|
-
export type FrameMetadataHashExtensionMode = 'Disabled' | 'Enabled';
|
|
12904
|
-
|
|
12905
|
-
export type AssetHubPolkadotRuntimeRuntime = {};
|
|
12906
|
-
|
|
12907
13176
|
export type SpConsensusSlotsSlotDuration = bigint;
|
|
12908
13177
|
|
|
12909
|
-
export type SpRuntimeBlock = { header: Header; extrinsics: Array<UncheckedExtrinsic> };
|
|
12910
|
-
|
|
12911
13178
|
export type SpRuntimeExtrinsicInclusionMode = 'AllExtrinsics' | 'OnlyInherents';
|
|
12912
13179
|
|
|
12913
13180
|
export type SpCoreOpaqueMetadata = Bytes;
|
|
@@ -12998,6 +13265,15 @@ export type XcmRuntimeApisDryRunXcmDryRunEffects = {
|
|
|
12998
13265
|
|
|
12999
13266
|
export type XcmRuntimeApisConversionsError = 'Unsupported' | 'VersionedConversionFailed';
|
|
13000
13267
|
|
|
13268
|
+
export type XcmVersionedAsset =
|
|
13269
|
+
| { type: 'V3'; value: XcmV3MultiassetMultiAsset }
|
|
13270
|
+
| { type: 'V4'; value: StagingXcmV4Asset }
|
|
13271
|
+
| { type: 'V5'; value: StagingXcmV5Asset };
|
|
13272
|
+
|
|
13273
|
+
export type XcmRuntimeApisTrustedQueryError = 'VersionedAssetConversionFailed' | 'VersionedLocationConversionFailed';
|
|
13274
|
+
|
|
13275
|
+
export type XcmRuntimeApisAuthorizedAliasesError = 'LocationVersionConversionFailed';
|
|
13276
|
+
|
|
13001
13277
|
export type AssetsCommonRuntimeApiFungiblesAccessError = 'AssetIdConversionFailed' | 'AmountToBalanceConversionFailed';
|
|
13002
13278
|
|
|
13003
13279
|
export type CumulusPrimitivesCoreCollationInfo = {
|
|
@@ -13021,6 +13297,7 @@ export type AssetHubPolkadotRuntimeRuntimeError =
|
|
|
13021
13297
|
| { pallet: 'XcmpQueue'; palletError: CumulusPalletXcmpQueueError }
|
|
13022
13298
|
| { pallet: 'PolkadotXcm'; palletError: PalletXcmError }
|
|
13023
13299
|
| { pallet: 'MessageQueue'; palletError: PalletMessageQueueError }
|
|
13300
|
+
| { pallet: 'SnowbridgeSystemFrontend'; palletError: SnowbridgePalletSystemFrontendError }
|
|
13024
13301
|
| { pallet: 'Utility'; palletError: PalletUtilityError }
|
|
13025
13302
|
| { pallet: 'Multisig'; palletError: PalletMultisigError }
|
|
13026
13303
|
| { pallet: 'Proxy'; palletError: PalletProxyError }
|