@dedot/chaintypes 0.221.0 → 0.226.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.
@@ -3,7 +3,6 @@
3
3
  import type {
4
4
  Phase,
5
5
  H256,
6
- DispatchInfo,
7
6
  DispatchError,
8
7
  AccountId32,
9
8
  Result,
@@ -110,15 +109,12 @@ export type HydradxRuntimeRuntimeEvent =
110
109
  | { pallet: 'CumulusXcm'; palletEvent: CumulusPalletXcmEvent }
111
110
  | { pallet: 'XcmpQueue'; palletEvent: CumulusPalletXcmpQueueEvent }
112
111
  | { pallet: 'MessageQueue'; palletEvent: PalletMessageQueueEvent }
112
+ | { pallet: 'MultiBlockMigrations'; palletEvent: PalletMigrationsEvent }
113
113
  | { pallet: 'OrmlXcm'; palletEvent: OrmlXcmModuleEvent }
114
114
  | { pallet: 'XTokens'; palletEvent: OrmlXtokensModuleEvent }
115
115
  | { pallet: 'UnknownTokens'; palletEvent: OrmlUnknownTokensModuleEvent }
116
116
  | { pallet: 'CollatorSelection'; palletEvent: PalletCollatorSelectionEvent }
117
117
  | { pallet: 'Session'; palletEvent: PalletSessionEvent }
118
- | { pallet: 'Ismp'; palletEvent: PalletIsmpEvent }
119
- | { pallet: 'IsmpParachain'; palletEvent: IsmpParachainEvent }
120
- | { pallet: 'Hyperbridge'; palletEvent: PalletHyperbridgeEvent }
121
- | { pallet: 'TokenGateway'; palletEvent: PalletTokenGatewayEvent }
122
118
  | { pallet: 'EmaOracle'; palletEvent: PalletEmaOracleEvent }
123
119
  | { pallet: 'Broadcast'; palletEvent: PalletBroadcastEvent };
124
120
 
@@ -129,11 +125,11 @@ export type FrameSystemEvent =
129
125
  /**
130
126
  * An extrinsic completed successfully.
131
127
  **/
132
- | { name: 'ExtrinsicSuccess'; data: { dispatchInfo: DispatchInfo } }
128
+ | { name: 'ExtrinsicSuccess'; data: { dispatchInfo: FrameSystemDispatchEventInfo } }
133
129
  /**
134
130
  * An extrinsic failed.
135
131
  **/
136
- | { name: 'ExtrinsicFailed'; data: { dispatchError: DispatchError; dispatchInfo: DispatchInfo } }
132
+ | { name: 'ExtrinsicFailed'; data: { dispatchError: DispatchError; dispatchInfo: FrameSystemDispatchEventInfo } }
137
133
  /**
138
134
  * `:code` was updated.
139
135
  **/
@@ -153,12 +149,38 @@ export type FrameSystemEvent =
153
149
  /**
154
150
  * An upgrade was authorized.
155
151
  **/
156
- | { name: 'UpgradeAuthorized'; data: { codeHash: H256; checkVersion: boolean } };
152
+ | { name: 'UpgradeAuthorized'; data: { codeHash: H256; checkVersion: boolean } }
153
+ /**
154
+ * An invalid authorized upgrade was rejected while trying to apply it.
155
+ **/
156
+ | { name: 'RejectedInvalidAuthorizedUpgrade'; data: { codeHash: H256; error: DispatchError } };
157
+
158
+ export type FrameSystemDispatchEventInfo = {
159
+ weight: SpWeightsWeightV2Weight;
160
+ class: FrameSupportDispatchDispatchClass;
161
+ paysFee: FrameSupportDispatchPays;
162
+ };
157
163
 
158
164
  export type FrameSupportDispatchDispatchClass = 'Normal' | 'Operational' | 'Mandatory';
159
165
 
160
166
  export type FrameSupportDispatchPays = 'Yes' | 'No';
161
167
 
168
+ export type SpRuntimeProvingTrieTrieError =
169
+ | 'InvalidStateRoot'
170
+ | 'IncompleteDatabase'
171
+ | 'ValueAtIncompleteKey'
172
+ | 'DecoderError'
173
+ | 'InvalidHash'
174
+ | 'DuplicateKey'
175
+ | 'ExtraneousNode'
176
+ | 'ExtraneousValue'
177
+ | 'ExtraneousHashReference'
178
+ | 'InvalidChildReference'
179
+ | 'ValueMismatch'
180
+ | 'IncompleteProof'
181
+ | 'RootMismatch'
182
+ | 'DecodeError';
183
+
162
184
  /**
163
185
  * The `Event` enum of this pallet
164
186
  **/
@@ -400,7 +422,15 @@ export type PalletUtilityEvent =
400
422
  /**
401
423
  * A call was dispatched.
402
424
  **/
403
- | { name: 'DispatchedAs'; data: { result: Result<[], DispatchError> } };
425
+ | { name: 'DispatchedAs'; data: { result: Result<[], DispatchError> } }
426
+ /**
427
+ * Main call was dispatched.
428
+ **/
429
+ | { name: 'IfElseMainSuccess' }
430
+ /**
431
+ * The fallback call was dispatched.
432
+ **/
433
+ | { name: 'IfElseFallbackCalled'; data: { mainError: DispatchError } };
404
434
 
405
435
  /**
406
436
  * The `Event` enum of this pallet
@@ -455,6 +485,14 @@ export type PalletIdentityEvent =
455
485
  * A sub-identity was added to an identity and the deposit paid.
456
486
  **/
457
487
  | { name: 'SubIdentityAdded'; data: { sub: AccountId32; main: AccountId32; deposit: bigint } }
488
+ /**
489
+ * An account's sub-identities were set (in bulk).
490
+ **/
491
+ | { name: 'SubIdentitiesSet'; data: { main: AccountId32; numberOfSubs: number; newDeposit: bigint } }
492
+ /**
493
+ * A given sub-account's associated name was changed by its super-identity.
494
+ **/
495
+ | { name: 'SubIdentityRenamed'; data: { sub: AccountId32; main: AccountId32 } }
458
496
  /**
459
497
  * A sub-identity was removed from an identity and the deposit freed.
460
498
  **/
@@ -492,7 +530,19 @@ export type PalletIdentityEvent =
492
530
  * A dangling username (as in, a username corresponding to an account that has removed its
493
531
  * identity) has been removed.
494
532
  **/
495
- | { name: 'DanglingUsernameRemoved'; data: { who: AccountId32; username: Bytes } };
533
+ | { name: 'DanglingUsernameRemoved'; data: { who: AccountId32; username: Bytes } }
534
+ /**
535
+ * A username has been unbound.
536
+ **/
537
+ | { name: 'UsernameUnbound'; data: { username: Bytes } }
538
+ /**
539
+ * A username has been removed.
540
+ **/
541
+ | { name: 'UsernameRemoved'; data: { username: Bytes } }
542
+ /**
543
+ * A username has been killed.
544
+ **/
545
+ | { name: 'UsernameKilled'; data: { username: Bytes } };
496
546
 
497
547
  /**
498
548
  * The `Event` enum of this pallet
@@ -657,7 +707,19 @@ export type PalletCollectiveEvent =
657
707
  /**
658
708
  * A proposal was closed because its threshold was reached or after its duration was up.
659
709
  **/
660
- | { name: 'Closed'; data: { proposalHash: H256; yes: number; no: number } };
710
+ | { name: 'Closed'; data: { proposalHash: H256; yes: number; no: number } }
711
+ /**
712
+ * A proposal was killed.
713
+ **/
714
+ | { name: 'Killed'; data: { proposalHash: H256 } }
715
+ /**
716
+ * Some cost for storing a proposal was burned.
717
+ **/
718
+ | { name: 'ProposalCostBurned'; data: { proposalHash: H256; who: AccountId32 } }
719
+ /**
720
+ * Some cost for storing a proposal was released.
721
+ **/
722
+ | { name: 'ProposalCostReleased'; data: { proposalHash: H256; who: AccountId32 } };
661
723
 
662
724
  /**
663
725
  * The `Event` enum of this pallet
@@ -697,6 +759,13 @@ export type PalletProxyEvent =
697
759
  | {
698
760
  name: 'ProxyRemoved';
699
761
  data: { delegator: AccountId32; delegatee: AccountId32; proxyType: HydradxRuntimeSystemProxyType; delay: number };
762
+ }
763
+ /**
764
+ * A deposit stored for proxies or announcements was poked / updated.
765
+ **/
766
+ | {
767
+ name: 'DepositPoked';
768
+ data: { who: AccountId32; kind: PalletProxyDepositKind; oldDeposit: bigint; newDeposit: bigint };
700
769
  };
701
770
 
702
771
  export type HydradxRuntimeSystemProxyType =
@@ -707,6 +776,8 @@ export type HydradxRuntimeSystemProxyType =
707
776
  | 'Liquidity'
708
777
  | 'LiquidityMining';
709
778
 
779
+ export type PalletProxyDepositKind = 'Proxies' | 'Announcements';
780
+
710
781
  /**
711
782
  * The `Event` enum of this pallet
712
783
  **/
@@ -751,6 +822,13 @@ export type PalletMultisigEvent =
751
822
  multisig: AccountId32;
752
823
  callHash: FixedBytes<32>;
753
824
  };
825
+ }
826
+ /**
827
+ * The deposit for a multisig operation has been updated/poked.
828
+ **/
829
+ | {
830
+ name: 'DepositPoked';
831
+ data: { who: AccountId32; callHash: FixedBytes<32>; oldDeposit: bigint; newDeposit: bigint };
754
832
  };
755
833
 
756
834
  export type PalletMultisigTimepoint = { height: number; index: number };
@@ -948,13 +1026,17 @@ export type PalletConvictionVotingEvent =
948
1026
  **/
949
1027
  | { name: 'Undelegated'; data: AccountId32 }
950
1028
  /**
951
- * An account that has voted
1029
+ * An account has voted
952
1030
  **/
953
1031
  | { name: 'Voted'; data: { who: AccountId32; vote: PalletConvictionVotingVoteAccountVote } }
954
1032
  /**
955
- * A vote that been removed
1033
+ * A vote has been removed
1034
+ **/
1035
+ | { name: 'VoteRemoved'; data: { who: AccountId32; vote: PalletConvictionVotingVoteAccountVote } }
1036
+ /**
1037
+ * The lockup period of a conviction vote expired, and the funds have been unlocked.
956
1038
  **/
957
- | { name: 'VoteRemoved'; data: { who: AccountId32; vote: PalletConvictionVotingVoteAccountVote } };
1039
+ | { name: 'VoteUnlocked'; data: { who: AccountId32; class: number } };
958
1040
 
959
1041
  export type PalletConvictionVotingVoteAccountVote =
960
1042
  | { type: 'Standard'; value: { vote: PalletConvictionVotingVote; balance: bigint } }
@@ -1312,13 +1394,11 @@ export type HydradxRuntimeRuntimeCall =
1312
1394
  | { pallet: 'PolkadotXcm'; palletCall: PalletXcmCall }
1313
1395
  | { pallet: 'CumulusXcm'; palletCall: CumulusPalletXcmCall }
1314
1396
  | { pallet: 'MessageQueue'; palletCall: PalletMessageQueueCall }
1397
+ | { pallet: 'MultiBlockMigrations'; palletCall: PalletMigrationsCall }
1315
1398
  | { pallet: 'OrmlXcm'; palletCall: OrmlXcmModuleCall }
1316
1399
  | { pallet: 'XTokens'; palletCall: OrmlXtokensModuleCall }
1317
1400
  | { pallet: 'CollatorSelection'; palletCall: PalletCollatorSelectionCall }
1318
1401
  | { pallet: 'Session'; palletCall: PalletSessionCall }
1319
- | { pallet: 'Ismp'; palletCall: PalletIsmpCall }
1320
- | { pallet: 'IsmpParachain'; palletCall: IsmpParachainCall }
1321
- | { pallet: 'TokenGateway'; palletCall: PalletTokenGatewayCall }
1322
1402
  | { pallet: 'EmaOracle'; palletCall: PalletEmaOracleCall }
1323
1403
  | { pallet: 'Broadcast'; palletCall: PalletBroadcastCall };
1324
1404
 
@@ -1380,13 +1460,11 @@ export type HydradxRuntimeRuntimeCallLike =
1380
1460
  | { pallet: 'PolkadotXcm'; palletCall: PalletXcmCallLike }
1381
1461
  | { pallet: 'CumulusXcm'; palletCall: CumulusPalletXcmCallLike }
1382
1462
  | { pallet: 'MessageQueue'; palletCall: PalletMessageQueueCallLike }
1463
+ | { pallet: 'MultiBlockMigrations'; palletCall: PalletMigrationsCallLike }
1383
1464
  | { pallet: 'OrmlXcm'; palletCall: OrmlXcmModuleCallLike }
1384
1465
  | { pallet: 'XTokens'; palletCall: OrmlXtokensModuleCallLike }
1385
1466
  | { pallet: 'CollatorSelection'; palletCall: PalletCollatorSelectionCallLike }
1386
1467
  | { pallet: 'Session'; palletCall: PalletSessionCallLike }
1387
- | { pallet: 'Ismp'; palletCall: PalletIsmpCallLike }
1388
- | { pallet: 'IsmpParachain'; palletCall: IsmpParachainCallLike }
1389
- | { pallet: 'TokenGateway'; palletCall: PalletTokenGatewayCallLike }
1390
1468
  | { pallet: 'EmaOracle'; palletCall: PalletEmaOracleCallLike }
1391
1469
  | { pallet: 'Broadcast'; palletCall: PalletBroadcastCallLike };
1392
1470
 
@@ -2271,7 +2349,41 @@ export type PalletUtilityCall =
2271
2349
  *
2272
2350
  * The dispatch origin for this call must be _Root_.
2273
2351
  **/
2274
- | { name: 'WithWeight'; params: { call: HydradxRuntimeRuntimeCall; weight: SpWeightsWeightV2Weight } };
2352
+ | { name: 'WithWeight'; params: { call: HydradxRuntimeRuntimeCall; weight: SpWeightsWeightV2Weight } }
2353
+ /**
2354
+ * Dispatch a fallback call in the event the main call fails to execute.
2355
+ * May be called from any origin except `None`.
2356
+ *
2357
+ * This function first attempts to dispatch the `main` call.
2358
+ * If the `main` call fails, the `fallback` is attemted.
2359
+ * if the fallback is successfully dispatched, the weights of both calls
2360
+ * are accumulated and an event containing the main call error is deposited.
2361
+ *
2362
+ * In the event of a fallback failure the whole call fails
2363
+ * with the weights returned.
2364
+ *
2365
+ * - `main`: The main call to be dispatched. This is the primary action to execute.
2366
+ * - `fallback`: The fallback call to be dispatched in case the `main` call fails.
2367
+ *
2368
+ * ## Dispatch Logic
2369
+ * - If the origin is `root`, both the main and fallback calls are executed without
2370
+ * applying any origin filters.
2371
+ * - If the origin is not `root`, the origin filter is applied to both the `main` and
2372
+ * `fallback` calls.
2373
+ *
2374
+ * ## Use Case
2375
+ * - Some use cases might involve submitting a `batch` type call in either main, fallback
2376
+ * or both.
2377
+ **/
2378
+ | { name: 'IfElse'; params: { main: HydradxRuntimeRuntimeCall; fallback: HydradxRuntimeRuntimeCall } }
2379
+ /**
2380
+ * Dispatches a function call with a provided origin.
2381
+ *
2382
+ * Almost the same as [`Pallet::dispatch_as`] but forwards any error of the inner call.
2383
+ *
2384
+ * The dispatch origin for this call must be _Root_.
2385
+ **/
2386
+ | { name: 'DispatchAsFallible'; params: { asOrigin: HydradxRuntimeOriginCaller; call: HydradxRuntimeRuntimeCall } };
2275
2387
 
2276
2388
  export type PalletUtilityCallLike =
2277
2389
  /**
@@ -2360,7 +2472,44 @@ export type PalletUtilityCallLike =
2360
2472
  *
2361
2473
  * The dispatch origin for this call must be _Root_.
2362
2474
  **/
2363
- | { name: 'WithWeight'; params: { call: HydradxRuntimeRuntimeCallLike; weight: SpWeightsWeightV2Weight } };
2475
+ | { name: 'WithWeight'; params: { call: HydradxRuntimeRuntimeCallLike; weight: SpWeightsWeightV2Weight } }
2476
+ /**
2477
+ * Dispatch a fallback call in the event the main call fails to execute.
2478
+ * May be called from any origin except `None`.
2479
+ *
2480
+ * This function first attempts to dispatch the `main` call.
2481
+ * If the `main` call fails, the `fallback` is attemted.
2482
+ * if the fallback is successfully dispatched, the weights of both calls
2483
+ * are accumulated and an event containing the main call error is deposited.
2484
+ *
2485
+ * In the event of a fallback failure the whole call fails
2486
+ * with the weights returned.
2487
+ *
2488
+ * - `main`: The main call to be dispatched. This is the primary action to execute.
2489
+ * - `fallback`: The fallback call to be dispatched in case the `main` call fails.
2490
+ *
2491
+ * ## Dispatch Logic
2492
+ * - If the origin is `root`, both the main and fallback calls are executed without
2493
+ * applying any origin filters.
2494
+ * - If the origin is not `root`, the origin filter is applied to both the `main` and
2495
+ * `fallback` calls.
2496
+ *
2497
+ * ## Use Case
2498
+ * - Some use cases might involve submitting a `batch` type call in either main, fallback
2499
+ * or both.
2500
+ **/
2501
+ | { name: 'IfElse'; params: { main: HydradxRuntimeRuntimeCallLike; fallback: HydradxRuntimeRuntimeCallLike } }
2502
+ /**
2503
+ * Dispatches a function call with a provided origin.
2504
+ *
2505
+ * Almost the same as [`Pallet::dispatch_as`] but forwards any error of the inner call.
2506
+ *
2507
+ * The dispatch origin for this call must be _Root_.
2508
+ **/
2509
+ | {
2510
+ name: 'DispatchAsFallible';
2511
+ params: { asOrigin: HydradxRuntimeOriginCaller; call: HydradxRuntimeRuntimeCallLike };
2512
+ };
2364
2513
 
2365
2514
  export type HydradxRuntimeOriginCaller =
2366
2515
  | { type: 'System'; value: FrameSupportDispatchRawOrigin }
@@ -2368,8 +2517,7 @@ export type HydradxRuntimeOriginCaller =
2368
2517
  | { type: 'Origins'; value: HydradxRuntimeGovernanceOriginsPalletCustomOriginsOrigin }
2369
2518
  | { type: 'Ethereum'; value: PalletEthereumRawOrigin }
2370
2519
  | { type: 'PolkadotXcm'; value: PalletXcmOrigin }
2371
- | { type: 'CumulusXcm'; value: CumulusPalletXcmOrigin }
2372
- | { type: 'Void'; value: SpCoreVoid };
2520
+ | { type: 'CumulusXcm'; value: CumulusPalletXcmOrigin };
2373
2521
 
2374
2522
  export type FrameSupportDispatchRawOrigin =
2375
2523
  | { type: 'Root' }
@@ -2395,42 +2543,39 @@ export type HydradxRuntimeGovernanceOriginsPalletCustomOriginsOrigin =
2395
2543
  export type PalletEthereumRawOrigin = { type: 'EthereumTransaction'; value: H160 };
2396
2544
 
2397
2545
  export type PalletXcmOrigin =
2398
- | { type: 'Xcm'; value: StagingXcmV4Location }
2399
- | { type: 'Response'; value: StagingXcmV4Location };
2546
+ | { type: 'Xcm'; value: StagingXcmV5Location }
2547
+ | { type: 'Response'; value: StagingXcmV5Location };
2400
2548
 
2401
- export type StagingXcmV4Location = { parents: number; interior: StagingXcmV4Junctions };
2549
+ export type StagingXcmV5Location = { parents: number; interior: StagingXcmV5Junctions };
2402
2550
 
2403
- export type StagingXcmV4Junctions =
2551
+ export type StagingXcmV5Junctions =
2404
2552
  | { type: 'Here' }
2405
- | { type: 'X1'; value: FixedArray<StagingXcmV4Junction, 1> }
2406
- | { type: 'X2'; value: FixedArray<StagingXcmV4Junction, 2> }
2407
- | { type: 'X3'; value: FixedArray<StagingXcmV4Junction, 3> }
2408
- | { type: 'X4'; value: FixedArray<StagingXcmV4Junction, 4> }
2409
- | { type: 'X5'; value: FixedArray<StagingXcmV4Junction, 5> }
2410
- | { type: 'X6'; value: FixedArray<StagingXcmV4Junction, 6> }
2411
- | { type: 'X7'; value: FixedArray<StagingXcmV4Junction, 7> }
2412
- | { type: 'X8'; value: FixedArray<StagingXcmV4Junction, 8> };
2413
-
2414
- export type StagingXcmV4Junction =
2553
+ | { type: 'X1'; value: FixedArray<StagingXcmV5Junction, 1> }
2554
+ | { type: 'X2'; value: FixedArray<StagingXcmV5Junction, 2> }
2555
+ | { type: 'X3'; value: FixedArray<StagingXcmV5Junction, 3> }
2556
+ | { type: 'X4'; value: FixedArray<StagingXcmV5Junction, 4> }
2557
+ | { type: 'X5'; value: FixedArray<StagingXcmV5Junction, 5> }
2558
+ | { type: 'X6'; value: FixedArray<StagingXcmV5Junction, 6> }
2559
+ | { type: 'X7'; value: FixedArray<StagingXcmV5Junction, 7> }
2560
+ | { type: 'X8'; value: FixedArray<StagingXcmV5Junction, 8> };
2561
+
2562
+ export type StagingXcmV5Junction =
2415
2563
  | { type: 'Parachain'; value: number }
2416
- | { type: 'AccountId32'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; id: FixedBytes<32> } }
2417
- | { type: 'AccountIndex64'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; index: bigint } }
2418
- | { type: 'AccountKey20'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; key: FixedBytes<20> } }
2564
+ | { type: 'AccountId32'; value: { network?: StagingXcmV5JunctionNetworkId | undefined; id: FixedBytes<32> } }
2565
+ | { type: 'AccountIndex64'; value: { network?: StagingXcmV5JunctionNetworkId | undefined; index: bigint } }
2566
+ | { type: 'AccountKey20'; value: { network?: StagingXcmV5JunctionNetworkId | undefined; key: FixedBytes<20> } }
2419
2567
  | { type: 'PalletInstance'; value: number }
2420
2568
  | { type: 'GeneralIndex'; value: bigint }
2421
2569
  | { type: 'GeneralKey'; value: { length: number; data: FixedBytes<32> } }
2422
2570
  | { type: 'OnlyChild' }
