@dedot/chaintypes 0.149.0 → 0.151.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/basilisk/index.d.ts +1 -1
- package/kusama/consts.d.ts +41 -2
- package/kusama/errors.d.ts +38 -0
- package/kusama/events.d.ts +132 -0
- package/kusama/index.d.ts +1 -1
- package/kusama/query.d.ts +35 -0
- package/kusama/tx.d.ts +209 -15
- package/kusama/types.d.ts +465 -98
- package/kusama/view-functions.d.ts +80 -1
- package/kusama-asset-hub/consts.d.ts +48 -2
- package/kusama-asset-hub/errors.d.ts +52 -23
- package/kusama-asset-hub/events.d.ts +212 -36
- package/kusama-asset-hub/index.d.ts +1 -1
- package/kusama-asset-hub/query.d.ts +79 -26
- package/kusama-asset-hub/runtime.d.ts +180 -13
- package/kusama-asset-hub/tx.d.ts +347 -143
- package/kusama-asset-hub/types.d.ts +1613 -1188
- package/kusama-asset-hub/view-functions.d.ts +34 -1
- package/kusama-people/consts.d.ts +21 -0
- package/kusama-people/errors.d.ts +8 -0
- package/kusama-people/events.d.ts +22 -0
- package/kusama-people/index.d.ts +1 -1
- package/kusama-people/query.d.ts +25 -2
- package/kusama-people/runtime.d.ts +121 -0
- package/kusama-people/tx.d.ts +24 -12
- package/kusama-people/types.d.ts +1072 -954
- package/kusama-people/view-functions.d.ts +34 -1
- package/package.json +2 -2
|
@@ -6,21 +6,21 @@ import type {
|
|
|
6
6
|
DispatchError,
|
|
7
7
|
AccountId32,
|
|
8
8
|
FixedBytes,
|
|
9
|
-
FixedArray,
|
|
10
9
|
Bytes,
|
|
10
|
+
FixedArray,
|
|
11
11
|
FixedU128,
|
|
12
12
|
Result,
|
|
13
13
|
Permill,
|
|
14
14
|
H160,
|
|
15
15
|
BytesLike,
|
|
16
|
+
Header,
|
|
16
17
|
MultiAddress,
|
|
17
18
|
MultiAddressLike,
|
|
18
19
|
AccountId32Like,
|
|
19
|
-
Perbill,
|
|
20
|
-
Era,
|
|
21
|
-
Header,
|
|
22
|
-
UncheckedExtrinsic,
|
|
23
20
|
U256,
|
|
21
|
+
UncheckedExtrinsic,
|
|
22
|
+
Era,
|
|
23
|
+
Perbill,
|
|
24
24
|
} from 'dedot/codecs';
|
|
25
25
|
|
|
26
26
|
export type FrameSystemAccountInfo = {
|
|
@@ -53,6 +53,7 @@ export type FrameSystemEventRecord = { phase: Phase; event: AssetHubKusamaRuntim
|
|
|
53
53
|
export type AssetHubKusamaRuntimeRuntimeEvent =
|
|
54
54
|
| { pallet: 'System'; palletEvent: FrameSystemEvent }
|
|
55
55
|
| { pallet: 'ParachainSystem'; palletEvent: CumulusPalletParachainSystemEvent }
|
|
56
|
+
| { pallet: 'MultiBlockMigrations'; palletEvent: PalletMigrationsEvent }
|
|
56
57
|
| { pallet: 'Balances'; palletEvent: PalletBalancesEvent }
|
|
57
58
|
| { pallet: 'TransactionPayment'; palletEvent: PalletTransactionPaymentEvent }
|
|
58
59
|
| { pallet: 'AssetTxPayment'; palletEvent: PalletAssetConversionTxPaymentEvent }
|
|
@@ -169,6 +170,117 @@ export type CumulusPalletParachainSystemEvent =
|
|
|
169
170
|
**/
|
|
170
171
|
| { name: 'UpwardMessageSent'; data: { messageHash?: FixedBytes<32> | undefined } };
|
|
171
172
|
|
|
173
|
+
/**
|
|
174
|
+
* The `Event` enum of this pallet
|
|
175
|
+
**/
|
|
176
|
+
export type PalletMigrationsEvent =
|
|
177
|
+
/**
|
|
178
|
+
* A Runtime upgrade started.
|
|
179
|
+
*
|
|
180
|
+
* Its end is indicated by `UpgradeCompleted` or `UpgradeFailed`.
|
|
181
|
+
**/
|
|
182
|
+
| {
|
|
183
|
+
name: 'UpgradeStarted';
|
|
184
|
+
data: {
|
|
185
|
+
/**
|
|
186
|
+
* The number of migrations that this upgrade contains.
|
|
187
|
+
*
|
|
188
|
+
* This can be used to design a progress indicator in combination with counting the
|
|
189
|
+
* `MigrationCompleted` and `MigrationSkipped` events.
|
|
190
|
+
**/
|
|
191
|
+
migrations: number;
|
|
192
|
+
};
|
|
193
|
+
}
|
|
194
|
+
/**
|
|
195
|
+
* The current runtime upgrade completed.
|
|
196
|
+
*
|
|
197
|
+
* This implies that all of its migrations completed successfully as well.
|
|
198
|
+
**/
|
|
199
|
+
| { name: 'UpgradeCompleted' }
|
|
200
|
+
/**
|
|
201
|
+
* Runtime upgrade failed.
|
|
202
|
+
*
|
|
203
|
+
* This is very bad and will require governance intervention.
|
|
204
|
+
**/
|
|
205
|
+
| { name: 'UpgradeFailed' }
|
|
206
|
+
/**
|
|
207
|
+
* A migration was skipped since it was already executed in the past.
|
|
208
|
+
**/
|
|
209
|
+
| {
|
|
210
|
+
name: 'MigrationSkipped';
|
|
211
|
+
data: {
|
|
212
|
+
/**
|
|
213
|
+
* The index of the skipped migration within the [`Config::Migrations`] list.
|
|
214
|
+
**/
|
|
215
|
+
index: number;
|
|
216
|
+
};
|
|
217
|
+
}
|
|
218
|
+
/**
|
|
219
|
+
* A migration progressed.
|
|
220
|
+
**/
|
|
221
|
+
| {
|
|
222
|
+
name: 'MigrationAdvanced';
|
|
223
|
+
data: {
|
|
224
|
+
/**
|
|
225
|
+
* The index of the migration within the [`Config::Migrations`] list.
|
|
226
|
+
**/
|
|
227
|
+
index: number;
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* The number of blocks that this migration took so far.
|
|
231
|
+
**/
|
|
232
|
+
took: number;
|
|
233
|
+
};
|
|
234
|
+
}
|
|
235
|
+
/**
|
|
236
|
+
* A Migration completed.
|
|
237
|
+
**/
|
|
238
|
+
| {
|
|
239
|
+
name: 'MigrationCompleted';
|
|
240
|
+
data: {
|
|
241
|
+
/**
|
|
242
|
+
* The index of the migration within the [`Config::Migrations`] list.
|
|
243
|
+
**/
|
|
244
|
+
index: number;
|
|
245
|
+
|
|
246
|
+
/**
|
|
247
|
+
* The number of blocks that this migration took so far.
|
|
248
|
+
**/
|
|
249
|
+
took: number;
|
|
250
|
+
};
|
|
251
|
+
}
|
|
252
|
+
/**
|
|
253
|
+
* A Migration failed.
|
|
254
|
+
*
|
|
255
|
+
* This implies that the whole upgrade failed and governance intervention is required.
|
|
256
|
+
**/
|
|
257
|
+
| {
|
|
258
|
+
name: 'MigrationFailed';
|
|
259
|
+
data: {
|
|
260
|
+
/**
|
|
261
|
+
* The index of the migration within the [`Config::Migrations`] list.
|
|
262
|
+
**/
|
|
263
|
+
index: number;
|
|
264
|
+
|
|
265
|
+
/**
|
|
266
|
+
* The number of blocks that this migration took so far.
|
|
267
|
+
**/
|
|
268
|
+
took: number;
|
|
269
|
+
};
|
|
270
|
+
}
|
|
271
|
+
/**
|
|
272
|
+
* The set of historical migrations has been cleared.
|
|
273
|
+
**/
|
|
274
|
+
| {
|
|
275
|
+
name: 'HistoricCleared';
|
|
276
|
+
data: {
|
|
277
|
+
/**
|
|
278
|
+
* Should be passed to `clear_historic` in a successive call.
|
|
279
|
+
**/
|
|
280
|
+
nextCursor?: Bytes | undefined;
|
|
281
|
+
};
|
|
282
|
+
};
|
|
283
|
+
|
|
172
284
|
/**
|
|
173
285
|
* The `Event` enum of this pallet
|
|
174
286
|
**/
|
|
@@ -270,10 +382,16 @@ export type PalletBalancesEvent =
|
|
|
270
382
|
/**
|
|
271
383
|
* The `TotalIssuance` was forcefully changed.
|
|
272
384
|
**/
|
|
273
|
-
| { name: 'TotalIssuanceForced'; data: { old: bigint; new: bigint } }
|
|
385
|
+
| { name: 'TotalIssuanceForced'; data: { old: bigint; new: bigint } }
|
|
386
|
+
/**
|
|
387
|
+
* An unexpected/defensive event was triggered.
|
|
388
|
+
**/
|
|
389
|
+
| { name: 'Unexpected'; data: PalletBalancesUnexpectedKind };
|
|
274
390
|
|
|
275
391
|
export type FrameSupportTokensMiscBalanceStatus = 'Free' | 'Reserved';
|
|
276
392
|
|
|
393
|
+
export type PalletBalancesUnexpectedKind = 'BalanceUpdated' | 'FailedToMutateAccount';
|
|
394
|
+
|
|
277
395
|
/**
|
|
278
396
|
* The `Event` enum of this pallet
|
|
279
397
|
**/
|
|
@@ -294,46 +412,43 @@ export type PalletAssetConversionTxPaymentEvent =
|
|
|
294
412
|
**/
|
|
295
413
|
| {
|
|
296
414
|
name: 'AssetTxFeePaid';
|
|
297
|
-
data: { who: AccountId32; actualFee: bigint; tip: bigint; assetId:
|
|
415
|
+
data: { who: AccountId32; actualFee: bigint; tip: bigint; assetId: StagingXcmV5Location };
|
|
298
416
|
}
|
|
299
417
|
/**
|
|
300
418
|
* A swap of the refund in native currency back to asset failed.
|
|
301
419
|
**/
|
|
302
420
|
| { name: 'AssetRefundFailed'; data: { nativeAmountKept: bigint } };
|
|
303
421
|
|
|
304
|
-
export type
|
|
422
|
+
export type StagingXcmV5Location = { parents: number; interior: StagingXcmV5Junctions };
|
|
305
423
|
|
|
306
|
-
export type
|
|
424
|
+
export type StagingXcmV5Junctions =
|
|
307
425
|
| { type: 'Here' }
|
|
308
|
-
| { type: 'X1'; value: FixedArray<
|
|
309
|
-
| { type: 'X2'; value: FixedArray<
|
|
310
|
-
| { type: 'X3'; value: FixedArray<
|
|
311
|
-
| { type: 'X4'; value: FixedArray<
|
|
312
|
-
| { type: 'X5'; value: FixedArray<
|
|
313
|
-
| { type: 'X6'; value: FixedArray<
|
|
314
|
-
| { type: 'X7'; value: FixedArray<
|
|
315
|
-
| { type: 'X8'; value: FixedArray<
|
|
426
|
+
| { type: 'X1'; value: FixedArray<StagingXcmV5Junction, 1> }
|
|
427
|
+
| { type: 'X2'; value: FixedArray<StagingXcmV5Junction, 2> }
|
|
428
|
+
| { type: 'X3'; value: FixedArray<StagingXcmV5Junction, 3> }
|
|
429
|
+
| { type: 'X4'; value: FixedArray<StagingXcmV5Junction, 4> }
|
|
430
|
+
| { type: 'X5'; value: FixedArray<StagingXcmV5Junction, 5> }
|
|
431
|
+
| { type: 'X6'; value: FixedArray<StagingXcmV5Junction, 6> }
|
|
432
|
+
| { type: 'X7'; value: FixedArray<StagingXcmV5Junction, 7> }
|
|
433
|
+
| { type: 'X8'; value: FixedArray<StagingXcmV5Junction, 8> };
|
|
316
434
|
|
|
317
|
-
export type
|
|
435
|
+
export type StagingXcmV5Junction =
|
|
318
436
|
| { type: 'Parachain'; value: number }
|
|
319
|
-
| { type: 'AccountId32'; value: { network?:
|
|
320
|
-
| { type: 'AccountIndex64'; value: { network?:
|
|
321
|
-
| { type: 'AccountKey20'; value: { network?:
|
|
437
|
+
| { type: 'AccountId32'; value: { network?: StagingXcmV5JunctionNetworkId | undefined; id: FixedBytes<32> } }
|
|
438
|
+
| { type: 'AccountIndex64'; value: { network?: StagingXcmV5JunctionNetworkId | undefined; index: bigint } }
|
|
439
|
+
| { type: 'AccountKey20'; value: { network?: StagingXcmV5JunctionNetworkId | undefined; key: FixedBytes<20> } }
|
|
322
440
|
| { type: 'PalletInstance'; value: number }
|
|
323
441
|
| { type: 'GeneralIndex'; value: bigint }
|
|
324
442
|
| { type: 'GeneralKey'; value: { length: number; data: FixedBytes<32> } }
|
|
325
443
|
| { type: 'OnlyChild' }
|
|
326
444
|
| { type: 'Plurality'; value: { id: XcmV3JunctionBodyId; part: XcmV3JunctionBodyPart } }
|
|
327
|
-
| { type: 'GlobalConsensus'; value:
|
|
445
|
+
| { type: 'GlobalConsensus'; value: StagingXcmV5JunctionNetworkId };
|
|
328
446
|
|
|
329
|
-
export type
|
|
447
|
+
export type StagingXcmV5JunctionNetworkId =
|
|
330
448
|
| { type: 'ByGenesis'; value: FixedBytes<32> }
|
|
331
449
|
| { type: 'ByFork'; value: { blockNumber: bigint; blockHash: FixedBytes<32> } }
|
|
332
450
|
| { type: 'Polkadot' }
|
|
333
451
|
| { type: 'Kusama' }
|
|
334
|
-
| { type: 'Westend' }
|
|
335
|
-
| { type: 'Rococo' }
|
|
336
|
-
| { type: 'Wococo' }
|
|
337
452
|
| { type: 'Ethereum'; value: { chainId: bigint } }
|
|
338
453
|
| { type: 'BitcoinCore' }
|
|
339
454
|
| { type: 'BitcoinCash' }
|
|
@@ -362,6 +477,10 @@ export type XcmV3JunctionBodyPart =
|
|
|
362
477
|
* The `Event` enum of this pallet
|
|
363
478
|
**/
|
|
364
479
|
export type PalletVestingEvent =
|
|
480
|
+
/**
|
|
481
|
+
* A vesting schedule has been created.
|
|
482
|
+
**/
|
|
483
|
+
| { name: 'VestingCreated'; data: { account: AccountId32; scheduleIndex: number } }
|
|
365
484
|
/**
|
|
366
485
|
* The amount vested has been updated. This could indicate a change in funds available.
|
|
367
486
|
* The balance given is the amount which is left unvested (and thus locked).
|
|
@@ -427,6 +546,11 @@ export type PalletSessionEvent =
|
|
|
427
546
|
* block number as the type might suggest.
|
|
428
547
|
**/
|
|
429
548
|
| { name: 'NewSession'; data: { sessionIndex: number } }
|
|
549
|
+
/**
|
|
550
|
+
* The `NewSession` event in the current block also implies a new validator set to be
|
|
551
|
+
* queued.
|
|
552
|
+
**/
|
|
553
|
+
| { name: 'NewQueued' }
|
|
430
554
|
/**
|
|
431
555
|
* Validator has been disabled.
|
|
432
556
|
**/
|
|
@@ -660,8 +784,10 @@ export type PalletXcmEvent =
|
|
|
660
784
|
|
|
661
785
|
export type StagingXcmV5TraitsOutcome =
|
|
662
786
|
| { type: 'Complete'; value: { used: SpWeightsWeightV2Weight } }
|
|
663
|
-
| { type: 'Incomplete'; value: { used: SpWeightsWeightV2Weight; error:
|
|
664
|
-
| { type: 'Error'; value:
|
|
787
|
+
| { type: 'Incomplete'; value: { used: SpWeightsWeightV2Weight; error: StagingXcmV5TraitsInstructionError } }
|
|
788
|
+
| { type: 'Error'; value: StagingXcmV5TraitsInstructionError };
|
|
789
|
+
|
|
790
|
+
export type StagingXcmV5TraitsInstructionError = { index: number; error: XcmV5TraitsError };
|
|
665
791
|
|
|
666
792
|
export type XcmV5TraitsError =
|
|
667
793
|
| { type: 'Overflow' }
|
|
@@ -706,41 +832,6 @@ export type XcmV5TraitsError =
|
|
|
706
832
|
| { type: 'WeightNotComputable' }
|
|
707
833
|
| { type: 'ExceedsStackLimit' };
|
|
708
834
|
|
|
709
|
-
export type StagingXcmV5Location = { parents: number; interior: StagingXcmV5Junctions };
|
|
710
|
-
|
|
711
|
-
export type StagingXcmV5Junctions =
|
|
712
|
-
| { type: 'Here' }
|
|
713
|
-
| { type: 'X1'; value: FixedArray<StagingXcmV5Junction, 1> }
|
|
714
|
-
| { type: 'X2'; value: FixedArray<StagingXcmV5Junction, 2> }
|
|
715
|
-
| { type: 'X3'; value: FixedArray<StagingXcmV5Junction, 3> }
|
|
716
|
-
| { type: 'X4'; value: FixedArray<StagingXcmV5Junction, 4> }
|
|
717
|
-
| { type: 'X5'; value: FixedArray<StagingXcmV5Junction, 5> }
|
|
718
|
-
| { type: 'X6'; value: FixedArray<StagingXcmV5Junction, 6> }
|
|
719
|
-
| { type: 'X7'; value: FixedArray<StagingXcmV5Junction, 7> }
|
|
720
|
-
| { type: 'X8'; value: FixedArray<StagingXcmV5Junction, 8> };
|
|
721
|
-
|
|
722
|
-
export type StagingXcmV5Junction =
|
|
723
|
-
| { type: 'Parachain'; value: number }
|
|
724
|
-
| { type: 'AccountId32'; value: { network?: StagingXcmV5JunctionNetworkId | undefined; id: FixedBytes<32> } }
|
|
725
|
-
| { type: 'AccountIndex64'; value: { network?: StagingXcmV5JunctionNetworkId | undefined; index: bigint } }
|
|
726
|
-
| { type: 'AccountKey20'; value: { network?: StagingXcmV5JunctionNetworkId | undefined; key: FixedBytes<20> } }
|
|
727
|
-
| { type: 'PalletInstance'; value: number }
|
|
728
|
-
| { type: 'GeneralIndex'; value: bigint }
|
|
729
|
-
| { type: 'GeneralKey'; value: { length: number; data: FixedBytes<32> } }
|
|
730
|
-
| { type: 'OnlyChild' }
|
|
731
|
-
| { type: 'Plurality'; value: { id: XcmV3JunctionBodyId; part: XcmV3JunctionBodyPart } }
|
|
732
|
-
| { type: 'GlobalConsensus'; value: StagingXcmV5JunctionNetworkId };
|
|
733
|
-
|
|
734
|
-
export type StagingXcmV5JunctionNetworkId =
|
|
735
|
-
| { type: 'ByGenesis'; value: FixedBytes<32> }
|
|
736
|
-
| { type: 'ByFork'; value: { blockNumber: bigint; blockHash: FixedBytes<32> } }
|
|
737
|
-
| { type: 'Polkadot' }
|
|
738
|
-
| { type: 'Kusama' }
|
|
739
|
-
| { type: 'Ethereum'; value: { chainId: bigint } }
|
|
740
|
-
| { type: 'BitcoinCore' }
|
|
741
|
-
| { type: 'BitcoinCash' }
|
|
742
|
-
| { type: 'PolkadotBulletin' };
|
|
743
|
-
|
|
744
835
|
export type StagingXcmV5Xcm = Array<StagingXcmV5Instruction>;
|
|
745
836
|
|
|
746
837
|
export type StagingXcmV5Instruction =
|
|
@@ -1015,6 +1106,44 @@ export type StagingXcmV4Asset = { id: StagingXcmV4AssetAssetId; fun: StagingXcmV
|
|
|
1015
1106
|
|
|
1016
1107
|
export type StagingXcmV4AssetAssetId = StagingXcmV4Location;
|
|
1017
1108
|
|
|
1109
|
+
export type StagingXcmV4Location = { parents: number; interior: StagingXcmV4Junctions };
|
|
1110
|
+
|
|
1111
|
+
export type StagingXcmV4Junctions =
|
|
1112
|
+
| { type: 'Here' }
|
|
1113
|
+
| { type: 'X1'; value: FixedArray<StagingXcmV4Junction, 1> }
|
|
1114
|
+
| { type: 'X2'; value: FixedArray<StagingXcmV4Junction, 2> }
|
|
1115
|
+
| { type: 'X3'; value: FixedArray<StagingXcmV4Junction, 3> }
|
|
1116
|
+
| { type: 'X4'; value: FixedArray<StagingXcmV4Junction, 4> }
|
|
1117
|
+
| { type: 'X5'; value: FixedArray<StagingXcmV4Junction, 5> }
|
|
1118
|
+
| { type: 'X6'; value: FixedArray<StagingXcmV4Junction, 6> }
|
|
1119
|
+
| { type: 'X7'; value: FixedArray<StagingXcmV4Junction, 7> }
|
|
1120
|
+
| { type: 'X8'; value: FixedArray<StagingXcmV4Junction, 8> };
|
|
1121
|
+
|
|
1122
|
+
export type StagingXcmV4Junction =
|
|
1123
|
+
| { type: 'Parachain'; value: number }
|
|
1124
|
+
| { type: 'AccountId32'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; id: FixedBytes<32> } }
|
|
1125
|
+
| { type: 'AccountIndex64'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; index: bigint } }
|
|
1126
|
+
| { type: 'AccountKey20'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; key: FixedBytes<20> } }
|
|
1127
|
+
| { type: 'PalletInstance'; value: number }
|
|
1128
|
+
| { type: 'GeneralIndex'; value: bigint }
|
|
1129
|
+
| { type: 'GeneralKey'; value: { length: number; data: FixedBytes<32> } }
|
|
1130
|
+
| { type: 'OnlyChild' }
|
|
1131
|
+
| { type: 'Plurality'; value: { id: XcmV3JunctionBodyId; part: XcmV3JunctionBodyPart } }
|
|
1132
|
+
| { type: 'GlobalConsensus'; value: StagingXcmV4JunctionNetworkId };
|
|
1133
|
+
|
|
1134
|
+
export type StagingXcmV4JunctionNetworkId =
|
|
1135
|
+
| { type: 'ByGenesis'; value: FixedBytes<32> }
|
|
1136
|
+
| { type: 'ByFork'; value: { blockNumber: bigint; blockHash: FixedBytes<32> } }
|
|
1137
|
+
| { type: 'Polkadot' }
|
|
1138
|
+
| { type: 'Kusama' }
|
|
1139
|
+
| { type: 'Westend' }
|
|
1140
|
+
| { type: 'Rococo' }
|
|
1141
|
+
| { type: 'Wococo' }
|
|
1142
|
+
| { type: 'Ethereum'; value: { chainId: bigint } }
|
|
1143
|
+
| { type: 'BitcoinCore' }
|
|
1144
|
+
| { type: 'BitcoinCash' }
|
|
1145
|
+
| { type: 'PolkadotBulletin' };
|
|
1146
|
+
|
|
1018
1147
|
export type StagingXcmV4AssetFungibility =
|
|
1019
1148
|
| { type: 'Fungible'; value: bigint }
|
|
1020
1149
|
| { type: 'NonFungible'; value: StagingXcmV4AssetAssetInstance };
|
|
@@ -1316,6 +1445,18 @@ export type PalletProxyEvent =
|
|
|
1316
1445
|
disambiguationIndex: number;
|
|
1317
1446
|
};
|
|
1318
1447
|
}
|
|
1448
|
+
/**
|
|
1449
|
+
* A pure proxy was killed by its spawner.
|
|
1450
|
+
**/
|
|
1451
|
+
| {
|
|
1452
|
+
name: 'PureKilled';
|
|
1453
|
+
data: {
|
|
1454
|
+
pure: AccountId32;
|
|
1455
|
+
spawner: AccountId32;
|
|
1456
|
+
proxyType: AssetHubKusamaRuntimeProxyType;
|
|
1457
|
+
disambiguationIndex: number;
|
|
1458
|
+
};
|
|
1459
|
+
}
|
|
1319
1460
|
/**
|
|
1320
1461
|
* An announcement was placed to make a call in the future.
|
|
1321
1462
|
**/
|
|
@@ -1855,94 +1996,94 @@ export type PalletAssetsEvent002 =
|
|
|
1855
1996
|
/**
|
|
1856
1997
|
* Some asset class was created.
|
|
1857
1998
|
**/
|
|
1858
|
-
| { name: 'Created'; data: { assetId:
|
|
1999
|
+
| { name: 'Created'; data: { assetId: StagingXcmV5Location; creator: AccountId32; owner: AccountId32 } }
|
|
1859
2000
|
/**
|
|
1860
2001
|
* Some assets were issued.
|
|
1861
2002
|
**/
|
|
1862
|
-
| { name: 'Issued'; data: { assetId:
|
|
2003
|
+
| { name: 'Issued'; data: { assetId: StagingXcmV5Location; owner: AccountId32; amount: bigint } }
|
|
1863
2004
|
/**
|
|
1864
2005
|
* Some assets were transferred.
|
|
1865
2006
|
**/
|
|
1866
|
-
| { name: 'Transferred'; data: { assetId:
|
|
2007
|
+
| { name: 'Transferred'; data: { assetId: StagingXcmV5Location; from: AccountId32; to: AccountId32; amount: bigint } }
|
|
1867
2008
|
/**
|
|
1868
2009
|
* Some assets were destroyed.
|
|
1869
2010
|
**/
|
|
1870
|
-
| { name: 'Burned'; data: { assetId:
|
|
2011
|
+
| { name: 'Burned'; data: { assetId: StagingXcmV5Location; owner: AccountId32; balance: bigint } }
|
|
1871
2012
|
/**
|
|
1872
2013
|
* The management team changed.
|
|
1873
2014
|
**/
|
|
1874
2015
|
| {
|
|
1875
2016
|
name: 'TeamChanged';
|
|
1876
|
-
data: { assetId:
|
|
2017
|
+
data: { assetId: StagingXcmV5Location; issuer: AccountId32; admin: AccountId32; freezer: AccountId32 };
|
|
1877
2018
|
}
|
|
1878
2019
|
/**
|
|
1879
2020
|
* The owner changed.
|
|
1880
2021
|
**/
|
|
1881
|
-
| { name: 'OwnerChanged'; data: { assetId:
|
|
2022
|
+
| { name: 'OwnerChanged'; data: { assetId: StagingXcmV5Location; owner: AccountId32 } }
|
|
1882
2023
|
/**
|
|
1883
2024
|
* Some account `who` was frozen.
|
|
1884
2025
|
**/
|
|
1885
|
-
| { name: 'Frozen'; data: { assetId:
|
|
2026
|
+
| { name: 'Frozen'; data: { assetId: StagingXcmV5Location; who: AccountId32 } }
|
|
1886
2027
|
/**
|
|
1887
2028
|
* Some account `who` was thawed.
|
|
1888
2029
|
**/
|
|
1889
|
-
| { name: 'Thawed'; data: { assetId:
|
|
2030
|
+
| { name: 'Thawed'; data: { assetId: StagingXcmV5Location; who: AccountId32 } }
|
|
1890
2031
|
/**
|
|
1891
2032
|
* Some asset `asset_id` was frozen.
|
|
1892
2033
|
**/
|
|
1893
|
-
| { name: 'AssetFrozen'; data: { assetId:
|
|
2034
|
+
| { name: 'AssetFrozen'; data: { assetId: StagingXcmV5Location } }
|
|
1894
2035
|
/**
|
|
1895
2036
|
* Some asset `asset_id` was thawed.
|
|
1896
2037
|
**/
|
|
1897
|
-
| { name: 'AssetThawed'; data: { assetId:
|
|
2038
|
+
| { name: 'AssetThawed'; data: { assetId: StagingXcmV5Location } }
|
|
1898
2039
|
/**
|
|
1899
2040
|
* Accounts were destroyed for given asset.
|
|
1900
2041
|
**/
|
|
1901
2042
|
| {
|
|
1902
2043
|
name: 'AccountsDestroyed';
|
|
1903
|
-
data: { assetId:
|
|
2044
|
+
data: { assetId: StagingXcmV5Location; accountsDestroyed: number; accountsRemaining: number };
|
|
1904
2045
|
}
|
|
1905
2046
|
/**
|
|
1906
2047
|
* Approvals were destroyed for given asset.
|
|
1907
2048
|
**/
|
|
1908
2049
|
| {
|
|
1909
2050
|
name: 'ApprovalsDestroyed';
|
|
1910
|
-
data: { assetId:
|
|
2051
|
+
data: { assetId: StagingXcmV5Location; approvalsDestroyed: number; approvalsRemaining: number };
|
|
1911
2052
|
}
|
|
1912
2053
|
/**
|
|
1913
2054
|
* An asset class is in the process of being destroyed.
|
|
1914
2055
|
**/
|
|
1915
|
-
| { name: 'DestructionStarted'; data: { assetId:
|
|
2056
|
+
| { name: 'DestructionStarted'; data: { assetId: StagingXcmV5Location } }
|
|
1916
2057
|
/**
|
|
1917
2058
|
* An asset class was destroyed.
|
|
1918
2059
|
**/
|
|
1919
|
-
| { name: 'Destroyed'; data: { assetId:
|
|
2060
|
+
| { name: 'Destroyed'; data: { assetId: StagingXcmV5Location } }
|
|
1920
2061
|
/**
|
|
1921
2062
|
* Some asset class was force-created.
|
|
1922
2063
|
**/
|
|
1923
|
-
| { name: 'ForceCreated'; data: { assetId:
|
|
2064
|
+
| { name: 'ForceCreated'; data: { assetId: StagingXcmV5Location; owner: AccountId32 } }
|
|
1924
2065
|
/**
|
|
1925
2066
|
* New metadata has been set for an asset.
|
|
1926
2067
|
**/
|
|
1927
2068
|
| {
|
|
1928
2069
|
name: 'MetadataSet';
|
|
1929
|
-
data: { assetId:
|
|
2070
|
+
data: { assetId: StagingXcmV5Location; name: Bytes; symbol: Bytes; decimals: number; isFrozen: boolean };
|
|
1930
2071
|
}
|
|
1931
2072
|
/**
|
|
1932
2073
|
* Metadata has been cleared for an asset.
|
|
1933
2074
|
**/
|
|
1934
|
-
| { name: 'MetadataCleared'; data: { assetId:
|
|
2075
|
+
| { name: 'MetadataCleared'; data: { assetId: StagingXcmV5Location } }
|
|
1935
2076
|
/**
|
|
1936
2077
|
* (Additional) funds have been approved for transfer to a destination account.
|
|
1937
2078
|
**/
|
|
1938
2079
|
| {
|
|
1939
2080
|
name: 'ApprovedTransfer';
|
|
1940
|
-
data: { assetId:
|
|
2081
|
+
data: { assetId: StagingXcmV5Location; source: AccountId32; delegate: AccountId32; amount: bigint };
|
|
1941
2082
|
}
|
|
1942
2083
|
/**
|
|
1943
2084
|
* An approval for account `delegate` was cancelled by `owner`.
|
|
1944
2085
|
**/
|
|
1945
|
-
| { name: 'ApprovalCancelled'; data: { assetId:
|
|
2086
|
+
| { name: 'ApprovalCancelled'; data: { assetId: StagingXcmV5Location; owner: AccountId32; delegate: AccountId32 } }
|
|
1946
2087
|
/**
|
|
1947
2088
|
* An `amount` was transferred in its entirety from `owner` to `destination` by
|
|
1948
2089
|
* the approved `delegate`.
|
|
@@ -1950,7 +2091,7 @@ export type PalletAssetsEvent002 =
|
|
|
1950
2091
|
| {
|
|
1951
2092
|
name: 'TransferredApproved';
|
|
1952
2093
|
data: {
|
|
1953
|
-
assetId:
|
|
2094
|
+
assetId: StagingXcmV5Location;
|
|
1954
2095
|
owner: AccountId32;
|
|
1955
2096
|
delegate: AccountId32;
|
|
1956
2097
|
destination: AccountId32;
|
|
@@ -1960,27 +2101,27 @@ export type PalletAssetsEvent002 =
|
|
|
1960
2101
|
/**
|
|
1961
2102
|
* An asset has had its attributes changed by the `Force` origin.
|
|
1962
2103
|
**/
|
|
1963
|
-
| { name: 'AssetStatusChanged'; data: { assetId:
|
|
2104
|
+
| { name: 'AssetStatusChanged'; data: { assetId: StagingXcmV5Location } }
|
|
1964
2105
|
/**
|
|
1965
2106
|
* The min_balance of an asset has been updated by the asset owner.
|
|
1966
2107
|
**/
|
|
1967
|
-
| { name: 'AssetMinBalanceChanged'; data: { assetId:
|
|
2108
|
+
| { name: 'AssetMinBalanceChanged'; data: { assetId: StagingXcmV5Location; newMinBalance: bigint } }
|
|
1968
2109
|
/**
|
|
1969
2110
|
* Some account `who` was created with a deposit from `depositor`.
|
|
1970
2111
|
**/
|
|
1971
|
-
| { name: 'Touched'; data: { assetId:
|
|
2112
|
+
| { name: 'Touched'; data: { assetId: StagingXcmV5Location; who: AccountId32; depositor: AccountId32 } }
|
|
1972
2113
|
/**
|
|
1973
2114
|
* Some account `who` was blocked.
|
|
1974
2115
|
**/
|
|
1975
|
-
| { name: 'Blocked'; data: { assetId:
|
|
2116
|
+
| { name: 'Blocked'; data: { assetId: StagingXcmV5Location; who: AccountId32 } }
|
|
1976
2117
|
/**
|
|
1977
2118
|
* Some assets were deposited (e.g. for transaction fees).
|
|
1978
2119
|
**/
|
|
1979
|
-
| { name: 'Deposited'; data: { assetId:
|
|
2120
|
+
| { name: 'Deposited'; data: { assetId: StagingXcmV5Location; who: AccountId32; amount: bigint } }
|
|
1980
2121
|
/**
|
|
1981
2122
|
* Some assets were withdrawn from the account (e.g. for transaction fees).
|
|
1982
2123
|
**/
|
|
1983
|
-
| { name: 'Withdrawn'; data: { assetId:
|
|
2124
|
+
| { name: 'Withdrawn'; data: { assetId: StagingXcmV5Location; who: AccountId32; amount: bigint } };
|
|
1984
2125
|
|
|
1985
2126
|
/**
|
|
1986
2127
|
* The `Event` enum of this pallet
|
|
@@ -2017,7 +2158,7 @@ export type PalletAssetConversionEvent =
|
|
|
2017
2158
|
* The pool id associated with the pool. Note that the order of the assets may not be
|
|
2018
2159
|
* the same as the order specified in the create pool extrinsic.
|
|
2019
2160
|
**/
|
|
2020
|
-
poolId: [
|
|
2161
|
+
poolId: [StagingXcmV5Location, StagingXcmV5Location];
|
|
2021
2162
|
|
|
2022
2163
|
/**
|
|
2023
2164
|
* The account ID of the pool.
|
|
@@ -2050,7 +2191,7 @@ export type PalletAssetConversionEvent =
|
|
|
2050
2191
|
/**
|
|
2051
2192
|
* The pool id of the pool that the liquidity was added to.
|
|
2052
2193
|
**/
|
|
2053
|
-
poolId: [
|
|
2194
|
+
poolId: [StagingXcmV5Location, StagingXcmV5Location];
|
|
2054
2195
|
|
|
2055
2196
|
/**
|
|
2056
2197
|
* The amount of the first asset that was added to the pool.
|
|
@@ -2092,7 +2233,7 @@ export type PalletAssetConversionEvent =
|
|
|
2092
2233
|
/**
|
|
2093
2234
|
* The pool id that the liquidity was removed from.
|
|
2094
2235
|
**/
|
|
2095
|
-
poolId: [
|
|
2236
|
+
poolId: [StagingXcmV5Location, StagingXcmV5Location];
|
|
2096
2237
|
|
|
2097
2238
|
/**
|
|
2098
2239
|
* The amount of the first asset that was removed from the pool.
|
|
@@ -2151,7 +2292,7 @@ export type PalletAssetConversionEvent =
|
|
|
2151
2292
|
* The route of asset IDs with amounts that the swap went through.
|
|
2152
2293
|
* E.g. (A, amount_in) -> (Dot, amount_out) -> (B, amount_out)
|
|
2153
2294
|
**/
|
|
2154
|
-
path: Array<[
|
|
2295
|
+
path: Array<[StagingXcmV5Location, bigint]>;
|
|
2155
2296
|
};
|
|
2156
2297
|
}
|
|
2157
2298
|
/**
|
|
@@ -2174,7 +2315,7 @@ export type PalletAssetConversionEvent =
|
|
|
2174
2315
|
* The route of asset IDs with amounts that the swap went through.
|
|
2175
2316
|
* E.g. (A, amount_in) -> (Dot, amount_out) -> (B, amount_out)
|
|
2176
2317
|
**/
|
|
2177
|
-
path: Array<[
|
|
2318
|
+
path: Array<[StagingXcmV5Location, bigint]>;
|
|
2178
2319
|
};
|
|
2179
2320
|
}
|
|
2180
2321
|
/**
|
|
@@ -2186,7 +2327,7 @@ export type PalletAssetConversionEvent =
|
|
|
2186
2327
|
/**
|
|
2187
2328
|
* The ID of the pool.
|
|
2188
2329
|
**/
|
|
2189
|
-
poolId: [
|
|
2330
|
+
poolId: [StagingXcmV5Location, StagingXcmV5Location];
|
|
2190
2331
|
|
|
2191
2332
|
/**
|
|
2192
2333
|
* The account initiating the touch.
|
|
@@ -2202,27 +2343,31 @@ export type PalletReviveEvent =
|
|
|
2202
2343
|
/**
|
|
2203
2344
|
* A custom event emitted by the contract.
|
|
2204
2345
|
**/
|
|
2205
|
-
{
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2346
|
+
| {
|
|
2347
|
+
name: 'ContractEmitted';
|
|
2348
|
+
data: {
|
|
2349
|
+
/**
|
|
2350
|
+
* The contract that emitted the event.
|
|
2351
|
+
**/
|
|
2352
|
+
contract: H160;
|
|
2353
|
+
|
|
2354
|
+
/**
|
|
2355
|
+
* Data supplied by the contract. Metadata generated during contract compilation
|
|
2356
|
+
* is needed to decode it.
|
|
2357
|
+
**/
|
|
2358
|
+
data: Bytes;
|
|
2359
|
+
|
|
2360
|
+
/**
|
|
2361
|
+
* A list of topics used to index the event.
|
|
2362
|
+
* Number of topics is capped by [`limits::NUM_EVENT_TOPICS`].
|
|
2363
|
+
**/
|
|
2364
|
+
topics: Array<H256>;
|
|
2365
|
+
};
|
|
2366
|
+
}
|
|
2367
|
+
/**
|
|
2368
|
+
* Contract deployed by deployer at the specified address.
|
|
2369
|
+
**/
|
|
2370
|
+
| { name: 'Instantiated'; data: { deployer: H160; contract: H160 } };
|
|
2226
2371
|
|
|
2227
2372
|
/**
|
|
2228
2373
|
* Inner events of this pallet.
|
|
@@ -2504,88 +2649,63 @@ export type FrameSystemError =
|
|
|
2504
2649
|
**/
|
|
2505
2650
|
| 'Unauthorized';
|
|
2506
2651
|
|
|
2507
|
-
export type
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
}
|
|
2512
|
-
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
}
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
}
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
maxPovSize: number;
|
|
2536
|
-
};
|
|
2537
|
-
|
|
2538
|
-
export type PolkadotParachainPrimitivesPrimitivesHeadData = Bytes;
|
|
2539
|
-
|
|
2540
|
-
export type PolkadotPrimitivesV8UpgradeRestriction = 'Present';
|
|
2541
|
-
|
|
2542
|
-
export type SpTrieStorageProof = { trieNodes: Array<Bytes> };
|
|
2543
|
-
|
|
2544
|
-
export type CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot = {
|
|
2545
|
-
dmqMqcHead: H256;
|
|
2546
|
-
relayDispatchQueueRemainingCapacity: CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity;
|
|
2547
|
-
ingressChannels: Array<[PolkadotParachainPrimitivesPrimitivesId, PolkadotPrimitivesV8AbridgedHrmpChannel]>;
|
|
2548
|
-
egressChannels: Array<[PolkadotParachainPrimitivesPrimitivesId, PolkadotPrimitivesV8AbridgedHrmpChannel]>;
|
|
2549
|
-
};
|
|
2550
|
-
|
|
2551
|
-
export type CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity = {
|
|
2552
|
-
remainingCount: number;
|
|
2553
|
-
remainingSize: number;
|
|
2554
|
-
};
|
|
2555
|
-
|
|
2556
|
-
export type PolkadotPrimitivesV8AbridgedHrmpChannel = {
|
|
2557
|
-
maxCapacity: number;
|
|
2558
|
-
maxTotalSize: number;
|
|
2559
|
-
maxMessageSize: number;
|
|
2560
|
-
msgCount: number;
|
|
2561
|
-
totalSize: number;
|
|
2562
|
-
mqcHead?: H256 | undefined;
|
|
2563
|
-
};
|
|
2564
|
-
|
|
2565
|
-
export type PolkadotPrimitivesV8AbridgedHostConfiguration = {
|
|
2566
|
-
maxCodeSize: number;
|
|
2567
|
-
maxHeadDataSize: number;
|
|
2568
|
-
maxUpwardQueueCount: number;
|
|
2569
|
-
maxUpwardQueueSize: number;
|
|
2570
|
-
maxUpwardMessageSize: number;
|
|
2571
|
-
maxUpwardMessageNumPerCandidate: number;
|
|
2572
|
-
hrmpMaxMessageNumPerCandidate: number;
|
|
2573
|
-
validationUpgradeCooldown: number;
|
|
2574
|
-
validationUpgradeDelay: number;
|
|
2575
|
-
asyncBackingParams: PolkadotPrimitivesV8AsyncBackingAsyncBackingParams;
|
|
2576
|
-
};
|
|
2577
|
-
|
|
2578
|
-
export type PolkadotPrimitivesV8AsyncBackingAsyncBackingParams = {
|
|
2579
|
-
maxCandidateDepth: number;
|
|
2580
|
-
allowedAncestryLen: number;
|
|
2581
|
-
};
|
|
2582
|
-
|
|
2583
|
-
export type CumulusPrimitivesParachainInherentMessageQueueChain = H256;
|
|
2652
|
+
export type AssetHubKusamaRuntimeRuntimeCall =
|
|
2653
|
+
| { pallet: 'System'; palletCall: FrameSystemCall }
|
|
2654
|
+
| { pallet: 'ParachainSystem'; palletCall: CumulusPalletParachainSystemCall }
|
|
2655
|
+
| { pallet: 'Timestamp'; palletCall: PalletTimestampCall }
|
|
2656
|
+
| { pallet: 'ParachainInfo'; palletCall: StagingParachainInfoCall }
|
|
2657
|
+
| { pallet: 'MultiBlockMigrations'; palletCall: PalletMigrationsCall }
|
|
2658
|
+
| { pallet: 'Balances'; palletCall: PalletBalancesCall }
|
|
2659
|
+
| { pallet: 'Vesting'; palletCall: PalletVestingCall }
|
|
2660
|
+
| { pallet: 'CollatorSelection'; palletCall: PalletCollatorSelectionCall }
|
|
2661
|
+
| { pallet: 'Session'; palletCall: PalletSessionCall }
|
|
2662
|
+
| { pallet: 'XcmpQueue'; palletCall: CumulusPalletXcmpQueueCall }
|
|
2663
|
+
| { pallet: 'PolkadotXcm'; palletCall: PalletXcmCall }
|
|
2664
|
+
| { pallet: 'CumulusXcm'; palletCall: CumulusPalletXcmCall }
|
|
2665
|
+
| { pallet: 'ToPolkadotXcmRouter'; palletCall: PalletXcmBridgeHubRouterCall }
|
|
2666
|
+
| { pallet: 'MessageQueue'; palletCall: PalletMessageQueueCall }
|
|
2667
|
+
| { pallet: 'Utility'; palletCall: PalletUtilityCall }
|
|
2668
|
+
| { pallet: 'Multisig'; palletCall: PalletMultisigCall }
|
|
2669
|
+
| { pallet: 'Proxy'; palletCall: PalletProxyCall }
|
|
2670
|
+
| { pallet: 'RemoteProxyRelayChain'; palletCall: PalletRemoteProxyCall }
|
|
2671
|
+
| { pallet: 'Assets'; palletCall: PalletAssetsCall }
|
|
2672
|
+
| { pallet: 'Uniques'; palletCall: PalletUniquesCall }
|
|
2673
|
+
| { pallet: 'Nfts'; palletCall: PalletNftsCall }
|
|
2674
|
+
| { pallet: 'ForeignAssets'; palletCall: PalletAssetsCall002 }
|
|
2675
|
+
| { pallet: 'NftFractionalization'; palletCall: PalletNftFractionalizationCall }
|
|
2676
|
+
| { pallet: 'PoolAssets'; palletCall: PalletAssetsCall003 }
|
|
2677
|
+
| { pallet: 'AssetConversion'; palletCall: PalletAssetConversionCall }
|
|
2678
|
+
| { pallet: 'Revive'; palletCall: PalletReviveCall }
|
|
2679
|
+
| { pallet: 'StateTrieMigration'; palletCall: PalletStateTrieMigrationCall };
|
|
2584
2680
|
|
|
2585
|
-
export type
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
}
|
|
2681
|
+
export type AssetHubKusamaRuntimeRuntimeCallLike =
|
|
2682
|
+
| { pallet: 'System'; palletCall: FrameSystemCallLike }
|
|
2683
|
+
| { pallet: 'ParachainSystem'; palletCall: CumulusPalletParachainSystemCallLike }
|
|
2684
|
+
| { pallet: 'Timestamp'; palletCall: PalletTimestampCallLike }
|
|
2685
|
+
| { pallet: 'ParachainInfo'; palletCall: StagingParachainInfoCallLike }
|
|
2686
|
+
| { pallet: 'MultiBlockMigrations'; palletCall: PalletMigrationsCallLike }
|
|
2687
|
+
| { pallet: 'Balances'; palletCall: PalletBalancesCallLike }
|
|
2688
|
+
| { pallet: 'Vesting'; palletCall: PalletVestingCallLike }
|
|
2689
|
+
| { pallet: 'CollatorSelection'; palletCall: PalletCollatorSelectionCallLike }
|
|
2690
|
+
| { pallet: 'Session'; palletCall: PalletSessionCallLike }
|
|
2691
|
+
| { pallet: 'XcmpQueue'; palletCall: CumulusPalletXcmpQueueCallLike }
|
|
2692
|
+
| { pallet: 'PolkadotXcm'; palletCall: PalletXcmCallLike }
|
|
2693
|
+
| { pallet: 'CumulusXcm'; palletCall: CumulusPalletXcmCallLike }
|
|
2694
|
+
| { pallet: 'ToPolkadotXcmRouter'; palletCall: PalletXcmBridgeHubRouterCallLike }
|
|
2695
|
+
| { pallet: 'MessageQueue'; palletCall: PalletMessageQueueCallLike }
|
|
2696
|
+
| { pallet: 'Utility'; palletCall: PalletUtilityCallLike }
|
|
2697
|
+
| { pallet: 'Multisig'; palletCall: PalletMultisigCallLike }
|
|
2698
|
+
| { pallet: 'Proxy'; palletCall: PalletProxyCallLike }
|
|
2699
|
+
| { pallet: 'RemoteProxyRelayChain'; palletCall: PalletRemoteProxyCallLike }
|
|
2700
|
+
| { pallet: 'Assets'; palletCall: PalletAssetsCallLike }
|
|
2701
|
+
| { pallet: 'Uniques'; palletCall: PalletUniquesCallLike }
|
|
2702
|
+
| { pallet: 'Nfts'; palletCall: PalletNftsCallLike }
|
|
2703
|
+
| { pallet: 'ForeignAssets'; palletCall: PalletAssetsCallLike002 }
|
|
2704
|
+
| { pallet: 'NftFractionalization'; palletCall: PalletNftFractionalizationCallLike }
|
|
2705
|
+
| { pallet: 'PoolAssets'; palletCall: PalletAssetsCallLike003 }
|
|
2706
|
+
| { pallet: 'AssetConversion'; palletCall: PalletAssetConversionCallLike }
|
|
2707
|
+
| { pallet: 'Revive'; palletCall: PalletReviveCallLike }
|
|
2708
|
+
| { pallet: 'StateTrieMigration'; palletCall: PalletStateTrieMigrationCallLike };
|
|
2589
2709
|
|
|
2590
2710
|
/**
|
|
2591
2711
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -2602,7 +2722,13 @@ export type CumulusPalletParachainSystemCall =
|
|
|
2602
2722
|
* As a side effect, this function upgrades the current validation function
|
|
2603
2723
|
* if the appropriate time has come.
|
|
2604
2724
|
**/
|
|
2605
|
-
| {
|
|
2725
|
+
| {
|
|
2726
|
+
name: 'SetValidationData';
|
|
2727
|
+
params: {
|
|
2728
|
+
data: CumulusPalletParachainSystemParachainInherentBasicParachainInherentData;
|
|
2729
|
+
inboundMessagesData: CumulusPalletParachainSystemParachainInherentInboundMessagesData;
|
|
2730
|
+
};
|
|
2731
|
+
}
|
|
2606
2732
|
| { name: 'SudoSendUpwardMessage'; params: { message: Bytes } };
|
|
2607
2733
|
|
|
2608
2734
|
export type CumulusPalletParachainSystemCallLike =
|
|
@@ -2617,49 +2743,53 @@ export type CumulusPalletParachainSystemCallLike =
|
|
|
2617
2743
|
* As a side effect, this function upgrades the current validation function
|
|
2618
2744
|
* if the appropriate time has come.
|
|
2619
2745
|
**/
|
|
2620
|
-
| {
|
|
2746
|
+
| {
|
|
2747
|
+
name: 'SetValidationData';
|
|
2748
|
+
params: {
|
|
2749
|
+
data: CumulusPalletParachainSystemParachainInherentBasicParachainInherentData;
|
|
2750
|
+
inboundMessagesData: CumulusPalletParachainSystemParachainInherentInboundMessagesData;
|
|
2751
|
+
};
|
|
2752
|
+
}
|
|
2621
2753
|
| { name: 'SudoSendUpwardMessage'; params: { message: BytesLike } };
|
|
2622
2754
|
|
|
2623
|
-
export type
|
|
2755
|
+
export type CumulusPalletParachainSystemParachainInherentBasicParachainInherentData = {
|
|
2624
2756
|
validationData: PolkadotPrimitivesV8PersistedValidationData;
|
|
2625
2757
|
relayChainState: SpTrieStorageProof;
|
|
2626
|
-
|
|
2627
|
-
|
|
2758
|
+
relayParentDescendants: Array<Header>;
|
|
2759
|
+
collatorPeerId?: Bytes | undefined;
|
|
2760
|
+
};
|
|
2761
|
+
|
|
2762
|
+
export type PolkadotPrimitivesV8PersistedValidationData = {
|
|
2763
|
+
parentHead: PolkadotParachainPrimitivesPrimitivesHeadData;
|
|
2764
|
+
relayParentNumber: number;
|
|
2765
|
+
relayParentStorageRoot: H256;
|
|
2766
|
+
maxPovSize: number;
|
|
2767
|
+
};
|
|
2768
|
+
|
|
2769
|
+
export type PolkadotParachainPrimitivesPrimitivesHeadData = Bytes;
|
|
2770
|
+
|
|
2771
|
+
export type SpTrieStorageProof = { trieNodes: Array<Bytes> };
|
|
2772
|
+
|
|
2773
|
+
export type CumulusPalletParachainSystemParachainInherentInboundMessagesData = {
|
|
2774
|
+
downwardMessages: CumulusPalletParachainSystemParachainInherentAbridgedInboundMessagesCollection;
|
|
2775
|
+
horizontalMessages: CumulusPalletParachainSystemParachainInherentAbridgedInboundMessagesCollection002;
|
|
2776
|
+
};
|
|
2777
|
+
|
|
2778
|
+
export type CumulusPalletParachainSystemParachainInherentAbridgedInboundMessagesCollection = {
|
|
2779
|
+
fullMessages: Array<PolkadotCorePrimitivesInboundDownwardMessage>;
|
|
2780
|
+
hashedMessages: Array<CumulusPrimitivesParachainInherentHashedMessage>;
|
|
2628
2781
|
};
|
|
2629
2782
|
|
|
2630
2783
|
export type PolkadotCorePrimitivesInboundDownwardMessage = { sentAt: number; msg: Bytes };
|
|
2631
2784
|
|
|
2632
|
-
export type
|
|
2785
|
+
export type CumulusPrimitivesParachainInherentHashedMessage = { sentAt: number; msgHash: H256 };
|
|
2633
2786
|
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
**/
|
|
2641
|
-
| 'OverlappingUpgrades'
|
|
2642
|
-
/**
|
|
2643
|
-
* Polkadot currently prohibits this parachain from upgrading its validation function.
|
|
2644
|
-
**/
|
|
2645
|
-
| 'ProhibitedByPolkadot'
|
|
2646
|
-
/**
|
|
2647
|
-
* The supplied validation function has compiled into a blob larger than Polkadot is
|
|
2648
|
-
* willing to run.
|
|
2649
|
-
**/
|
|
2650
|
-
| 'TooBig'
|
|
2651
|
-
/**
|
|
2652
|
-
* The inherent which supplies the validation data did not run this block.
|
|
2653
|
-
**/
|
|
2654
|
-
| 'ValidationDataNotAvailable'
|
|
2655
|
-
/**
|
|
2656
|
-
* The inherent which supplies the host configuration did not run this block.
|
|
2657
|
-
**/
|
|
2658
|
-
| 'HostConfigurationNotAvailable'
|
|
2659
|
-
/**
|
|
2660
|
-
* No validation function upgrade is currently scheduled.
|
|
2661
|
-
**/
|
|
2662
|
-
| 'NotScheduled';
|
|
2787
|
+
export type CumulusPalletParachainSystemParachainInherentAbridgedInboundMessagesCollection002 = {
|
|
2788
|
+
fullMessages: Array<[PolkadotParachainPrimitivesPrimitivesId, PolkadotCorePrimitivesInboundHrmpMessage]>;
|
|
2789
|
+
hashedMessages: Array<[PolkadotParachainPrimitivesPrimitivesId, CumulusPrimitivesParachainInherentHashedMessage]>;
|
|
2790
|
+
};
|
|
2791
|
+
|
|
2792
|
+
export type PolkadotCorePrimitivesInboundHrmpMessage = { sentAt: number; data: Bytes };
|
|
2663
2793
|
|
|
2664
2794
|
/**
|
|
2665
2795
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -2719,29 +2849,92 @@ export type StagingParachainInfoCall = null;
|
|
|
2719
2849
|
|
|
2720
2850
|
export type StagingParachainInfoCallLike = null;
|
|
2721
2851
|
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
| {
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
|
|
2852
|
+
/**
|
|
2853
|
+
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
2854
|
+
**/
|
|
2855
|
+
export type PalletMigrationsCall =
|
|
2856
|
+
/**
|
|
2857
|
+
* Allows root to set a cursor to forcefully start, stop or forward the migration process.
|
|
2858
|
+
*
|
|
2859
|
+
* Should normally not be needed and is only in place as emergency measure. Note that
|
|
2860
|
+
* restarting the migration process in this manner will not call the
|
|
2861
|
+
* [`MigrationStatusHandler::started`] hook or emit an `UpgradeStarted` event.
|
|
2862
|
+
**/
|
|
2863
|
+
| { name: 'ForceSetCursor'; params: { cursor?: PalletMigrationsMigrationCursor | undefined } }
|
|
2864
|
+
/**
|
|
2865
|
+
* Allows root to set an active cursor to forcefully start/forward the migration process.
|
|
2866
|
+
*
|
|
2867
|
+
* This is an edge-case version of [`Self::force_set_cursor`] that allows to set the
|
|
2868
|
+
* `started_at` value to the next block number. Otherwise this would not be possible, since
|
|
2869
|
+
* `force_set_cursor` takes an absolute block number. Setting `started_at` to `None`
|
|
2870
|
+
* indicates that the current block number plus one should be used.
|
|
2871
|
+
**/
|
|
2872
|
+
| {
|
|
2873
|
+
name: 'ForceSetActiveCursor';
|
|
2874
|
+
params: { index: number; innerCursor?: Bytes | undefined; startedAt?: number | undefined };
|
|
2875
|
+
}
|
|
2876
|
+
/**
|
|
2877
|
+
* Forces the onboarding of the migrations.
|
|
2878
|
+
*
|
|
2879
|
+
* This process happens automatically on a runtime upgrade. It is in place as an emergency
|
|
2880
|
+
* measurement. The cursor needs to be `None` for this to succeed.
|
|
2881
|
+
**/
|
|
2882
|
+
| { name: 'ForceOnboardMbms' }
|
|
2883
|
+
/**
|
|
2884
|
+
* Clears the `Historic` set.
|
|
2885
|
+
*
|
|
2886
|
+
* `map_cursor` must be set to the last value that was returned by the
|
|
2887
|
+
* `HistoricCleared` event. The first time `None` can be used. `limit` must be chosen in a
|
|
2888
|
+
* way that will result in a sensible weight.
|
|
2889
|
+
**/
|
|
2890
|
+
| { name: 'ClearHistoric'; params: { selector: PalletMigrationsHistoricCleanupSelector } };
|
|
2737
2891
|
|
|
2738
|
-
export type
|
|
2892
|
+
export type PalletMigrationsCallLike =
|
|
2893
|
+
/**
|
|
2894
|
+
* Allows root to set a cursor to forcefully start, stop or forward the migration process.
|
|
2895
|
+
*
|
|
2896
|
+
* Should normally not be needed and is only in place as emergency measure. Note that
|
|
2897
|
+
* restarting the migration process in this manner will not call the
|
|
2898
|
+
* [`MigrationStatusHandler::started`] hook or emit an `UpgradeStarted` event.
|
|
2899
|
+
**/
|
|
2900
|
+
| { name: 'ForceSetCursor'; params: { cursor?: PalletMigrationsMigrationCursor | undefined } }
|
|
2901
|
+
/**
|
|
2902
|
+
* Allows root to set an active cursor to forcefully start/forward the migration process.
|
|
2903
|
+
*
|
|
2904
|
+
* This is an edge-case version of [`Self::force_set_cursor`] that allows to set the
|
|
2905
|
+
* `started_at` value to the next block number. Otherwise this would not be possible, since
|
|
2906
|
+
* `force_set_cursor` takes an absolute block number. Setting `started_at` to `None`
|
|
2907
|
+
* indicates that the current block number plus one should be used.
|
|
2908
|
+
**/
|
|
2909
|
+
| {
|
|
2910
|
+
name: 'ForceSetActiveCursor';
|
|
2911
|
+
params: { index: number; innerCursor?: BytesLike | undefined; startedAt?: number | undefined };
|
|
2912
|
+
}
|
|
2913
|
+
/**
|
|
2914
|
+
* Forces the onboarding of the migrations.
|
|
2915
|
+
*
|
|
2916
|
+
* This process happens automatically on a runtime upgrade. It is in place as an emergency
|
|
2917
|
+
* measurement. The cursor needs to be `None` for this to succeed.
|
|
2918
|
+
**/
|
|
2919
|
+
| { name: 'ForceOnboardMbms' }
|
|
2920
|
+
/**
|
|
2921
|
+
* Clears the `Historic` set.
|
|
2922
|
+
*
|
|
2923
|
+
* `map_cursor` must be set to the last value that was returned by the
|
|
2924
|
+
* `HistoricCleared` event. The first time `None` can be used. `limit` must be chosen in a
|
|
2925
|
+
* way that will result in a sensible weight.
|
|
2926
|
+
**/
|
|
2927
|
+
| { name: 'ClearHistoric'; params: { selector: PalletMigrationsHistoricCleanupSelector } };
|
|
2739
2928
|
|
|
2740
|
-
export type
|
|
2929
|
+
export type PalletMigrationsMigrationCursor =
|
|
2930
|
+
| { type: 'Active'; value: PalletMigrationsActiveCursor }
|
|
2931
|
+
| { type: 'Stuck' };
|
|
2741
2932
|
|
|
2742
|
-
export type
|
|
2933
|
+
export type PalletMigrationsActiveCursor = { index: number; innerCursor?: Bytes | undefined; startedAt: number };
|
|
2743
2934
|
|
|
2744
|
-
export type
|
|
2935
|
+
export type PalletMigrationsHistoricCleanupSelector =
|
|
2936
|
+
| { type: 'Specific'; value: Array<Bytes> }
|
|
2937
|
+
| { type: 'Wildcard'; value: { limit?: number | undefined; previousCursor?: Bytes | undefined } };
|
|
2745
2938
|
|
|
2746
2939
|
/**
|
|
2747
2940
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -2919,110 +3112,51 @@ export type PalletBalancesCallLike =
|
|
|
2919
3112
|
export type PalletBalancesAdjustmentDirection = 'Increase' | 'Decrease';
|
|
2920
3113
|
|
|
2921
3114
|
/**
|
|
2922
|
-
*
|
|
3115
|
+
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
2923
3116
|
**/
|
|
2924
|
-
export type
|
|
3117
|
+
export type PalletVestingCall =
|
|
2925
3118
|
/**
|
|
2926
|
-
*
|
|
3119
|
+
* Unlock any vested funds of the sender account.
|
|
3120
|
+
*
|
|
3121
|
+
* The dispatch origin for this call must be _Signed_ and the sender must have funds still
|
|
3122
|
+
* locked under this pallet.
|
|
3123
|
+
*
|
|
3124
|
+
* Emits either `VestingCompleted` or `VestingUpdated`.
|
|
3125
|
+
*
|
|
3126
|
+
* ## Complexity
|
|
3127
|
+
* - `O(1)`.
|
|
2927
3128
|
**/
|
|
2928
|
-
| '
|
|
3129
|
+
| { name: 'Vest' }
|
|
2929
3130
|
/**
|
|
2930
|
-
*
|
|
3131
|
+
* Unlock any vested funds of a `target` account.
|
|
3132
|
+
*
|
|
3133
|
+
* The dispatch origin for this call must be _Signed_.
|
|
3134
|
+
*
|
|
3135
|
+
* - `target`: The account whose vested funds should be unlocked. Must have funds still
|
|
3136
|
+
* locked under this pallet.
|
|
3137
|
+
*
|
|
3138
|
+
* Emits either `VestingCompleted` or `VestingUpdated`.
|
|
3139
|
+
*
|
|
3140
|
+
* ## Complexity
|
|
3141
|
+
* - `O(1)`.
|
|
2931
3142
|
**/
|
|
2932
|
-
| '
|
|
3143
|
+
| { name: 'VestOther'; params: { target: MultiAddress } }
|
|
2933
3144
|
/**
|
|
2934
|
-
*
|
|
3145
|
+
* Create a vested transfer.
|
|
3146
|
+
*
|
|
3147
|
+
* The dispatch origin for this call must be _Signed_.
|
|
3148
|
+
*
|
|
3149
|
+
* - `target`: The account receiving the vested funds.
|
|
3150
|
+
* - `schedule`: The vesting schedule attached to the transfer.
|
|
3151
|
+
*
|
|
3152
|
+
* Emits `VestingCreated`.
|
|
3153
|
+
*
|
|
3154
|
+
* NOTE: This will unlock all schedules through the current block.
|
|
3155
|
+
*
|
|
3156
|
+
* ## Complexity
|
|
3157
|
+
* - `O(1)`.
|
|
2935
3158
|
**/
|
|
2936
|
-
| '
|
|
2937
|
-
/**
|
|
2938
|
-
* Value too low to create account due to existential deposit.
|
|
2939
|
-
**/
|
|
2940
|
-
| 'ExistentialDeposit'
|
|
2941
|
-
/**
|
|
2942
|
-
* Transfer/payment would kill account.
|
|
2943
|
-
**/
|
|
2944
|
-
| 'Expendability'
|
|
2945
|
-
/**
|
|
2946
|
-
* A vesting schedule already exists for this account.
|
|
2947
|
-
**/
|
|
2948
|
-
| 'ExistingVestingSchedule'
|
|
2949
|
-
/**
|
|
2950
|
-
* Beneficiary account must pre-exist.
|
|
2951
|
-
**/
|
|
2952
|
-
| 'DeadAccount'
|
|
2953
|
-
/**
|
|
2954
|
-
* Number of named reserves exceed `MaxReserves`.
|
|
2955
|
-
**/
|
|
2956
|
-
| 'TooManyReserves'
|
|
2957
|
-
/**
|
|
2958
|
-
* Number of holds exceed `VariantCountOf<T::RuntimeHoldReason>`.
|
|
2959
|
-
**/
|
|
2960
|
-
| 'TooManyHolds'
|
|
2961
|
-
/**
|
|
2962
|
-
* Number of freezes exceed `MaxFreezes`.
|
|
2963
|
-
**/
|
|
2964
|
-
| 'TooManyFreezes'
|
|
2965
|
-
/**
|
|
2966
|
-
* The issuance cannot be modified since it is already deactivated.
|
|
2967
|
-
**/
|
|
2968
|
-
| 'IssuanceDeactivated'
|
|
2969
|
-
/**
|
|
2970
|
-
* The delta cannot be zero.
|
|
2971
|
-
**/
|
|
2972
|
-
| 'DeltaZero';
|
|
2973
|
-
|
|
2974
|
-
export type PalletTransactionPaymentReleases = 'V1Ancient' | 'V2';
|
|
2975
|
-
|
|
2976
|
-
export type PalletVestingVestingInfo = { locked: bigint; perBlock: bigint; startingBlock: number };
|
|
2977
|
-
|
|
2978
|
-
export type PalletVestingReleases = 'V0' | 'V1';
|
|
2979
|
-
|
|
2980
|
-
/**
|
|
2981
|
-
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
2982
|
-
**/
|
|
2983
|
-
export type PalletVestingCall =
|
|
2984
|
-
/**
|
|
2985
|
-
* Unlock any vested funds of the sender account.
|
|
2986
|
-
*
|
|
2987
|
-
* The dispatch origin for this call must be _Signed_ and the sender must have funds still
|
|
2988
|
-
* locked under this pallet.
|
|
2989
|
-
*
|
|
2990
|
-
* Emits either `VestingCompleted` or `VestingUpdated`.
|
|
2991
|
-
*
|
|
2992
|
-
* ## Complexity
|
|
2993
|
-
* - `O(1)`.
|
|
2994
|
-
**/
|
|
2995
|
-
| { name: 'Vest' }
|
|
2996
|
-
/**
|
|
2997
|
-
* Unlock any vested funds of a `target` account.
|
|
2998
|
-
*
|
|
2999
|
-
* The dispatch origin for this call must be _Signed_.
|
|
3000
|
-
*
|
|
3001
|
-
* - `target`: The account whose vested funds should be unlocked. Must have funds still
|
|
3002
|
-
* locked under this pallet.
|
|
3003
|
-
*
|
|
3004
|
-
* Emits either `VestingCompleted` or `VestingUpdated`.
|
|
3005
|
-
*
|
|
3006
|
-
* ## Complexity
|
|
3007
|
-
* - `O(1)`.
|
|
3008
|
-
**/
|
|
3009
|
-
| { name: 'VestOther'; params: { target: MultiAddress } }
|
|
3010
|
-
/**
|
|
3011
|
-
* Create a vested transfer.
|
|
3012
|
-
*
|
|
3013
|
-
* The dispatch origin for this call must be _Signed_.
|
|
3014
|
-
*
|
|
3015
|
-
* - `target`: The account receiving the vested funds.
|
|
3016
|
-
* - `schedule`: The vesting schedule attached to the transfer.
|
|
3017
|
-
*
|
|
3018
|
-
* Emits `VestingCreated`.
|
|
3019
|
-
*
|
|
3020
|
-
* NOTE: This will unlock all schedules through the current block.
|
|
3021
|
-
*
|
|
3022
|
-
* ## Complexity
|
|
3023
|
-
* - `O(1)`.
|
|
3024
|
-
**/
|
|
3025
|
-
| { name: 'VestedTransfer'; params: { target: MultiAddress; schedule: PalletVestingVestingInfo } }
|
|
3159
|
+
| { name: 'VestedTransfer'; params: { target: MultiAddress; schedule: PalletVestingVestingInfo } }
|
|
3026
3160
|
/**
|
|
3027
3161
|
* Force a vested transfer.
|
|
3028
3162
|
*
|
|
@@ -3174,33 +3308,7 @@ export type PalletVestingCallLike =
|
|
|
3174
3308
|
**/
|
|
3175
3309
|
| { name: 'ForceRemoveVestingSchedule'; params: { target: MultiAddressLike; scheduleIndex: number } };
|
|
3176
3310
|
|
|
3177
|
-
|
|
3178
|
-
* Error for the vesting pallet.
|
|
3179
|
-
**/
|
|
3180
|
-
export type PalletVestingError =
|
|
3181
|
-
/**
|
|
3182
|
-
* The account given is not vesting.
|
|
3183
|
-
**/
|
|
3184
|
-
| 'NotVesting'
|
|
3185
|
-
/**
|
|
3186
|
-
* The account already has `MaxVestingSchedules` count of schedules and thus
|
|
3187
|
-
* cannot add another one. Consider merging existing schedules in order to add another.
|
|
3188
|
-
**/
|
|
3189
|
-
| 'AtMaxVestingSchedules'
|
|
3190
|
-
/**
|
|
3191
|
-
* Amount being transferred is too low to create a vesting schedule.
|
|
3192
|
-
**/
|
|
3193
|
-
| 'AmountLow'
|
|
3194
|
-
/**
|
|
3195
|
-
* An index was out of bounds of the vesting schedules.
|
|
3196
|
-
**/
|
|
3197
|
-
| 'ScheduleIndexOutOfBounds'
|
|
3198
|
-
/**
|
|
3199
|
-
* Failed to create a new schedule because some parameter was invalid.
|
|
3200
|
-
**/
|
|
3201
|
-
| 'InvalidScheduleParams';
|
|
3202
|
-
|
|
3203
|
-
export type PalletCollatorSelectionCandidateInfo = { who: AccountId32; deposit: bigint };
|
|
3311
|
+
export type PalletVestingVestingInfo = { locked: bigint; perBlock: bigint; startingBlock: number };
|
|
3204
3312
|
|
|
3205
3313
|
/**
|
|
3206
3314
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -3375,89 +3483,6 @@ export type PalletCollatorSelectionCallLike =
|
|
|
3375
3483
|
**/
|
|
3376
3484
|
| { name: 'TakeCandidateSlot'; params: { deposit: bigint; target: AccountId32Like } };
|
|
3377
3485
|
|
|
3378
|
-
export type FrameSupportPalletId = FixedBytes<8>;
|
|
3379
|
-
|
|
3380
|
-
/**
|
|
3381
|
-
* The `Error` enum of this pallet.
|
|
3382
|
-
**/
|
|
3383
|
-
export type PalletCollatorSelectionError =
|
|
3384
|
-
/**
|
|
3385
|
-
* The pallet has too many candidates.
|
|
3386
|
-
**/
|
|
3387
|
-
| 'TooManyCandidates'
|
|
3388
|
-
/**
|
|
3389
|
-
* Leaving would result in too few candidates.
|
|
3390
|
-
**/
|
|
3391
|
-
| 'TooFewEligibleCollators'
|
|
3392
|
-
/**
|
|
3393
|
-
* Account is already a candidate.
|
|
3394
|
-
**/
|
|
3395
|
-
| 'AlreadyCandidate'
|
|
3396
|
-
/**
|
|
3397
|
-
* Account is not a candidate.
|
|
3398
|
-
**/
|
|
3399
|
-
| 'NotCandidate'
|
|
3400
|
-
/**
|
|
3401
|
-
* There are too many Invulnerables.
|
|
3402
|
-
**/
|
|
3403
|
-
| 'TooManyInvulnerables'
|
|
3404
|
-
/**
|
|
3405
|
-
* Account is already an Invulnerable.
|
|
3406
|
-
**/
|
|
3407
|
-
| 'AlreadyInvulnerable'
|
|
3408
|
-
/**
|
|
3409
|
-
* Account is not an Invulnerable.
|
|
3410
|
-
**/
|
|
3411
|
-
| 'NotInvulnerable'
|
|
3412
|
-
/**
|
|
3413
|
-
* Account has no associated validator ID.
|
|
3414
|
-
**/
|
|
3415
|
-
| 'NoAssociatedValidatorId'
|
|
3416
|
-
/**
|
|
3417
|
-
* Validator ID is not yet registered.
|
|
3418
|
-
**/
|
|
3419
|
-
| 'ValidatorNotRegistered'
|
|
3420
|
-
/**
|
|
3421
|
-
* Could not insert in the candidate list.
|
|
3422
|
-
**/
|
|
3423
|
-
| 'InsertToCandidateListFailed'
|
|
3424
|
-
/**
|
|
3425
|
-
* Could not remove from the candidate list.
|
|
3426
|
-
**/
|
|
3427
|
-
| 'RemoveFromCandidateListFailed'
|
|
3428
|
-
/**
|
|
3429
|
-
* New deposit amount would be below the minimum candidacy bond.
|
|
3430
|
-
**/
|
|
3431
|
-
| 'DepositTooLow'
|
|
3432
|
-
/**
|
|
3433
|
-
* Could not update the candidate list.
|
|
3434
|
-
**/
|
|
3435
|
-
| 'UpdateCandidateListFailed'
|
|
3436
|
-
/**
|
|
3437
|
-
* Deposit amount is too low to take the target's slot in the candidate list.
|
|
3438
|
-
**/
|
|
3439
|
-
| 'InsufficientBond'
|
|
3440
|
-
/**
|
|
3441
|
-
* The target account to be replaced in the candidate list is not a candidate.
|
|
3442
|
-
**/
|
|
3443
|
-
| 'TargetIsNotCandidate'
|
|
3444
|
-
/**
|
|
3445
|
-
* The updated deposit amount is equal to the amount already reserved.
|
|
3446
|
-
**/
|
|
3447
|
-
| 'IdenticalDeposit'
|
|
3448
|
-
/**
|
|
3449
|
-
* Cannot lower candidacy bond while occupying a future collator slot in the list.
|
|
3450
|
-
**/
|
|
3451
|
-
| 'InvalidUnreserve';
|
|
3452
|
-
|
|
3453
|
-
export type AssetHubKusamaRuntimeSessionKeys = { aura: SpConsensusAuraSr25519AppSr25519Public };
|
|
3454
|
-
|
|
3455
|
-
export type SpConsensusAuraSr25519AppSr25519Public = FixedBytes<32>;
|
|
3456
|
-
|
|
3457
|
-
export type SpStakingOffenceOffenceSeverity = Perbill;
|
|
3458
|
-
|
|
3459
|
-
export type SpCoreCryptoKeyTypeId = FixedBytes<4>;
|
|
3460
|
-
|
|
3461
3486
|
/**
|
|
3462
3487
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
3463
3488
|
**/
|
|
@@ -3519,48 +3544,9 @@ export type PalletSessionCallLike =
|
|
|
3519
3544
|
**/
|
|
3520
3545
|
| { name: 'PurgeKeys' };
|
|
3521
3546
|
|
|
3522
|
-
|
|
3523
|
-
* Error for the session pallet.
|
|
3524
|
-
**/
|
|
3525
|
-
export type PalletSessionError =
|
|
3526
|
-
/**
|
|
3527
|
-
* Invalid ownership proof.
|
|
3528
|
-
**/
|
|
3529
|
-
| 'InvalidProof'
|
|
3530
|
-
/**
|
|
3531
|
-
* No associated validator ID for account.
|
|
3532
|
-
**/
|
|
3533
|
-
| 'NoAssociatedValidatorId'
|
|
3534
|
-
/**
|
|
3535
|
-
* Registered duplicate key.
|
|
3536
|
-
**/
|
|
3537
|
-
| 'DuplicatedKey'
|
|
3538
|
-
/**
|
|
3539
|
-
* No keys are associated with this account.
|
|
3540
|
-
**/
|
|
3541
|
-
| 'NoKeys'
|
|
3542
|
-
/**
|
|
3543
|
-
* Key setting account is not live, so it's impossible to associate keys.
|
|
3544
|
-
**/
|
|
3545
|
-
| 'NoAccount';
|
|
3546
|
-
|
|
3547
|
-
export type SpConsensusSlotsSlot = bigint;
|
|
3548
|
-
|
|
3549
|
-
export type CumulusPalletXcmpQueueOutboundChannelDetails = {
|
|
3550
|
-
recipient: PolkadotParachainPrimitivesPrimitivesId;
|
|
3551
|
-
state: CumulusPalletXcmpQueueOutboundState;
|
|
3552
|
-
signalsExist: boolean;
|
|
3553
|
-
firstIndex: number;
|
|
3554
|
-
lastIndex: number;
|
|
3555
|
-
};
|
|
3556
|
-
|
|
3557
|
-
export type CumulusPalletXcmpQueueOutboundState = 'Ok' | 'Suspended';
|
|
3547
|
+
export type AssetHubKusamaRuntimeSessionKeys = { aura: SpConsensusAuraSr25519AppSr25519Public };
|
|
3558
3548
|
|
|
3559
|
-
export type
|
|
3560
|
-
suspendThreshold: number;
|
|
3561
|
-
dropThreshold: number;
|
|
3562
|
-
resumeThreshold: number;
|
|
3563
|
-
};
|
|
3549
|
+
export type SpConsensusAuraSr25519AppSr25519Public = FixedBytes<32>;
|
|
3564
3550
|
|
|
3565
3551
|
/**
|
|
3566
3552
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -3646,161 +3632,10 @@ export type CumulusPalletXcmpQueueCallLike =
|
|
|
3646
3632
|
| { name: 'UpdateResumeThreshold'; params: { new: number } };
|
|
3647
3633
|
|
|
3648
3634
|
/**
|
|
3649
|
-
*
|
|
3635
|
+
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
3650
3636
|
**/
|
|
3651
|
-
export type
|
|
3652
|
-
|
|
3653
|
-
* Setting the queue config failed since one of its values was invalid.
|
|
3654
|
-
**/
|
|
3655
|
-
| 'BadQueueConfig'
|
|
3656
|
-
/**
|
|
3657
|
-
* The execution is already suspended.
|
|
3658
|
-
**/
|
|
3659
|
-
| 'AlreadySuspended'
|
|
3660
|
-
/**
|
|
3661
|
-
* The execution is already resumed.
|
|
3662
|
-
**/
|
|
3663
|
-
| 'AlreadyResumed'
|
|
3664
|
-
/**
|
|
3665
|
-
* There are too many active outbound channels.
|
|
3666
|
-
**/
|
|
3667
|
-
| 'TooManyActiveOutboundChannels'
|
|
3668
|
-
/**
|
|
3669
|
-
* The message is too big.
|
|
3670
|
-
**/
|
|
3671
|
-
| 'TooBig';
|
|
3672
|
-
|
|
3673
|
-
export type PalletXcmQueryStatus =
|
|
3674
|
-
| {
|
|
3675
|
-
type: 'Pending';
|
|
3676
|
-
value: {
|
|
3677
|
-
responder: XcmVersionedLocation;
|
|
3678
|
-
maybeMatchQuerier?: XcmVersionedLocation | undefined;
|
|
3679
|
-
maybeNotify?: [number, number] | undefined;
|
|
3680
|
-
timeout: number;
|
|
3681
|
-
};
|
|
3682
|
-
}
|
|
3683
|
-
| { type: 'VersionNotifier'; value: { origin: XcmVersionedLocation; isActive: boolean } }
|
|
3684
|
-
| { type: 'Ready'; value: { response: XcmVersionedResponse; at: number } };
|
|
3685
|
-
|
|
3686
|
-
export type XcmVersionedResponse =
|
|
3687
|
-
| { type: 'V3'; value: XcmV3Response }
|
|
3688
|
-
| { type: 'V4'; value: StagingXcmV4Response }
|
|
3689
|
-
| { type: 'V5'; value: StagingXcmV5Response };
|
|
3690
|
-
|
|
3691
|
-
export type XcmV3Response =
|
|
3692
|
-
| { type: 'Null' }
|
|
3693
|
-
| { type: 'Assets'; value: XcmV3MultiassetMultiAssets }
|
|
3694
|
-
| { type: 'ExecutionResult'; value?: [number, XcmV3TraitsError] | undefined }
|
|
3695
|
-
| { type: 'Version'; value: number }
|
|
3696
|
-
| { type: 'PalletsInfo'; value: Array<XcmV3PalletInfo> }
|
|
3697
|
-
| { type: 'DispatchResult'; value: XcmV3MaybeErrorCode };
|
|
3698
|
-
|
|
3699
|
-
export type XcmV3TraitsError =
|
|
3700
|
-
| { type: 'Overflow' }
|
|
3701
|
-
| { type: 'Unimplemented' }
|
|
3702
|
-
| { type: 'UntrustedReserveLocation' }
|
|
3703
|
-
| { type: 'UntrustedTeleportLocation' }
|
|
3704
|
-
| { type: 'LocationFull' }
|
|
3705
|
-
| { type: 'LocationNotInvertible' }
|
|
3706
|
-
| { type: 'BadOrigin' }
|
|
3707
|
-
| { type: 'InvalidLocation' }
|
|
3708
|
-
| { type: 'AssetNotFound' }
|
|
3709
|
-
| { type: 'FailedToTransactAsset' }
|
|
3710
|
-
| { type: 'NotWithdrawable' }
|
|
3711
|
-
| { type: 'LocationCannotHold' }
|
|
3712
|
-
| { type: 'ExceedsMaxMessageSize' }
|
|
3713
|
-
| { type: 'DestinationUnsupported' }
|
|
3714
|
-
| { type: 'Transport' }
|
|
3715
|
-
| { type: 'Unroutable' }
|
|
3716
|
-
| { type: 'UnknownClaim' }
|
|
3717
|
-
| { type: 'FailedToDecode' }
|
|
3718
|
-
| { type: 'MaxWeightInvalid' }
|
|
3719
|
-
| { type: 'NotHoldingFees' }
|
|
3720
|
-
| { type: 'TooExpensive' }
|
|
3721
|
-
| { type: 'Trap'; value: bigint }
|
|
3722
|
-
| { type: 'ExpectationFalse' }
|
|
3723
|
-
| { type: 'PalletNotFound' }
|
|
3724
|
-
| { type: 'NameMismatch' }
|
|
3725
|
-
| { type: 'VersionIncompatible' }
|
|
3726
|
-
| { type: 'HoldingWouldOverflow' }
|
|
3727
|
-
| { type: 'ExportError' }
|
|
3728
|
-
| { type: 'ReanchorFailed' }
|
|
3729
|
-
| { type: 'NoDeal' }
|
|
3730
|
-
| { type: 'FeesNotMet' }
|
|
3731
|
-
| { type: 'LockError' }
|
|
3732
|
-
| { type: 'NoPermission' }
|
|
3733
|
-
| { type: 'Unanchored' }
|
|
3734
|
-
| { type: 'NotDepositable' }
|
|
3735
|
-
| { type: 'UnhandledXcmVersion' }
|
|
3736
|
-
| { type: 'WeightLimitReached'; value: SpWeightsWeightV2Weight }
|
|
3737
|
-
| { type: 'Barrier' }
|
|
3738
|
-
| { type: 'WeightNotComputable' }
|
|
3739
|
-
| { type: 'ExceedsStackLimit' };
|
|
3740
|
-
|
|
3741
|
-
export type XcmV3PalletInfo = {
|
|
3742
|
-
index: number;
|
|
3743
|
-
name: Bytes;
|
|
3744
|
-
moduleName: Bytes;
|
|
3745
|
-
major: number;
|
|
3746
|
-
minor: number;
|
|
3747
|
-
patch: number;
|
|
3748
|
-
};
|
|
3749
|
-
|
|
3750
|
-
export type StagingXcmV4Response =
|
|
3751
|
-
| { type: 'Null' }
|
|
3752
|
-
| { type: 'Assets'; value: StagingXcmV4AssetAssets }
|
|
3753
|
-
| { type: 'ExecutionResult'; value?: [number, XcmV3TraitsError] | undefined }
|
|
3754
|
-
| { type: 'Version'; value: number }
|
|
3755
|
-
| { type: 'PalletsInfo'; value: Array<StagingXcmV4PalletInfo> }
|
|
3756
|
-
| { type: 'DispatchResult'; value: XcmV3MaybeErrorCode };
|
|
3757
|
-
|
|
3758
|
-
export type StagingXcmV4PalletInfo = {
|
|
3759
|
-
index: number;
|
|
3760
|
-
name: Bytes;
|
|
3761
|
-
moduleName: Bytes;
|
|
3762
|
-
major: number;
|
|
3763
|
-
minor: number;
|
|
3764
|
-
patch: number;
|
|
3765
|
-
};
|
|
3766
|
-
|
|
3767
|
-
export type PalletXcmVersionMigrationStage =
|
|
3768
|
-
| { type: 'MigrateSupportedVersion' }
|
|
3769
|
-
| { type: 'MigrateVersionNotifiers' }
|
|
3770
|
-
| { type: 'NotifyCurrentTargets'; value?: Bytes | undefined }
|
|
3771
|
-
| { type: 'MigrateAndNotifyOldTargets' };
|
|
3772
|
-
|
|
3773
|
-
export type XcmVersionedAssetId =
|
|
3774
|
-
| { type: 'V3'; value: XcmV3MultiassetAssetId }
|
|
3775
|
-
| { type: 'V4'; value: StagingXcmV4AssetAssetId }
|
|
3776
|
-
| { type: 'V5'; value: StagingXcmV5AssetAssetId };
|
|
3777
|
-
|
|
3778
|
-
export type PalletXcmRemoteLockedFungibleRecord = {
|
|
3779
|
-
amount: bigint;
|
|
3780
|
-
owner: XcmVersionedLocation;
|
|
3781
|
-
locker: XcmVersionedLocation;
|
|
3782
|
-
consumers: Array<[[], bigint]>;
|
|
3783
|
-
};
|
|
3784
|
-
|
|
3785
|
-
export type PalletXcmAuthorizedAliasesEntry = {
|
|
3786
|
-
aliasers: Array<XcmRuntimeApisAuthorizedAliasesOriginAliaser>;
|
|
3787
|
-
ticket: FrameSupportStorageDisabled;
|
|
3788
|
-
};
|
|
3789
|
-
|
|
3790
|
-
export type FrameSupportStorageDisabled = {};
|
|
3791
|
-
|
|
3792
|
-
export type PalletXcmMaxAuthorizedAliases = {};
|
|
3793
|
-
|
|
3794
|
-
export type XcmRuntimeApisAuthorizedAliasesOriginAliaser = {
|
|
3795
|
-
location: XcmVersionedLocation;
|
|
3796
|
-
expiry?: bigint | undefined;
|
|
3797
|
-
};
|
|
3798
|
-
|
|
3799
|
-
/**
|
|
3800
|
-
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
3801
|
-
**/
|
|
3802
|
-
export type PalletXcmCall =
|
|
3803
|
-
| { name: 'Send'; params: { dest: XcmVersionedLocation; message: XcmVersionedXcm } }
|
|
3637
|
+
export type PalletXcmCall =
|
|
3638
|
+
| { name: 'Send'; params: { dest: XcmVersionedLocation; message: XcmVersionedXcm } }
|
|
3804
3639
|
/**
|
|
3805
3640
|
* Teleport some assets from the local chain to some destination chain.
|
|
3806
3641
|
*
|
|
@@ -4579,6 +4414,65 @@ export type XcmV3Instruction =
|
|
|
4579
4414
|
value: { weightLimit: XcmV3WeightLimit; checkOrigin?: StagingXcmV3MultilocationMultiLocation | undefined };
|
|
4580
4415
|
};
|
|
4581
4416
|
|
|
4417
|
+
export type XcmV3Response =
|
|
4418
|
+
| { type: 'Null' }
|
|
4419
|
+
| { type: 'Assets'; value: XcmV3MultiassetMultiAssets }
|
|
4420
|
+
| { type: 'ExecutionResult'; value?: [number, XcmV3TraitsError] | undefined }
|
|
4421
|
+
| { type: 'Version'; value: number }
|
|
4422
|
+
| { type: 'PalletsInfo'; value: Array<XcmV3PalletInfo> }
|
|
4423
|
+
| { type: 'DispatchResult'; value: XcmV3MaybeErrorCode };
|
|
4424
|
+
|
|
4425
|
+
export type XcmV3TraitsError =
|
|
4426
|
+
| { type: 'Overflow' }
|
|
4427
|
+
| { type: 'Unimplemented' }
|
|
4428
|
+
| { type: 'UntrustedReserveLocation' }
|
|
4429
|
+
| { type: 'UntrustedTeleportLocation' }
|
|
4430
|
+
| { type: 'LocationFull' }
|
|
4431
|
+
| { type: 'LocationNotInvertible' }
|
|
4432
|
+
| { type: 'BadOrigin' }
|
|
4433
|
+
| { type: 'InvalidLocation' }
|
|
4434
|
+
| { type: 'AssetNotFound' }
|
|
4435
|
+
| { type: 'FailedToTransactAsset' }
|
|
4436
|
+
| { type: 'NotWithdrawable' }
|
|
4437
|
+
| { type: 'LocationCannotHold' }
|
|
4438
|
+
| { type: 'ExceedsMaxMessageSize' }
|
|
4439
|
+
| { type: 'DestinationUnsupported' }
|
|
4440
|
+
| { type: 'Transport' }
|
|
4441
|
+
| { type: 'Unroutable' }
|
|
4442
|
+
| { type: 'UnknownClaim' }
|
|
4443
|
+
| { type: 'FailedToDecode' }
|
|
4444
|
+
| { type: 'MaxWeightInvalid' }
|
|
4445
|
+
| { type: 'NotHoldingFees' }
|
|
4446
|
+
| { type: 'TooExpensive' }
|
|
4447
|
+
| { type: 'Trap'; value: bigint }
|
|
4448
|
+
| { type: 'ExpectationFalse' }
|
|
4449
|
+
| { type: 'PalletNotFound' }
|
|
4450
|
+
| { type: 'NameMismatch' }
|
|
4451
|
+
| { type: 'VersionIncompatible' }
|
|
4452
|
+
| { type: 'HoldingWouldOverflow' }
|
|
4453
|
+
| { type: 'ExportError' }
|
|
4454
|
+
| { type: 'ReanchorFailed' }
|
|
4455
|
+
| { type: 'NoDeal' }
|
|
4456
|
+
| { type: 'FeesNotMet' }
|
|
4457
|
+
| { type: 'LockError' }
|
|
4458
|
+
| { type: 'NoPermission' }
|
|
4459
|
+
| { type: 'Unanchored' }
|
|
4460
|
+
| { type: 'NotDepositable' }
|
|
4461
|
+
| { type: 'UnhandledXcmVersion' }
|
|
4462
|
+
| { type: 'WeightLimitReached'; value: SpWeightsWeightV2Weight }
|
|
4463
|
+
| { type: 'Barrier' }
|
|
4464
|
+
| { type: 'WeightNotComputable' }
|
|
4465
|
+
| { type: 'ExceedsStackLimit' };
|
|
4466
|
+
|
|
4467
|
+
export type XcmV3PalletInfo = {
|
|
4468
|
+
index: number;
|
|
4469
|
+
name: Bytes;
|
|
4470
|
+
moduleName: Bytes;
|
|
4471
|
+
major: number;
|
|
4472
|
+
minor: number;
|
|
4473
|
+
patch: number;
|
|
4474
|
+
};
|
|
4475
|
+
|
|
4582
4476
|
export type XcmV3QueryResponseInfo = {
|
|
4583
4477
|
destination: StagingXcmV3MultilocationMultiLocation;
|
|
4584
4478
|
queryId: bigint;
|
|
@@ -4687,6 +4581,23 @@ export type StagingXcmV4Instruction =
|
|
|
4687
4581
|
value: { weightLimit: XcmV3WeightLimit; checkOrigin?: StagingXcmV4Location | undefined };
|
|
4688
4582
|
};
|
|
4689
4583
|
|
|
4584
|
+
export type StagingXcmV4Response =
|
|
4585
|
+
| { type: 'Null' }
|
|
4586
|
+
| { type: 'Assets'; value: StagingXcmV4AssetAssets }
|
|
4587
|
+
| { type: 'ExecutionResult'; value?: [number, XcmV3TraitsError] | undefined }
|
|
4588
|
+
| { type: 'Version'; value: number }
|
|
4589
|
+
| { type: 'PalletsInfo'; value: Array<StagingXcmV4PalletInfo> }
|
|
4590
|
+
| { type: 'DispatchResult'; value: XcmV3MaybeErrorCode };
|
|
4591
|
+
|
|
4592
|
+
export type StagingXcmV4PalletInfo = {
|
|
4593
|
+
index: number;
|
|
4594
|
+
name: Bytes;
|
|
4595
|
+
moduleName: Bytes;
|
|
4596
|
+
major: number;
|
|
4597
|
+
minor: number;
|
|
4598
|
+
patch: number;
|
|
4599
|
+
};
|
|
4600
|
+
|
|
4690
4601
|
export type StagingXcmV4QueryResponseInfo = {
|
|
4691
4602
|
destination: StagingXcmV4Location;
|
|
4692
4603
|
queryId: bigint;
|
|
@@ -4714,177 +4625,41 @@ export type StagingXcmExecutorAssetTransferTransferType =
|
|
|
4714
4625
|
| { type: 'DestinationReserve' }
|
|
4715
4626
|
| { type: 'RemoteReserve'; value: XcmVersionedLocation };
|
|
4716
4627
|
|
|
4628
|
+
export type XcmVersionedAssetId =
|
|
4629
|
+
| { type: 'V3'; value: XcmV3MultiassetAssetId }
|
|
4630
|
+
| { type: 'V4'; value: StagingXcmV4AssetAssetId }
|
|
4631
|
+
| { type: 'V5'; value: StagingXcmV5AssetAssetId };
|
|
4632
|
+
|
|
4717
4633
|
/**
|
|
4718
|
-
*
|
|
4634
|
+
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
4719
4635
|
**/
|
|
4720
|
-
export type
|
|
4721
|
-
|
|
4722
|
-
|
|
4723
|
-
|
|
4724
|
-
|
|
4725
|
-
|
|
4636
|
+
export type CumulusPalletXcmCall = null;
|
|
4637
|
+
|
|
4638
|
+
export type CumulusPalletXcmCallLike = null;
|
|
4639
|
+
|
|
4640
|
+
/**
|
|
4641
|
+
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
4642
|
+
**/
|
|
4643
|
+
export type PalletXcmBridgeHubRouterCall =
|
|
4726
4644
|
/**
|
|
4727
|
-
*
|
|
4728
|
-
* Perhaps a lack of space for buffering the message.
|
|
4645
|
+
* Notification about congested bridge queue.
|
|
4729
4646
|
**/
|
|
4730
|
-
|
|
4647
|
+
{ name: 'ReportBridgeStatus'; params: { bridgeId: H256; isCongested: boolean } };
|
|
4648
|
+
|
|
4649
|
+
export type PalletXcmBridgeHubRouterCallLike =
|
|
4731
4650
|
/**
|
|
4732
|
-
*
|
|
4651
|
+
* Notification about congested bridge queue.
|
|
4733
4652
|
**/
|
|
4734
|
-
|
|
4653
|
+
{ name: 'ReportBridgeStatus'; params: { bridgeId: H256; isCongested: boolean } };
|
|
4654
|
+
|
|
4655
|
+
/**
|
|
4656
|
+
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
4657
|
+
**/
|
|
4658
|
+
export type PalletMessageQueueCall =
|
|
4735
4659
|
/**
|
|
4736
|
-
*
|
|
4660
|
+
* Remove a page which has no more messages remaining to be processed or is stale.
|
|
4737
4661
|
**/
|
|
4738
|
-
| '
|
|
4739
|
-
/**
|
|
4740
|
-
* The destination `Location` provided cannot be inverted.
|
|
4741
|
-
**/
|
|
4742
|
-
| 'DestinationNotInvertible'
|
|
4743
|
-
/**
|
|
4744
|
-
* The assets to be sent are empty.
|
|
4745
|
-
**/
|
|
4746
|
-
| 'Empty'
|
|
4747
|
-
/**
|
|
4748
|
-
* Could not re-anchor the assets to declare the fees for the destination chain.
|
|
4749
|
-
**/
|
|
4750
|
-
| 'CannotReanchor'
|
|
4751
|
-
/**
|
|
4752
|
-
* Too many assets have been attempted for transfer.
|
|
4753
|
-
**/
|
|
4754
|
-
| 'TooManyAssets'
|
|
4755
|
-
/**
|
|
4756
|
-
* Origin is invalid for sending.
|
|
4757
|
-
**/
|
|
4758
|
-
| 'InvalidOrigin'
|
|
4759
|
-
/**
|
|
4760
|
-
* The version of the `Versioned` value used is not able to be interpreted.
|
|
4761
|
-
**/
|
|
4762
|
-
| 'BadVersion'
|
|
4763
|
-
/**
|
|
4764
|
-
* The given location could not be used (e.g. because it cannot be expressed in the
|
|
4765
|
-
* desired version of XCM).
|
|
4766
|
-
**/
|
|
4767
|
-
| 'BadLocation'
|
|
4768
|
-
/**
|
|
4769
|
-
* The referenced subscription could not be found.
|
|
4770
|
-
**/
|
|
4771
|
-
| 'NoSubscription'
|
|
4772
|
-
/**
|
|
4773
|
-
* The location is invalid since it already has a subscription from us.
|
|
4774
|
-
**/
|
|
4775
|
-
| 'AlreadySubscribed'
|
|
4776
|
-
/**
|
|
4777
|
-
* Could not check-out the assets for teleportation to the destination chain.
|
|
4778
|
-
**/
|
|
4779
|
-
| 'CannotCheckOutTeleport'
|
|
4780
|
-
/**
|
|
4781
|
-
* The owner does not own (all) of the asset that they wish to do the operation on.
|
|
4782
|
-
**/
|
|
4783
|
-
| 'LowBalance'
|
|
4784
|
-
/**
|
|
4785
|
-
* The asset owner has too many locks on the asset.
|
|
4786
|
-
**/
|
|
4787
|
-
| 'TooManyLocks'
|
|
4788
|
-
/**
|
|
4789
|
-
* The given account is not an identifiable sovereign account for any location.
|
|
4790
|
-
**/
|
|
4791
|
-
| 'AccountNotSovereign'
|
|
4792
|
-
/**
|
|
4793
|
-
* The operation required fees to be paid which the initiator could not meet.
|
|
4794
|
-
**/
|
|
4795
|
-
| 'FeesNotMet'
|
|
4796
|
-
/**
|
|
4797
|
-
* A remote lock with the corresponding data could not be found.
|
|
4798
|
-
**/
|
|
4799
|
-
| 'LockNotFound'
|
|
4800
|
-
/**
|
|
4801
|
-
* The unlock operation cannot succeed because there are still consumers of the lock.
|
|
4802
|
-
**/
|
|
4803
|
-
| 'InUse'
|
|
4804
|
-
/**
|
|
4805
|
-
* Invalid asset, reserve chain could not be determined for it.
|
|
4806
|
-
**/
|
|
4807
|
-
| 'InvalidAssetUnknownReserve'
|
|
4808
|
-
/**
|
|
4809
|
-
* Invalid asset, do not support remote asset reserves with different fees reserves.
|
|
4810
|
-
**/
|
|
4811
|
-
| 'InvalidAssetUnsupportedReserve'
|
|
4812
|
-
/**
|
|
4813
|
-
* Too many assets with different reserve locations have been attempted for transfer.
|
|
4814
|
-
**/
|
|
4815
|
-
| 'TooManyReserves'
|
|
4816
|
-
/**
|
|
4817
|
-
* Local XCM execution incomplete.
|
|
4818
|
-
**/
|
|
4819
|
-
| 'LocalExecutionIncomplete'
|
|
4820
|
-
/**
|
|
4821
|
-
* Too many locations authorized to alias origin.
|
|
4822
|
-
**/
|
|
4823
|
-
| 'TooManyAuthorizedAliases'
|
|
4824
|
-
/**
|
|
4825
|
-
* Expiry block number is in the past.
|
|
4826
|
-
**/
|
|
4827
|
-
| 'ExpiresInPast'
|
|
4828
|
-
/**
|
|
4829
|
-
* The alias to remove authorization for was not found.
|
|
4830
|
-
**/
|
|
4831
|
-
| 'AliasNotFound';
|
|
4832
|
-
|
|
4833
|
-
/**
|
|
4834
|
-
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
4835
|
-
**/
|
|
4836
|
-
export type CumulusPalletXcmCall = null;
|
|
4837
|
-
|
|
4838
|
-
export type CumulusPalletXcmCallLike = null;
|
|
4839
|
-
|
|
4840
|
-
export type BpXcmBridgeHubRouterBridgeState = { deliveryFeeFactor: FixedU128; isCongested: boolean };
|
|
4841
|
-
|
|
4842
|
-
/**
|
|
4843
|
-
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
4844
|
-
**/
|
|
4845
|
-
export type PalletXcmBridgeHubRouterCall =
|
|
4846
|
-
/**
|
|
4847
|
-
* Notification about congested bridge queue.
|
|
4848
|
-
**/
|
|
4849
|
-
{ name: 'ReportBridgeStatus'; params: { bridgeId: H256; isCongested: boolean } };
|
|
4850
|
-
|
|
4851
|
-
export type PalletXcmBridgeHubRouterCallLike =
|
|
4852
|
-
/**
|
|
4853
|
-
* Notification about congested bridge queue.
|
|
4854
|
-
**/
|
|
4855
|
-
{ name: 'ReportBridgeStatus'; params: { bridgeId: H256; isCongested: boolean } };
|
|
4856
|
-
|
|
4857
|
-
export type PalletMessageQueueBookState = {
|
|
4858
|
-
begin: number;
|
|
4859
|
-
end: number;
|
|
4860
|
-
count: number;
|
|
4861
|
-
readyNeighbours?: PalletMessageQueueNeighbours | undefined;
|
|
4862
|
-
messageCount: bigint;
|
|
4863
|
-
size: bigint;
|
|
4864
|
-
};
|
|
4865
|
-
|
|
4866
|
-
export type PalletMessageQueueNeighbours = {
|
|
4867
|
-
prev: CumulusPrimitivesCoreAggregateMessageOrigin;
|
|
4868
|
-
next: CumulusPrimitivesCoreAggregateMessageOrigin;
|
|
4869
|
-
};
|
|
4870
|
-
|
|
4871
|
-
export type PalletMessageQueuePage = {
|
|
4872
|
-
remaining: number;
|
|
4873
|
-
remainingSize: number;
|
|
4874
|
-
firstIndex: number;
|
|
4875
|
-
first: number;
|
|
4876
|
-
last: number;
|
|
4877
|
-
heap: Bytes;
|
|
4878
|
-
};
|
|
4879
|
-
|
|
4880
|
-
/**
|
|
4881
|
-
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
4882
|
-
**/
|
|
4883
|
-
export type PalletMessageQueueCall =
|
|
4884
|
-
/**
|
|
4885
|
-
* Remove a page which has no more messages remaining to be processed or is stale.
|
|
4886
|
-
**/
|
|
4887
|
-
| { name: 'ReapPage'; params: { messageOrigin: CumulusPrimitivesCoreAggregateMessageOrigin; pageIndex: number } }
|
|
4662
|
+
| { name: 'ReapPage'; params: { messageOrigin: CumulusPrimitivesCoreAggregateMessageOrigin; pageIndex: number } }
|
|
4888
4663
|
/**
|
|
4889
4664
|
* Execute an overweight message.
|
|
4890
4665
|
*
|
|
@@ -4940,53 +4715,6 @@ export type PalletMessageQueueCallLike =
|
|
|
4940
4715
|
};
|
|
4941
4716
|
};
|
|
4942
4717
|
|
|
4943
|
-
/**
|
|
4944
|
-
* The `Error` enum of this pallet.
|
|
4945
|
-
**/
|
|
4946
|
-
export type PalletMessageQueueError =
|
|
4947
|
-
/**
|
|
4948
|
-
* Page is not reapable because it has items remaining to be processed and is not old
|
|
4949
|
-
* enough.
|
|
4950
|
-
**/
|
|
4951
|
-
| 'NotReapable'
|
|
4952
|
-
/**
|
|
4953
|
-
* Page to be reaped does not exist.
|
|
4954
|
-
**/
|
|
4955
|
-
| 'NoPage'
|
|
4956
|
-
/**
|
|
4957
|
-
* The referenced message could not be found.
|
|
4958
|
-
**/
|
|
4959
|
-
| 'NoMessage'
|
|
4960
|
-
/**
|
|
4961
|
-
* The message was already processed and cannot be processed again.
|
|
4962
|
-
**/
|
|
4963
|
-
| 'AlreadyProcessed'
|
|
4964
|
-
/**
|
|
4965
|
-
* The message is queued for future execution.
|
|
4966
|
-
**/
|
|
4967
|
-
| 'Queued'
|
|
4968
|
-
/**
|
|
4969
|
-
* There is temporarily not enough weight to continue servicing messages.
|
|
4970
|
-
**/
|
|
4971
|
-
| 'InsufficientWeight'
|
|
4972
|
-
/**
|
|
4973
|
-
* This message is temporarily unprocessable.
|
|
4974
|
-
*
|
|
4975
|
-
* Such errors are expected, but not guaranteed, to resolve themselves eventually through
|
|
4976
|
-
* retrying.
|
|
4977
|
-
**/
|
|
4978
|
-
| 'TemporarilyUnprocessable'
|
|
4979
|
-
/**
|
|
4980
|
-
* The queue is paused and no message can be executed from it.
|
|
4981
|
-
*
|
|
4982
|
-
* This can change at any time and may resolve in the future by re-trying.
|
|
4983
|
-
**/
|
|
4984
|
-
| 'QueuePaused'
|
|
4985
|
-
/**
|
|
4986
|
-
* Another call is in progress and needs to finish before this call can happen.
|
|
4987
|
-
**/
|
|
4988
|
-
| 'RecursiveDisallowed';
|
|
4989
|
-
|
|
4990
4718
|
/**
|
|
4991
4719
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
4992
4720
|
**/
|
|
@@ -5251,61 +4979,24 @@ export type PalletUtilityCallLike =
|
|
|
5251
4979
|
params: { asOrigin: AssetHubKusamaRuntimeOriginCaller; call: AssetHubKusamaRuntimeRuntimeCallLike };
|
|
5252
4980
|
};
|
|
5253
4981
|
|
|
5254
|
-
export type
|
|
5255
|
-
| {
|
|
5256
|
-
| {
|
|
5257
|
-
| {
|
|
5258
|
-
| { pallet: 'ParachainInfo'; palletCall: StagingParachainInfoCall }
|
|
5259
|
-
| { pallet: 'Balances'; palletCall: PalletBalancesCall }
|
|
5260
|
-
| { pallet: 'Vesting'; palletCall: PalletVestingCall }
|
|
5261
|
-
| { pallet: 'CollatorSelection'; palletCall: PalletCollatorSelectionCall }
|
|
5262
|
-
| { pallet: 'Session'; palletCall: PalletSessionCall }
|
|
5263
|
-
| { pallet: 'XcmpQueue'; palletCall: CumulusPalletXcmpQueueCall }
|
|
5264
|
-
| { pallet: 'PolkadotXcm'; palletCall: PalletXcmCall }
|
|
5265
|
-
| { pallet: 'CumulusXcm'; palletCall: CumulusPalletXcmCall }
|
|
5266
|
-
| { pallet: 'ToPolkadotXcmRouter'; palletCall: PalletXcmBridgeHubRouterCall }
|
|
5267
|
-
| { pallet: 'MessageQueue'; palletCall: PalletMessageQueueCall }
|
|
5268
|
-
| { pallet: 'Utility'; palletCall: PalletUtilityCall }
|
|
5269
|
-
| { pallet: 'Multisig'; palletCall: PalletMultisigCall }
|
|
5270
|
-
| { pallet: 'Proxy'; palletCall: PalletProxyCall }
|
|
5271
|
-
| { pallet: 'RemoteProxyRelayChain'; palletCall: PalletRemoteProxyCall }
|
|
5272
|
-
| { pallet: 'Assets'; palletCall: PalletAssetsCall }
|
|
5273
|
-
| { pallet: 'Uniques'; palletCall: PalletUniquesCall }
|
|
5274
|
-
| { pallet: 'Nfts'; palletCall: PalletNftsCall }
|
|
5275
|
-
| { pallet: 'ForeignAssets'; palletCall: PalletAssetsCall002 }
|
|
5276
|
-
| { pallet: 'NftFractionalization'; palletCall: PalletNftFractionalizationCall }
|
|
5277
|
-
| { pallet: 'PoolAssets'; palletCall: PalletAssetsCall003 }
|
|
5278
|
-
| { pallet: 'AssetConversion'; palletCall: PalletAssetConversionCall }
|
|
5279
|
-
| { pallet: 'Revive'; palletCall: PalletReviveCall }
|
|
5280
|
-
| { pallet: 'StateTrieMigration'; palletCall: PalletStateTrieMigrationCall };
|
|
4982
|
+
export type AssetHubKusamaRuntimeOriginCaller =
|
|
4983
|
+
| { type: 'System'; value: FrameSupportDispatchRawOrigin }
|
|
4984
|
+
| { type: 'PolkadotXcm'; value: PalletXcmOrigin }
|
|
4985
|
+
| { type: 'CumulusXcm'; value: CumulusPalletXcmOrigin };
|
|
5281
4986
|
|
|
5282
|
-
export type
|
|
5283
|
-
| {
|
|
5284
|
-
| {
|
|
5285
|
-
| {
|
|
5286
|
-
| {
|
|
5287
|
-
|
|
5288
|
-
|
|
5289
|
-
| {
|
|
5290
|
-
| {
|
|
5291
|
-
|
|
5292
|
-
|
|
5293
|
-
| {
|
|
5294
|
-
| {
|
|
5295
|
-
| { pallet: 'MessageQueue'; palletCall: PalletMessageQueueCallLike }
|
|
5296
|
-
| { pallet: 'Utility'; palletCall: PalletUtilityCallLike }
|
|
5297
|
-
| { pallet: 'Multisig'; palletCall: PalletMultisigCallLike }
|
|
5298
|
-
| { pallet: 'Proxy'; palletCall: PalletProxyCallLike }
|
|
5299
|
-
| { pallet: 'RemoteProxyRelayChain'; palletCall: PalletRemoteProxyCallLike }
|
|
5300
|
-
| { pallet: 'Assets'; palletCall: PalletAssetsCallLike }
|
|
5301
|
-
| { pallet: 'Uniques'; palletCall: PalletUniquesCallLike }
|
|
5302
|
-
| { pallet: 'Nfts'; palletCall: PalletNftsCallLike }
|
|
5303
|
-
| { pallet: 'ForeignAssets'; palletCall: PalletAssetsCallLike002 }
|
|
5304
|
-
| { pallet: 'NftFractionalization'; palletCall: PalletNftFractionalizationCallLike }
|
|
5305
|
-
| { pallet: 'PoolAssets'; palletCall: PalletAssetsCallLike003 }
|
|
5306
|
-
| { pallet: 'AssetConversion'; palletCall: PalletAssetConversionCallLike }
|
|
5307
|
-
| { pallet: 'Revive'; palletCall: PalletReviveCallLike }
|
|
5308
|
-
| { pallet: 'StateTrieMigration'; palletCall: PalletStateTrieMigrationCallLike };
|
|
4987
|
+
export type FrameSupportDispatchRawOrigin =
|
|
4988
|
+
| { type: 'Root' }
|
|
4989
|
+
| { type: 'Signed'; value: AccountId32 }
|
|
4990
|
+
| { type: 'None' }
|
|
4991
|
+
| { type: 'Authorized' };
|
|
4992
|
+
|
|
4993
|
+
export type PalletXcmOrigin =
|
|
4994
|
+
| { type: 'Xcm'; value: StagingXcmV5Location }
|
|
4995
|
+
| { type: 'Response'; value: StagingXcmV5Location };
|
|
4996
|
+
|
|
4997
|
+
export type CumulusPalletXcmOrigin =
|
|
4998
|
+
| { type: 'Relay' }
|
|
4999
|
+
| { type: 'SiblingParachain'; value: PolkadotParachainPrimitivesPrimitivesId };
|
|
5309
5000
|
|
|
5310
5001
|
/**
|
|
5311
5002
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -5691,7 +5382,7 @@ export type PalletProxyCall =
|
|
|
5691
5382
|
*
|
|
5692
5383
|
* The dispatch origin for this call must be _Signed_.
|
|
5693
5384
|
*
|
|
5694
|
-
* WARNING: This may be called on accounts created by `
|
|
5385
|
+
* WARNING: This may be called on accounts created by `create_pure`, however if done, then
|
|
5695
5386
|
* the unreserved fees will be inaccessible. **All access to this account will be lost.**
|
|
5696
5387
|
**/
|
|
5697
5388
|
| { name: 'RemoveProxies' }
|
|
@@ -5723,16 +5414,16 @@ export type PalletProxyCall =
|
|
|
5723
5414
|
* inaccessible.
|
|
5724
5415
|
*
|
|
5725
5416
|
* Requires a `Signed` origin, and the sender account must have been created by a call to
|
|
5726
|
-
* `
|
|
5417
|
+
* `create_pure` with corresponding parameters.
|
|
5727
5418
|
*
|
|
5728
|
-
* - `spawner`: The account that originally called `
|
|
5729
|
-
* - `index`: The disambiguation index originally passed to `
|
|
5730
|
-
* - `proxy_type`: The proxy type originally passed to `
|
|
5731
|
-
* - `height`: The height of the chain when the call to `
|
|
5732
|
-
* - `ext_index`: The extrinsic index in which the call to `
|
|
5419
|
+
* - `spawner`: The account that originally called `create_pure` to create this account.
|
|
5420
|
+
* - `index`: The disambiguation index originally passed to `create_pure`. Probably `0`.
|
|
5421
|
+
* - `proxy_type`: The proxy type originally passed to `create_pure`.
|
|
5422
|
+
* - `height`: The height of the chain when the call to `create_pure` was processed.
|
|
5423
|
+
* - `ext_index`: The extrinsic index in which the call to `create_pure` was processed.
|
|
5733
5424
|
*
|
|
5734
5425
|
* Fails with `NoPermission` in case the caller is not a previously created pure
|
|
5735
|
-
* account whose `
|
|
5426
|
+
* account whose `create_pure` call has corresponding parameters.
|
|
5736
5427
|
**/
|
|
5737
5428
|
| {
|
|
5738
5429
|
name: 'KillPure';
|
|
@@ -5875,7 +5566,7 @@ export type PalletProxyCallLike =
|
|
|
5875
5566
|
*
|
|
5876
5567
|
* The dispatch origin for this call must be _Signed_.
|
|
5877
5568
|
*
|
|
5878
|
-
* WARNING: This may be called on accounts created by `
|
|
5569
|
+
* WARNING: This may be called on accounts created by `create_pure`, however if done, then
|
|
5879
5570
|
* the unreserved fees will be inaccessible. **All access to this account will be lost.**
|
|
5880
5571
|
**/
|
|
5881
5572
|
| { name: 'RemoveProxies' }
|
|
@@ -5907,16 +5598,16 @@ export type PalletProxyCallLike =
|
|
|
5907
5598
|
* inaccessible.
|
|
5908
5599
|
*
|
|
5909
5600
|
* Requires a `Signed` origin, and the sender account must have been created by a call to
|
|
5910
|
-
* `
|
|
5601
|
+
* `create_pure` with corresponding parameters.
|
|
5911
5602
|
*
|
|
5912
|
-
* - `spawner`: The account that originally called `
|
|
5913
|
-
* - `index`: The disambiguation index originally passed to `
|
|
5914
|
-
* - `proxy_type`: The proxy type originally passed to `
|
|
5915
|
-
* - `height`: The height of the chain when the call to `
|
|
5916
|
-
* - `ext_index`: The extrinsic index in which the call to `
|
|
5603
|
+
* - `spawner`: The account that originally called `create_pure` to create this account.
|
|
5604
|
+
* - `index`: The disambiguation index originally passed to `create_pure`. Probably `0`.
|
|
5605
|
+
* - `proxy_type`: The proxy type originally passed to `create_pure`.
|
|
5606
|
+
* - `height`: The height of the chain when the call to `create_pure` was processed.
|
|
5607
|
+
* - `ext_index`: The extrinsic index in which the call to `create_pure` was processed.
|
|
5917
5608
|
*
|
|
5918
5609
|
* Fails with `NoPermission` in case the caller is not a previously created pure
|
|
5919
|
-
* account whose `
|
|
5610
|
+
* account whose `create_pure` call has corresponding parameters.
|
|
5920
5611
|
**/
|
|
5921
5612
|
| {
|
|
5922
5613
|
name: 'KillPure';
|
|
@@ -9730,7 +9421,7 @@ export type PalletAssetsCall002 =
|
|
|
9730
9421
|
*
|
|
9731
9422
|
* Weight: `O(1)`
|
|
9732
9423
|
**/
|
|
9733
|
-
| { name: 'Create'; params: { id:
|
|
9424
|
+
| { name: 'Create'; params: { id: StagingXcmV5Location; admin: MultiAddress; minBalance: bigint } }
|
|
9734
9425
|
/**
|
|
9735
9426
|
* Issue a new class of fungible assets from a privileged origin.
|
|
9736
9427
|
*
|
|
@@ -9754,7 +9445,7 @@ export type PalletAssetsCall002 =
|
|
|
9754
9445
|
**/
|
|
9755
9446
|
| {
|
|
9756
9447
|
name: 'ForceCreate';
|
|
9757
|
-
params: { id:
|
|
9448
|
+
params: { id: StagingXcmV5Location; owner: MultiAddress; isSufficient: boolean; minBalance: bigint };
|
|
9758
9449
|
}
|
|
9759
9450
|
/**
|
|
9760
9451
|
* Start the process of destroying a fungible asset class.
|
|
@@ -9770,7 +9461,7 @@ export type PalletAssetsCall002 =
|
|
|
9770
9461
|
* It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
|
|
9771
9462
|
* an account contains holds or freezes in place.
|
|
9772
9463
|
**/
|
|
9773
|
-
| { name: 'StartDestroy'; params: { id:
|
|
9464
|
+
| { name: 'StartDestroy'; params: { id: StagingXcmV5Location } }
|
|
9774
9465
|
/**
|
|
9775
9466
|
* Destroy all accounts associated with a given asset.
|
|
9776
9467
|
*
|
|
@@ -9785,7 +9476,7 @@ export type PalletAssetsCall002 =
|
|
|
9785
9476
|
*
|
|
9786
9477
|
* Each call emits the `Event::DestroyedAccounts` event.
|
|
9787
9478
|
**/
|
|
9788
|
-
| { name: 'DestroyAccounts'; params: { id:
|
|
9479
|
+
| { name: 'DestroyAccounts'; params: { id: StagingXcmV5Location } }
|
|
9789
9480
|
/**
|
|
9790
9481
|
* Destroy all approvals associated with a given asset up to the max (T::RemoveItemsLimit).
|
|
9791
9482
|
*
|
|
@@ -9800,7 +9491,7 @@ export type PalletAssetsCall002 =
|
|
|
9800
9491
|
*
|
|
9801
9492
|
* Each call emits the `Event::DestroyedApprovals` event.
|
|
9802
9493
|
**/
|
|
9803
|
-
| { name: 'DestroyApprovals'; params: { id:
|
|
9494
|
+
| { name: 'DestroyApprovals'; params: { id: StagingXcmV5Location } }
|
|
9804
9495
|
/**
|
|
9805
9496
|
* Complete destroying asset and unreserve currency.
|
|
9806
9497
|
*
|
|
@@ -9813,7 +9504,7 @@ export type PalletAssetsCall002 =
|
|
|
9813
9504
|
*
|
|
9814
9505
|
* Each successful call emits the `Event::Destroyed` event.
|
|
9815
9506
|
**/
|
|
9816
|
-
| { name: 'FinishDestroy'; params: { id:
|
|
9507
|
+
| { name: 'FinishDestroy'; params: { id: StagingXcmV5Location } }
|
|
9817
9508
|
/**
|
|
9818
9509
|
* Mint assets of a particular class.
|
|
9819
9510
|
*
|
|
@@ -9828,7 +9519,7 @@ export type PalletAssetsCall002 =
|
|
|
9828
9519
|
* Weight: `O(1)`
|
|
9829
9520
|
* Modes: Pre-existing balance of `beneficiary`; Account pre-existence of `beneficiary`.
|
|
9830
9521
|
**/
|
|
9831
|
-
| { name: 'Mint'; params: { id:
|
|
9522
|
+
| { name: 'Mint'; params: { id: StagingXcmV5Location; beneficiary: MultiAddress; amount: bigint } }
|
|
9832
9523
|
/**
|
|
9833
9524
|
* Reduce the balance of `who` by as much as possible up to `amount` assets of `id`.
|
|
9834
9525
|
*
|
|
@@ -9846,7 +9537,7 @@ export type PalletAssetsCall002 =
|
|
|
9846
9537
|
* Weight: `O(1)`
|
|
9847
9538
|
* Modes: Post-existence of `who`; Pre & post Zombie-status of `who`.
|
|
9848
9539
|
**/
|
|
9849
|
-
| { name: 'Burn'; params: { id:
|
|
9540
|
+
| { name: 'Burn'; params: { id: StagingXcmV5Location; who: MultiAddress; amount: bigint } }
|
|
9850
9541
|
/**
|
|
9851
9542
|
* Move some assets from the sender account to another.
|
|
9852
9543
|
*
|
|
@@ -9867,7 +9558,7 @@ export type PalletAssetsCall002 =
|
|
|
9867
9558
|
* Modes: Pre-existence of `target`; Post-existence of sender; Account pre-existence of
|
|
9868
9559
|
* `target`.
|
|
9869
9560
|
**/
|
|
9870
|
-
| { name: 'Transfer'; params: { id:
|
|
9561
|
+
| { name: 'Transfer'; params: { id: StagingXcmV5Location; target: MultiAddress; amount: bigint } }
|
|
9871
9562
|
/**
|
|
9872
9563
|
* Move some assets from the sender account to another, keeping the sender account alive.
|
|
9873
9564
|
*
|
|
@@ -9888,7 +9579,7 @@ export type PalletAssetsCall002 =
|
|
|
9888
9579
|
* Modes: Pre-existence of `target`; Post-existence of sender; Account pre-existence of
|
|
9889
9580
|
* `target`.
|
|
9890
9581
|
**/
|
|
9891
|
-
| { name: 'TransferKeepAlive'; params: { id:
|
|
9582
|
+
| { name: 'TransferKeepAlive'; params: { id: StagingXcmV5Location; target: MultiAddress; amount: bigint } }
|
|
9892
9583
|
/**
|
|
9893
9584
|
* Move some assets from one account to another.
|
|
9894
9585
|
*
|
|
@@ -9912,7 +9603,7 @@ export type PalletAssetsCall002 =
|
|
|
9912
9603
|
**/
|
|
9913
9604
|
| {
|
|
9914
9605
|
name: 'ForceTransfer';
|
|
9915
|
-
params: { id:
|
|
9606
|
+
params: { id: StagingXcmV5Location; source: MultiAddress; dest: MultiAddress; amount: bigint };
|
|
9916
9607
|
}
|
|
9917
9608
|
/**
|
|
9918
9609
|
* Disallow further unprivileged transfers of an asset `id` from an account `who`. `who`
|
|
@@ -9928,7 +9619,7 @@ export type PalletAssetsCall002 =
|
|
|
9928
9619
|
*
|
|
9929
9620
|
* Weight: `O(1)`
|
|
9930
9621
|
**/
|
|
9931
|
-
| { name: 'Freeze'; params: { id:
|
|
9622
|
+
| { name: 'Freeze'; params: { id: StagingXcmV5Location; who: MultiAddress } }
|
|
9932
9623
|
/**
|
|
9933
9624
|
* Allow unprivileged transfers to and from an account again.
|
|
9934
9625
|
*
|
|
@@ -9941,7 +9632,7 @@ export type PalletAssetsCall002 =
|
|
|
9941
9632
|
*
|
|
9942
9633
|
* Weight: `O(1)`
|
|
9943
9634
|
**/
|
|
9944
|
-
| { name: 'Thaw'; params: { id:
|
|
9635
|
+
| { name: 'Thaw'; params: { id: StagingXcmV5Location; who: MultiAddress } }
|
|
9945
9636
|
/**
|
|
9946
9637
|
* Disallow further unprivileged transfers for the asset class.
|
|
9947
9638
|
*
|
|
@@ -9953,7 +9644,7 @@ export type PalletAssetsCall002 =
|
|
|
9953
9644
|
*
|
|
9954
9645
|
* Weight: `O(1)`
|
|
9955
9646
|
**/
|
|
9956
|
-
| { name: 'FreezeAsset'; params: { id:
|
|
9647
|
+
| { name: 'FreezeAsset'; params: { id: StagingXcmV5Location } }
|
|
9957
9648
|
/**
|
|
9958
9649
|
* Allow unprivileged transfers for the asset again.
|
|
9959
9650
|
*
|
|
@@ -9965,7 +9656,7 @@ export type PalletAssetsCall002 =
|
|
|
9965
9656
|
*
|
|
9966
9657
|
* Weight: `O(1)`
|
|
9967
9658
|
**/
|
|
9968
|
-
| { name: 'ThawAsset'; params: { id:
|
|
9659
|
+
| { name: 'ThawAsset'; params: { id: StagingXcmV5Location } }
|
|
9969
9660
|
/**
|
|
9970
9661
|
* Change the Owner of an asset.
|
|
9971
9662
|
*
|
|
@@ -9978,7 +9669,7 @@ export type PalletAssetsCall002 =
|
|
|
9978
9669
|
*
|
|
9979
9670
|
* Weight: `O(1)`
|
|
9980
9671
|
**/
|
|
9981
|
-
| { name: 'TransferOwnership'; params: { id:
|
|
9672
|
+
| { name: 'TransferOwnership'; params: { id: StagingXcmV5Location; owner: MultiAddress } }
|
|
9982
9673
|
/**
|
|
9983
9674
|
* Change the Issuer, Admin and Freezer of an asset.
|
|
9984
9675
|
*
|
|
@@ -9995,7 +9686,7 @@ export type PalletAssetsCall002 =
|
|
|
9995
9686
|
**/
|
|
9996
9687
|
| {
|
|
9997
9688
|
name: 'SetTeam';
|
|
9998
|
-
params: { id:
|
|
9689
|
+
params: { id: StagingXcmV5Location; issuer: MultiAddress; admin: MultiAddress; freezer: MultiAddress };
|
|
9999
9690
|
}
|
|
10000
9691
|
/**
|
|
10001
9692
|
* Set the metadata for an asset.
|
|
@@ -10015,7 +9706,7 @@ export type PalletAssetsCall002 =
|
|
|
10015
9706
|
*
|
|
10016
9707
|
* Weight: `O(1)`
|
|
10017
9708
|
**/
|
|
10018
|
-
| { name: 'SetMetadata'; params: { id:
|
|
9709
|
+
| { name: 'SetMetadata'; params: { id: StagingXcmV5Location; name: Bytes; symbol: Bytes; decimals: number } }
|
|
10019
9710
|
/**
|
|
10020
9711
|
* Clear the metadata for an asset.
|
|
10021
9712
|
*
|
|
@@ -10029,7 +9720,7 @@ export type PalletAssetsCall002 =
|
|
|
10029
9720
|
*
|
|
10030
9721
|
* Weight: `O(1)`
|
|
10031
9722
|
**/
|
|
10032
|
-
| { name: 'ClearMetadata'; params: { id:
|
|
9723
|
+
| { name: 'ClearMetadata'; params: { id: StagingXcmV5Location } }
|
|
10033
9724
|
/**
|
|
10034
9725
|
* Force the metadata for an asset to some value.
|
|
10035
9726
|
*
|
|
@@ -10048,7 +9739,7 @@ export type PalletAssetsCall002 =
|
|
|
10048
9739
|
**/
|
|
10049
9740
|
| {
|
|
10050
9741
|
name: 'ForceSetMetadata';
|
|
10051
|
-
params: { id:
|
|
9742
|
+
params: { id: StagingXcmV5Location; name: Bytes; symbol: Bytes; decimals: number; isFrozen: boolean };
|
|
10052
9743
|
}
|
|
10053
9744
|
/**
|
|
10054
9745
|
* Clear the metadata for an asset.
|
|
@@ -10063,7 +9754,7 @@ export type PalletAssetsCall002 =
|
|
|
10063
9754
|
*
|
|
10064
9755
|
* Weight: `O(1)`
|
|
10065
9756
|
**/
|
|
10066
|
-
| { name: 'ForceClearMetadata'; params: { id:
|
|
9757
|
+
| { name: 'ForceClearMetadata'; params: { id: StagingXcmV5Location } }
|
|
10067
9758
|
/**
|
|
10068
9759
|
* Alter the attributes of a given asset.
|
|
10069
9760
|
*
|
|
@@ -10091,7 +9782,7 @@ export type PalletAssetsCall002 =
|
|
|
10091
9782
|
| {
|
|
10092
9783
|
name: 'ForceAssetStatus';
|
|
10093
9784
|
params: {
|
|
10094
|
-
id:
|
|
9785
|
+
id: StagingXcmV5Location;
|
|
10095
9786
|
owner: MultiAddress;
|
|
10096
9787
|
issuer: MultiAddress;
|
|
10097
9788
|
admin: MultiAddress;
|
|
@@ -10123,7 +9814,7 @@ export type PalletAssetsCall002 =
|
|
|
10123
9814
|
*
|
|
10124
9815
|
* Weight: `O(1)`
|
|
10125
9816
|
**/
|
|
10126
|
-
| { name: 'ApproveTransfer'; params: { id:
|
|
9817
|
+
| { name: 'ApproveTransfer'; params: { id: StagingXcmV5Location; delegate: MultiAddress; amount: bigint } }
|
|
10127
9818
|
/**
|
|
10128
9819
|
* Cancel all of some asset approved for delegated transfer by a third-party account.
|
|
10129
9820
|
*
|
|
@@ -10139,7 +9830,7 @@ export type PalletAssetsCall002 =
|
|
|
10139
9830
|
*
|
|
10140
9831
|
* Weight: `O(1)`
|
|
10141
9832
|
**/
|
|
10142
|
-
| { name: 'CancelApproval'; params: { id:
|
|
9833
|
+
| { name: 'CancelApproval'; params: { id: StagingXcmV5Location; delegate: MultiAddress } }
|
|
10143
9834
|
/**
|
|
10144
9835
|
* Cancel all of some asset approved for delegated transfer by a third-party account.
|
|
10145
9836
|
*
|
|
@@ -10155,7 +9846,7 @@ export type PalletAssetsCall002 =
|
|
|
10155
9846
|
*
|
|
10156
9847
|
* Weight: `O(1)`
|
|
10157
9848
|
**/
|
|
10158
|
-
| { name: 'ForceCancelApproval'; params: { id:
|
|
9849
|
+
| { name: 'ForceCancelApproval'; params: { id: StagingXcmV5Location; owner: MultiAddress; delegate: MultiAddress } }
|
|
10159
9850
|
/**
|
|
10160
9851
|
* Transfer some asset balance from a previously delegated account to some third-party
|
|
10161
9852
|
* account.
|
|
@@ -10178,7 +9869,7 @@ export type PalletAssetsCall002 =
|
|
|
10178
9869
|
**/
|
|
10179
9870
|
| {
|
|
10180
9871
|
name: 'TransferApproved';
|
|
10181
|
-
params: { id:
|
|
9872
|
+
params: { id: StagingXcmV5Location; owner: MultiAddress; destination: MultiAddress; amount: bigint };
|
|
10182
9873
|
}
|
|
10183
9874
|
/**
|
|
10184
9875
|
* Create an asset account for non-provider assets.
|
|
@@ -10191,7 +9882,7 @@ export type PalletAssetsCall002 =
|
|
|
10191
9882
|
*
|
|
10192
9883
|
* Emits `Touched` event when successful.
|
|
10193
9884
|
**/
|
|
10194
|
-
| { name: 'Touch'; params: { id:
|
|
9885
|
+
| { name: 'Touch'; params: { id: StagingXcmV5Location } }
|
|
10195
9886
|
/**
|
|
10196
9887
|
* Return the deposit (if any) of an asset account or a consumer reference (if any) of an
|
|
10197
9888
|
* account.
|
|
@@ -10207,7 +9898,7 @@ export type PalletAssetsCall002 =
|
|
|
10207
9898
|
*
|
|
10208
9899
|
* Emits `Refunded` event when successful.
|
|
10209
9900
|
**/
|
|
10210
|
-
| { name: 'Refund'; params: { id:
|
|
9901
|
+
| { name: 'Refund'; params: { id: StagingXcmV5Location; allowBurn: boolean } }
|
|
10211
9902
|
/**
|
|
10212
9903
|
* Sets the minimum balance of an asset.
|
|
10213
9904
|
*
|
|
@@ -10222,7 +9913,7 @@ export type PalletAssetsCall002 =
|
|
|
10222
9913
|
*
|
|
10223
9914
|
* Emits `AssetMinBalanceChanged` event when successful.
|
|
10224
9915
|
**/
|
|
10225
|
-
| { name: 'SetMinBalance'; params: { id:
|
|
9916
|
+
| { name: 'SetMinBalance'; params: { id: StagingXcmV5Location; minBalance: bigint } }
|
|
10226
9917
|
/**
|
|
10227
9918
|
* Create an asset account for `who`.
|
|
10228
9919
|
*
|
|
@@ -10235,7 +9926,7 @@ export type PalletAssetsCall002 =
|
|
|
10235
9926
|
*
|
|
10236
9927
|
* Emits `Touched` event when successful.
|
|
10237
9928
|
**/
|
|
10238
|
-
| { name: 'TouchOther'; params: { id:
|
|
9929
|
+
| { name: 'TouchOther'; params: { id: StagingXcmV5Location; who: MultiAddress } }
|
|
10239
9930
|
/**
|
|
10240
9931
|
* Return the deposit (if any) of a target asset account. Useful if you are the depositor.
|
|
10241
9932
|
*
|
|
@@ -10251,7 +9942,7 @@ export type PalletAssetsCall002 =
|
|
|
10251
9942
|
*
|
|
10252
9943
|
* Emits `Refunded` event when successful.
|
|
10253
9944
|
**/
|
|
10254
|
-
| { name: 'RefundOther'; params: { id:
|
|
9945
|
+
| { name: 'RefundOther'; params: { id: StagingXcmV5Location; who: MultiAddress } }
|
|
10255
9946
|
/**
|
|
10256
9947
|
* Disallow further unprivileged transfers of an asset `id` to and from an account `who`.
|
|
10257
9948
|
*
|
|
@@ -10264,7 +9955,7 @@ export type PalletAssetsCall002 =
|
|
|
10264
9955
|
*
|
|
10265
9956
|
* Weight: `O(1)`
|
|
10266
9957
|
**/
|
|
10267
|
-
| { name: 'Block'; params: { id:
|
|
9958
|
+
| { name: 'Block'; params: { id: StagingXcmV5Location; who: MultiAddress } }
|
|
10268
9959
|
/**
|
|
10269
9960
|
* Transfer the entire transferable balance from the caller asset account.
|
|
10270
9961
|
*
|
|
@@ -10283,7 +9974,7 @@ export type PalletAssetsCall002 =
|
|
|
10283
9974
|
* (false), or transfer everything except at least the minimum balance, which will
|
|
10284
9975
|
* guarantee to keep the sender asset account alive (true).
|
|
10285
9976
|
**/
|
|
10286
|
-
| { name: 'TransferAll'; params: { id:
|
|
9977
|
+
| { name: 'TransferAll'; params: { id: StagingXcmV5Location; dest: MultiAddress; keepAlive: boolean } };
|
|
10287
9978
|
|
|
10288
9979
|
export type PalletAssetsCallLike002 =
|
|
10289
9980
|
/**
|
|
@@ -10307,7 +9998,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10307
9998
|
*
|
|
10308
9999
|
* Weight: `O(1)`
|
|
10309
10000
|
**/
|
|
10310
|
-
| { name: 'Create'; params: { id:
|
|
10001
|
+
| { name: 'Create'; params: { id: StagingXcmV5Location; admin: MultiAddressLike; minBalance: bigint } }
|
|
10311
10002
|
/**
|
|
10312
10003
|
* Issue a new class of fungible assets from a privileged origin.
|
|
10313
10004
|
*
|
|
@@ -10331,7 +10022,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10331
10022
|
**/
|
|
10332
10023
|
| {
|
|
10333
10024
|
name: 'ForceCreate';
|
|
10334
|
-
params: { id:
|
|
10025
|
+
params: { id: StagingXcmV5Location; owner: MultiAddressLike; isSufficient: boolean; minBalance: bigint };
|
|
10335
10026
|
}
|
|
10336
10027
|
/**
|
|
10337
10028
|
* Start the process of destroying a fungible asset class.
|
|
@@ -10347,7 +10038,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10347
10038
|
* It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
|
|
10348
10039
|
* an account contains holds or freezes in place.
|
|
10349
10040
|
**/
|
|
10350
|
-
| { name: 'StartDestroy'; params: { id:
|
|
10041
|
+
| { name: 'StartDestroy'; params: { id: StagingXcmV5Location } }
|
|
10351
10042
|
/**
|
|
10352
10043
|
* Destroy all accounts associated with a given asset.
|
|
10353
10044
|
*
|
|
@@ -10362,7 +10053,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10362
10053
|
*
|
|
10363
10054
|
* Each call emits the `Event::DestroyedAccounts` event.
|
|
10364
10055
|
**/
|
|
10365
|
-
| { name: 'DestroyAccounts'; params: { id:
|
|
10056
|
+
| { name: 'DestroyAccounts'; params: { id: StagingXcmV5Location } }
|
|
10366
10057
|
/**
|
|
10367
10058
|
* Destroy all approvals associated with a given asset up to the max (T::RemoveItemsLimit).
|
|
10368
10059
|
*
|
|
@@ -10377,7 +10068,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10377
10068
|
*
|
|
10378
10069
|
* Each call emits the `Event::DestroyedApprovals` event.
|
|
10379
10070
|
**/
|
|
10380
|
-
| { name: 'DestroyApprovals'; params: { id:
|
|
10071
|
+
| { name: 'DestroyApprovals'; params: { id: StagingXcmV5Location } }
|
|
10381
10072
|
/**
|
|
10382
10073
|
* Complete destroying asset and unreserve currency.
|
|
10383
10074
|
*
|
|
@@ -10390,7 +10081,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10390
10081
|
*
|
|
10391
10082
|
* Each successful call emits the `Event::Destroyed` event.
|
|
10392
10083
|
**/
|
|
10393
|
-
| { name: 'FinishDestroy'; params: { id:
|
|
10084
|
+
| { name: 'FinishDestroy'; params: { id: StagingXcmV5Location } }
|
|
10394
10085
|
/**
|
|
10395
10086
|
* Mint assets of a particular class.
|
|
10396
10087
|
*
|
|
@@ -10405,7 +10096,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10405
10096
|
* Weight: `O(1)`
|
|
10406
10097
|
* Modes: Pre-existing balance of `beneficiary`; Account pre-existence of `beneficiary`.
|
|
10407
10098
|
**/
|
|
10408
|
-
| { name: 'Mint'; params: { id:
|
|
10099
|
+
| { name: 'Mint'; params: { id: StagingXcmV5Location; beneficiary: MultiAddressLike; amount: bigint } }
|
|
10409
10100
|
/**
|
|
10410
10101
|
* Reduce the balance of `who` by as much as possible up to `amount` assets of `id`.
|
|
10411
10102
|
*
|
|
@@ -10423,7 +10114,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10423
10114
|
* Weight: `O(1)`
|
|
10424
10115
|
* Modes: Post-existence of `who`; Pre & post Zombie-status of `who`.
|
|
10425
10116
|
**/
|
|
10426
|
-
| { name: 'Burn'; params: { id:
|
|
10117
|
+
| { name: 'Burn'; params: { id: StagingXcmV5Location; who: MultiAddressLike; amount: bigint } }
|
|
10427
10118
|
/**
|
|
10428
10119
|
* Move some assets from the sender account to another.
|
|
10429
10120
|
*
|
|
@@ -10444,7 +10135,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10444
10135
|
* Modes: Pre-existence of `target`; Post-existence of sender; Account pre-existence of
|
|
10445
10136
|
* `target`.
|
|
10446
10137
|
**/
|
|
10447
|
-
| { name: 'Transfer'; params: { id:
|
|
10138
|
+
| { name: 'Transfer'; params: { id: StagingXcmV5Location; target: MultiAddressLike; amount: bigint } }
|
|
10448
10139
|
/**
|
|
10449
10140
|
* Move some assets from the sender account to another, keeping the sender account alive.
|
|
10450
10141
|
*
|
|
@@ -10465,7 +10156,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10465
10156
|
* Modes: Pre-existence of `target`; Post-existence of sender; Account pre-existence of
|
|
10466
10157
|
* `target`.
|
|
10467
10158
|
**/
|
|
10468
|
-
| { name: 'TransferKeepAlive'; params: { id:
|
|
10159
|
+
| { name: 'TransferKeepAlive'; params: { id: StagingXcmV5Location; target: MultiAddressLike; amount: bigint } }
|
|
10469
10160
|
/**
|
|
10470
10161
|
* Move some assets from one account to another.
|
|
10471
10162
|
*
|
|
@@ -10489,7 +10180,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10489
10180
|
**/
|
|
10490
10181
|
| {
|
|
10491
10182
|
name: 'ForceTransfer';
|
|
10492
|
-
params: { id:
|
|
10183
|
+
params: { id: StagingXcmV5Location; source: MultiAddressLike; dest: MultiAddressLike; amount: bigint };
|
|
10493
10184
|
}
|
|
10494
10185
|
/**
|
|
10495
10186
|
* Disallow further unprivileged transfers of an asset `id` from an account `who`. `who`
|
|
@@ -10505,7 +10196,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10505
10196
|
*
|
|
10506
10197
|
* Weight: `O(1)`
|
|
10507
10198
|
**/
|
|
10508
|
-
| { name: 'Freeze'; params: { id:
|
|
10199
|
+
| { name: 'Freeze'; params: { id: StagingXcmV5Location; who: MultiAddressLike } }
|
|
10509
10200
|
/**
|
|
10510
10201
|
* Allow unprivileged transfers to and from an account again.
|
|
10511
10202
|
*
|
|
@@ -10518,7 +10209,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10518
10209
|
*
|
|
10519
10210
|
* Weight: `O(1)`
|
|
10520
10211
|
**/
|
|
10521
|
-
| { name: 'Thaw'; params: { id:
|
|
10212
|
+
| { name: 'Thaw'; params: { id: StagingXcmV5Location; who: MultiAddressLike } }
|
|
10522
10213
|
/**
|
|
10523
10214
|
* Disallow further unprivileged transfers for the asset class.
|
|
10524
10215
|
*
|
|
@@ -10530,7 +10221,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10530
10221
|
*
|
|
10531
10222
|
* Weight: `O(1)`
|
|
10532
10223
|
**/
|
|
10533
|
-
| { name: 'FreezeAsset'; params: { id:
|
|
10224
|
+
| { name: 'FreezeAsset'; params: { id: StagingXcmV5Location } }
|
|
10534
10225
|
/**
|
|
10535
10226
|
* Allow unprivileged transfers for the asset again.
|
|
10536
10227
|
*
|
|
@@ -10542,7 +10233,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10542
10233
|
*
|
|
10543
10234
|
* Weight: `O(1)`
|
|
10544
10235
|
**/
|
|
10545
|
-
| { name: 'ThawAsset'; params: { id:
|
|
10236
|
+
| { name: 'ThawAsset'; params: { id: StagingXcmV5Location } }
|
|
10546
10237
|
/**
|
|
10547
10238
|
* Change the Owner of an asset.
|
|
10548
10239
|
*
|
|
@@ -10555,7 +10246,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10555
10246
|
*
|
|
10556
10247
|
* Weight: `O(1)`
|
|
10557
10248
|
**/
|
|
10558
|
-
| { name: 'TransferOwnership'; params: { id:
|
|
10249
|
+
| { name: 'TransferOwnership'; params: { id: StagingXcmV5Location; owner: MultiAddressLike } }
|
|
10559
10250
|
/**
|
|
10560
10251
|
* Change the Issuer, Admin and Freezer of an asset.
|
|
10561
10252
|
*
|
|
@@ -10573,7 +10264,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10573
10264
|
| {
|
|
10574
10265
|
name: 'SetTeam';
|
|
10575
10266
|
params: {
|
|
10576
|
-
id:
|
|
10267
|
+
id: StagingXcmV5Location;
|
|
10577
10268
|
issuer: MultiAddressLike;
|
|
10578
10269
|
admin: MultiAddressLike;
|
|
10579
10270
|
freezer: MultiAddressLike;
|
|
@@ -10597,7 +10288,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10597
10288
|
*
|
|
10598
10289
|
* Weight: `O(1)`
|
|
10599
10290
|
**/
|
|
10600
|
-
| { name: 'SetMetadata'; params: { id:
|
|
10291
|
+
| { name: 'SetMetadata'; params: { id: StagingXcmV5Location; name: BytesLike; symbol: BytesLike; decimals: number } }
|
|
10601
10292
|
/**
|
|
10602
10293
|
* Clear the metadata for an asset.
|
|
10603
10294
|
*
|
|
@@ -10611,7 +10302,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10611
10302
|
*
|
|
10612
10303
|
* Weight: `O(1)`
|
|
10613
10304
|
**/
|
|
10614
|
-
| { name: 'ClearMetadata'; params: { id:
|
|
10305
|
+
| { name: 'ClearMetadata'; params: { id: StagingXcmV5Location } }
|
|
10615
10306
|
/**
|
|
10616
10307
|
* Force the metadata for an asset to some value.
|
|
10617
10308
|
*
|
|
@@ -10630,7 +10321,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10630
10321
|
**/
|
|
10631
10322
|
| {
|
|
10632
10323
|
name: 'ForceSetMetadata';
|
|
10633
|
-
params: { id:
|
|
10324
|
+
params: { id: StagingXcmV5Location; name: BytesLike; symbol: BytesLike; decimals: number; isFrozen: boolean };
|
|
10634
10325
|
}
|
|
10635
10326
|
/**
|
|
10636
10327
|
* Clear the metadata for an asset.
|
|
@@ -10645,7 +10336,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10645
10336
|
*
|
|
10646
10337
|
* Weight: `O(1)`
|
|
10647
10338
|
**/
|
|
10648
|
-
| { name: 'ForceClearMetadata'; params: { id:
|
|
10339
|
+
| { name: 'ForceClearMetadata'; params: { id: StagingXcmV5Location } }
|
|
10649
10340
|
/**
|
|
10650
10341
|
* Alter the attributes of a given asset.
|
|
10651
10342
|
*
|
|
@@ -10673,7 +10364,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10673
10364
|
| {
|
|
10674
10365
|
name: 'ForceAssetStatus';
|
|
10675
10366
|
params: {
|
|
10676
|
-
id:
|
|
10367
|
+
id: StagingXcmV5Location;
|
|
10677
10368
|
owner: MultiAddressLike;
|
|
10678
10369
|
issuer: MultiAddressLike;
|
|
10679
10370
|
admin: MultiAddressLike;
|
|
@@ -10705,7 +10396,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10705
10396
|
*
|
|
10706
10397
|
* Weight: `O(1)`
|
|
10707
10398
|
**/
|
|
10708
|
-
| { name: 'ApproveTransfer'; params: { id:
|
|
10399
|
+
| { name: 'ApproveTransfer'; params: { id: StagingXcmV5Location; delegate: MultiAddressLike; amount: bigint } }
|
|
10709
10400
|
/**
|
|
10710
10401
|
* Cancel all of some asset approved for delegated transfer by a third-party account.
|
|
10711
10402
|
*
|
|
@@ -10721,7 +10412,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10721
10412
|
*
|
|
10722
10413
|
* Weight: `O(1)`
|
|
10723
10414
|
**/
|
|
10724
|
-
| { name: 'CancelApproval'; params: { id:
|
|
10415
|
+
| { name: 'CancelApproval'; params: { id: StagingXcmV5Location; delegate: MultiAddressLike } }
|
|
10725
10416
|
/**
|
|
10726
10417
|
* Cancel all of some asset approved for delegated transfer by a third-party account.
|
|
10727
10418
|
*
|
|
@@ -10739,7 +10430,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10739
10430
|
**/
|
|
10740
10431
|
| {
|
|
10741
10432
|
name: 'ForceCancelApproval';
|
|
10742
|
-
params: { id:
|
|
10433
|
+
params: { id: StagingXcmV5Location; owner: MultiAddressLike; delegate: MultiAddressLike };
|
|
10743
10434
|
}
|
|
10744
10435
|
/**
|
|
10745
10436
|
* Transfer some asset balance from a previously delegated account to some third-party
|
|
@@ -10763,7 +10454,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10763
10454
|
**/
|
|
10764
10455
|
| {
|
|
10765
10456
|
name: 'TransferApproved';
|
|
10766
|
-
params: { id:
|
|
10457
|
+
params: { id: StagingXcmV5Location; owner: MultiAddressLike; destination: MultiAddressLike; amount: bigint };
|
|
10767
10458
|
}
|
|
10768
10459
|
/**
|
|
10769
10460
|
* Create an asset account for non-provider assets.
|
|
@@ -10776,7 +10467,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10776
10467
|
*
|
|
10777
10468
|
* Emits `Touched` event when successful.
|
|
10778
10469
|
**/
|
|
10779
|
-
| { name: 'Touch'; params: { id:
|
|
10470
|
+
| { name: 'Touch'; params: { id: StagingXcmV5Location } }
|
|
10780
10471
|
/**
|
|
10781
10472
|
* Return the deposit (if any) of an asset account or a consumer reference (if any) of an
|
|
10782
10473
|
* account.
|
|
@@ -10792,7 +10483,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10792
10483
|
*
|
|
10793
10484
|
* Emits `Refunded` event when successful.
|
|
10794
10485
|
**/
|
|
10795
|
-
| { name: 'Refund'; params: { id:
|
|
10486
|
+
| { name: 'Refund'; params: { id: StagingXcmV5Location; allowBurn: boolean } }
|
|
10796
10487
|
/**
|
|
10797
10488
|
* Sets the minimum balance of an asset.
|
|
10798
10489
|
*
|
|
@@ -10807,7 +10498,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10807
10498
|
*
|
|
10808
10499
|
* Emits `AssetMinBalanceChanged` event when successful.
|
|
10809
10500
|
**/
|
|
10810
|
-
| { name: 'SetMinBalance'; params: { id:
|
|
10501
|
+
| { name: 'SetMinBalance'; params: { id: StagingXcmV5Location; minBalance: bigint } }
|
|
10811
10502
|
/**
|
|
10812
10503
|
* Create an asset account for `who`.
|
|
10813
10504
|
*
|
|
@@ -10820,7 +10511,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10820
10511
|
*
|
|
10821
10512
|
* Emits `Touched` event when successful.
|
|
10822
10513
|
**/
|
|
10823
|
-
| { name: 'TouchOther'; params: { id:
|
|
10514
|
+
| { name: 'TouchOther'; params: { id: StagingXcmV5Location; who: MultiAddressLike } }
|
|
10824
10515
|
/**
|
|
10825
10516
|
* Return the deposit (if any) of a target asset account. Useful if you are the depositor.
|
|
10826
10517
|
*
|
|
@@ -10836,7 +10527,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10836
10527
|
*
|
|
10837
10528
|
* Emits `Refunded` event when successful.
|
|
10838
10529
|
**/
|
|
10839
|
-
| { name: 'RefundOther'; params: { id:
|
|
10530
|
+
| { name: 'RefundOther'; params: { id: StagingXcmV5Location; who: MultiAddressLike } }
|
|
10840
10531
|
/**
|
|
10841
10532
|
* Disallow further unprivileged transfers of an asset `id` to and from an account `who`.
|
|
10842
10533
|
*
|
|
@@ -10849,7 +10540,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10849
10540
|
*
|
|
10850
10541
|
* Weight: `O(1)`
|
|
10851
10542
|
**/
|
|
10852
|
-
| { name: 'Block'; params: { id:
|
|
10543
|
+
| { name: 'Block'; params: { id: StagingXcmV5Location; who: MultiAddressLike } }
|
|
10853
10544
|
/**
|
|
10854
10545
|
* Transfer the entire transferable balance from the caller asset account.
|
|
10855
10546
|
*
|
|
@@ -10868,7 +10559,7 @@ export type PalletAssetsCallLike002 =
|
|
|
10868
10559
|
* (false), or transfer everything except at least the minimum balance, which will
|
|
10869
10560
|
* guarantee to keep the sender asset account alive (true).
|
|
10870
10561
|
**/
|
|
10871
|
-
| { name: 'TransferAll'; params: { id:
|
|
10562
|
+
| { name: 'TransferAll'; params: { id: StagingXcmV5Location; dest: MultiAddressLike; keepAlive: boolean } };
|
|
10872
10563
|
|
|
10873
10564
|
/**
|
|
10874
10565
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -12119,7 +11810,7 @@ export type PalletAssetConversionCall =
|
|
|
12119
11810
|
*
|
|
12120
11811
|
* Once a pool is created, someone may [`Pallet::add_liquidity`] to it.
|
|
12121
11812
|
**/
|
|
12122
|
-
| { name: 'CreatePool'; params: { asset1:
|
|
11813
|
+
| { name: 'CreatePool'; params: { asset1: StagingXcmV5Location; asset2: StagingXcmV5Location } }
|
|
12123
11814
|
/**
|
|
12124
11815
|
* Provide liquidity into the pool of `asset1` and `asset2`.
|
|
12125
11816
|
* NOTE: an optimal amount of asset1 and asset2 will be calculated and
|
|
@@ -12139,8 +11830,8 @@ export type PalletAssetConversionCall =
|
|
|
12139
11830
|
| {
|
|
12140
11831
|
name: 'AddLiquidity';
|
|
12141
11832
|
params: {
|
|
12142
|
-
asset1:
|
|
12143
|
-
asset2:
|
|
11833
|
+
asset1: StagingXcmV5Location;
|
|
11834
|
+
asset2: StagingXcmV5Location;
|
|
12144
11835
|
amount1Desired: bigint;
|
|
12145
11836
|
amount2Desired: bigint;
|
|
12146
11837
|
amount1Min: bigint;
|
|
@@ -12156,8 +11847,8 @@ export type PalletAssetConversionCall =
|
|
|
12156
11847
|
| {
|
|
12157
11848
|
name: 'RemoveLiquidity';
|
|
12158
11849
|
params: {
|
|
12159
|
-
asset1:
|
|
12160
|
-
asset2:
|
|
11850
|
+
asset1: StagingXcmV5Location;
|
|
11851
|
+
asset2: StagingXcmV5Location;
|
|
12161
11852
|
lpTokenBurn: bigint;
|
|
12162
11853
|
amount1MinReceive: bigint;
|
|
12163
11854
|
amount2MinReceive: bigint;
|
|
@@ -12175,7 +11866,7 @@ export type PalletAssetConversionCall =
|
|
|
12175
11866
|
| {
|
|
12176
11867
|
name: 'SwapExactTokensForTokens';
|
|
12177
11868
|
params: {
|
|
12178
|
-
path: Array<
|
|
11869
|
+
path: Array<StagingXcmV5Location>;
|
|
12179
11870
|
amountIn: bigint;
|
|
12180
11871
|
amountOutMin: bigint;
|
|
12181
11872
|
sendTo: AccountId32;
|
|
@@ -12193,7 +11884,7 @@ export type PalletAssetConversionCall =
|
|
|
12193
11884
|
| {
|
|
12194
11885
|
name: 'SwapTokensForExactTokens';
|
|
12195
11886
|
params: {
|
|
12196
|
-
path: Array<
|
|
11887
|
+
path: Array<StagingXcmV5Location>;
|
|
12197
11888
|
amountOut: bigint;
|
|
12198
11889
|
amountInMax: bigint;
|
|
12199
11890
|
sendTo: AccountId32;
|
|
@@ -12213,7 +11904,7 @@ export type PalletAssetConversionCall =
|
|
|
12213
11904
|
*
|
|
12214
11905
|
* Emits `Touched` event when successful.
|
|
12215
11906
|
**/
|
|
12216
|
-
| { name: 'Touch'; params: { asset1:
|
|
11907
|
+
| { name: 'Touch'; params: { asset1: StagingXcmV5Location; asset2: StagingXcmV5Location } };
|
|
12217
11908
|
|
|
12218
11909
|
export type PalletAssetConversionCallLike =
|
|
12219
11910
|
/**
|
|
@@ -12222,7 +11913,7 @@ export type PalletAssetConversionCallLike =
|
|
|
12222
11913
|
*
|
|
12223
11914
|
* Once a pool is created, someone may [`Pallet::add_liquidity`] to it.
|
|
12224
11915
|
**/
|
|
12225
|
-
| { name: 'CreatePool'; params: { asset1:
|
|
11916
|
+
| { name: 'CreatePool'; params: { asset1: StagingXcmV5Location; asset2: StagingXcmV5Location } }
|
|
12226
11917
|
/**
|
|
12227
11918
|
* Provide liquidity into the pool of `asset1` and `asset2`.
|
|
12228
11919
|
* NOTE: an optimal amount of asset1 and asset2 will be calculated and
|
|
@@ -12242,8 +11933,8 @@ export type PalletAssetConversionCallLike =
|
|
|
12242
11933
|
| {
|
|
12243
11934
|
name: 'AddLiquidity';
|
|
12244
11935
|
params: {
|
|
12245
|
-
asset1:
|
|
12246
|
-
asset2:
|
|
11936
|
+
asset1: StagingXcmV5Location;
|
|
11937
|
+
asset2: StagingXcmV5Location;
|
|
12247
11938
|
amount1Desired: bigint;
|
|
12248
11939
|
amount2Desired: bigint;
|
|
12249
11940
|
amount1Min: bigint;
|
|
@@ -12259,8 +11950,8 @@ export type PalletAssetConversionCallLike =
|
|
|
12259
11950
|
| {
|
|
12260
11951
|
name: 'RemoveLiquidity';
|
|
12261
11952
|
params: {
|
|
12262
|
-
asset1:
|
|
12263
|
-
asset2:
|
|
11953
|
+
asset1: StagingXcmV5Location;
|
|
11954
|
+
asset2: StagingXcmV5Location;
|
|
12264
11955
|
lpTokenBurn: bigint;
|
|
12265
11956
|
amount1MinReceive: bigint;
|
|
12266
11957
|
amount2MinReceive: bigint;
|
|
@@ -12278,7 +11969,7 @@ export type PalletAssetConversionCallLike =
|
|
|
12278
11969
|
| {
|
|
12279
11970
|
name: 'SwapExactTokensForTokens';
|
|
12280
11971
|
params: {
|
|
12281
|
-
path: Array<
|
|
11972
|
+
path: Array<StagingXcmV5Location>;
|
|
12282
11973
|
amountIn: bigint;
|
|
12283
11974
|
amountOutMin: bigint;
|
|
12284
11975
|
sendTo: AccountId32Like;
|
|
@@ -12296,7 +11987,7 @@ export type PalletAssetConversionCallLike =
|
|
|
12296
11987
|
| {
|
|
12297
11988
|
name: 'SwapTokensForExactTokens';
|
|
12298
11989
|
params: {
|
|
12299
|
-
path: Array<
|
|
11990
|
+
path: Array<StagingXcmV5Location>;
|
|
12300
11991
|
amountOut: bigint;
|
|
12301
11992
|
amountInMax: bigint;
|
|
12302
11993
|
sendTo: AccountId32Like;
|
|
@@ -12316,7 +12007,7 @@ export type PalletAssetConversionCallLike =
|
|
|
12316
12007
|
*
|
|
12317
12008
|
* Emits `Touched` event when successful.
|
|
12318
12009
|
**/
|
|
12319
|
-
| { name: 'Touch'; params: { asset1:
|
|
12010
|
+
| { name: 'Touch'; params: { asset1: StagingXcmV5Location; asset2: StagingXcmV5Location } };
|
|
12320
12011
|
|
|
12321
12012
|
/**
|
|
12322
12013
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -12369,10 +12060,10 @@ export type PalletReviveCall =
|
|
|
12369
12060
|
};
|
|
12370
12061
|
}
|
|
12371
12062
|
/**
|
|
12372
|
-
* Instantiates a contract from a previously deployed
|
|
12063
|
+
* Instantiates a contract from a previously deployed vm binary.
|
|
12373
12064
|
*
|
|
12374
12065
|
* This function is identical to [`Self::instantiate_with_code`] but without the
|
|
12375
|
-
* code deployment step. Instead, the `code_hash` of an on-chain deployed
|
|
12066
|
+
* code deployment step. Instead, the `code_hash` of an on-chain deployed vm binary
|
|
12376
12067
|
* must be supplied.
|
|
12377
12068
|
**/
|
|
12378
12069
|
| {
|
|
@@ -12426,6 +12117,27 @@ export type PalletReviveCall =
|
|
|
12426
12117
|
salt?: FixedBytes<32> | undefined;
|
|
12427
12118
|
};
|
|
12428
12119
|
}
|
|
12120
|
+
/**
|
|
12121
|
+
* Same as [`Self::instantiate_with_code`], but intended to be dispatched **only**
|
|
12122
|
+
* by an EVM transaction through the EVM compatibility layer.
|
|
12123
|
+
*
|
|
12124
|
+
* Calling this dispatchable ensures that the origin's nonce is bumped only once,
|
|
12125
|
+
* via the `CheckNonce` transaction extension. In contrast, [`Self::instantiate_with_code`]
|
|
12126
|
+
* also bumps the nonce after contract instantiation, since it may be invoked multiple
|
|
12127
|
+
* times within a batch call transaction.
|
|
12128
|
+
**/
|
|
12129
|
+
| {
|
|
12130
|
+
name: 'EthInstantiateWithCode';
|
|
12131
|
+
params: { value: U256; gasLimit: SpWeightsWeightV2Weight; storageDepositLimit: bigint; code: Bytes; data: Bytes };
|
|
12132
|
+
}
|
|
12133
|
+
/**
|
|
12134
|
+
* Same as [`Self::call`], but intended to be dispatched **only**
|
|
12135
|
+
* by an EVM transaction through the EVM compatibility layer.
|
|
12136
|
+
**/
|
|
12137
|
+
| {
|
|
12138
|
+
name: 'EthCall';
|
|
12139
|
+
params: { dest: H160; value: U256; gasLimit: SpWeightsWeightV2Weight; storageDepositLimit: bigint; data: Bytes };
|
|
12140
|
+
}
|
|
12429
12141
|
/**
|
|
12430
12142
|
* Upload new `code` without instantiating a contract from it.
|
|
12431
12143
|
*
|
|
@@ -12532,10 +12244,10 @@ export type PalletReviveCallLike =
|
|
|
12532
12244
|
};
|
|
12533
12245
|
}
|
|
12534
12246
|
/**
|
|
12535
|
-
* Instantiates a contract from a previously deployed
|
|
12247
|
+
* Instantiates a contract from a previously deployed vm binary.
|
|
12536
12248
|
*
|
|
12537
12249
|
* This function is identical to [`Self::instantiate_with_code`] but without the
|
|
12538
|
-
* code deployment step. Instead, the `code_hash` of an on-chain deployed
|
|
12250
|
+
* code deployment step. Instead, the `code_hash` of an on-chain deployed vm binary
|
|
12539
12251
|
* must be supplied.
|
|
12540
12252
|
**/
|
|
12541
12253
|
| {
|
|
@@ -12590,9 +12302,42 @@ export type PalletReviveCallLike =
|
|
|
12590
12302
|
};
|
|
12591
12303
|
}
|
|
12592
12304
|
/**
|
|
12593
|
-
*
|
|
12305
|
+
* Same as [`Self::instantiate_with_code`], but intended to be dispatched **only**
|
|
12306
|
+
* by an EVM transaction through the EVM compatibility layer.
|
|
12594
12307
|
*
|
|
12595
|
-
*
|
|
12308
|
+
* Calling this dispatchable ensures that the origin's nonce is bumped only once,
|
|
12309
|
+
* via the `CheckNonce` transaction extension. In contrast, [`Self::instantiate_with_code`]
|
|
12310
|
+
* also bumps the nonce after contract instantiation, since it may be invoked multiple
|
|
12311
|
+
* times within a batch call transaction.
|
|
12312
|
+
**/
|
|
12313
|
+
| {
|
|
12314
|
+
name: 'EthInstantiateWithCode';
|
|
12315
|
+
params: {
|
|
12316
|
+
value: U256;
|
|
12317
|
+
gasLimit: SpWeightsWeightV2Weight;
|
|
12318
|
+
storageDepositLimit: bigint;
|
|
12319
|
+
code: BytesLike;
|
|
12320
|
+
data: BytesLike;
|
|
12321
|
+
};
|
|
12322
|
+
}
|
|
12323
|
+
/**
|
|
12324
|
+
* Same as [`Self::call`], but intended to be dispatched **only**
|
|
12325
|
+
* by an EVM transaction through the EVM compatibility layer.
|
|
12326
|
+
**/
|
|
12327
|
+
| {
|
|
12328
|
+
name: 'EthCall';
|
|
12329
|
+
params: {
|
|
12330
|
+
dest: H160;
|
|
12331
|
+
value: U256;
|
|
12332
|
+
gasLimit: SpWeightsWeightV2Weight;
|
|
12333
|
+
storageDepositLimit: bigint;
|
|
12334
|
+
data: BytesLike;
|
|
12335
|
+
};
|
|
12336
|
+
}
|
|
12337
|
+
/**
|
|
12338
|
+
* Upload new `code` without instantiating a contract from it.
|
|
12339
|
+
*
|
|
12340
|
+
* If the code does not already exist a deposit is reserved from the caller
|
|
12596
12341
|
* and unreserved only when [`Self::remove_code`] is called. The size of the reserve
|
|
12597
12342
|
* depends on the size of the supplied `code`.
|
|
12598
12343
|
*
|
|
@@ -12694,142 +12439,804 @@ export type PalletStateTrieMigrationCall =
|
|
|
12694
12439
|
* This does not affect the global migration process tracker ([`MigrationProcess`]), and
|
|
12695
12440
|
* should only be used in case any keys are leftover due to a bug.
|
|
12696
12441
|
**/
|
|
12697
|
-
| { name: 'MigrateCustomTop'; params: { keys: Array<Bytes>; witnessSize: number } }
|
|
12442
|
+
| { name: 'MigrateCustomTop'; params: { keys: Array<Bytes>; witnessSize: number } }
|
|
12443
|
+
/**
|
|
12444
|
+
* Migrate the list of child keys by iterating each of them one by one.
|
|
12445
|
+
*
|
|
12446
|
+
* All of the given child keys must be present under one `child_root`.
|
|
12447
|
+
*
|
|
12448
|
+
* This does not affect the global migration process tracker ([`MigrationProcess`]), and
|
|
12449
|
+
* should only be used in case any keys are leftover due to a bug.
|
|
12450
|
+
**/
|
|
12451
|
+
| { name: 'MigrateCustomChild'; params: { root: Bytes; childKeys: Array<Bytes>; totalSize: number } }
|
|
12452
|
+
/**
|
|
12453
|
+
* Set the maximum limit of the signed migration.
|
|
12454
|
+
**/
|
|
12455
|
+
| { name: 'SetSignedMaxLimits'; params: { limits: PalletStateTrieMigrationMigrationLimits } }
|
|
12456
|
+
/**
|
|
12457
|
+
* Forcefully set the progress the running migration.
|
|
12458
|
+
*
|
|
12459
|
+
* This is only useful in one case: the next key to migrate is too big to be migrated with
|
|
12460
|
+
* a signed account, in a parachain context, and we simply want to skip it. A reasonable
|
|
12461
|
+
* example of this would be `:code:`, which is both very expensive to migrate, and commonly
|
|
12462
|
+
* used, so probably it is already migrated.
|
|
12463
|
+
*
|
|
12464
|
+
* In case you mess things up, you can also, in principle, use this to reset the migration
|
|
12465
|
+
* process.
|
|
12466
|
+
**/
|
|
12467
|
+
| {
|
|
12468
|
+
name: 'ForceSetProgress';
|
|
12469
|
+
params: { progressTop: PalletStateTrieMigrationProgress; progressChild: PalletStateTrieMigrationProgress };
|
|
12470
|
+
};
|
|
12471
|
+
|
|
12472
|
+
export type PalletStateTrieMigrationCallLike =
|
|
12473
|
+
/**
|
|
12474
|
+
* Control the automatic migration.
|
|
12475
|
+
*
|
|
12476
|
+
* The dispatch origin of this call must be [`Config::ControlOrigin`].
|
|
12477
|
+
**/
|
|
12478
|
+
| { name: 'ControlAutoMigration'; params: { maybeConfig?: PalletStateTrieMigrationMigrationLimits | undefined } }
|
|
12479
|
+
/**
|
|
12480
|
+
* Continue the migration for the given `limits`.
|
|
12481
|
+
*
|
|
12482
|
+
* The dispatch origin of this call can be any signed account.
|
|
12483
|
+
*
|
|
12484
|
+
* This transaction has NO MONETARY INCENTIVES. calling it will not reward anyone. Albeit,
|
|
12485
|
+
* Upon successful execution, the transaction fee is returned.
|
|
12486
|
+
*
|
|
12487
|
+
* The (potentially over-estimated) of the byte length of all the data read must be
|
|
12488
|
+
* provided for up-front fee-payment and weighing. In essence, the caller is guaranteeing
|
|
12489
|
+
* that executing the current `MigrationTask` with the given `limits` will not exceed
|
|
12490
|
+
* `real_size_upper` bytes of read data.
|
|
12491
|
+
*
|
|
12492
|
+
* The `witness_task` is merely a helper to prevent the caller from being slashed or
|
|
12493
|
+
* generally trigger a migration that they do not intend. This parameter is just a message
|
|
12494
|
+
* from caller, saying that they believed `witness_task` was the last state of the
|
|
12495
|
+
* migration, and they only wish for their transaction to do anything, if this assumption
|
|
12496
|
+
* holds. In case `witness_task` does not match, the transaction fails.
|
|
12497
|
+
*
|
|
12498
|
+
* Based on the documentation of [`MigrationTask::migrate_until_exhaustion`], the
|
|
12499
|
+
* recommended way of doing this is to pass a `limit` that only bounds `count`, as the
|
|
12500
|
+
* `size` limit can always be overwritten.
|
|
12501
|
+
**/
|
|
12502
|
+
| {
|
|
12503
|
+
name: 'ContinueMigrate';
|
|
12504
|
+
params: {
|
|
12505
|
+
limits: PalletStateTrieMigrationMigrationLimits;
|
|
12506
|
+
realSizeUpper: number;
|
|
12507
|
+
witnessTask: PalletStateTrieMigrationMigrationTask;
|
|
12508
|
+
};
|
|
12509
|
+
}
|
|
12510
|
+
/**
|
|
12511
|
+
* Migrate the list of top keys by iterating each of them one by one.
|
|
12512
|
+
*
|
|
12513
|
+
* This does not affect the global migration process tracker ([`MigrationProcess`]), and
|
|
12514
|
+
* should only be used in case any keys are leftover due to a bug.
|
|
12515
|
+
**/
|
|
12516
|
+
| { name: 'MigrateCustomTop'; params: { keys: Array<BytesLike>; witnessSize: number } }
|
|
12517
|
+
/**
|
|
12518
|
+
* Migrate the list of child keys by iterating each of them one by one.
|
|
12519
|
+
*
|
|
12520
|
+
* All of the given child keys must be present under one `child_root`.
|
|
12521
|
+
*
|
|
12522
|
+
* This does not affect the global migration process tracker ([`MigrationProcess`]), and
|
|
12523
|
+
* should only be used in case any keys are leftover due to a bug.
|
|
12524
|
+
**/
|
|
12525
|
+
| { name: 'MigrateCustomChild'; params: { root: BytesLike; childKeys: Array<BytesLike>; totalSize: number } }
|
|
12526
|
+
/**
|
|
12527
|
+
* Set the maximum limit of the signed migration.
|
|
12528
|
+
**/
|
|
12529
|
+
| { name: 'SetSignedMaxLimits'; params: { limits: PalletStateTrieMigrationMigrationLimits } }
|
|
12530
|
+
/**
|
|
12531
|
+
* Forcefully set the progress the running migration.
|
|
12532
|
+
*
|
|
12533
|
+
* This is only useful in one case: the next key to migrate is too big to be migrated with
|
|
12534
|
+
* a signed account, in a parachain context, and we simply want to skip it. A reasonable
|
|
12535
|
+
* example of this would be `:code:`, which is both very expensive to migrate, and commonly
|
|
12536
|
+
* used, so probably it is already migrated.
|
|
12537
|
+
*
|
|
12538
|
+
* In case you mess things up, you can also, in principle, use this to reset the migration
|
|
12539
|
+
* process.
|
|
12540
|
+
**/
|
|
12541
|
+
| {
|
|
12542
|
+
name: 'ForceSetProgress';
|
|
12543
|
+
params: { progressTop: PalletStateTrieMigrationProgress; progressChild: PalletStateTrieMigrationProgress };
|
|
12544
|
+
};
|
|
12545
|
+
|
|
12546
|
+
export type PalletStateTrieMigrationMigrationLimits = { size: number; item: number };
|
|
12547
|
+
|
|
12548
|
+
export type PalletStateTrieMigrationMigrationTask = {
|
|
12549
|
+
progressTop: PalletStateTrieMigrationProgress;
|
|
12550
|
+
progressChild: PalletStateTrieMigrationProgress;
|
|
12551
|
+
size: number;
|
|
12552
|
+
topItems: number;
|
|
12553
|
+
childItems: number;
|
|
12554
|
+
};
|
|
12555
|
+
|
|
12556
|
+
export type PalletStateTrieMigrationProgress =
|
|
12557
|
+
| { type: 'ToStart' }
|
|
12558
|
+
| { type: 'LastKey'; value: Bytes }
|
|
12559
|
+
| { type: 'Complete' };
|
|
12560
|
+
|
|
12561
|
+
export type SpRuntimeBlakeTwo256 = {};
|
|
12562
|
+
|
|
12563
|
+
export type SpRuntimeBlock = { header: Header; extrinsics: Array<UncheckedExtrinsic> };
|
|
12564
|
+
|
|
12565
|
+
export type FrameSystemExtensionsCheckNonZeroSender = {};
|
|
12566
|
+
|
|
12567
|
+
export type FrameSystemExtensionsCheckSpecVersion = {};
|
|
12568
|
+
|
|
12569
|
+
export type FrameSystemExtensionsCheckTxVersion = {};
|
|
12570
|
+
|
|
12571
|
+
export type FrameSystemExtensionsCheckGenesis = {};
|
|
12572
|
+
|
|
12573
|
+
export type FrameSystemExtensionsCheckMortality = Era;
|
|
12574
|
+
|
|
12575
|
+
export type FrameSystemExtensionsCheckNonce = number;
|
|
12576
|
+
|
|
12577
|
+
export type FrameSystemExtensionsCheckWeight = {};
|
|
12578
|
+
|
|
12579
|
+
export type PalletAssetConversionTxPaymentChargeAssetTxPayment = {
|
|
12580
|
+
tip: bigint;
|
|
12581
|
+
assetId?: StagingXcmV5Location | undefined;
|
|
12582
|
+
};
|
|
12583
|
+
|
|
12584
|
+
export type FrameMetadataHashExtensionCheckMetadataHash = { mode: FrameMetadataHashExtensionMode };
|
|
12585
|
+
|
|
12586
|
+
export type FrameMetadataHashExtensionMode = 'Disabled' | 'Enabled';
|
|
12587
|
+
|
|
12588
|
+
export type CumulusPalletParachainSystemUnincludedSegmentAncestor = {
|
|
12589
|
+
usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth;
|
|
12590
|
+
paraHeadHash?: H256 | undefined;
|
|
12591
|
+
consumedGoAheadSignal?: PolkadotPrimitivesV8UpgradeGoAhead | undefined;
|
|
12592
|
+
};
|
|
12593
|
+
|
|
12594
|
+
export type CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth = {
|
|
12595
|
+
umpMsgCount: number;
|
|
12596
|
+
umpTotalBytes: number;
|
|
12597
|
+
hrmpOutgoing: Array<
|
|
12598
|
+
[PolkadotParachainPrimitivesPrimitivesId, CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate]
|
|
12599
|
+
>;
|
|
12600
|
+
};
|
|
12601
|
+
|
|
12602
|
+
export type CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate = { msgCount: number; totalBytes: number };
|
|
12603
|
+
|
|
12604
|
+
export type PolkadotPrimitivesV8UpgradeGoAhead = 'Abort' | 'GoAhead';
|
|
12605
|
+
|
|
12606
|
+
export type CumulusPalletParachainSystemUnincludedSegmentSegmentTracker = {
|
|
12607
|
+
usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth;
|
|
12608
|
+
hrmpWatermark?: number | undefined;
|
|
12609
|
+
consumedGoAheadSignal?: PolkadotPrimitivesV8UpgradeGoAhead | undefined;
|
|
12610
|
+
};
|
|
12611
|
+
|
|
12612
|
+
export type PolkadotPrimitivesV8UpgradeRestriction = 'Present';
|
|
12613
|
+
|
|
12614
|
+
export type CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot = {
|
|
12615
|
+
dmqMqcHead: H256;
|
|
12616
|
+
relayDispatchQueueRemainingCapacity: CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity;
|
|
12617
|
+
ingressChannels: Array<[PolkadotParachainPrimitivesPrimitivesId, PolkadotPrimitivesV8AbridgedHrmpChannel]>;
|
|
12618
|
+
egressChannels: Array<[PolkadotParachainPrimitivesPrimitivesId, PolkadotPrimitivesV8AbridgedHrmpChannel]>;
|
|
12619
|
+
};
|
|
12620
|
+
|
|
12621
|
+
export type CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity = {
|
|
12622
|
+
remainingCount: number;
|
|
12623
|
+
remainingSize: number;
|
|
12624
|
+
};
|
|
12625
|
+
|
|
12626
|
+
export type PolkadotPrimitivesV8AbridgedHrmpChannel = {
|
|
12627
|
+
maxCapacity: number;
|
|
12628
|
+
maxTotalSize: number;
|
|
12629
|
+
maxMessageSize: number;
|
|
12630
|
+
msgCount: number;
|
|
12631
|
+
totalSize: number;
|
|
12632
|
+
mqcHead?: H256 | undefined;
|
|
12633
|
+
};
|
|
12634
|
+
|
|
12635
|
+
export type PolkadotPrimitivesV8AbridgedHostConfiguration = {
|
|
12636
|
+
maxCodeSize: number;
|
|
12637
|
+
maxHeadDataSize: number;
|
|
12638
|
+
maxUpwardQueueCount: number;
|
|
12639
|
+
maxUpwardQueueSize: number;
|
|
12640
|
+
maxUpwardMessageSize: number;
|
|
12641
|
+
maxUpwardMessageNumPerCandidate: number;
|
|
12642
|
+
hrmpMaxMessageNumPerCandidate: number;
|
|
12643
|
+
validationUpgradeCooldown: number;
|
|
12644
|
+
validationUpgradeDelay: number;
|
|
12645
|
+
asyncBackingParams: PolkadotPrimitivesV8AsyncBackingAsyncBackingParams;
|
|
12646
|
+
};
|
|
12647
|
+
|
|
12648
|
+
export type PolkadotPrimitivesV8AsyncBackingAsyncBackingParams = {
|
|
12649
|
+
maxCandidateDepth: number;
|
|
12650
|
+
allowedAncestryLen: number;
|
|
12651
|
+
};
|
|
12652
|
+
|
|
12653
|
+
export type CumulusPrimitivesParachainInherentMessageQueueChain = H256;
|
|
12654
|
+
|
|
12655
|
+
export type CumulusPalletParachainSystemParachainInherentInboundMessageId = { sentAt: number; reverseIdx: number };
|
|
12656
|
+
|
|
12657
|
+
export type PolkadotCorePrimitivesOutboundHrmpMessage = {
|
|
12658
|
+
recipient: PolkadotParachainPrimitivesPrimitivesId;
|
|
12659
|
+
data: Bytes;
|
|
12660
|
+
};
|
|
12661
|
+
|
|
12662
|
+
/**
|
|
12663
|
+
* The `Error` enum of this pallet.
|
|
12664
|
+
**/
|
|
12665
|
+
export type CumulusPalletParachainSystemError =
|
|
12666
|
+
/**
|
|
12667
|
+
* Attempt to upgrade validation function while existing upgrade pending.
|
|
12668
|
+
**/
|
|
12669
|
+
| 'OverlappingUpgrades'
|
|
12670
|
+
/**
|
|
12671
|
+
* Polkadot currently prohibits this parachain from upgrading its validation function.
|
|
12672
|
+
**/
|
|
12673
|
+
| 'ProhibitedByPolkadot'
|
|
12674
|
+
/**
|
|
12675
|
+
* The supplied validation function has compiled into a blob larger than Polkadot is
|
|
12676
|
+
* willing to run.
|
|
12677
|
+
**/
|
|
12678
|
+
| 'TooBig'
|
|
12679
|
+
/**
|
|
12680
|
+
* The inherent which supplies the validation data did not run this block.
|
|
12681
|
+
**/
|
|
12682
|
+
| 'ValidationDataNotAvailable'
|
|
12683
|
+
/**
|
|
12684
|
+
* The inherent which supplies the host configuration did not run this block.
|
|
12685
|
+
**/
|
|
12686
|
+
| 'HostConfigurationNotAvailable'
|
|
12687
|
+
/**
|
|
12688
|
+
* No validation function upgrade is currently scheduled.
|
|
12689
|
+
**/
|
|
12690
|
+
| 'NotScheduled';
|
|
12691
|
+
|
|
12692
|
+
/**
|
|
12693
|
+
* The `Error` enum of this pallet.
|
|
12694
|
+
**/
|
|
12695
|
+
export type PalletMigrationsError =
|
|
12696
|
+
/**
|
|
12697
|
+
* The operation cannot complete since some MBMs are ongoing.
|
|
12698
|
+
**/
|
|
12699
|
+
'Ongoing';
|
|
12700
|
+
|
|
12701
|
+
export type PalletBalancesBalanceLock = { id: FixedBytes<8>; amount: bigint; reasons: PalletBalancesReasons };
|
|
12702
|
+
|
|
12703
|
+
export type PalletBalancesReasons = 'Fee' | 'Misc' | 'All';
|
|
12704
|
+
|
|
12705
|
+
export type PalletBalancesReserveData = { id: FixedBytes<8>; amount: bigint };
|
|
12706
|
+
|
|
12707
|
+
export type FrameSupportTokensMiscIdAmount = { id: AssetHubKusamaRuntimeRuntimeHoldReason; amount: bigint };
|
|
12708
|
+
|
|
12709
|
+
export type AssetHubKusamaRuntimeRuntimeHoldReason =
|
|
12710
|
+
| { type: 'Session'; value: PalletSessionHoldReason }
|
|
12711
|
+
| { type: 'PolkadotXcm'; value: PalletXcmHoldReason }
|
|
12712
|
+
| { type: 'NftFractionalization'; value: PalletNftFractionalizationHoldReason }
|
|
12713
|
+
| { type: 'Revive'; value: PalletReviveHoldReason }
|
|
12714
|
+
| { type: 'StateTrieMigration'; value: PalletStateTrieMigrationHoldReason };
|
|
12715
|
+
|
|
12716
|
+
export type PalletSessionHoldReason = 'Keys';
|
|
12717
|
+
|
|
12718
|
+
export type PalletXcmHoldReason = 'AuthorizeAlias';
|
|
12719
|
+
|
|
12720
|
+
export type PalletNftFractionalizationHoldReason = 'Fractionalized';
|
|
12721
|
+
|
|
12722
|
+
export type PalletReviveHoldReason = 'CodeUploadDepositReserve' | 'StorageDepositReserve' | 'AddressMapping';
|
|
12723
|
+
|
|
12724
|
+
export type PalletStateTrieMigrationHoldReason = 'SlashForMigrate';
|
|
12725
|
+
|
|
12726
|
+
export type FrameSupportTokensMiscIdAmount002 = { id: []; amount: bigint };
|
|
12727
|
+
|
|
12728
|
+
/**
|
|
12729
|
+
* The `Error` enum of this pallet.
|
|
12730
|
+
**/
|
|
12731
|
+
export type PalletBalancesError =
|
|
12732
|
+
/**
|
|
12733
|
+
* Vesting balance too high to send value.
|
|
12734
|
+
**/
|
|
12735
|
+
| 'VestingBalance'
|
|
12736
|
+
/**
|
|
12737
|
+
* Account liquidity restrictions prevent withdrawal.
|
|
12738
|
+
**/
|
|
12739
|
+
| 'LiquidityRestrictions'
|
|
12740
|
+
/**
|
|
12741
|
+
* Balance too low to send value.
|
|
12742
|
+
**/
|
|
12743
|
+
| 'InsufficientBalance'
|
|
12744
|
+
/**
|
|
12745
|
+
* Value too low to create account due to existential deposit.
|
|
12746
|
+
**/
|
|
12747
|
+
| 'ExistentialDeposit'
|
|
12748
|
+
/**
|
|
12749
|
+
* Transfer/payment would kill account.
|
|
12750
|
+
**/
|
|
12751
|
+
| 'Expendability'
|
|
12752
|
+
/**
|
|
12753
|
+
* A vesting schedule already exists for this account.
|
|
12754
|
+
**/
|
|
12755
|
+
| 'ExistingVestingSchedule'
|
|
12756
|
+
/**
|
|
12757
|
+
* Beneficiary account must pre-exist.
|
|
12758
|
+
**/
|
|
12759
|
+
| 'DeadAccount'
|
|
12760
|
+
/**
|
|
12761
|
+
* Number of named reserves exceed `MaxReserves`.
|
|
12762
|
+
**/
|
|
12763
|
+
| 'TooManyReserves'
|
|
12764
|
+
/**
|
|
12765
|
+
* Number of holds exceed `VariantCountOf<T::RuntimeHoldReason>`.
|
|
12766
|
+
**/
|
|
12767
|
+
| 'TooManyHolds'
|
|
12768
|
+
/**
|
|
12769
|
+
* Number of freezes exceed `MaxFreezes`.
|
|
12770
|
+
**/
|
|
12771
|
+
| 'TooManyFreezes'
|
|
12772
|
+
/**
|
|
12773
|
+
* The issuance cannot be modified since it is already deactivated.
|
|
12774
|
+
**/
|
|
12775
|
+
| 'IssuanceDeactivated'
|
|
12776
|
+
/**
|
|
12777
|
+
* The delta cannot be zero.
|
|
12778
|
+
**/
|
|
12779
|
+
| 'DeltaZero';
|
|
12780
|
+
|
|
12781
|
+
export type PalletTransactionPaymentReleases = 'V1Ancient' | 'V2';
|
|
12782
|
+
|
|
12783
|
+
export type PalletVestingReleases = 'V0' | 'V1';
|
|
12784
|
+
|
|
12785
|
+
/**
|
|
12786
|
+
* Error for the vesting pallet.
|
|
12787
|
+
**/
|
|
12788
|
+
export type PalletVestingError =
|
|
12789
|
+
/**
|
|
12790
|
+
* The account given is not vesting.
|
|
12791
|
+
**/
|
|
12792
|
+
| 'NotVesting'
|
|
12793
|
+
/**
|
|
12794
|
+
* The account already has `MaxVestingSchedules` count of schedules and thus
|
|
12795
|
+
* cannot add another one. Consider merging existing schedules in order to add another.
|
|
12796
|
+
**/
|
|
12797
|
+
| 'AtMaxVestingSchedules'
|
|
12798
|
+
/**
|
|
12799
|
+
* Amount being transferred is too low to create a vesting schedule.
|
|
12800
|
+
**/
|
|
12801
|
+
| 'AmountLow'
|
|
12802
|
+
/**
|
|
12803
|
+
* An index was out of bounds of the vesting schedules.
|
|
12804
|
+
**/
|
|
12805
|
+
| 'ScheduleIndexOutOfBounds'
|
|
12806
|
+
/**
|
|
12807
|
+
* Failed to create a new schedule because some parameter was invalid.
|
|
12808
|
+
**/
|
|
12809
|
+
| 'InvalidScheduleParams';
|
|
12810
|
+
|
|
12811
|
+
export type PalletCollatorSelectionCandidateInfo = { who: AccountId32; deposit: bigint };
|
|
12812
|
+
|
|
12813
|
+
export type FrameSupportPalletId = FixedBytes<8>;
|
|
12814
|
+
|
|
12815
|
+
/**
|
|
12816
|
+
* The `Error` enum of this pallet.
|
|
12817
|
+
**/
|
|
12818
|
+
export type PalletCollatorSelectionError =
|
|
12819
|
+
/**
|
|
12820
|
+
* The pallet has too many candidates.
|
|
12821
|
+
**/
|
|
12822
|
+
| 'TooManyCandidates'
|
|
12823
|
+
/**
|
|
12824
|
+
* Leaving would result in too few candidates.
|
|
12825
|
+
**/
|
|
12826
|
+
| 'TooFewEligibleCollators'
|
|
12827
|
+
/**
|
|
12828
|
+
* Account is already a candidate.
|
|
12829
|
+
**/
|
|
12830
|
+
| 'AlreadyCandidate'
|
|
12831
|
+
/**
|
|
12832
|
+
* Account is not a candidate.
|
|
12833
|
+
**/
|
|
12834
|
+
| 'NotCandidate'
|
|
12835
|
+
/**
|
|
12836
|
+
* There are too many Invulnerables.
|
|
12837
|
+
**/
|
|
12838
|
+
| 'TooManyInvulnerables'
|
|
12839
|
+
/**
|
|
12840
|
+
* Account is already an Invulnerable.
|
|
12841
|
+
**/
|
|
12842
|
+
| 'AlreadyInvulnerable'
|
|
12843
|
+
/**
|
|
12844
|
+
* Account is not an Invulnerable.
|
|
12845
|
+
**/
|
|
12846
|
+
| 'NotInvulnerable'
|
|
12847
|
+
/**
|
|
12848
|
+
* Account has no associated validator ID.
|
|
12849
|
+
**/
|
|
12850
|
+
| 'NoAssociatedValidatorId'
|
|
12851
|
+
/**
|
|
12852
|
+
* Validator ID is not yet registered.
|
|
12853
|
+
**/
|
|
12854
|
+
| 'ValidatorNotRegistered'
|
|
12855
|
+
/**
|
|
12856
|
+
* Could not insert in the candidate list.
|
|
12857
|
+
**/
|
|
12858
|
+
| 'InsertToCandidateListFailed'
|
|
12859
|
+
/**
|
|
12860
|
+
* Could not remove from the candidate list.
|
|
12861
|
+
**/
|
|
12862
|
+
| 'RemoveFromCandidateListFailed'
|
|
12863
|
+
/**
|
|
12864
|
+
* New deposit amount would be below the minimum candidacy bond.
|
|
12865
|
+
**/
|
|
12866
|
+
| 'DepositTooLow'
|
|
12867
|
+
/**
|
|
12868
|
+
* Could not update the candidate list.
|
|
12869
|
+
**/
|
|
12870
|
+
| 'UpdateCandidateListFailed'
|
|
12871
|
+
/**
|
|
12872
|
+
* Deposit amount is too low to take the target's slot in the candidate list.
|
|
12873
|
+
**/
|
|
12874
|
+
| 'InsufficientBond'
|
|
12875
|
+
/**
|
|
12876
|
+
* The target account to be replaced in the candidate list is not a candidate.
|
|
12877
|
+
**/
|
|
12878
|
+
| 'TargetIsNotCandidate'
|
|
12879
|
+
/**
|
|
12880
|
+
* The updated deposit amount is equal to the amount already reserved.
|
|
12881
|
+
**/
|
|
12882
|
+
| 'IdenticalDeposit'
|
|
12883
|
+
/**
|
|
12884
|
+
* Cannot lower candidacy bond while occupying a future collator slot in the list.
|
|
12885
|
+
**/
|
|
12886
|
+
| 'InvalidUnreserve';
|
|
12887
|
+
|
|
12888
|
+
export type SpStakingOffenceOffenceSeverity = Perbill;
|
|
12889
|
+
|
|
12890
|
+
export type SpCoreCryptoKeyTypeId = FixedBytes<4>;
|
|
12891
|
+
|
|
12892
|
+
/**
|
|
12893
|
+
* Error for the session pallet.
|
|
12894
|
+
**/
|
|
12895
|
+
export type PalletSessionError =
|
|
12896
|
+
/**
|
|
12897
|
+
* Invalid ownership proof.
|
|
12898
|
+
**/
|
|
12899
|
+
| 'InvalidProof'
|
|
12900
|
+
/**
|
|
12901
|
+
* No associated validator ID for account.
|
|
12902
|
+
**/
|
|
12903
|
+
| 'NoAssociatedValidatorId'
|
|
12904
|
+
/**
|
|
12905
|
+
* Registered duplicate key.
|
|
12906
|
+
**/
|
|
12907
|
+
| 'DuplicatedKey'
|
|
12908
|
+
/**
|
|
12909
|
+
* No keys are associated with this account.
|
|
12910
|
+
**/
|
|
12911
|
+
| 'NoKeys'
|
|
12912
|
+
/**
|
|
12913
|
+
* Key setting account is not live, so it's impossible to associate keys.
|
|
12914
|
+
**/
|
|
12915
|
+
| 'NoAccount';
|
|
12916
|
+
|
|
12917
|
+
export type SpConsensusSlotsSlot = bigint;
|
|
12918
|
+
|
|
12919
|
+
export type CumulusPalletXcmpQueueOutboundChannelDetails = {
|
|
12920
|
+
recipient: PolkadotParachainPrimitivesPrimitivesId;
|
|
12921
|
+
state: CumulusPalletXcmpQueueOutboundState;
|
|
12922
|
+
signalsExist: boolean;
|
|
12923
|
+
firstIndex: number;
|
|
12924
|
+
lastIndex: number;
|
|
12925
|
+
};
|
|
12926
|
+
|
|
12927
|
+
export type CumulusPalletXcmpQueueOutboundState = 'Ok' | 'Suspended';
|
|
12928
|
+
|
|
12929
|
+
export type CumulusPalletXcmpQueueQueueConfigData = {
|
|
12930
|
+
suspendThreshold: number;
|
|
12931
|
+
dropThreshold: number;
|
|
12932
|
+
resumeThreshold: number;
|
|
12933
|
+
};
|
|
12934
|
+
|
|
12935
|
+
/**
|
|
12936
|
+
* The `Error` enum of this pallet.
|
|
12937
|
+
**/
|
|
12938
|
+
export type CumulusPalletXcmpQueueError =
|
|
12939
|
+
/**
|
|
12940
|
+
* Setting the queue config failed since one of its values was invalid.
|
|
12941
|
+
**/
|
|
12942
|
+
| 'BadQueueConfig'
|
|
12943
|
+
/**
|
|
12944
|
+
* The execution is already suspended.
|
|
12945
|
+
**/
|
|
12946
|
+
| 'AlreadySuspended'
|
|
12947
|
+
/**
|
|
12948
|
+
* The execution is already resumed.
|
|
12949
|
+
**/
|
|
12950
|
+
| 'AlreadyResumed'
|
|
12951
|
+
/**
|
|
12952
|
+
* There are too many active outbound channels.
|
|
12953
|
+
**/
|
|
12954
|
+
| 'TooManyActiveOutboundChannels'
|
|
12955
|
+
/**
|
|
12956
|
+
* The message is too big.
|
|
12957
|
+
**/
|
|
12958
|
+
| 'TooBig';
|
|
12959
|
+
|
|
12960
|
+
export type PalletXcmQueryStatus =
|
|
12961
|
+
| {
|
|
12962
|
+
type: 'Pending';
|
|
12963
|
+
value: {
|
|
12964
|
+
responder: XcmVersionedLocation;
|
|
12965
|
+
maybeMatchQuerier?: XcmVersionedLocation | undefined;
|
|
12966
|
+
maybeNotify?: [number, number] | undefined;
|
|
12967
|
+
timeout: number;
|
|
12968
|
+
};
|
|
12969
|
+
}
|
|
12970
|
+
| { type: 'VersionNotifier'; value: { origin: XcmVersionedLocation; isActive: boolean } }
|
|
12971
|
+
| { type: 'Ready'; value: { response: XcmVersionedResponse; at: number } };
|
|
12972
|
+
|
|
12973
|
+
export type XcmVersionedResponse =
|
|
12974
|
+
| { type: 'V3'; value: XcmV3Response }
|
|
12975
|
+
| { type: 'V4'; value: StagingXcmV4Response }
|
|
12976
|
+
| { type: 'V5'; value: StagingXcmV5Response };
|
|
12977
|
+
|
|
12978
|
+
export type PalletXcmVersionMigrationStage =
|
|
12979
|
+
| { type: 'MigrateSupportedVersion' }
|
|
12980
|
+
| { type: 'MigrateVersionNotifiers' }
|
|
12981
|
+
| { type: 'NotifyCurrentTargets'; value?: Bytes | undefined }
|
|
12982
|
+
| { type: 'MigrateAndNotifyOldTargets' };
|
|
12983
|
+
|
|
12984
|
+
export type PalletXcmRemoteLockedFungibleRecord = {
|
|
12985
|
+
amount: bigint;
|
|
12986
|
+
owner: XcmVersionedLocation;
|
|
12987
|
+
locker: XcmVersionedLocation;
|
|
12988
|
+
consumers: Array<[[], bigint]>;
|
|
12989
|
+
};
|
|
12990
|
+
|
|
12991
|
+
export type PalletXcmAuthorizedAliasesEntry = {
|
|
12992
|
+
aliasers: Array<XcmRuntimeApisAuthorizedAliasesOriginAliaser>;
|
|
12993
|
+
ticket: FrameSupportTokensFungibleHoldConsideration;
|
|
12994
|
+
};
|
|
12995
|
+
|
|
12996
|
+
export type FrameSupportTokensFungibleHoldConsideration = bigint;
|
|
12997
|
+
|
|
12998
|
+
export type PalletXcmMaxAuthorizedAliases = {};
|
|
12999
|
+
|
|
13000
|
+
export type XcmRuntimeApisAuthorizedAliasesOriginAliaser = {
|
|
13001
|
+
location: XcmVersionedLocation;
|
|
13002
|
+
expiry?: bigint | undefined;
|
|
13003
|
+
};
|
|
13004
|
+
|
|
13005
|
+
/**
|
|
13006
|
+
* The `Error` enum of this pallet.
|
|
13007
|
+
**/
|
|
13008
|
+
export type PalletXcmError =
|
|
13009
|
+
/**
|
|
13010
|
+
* The desired destination was unreachable, generally because there is a no way of routing
|
|
13011
|
+
* to it.
|
|
13012
|
+
**/
|
|
13013
|
+
| { name: 'Unreachable' }
|
|
13014
|
+
/**
|
|
13015
|
+
* There was some other issue (i.e. not to do with routing) in sending the message.
|
|
13016
|
+
* Perhaps a lack of space for buffering the message.
|
|
13017
|
+
**/
|
|
13018
|
+
| { name: 'SendFailure' }
|
|
13019
|
+
/**
|
|
13020
|
+
* The message execution fails the filter.
|
|
13021
|
+
**/
|
|
13022
|
+
| { name: 'Filtered' }
|
|
13023
|
+
/**
|
|
13024
|
+
* The message's weight could not be determined.
|
|
13025
|
+
**/
|
|
13026
|
+
| { name: 'UnweighableMessage' }
|
|
13027
|
+
/**
|
|
13028
|
+
* The destination `Location` provided cannot be inverted.
|
|
13029
|
+
**/
|
|
13030
|
+
| { name: 'DestinationNotInvertible' }
|
|
13031
|
+
/**
|
|
13032
|
+
* The assets to be sent are empty.
|
|
13033
|
+
**/
|
|
13034
|
+
| { name: 'Empty' }
|
|
13035
|
+
/**
|
|
13036
|
+
* Could not re-anchor the assets to declare the fees for the destination chain.
|
|
13037
|
+
**/
|
|
13038
|
+
| { name: 'CannotReanchor' }
|
|
13039
|
+
/**
|
|
13040
|
+
* Too many assets have been attempted for transfer.
|
|
13041
|
+
**/
|
|
13042
|
+
| { name: 'TooManyAssets' }
|
|
13043
|
+
/**
|
|
13044
|
+
* Origin is invalid for sending.
|
|
13045
|
+
**/
|
|
13046
|
+
| { name: 'InvalidOrigin' }
|
|
13047
|
+
/**
|
|
13048
|
+
* The version of the `Versioned` value used is not able to be interpreted.
|
|
13049
|
+
**/
|
|
13050
|
+
| { name: 'BadVersion' }
|
|
13051
|
+
/**
|
|
13052
|
+
* The given location could not be used (e.g. because it cannot be expressed in the
|
|
13053
|
+
* desired version of XCM).
|
|
13054
|
+
**/
|
|
13055
|
+
| { name: 'BadLocation' }
|
|
13056
|
+
/**
|
|
13057
|
+
* The referenced subscription could not be found.
|
|
13058
|
+
**/
|
|
13059
|
+
| { name: 'NoSubscription' }
|
|
13060
|
+
/**
|
|
13061
|
+
* The location is invalid since it already has a subscription from us.
|
|
13062
|
+
**/
|
|
13063
|
+
| { name: 'AlreadySubscribed' }
|
|
13064
|
+
/**
|
|
13065
|
+
* Could not check-out the assets for teleportation to the destination chain.
|
|
13066
|
+
**/
|
|
13067
|
+
| { name: 'CannotCheckOutTeleport' }
|
|
13068
|
+
/**
|
|
13069
|
+
* The owner does not own (all) of the asset that they wish to do the operation on.
|
|
13070
|
+
**/
|
|
13071
|
+
| { name: 'LowBalance' }
|
|
13072
|
+
/**
|
|
13073
|
+
* The asset owner has too many locks on the asset.
|
|
13074
|
+
**/
|
|
13075
|
+
| { name: 'TooManyLocks' }
|
|
13076
|
+
/**
|
|
13077
|
+
* The given account is not an identifiable sovereign account for any location.
|
|
13078
|
+
**/
|
|
13079
|
+
| { name: 'AccountNotSovereign' }
|
|
13080
|
+
/**
|
|
13081
|
+
* The operation required fees to be paid which the initiator could not meet.
|
|
13082
|
+
**/
|
|
13083
|
+
| { name: 'FeesNotMet' }
|
|
13084
|
+
/**
|
|
13085
|
+
* A remote lock with the corresponding data could not be found.
|
|
13086
|
+
**/
|
|
13087
|
+
| { name: 'LockNotFound' }
|
|
12698
13088
|
/**
|
|
12699
|
-
*
|
|
12700
|
-
*
|
|
12701
|
-
* All of the given child keys must be present under one `child_root`.
|
|
12702
|
-
*
|
|
12703
|
-
* This does not affect the global migration process tracker ([`MigrationProcess`]), and
|
|
12704
|
-
* should only be used in case any keys are leftover due to a bug.
|
|
13089
|
+
* The unlock operation cannot succeed because there are still consumers of the lock.
|
|
12705
13090
|
**/
|
|
12706
|
-
| { name: '
|
|
13091
|
+
| { name: 'InUse' }
|
|
12707
13092
|
/**
|
|
12708
|
-
*
|
|
13093
|
+
* Invalid asset, reserve chain could not be determined for it.
|
|
12709
13094
|
**/
|
|
12710
|
-
| { name: '
|
|
13095
|
+
| { name: 'InvalidAssetUnknownReserve' }
|
|
12711
13096
|
/**
|
|
12712
|
-
*
|
|
12713
|
-
*
|
|
12714
|
-
* This is only useful in one case: the next key to migrate is too big to be migrated with
|
|
12715
|
-
* a signed account, in a parachain context, and we simply want to skip it. A reasonable
|
|
12716
|
-
* example of this would be `:code:`, which is both very expensive to migrate, and commonly
|
|
12717
|
-
* used, so probably it is already migrated.
|
|
12718
|
-
*
|
|
12719
|
-
* In case you mess things up, you can also, in principle, use this to reset the migration
|
|
12720
|
-
* process.
|
|
13097
|
+
* Invalid asset, do not support remote asset reserves with different fees reserves.
|
|
12721
13098
|
**/
|
|
12722
|
-
| {
|
|
12723
|
-
name: 'ForceSetProgress';
|
|
12724
|
-
params: { progressTop: PalletStateTrieMigrationProgress; progressChild: PalletStateTrieMigrationProgress };
|
|
12725
|
-
};
|
|
12726
|
-
|
|
12727
|
-
export type PalletStateTrieMigrationCallLike =
|
|
13099
|
+
| { name: 'InvalidAssetUnsupportedReserve' }
|
|
12728
13100
|
/**
|
|
12729
|
-
*
|
|
12730
|
-
*
|
|
12731
|
-
* The dispatch origin of this call must be [`Config::ControlOrigin`].
|
|
13101
|
+
* Too many assets with different reserve locations have been attempted for transfer.
|
|
12732
13102
|
**/
|
|
12733
|
-
| { name: '
|
|
13103
|
+
| { name: 'TooManyReserves' }
|
|
12734
13104
|
/**
|
|
12735
|
-
*
|
|
12736
|
-
*
|
|
12737
|
-
* The dispatch origin of this call can be any signed account.
|
|
12738
|
-
*
|
|
12739
|
-
* This transaction has NO MONETARY INCENTIVES. calling it will not reward anyone. Albeit,
|
|
12740
|
-
* Upon successful execution, the transaction fee is returned.
|
|
12741
|
-
*
|
|
12742
|
-
* The (potentially over-estimated) of the byte length of all the data read must be
|
|
12743
|
-
* provided for up-front fee-payment and weighing. In essence, the caller is guaranteeing
|
|
12744
|
-
* that executing the current `MigrationTask` with the given `limits` will not exceed
|
|
12745
|
-
* `real_size_upper` bytes of read data.
|
|
12746
|
-
*
|
|
12747
|
-
* The `witness_task` is merely a helper to prevent the caller from being slashed or
|
|
12748
|
-
* generally trigger a migration that they do not intend. This parameter is just a message
|
|
12749
|
-
* from caller, saying that they believed `witness_task` was the last state of the
|
|
12750
|
-
* migration, and they only wish for their transaction to do anything, if this assumption
|
|
12751
|
-
* holds. In case `witness_task` does not match, the transaction fails.
|
|
12752
|
-
*
|
|
12753
|
-
* Based on the documentation of [`MigrationTask::migrate_until_exhaustion`], the
|
|
12754
|
-
* recommended way of doing this is to pass a `limit` that only bounds `count`, as the
|
|
12755
|
-
* `size` limit can always be overwritten.
|
|
13105
|
+
* Local XCM execution incomplete.
|
|
12756
13106
|
**/
|
|
12757
|
-
| {
|
|
12758
|
-
name: 'ContinueMigrate';
|
|
12759
|
-
params: {
|
|
12760
|
-
limits: PalletStateTrieMigrationMigrationLimits;
|
|
12761
|
-
realSizeUpper: number;
|
|
12762
|
-
witnessTask: PalletStateTrieMigrationMigrationTask;
|
|
12763
|
-
};
|
|
12764
|
-
}
|
|
13107
|
+
| { name: 'LocalExecutionIncomplete' }
|
|
12765
13108
|
/**
|
|
12766
|
-
*
|
|
12767
|
-
*
|
|
12768
|
-
* This does not affect the global migration process tracker ([`MigrationProcess`]), and
|
|
12769
|
-
* should only be used in case any keys are leftover due to a bug.
|
|
13109
|
+
* Too many locations authorized to alias origin.
|
|
12770
13110
|
**/
|
|
12771
|
-
| { name: '
|
|
13111
|
+
| { name: 'TooManyAuthorizedAliases' }
|
|
12772
13112
|
/**
|
|
12773
|
-
*
|
|
12774
|
-
*
|
|
12775
|
-
* All of the given child keys must be present under one `child_root`.
|
|
12776
|
-
*
|
|
12777
|
-
* This does not affect the global migration process tracker ([`MigrationProcess`]), and
|
|
12778
|
-
* should only be used in case any keys are leftover due to a bug.
|
|
13113
|
+
* Expiry block number is in the past.
|
|
12779
13114
|
**/
|
|
12780
|
-
| { name: '
|
|
13115
|
+
| { name: 'ExpiresInPast' }
|
|
12781
13116
|
/**
|
|
12782
|
-
*
|
|
13117
|
+
* The alias to remove authorization for was not found.
|
|
12783
13118
|
**/
|
|
12784
|
-
| { name: '
|
|
13119
|
+
| { name: 'AliasNotFound' }
|
|
12785
13120
|
/**
|
|
12786
|
-
*
|
|
12787
|
-
*
|
|
12788
|
-
* This is only useful in one case: the next key to migrate is too big to be migrated with
|
|
12789
|
-
* a signed account, in a parachain context, and we simply want to skip it. A reasonable
|
|
12790
|
-
* example of this would be `:code:`, which is both very expensive to migrate, and commonly
|
|
12791
|
-
* used, so probably it is already migrated.
|
|
12792
|
-
*
|
|
12793
|
-
* In case you mess things up, you can also, in principle, use this to reset the migration
|
|
12794
|
-
* process.
|
|
13121
|
+
* Local XCM execution incomplete with the actual XCM error and the index of the
|
|
13122
|
+
* instruction that caused the error.
|
|
12795
13123
|
**/
|
|
12796
|
-
| {
|
|
12797
|
-
name: 'ForceSetProgress';
|
|
12798
|
-
params: { progressTop: PalletStateTrieMigrationProgress; progressChild: PalletStateTrieMigrationProgress };
|
|
12799
|
-
};
|
|
12800
|
-
|
|
12801
|
-
export type PalletStateTrieMigrationMigrationLimits = { size: number; item: number };
|
|
13124
|
+
| { name: 'LocalExecutionIncompleteWithError'; data: { index: number; error: PalletXcmErrorsExecutionError } };
|
|
12802
13125
|
|
|
12803
|
-
export type
|
|
12804
|
-
|
|
12805
|
-
|
|
12806
|
-
|
|
12807
|
-
|
|
12808
|
-
|
|
12809
|
-
|
|
13126
|
+
export type PalletXcmErrorsExecutionError =
|
|
13127
|
+
| 'Overflow'
|
|
13128
|
+
| 'Unimplemented'
|
|
13129
|
+
| 'UntrustedReserveLocation'
|
|
13130
|
+
| 'UntrustedTeleportLocation'
|
|
13131
|
+
| 'LocationFull'
|
|
13132
|
+
| 'LocationNotInvertible'
|
|
13133
|
+
| 'BadOrigin'
|
|
13134
|
+
| 'InvalidLocation'
|
|
13135
|
+
| 'AssetNotFound'
|
|
13136
|
+
| 'FailedToTransactAsset'
|
|
13137
|
+
| 'NotWithdrawable'
|
|
13138
|
+
| 'LocationCannotHold'
|
|
13139
|
+
| 'ExceedsMaxMessageSize'
|
|
13140
|
+
| 'DestinationUnsupported'
|
|
13141
|
+
| 'Transport'
|
|
13142
|
+
| 'Unroutable'
|
|
13143
|
+
| 'UnknownClaim'
|
|
13144
|
+
| 'FailedToDecode'
|
|
13145
|
+
| 'MaxWeightInvalid'
|
|
13146
|
+
| 'NotHoldingFees'
|
|
13147
|
+
| 'TooExpensive'
|
|
13148
|
+
| 'Trap'
|
|
13149
|
+
| 'ExpectationFalse'
|
|
13150
|
+
| 'PalletNotFound'
|
|
13151
|
+
| 'NameMismatch'
|
|
13152
|
+
| 'VersionIncompatible'
|
|
13153
|
+
| 'HoldingWouldOverflow'
|
|
13154
|
+
| 'ExportError'
|
|
13155
|
+
| 'ReanchorFailed'
|
|
13156
|
+
| 'NoDeal'
|
|
13157
|
+
| 'FeesNotMet'
|
|
13158
|
+
| 'LockError'
|
|
13159
|
+
| 'NoPermission'
|
|
13160
|
+
| 'Unanchored'
|
|
13161
|
+
| 'NotDepositable'
|
|
13162
|
+
| 'TooManyAssets'
|
|
13163
|
+
| 'UnhandledXcmVersion'
|
|
13164
|
+
| 'WeightLimitReached'
|
|
13165
|
+
| 'Barrier'
|
|
13166
|
+
| 'WeightNotComputable'
|
|
13167
|
+
| 'ExceedsStackLimit';
|
|
12810
13168
|
|
|
12811
|
-
export type
|
|
12812
|
-
| { type: 'ToStart' }
|
|
12813
|
-
| { type: 'LastKey'; value: Bytes }
|
|
12814
|
-
| { type: 'Complete' };
|
|
13169
|
+
export type BpXcmBridgeHubRouterBridgeState = { deliveryFeeFactor: FixedU128; isCongested: boolean };
|
|
12815
13170
|
|
|
12816
|
-
export type
|
|
12817
|
-
|
|
12818
|
-
|
|
12819
|
-
|
|
13171
|
+
export type PalletMessageQueueBookState = {
|
|
13172
|
+
begin: number;
|
|
13173
|
+
end: number;
|
|
13174
|
+
count: number;
|
|
13175
|
+
readyNeighbours?: PalletMessageQueueNeighbours | undefined;
|
|
13176
|
+
messageCount: bigint;
|
|
13177
|
+
size: bigint;
|
|
13178
|
+
};
|
|
12820
13179
|
|
|
12821
|
-
export type
|
|
12822
|
-
|
|
12823
|
-
|
|
12824
|
-
|
|
13180
|
+
export type PalletMessageQueueNeighbours = {
|
|
13181
|
+
prev: CumulusPrimitivesCoreAggregateMessageOrigin;
|
|
13182
|
+
next: CumulusPrimitivesCoreAggregateMessageOrigin;
|
|
13183
|
+
};
|
|
12825
13184
|
|
|
12826
|
-
export type
|
|
12827
|
-
|
|
12828
|
-
|
|
13185
|
+
export type PalletMessageQueuePage = {
|
|
13186
|
+
remaining: number;
|
|
13187
|
+
remainingSize: number;
|
|
13188
|
+
firstIndex: number;
|
|
13189
|
+
first: number;
|
|
13190
|
+
last: number;
|
|
13191
|
+
heap: Bytes;
|
|
13192
|
+
};
|
|
12829
13193
|
|
|
12830
|
-
|
|
12831
|
-
|
|
12832
|
-
|
|
13194
|
+
/**
|
|
13195
|
+
* The `Error` enum of this pallet.
|
|
13196
|
+
**/
|
|
13197
|
+
export type PalletMessageQueueError =
|
|
13198
|
+
/**
|
|
13199
|
+
* Page is not reapable because it has items remaining to be processed and is not old
|
|
13200
|
+
* enough.
|
|
13201
|
+
**/
|
|
13202
|
+
| 'NotReapable'
|
|
13203
|
+
/**
|
|
13204
|
+
* Page to be reaped does not exist.
|
|
13205
|
+
**/
|
|
13206
|
+
| 'NoPage'
|
|
13207
|
+
/**
|
|
13208
|
+
* The referenced message could not be found.
|
|
13209
|
+
**/
|
|
13210
|
+
| 'NoMessage'
|
|
13211
|
+
/**
|
|
13212
|
+
* The message was already processed and cannot be processed again.
|
|
13213
|
+
**/
|
|
13214
|
+
| 'AlreadyProcessed'
|
|
13215
|
+
/**
|
|
13216
|
+
* The message is queued for future execution.
|
|
13217
|
+
**/
|
|
13218
|
+
| 'Queued'
|
|
13219
|
+
/**
|
|
13220
|
+
* There is temporarily not enough weight to continue servicing messages.
|
|
13221
|
+
**/
|
|
13222
|
+
| 'InsufficientWeight'
|
|
13223
|
+
/**
|
|
13224
|
+
* This message is temporarily unprocessable.
|
|
13225
|
+
*
|
|
13226
|
+
* Such errors are expected, but not guaranteed, to resolve themselves eventually through
|
|
13227
|
+
* retrying.
|
|
13228
|
+
**/
|
|
13229
|
+
| 'TemporarilyUnprocessable'
|
|
13230
|
+
/**
|
|
13231
|
+
* The queue is paused and no message can be executed from it.
|
|
13232
|
+
*
|
|
13233
|
+
* This can change at any time and may resolve in the future by re-trying.
|
|
13234
|
+
**/
|
|
13235
|
+
| 'QueuePaused'
|
|
13236
|
+
/**
|
|
13237
|
+
* Another call is in progress and needs to finish before this call can happen.
|
|
13238
|
+
**/
|
|
13239
|
+
| 'RecursiveDisallowed';
|
|
12833
13240
|
|
|
12834
13241
|
/**
|
|
12835
13242
|
* The `Error` enum of this pallet.
|
|
@@ -13229,7 +13636,23 @@ export type PalletUniquesError =
|
|
|
13229
13636
|
/**
|
|
13230
13637
|
* The provided bid is too low.
|
|
13231
13638
|
**/
|
|
13232
|
-
| 'BidTooLow'
|
|
13639
|
+
| 'BidTooLow'
|
|
13640
|
+
/**
|
|
13641
|
+
* No metadata is found.
|
|
13642
|
+
**/
|
|
13643
|
+
| 'NoMetadata'
|
|
13644
|
+
/**
|
|
13645
|
+
* Wrong metadata key/value bytes supplied.
|
|
13646
|
+
**/
|
|
13647
|
+
| 'WrongMetadata'
|
|
13648
|
+
/**
|
|
13649
|
+
* An attribute is not found.
|
|
13650
|
+
**/
|
|
13651
|
+
| 'AttributeNotFound'
|
|
13652
|
+
/**
|
|
13653
|
+
* Wrong attribute key/value bytes supplied.
|
|
13654
|
+
**/
|
|
13655
|
+
| 'WrongAttribute';
|
|
13233
13656
|
|
|
13234
13657
|
export type PalletNftsCollectionDetails = {
|
|
13235
13658
|
owner: AccountId32;
|
|
@@ -13586,7 +14009,7 @@ export type PalletAssetConversionError =
|
|
|
13586
14009
|
**/
|
|
13587
14010
|
| 'BelowMinimum';
|
|
13588
14011
|
|
|
13589
|
-
export type
|
|
14012
|
+
export type PalletReviveVmCodeInfo = {
|
|
13590
14013
|
owner: AccountId32;
|
|
13591
14014
|
deposit: bigint;
|
|
13592
14015
|
refcount: bigint;
|
|
@@ -13594,6 +14017,12 @@ export type PalletReviveWasmCodeInfo = {
|
|
|
13594
14017
|
behaviourVersion: number;
|
|
13595
14018
|
};
|
|
13596
14019
|
|
|
14020
|
+
export type PalletReviveStorageAccountInfo = { accountType: PalletReviveStorageAccountType; dust: number };
|
|
14021
|
+
|
|
14022
|
+
export type PalletReviveStorageAccountType =
|
|
14023
|
+
| { type: 'Contract'; value: PalletReviveStorageContractInfo }
|
|
14024
|
+
| { type: 'Eoa' };
|
|
14025
|
+
|
|
13597
14026
|
export type PalletReviveStorageContractInfo = {
|
|
13598
14027
|
trieId: Bytes;
|
|
13599
14028
|
codeHash: H256;
|
|
@@ -13658,7 +14087,7 @@ export type PalletReviveError =
|
|
|
13658
14087
|
**/
|
|
13659
14088
|
| 'ContractTrapped'
|
|
13660
14089
|
/**
|
|
13661
|
-
*
|
|
14090
|
+
* Event body or storage item exceeds [`limits::PAYLOAD_BYTES`].
|
|
13662
14091
|
**/
|
|
13663
14092
|
| 'ValueTooLarge'
|
|
13664
14093
|
/**
|
|
@@ -13674,16 +14103,6 @@ export type PalletReviveError =
|
|
|
13674
14103
|
* The amount of topics passed to `seal_deposit_events` exceeds the limit.
|
|
13675
14104
|
**/
|
|
13676
14105
|
| 'TooManyTopics'
|
|
13677
|
-
/**
|
|
13678
|
-
* The chain does not provide a chain extension. Calling the chain extension results
|
|
13679
|
-
* in this error. Note that this usually shouldn't happen as deploying such contracts
|
|
13680
|
-
* is rejected.
|
|
13681
|
-
**/
|
|
13682
|
-
| 'NoChainExtension'
|
|
13683
|
-
/**
|
|
13684
|
-
* Failed to decode the XCM program.
|
|
13685
|
-
**/
|
|
13686
|
-
| 'XcmDecodeFailed'
|
|
13687
14106
|
/**
|
|
13688
14107
|
* A contract with the same AccountId already exists.
|
|
13689
14108
|
**/
|
|
@@ -13737,8 +14156,7 @@ export type PalletReviveError =
|
|
|
13737
14156
|
**/
|
|
13738
14157
|
| 'BlobTooLarge'
|
|
13739
14158
|
/**
|
|
13740
|
-
* The
|
|
13741
|
-
* [`limits::code::STATIC_MEMORY_BYTES`].
|
|
14159
|
+
* The contract declares too much memory (ro + rw + stack).
|
|
13742
14160
|
**/
|
|
13743
14161
|
| 'StaticMemoryTooLarge'
|
|
13744
14162
|
/**
|
|
@@ -13785,10 +14203,6 @@ export type PalletReviveError =
|
|
|
13785
14203
|
* Failed to convert a U256 to a Balance.
|
|
13786
14204
|
**/
|
|
13787
14205
|
| 'BalanceConversionFailed'
|
|
13788
|
-
/**
|
|
13789
|
-
* Failed to convert an EVM balance to a native balance.
|
|
13790
|
-
**/
|
|
13791
|
-
| 'DecimalPrecisionLoss'
|
|
13792
14206
|
/**
|
|
13793
14207
|
* Immutable data can only be set during deploys and only be read during calls.
|
|
13794
14208
|
* Additionally, it is only valid to set the data once and it must not be empty.
|
|
@@ -13813,43 +14227,20 @@ export type PalletReviveError =
|
|
|
13813
14227
|
**/
|
|
13814
14228
|
| 'RefcountOverOrUnderflow'
|
|
13815
14229
|
/**
|
|
13816
|
-
* Unsupported precompile address
|
|
14230
|
+
* Unsupported precompile address.
|
|
13817
14231
|
**/
|
|
13818
14232
|
| 'UnsupportedPrecompileAddress'
|
|
13819
14233
|
/**
|
|
13820
|
-
*
|
|
14234
|
+
* The calldata exceeds [`limits::CALLDATA_BYTES`].
|
|
13821
14235
|
**/
|
|
13822
|
-
| '
|
|
13823
|
-
|
|
13824
|
-
|
|
13825
|
-
|
|
13826
|
-
|
|
13827
|
-
|
|
13828
|
-
export type FrameSystemExtensionsCheckTxVersion = {};
|
|
13829
|
-
|
|
13830
|
-
export type FrameSystemExtensionsCheckGenesis = {};
|
|
13831
|
-
|
|
13832
|
-
export type FrameSystemExtensionsCheckMortality = Era;
|
|
13833
|
-
|
|
13834
|
-
export type FrameSystemExtensionsCheckNonce = number;
|
|
13835
|
-
|
|
13836
|
-
export type FrameSystemExtensionsCheckWeight = {};
|
|
13837
|
-
|
|
13838
|
-
export type PalletAssetConversionTxPaymentChargeAssetTxPayment = {
|
|
13839
|
-
tip: bigint;
|
|
13840
|
-
assetId?: StagingXcmV4Location | undefined;
|
|
13841
|
-
};
|
|
13842
|
-
|
|
13843
|
-
export type FrameMetadataHashExtensionCheckMetadataHash = { mode: FrameMetadataHashExtensionMode };
|
|
13844
|
-
|
|
13845
|
-
export type FrameMetadataHashExtensionMode = 'Disabled' | 'Enabled';
|
|
13846
|
-
|
|
13847
|
-
export type AssetHubKusamaRuntimeRuntime = {};
|
|
14236
|
+
| 'CallDataTooLarge'
|
|
14237
|
+
/**
|
|
14238
|
+
* The return data exceeds [`limits::CALLDATA_BYTES`].
|
|
14239
|
+
**/
|
|
14240
|
+
| 'ReturnDataTooLarge';
|
|
13848
14241
|
|
|
13849
14242
|
export type SpConsensusSlotsSlotDuration = bigint;
|
|
13850
14243
|
|
|
13851
|
-
export type SpRuntimeBlock = { header: Header; extrinsics: Array<UncheckedExtrinsic> };
|
|
13852
|
-
|
|
13853
14244
|
export type SpRuntimeExtrinsicInclusionMode = 'AllExtrinsics' | 'OnlyInherents';
|
|
13854
14245
|
|
|
13855
14246
|
export type SpCoreOpaqueMetadata = Bytes;
|
|
@@ -13940,6 +14331,15 @@ export type XcmRuntimeApisDryRunXcmDryRunEffects = {
|
|
|
13940
14331
|
|
|
13941
14332
|
export type XcmRuntimeApisConversionsError = 'Unsupported' | 'VersionedConversionFailed';
|
|
13942
14333
|
|
|
14334
|
+
export type XcmVersionedAsset =
|
|
14335
|
+
| { type: 'V3'; value: XcmV3MultiassetMultiAsset }
|
|
14336
|
+
| { type: 'V4'; value: StagingXcmV4Asset }
|
|
14337
|
+
| { type: 'V5'; value: StagingXcmV5Asset };
|
|
14338
|
+
|
|
14339
|
+
export type XcmRuntimeApisTrustedQueryError = 'VersionedAssetConversionFailed' | 'VersionedLocationConversionFailed';
|
|
14340
|
+
|
|
14341
|
+
export type XcmRuntimeApisAuthorizedAliasesError = 'LocationVersionConversionFailed';
|
|
14342
|
+
|
|
13943
14343
|
export type AssetsCommonRuntimeApiFungiblesAccessError = 'AssetIdConversionFailed' | 'AmountToBalanceConversionFailed';
|
|
13944
14344
|
|
|
13945
14345
|
export type CumulusPrimitivesCoreCollationInfo = {
|
|
@@ -14026,14 +14426,21 @@ export type PalletRevivePrimitivesCodeUploadReturnValue = { codeHash: H256; depo
|
|
|
14026
14426
|
|
|
14027
14427
|
export type PalletRevivePrimitivesContractAccessError = 'DoesntExist' | 'KeyDecodingFailed';
|
|
14028
14428
|
|
|
14029
|
-
export type PalletReviveEvmApiDebugRpcTypesTracerType =
|
|
14030
|
-
type: 'CallTracer';
|
|
14031
|
-
value?:
|
|
14032
|
-
};
|
|
14429
|
+
export type PalletReviveEvmApiDebugRpcTypesTracerType =
|
|
14430
|
+
| { type: 'CallTracer'; value?: PalletReviveEvmApiDebugRpcTypesCallTracerConfig | undefined }
|
|
14431
|
+
| { type: 'PrestateTracer'; value?: PalletReviveEvmApiDebugRpcTypesPrestateTracerConfig | undefined };
|
|
14033
14432
|
|
|
14034
14433
|
export type PalletReviveEvmApiDebugRpcTypesCallTracerConfig = { withLogs: boolean; onlyTopCall: boolean };
|
|
14035
14434
|
|
|
14036
|
-
export type
|
|
14435
|
+
export type PalletReviveEvmApiDebugRpcTypesPrestateTracerConfig = {
|
|
14436
|
+
diffMode: boolean;
|
|
14437
|
+
disableStorage: boolean;
|
|
14438
|
+
disableCode: boolean;
|
|
14439
|
+
};
|
|
14440
|
+
|
|
14441
|
+
export type PalletReviveEvmApiDebugRpcTypesTrace =
|
|
14442
|
+
| { type: 'Call'; value: PalletReviveEvmApiDebugRpcTypesCallTrace }
|
|
14443
|
+
| { type: 'Prestate'; value: PalletReviveEvmApiDebugRpcTypesPrestateTrace };
|
|
14037
14444
|
|
|
14038
14445
|
export type PalletReviveEvmApiDebugRpcTypesCallTrace = {
|
|
14039
14446
|
from: H160;
|
|
@@ -14057,11 +14464,29 @@ export type PalletReviveEvmApiDebugRpcTypesCallLog = {
|
|
|
14057
14464
|
position: number;
|
|
14058
14465
|
};
|
|
14059
14466
|
|
|
14060
|
-
export type PalletReviveEvmApiDebugRpcTypesCallType = 'Call' | 'StaticCall' | 'DelegateCall';
|
|
14467
|
+
export type PalletReviveEvmApiDebugRpcTypesCallType = 'Call' | 'StaticCall' | 'DelegateCall' | 'Create' | 'Create2';
|
|
14468
|
+
|
|
14469
|
+
export type PalletReviveEvmApiDebugRpcTypesPrestateTrace =
|
|
14470
|
+
| { type: 'Prestate'; value: Array<[H160, PalletReviveEvmApiDebugRpcTypesPrestateTraceInfo]> }
|
|
14471
|
+
| {
|
|
14472
|
+
type: 'DiffMode';
|
|
14473
|
+
value: {
|
|
14474
|
+
pre: Array<[H160, PalletReviveEvmApiDebugRpcTypesPrestateTraceInfo]>;
|
|
14475
|
+
post: Array<[H160, PalletReviveEvmApiDebugRpcTypesPrestateTraceInfo]>;
|
|
14476
|
+
};
|
|
14477
|
+
};
|
|
14478
|
+
|
|
14479
|
+
export type PalletReviveEvmApiDebugRpcTypesPrestateTraceInfo = {
|
|
14480
|
+
balance?: U256 | undefined;
|
|
14481
|
+
nonce?: number | undefined;
|
|
14482
|
+
code?: PalletReviveEvmApiByteBytes | undefined;
|
|
14483
|
+
storage: Array<[PalletReviveEvmApiByteBytes, PalletReviveEvmApiByteBytes | undefined]>;
|
|
14484
|
+
};
|
|
14061
14485
|
|
|
14062
14486
|
export type AssetHubKusamaRuntimeRuntimeError =
|
|
14063
14487
|
| { pallet: 'System'; palletError: FrameSystemError }
|
|
14064
14488
|
| { pallet: 'ParachainSystem'; palletError: CumulusPalletParachainSystemError }
|
|
14489
|
+
| { pallet: 'MultiBlockMigrations'; palletError: PalletMigrationsError }
|
|
14065
14490
|
| { pallet: 'Balances'; palletError: PalletBalancesError }
|
|
14066
14491
|
| { pallet: 'Vesting'; palletError: PalletVestingError }
|
|
14067
14492
|
| { pallet: 'CollatorSelection'; palletError: PalletCollatorSelectionError }
|