@dedot/chaintypes 0.91.0 → 0.93.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.
@@ -64,6 +64,7 @@ export type AssetHubWestendRuntimeRuntimeEvent =
64
64
  | { pallet: 'CumulusXcm'; palletEvent: CumulusPalletXcmEvent }
65
65
  | { pallet: 'ToRococoXcmRouter'; palletEvent: PalletXcmBridgeHubRouterEvent }
66
66
  | { pallet: 'MessageQueue'; palletEvent: PalletMessageQueueEvent }
67
+ | { pallet: 'SnowbridgeSystemFrontend'; palletEvent: SnowbridgePalletSystemFrontendEvent }
67
68
  | { pallet: 'Utility'; palletEvent: PalletUtilityEvent }
68
69
  | { pallet: 'Multisig'; palletEvent: PalletMultisigEvent }
69
70
  | { pallet: 'Proxy'; palletEvent: PalletProxyEvent }
@@ -113,7 +114,11 @@ export type FrameSystemEvent =
113
114
  /**
114
115
  * An upgrade was authorized.
115
116
  **/
116
- | { name: 'UpgradeAuthorized'; data: { codeHash: H256; checkVersion: boolean } };
117
+ | { name: 'UpgradeAuthorized'; data: { codeHash: H256; checkVersion: boolean } }
118
+ /**
119
+ * An invalid authorized upgrade was rejected while trying to apply it.
120
+ **/
121
+ | { name: 'RejectedInvalidAuthorizedUpgrade'; data: { codeHash: H256; error: DispatchError } };
117
122
 
118
123
  export type FrameSystemDispatchEventInfo = {
119
124
  weight: SpWeightsWeightV2Weight;
@@ -522,6 +527,11 @@ export type PalletSessionEvent =
522
527
  * block number as the type might suggest.
523
528
  **/
524
529
  | { name: 'NewSession'; data: { sessionIndex: number } }
530
+ /**
531
+ * The `NewSession` event in the current block also implies a new validator set to be
532
+ * queued.
533
+ **/
534
+ | { name: 'NewQueued' }
525
535
  /**
526
536
  * Validator has been disabled.
527
537
  **/
@@ -549,7 +559,7 @@ export type PalletXcmEvent =
549
559
  **/
550
560
  | { name: 'Attempted'; data: { outcome: StagingXcmV5TraitsOutcome } }
551
561
  /**
552
- * A XCM message was sent.
562
+ * An XCM message was sent.
553
563
  **/
554
564
  | {
555
565
  name: 'Sent';
@@ -560,6 +570,25 @@ export type PalletXcmEvent =
560
570
  messageId: FixedBytes<32>;
561
571
  };
562
572
  }
573
+ /**
574
+ * An XCM message failed to send.
575
+ **/
576
+ | {
577
+ name: 'SendFailed';
578
+ data: {
579
+ origin: StagingXcmV5Location;
580
+ destination: StagingXcmV5Location;
581
+ error: XcmV3TraitsSendError;
582
+ messageId: FixedBytes<32>;
583
+ };
584
+ }
585
+ /**
586
+ * An XCM message failed to process.
587
+ **/
588
+ | {
589
+ name: 'ProcessXcmError';
590
+ data: { origin: StagingXcmV5Location; error: XcmV5TraitsError; messageId: FixedBytes<32> };
591
+ }
563
592
  /**
564
593
  * Query response received which does not match a registered query. This may be because a
565
594
  * matching query was never registered, it may be because it is a duplicate response, or
@@ -716,7 +745,23 @@ export type PalletXcmEvent =
716
745
  /**
717
746
  * A XCM version migration finished.
718
747
  **/
719
- | { name: 'VersionMigrationFinished'; data: { version: number } };
748
+ | { name: 'VersionMigrationFinished'; data: { version: number } }
749
+ /**
750
+ * An `aliaser` location was authorized by `target` to alias it, authorization valid until
751
+ * `expiry` block number.
752
+ **/
753
+ | {
754
+ name: 'AliasAuthorized';
755
+ data: { aliaser: StagingXcmV5Location; target: StagingXcmV5Location; expiry?: bigint | undefined };
756
+ }
757
+ /**
758
+ * `target` removed alias authorization for `aliaser`.
759
+ **/
760
+ | { name: 'AliasAuthorizationRemoved'; data: { aliaser: StagingXcmV5Location; target: StagingXcmV5Location } }
761
+ /**
762
+ * `target` removed all alias authorizations.
763
+ **/
764
+ | { name: 'AliasesAuthorizationsRemoved'; data: { target: StagingXcmV5Location } };
720
765
 
721
766
  export type StagingXcmV5TraitsOutcome =
722
767
  | { type: 'Complete'; value: { used: SpWeightsWeightV2Weight } }
@@ -947,6 +992,15 @@ export type StagingXcmV5AssetAssetTransferFilter =
947
992
 
948
993
  export type StagingXcmV5Hint = { type: 'AssetClaimer'; value: { location: StagingXcmV5Location } };
949
994
 
995
+ export type XcmV3TraitsSendError =
996
+ | 'NotApplicable'
997
+ | 'Transport'
998
+ | 'Unroutable'
999
+ | 'DestinationUnsupported'
1000
+ | 'ExceedsMaxMessageSize'
1001
+ | 'MissingArgument'
1002
+ | 'Fees';
1003
+
950
1004
  export type XcmVersionedAssets =
951
1005
  | { type: 'V3'; value: XcmV3MultiassetMultiAssets }