2423
2571
  | { type: 'Plurality'; value: { id: XcmV3JunctionBodyId; part: XcmV3JunctionBodyPart } }
2424
- | { type: 'GlobalConsensus'; value: StagingXcmV4JunctionNetworkId };
2572
+ | { type: 'GlobalConsensus'; value: StagingXcmV5JunctionNetworkId };
2425
2573
 
2426
- export type StagingXcmV4JunctionNetworkId =
2574
+ export type StagingXcmV5JunctionNetworkId =
2427
2575
  | { type: 'ByGenesis'; value: FixedBytes<32> }
2428
2576
  | { type: 'ByFork'; value: { blockNumber: bigint; blockHash: FixedBytes<32> } }
2429
2577
  | { type: 'Polkadot' }
2430
2578
  | { type: 'Kusama' }
2431
- | { type: 'Westend' }
2432
- | { type: 'Rococo' }
2433
- | { type: 'Wococo' }
2434
2579
  | { type: 'Ethereum'; value: { chainId: bigint } }
2435
2580
  | { type: 'BitcoinCore' }
2436
2581
  | { type: 'BitcoinCash' }
@@ -2461,8 +2606,6 @@ export type CumulusPalletXcmOrigin =
2461
2606
 
2462
2607
  export type PolkadotParachainPrimitivesPrimitivesId = number;
2463
2608
 
2464
- export type SpCoreVoid = null;
2465
-
2466
2609
  /**
2467
2610
  * Contains a variant per dispatchable extrinsic that this pallet has.
2468
2611
  **/
@@ -2497,7 +2640,7 @@ export type PalletPreimageCall =
2497
2640
  **/
2498
2641
  | { name: 'UnrequestPreimage'; params: { hash: H256 } }
2499
2642
  /**
2500
- * Ensure that the a bulk of pre-images is upgraded.
2643
+ * Ensure that the bulk of pre-images is upgraded.
2501
2644
  *
2502
2645
  * The caller pays no fee if at least 90% of pre-images were successfully updated.
2503
2646
  **/
@@ -2534,7 +2677,7 @@ export type PalletPreimageCallLike =
2534
2677
  **/
2535
2678
  | { name: 'UnrequestPreimage'; params: { hash: H256 } }
2536
2679
  /**
2537
- * Ensure that the a bulk of pre-images is upgraded.
2680
+ * Ensure that the bulk of pre-images is upgraded.
2538
2681
  *
2539
2682
  * The caller pays no fee if at least 90% of pre-images were successfully updated.
2540
2683
  **/
@@ -2731,18 +2874,23 @@ export type PalletIdentityCall =
2731
2874
  /**
2732
2875
  * Add an `AccountId` with permission to grant usernames with a given `suffix` appended.
2733
2876
  *
2734
- * The authority can grant up to `allocation` usernames. To top up their allocation, they
2735
- * should just issue (or request via governance) a new `add_username_authority` call.
2877
+ * The authority can grant up to `allocation` usernames. To top up the allocation or
2878
+ * change the account used to grant usernames, this call can be used with the updated
2879
+ * parameters to overwrite the existing configuration.
2736
2880
  **/
2737
2881
  | { name: 'AddUsernameAuthority'; params: { authority: AccountId32; suffix: Bytes; allocation: number } }
2738
2882
  /**
2739
2883
  * Remove `authority` from the username authorities.
2740
2884
  **/
2741
- | { name: 'RemoveUsernameAuthority'; params: { authority: AccountId32 } }
2885
+ | { name: 'RemoveUsernameAuthority'; params: { suffix: Bytes; authority: AccountId32 } }
2742
2886
  /**
2743
2887
  * Set the username for `who`. Must be called by a username authority.
2744
2888
  *
2745
- * The authority must have an `allocation`. Users can either pre-sign their usernames or
2889
+ * If `use_allocation` is set, the authority must have a username allocation available to
2890
+ * spend. Otherwise, the authority will need to put up a deposit for registering the
2891
+ * username.
2892
+ *
2893
+ * Users can either pre-sign their usernames or
2746
2894
  * accept them later.
2747
2895
  *
2748
2896
  * Usernames must:
@@ -2752,7 +2900,12 @@ export type PalletIdentityCall =
2752
2900
  **/
2753
2901
  | {
2754
2902
  name: 'SetUsernameFor';
2755
- params: { who: AccountId32; username: Bytes; signature?: SpRuntimeMultiSignature | undefined };
2903
+ params: {
2904
+ who: AccountId32;
2905
+ username: Bytes;
2906
+ signature?: SpRuntimeMultiSignature | undefined;
2907
+ useAllocation: boolean;
2908
+ };
2756
2909
  }
2757
2910
  /**
2758
2911
  * Accept a given username that an `authority` granted. The call must include the full
@@ -2770,10 +2923,21 @@ export type PalletIdentityCall =
2770
2923
  **/
2771
2924
  | { name: 'SetPrimaryUsername'; params: { username: Bytes } }
2772
2925
  /**
2773
- * Remove a username that corresponds to an account with no identity. Exists when a user
2774
- * gets a username but then calls `clear_identity`.
2926
+ * Start the process of removing a username by placing it in the unbinding usernames map.
2927
+ * Once the grace period has passed, the username can be deleted by calling
2928
+ * [remove_username](crate::Call::remove_username).
2929
+ **/
2930
+ | { name: 'UnbindUsername'; params: { username: Bytes } }
2931
+ /**
2932
+ * Permanently delete a username which has been unbinding for longer than the grace period.
2933
+ * Caller is refunded the fee if the username expired and the removal was successful.
2934
+ **/
2935
+ | { name: 'RemoveUsername'; params: { username: Bytes } }
2936
+ /**
2937
+ * Call with [ForceOrigin](crate::Config::ForceOrigin) privileges which deletes a username
2938
+ * and slashes any deposit associated with it.
2775
2939
  **/
2776
- | { name: 'RemoveDanglingUsername'; params: { username: Bytes } };
2940
+ | { name: 'KillUsername'; params: { username: Bytes } };
2777
2941
 
2778
2942
  export type PalletIdentityCallLike =
2779
2943
  /**
@@ -2963,18 +3127,23 @@ export type PalletIdentityCallLike =
2963
3127
  /**
2964
3128
  * Add an `AccountId` with permission to grant usernames with a given `suffix` appended.
2965
3129
  *
2966
- * The authority can grant up to `allocation` usernames. To top up their allocation, they
2967
- * should just issue (or request via governance) a new `add_username_authority` call.
3130
+ * The authority can grant up to `allocation` usernames. To top up the allocation or
3131
+ * change the account used to grant usernames, this call can be used with the updated
3132
+ * parameters to overwrite the existing configuration.
2968
3133
  **/
2969
3134
  | { name: 'AddUsernameAuthority'; params: { authority: AccountId32Like; suffix: BytesLike; allocation: number } }
2970
3135
  /**
2971
3136
  * Remove `authority` from the username authorities.
2972
3137
  **/
2973
- | { name: 'RemoveUsernameAuthority'; params: { authority: AccountId32Like } }
3138
+ | { name: 'RemoveUsernameAuthority'; params: { suffix: BytesLike; authority: AccountId32Like } }
2974
3139
  /**
2975
3140
  * Set the username for `who`. Must be called by a username authority.
2976
3141
  *
2977
- * The authority must have an `allocation`. Users can either pre-sign their usernames or
3142
+ * If `use_allocation` is set, the authority must have a username allocation available to
3143
+ * spend. Otherwise, the authority will need to put up a deposit for registering the
3144
+ * username.
3145
+ *
3146
+ * Users can either pre-sign their usernames or
2978
3147
  * accept them later.
2979
3148
  *
2980
3149
  * Usernames must:
@@ -2984,7 +3153,12 @@ export type PalletIdentityCallLike =
2984
3153
  **/
2985
3154
  | {
2986
3155
  name: 'SetUsernameFor';
2987
- params: { who: AccountId32Like; username: BytesLike; signature?: SpRuntimeMultiSignature | undefined };
3156
+ params: {
3157
+ who: AccountId32Like;
3158
+ username: BytesLike;
3159
+ signature?: SpRuntimeMultiSignature | undefined;
3160
+ useAllocation: boolean;
3161
+ };
2988
3162
  }
2989
3163
  /**
2990
3164
  * Accept a given username that an `authority` granted. The call must include the full
@@ -3002,10 +3176,21 @@ export type PalletIdentityCallLike =
3002
3176
  **/
3003
3177
  | { name: 'SetPrimaryUsername'; params: { username: BytesLike } }
3004
3178
  /**
3005
- * Remove a username that corresponds to an account with no identity. Exists when a user
3006
- * gets a username but then calls `clear_identity`.
3179
+ * Start the process of removing a username by placing it in the unbinding usernames map.
3180
+ * Once the grace period has passed, the username can be deleted by calling
3181
+ * [remove_username](crate::Call::remove_username).
3182
+ **/
3183
+ | { name: 'UnbindUsername'; params: { username: BytesLike } }
3184
+ /**
3185
+ * Permanently delete a username which has been unbinding for longer than the grace period.
3186
+ * Caller is refunded the fee if the username expired and the removal was successful.
3007
3187
  **/
3008
- | { name: 'RemoveDanglingUsername'; params: { username: BytesLike } };
3188
+ | { name: 'RemoveUsername'; params: { username: BytesLike } }
3189
+ /**
3190
+ * Call with [ForceOrigin](crate::Config::ForceOrigin) privileges which deletes a username
3191
+ * and slashes any deposit associated with it.
3192
+ **/
3193
+ | { name: 'KillUsername'; params: { username: BytesLike } };
3009
3194
 
3010
3195
  export type PalletIdentityLegacyIdentityInfo = {
3011
3196
  additional: Array<[Data, Data]>;
@@ -3742,7 +3927,29 @@ export type PalletCollectiveCall =
3742
3927
  | {
3743
3928
  name: 'Close';
3744
3929
  params: { proposalHash: H256; index: number; proposalWeightBound: SpWeightsWeightV2Weight; lengthBound: number };
3745
- };
3930
+ }
3931
+ /**
3932
+ * Disapprove the proposal and burn the cost held for storing this proposal.
3933
+ *
3934
+ * Parameters:
3935
+ * - `origin`: must be the `KillOrigin`.
3936
+ * - `proposal_hash`: The hash of the proposal that should be killed.
3937
+ *
3938
+ * Emits `Killed` and `ProposalCostBurned` if any cost was held for a given proposal.
3939
+ **/
3940
+ | { name: 'Kill'; params: { proposalHash: H256 } }
3941
+ /**
3942
+ * Release the cost held for storing a proposal once the given proposal is completed.
3943
+ *
3944
+ * If there is no associated cost for the given proposal, this call will have no effect.
3945
+ *
3946
+ * Parameters:
3947
+ * - `origin`: must be `Signed` or `Root`.
3948
+ * - `proposal_hash`: The hash of the proposal.
3949
+ *
3950
+ * Emits `ProposalCostReleased` if any cost held for a given proposal.
3951
+ **/
3952
+ | { name: 'ReleaseProposalCost'; params: { proposalHash: H256 } };
3746
3953
 
3747
3954
  export type PalletCollectiveCallLike =
3748
3955
  /**
@@ -3858,7 +4065,29 @@ export type PalletCollectiveCallLike =
3858
4065
  | {
3859
4066
  name: 'Close';
3860
4067
  params: { proposalHash: H256; index: number; proposalWeightBound: SpWeightsWeightV2Weight; lengthBound: number };
3861
- };
4068
+ }
4069
+ /**
4070
+ * Disapprove the proposal and burn the cost held for storing this proposal.
4071
+ *
4072
+ * Parameters:
4073
+ * - `origin`: must be the `KillOrigin`.
4074
+ * - `proposal_hash`: The hash of the proposal that should be killed.
4075
+ *
4076
+ * Emits `Killed` and `ProposalCostBurned` if any cost was held for a given proposal.
4077
+ **/
4078
+ | { name: 'Kill'; params: { proposalHash: H256 } }
4079
+ /**
4080
+ * Release the cost held for storing a proposal once the given proposal is completed.
4081
+ *
4082
+ * If there is no associated cost for the given proposal, this call will have no effect.
4083
+ *
4084
+ * Parameters:
4085
+ * - `origin`: must be `Signed` or `Root`.
4086
+ * - `proposal_hash`: The hash of the proposal.
4087
+ *
4088
+ * Emits `ProposalCostReleased` if any cost held for a given proposal.
4089
+ **/
4090
+ | { name: 'ReleaseProposalCost'; params: { proposalHash: H256 } };
3862
4091
 
3863
4092
  /**
3864
4093
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -4028,7 +4257,18 @@ export type PalletProxyCall =
4028
4257
  forceProxyType?: HydradxRuntimeSystemProxyType | undefined;
4029
4258
  call: HydradxRuntimeRuntimeCall;
4030
4259
  };
4031
- };
4260
+ }
4261
+ /**
4262
+ * Poke / Adjust deposits made for proxies and announcements based on current values.
4263
+ * This can be used by accounts to possibly lower their locked amount.
4264
+ *
4265
+ * The dispatch origin for this call must be _Signed_.
4266
+ *
4267
+ * The transaction fee is waived if the deposit amount has changed.
4268
+ *
4269
+ * Emits `DepositPoked` if successful.
4270
+ **/
4271
+ | { name: 'PokeDeposit' };
4032
4272
 
4033
4273
  export type PalletProxyCallLike =
4034
4274
  /**
@@ -4198,7 +4438,18 @@ export type PalletProxyCallLike =
4198
4438
  forceProxyType?: HydradxRuntimeSystemProxyType | undefined;
4199
4439
  call: HydradxRuntimeRuntimeCallLike;
4200
4440
  };
4201
- };
4441
+ }
4442
+ /**
4443
+ * Poke / Adjust deposits made for proxies and announcements based on current values.
4444
+ * This can be used by accounts to possibly lower their locked amount.
4445
+ *
4446
+ * The dispatch origin for this call must be _Signed_.
4447
+ *
4448
+ * The transaction fee is waived if the deposit amount has changed.
4449
+ *
4450
+ * Emits `DepositPoked` if successful.
4451
+ **/
4452
+ | { name: 'PokeDeposit' };
4202
4453
 
4203
4454
  /**
4204
4455
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -4343,6 +4594,25 @@ export type PalletMultisigCall =
4343
4594
  timepoint: PalletMultisigTimepoint;
4344
4595
  callHash: FixedBytes<32>;
4345
4596
  };
4597
+ }
4598
+ /**
4599
+ * Poke the deposit reserved for an existing multisig operation.
4600
+ *
4601
+ * The dispatch origin for this call must be _Signed_ and must be the original depositor of
4602
+ * the multisig operation.
4603
+ *
4604
+ * The transaction fee is waived if the deposit amount has changed.
4605
+ *
4606
+ * - `threshold`: The total number of approvals needed for this multisig.
4607
+ * - `other_signatories`: The accounts (other than the sender) who are part of the
4608
+ * multisig.
4609
+ * - `call_hash`: The hash of the call this deposit is reserved for.
4610
+ *
4611
+ * Emits `DepositPoked` if successful.
4612
+ **/
4613
+ | {
4614
+ name: 'PokeDeposit';
4615
+ params: { threshold: number; otherSignatories: Array<AccountId32>; callHash: FixedBytes<32> };
4346
4616
  };
4347
4617
 
4348
4618
  export type PalletMultisigCallLike =
@@ -4488,6 +4758,25 @@ export type PalletMultisigCallLike =
4488
4758
  timepoint: PalletMultisigTimepoint;
4489
4759
  callHash: FixedBytes<32>;
4490
4760
  };
4761
+ }
4762
+ /**
4763
+ * Poke the deposit reserved for an existing multisig operation.
4764
+ *
4765
+ * The dispatch origin for this call must be _Signed_ and must be the original depositor of
4766
+ * the multisig operation.
4767
+ *
4768
+ * The transaction fee is waived if the deposit amount has changed.
4769
+ *
4770
+ * - `threshold`: The total number of approvals needed for this multisig.
4771
+ * - `other_signatories`: The accounts (other than the sender) who are part of the
4772
+ * multisig.
4773
+ * - `call_hash`: The hash of the call this deposit is reserved for.
4774
+ *
4775
+ * Emits `DepositPoked` if successful.
4776
+ **/
4777
+ | {
4778
+ name: 'PokeDeposit';
4779
+ params: { threshold: number; otherSignatories: Array<AccountId32Like>; callHash: FixedBytes<32> };
4491
4780
  };
4492
4781
 
4493
4782
  /**
@@ -6267,60 +6556,7 @@ export type PalletAssetRegistryCallLike =
6267
6556
 
6268
6557
  export type PalletAssetRegistryAssetType = 'Token' | 'Xyk' | 'StableSwap' | 'Bond' | 'External' | 'Erc20';
6269
6558
 
6270
- export type HydradxRuntimeXcmAssetLocation = StagingXcmV3MultilocationMultiLocation;
6271
-
6272
- export type StagingXcmV3MultilocationMultiLocation = { parents: number; interior: XcmV3Junctions };
6273
-
6274
- export type XcmV3Junctions =
6275
- | { type: 'Here' }
6276
- | { type: 'X1'; value: XcmV3Junction }
6277
- | { type: 'X2'; value: [XcmV3Junction, XcmV3Junction] }
6278
- | { type: 'X3'; value: [XcmV3Junction, XcmV3Junction, XcmV3Junction] }
6279
- | { type: 'X4'; value: [XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction] }
6280
- | { type: 'X5'; value: [XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction] }
6281
- | { type: 'X6'; value: [XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction] }
6282
- | {
6283
- type: 'X7';
6284
- value: [XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction];
6285
- }
6286
- | {
6287
- type: 'X8';
6288
- value: [
6289
- XcmV3Junction,
6290
- XcmV3Junction,
6291
- XcmV3Junction,
6292
- XcmV3Junction,
6293
- XcmV3Junction,
6294
- XcmV3Junction,
6295
- XcmV3Junction,
6296
- XcmV3Junction,
6297
- ];
6298
- };
6299
-
6300
- export type XcmV3Junction =
6301
- | { type: 'Parachain'; value: number }
6302
- | { type: 'AccountId32'; value: { network?: XcmV3JunctionNetworkId | undefined; id: FixedBytes<32> } }
6303
- | { type: 'AccountIndex64'; value: { network?: XcmV3JunctionNetworkId | undefined; index: bigint } }
6304
- | { type: 'AccountKey20'; value: { network?: XcmV3JunctionNetworkId | undefined; key: FixedBytes<20> } }
6305
- | { type: 'PalletInstance'; value: number }
6306
- | { type: 'GeneralIndex'; value: bigint }
6307
- | { type: 'GeneralKey'; value: { length: number; data: FixedBytes<32> } }
6308
- | { type: 'OnlyChild' }
6309
- | { type: 'Plurality'; value: { id: XcmV3JunctionBodyId; part: XcmV3JunctionBodyPart } }
6310
- | { type: 'GlobalConsensus'; value: XcmV3JunctionNetworkId };
6311
-
6312
- export type XcmV3JunctionNetworkId =
6313
- | { type: 'ByGenesis'; value: FixedBytes<32> }
6314
- | { type: 'ByFork'; value: { blockNumber: bigint; blockHash: FixedBytes<32> } }
6315
- | { type: 'Polkadot' }
6316
- | { type: 'Kusama' }
6317
- | { type: 'Westend' }
6318
- | { type: 'Rococo' }
6319
- | { type: 'Wococo' }
6320
- | { type: 'Ethereum'; value: { chainId: bigint } }
6321
- | { type: 'BitcoinCore' }
6322
- | { type: 'BitcoinCash' }
6323
- | { type: 'PolkadotBulletin' };
6559
+ export type HydradxRuntimeXcmAssetLocation = StagingXcmV5Location;
6324
6560
 
6325
6561
  /**
6326
6562
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -7283,6 +7519,8 @@ export type PalletOmnipoolLiquidityMiningCall =
7283
7519
  * - `stable_pool_id`: id of the stableswap pool to add liquidity to.
7284
7520
  * - `stable_asset_amounts`: amount of each asset to be deposited into the stableswap pool.
7285
7521
  * - `farm_entries`: list of farms to join.
7522
+ * - `min_shares_limit`: optional minimum Omnipool shares to receive (slippage protection).
7523
+ * Applies to Omnipool step only. None defaults to no protection.
7286
7524
  *
7287
7525
  * Emits `LiquidityAdded` events from both pool
7288
7526
  * Emits `SharesDeposited` event for the first farm entry
@@ -7295,6 +7533,43 @@ export type PalletOmnipoolLiquidityMiningCall =
7295
7533
  stablePoolId: number;
7296
7534
  stableAssetAmounts: Array<HydradxTraitsStableswapAssetAmount>;
7297
7535
  farmEntries?: Array<[number, number]> | undefined;
7536
+ minSharesLimit?: bigint | undefined;
7537
+ };
7538
+ }
7539
+ /**
7540
+ * Remove liquidity from stableswap and omnipool, optionally exiting associated yield farms.
7541
+ *
7542
+ * This extrinsic reverses the operation performed by `add_liquidity_stableswap_omnipool_and_join_farms`,
7543
+ * with optional farm exit to match the optional farm join in the add function.
7544
+ *
7545
+ * It performs the following steps in order:
7546
+ * 1. [OPTIONAL] If deposit_id is provided: Exits from ALL yield farms associated with the deposit (claiming rewards)
7547
+ * 2. Removes liquidity from the omnipool to retrieve stableswap shares (protected by omnipool_min_limit)
7548
+ * 3. Removes liquidity from the stableswap pool to retrieve underlying assets (protected by stableswap_min_amounts_out)
7549
+ *
7550
+ * The stabelswap liquidity asset removal strategy is determined by the `min_amounts_out` parameter length:
7551
+ * - If 1 asset is specified: Uses `remove_liquidity_one_asset` (trading fee applies)
7552
+ * - If multiple assets: Uses `remove_liquidity` (proportional, no trading fee)
7553
+ *
7554
+ * Parameters:
7555
+ * - `origin`: Owner of the omnipool position
7556
+ * - `position_id`: The omnipool position NFT ID to remove liquidity from
7557
+ * - `omnipool_min_limit`: The min amount of asset to be removed from omnipool (slippage protection)
7558
+ * - `stableswap_min_amounts_out`: Asset IDs and minimum amounts minimum amounts of each asset to receive from omnipool.
7559
+ * - `deposit_id`: Optional liquidity mining deposit NFT ID. If provided, exits all farms first.
7560
+ *
7561
+ * Emits events:
7562
+ * - If deposit_id provided: `RewardClaimed`, `SharesWithdrawn`, `DepositDestroyed`
7563
+ * - Always: Omnipool's `LiquidityRemoved`, Stableswap's `LiquidityRemoved`
7564
+ *
7565
+ **/
7566
+ | {
7567
+ name: 'RemoveLiquidityStableswapOmnipoolAndExitFarms';
7568
+ params: {
7569
+ positionId: bigint;
7570
+ omnipoolMinLimit: bigint;
7571
+ stableswapMinAmountsOut: Array<HydradxTraitsStableswapAssetAmount>;
7572
+ depositId?: bigint | undefined;
7298
7573
  };
7299
7574
  };
