@dedot/chaintypes 0.122.0 → 0.131.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.
Files changed (53) hide show
  1. package/astar/consts.d.ts +0 -9
  2. package/astar/index.d.ts +1 -1
  3. package/astar/query.d.ts +0 -15
  4. package/hydration/consts.d.ts +29 -0
  5. package/hydration/errors.d.ts +172 -10
  6. package/hydration/events.d.ts +105 -0
  7. package/hydration/index.d.ts +1 -1
  8. package/hydration/json-rpc.d.ts +1 -0
  9. package/hydration/query.d.ts +50 -0
  10. package/hydration/tx.d.ts +408 -0
  11. package/hydration/types.d.ts +695 -12
  12. package/kusama/consts.d.ts +27 -7
  13. package/kusama/errors.d.ts +51 -4
  14. package/kusama/events.d.ts +212 -4
  15. package/kusama/index.d.ts +1 -1
  16. package/kusama/query.d.ts +44 -19
  17. package/kusama/runtime.d.ts +22 -0
  18. package/kusama/tx.d.ts +377 -25
  19. package/kusama/types.d.ts +638 -80
  20. package/kusama-asset-hub/consts.d.ts +98 -2
  21. package/kusama-asset-hub/errors.d.ts +314 -12
  22. package/kusama-asset-hub/events.d.ts +157 -3
  23. package/kusama-asset-hub/index.d.ts +1 -1
  24. package/kusama-asset-hub/query.d.ts +113 -6
  25. package/kusama-asset-hub/runtime.d.ts +217 -1
  26. package/kusama-asset-hub/tx.d.ts +581 -1
  27. package/kusama-asset-hub/types.d.ts +1086 -26
  28. package/moonbeam/index.d.ts +1 -1
  29. package/package.json +2 -2
  30. package/polkadot/consts.d.ts +23 -5
  31. package/polkadot/errors.d.ts +51 -4
  32. package/polkadot/events.d.ts +207 -4
  33. package/polkadot/index.d.ts +1 -1
  34. package/polkadot/query.d.ts +44 -19
  35. package/polkadot/runtime.d.ts +22 -0
  36. package/polkadot/tx.d.ts +376 -24
  37. package/polkadot/types.d.ts +630 -78
  38. package/westend/consts.d.ts +28 -9
  39. package/westend/errors.d.ts +21 -37
  40. package/westend/events.d.ts +25 -49
  41. package/westend/index.d.ts +1 -1
  42. package/westend/query.d.ts +40 -70
  43. package/westend/runtime.d.ts +7 -0
  44. package/westend/tx.d.ts +77 -124
  45. package/westend/types.d.ts +228 -328
  46. package/westend-asset-hub/consts.d.ts +41 -14
  47. package/westend-asset-hub/errors.d.ts +12 -96
  48. package/westend-asset-hub/events.d.ts +29 -81
  49. package/westend-asset-hub/index.d.ts +1 -1
  50. package/westend-asset-hub/query.d.ts +61 -125
  51. package/westend-asset-hub/runtime.d.ts +47 -1
  52. package/westend-asset-hub/tx.d.ts +97 -549
  53. package/westend-asset-hub/types.d.ts +489 -958
@@ -11,13 +11,16 @@ import type {
11
11
  FixedU128,
12
12
  Result,
13
13
  Permill,
14
+ H160,
14
15
  BytesLike,
15
16
  MultiAddress,
16
17
  MultiAddressLike,
17
18
  AccountId32Like,
19
+ Perbill,
18
20
  Era,
19
21
  Header,
20
22
  UncheckedExtrinsic,
23
+ U256,
21
24
  } from 'dedot/codecs';
22
25
 
23
26
  export type FrameSystemAccountInfo = {
@@ -71,6 +74,7 @@ export type AssetHubKusamaRuntimeRuntimeEvent =
71
74
  | { pallet: 'NftFractionalization'; palletEvent: PalletNftFractionalizationEvent }
72
75
  | { pallet: 'PoolAssets'; palletEvent: PalletAssetsEvent }
73
76
  | { pallet: 'AssetConversion'; palletEvent: PalletAssetConversionEvent }
77
+ | { pallet: 'Revive'; palletEvent: PalletReviveEvent }
74
78
  | { pallet: 'StateTrieMigration'; palletEvent: PalletStateTrieMigrationEvent };
75
79
 
76
80
  /**
@@ -104,7 +108,11 @@ export type FrameSystemEvent =
104
108
  /**
105
109
  * An upgrade was authorized.
106
110
  **/
107
- | { name: 'UpgradeAuthorized'; data: { codeHash: H256; checkVersion: boolean } };
111
+ | { name: 'UpgradeAuthorized'; data: { codeHash: H256; checkVersion: boolean } }
112
+ /**
113
+ * An invalid authorized upgrade was rejected while trying to apply it.
114
+ **/
115
+ | { name: 'RejectedInvalidAuthorizedUpgrade'; data: { codeHash: H256; error: DispatchError } };
108
116
 
109
117
  export type FrameSystemDispatchEventInfo = {
110
118
  weight: SpWeightsWeightV2Weight;
@@ -418,7 +426,15 @@ export type PalletSessionEvent =
418
426
  * New session has happened. Note that the argument is the session index, not the
419
427
  * block number as the type might suggest.
420
428
  **/
421
- { name: 'NewSession'; data: { sessionIndex: number } };
429
+ | { name: 'NewSession'; data: { sessionIndex: number } }
430
+ /**
431
+ * Validator has been disabled.
432
+ **/
433
+ | { name: 'ValidatorDisabled'; data: { validator: AccountId32 } }
434
+ /**
435
+ * Validator has been re-enabled.
436
+ **/
437
+ | { name: 'ValidatorReenabled'; data: { validator: AccountId32 } };
422
438
 
423
439
  /**
424
440
  * The `Event` enum of this pallet
@@ -438,7 +454,7 @@ export type PalletXcmEvent =
438
454
  **/
439
455
  | { name: 'Attempted'; data: { outcome: StagingXcmV5TraitsOutcome } }
440
456
  /**
441
- * A XCM message was sent.
457
+ * An XCM message was sent.
442
458
  **/
443
459
  | {
444
460
  name: 'Sent';
@@ -449,6 +465,25 @@ export type PalletXcmEvent =
449
465
  messageId: FixedBytes<32>;
450
466
  };
451
467
  }
468
+ /**
469
+ * An XCM message failed to send.
470
+ **/
471
+ | {
472
+ name: 'SendFailed';
473
+ data: {
474
+ origin: StagingXcmV5Location;
475
+ destination: StagingXcmV5Location;
476
+ error: XcmV3TraitsSendError;
477
+ messageId: FixedBytes<32>;
478
+ };
479
+ }
480
+ /**
481
+ * An XCM message failed to process.
482
+ **/
483
+ | {
484
+ name: 'ProcessXcmError';
485
+ data: { origin: StagingXcmV5Location; error: XcmV5TraitsError; messageId: FixedBytes<32> };
486
+ }
452
487
  /**
453
488
  * Query response received which does not match a registered query. This may be because a
454
489
  * matching query was never registered, it may be because it is a duplicate response, or
@@ -605,7 +640,23 @@ export type PalletXcmEvent =
605
640
  /**
606
641
  * A XCM version migration finished.
607
642
  **/
608
- | { name: 'VersionMigrationFinished'; data: { version: number } };
643
+ | { name: 'VersionMigrationFinished'; data: { version: number } }
644
+ /**
645
+ * An `aliaser` location was authorized by `target` to alias it, authorization valid until
646
+ * `expiry` block number.
647
+ **/
648
+ | {
649
+ name: 'AliasAuthorized';
650
+ data: { aliaser: StagingXcmV5Location; target: StagingXcmV5Location; expiry?: bigint | undefined };
651
+ }
652
+ /**
653
+ * `target` removed alias authorization for `aliaser`.
654
+ **/
655
+ | { name: 'AliasAuthorizationRemoved'; data: { aliaser: StagingXcmV5Location; target: StagingXcmV5Location } }
656
+ /**
657
+ * `target` removed all alias authorizations.
658
+ **/
659
+ | { name: 'AliasesAuthorizationsRemoved'; data: { target: StagingXcmV5Location } };
609
660
 
610
661
  export type StagingXcmV5TraitsOutcome =
611
662
  | { type: 'Complete'; value: { used: SpWeightsWeightV2Weight } }
@@ -871,6 +922,15 @@ export type StagingXcmV5AssetAssetTransferFilter =
871
922
 
872
923
  export type StagingXcmV5Hint = { type: 'AssetClaimer'; value: { location: StagingXcmV5Location } };
873
924
 
925
+ export type XcmV3TraitsSendError =
926
+ | 'NotApplicable'
927
+ | 'Transport'
928
+ | 'Unroutable'
929
+ | 'DestinationUnsupported'
930
+ | 'ExceedsMaxMessageSize'
931
+ | 'MissingArgument'
932
+ | 'Fees';
933
+
874
934
  export type XcmVersionedAssets =
875
935
  | { type: 'V3'; value: XcmV3MultiassetMultiAssets }
876
936
  | { type: 'V4'; value: StagingXcmV4AssetAssets }
@@ -1170,7 +1230,15 @@ export type PalletUtilityEvent =
1170
1230
  /**
1171
1231
  * A call was dispatched.
1172
1232
  **/
1173
- | { name: 'DispatchedAs'; data: { result: Result<[], DispatchError> } };
1233
+ | { name: 'DispatchedAs'; data: { result: Result<[], DispatchError> } }
1234
+ /**
1235
+ * Main call was dispatched.
1236
+ **/
1237
+ | { name: 'IfElseMainSuccess' }
1238
+ /**
1239
+ * The fallback call was dispatched.
1240
+ **/
1241
+ | { name: 'IfElseFallbackCalled'; data: { mainError: DispatchError } };
1174
1242
 
1175
1243
  /**
1176
1244
  * The `Event` enum of this pallet
@@ -1216,6 +1284,13 @@ export type PalletMultisigEvent =
1216
1284
  multisig: AccountId32;
1217
1285
  callHash: FixedBytes<32>;
1218
1286
  };
1287
+ }
1288
+ /**
1289
+ * The deposit for a multisig operation has been updated/poked.
1290
+ **/
1291
+ | {
1292
+ name: 'DepositPoked';
1293
+ data: { who: AccountId32; callHash: FixedBytes<32>; oldDeposit: bigint; newDeposit: bigint };
1219
1294
  };
1220
1295
 
1221
1296
  export type PalletMultisigTimepoint = { height: number; index: number };
@@ -1268,6 +1343,13 @@ export type PalletProxyEvent =
1268
1343
  proxyType: AssetHubKusamaRuntimeProxyType;
1269
1344
  delay: number;
1270
1345
  };