952
1006
  | { type: 'V4'; value: StagingXcmV4AssetAssets }
@@ -1256,6 +1310,29 @@ export type FrameSupportMessagesProcessMessageError =
1256
1310
  | { type: 'Yield' }
1257
1311
  | { type: 'StackLimitReached' };
1258
1312
 
1313
+ /**
1314
+ * The `Event` enum of this pallet
1315
+ **/
1316
+ export type SnowbridgePalletSystemFrontendEvent =
1317
+ /**
1318
+ * An XCM was sent
1319
+ **/
1320
+ | {
1321
+ name: 'MessageSent';
1322
+ data: {
1323
+ origin: StagingXcmV5Location;
1324
+ destination: StagingXcmV5Location;
1325
+ message: StagingXcmV5Xcm;
1326
+ messageId: FixedBytes<32>;
1327
+ };
1328
+ }
1329
+ /**
1330
+ * Set OperatingMode
1331
+ **/
1332
+ | { name: 'ExportOperatingModeChanged'; data: { mode: SnowbridgeCoreOperatingModeBasicOperatingMode } };
1333
+
1334
+ export type SnowbridgeCoreOperatingModeBasicOperatingMode = 'Normal' | 'Halted';
1335
+
1259
1336
  /**
1260
1337
  * The `Event` enum of this pallet
1261
1338
  **/
@@ -1338,6 +1415,13 @@ export type PalletMultisigEvent =
1338
1415
  multisig: AccountId32;
1339
1416
  callHash: FixedBytes<32>;
1340
1417
  };
1418
+ }
1419
+ /**
1420
+ * The deposit for a multisig operation has been updated/poked.
1421
+ **/
1422
+ | {
1423
+ name: 'DepositPoked';
1424
+ data: { who: AccountId32; callHash: FixedBytes<32>; oldDeposit: bigint; newDeposit: bigint };
1341
1425
  };
1342
1426
 
1343
1427
  export type PalletMultisigTimepoint = { height: number; index: number };
@@ -1363,6 +1447,18 @@ export type PalletProxyEvent =
1363
1447
  disambiguationIndex: number;
1364
1448
  };
1365
1449
  }
1450
+ /**
1451
+ * A pure proxy was killed by its spawner.
1452
+ **/
1453
+ | {
1454
+ name: 'PureKilled';
1455
+ data: {
1456
+ pure: AccountId32;
1457
+ spawner: AccountId32;
1458
+ proxyType: AssetHubWestendRuntimeProxyType;
1459
+ disambiguationIndex: number;
1460
+ };
1461
+ }
1366
1462
  /**
1367
1463
  * An announcement was placed to make a call in the future.
1368
1464
  **/
@@ -1390,6 +1486,13 @@ export type PalletProxyEvent =
1390
1486
  proxyType: AssetHubWestendRuntimeProxyType;
1391
1487
  delay: number;
1392
1488
  };
1489
+ }
1490
+ /**
1491
+ * A deposit stored for proxies or announcements was poked / updated.
1492
+ **/
1493
+ | {
1494
+ name: 'DepositPoked';
1495
+ data: { who: AccountId32; kind: PalletProxyDepositKind; oldDeposit: bigint; newDeposit: bigint };
1393
1496
  };
1394
1497
 
1395
1498
  export type AssetHubWestendRuntimeProxyType =
@@ -1401,6 +1504,8 @@ export type AssetHubWestendRuntimeProxyType =
1401
1504
  | 'AssetManager'
1402
1505
  | 'Collator';
1403
1506
 
1507
+ export type PalletProxyDepositKind = 'Proxies' | 'Announcements';
1508
+
1404
1509
  /**
1405
1510
  * The `Event` enum of this pallet
1406
1511
  **/
@@ -2924,15 +3029,7 @@ export type CumulusPalletParachainSystemError =
2924
3029
  /**
2925
3030
  * No validation function upgrade is currently scheduled.
2926
3031
  **/
2927
- | 'NotScheduled'
2928
- /**
2929
- * No code upgrade has been authorized.
2930
- **/
2931
- | 'NothingAuthorized'
2932
- /**
2933
- * The given code upgrade has not been authorized.
2934
- **/
2935
- | 'Unauthorized';
3032
+ | 'NotScheduled';
2936
3033
 
2937
3034
  /**
2938
3035
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -3097,11 +3194,14 @@ export type PalletBalancesReserveData = { id: FixedBytes<8>; amount: bigint };
3097
3194
  export type FrameSupportTokensMiscIdAmount = { id: AssetHubWestendRuntimeRuntimeHoldReason; amount: bigint };
3098
3195
 
3099
3196
  export type AssetHubWestendRuntimeRuntimeHoldReason =
3197
+ | { type: 'PolkadotXcm'; value: PalletXcmHoldReason }
3100
3198
  | { type: 'NftFractionalization'; value: PalletNftFractionalizationHoldReason }
3101
3199
  | { type: 'Revive'; value: PalletReviveHoldReason }
3102
3200
  | { type: 'AssetRewards'; value: PalletAssetRewardsHoldReason }
3103
3201
  | { type: 'StateTrieMigration'; value: PalletStateTrieMigrationHoldReason };
3104
3202
 
3203
+ export type PalletXcmHoldReason = 'AuthorizeAlias';
3204
+
3105
3205
  export type PalletNftFractionalizationHoldReason = 'Fractionalized';
3106
3206
 
3107
3207
  export type PalletReviveHoldReason = 'CodeUploadDepositReserve' | 'StorageDepositReserve' | 'AddressMapping';
@@ -3931,6 +4031,20 @@ export type PalletXcmRemoteLockedFungibleRecord = {
3931
4031
  consumers: Array<[[], bigint]>;
3932
4032
  };
3933
4033
 
4034
+ export type PalletXcmAuthorizedAliasesEntry = {
4035
+ aliasers: Array<XcmRuntimeApisAuthorizedAliasesOriginAliaser>;
4036
+ ticket: FrameSupportTokensFungibleHoldConsideration;
4037
+ };
4038
+
4039
+ export type FrameSupportTokensFungibleHoldConsideration = bigint;
4040
+
4041
+ export type PalletXcmMaxAuthorizedAliases = {};
4042
+
4043
+ export type XcmRuntimeApisAuthorizedAliasesOriginAliaser = {
4044
+ location: XcmVersionedLocation;
4045
+ expiry?: bigint | undefined;
4046
+ };
4047
+
3934
4048
  /**
3935
4049
  * Contains a variant per dispatchable extrinsic that this pallet has.
3936
4050
  **/
