@dedot/chaintypes 0.232.0 → 0.234.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/hydration/consts.d.ts +119 -47
- package/hydration/errors.d.ts +91 -130
- package/hydration/events.d.ts +340 -432
- package/hydration/index.d.ts +2 -3
- package/hydration/json-rpc.d.ts +10 -17
- package/hydration/query.d.ts +157 -277
- package/hydration/runtime.d.ts +21 -123
- package/hydration/tx.d.ts +502 -315
- package/hydration/types.d.ts +1366 -1284
- package/package.json +2 -2
- package/paseo/consts.d.ts +87 -18
- package/paseo/errors.d.ts +187 -30
- package/paseo/events.d.ts +676 -80
- package/paseo/index.d.ts +1 -1
- package/paseo/query.d.ts +465 -71
- package/paseo/runtime.d.ts +85 -39
- package/paseo/tx.d.ts +1012 -165
- package/paseo/types.d.ts +8081 -6364
- package/paseo/view-functions.d.ts +75 -1
- package/paseo-asset-hub/consts.d.ts +0 -34
- package/paseo-asset-hub/errors.d.ts +0 -28
- package/paseo-asset-hub/events.d.ts +20 -205
- package/paseo-asset-hub/index.d.ts +3 -3
- package/paseo-asset-hub/query.d.ts +23 -66
- package/paseo-asset-hub/runtime.d.ts +15 -12
- package/paseo-asset-hub/tx.d.ts +127 -327
- package/paseo-asset-hub/types.d.ts +192 -513
- package/paseo-asset-hub/view-functions.d.ts +7 -7
- package/paseo-hydration/consts.d.ts +5 -0
- package/paseo-hydration/errors.d.ts +1 -1
- package/paseo-hydration/index.d.ts +1 -1
- package/paseo-hydration/json-rpc.d.ts +0 -10
- package/paseo-hydration/tx.d.ts +2 -1
- package/paseo-hydration/types.d.ts +5 -3
- package/paseo-people/consts.d.ts +75 -0
- package/paseo-people/errors.d.ts +165 -0
- package/paseo-people/events.d.ts +285 -2
- package/paseo-people/index.d.ts +5 -4
- package/paseo-people/query.d.ts +125 -0
- package/paseo-people/tx.d.ts +1286 -2
- package/paseo-people/types.d.ts +1776 -183
package/hydration/types.d.ts
CHANGED
|
@@ -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:
|
|
128
|
+
| { name: 'ExtrinsicSuccess'; data: { dispatchInfo: FrameSystemDispatchEventInfo } }
|
|
133
129
|
/**
|
|
134
130
|
* An extrinsic failed.
|
|
135
131
|
**/
|
|
136
|
-
| { name: 'ExtrinsicFailed'; data: { dispatchError: DispatchError; 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
|
|
1029
|
+
* An account has voted
|
|
952
1030
|
**/
|
|
953
1031
|
| { name: 'Voted'; data: { who: AccountId32; vote: PalletConvictionVotingVoteAccountVote } }
|
|
954
1032
|
/**
|
|
955
|
-
* A vote
|
|
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: '
|
|
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:
|
|
2399
|
-
| { type: 'Response'; value:
|
|
2546
|
+
| { type: 'Xcm'; value: StagingXcmV5Location }
|
|
2547
|
+
| { type: 'Response'; value: StagingXcmV5Location };
|
|
2400
2548
|
|
|
2401
|
-
export type
|
|
2549
|
+
export type StagingXcmV5Location = { parents: number; interior: StagingXcmV5Junctions };
|
|
2402
2550
|
|
|
2403
|
-
export type
|
|
2551
|
+
export type StagingXcmV5Junctions =
|
|
2404
2552
|
| { type: 'Here' }
|
|
2405
|
-
| { type: 'X1'; value: FixedArray<
|
|
2406
|
-
| { type: 'X2'; value: FixedArray<
|
|
2407
|
-
| { type: 'X3'; value: FixedArray<
|
|
2408
|
-
| { type: 'X4'; value: FixedArray<
|
|
2409
|
-
| { type: 'X5'; value: FixedArray<
|
|
2410
|
-
| { type: 'X6'; value: FixedArray<
|
|
2411
|
-
| { type: 'X7'; value: FixedArray<
|
|
2412
|
-
| { type: 'X8'; value: FixedArray<
|
|
2413
|
-
|
|
2414
|
-
export type
|
|
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?:
|
|
2417
|
-
| { type: 'AccountIndex64'; value: { network?:
|
|
2418
|
-
| { type: 'AccountKey20'; value: { network?:
|
|
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:
|
|
2572
|
+
| { type: 'GlobalConsensus'; value: StagingXcmV5JunctionNetworkId };
|
|
2425
2573
|
|
|
2426
|
-
export type
|
|
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
|
|
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
|
|
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
|
|
2735
|
-
*
|
|
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
|
-
*
|
|
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: {
|
|
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
|
-
*
|
|
2774
|
-
*
|
|
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: '
|
|
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
|
|
2967
|
-
*
|
|
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
|
-
*
|
|
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: {
|
|
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
|
-
*
|
|
3006
|
-
*
|
|
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: '
|
|
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 =
|
|
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.
|
|
@@ -6887,7 +7123,8 @@ export type PalletDusterCall =
|
|
|
6887
7123
|
* IF account balance is < min. existential deposit of given currency, and account is allowed to
|
|
6888
7124
|
* be dusted, the remaining balance is transferred to treasury account.
|
|
6889
7125
|
*
|
|
6890
|
-
* In case of AToken, we perform an erc20 dust, which does a wihtdraw all
|
|
7126
|
+
* In case of AToken, we perform an erc20 dust, which does a wihtdraw all to the treasury account
|
|
7127
|
+
* Note that in this case, the treasury will just receive the underlying token, not the atoken variant.
|
|
6891
7128
|
*
|
|
6892
7129
|
* The transaction fee is returned back in case of successful dusting.
|
|
6893
7130
|
*
|
|
@@ -6919,7 +7156,8 @@ export type PalletDusterCallLike =
|
|
|
6919
7156
|
* IF account balance is < min. existential deposit of given currency, and account is allowed to
|
|
6920
7157
|
* be dusted, the remaining balance is transferred to treasury account.
|
|
6921
7158
|
*
|
|
6922
|
-
* In case of AToken, we perform an erc20 dust, which does a wihtdraw all
|
|
7159
|
+
* In case of AToken, we perform an erc20 dust, which does a wihtdraw all to the treasury account
|
|
7160
|
+
* Note that in this case, the treasury will just receive the underlying token, not the atoken variant.
|
|
6923
7161
|
*
|
|
6924
7162
|
* The transaction fee is returned back in case of successful dusting.
|
|
6925
7163
|
*
|
|
@@ -7283,6 +7521,8 @@ export type PalletOmnipoolLiquidityMiningCall =
|
|
|
7283
7521
|
* - `stable_pool_id`: id of the stableswap pool to add liquidity to.
|
|
7284
7522
|
* - `stable_asset_amounts`: amount of each asset to be deposited into the stableswap pool.
|
|
7285
7523
|
* - `farm_entries`: list of farms to join.
|
|
7524
|
+
* - `min_shares_limit`: optional minimum Omnipool shares to receive (slippage protection).
|
|
7525
|
+
* Applies to Omnipool step only. None defaults to no protection.
|
|
7286
7526
|
*
|
|
7287
7527
|
* Emits `LiquidityAdded` events from both pool
|
|
7288
7528
|
* Emits `SharesDeposited` event for the first farm entry
|
|
@@ -7295,6 +7535,43 @@ export type PalletOmnipoolLiquidityMiningCall =
|
|
|
7295
7535
|
stablePoolId: number;
|
|
7296
7536
|
stableAssetAmounts: Array<HydradxTraitsStableswapAssetAmount>;
|
|
7297
7537
|
farmEntries?: Array<[number, number]> | undefined;
|
|
7538
|
+
minSharesLimit?: bigint | undefined;
|
|
7539
|
+
};
|
|
7540
|
+
}
|
|
7541
|
+
/**
|
|
7542
|
+
* Remove liquidity from stableswap and omnipool, optionally exiting associated yield farms.
|
|
7543
|
+
*
|
|
7544
|
+
* This extrinsic reverses the operation performed by `add_liquidity_stableswap_omnipool_and_join_farms`,
|
|
7545
|
+
* with optional farm exit to match the optional farm join in the add function.
|
|
7546
|
+
*
|
|
7547
|
+
* It performs the following steps in order:
|
|
7548
|
+
* 1. [OPTIONAL] If deposit_id is provided: Exits from ALL yield farms associated with the deposit (claiming rewards)
|
|
7549
|
+
* 2. Removes liquidity from the omnipool to retrieve stableswap shares (protected by omnipool_min_limit)
|
|
7550
|
+
* 3. Removes liquidity from the stableswap pool to retrieve underlying assets (protected by stableswap_min_amounts_out)
|
|
7551
|
+
*
|
|
7552
|
+
* The stabelswap liquidity asset removal strategy is determined by the `min_amounts_out` parameter length:
|
|
7553
|
+
* - If 1 asset is specified: Uses `remove_liquidity_one_asset` (trading fee applies)
|
|
7554
|
+
* - If multiple assets: Uses `remove_liquidity` (proportional, no trading fee)
|
|
7555
|
+
*
|
|
7556
|
+
* Parameters:
|
|
7557
|
+
* - `origin`: Owner of the omnipool position
|
|
7558
|
+
* - `position_id`: The omnipool position NFT ID to remove liquidity from
|
|
7559
|
+
* - `omnipool_min_limit`: The min amount of asset to be removed from omnipool (slippage protection)
|
|
7560
|
+
* - `stableswap_min_amounts_out`: Asset IDs and minimum amounts minimum amounts of each asset to receive from omnipool.
|
|
7561
|
+
* - `deposit_id`: Optional liquidity mining deposit NFT ID. If provided, exits all farms first.
|
|
7562
|
+
*
|
|
7563
|
+
* Emits events:
|
|
7564
|
+
* - If deposit_id provided: `RewardClaimed`, `SharesWithdrawn`, `DepositDestroyed`
|
|
7565
|
+
* - Always: Omnipool's `LiquidityRemoved`, Stableswap's `LiquidityRemoved`
|
|
7566
|
+
*
|
|
7567
|
+
**/
|
|
7568
|
+
| {
|
|
7569
|
+
name: 'RemoveLiquidityStableswapOmnipoolAndExitFarms';
|
|
7570
|
+
params: {
|
|
7571
|
+
positionId: bigint;
|
|
7572
|
+
omnipoolMinLimit: bigint;
|
|
7573
|
+
stableswapMinAmountsOut: Array<HydradxTraitsStableswapAssetAmount>;
|
|
7574
|
+
depositId?: bigint | undefined;
|
|
7298
7575
|
};
|
|
7299
7576
|
};
|
|
7300
7577
|
|
|
@@ -7626,6 +7903,8 @@ export type PalletOmnipoolLiquidityMiningCallLike =
|
|
|
7626
7903
|
* - `stable_pool_id`: id of the stableswap pool to add liquidity to.
|
|
7627
7904
|
* - `stable_asset_amounts`: amount of each asset to be deposited into the stableswap pool.
|
|
7628
7905
|
* - `farm_entries`: list of farms to join.
|
|
7906
|
+
* - `min_shares_limit`: optional minimum Omnipool shares to receive (slippage protection).
|
|
7907
|
+
* Applies to Omnipool step only. None defaults to no protection.
|
|
7629
7908
|
*
|
|
7630
7909
|
* Emits `LiquidityAdded` events from both pool
|
|
7631
7910
|
* Emits `SharesDeposited` event for the first farm entry
|
|
@@ -7638,6 +7917,43 @@ export type PalletOmnipoolLiquidityMiningCallLike =
|
|
|
7638
7917
|
stablePoolId: number;
|
|
7639
7918
|
stableAssetAmounts: Array<HydradxTraitsStableswapAssetAmount>;
|
|
7640
7919
|
farmEntries?: Array<[number, number]> | undefined;
|
|
7920
|
+
minSharesLimit?: bigint | undefined;
|
|
7921
|
+
};
|
|
7922
|
+
}
|
|
7923
|
+
/**
|
|
7924
|
+
* Remove liquidity from stableswap and omnipool, optionally exiting associated yield farms.
|
|
7925
|
+
*
|
|
7926
|
+
* This extrinsic reverses the operation performed by `add_liquidity_stableswap_omnipool_and_join_farms`,
|
|
7927
|
+
* with optional farm exit to match the optional farm join in the add function.
|
|
7928
|
+
*
|
|
7929
|
+
* It performs the following steps in order:
|
|
7930
|
+
* 1. [OPTIONAL] If deposit_id is provided: Exits from ALL yield farms associated with the deposit (claiming rewards)
|
|
7931
|
+
* 2. Removes liquidity from the omnipool to retrieve stableswap shares (protected by omnipool_min_limit)
|
|
7932
|
+
* 3. Removes liquidity from the stableswap pool to retrieve underlying assets (protected by stableswap_min_amounts_out)
|
|
7933
|
+
*
|
|
7934
|
+
* The stabelswap liquidity asset removal strategy is determined by the `min_amounts_out` parameter length:
|
|
7935
|
+
* - If 1 asset is specified: Uses `remove_liquidity_one_asset` (trading fee applies)
|
|
7936
|
+
* - If multiple assets: Uses `remove_liquidity` (proportional, no trading fee)
|
|
7937
|
+
*
|
|
7938
|
+
* Parameters:
|
|
7939
|
+
* - `origin`: Owner of the omnipool position
|
|
7940
|
+
* - `position_id`: The omnipool position NFT ID to remove liquidity from
|
|
7941
|
+
* - `omnipool_min_limit`: The min amount of asset to be removed from omnipool (slippage protection)
|
|
7942
|
+
* - `stableswap_min_amounts_out`: Asset IDs and minimum amounts minimum amounts of each asset to receive from omnipool.
|
|
7943
|
+
* - `deposit_id`: Optional liquidity mining deposit NFT ID. If provided, exits all farms first.
|
|
7944
|
+
*
|
|
7945
|
+
* Emits events:
|
|
7946
|
+
* - If deposit_id provided: `RewardClaimed`, `SharesWithdrawn`, `DepositDestroyed`
|
|
7947
|
+
* - Always: Omnipool's `LiquidityRemoved`, Stableswap's `LiquidityRemoved`
|
|
7948
|
+
*
|
|
7949
|
+
**/
|
|
7950
|
+
| {
|
|
7951
|
+
name: 'RemoveLiquidityStableswapOmnipoolAndExitFarms';
|
|
7952
|
+
params: {
|
|
7953
|
+
positionId: bigint;
|
|
7954
|
+
omnipoolMinLimit: bigint;
|
|
7955
|
+
stableswapMinAmountsOut: Array<HydradxTraitsStableswapAssetAmount>;
|
|
7956
|
+
depositId?: bigint | undefined;
|
|
7641
7957
|
};
|
|
7642
7958
|
};
|
|
7643
7959
|
|
|
@@ -10382,12 +10698,7 @@ export type PalletDispenserCall =
|
|
|
10382
10698
|
**/
|
|
10383
10699
|
| {
|
|
10384
10700
|
name: 'RequestFund';
|
|
10385
|
-
params: {
|
|
10386
|
-
to: FixedBytes<20>;
|
|
10387
|
-
amount: bigint;
|
|
10388
|
-
requestId: FixedBytes<32>;
|
|
10389
|
-
tx: PalletDispenserEvmTransactionParams;
|
|
10390
|
-
};
|
|
10701
|
+
params: { to: H160; amount: bigint; requestId: FixedBytes<32>; tx: PalletDispenserEvmTransactionParams };
|
|
10391
10702
|
}
|
|
10392
10703
|
/**
|
|
10393
10704
|
* Pause the dispenser so that no new funding requests can be made.
|
|
@@ -10437,12 +10748,7 @@ export type PalletDispenserCallLike =
|
|
|
10437
10748
|
**/
|
|
10438
10749
|
| {
|
|
10439
10750
|
name: 'RequestFund';
|
|
10440
|
-
params: {
|
|
10441
|
-
to: FixedBytes<20>;
|
|
10442
|
-
amount: bigint;
|
|
10443
|
-
requestId: FixedBytes<32>;
|
|
10444
|
-
tx: PalletDispenserEvmTransactionParams;
|
|
10445
|
-
};
|
|
10751
|
+
params: { to: H160; amount: bigint; requestId: FixedBytes<32>; tx: PalletDispenserEvmTransactionParams };
|
|
10446
10752
|
}
|
|
10447
10753
|
/**
|
|
10448
10754
|
* Pause the dispenser so that no new funding requests can be made.
|
|
@@ -10496,7 +10802,7 @@ export type OrmlTokensModuleCall =
|
|
|
10496
10802
|
*
|
|
10497
10803
|
* - `dest`: The recipient of the transfer.
|
|
10498
10804
|
* - `currency_id`: currency type.
|
|
10499
|
-
* - `amount`: free balance amount to
|
|
10805
|
+
* - `amount`: free balance amount to transfer.
|
|
10500
10806
|
**/
|
|
10501
10807
|
| { name: 'Transfer'; params: { dest: AccountId32; currencyId: number; amount: bigint } }
|
|
10502
10808
|
/**
|
|
@@ -10532,7 +10838,7 @@ export type OrmlTokensModuleCall =
|
|
|
10532
10838
|
*
|
|
10533
10839
|
* - `dest`: The recipient of the transfer.
|
|
10534
10840
|
* - `currency_id`: currency type.
|
|
10535
|
-
* - `amount`: free balance amount to
|
|
10841
|
+
* - `amount`: free balance amount to transfer.
|
|
10536
10842
|
**/
|
|
10537
10843
|
| { name: 'TransferKeepAlive'; params: { dest: AccountId32; currencyId: number; amount: bigint } }
|
|
10538
10844
|
/**
|
|
@@ -10544,7 +10850,7 @@ export type OrmlTokensModuleCall =
|
|
|
10544
10850
|
* - `source`: The sender of the transfer.
|
|
10545
10851
|
* - `dest`: The recipient of the transfer.
|
|
10546
10852
|
* - `currency_id`: currency type.
|
|
10547
|
-
* - `amount`: free balance amount to
|
|
10853
|
+
* - `amount`: free balance amount to transfer.
|
|
10548
10854
|
**/
|
|
10549
10855
|
| { name: 'ForceTransfer'; params: { source: AccountId32; dest: AccountId32; currencyId: number; amount: bigint } }
|
|
10550
10856
|
/**
|
|
@@ -10573,7 +10879,7 @@ export type OrmlTokensModuleCallLike =
|
|
|
10573
10879
|
*
|
|
10574
10880
|
* - `dest`: The recipient of the transfer.
|
|
10575
10881
|
* - `currency_id`: currency type.
|
|
10576
|
-
* - `amount`: free balance amount to
|
|
10882
|
+
* - `amount`: free balance amount to transfer.
|
|
10577
10883
|
**/
|
|
10578
10884
|
| { name: 'Transfer'; params: { dest: AccountId32Like; currencyId: number; amount: bigint } }
|
|
10579
10885
|
/**
|
|
@@ -10609,7 +10915,7 @@ export type OrmlTokensModuleCallLike =
|
|
|
10609
10915
|
*
|
|
10610
10916
|
* - `dest`: The recipient of the transfer.
|
|
10611
10917
|
* - `currency_id`: currency type.
|
|
10612
|
-
* - `amount`: free balance amount to
|
|
10918
|
+
* - `amount`: free balance amount to transfer.
|
|
10613
10919
|
**/
|
|
10614
10920
|
| { name: 'TransferKeepAlive'; params: { dest: AccountId32Like; currencyId: number; amount: bigint } }
|
|
10615
10921
|
/**
|
|
@@ -10621,7 +10927,7 @@ export type OrmlTokensModuleCallLike =
|
|
|
10621
10927
|
* - `source`: The sender of the transfer.
|
|
10622
10928
|
* - `dest`: The recipient of the transfer.
|
|
10623
10929
|
* - `currency_id`: currency type.
|
|
10624
|
-
* - `amount`: free balance amount to
|
|
10930
|
+
* - `amount`: free balance amount to transfer.
|
|
10625
10931
|
**/
|
|
10626
10932
|
| {
|
|
10627
10933
|
name: 'ForceTransfer';
|
|
@@ -10732,6 +11038,7 @@ export type PalletEvmCall =
|
|
|
10732
11038
|
maxPriorityFeePerGas?: U256 | undefined;
|
|
10733
11039
|
nonce?: U256 | undefined;
|
|
10734
11040
|
accessList: Array<[H160, Array<H256>]>;
|
|
11041
|
+
authorizationList: Array<EthereumTransactionEip7702AuthorizationListItem>;
|
|
10735
11042
|
};
|
|
10736
11043
|
}
|
|
10737
11044
|
/**
|
|
@@ -10749,6 +11056,7 @@ export type PalletEvmCall =
|
|
|
10749
11056
|
maxPriorityFeePerGas?: U256 | undefined;
|
|
10750
11057
|
nonce?: U256 | undefined;
|
|
10751
11058
|
accessList: Array<[H160, Array<H256>]>;
|
|
11059
|
+
authorizationList: Array<EthereumTransactionEip7702AuthorizationListItem>;
|
|
10752
11060
|
};
|
|
10753
11061
|
}
|
|
10754
11062
|
/**
|
|
@@ -10766,6 +11074,7 @@ export type PalletEvmCall =
|
|
|
10766
11074
|
maxPriorityFeePerGas?: U256 | undefined;
|
|
10767
11075
|
nonce?: U256 | undefined;
|
|
10768
11076
|
accessList: Array<[H160, Array<H256>]>;
|
|
11077
|
+
authorizationList: Array<EthereumTransactionEip7702AuthorizationListItem>;
|
|
10769
11078
|
};
|
|
10770
11079
|
};
|
|
10771
11080
|
|
|
@@ -10789,6 +11098,7 @@ export type PalletEvmCallLike =
|
|
|
10789
11098
|
maxPriorityFeePerGas?: U256 | undefined;
|
|
10790
11099
|
nonce?: U256 | undefined;
|
|
10791
11100
|
accessList: Array<[H160, Array<H256>]>;
|
|
11101
|
+
authorizationList: Array<EthereumTransactionEip7702AuthorizationListItem>;
|
|
10792
11102
|
};
|
|
10793
11103
|
}
|
|
10794
11104
|
/**
|
|
@@ -10806,6 +11116,7 @@ export type PalletEvmCallLike =
|
|
|
10806
11116
|
maxPriorityFeePerGas?: U256 | undefined;
|
|
10807
11117
|
nonce?: U256 | undefined;
|
|
10808
11118
|
accessList: Array<[H160, Array<H256>]>;
|
|
11119
|
+
authorizationList: Array<EthereumTransactionEip7702AuthorizationListItem>;
|
|
10809
11120
|
};
|
|
10810
11121
|
}
|
|
10811
11122
|
/**
|
|
@@ -10823,9 +11134,19 @@ export type PalletEvmCallLike =
|
|
|
10823
11134
|
maxPriorityFeePerGas?: U256 | undefined;
|
|
10824
11135
|
nonce?: U256 | undefined;
|
|
10825
11136
|
accessList: Array<[H160, Array<H256>]>;
|
|
11137
|
+
authorizationList: Array<EthereumTransactionEip7702AuthorizationListItem>;
|
|
10826
11138
|
};
|
|
10827
11139
|
};
|
|
10828
11140
|
|
|
11141
|
+
export type EthereumTransactionEip7702AuthorizationListItem = {
|
|
11142
|
+
chainId: bigint;
|
|
11143
|
+
address: H160;
|
|
11144
|
+
nonce: U256;
|
|
11145
|
+
signature: EthereumTransactionEip2930MalleableTransactionSignature;
|
|
11146
|
+
};
|
|
11147
|
+
|
|
11148
|
+
export type EthereumTransactionEip2930MalleableTransactionSignature = { oddYParity: boolean; r: H256; s: H256 };
|
|
11149
|
+
|
|
10829
11150
|
/**
|
|
10830
11151
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
10831
11152
|
**/
|
|
@@ -10833,64 +11154,81 @@ export type PalletEthereumCall =
|
|
|
10833
11154
|
/**
|
|
10834
11155
|
* Transact an Ethereum transaction.
|
|
10835
11156
|
**/
|
|
10836
|
-
{ name: 'Transact'; params: { transaction:
|
|
11157
|
+
{ name: 'Transact'; params: { transaction: EthereumTransactionTransactionV3 } };
|
|
10837
11158
|
|
|
10838
11159
|
export type PalletEthereumCallLike =
|
|
10839
11160
|
/**
|
|
10840
11161
|
* Transact an Ethereum transaction.
|
|
10841
11162
|
**/
|
|
10842
|
-
{ name: 'Transact'; params: { transaction:
|
|
11163
|
+
{ name: 'Transact'; params: { transaction: EthereumTransactionTransactionV3 } };
|
|
10843
11164
|
|
|
10844
|
-
export type
|
|
10845
|
-
| { type: 'Legacy'; value:
|
|
10846
|
-
| { type: 'Eip2930'; value:
|
|
10847
|
-
| { type: 'Eip1559'; value:
|
|
11165
|
+
export type EthereumTransactionTransactionV3 =
|
|
11166
|
+
| { type: 'Legacy'; value: EthereumTransactionLegacyLegacyTransaction }
|
|
11167
|
+
| { type: 'Eip2930'; value: EthereumTransactionEip2930Eip2930Transaction }
|
|
11168
|
+
| { type: 'Eip1559'; value: EthereumTransactionEip1559Eip1559Transaction }
|
|
11169
|
+
| { type: 'Eip7702'; value: EthereumTransactionEip7702Eip7702Transaction };
|
|
10848
11170
|
|
|
10849
|
-
export type
|
|
11171
|
+
export type EthereumTransactionLegacyLegacyTransaction = {
|
|
10850
11172
|
nonce: U256;
|
|
10851
11173
|
gasPrice: U256;
|
|
10852
11174
|
gasLimit: U256;
|
|
10853
|
-
action:
|
|
11175
|
+
action: EthereumTransactionLegacyTransactionAction;
|
|
10854
11176
|
value: U256;
|
|
10855
11177
|
input: Bytes;
|
|
10856
|
-
signature:
|
|
11178
|
+
signature: EthereumTransactionLegacyTransactionSignature;
|
|
10857
11179
|
};
|
|
10858
11180
|
|
|
10859
|
-
export type
|
|
11181
|
+
export type EthereumTransactionLegacyTransactionAction = { type: 'Call'; value: H160 } | { type: 'Create' };
|
|
10860
11182
|
|
|
10861
|
-
export type
|
|
11183
|
+
export type EthereumTransactionLegacyTransactionSignature = {
|
|
11184
|
+
v: EthereumTransactionLegacyTransactionRecoveryId;
|
|
11185
|
+
r: H256;
|
|
11186
|
+
s: H256;
|
|
11187
|
+
};
|
|
10862
11188
|
|
|
10863
|
-
export type
|
|
11189
|
+
export type EthereumTransactionLegacyTransactionRecoveryId = bigint;
|
|
10864
11190
|
|
|
10865
|
-
export type
|
|
11191
|
+
export type EthereumTransactionEip2930Eip2930Transaction = {
|
|
10866
11192
|
chainId: bigint;
|
|
10867
11193
|
nonce: U256;
|
|
10868
11194
|
gasPrice: U256;
|
|
10869
11195
|
gasLimit: U256;
|
|
10870
|
-
action:
|
|
11196
|
+
action: EthereumTransactionLegacyTransactionAction;
|
|
10871
11197
|
value: U256;
|
|
10872
11198
|
input: Bytes;
|
|
10873
|
-
accessList: Array<
|
|
10874
|
-
|
|
10875
|
-
r: H256;
|
|
10876
|
-
s: H256;
|
|
11199
|
+
accessList: Array<EthereumTransactionEip2930AccessListItem>;
|
|
11200
|
+
signature: EthereumTransactionEip2930TransactionSignature;
|
|
10877
11201
|
};
|
|
10878
11202
|
|
|
10879
|
-
export type
|
|
11203
|
+
export type EthereumTransactionEip2930AccessListItem = { address: H160; storageKeys: Array<H256> };
|
|
11204
|
+
|
|
11205
|
+
export type EthereumTransactionEip2930TransactionSignature = { oddYParity: boolean; r: H256; s: H256 };
|
|
10880
11206
|
|
|
10881
|
-
export type
|
|
11207
|
+
export type EthereumTransactionEip1559Eip1559Transaction = {
|
|
10882
11208
|
chainId: bigint;
|
|
10883
11209
|
nonce: U256;
|
|
10884
11210
|
maxPriorityFeePerGas: U256;
|
|
10885
11211
|
maxFeePerGas: U256;
|
|
10886
11212
|
gasLimit: U256;
|
|
10887
|
-
action:
|
|
11213
|
+
action: EthereumTransactionLegacyTransactionAction;
|
|
10888
11214
|
value: U256;
|
|
10889
11215
|
input: Bytes;
|
|
10890
|
-
accessList: Array<
|
|
10891
|
-
|
|
10892
|
-
|
|
10893
|
-
|
|
11216
|
+
accessList: Array<EthereumTransactionEip2930AccessListItem>;
|
|
11217
|
+
signature: EthereumTransactionEip2930TransactionSignature;
|
|
11218
|
+
};
|
|
11219
|
+
|
|
11220
|
+
export type EthereumTransactionEip7702Eip7702Transaction = {
|
|
11221
|
+
chainId: bigint;
|
|
11222
|
+
nonce: U256;
|
|
11223
|
+
maxPriorityFeePerGas: U256;
|
|
11224
|
+
maxFeePerGas: U256;
|
|
11225
|
+
gasLimit: U256;
|
|
11226
|
+
destination: EthereumTransactionLegacyTransactionAction;
|
|
11227
|
+
value: U256;
|
|
11228
|
+
data: Bytes;
|
|
11229
|
+
accessList: Array<EthereumTransactionEip2930AccessListItem>;
|
|
11230
|
+
authorizationList: Array<EthereumTransactionEip7702AuthorizationListItem>;
|
|
11231
|
+
signature: EthereumTransactionEip2930TransactionSignature;
|
|
10894
11232
|
};
|
|
10895
11233
|
|
|
10896
11234
|
/**
|
|
@@ -12234,7 +12572,7 @@ export type PalletXcmCall =
|
|
|
12234
12572
|
* - `location`: The destination that is being described.
|
|
12235
12573
|
* - `xcm_version`: The latest version of XCM that `location` supports.
|
|
12236
12574
|
**/
|
|
12237
|
-
| { name: 'ForceXcmVersion'; params: { location:
|
|
12575
|
+
| { name: 'ForceXcmVersion'; params: { location: StagingXcmV5Location; version: number } }
|
|
12238
12576
|
/**
|
|
12239
12577
|
* Set a safe XCM version (the version that XCM should be encoded with if the most recent
|
|
12240
12578
|
* version a destination can accept is unknown).
|
|
@@ -12453,7 +12791,31 @@ export type PalletXcmCall =
|
|
|
12453
12791
|
customXcmOnDest: XcmVersionedXcm;
|
|
12454
12792
|
weightLimit: XcmV3WeightLimit;
|
|
12455
12793
|
};
|
|
12456
|
-
}
|
|
12794
|
+
}
|
|
12795
|
+
/**
|
|
12796
|
+
* Authorize another `aliaser` location to alias into the local `origin` making this call.
|
|
12797
|
+
* The `aliaser` is only authorized until the provided `expiry` block number.
|
|
12798
|
+
* The call can also be used for a previously authorized alias in order to update its
|
|
12799
|
+
* `expiry` block number.
|
|
12800
|
+
*
|
|
12801
|
+
* Usually useful to allow your local account to be aliased into from a remote location
|
|
12802
|
+
* also under your control (like your account on another chain).
|
|
12803
|
+
*
|
|
12804
|
+
* WARNING: make sure the caller `origin` (you) trusts the `aliaser` location to act in
|
|
12805
|
+
* their/your name. Once authorized using this call, the `aliaser` can freely impersonate
|
|
12806
|
+
* `origin` in XCM programs executed on the local chain.
|
|
12807
|
+
**/
|
|
12808
|
+
| { name: 'AddAuthorizedAlias'; params: { aliaser: XcmVersionedLocation; expires?: bigint | undefined } }
|
|
12809
|
+
/**
|
|
12810
|
+
* Remove a previously authorized `aliaser` from the list of locations that can alias into
|
|
12811
|
+
* the local `origin` making this call.
|
|
12812
|
+
**/
|
|
12813
|
+
| { name: 'RemoveAuthorizedAlias'; params: { aliaser: XcmVersionedLocation } }
|
|
12814
|
+
/**
|
|
12815
|
+
* Remove all previously authorized `aliaser`s that can alias into the local `origin`
|
|
12816
|
+
* making this call.
|
|
12817
|
+
**/
|
|
12818
|
+
| { name: 'RemoveAllAuthorizedAliases' };
|
|
12457
12819
|
|
|
12458
12820
|
export type PalletXcmCallLike =
|
|
12459
12821
|
| { name: 'Send'; params: { dest: XcmVersionedLocation; message: XcmVersionedXcm } }
|
|
@@ -12546,7 +12908,7 @@ export type PalletXcmCallLike =
|
|
|
12546
12908
|
* - `location`: The destination that is being described.
|
|
12547
12909
|
* - `xcm_version`: The latest version of XCM that `location` supports.
|
|
12548
12910
|
**/
|
|
12549
|
-
| { name: 'ForceXcmVersion'; params: { location:
|
|
12911
|
+
| { name: 'ForceXcmVersion'; params: { location: StagingXcmV5Location; version: number } }
|
|
12550
12912
|
/**
|
|
12551
12913
|
* Set a safe XCM version (the version that XCM should be encoded with if the most recent
|
|
12552
12914
|
* version a destination can accept is unknown).
|
|
@@ -12765,222 +13127,132 @@ export type PalletXcmCallLike =
|
|
|
12765
13127
|
customXcmOnDest: XcmVersionedXcm;
|
|
12766
13128
|
weightLimit: XcmV3WeightLimit;
|
|
12767
13129
|
};
|
|
12768
|
-
}
|
|
13130
|
+
}
|
|
13131
|
+
/**
|
|
13132
|
+
* Authorize another `aliaser` location to alias into the local `origin` making this call.
|
|
13133
|
+
* The `aliaser` is only authorized until the provided `expiry` block number.
|
|
13134
|
+
* The call can also be used for a previously authorized alias in order to update its
|
|
13135
|
+
* `expiry` block number.
|
|
13136
|
+
*
|
|
13137
|
+
* Usually useful to allow your local account to be aliased into from a remote location
|
|
13138
|
+
* also under your control (like your account on another chain).
|
|
13139
|
+
*
|
|
13140
|
+
* WARNING: make sure the caller `origin` (you) trusts the `aliaser` location to act in
|
|
13141
|
+
* their/your name. Once authorized using this call, the `aliaser` can freely impersonate
|
|
13142
|
+
* `origin` in XCM programs executed on the local chain.
|
|
13143
|
+
**/
|
|
13144
|
+
| { name: 'AddAuthorizedAlias'; params: { aliaser: XcmVersionedLocation; expires?: bigint | undefined } }
|
|
13145
|
+
/**
|
|
13146
|
+
* Remove a previously authorized `aliaser` from the list of locations that can alias into
|
|
13147
|
+
* the local `origin` making this call.
|
|
13148
|
+
**/
|
|
13149
|
+
| { name: 'RemoveAuthorizedAlias'; params: { aliaser: XcmVersionedLocation } }
|
|
13150
|
+
/**
|
|
13151
|
+
* Remove all previously authorized `aliaser`s that can alias into the local `origin`
|
|
13152
|
+
* making this call.
|
|
13153
|
+
**/
|
|
13154
|
+
| { name: 'RemoveAllAuthorizedAliases' };
|
|
12769
13155
|
|
|
12770
13156
|
export type XcmVersionedLocation =
|
|
12771
|
-
| { type: 'V2'; value: XcmV2MultilocationMultiLocation }
|
|
12772
13157
|
| { type: 'V3'; value: StagingXcmV3MultilocationMultiLocation }
|
|
12773
|
-
| { type: 'V4'; value: StagingXcmV4Location }
|
|
13158
|
+
| { type: 'V4'; value: StagingXcmV4Location }
|
|
13159
|
+
| { type: 'V5'; value: StagingXcmV5Location };
|
|
12774
13160
|
|
|
12775
|
-
export type
|
|
13161
|
+
export type StagingXcmV3MultilocationMultiLocation = { parents: number; interior: XcmV3Junctions };
|
|
12776
13162
|
|
|
12777
|
-
export type
|
|
13163
|
+
export type XcmV3Junctions =
|
|
12778
13164
|
| { type: 'Here' }
|
|
12779
|
-
| { type: 'X1'; value:
|
|
12780
|
-
| { type: 'X2'; value: [
|
|
12781
|
-
| { type: 'X3'; value: [
|
|
12782
|
-
| { type: 'X4'; value: [
|
|
12783
|
-
| { type: 'X5'; value: [
|
|
12784
|
-
| { type: 'X6'; value: [
|
|
13165
|
+
| { type: 'X1'; value: XcmV3Junction }
|
|
13166
|
+
| { type: 'X2'; value: [XcmV3Junction, XcmV3Junction] }
|
|
13167
|
+
| { type: 'X3'; value: [XcmV3Junction, XcmV3Junction, XcmV3Junction] }
|
|
13168
|
+
| { type: 'X4'; value: [XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction] }
|
|
13169
|
+
| { type: 'X5'; value: [XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction] }
|
|
13170
|
+
| { type: 'X6'; value: [XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction] }
|
|
12785
13171
|
| {
|
|
12786
13172
|
type: 'X7';
|
|
12787
|
-
value: [
|
|
13173
|
+
value: [XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction];
|
|
12788
13174
|
}
|
|
12789
13175
|
| {
|
|
12790
13176
|
type: 'X8';
|
|
12791
13177
|
value: [
|
|
12792
|
-
|
|
12793
|
-
|
|
12794
|
-
|
|
12795
|
-
|
|
12796
|
-
|
|
12797
|
-
|
|
12798
|
-
|
|
12799
|
-
|
|
13178
|
+
XcmV3Junction,
|
|
13179
|
+
XcmV3Junction,
|
|
13180
|
+
XcmV3Junction,
|
|
13181
|
+
XcmV3Junction,
|
|
13182
|
+
XcmV3Junction,
|
|
13183
|
+
XcmV3Junction,
|
|
13184
|
+
XcmV3Junction,
|
|
13185
|
+
XcmV3Junction,
|
|
12800
13186
|
];
|
|
12801
13187
|
};
|
|
12802
13188
|
|
|
12803
|
-
export type
|
|
13189
|
+
export type XcmV3Junction =
|
|
12804
13190
|
| { type: 'Parachain'; value: number }
|
|
12805
|
-
| { type: 'AccountId32'; value: { network
|
|
12806
|
-
| { type: 'AccountIndex64'; value: { network
|
|
12807
|
-
| { type: 'AccountKey20'; value: { network
|
|
13191
|
+
| { type: 'AccountId32'; value: { network?: XcmV3JunctionNetworkId | undefined; id: FixedBytes<32> } }
|
|
13192
|
+
| { type: 'AccountIndex64'; value: { network?: XcmV3JunctionNetworkId | undefined; index: bigint } }
|
|
13193
|
+
| { type: 'AccountKey20'; value: { network?: XcmV3JunctionNetworkId | undefined; key: FixedBytes<20> } }
|
|
12808
13194
|
| { type: 'PalletInstance'; value: number }
|
|
12809
13195
|
| { type: 'GeneralIndex'; value: bigint }
|
|
12810
|
-
| { type: 'GeneralKey'; value:
|
|
13196
|
+
| { type: 'GeneralKey'; value: { length: number; data: FixedBytes<32> } }
|
|
12811
13197
|
| { type: 'OnlyChild' }
|
|
12812
|
-
| { type: 'Plurality'; value: { id:
|
|
13198
|
+
| { type: 'Plurality'; value: { id: XcmV3JunctionBodyId; part: XcmV3JunctionBodyPart } }
|
|
13199
|
+
| { type: 'GlobalConsensus'; value: XcmV3JunctionNetworkId };
|
|
12813
13200
|
|
|
12814
|
-
export type
|
|
12815
|
-
| { type: '
|
|
12816
|
-
| { type: '
|
|
13201
|
+
export type XcmV3JunctionNetworkId =
|
|
13202
|
+
| { type: 'ByGenesis'; value: FixedBytes<32> }
|
|
13203
|
+
| { type: 'ByFork'; value: { blockNumber: bigint; blockHash: FixedBytes<32> } }
|
|
12817
13204
|
| { type: 'Polkadot' }
|
|
12818
|
-
| { type: 'Kusama' }
|
|
12819
|
-
|
|
12820
|
-
|
|
12821
|
-
| { type: '
|
|
12822
|
-
| { type: '
|
|
12823
|
-
| { type: '
|
|
12824
|
-
| { type: '
|
|
12825
|
-
| { type: '
|
|
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';
|
|
13205
|
+
| { type: 'Kusama' }
|
|
13206
|
+
| { type: 'Westend' }
|
|
13207
|
+
| { type: 'Rococo' }
|
|
13208
|
+
| { type: 'Wococo' }
|
|
13209
|
+
| { type: 'Ethereum'; value: { chainId: bigint } }
|
|
13210
|
+
| { type: 'BitcoinCore' }
|
|
13211
|
+
| { type: 'BitcoinCash' }
|
|
13212
|
+
| { type: 'PolkadotBulletin' };
|
|
12970
13213
|
|
|
12971
|
-
export type
|
|
13214
|
+
export type StagingXcmV4Location = { parents: number; interior: StagingXcmV4Junctions };
|
|
12972
13215
|
|
|
12973
|
-
export type
|
|
12974
|
-
| { type: '
|
|
12975
|
-
| { type: '
|
|
13216
|
+
export type StagingXcmV4Junctions =
|
|
13217
|
+
| { type: 'Here' }
|
|
13218
|
+
| { type: 'X1'; value: FixedArray<StagingXcmV4Junction, 1> }
|
|
13219
|
+
| { type: 'X2'; value: FixedArray<StagingXcmV4Junction, 2> }
|
|
13220
|
+
| { type: 'X3'; value: FixedArray<StagingXcmV4Junction, 3> }
|
|
13221
|
+
| { type: 'X4'; value: FixedArray<StagingXcmV4Junction, 4> }
|
|
13222
|
+
| { type: 'X5'; value: FixedArray<StagingXcmV4Junction, 5> }
|
|
13223
|
+
| { type: 'X6'; value: FixedArray<StagingXcmV4Junction, 6> }
|
|
13224
|
+
| { type: 'X7'; value: FixedArray<StagingXcmV4Junction, 7> }
|
|
13225
|
+
| { type: 'X8'; value: FixedArray<StagingXcmV4Junction, 8> };
|
|
12976
13226
|
|
|
12977
|
-
export type
|
|
12978
|
-
| { type: '
|
|
12979
|
-
| { type: '
|
|
13227
|
+
export type StagingXcmV4Junction =
|
|
13228
|
+
| { type: 'Parachain'; value: number }
|
|
13229
|
+
| { type: 'AccountId32'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; id: FixedBytes<32> } }
|
|
13230
|
+
| { type: 'AccountIndex64'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; index: bigint } }
|
|
13231
|
+
| { type: 'AccountKey20'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; key: FixedBytes<20> } }
|
|
13232
|
+
| { type: 'PalletInstance'; value: number }
|
|
13233
|
+
| { type: 'GeneralIndex'; value: bigint }
|
|
13234
|
+
| { type: 'GeneralKey'; value: { length: number; data: FixedBytes<32> } }
|
|
13235
|
+
| { type: 'OnlyChild' }
|
|
13236
|
+
| { type: 'Plurality'; value: { id: XcmV3JunctionBodyId; part: XcmV3JunctionBodyPart } }
|
|
13237
|
+
| { type: 'GlobalConsensus'; value: StagingXcmV4JunctionNetworkId };
|
|
12980
13238
|
|
|
12981
|
-
export type
|
|
13239
|
+
export type StagingXcmV4JunctionNetworkId =
|
|
13240
|
+
| { type: 'ByGenesis'; value: FixedBytes<32> }
|
|
13241
|
+
| { type: 'ByFork'; value: { blockNumber: bigint; blockHash: FixedBytes<32> } }
|
|
13242
|
+
| { type: 'Polkadot' }
|
|
13243
|
+
| { type: 'Kusama' }
|
|
13244
|
+
| { type: 'Westend' }
|
|
13245
|
+
| { type: 'Rococo' }
|
|
13246
|
+
| { type: 'Wococo' }
|
|
13247
|
+
| { type: 'Ethereum'; value: { chainId: bigint } }
|
|
13248
|
+
| { type: 'BitcoinCore' }
|
|
13249
|
+
| { type: 'BitcoinCash' }
|
|
13250
|
+
| { type: 'PolkadotBulletin' };
|
|
12982
13251
|
|
|
12983
|
-
export type
|
|
13252
|
+
export type XcmVersionedXcm =
|
|
13253
|
+
| { type: 'V3'; value: XcmV3Xcm }
|
|
13254
|
+
| { type: 'V4'; value: StagingXcmV4Xcm }
|
|
13255
|
+
| { type: 'V5'; value: StagingXcmV5Xcm };
|
|
12984
13256
|
|
|
12985
13257
|
export type XcmV3Xcm = Array<XcmV3Instruction>;
|
|
12986
13258
|
|
|
@@ -13171,6 +13443,8 @@ export type XcmV3MaybeErrorCode =
|
|
|
13171
13443
|
|
|
13172
13444
|
export type XcmV3OriginKind = 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';
|
|
13173
13445
|
|
|
13446
|
+
export type XcmDoubleEncoded = { encoded: Bytes };
|
|
13447
|
+
|
|
13174
13448
|
export type XcmV3QueryResponseInfo = {
|
|
13175
13449
|
destination: StagingXcmV3MultilocationMultiLocation;
|
|
13176
13450
|
queryId: bigint;
|
|
@@ -13337,50 +13611,264 @@ export type StagingXcmV4AssetWildAsset =
|
|
|
13337
13611
|
|
|
13338
13612
|
export type StagingXcmV4AssetWildFungibility = 'Fungible' | 'NonFungible';
|
|
13339
13613
|
|
|
13340
|
-
export type
|
|
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;
|
|
13614
|
+
export type StagingXcmV5Xcm = Array<StagingXcmV5Instruction>;
|
|
13361
13615
|
|
|
13362
|
-
|
|
13363
|
-
|
|
13364
|
-
|
|
13365
|
-
|
|
13366
|
-
|
|
13367
|
-
|
|
13368
|
-
|
|
13369
|
-
|
|
13370
|
-
|
|
13371
|
-
|
|
13372
|
-
|
|
13373
|
-
|
|
13374
|
-
|
|
13375
|
-
|
|
13376
|
-
|
|
13377
|
-
|
|
13378
|
-
|
|
13379
|
-
|
|
13380
|
-
|
|
13381
|
-
|
|
13382
|
-
|
|
13383
|
-
|
|
13616
|
+
export type StagingXcmV5Instruction =
|
|
13617
|
+
| { type: 'WithdrawAsset'; value: StagingXcmV5AssetAssets }
|
|
13618
|
+
| { type: 'ReserveAssetDeposited'; value: StagingXcmV5AssetAssets }
|
|
13619
|
+
| { type: 'ReceiveTeleportedAsset'; value: StagingXcmV5AssetAssets }
|
|
13620
|
+
| {
|
|
13621
|
+
type: 'QueryResponse';
|
|
13622
|
+
value: {
|
|
13623
|
+
queryId: bigint;
|
|
13624
|
+
response: StagingXcmV5Response;
|
|
13625
|
+
maxWeight: SpWeightsWeightV2Weight;
|
|
13626
|
+
querier?: StagingXcmV5Location | undefined;
|
|
13627
|
+
};
|
|
13628
|
+
}
|
|
13629
|
+
| { type: 'TransferAsset'; value: { assets: StagingXcmV5AssetAssets; beneficiary: StagingXcmV5Location } }
|
|
13630
|
+
| {
|
|
13631
|
+
type: 'TransferReserveAsset';
|
|
13632
|
+
value: { assets: StagingXcmV5AssetAssets; dest: StagingXcmV5Location; xcm: StagingXcmV5Xcm };
|
|
13633
|
+
}
|
|
13634
|
+
| {
|
|
13635
|
+
type: 'Transact';
|
|
13636
|
+
value: {
|
|
13637
|
+
originKind: XcmV3OriginKind;
|
|
13638
|
+
fallbackMaxWeight?: SpWeightsWeightV2Weight | undefined;
|
|
13639
|
+
call: XcmDoubleEncoded;
|
|
13640
|
+
};
|
|
13641
|
+
}
|
|
13642
|
+
| { type: 'HrmpNewChannelOpenRequest'; value: { sender: number; maxMessageSize: number; maxCapacity: number } }
|
|
13643
|
+
| { type: 'HrmpChannelAccepted'; value: { recipient: number } }
|
|
13644
|
+
| { type: 'HrmpChannelClosing'; value: { initiator: number; sender: number; recipient: number } }
|
|
13645
|
+
| { type: 'ClearOrigin' }
|
|
13646
|
+
| { type: 'DescendOrigin'; value: StagingXcmV5Junctions }
|
|
13647
|
+
| { type: 'ReportError'; value: StagingXcmV5QueryResponseInfo }
|
|
13648
|
+
| { type: 'DepositAsset'; value: { assets: StagingXcmV5AssetAssetFilter; beneficiary: StagingXcmV5Location } }
|
|
13649
|
+
| {
|
|
13650
|
+
type: 'DepositReserveAsset';
|
|
13651
|
+
value: { assets: StagingXcmV5AssetAssetFilter; dest: StagingXcmV5Location; xcm: StagingXcmV5Xcm };
|
|
13652
|
+
}
|
|
13653
|
+
| {
|
|
13654
|
+
type: 'ExchangeAsset';
|
|
13655
|
+
value: { give: StagingXcmV5AssetAssetFilter; want: StagingXcmV5AssetAssets; maximal: boolean };
|
|
13656
|
+
}
|
|
13657
|
+
| {
|
|
13658
|
+
type: 'InitiateReserveWithdraw';
|
|
13659
|
+
value: { assets: StagingXcmV5AssetAssetFilter; reserve: StagingXcmV5Location; xcm: StagingXcmV5Xcm };
|
|
13660
|
+
}
|
|
13661
|
+
| {
|
|
13662
|
+
type: 'InitiateTeleport';
|
|
13663
|
+
value: { assets: StagingXcmV5AssetAssetFilter; dest: StagingXcmV5Location; xcm: StagingXcmV5Xcm };
|
|
13664
|
+
}
|
|
13665
|
+
| {
|
|
13666
|
+
type: 'ReportHolding';
|
|
13667
|
+
value: { responseInfo: StagingXcmV5QueryResponseInfo; assets: StagingXcmV5AssetAssetFilter };
|
|
13668
|
+
}
|
|
13669
|
+
| { type: 'BuyExecution'; value: { fees: StagingXcmV5Asset; weightLimit: XcmV3WeightLimit } }
|
|
13670
|
+
| { type: 'RefundSurplus' }
|
|
13671
|
+
| { type: 'SetErrorHandler'; value: StagingXcmV5Xcm }
|
|
13672
|
+
| { type: 'SetAppendix'; value: StagingXcmV5Xcm }
|
|
13673
|
+
| { type: 'ClearError' }
|
|
13674
|
+
| { type: 'ClaimAsset'; value: { assets: StagingXcmV5AssetAssets; ticket: StagingXcmV5Location } }
|
|
13675
|
+
| { type: 'Trap'; value: bigint }
|
|
13676
|
+
| { type: 'SubscribeVersion'; value: { queryId: bigint; maxResponseWeight: SpWeightsWeightV2Weight } }
|
|
13677
|
+
| { type: 'UnsubscribeVersion' }
|
|
13678
|
+
| { type: 'BurnAsset'; value: StagingXcmV5AssetAssets }
|
|
13679
|
+
| { type: 'ExpectAsset'; value: StagingXcmV5AssetAssets }
|
|
13680
|
+
| { type: 'ExpectOrigin'; value?: StagingXcmV5Location | undefined }
|
|
13681
|
+
| { type: 'ExpectError'; value?: [number, XcmV5TraitsError] | undefined }
|
|
13682
|
+
| { type: 'ExpectTransactStatus'; value: XcmV3MaybeErrorCode }
|
|
13683
|
+
| { type: 'QueryPallet'; value: { moduleName: Bytes; responseInfo: StagingXcmV5QueryResponseInfo } }
|
|
13684
|
+
| {
|
|
13685
|
+
type: 'ExpectPallet';
|
|
13686
|
+
value: { index: number; name: Bytes; moduleName: Bytes; crateMajor: number; minCrateMinor: number };
|
|
13687
|
+
}
|
|
13688
|
+
| { type: 'ReportTransactStatus'; value: StagingXcmV5QueryResponseInfo }
|
|
13689
|
+
| { type: 'ClearTransactStatus' }
|
|
13690
|
+
| { type: 'UniversalOrigin'; value: StagingXcmV5Junction }
|
|
13691
|
+
| {
|
|
13692
|
+
type: 'ExportMessage';
|
|
13693
|
+
value: { network: StagingXcmV5JunctionNetworkId; destination: StagingXcmV5Junctions; xcm: StagingXcmV5Xcm };
|
|
13694
|
+
}
|
|
13695
|
+
| { type: 'LockAsset'; value: { asset: StagingXcmV5Asset; unlocker: StagingXcmV5Location } }
|
|
13696
|
+
| { type: 'UnlockAsset'; value: { asset: StagingXcmV5Asset; target: StagingXcmV5Location } }
|
|
13697
|
+
| { type: 'NoteUnlockable'; value: { asset: StagingXcmV5Asset; owner: StagingXcmV5Location } }
|
|
13698
|
+
| { type: 'RequestUnlock'; value: { asset: StagingXcmV5Asset; locker: StagingXcmV5Location } }
|
|
13699
|
+
| { type: 'SetFeesMode'; value: { jitWithdraw: boolean } }
|
|
13700
|
+
| { type: 'SetTopic'; value: FixedBytes<32> }
|
|
13701
|
+
| { type: 'ClearTopic' }
|
|
13702
|
+
| { type: 'AliasOrigin'; value: StagingXcmV5Location }
|
|
13703
|
+
| {
|
|
13704
|
+
type: 'UnpaidExecution';
|
|
13705
|
+
value: { weightLimit: XcmV3WeightLimit; checkOrigin?: StagingXcmV5Location | undefined };
|
|
13706
|
+
}
|
|
13707
|
+
| { type: 'PayFees'; value: { asset: StagingXcmV5Asset } }
|
|
13708
|
+
| {
|
|
13709
|
+
type: 'InitiateTransfer';
|
|
13710
|
+
value: {
|
|
13711
|
+
destination: StagingXcmV5Location;
|
|
13712
|
+
remoteFees?: StagingXcmV5AssetAssetTransferFilter | undefined;
|
|
13713
|
+
preserveOrigin: boolean;
|
|
13714
|
+
assets: Array<StagingXcmV5AssetAssetTransferFilter>;
|
|
13715
|
+
remoteXcm: StagingXcmV5Xcm;
|
|
13716
|
+
};
|
|
13717
|
+
}
|
|
13718
|
+
| { type: 'ExecuteWithOrigin'; value: { descendantOrigin?: StagingXcmV5Junctions | undefined; xcm: StagingXcmV5Xcm } }
|
|
13719
|
+
| { type: 'SetHints'; value: { hints: Array<StagingXcmV5Hint> } };
|
|
13720
|
+
|
|
13721
|
+
export type StagingXcmV5AssetAssets = Array<StagingXcmV5Asset>;
|
|
13722
|
+
|
|
13723
|
+
export type StagingXcmV5Asset = { id: StagingXcmV5AssetAssetId; fun: StagingXcmV5AssetFungibility };
|
|
13724
|
+
|
|
13725
|
+
export type StagingXcmV5AssetAssetId = StagingXcmV5Location;
|
|
13726
|
+
|
|
13727
|
+
export type StagingXcmV5AssetFungibility =
|
|
13728
|
+
| { type: 'Fungible'; value: bigint }
|
|
13729
|
+
| { type: 'NonFungible'; value: StagingXcmV5AssetAssetInstance };
|
|
13730
|
+
|
|
13731
|
+
export type StagingXcmV5AssetAssetInstance =
|
|
13732
|
+
| { type: 'Undefined' }
|
|
13733
|
+
| { type: 'Index'; value: bigint }
|
|
13734
|
+
| { type: 'Array4'; value: FixedBytes<4> }
|
|
13735
|
+
| { type: 'Array8'; value: FixedBytes<8> }
|
|
13736
|
+
| { type: 'Array16'; value: FixedBytes<16> }
|
|
13737
|
+
| { type: 'Array32'; value: FixedBytes<32> };
|
|
13738
|
+
|
|
13739
|
+
export type StagingXcmV5Response =
|
|
13740
|
+
| { type: 'Null' }
|
|
13741
|
+
| { type: 'Assets'; value: StagingXcmV5AssetAssets }
|
|
13742
|
+
| { type: 'ExecutionResult'; value?: [number, XcmV5TraitsError] | undefined }
|
|
13743
|
+
| { type: 'Version'; value: number }
|
|
13744
|
+
| { type: 'PalletsInfo'; value: Array<StagingXcmV5PalletInfo> }
|
|
13745
|
+
| { type: 'DispatchResult'; value: XcmV3MaybeErrorCode };
|
|
13746
|
+
|
|
13747
|
+
export type XcmV5TraitsError =
|
|
13748
|
+
| { type: 'Overflow' }
|
|
13749
|
+
| { type: 'Unimplemented' }
|
|
13750
|
+
| { type: 'UntrustedReserveLocation' }
|
|
13751
|
+
| { type: 'UntrustedTeleportLocation' }
|
|
13752
|
+
| { type: 'LocationFull' }
|
|
13753
|
+
| { type: 'LocationNotInvertible' }
|
|
13754
|
+
| { type: 'BadOrigin' }
|
|
13755
|
+
| { type: 'InvalidLocation' }
|
|
13756
|
+
| { type: 'AssetNotFound' }
|
|
13757
|
+
| { type: 'FailedToTransactAsset' }
|
|
13758
|
+
| { type: 'NotWithdrawable' }
|
|
13759
|
+
| { type: 'LocationCannotHold' }
|
|
13760
|
+
| { type: 'ExceedsMaxMessageSize' }
|
|
13761
|
+
| { type: 'DestinationUnsupported' }
|
|
13762
|
+
| { type: 'Transport' }
|
|
13763
|
+
| { type: 'Unroutable' }
|
|
13764
|
+
| { type: 'UnknownClaim' }
|
|
13765
|
+
| { type: 'FailedToDecode' }
|
|
13766
|
+
| { type: 'MaxWeightInvalid' }
|
|
13767
|
+
| { type: 'NotHoldingFees' }
|
|
13768
|
+
| { type: 'TooExpensive' }
|
|
13769
|
+
| { type: 'Trap'; value: bigint }
|
|
13770
|
+
| { type: 'ExpectationFalse' }
|
|
13771
|
+
| { type: 'PalletNotFound' }
|
|
13772
|
+
| { type: 'NameMismatch' }
|
|
13773
|
+
| { type: 'VersionIncompatible' }
|
|
13774
|
+
| { type: 'HoldingWouldOverflow' }
|
|
13775
|
+
| { type: 'ExportError' }
|
|
13776
|
+
| { type: 'ReanchorFailed' }
|
|
13777
|
+
| { type: 'NoDeal' }
|
|
13778
|
+
| { type: 'FeesNotMet' }
|
|
13779
|
+
| { type: 'LockError' }
|
|
13780
|
+
| { type: 'NoPermission' }
|
|
13781
|
+
| { type: 'Unanchored' }
|
|
13782
|
+
| { type: 'NotDepositable' }
|
|
13783
|
+
| { type: 'TooManyAssets' }
|
|
13784
|
+
| { type: 'UnhandledXcmVersion' }
|
|
13785
|
+
| { type: 'WeightLimitReached'; value: SpWeightsWeightV2Weight }
|
|
13786
|
+
| { type: 'Barrier' }
|
|
13787
|
+
| { type: 'WeightNotComputable' }
|
|
13788
|
+
| { type: 'ExceedsStackLimit' };
|
|
13789
|
+
|
|
13790
|
+
export type StagingXcmV5PalletInfo = {
|
|
13791
|
+
index: number;
|
|
13792
|
+
name: Bytes;
|
|
13793
|
+
moduleName: Bytes;
|
|
13794
|
+
major: number;
|
|
13795
|
+
minor: number;
|
|
13796
|
+
patch: number;
|
|
13797
|
+
};
|
|
13798
|
+
|
|
13799
|
+
export type StagingXcmV5QueryResponseInfo = {
|
|
13800
|
+
destination: StagingXcmV5Location;
|
|
13801
|
+
queryId: bigint;
|
|
13802
|
+
maxWeight: SpWeightsWeightV2Weight;
|
|
13803
|
+
};
|
|
13804
|
+
|
|
13805
|
+
export type StagingXcmV5AssetAssetFilter =
|
|
13806
|
+
| { type: 'Definite'; value: StagingXcmV5AssetAssets }
|
|
13807
|
+
| { type: 'Wild'; value: StagingXcmV5AssetWildAsset };
|
|
13808
|
+
|
|
13809
|
+
export type StagingXcmV5AssetWildAsset =
|
|
13810
|
+
| { type: 'All' }
|
|
13811
|
+
| { type: 'AllOf'; value: { id: StagingXcmV5AssetAssetId; fun: StagingXcmV5AssetWildFungibility } }
|
|
13812
|
+
| { type: 'AllCounted'; value: number }
|
|
13813
|
+
| {
|
|
13814
|
+
type: 'AllOfCounted';
|
|
13815
|
+
value: { id: StagingXcmV5AssetAssetId; fun: StagingXcmV5AssetWildFungibility; count: number };
|
|
13816
|
+
};
|
|
13817
|
+
|
|
13818
|
+
export type StagingXcmV5AssetWildFungibility = 'Fungible' | 'NonFungible';
|
|
13819
|
+
|
|
13820
|
+
export type StagingXcmV5AssetAssetTransferFilter =
|
|
13821
|
+
| { type: 'Teleport'; value: StagingXcmV5AssetAssetFilter }
|
|
13822
|
+
| { type: 'ReserveDeposit'; value: StagingXcmV5AssetAssetFilter }
|
|
13823
|
+
| { type: 'ReserveWithdraw'; value: StagingXcmV5AssetAssetFilter };
|
|
13824
|
+
|
|
13825
|
+
export type StagingXcmV5Hint = { type: 'AssetClaimer'; value: { location: StagingXcmV5Location } };
|
|
13826
|
+
|
|
13827
|
+
export type XcmVersionedAssets =
|
|
13828
|
+
| { type: 'V3'; value: XcmV3MultiassetMultiAssets }
|
|
13829
|
+
| { type: 'V4'; value: StagingXcmV4AssetAssets }
|
|
13830
|
+
| { type: 'V5'; value: StagingXcmV5AssetAssets };
|
|
13831
|
+
|
|
13832
|
+
export type StagingXcmExecutorAssetTransferTransferType =
|
|
13833
|
+
| { type: 'Teleport' }
|
|
13834
|
+
| { type: 'LocalReserve' }
|
|
13835
|
+
| { type: 'DestinationReserve' }
|
|
13836
|
+
| { type: 'RemoteReserve'; value: XcmVersionedLocation };
|
|
13837
|
+
|
|
13838
|
+
export type XcmVersionedAssetId =
|
|
13839
|
+
| { type: 'V3'; value: XcmV3MultiassetAssetId }
|
|
13840
|
+
| { type: 'V4'; value: StagingXcmV4AssetAssetId }
|
|
13841
|
+
| { type: 'V5'; value: StagingXcmV5AssetAssetId };
|
|
13842
|
+
|
|
13843
|
+
/**
|
|
13844
|
+
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
13845
|
+
**/
|
|
13846
|
+
export type CumulusPalletXcmCall = null;
|
|
13847
|
+
|
|
13848
|
+
export type CumulusPalletXcmCallLike = null;
|
|
13849
|
+
|
|
13850
|
+
/**
|
|
13851
|
+
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
13852
|
+
**/
|
|
13853
|
+
export type PalletMessageQueueCall =
|
|
13854
|
+
/**
|
|
13855
|
+
* Remove a page which has no more messages remaining to be processed or is stale.
|
|
13856
|
+
**/
|
|
13857
|
+
| { name: 'ReapPage'; params: { messageOrigin: CumulusPrimitivesCoreAggregateMessageOrigin; pageIndex: number } }
|
|
13858
|
+
/**
|
|
13859
|
+
* Execute an overweight message.
|
|
13860
|
+
*
|
|
13861
|
+
* Temporary processing errors will be propagated whereas permanent errors are treated
|
|
13862
|
+
* as success condition.
|
|
13863
|
+
*
|
|
13864
|
+
* - `origin`: Must be `Signed`.
|
|
13865
|
+
* - `message_origin`: The origin from which the message to be executed arrived.
|
|
13866
|
+
* - `page`: The page in the queue in which the message to be executed is sitting.
|
|
13867
|
+
* - `index`: The index into the queue of the message to be executed.
|
|
13868
|
+
* - `weight_limit`: The maximum amount of weight allowed to be consumed in the execution
|
|
13869
|
+
* of the message.
|
|
13870
|
+
*
|
|
13871
|
+
* Benchmark complexity considerations: O(index + weight_limit).
|
|
13384
13872
|
**/
|
|
13385
13873
|
| {
|
|
13386
13874
|
name: 'ExecuteOverweight';
|
|
@@ -13427,6 +13915,93 @@ export type CumulusPrimitivesCoreAggregateMessageOrigin =
|
|
|
13427
13915
|
| { type: 'Parent' }
|
|
13428
13916
|
| { type: 'Sibling'; value: PolkadotParachainPrimitivesPrimitivesId };
|
|
13429
13917
|
|
|
13918
|
+
/**
|
|
13919
|
+
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
13920
|
+
**/
|
|
13921
|
+
export type PalletMigrationsCall =
|
|
13922
|
+
/**
|
|
13923
|
+
* Allows root to set a cursor to forcefully start, stop or forward the migration process.
|
|
13924
|
+
*
|
|
13925
|
+
* Should normally not be needed and is only in place as emergency measure. Note that
|
|
13926
|
+
* restarting the migration process in this manner will not call the
|
|
13927
|
+
* [`MigrationStatusHandler::started`] hook or emit an `UpgradeStarted` event.
|
|
13928
|
+
**/
|
|
13929
|
+
| { name: 'ForceSetCursor'; params: { cursor?: PalletMigrationsMigrationCursor | undefined } }
|
|
13930
|
+
/**
|
|
13931
|
+
* Allows root to set an active cursor to forcefully start/forward the migration process.
|
|
13932
|
+
*
|
|
13933
|
+
* This is an edge-case version of [`Self::force_set_cursor`] that allows to set the
|
|
13934
|
+
* `started_at` value to the next block number. Otherwise this would not be possible, since
|
|
13935
|
+
* `force_set_cursor` takes an absolute block number. Setting `started_at` to `None`
|
|
13936
|
+
* indicates that the current block number plus one should be used.
|
|
13937
|
+
**/
|
|
13938
|
+
| {
|
|
13939
|
+
name: 'ForceSetActiveCursor';
|
|
13940
|
+
params: { index: number; innerCursor?: Bytes | undefined; startedAt?: number | undefined };
|
|
13941
|
+
}
|
|
13942
|
+
/**
|
|
13943
|
+
* Forces the onboarding of the migrations.
|
|
13944
|
+
*
|
|
13945
|
+
* This process happens automatically on a runtime upgrade. It is in place as an emergency
|
|
13946
|
+
* measurement. The cursor needs to be `None` for this to succeed.
|
|
13947
|
+
**/
|
|
13948
|
+
| { name: 'ForceOnboardMbms' }
|
|
13949
|
+
/**
|
|
13950
|
+
* Clears the `Historic` set.
|
|
13951
|
+
*
|
|
13952
|
+
* `map_cursor` must be set to the last value that was returned by the
|
|
13953
|
+
* `HistoricCleared` event. The first time `None` can be used. `limit` must be chosen in a
|
|
13954
|
+
* way that will result in a sensible weight.
|
|
13955
|
+
**/
|
|
13956
|
+
| { name: 'ClearHistoric'; params: { selector: PalletMigrationsHistoricCleanupSelector } };
|
|
13957
|
+
|
|
13958
|
+
export type PalletMigrationsCallLike =
|
|
13959
|
+
/**
|
|
13960
|
+
* Allows root to set a cursor to forcefully start, stop or forward the migration process.
|
|
13961
|
+
*
|
|
13962
|
+
* Should normally not be needed and is only in place as emergency measure. Note that
|
|
13963
|
+
* restarting the migration process in this manner will not call the
|
|
13964
|
+
* [`MigrationStatusHandler::started`] hook or emit an `UpgradeStarted` event.
|
|
13965
|
+
**/
|
|
13966
|
+
| { name: 'ForceSetCursor'; params: { cursor?: PalletMigrationsMigrationCursor | undefined } }
|
|
13967
|
+
/**
|
|
13968
|
+
* Allows root to set an active cursor to forcefully start/forward the migration process.
|
|
13969
|
+
*
|
|
13970
|
+
* This is an edge-case version of [`Self::force_set_cursor`] that allows to set the
|
|
13971
|
+
* `started_at` value to the next block number. Otherwise this would not be possible, since
|
|
13972
|
+
* `force_set_cursor` takes an absolute block number. Setting `started_at` to `None`
|
|
13973
|
+
* indicates that the current block number plus one should be used.
|
|
13974
|
+
**/
|
|
13975
|
+
| {
|
|
13976
|
+
name: 'ForceSetActiveCursor';
|
|
13977
|
+
params: { index: number; innerCursor?: BytesLike | undefined; startedAt?: number | undefined };
|
|
13978
|
+
}
|
|
13979
|
+
/**
|
|
13980
|
+
* Forces the onboarding of the migrations.
|
|
13981
|
+
*
|
|
13982
|
+
* This process happens automatically on a runtime upgrade. It is in place as an emergency
|
|
13983
|
+
* measurement. The cursor needs to be `None` for this to succeed.
|
|
13984
|
+
**/
|
|
13985
|
+
| { name: 'ForceOnboardMbms' }
|
|
13986
|
+
/**
|
|
13987
|
+
* Clears the `Historic` set.
|
|
13988
|
+
*
|
|
13989
|
+
* `map_cursor` must be set to the last value that was returned by the
|
|
13990
|
+
* `HistoricCleared` event. The first time `None` can be used. `limit` must be chosen in a
|
|
13991
|
+
* way that will result in a sensible weight.
|
|
13992
|
+
**/
|
|
13993
|
+
| { name: 'ClearHistoric'; params: { selector: PalletMigrationsHistoricCleanupSelector } };
|
|
13994
|
+
|
|
13995
|
+
export type PalletMigrationsMigrationCursor =
|
|
13996
|
+
| { type: 'Active'; value: PalletMigrationsActiveCursor }
|
|
13997
|
+
| { type: 'Stuck' };
|
|
13998
|
+
|
|
13999
|
+
export type PalletMigrationsActiveCursor = { index: number; innerCursor?: Bytes | undefined; startedAt: number };
|
|
14000
|
+
|
|
14001
|
+
export type PalletMigrationsHistoricCleanupSelector =
|
|
14002
|
+
| { type: 'Specific'; value: Array<Bytes> }
|
|
14003
|
+
| { type: 'Wildcard'; value: { limit?: number | undefined; previousCursor?: Bytes | undefined } };
|
|
14004
|
+
|
|
13430
14005
|
/**
|
|
13431
14006
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
13432
14007
|
**/
|
|
@@ -13756,9 +14331,9 @@ export type OrmlXtokensModuleCallLike =
|
|
|
13756
14331
|
};
|
|
13757
14332
|
|
|
13758
14333
|
export type XcmVersionedAsset =
|
|
13759
|
-
| { type: 'V2'; value: XcmV2MultiassetMultiAsset }
|
|
13760
14334
|
| { type: 'V3'; value: XcmV3MultiassetMultiAsset }
|
|
13761
|
-
| { type: 'V4'; value: StagingXcmV4Asset }
|
|
14335
|
+
| { type: 'V4'; value: StagingXcmV4Asset }
|
|
14336
|
+
| { type: 'V5'; value: StagingXcmV5Asset };
|
|
13762
14337
|
|
|
13763
14338
|
/**
|
|
13764
14339
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -13988,332 +14563,15 @@ export type PalletSessionCallLike =
|
|
|
13988
14563
|
* means being a controller account) or directly convertible into a validator ID (which
|
|
13989
14564
|
* usually means being a stash account).
|
|
13990
14565
|
*
|
|
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
|
|
14566
|
+
* ## Complexity
|
|
14567
|
+
* - `O(1)` in number of key types. Actual cost depends on the number of length of
|
|
14568
|
+
* `T::Keys::key_ids()` which is fixed.
|
|
14280
14569
|
**/
|
|
14281
|
-
| { name: '
|
|
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
|
-
};
|
|
14570
|
+
| { name: 'PurgeKeys' };
|
|
14308
14571
|
|
|
14309
|
-
export type
|
|
14310
|
-
assetId: H256;
|
|
14311
|
-
addChains: Array<IsmpHostStateMachine>;
|
|
14312
|
-
removeChains: Array<IsmpHostStateMachine>;
|
|
14313
|
-
newAdmins: Array<[IsmpHostStateMachine, H160]>;
|
|
14314
|
-
};
|
|
14572
|
+
export type HydradxRuntimeOpaqueSessionKeys = { aura: SpConsensusAuraSr25519AppSr25519Public };
|
|
14315
14573
|
|
|
14316
|
-
export type
|
|
14574
|
+
export type SpConsensusAuraSr25519AppSr25519Public = FixedBytes<32>;
|
|
14317
14575
|
|
|
14318
14576
|
/**
|
|
14319
14577
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -15385,7 +15643,7 @@ export type PalletDispenserEvent =
|
|
|
15385
15643
|
/**
|
|
15386
15644
|
* Target EVM address to receive ETH.
|
|
15387
15645
|
**/
|
|
15388
|
-
to:
|
|
15646
|
+
to: H160;
|
|
15389
15647
|
|
|
15390
15648
|
/**
|
|
15391
15649
|
* Requested amount of ETH (in wei).
|
|
@@ -15882,7 +16140,11 @@ export type PalletSchedulerEvent =
|
|
|
15882
16140
|
/**
|
|
15883
16141
|
* The given task can never be executed since it is overweight.
|
|
15884
16142
|
**/
|
|
15885
|
-
| { name: 'PermanentlyOverweight'; data: { task: [number, number]; id?: FixedBytes<32> | undefined } }
|
|
16143
|
+
| { name: 'PermanentlyOverweight'; data: { task: [number, number]; id?: FixedBytes<32> | undefined } }
|
|
16144
|
+
/**
|
|
16145
|
+
* Agenda is incomplete from `when`.
|
|
16146
|
+
**/
|
|
16147
|
+
| { name: 'AgendaIncomplete'; data: { when: number } };
|
|
15886
16148
|
|
|
15887
16149
|
/**
|
|
15888
16150
|
* The `Event` enum of this pallet
|
|
@@ -15920,30 +16182,49 @@ export type PalletXcmEvent =
|
|
|
15920
16182
|
/**
|
|
15921
16183
|
* Execution of an XCM message was attempted.
|
|
15922
16184
|
**/
|
|
15923
|
-
| { name: 'Attempted'; data: { outcome:
|
|
16185
|
+
| { name: 'Attempted'; data: { outcome: StagingXcmV5TraitsOutcome } }
|
|
15924
16186
|
/**
|
|
15925
|
-
*
|
|
16187
|
+
* An XCM message was sent.
|
|
15926
16188
|
**/
|
|
15927
16189
|
| {
|
|
15928
16190
|
name: 'Sent';
|
|
15929
16191
|
data: {
|
|
15930
|
-
origin:
|
|
15931
|
-
destination:
|
|
15932
|
-
message:
|
|
16192
|
+
origin: StagingXcmV5Location;
|
|
16193
|
+
destination: StagingXcmV5Location;
|
|
16194
|
+
message: StagingXcmV5Xcm;
|
|
16195
|
+
messageId: FixedBytes<32>;
|
|
16196
|
+
};
|
|
16197
|
+
}
|
|
16198
|
+
/**
|
|
16199
|
+
* An XCM message failed to send.
|
|
16200
|
+
**/
|
|
16201
|
+
| {
|
|
16202
|
+
name: 'SendFailed';
|
|
16203
|
+
data: {
|
|
16204
|
+
origin: StagingXcmV5Location;
|
|
16205
|
+
destination: StagingXcmV5Location;
|
|
16206
|
+
error: XcmV3TraitsSendError;
|
|
15933
16207
|
messageId: FixedBytes<32>;
|
|
15934
16208
|
};
|
|
15935
16209
|
}
|
|
16210
|
+
/**
|
|
16211
|
+
* An XCM message failed to process.
|
|
16212
|
+
**/
|
|
16213
|
+
| {
|
|
16214
|
+
name: 'ProcessXcmError';
|
|
16215
|
+
data: { origin: StagingXcmV5Location; error: XcmV5TraitsError; messageId: FixedBytes<32> };
|
|
16216
|
+
}
|
|
15936
16217
|
/**
|
|
15937
16218
|
* Query response received which does not match a registered query. This may be because a
|
|
15938
16219
|
* matching query was never registered, it may be because it is a duplicate response, or
|
|
15939
16220
|
* because the query timed out.
|
|
15940
16221
|
**/
|
|
15941
|
-
| { name: 'UnexpectedResponse'; data: { origin:
|
|
16222
|
+
| { name: 'UnexpectedResponse'; data: { origin: StagingXcmV5Location; queryId: bigint } }
|
|
15942
16223
|
/**
|
|
15943
16224
|
* Query response has been received and is ready for taking with `take_response`. There is
|
|
15944
16225
|
* no registered notification call.
|
|
15945
16226
|
**/
|
|
15946
|
-
| { name: 'ResponseReady'; data: { queryId: bigint; response:
|
|
16227
|
+
| { name: 'ResponseReady'; data: { queryId: bigint; response: StagingXcmV5Response } }
|
|
15947
16228
|
/**
|
|
15948
16229
|
* Query response has been received and query is removed. The registered notification has
|
|
15949
16230
|
* been dispatched and executed successfully.
|
|
@@ -15982,7 +16263,7 @@ export type PalletXcmEvent =
|
|
|
15982
16263
|
**/
|
|
15983
16264
|
| {
|
|
15984
16265
|
name: 'InvalidResponder';
|
|
15985
|
-
data: { origin:
|
|
16266
|
+
data: { origin: StagingXcmV5Location; queryId: bigint; expectedLocation?: StagingXcmV5Location | undefined };
|
|
15986
16267
|
}
|
|
15987
16268
|
/**
|
|
15988
16269
|
* Expected query response has been received but the expected origin location placed in
|
|
@@ -15993,7 +16274,7 @@ export type PalletXcmEvent =
|
|
|
15993
16274
|
* valid response will be dropped. Manual governance intervention is probably going to be
|
|
15994
16275
|
* needed.
|
|
15995
16276
|
**/
|
|
15996
|
-
| { name: 'InvalidResponderVersion'; data: { origin:
|
|
16277
|
+
| { name: 'InvalidResponderVersion'; data: { origin: StagingXcmV5Location; queryId: bigint } }
|
|
15997
16278
|
/**
|
|
15998
16279
|
* Received query response has been read and removed.
|
|
15999
16280
|
**/
|
|
@@ -16001,7 +16282,7 @@ export type PalletXcmEvent =
|
|
|
16001
16282
|
/**
|
|
16002
16283
|
* Some assets have been placed in an asset trap.
|
|
16003
16284
|
**/
|
|
16004
|
-
| { name: 'AssetsTrapped'; data: { hash: H256; origin:
|
|
16285
|
+
| { name: 'AssetsTrapped'; data: { hash: H256; origin: StagingXcmV5Location; assets: XcmVersionedAssets } }
|
|
16005
16286
|
/**
|
|
16006
16287
|
* An XCM version change notification message has been attempted to be sent.
|
|
16007
16288
|
*
|
|
@@ -16010,9 +16291,9 @@ export type PalletXcmEvent =
|
|
|
16010
16291
|
| {
|
|
16011
16292
|
name: 'VersionChangeNotified';
|
|
16012
16293
|
data: {
|
|
16013
|
-
destination:
|
|
16294
|
+
destination: StagingXcmV5Location;
|
|
16014
16295
|
result: number;
|
|
16015
|
-
cost:
|
|
16296
|
+
cost: StagingXcmV5AssetAssets;
|
|
16016
16297
|
messageId: FixedBytes<32>;
|
|
16017
16298
|
};
|
|
16018
16299
|
}
|
|
@@ -16020,12 +16301,12 @@ export type PalletXcmEvent =
|
|
|
16020
16301
|
* The supported version of a location has been changed. This might be through an
|
|
16021
16302
|
* automatic notification or a manual intervention.
|
|
16022
16303
|
**/
|
|
16023
|
-
| { name: 'SupportedVersionChanged'; data: { location:
|
|
16304
|
+
| { name: 'SupportedVersionChanged'; data: { location: StagingXcmV5Location; version: number } }
|
|
16024
16305
|
/**
|
|
16025
16306
|
* A given location which had a version change subscription was dropped owing to an error
|
|
16026
16307
|
* sending the notification to it.
|
|
16027
16308
|
**/
|
|
16028
|
-
| { name: 'NotifyTargetSendFail'; data: { location:
|
|
16309
|
+
| { name: 'NotifyTargetSendFail'; data: { location: StagingXcmV5Location; queryId: bigint; error: XcmV5TraitsError } }
|
|
16029
16310
|
/**
|
|
16030
16311
|
* A given location which had a version change subscription was dropped owing to an error
|
|
16031
16312
|
* migrating the location to our new XCM format.
|
|
@@ -16040,7 +16321,7 @@ export type PalletXcmEvent =
|
|
|
16040
16321
|
* valid response will be dropped. Manual governance intervention is probably going to be
|
|
16041
16322
|
* needed.
|
|
16042
16323
|
**/
|
|
16043
|
-
| { name: 'InvalidQuerierVersion'; data: { origin:
|
|
16324
|
+
| { name: 'InvalidQuerierVersion'; data: { origin: StagingXcmV5Location; queryId: bigint } }
|
|
16044
16325
|
/**
|
|
16045
16326
|
* Expected query response has been received but the querier location of the response does
|
|
16046
16327
|
* not match the expected. The query remains registered for a later, valid, response to
|
|
@@ -16049,10 +16330,10 @@ export type PalletXcmEvent =
|
|
|
16049
16330
|
| {
|
|
16050
16331
|
name: 'InvalidQuerier';
|
|
16051
16332
|
data: {
|
|
16052
|
-
origin:
|
|
16333
|
+
origin: StagingXcmV5Location;
|
|
16053
16334
|
queryId: bigint;
|
|
16054
|
-
expectedQuerier:
|
|
16055
|
-
maybeActualQuerier?:
|
|
16335
|
+
expectedQuerier: StagingXcmV5Location;
|
|
16336
|
+
maybeActualQuerier?: StagingXcmV5Location | undefined;
|
|
16056
16337
|
};
|
|
16057
16338
|
}
|
|
16058
16339
|
/**
|
|
@@ -16061,14 +16342,14 @@ export type PalletXcmEvent =
|
|
|
16061
16342
|
**/
|
|
16062
16343
|
| {
|
|
16063
16344
|
name: 'VersionNotifyStarted';
|
|
16064
|
-
data: { destination:
|
|
16345
|
+
data: { destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> };
|
|
16065
16346
|
}
|
|
16066
16347
|
/**
|
|
16067
16348
|
* We have requested that a remote chain send us XCM version change notifications.
|
|
16068
16349
|
**/
|
|
16069
16350
|
| {
|
|
16070
16351
|
name: 'VersionNotifyRequested';
|
|
16071
|
-
data: { destination:
|
|
16352
|
+
data: { destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> };
|
|
16072
16353
|
}
|
|
16073
16354
|
/**
|
|
16074
16355
|
* We have requested that a remote chain stops sending us XCM version change
|
|
@@ -16076,25 +16357,50 @@ export type PalletXcmEvent =
|
|
|
16076
16357
|
**/
|
|
16077
16358
|
| {
|
|
16078
16359
|
name: 'VersionNotifyUnrequested';
|
|
16079
|
-
data: { destination:
|
|
16360
|
+
data: { destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> };
|
|
16080
16361
|
}
|
|
16081
16362
|
/**
|
|
16082
16363
|
* Fees were paid from a location for an operation (often for using `SendXcm`).
|
|
16083
16364
|
**/
|
|
16084
|
-
| { name: 'FeesPaid'; data: { paying:
|
|
16365
|
+
| { name: 'FeesPaid'; data: { paying: StagingXcmV5Location; fees: StagingXcmV5AssetAssets } }
|
|
16085
16366
|
/**
|
|
16086
16367
|
* Some assets have been claimed from an asset trap
|
|
16087
16368
|
**/
|
|
16088
|
-
| { name: 'AssetsClaimed'; data: { hash: H256; origin:
|
|
16369
|
+
| { name: 'AssetsClaimed'; data: { hash: H256; origin: StagingXcmV5Location; assets: XcmVersionedAssets } }
|
|
16089
16370
|
/**
|
|
16090
16371
|
* A XCM version migration finished.
|
|
16091
16372
|
**/
|
|
16092
|
-
| { name: 'VersionMigrationFinished'; data: { version: number } }
|
|
16373
|
+
| { name: 'VersionMigrationFinished'; data: { version: number } }
|
|
16374
|
+
/**
|
|
16375
|
+
* An `aliaser` location was authorized by `target` to alias it, authorization valid until
|
|
16376
|
+
* `expiry` block number.
|
|
16377
|
+
**/
|
|
16378
|
+
| {
|
|
16379
|
+
name: 'AliasAuthorized';
|
|
16380
|
+
data: { aliaser: StagingXcmV5Location; target: StagingXcmV5Location; expiry?: bigint | undefined };
|
|
16381
|
+
}
|
|
16382
|
+
/**
|
|
16383
|
+
* `target` removed alias authorization for `aliaser`.
|
|
16384
|
+
**/
|
|
16385
|
+
| { name: 'AliasAuthorizationRemoved'; data: { aliaser: StagingXcmV5Location; target: StagingXcmV5Location } }
|
|
16386
|
+
/**
|
|
16387
|
+
* `target` removed all alias authorizations.
|
|
16388
|
+
**/
|
|
16389
|
+
| { name: 'AliasesAuthorizationsRemoved'; data: { target: StagingXcmV5Location } };
|
|
16093
16390
|
|
|
16094
|
-
export type
|
|
16391
|
+
export type StagingXcmV5TraitsOutcome =
|
|
16095
16392
|
| { type: 'Complete'; value: { used: SpWeightsWeightV2Weight } }
|
|
16096
|
-
| { type: 'Incomplete'; value: { used: SpWeightsWeightV2Weight; error:
|
|
16097
|
-
| { type: 'Error'; value: { error:
|
|
16393
|
+
| { type: 'Incomplete'; value: { used: SpWeightsWeightV2Weight; error: XcmV5TraitsError } }
|
|
16394
|
+
| { type: 'Error'; value: { error: XcmV5TraitsError } };
|
|
16395
|
+
|
|
16396
|
+
export type XcmV3TraitsSendError =
|
|
16397
|
+
| 'NotApplicable'
|
|
16398
|
+
| 'Transport'
|
|
16399
|
+
| 'Unroutable'
|
|
16400
|
+
| 'DestinationUnsupported'
|
|
16401
|
+
| 'ExceedsMaxMessageSize'
|
|
16402
|
+
| 'MissingArgument'
|
|
16403
|
+
| 'Fees';
|
|
16098
16404
|
|
|
16099
16405
|
/**
|
|
16100
16406
|
* The `Event` enum of this pallet
|
|
@@ -16114,7 +16420,7 @@ export type CumulusPalletXcmEvent =
|
|
|
16114
16420
|
* Downward message executed with the given outcome.
|
|
16115
16421
|
* \[ id, outcome \]
|
|
16116
16422
|
**/
|
|
16117
|
-
| { name: 'ExecutedDownward'; data: [FixedBytes<32>,
|
|
16423
|
+
| { name: 'ExecutedDownward'; data: [FixedBytes<32>, StagingXcmV5TraitsOutcome] };
|
|
16118
16424
|
|
|
16119
16425
|
/**
|
|
16120
16426
|
* The `Event` enum of this pallet
|
|
@@ -16241,444 +16547,213 @@ export type FrameSupportMessagesProcessMessageError =
|
|
|
16241
16547
|
|
|
16242
16548
|
/**
|
|
16243
16549
|
* The `Event` enum of this pallet
|
|
16244
|
-
**/
|
|
16245
|
-
export type
|
|
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
|
-
}
|
|
16550
|
+
**/
|
|
16551
|
+
export type PalletMigrationsEvent =
|
|
16546
16552
|
/**
|
|
16547
|
-
* A
|
|
16553
|
+
* A Runtime upgrade started.
|
|
16554
|
+
*
|
|
16555
|
+
* Its end is indicated by `UpgradeCompleted` or `UpgradeFailed`.
|
|
16548
16556
|
**/
|
|
16549
16557
|
| {
|
|
16550
|
-
name: '
|
|
16558
|
+
name: 'UpgradeStarted';
|
|
16551
16559
|
data: {
|
|
16552
16560
|
/**
|
|
16553
|
-
* The
|
|
16554
|
-
|
|
16555
|
-
|
|
16556
|
-
|
|
16557
|
-
/**
|
|
16558
|
-
* The withdrawal beneficiary
|
|
16561
|
+
* The number of migrations that this upgrade contains.
|
|
16562
|
+
*
|
|
16563
|
+
* This can be used to design a progress indicator in combination with counting the
|
|
16564
|
+
* `MigrationCompleted` and `MigrationSkipped` events.
|
|
16559
16565
|
**/
|
|
16560
|
-
|
|
16566
|
+
migrations: number;
|
|
16561
16567
|
};
|
|
16562
16568
|
}
|
|
16563
16569
|
/**
|
|
16564
|
-
*
|
|
16570
|
+
* The current runtime upgrade completed.
|
|
16571
|
+
*
|
|
16572
|
+
* This implies that all of its migrations completed successfully as well.
|
|
16573
|
+
**/
|
|
16574
|
+
| { name: 'UpgradeCompleted' }
|
|
16575
|
+
/**
|
|
16576
|
+
* Runtime upgrade failed.
|
|
16577
|
+
*
|
|
16578
|
+
* This is very bad and will require governance intervention.
|
|
16579
|
+
**/
|
|
16580
|
+
| { name: 'UpgradeFailed' }
|
|
16581
|
+
/**
|
|
16582
|
+
* A migration was skipped since it was already executed in the past.
|
|
16565
16583
|
**/
|
|
16566
16584
|
| {
|
|
16567
|
-
name: '
|
|
16585
|
+
name: 'MigrationSkipped';
|
|
16568
16586
|
data: {
|
|
16569
16587
|
/**
|
|
16570
|
-
* The
|
|
16571
|
-
**/
|
|
16572
|
-
amount: bigint;
|
|
16573
|
-
|
|
16574
|
-
/**
|
|
16575
|
-
* The withdrawal beneficiary
|
|
16588
|
+
* The index of the skipped migration within the [`Config::Migrations`] list.
|
|
16576
16589
|
**/
|
|
16577
|
-
|
|
16590
|
+
index: number;
|
|
16578
16591
|
};
|
|
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 =
|
|
16592
|
+
}
|
|
16593
16593
|
/**
|
|
16594
|
-
*
|
|
16594
|
+
* A migration progressed.
|
|
16595
16595
|
**/
|
|
16596
16596
|
| {
|
|
16597
|
-
name: '
|
|
16597
|
+
name: 'MigrationAdvanced';
|
|
16598
16598
|
data: {
|
|
16599
16599
|
/**
|
|
16600
|
-
*
|
|
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
|
|
16600
|
+
* The index of the migration within the [`Config::Migrations`] list.
|
|
16616
16601
|
**/
|
|
16617
|
-
|
|
16602
|
+
index: number;
|
|
16618
16603
|
|
|
16619
16604
|
/**
|
|
16620
|
-
*
|
|
16605
|
+
* The number of blocks that this migration took so far.
|
|
16621
16606
|
**/
|
|
16622
|
-
|
|
16607
|
+
took: number;
|
|
16623
16608
|
};
|
|
16624
16609
|
}
|
|
16625
16610
|
/**
|
|
16626
|
-
*
|
|
16611
|
+
* A Migration completed.
|
|
16627
16612
|
**/
|
|
16628
16613
|
| {
|
|
16629
|
-
name: '
|
|
16614
|
+
name: 'MigrationCompleted';
|
|
16630
16615
|
data: {
|
|
16631
16616
|
/**
|
|
16632
|
-
*
|
|
16633
|
-
**/
|
|
16634
|
-
beneficiary: AccountId32;
|
|
16635
|
-
|
|
16636
|
-
/**
|
|
16637
|
-
* Amount transferred
|
|
16617
|
+
* The index of the migration within the [`Config::Migrations`] list.
|
|
16638
16618
|
**/
|
|
16639
|
-
|
|
16619
|
+
index: number;
|
|
16640
16620
|
|
|
16641
16621
|
/**
|
|
16642
|
-
*
|
|
16622
|
+
* The number of blocks that this migration took so far.
|
|
16643
16623
|
**/
|
|
16644
|
-
|
|
16624
|
+
took: number;
|
|
16645
16625
|
};
|
|
16646
16626
|
}
|
|
16647
16627
|
/**
|
|
16648
|
-
*
|
|
16628
|
+
* A Migration failed.
|
|
16629
|
+
*
|
|
16630
|
+
* This implies that the whole upgrade failed and governance intervention is required.
|
|
16649
16631
|
**/
|
|
16650
16632
|
| {
|
|
16651
|
-
name: '
|
|
16633
|
+
name: 'MigrationFailed';
|
|
16652
16634
|
data: {
|
|
16653
16635
|
/**
|
|
16654
|
-
*
|
|
16655
|
-
**/
|
|
16656
|
-
beneficiary: AccountId32;
|
|
16657
|
-
|
|
16658
|
-
/**
|
|
16659
|
-
* Amount transferred
|
|
16636
|
+
* The index of the migration within the [`Config::Migrations`] list.
|
|
16660
16637
|
**/
|
|
16661
|
-
|
|
16638
|
+
index: number;
|
|
16662
16639
|
|
|
16663
16640
|
/**
|
|
16664
|
-
*
|
|
16641
|
+
* The number of blocks that this migration took so far.
|
|
16665
16642
|
**/
|
|
16666
|
-
|
|
16643
|
+
took: number;
|
|
16667
16644
|
};
|
|
16668
16645
|
}
|
|
16669
16646
|
/**
|
|
16670
|
-
*
|
|
16647
|
+
* The set of historical migrations has been cleared.
|
|
16671
16648
|
**/
|
|
16672
16649
|
| {
|
|
16673
|
-
name: '
|
|
16650
|
+
name: 'HistoricCleared';
|
|
16674
16651
|
data: {
|
|
16675
16652
|
/**
|
|
16676
|
-
*
|
|
16653
|
+
* Should be passed to `clear_historic` in a successive call.
|
|
16677
16654
|
**/
|
|
16678
|
-
|
|
16655
|
+
nextCursor?: Bytes | undefined;
|
|
16679
16656
|
};
|
|
16680
16657
|
};
|
|
16681
16658
|
|
|
16659
|
+
/**
|
|
16660
|
+
* The `Event` enum of this pallet
|
|
16661
|
+
**/
|
|
16662
|
+
export type OrmlXcmModuleEvent =
|
|
16663
|
+
/**
|
|
16664
|
+
* XCM message sent. \[to, message\]
|
|
16665
|
+
**/
|
|
16666
|
+
{ name: 'Sent'; data: { to: StagingXcmV5Location; message: StagingXcmV5Xcm } };
|
|
16667
|
+
|
|
16668
|
+
/**
|
|
16669
|
+
* The `Event` enum of this pallet
|
|
16670
|
+
**/
|
|
16671
|
+
export type OrmlXtokensModuleEvent =
|
|
16672
|
+
/**
|
|
16673
|
+
* Transferred `Asset` with fee.
|
|
16674
|
+
**/
|
|
16675
|
+
{
|
|
16676
|
+
name: 'TransferredAssets';
|
|
16677
|
+
data: { sender: AccountId32; assets: StagingXcmV5AssetAssets; fee: StagingXcmV5Asset; dest: StagingXcmV5Location };
|
|
16678
|
+
};
|
|
16679
|
+
|
|
16680
|
+
/**
|
|
16681
|
+
* The `Event` enum of this pallet
|
|
16682
|
+
**/
|
|
16683
|
+
export type OrmlUnknownTokensModuleEvent =
|
|
16684
|
+
/**
|
|
16685
|
+
* Deposit success.
|
|
16686
|
+
**/
|
|
16687
|
+
| { name: 'Deposited'; data: { asset: StagingXcmV5Asset; who: StagingXcmV5Location } }
|
|
16688
|
+
/**
|
|
16689
|
+
* Withdraw success.
|
|
16690
|
+
**/
|
|
16691
|
+
| { name: 'Withdrawn'; data: { asset: StagingXcmV5Asset; who: StagingXcmV5Location } };
|
|
16692
|
+
|
|
16693
|
+
/**
|
|
16694
|
+
* The `Event` enum of this pallet
|
|
16695
|
+
**/
|
|
16696
|
+
export type PalletCollatorSelectionEvent =
|
|
16697
|
+
/**
|
|
16698
|
+
* New Invulnerables were set.
|
|
16699
|
+
**/
|
|
16700
|
+
| { name: 'NewInvulnerables'; data: { invulnerables: Array<AccountId32> } }
|
|
16701
|
+
/**
|
|
16702
|
+
* A new Invulnerable was added.
|
|
16703
|
+
**/
|
|
16704
|
+
| { name: 'InvulnerableAdded'; data: { accountId: AccountId32 } }
|
|
16705
|
+
/**
|
|
16706
|
+
* An Invulnerable was removed.
|
|
16707
|
+
**/
|
|
16708
|
+
| { name: 'InvulnerableRemoved'; data: { accountId: AccountId32 } }
|
|
16709
|
+
/**
|
|
16710
|
+
* The number of desired candidates was set.
|
|
16711
|
+
**/
|
|
16712
|
+
| { name: 'NewDesiredCandidates'; data: { desiredCandidates: number } }
|
|
16713
|
+
/**
|
|
16714
|
+
* The candidacy bond was set.
|
|
16715
|
+
**/
|
|
16716
|
+
| { name: 'NewCandidacyBond'; data: { bondAmount: bigint } }
|
|
16717
|
+
/**
|
|
16718
|
+
* A new candidate joined.
|
|
16719
|
+
**/
|
|
16720
|
+
| { name: 'CandidateAdded'; data: { accountId: AccountId32; deposit: bigint } }
|
|
16721
|
+
/**
|
|
16722
|
+
* Bond of a candidate updated.
|
|
16723
|
+
**/
|
|
16724
|
+
| { name: 'CandidateBondUpdated'; data: { accountId: AccountId32; deposit: bigint } }
|
|
16725
|
+
/**
|
|
16726
|
+
* A candidate was removed.
|
|
16727
|
+
**/
|
|
16728
|
+
| { name: 'CandidateRemoved'; data: { accountId: AccountId32 } }
|
|
16729
|
+
/**
|
|
16730
|
+
* An account was replaced in the candidate list by another one.
|
|
16731
|
+
**/
|
|
16732
|
+
| { name: 'CandidateReplaced'; data: { old: AccountId32; new: AccountId32; deposit: bigint } }
|
|
16733
|
+
/**
|
|
16734
|
+
* An account was unable to be added to the Invulnerables because they did not have keys
|
|
16735
|
+
* registered. Other Invulnerables may have been set.
|
|
16736
|
+
**/
|
|
16737
|
+
| { name: 'InvalidInvulnerableSkipped'; data: { accountId: AccountId32 } };
|
|
16738
|
+
|
|
16739
|
+
/**
|
|
16740
|
+
* The `Event` enum of this pallet
|
|
16741
|
+
**/
|
|
16742
|
+
export type PalletSessionEvent =
|
|
16743
|
+
/**
|
|
16744
|
+
* New session has happened. Note that the argument is the session index, not the
|
|
16745
|
+
* block number as the type might suggest.
|
|
16746
|
+
**/
|
|
16747
|
+
| { name: 'NewSession'; data: { sessionIndex: number } }
|
|
16748
|
+
/**
|
|
16749
|
+
* Validator has been disabled.
|
|
16750
|
+
**/
|
|
16751
|
+
| { name: 'ValidatorDisabled'; data: { validator: AccountId32 } }
|
|
16752
|
+
/**
|
|
16753
|
+
* Validator has been re-enabled.
|
|
16754
|
+
**/
|
|
16755
|
+
| { name: 'ValidatorReenabled'; data: { validator: AccountId32 } };
|
|
16756
|
+
|
|
16682
16757
|
/**
|
|
16683
16758
|
* The `Event` enum of this pallet
|
|
16684
16759
|
**/
|
|
@@ -16690,7 +16765,20 @@ export type PalletEmaOracleEvent =
|
|
|
16690
16765
|
/**
|
|
16691
16766
|
* Oracle was removed from the whitelist.
|
|
16692
16767
|
**/
|
|
16693
|
-
| { name: 'RemovedFromWhitelist'; data: { source: FixedBytes<8>; assets: [number, number] } }
|
|
16768
|
+
| { name: 'RemovedFromWhitelist'; data: { source: FixedBytes<8>; assets: [number, number] } }
|
|
16769
|
+
/**
|
|
16770
|
+
* Oracle price was updated
|
|
16771
|
+
**/
|
|
16772
|
+
| {
|
|
16773
|
+
name: 'OracleUpdated';
|
|
16774
|
+
data: {
|
|
16775
|
+
source: FixedBytes<8>;
|
|
16776
|
+
assets: [number, number];
|
|
16777
|
+
updates: Array<[HydradxTraitsOracleOraclePeriod, HydraDxMathRatio]>;
|
|
16778
|
+
};
|
|
16779
|
+
};
|
|
16780
|
+
|
|
16781
|
+
export type HydraDxMathRatio = { n: bigint; d: bigint };
|
|
16694
16782
|
|
|
16695
16783
|
/**
|
|
16696
16784
|
* The `Event` enum of this pallet
|
|
@@ -16829,12 +16917,18 @@ export type FrameSupportTokensMiscIdAmount = { id: HydradxRuntimeRuntimeHoldReas
|
|
|
16829
16917
|
|
|
16830
16918
|
export type HydradxRuntimeRuntimeHoldReason =
|
|
16831
16919
|
| { type: 'Preimage'; value: PalletPreimageHoldReason }
|
|
16832
|
-
| { type: '
|
|
16920
|
+
| { type: 'TechnicalCommittee'; value: PalletCollectiveHoldReason }
|
|
16921
|
+
| { type: 'StateTrieMigration'; value: PalletStateTrieMigrationHoldReason }
|
|
16922
|
+
| { type: 'PolkadotXcm'; value: PalletXcmHoldReason };
|
|
16833
16923
|
|
|
16834
16924
|
export type PalletPreimageHoldReason = 'Preimage';
|
|
16835
16925
|
|
|
16926
|
+
export type PalletCollectiveHoldReason = 'ProposalSubmission';
|
|
16927
|
+
|
|
16836
16928
|
export type PalletStateTrieMigrationHoldReason = 'SlashForMigrate';
|
|
16837
16929
|
|
|
16930
|
+
export type PalletXcmHoldReason = 'AuthorizeAlias';
|
|
16931
|
+
|
|
16838
16932
|
export type FrameSupportTokensMiscIdAmount002 = { id: []; amount: bigint };
|
|
16839
16933
|
|
|
16840
16934
|
/**
|
|
@@ -17091,7 +17185,14 @@ export type PalletIdentityRegistration = {
|
|
|
17091
17185
|
|
|
17092
17186
|
export type PalletIdentityRegistrarInfo = { account: AccountId32; fee: bigint; fields: bigint };
|
|
17093
17187
|
|
|
17094
|
-
export type PalletIdentityAuthorityProperties = {
|
|
17188
|
+
export type PalletIdentityAuthorityProperties = { accountId: AccountId32; allocation: number };
|
|
17189
|
+
|
|
17190
|
+
export type PalletIdentityUsernameInformation = { owner: AccountId32; provider: PalletIdentityProvider };
|
|
17191
|
+
|
|
17192
|
+
export type PalletIdentityProvider =
|
|
17193
|
+
| { type: 'Allocation' }
|
|
17194
|
+
| { type: 'AuthorityDeposit'; value: bigint }
|
|
17195
|
+
| { type: 'System' };
|
|
17095
17196
|
|
|
17096
17197
|
/**
|
|
17097
17198
|
* The `Error` enum of this pallet.
|
|
@@ -17200,7 +17301,24 @@ export type PalletIdentityError =
|
|
|
17200
17301
|
/**
|
|
17201
17302
|
* The username cannot be forcefully removed because it can still be accepted.
|
|
17202
17303
|
**/
|
|
17203
|
-
| 'NotExpired'
|
|
17304
|
+
| 'NotExpired'
|
|
17305
|
+
/**
|
|
17306
|
+
* The username cannot be removed because it's still in the grace period.
|
|
17307
|
+
**/
|
|
17308
|
+
| 'TooEarly'
|
|
17309
|
+
/**
|
|
17310
|
+
* The username cannot be removed because it is not unbinding.
|
|
17311
|
+
**/
|
|
17312
|
+
| 'NotUnbinding'
|
|
17313
|
+
/**
|
|
17314
|
+
* The username cannot be unbound because it is already unbinding.
|
|
17315
|
+
**/
|
|
17316
|
+
| 'AlreadyUnbinding'
|
|
17317
|
+
/**
|
|
17318
|
+
* The action cannot be performed because of insufficient privileges (e.g. authority
|
|
17319
|
+
* trying to unbind a username provided by the system).
|
|
17320
|
+
**/
|
|
17321
|
+
| 'InsufficientPrivileges';
|
|
17204
17322
|
|
|
17205
17323
|
export type PalletDemocracyReferendumInfo =
|
|
17206
17324
|
| { type: 'Ongoing'; value: PalletDemocracyReferendumStatus }
|
|
@@ -17397,7 +17515,11 @@ export type PalletCollectiveError =
|
|
|
17397
17515
|
/**
|
|
17398
17516
|
* Prime account is not a member
|
|
17399
17517
|
**/
|
|
17400
|
-
| 'PrimeAccountNotMember'
|
|
17518
|
+
| 'PrimeAccountNotMember'
|
|
17519
|
+
/**
|
|
17520
|
+
* Proposal is still active.
|
|
17521
|
+
**/
|
|
17522
|
+
| 'ProposalActive';
|
|
17401
17523
|
|
|
17402
17524
|
export type PalletProxyProxyDefinition = {
|
|
17403
17525
|
delegate: AccountId32;
|
|
@@ -17484,11 +17606,12 @@ export type PalletMultisigError =
|
|
|
17484
17606
|
**/
|
|
17485
17607
|
| 'SenderInSignatories'
|
|
17486
17608
|
/**
|
|
17487
|
-
* Multisig operation not found
|
|
17609
|
+
* Multisig operation not found in storage.
|
|
17488
17610
|
**/
|
|
17489
17611
|
| 'NotFound'
|
|
17490
17612
|
/**
|
|
17491
|
-
* Only the account that originally created the multisig is able to cancel it
|
|
17613
|
+
* Only the account that originally created the multisig is able to cancel it or update
|
|
17614
|
+
* its deposits.
|
|
17492
17615
|
**/
|
|
17493
17616
|
| 'NotOwner'
|
|
17494
17617
|
/**
|
|
@@ -17715,7 +17838,7 @@ export type PalletReferendaDeposit = { who: AccountId32; amount: bigint };
|
|
|
17715
17838
|
|
|
17716
17839
|
export type PalletReferendaDecidingStatus = { since: number; confirming?: number | undefined };
|
|
17717
17840
|
|
|
17718
|
-
export type
|
|
17841
|
+
export type PalletReferendaTrackDetails = {
|
|
17719
17842
|
name: string;
|
|
17720
17843
|
maxDeciding: number;
|
|
17721
17844
|
decisionDeposit: bigint;
|
|
@@ -18038,7 +18161,7 @@ export type PalletOmnipoolError =
|
|
|
18038
18161
|
**/
|
|
18039
18162
|
| 'SameAssetTradeNotAllowed'
|
|
18040
18163
|
/**
|
|
18041
|
-
*
|
|
18164
|
+
* Hub asset reserve update after trade resulted in unexpected Decrease.
|
|
18042
18165
|
**/
|
|
18043
18166
|
| 'HubAssetUpdateError'
|
|
18044
18167
|
/**
|
|
@@ -18377,7 +18500,15 @@ export type PalletOmnipoolLiquidityMiningError =
|
|
|
18377
18500
|
/**
|
|
18378
18501
|
* No farms specified to join
|
|
18379
18502
|
**/
|
|
18380
|
-
| { name: 'NoFarmEntriesSpecified' }
|
|
18503
|
+
| { name: 'NoFarmEntriesSpecified' }
|
|
18504
|
+
/**
|
|
18505
|
+
* No assets specified in the withdrawal
|
|
18506
|
+
**/
|
|
18507
|
+
| { name: 'NoAssetsSpecified' }
|
|
18508
|
+
/**
|
|
18509
|
+
* The provided position_id does not match the deposit's associated position.
|
|
18510
|
+
**/
|
|
18511
|
+
| { name: 'PositionIdMismatch' };
|
|
18381
18512
|
|
|
18382
18513
|
export type PalletOmnipoolLiquidityMiningInconsistentStateError = 'MissingLpPosition' | 'DepositDataNotFound';
|
|
18383
18514
|
|
|
@@ -18478,7 +18609,12 @@ export type PalletCircuitBreakerError =
|
|
|
18478
18609
|
/**
|
|
18479
18610
|
* Invalid amount to save deposit
|
|
18480
18611
|
**/
|
|
18481
|
-
| 'InvalidAmount'
|
|
18612
|
+
| 'InvalidAmount'
|
|
18613
|
+
/**
|
|
18614
|
+
* Deposit limit would be exceeded for a whitelisted account.
|
|
18615
|
+
* Operation rejected to prevent funds being locked on system accounts.
|
|
18616
|
+
**/
|
|
18617
|
+
| 'DepositLimitExceededForWhitelistedAccount';
|
|
18482
18618
|
|
|
18483
18619
|
/**
|
|
18484
18620
|
* The `Error` enum of this pallet.
|
|
@@ -18766,7 +18902,15 @@ export type PalletStableswapError =
|
|
|
18766
18902
|
/**
|
|
18767
18903
|
* Pool does not have pegs configured.
|
|
18768
18904
|
**/
|
|
18769
|
-
| 'NoPegSource'
|
|
18905
|
+
| 'NoPegSource'
|
|
18906
|
+
/**
|
|
18907
|
+
* Trade would result in zero amount out.
|
|
18908
|
+
**/
|
|
18909
|
+
| 'ZeroAmountOut'
|
|
18910
|
+
/**
|
|
18911
|
+
* Trade would result in zero amount in.
|
|
18912
|
+
**/
|
|
18913
|
+
| 'ZeroAmountIn';
|
|
18770
18914
|
|
|
18771
18915
|
/**
|
|
18772
18916
|
* The `Error` enum of this pallet.
|
|
@@ -19499,7 +19643,11 @@ export type PalletEvmError =
|
|
|
19499
19643
|
/**
|
|
19500
19644
|
* Undefined error.
|
|
19501
19645
|
**/
|
|
19502
|
-
| 'Undefined'
|
|
19646
|
+
| 'Undefined'
|
|
19647
|
+
/**
|
|
19648
|
+
* Address not allowed to deploy contracts either via CREATE or CALL(CREATE).
|
|
19649
|
+
**/
|
|
19650
|
+
| 'CreateOriginNotAllowed';
|
|
19503
19651
|
|
|
19504
19652
|
export type FpRpcTransactionStatus = {
|
|
19505
19653
|
transactionHash: H256;
|
|
@@ -19513,10 +19661,11 @@ export type FpRpcTransactionStatus = {
|
|
|
19513
19661
|
|
|
19514
19662
|
export type EthbloomBloom = FixedBytes<256>;
|
|
19515
19663
|
|
|
19516
|
-
export type
|
|
19664
|
+
export type EthereumReceiptReceiptV4 =
|
|
19517
19665
|
| { type: 'Legacy'; value: EthereumReceiptEip658ReceiptData }
|
|
19518
19666
|
| { type: 'Eip2930'; value: EthereumReceiptEip658ReceiptData }
|
|
19519
|
-
| { type: 'Eip1559'; value: EthereumReceiptEip658ReceiptData }
|
|
19667
|
+
| { type: 'Eip1559'; value: EthereumReceiptEip658ReceiptData }
|
|
19668
|
+
| { type: 'Eip7702'; value: EthereumReceiptEip658ReceiptData };
|
|
19520
19669
|
|
|
19521
19670
|
export type EthereumReceiptEip658ReceiptData = {
|
|
19522
19671
|
statusCode: number;
|
|
@@ -19527,7 +19676,7 @@ export type EthereumReceiptEip658ReceiptData = {
|
|
|
19527
19676
|
|
|
19528
19677
|
export type EthereumBlock = {
|
|
19529
19678
|
header: EthereumHeader;
|
|
19530
|
-
transactions: Array<
|
|
19679
|
+
transactions: Array<EthereumTransactionTransactionV3>;
|
|
19531
19680
|
ommers: Array<EthereumHeader>;
|
|
19532
19681
|
};
|
|
19533
19682
|
|
|
@@ -19885,15 +20034,7 @@ export type CumulusPalletParachainSystemError =
|
|
|
19885
20034
|
/**
|
|
19886
20035
|
* No validation function upgrade is currently scheduled.
|
|
19887
20036
|
**/
|
|
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';
|
|
20037
|
+
| 'NotScheduled';
|
|
19897
20038
|
|
|
19898
20039
|
export type PalletXcmQueryStatus =
|
|
19899
20040
|
| {
|
|
@@ -19909,9 +20050,9 @@ export type PalletXcmQueryStatus =
|
|
|
19909
20050
|
| { type: 'Ready'; value: { response: XcmVersionedResponse; at: number } };
|
|
19910
20051
|
|
|
19911
20052
|
export type XcmVersionedResponse =
|
|
19912
|
-
| { type: 'V2'; value: XcmV2Response }
|
|
19913
20053
|
| { type: 'V3'; value: XcmV3Response }
|
|
19914
|
-
| { type: 'V4'; value: StagingXcmV4Response }
|
|
20054
|
+
| { type: 'V4'; value: StagingXcmV4Response }
|
|
20055
|
+
| { type: 'V5'; value: StagingXcmV5Response };
|
|
19915
20056
|
|
|
19916
20057
|
export type PalletXcmVersionMigrationStage =
|
|
19917
20058
|
| { type: 'MigrateSupportedVersion' }
|
|
@@ -19926,6 +20067,20 @@ export type PalletXcmRemoteLockedFungibleRecord = {
|
|
|
19926
20067
|
consumers: Array<[[], bigint]>;
|
|
19927
20068
|
};
|
|
19928
20069
|
|
|
20070
|
+
export type PalletXcmAuthorizedAliasesEntry = {
|
|
20071
|
+
aliasers: Array<XcmRuntimeApisAuthorizedAliasesOriginAliaser>;
|
|
20072
|
+
ticket: FrameSupportStorageDisabled;
|
|
20073
|
+
};
|
|
20074
|
+
|
|
20075
|
+
export type FrameSupportStorageDisabled = {};
|
|
20076
|
+
|
|
20077
|
+
export type PalletXcmMaxAuthorizedAliases = {};
|
|
20078
|
+
|
|
20079
|
+
export type XcmRuntimeApisAuthorizedAliasesOriginAliaser = {
|
|
20080
|
+
location: XcmVersionedLocation;
|
|
20081
|
+
expiry?: bigint | undefined;
|
|
20082
|
+
};
|
|
20083
|
+
|
|
19929
20084
|
/**
|
|
19930
20085
|
* The `Error` enum of this pallet.
|
|
19931
20086
|
**/
|
|
@@ -20028,7 +20183,19 @@ export type PalletXcmError =
|
|
|
20028
20183
|
/**
|
|
20029
20184
|
* Local XCM execution incomplete.
|
|
20030
20185
|
**/
|
|
20031
|
-
| 'LocalExecutionIncomplete'
|
|
20186
|
+
| 'LocalExecutionIncomplete'
|
|
20187
|
+
/**
|
|
20188
|
+
* Too many locations authorized to alias origin.
|
|
20189
|
+
**/
|
|
20190
|
+
| 'TooManyAuthorizedAliases'
|
|
20191
|
+
/**
|
|
20192
|
+
* Expiry block number is in the past.
|
|
20193
|
+
**/
|
|
20194
|
+
| 'ExpiresInPast'
|
|
20195
|
+
/**
|
|
20196
|
+
* The alias to remove authorization for was not found.
|
|
20197
|
+
**/
|
|
20198
|
+
| 'AliasNotFound';
|
|
20032
20199
|
|
|
20033
20200
|
export type CumulusPalletXcmpQueueOutboundChannelDetails = {
|
|
20034
20201
|
recipient: PolkadotParachainPrimitivesPrimitivesId;
|
|
@@ -20141,6 +20308,15 @@ export type PalletMessageQueueError =
|
|
|
20141
20308
|
**/
|
|
20142
20309
|
| 'RecursiveDisallowed';
|
|
20143
20310
|
|
|
20311
|
+
/**
|
|
20312
|
+
* The `Error` enum of this pallet.
|
|
20313
|
+
**/
|
|
20314
|
+
export type PalletMigrationsError =
|
|
20315
|
+
/**
|
|
20316
|
+
* The operation cannot complete since some MBMs are ongoing.
|
|
20317
|
+
**/
|
|
20318
|
+
'Ongoing';
|
|
20319
|
+
|
|
20144
20320
|
/**
|
|
20145
20321
|
* The `Error` enum of this pallet.
|
|
20146
20322
|
**/
|
|
@@ -20221,7 +20397,7 @@ export type OrmlXtokensModuleError =
|
|
|
20221
20397
|
**/
|
|
20222
20398
|
| 'ZeroFee'
|
|
20223
20399
|
/**
|
|
20224
|
-
* The
|
|
20400
|
+
* The transferring asset amount is zero.
|
|
20225
20401
|
**/
|
|
20226
20402
|
| 'ZeroAmount'
|
|
20227
20403
|
/**
|
|
@@ -20341,6 +20517,8 @@ export type PalletCollatorSelectionError =
|
|
|
20341
20517
|
**/
|
|
20342
20518
|
| 'InvalidUnreserve';
|
|
20343
20519
|
|
|
20520
|
+
export type SpStakingOffenceOffenceSeverity = Perbill;
|
|
20521
|
+
|
|
20344
20522
|
export type SpCoreCryptoKeyTypeId = FixedBytes<4>;
|
|
20345
20523
|
|
|
20346
20524
|
/**
|
|
@@ -20370,90 +20548,6 @@ export type PalletSessionError =
|
|
|
20370
20548
|
|
|
20371
20549
|
export type SpConsensusSlotsSlot = bigint;
|
|
20372
20550
|
|
|
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
20551
|
export type PalletEmaOracleOracleEntry = {
|
|
20458
20552
|
price: HydraDxMathRatio;
|
|
20459
20553
|
volume: HydradxTraitsOracleVolume;
|
|
@@ -20462,8 +20556,6 @@ export type PalletEmaOracleOracleEntry = {
|
|
|
20462
20556
|
updatedAt: number;
|
|
20463
20557
|
};
|
|
20464
20558
|
|
|
20465
|
-
export type HydraDxMathRatio = { n: bigint; d: bigint };
|
|
20466
|
-
|
|
20467
20559
|
export type HydradxTraitsOracleVolume = { aIn: bigint; bOut: bigint; aOut: bigint; bIn: bigint };
|
|
20468
20560
|
|
|
20469
20561
|
export type HydradxTraitsOracleLiquidity = { a: bigint; b: bigint };
|
|
@@ -20497,6 +20589,19 @@ export type PalletBroadcastError =
|
|
|
20497
20589
|
**/
|
|
20498
20590
|
| 'ExecutionCallStackUnderflow';
|
|
20499
20591
|
|
|
20592
|
+
export type CumulusPalletWeightReclaimStorageWeightReclaim = [
|
|
20593
|
+
FrameSystemExtensionsCheckNonZeroSender,
|
|
20594
|
+
FrameSystemExtensionsCheckSpecVersion,
|
|
20595
|
+
FrameSystemExtensionsCheckTxVersion,
|
|
20596
|
+
FrameSystemExtensionsCheckGenesis,
|
|
20597
|
+
FrameSystemExtensionsCheckMortality,
|
|
20598
|
+
FrameSystemExtensionsCheckNonce,
|
|
20599
|
+
FrameSystemExtensionsCheckWeight,
|
|
20600
|
+
PalletTransactionPaymentChargeTransactionPayment,
|
|
20601
|
+
PalletClaimsValidateClaim,
|
|
20602
|
+
FrameMetadataHashExtensionCheckMetadataHash,
|
|
20603
|
+
];
|
|
20604
|
+
|
|
20500
20605
|
export type FrameSystemExtensionsCheckNonZeroSender = {};
|
|
20501
20606
|
|
|
20502
20607
|
export type FrameSystemExtensionsCheckSpecVersion = {};
|
|
@@ -20519,8 +20624,6 @@ export type FrameMetadataHashExtensionCheckMetadataHash = { mode: FrameMetadataH
|
|
|
20519
20624
|
|
|
20520
20625
|
export type FrameMetadataHashExtensionMode = 'Disabled' | 'Enabled';
|
|
20521
20626
|
|
|
20522
|
-
export type CumulusPrimitivesStorageWeightReclaimStorageWeightReclaim = {};
|
|
20523
|
-
|
|
20524
20627
|
export type HydradxRuntimeRuntime = {};
|
|
20525
20628
|
|
|
20526
20629
|
export type SpRuntimeBlock = { header: Header; extrinsics: Array<FpSelfContainedUncheckedExtrinsic> };
|
|
@@ -20546,7 +20649,9 @@ export type SpRuntimeTransactionValidityInvalidTransaction =
|
|
|
20546
20649
|
| { type: 'Custom'; value: number }
|
|
20547
20650
|
| { type: 'BadMandatory' }
|
|
20548
20651
|
| { type: 'MandatoryValidation' }
|
|
20549
|
-
| { type: 'BadSigner' }
|
|
20652
|
+
| { type: 'BadSigner' }
|
|
20653
|
+
| { type: 'IndeterminateImplicit' }
|
|
20654
|
+
| { type: 'UnknownOrigin' };
|
|
20550
20655
|
|
|
20551
20656
|
export type SpRuntimeTransactionValidityUnknownTransaction =
|
|
20552
20657
|
| { type: 'CannotLookup' }
|
|
@@ -20640,7 +20745,7 @@ export type XcmRuntimeApisDryRunCallDryRunEffects = {
|
|
|
20640
20745
|
export type XcmRuntimeApisDryRunError = 'Unimplemented' | 'VersionedConversionFailed';
|
|
20641
20746
|
|
|
20642
20747
|
export type XcmRuntimeApisDryRunXcmDryRunEffects = {
|
|
20643
|
-
executionResult:
|
|
20748
|
+
executionResult: StagingXcmV5TraitsOutcome;
|
|
20644
20749
|
emittedEvents: Array<HydradxRuntimeRuntimeEvent>;
|
|
20645
20750
|
forwardedXcms: Array<[XcmVersionedLocation, Array<XcmVersionedXcm>]>;
|
|
20646
20751
|
};
|
|
@@ -20654,26 +20759,6 @@ export type HydradxRuntimeEvmAaveTradeExecutorPoolData = {
|
|
|
20654
20759
|
liqudityOut: bigint;
|
|
20655
20760
|
};
|
|
20656
20761
|
|
|
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
20762
|
export type HydradxRuntimeRuntimeError =
|
|
20678
20763
|
| { pallet: 'System'; palletError: FrameSystemError }
|
|
20679
20764
|
| { pallet: 'Balances'; palletError: PalletBalancesError }
|
|
@@ -20730,14 +20815,11 @@ export type HydradxRuntimeRuntimeError =
|
|
|
20730
20815
|
| { pallet: 'PolkadotXcm'; palletError: PalletXcmError }
|
|
20731
20816
|
| { pallet: 'XcmpQueue'; palletError: CumulusPalletXcmpQueueError }
|
|
20732
20817
|
| { pallet: 'MessageQueue'; palletError: PalletMessageQueueError }
|
|
20818
|
+
| { pallet: 'MultiBlockMigrations'; palletError: PalletMigrationsError }
|
|
20733
20819
|
| { pallet: 'OrmlXcm'; palletError: OrmlXcmModuleError }
|
|
20734
20820
|
| { pallet: 'XTokens'; palletError: OrmlXtokensModuleError }
|
|
20735
20821
|
| { pallet: 'UnknownTokens'; palletError: OrmlUnknownTokensModuleError }
|
|
20736
20822
|
| { pallet: 'CollatorSelection'; palletError: PalletCollatorSelectionError }
|
|
20737
20823
|
| { 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
20824
|
| { pallet: 'EmaOracle'; palletError: PalletEmaOracleError }
|
|
20743
20825
|
| { pallet: 'Broadcast'; palletError: PalletBroadcastError };
|