1346
+ }
1347
+ /**
1348
+ * A deposit stored for proxies or announcements was poked / updated.
1349
+ **/
1350
+ | {
1351
+ name: 'DepositPoked';
1352
+ data: { who: AccountId32; kind: PalletProxyDepositKind; oldDeposit: bigint; newDeposit: bigint };
1271
1353
  };
1272
1354
 
1273
1355
  export type AssetHubKusamaRuntimeProxyType =
@@ -1279,6 +1361,8 @@ export type AssetHubKusamaRuntimeProxyType =
1279
1361
  | 'AssetManager'
1280
1362
  | 'Collator';
1281
1363
 
1364
+ export type PalletProxyDepositKind = 'Proxies' | 'Announcements';
1365
+
1282
1366
  /**
1283
1367
  * The `Event` enum of this pallet
1284
1368
  **/
@@ -2111,6 +2195,35 @@ export type PalletAssetConversionEvent =
2111
2195
  };
2112
2196
  };
2113
2197
 
2198
+ /**
2199
+ * The `Event` enum of this pallet
2200
+ **/
2201
+ export type PalletReviveEvent =
2202
+ /**
2203
+ * A custom event emitted by the contract.
2204
+ **/
2205
+ {
2206
+ name: 'ContractEmitted';
2207
+ data: {
2208
+ /**
2209
+ * The contract that emitted the event.
2210
+ **/
2211
+ contract: H160;
2212
+
2213
+ /**
2214
+ * Data supplied by the contract. Metadata generated during contract compilation
2215
+ * is needed to decode it.
2216
+ **/
2217
+ data: Bytes;
2218
+
2219
+ /**
2220
+ * A list of topics used to index the event.
2221
+ * Number of topics is capped by [`limits::NUM_EVENT_TOPICS`].
2222
+ **/
2223
+ topics: Array<H256>;
2224
+ };
2225
+ };
2226
+
2114
2227
  /**
2115
2228
  * Inner events of this pallet.
2116
2229
  **/
@@ -2546,15 +2659,7 @@ export type CumulusPalletParachainSystemError =
2546
2659
  /**
2547
2660
  * No validation function upgrade is currently scheduled.
2548
2661
  **/
2549
- | 'NotScheduled'
2550
- /**
2551
- * No code upgrade has been authorized.
2552
- **/
2553
- | 'NothingAuthorized'
2554
- /**
2555
- * The given code upgrade has not been authorized.
2556
- **/
2557
- | 'Unauthorized';
2662
+ | 'NotScheduled';
2558
2663
 
2559
2664
  /**
2560
2665
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -2623,11 +2728,17 @@ export type PalletBalancesReserveData = { id: FixedBytes<8>; amount: bigint };
2623
2728
  export type FrameSupportTokensMiscIdAmount = { id: AssetHubKusamaRuntimeRuntimeHoldReason; amount: bigint };
2624
2729
 
2625
2730
  export type AssetHubKusamaRuntimeRuntimeHoldReason =
2731
+ | { type: 'PolkadotXcm'; value: PalletXcmHoldReason }
2626
2732
  | { type: 'NftFractionalization'; value: PalletNftFractionalizationHoldReason }
2733
+ | { type: 'Revive'; value: PalletReviveHoldReason }
2627
2734
  | { type: 'StateTrieMigration'; value: PalletStateTrieMigrationHoldReason };
2628
2735
 
2736
+ export type PalletXcmHoldReason = 'AuthorizeAlias';
2737
+
2629
2738
  export type PalletNftFractionalizationHoldReason = 'Fractionalized';
2630
2739
 
2740
+ export type PalletReviveHoldReason = 'CodeUploadDepositReserve' | 'StorageDepositReserve' | 'AddressMapping';
2741
+
2631
2742
  export type PalletStateTrieMigrationHoldReason = 'SlashForMigrate';
2632
2743
 
2633
2744
  export type FrameSupportTokensMiscIdAmount002 = { id: []; amount: bigint };
@@ -3264,6 +3375,8 @@ export type PalletCollatorSelectionCallLike =
3264
3375
  **/
3265
3376
  | { name: 'TakeCandidateSlot'; params: { deposit: bigint; target: AccountId32Like } };
3266
3377
 
3378
+ export type FrameSupportPalletId = FixedBytes<8>;
3379
+
3267
3380
  /**
3268
3381
  * The `Error` enum of this pallet.
3269
3382
  **/
@@ -3341,6 +3454,8 @@ export type AssetHubKusamaRuntimeSessionKeys = { aura: SpConsensusAuraSr25519App
3341
3454
 
3342
3455
  export type SpConsensusAuraSr25519AppSr25519Public = FixedBytes<32>;
3343
3456
 
3457
+ export type SpStakingOffenceOffenceSeverity = Perbill;
3458
+
3344
3459
  export type SpCoreCryptoKeyTypeId = FixedBytes<4>;
3345
3460
 
3346
3461
  /**
@@ -3667,6 +3782,20 @@ export type PalletXcmRemoteLockedFungibleRecord = {
3667
3782
  consumers: Array<[[], bigint]>;
3668
3783
  };
3669
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
+
3670
3799
  /**
3671
3800
  * Contains a variant per dispatchable extrinsic that this pallet has.
3672
3801
  **/
@@ -3980,7 +4109,31 @@ export type PalletXcmCall =
3980
4109
  customXcmOnDest: XcmVersionedXcm;
3981
4110
  weightLimit: XcmV3WeightLimit;
3982
4111
  };
3983
- };
4112
+ }
4113
+ /**
4114
+ * Authorize another `aliaser` location to alias into the local `origin` making this call.
4115
+ * The `aliaser` is only authorized until the provided `expiry` block number.
4116
+ * The call can also be used for a previously authorized alias in order to update its
4117
+ * `expiry` block number.
4118
+ *
4119
+ * Usually useful to allow your local account to be aliased into from a remote location
4120
+ * also under your control (like your account on another chain).
4121
+ *
4122
+ * WARNING: make sure the caller `origin` (you) trusts the `aliaser` location to act in
4123
+ * their/your name. Once authorized using this call, the `aliaser` can freely impersonate
4124
+ * `origin` in XCM programs executed on the local chain.
4125
+ **/
4126
+ | { name: 'AddAuthorizedAlias'; params: { aliaser: XcmVersionedLocation; expires?: bigint | undefined } }
4127
+ /**
4128
+ * Remove a previously authorized `aliaser` from the list of locations that can alias into
4129
+ * the local `origin` making this call.
4130
+ **/
4131
+ | { name: 'RemoveAuthorizedAlias'; params: { aliaser: XcmVersionedLocation } }
4132
+ /**
4133
+ * Remove all previously authorized `aliaser`s that can alias into the local `origin`
4134
+ * making this call.
4135
+ **/
4136
+ | { name: 'RemoveAllAuthorizedAliases' };
3984
4137
 
3985
4138
  export type PalletXcmCallLike =
3986
4139
  | { name: 'Send'; params: { dest: XcmVersionedLocation; message: XcmVersionedXcm } }
@@ -4292,7 +4445,31 @@ export type PalletXcmCallLike =
4292
4445
  customXcmOnDest: XcmVersionedXcm;
4293
4446
  weightLimit: XcmV3WeightLimit;
4294
4447
  };