@@ -4244,7 +4358,31 @@ export type PalletXcmCall =
4244
4358
  customXcmOnDest: XcmVersionedXcm;
4245
4359
  weightLimit: XcmV3WeightLimit;
4246
4360
  };
4247
- };
4361
+ }
4362
+ /**
4363
+ * Authorize another `aliaser` location to alias into the local `origin` making this call.
4364
+ * The `aliaser` is only authorized until the provided `expiry` block number.
4365
+ * The call can also be used for a previously authorized alias in order to update its
4366
+ * `expiry` block number.
4367
+ *
4368
+ * Usually useful to allow your local account to be aliased into from a remote location
4369
+ * also under your control (like your account on another chain).
4370
+ *
4371
+ * WARNING: make sure the caller `origin` (you) trusts the `aliaser` location to act in
4372
+ * their/your name. Once authorized using this call, the `aliaser` can freely impersonate
4373
+ * `origin` in XCM programs executed on the local chain.
4374
+ **/
4375
+ | { name: 'AddAuthorizedAlias'; params: { aliaser: XcmVersionedLocation; expires?: bigint | undefined } }
4376
+ /**
4377
+ * Remove a previously authorized `aliaser` from the list of locations that can alias into
4378
+ * the local `origin` making this call.
4379
+ **/
4380
+ | { name: 'RemoveAuthorizedAlias'; params: { aliaser: XcmVersionedLocation } }
4381
+ /**
4382
+ * Remove all previously authorized `aliaser`s that can alias into the local `origin`
4383
+ * making this call.
4384
+ **/
4385
+ | { name: 'RemoveAllAuthorizedAliases' };
4248
4386
 
4249
4387
  export type PalletXcmCallLike =
4250
4388
  | { name: 'Send'; params: { dest: XcmVersionedLocation; message: XcmVersionedXcm } }
@@ -4556,7 +4694,31 @@ export type PalletXcmCallLike =
4556
4694
  customXcmOnDest: XcmVersionedXcm;
4557
4695
  weightLimit: XcmV3WeightLimit;
4558
4696
  };
4559
- };
4697
+ }
4698
+ /**
4699
+ * Authorize another `aliaser` location to alias into the local `origin` making this call.
4700
+ * The `aliaser` is only authorized until the provided `expiry` block number.
4701
+ * The call can also be used for a previously authorized alias in order to update its
4702
+ * `expiry` block number.
4703
+ *
4704
+ * Usually useful to allow your local account to be aliased into from a remote location
4705
+ * also under your control (like your account on another chain).
4706
+ *
4707
+ * WARNING: make sure the caller `origin` (you) trusts the `aliaser` location to act in
4708
+ * their/your name. Once authorized using this call, the `aliaser` can freely impersonate
4709
+ * `origin` in XCM programs executed on the local chain.
4710
+ **/
4711
+ | { name: 'AddAuthorizedAlias'; params: { aliaser: XcmVersionedLocation; expires?: bigint | undefined } }
4712
+ /**
4713
+ * Remove a previously authorized `aliaser` from the list of locations that can alias into
4714
+ * the local `origin` making this call.
4715
+ **/
4716
+ | { name: 'RemoveAuthorizedAlias'; params: { aliaser: XcmVersionedLocation } }
4717
+ /**
4718
+ * Remove all previously authorized `aliaser`s that can alias into the local `origin`
4719
+ * making this call.
4720
+ **/
4721
+ | { name: 'RemoveAllAuthorizedAliases' };
4560
4722
 
4561
4723
  export type XcmVersionedXcm =
4562
4724
  | { type: 'V3'; value: XcmV3Xcm }
@@ -4903,7 +5065,19 @@ export type PalletXcmError =
4903
5065
  /**
4904
5066
  * Local XCM execution incomplete.
4905
5067
  **/
4906
- | 'LocalExecutionIncomplete';
5068
+ | 'LocalExecutionIncomplete'
5069
+ /**
5070
+ * Too many locations authorized to alias origin.
5071
+ **/
5072
+ | 'TooManyAuthorizedAliases'
5073
+ /**
5074
+ * Expiry block number is in the past.
5075
+ **/
5076
+ | 'ExpiresInPast'
5077
+ /**
5078
+ * The alias to remove authorization for was not found.
5079
+ **/
5080
+ | 'AliasNotFound';
4907
5081
 
4908
5082
  /**
4909
5083
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -5062,6 +5236,77 @@ export type PalletMessageQueueError =
5062
5236
  **/