7300
7575
 
@@ -7626,6 +7901,8 @@ export type PalletOmnipoolLiquidityMiningCallLike =
7626
7901
  * - `stable_pool_id`: id of the stableswap pool to add liquidity to.
7627
7902
  * - `stable_asset_amounts`: amount of each asset to be deposited into the stableswap pool.
7628
7903
  * - `farm_entries`: list of farms to join.
7904
+ * - `min_shares_limit`: optional minimum Omnipool shares to receive (slippage protection).
7905
+ * Applies to Omnipool step only. None defaults to no protection.
7629
7906
  *
7630
7907
  * Emits `LiquidityAdded` events from both pool
7631
7908
  * Emits `SharesDeposited` event for the first farm entry
@@ -7638,6 +7915,43 @@ export type PalletOmnipoolLiquidityMiningCallLike =
7638
7915
  stablePoolId: number;
7639
7916
  stableAssetAmounts: Array<HydradxTraitsStableswapAssetAmount>;
7640
7917
  farmEntries?: Array<[number, number]> | undefined;
7918
+ minSharesLimit?: bigint | undefined;
7919
+ };
7920
+ }
7921
+ /**
7922
+ * Remove liquidity from stableswap and omnipool, optionally exiting associated yield farms.
7923
+ *
7924
+ * This extrinsic reverses the operation performed by `add_liquidity_stableswap_omnipool_and_join_farms`,
7925
+ * with optional farm exit to match the optional farm join in the add function.
7926
+ *
7927
+ * It performs the following steps in order:
7928
+ * 1. [OPTIONAL] If deposit_id is provided: Exits from ALL yield farms associated with the deposit (claiming rewards)
7929
+ * 2. Removes liquidity from the omnipool to retrieve stableswap shares (protected by omnipool_min_limit)
7930
+ * 3. Removes liquidity from the stableswap pool to retrieve underlying assets (protected by stableswap_min_amounts_out)
7931
+ *
7932
+ * The stabelswap liquidity asset removal strategy is determined by the `min_amounts_out` parameter length:
7933
+ * - If 1 asset is specified: Uses `remove_liquidity_one_asset` (trading fee applies)
7934
+ * - If multiple assets: Uses `remove_liquidity` (proportional, no trading fee)
7935
+ *
7936
+ * Parameters:
7937
+ * - `origin`: Owner of the omnipool position
7938
+ * - `position_id`: The omnipool position NFT ID to remove liquidity from
7939
+ * - `omnipool_min_limit`: The min amount of asset to be removed from omnipool (slippage protection)
7940
+ * - `stableswap_min_amounts_out`: Asset IDs and minimum amounts minimum amounts of each asset to receive from omnipool.
7941
+ * - `deposit_id`: Optional liquidity mining deposit NFT ID. If provided, exits all farms first.
7942
+ *
7943
+ * Emits events:
7944
+ * - If deposit_id provided: `RewardClaimed`, `SharesWithdrawn`, `DepositDestroyed`
7945
+ * - Always: Omnipool's `LiquidityRemoved`, Stableswap's `LiquidityRemoved`
7946
+ *
7947
+ **/
7948
+ | {
7949
+ name: 'RemoveLiquidityStableswapOmnipoolAndExitFarms';
7950
+ params: {
7951
+ positionId: bigint;
7952
+ omnipoolMinLimit: bigint;
7953
+ stableswapMinAmountsOut: Array<HydradxTraitsStableswapAssetAmount>;
7954
+ depositId?: bigint | undefined;
7641
7955
  };
7642
7956
  };
7643
7957
 
@@ -10382,12 +10696,7 @@ export type PalletDispenserCall =
10382
10696
  **/
10383
10697
  | {
10384
10698
  name: 'RequestFund';
10385
- params: {
10386
- to: FixedBytes<20>;
10387
- amount: bigint;
10388
- requestId: FixedBytes<32>;
10389
- tx: PalletDispenserEvmTransactionParams;
10390
- };
10699
+ params: { to: H160; amount: bigint; requestId: FixedBytes<32>; tx: PalletDispenserEvmTransactionParams };
10391
10700
  }
10392
10701
  /**
10393
10702
  * Pause the dispenser so that no new funding requests can be made.
@@ -10437,12 +10746,7 @@ export type PalletDispenserCallLike =
10437
10746
  **/
10438
10747
  | {
10439
10748
  name: 'RequestFund';
10440
- params: {
10441
- to: FixedBytes<20>;
10442
- amount: bigint;
10443
- requestId: FixedBytes<32>;
10444
- tx: PalletDispenserEvmTransactionParams;
10445
- };
10749
+ params: { to: H160; amount: bigint; requestId: FixedBytes<32>; tx: PalletDispenserEvmTransactionParams };
10446
10750
  }
10447
10751
  /**
10448
10752
  * Pause the dispenser so that no new funding requests can be made.
@@ -10496,7 +10800,7 @@ export type OrmlTokensModuleCall =
10496
10800
  *
10497
10801
  * - `dest`: The recipient of the transfer.
10498
10802
  * - `currency_id`: currency type.
10499
- * - `amount`: free balance amount to tranfer.
10803
+ * - `amount`: free balance amount to transfer.
10500
10804
  **/
10501
10805
  | { name: 'Transfer'; params: { dest: AccountId32; currencyId: number; amount: bigint } }
10502
10806
  /**
@@ -10532,7 +10836,7 @@ export type OrmlTokensModuleCall =
10532
10836
  *
10533
10837
  * - `dest`: The recipient of the transfer.
10534
10838
  * - `currency_id`: currency type.
10535
- * - `amount`: free balance amount to tranfer.
10839
+ * - `amount`: free balance amount to transfer.
10536
10840
  **/
10537
10841
  | { name: 'TransferKeepAlive'; params: { dest: AccountId32; currencyId: number; amount: bigint } }
10538
10842
  /**
@@ -10544,7 +10848,7 @@ export type OrmlTokensModuleCall =
10544
10848
  * - `source`: The sender of the transfer.
10545
10849
  * - `dest`: The recipient of the transfer.
10546
10850
  * - `currency_id`: currency type.
10547
- * - `amount`: free balance amount to tranfer.
10851
+ * - `amount`: free balance amount to transfer.
10548
10852
  **/
10549
10853
  | { name: 'ForceTransfer'; params: { source: AccountId32; dest: AccountId32; currencyId: number; amount: bigint } }
10550
10854
  /**
@@ -10573,7 +10877,7 @@ export type OrmlTokensModuleCallLike =
10573
10877
  *
10574
10878
  * - `dest`: The recipient of the transfer.
10575
10879
  * - `currency_id`: currency type.
10576
- * - `amount`: free balance amount to tranfer.
10880
+ * - `amount`: free balance amount to transfer.
10577
10881
  **/
10578
10882
  | { name: 'Transfer'; params: { dest: AccountId32Like; currencyId: number; amount: bigint } }
10579
10883
  /**
@@ -10609,7 +10913,7 @@ export type OrmlTokensModuleCallLike =
10609
10913
  *
10610
10914
  * - `dest`: The recipient of the transfer.
10611
10915
  * - `currency_id`: currency type.
10612
- * - `amount`: free balance amount to tranfer.
10916
+ * - `amount`: free balance amount to transfer.
10613
10917
  **/
10614
10918
  | { name: 'TransferKeepAlive'; params: { dest: AccountId32Like; currencyId: number; amount: bigint } }
10615
10919
  /**
@@ -10621,7 +10925,7 @@ export type OrmlTokensModuleCallLike =
10621
10925
  * - `source`: The sender of the transfer.
10622
10926
  * - `dest`: The recipient of the transfer.
10623
10927
  * - `currency_id`: currency type.
10624
- * - `amount`: free balance amount to tranfer.
10928
+ * - `amount`: free balance amount to transfer.
10625
10929
  **/
10626
10930
  | {
10627
10931
  name: 'ForceTransfer';
@@ -10732,6 +11036,7 @@ export type PalletEvmCall =
10732
11036
  maxPriorityFeePerGas?: U256 | undefined;
10733
11037
  nonce?: U256 | undefined;
10734
11038
  accessList: Array<[H160, Array<H256>]>;
11039
+ authorizationList: Array<EthereumTransactionEip7702AuthorizationListItem>;
10735
11040
  };
10736
11041
  }
10737
11042
  /**
@@ -10749,6 +11054,7 @@ export type PalletEvmCall =
10749
11054
  maxPriorityFeePerGas?: U256 | undefined;
10750
11055
  nonce?: U256 | undefined;
10751
11056
  accessList: Array<[H160, Array<H256>]>;
11057
+ authorizationList: Array<EthereumTransactionEip7702AuthorizationListItem>;
10752
11058
  };
10753
11059
  }
10754
11060
  /**
@@ -10766,6 +11072,7 @@ export type PalletEvmCall =
10766
11072
  maxPriorityFeePerGas?: U256 | undefined;
10767
11073
  nonce?: U256 | undefined;
10768
11074
  accessList: Array<[H160, Array<H256>]>;
11075
+ authorizationList: Array<EthereumTransactionEip7702AuthorizationListItem>;
10769
11076
  };
10770
11077
  };
10771
11078
 
@@ -10789,6 +11096,7 @@ export type PalletEvmCallLike =
10789
11096
  maxPriorityFeePerGas?: U256 | undefined;
10790
11097
  nonce?: U256 | undefined;
10791
11098
  accessList: Array<[H160, Array<H256>]>;
11099
+ authorizationList: Array<EthereumTransactionEip7702AuthorizationListItem>;
10792
11100
  };
10793
11101
  }
10794
11102
  /**
@@ -10806,6 +11114,7 @@ export type PalletEvmCallLike =
10806
11114
  maxPriorityFeePerGas?: U256 | undefined;
10807
11115
  nonce?: U256 | undefined;
10808
11116
  accessList: Array<[H160, Array<H256>]>;
11117
+ authorizationList: Array<EthereumTransactionEip7702AuthorizationListItem>;
10809
11118
  };
10810
11119
  }
10811
11120
  /**
@@ -10823,9 +11132,19 @@ export type PalletEvmCallLike =
10823
11132
  maxPriorityFeePerGas?: U256 | undefined;
10824
11133
  nonce?: U256 | undefined;
10825
11134
  accessList: Array<[H160, Array<H256>]>;
11135
+ authorizationList: Array<EthereumTransactionEip7702AuthorizationListItem>;
10826
11136
  };
10827
11137
  };
10828
11138
 
11139
+ export type EthereumTransactionEip7702AuthorizationListItem = {
11140
+ chainId: bigint;
11141
+ address: H160;
11142
+ nonce: U256;
11143
+ signature: EthereumTransactionEip2930MalleableTransactionSignature;
11144
+ };
11145
+
11146
+ export type EthereumTransactionEip2930MalleableTransactionSignature = { oddYParity: boolean; r: H256; s: H256 };
11147
+
10829
11148
  /**
10830
11149
  * Contains a variant per dispatchable extrinsic that this pallet has.
10831
11150
  **/
@@ -10833,64 +11152,81 @@ export type PalletEthereumCall =
10833
11152
  /**
10834
11153
  * Transact an Ethereum transaction.
10835
11154
  **/
10836
- { name: 'Transact'; params: { transaction: EthereumTransactionTransactionV2 } };
11155
+ { name: 'Transact'; params: { transaction: EthereumTransactionTransactionV3 } };
10837
11156
 
10838
11157
  export type PalletEthereumCallLike =
10839
11158
  /**
10840
11159
  * Transact an Ethereum transaction.
10841
11160
  **/
10842
- { name: 'Transact'; params: { transaction: EthereumTransactionTransactionV2 } };
11161
+ { name: 'Transact'; params: { transaction: EthereumTransactionTransactionV3 } };
10843
11162
 
10844
- export type EthereumTransactionTransactionV2 =
10845
- | { type: 'Legacy'; value: EthereumTransactionLegacyTransaction }
10846
- | { type: 'Eip2930'; value: EthereumTransactionEip2930Transaction }
10847
- | { type: 'Eip1559'; value: EthereumTransactionEip1559Transaction };
11163
+ export type EthereumTransactionTransactionV3 =
11164
+ | { type: 'Legacy'; value: EthereumTransactionLegacyLegacyTransaction }
11165
+ | { type: 'Eip2930'; value: EthereumTransactionEip2930Eip2930Transaction }
11166
+ | { type: 'Eip1559'; value: EthereumTransactionEip1559Eip1559Transaction }
11167
+ | { type: 'Eip7702'; value: EthereumTransactionEip7702Eip7702Transaction };
10848
11168
 