4295
- };
4448
+ }
4449
+ /**
4450
+ * Authorize another `aliaser` location to alias into the local `origin` making this call.
4451
+ * The `aliaser` is only authorized until the provided `expiry` block number.
4452
+ * The call can also be used for a previously authorized alias in order to update its
4453
+ * `expiry` block number.
4454
+ *
4455
+ * Usually useful to allow your local account to be aliased into from a remote location
4456
+ * also under your control (like your account on another chain).
4457
+ *
4458
+ * WARNING: make sure the caller `origin` (you) trusts the `aliaser` location to act in
4459
+ * their/your name. Once authorized using this call, the `aliaser` can freely impersonate
4460
+ * `origin` in XCM programs executed on the local chain.
4461
+ **/
4462
+ | { name: 'AddAuthorizedAlias'; params: { aliaser: XcmVersionedLocation; expires?: bigint | undefined } }
4463
+ /**
4464
+ * Remove a previously authorized `aliaser` from the list of locations that can alias into
4465
+ * the local `origin` making this call.
4466
+ **/
4467
+ | { name: 'RemoveAuthorizedAlias'; params: { aliaser: XcmVersionedLocation } }
4468
+ /**
4469
+ * Remove all previously authorized `aliaser`s that can alias into the local `origin`
4470
+ * making this call.
4471
+ **/
4472
+ | { name: 'RemoveAllAuthorizedAliases' };
4296
4473
 
4297
4474
  export type XcmVersionedXcm =
4298
4475
  | { type: 'V3'; value: XcmV3Xcm }
@@ -4639,7 +4816,19 @@ export type PalletXcmError =
4639
4816
  /**
4640
4817
  * Local XCM execution incomplete.
4641
4818
  **/
4642
- | 'LocalExecutionIncomplete';
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';
4643
4832
 
4644
4833
  /**
4645
4834
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -4891,7 +5080,44 @@ export type PalletUtilityCall =
4891
5080
  *
4892
5081
  * The dispatch origin for this call must be _Root_.
4893
5082
  **/
4894
- | { name: 'WithWeight'; params: { call: AssetHubKusamaRuntimeRuntimeCall; weight: SpWeightsWeightV2Weight } };
5083
+ | { name: 'WithWeight'; params: { call: AssetHubKusamaRuntimeRuntimeCall; weight: SpWeightsWeightV2Weight } }
5084
+ /**
5085
+ * Dispatch a fallback call in the event the main call fails to execute.
5086
+ * May be called from any origin except `None`.
5087
+ *
5088
+ * This function first attempts to dispatch the `main` call.
5089
+ * If the `main` call fails, the `fallback` is attemted.
5090
+ * if the fallback is successfully dispatched, the weights of both calls
5091
+ * are accumulated and an event containing the main call error is deposited.
5092
+ *
5093
+ * In the event of a fallback failure the whole call fails
5094
+ * with the weights returned.
5095
+ *
5096
+ * - `main`: The main call to be dispatched. This is the primary action to execute.
5097
+ * - `fallback`: The fallback call to be dispatched in case the `main` call fails.
5098
+ *
5099
+ * ## Dispatch Logic
5100
+ * - If the origin is `root`, both the main and fallback calls are executed without
5101
+ * applying any origin filters.
5102
+ * - If the origin is not `root`, the origin filter is applied to both the `main` and
5103
+ * `fallback` calls.
5104
+ *
5105
+ * ## Use Case
5106
+ * - Some use cases might involve submitting a `batch` type call in either main, fallback
5107
+ * or both.
5108
+ **/
5109
+ | { name: 'IfElse'; params: { main: AssetHubKusamaRuntimeRuntimeCall; fallback: AssetHubKusamaRuntimeRuntimeCall } }
5110
+ /**
5111
+ * Dispatches a function call with a provided origin.
5112
+ *
5113
+ * Almost the same as [`Pallet::dispatch_as`] but forwards any error of the inner call.
5114
+ *
5115
+ * The dispatch origin for this call must be _Root_.
5116
+ **/
5117
+ | {
5118
+ name: 'DispatchAsFallible';
5119
+ params: { asOrigin: AssetHubKusamaRuntimeOriginCaller; call: AssetHubKusamaRuntimeRuntimeCall };
5120
+ };
4895
5121
 
4896
5122
  export type PalletUtilityCallLike =
4897
5123
  /**
@@ -4983,7 +5209,47 @@ export type PalletUtilityCallLike =
4983
5209
  *
4984
5210
  * The dispatch origin for this call must be _Root_.
4985
5211
  **/
4986
- | { name: 'WithWeight'; params: { call: AssetHubKusamaRuntimeRuntimeCallLike; weight: SpWeightsWeightV2Weight } };
5212
+ | { name: 'WithWeight'; params: { call: AssetHubKusamaRuntimeRuntimeCallLike; weight: SpWeightsWeightV2Weight } }
5213
+ /**
5214
+ * Dispatch a fallback call in the event the main call fails to execute.
5215
+ * May be called from any origin except `None`.
5216
+ *
5217
+ * This function first attempts to dispatch the `main` call.
5218
+ * If the `main` call fails, the `fallback` is attemted.
5219
+ * if the fallback is successfully dispatched, the weights of both calls
5220
+ * are accumulated and an event containing the main call error is deposited.
5221
+ *
5222
+ * In the event of a fallback failure the whole call fails
5223
+ * with the weights returned.
5224
+ *
5225
+ * - `main`: The main call to be dispatched. This is the primary action to execute.
5226
+ * - `fallback`: The fallback call to be dispatched in case the `main` call fails.
5227
+ *
5228
+ * ## Dispatch Logic
5229
+ * - If the origin is `root`, both the main and fallback calls are executed without
5230
+ * applying any origin filters.
5231
+ * - If the origin is not `root`, the origin filter is applied to both the `main` and
5232
+ * `fallback` calls.
5233
+ *
5234
+ * ## Use Case
5235
+ * - Some use cases might involve submitting a `batch` type call in either main, fallback
5236
+ * or both.
5237
+ **/
5238
+ | {
5239
+ name: 'IfElse';
5240
+ params: { main: AssetHubKusamaRuntimeRuntimeCallLike; fallback: AssetHubKusamaRuntimeRuntimeCallLike };
5241
+ }
5242
+ /**
5243
+ * Dispatches a function call with a provided origin.
5244
+ *
5245
+ * Almost the same as [`Pallet::dispatch_as`] but forwards any error of the inner call.
5246
+ *
5247
+ * The dispatch origin for this call must be _Root_.
5248
+ **/
5249
+ | {
5250
+ name: 'DispatchAsFallible';
5251
+ params: { asOrigin: AssetHubKusamaRuntimeOriginCaller; call: AssetHubKusamaRuntimeRuntimeCallLike };
5252
+ };
4987
5253
 
4988
5254
  export type AssetHubKusamaRuntimeRuntimeCall =
4989
5255
  | { pallet: 'System'; palletCall: FrameSystemCall }
@@ -5010,6 +5276,7 @@ export type AssetHubKusamaRuntimeRuntimeCall =
5010
5276
  | { pallet: 'NftFractionalization'; palletCall: PalletNftFractionalizationCall }
5011
5277
  | { pallet: 'PoolAssets'; palletCall: PalletAssetsCall003 }
5012
5278
  | { pallet: 'AssetConversion'; palletCall: PalletAssetConversionCall }
5279
+ | { pallet: 'Revive'; palletCall: PalletReviveCall }
5013
5280
  | { pallet: 'StateTrieMigration'; palletCall: PalletStateTrieMigrationCall };
5014
5281
 
5015
5282
  export type AssetHubKusamaRuntimeRuntimeCallLike =
@@ -5037,6 +5304,7 @@ export type AssetHubKusamaRuntimeRuntimeCallLike =
5037
5304
  | { pallet: 'NftFractionalization'; palletCall: PalletNftFractionalizationCallLike }
5038
5305
  | { pallet: 'PoolAssets'; palletCall: PalletAssetsCallLike003 }
5039
5306
  | { pallet: 'AssetConversion'; palletCall: PalletAssetConversionCallLike }
5307
+ | { pallet: 'Revive'; palletCall: PalletReviveCallLike }
5040
5308
  | { pallet: 'StateTrieMigration'; palletCall: PalletStateTrieMigrationCallLike };
5041
5309
 
5042
5310
  /**
@@ -5185,6 +5453,25 @@ export type PalletMultisigCall =
5185
5453
  timepoint: PalletMultisigTimepoint;
5186
5454
  callHash: FixedBytes<32>;
5187
5455
  };
5456
+ }
5457
+ /**
5458
+ * Poke the deposit reserved for an existing multisig operation.
5459
+ *
5460
+ * The dispatch origin for this call must be _Signed_ and must be the original depositor of
5461
+ * the multisig operation.
5462
+ *
5463
+ * The transaction fee is waived if the deposit amount has changed.
5464
+ *
5465
+ * - `threshold`: The total number of approvals needed for this multisig.
5466
+ * - `other_signatories`: The accounts (other than the sender) who are part of the
5467
+ * multisig.
5468
+ * - `call_hash`: The hash of the call this deposit is reserved for.
5469
+ *
5470
+ * Emits `DepositPoked` if successful.
5471
+ **/
5472
+ | {
5473
+ name: 'PokeDeposit';
5474
+ params: { threshold: number; otherSignatories: Array<AccountId32>; callHash: FixedBytes<32> };
5188
5475
  };