5063
5237
  | 'RecursiveDisallowed';
5064
5238
 
5239
+ /**
5240
+ * Contains a variant per dispatchable extrinsic that this pallet has.
5241
+ **/
5242
+ export type SnowbridgePalletSystemFrontendCall =
5243
+ /**
5244
+ * Set the operating mode for exporting messages to Ethereum.
5245
+ **/
5246
+ | { name: 'SetOperatingMode'; params: { mode: SnowbridgeCoreOperatingModeBasicOperatingMode } }
5247
+ /**
5248
+ * Initiates the registration for a Polkadot-native token as a wrapped ERC20 token on
5249
+ * Ethereum.
5250
+ * - `asset_id`: Location of the asset
5251
+ * - `metadata`: Metadata to include in the instantiated ERC20 contract on Ethereum
5252
+ *
5253
+ * All origins are allowed, however `asset_id` must be a location nested within the origin
5254
+ * consensus system.
5255
+ **/
5256
+ | { name: 'RegisterToken'; params: { assetId: XcmVersionedLocation; metadata: SnowbridgeCoreAssetMetadata } };
5257
+
5258
+ export type SnowbridgePalletSystemFrontendCallLike =
5259
+ /**
5260
+ * Set the operating mode for exporting messages to Ethereum.
5261
+ **/
5262
+ | { name: 'SetOperatingMode'; params: { mode: SnowbridgeCoreOperatingModeBasicOperatingMode } }
5263
+ /**
5264
+ * Initiates the registration for a Polkadot-native token as a wrapped ERC20 token on
5265
+ * Ethereum.
5266
+ * - `asset_id`: Location of the asset
5267
+ * - `metadata`: Metadata to include in the instantiated ERC20 contract on Ethereum
5268
+ *
5269
+ * All origins are allowed, however `asset_id` must be a location nested within the origin
5270
+ * consensus system.
5271
+ **/
5272
+ | { name: 'RegisterToken'; params: { assetId: XcmVersionedLocation; metadata: SnowbridgeCoreAssetMetadata } };
5273
+
5274
+ export type SnowbridgeCoreAssetMetadata = { name: Bytes; symbol: Bytes; decimals: number };
5275
+
5276
+ /**
5277
+ * The `Error` enum of this pallet.
5278
+ **/
5279
+ export type SnowbridgePalletSystemFrontendError =
5280
+ /**
5281
+ * Convert versioned location failure
5282
+ **/
5283
+ | 'UnsupportedLocationVersion'
5284
+ /**
5285
+ * Check location failure, should start from the dispatch origin as owner
5286
+ **/
5287
+ | 'InvalidAssetOwner'
5288
+ /**
5289
+ * Send xcm message failure
5290
+ **/
5291
+ | 'SendFailure'
5292
+ /**
5293
+ * Withdraw fee asset failure
5294
+ **/
5295
+ | 'FeesNotMet'
5296
+ /**
5297
+ * Convert to reanchored location failure
5298
+ **/
5299
+ | 'LocationConversionFailed'
5300
+ /**
5301
+ * Message export is halted
5302
+ **/
5303
+ | 'Halted'
5304
+ /**
5305
+ * The desired destination was unreachable, generally because there is a no way of routing
5306
+ * to it.
5307
+ **/
5308
+ | 'Unreachable';
5309
+
5065
5310
  /**
5066
5311
  * Contains a variant per dispatchable extrinsic that this pallet has.
5067
5312
  **/
@@ -5340,6 +5585,7 @@ export type AssetHubWestendRuntimeRuntimeCall =
5340
5585
  | { pallet: 'CumulusXcm'; palletCall: CumulusPalletXcmCall }
5341
5586
  | { pallet: 'ToRococoXcmRouter'; palletCall: PalletXcmBridgeHubRouterCall }
5342
5587
  | { pallet: 'MessageQueue'; palletCall: PalletMessageQueueCall }
5588
+ | { pallet: 'SnowbridgeSystemFrontend'; palletCall: SnowbridgePalletSystemFrontendCall }
5343
5589
  | { pallet: 'Utility'; palletCall: PalletUtilityCall }
5344
5590
  | { pallet: 'Multisig'; palletCall: PalletMultisigCall }
5345
5591
  | { pallet: 'Proxy'; palletCall: PalletProxyCall }
@@ -5369,6 +5615,7 @@ export type AssetHubWestendRuntimeRuntimeCallLike =
5369
5615
  | { pallet: 'CumulusXcm'; palletCall: CumulusPalletXcmCallLike }
5370
5616
  | { pallet: 'ToRococoXcmRouter'; palletCall: PalletXcmBridgeHubRouterCallLike }
5371
5617
  | { pallet: 'MessageQueue'; palletCall: PalletMessageQueueCallLike }
5618
+ | { pallet: 'SnowbridgeSystemFrontend'; palletCall: SnowbridgePalletSystemFrontendCallLike }
5372
5619
  | { pallet: 'Utility'; palletCall: PalletUtilityCallLike }
5373
5620
  | { pallet: 'Multisig'; palletCall: PalletMultisigCallLike }
5374
5621
  | { pallet: 'Proxy'; palletCall: PalletProxyCallLike }
@@ -5530,6 +5777,25 @@ export type PalletMultisigCall =
5530
5777
  timepoint: PalletMultisigTimepoint;
5531
5778
  callHash: FixedBytes<32>;
5532
5779
  };