10849
- export type EthereumTransactionLegacyTransaction = {
11169
+ export type EthereumTransactionLegacyLegacyTransaction = {
10850
11170
  nonce: U256;
10851
11171
  gasPrice: U256;
10852
11172
  gasLimit: U256;
10853
- action: EthereumTransactionTransactionAction;
11173
+ action: EthereumTransactionLegacyTransactionAction;
10854
11174
  value: U256;
10855
11175
  input: Bytes;
10856
- signature: EthereumTransactionTransactionSignature;
11176
+ signature: EthereumTransactionLegacyTransactionSignature;
10857
11177
  };
10858
11178
 
10859
- export type EthereumTransactionTransactionAction = { type: 'Call'; value: H160 } | { type: 'Create' };
11179
+ export type EthereumTransactionLegacyTransactionAction = { type: 'Call'; value: H160 } | { type: 'Create' };
10860
11180
 
10861
- export type EthereumTransactionTransactionSignature = { v: EthereumTransactionTransactionRecoveryId; r: H256; s: H256 };
11181
+ export type EthereumTransactionLegacyTransactionSignature = {
11182
+ v: EthereumTransactionLegacyTransactionRecoveryId;
11183
+ r: H256;
11184
+ s: H256;
11185
+ };
10862
11186
 
10863
- export type EthereumTransactionTransactionRecoveryId = bigint;
11187
+ export type EthereumTransactionLegacyTransactionRecoveryId = bigint;
10864
11188
 
10865
- export type EthereumTransactionEip2930Transaction = {
11189
+ export type EthereumTransactionEip2930Eip2930Transaction = {
10866
11190
  chainId: bigint;
10867
11191
  nonce: U256;
10868
11192
  gasPrice: U256;
10869
11193
  gasLimit: U256;
10870
- action: EthereumTransactionTransactionAction;
11194
+ action: EthereumTransactionLegacyTransactionAction;
10871
11195
  value: U256;
10872
11196
  input: Bytes;
10873
- accessList: Array<EthereumTransactionAccessListItem>;
10874
- oddYParity: boolean;
10875
- r: H256;
10876
- s: H256;
11197
+ accessList: Array<EthereumTransactionEip2930AccessListItem>;
11198
+ signature: EthereumTransactionEip2930TransactionSignature;
10877
11199
  };
10878
11200
 
10879
- export type EthereumTransactionAccessListItem = { address: H160; storageKeys: Array<H256> };
11201
+ export type EthereumTransactionEip2930AccessListItem = { address: H160; storageKeys: Array<H256> };
11202
+
11203
+ export type EthereumTransactionEip2930TransactionSignature = { oddYParity: boolean; r: H256; s: H256 };
10880
11204
 
10881
- export type EthereumTransactionEip1559Transaction = {
11205
+ export type EthereumTransactionEip1559Eip1559Transaction = {
10882
11206
  chainId: bigint;
10883
11207
  nonce: U256;
10884
11208
  maxPriorityFeePerGas: U256;
10885
11209
  maxFeePerGas: U256;
10886
11210
  gasLimit: U256;
10887
- action: EthereumTransactionTransactionAction;
11211
+ action: EthereumTransactionLegacyTransactionAction;
10888
11212
  value: U256;
10889
11213
  input: Bytes;
10890
- accessList: Array<EthereumTransactionAccessListItem>;
10891
- oddYParity: boolean;
10892
- r: H256;
10893
- s: H256;
11214
+ accessList: Array<EthereumTransactionEip2930AccessListItem>;
11215
+ signature: EthereumTransactionEip2930TransactionSignature;
11216
+ };
11217
+
11218
+ export type EthereumTransactionEip7702Eip7702Transaction = {
11219
+ chainId: bigint;
11220
+ nonce: U256;
11221
+ maxPriorityFeePerGas: U256;
11222
+ maxFeePerGas: U256;
11223
+ gasLimit: U256;
11224
+ destination: EthereumTransactionLegacyTransactionAction;
11225
+ value: U256;
11226
+ data: Bytes;
11227
+ accessList: Array<EthereumTransactionEip2930AccessListItem>;
11228
+ authorizationList: Array<EthereumTransactionEip7702AuthorizationListItem>;
11229
+ signature: EthereumTransactionEip2930TransactionSignature;
10894
11230
  };
10895
11231
 
10896
11232
  /**
@@ -12234,7 +12570,7 @@ export type PalletXcmCall =
12234
12570
  * - `location`: The destination that is being described.
12235
12571
  * - `xcm_version`: The latest version of XCM that `location` supports.
12236
12572
  **/
12237
- | { name: 'ForceXcmVersion'; params: { location: StagingXcmV4Location; version: number } }
12573
+ | { name: 'ForceXcmVersion'; params: { location: StagingXcmV5Location; version: number } }
12238
12574
  /**
12239
12575
  * Set a safe XCM version (the version that XCM should be encoded with if the most recent
12240
12576
  * version a destination can accept is unknown).
@@ -12453,7 +12789,31 @@ export type PalletXcmCall =
12453
12789
  customXcmOnDest: XcmVersionedXcm;
12454
12790
  weightLimit: XcmV3WeightLimit;
12455
12791
  };
12456
- };
12792
+ }
12793
+ /**
12794
+ * Authorize another `aliaser` location to alias into the local `origin` making this call.
12795
+ * The `aliaser` is only authorized until the provided `expiry` block number.
12796
+ * The call can also be used for a previously authorized alias in order to update its
12797
+ * `expiry` block number.
12798
+ *
12799
+ * Usually useful to allow your local account to be aliased into from a remote location
12800
+ * also under your control (like your account on another chain).
12801
+ *
12802
+ * WARNING: make sure the caller `origin` (you) trusts the `aliaser` location to act in
12803
+ * their/your name. Once authorized using this call, the `aliaser` can freely impersonate
12804
+ * `origin` in XCM programs executed on the local chain.
12805
+ **/
12806
+ | { name: 'AddAuthorizedAlias'; params: { aliaser: XcmVersionedLocation; expires?: bigint | undefined } }
12807
+ /**
12808
+ * Remove a previously authorized `aliaser` from the list of locations that can alias into
12809
+ * the local `origin` making this call.
12810
+ **/
12811
+ | { name: 'RemoveAuthorizedAlias'; params: { aliaser: XcmVersionedLocation } }
12812
+ /**
12813
+ * Remove all previously authorized `aliaser`s that can alias into the local `origin`
12814
+ * making this call.
12815
+ **/
12816
+ | { name: 'RemoveAllAuthorizedAliases' };
12457
12817
 
12458
12818
  export type PalletXcmCallLike =
12459
12819
  | { name: 'Send'; params: { dest: XcmVersionedLocation; message: XcmVersionedXcm } }
@@ -12546,7 +12906,7 @@ export type PalletXcmCallLike =
12546
12906
  * - `location`: The destination that is being described.
12547
12907
  * - `xcm_version`: The latest version of XCM that `location` supports.
12548
12908
  **/
12549
- | { name: 'ForceXcmVersion'; params: { location: StagingXcmV4Location; version: number } }
12909
+ | { name: 'ForceXcmVersion'; params: { location: StagingXcmV5Location; version: number } }
12550
12910
  /**
12551
12911
  * Set a safe XCM version (the version that XCM should be encoded with if the most recent
12552
12912
  * version a destination can accept is unknown).
@@ -12765,222 +13125,132 @@ export type PalletXcmCallLike =
12765
13125
  customXcmOnDest: XcmVersionedXcm;
12766
13126
  weightLimit: XcmV3WeightLimit;
12767
13127
  };
12768
- };
13128
+ }
13129
+ /**
13130
+ * Authorize another `aliaser` location to alias into the local `origin` making this call.
13131
+ * The `aliaser` is only authorized until the provided `expiry` block number.
13132
+ * The call can also be used for a previously authorized alias in order to update its
13133
+ * `expiry` block number.
13134
+ *
13135
+ * Usually useful to allow your local account to be aliased into from a remote location
13136
+ * also under your control (like your account on another chain).
13137
+ *
13138
+ * WARNING: make sure the caller `origin` (you) trusts the `aliaser` location to act in
13139
+ * their/your name. Once authorized using this call, the `aliaser` can freely impersonate
13140
+ * `origin` in XCM programs executed on the local chain.
13141
+ **/
13142
+ | { name: 'AddAuthorizedAlias'; params: { aliaser: XcmVersionedLocation; expires?: bigint | undefined } }
13143
+ /**
13144
+ * Remove a previously authorized `aliaser` from the list of locations that can alias into
13145
+ * the local `origin` making this call.
13146
+ **/
13147
+ | { name: 'RemoveAuthorizedAlias'; params: { aliaser: XcmVersionedLocation } }
13148
+ /**
13149
+ * Remove all previously authorized `aliaser`s that can alias into the local `origin`
13150
+ * making this call.
13151
+ **/
13152
+ | { name: 'RemoveAllAuthorizedAliases' };
12769
13153
 
12770
13154
  export type XcmVersionedLocation =
12771
- | { type: 'V2'; value: XcmV2MultilocationMultiLocation }
12772
13155
  | { type: 'V3'; value: StagingXcmV3MultilocationMultiLocation }
12773
- | { type: 'V4'; value: StagingXcmV4Location };
13156
+ | { type: 'V4'; value: StagingXcmV4Location }
13157
+ | { type: 'V5'; value: StagingXcmV5Location };
12774
13158
 
12775
- export type XcmV2MultilocationMultiLocation = { parents: number; interior: XcmV2MultilocationJunctions };
13159
+ export type StagingXcmV3MultilocationMultiLocation = { parents: number; interior: XcmV3Junctions };
12776
13160
 
12777
- export type XcmV2MultilocationJunctions =
13161
+ export type XcmV3Junctions =
12778
13162
  | { type: 'Here' }
12779
- | { type: 'X1'; value: XcmV2Junction }
12780
- | { type: 'X2'; value: [XcmV2Junction, XcmV2Junction] }
12781
- | { type: 'X3'; value: [XcmV2Junction, XcmV2Junction, XcmV2Junction] }
12782
- | { type: 'X4'; value: [XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction] }
12783
- | { type: 'X5'; value: [XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction] }
12784
- | { type: 'X6'; value: [XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction] }
13163
+ | { type: 'X1'; value: XcmV3Junction }
13164
+ | { type: 'X2'; value: [XcmV3Junction, XcmV3Junction] }
13165
+ | { type: 'X3'; value: [XcmV3Junction, XcmV3Junction, XcmV3Junction] }
13166
+ | { type: 'X4'; value: [XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction] }
13167
+ | { type: 'X5'; value: [XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction] }
13168
+ | { type: 'X6'; value: [XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction] }
12785
13169
  | {
12786
13170
  type: 'X7';
12787
- value: [XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction];
13171
+ value: [XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction];
12788
13172
  }
12789
13173
  | {
12790
13174
  type: 'X8';
12791
13175
  value: [
12792
- XcmV2Junction,
12793
- XcmV2Junction,
12794
- XcmV2Junction,
12795
- XcmV2Junction,
12796
- XcmV2Junction,
12797
- XcmV2Junction,
12798
- XcmV2Junction,
12799
- XcmV2Junction,
13176
+ XcmV3Junction,
13177
+ XcmV3Junction,
13178
+ XcmV3Junction,
13179
+ XcmV3Junction,
13180
+ XcmV3Junction,
13181
+ XcmV3Junction,
13182
+ XcmV3Junction,
13183
+ XcmV3Junction,
12800
13184
  ];
12801
13185
  };
12802
13186
 
12803
- export type XcmV2Junction =
13187
+ export type XcmV3Junction =
12804
13188
  | { type: 'Parachain'; value: number }
12805
- | { type: 'AccountId32'; value: { network: XcmV2NetworkId; id: FixedBytes<32> } }
12806
- | { type: 'AccountIndex64'; value: { network: XcmV2NetworkId; index: bigint } }
12807
- | { type: 'AccountKey20'; value: { network: XcmV2NetworkId; key: FixedBytes<20> } }
13189
+ | { type: 'AccountId32'; value: { network?: XcmV3JunctionNetworkId | undefined; id: FixedBytes<32> } }
13190
+ | { type: 'AccountIndex64'; value: { network?: XcmV3JunctionNetworkId | undefined; index: bigint } }
13191
+ | { type: 'AccountKey20'; value: { network?: XcmV3JunctionNetworkId | undefined; key: FixedBytes<20> } }
12808
13192
  | { type: 'PalletInstance'; value: number }
12809
13193
  | { type: 'GeneralIndex'; value: bigint }
12810
- | { type: 'GeneralKey'; value: Bytes }
13194
+ | { type: 'GeneralKey'; value: { length: number; data: FixedBytes<32> } }
12811
13195
  | { type: 'OnlyChild' }
12812
- | { type: 'Plurality'; value: { id: XcmV2BodyId; part: XcmV2BodyPart } };
13196
+ | { type: 'Plurality'; value: { id: XcmV3JunctionBodyId; part: XcmV3JunctionBodyPart } }
13197
+ | { type: 'GlobalConsensus'; value: XcmV3JunctionNetworkId };
12813
13198
 
12814
- export type XcmV2NetworkId =
12815
- | { type: 'Any' }
12816
- | { type: 'Named'; value: Bytes }
13199
+ export type XcmV3JunctionNetworkId =
13200
+ | { type: 'ByGenesis'; value: FixedBytes<32> }
13201
+ | { type: 'ByFork'; value: { blockNumber: bigint; blockHash: FixedBytes<32> } }
12817
13202
  | { type: 'Polkadot' }
12818
- | { type: 'Kusama' };
12819
-
12820
- export type XcmV2BodyId =
12821
- | { type: 'Unit' }
12822
- | { type: 'Named'; value: Bytes }
12823
- | { type: 'Index'; value: number }
12824
- | { type: 'Executive' }
12825
- | { type: 'Technical' }
12826
- | { type: 'Legislative' }
12827
- | { type: 'Judicial' }
12828
- | { type: 'Defense' }
12829
- | { type: 'Administration' }
12830
- | { type: 'Treasury' };
12831
-
12832
- export type XcmV2BodyPart =
12833
- | { type: 'Voice' }
12834
- | { type: 'Members'; value: { count: number } }
12835
- | { type: 'Fraction'; value: { nom: number; denom: number } }
12836
- | { type: 'AtLeastProportion'; value: { nom: number; denom: number } }
12837
- | { type: 'MoreThanProportion'; value: { nom: number; denom: number } };
12838
-
12839
- export type XcmVersionedXcm =
12840
- | { type: 'V2'; value: XcmV2Xcm }
12841
- | { type: 'V3'; value: XcmV3Xcm }
12842
- | { type: 'V4'; value: StagingXcmV4Xcm };
12843
-
12844
- export type XcmV2Xcm = Array<XcmV2Instruction>;
12845
-
12846
- export type XcmV2Instruction =
12847
- | { type: 'WithdrawAsset'; value: XcmV2MultiassetMultiAssets }
12848
- | { type: 'ReserveAssetDeposited'; value: XcmV2MultiassetMultiAssets }
12849
- | { type: 'ReceiveTeleportedAsset'; value: XcmV2MultiassetMultiAssets }
12850
- | { type: 'QueryResponse'; value: { queryId: bigint; response: XcmV2Response; maxWeight: bigint } }
12851
- | {
12852
- type: 'TransferAsset';
12853
- value: { assets: XcmV2MultiassetMultiAssets; beneficiary: XcmV2MultilocationMultiLocation };
12854
- }
12855
- | {
12856
- type: 'TransferReserveAsset';
12857
- value: { assets: XcmV2MultiassetMultiAssets; dest: XcmV2MultilocationMultiLocation; xcm: XcmV2Xcm };
12858
- }
12859
- | { type: 'Transact'; value: { originType: XcmV2OriginKind; requireWeightAtMost: bigint; call: XcmDoubleEncoded } }
12860
- | { type: 'HrmpNewChannelOpenRequest'; value: { sender: number; maxMessageSize: number; maxCapacity: number } }
12861
- | { type: 'HrmpChannelAccepted'; value: { recipient: number } }
12862
- | { type: 'HrmpChannelClosing'; value: { initiator: number; sender: number; recipient: number } }
12863
- | { type: 'ClearOrigin' }
12864
- | { type: 'DescendOrigin'; value: XcmV2MultilocationJunctions }
12865
- | {
12866
- type: 'ReportError';
12867
- value: { queryId: bigint; dest: XcmV2MultilocationMultiLocation; maxResponseWeight: bigint };
12868
- }
12869
- | {
12870
- type: 'DepositAsset';
12871
- value: {
12872
- assets: XcmV2MultiassetMultiAssetFilter;
12873
- maxAssets: number;
12874
- beneficiary: XcmV2MultilocationMultiLocation;
12875
- };
12876
- }
12877
- | {
12878
- type: 'DepositReserveAsset';
12879
- value: {
12880
- assets: XcmV2MultiassetMultiAssetFilter;
12881
- maxAssets: number;
12882
- dest: XcmV2MultilocationMultiLocation;
12883
- xcm: XcmV2Xcm;
12884
- };
12885
- }
12886
- | { type: 'ExchangeAsset'; value: { give: XcmV2MultiassetMultiAssetFilter; receive: XcmV2MultiassetMultiAssets } }
12887
- | {
12888
- type: 'InitiateReserveWithdraw';
12889
- value: { assets: XcmV2MultiassetMultiAssetFilter; reserve: XcmV2MultilocationMultiLocation; xcm: XcmV2Xcm };
12890
- }
12891
- | {
12892
- type: 'InitiateTeleport';
12893
- value: { assets: XcmV2MultiassetMultiAssetFilter; dest: XcmV2MultilocationMultiLocation; xcm: XcmV2Xcm };
12894
- }
12895
- | {
12896
- type: 'QueryHolding';
12897
- value: {
12898
- queryId: bigint;
12899
- dest: XcmV2MultilocationMultiLocation;
12900
- assets: XcmV2MultiassetMultiAssetFilter;
12901
- maxResponseWeight: bigint;
12902
- };
12903
- }
12904
- | { type: 'BuyExecution'; value: { fees: XcmV2MultiassetMultiAsset; weightLimit: XcmV2WeightLimit } }
12905
- | { type: 'RefundSurplus' }
12906
- | { type: 'SetErrorHandler'; value: XcmV2Xcm }
12907
- | { type: 'SetAppendix'; value: XcmV2Xcm }
12908
- | { type: 'ClearError' }
12909
- | { type: 'ClaimAsset'; value: { assets: XcmV2MultiassetMultiAssets; ticket: XcmV2MultilocationMultiLocation } }
12910
- | { type: 'Trap'; value: bigint }
12911
- | { type: 'SubscribeVersion'; value: { queryId: bigint; maxResponseWeight: bigint } }
12912
- | { type: 'UnsubscribeVersion' };
12913
-
12914
- export type XcmV2MultiassetMultiAssets = Array<XcmV2MultiassetMultiAsset>;
12915
-
12916
- export type XcmV2MultiassetMultiAsset = { id: XcmV2MultiassetAssetId; fun: XcmV2MultiassetFungibility };
12917
-
12918
- export type XcmV2MultiassetAssetId =
12919
- | { type: 'Concrete'; value: XcmV2MultilocationMultiLocation }
12920
- | { type: 'Abstract'; value: Bytes };
12921
-
12922
- export type XcmV2MultiassetFungibility =
12923
- | { type: 'Fungible'; value: bigint }
12924
- | { type: 'NonFungible'; value: XcmV2MultiassetAssetInstance };
12925
-
12926
- export type XcmV2MultiassetAssetInstance =
12927
- | { type: 'Undefined' }
12928
- | { type: 'Index'; value: bigint }
12929
- | { type: 'Array4'; value: FixedBytes<4> }
12930
- | { type: 'Array8'; value: FixedBytes<8> }
12931
- | { type: 'Array16'; value: FixedBytes<16> }
12932
- | { type: 'Array32'; value: FixedBytes<32> }
12933
- | { type: 'Blob'; value: Bytes };
12934
-
12935
- export type XcmV2Response =
12936
- | { type: 'Null' }
12937
- | { type: 'Assets'; value: XcmV2MultiassetMultiAssets }
12938
- | { type: 'ExecutionResult'; value?: [number, XcmV2TraitsError] | undefined }
12939
- | { type: 'Version'; value: number };
12940
-
12941
- export type XcmV2TraitsError =
12942
- | { type: 'Overflow' }
12943
- | { type: 'Unimplemented' }
12944
- | { type: 'UntrustedReserveLocation' }
12945
- | { type: 'UntrustedTeleportLocation' }
12946
- | { type: 'MultiLocationFull' }
12947
- | { type: 'MultiLocationNotInvertible' }
12948
- | { type: 'BadOrigin' }
12949
- | { type: 'InvalidLocation' }
12950
- | { type: 'AssetNotFound' }
12951
- | { type: 'FailedToTransactAsset' }
12952
- | { type: 'NotWithdrawable' }
12953
- | { type: 'LocationCannotHold' }
12954
- | { type: 'ExceedsMaxMessageSize' }
12955
- | { type: 'DestinationUnsupported' }
12956
- | { type: 'Transport' }
12957
- | { type: 'Unroutable' }
12958
- | { type: 'UnknownClaim' }
12959
- | { type: 'FailedToDecode' }
12960
- | { type: 'MaxWeightInvalid' }
12961
- | { type: 'NotHoldingFees' }
12962
- | { type: 'TooExpensive' }
12963
- | { type: 'Trap'; value: bigint }
12964
- | { type: 'UnhandledXcmVersion' }
12965
- | { type: 'WeightLimitReached'; value: bigint }
12966
- | { type: 'Barrier' }
12967
- | { type: 'WeightNotComputable' };
12968
-
12969
- export type XcmV2OriginKind = 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';
13203
+ | { type: 'Kusama' }
13204
+ | { type: 'Westend' }
13205
+ | { type: 'Rococo' }
13206
+ | { type: 'Wococo' }
13207
+ | { type: 'Ethereum'; value: { chainId: bigint } }
13208
+ | { type: 'BitcoinCore' }
13209
+ | { type: 'BitcoinCash' }
13210
+ | { type: 'PolkadotBulletin' };
12970
13211
 
12971
- export type XcmDoubleEncoded = { encoded: Bytes };
13212
+ export type StagingXcmV4Location = { parents: number; interior: StagingXcmV4Junctions };
12972
13213
 
12973
- export type XcmV2MultiassetMultiAssetFilter =
12974
- | { type: 'Definite'; value: XcmV2MultiassetMultiAssets }
12975
- | { type: 'Wild'; value: XcmV2MultiassetWildMultiAsset };
13214
+ export type StagingXcmV4Junctions =
13215
+ | { type: 'Here' }
13216
+ | { type: 'X1'; value: FixedArray<StagingXcmV4Junction, 1> }
13217
+ | { type: 'X2'; value: FixedArray<StagingXcmV4Junction, 2> }
13218
+ | { type: 'X3'; value: FixedArray<StagingXcmV4Junction, 3> }
13219
+ | { type: 'X4'; value: FixedArray<StagingXcmV4Junction, 4> }
13220
+ | { type: 'X5'; value: FixedArray<StagingXcmV4Junction, 5> }
13221
+ | { type: 'X6'; value: FixedArray<StagingXcmV4Junction, 6> }
13222
+ | { type: 'X7'; value: FixedArray<StagingXcmV4Junction, 7> }
13223
+ | { type: 'X8'; value: FixedArray<StagingXcmV4Junction, 8> };
12976
13224
 
12977
- export type XcmV2MultiassetWildMultiAsset =
12978
- | { type: 'All' }
12979
- | { type: 'AllOf'; value: { id: XcmV2MultiassetAssetId; fun: XcmV2MultiassetWildFungibility } };
13225
+ export type StagingXcmV4Junction =
13226
+ | { type: 'Parachain'; value: number }
13227
+ | { type: 'AccountId32'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; id: FixedBytes<32> } }
13228
+ | { type: 'AccountIndex64'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; index: bigint } }
13229
+ | { type: 'AccountKey20'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; key: FixedBytes<20> } }
13230
+ | { type: 'PalletInstance'; value: number }
13231
+ | { type: 'GeneralIndex'; value: bigint }
13232
+ | { type: 'GeneralKey'; value: { length: number; data: FixedBytes<32> } }
13233
+ | { type: 'OnlyChild' }
13234
+ | { type: 'Plurality'; value: { id: XcmV3JunctionBodyId; part: XcmV3JunctionBodyPart } }
13235
+ | { type: 'GlobalConsensus'; value: StagingXcmV4JunctionNetworkId };
12980
13236
 
12981
- export type XcmV2MultiassetWildFungibility = 'Fungible' | 'NonFungible';
13237
+ export type StagingXcmV4JunctionNetworkId =
13238
+ | { type: 'ByGenesis'; value: FixedBytes<32> }
13239
+ | { type: 'ByFork'; value: { blockNumber: bigint; blockHash: FixedBytes<32> } }
13240
+ | { type: 'Polkadot' }
13241
+ | { type: 'Kusama' }
13242
+ | { type: 'Westend' }
13243
+ | { type: 'Rococo' }
13244
+ | { type: 'Wococo' }
13245
+ | { type: 'Ethereum'; value: { chainId: bigint } }
13246
+ | { type: 'BitcoinCore' }
13247
+ | { type: 'BitcoinCash' }
13248
+ | { type: 'PolkadotBulletin' };
12982
13249
 
12983
- export type XcmV2WeightLimit = { type: 'Unlimited' } | { type: 'Limited'; value: bigint };
13250
+ export type XcmVersionedXcm =
13251
+ | { type: 'V3'; value: XcmV3Xcm }
13252
+ | { type: 'V4'; value: StagingXcmV4Xcm }
13253
+ | { type: 'V5'; value: StagingXcmV5Xcm };
12984
13254
 
12985
13255
  export type XcmV3Xcm = Array<XcmV3Instruction>;
12986
13256
 
@@ -13171,6 +13441,8 @@ export type XcmV3MaybeErrorCode =
13171
13441
 
13172
13442
  export type XcmV3OriginKind = 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';
13173
13443
 