5189
5476
 
5190
5477
  export type PalletMultisigCallLike =
@@ -5330,6 +5617,25 @@ export type PalletMultisigCallLike =
5330
5617
  timepoint: PalletMultisigTimepoint;
5331
5618
  callHash: FixedBytes<32>;
5332
5619
  };
5620
+ }
5621
+ /**
5622
+ * Poke the deposit reserved for an existing multisig operation.
5623
+ *
5624
+ * The dispatch origin for this call must be _Signed_ and must be the original depositor of
5625
+ * the multisig operation.
5626
+ *
5627
+ * The transaction fee is waived if the deposit amount has changed.
5628
+ *
5629
+ * - `threshold`: The total number of approvals needed for this multisig.
5630
+ * - `other_signatories`: The accounts (other than the sender) who are part of the
5631
+ * multisig.
5632
+ * - `call_hash`: The hash of the call this deposit is reserved for.
5633
+ *
5634
+ * Emits `DepositPoked` if successful.
5635
+ **/
5636
+ | {
5637
+ name: 'PokeDeposit';
5638
+ params: { threshold: number; otherSignatories: Array<AccountId32Like>; callHash: FixedBytes<32> };
5333
5639
  };
5334
5640
 
5335
5641
  /**
@@ -5503,7 +5809,18 @@ export type PalletProxyCall =
5503
5809
  forceProxyType?: AssetHubKusamaRuntimeProxyType | undefined;
5504
5810
  call: AssetHubKusamaRuntimeRuntimeCall;
5505
5811
  };
5506
- };
5812
+ }
5813
+ /**
5814
+ * Poke / Adjust deposits made for proxies and announcements based on current values.
5815
+ * This can be used by accounts to possibly lower their locked amount.
5816
+ *
5817
+ * The dispatch origin for this call must be _Signed_.
5818
+ *
5819
+ * The transaction fee is waived if the deposit amount has changed.
5820
+ *
5821
+ * Emits `DepositPoked` if successful.
5822
+ **/
5823
+ | { name: 'PokeDeposit' };
5507
5824
 
5508
5825
  export type PalletProxyCallLike =
5509
5826
  /**
@@ -5676,7 +5993,18 @@ export type PalletProxyCallLike =
5676
5993
  forceProxyType?: AssetHubKusamaRuntimeProxyType | undefined;
5677
5994
  call: AssetHubKusamaRuntimeRuntimeCallLike;
5678
5995
  };
5679
- };
5996
+ }
5997
+ /**
5998
+ * Poke / Adjust deposits made for proxies and announcements based on current values.
5999
+ * This can be used by accounts to possibly lower their locked amount.
6000
+ *
6001
+ * The dispatch origin for this call must be _Signed_.
6002
+ *
6003
+ * The transaction fee is waived if the deposit amount has changed.
6004
+ *
6005
+ * Emits `DepositPoked` if successful.
6006
+ **/
6007
+ | { name: 'PokeDeposit' };
5680
6008
 
5681
6009
  /**
5682
6010
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -5895,6 +6223,9 @@ export type PalletAssetsCall =
5895
6223
  *
5896
6224
  * - `id`: The identifier of the asset to be destroyed. This must identify an existing
5897
6225
  * asset.
6226
+ *
6227
+ * It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
6228
+ * an account contains holds or freezes in place.
5898
6229
  **/
5899
6230
  | { name: 'StartDestroy'; params: { id: number } }
5900
6231
  /**
@@ -6319,6 +6650,9 @@ export type PalletAssetsCall =
6319
6650
  * refunded.
6320
6651
  * - `allow_burn`: If `true` then assets may be destroyed in order to complete the refund.
6321
6652
  *
6653
+ * It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
6654
+ * the asset account contains holds or freezes in place.
6655
+ *
6322
6656
  * Emits `Refunded` event when successful.
6323
6657
  **/
6324
6658
  | { name: 'Refund'; params: { id: number; allowBurn: boolean } }
@@ -6360,6 +6694,9 @@ export type PalletAssetsCall =
6360
6694
  * - `id`: The identifier of the asset for the account holding a deposit.
6361
6695
  * - `who`: The account to refund.
6362
6696
  *
6697
+ * It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
6698
+ * the asset account contains holds or freezes in place.
6699
+ *
6363
6700
  * Emits `Refunded` event when successful.
6364
6701
  **/
6365
6702
  | { name: 'RefundOther'; params: { id: number; who: MultiAddress } }
@@ -6451,6 +6788,9 @@ export type PalletAssetsCallLike =
6451
6788
  *
6452
6789
  * - `id`: The identifier of the asset to be destroyed. This must identify an existing
6453
6790
  * asset.
6791
+ *
6792
+ * It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
6793
+ * an account contains holds or freezes in place.
6454
6794
  **/
6455
6795
  | { name: 'StartDestroy'; params: { id: number } }
6456
6796
  /**
@@ -6881,6 +7221,9 @@ export type PalletAssetsCallLike =
6881
7221
  * refunded.
6882
7222
  * - `allow_burn`: If `true` then assets may be destroyed in order to complete the refund.
6883
7223
  *
7224
+ * It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
7225
+ * the asset account contains holds or freezes in place.
7226
+ *
6884
7227
  * Emits `Refunded` event when successful.
6885
7228
  **/
6886
7229
  | { name: 'Refund'; params: { id: number; allowBurn: boolean } }
@@ -6922,6 +7265,9 @@ export type PalletAssetsCallLike =
6922
7265
  * - `id`: The identifier of the asset for the account holding a deposit.
6923
7266
  * - `who`: The account to refund.
6924
7267
  *
7268
+ * It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
7269
+ * the asset account contains holds or freezes in place.
7270
+ *
6925
7271
  * Emits `Refunded` event when successful.
6926
7272
  **/
6927
7273
  | { name: 'RefundOther'; params: { id: number; who: MultiAddressLike } }
@@ -9420,6 +9766,9 @@ export type PalletAssetsCall002 =
9420
9766
  *
9421
9767
  * - `id`: The identifier of the asset to be destroyed. This must identify an existing
9422
9768
  * asset.
9769
+ *
9770
+ * It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
9771
+ * an account contains holds or freezes in place.
9423
9772
  **/
9424
9773
  | { name: 'StartDestroy'; params: { id: StagingXcmV4Location } }
9425
9774
  /**
@@ -9853,6 +10202,9 @@ export type PalletAssetsCall002 =
9853
10202
  * refunded.
9854
10203
  * - `allow_burn`: If `true` then assets may be destroyed in order to complete the refund.
9855
10204
  *
10205
+ * It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
10206
+ * the asset account contains holds or freezes in place.
10207
+ *
9856
10208
  * Emits `Refunded` event when successful.
9857
10209
  **/
9858
10210
  | { name: 'Refund'; params: { id: StagingXcmV4Location; allowBurn: boolean } }
@@ -9894,6 +10246,9 @@ export type PalletAssetsCall002 =
9894
10246
  * - `id`: The identifier of the asset for the account holding a deposit.
9895
10247
  * - `who`: The account to refund.
9896
10248
  *
10249
+ * It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
10250
+ * the asset account contains holds or freezes in place.
10251
+ *
9897
10252
  * Emits `Refunded` event when successful.
9898
10253
  **/
9899
10254
  | { name: 'RefundOther'; params: { id: StagingXcmV4Location; who: MultiAddress } }
@@ -9988,6 +10343,9 @@ export type PalletAssetsCallLike002 =
9988
10343
  *
9989
10344
  * - `id`: The identifier of the asset to be destroyed. This must identify an existing
9990
10345
  * asset.
10346
+ *
10347
+ * It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
10348
+ * an account contains holds or freezes in place.
9991
10349
  **/
9992
10350
  | { name: 'StartDestroy'; params: { id: StagingXcmV4Location } }
9993
10351
  /**
@@ -10429,6 +10787,9 @@ export type PalletAssetsCallLike002 =
10429
10787
  * refunded.
10430
10788
  * - `allow_burn`: If `true` then assets may be destroyed in order to complete the refund.
10431
10789
  *
10790
+ * It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
10791
+ * the asset account contains holds or freezes in place.
10792
+ *
10432
10793
  * Emits `Refunded` event when successful.
10433
10794
  **/
10434
10795
  | { name: 'Refund'; params: { id: StagingXcmV4Location; allowBurn: boolean } }
@@ -10470,6 +10831,9 @@ export type PalletAssetsCallLike002 =
10470
10831
  * - `id`: The identifier of the asset for the account holding a deposit.
10471
10832
  * - `who`: The account to refund.
10472
10833
  *
10834
+ * It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
10835
+ * the asset account contains holds or freezes in place.
10836
+ *
10473
10837
  * Emits `Refunded` event when successful.
10474
10838
  **/
10475
10839
  | { name: 'RefundOther'; params: { id: StagingXcmV4Location; who: MultiAddressLike } }