5780
+ }
5781
+ /**
5782
+ * Poke the deposit reserved for an existing multisig operation.
5783
+ *
5784
+ * The dispatch origin for this call must be _Signed_ and must be the original depositor of
5785
+ * the multisig operation.
5786
+ *
5787
+ * The transaction fee is waived if the deposit amount has changed.
5788
+ *
5789
+ * - `threshold`: The total number of approvals needed for this multisig.
5790
+ * - `other_signatories`: The accounts (other than the sender) who are part of the
5791
+ * multisig.
5792
+ * - `call_hash`: The hash of the call this deposit is reserved for.
5793
+ *
5794
+ * Emits `DepositPoked` if successful.
5795
+ **/
5796
+ | {
5797
+ name: 'PokeDeposit';
5798
+ params: { threshold: number; otherSignatories: Array<AccountId32>; callHash: FixedBytes<32> };
5533
5799
  };
5534
5800
 
5535
5801
  export type PalletMultisigCallLike =
@@ -5675,6 +5941,25 @@ export type PalletMultisigCallLike =
5675
5941
  timepoint: PalletMultisigTimepoint;
5676
5942
  callHash: FixedBytes<32>;
5677
5943
  };
5944
+ }
5945
+ /**
5946
+ * Poke the deposit reserved for an existing multisig operation.
5947
+ *
5948
+ * The dispatch origin for this call must be _Signed_ and must be the original depositor of
5949
+ * the multisig operation.
5950
+ *
5951
+ * The transaction fee is waived if the deposit amount has changed.
5952
+ *
5953
+ * - `threshold`: The total number of approvals needed for this multisig.
5954
+ * - `other_signatories`: The accounts (other than the sender) who are part of the
5955
+ * multisig.
5956
+ * - `call_hash`: The hash of the call this deposit is reserved for.
5957
+ *
5958
+ * Emits `DepositPoked` if successful.
5959
+ **/
5960
+ | {
5961
+ name: 'PokeDeposit';
5962
+ params: { threshold: number; otherSignatories: Array<AccountId32Like>; callHash: FixedBytes<32> };
5678
5963
  };
5679
5964
 
5680
5965
  /**
@@ -5765,7 +6050,7 @@ export type PalletProxyCall =
5765
6050
  * `pure` with corresponding parameters.
5766
6051
  *
5767
6052
  * - `spawner`: The account that originally called `pure` to create this account.
5768
- * - `index`: The disambiguation index originally passed to `pure`. Probably `0`.
6053
+ * - `index`: The disambiguation index originally passed to `create_pure`. Probably `0`.
5769
6054
  * - `proxy_type`: The proxy type originally passed to `pure`.
5770
6055
  * - `height`: The height of the chain when the call to `pure` was processed.
5771
6056
  * - `ext_index`: The extrinsic index in which the call to `pure` was processed.
@@ -5848,7 +6133,18 @@ export type PalletProxyCall =
5848
6133
  forceProxyType?: AssetHubWestendRuntimeProxyType | undefined;
5849
6134
  call: AssetHubWestendRuntimeRuntimeCall;
5850
6135
  };
5851
- };
6136
+ }
6137
+ /**
6138
+ * Poke / Adjust deposits made for proxies and announcements based on current values.
6139
+ * This can be used by accounts to possibly lower their locked amount.
6140
+ *
6141
+ * The dispatch origin for this call must be _Signed_.
6142
+ *
6143
+ * The transaction fee is waived if the deposit amount has changed.
6144
+ *
6145
+ * Emits `DepositPoked` if successful.
6146
+ **/
6147
+ | { name: 'PokeDeposit' };
5852
6148
 
5853
6149
  export type PalletProxyCallLike =
5854
6150
  /**
@@ -5938,7 +6234,7 @@ export type PalletProxyCallLike =
5938
6234
  * `pure` with corresponding parameters.
5939
6235
  *
5940
6236
  * - `spawner`: The account that originally called `pure` to create this account.
5941
- * - `index`: The disambiguation index originally passed to `pure`. Probably `0`.
6237
+ * - `index`: The disambiguation index originally passed to `create_pure`. Probably `0`.
5942
6238
  * - `proxy_type`: The proxy type originally passed to `pure`.
5943
6239
  * - `height`: The height of the chain when the call to `pure` was processed.
5944
6240
  * - `ext_index`: The extrinsic index in which the call to `pure` was processed.
@@ -6021,7 +6317,18 @@ export type PalletProxyCallLike =
6021
6317
  forceProxyType?: AssetHubWestendRuntimeProxyType | undefined;
6022
6318
  call: AssetHubWestendRuntimeRuntimeCallLike;
6023
6319
  };
6024
- };
6320
+ }
6321
+ /**
6322
+ * Poke / Adjust deposits made for proxies and announcements based on current values.
6323
+ * This can be used by accounts to possibly lower their locked amount.
6324
+ *
6325
+ * The dispatch origin for this call must be _Signed_.
6326
+ *
6327
+ * The transaction fee is waived if the deposit amount has changed.
6328
+ *
6329
+ * Emits `DepositPoked` if successful.
6330
+ **/
6331
+ | { name: 'PokeDeposit' };
6025
6332
 
6026
6333
  /**
6027
6334
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -6081,6 +6388,9 @@ export type PalletAssetsCall =
6081
6388
  *
6082
6389
  * - `id`: The identifier of the asset to be destroyed. This must identify an existing
6083
6390
  * asset.
6391
+ *
6392
+ * It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
6393
+ * an account contains holds or freezes in place.
6084
6394
  **/
6085
6395
  | { name: 'StartDestroy'; params: { id: number } }