13444
+ export type XcmDoubleEncoded = { encoded: Bytes };
13445
+
13174
13446
  export type XcmV3QueryResponseInfo = {
13175
13447
  destination: StagingXcmV3MultilocationMultiLocation;
13176
13448
  queryId: bigint;
@@ -13337,50 +13609,264 @@ export type StagingXcmV4AssetWildAsset =
13337
13609
 
13338
13610
  export type StagingXcmV4AssetWildFungibility = 'Fungible' | 'NonFungible';
13339
13611
 
13340
- export type XcmVersionedAssets =
13341
- | { type: 'V2'; value: XcmV2MultiassetMultiAssets }
13342
- | { type: 'V3'; value: XcmV3MultiassetMultiAssets }
13343
- | { type: 'V4'; value: StagingXcmV4AssetAssets };
13344
-
13345
- export type StagingXcmExecutorAssetTransferTransferType =
13346
- | { type: 'Teleport' }
13347
- | { type: 'LocalReserve' }
13348
- | { type: 'DestinationReserve' }
13349
- | { type: 'RemoteReserve'; value: XcmVersionedLocation };
13350
-
13351
- export type XcmVersionedAssetId =
13352
- | { type: 'V3'; value: XcmV3MultiassetAssetId }
13353
- | { type: 'V4'; value: StagingXcmV4AssetAssetId };
13354
-
13355
- /**
13356
- * Contains a variant per dispatchable extrinsic that this pallet has.
13357
- **/
13358
- export type CumulusPalletXcmCall = null;
13359
-
13360
- export type CumulusPalletXcmCallLike = null;
13612
+ export type StagingXcmV5Xcm = Array<StagingXcmV5Instruction>;
13361
13613
 
13362
- /**
13363
- * Contains a variant per dispatchable extrinsic that this pallet has.
13364
- **/
13365
- export type PalletMessageQueueCall =
13366
- /**
13367
- * Remove a page which has no more messages remaining to be processed or is stale.
13368
- **/
13369
- | { name: 'ReapPage'; params: { messageOrigin: CumulusPrimitivesCoreAggregateMessageOrigin; pageIndex: number } }
13370
- /**
13371
- * Execute an overweight message.
13372
- *
13373
- * Temporary processing errors will be propagated whereas permanent errors are treated
13374
- * as success condition.
13375
- *
13376
- * - `origin`: Must be `Signed`.
13377
- * - `message_origin`: The origin from which the message to be executed arrived.
13378
- * - `page`: The page in the queue in which the message to be executed is sitting.
13379
- * - `index`: The index into the queue of the message to be executed.
13380
- * - `weight_limit`: The maximum amount of weight allowed to be consumed in the execution
13381
- * of the message.
13382
- *
13383
- * Benchmark complexity considerations: O(index + weight_limit).
13614
+ export type StagingXcmV5Instruction =
13615
+ | { type: 'WithdrawAsset'; value: StagingXcmV5AssetAssets }
13616
+ | { type: 'ReserveAssetDeposited'; value: StagingXcmV5AssetAssets }
13617
+ | { type: 'ReceiveTeleportedAsset'; value: StagingXcmV5AssetAssets }
13618
+ | {
13619
+ type: 'QueryResponse';
13620
+ value: {
13621
+ queryId: bigint;
13622
+ response: StagingXcmV5Response;
13623
+ maxWeight: SpWeightsWeightV2Weight;
13624
+ querier?: StagingXcmV5Location | undefined;
13625
+ };
13626
+ }
13627
+ | { type: 'TransferAsset'; value: { assets: StagingXcmV5AssetAssets; beneficiary: StagingXcmV5Location } }
13628
+ | {
13629
+ type: 'TransferReserveAsset';
13630
+ value: { assets: StagingXcmV5AssetAssets; dest: StagingXcmV5Location; xcm: StagingXcmV5Xcm };
13631
+ }
13632
+ | {
13633
+ type: 'Transact';
13634
+ value: {
13635
+ originKind: XcmV3OriginKind;
13636
+ fallbackMaxWeight?: SpWeightsWeightV2Weight | undefined;
13637
+ call: XcmDoubleEncoded;
13638
+ };
13639
+ }
13640
+ | { type: 'HrmpNewChannelOpenRequest'; value: { sender: number; maxMessageSize: number; maxCapacity: number } }
13641
+ | { type: 'HrmpChannelAccepted'; value: { recipient: number } }
13642
+ | { type: 'HrmpChannelClosing'; value: { initiator: number; sender: number; recipient: number } }
13643
+ | { type: 'ClearOrigin' }
13644
+ | { type: 'DescendOrigin'; value: StagingXcmV5Junctions }
13645
+ | { type: 'ReportError'; value: StagingXcmV5QueryResponseInfo }
13646
+ | { type: 'DepositAsset'; value: { assets: StagingXcmV5AssetAssetFilter; beneficiary: StagingXcmV5Location } }
13647
+ | {
13648
+ type: 'DepositReserveAsset';
13649
+ value: { assets: StagingXcmV5AssetAssetFilter; dest: StagingXcmV5Location; xcm: StagingXcmV5Xcm };
13650
+ }
13651
+ | {
13652
+ type: 'ExchangeAsset';
13653
+ value: { give: StagingXcmV5AssetAssetFilter; want: StagingXcmV5AssetAssets; maximal: boolean };
13654
+ }
13655
+ | {
13656
+ type: 'InitiateReserveWithdraw';
13657
+ value: { assets: StagingXcmV5AssetAssetFilter; reserve: StagingXcmV5Location; xcm: StagingXcmV5Xcm };
13658
+ }
13659
+ | {
13660
+ type: 'InitiateTeleport';
13661
+ value: { assets: StagingXcmV5AssetAssetFilter; dest: StagingXcmV5Location; xcm: StagingXcmV5Xcm };
13662
+ }
13663
+ | {
13664
+ type: 'ReportHolding';
13665
+ value: { responseInfo: StagingXcmV5QueryResponseInfo; assets: StagingXcmV5AssetAssetFilter };
13666
+ }
13667
+ | { type: 'BuyExecution'; value: { fees: StagingXcmV5Asset; weightLimit: XcmV3WeightLimit } }
13668
+ | { type: 'RefundSurplus' }
13669
+ | { type: 'SetErrorHandler'; value: StagingXcmV5Xcm }
13670
+ | { type: 'SetAppendix'; value: StagingXcmV5Xcm }
13671
+ | { type: 'ClearError' }
13672
+ | { type: 'ClaimAsset'; value: { assets: StagingXcmV5AssetAssets; ticket: StagingXcmV5Location } }
13673
+ | { type: 'Trap'; value: bigint }
13674
+ | { type: 'SubscribeVersion'; value: { queryId: bigint; maxResponseWeight: SpWeightsWeightV2Weight } }
13675
+ | { type: 'UnsubscribeVersion' }
13676
+ | { type: 'BurnAsset'; value: StagingXcmV5AssetAssets }
13677
+ | { type: 'ExpectAsset'; value: StagingXcmV5AssetAssets }
13678
+ | { type: 'ExpectOrigin'; value?: StagingXcmV5Location | undefined }
13679
+ | { type: 'ExpectError'; value?: [number, XcmV5TraitsError] | undefined }
13680
+ | { type: 'ExpectTransactStatus'; value: XcmV3MaybeErrorCode }
13681
+ | { type: 'QueryPallet'; value: { moduleName: Bytes; responseInfo: StagingXcmV5QueryResponseInfo } }
13682
+ | {
13683
+ type: 'ExpectPallet';
13684
+ value: { index: number; name: Bytes; moduleName: Bytes; crateMajor: number; minCrateMinor: number };
13685
+ }
13686
+ | { type: 'ReportTransactStatus'; value: StagingXcmV5QueryResponseInfo }
13687
+ | { type: 'ClearTransactStatus' }
13688
+ | { type: 'UniversalOrigin'; value: StagingXcmV5Junction }
13689
+ | {
13690
+ type: 'ExportMessage';
13691
+ value: { network: StagingXcmV5JunctionNetworkId; destination: StagingXcmV5Junctions; xcm: StagingXcmV5Xcm };
13692
+ }
13693
+ | { type: 'LockAsset'; value: { asset: StagingXcmV5Asset; unlocker: StagingXcmV5Location } }
13694
+ | { type: 'UnlockAsset'; value: { asset: StagingXcmV5Asset; target: StagingXcmV5Location } }
13695
+ | { type: 'NoteUnlockable'; value: { asset: StagingXcmV5Asset; owner: StagingXcmV5Location } }
13696
+ | { type: 'RequestUnlock'; value: { asset: StagingXcmV5Asset; locker: StagingXcmV5Location } }
13697
+ | { type: 'SetFeesMode'; value: { jitWithdraw: boolean } }
13698
+ | { type: 'SetTopic'; value: FixedBytes<32> }
13699
+ | { type: 'ClearTopic' }
13700
+ | { type: 'AliasOrigin'; value: StagingXcmV5Location }
13701
+ | {
13702
+ type: 'UnpaidExecution';
13703
+ value: { weightLimit: XcmV3WeightLimit; checkOrigin?: StagingXcmV5Location | undefined };
13704
+ }
13705
+ | { type: 'PayFees'; value: { asset: StagingXcmV5Asset } }
13706
+ | {
13707
+ type: 'InitiateTransfer';
13708
+ value: {
13709
+ destination: StagingXcmV5Location;
13710
+ remoteFees?: StagingXcmV5AssetAssetTransferFilter | undefined;
13711
+ preserveOrigin: boolean;
13712
+ assets: Array<StagingXcmV5AssetAssetTransferFilter>;
13713
+ remoteXcm: StagingXcmV5Xcm;
13714
+ };
13715
+ }
13716
+ | { type: 'ExecuteWithOrigin'; value: { descendantOrigin?: StagingXcmV5Junctions | undefined; xcm: StagingXcmV5Xcm } }
13717
+ | { type: 'SetHints'; value: { hints: Array<StagingXcmV5Hint> } };
13718
+
13719
+ export type StagingXcmV5AssetAssets = Array<StagingXcmV5Asset>;
13720
+
13721
+ export type StagingXcmV5Asset = { id: StagingXcmV5AssetAssetId; fun: StagingXcmV5AssetFungibility };
13722
+
13723
+ export type StagingXcmV5AssetAssetId = StagingXcmV5Location;
13724
+
13725
+ export type StagingXcmV5AssetFungibility =
13726
+ | { type: 'Fungible'; value: bigint }
13727
+ | { type: 'NonFungible'; value: StagingXcmV5AssetAssetInstance };
13728
+
13729
+ export type StagingXcmV5AssetAssetInstance =
13730
+ | { type: 'Undefined' }
13731
+ | { type: 'Index'; value: bigint }
13732
+ | { type: 'Array4'; value: FixedBytes<4> }
13733
+ | { type: 'Array8'; value: FixedBytes<8> }
13734
+ | { type: 'Array16'; value: FixedBytes<16> }
13735
+ | { type: 'Array32'; value: FixedBytes<32> };
13736
+
13737
+ export type StagingXcmV5Response =
13738
+ | { type: 'Null' }
13739
+ | { type: 'Assets'; value: StagingXcmV5AssetAssets }
13740
+ | { type: 'ExecutionResult'; value?: [number, XcmV5TraitsError] | undefined }
13741
+ | { type: 'Version'; value: number }
13742
+ | { type: 'PalletsInfo'; value: Array<StagingXcmV5PalletInfo> }
13743
+ | { type: 'DispatchResult'; value: XcmV3MaybeErrorCode };
13744
+
13745
+ export type XcmV5TraitsError =
13746
+ | { type: 'Overflow' }
13747
+ | { type: 'Unimplemented' }
13748
+ | { type: 'UntrustedReserveLocation' }
13749
+ | { type: 'UntrustedTeleportLocation' }
13750
+ | { type: 'LocationFull' }
13751
+ | { type: 'LocationNotInvertible' }
13752
+ | { type: 'BadOrigin' }
13753
+ | { type: 'InvalidLocation' }
13754
+ | { type: 'AssetNotFound' }
13755
+ | { type: 'FailedToTransactAsset' }
13756
+ | { type: 'NotWithdrawable' }
13757
+ | { type: 'LocationCannotHold' }
13758
+ | { type: 'ExceedsMaxMessageSize' }
13759
+ | { type: 'DestinationUnsupported' }
13760
+ | { type: 'Transport' }
13761
+ | { type: 'Unroutable' }
13762
+ | { type: 'UnknownClaim' }
13763
+ | { type: 'FailedToDecode' }
13764
+ | { type: 'MaxWeightInvalid' }
13765
+ | { type: 'NotHoldingFees' }
13766
+ | { type: 'TooExpensive' }
13767
+ | { type: 'Trap'; value: bigint }
13768
+ | { type: 'ExpectationFalse' }
13769
+ | { type: 'PalletNotFound' }
13770
+ | { type: 'NameMismatch' }
13771
+ | { type: 'VersionIncompatible' }
13772
+ | { type: 'HoldingWouldOverflow' }
13773
+ | { type: 'ExportError' }
13774
+ | { type: 'ReanchorFailed' }
13775
+ | { type: 'NoDeal' }
13776
+ | { type: 'FeesNotMet' }
13777
+ | { type: 'LockError' }
13778
+ | { type: 'NoPermission' }
13779
+ | { type: 'Unanchored' }
13780
+ | { type: 'NotDepositable' }
13781
+ | { type: 'TooManyAssets' }
13782
+ | { type: 'UnhandledXcmVersion' }
13783
+ | { type: 'WeightLimitReached'; value: SpWeightsWeightV2Weight }
13784
+ | { type: 'Barrier' }
13785
+ | { type: 'WeightNotComputable' }
13786
+ | { type: 'ExceedsStackLimit' };
13787
+
13788
+ export type StagingXcmV5PalletInfo = {
13789
+ index: number;
13790
+ name: Bytes;
13791
+ moduleName: Bytes;
13792
+ major: number;
13793
+ minor: number;
13794
+ patch: number;
13795
+ };
13796
+
13797
+ export type StagingXcmV5QueryResponseInfo = {
13798
+ destination: StagingXcmV5Location;
13799
+ queryId: bigint;
13800
+ maxWeight: SpWeightsWeightV2Weight;
13801
+ };
13802
+
13803
+ export type StagingXcmV5AssetAssetFilter =
13804
+ | { type: 'Definite'; value: StagingXcmV5AssetAssets }
13805
+ | { type: 'Wild'; value: StagingXcmV5AssetWildAsset };
13806
+
13807
+ export type StagingXcmV5AssetWildAsset =
13808
+ | { type: 'All' }
13809
+ | { type: 'AllOf'; value: { id: StagingXcmV5AssetAssetId; fun: StagingXcmV5AssetWildFungibility } }
13810
+ | { type: 'AllCounted'; value: number }
13811
+ | {
13812
+ type: 'AllOfCounted';
13813
+ value: { id: StagingXcmV5AssetAssetId; fun: StagingXcmV5AssetWildFungibility; count: number };
13814
+ };
13815
+
13816
+ export type StagingXcmV5AssetWildFungibility = 'Fungible' | 'NonFungible';
13817
+
13818
+ export type StagingXcmV5AssetAssetTransferFilter =
13819
+ | { type: 'Teleport'; value: StagingXcmV5AssetAssetFilter }
13820
+ | { type: 'ReserveDeposit'; value: StagingXcmV5AssetAssetFilter }
13821
+ | { type: 'ReserveWithdraw'; value: StagingXcmV5AssetAssetFilter };
13822
+
13823
+ export type StagingXcmV5Hint = { type: 'AssetClaimer'; value: { location: StagingXcmV5Location } };
13824
+
13825
+ export type XcmVersionedAssets =
13826
+ | { type: 'V3'; value: XcmV3MultiassetMultiAssets }
13827
+ | { type: 'V4'; value: StagingXcmV4AssetAssets }
13828
+ | { type: 'V5'; value: StagingXcmV5AssetAssets };
13829
+
13830
+ export type StagingXcmExecutorAssetTransferTransferType =
13831
+ | { type: 'Teleport' }
13832
+ | { type: 'LocalReserve' }
13833
+ | { type: 'DestinationReserve' }
13834
+ | { type: 'RemoteReserve'; value: XcmVersionedLocation };
13835
+
13836
+ export type XcmVersionedAssetId =
13837
+ | { type: 'V3'; value: XcmV3MultiassetAssetId }
13838
+ | { type: 'V4'; value: StagingXcmV4AssetAssetId }
13839
+ | { type: 'V5'; value: StagingXcmV5AssetAssetId };
13840
+
13841
+ /**
13842
+ * Contains a variant per dispatchable extrinsic that this pallet has.
13843
+ **/
13844
+ export type CumulusPalletXcmCall = null;
13845
+
13846
+ export type CumulusPalletXcmCallLike = null;
13847
+
13848
+ /**
13849
+ * Contains a variant per dispatchable extrinsic that this pallet has.
13850
+ **/
13851
+ export type PalletMessageQueueCall =
13852
+ /**
13853
+ * Remove a page which has no more messages remaining to be processed or is stale.
13854
+ **/
13855
+ | { name: 'ReapPage'; params: { messageOrigin: CumulusPrimitivesCoreAggregateMessageOrigin; pageIndex: number } }
13856
+ /**
13857
+ * Execute an overweight message.
13858
+ *
13859
+ * Temporary processing errors will be propagated whereas permanent errors are treated
13860
+ * as success condition.
13861
+ *
13862
+ * - `origin`: Must be `Signed`.
13863
+ * - `message_origin`: The origin from which the message to be executed arrived.
13864
+ * - `page`: The page in the queue in which the message to be executed is sitting.
13865
+ * - `index`: The index into the queue of the message to be executed.
13866
+ * - `weight_limit`: The maximum amount of weight allowed to be consumed in the execution
13867
+ * of the message.
13868
+ *
13869
+ * Benchmark complexity considerations: O(index + weight_limit).
13384
13870
  **/
13385
13871
  | {
13386
13872
  name: 'ExecuteOverweight';
@@ -13427,6 +13913,93 @@ export type CumulusPrimitivesCoreAggregateMessageOrigin =
13427
13913
  | { type: 'Parent' }
13428
13914
  | { type: 'Sibling'; value: PolkadotParachainPrimitivesPrimitivesId };
13429
13915
 
13916
+ /**
13917
+ * Contains a variant per dispatchable extrinsic that this pallet has.
13918
+ **/
13919
+ export type PalletMigrationsCall =
13920
+ /**
13921
+ * Allows root to set a cursor to forcefully start, stop or forward the migration process.
13922
+ *
13923
+ * Should normally not be needed and is only in place as emergency measure. Note that
13924
+ * restarting the migration process in this manner will not call the
13925
+ * [`MigrationStatusHandler::started`] hook or emit an `UpgradeStarted` event.
13926
+ **/
13927
+ | { name: 'ForceSetCursor'; params: { cursor?: PalletMigrationsMigrationCursor | undefined } }
13928
+ /**
13929
+ * Allows root to set an active cursor to forcefully start/forward the migration process.
13930
+ *
13931
+ * This is an edge-case version of [`Self::force_set_cursor`] that allows to set the
13932
+ * `started_at` value to the next block number. Otherwise this would not be possible, since
13933
+ * `force_set_cursor` takes an absolute block number. Setting `started_at` to `None`
13934
+ * indicates that the current block number plus one should be used.
13935
+ **/
13936
+ | {
13937
+ name: 'ForceSetActiveCursor';
13938
+ params: { index: number; innerCursor?: Bytes | undefined; startedAt?: number | undefined };
13939
+ }
13940
+ /**
13941
+ * Forces the onboarding of the migrations.
13942
+ *
13943
+ * This process happens automatically on a runtime upgrade. It is in place as an emergency
13944
+ * measurement. The cursor needs to be `None` for this to succeed.
13945
+ **/
13946
+ | { name: 'ForceOnboardMbms' }
13947
+ /**
13948
+ * Clears the `Historic` set.
13949
+ *
13950
+ * `map_cursor` must be set to the last value that was returned by the
13951
+ * `HistoricCleared` event. The first time `None` can be used. `limit` must be chosen in a
13952
+ * way that will result in a sensible weight.
13953
+ **/
13954
+ | { name: 'ClearHistoric'; params: { selector: PalletMigrationsHistoricCleanupSelector } };
13955
+
13956
+ export type PalletMigrationsCallLike =
13957
+ /**
13958
+ * Allows root to set a cursor to forcefully start, stop or forward the migration process.
13959
+ *
13960
+ * Should normally not be needed and is only in place as emergency measure. Note that
13961
+ * restarting the migration process in this manner will not call the
13962
+ * [`MigrationStatusHandler::started`] hook or emit an `UpgradeStarted` event.
13963
+ **/
13964
+ | { name: 'ForceSetCursor'; params: { cursor?: PalletMigrationsMigrationCursor | undefined } }
13965
+ /**
13966
+ * Allows root to set an active cursor to forcefully start/forward the migration process.
13967
+ *
13968
+ * This is an edge-case version of [`Self::force_set_cursor`] that allows to set the
13969
+ * `started_at` value to the next block number. Otherwise this would not be possible, since
13970
+ * `force_set_cursor` takes an absolute block number. Setting `started_at` to `None`
13971
+ * indicates that the current block number plus one should be used.
13972
+ **/
13973
+ | {
13974
+ name: 'ForceSetActiveCursor';
13975
+ params: { index: number; innerCursor?: BytesLike | undefined; startedAt?: number | undefined };
13976
+ }
13977
+ /**
13978
+ * Forces the onboarding of the migrations.
13979
+ *
13980
+ * This process happens automatically on a runtime upgrade. It is in place as an emergency
13981
+ * measurement. The cursor needs to be `None` for this to succeed.
13982
+ **/
13983
+ | { name: 'ForceOnboardMbms' }
13984
+ /**
13985
+ * Clears the `Historic` set.
13986
+ *
13987
+ * `map_cursor` must be set to the last value that was returned by the
13988
+ * `HistoricCleared` event. The first time `None` can be used. `limit` must be chosen in a
13989
+ * way that will result in a sensible weight.
13990
+ **/
13991
+ | { name: 'ClearHistoric'; params: { selector: PalletMigrationsHistoricCleanupSelector } };
13992
+
13993
+ export type PalletMigrationsMigrationCursor =
13994
+ | { type: 'Active'; value: PalletMigrationsActiveCursor }
13995
+ | { type: 'Stuck' };
13996
+
13997
+ export type PalletMigrationsActiveCursor = { index: number; innerCursor?: Bytes | undefined; startedAt: number };
13998
+
13999
+ export type PalletMigrationsHistoricCleanupSelector =
14000
+ | { type: 'Specific'; value: Array<Bytes> }
14001
+ | { type: 'Wildcard'; value: { limit?: number | undefined; previousCursor?: Bytes | undefined } };
14002
+
13430
14003
  /**
13431
14004
  * Contains a variant per dispatchable extrinsic that this pallet has.
13432
14005
  **/
@@ -13756,9 +14329,9 @@ export type OrmlXtokensModuleCallLike =
13756
14329
  };
13757
14330
 
13758
14331
  export type XcmVersionedAsset =
13759
- | { type: 'V2'; value: XcmV2MultiassetMultiAsset }
13760
14332
  | { type: 'V3'; value: XcmV3MultiassetMultiAsset }
13761
- | { type: 'V4'; value: StagingXcmV4Asset };
14333
+ | { type: 'V4'; value: StagingXcmV4Asset }
14334
+ | { type: 'V5'; value: StagingXcmV5Asset };
13762
14335
 
13763
14336
  /**
13764
14337
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -13988,332 +14561,15 @@ export type PalletSessionCallLike =
13988
14561
  * means being a controller account) or directly convertible into a validator ID (which
13989
14562
  * usually means being a stash account).
13990
14563
  *
13991
- * ## Complexity
13992
- * - `O(1)` in number of key types. Actual cost depends on the number of length of
13993
- * `T::Keys::key_ids()` which is fixed.
13994
- **/
13995
- | { name: 'PurgeKeys' };
13996
-
13997
- export type HydradxRuntimeOpaqueSessionKeys = { aura: SpConsensusAuraSr25519AppSr25519Public };
13998
-
13999
- export type SpConsensusAuraSr25519AppSr25519Public = FixedBytes<32>;
14000
-
14001
- /**
14002
- * Contains a variant per dispatchable extrinsic that this pallet has.
14003
- **/
14004
- export type PalletIsmpCall =
14005
- /**
14006
- * Execute the provided batch of ISMP messages, this will short-circuit and revert if any
14007
- * of the provided messages are invalid. This is an unsigned extrinsic that permits anyone
14008
- * execute ISMP messages for free, provided they have valid proofs and the messages have
14009
- * not been previously processed.
14010
- *
14011
- * The dispatch origin for this call must be an unsigned one.
14012
- *
14013
- * - `messages`: the messages to handle or process.
14014
- *
14015
- * Emits different message events based on the Message received if successful.
14016
- **/
14017
- | { name: 'HandleUnsigned'; params: { messages: Array<IsmpMessagingMessage> } }
14018
- /**
14019
- * Create a consensus client, using a subjectively chosen consensus state. This can also
14020
- * be used to overwrite an existing consensus state. The dispatch origin for this
14021
- * call must be `T::AdminOrigin`.
14022
- *
14023
- * - `message`: [`CreateConsensusState`] struct.
14024
- *
14025
- * Emits [`Event::ConsensusClientCreated`] if successful.
14026
- **/
14027
- | { name: 'CreateConsensusClient'; params: { message: IsmpMessagingCreateConsensusState } }
14028
- /**
14029
- * Modify the unbonding period and challenge period for a consensus state.
14030
- * The dispatch origin for this call must be `T::AdminOrigin`.
14031
- *
14032
- * - `message`: `UpdateConsensusState` struct.
14033
- **/
14034
- | { name: 'UpdateConsensusState'; params: { message: PalletIsmpUtilsUpdateConsensusState } }
14035
- /**
14036
- * Add more funds to a message (request or response) to be used for delivery and execution.
14037
- *
14038
- * Should not be called on a message that has been completed (delivered or timed-out) as
14039
- * those funds will be lost forever.
14040
- **/
14041
- | { name: 'FundMessage'; params: { message: PalletIsmpUtilsFundMessageParams } };
14042
-
14043
- export type PalletIsmpCallLike =
14044
- /**
14045
- * Execute the provided batch of ISMP messages, this will short-circuit and revert if any
14046
- * of the provided messages are invalid. This is an unsigned extrinsic that permits anyone
14047
- * execute ISMP messages for free, provided they have valid proofs and the messages have
14048
- * not been previously processed.
14049
- *
14050
- * The dispatch origin for this call must be an unsigned one.
14051
- *
14052
- * - `messages`: the messages to handle or process.
14053
- *
14054
- * Emits different message events based on the Message received if successful.
14055
- **/
14056
- | { name: 'HandleUnsigned'; params: { messages: Array<IsmpMessagingMessage> } }
14057
- /**
14058
- * Create a consensus client, using a subjectively chosen consensus state. This can also
14059
- * be used to overwrite an existing consensus state. The dispatch origin for this
14060
- * call must be `T::AdminOrigin`.
14061
- *
14062
- * - `message`: [`CreateConsensusState`] struct.
14063
- *
14064
- * Emits [`Event::ConsensusClientCreated`] if successful.
14065
- **/
14066
- | { name: 'CreateConsensusClient'; params: { message: IsmpMessagingCreateConsensusState } }
14067
- /**
14068
- * Modify the unbonding period and challenge period for a consensus state.
14069
- * The dispatch origin for this call must be `T::AdminOrigin`.
14070
- *
14071
- * - `message`: `UpdateConsensusState` struct.
14072
- **/
14073
- | { name: 'UpdateConsensusState'; params: { message: PalletIsmpUtilsUpdateConsensusState } }
14074
- /**
14075
- * Add more funds to a message (request or response) to be used for delivery and execution.
14076
- *
14077
- * Should not be called on a message that has been completed (delivered or timed-out) as
14078
- * those funds will be lost forever.
14079
- **/
14080
- | { name: 'FundMessage'; params: { message: PalletIsmpUtilsFundMessageParams } };
14081
-
14082
- export type IsmpMessagingMessage =
14083
- | { type: 'Consensus'; value: IsmpMessagingConsensusMessage }
14084
- | { type: 'FraudProof'; value: IsmpMessagingFraudProofMessage }
14085
- | { type: 'Request'; value: IsmpMessagingRequestMessage }
14086
- | { type: 'Response'; value: IsmpMessagingResponseMessage }
14087
- | { type: 'Timeout'; value: IsmpMessagingTimeoutMessage };
14088
-
14089
- export type IsmpMessagingConsensusMessage = { consensusProof: Bytes; consensusStateId: FixedBytes<4>; signer: Bytes };
14090
-
14091
- export type IsmpMessagingFraudProofMessage = { proof1: Bytes; proof2: Bytes; consensusStateId: FixedBytes<4> };
14092
-
14093
- export type IsmpMessagingRequestMessage = {
14094
- requests: Array<IsmpRouterPostRequest>;
14095
- proof: IsmpMessagingProof;
14096
- signer: Bytes;
14097
- };
14098
-
14099
- export type IsmpRouterPostRequest = {
14100
- source: IsmpHostStateMachine;
14101
- dest: IsmpHostStateMachine;
14102
- nonce: bigint;
14103
- from: Bytes;
14104
- to: Bytes;
14105
- timeoutTimestamp: bigint;
14106
- body: Bytes;
14107
- };
14108
-
14109
- export type IsmpHostStateMachine =
14110
- | { type: 'Evm'; value: number }
14111
- | { type: 'Polkadot'; value: number }
14112
- | { type: 'Kusama'; value: number }
14113
- | { type: 'Substrate'; value: FixedBytes<4> }
14114
- | { type: 'Tendermint'; value: FixedBytes<4> };
14115
-
14116
- export type IsmpMessagingProof = { height: IsmpConsensusStateMachineHeight; proof: Bytes };
14117
-
14118
- export type IsmpConsensusStateMachineHeight = { id: IsmpConsensusStateMachineId; height: bigint };
14119
-
14120
- export type IsmpConsensusStateMachineId = { stateId: IsmpHostStateMachine; consensusStateId: FixedBytes<4> };
14121
-
14122
- export type IsmpMessagingResponseMessage = {
14123
- datagram: IsmpRouterRequestResponse;
14124
- proof: IsmpMessagingProof;
14125
- signer: Bytes;
14126
- };
14127
-
14128
- export type IsmpRouterRequestResponse =
14129
- | { type: 'Request'; value: Array<IsmpRouterRequest> }
14130
- | { type: 'Response'; value: Array<IsmpRouterResponse> };
14131
-
14132
- export type IsmpRouterRequest =
14133
- | { type: 'Post'; value: IsmpRouterPostRequest }
14134
- | { type: 'Get'; value: IsmpRouterGetRequest };
14135
-
14136
- export type IsmpRouterGetRequest = {
14137
- source: IsmpHostStateMachine;
14138
- dest: IsmpHostStateMachine;
14139
- nonce: bigint;
14140
- from: Bytes;
14141
- keys: Array<Bytes>;
14142
- height: bigint;
14143
- context: Bytes;
14144
- timeoutTimestamp: bigint;
14145
- };
14146
-
14147
- export type IsmpRouterResponse =
14148
- | { type: 'Post'; value: IsmpRouterPostResponse }
14149
- | { type: 'Get'; value: IsmpRouterGetResponse };
14150
-
14151
- export type IsmpRouterPostResponse = { post: IsmpRouterPostRequest; response: Bytes; timeoutTimestamp: bigint };
14152
-
14153
- export type IsmpRouterGetResponse = { get: IsmpRouterGetRequest; values: Array<IsmpRouterStorageValue> };
14154
-
14155
- export type IsmpRouterStorageValue = { key: Bytes; value?: Bytes | undefined };
14156
-
14157
- export type IsmpMessagingTimeoutMessage =
14158
- | { type: 'Post'; value: { requests: Array<IsmpRouterRequest>; timeoutProof: IsmpMessagingProof } }
14159
- | { type: 'PostResponse'; value: { responses: Array<IsmpRouterPostResponse>; timeoutProof: IsmpMessagingProof } }
14160
- | { type: 'Get'; value: { requests: Array<IsmpRouterRequest> } };
14161
-
14162
- export type IsmpMessagingCreateConsensusState = {
14163
- consensusState: Bytes;
14164
- consensusClientId: FixedBytes<4>;
14165
- consensusStateId: FixedBytes<4>;
14166
- unbondingPeriod: bigint;
14167
- challengePeriods: Array<[IsmpHostStateMachine, bigint]>;
14168
- stateMachineCommitments: Array<[IsmpConsensusStateMachineId, IsmpMessagingStateCommitmentHeight]>;
14169
- };
14170
-
14171
- export type IsmpMessagingStateCommitmentHeight = { commitment: IsmpConsensusStateCommitment; height: bigint };
14172
-
14173
- export type IsmpConsensusStateCommitment = { timestamp: bigint; overlayRoot?: H256 | undefined; stateRoot: H256 };
14174
-
14175
- export type PalletIsmpUtilsUpdateConsensusState = {
14176
- consensusStateId: FixedBytes<4>;
14177
- unbondingPeriod?: bigint | undefined;
14178
- challengePeriods: Array<[IsmpHostStateMachine, bigint]>;
14179
- };
14180
-
14181
- export type PalletIsmpUtilsFundMessageParams = { commitment: PalletIsmpUtilsMessageCommitment; amount: bigint };
14182
-
14183
- export type PalletIsmpUtilsMessageCommitment = { type: 'Request'; value: H256 } | { type: 'Response'; value: H256 };
14184
-
14185
- /**
14186
- * Contains a variant per dispatchable extrinsic that this pallet has.
14187
- **/
14188
- export type IsmpParachainCall =
14189
- /**
14190
- * This allows block builders submit parachain consensus proofs as inherents. If the
14191
- * provided [`ConsensusMessage`] is not for a parachain, this call will fail.
14192
- **/
14193
- | { name: 'UpdateParachainConsensus'; params: { data: IsmpMessagingConsensusMessage } }
14194
- /**
14195
- * Add some new parachains to the parachains whitelist
14196
- **/
14197
- | { name: 'AddParachain'; params: { paraIds: Array<IsmpParachainParachainData> } }
14198
- /**
14199
- * Removes some parachains from the parachains whitelist
14200
- **/
14201
- | { name: 'RemoveParachain'; params: { paraIds: Array<number> } };
14202
-
14203
- export type IsmpParachainCallLike =
14204
- /**
14205
- * This allows block builders submit parachain consensus proofs as inherents. If the
14206
- * provided [`ConsensusMessage`] is not for a parachain, this call will fail.
14207
- **/
14208
- | { name: 'UpdateParachainConsensus'; params: { data: IsmpMessagingConsensusMessage } }
14209
- /**
14210
- * Add some new parachains to the parachains whitelist
14211
- **/
14212
- | { name: 'AddParachain'; params: { paraIds: Array<IsmpParachainParachainData> } }
14213
- /**
14214
- * Removes some parachains from the parachains whitelist
14215
- **/
14216
- | { name: 'RemoveParachain'; params: { paraIds: Array<number> } };
14217
-
14218
- export type IsmpParachainParachainData = { id: number; slotDuration: bigint };
14219
-
14220
- /**
14221
- * Contains a variant per dispatchable extrinsic that this pallet has.
14222
- **/
14223
- export type PalletTokenGatewayCall =
14224
- /**
14225
- * Teleports a registered asset
14226
- * locks the asset and dispatches a request to token gateway on the destination
14227
- **/
14228
- | { name: 'Teleport'; params: { params: PalletTokenGatewayTeleportParams } }
14229
- /**
14230
- * Set the token gateway address for specified chains
14231
- **/
14232
- | { name: 'SetTokenGatewayAddresses'; params: { addresses: Array<[IsmpHostStateMachine, Bytes]> } }
14233
- /**
14234
- * Registers a multi-chain ERC6160 asset. The asset should not already exist.
14235
- *
14236
- * This works by dispatching a request to the TokenGateway module on each requested chain
14237
- * to create the asset.
14238
- * `native` should be true if this asset originates from this chain
14239
- **/
14240
- | { name: 'CreateErc6160Asset'; params: { asset: PalletTokenGatewayAssetRegistration } }
14241
- /**
14242
- * Registers a multi-chain ERC6160 asset. The asset should not already exist.
14243
- *
14244
- * This works by dispatching a request to the TokenGateway module on each requested chain
14245
- * to create the asset.
14246
- **/
14247
- | { name: 'UpdateErc6160Asset'; params: { asset: TokenGatewayPrimitivesGatewayAssetUpdate } }
14248
- /**
14249
- * Update the precision for an existing asset
14250
- **/
14251
- | { name: 'UpdateAssetPrecision'; params: { update: PalletTokenGatewayPrecisionUpdate } };
14252
-
14253
- export type PalletTokenGatewayCallLike =
14254
- /**
14255
- * Teleports a registered asset
14256
- * locks the asset and dispatches a request to token gateway on the destination
14257
- **/
14258
- | { name: 'Teleport'; params: { params: PalletTokenGatewayTeleportParams } }
14259
- /**
14260
- * Set the token gateway address for specified chains
14261
- **/
14262
- | { name: 'SetTokenGatewayAddresses'; params: { addresses: Array<[IsmpHostStateMachine, BytesLike]> } }
14263
- /**
14264
- * Registers a multi-chain ERC6160 asset. The asset should not already exist.
14265
- *
14266
- * This works by dispatching a request to the TokenGateway module on each requested chain
14267
- * to create the asset.
14268
- * `native` should be true if this asset originates from this chain
14269
- **/
14270
- | { name: 'CreateErc6160Asset'; params: { asset: PalletTokenGatewayAssetRegistration } }
14271
- /**
14272
- * Registers a multi-chain ERC6160 asset. The asset should not already exist.
14273
- *
14274
- * This works by dispatching a request to the TokenGateway module on each requested chain
14275
- * to create the asset.
14276
- **/
14277
- | { name: 'UpdateErc6160Asset'; params: { asset: TokenGatewayPrimitivesGatewayAssetUpdate } }
14278
- /**
14279
- * Update the precision for an existing asset
14564
+ * ## Complexity
14565
+ * - `O(1)` in number of key types. Actual cost depends on the number of length of
14566
+ * `T::Keys::key_ids()` which is fixed.
14280
14567
  **/
14281
- | { name: 'UpdateAssetPrecision'; params: { update: PalletTokenGatewayPrecisionUpdate } };
14282
-
14283
- export type PalletTokenGatewayTeleportParams = {
14284
- assetId: number;
14285
- destination: IsmpHostStateMachine;
14286
- recepient: H256;
14287
- amount: bigint;
14288
- timeout: bigint;
14289
- tokenGateway: Bytes;
14290
- relayerFee: bigint;
14291
- callData?: Bytes | undefined;
14292
- redeem: boolean;
14293
- };
14294
-
14295
- export type PalletTokenGatewayAssetRegistration = {
14296
- localId: number;
14297
- reg: TokenGatewayPrimitivesGatewayAssetRegistration;
14298
- native: boolean;
14299
- precision: Array<[IsmpHostStateMachine, number]>;
14300
- };
14301
-
14302
- export type TokenGatewayPrimitivesGatewayAssetRegistration = {
14303
- name: Bytes;
14304
- symbol: Bytes;
14305
- chains: Array<IsmpHostStateMachine>;
14306
- minimumBalance?: bigint | undefined;
14307
- };
14568
+ | { name: 'PurgeKeys' };
14308
14569
 
14309
- export type TokenGatewayPrimitivesGatewayAssetUpdate = {
14310
- assetId: H256;
14311
- addChains: Array<IsmpHostStateMachine>;
14312
- removeChains: Array<IsmpHostStateMachine>;
14313
- newAdmins: Array<[IsmpHostStateMachine, H160]>;
14314
- };
14570
+ export type HydradxRuntimeOpaqueSessionKeys = { aura: SpConsensusAuraSr25519AppSr25519Public };
14315
14571
 
14316
- export type PalletTokenGatewayPrecisionUpdate = { assetId: number; precisions: Array<[IsmpHostStateMachine, number]> };
14572
+ export type SpConsensusAuraSr25519AppSr25519Public = FixedBytes<32>;
14317
14573
 
14318
14574
  /**
14319
14575
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -15385,7 +15641,7 @@ export type PalletDispenserEvent =
15385
15641
  /**
15386
15642
  * Target EVM address to receive ETH.
15387
15643
  **/
15388
- to: FixedBytes<20>;
15644
+ to: H160;
15389
15645
 
15390
15646
  /**
15391
15647
  * Requested amount of ETH (in wei).
@@ -15882,7 +16138,11 @@ export type PalletSchedulerEvent =
15882
16138
  /**
15883
16139
  * The given task can never be executed since it is overweight.
15884
16140
  **/
15885
- | { name: 'PermanentlyOverweight'; data: { task: [number, number]; id?: FixedBytes<32> | undefined } };
16141
+ | { name: 'PermanentlyOverweight'; data: { task: [number, number]; id?: FixedBytes<32> | undefined } }
16142
+ /**
16143
+ * Agenda is incomplete from `when`.
16144
+ **/
16145
+ | { name: 'AgendaIncomplete'; data: { when: number } };
15886
16146
 
15887
16147
  /**
15888
16148
  * The `Event` enum of this pallet
@@ -15920,30 +16180,49 @@ export type PalletXcmEvent =
15920
16180
  /**
15921
16181
  * Execution of an XCM message was attempted.
15922
16182
  **/
15923
- | { name: 'Attempted'; data: { outcome: StagingXcmV4TraitsOutcome } }
16183
+ | { name: 'Attempted'; data: { outcome: StagingXcmV5TraitsOutcome } }
15924
16184
  /**
15925
- * A XCM message was sent.
16185
+ * An XCM message was sent.
15926
16186
  **/
15927
16187
  | {
15928
16188
  name: 'Sent';
15929
16189
  data: {
15930
- origin: StagingXcmV4Location;
15931
- destination: StagingXcmV4Location;
15932
- message: StagingXcmV4Xcm;
16190
+ origin: StagingXcmV5Location;
16191
+ destination: StagingXcmV5Location;
16192
+ message: StagingXcmV5Xcm;
16193
+ messageId: FixedBytes<32>;
16194
+ };
16195
+ }
16196
+ /**
16197
+ * An XCM message failed to send.
16198
+ **/
16199
+ | {
16200
+ name: 'SendFailed';
16201
+ data: {
16202
+ origin: StagingXcmV5Location;
16203
+ destination: StagingXcmV5Location;
16204
+ error: XcmV3TraitsSendError;
15933
16205
  messageId: FixedBytes<32>;
15934
16206
  };
15935
16207
  }
16208
+ /**
16209
+ * An XCM message failed to process.
16210
+ **/
16211
+ | {
16212
+ name: 'ProcessXcmError';
16213
+ data: { origin: StagingXcmV5Location; error: XcmV5TraitsError; messageId: FixedBytes<32> };
16214
+ }
15936
16215
  /**
15937
16216
  * Query response received which does not match a registered query. This may be because a
15938
16217
  * matching query was never registered, it may be because it is a duplicate response, or
15939
16218
  * because the query timed out.
15940
16219
  **/
15941
- | { name: 'UnexpectedResponse'; data: { origin: StagingXcmV4Location; queryId: bigint } }
16220
+ | { name: 'UnexpectedResponse'; data: { origin: StagingXcmV5Location; queryId: bigint } }
15942
16221
  /**
15943
16222
  * Query response has been received and is ready for taking with `take_response`. There is
15944
16223
  * no registered notification call.
15945
16224
  **/
15946
- | { name: 'ResponseReady'; data: { queryId: bigint; response: StagingXcmV4Response } }
16225
+ | { name: 'ResponseReady'; data: { queryId: bigint; response: StagingXcmV5Response } }
15947
16226
  /**
15948
16227
  * Query response has been received and query is removed. The registered notification has
15949
16228
  * been dispatched and executed successfully.
@@ -15982,7 +16261,7 @@ export type PalletXcmEvent =
15982
16261
  **/
15983
16262
  | {
15984
16263
  name: 'InvalidResponder';
15985
- data: { origin: StagingXcmV4Location; queryId: bigint; expectedLocation?: StagingXcmV4Location | undefined };
16264
+ data: { origin: StagingXcmV5Location; queryId: bigint; expectedLocation?: StagingXcmV5Location | undefined };
15986
16265
  }
15987
16266
  /**
15988
16267
  * Expected query response has been received but the expected origin location placed in
@@ -15993,7 +16272,7 @@ export type PalletXcmEvent =
15993
16272
  * valid response will be dropped. Manual governance intervention is probably going to be
15994
16273
  * needed.
15995
16274
  **/
15996
- | { name: 'InvalidResponderVersion'; data: { origin: StagingXcmV4Location; queryId: bigint } }
16275
+ | { name: 'InvalidResponderVersion'; data: { origin: StagingXcmV5Location; queryId: bigint } }
15997
16276
  /**
15998
16277
  * Received query response has been read and removed.
15999
16278
  **/
@@ -16001,7 +16280,7 @@ export type PalletXcmEvent =
16001
16280
  /**
16002
16281
  * Some assets have been placed in an asset trap.
16003
16282
  **/
16004
- | { name: 'AssetsTrapped'; data: { hash: H256; origin: StagingXcmV4Location; assets: XcmVersionedAssets } }
16283
+ | { name: 'AssetsTrapped'; data: { hash: H256; origin: StagingXcmV5Location; assets: XcmVersionedAssets } }
16005
16284
  /**
16006
16285
  * An XCM version change notification message has been attempted to be sent.
16007
16286
  *
@@ -16010,9 +16289,9 @@ export type PalletXcmEvent =
16010
16289
  | {
16011
16290
  name: 'VersionChangeNotified';
16012
16291
  data: {
16013
- destination: StagingXcmV4Location;
16292
+ destination: StagingXcmV5Location;
16014
16293
  result: number;
16015
- cost: StagingXcmV4AssetAssets;
16294
+ cost: StagingXcmV5AssetAssets;
16016
16295
  messageId: FixedBytes<32>;
16017
16296
  };
16018
16297
  }
@@ -16020,12 +16299,12 @@ export type PalletXcmEvent =
16020
16299
  * The supported version of a location has been changed. This might be through an
16021
16300
  * automatic notification or a manual intervention.
16022
16301
  **/
16023
- | { name: 'SupportedVersionChanged'; data: { location: StagingXcmV4Location; version: number } }
16302
+ | { name: 'SupportedVersionChanged'; data: { location: StagingXcmV5Location; version: number } }
16024
16303
  /**
16025
16304
  * A given location which had a version change subscription was dropped owing to an error
16026
16305
  * sending the notification to it.
16027
16306
  **/
16028
- | { name: 'NotifyTargetSendFail'; data: { location: StagingXcmV4Location; queryId: bigint; error: XcmV3TraitsError } }
16307
+ | { name: 'NotifyTargetSendFail'; data: { location: StagingXcmV5Location; queryId: bigint; error: XcmV5TraitsError } }
16029
16308
  /**
16030
16309
  * A given location which had a version change subscription was dropped owing to an error
16031
16310
  * migrating the location to our new XCM format.
@@ -16040,7 +16319,7 @@ export type PalletXcmEvent =
16040
16319
  * valid response will be dropped. Manual governance intervention is probably going to be
16041
16320
  * needed.
16042
16321
  **/
16043
- | { name: 'InvalidQuerierVersion'; data: { origin: StagingXcmV4Location; queryId: bigint } }
16322
+ | { name: 'InvalidQuerierVersion'; data: { origin: StagingXcmV5Location; queryId: bigint } }
16044
16323
  /**
16045
16324
  * Expected query response has been received but the querier location of the response does
16046
16325
  * not match the expected. The query remains registered for a later, valid, response to
@@ -16049,10 +16328,10 @@ export type PalletXcmEvent =
16049
16328
  | {
16050
16329
  name: 'InvalidQuerier';
16051
16330
  data: {
16052
- origin: StagingXcmV4Location;
16331
+ origin: StagingXcmV5Location;
16053
16332
  queryId: bigint;
16054
- expectedQuerier: StagingXcmV4Location;
16055
- maybeActualQuerier?: StagingXcmV4Location | undefined;
16333
+ expectedQuerier: StagingXcmV5Location;
16334
+ maybeActualQuerier?: StagingXcmV5Location | undefined;
16056
16335
  };
16057
16336
  }
16058
16337
  /**
@@ -16061,14 +16340,14 @@ export type PalletXcmEvent =
16061
16340
  **/
16062
16341
  | {
16063
16342
  name: 'VersionNotifyStarted';
16064
- data: { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> };
16343
+ data: { destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> };
16065
16344
  }
16066
16345
  /**
16067
16346
  * We have requested that a remote chain send us XCM version change notifications.
16068
16347
  **/
16069
16348
  | {
16070
16349
  name: 'VersionNotifyRequested';
16071
- data: { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> };
16350
+ data: { destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> };
16072
16351
  }
16073
16352
  /**
16074
16353
  * We have requested that a remote chain stops sending us XCM version change
@@ -16076,25 +16355,50 @@ export type PalletXcmEvent =
16076
16355
  **/
16077
16356
  | {
16078
16357
  name: 'VersionNotifyUnrequested';
16079
- data: { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> };
16358
+ data: { destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> };
16080
16359
  }
16081
16360
  /**
16082
16361
  * Fees were paid from a location for an operation (often for using `SendXcm`).
16083
16362
  **/
16084
- | { name: 'FeesPaid'; data: { paying: StagingXcmV4Location; fees: StagingXcmV4AssetAssets } }
16363
+ | { name: 'FeesPaid'; data: { paying: StagingXcmV5Location; fees: StagingXcmV5AssetAssets } }
16085
16364
  /**
16086
16365
  * Some assets have been claimed from an asset trap
16087
16366
  **/
16088
- | { name: 'AssetsClaimed'; data: { hash: H256; origin: StagingXcmV4Location; assets: XcmVersionedAssets } }
16367
+ | { name: 'AssetsClaimed'; data: { hash: H256; origin: StagingXcmV5Location; assets: XcmVersionedAssets } }
16089
16368
  /**
16090
16369
  * A XCM version migration finished.
16091
16370
  **/
16092
- | { name: 'VersionMigrationFinished'; data: { version: number } };
16371
+ | { name: 'VersionMigrationFinished'; data: { version: number } }
16372
+ /**
16373
+ * An `aliaser` location was authorized by `target` to alias it, authorization valid until
16374
+ * `expiry` block number.
16375
+ **/
16376
+ | {
16377
+ name: 'AliasAuthorized';
16378
+ data: { aliaser: StagingXcmV5Location; target: StagingXcmV5Location; expiry?: bigint | undefined };
16379
+ }
16380
+ /**
16381
+ * `target` removed alias authorization for `aliaser`.
16382
+ **/
16383
+ | { name: 'AliasAuthorizationRemoved'; data: { aliaser: StagingXcmV5Location; target: StagingXcmV5Location } }
16384
+ /**
16385
+ * `target` removed all alias authorizations.
16386
+ **/
16387
+ | { name: 'AliasesAuthorizationsRemoved'; data: { target: StagingXcmV5Location } };
16093
16388
 
16094
- export type StagingXcmV4TraitsOutcome =
16389
+ export type StagingXcmV5TraitsOutcome =
16095
16390
  | { type: 'Complete'; value: { used: SpWeightsWeightV2Weight } }
16096
- | { type: 'Incomplete'; value: { used: SpWeightsWeightV2Weight; error: XcmV3TraitsError } }
16097
- | { type: 'Error'; value: { error: XcmV3TraitsError } };
16391
+ | { type: 'Incomplete'; value: { used: SpWeightsWeightV2Weight; error: XcmV5TraitsError } }
16392
+ | { type: 'Error'; value: { error: XcmV5TraitsError } };
16393
+
16394
+ export type XcmV3TraitsSendError =
16395
+ | 'NotApplicable'
16396
+ | 'Transport'
16397
+ | 'Unroutable'
16398
+ | 'DestinationUnsupported'
16399
+ | 'ExceedsMaxMessageSize'
16400
+ | 'MissingArgument'
16401
+ | 'Fees';
16098
16402
 
16099
16403
  /**
16100
16404
  * The `Event` enum of this pallet
@@ -16114,7 +16418,7 @@ export type CumulusPalletXcmEvent =
16114
16418
  * Downward message executed with the given outcome.
16115
16419
  * \[ id, outcome \]
16116
16420
  **/
16117
- | { name: 'ExecutedDownward'; data: [FixedBytes<32>, StagingXcmV4TraitsOutcome] };
16421
+ | { name: 'ExecutedDownward'; data: [FixedBytes<32>, StagingXcmV5TraitsOutcome] };
16118
16422
 
16119
16423
  /**
16120
16424
  * The `Event` enum of this pallet
@@ -16241,444 +16545,213 @@ export type FrameSupportMessagesProcessMessageError =
16241
16545
 
16242
16546
  /**
16243
16547
  * The `Event` enum of this pallet
16244
- **/
16245
- export type OrmlXcmModuleEvent =
16246
- /**
16247
- * XCM message sent. \[to, message\]
16248
- **/
16249
- { name: 'Sent'; data: { to: StagingXcmV4Location; message: StagingXcmV4Xcm } };
16250
-
16251
- /**
16252
- * The `Event` enum of this pallet
16253
- **/
16254
- export type OrmlXtokensModuleEvent =
16255
- /**
16256
- * Transferred `Asset` with fee.
16257
- **/
16258
- {
16259
- name: 'TransferredAssets';
16260
- data: { sender: AccountId32; assets: StagingXcmV4AssetAssets; fee: StagingXcmV4Asset; dest: StagingXcmV4Location };
16261
- };
16262
-
16263
- /**
16264
- * The `Event` enum of this pallet
16265
- **/
16266
- export type OrmlUnknownTokensModuleEvent =
16267
- /**
16268
- * Deposit success.
16269
- **/
16270
- | { name: 'Deposited'; data: { asset: StagingXcmV4Asset; who: StagingXcmV4Location } }
16271
- /**
16272
- * Withdraw success.
16273
- **/
16274
- | { name: 'Withdrawn'; data: { asset: StagingXcmV4Asset; who: StagingXcmV4Location } };
16275
-
16276
- /**
16277
- * The `Event` enum of this pallet
16278
- **/
16279
- export type PalletCollatorSelectionEvent =
16280
- /**
16281
- * New Invulnerables were set.
16282
- **/
16283
- | { name: 'NewInvulnerables'; data: { invulnerables: Array<AccountId32> } }
16284
- /**
16285
- * A new Invulnerable was added.
16286
- **/
16287
- | { name: 'InvulnerableAdded'; data: { accountId: AccountId32 } }
16288
- /**
16289
- * An Invulnerable was removed.
16290
- **/
16291
- | { name: 'InvulnerableRemoved'; data: { accountId: AccountId32 } }
16292
- /**
16293
- * The number of desired candidates was set.
16294
- **/
16295
- | { name: 'NewDesiredCandidates'; data: { desiredCandidates: number } }
16296
- /**
16297
- * The candidacy bond was set.
16298
- **/
16299
- | { name: 'NewCandidacyBond'; data: { bondAmount: bigint } }
16300
- /**
16301
- * A new candidate joined.
16302
- **/
16303
- | { name: 'CandidateAdded'; data: { accountId: AccountId32; deposit: bigint } }
16304
- /**
16305
- * Bond of a candidate updated.
16306
- **/
16307
- | { name: 'CandidateBondUpdated'; data: { accountId: AccountId32; deposit: bigint } }
16308
- /**
16309
- * A candidate was removed.
16310
- **/
16311
- | { name: 'CandidateRemoved'; data: { accountId: AccountId32 } }
16312
- /**
16313
- * An account was replaced in the candidate list by another one.
16314
- **/
16315
- | { name: 'CandidateReplaced'; data: { old: AccountId32; new: AccountId32; deposit: bigint } }
16316
- /**
16317
- * An account was unable to be added to the Invulnerables because they did not have keys
16318
- * registered. Other Invulnerables may have been set.
16319
- **/
16320
- | { name: 'InvalidInvulnerableSkipped'; data: { accountId: AccountId32 } };
16321
-
16322
- /**
16323
- * The `Event` enum of this pallet
16324
- **/
16325
- export type PalletSessionEvent =
16326
- /**
16327
- * New session has happened. Note that the argument is the session index, not the
16328
- * block number as the type might suggest.
16329
- **/
16330
- { name: 'NewSession'; data: { sessionIndex: number } };
16331
-
16332
- /**
16333
- * Pallet Events
16334
- **/
16335
- export type PalletIsmpEvent =
16336
- /**
16337
- * Emitted when a state machine is successfully updated to a new height
16338
- **/
16339
- | {
16340
- name: 'StateMachineUpdated';
16341
- data: {
16342
- /**
16343
- * State machine identifier
16344
- **/
16345
- stateMachineId: IsmpConsensusStateMachineId;
16346
-
16347
- /**
16348
- * State machine latest height
16349
- **/
16350
- latestHeight: bigint;
16351
- };
16352
- }
16353
- /**
16354
- * Emitted when a state commitment is vetoed by a fisherman
16355
- **/
16356
- | {
16357
- name: 'StateCommitmentVetoed';
16358
- data: {
16359
- /**
16360
- * State machine height
16361
- **/
16362
- height: IsmpConsensusStateMachineHeight;
16363
-
16364
- /**
16365
- * responsible fisherman
16366
- **/
16367
- fisherman: Bytes;
16368
- };
16369
- }
16370
- /**
16371
- * Indicates that a consensus client has been created
16372
- **/
16373
- | {
16374
- name: 'ConsensusClientCreated';
16375
- data: {
16376
- /**
16377
- * Consensus client id
16378
- **/
16379
- consensusClientId: FixedBytes<4>;
16380
- };
16381
- }
16382
- /**
16383
- * Indicates that a consensus client has been created
16384
- **/
16385
- | {
16386
- name: 'ConsensusClientFrozen';
16387
- data: {
16388
- /**
16389
- * Consensus client id
16390
- **/
16391
- consensusClientId: FixedBytes<4>;
16392
- };
16393
- }
16394
- /**
16395
- * An Outgoing Response has been deposited
16396
- **/
16397
- | {
16398
- name: 'Response';
16399
- data: {
16400
- /**
16401
- * Chain that this response will be routed to
16402
- **/
16403
- destChain: IsmpHostStateMachine;
16404
-
16405
- /**
16406
- * Source Chain for this response
16407
- **/
16408
- sourceChain: IsmpHostStateMachine;
16409
-
16410
- /**
16411
- * Nonce for the request which this response is for
16412
- **/
16413
- requestNonce: bigint;
16414
-
16415
- /**
16416
- * Response Commitment
16417
- **/
16418
- commitment: H256;
16419
-
16420
- /**
16421
- * Request commitment
16422
- **/
16423
- reqCommitment: H256;
16424
- };
16425
- }
16426
- /**
16427
- * An Outgoing Request has been deposited
16428
- **/
16429
- | {
16430
- name: 'Request';
16431
- data: {
16432
- /**
16433
- * Chain that this request will be routed to
16434
- **/
16435
- destChain: IsmpHostStateMachine;
16436
-
16437
- /**
16438
- * Source Chain for request
16439
- **/
16440
- sourceChain: IsmpHostStateMachine;
16441
-
16442
- /**
16443
- * Request nonce
16444
- **/
16445
- requestNonce: bigint;
16446
-
16447
- /**
16448
- * Commitment
16449
- **/
16450
- commitment: H256;
16451
- };
16452
- }
16453
- /**
16454
- * Some errors handling some ismp messages
16455
- **/
16456
- | {
16457
- name: 'Errors';
16458
- data: {
16459
- /**
16460
- * Message handling errors
16461
- **/
16462
- errors: Array<PalletIsmpErrorsHandlingError>;
16463
- };
16464
- }
16465
- /**
16466
- * Post Request Handled
16467
- **/
16468
- | { name: 'PostRequestHandled'; data: IsmpEventsRequestResponseHandled }
16469
- /**
16470
- * Post Response Handled
16471
- **/
16472
- | { name: 'PostResponseHandled'; data: IsmpEventsRequestResponseHandled }
16473
- /**
16474
- * Get Response Handled
16475
- **/
16476
- | { name: 'GetRequestHandled'; data: IsmpEventsRequestResponseHandled }
16477
- /**
16478
- * Post request timeout handled
16479
- **/
16480
- | { name: 'PostRequestTimeoutHandled'; data: IsmpEventsTimeoutHandled }
16481
- /**
16482
- * Post response timeout handled
16483
- **/
16484
- | { name: 'PostResponseTimeoutHandled'; data: IsmpEventsTimeoutHandled }
16485
- /**
16486
- * Get request timeout handled
16487
- **/
16488
- | { name: 'GetRequestTimeoutHandled'; data: IsmpEventsTimeoutHandled };
16489
-
16490
- export type PalletIsmpErrorsHandlingError = { message: Bytes };
16491
-
16492
- export type IsmpEventsRequestResponseHandled = { commitment: H256; relayer: Bytes };
16493
-
16494
- export type IsmpEventsTimeoutHandled = { commitment: H256; source: IsmpHostStateMachine; dest: IsmpHostStateMachine };
16495
-
16496
- /**
16497
- * Events emitted by this pallet
16498
- **/
16499
- export type IsmpParachainEvent =
16500
- /**
16501
- * Parachains with the `para_ids` have been added to the whitelist
16502
- **/
16503
- | {
16504
- name: 'ParachainsAdded';
16505
- data: {
16506
- /**
16507
- * The parachains in question
16508
- **/
16509
- paraIds: Array<IsmpParachainParachainData>;
16510
- };
16511
- }
16512
- /**
16513
- * Parachains with the `para_ids` have been removed from the whitelist
16514
- **/
16515
- | {
16516
- name: 'ParachainsRemoved';
16517
- data: {
16518
- /**
16519
- * The parachains in question
16520
- **/
16521
- paraIds: Array<number>;
16522
- };
16523
- };
16524
-
16525
- /**
16526
- * The `Event` enum of this pallet
16527
- **/
16528
- export type PalletHyperbridgeEvent =
16529
- /**
16530
- * Hyperbridge governance has now updated it's host params on this chain.
16531
- **/
16532
- | {
16533
- name: 'HostParamsUpdated';
16534
- data: {
16535
- /**
16536
- * The old host params
16537
- **/
16538
- old: PalletHyperbridgeVersionedHostParams;
16539
-
16540
- /**
16541
- * The new host params
16542
- **/
16543
- new: PalletHyperbridgeVersionedHostParams;
16544
- };
16545
- }
16548
+ **/
16549
+ export type PalletMigrationsEvent =
16546
16550
  /**
16547
- * A relayer has withdrawn some fees
16551
+ * A Runtime upgrade started.
16552
+ *
16553
+ * Its end is indicated by `UpgradeCompleted` or `UpgradeFailed`.
16548
16554
  **/
16549
16555
  | {
16550
- name: 'RelayerFeeWithdrawn';
16556
+ name: 'UpgradeStarted';
16551
16557
  data: {
16552
16558
  /**
16553
- * The amount that was withdrawn
16554
- **/
16555
- amount: bigint;
16556
-
16557
- /**
16558
- * The withdrawal beneficiary
16559
+ * The number of migrations that this upgrade contains.
16560
+ *
16561
+ * This can be used to design a progress indicator in combination with counting the
16562
+ * `MigrationCompleted` and `MigrationSkipped` events.
16559
16563
  **/
16560
- account: AccountId32;
16564
+ migrations: number;
16561
16565
  };
16562
16566
  }
16563
16567
  /**
16564
- * Hyperbridge has withdrawn it's protocol revenue
16568
+ * The current runtime upgrade completed.
16569
+ *
16570
+ * This implies that all of its migrations completed successfully as well.
16571
+ **/
16572
+ | { name: 'UpgradeCompleted' }
16573
+ /**
16574
+ * Runtime upgrade failed.
16575
+ *
16576
+ * This is very bad and will require governance intervention.
16577
+ **/
16578
+ | { name: 'UpgradeFailed' }
16579
+ /**
16580
+ * A migration was skipped since it was already executed in the past.
16565
16581
  **/
16566
16582
  | {
16567
- name: 'ProtocolRevenueWithdrawn';
16583
+ name: 'MigrationSkipped';
16568
16584
  data: {
16569
16585
  /**
16570
- * The amount that was withdrawn
16571
- **/
16572
- amount: bigint;
16573
-
16574
- /**
16575
- * The withdrawal beneficiary
16586
+ * The index of the skipped migration within the [`Config::Migrations`] list.
16576
16587
  **/
16577
- account: AccountId32;
16588
+ index: number;
16578
16589
  };
16579
- };
16580
-
16581
- export type PalletHyperbridgeVersionedHostParams = { type: 'V1'; value: PalletHyperbridgeSubstrateHostParams };
16582
-
16583
- export type PalletHyperbridgeSubstrateHostParams = {
16584
- defaultPerByteFee: bigint;
16585
- perByteFees: Array<[IsmpHostStateMachine, bigint]>;
16586
- assetRegistrationFee: bigint;
16587
- };
16588
-
16589
- /**
16590
- * Pallet events that functions in this pallet can emit.
16591
- **/
16592
- export type PalletTokenGatewayEvent =
16590
+ }
16593
16591
  /**
16594
- * An asset has been teleported
16592
+ * A migration progressed.
16595
16593
  **/