@@ -10664,6 +11028,9 @@ export type PalletAssetsCall003 =
10664
11028
  *
10665
11029
  * - `id`: The identifier of the asset to be destroyed. This must identify an existing
10666
11030
  * asset.
11031
+ *
11032
+ * It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
11033
+ * an account contains holds or freezes in place.
10667
11034
  **/
10668
11035
  | { name: 'StartDestroy'; params: { id: number } }
10669
11036
  /**
@@ -11088,6 +11455,9 @@ export type PalletAssetsCall003 =
11088
11455
  * refunded.
11089
11456
  * - `allow_burn`: If `true` then assets may be destroyed in order to complete the refund.
11090
11457
  *
11458
+ * It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
11459
+ * the asset account contains holds or freezes in place.
11460
+ *
11091
11461
  * Emits `Refunded` event when successful.
11092
11462
  **/
11093
11463
  | { name: 'Refund'; params: { id: number; allowBurn: boolean } }
@@ -11129,6 +11499,9 @@ export type PalletAssetsCall003 =
11129
11499
  * - `id`: The identifier of the asset for the account holding a deposit.
11130
11500
  * - `who`: The account to refund.
11131
11501
  *
11502
+ * It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
11503
+ * the asset account contains holds or freezes in place.
11504
+ *
11132
11505
  * Emits `Refunded` event when successful.
11133
11506
  **/
11134
11507
  | { name: 'RefundOther'; params: { id: number; who: MultiAddress } }
@@ -11220,6 +11593,9 @@ export type PalletAssetsCallLike003 =
11220
11593
  *
11221
11594
  * - `id`: The identifier of the asset to be destroyed. This must identify an existing
11222
11595
  * asset.
11596
+ *
11597
+ * It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
11598
+ * an account contains holds or freezes in place.
11223
11599
  **/
11224
11600
  | { name: 'StartDestroy'; params: { id: number } }
11225
11601
  /**
@@ -11650,6 +12026,9 @@ export type PalletAssetsCallLike003 =
11650
12026
  * refunded.
11651
12027
  * - `allow_burn`: If `true` then assets may be destroyed in order to complete the refund.
11652
12028
  *
12029
+ * It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
12030
+ * the asset account contains holds or freezes in place.
12031
+ *
11653
12032
  * Emits `Refunded` event when successful.
11654
12033
  **/
11655
12034
  | { name: 'Refund'; params: { id: number; allowBurn: boolean } }
@@ -11691,6 +12070,9 @@ export type PalletAssetsCallLike003 =
11691
12070
  * - `id`: The identifier of the asset for the account holding a deposit.
11692
12071
  * - `who`: The account to refund.
11693
12072
  *
12073
+ * It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
12074
+ * the asset account contains holds or freezes in place.
12075
+ *
11694
12076
  * Emits `Refunded` event when successful.
11695
12077
  **/
11696
12078
  | { name: 'RefundOther'; params: { id: number; who: MultiAddressLike } }
@@ -11936,6 +12318,335 @@ export type PalletAssetConversionCallLike =
11936
12318
  **/
11937
12319
  | { name: 'Touch'; params: { asset1: StagingXcmV4Location; asset2: StagingXcmV4Location } };
11938
12320
 