6086
6396
  /**
@@ -6505,6 +6815,9 @@ export type PalletAssetsCall =
6505
6815
  * refunded.
6506
6816
  * - `allow_burn`: If `true` then assets may be destroyed in order to complete the refund.
6507
6817
  *
6818
+ * It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
6819
+ * the asset account contains holds or freezes in place.
6820
+ *
6508
6821
  * Emits `Refunded` event when successful.
6509
6822
  **/
6510
6823
  | { name: 'Refund'; params: { id: number; allowBurn: boolean } }
@@ -6546,6 +6859,9 @@ export type PalletAssetsCall =
6546
6859
  * - `id`: The identifier of the asset for the account holding a deposit.
6547
6860
  * - `who`: The account to refund.
6548
6861
  *
6862
+ * It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
6863
+ * the asset account contains holds or freezes in place.
6864
+ *
6549
6865
  * Emits `Refunded` event when successful.
6550
6866
  **/
6551
6867
  | { name: 'RefundOther'; params: { id: number; who: MultiAddress } }
@@ -6637,6 +6953,9 @@ export type PalletAssetsCallLike =
6637
6953
  *
6638
6954
  * - `id`: The identifier of the asset to be destroyed. This must identify an existing
6639
6955
  * asset.
6956
+ *
6957
+ * It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
6958
+ * an account contains holds or freezes in place.
6640
6959
  **/
6641
6960
  | { name: 'StartDestroy'; params: { id: number } }
6642
6961
  /**
@@ -7067,6 +7386,9 @@ export type PalletAssetsCallLike =
7067
7386
  * refunded.
7068
7387
  * - `allow_burn`: If `true` then assets may be destroyed in order to complete the refund.
7069
7388
  *
7389
+ * It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
7390
+ * the asset account contains holds or freezes in place.
7391
+ *
7070
7392
  * Emits `Refunded` event when successful.
7071
7393
  **/
7072
7394
  | { name: 'Refund'; params: { id: number; allowBurn: boolean } }
@@ -7108,6 +7430,9 @@ export type PalletAssetsCallLike =
7108
7430
  * - `id`: The identifier of the asset for the account holding a deposit.
7109
7431
  * - `who`: The account to refund.
7110
7432
  *
7433
+ * It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
7434
+ * the asset account contains holds or freezes in place.
7435
+ *
7111
7436
  * Emits `Refunded` event when successful.
7112
7437
  **/
7113
7438
  | { name: 'RefundOther'; params: { id: number; who: MultiAddressLike } }
@@ -9606,6 +9931,9 @@ export type PalletAssetsCall002 =
9606
9931
  *
9607
9932
  * - `id`: The identifier of the asset to be destroyed. This must identify an existing
9608
9933
  * asset.
9934
+ *
9935
+ * It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
9936
+ * an account contains holds or freezes in place.
9609
9937
  **/
9610
9938
  | { name: 'StartDestroy'; params: { id: StagingXcmV5Location } }
9611
9939
  /**
@@ -10039,6 +10367,9 @@ export type PalletAssetsCall002 =
10039
10367
  * refunded.
10040
10368
  * - `allow_burn`: If `true` then assets may be destroyed in order to complete the refund.
10041
10369
  *
10370
+ * It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
10371
+ * the asset account contains holds or freezes in place.
10372
+ *
10042
10373
  * Emits `Refunded` event when successful.
10043
10374
  **/
10044
10375
  | { name: 'Refund'; params: { id: StagingXcmV5Location; allowBurn: boolean } }
@@ -10080,6 +10411,9 @@ export type PalletAssetsCall002 =
10080
10411
  * - `id`: The identifier of the asset for the account holding a deposit.
10081
10412
  * - `who`: The account to refund.
10082
10413
  *
10414
+ * It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
10415
+ * the asset account contains holds or freezes in place.
10416
+ *
10083
10417
  * Emits `Refunded` event when successful.
10084
10418
  **/
10085
10419
  | { name: 'RefundOther'; params: { id: StagingXcmV5Location; who: MultiAddress } }
@@ -10174,6 +10508,9 @@ export type PalletAssetsCallLike002 =
10174
10508
  *
10175
10509
  * - `id`: The identifier of the asset to be destroyed. This must identify an existing
10176
10510
  * asset.
10511
+ *
10512
+ * It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
10513
+ * an account contains holds or freezes in place.
10177
10514
  **/
10178
10515
  | { name: 'StartDestroy'; params: { id: StagingXcmV5Location } }
10179
10516
  /**
@@ -10615,6 +10952,9 @@ export type PalletAssetsCallLike002 =
10615
10952
  * refunded.
10616
10953
  * - `allow_burn`: If `true` then assets may be destroyed in order to complete the refund.
10617
10954
  *
10955
+ * It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
10956
+ * the asset account contains holds or freezes in place.
10957
+ *
10618
10958
  * Emits `Refunded` event when successful.
10619
10959
  **/
10620
10960
  | { name: 'Refund'; params: { id: StagingXcmV5Location; allowBurn: boolean } }
@@ -10656,6 +10996,9 @@ export type PalletAssetsCallLike002 =
10656
10996
  * - `id`: The identifier of the asset for the account holding a deposit.
10657
10997
  * - `who`: The account to refund.
10658
10998
  *
10999
+ * It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
11000
+ * the asset account contains holds or freezes in place.
11001
+ *
10659
11002
  * Emits `Refunded` event when successful.
10660
11003
  **/