16596
16594
  | {
16597
- name: 'AssetTeleported';
16595
+ name: 'MigrationAdvanced';
16598
16596
  data: {
16599
16597
  /**
16600
- * Source account
16601
- **/
16602
- from: AccountId32;
16603
-
16604
- /**
16605
- * beneficiary account on destination
16606
- **/
16607
- to: H256;
16608
-
16609
- /**
16610
- * Amount transferred
16611
- **/
16612
- amount: bigint;
16613
-
16614
- /**
16615
- * Destination chain
16598
+ * The index of the migration within the [`Config::Migrations`] list.
16616
16599
  **/
16617
- dest: IsmpHostStateMachine;
16600
+ index: number;
16618
16601
 
16619
16602
  /**
16620
- * Request commitment
16603
+ * The number of blocks that this migration took so far.
16621
16604
  **/
16622
- commitment: H256;
16605
+ took: number;
16623
16606
  };
16624
16607
  }
16625
16608
  /**
16626
- * An asset has been received and transferred to the beneficiary's account
16609
+ * A Migration completed.
16627
16610
  **/
16628
16611
  | {
16629
- name: 'AssetReceived';
16612
+ name: 'MigrationCompleted';
16630
16613
  data: {
16631
16614
  /**
16632
- * beneficiary account on relaychain
16633
- **/
16634
- beneficiary: AccountId32;
16635
-
16636
- /**
16637
- * Amount transferred
16615
+ * The index of the migration within the [`Config::Migrations`] list.
16638
16616
  **/
16639
- amount: bigint;
16617
+ index: number;
16640
16618
 
16641
16619
  /**
16642
- * Destination chain
16620
+ * The number of blocks that this migration took so far.
16643
16621
  **/
16644
- source: IsmpHostStateMachine;
16622
+ took: number;
16645
16623
  };
16646
16624
  }