12321
+ /**
12322
+ * Contains a variant per dispatchable extrinsic that this pallet has.
12323
+ **/
12324
+ export type PalletReviveCall =
12325
+ /**
12326
+ * A raw EVM transaction, typically dispatched by an Ethereum JSON-RPC server.
12327
+ *
12328
+ * # Parameters
12329
+ *
12330
+ * * `payload`: The encoded [`crate::evm::TransactionSigned`].
12331
+ * * `gas_limit`: The gas limit enforced during contract execution.
12332
+ * * `storage_deposit_limit`: The maximum balance that can be charged to the caller for
12333
+ * storage usage.
12334
+ *
12335
+ * # Note
12336
+ *
12337
+ * This call cannot be dispatched directly; attempting to do so will result in a failed
12338
+ * transaction. It serves as a wrapper for an Ethereum transaction. When submitted, the
12339
+ * runtime converts it into a [`sp_runtime::generic::CheckedExtrinsic`] by recovering the
12340
+ * signer and validating the transaction.
12341
+ **/
12342
+ | { name: 'EthTransact'; params: { payload: Bytes } }
12343
+ /**
12344
+ * Makes a call to an account, optionally transferring some balance.
12345
+ *
12346
+ * # Parameters
12347
+ *
12348
+ * * `dest`: Address of the contract to call.
12349
+ * * `value`: The balance to transfer from the `origin` to `dest`.
12350
+ * * `gas_limit`: The gas limit enforced when executing the constructor.
12351
+ * * `storage_deposit_limit`: The maximum amount of balance that can be charged from the
12352
+ * caller to pay for the storage consumed.
12353
+ * * `data`: The input data to pass to the contract.
12354
+ *
12355
+ * * If the account is a smart-contract account, the associated code will be
12356
+ * executed and any value will be transferred.
12357
+ * * If the account is a regular account, any value will be transferred.
12358
+ * * If no account exists and the call value is not less than `existential_deposit`,
12359
+ * a regular account will be created and any value will be transferred.
12360
+ **/
12361
+ | {
12362
+ name: 'Call';
12363
+ params: {
12364
+ dest: H160;
12365
+ value: bigint;
12366
+ gasLimit: SpWeightsWeightV2Weight;
12367
+ storageDepositLimit: bigint;
12368
+ data: Bytes;
12369
+ };
12370
+ }
12371
+ /**
12372
+ * Instantiates a contract from a previously deployed wasm binary.
12373
+ *
12374
+ * 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 wasm binary
12376
+ * must be supplied.
12377
+ **/
12378
+ | {
12379
+ name: 'Instantiate';
12380
+ params: {
12381
+ value: bigint;
12382
+ gasLimit: SpWeightsWeightV2Weight;
12383
+ storageDepositLimit: bigint;
12384
+ codeHash: H256;
12385
+ data: Bytes;
12386
+ salt?: FixedBytes<32> | undefined;
12387
+ };
12388
+ }
12389
+ /**
12390
+ * Instantiates a new contract from the supplied `code` optionally transferring
12391
+ * some balance.
12392
+ *
12393
+ * This dispatchable has the same effect as calling [`Self::upload_code`] +
12394
+ * [`Self::instantiate`]. Bundling them together provides efficiency gains. Please
12395
+ * also check the documentation of [`Self::upload_code`].
12396
+ *
12397
+ * # Parameters
12398
+ *
12399
+ * * `value`: The balance to transfer from the `origin` to the newly created contract.
12400
+ * * `gas_limit`: The gas limit enforced when executing the constructor.
12401
+ * * `storage_deposit_limit`: The maximum amount of balance that can be charged/reserved
12402
+ * from the caller to pay for the storage consumed.
12403
+ * * `code`: The contract code to deploy in raw bytes.
12404
+ * * `data`: The input data to pass to the contract constructor.
12405
+ * * `salt`: Used for the address derivation. If `Some` is supplied then `CREATE2`
12406
+ * semantics are used. If `None` then `CRATE1` is used.
12407
+ *
12408
+ *
12409
+ * Instantiation is executed as follows:
12410
+ *
12411
+ * - The supplied `code` is deployed, and a `code_hash` is created for that code.
12412
+ * - If the `code_hash` already exists on the chain the underlying `code` will be shared.
12413
+ * - The destination address is computed based on the sender, code_hash and the salt.
12414
+ * - The smart-contract account is created at the computed address.
12415
+ * - The `value` is transferred to the new account.
12416
+ * - The `deploy` function is executed in the context of the newly-created account.
12417
+ **/
12418
+ | {
12419
+ name: 'InstantiateWithCode';
12420
+ params: {
12421
+ value: bigint;
12422
+ gasLimit: SpWeightsWeightV2Weight;
12423
+ storageDepositLimit: bigint;
12424
+ code: Bytes;
12425
+ data: Bytes;
12426
+ salt?: FixedBytes<32> | undefined;
12427
+ };
12428
+ }
12429
+ /**
12430
+ * Upload new `code` without instantiating a contract from it.
12431
+ *
12432
+ * If the code does not already exist a deposit is reserved from the caller
12433
+ * and unreserved only when [`Self::remove_code`] is called. The size of the reserve
12434
+ * depends on the size of the supplied `code`.
12435
+ *
12436
+ * # Note
12437
+ *
12438
+ * Anyone can instantiate a contract from any uploaded code and thus prevent its removal.
12439
+ * To avoid this situation a constructor could employ access control so that it can
12440
+ * only be instantiated by permissioned entities. The same is true when uploading
12441
+ * through [`Self::instantiate_with_code`].
12442
+ **/
12443
+ | { name: 'UploadCode'; params: { code: Bytes; storageDepositLimit: bigint } }
12444
+ /**
12445
+ * Remove the code stored under `code_hash` and refund the deposit to its owner.
12446
+ *
12447
+ * A code can only be removed by its original uploader (its owner) and only if it is
12448
+ * not used by any contract.
12449
+ **/
12450
+ | { name: 'RemoveCode'; params: { codeHash: H256 } }
12451
+ /**
12452
+ * Privileged function that changes the code of an existing contract.
12453
+ *
12454
+ * This takes care of updating refcounts and all other necessary operations. Returns
12455
+ * an error if either the `code_hash` or `dest` do not exist.
12456
+ *
12457
+ * # Note
12458
+ *
12459
+ * This does **not** change the address of the contract in question. This means
12460
+ * that the contract address is no longer derived from its code hash after calling
12461
+ * this dispatchable.
12462
+ **/
12463
+ | { name: 'SetCode'; params: { dest: H160; codeHash: H256 } }
12464
+ /**
12465
+ * Register the callers account id so that it can be used in contract interactions.
12466
+ *
12467
+ * This will error if the origin is already mapped or is a eth native `Address20`. It will
12468
+ * take a deposit that can be released by calling [`Self::unmap_account`].
12469
+ **/
12470
+ | { name: 'MapAccount' }
12471
+ /**
12472
+ * Unregister the callers account id in order to free the deposit.
12473
+ *
12474
+ * There is no reason to ever call this function other than freeing up the deposit.
12475
+ * This is only useful when the account should no longer be used.
12476
+ **/
12477
+ | { name: 'UnmapAccount' }
12478
+ /**
12479
+ * Dispatch an `call` with the origin set to the callers fallback address.
12480
+ *
12481
+ * Every `AccountId32` can control its corresponding fallback account. The fallback account
12482
+ * is the `AccountId20` with the last 12 bytes set to `0xEE`. This is essentially a
12483
+ * recovery function in case an `AccountId20` was used without creating a mapping first.
12484
+ **/
12485
+ | { name: 'DispatchAsFallbackAccount'; params: { call: AssetHubKusamaRuntimeRuntimeCall } };
12486
+
12487
+ export type PalletReviveCallLike =
12488
+ /**
12489
+ * A raw EVM transaction, typically dispatched by an Ethereum JSON-RPC server.
12490
+ *
12491
+ * # Parameters
12492
+ *
12493
+ * * `payload`: The encoded [`crate::evm::TransactionSigned`].
12494
+ * * `gas_limit`: The gas limit enforced during contract execution.
12495
+ * * `storage_deposit_limit`: The maximum balance that can be charged to the caller for
12496
+ * storage usage.
12497
+ *
12498
+ * # Note
12499
+ *
12500
+ * This call cannot be dispatched directly; attempting to do so will result in a failed
12501
+ * transaction. It serves as a wrapper for an Ethereum transaction. When submitted, the
12502
+ * runtime converts it into a [`sp_runtime::generic::CheckedExtrinsic`] by recovering the
12503
+ * signer and validating the transaction.
12504
+ **/
12505
+ | { name: 'EthTransact'; params: { payload: BytesLike } }
12506
+ /**
12507
+ * Makes a call to an account, optionally transferring some balance.
12508
+ *
12509
+ * # Parameters
12510
+ *
12511
+ * * `dest`: Address of the contract to call.
12512
+ * * `value`: The balance to transfer from the `origin` to `dest`.
12513
+ * * `gas_limit`: The gas limit enforced when executing the constructor.
12514
+ * * `storage_deposit_limit`: The maximum amount of balance that can be charged from the
12515
+ * caller to pay for the storage consumed.
12516
+ * * `data`: The input data to pass to the contract.
12517
+ *
12518
+ * * If the account is a smart-contract account, the associated code will be
12519
+ * executed and any value will be transferred.
12520
+ * * If the account is a regular account, any value will be transferred.
12521
+ * * If no account exists and the call value is not less than `existential_deposit`,
12522
+ * a regular account will be created and any value will be transferred.
12523
+ **/
12524
+ | {
12525
+ name: 'Call';
12526
+ params: {
12527
+ dest: H160;
12528
+ value: bigint;
12529
+ gasLimit: SpWeightsWeightV2Weight;
12530
+ storageDepositLimit: bigint;
12531
+ data: BytesLike;
12532
+ };
12533
+ }
12534
+ /**
12535
+ * Instantiates a contract from a previously deployed wasm binary.
12536
+ *
12537
+ * 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 wasm binary
12539
+ * must be supplied.
12540
+ **/
12541
+ | {
12542
+ name: 'Instantiate';
12543
+ params: {
12544
+ value: bigint;
12545
+ gasLimit: SpWeightsWeightV2Weight;
12546
+ storageDepositLimit: bigint;
12547
+ codeHash: H256;
12548
+ data: BytesLike;
12549
+ salt?: FixedBytes<32> | undefined;
12550
+ };
12551
+ }
12552
+ /**
12553
+ * Instantiates a new contract from the supplied `code` optionally transferring
12554
+ * some balance.
12555
+ *
12556
+ * This dispatchable has the same effect as calling [`Self::upload_code`] +
12557
+ * [`Self::instantiate`]. Bundling them together provides efficiency gains. Please
12558
+ * also check the documentation of [`Self::upload_code`].
12559
+ *
12560
+ * # Parameters
12561
+ *
12562
+ * * `value`: The balance to transfer from the `origin` to the newly created contract.
12563
+ * * `gas_limit`: The gas limit enforced when executing the constructor.
12564
+ * * `storage_deposit_limit`: The maximum amount of balance that can be charged/reserved
12565
+ * from the caller to pay for the storage consumed.
12566
+ * * `code`: The contract code to deploy in raw bytes.
12567
+ * * `data`: The input data to pass to the contract constructor.
12568
+ * * `salt`: Used for the address derivation. If `Some` is supplied then `CREATE2`
12569
+ * semantics are used. If `None` then `CRATE1` is used.
12570
+ *
12571
+ *
12572
+ * Instantiation is executed as follows:
12573
+ *
12574
+ * - The supplied `code` is deployed, and a `code_hash` is created for that code.
12575
+ * - If the `code_hash` already exists on the chain the underlying `code` will be shared.
12576
+ * - The destination address is computed based on the sender, code_hash and the salt.
12577
+ * - The smart-contract account is created at the computed address.
12578
+ * - The `value` is transferred to the new account.
12579
+ * - The `deploy` function is executed in the context of the newly-created account.
12580
+ **/
12581
+ | {
12582
+ name: 'InstantiateWithCode';
12583
+ params: {
12584
+ value: bigint;
12585
+ gasLimit: SpWeightsWeightV2Weight;
12586
+ storageDepositLimit: bigint;
12587
+ code: BytesLike;
12588
+ data: BytesLike;
12589
+ salt?: FixedBytes<32> | undefined;
12590
+ };
12591
+ }
12592
+ /**
12593
+ * Upload new `code` without instantiating a contract from it.
12594
+ *
12595
+ * If the code does not already exist a deposit is reserved from the caller
12596
+ * and unreserved only when [`Self::remove_code`] is called. The size of the reserve
12597
+ * depends on the size of the supplied `code`.
12598
+ *
12599
+ * # Note
12600
+ *
12601
+ * Anyone can instantiate a contract from any uploaded code and thus prevent its removal.
12602
+ * To avoid this situation a constructor could employ access control so that it can
12603
+ * only be instantiated by permissioned entities. The same is true when uploading
12604
+ * through [`Self::instantiate_with_code`].
12605
+ **/
12606
+ | { name: 'UploadCode'; params: { code: BytesLike; storageDepositLimit: bigint } }
12607
+ /**
12608
+ * Remove the code stored under `code_hash` and refund the deposit to its owner.
12609
+ *
12610
+ * A code can only be removed by its original uploader (its owner) and only if it is
12611
+ * not used by any contract.
12612
+ **/
12613
+ | { name: 'RemoveCode'; params: { codeHash: H256 } }
12614
+ /**
12615
+ * Privileged function that changes the code of an existing contract.
12616
+ *
12617
+ * This takes care of updating refcounts and all other necessary operations. Returns
12618
+ * an error if either the `code_hash` or `dest` do not exist.
12619
+ *
12620
+ * # Note
12621
+ *
12622
+ * This does **not** change the address of the contract in question. This means
12623
+ * that the contract address is no longer derived from its code hash after calling
12624
+ * this dispatchable.
12625
+ **/
12626
+ | { name: 'SetCode'; params: { dest: H160; codeHash: H256 } }
12627
+ /**
12628
+ * Register the callers account id so that it can be used in contract interactions.
12629
+ *
12630
+ * This will error if the origin is already mapped or is a eth native `Address20`. It will
12631
+ * take a deposit that can be released by calling [`Self::unmap_account`].
12632
+ **/
12633
+ | { name: 'MapAccount' }
12634
+ /**
12635
+ * Unregister the callers account id in order to free the deposit.
12636
+ *
12637
+ * There is no reason to ever call this function other than freeing up the deposit.
12638
+ * This is only useful when the account should no longer be used.
12639
+ **/
12640
+ | { name: 'UnmapAccount' }
12641
+ /**
12642
+ * Dispatch an `call` with the origin set to the callers fallback address.
12643
+ *
12644
+ * Every `AccountId32` can control its corresponding fallback account. The fallback account
12645
+ * is the `AccountId20` with the last 12 bytes set to `0xEE`. This is essentially a
12646
+ * recovery function in case an `AccountId20` was used without creating a mapping first.
12647
+ **/
12648
+ | { name: 'DispatchAsFallbackAccount'; params: { call: AssetHubKusamaRuntimeRuntimeCallLike } };
12649
+
11939
12650
  /**
11940
12651
  * Contains a variant per dispatchable extrinsic that this pallet has.
11941
12652
  **/