10661
11004
  | { name: 'RefundOther'; params: { id: StagingXcmV5Location; who: MultiAddressLike } }
@@ -10850,6 +11193,9 @@ export type PalletAssetsCall003 =
10850
11193
  *
10851
11194
  * - `id`: The identifier of the asset to be destroyed. This must identify an existing
10852
11195
  * asset.
11196
+ *
11197
+ * It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
11198
+ * an account contains holds or freezes in place.
10853
11199
  **/
10854
11200
  | { name: 'StartDestroy'; params: { id: number } }
10855
11201
  /**
@@ -11274,6 +11620,9 @@ export type PalletAssetsCall003 =
11274
11620
  * refunded.
11275
11621
  * - `allow_burn`: If `true` then assets may be destroyed in order to complete the refund.
11276
11622
  *
11623
+ * It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
11624
+ * the asset account contains holds or freezes in place.
11625
+ *
11277
11626
  * Emits `Refunded` event when successful.
11278
11627
  **/
11279
11628
  | { name: 'Refund'; params: { id: number; allowBurn: boolean } }
@@ -11315,6 +11664,9 @@ export type PalletAssetsCall003 =
11315
11664
  * - `id`: The identifier of the asset for the account holding a deposit.
11316
11665
  * - `who`: The account to refund.
11317
11666
  *
11667
+ * It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
11668
+ * the asset account contains holds or freezes in place.
11669
+ *
11318
11670
  * Emits `Refunded` event when successful.
11319
11671
  **/
11320
11672
  | { name: 'RefundOther'; params: { id: number; who: MultiAddress } }
@@ -11406,6 +11758,9 @@ export type PalletAssetsCallLike003 =
11406
11758
  *
11407
11759
  * - `id`: The identifier of the asset to be destroyed. This must identify an existing
11408
11760
  * asset.
11761
+ *
11762
+ * It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
11763
+ * an account contains holds or freezes in place.
11409
11764
  **/
11410
11765
  | { name: 'StartDestroy'; params: { id: number } }
11411
11766
  /**
@@ -11836,6 +12191,9 @@ export type PalletAssetsCallLike003 =
11836
12191
  * refunded.
11837
12192
  * - `allow_burn`: If `true` then assets may be destroyed in order to complete the refund.
11838
12193
  *
12194
+ * It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
12195
+ * the asset account contains holds or freezes in place.
12196
+ *
11839
12197
  * Emits `Refunded` event when successful.
11840
12198
  **/
11841
12199
  | { name: 'Refund'; params: { id: number; allowBurn: boolean } }
@@ -11877,6 +12235,9 @@ export type PalletAssetsCallLike003 =
11877
12235
  * - `id`: The identifier of the asset for the account holding a deposit.
11878
12236
  * - `who`: The account to refund.
11879
12237
  *
12238
+ * It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
12239
+ * the asset account contains holds or freezes in place.
12240
+ *
11880
12241
  * Emits `Refunded` event when successful.
11881
12242
  **/
11882
12243
  | { name: 'RefundOther'; params: { id: number; who: MultiAddressLike } }
@@ -12894,11 +13255,12 @@ export type PalletMultisigError =
12894
13255
  **/
12895
13256
  | 'SenderInSignatories'
12896
13257
  /**
12897
- * Multisig operation not found when attempting to cancel.
13258
+ * Multisig operation not found in storage.
12898
13259
  **/
12899
13260
  | 'NotFound'
12900
13261
  /**
12901
- * Only the account that originally created the multisig is able to cancel it.
13262
+ * Only the account that originally created the multisig is able to cancel it or update
13263
+ * its deposits.
12902
13264
  **/
12903
13265
  | 'NotOwner'
12904
13266
  /**
@@ -13100,7 +13462,15 @@ export type PalletAssetsError =
13100
13462
  /**
13101
13463
  * The asset ID must be equal to the [`NextAssetId`].
13102
13464
  **/
13103
- | 'BadAssetId';
13465
+ | 'BadAssetId'
13466
+ /**
13467
+ * The asset cannot be destroyed because some accounts for this asset contain freezes.
13468
+ **/
13469
+ | 'ContainsFreezes'
13470
+ /**
13471
+ * The asset cannot be destroyed because some accounts for this asset contain holds.
13472
+ **/
13473
+ | 'ContainsHolds';
13104
13474
 