16647
16625
  /**
16648
- * An asset has been refunded and transferred to the beneficiary's account
16626
+ * A Migration failed.
16627
+ *
16628
+ * This implies that the whole upgrade failed and governance intervention is required.
16649
16629
  **/
16650
16630
  | {
16651
- name: 'AssetRefunded';
16631
+ name: 'MigrationFailed';
16652
16632
  data: {
16653
16633
  /**
16654
- * beneficiary account on relaychain
16655
- **/
16656
- beneficiary: AccountId32;
16657
-
16658
- /**
16659
- * Amount transferred
16634
+ * The index of the migration within the [`Config::Migrations`] list.
16660
16635
  **/
16661
- amount: bigint;
16636
+ index: number;
16662
16637
 
16663
16638
  /**
16664
- * Destination chain
16639
+ * The number of blocks that this migration took so far.
16665
16640
  **/
16666
- source: IsmpHostStateMachine;
16641
+ took: number;
16667
16642
  };
16668
16643
  }
16669
16644
  /**
16670
- * ERC6160 asset creation request dispatched to hyperbridge
16645
+ * The set of historical migrations has been cleared.
16671
16646
  **/
16672
16647
  | {
16673
- name: 'Erc6160AssetRegistrationDispatched';
16648
+ name: 'HistoricCleared';
16674
16649
  data: {
16675
16650
  /**
16676
- * Request commitment
16651
+ * Should be passed to `clear_historic` in a successive call.
16677
16652
  **/
16678
- commitment: H256;
16653
+ nextCursor?: Bytes | undefined;
16679
16654
  };
16680
16655
  };
16681
16656
 
16657
+ /**
16658
+ * The `Event` enum of this pallet
16659
+ **/
16660
+ export type OrmlXcmModuleEvent =
16661
+ /**
16662
+ * XCM message sent. \[to, message\]
16663
+ **/
16664
+ { name: 'Sent'; data: { to: StagingXcmV5Location; message: StagingXcmV5Xcm } };
16665
+
16666
+ /**
16667
+ * The `Event` enum of this pallet
16668
+ **/
16669
+ export type OrmlXtokensModuleEvent =
16670
+ /**
16671
+ * Transferred `Asset` with fee.
16672
+ **/
16673
+ {
16674
+ name: 'TransferredAssets';
16675
+ data: { sender: AccountId32; assets: StagingXcmV5AssetAssets; fee: StagingXcmV5Asset; dest: StagingXcmV5Location };
16676
+ };
16677
+
16678
+ /**
16679
+ * The `Event` enum of this pallet
16680
+ **/
16681
+ export type OrmlUnknownTokensModuleEvent =
16682
+ /**
16683
+ * Deposit success.
16684
+ **/
16685
+ | { name: 'Deposited'; data: { asset: StagingXcmV5Asset; who: StagingXcmV5Location } }
16686
+ /**
16687
+ * Withdraw success.
16688
+ **/
16689
+ | { name: 'Withdrawn'; data: { asset: StagingXcmV5Asset; who: StagingXcmV5Location } };
16690
+
16691
+ /**
16692
+ * The `Event` enum of this pallet
16693
+ **/
16694
+ export type PalletCollatorSelectionEvent =
16695
+ /**
16696
+ * New Invulnerables were set.
16697
+ **/
16698
+ | { name: 'NewInvulnerables'; data: { invulnerables: Array<AccountId32> } }
16699
+ /**
16700
+ * A new Invulnerable was added.
16701
+ **/
16702
+ | { name: 'InvulnerableAdded'; data: { accountId: AccountId32 } }
16703
+ /**
16704
+ * An Invulnerable was removed.
16705
+ **/
16706
+ | { name: 'InvulnerableRemoved'; data: { accountId: AccountId32 } }
16707
+ /**
16708
+ * The number of desired candidates was set.
16709
+ **/
16710
+ | { name: 'NewDesiredCandidates'; data: { desiredCandidates: number } }
16711
+ /**
16712
+ * The candidacy bond was set.
16713
+ **/
16714
+ | { name: 'NewCandidacyBond'; data: { bondAmount: bigint } }
16715
+ /**
16716
+ * A new candidate joined.
16717
+ **/
16718
+ | { name: 'CandidateAdded'; data: { accountId: AccountId32; deposit: bigint } }
16719
+ /**
16720
+ * Bond of a candidate updated.
16721
+ **/
16722
+ | { name: 'CandidateBondUpdated'; data: { accountId: AccountId32; deposit: bigint } }
16723
+ /**
16724
+ * A candidate was removed.
16725
+ **/
16726
+ | { name: 'CandidateRemoved'; data: { accountId: AccountId32 } }
16727
+ /**
16728
+ * An account was replaced in the candidate list by another one.
16729
+ **/
16730
+ | { name: 'CandidateReplaced'; data: { old: AccountId32; new: AccountId32; deposit: bigint } }
16731
+ /**
16732
+ * An account was unable to be added to the Invulnerables because they did not have keys
16733
+ * registered. Other Invulnerables may have been set.
16734
+ **/
16735
+ | { name: 'InvalidInvulnerableSkipped'; data: { accountId: AccountId32 } };
16736
+
16737
+ /**
16738
+ * The `Event` enum of this pallet
16739
+ **/
16740
+ export type PalletSessionEvent =
16741
+ /**
16742
+ * New session has happened. Note that the argument is the session index, not the
16743
+ * block number as the type might suggest.
16744
+ **/
16745
+ | { name: 'NewSession'; data: { sessionIndex: number } }
16746
+ /**
16747
+ * Validator has been disabled.
16748
+ **/
16749
+ | { name: 'ValidatorDisabled'; data: { validator: AccountId32 } }
16750
+ /**
16751
+ * Validator has been re-enabled.
16752
+ **/
16753
+ | { name: 'ValidatorReenabled'; data: { validator: AccountId32 } };
16754
+
16682
16755
  /**
16683
16756
  * The `Event` enum of this pallet
16684
16757
  **/
@@ -16690,7 +16763,20 @@ export type PalletEmaOracleEvent =
16690
16763
  /**
16691
16764
  * Oracle was removed from the whitelist.
16692
16765
  **/
16693
- | { name: 'RemovedFromWhitelist'; data: { source: FixedBytes<8>; assets: [number, number] } };
16766
+ | { name: 'RemovedFromWhitelist'; data: { source: FixedBytes<8>; assets: [number, number] } }
16767
+ /**
16768
+ * Oracle price was updated
16769
+ **/
16770
+ | {
16771
+ name: 'OracleUpdated';
16772
+ data: {
16773
+ source: FixedBytes<8>;
16774
+ assets: [number, number];
16775
+ updates: Array<[HydradxTraitsOracleOraclePeriod, HydraDxMathRatio]>;
16776
+ };
16777
+ };
16778
+
16779
+ export type HydraDxMathRatio = { n: bigint; d: bigint };
16694
16780
 