@@ -12169,11 +12880,12 @@ export type PalletMultisigError =
12169
12880
  **/
12170
12881
  | 'SenderInSignatories'
12171
12882
  /**
12172
- * Multisig operation not found when attempting to cancel.
12883
+ * Multisig operation not found in storage.
12173
12884
  **/
12174
12885
  | 'NotFound'
12175
12886
  /**
12176
- * Only the account that originally created the multisig is able to cancel it.
12887
+ * Only the account that originally created the multisig is able to cancel it or update
12888
+ * its deposits.
12177
12889
  **/
12178
12890
  | 'NotOwner'
12179
12891
  /**
@@ -12408,7 +13120,15 @@ export type PalletAssetsError =
12408
13120
  /**
12409
13121
  * The asset ID must be equal to the [`NextAssetId`].
12410
13122
  **/
12411
- | 'BadAssetId';
13123
+ | 'BadAssetId'
13124
+ /**
13125
+ * The asset cannot be destroyed because some accounts for this asset contain freezes.
13126
+ **/
13127
+ | 'ContainsFreezes'
13128
+ /**
13129
+ * The asset cannot be destroyed because some accounts for this asset contain holds.
13130
+ **/
13131
+ | 'ContainsHolds';
12412
13132
 
12413
13133
  export type PalletUniquesCollectionDetails = {
12414
13134
  owner: AccountId32;
@@ -12743,8 +13463,6 @@ export type PalletNftFractionalizationDetails = {
12743
13463
  assetCreator: AccountId32;
12744
13464
  };
12745
13465
 
12746
- export type FrameSupportPalletId = FixedBytes<8>;
12747
-
12748
13466
  /**
12749
13467
  * The `Error` enum of this pallet.
12750
13468
  **/
@@ -12868,6 +13586,241 @@ export type PalletAssetConversionError =
12868
13586
  **/
12869
13587
  | 'BelowMinimum';
12870
13588
 
13589
+ export type PalletReviveWasmCodeInfo = {
13590
+ owner: AccountId32;
13591
+ deposit: bigint;
13592
+ refcount: bigint;
13593
+ codeLen: number;
13594
+ behaviourVersion: number;
13595
+ };
13596
+
13597
+ export type PalletReviveStorageContractInfo = {
13598
+ trieId: Bytes;
13599
+ codeHash: H256;
13600
+ storageBytes: number;
13601
+ storageItems: number;
13602
+ storageByteDeposit: bigint;
13603
+ storageItemDeposit: bigint;
13604
+ storageBaseDeposit: bigint;
13605
+ immutableDataLen: number;
13606
+ };
13607
+
13608
+ export type PalletReviveStorageDeletionQueueManager = { insertCounter: number; deleteCounter: number };
13609
+
13610
+ /**
13611
+ * The `Error` enum of this pallet.
13612
+ **/
13613
+ export type PalletReviveError =
13614
+ /**
13615
+ * Invalid schedule supplied, e.g. with zero weight of a basic operation.
13616
+ **/
13617
+ | 'InvalidSchedule'
13618
+ /**
13619
+ * Invalid combination of flags supplied to `seal_call` or `seal_delegate_call`.
13620
+ **/
13621
+ | 'InvalidCallFlags'
13622
+ /**
13623
+ * The executed contract exhausted its gas limit.
13624
+ **/
13625
+ | 'OutOfGas'
13626
+ /**
13627
+ * Performing the requested transfer failed. Probably because there isn't enough
13628
+ * free balance in the sender's account.
13629
+ **/
13630
+ | 'TransferFailed'
13631
+ /**
13632
+ * Performing a call was denied because the calling depth reached the limit
13633
+ * of what is specified in the schedule.
13634
+ **/
13635
+ | 'MaxCallDepthReached'
13636
+ /**
13637
+ * No contract was found at the specified address.
13638
+ **/
13639
+ | 'ContractNotFound'
13640
+ /**
13641
+ * No code could be found at the supplied code hash.
13642
+ **/
13643
+ | 'CodeNotFound'
13644
+ /**
13645
+ * No code info could be found at the supplied code hash.
13646
+ **/
13647
+ | 'CodeInfoNotFound'
13648
+ /**
13649
+ * A buffer outside of sandbox memory was passed to a contract API function.
13650
+ **/
13651
+ | 'OutOfBounds'
13652
+ /**
13653
+ * Input passed to a contract API function failed to decode as expected type.
13654
+ **/
13655
+ | 'DecodingFailed'
13656
+ /**
13657
+ * Contract trapped during execution.
13658
+ **/
13659
+ | 'ContractTrapped'
13660
+ /**
13661
+ * The size defined in `T::MaxValueSize` was exceeded.
13662
+ **/
13663
+ | 'ValueTooLarge'
13664
+ /**
13665
+ * Termination of a contract is not allowed while the contract is already
13666
+ * on the call stack. Can be triggered by `seal_terminate`.
13667
+ **/
13668
+ | 'TerminatedWhileReentrant'
13669
+ /**
13670
+ * `seal_call` forwarded this contracts input. It therefore is no longer available.
13671
+ **/
13672
+ | 'InputForwarded'
13673
+ /**
13674
+ * The amount of topics passed to `seal_deposit_events` exceeds the limit.
13675
+ **/
13676
+ | '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
+ /**
13688
+ * A contract with the same AccountId already exists.
13689
+ **/
13690
+ | 'DuplicateContract'
13691
+ /**
13692
+ * A contract self destructed in its constructor.
13693
+ *
13694
+ * This can be triggered by a call to `seal_terminate`.
13695
+ **/
13696
+ | 'TerminatedInConstructor'
13697
+ /**
13698
+ * A call tried to invoke a contract that is flagged as non-reentrant.
13699
+ **/
13700
+ | 'ReentranceDenied'
13701
+ /**
13702
+ * A contract called into the runtime which then called back into this pallet.
13703
+ **/
13704
+ | 'ReenteredPallet'
13705
+ /**
13706
+ * A contract attempted to invoke a state modifying API while being in read-only mode.
13707
+ **/
13708
+ | 'StateChangeDenied'
13709
+ /**
13710
+ * Origin doesn't have enough balance to pay the required storage deposits.
13711
+ **/
13712
+ | 'StorageDepositNotEnoughFunds'
13713
+ /**
13714
+ * More storage was created than allowed by the storage deposit limit.
13715
+ **/
13716
+ | 'StorageDepositLimitExhausted'
13717
+ /**
13718
+ * Code removal was denied because the code is still in use by at least one contract.
13719
+ **/
13720
+ | 'CodeInUse'
13721
+ /**
13722
+ * The contract ran to completion but decided to revert its storage changes.
13723
+ * Please note that this error is only returned from extrinsics. When called directly
13724
+ * or via RPC an `Ok` will be returned. In this case the caller needs to inspect the flags
13725
+ * to determine whether a reversion has taken place.
13726
+ **/
13727
+ | 'ContractReverted'
13728
+ /**
13729
+ * The contract failed to compile or is missing the correct entry points.
13730
+ *
13731
+ * A more detailed error can be found on the node console if debug messages are enabled
13732
+ * by supplying `-lruntime::revive=debug`.
13733
+ **/
13734
+ | 'CodeRejected'
13735
+ /**
13736
+ * The code blob supplied is larger than [`limits::code::BLOB_BYTES`].
13737
+ **/
13738
+ | 'BlobTooLarge'
13739
+ /**
13740
+ * The static memory consumption of the blob will be larger than
13741
+ * [`limits::code::STATIC_MEMORY_BYTES`].
13742
+ **/
13743
+ | 'StaticMemoryTooLarge'
13744
+ /**
13745
+ * The program contains a basic block that is larger than allowed.
13746
+ **/
13747
+ | 'BasicBlockTooLarge'
13748
+ /**
13749
+ * The program contains an invalid instruction.
13750
+ **/
13751
+ | 'InvalidInstruction'
13752
+ /**
13753
+ * The contract has reached its maximum number of delegate dependencies.
13754
+ **/
13755
+ | 'MaxDelegateDependenciesReached'
13756
+ /**
13757
+ * The dependency was not found in the contract's delegate dependencies.
13758
+ **/
13759
+ | 'DelegateDependencyNotFound'
13760
+ /**
13761
+ * The contract already depends on the given delegate dependency.
13762
+ **/
13763
+ | 'DelegateDependencyAlreadyExists'
13764
+ /**
13765
+ * Can not add a delegate dependency to the code hash of the contract itself.
13766
+ **/
13767
+ | 'CannotAddSelfAsDelegateDependency'
13768
+ /**
13769
+ * Can not add more data to transient storage.
13770
+ **/
13771
+ | 'OutOfTransientStorage'
13772
+ /**
13773
+ * The contract tried to call a syscall which does not exist (at its current api level).
13774
+ **/
13775
+ | 'InvalidSyscall'
13776
+ /**
13777
+ * Invalid storage flags were passed to one of the storage syscalls.
13778
+ **/
13779
+ | 'InvalidStorageFlags'
13780
+ /**
13781
+ * PolkaVM failed during code execution. Probably due to a malformed program.
13782
+ **/
13783
+ | 'ExecutionFailed'
13784
+ /**
13785
+ * Failed to convert a U256 to a Balance.
13786
+ **/
13787
+ | 'BalanceConversionFailed'
13788
+ /**
13789
+ * Failed to convert an EVM balance to a native balance.
13790
+ **/
13791
+ | 'DecimalPrecisionLoss'
13792
+ /**
13793
+ * Immutable data can only be set during deploys and only be read during calls.
13794
+ * Additionally, it is only valid to set the data once and it must not be empty.
13795
+ **/
13796
+ | 'InvalidImmutableAccess'
13797
+ /**
13798
+ * An `AccountID32` account tried to interact with the pallet without having a mapping.
13799
+ *
13800
+ * Call [`Pallet::map_account`] in order to create a mapping for the account.
13801
+ **/
13802
+ | 'AccountUnmapped'
13803
+ /**
13804
+ * Tried to map an account that is already mapped.
13805
+ **/
13806
+ | 'AccountAlreadyMapped'
13807
+ /**
13808
+ * The transaction used to dry-run a contract is invalid.
13809
+ **/
13810
+ | 'InvalidGenericTransaction'
13811
+ /**
13812
+ * The refcount of a code either over or underflowed.
13813
+ **/
13814
+ | 'RefcountOverOrUnderflow'
13815
+ /**
13816
+ * Unsupported precompile address
13817
+ **/
13818
+ | 'UnsupportedPrecompileAddress'
13819
+ /**
13820
+ * Precompile Error
13821
+ **/
13822
+ | 'PrecompileFailure';
13823
+
12871
13824
  export type FrameSystemExtensionsCheckNonZeroSender = {};
12872
13825
 
12873
13826
  export type FrameSystemExtensionsCheckSpecVersion = {};
@@ -13000,6 +13953,112 @@ export type CumulusPrimitivesCoreCollationInfo = {
13000
13953
 
13001
13954
  export type PolkadotParachainPrimitivesPrimitivesValidationCode = Bytes;
13002
13955
 
13956
+ export type PalletRevivePrimitivesContractResult = {
13957
+ gasConsumed: SpWeightsWeightV2Weight;
13958
+ gasRequired: SpWeightsWeightV2Weight;
13959
+ storageDeposit: PalletRevivePrimitivesStorageDeposit;
13960
+ result: Result<PalletRevivePrimitivesExecReturnValue, DispatchError>;
13961
+ };
13962
+
13963
+ export type PalletRevivePrimitivesExecReturnValue = { flags: PalletReviveUapiFlagsReturnFlags; data: Bytes };
13964
+
13965
+ export type PalletReviveUapiFlagsReturnFlags = { bits: number };
13966
+
13967
+ export type PalletRevivePrimitivesStorageDeposit =
13968
+ | { type: 'Refund'; value: bigint }
13969
+ | { type: 'Charge'; value: bigint };
13970
+
13971
+ export type PalletRevivePrimitivesCode = { type: 'Upload'; value: Bytes } | { type: 'Existing'; value: H256 };
13972
+
13973
+ export type PalletRevivePrimitivesContractResultInstantiateReturnValue = {
13974
+ gasConsumed: SpWeightsWeightV2Weight;
13975
+ gasRequired: SpWeightsWeightV2Weight;
13976
+ storageDeposit: PalletRevivePrimitivesStorageDeposit;
13977
+ result: Result<PalletRevivePrimitivesInstantiateReturnValue, DispatchError>;
13978
+ };
13979
+
13980
+ export type PalletRevivePrimitivesInstantiateReturnValue = {
13981
+ result: PalletRevivePrimitivesExecReturnValue;
13982
+ addr: H160;
13983
+ };
13984
+
13985
+ export type PalletReviveEvmApiRpcTypesGenGenericTransaction = {
13986
+ accessList?: Array<PalletReviveEvmApiRpcTypesGenAccessListEntry> | undefined;
13987
+ blobVersionedHashes: Array<H256>;
13988
+ blobs: Array<PalletReviveEvmApiByteBytes>;
13989
+ chainId?: U256 | undefined;
13990
+ from?: H160 | undefined;
13991
+ gas?: U256 | undefined;
13992
+ gasPrice?: U256 | undefined;
13993
+ input: PalletReviveEvmApiRpcTypesGenInputOrData;
13994
+ maxFeePerBlobGas?: U256 | undefined;
13995
+ maxFeePerGas?: U256 | undefined;
13996
+ maxPriorityFeePerGas?: U256 | undefined;
13997
+ nonce?: U256 | undefined;
13998
+ to?: H160 | undefined;
13999
+ rType?: PalletReviveEvmApiByte | undefined;
14000
+ value?: U256 | undefined;
14001
+ };
14002
+
14003
+ export type PalletReviveEvmApiRpcTypesGenAccessListEntry = { address: H160; storageKeys: Array<H256> };
14004
+
14005
+ export type PalletReviveEvmApiByteBytes = Bytes;
14006
+
14007
+ export type PalletReviveEvmApiRpcTypesGenInputOrData = {
14008
+ input?: PalletReviveEvmApiByteBytes | undefined;
14009
+ data?: PalletReviveEvmApiByteBytes | undefined;
14010
+ };
14011
+
14012
+ export type PalletReviveEvmApiByte = number;
14013
+
14014
+ export type PalletRevivePrimitivesEthTransactInfo = {
14015
+ gasRequired: SpWeightsWeightV2Weight;
14016
+ storageDeposit: bigint;
14017
+ ethGas: U256;
14018
+ data: Bytes;
14019
+ };
14020
+
14021
+ export type PalletRevivePrimitivesEthTransactError =
14022
+ | { type: 'Data'; value: Bytes }
14023
+ | { type: 'Message'; value: string };
14024
+
14025
+ export type PalletRevivePrimitivesCodeUploadReturnValue = { codeHash: H256; deposit: bigint };
14026
+
14027
+ export type PalletRevivePrimitivesContractAccessError = 'DoesntExist' | 'KeyDecodingFailed';
14028
+
14029
+ export type PalletReviveEvmApiDebugRpcTypesTracerType = {
14030
+ type: 'CallTracer';
14031
+ value?: PalletReviveEvmApiDebugRpcTypesCallTracerConfig | undefined;
14032
+ };
14033
+
14034
+ export type PalletReviveEvmApiDebugRpcTypesCallTracerConfig = { withLogs: boolean; onlyTopCall: boolean };
14035
+
14036
+ export type PalletReviveEvmApiDebugRpcTypesTrace = { type: 'Call'; value: PalletReviveEvmApiDebugRpcTypesCallTrace };
14037
+
14038
+ export type PalletReviveEvmApiDebugRpcTypesCallTrace = {
14039
+ from: H160;
14040
+ gas: U256;
14041
+ gasUsed: U256;
14042
+ to: H160;
14043
+ input: PalletReviveEvmApiByteBytes;
14044
+ output: PalletReviveEvmApiByteBytes;
14045
+ error?: string | undefined;
14046
+ revertReason?: string | undefined;
14047
+ calls: Array<PalletReviveEvmApiDebugRpcTypesCallTrace>;
14048
+ logs: Array<PalletReviveEvmApiDebugRpcTypesCallLog>;
14049
+ value?: U256 | undefined;
14050
+ callType: PalletReviveEvmApiDebugRpcTypesCallType;
14051
+ };
14052
+
14053
+ export type PalletReviveEvmApiDebugRpcTypesCallLog = {
14054
+ address: H160;
14055
+ topics: Array<H256>;
14056
+ data: PalletReviveEvmApiByteBytes;
14057
+ position: number;
14058
+ };
14059
+
14060
+ export type PalletReviveEvmApiDebugRpcTypesCallType = 'Call' | 'StaticCall' | 'DelegateCall';
14061
+
13003
14062
  export type AssetHubKusamaRuntimeRuntimeError =
13004
14063
  | { pallet: 'System'; palletError: FrameSystemError }
13005
14064
  | { pallet: 'ParachainSystem'; palletError: CumulusPalletParachainSystemError }
@@ -13021,4 +14080,5 @@ export type AssetHubKusamaRuntimeRuntimeError =
13021
14080
  | { pallet: 'NftFractionalization'; palletError: PalletNftFractionalizationError }
13022
14081
  | { pallet: 'PoolAssets'; palletError: PalletAssetsError }
13023
14082
  | { pallet: 'AssetConversion'; palletError: PalletAssetConversionError }
14083
+ | { pallet: 'Revive'; palletError: PalletReviveError }
13024
14084
  | { pallet: 'StateTrieMigration'; palletError: PalletStateTrieMigrationError };