13105
13475
  export type PalletUniquesCollectionDetails = {
13106
13476
  owner: AccountId32;
@@ -13201,7 +13571,23 @@ export type PalletUniquesError =
13201
13571
  /**
13202
13572
  * The provided bid is too low.
13203
13573
  **/
13204
- | 'BidTooLow';
13574
+ | 'BidTooLow'
13575
+ /**
13576
+ * No metadata is found.
13577
+ **/
13578
+ | 'NoMetadata'
13579
+ /**
13580
+ * Wrong metadata key/value bytes supplied.
13581
+ **/
13582
+ | 'WrongMetadata'
13583
+ /**
13584
+ * An attribute is not found.
13585
+ **/
13586
+ | 'AttributeNotFound'
13587
+ /**
13588
+ * Wrong attribute key/value bytes supplied.
13589
+ **/
13590
+ | 'WrongAttribute';
13205
13591
 
13206
13592
  export type PalletNftsCollectionDetails = {
13207
13593
  owner: AccountId32;
@@ -13655,12 +14041,6 @@ export type PalletReviveError =
13655
14041
  * The amount of topics passed to `seal_deposit_events` exceeds the limit.
13656
14042
  **/
13657
14043
  | 'TooManyTopics'
13658
- /**
13659
- * The chain does not provide a chain extension. Calling the chain extension results
13660
- * in this error. Note that this usually shouldn't happen as deploying such contracts
13661
- * is rejected.
13662
- **/
13663
- | 'NoChainExtension'
13664
14044
  /**
13665
14045
  * Failed to decode the XCM program.
13666
14046
  **/
@@ -13796,11 +14176,7 @@ export type PalletReviveError =
13796
14176
  /**
13797
14177
  * Unsupported precompile address
13798
14178
  **/
13799
- | 'UnsupportedPrecompileAddress'
13800
- /**
13801
- * Precompile Error
13802
- **/
13803
- | 'PrecompileFailure';
14179
+ | 'UnsupportedPrecompileAddress';
13804
14180
 
13805
14181
  export type PalletAssetRewardsPoolStakerInfo = { amount: bigint; rewards: bigint; rewardPerTokenPaid: bigint };
13806
14182
 
@@ -13816,8 +14192,6 @@ export type PalletAssetRewardsPoolInfo = {
13816
14192
  account: AccountId32;
13817
14193
  };
13818
14194
 
13819
- export type FrameSupportTokensFungibleHoldConsideration = bigint;
13820
-
13821
14195
  /**
13822
14196
  * The `Error` enum of this pallet.
13823
14197
  **/
@@ -14015,6 +14389,15 @@ export type XcmRuntimeApisDryRunXcmDryRunEffects = {
14015
14389
 
14016
14390
  export type XcmRuntimeApisConversionsError = 'Unsupported' | 'VersionedConversionFailed';
14017
14391
 
14392
+ export type XcmVersionedAsset =
14393
+ | { type: 'V3'; value: XcmV3MultiassetMultiAsset }
14394
+ | { type: 'V4'; value: StagingXcmV4Asset }
14395
+ | { type: 'V5'; value: StagingXcmV5Asset };
14396
+
14397
+ export type XcmRuntimeApisTrustedQueryError = 'VersionedAssetConversionFailed' | 'VersionedLocationConversionFailed';
14398
+
14399
+ export type XcmRuntimeApisAuthorizedAliasesError = 'LocationVersionConversionFailed';
14400
+
14018
14401
  export type AssetsCommonRuntimeApiFungiblesAccessError = 'AssetIdConversionFailed' | 'AmountToBalanceConversionFailed';
14019
14402
 
14020
14403
  export type CumulusPrimitivesCoreCollationInfo = {
@@ -14032,13 +14415,6 @@ export type PolkadotPrimitivesVstagingCoreSelector = number;
14032
14415
 
14033
14416
  export type PolkadotPrimitivesVstagingClaimQueueOffset = number;
14034
14417
 
14035
- export type XcmVersionedAsset =
14036
- | { type: 'V3'; value: XcmV3MultiassetMultiAsset }
14037
- | { type: 'V4'; value: StagingXcmV4Asset }
14038
- | { type: 'V5'; value: StagingXcmV5Asset };
14039
-
14040
- export type XcmRuntimeApisTrustedQueryError = 'VersionedAssetConversionFailed' | 'VersionedLocationConversionFailed';
14041
-
14042
14418
  export type PalletRevivePrimitivesContractResult = {
14043
14419
  gasConsumed: SpWeightsWeightV2Weight;
14044
14420
  gasRequired: SpWeightsWeightV2Weight;
@@ -14112,7 +14488,19 @@ export type PalletRevivePrimitivesCodeUploadReturnValue = { codeHash: H256; depo
14112
14488
 
14113
14489
  export type PalletRevivePrimitivesContractAccessError = 'DoesntExist' | 'KeyDecodingFailed';
14114
14490
 
14115
- export type PalletReviveEvmApiDebugRpcTypesTracerConfig = { type: 'CallTracer'; value: { withLogs: boolean } };
14491
+ export type PalletReviveEvmApiDebugRpcTypesTracerConfig = {
14492
+ config: PalletReviveEvmApiDebugRpcTypesTracerType;
14493
+ timeout?: Duration | undefined;
14494
+ };
14495
+
14496
+ export type PalletReviveEvmApiDebugRpcTypesTracerType = {
14497
+ type: 'CallTracer';
14498
+ value?: PalletReviveEvmApiDebugRpcTypesCallTracerConfig | undefined;
14499
+ };
14500
+
14501
+ export type PalletReviveEvmApiDebugRpcTypesCallTracerConfig = { withLogs: boolean; onlyTopCall: boolean };
14502
+
14503
+ export type Duration = [bigint, number];
14116
14504
 
14117
14505
  export type PalletReviveEvmApiDebugRpcTypesCallTrace = {
14118
14506
  from: H160;
@@ -14148,6 +14536,7 @@ export type AssetHubWestendRuntimeRuntimeError =
14148
14536
  | { pallet: 'XcmpQueue'; palletError: CumulusPalletXcmpQueueError }
14149
14537
  | { pallet: 'PolkadotXcm'; palletError: PalletXcmError }
14150
14538
  | { pallet: 'MessageQueue'; palletError: PalletMessageQueueError }
14539
+ | { pallet: 'SnowbridgeSystemFrontend'; palletError: SnowbridgePalletSystemFrontendError }
14151
14540
  | { pallet: 'Utility'; palletError: PalletUtilityError }
14152
14541
  | { pallet: 'Multisig'; palletError: PalletMultisigError }
14153
14542
  | { pallet: 'Proxy'; palletError: PalletProxyError }