16695
16781
  /**
16696
16782
  * The `Event` enum of this pallet
@@ -16829,12 +16915,18 @@ export type FrameSupportTokensMiscIdAmount = { id: HydradxRuntimeRuntimeHoldReas
16829
16915
 
16830
16916
  export type HydradxRuntimeRuntimeHoldReason =
16831
16917
  | { type: 'Preimage'; value: PalletPreimageHoldReason }
16832
- | { type: 'StateTrieMigration'; value: PalletStateTrieMigrationHoldReason };
16918
+ | { type: 'TechnicalCommittee'; value: PalletCollectiveHoldReason }
16919
+ | { type: 'StateTrieMigration'; value: PalletStateTrieMigrationHoldReason }
16920
+ | { type: 'PolkadotXcm'; value: PalletXcmHoldReason };
16833
16921
 
16834
16922
  export type PalletPreimageHoldReason = 'Preimage';
16835
16923
 
16924
+ export type PalletCollectiveHoldReason = 'ProposalSubmission';
16925
+
16836
16926
  export type PalletStateTrieMigrationHoldReason = 'SlashForMigrate';
16837
16927
 
16928
+ export type PalletXcmHoldReason = 'AuthorizeAlias';
16929
+
16838
16930
  export type FrameSupportTokensMiscIdAmount002 = { id: []; amount: bigint };
16839
16931
 
16840
16932
  /**
@@ -17091,7 +17183,14 @@ export type PalletIdentityRegistration = {
17091
17183
 
17092
17184
  export type PalletIdentityRegistrarInfo = { account: AccountId32; fee: bigint; fields: bigint };
17093
17185
 
17094
- export type PalletIdentityAuthorityProperties = { suffix: Bytes; allocation: number };
17186
+ export type PalletIdentityAuthorityProperties = { accountId: AccountId32; allocation: number };
17187
+
17188
+ export type PalletIdentityUsernameInformation = { owner: AccountId32; provider: PalletIdentityProvider };
17189
+
17190
+ export type PalletIdentityProvider =
17191
+ | { type: 'Allocation' }
17192
+ | { type: 'AuthorityDeposit'; value: bigint }
17193
+ | { type: 'System' };
17095
17194
 
17096
17195
  /**
17097
17196
  * The `Error` enum of this pallet.
@@ -17200,7 +17299,24 @@ export type PalletIdentityError =
17200
17299
  /**
17201
17300
  * The username cannot be forcefully removed because it can still be accepted.
17202
17301
  **/
17203
- | 'NotExpired';
17302
+ | 'NotExpired'
17303
+ /**
17304
+ * The username cannot be removed because it's still in the grace period.
17305
+ **/
17306
+ | 'TooEarly'
17307
+ /**
17308
+ * The username cannot be removed because it is not unbinding.
17309
+ **/
17310
+ | 'NotUnbinding'
17311
+ /**
17312
+ * The username cannot be unbound because it is already unbinding.
17313
+ **/
17314
+ | 'AlreadyUnbinding'
17315
+ /**
17316
+ * The action cannot be performed because of insufficient privileges (e.g. authority
17317
+ * trying to unbind a username provided by the system).
17318
+ **/
17319
+ | 'InsufficientPrivileges';
17204
17320
 
17205
17321
  export type PalletDemocracyReferendumInfo =
17206
17322
  | { type: 'Ongoing'; value: PalletDemocracyReferendumStatus }
@@ -17397,7 +17513,11 @@ export type PalletCollectiveError =
17397
17513
  /**
17398
17514
  * Prime account is not a member
17399
17515
  **/
17400
- | 'PrimeAccountNotMember';
17516
+ | 'PrimeAccountNotMember'
17517
+ /**
17518
+ * Proposal is still active.
17519
+ **/
17520
+ | 'ProposalActive';
17401
17521
 
17402
17522
  export type PalletProxyProxyDefinition = {
17403
17523
  delegate: AccountId32;
@@ -17484,11 +17604,12 @@ export type PalletMultisigError =
17484
17604
  **/
17485
17605
  | 'SenderInSignatories'
17486
17606
  /**
17487
- * Multisig operation not found when attempting to cancel.
17607
+ * Multisig operation not found in storage.
17488
17608
  **/
17489
17609
  | 'NotFound'
17490
17610
  /**
17491
- * Only the account that originally created the multisig is able to cancel it.
17611
+ * Only the account that originally created the multisig is able to cancel it or update
17612
+ * its deposits.
17492
17613
  **/
17493
17614
  | 'NotOwner'
17494
17615
  /**
@@ -17715,7 +17836,7 @@ export type PalletReferendaDeposit = { who: AccountId32; amount: bigint };
17715
17836
 
17716
17837
  export type PalletReferendaDecidingStatus = { since: number; confirming?: number | undefined };
17717
17838
 
17718
- export type PalletReferendaTrackInfo = {
17839
+ export type PalletReferendaTrackDetails = {
17719
17840
  name: string;
17720
17841
  maxDeciding: number;
17721
17842
  decisionDeposit: bigint;
@@ -18377,7 +18498,15 @@ export type PalletOmnipoolLiquidityMiningError =
18377
18498
  /**
18378
18499
  * No farms specified to join
18379
18500
  **/
18380
- | { name: 'NoFarmEntriesSpecified' };
18501
+ | { name: 'NoFarmEntriesSpecified' }
18502
+ /**
18503
+ * No assets specified in the withdrawal
18504
+ **/
18505
+ | { name: 'NoAssetsSpecified' }
18506
+ /**
18507
+ * The provided position_id does not match the deposit's associated position.
18508
+ **/
18509
+ | { name: 'PositionIdMismatch' };
18381
18510
 
18382
18511
  export type PalletOmnipoolLiquidityMiningInconsistentStateError = 'MissingLpPosition' | 'DepositDataNotFound';
18383
18512
 
@@ -18478,7 +18607,12 @@ export type PalletCircuitBreakerError =
18478
18607
  /**
18479
18608
  * Invalid amount to save deposit
18480
18609
  **/
18481
- | 'InvalidAmount';
18610
+ | 'InvalidAmount'
18611
+ /**
18612
+ * Deposit limit would be exceeded for a whitelisted account.
18613
+ * Operation rejected to prevent funds being locked on system accounts.
18614
+ **/
18615
+ | 'DepositLimitExceededForWhitelistedAccount';
18482
18616
 
18483
18617
  /**
18484
18618
  * The `Error` enum of this pallet.
@@ -18766,7 +18900,15 @@ export type PalletStableswapError =
18766
18900
  /**
18767
18901
  * Pool does not have pegs configured.
18768
18902
  **/
18769
- | 'NoPegSource';
18903
+ | 'NoPegSource'
18904
+ /**
18905
+ * Trade would result in zero amount out.
18906
+ **/
18907
+ | 'ZeroAmountOut'
18908
+ /**
18909
+ * Trade would result in zero amount in.
18910
+ **/
18911
+ | 'ZeroAmountIn';
18770
18912
 
18771
18913
  /**
18772
18914
  * The `Error` enum of this pallet.
@@ -19499,7 +19641,11 @@ export type PalletEvmError =
19499
19641
  /**
19500
19642
  * Undefined error.
19501
19643
  **/
19502
- | 'Undefined';
19644
+ | 'Undefined'
19645
+ /**
19646
+ * Address not allowed to deploy contracts either via CREATE or CALL(CREATE).
19647
+ **/
19648
+ | 'CreateOriginNotAllowed';
19503
19649
 
19504
19650
  export type FpRpcTransactionStatus = {
19505
19651
  transactionHash: H256;
@@ -19513,10 +19659,11 @@ export type FpRpcTransactionStatus = {
19513
19659
 
19514
19660
  export type EthbloomBloom = FixedBytes<256>;
19515
19661
 
19516
- export type EthereumReceiptReceiptV3 =
19662
+ export type EthereumReceiptReceiptV4 =
19517
19663
  | { type: 'Legacy'; value: EthereumReceiptEip658ReceiptData }
19518
19664
  | { type: 'Eip2930'; value: EthereumReceiptEip658ReceiptData }
19519
- | { type: 'Eip1559'; value: EthereumReceiptEip658ReceiptData };
19665
+ | { type: 'Eip1559'; value: EthereumReceiptEip658ReceiptData }
19666
+ | { type: 'Eip7702'; value: EthereumReceiptEip658ReceiptData };
19520
19667
 
19521
19668
  export type EthereumReceiptEip658ReceiptData = {
19522
19669
  statusCode: number;
@@ -19527,7 +19674,7 @@ export type EthereumReceiptEip658ReceiptData = {
19527
19674
 
19528
19675
  export type EthereumBlock = {
19529
19676
  header: EthereumHeader;
19530
- transactions: Array<EthereumTransactionTransactionV2>;
19677
+ transactions: Array<EthereumTransactionTransactionV3>;
19531
19678
  ommers: Array<EthereumHeader>;
19532
19679
  };
19533
19680
 
@@ -19885,15 +20032,7 @@ export type CumulusPalletParachainSystemError =
19885
20032
  /**
19886
20033
  * No validation function upgrade is currently scheduled.
19887
20034
  **/
19888
- | 'NotScheduled'
19889
- /**
19890
- * No code upgrade has been authorized.
19891
- **/
19892
- | 'NothingAuthorized'
19893
- /**
19894
- * The given code upgrade has not been authorized.
19895
- **/
19896
- | 'Unauthorized';
20035
+ | 'NotScheduled';
19897
20036
 
19898
20037
  export type PalletXcmQueryStatus =
19899
20038
  | {
@@ -19909,9 +20048,9 @@ export type PalletXcmQueryStatus =
19909
20048
  | { type: 'Ready'; value: { response: XcmVersionedResponse; at: number } };
19910
20049
 
19911
20050
  export type XcmVersionedResponse =
19912
- | { type: 'V2'; value: XcmV2Response }
19913
20051
  | { type: 'V3'; value: XcmV3Response }
19914
- | { type: 'V4'; value: StagingXcmV4Response };
20052
+ | { type: 'V4'; value: StagingXcmV4Response }
20053
+ | { type: 'V5'; value: StagingXcmV5Response };
19915
20054
 
19916
20055
  export type PalletXcmVersionMigrationStage =
19917
20056
  | { type: 'MigrateSupportedVersion' }
@@ -19926,6 +20065,20 @@ export type PalletXcmRemoteLockedFungibleRecord = {
19926
20065
  consumers: Array<[[], bigint]>;
19927
20066
  };
19928
20067
 
20068
+ export type PalletXcmAuthorizedAliasesEntry = {
20069
+ aliasers: Array<XcmRuntimeApisAuthorizedAliasesOriginAliaser>;
20070
+ ticket: FrameSupportStorageDisabled;
20071
+ };
20072
+
20073
+ export type FrameSupportStorageDisabled = {};
20074
+
20075
+ export type PalletXcmMaxAuthorizedAliases = {};
20076
+
20077
+ export type XcmRuntimeApisAuthorizedAliasesOriginAliaser = {
20078
+ location: XcmVersionedLocation;
20079
+ expiry?: bigint | undefined;
20080
+ };
20081
+
19929
20082
  /**
19930
20083
  * The `Error` enum of this pallet.
19931
20084
  **/
@@ -20028,7 +20181,19 @@ export type PalletXcmError =
20028
20181
  /**
20029
20182
  * Local XCM execution incomplete.
20030
20183
  **/
20031
- | 'LocalExecutionIncomplete';
20184
+ | 'LocalExecutionIncomplete'
20185
+ /**
20186
+ * Too many locations authorized to alias origin.
20187
+ **/
20188
+ | 'TooManyAuthorizedAliases'
20189
+ /**
20190
+ * Expiry block number is in the past.
20191
+ **/
20192
+ | 'ExpiresInPast'
20193
+ /**
20194
+ * The alias to remove authorization for was not found.
20195
+ **/
20196
+ | 'AliasNotFound';
20032
20197
 
20033
20198
  export type CumulusPalletXcmpQueueOutboundChannelDetails = {
20034
20199
  recipient: PolkadotParachainPrimitivesPrimitivesId;
@@ -20141,6 +20306,15 @@ export type PalletMessageQueueError =
20141
20306
  **/
20142
20307
  | 'RecursiveDisallowed';
20143
20308
 
20309
+ /**
20310
+ * The `Error` enum of this pallet.
20311
+ **/
20312
+ export type PalletMigrationsError =
20313
+ /**
20314
+ * The operation cannot complete since some MBMs are ongoing.
20315
+ **/
20316
+ 'Ongoing';
20317
+
20144
20318
  /**
20145
20319
  * The `Error` enum of this pallet.
20146
20320
  **/
@@ -20221,7 +20395,7 @@ export type OrmlXtokensModuleError =
20221
20395
  **/
20222
20396
  | 'ZeroFee'
20223
20397
  /**
20224
- * The transfering asset amount is zero.
20398
+ * The transferring asset amount is zero.
20225
20399
  **/
20226
20400
  | 'ZeroAmount'
20227
20401
  /**
@@ -20341,6 +20515,8 @@ export type PalletCollatorSelectionError =
20341
20515
  **/
20342
20516
  | 'InvalidUnreserve';
20343
20517
 
20518
+ export type SpStakingOffenceOffenceSeverity = Perbill;
20519
+
20344
20520
  export type SpCoreCryptoKeyTypeId = FixedBytes<4>;
20345
20521
 
20346
20522
  /**
@@ -20370,90 +20546,6 @@ export type PalletSessionError =
20370
20546
 
20371
20547
  export type SpConsensusSlotsSlot = bigint;
20372
20548
 
20373
- /**
20374
- * Pallet errors
20375
- **/
20376
- export type PalletIsmpError =
20377
- /**
20378
- * Invalid ISMP message
20379
- **/
20380
- | 'InvalidMessage'
20381
- /**
20382
- * Requested message was not found
20383
- **/
20384
- | 'MessageNotFound'
20385
- /**
20386
- * Encountered an error while creating the consensus client.
20387
- **/
20388
- | 'ConsensusClientCreationFailed'
20389
- /**
20390
- * Couldn't update unbonding period
20391
- **/
20392
- | 'UnbondingPeriodUpdateFailed'
20393
- /**
20394
- * Couldn't update challenge period
20395
- **/
20396
- | 'ChallengePeriodUpdateFailed';
20397
-
20398
- /**
20399
- * The `Error` enum of this pallet.
20400
- **/
20401
- export type IsmpParachainError =
20402
- /**
20403
- * Only Parachain Consensus updates should be passed in the inherents.
20404
- **/
20405
- | 'InvalidConsensusStateId'
20406
- /**
20407
- * ValidationData must be updated only once in a block.
20408
- **/
20409
- | 'ConsensusAlreadyUpdated';
20410
-
20411
- /**
20412
- * The `Error` enum of this pallet.
20413
- **/
20414
- export type PalletHyperbridgeError = null;
20415
-
20416
- /**
20417
- * Errors that can be returned by this pallet.
20418
- **/
20419
- export type PalletTokenGatewayError =
20420
- /**
20421
- * A asset that has not been registered
20422
- **/
20423
- | 'UnregisteredAsset'
20424
- /**
20425
- * Error while teleporting asset
20426
- **/
20427
- | 'AssetTeleportError'
20428
- /**
20429
- * Coprocessor was not configured in the runtime
20430
- **/
20431
- | 'CoprocessorNotConfigured'
20432
- /**
20433
- * Asset or update Dispatch Error
20434
- **/
20435
- | 'DispatchError'
20436
- /**
20437
- * Asset Id creation failed
20438
- **/
20439
- | 'AssetCreationError'
20440
- /**
20441
- * Asset decimals not found
20442
- **/
20443
- | 'AssetDecimalsNotFound'
20444
- /**
20445
- * Protocol Params have not been initialized
20446
- **/
20447
- | 'NotInitialized'
20448
- /**
20449
- * Unknown Asset
20450
- **/
20451
- | 'UnknownAsset'
20452
- /**
20453
- * Only root or asset owner can update asset
20454
- **/
20455
- | 'NotAssetOwner';
20456
-
20457
20549
  export type PalletEmaOracleOracleEntry = {
20458
20550
  price: HydraDxMathRatio;
20459
20551
  volume: HydradxTraitsOracleVolume;
@@ -20462,8 +20554,6 @@ export type PalletEmaOracleOracleEntry = {
20462
20554
  updatedAt: number;
20463
20555
  };
20464
20556
 
20465
- export type HydraDxMathRatio = { n: bigint; d: bigint };
20466
-
20467
20557
  export type HydradxTraitsOracleVolume = { aIn: bigint; bOut: bigint; aOut: bigint; bIn: bigint };
20468
20558
 
20469
20559
  export type HydradxTraitsOracleLiquidity = { a: bigint; b: bigint };
@@ -20497,6 +20587,19 @@ export type PalletBroadcastError =
20497
20587
  **/
20498
20588
  | 'ExecutionCallStackUnderflow';
20499
20589
 
20590
+ export type CumulusPalletWeightReclaimStorageWeightReclaim = [
20591
+ FrameSystemExtensionsCheckNonZeroSender,
20592
+ FrameSystemExtensionsCheckSpecVersion,
20593
+ FrameSystemExtensionsCheckTxVersion,
20594
+ FrameSystemExtensionsCheckGenesis,
20595
+ FrameSystemExtensionsCheckMortality,
20596
+ FrameSystemExtensionsCheckNonce,
20597
+ FrameSystemExtensionsCheckWeight,
20598
+ PalletTransactionPaymentChargeTransactionPayment,
20599
+ PalletClaimsValidateClaim,
20600
+ FrameMetadataHashExtensionCheckMetadataHash,
20601
+ ];
20602
+
20500
20603
  export type FrameSystemExtensionsCheckNonZeroSender = {};
20501
20604
 
20502
20605
  export type FrameSystemExtensionsCheckSpecVersion = {};
@@ -20519,8 +20622,6 @@ export type FrameMetadataHashExtensionCheckMetadataHash = { mode: FrameMetadataH
20519
20622
 
20520
20623
  export type FrameMetadataHashExtensionMode = 'Disabled' | 'Enabled';
20521
20624
 
20522
- export type CumulusPrimitivesStorageWeightReclaimStorageWeightReclaim = {};
20523
-
20524
20625
  export type HydradxRuntimeRuntime = {};
20525
20626
 
20526
20627
  export type SpRuntimeBlock = { header: Header; extrinsics: Array<FpSelfContainedUncheckedExtrinsic> };
@@ -20546,7 +20647,9 @@ export type SpRuntimeTransactionValidityInvalidTransaction =
20546
20647
  | { type: 'Custom'; value: number }
20547
20648
  | { type: 'BadMandatory' }
20548
20649
  | { type: 'MandatoryValidation' }
20549
- | { type: 'BadSigner' };
20650
+ | { type: 'BadSigner' }
20651
+ | { type: 'IndeterminateImplicit' }
20652
+ | { type: 'UnknownOrigin' };
20550
20653
 
20551
20654
  export type SpRuntimeTransactionValidityUnknownTransaction =
20552
20655
  | { type: 'CannotLookup' }
@@ -20640,7 +20743,7 @@ export type XcmRuntimeApisDryRunCallDryRunEffects = {
20640
20743
  export type XcmRuntimeApisDryRunError = 'Unimplemented' | 'VersionedConversionFailed';
20641
20744
 
20642
20745
  export type XcmRuntimeApisDryRunXcmDryRunEffects = {
20643
- executionResult: StagingXcmV4TraitsOutcome;
20746
+ executionResult: StagingXcmV5TraitsOutcome;
20644
20747
  emittedEvents: Array<HydradxRuntimeRuntimeEvent>;
20645
20748
  forwardedXcms: Array<[XcmVersionedLocation, Array<XcmVersionedXcm>]>;
20646
20749
  };
@@ -20654,26 +20757,6 @@ export type HydradxRuntimeEvmAaveTradeExecutorPoolData = {
20654
20757
  liqudityOut: bigint;
20655
20758
  };
20656
20759
 
20657
- export type IsmpEventsEvent =
20658
- | { type: 'StateMachineUpdated'; value: IsmpEventsStateMachineUpdated }
20659
- | { type: 'StateCommitmentVetoed'; value: IsmpEventsStateCommitmentVetoed }
20660
- | { type: 'PostRequest'; value: IsmpRouterPostRequest }
20661
- | { type: 'PostResponse'; value: IsmpRouterPostResponse }
20662
- | { type: 'GetResponse'; value: IsmpRouterGetResponse }
20663
- | { type: 'GetRequest'; value: IsmpRouterGetRequest }
20664
- | { type: 'PostRequestHandled'; value: IsmpEventsRequestResponseHandled }
20665
- | { type: 'PostResponseHandled'; value: IsmpEventsRequestResponseHandled }
20666
- | { type: 'PostRequestTimeoutHandled'; value: IsmpEventsTimeoutHandled }
20667
- | { type: 'PostResponseTimeoutHandled'; value: IsmpEventsTimeoutHandled }
20668
- | { type: 'GetRequestHandled'; value: IsmpEventsRequestResponseHandled }
20669
- | { type: 'GetRequestTimeoutHandled'; value: IsmpEventsTimeoutHandled };
20670
-
20671
- export type IsmpEventsStateMachineUpdated = { stateMachineId: IsmpConsensusStateMachineId; latestHeight: bigint };
20672
-
20673
- export type IsmpEventsStateCommitmentVetoed = { height: IsmpConsensusStateMachineHeight; fisherman: Bytes };
20674
-
20675
- export type CumulusPalletParachainSystemRelayChainState = { number: number; stateRoot: H256 };
20676
-
20677
20760
  export type HydradxRuntimeRuntimeError =
20678
20761
  | { pallet: 'System'; palletError: FrameSystemError }
20679
20762
  | { pallet: 'Balances'; palletError: PalletBalancesError }
@@ -20730,14 +20813,11 @@ export type HydradxRuntimeRuntimeError =
20730
20813
  | { pallet: 'PolkadotXcm'; palletError: PalletXcmError }
20731
20814
  | { pallet: 'XcmpQueue'; palletError: CumulusPalletXcmpQueueError }
20732
20815
  | { pallet: 'MessageQueue'; palletError: PalletMessageQueueError }
20816
+ | { pallet: 'MultiBlockMigrations'; palletError: PalletMigrationsError }
20733
20817
  | { pallet: 'OrmlXcm'; palletError: OrmlXcmModuleError }
20734
20818
  | { pallet: 'XTokens'; palletError: OrmlXtokensModuleError }
20735
20819
  | { pallet: 'UnknownTokens'; palletError: OrmlUnknownTokensModuleError }
20736
20820
  | { pallet: 'CollatorSelection'; palletError: PalletCollatorSelectionError }
20737
20821
  | { pallet: 'Session'; palletError: PalletSessionError }
20738
- | { pallet: 'Ismp'; palletError: PalletIsmpError }
20739
- | { pallet: 'IsmpParachain'; palletError: IsmpParachainError }
20740
- | { pallet: 'Hyperbridge'; palletError: PalletHyperbridgeError }
20741
- | { pallet: 'TokenGateway'; palletError: PalletTokenGatewayError }
20742
20822
  | { pallet: 'EmaOracle'; palletError: PalletEmaOracleError }
20743
20823
  | { pallet: 'Broadcast'; palletError: PalletBroadcastError };