@dedot/chaintypes 0.205.0 → 0.207.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/astar/json-rpc.d.ts +11 -9
- package/basilisk/consts.d.ts +86 -19
- package/basilisk/errors.d.ts +66 -24
- package/basilisk/events.d.ts +211 -51
- package/basilisk/index.d.ts +1 -1
- package/basilisk/json-rpc.d.ts +10 -7
- package/basilisk/query.d.ts +120 -61
- package/basilisk/runtime.d.ts +389 -84
- package/basilisk/tx.d.ts +404 -48
- package/basilisk/types.d.ts +1068 -386
- package/package.json +2 -2
- package/paseo-hydration/events.d.ts +10 -12
- package/paseo-hydration/index.d.ts +1 -1
- package/paseo-hydration/query.d.ts +9 -0
- package/paseo-hydration/tx.d.ts +14 -21
- package/paseo-hydration/types.d.ts +20 -28
package/basilisk/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,
|
|
@@ -20,6 +19,8 @@ import type {
|
|
|
20
19
|
Perbill,
|
|
21
20
|
FixedI64,
|
|
22
21
|
Era,
|
|
22
|
+
Header,
|
|
23
|
+
UncheckedExtrinsic,
|
|
23
24
|
} from 'dedot/codecs';
|
|
24
25
|
|
|
25
26
|
export type FrameSystemAccountInfo = {
|
|
@@ -103,11 +104,11 @@ export type FrameSystemEvent =
|
|
|
103
104
|
/**
|
|
104
105
|
* An extrinsic completed successfully.
|
|
105
106
|
**/
|
|
106
|
-
| { name: 'ExtrinsicSuccess'; data: { dispatchInfo:
|
|
107
|
+
| { name: 'ExtrinsicSuccess'; data: { dispatchInfo: FrameSystemDispatchEventInfo } }
|
|
107
108
|
/**
|
|
108
109
|
* An extrinsic failed.
|
|
109
110
|
**/
|
|
110
|
-
| { name: 'ExtrinsicFailed'; data: { dispatchError: DispatchError; dispatchInfo:
|
|
111
|
+
| { name: 'ExtrinsicFailed'; data: { dispatchError: DispatchError; dispatchInfo: FrameSystemDispatchEventInfo } }
|
|
111
112
|
/**
|
|
112
113
|
* `:code` was updated.
|
|
113
114
|
**/
|
|
@@ -127,12 +128,38 @@ export type FrameSystemEvent =
|
|
|
127
128
|
/**
|
|
128
129
|
* An upgrade was authorized.
|
|
129
130
|
**/
|
|
130
|
-
| { name: 'UpgradeAuthorized'; data: { codeHash: H256; checkVersion: boolean } }
|
|
131
|
+
| { name: 'UpgradeAuthorized'; data: { codeHash: H256; checkVersion: boolean } }
|
|
132
|
+
/**
|
|
133
|
+
* An invalid authorized upgrade was rejected while trying to apply it.
|
|
134
|
+
**/
|
|
135
|
+
| { name: 'RejectedInvalidAuthorizedUpgrade'; data: { codeHash: H256; error: DispatchError } };
|
|
136
|
+
|
|
137
|
+
export type FrameSystemDispatchEventInfo = {
|
|
138
|
+
weight: SpWeightsWeightV2Weight;
|
|
139
|
+
class: FrameSupportDispatchDispatchClass;
|
|
140
|
+
paysFee: FrameSupportDispatchPays;
|
|
141
|
+
};
|
|
131
142
|
|
|
132
143
|
export type FrameSupportDispatchDispatchClass = 'Normal' | 'Operational' | 'Mandatory';
|
|
133
144
|
|
|
134
145
|
export type FrameSupportDispatchPays = 'Yes' | 'No';
|
|
135
146
|
|
|
147
|
+
export type SpRuntimeProvingTrieTrieError =
|
|
148
|
+
| 'InvalidStateRoot'
|
|
149
|
+
| 'IncompleteDatabase'
|
|
150
|
+
| 'ValueAtIncompleteKey'
|
|
151
|
+
| 'DecoderError'
|
|
152
|
+
| 'InvalidHash'
|
|
153
|
+
| 'DuplicateKey'
|
|
154
|
+
| 'ExtraneousNode'
|
|
155
|
+
| 'ExtraneousValue'
|
|
156
|
+
| 'ExtraneousHashReference'
|
|
157
|
+
| 'InvalidChildReference'
|
|
158
|
+
| 'ValueMismatch'
|
|
159
|
+
| 'IncompleteProof'
|
|
160
|
+
| 'RootMismatch'
|
|
161
|
+
| 'DecodeError';
|
|
162
|
+
|
|
136
163
|
/**
|
|
137
164
|
* The `Event` enum of this pallet
|
|
138
165
|
**/
|
|
@@ -374,7 +401,15 @@ export type PalletUtilityEvent =
|
|
|
374
401
|
/**
|
|
375
402
|
* A call was dispatched.
|
|
376
403
|
**/
|
|
377
|
-
| { name: 'DispatchedAs'; data: { result: Result<[], DispatchError> } }
|
|
404
|
+
| { name: 'DispatchedAs'; data: { result: Result<[], DispatchError> } }
|
|
405
|
+
/**
|
|
406
|
+
* Main call was dispatched.
|
|
407
|
+
**/
|
|
408
|
+
| { name: 'IfElseMainSuccess' }
|
|
409
|
+
/**
|
|
410
|
+
* The fallback call was dispatched.
|
|
411
|
+
**/
|
|
412
|
+
| { name: 'IfElseFallbackCalled'; data: { mainError: DispatchError } };
|
|
378
413
|
|
|
379
414
|
/**
|
|
380
415
|
* The `Event` enum of this pallet
|
|
@@ -539,7 +574,19 @@ export type PalletCollectiveEvent =
|
|
|
539
574
|
/**
|
|
540
575
|
* A proposal was closed because its threshold was reached or after its duration was up.
|
|
541
576
|
**/
|
|
542
|
-
| { name: 'Closed'; data: { proposalHash: H256; yes: number; no: number } }
|
|
577
|
+
| { name: 'Closed'; data: { proposalHash: H256; yes: number; no: number } }
|
|
578
|
+
/**
|
|
579
|
+
* A proposal was killed.
|
|
580
|
+
**/
|
|
581
|
+
| { name: 'Killed'; data: { proposalHash: H256 } }
|
|
582
|
+
/**
|
|
583
|
+
* Some cost for storing a proposal was burned.
|
|
584
|
+
**/
|
|
585
|
+
| { name: 'ProposalCostBurned'; data: { proposalHash: H256; who: AccountId32 } }
|
|
586
|
+
/**
|
|
587
|
+
* Some cost for storing a proposal was released.
|
|
588
|
+
**/
|
|
589
|
+
| { name: 'ProposalCostReleased'; data: { proposalHash: H256; who: AccountId32 } };
|
|
543
590
|
|
|
544
591
|
/**
|
|
545
592
|
* The `Event` enum of this pallet
|
|
@@ -611,10 +658,19 @@ export type PalletProxyEvent =
|
|
|
611
658
|
proxyType: BasiliskRuntimeSystemProxyType;
|
|
612
659
|
delay: number;
|
|
613
660
|
};
|
|
661
|
+
}
|
|
662
|
+
/**
|
|
663
|
+
* A deposit stored for proxies or announcements was poked / updated.
|
|
664
|
+
**/
|
|
665
|
+
| {
|
|
666
|
+
name: 'DepositPoked';
|
|
667
|
+
data: { who: AccountId32; kind: PalletProxyDepositKind; oldDeposit: bigint; newDeposit: bigint };
|
|
614
668
|
};
|
|
615
669
|
|
|
616
670
|
export type BasiliskRuntimeSystemProxyType = 'Any' | 'CancelProxy' | 'Governance' | 'Exchange' | 'Transfer';
|
|
617
671
|
|
|
672
|
+
export type PalletProxyDepositKind = 'Proxies' | 'Announcements';
|
|
673
|
+
|
|
618
674
|
/**
|
|
619
675
|
* The `Event` enum of this pallet
|
|
620
676
|
**/
|
|
@@ -669,7 +725,15 @@ export type PalletSessionEvent =
|
|
|
669
725
|
* New session has happened. Note that the argument is the session index, not the
|
|
670
726
|
* block number as the type might suggest.
|
|
671
727
|
**/
|
|
672
|
-
{ name: 'NewSession'; data: { sessionIndex: number } }
|
|
728
|
+
| { name: 'NewSession'; data: { sessionIndex: number } }
|
|
729
|
+
/**
|
|
730
|
+
* Validator has been disabled.
|
|
731
|
+
**/
|
|
732
|
+
| { name: 'ValidatorDisabled'; data: { validator: AccountId32 } }
|
|
733
|
+
/**
|
|
734
|
+
* Validator has been re-enabled.
|
|
735
|
+
**/
|
|
736
|
+
| { name: 'ValidatorReenabled'; data: { validator: AccountId32 } };
|
|
673
737
|
|
|
674
738
|
/**
|
|
675
739
|
* The `Event` enum of this pallet
|
|
@@ -845,6 +909,14 @@ export type PalletIdentityEvent =
|
|
|
845
909
|
* A sub-identity was added to an identity and the deposit paid.
|
|
846
910
|
**/
|
|
847
911
|
| { name: 'SubIdentityAdded'; data: { sub: AccountId32; main: AccountId32; deposit: bigint } }
|
|
912
|
+
/**
|
|
913
|
+
* An account's sub-identities were set (in bulk).
|
|
914
|
+
**/
|
|
915
|
+
| { name: 'SubIdentitiesSet'; data: { main: AccountId32; numberOfSubs: number; newDeposit: bigint } }
|
|
916
|
+
/**
|
|
917
|
+
* A given sub-account's associated name was changed by its super-identity.
|
|
918
|
+
**/
|
|
919
|
+
| { name: 'SubIdentityRenamed'; data: { sub: AccountId32; main: AccountId32 } }
|
|
848
920
|
/**
|
|
849
921
|
* A sub-identity was removed from an identity and the deposit freed.
|
|
850
922
|
**/
|
|
@@ -882,7 +954,19 @@ export type PalletIdentityEvent =
|
|
|
882
954
|
* A dangling username (as in, a username corresponding to an account that has removed its
|
|
883
955
|
* identity) has been removed.
|
|
884
956
|
**/
|
|
885
|
-
| { name: 'DanglingUsernameRemoved'; data: { who: AccountId32; username: Bytes } }
|
|
957
|
+
| { name: 'DanglingUsernameRemoved'; data: { who: AccountId32; username: Bytes } }
|
|
958
|
+
/**
|
|
959
|
+
* A username has been unbound.
|
|
960
|
+
**/
|
|
961
|
+
| { name: 'UsernameUnbound'; data: { username: Bytes } }
|
|
962
|
+
/**
|
|
963
|
+
* A username has been removed.
|
|
964
|
+
**/
|
|
965
|
+
| { name: 'UsernameRemoved'; data: { username: Bytes } }
|
|
966
|
+
/**
|
|
967
|
+
* A username has been killed.
|
|
968
|
+
**/
|
|
969
|
+
| { name: 'UsernameKilled'; data: { username: Bytes } };
|
|
886
970
|
|
|
887
971
|
/**
|
|
888
972
|
* The `Event` enum of this pallet
|
|
@@ -928,6 +1012,13 @@ export type PalletMultisigEvent =
|
|
|
928
1012
|
multisig: AccountId32;
|
|
929
1013
|
callHash: FixedBytes<32>;
|
|
930
1014
|
};
|
|
1015
|
+
}
|
|
1016
|
+
/**
|
|
1017
|
+
* The deposit for a multisig operation has been updated/poked.
|
|
1018
|
+
**/
|
|
1019
|
+
| {
|
|
1020
|
+
name: 'DepositPoked';
|
|
1021
|
+
data: { who: AccountId32; callHash: FixedBytes<32>; oldDeposit: bigint; newDeposit: bigint };
|
|
931
1022
|
};
|
|
932
1023
|
|
|
933
1024
|
export type PalletMultisigTimepoint = { height: number; index: number };
|
|
@@ -1004,13 +1095,17 @@ export type PalletConvictionVotingEvent =
|
|
|
1004
1095
|
**/
|
|
1005
1096
|
| { name: 'Undelegated'; data: AccountId32 }
|
|
1006
1097
|
/**
|
|
1007
|
-
* An account
|
|
1098
|
+
* An account has voted
|
|
1008
1099
|
**/
|
|
1009
1100
|
| { name: 'Voted'; data: { who: AccountId32; vote: PalletConvictionVotingVoteAccountVote } }
|
|
1010
1101
|
/**
|
|
1011
|
-
* A vote
|
|
1102
|
+
* A vote has been removed
|
|
1012
1103
|
**/
|
|
1013
|
-
| { name: 'VoteRemoved'; data: { who: AccountId32; vote: PalletConvictionVotingVoteAccountVote } }
|
|
1104
|
+
| { name: 'VoteRemoved'; data: { who: AccountId32; vote: PalletConvictionVotingVoteAccountVote } }
|
|
1105
|
+
/**
|
|
1106
|
+
* The lockup period of a conviction vote expired, and the funds have been unlocked.
|
|
1107
|
+
**/
|
|
1108
|
+
| { name: 'VoteUnlocked'; data: { who: AccountId32; class: number } };
|
|
1014
1109
|
|
|
1015
1110
|
export type PalletConvictionVotingVoteAccountVote =
|
|
1016
1111
|
| { type: 'Standard'; value: { vote: PalletConvictionVotingVote; balance: bigint } }
|
|
@@ -2281,7 +2376,41 @@ export type PalletUtilityCall =
|
|
|
2281
2376
|
*
|
|
2282
2377
|
* The dispatch origin for this call must be _Root_.
|
|
2283
2378
|
**/
|
|
2284
|
-
| { name: 'WithWeight'; params: { call: BasiliskRuntimeRuntimeCall; weight: SpWeightsWeightV2Weight } }
|
|
2379
|
+
| { name: 'WithWeight'; params: { call: BasiliskRuntimeRuntimeCall; weight: SpWeightsWeightV2Weight } }
|
|
2380
|
+
/**
|
|
2381
|
+
* Dispatch a fallback call in the event the main call fails to execute.
|
|
2382
|
+
* May be called from any origin except `None`.
|
|
2383
|
+
*
|
|
2384
|
+
* This function first attempts to dispatch the `main` call.
|
|
2385
|
+
* If the `main` call fails, the `fallback` is attemted.
|
|
2386
|
+
* if the fallback is successfully dispatched, the weights of both calls
|
|
2387
|
+
* are accumulated and an event containing the main call error is deposited.
|
|
2388
|
+
*
|
|
2389
|
+
* In the event of a fallback failure the whole call fails
|
|
2390
|
+
* with the weights returned.
|
|
2391
|
+
*
|
|
2392
|
+
* - `main`: The main call to be dispatched. This is the primary action to execute.
|
|
2393
|
+
* - `fallback`: The fallback call to be dispatched in case the `main` call fails.
|
|
2394
|
+
*
|
|
2395
|
+
* ## Dispatch Logic
|
|
2396
|
+
* - If the origin is `root`, both the main and fallback calls are executed without
|
|
2397
|
+
* applying any origin filters.
|
|
2398
|
+
* - If the origin is not `root`, the origin filter is applied to both the `main` and
|
|
2399
|
+
* `fallback` calls.
|
|
2400
|
+
*
|
|
2401
|
+
* ## Use Case
|
|
2402
|
+
* - Some use cases might involve submitting a `batch` type call in either main, fallback
|
|
2403
|
+
* or both.
|
|
2404
|
+
**/
|
|
2405
|
+
| { name: 'IfElse'; params: { main: BasiliskRuntimeRuntimeCall; fallback: BasiliskRuntimeRuntimeCall } }
|
|
2406
|
+
/**
|
|
2407
|
+
* Dispatches a function call with a provided origin.
|
|
2408
|
+
*
|
|
2409
|
+
* Almost the same as [`Pallet::dispatch_as`] but forwards any error of the inner call.
|
|
2410
|
+
*
|
|
2411
|
+
* The dispatch origin for this call must be _Root_.
|
|
2412
|
+
**/
|
|
2413
|
+
| { name: 'DispatchAsFallible'; params: { asOrigin: BasiliskRuntimeOriginCaller; call: BasiliskRuntimeRuntimeCall } };
|
|
2285
2414
|
|
|
2286
2415
|
export type PalletUtilityCallLike =
|
|
2287
2416
|
/**
|
|
@@ -2370,15 +2499,51 @@ export type PalletUtilityCallLike =
|
|
|
2370
2499
|
*
|
|
2371
2500
|
* The dispatch origin for this call must be _Root_.
|
|
2372
2501
|
**/
|
|
2373
|
-
| { name: 'WithWeight'; params: { call: BasiliskRuntimeRuntimeCallLike; weight: SpWeightsWeightV2Weight } }
|
|
2502
|
+
| { name: 'WithWeight'; params: { call: BasiliskRuntimeRuntimeCallLike; weight: SpWeightsWeightV2Weight } }
|
|
2503
|
+
/**
|
|
2504
|
+
* Dispatch a fallback call in the event the main call fails to execute.
|
|
2505
|
+
* May be called from any origin except `None`.
|
|
2506
|
+
*
|
|
2507
|
+
* This function first attempts to dispatch the `main` call.
|
|
2508
|
+
* If the `main` call fails, the `fallback` is attemted.
|
|
2509
|
+
* if the fallback is successfully dispatched, the weights of both calls
|
|
2510
|
+
* are accumulated and an event containing the main call error is deposited.
|
|
2511
|
+
*
|
|
2512
|
+
* In the event of a fallback failure the whole call fails
|
|
2513
|
+
* with the weights returned.
|
|
2514
|
+
*
|
|
2515
|
+
* - `main`: The main call to be dispatched. This is the primary action to execute.
|
|
2516
|
+
* - `fallback`: The fallback call to be dispatched in case the `main` call fails.
|
|
2517
|
+
*
|
|
2518
|
+
* ## Dispatch Logic
|
|
2519
|
+
* - If the origin is `root`, both the main and fallback calls are executed without
|
|
2520
|
+
* applying any origin filters.
|
|
2521
|
+
* - If the origin is not `root`, the origin filter is applied to both the `main` and
|
|
2522
|
+
* `fallback` calls.
|
|
2523
|
+
*
|
|
2524
|
+
* ## Use Case
|
|
2525
|
+
* - Some use cases might involve submitting a `batch` type call in either main, fallback
|
|
2526
|
+
* or both.
|
|
2527
|
+
**/
|
|
2528
|
+
| { name: 'IfElse'; params: { main: BasiliskRuntimeRuntimeCallLike; fallback: BasiliskRuntimeRuntimeCallLike } }
|
|
2529
|
+
/**
|
|
2530
|
+
* Dispatches a function call with a provided origin.
|
|
2531
|
+
*
|
|
2532
|
+
* Almost the same as [`Pallet::dispatch_as`] but forwards any error of the inner call.
|
|
2533
|
+
*
|
|
2534
|
+
* The dispatch origin for this call must be _Root_.
|
|
2535
|
+
**/
|
|
2536
|
+
| {
|
|
2537
|
+
name: 'DispatchAsFallible';
|
|
2538
|
+
params: { asOrigin: BasiliskRuntimeOriginCaller; call: BasiliskRuntimeRuntimeCallLike };
|
|
2539
|
+
};
|
|
2374
2540
|
|
|
2375
2541
|
export type BasiliskRuntimeOriginCaller =
|
|
2376
2542
|
| { type: 'System'; value: FrameSupportDispatchRawOrigin }
|
|
2377
2543
|
| { type: 'TechnicalCommittee'; value: PalletCollectiveRawOrigin }
|
|
2378
2544
|
| { type: 'Origins'; value: BasiliskRuntimeGovernanceOriginsPalletCustomOriginsOrigin }
|
|
2379
2545
|
| { type: 'PolkadotXcm'; value: PalletXcmOrigin }
|
|
2380
|
-
| { type: 'CumulusXcm'; value: CumulusPalletXcmOrigin }
|
|
2381
|
-
| { type: 'Void'; value: SpCoreVoid };
|
|
2546
|
+
| { type: 'CumulusXcm'; value: CumulusPalletXcmOrigin };
|
|
2382
2547
|
|
|
2383
2548
|
export type FrameSupportDispatchRawOrigin =
|
|
2384
2549
|
| { type: 'Root' }
|
|
@@ -2400,42 +2565,39 @@ export type BasiliskRuntimeGovernanceOriginsPalletCustomOriginsOrigin =
|
|
|
2400
2565
|
| 'Tipper';
|
|
2401
2566
|
|
|
2402
2567
|
export type PalletXcmOrigin =
|
|
2403
|
-
| { type: 'Xcm'; value:
|
|
2404
|
-
| { type: 'Response'; value:
|
|
2568
|
+
| { type: 'Xcm'; value: StagingXcmV5Location }
|
|
2569
|
+
| { type: 'Response'; value: StagingXcmV5Location };
|
|
2405
2570
|
|
|
2406
|
-
export type
|
|
2571
|
+
export type StagingXcmV5Location = { parents: number; interior: StagingXcmV5Junctions };
|
|
2407
2572
|
|
|
2408
|
-
export type
|
|
2573
|
+
export type StagingXcmV5Junctions =
|
|
2409
2574
|
| { type: 'Here' }
|
|
2410
|
-
| { type: 'X1'; value: FixedArray<
|
|
2411
|
-
| { type: 'X2'; value: FixedArray<
|
|
2412
|
-
| { type: 'X3'; value: FixedArray<
|
|
2413
|
-
| { type: 'X4'; value: FixedArray<
|
|
2414
|
-
| { type: 'X5'; value: FixedArray<
|
|
2415
|
-
| { type: 'X6'; value: FixedArray<
|
|
2416
|
-
| { type: 'X7'; value: FixedArray<
|
|
2417
|
-
| { type: 'X8'; value: FixedArray<
|
|
2418
|
-
|
|
2419
|
-
export type
|
|
2575
|
+
| { type: 'X1'; value: FixedArray<StagingXcmV5Junction, 1> }
|
|
2576
|
+
| { type: 'X2'; value: FixedArray<StagingXcmV5Junction, 2> }
|
|
2577
|
+
| { type: 'X3'; value: FixedArray<StagingXcmV5Junction, 3> }
|
|
2578
|
+
| { type: 'X4'; value: FixedArray<StagingXcmV5Junction, 4> }
|
|
2579
|
+
| { type: 'X5'; value: FixedArray<StagingXcmV5Junction, 5> }
|
|
2580
|
+
| { type: 'X6'; value: FixedArray<StagingXcmV5Junction, 6> }
|
|
2581
|
+
| { type: 'X7'; value: FixedArray<StagingXcmV5Junction, 7> }
|
|
2582
|
+
| { type: 'X8'; value: FixedArray<StagingXcmV5Junction, 8> };
|
|
2583
|
+
|
|
2584
|
+
export type StagingXcmV5Junction =
|
|
2420
2585
|
| { type: 'Parachain'; value: number }
|
|
2421
|
-
| { type: 'AccountId32'; value: { network?:
|
|
2422
|
-
| { type: 'AccountIndex64'; value: { network?:
|
|
2423
|
-
| { type: 'AccountKey20'; value: { network?:
|
|
2586
|
+
| { type: 'AccountId32'; value: { network?: StagingXcmV5JunctionNetworkId | undefined; id: FixedBytes<32> } }
|
|
2587
|
+
| { type: 'AccountIndex64'; value: { network?: StagingXcmV5JunctionNetworkId | undefined; index: bigint } }
|
|
2588
|
+
| { type: 'AccountKey20'; value: { network?: StagingXcmV5JunctionNetworkId | undefined; key: FixedBytes<20> } }
|
|
2424
2589
|
| { type: 'PalletInstance'; value: number }
|
|
2425
2590
|
| { type: 'GeneralIndex'; value: bigint }
|
|
2426
2591
|
| { type: 'GeneralKey'; value: { length: number; data: FixedBytes<32> } }
|
|
2427
2592
|
| { type: 'OnlyChild' }
|
|
2428
2593
|
| { type: 'Plurality'; value: { id: XcmV3JunctionBodyId; part: XcmV3JunctionBodyPart } }
|
|
2429
|
-
| { type: 'GlobalConsensus'; value:
|
|
2594
|
+
| { type: 'GlobalConsensus'; value: StagingXcmV5JunctionNetworkId };
|
|
2430
2595
|
|
|
2431
|
-
export type
|
|
2596
|
+
export type StagingXcmV5JunctionNetworkId =
|
|
2432
2597
|
| { type: 'ByGenesis'; value: FixedBytes<32> }
|
|
2433
2598
|
| { type: 'ByFork'; value: { blockNumber: bigint; blockHash: FixedBytes<32> } }
|
|
2434
2599
|
| { type: 'Polkadot' }
|
|
2435
2600
|
| { type: 'Kusama' }
|
|
2436
|
-
| { type: 'Westend' }
|
|
2437
|
-
| { type: 'Rococo' }
|
|
2438
|
-
| { type: 'Wococo' }
|
|
2439
2601
|
| { type: 'Ethereum'; value: { chainId: bigint } }
|
|
2440
2602
|
| { type: 'BitcoinCore' }
|
|
2441
2603
|
| { type: 'BitcoinCash' }
|
|
@@ -2466,8 +2628,6 @@ export type CumulusPalletXcmOrigin =
|
|
|
2466
2628
|
|
|
2467
2629
|
export type PolkadotParachainPrimitivesPrimitivesId = number;
|
|
2468
2630
|
|
|
2469
|
-
export type SpCoreVoid = null;
|
|
2470
|
-
|
|
2471
2631
|
/**
|
|
2472
2632
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
2473
2633
|
**/
|
|
@@ -3141,7 +3301,29 @@ export type PalletCollectiveCall =
|
|
|
3141
3301
|
| {
|
|
3142
3302
|
name: 'Close';
|
|
3143
3303
|
params: { proposalHash: H256; index: number; proposalWeightBound: SpWeightsWeightV2Weight; lengthBound: number };
|
|
3144
|
-
}
|
|
3304
|
+
}
|
|
3305
|
+
/**
|
|
3306
|
+
* Disapprove the proposal and burn the cost held for storing this proposal.
|
|
3307
|
+
*
|
|
3308
|
+
* Parameters:
|
|
3309
|
+
* - `origin`: must be the `KillOrigin`.
|
|
3310
|
+
* - `proposal_hash`: The hash of the proposal that should be killed.
|
|
3311
|
+
*
|
|
3312
|
+
* Emits `Killed` and `ProposalCostBurned` if any cost was held for a given proposal.
|
|
3313
|
+
**/
|
|
3314
|
+
| { name: 'Kill'; params: { proposalHash: H256 } }
|
|
3315
|
+
/**
|
|
3316
|
+
* Release the cost held for storing a proposal once the given proposal is completed.
|
|
3317
|
+
*
|
|
3318
|
+
* If there is no associated cost for the given proposal, this call will have no effect.
|
|
3319
|
+
*
|
|
3320
|
+
* Parameters:
|
|
3321
|
+
* - `origin`: must be `Signed` or `Root`.
|
|
3322
|
+
* - `proposal_hash`: The hash of the proposal.
|
|
3323
|
+
*
|
|
3324
|
+
* Emits `ProposalCostReleased` if any cost held for a given proposal.
|
|
3325
|
+
**/
|
|
3326
|
+
| { name: 'ReleaseProposalCost'; params: { proposalHash: H256 } };
|
|
3145
3327
|
|
|
3146
3328
|
export type PalletCollectiveCallLike =
|
|
3147
3329
|
/**
|
|
@@ -3257,7 +3439,29 @@ export type PalletCollectiveCallLike =
|
|
|
3257
3439
|
| {
|
|
3258
3440
|
name: 'Close';
|
|
3259
3441
|
params: { proposalHash: H256; index: number; proposalWeightBound: SpWeightsWeightV2Weight; lengthBound: number };
|
|
3260
|
-
}
|
|
3442
|
+
}
|
|
3443
|
+
/**
|
|
3444
|
+
* Disapprove the proposal and burn the cost held for storing this proposal.
|
|
3445
|
+
*
|
|
3446
|
+
* Parameters:
|
|
3447
|
+
* - `origin`: must be the `KillOrigin`.
|
|
3448
|
+
* - `proposal_hash`: The hash of the proposal that should be killed.
|
|
3449
|
+
*
|
|
3450
|
+
* Emits `Killed` and `ProposalCostBurned` if any cost was held for a given proposal.
|
|
3451
|
+
**/
|
|
3452
|
+
| { name: 'Kill'; params: { proposalHash: H256 } }
|
|
3453
|
+
/**
|
|
3454
|
+
* Release the cost held for storing a proposal once the given proposal is completed.
|
|
3455
|
+
*
|
|
3456
|
+
* If there is no associated cost for the given proposal, this call will have no effect.
|
|
3457
|
+
*
|
|
3458
|
+
* Parameters:
|
|
3459
|
+
* - `origin`: must be `Signed` or `Root`.
|
|
3460
|
+
* - `proposal_hash`: The hash of the proposal.
|
|
3461
|
+
*
|
|
3462
|
+
* Emits `ProposalCostReleased` if any cost held for a given proposal.
|
|
3463
|
+
**/
|
|
3464
|
+
| { name: 'ReleaseProposalCost'; params: { proposalHash: H256 } };
|
|
3261
3465
|
|
|
3262
3466
|
/**
|
|
3263
3467
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -3448,7 +3652,18 @@ export type PalletProxyCall =
|
|
|
3448
3652
|
forceProxyType?: BasiliskRuntimeSystemProxyType | undefined;
|
|
3449
3653
|
call: BasiliskRuntimeRuntimeCall;
|
|
3450
3654
|
};
|
|
3451
|
-
}
|
|
3655
|
+
}
|
|
3656
|
+
/**
|
|
3657
|
+
* Poke / Adjust deposits made for proxies and announcements based on current values.
|
|
3658
|
+
* This can be used by accounts to possibly lower their locked amount.
|
|
3659
|
+
*
|
|
3660
|
+
* The dispatch origin for this call must be _Signed_.
|
|
3661
|
+
*
|
|
3662
|
+
* The transaction fee is waived if the deposit amount has changed.
|
|
3663
|
+
*
|
|
3664
|
+
* Emits `DepositPoked` if successful.
|
|
3665
|
+
**/
|
|
3666
|
+
| { name: 'PokeDeposit' };
|
|
3452
3667
|
|
|
3453
3668
|
export type PalletProxyCallLike =
|
|
3454
3669
|
/**
|
|
@@ -3621,7 +3836,18 @@ export type PalletProxyCallLike =
|
|
|
3621
3836
|
forceProxyType?: BasiliskRuntimeSystemProxyType | undefined;
|
|
3622
3837
|
call: BasiliskRuntimeRuntimeCallLike;
|
|
3623
3838
|
};
|
|
3624
|
-
}
|
|
3839
|
+
}
|
|
3840
|
+
/**
|
|
3841
|
+
* Poke / Adjust deposits made for proxies and announcements based on current values.
|
|
3842
|
+
* This can be used by accounts to possibly lower their locked amount.
|
|
3843
|
+
*
|
|
3844
|
+
* The dispatch origin for this call must be _Signed_.
|
|
3845
|
+
*
|
|
3846
|
+
* The transaction fee is waived if the deposit amount has changed.
|
|
3847
|
+
*
|
|
3848
|
+
* Emits `DepositPoked` if successful.
|
|
3849
|
+
**/
|
|
3850
|
+
| { name: 'PokeDeposit' };
|
|
3625
3851
|
|
|
3626
3852
|
/**
|
|
3627
3853
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -3895,7 +4121,7 @@ export type PalletPreimageCall =
|
|
|
3895
4121
|
**/
|
|
3896
4122
|
| { name: 'UnrequestPreimage'; params: { hash: H256 } }
|
|
3897
4123
|
/**
|
|
3898
|
-
* Ensure that the
|
|
4124
|
+
* Ensure that the bulk of pre-images is upgraded.
|
|
3899
4125
|
*
|
|
3900
4126
|
* The caller pays no fee if at least 90% of pre-images were successfully updated.
|
|
3901
4127
|
**/
|
|
@@ -3932,7 +4158,7 @@ export type PalletPreimageCallLike =
|
|
|
3932
4158
|
**/
|
|
3933
4159
|
| { name: 'UnrequestPreimage'; params: { hash: H256 } }
|
|
3934
4160
|
/**
|
|
3935
|
-
* Ensure that the
|
|
4161
|
+
* Ensure that the bulk of pre-images is upgraded.
|
|
3936
4162
|
*
|
|
3937
4163
|
* The caller pays no fee if at least 90% of pre-images were successfully updated.
|
|
3938
4164
|
**/
|
|
@@ -5034,18 +5260,23 @@ export type PalletIdentityCall =
|
|
|
5034
5260
|
/**
|
|
5035
5261
|
* Add an `AccountId` with permission to grant usernames with a given `suffix` appended.
|
|
5036
5262
|
*
|
|
5037
|
-
* The authority can grant up to `allocation` usernames. To top up
|
|
5038
|
-
*
|
|
5263
|
+
* The authority can grant up to `allocation` usernames. To top up the allocation or
|
|
5264
|
+
* change the account used to grant usernames, this call can be used with the updated
|
|
5265
|
+
* parameters to overwrite the existing configuration.
|
|
5039
5266
|
**/
|
|
5040
5267
|
| { name: 'AddUsernameAuthority'; params: { authority: AccountId32; suffix: Bytes; allocation: number } }
|
|
5041
5268
|
/**
|
|
5042
5269
|
* Remove `authority` from the username authorities.
|
|
5043
5270
|
**/
|
|
5044
|
-
| { name: 'RemoveUsernameAuthority'; params: { authority: AccountId32 } }
|
|
5271
|
+
| { name: 'RemoveUsernameAuthority'; params: { suffix: Bytes; authority: AccountId32 } }
|
|
5045
5272
|
/**
|
|
5046
5273
|
* Set the username for `who`. Must be called by a username authority.
|
|
5047
5274
|
*
|
|
5048
|
-
*
|
|
5275
|
+
* If `use_allocation` is set, the authority must have a username allocation available to
|
|
5276
|
+
* spend. Otherwise, the authority will need to put up a deposit for registering the
|
|
5277
|
+
* username.
|
|
5278
|
+
*
|
|
5279
|
+
* Users can either pre-sign their usernames or
|
|
5049
5280
|
* accept them later.
|
|
5050
5281
|
*
|
|
5051
5282
|
* Usernames must:
|
|
@@ -5055,7 +5286,12 @@ export type PalletIdentityCall =
|
|
|
5055
5286
|
**/
|
|
5056
5287
|
| {
|
|
5057
5288
|
name: 'SetUsernameFor';
|
|
5058
|
-
params: {
|
|
5289
|
+
params: {
|
|
5290
|
+
who: AccountId32;
|
|
5291
|
+
username: Bytes;
|
|
5292
|
+
signature?: SpRuntimeMultiSignature | undefined;
|
|
5293
|
+
useAllocation: boolean;
|
|
5294
|
+
};
|
|
5059
5295
|
}
|
|
5060
5296
|
/**
|
|
5061
5297
|
* Accept a given username that an `authority` granted. The call must include the full
|
|
@@ -5073,10 +5309,21 @@ export type PalletIdentityCall =
|
|
|
5073
5309
|
**/
|
|
5074
5310
|
| { name: 'SetPrimaryUsername'; params: { username: Bytes } }
|
|
5075
5311
|
/**
|
|
5076
|
-
*
|
|
5077
|
-
*
|
|
5312
|
+
* Start the process of removing a username by placing it in the unbinding usernames map.
|
|
5313
|
+
* Once the grace period has passed, the username can be deleted by calling
|
|
5314
|
+
* [remove_username](crate::Call::remove_username).
|
|
5315
|
+
**/
|
|
5316
|
+
| { name: 'UnbindUsername'; params: { username: Bytes } }
|
|
5317
|
+
/**
|
|
5318
|
+
* Permanently delete a username which has been unbinding for longer than the grace period.
|
|
5319
|
+
* Caller is refunded the fee if the username expired and the removal was successful.
|
|
5320
|
+
**/
|
|
5321
|
+
| { name: 'RemoveUsername'; params: { username: Bytes } }
|
|
5322
|
+
/**
|
|
5323
|
+
* Call with [ForceOrigin](crate::Config::ForceOrigin) privileges which deletes a username
|
|
5324
|
+
* and slashes any deposit associated with it.
|
|
5078
5325
|
**/
|
|
5079
|
-
| { name: '
|
|
5326
|
+
| { name: 'KillUsername'; params: { username: Bytes } };
|
|
5080
5327
|
|
|
5081
5328
|
export type PalletIdentityCallLike =
|
|
5082
5329
|
/**
|
|
@@ -5266,18 +5513,23 @@ export type PalletIdentityCallLike =
|
|
|
5266
5513
|
/**
|
|
5267
5514
|
* Add an `AccountId` with permission to grant usernames with a given `suffix` appended.
|
|
5268
5515
|
*
|
|
5269
|
-
* The authority can grant up to `allocation` usernames. To top up
|
|
5270
|
-
*
|
|
5516
|
+
* The authority can grant up to `allocation` usernames. To top up the allocation or
|
|
5517
|
+
* change the account used to grant usernames, this call can be used with the updated
|
|
5518
|
+
* parameters to overwrite the existing configuration.
|
|
5271
5519
|
**/
|
|
5272
5520
|
| { name: 'AddUsernameAuthority'; params: { authority: AccountId32Like; suffix: BytesLike; allocation: number } }
|
|
5273
5521
|
/**
|
|
5274
5522
|
* Remove `authority` from the username authorities.
|
|
5275
5523
|
**/
|
|
5276
|
-
| { name: 'RemoveUsernameAuthority'; params: { authority: AccountId32Like } }
|
|
5524
|
+
| { name: 'RemoveUsernameAuthority'; params: { suffix: BytesLike; authority: AccountId32Like } }
|
|
5277
5525
|
/**
|
|
5278
5526
|
* Set the username for `who`. Must be called by a username authority.
|
|
5279
5527
|
*
|
|
5280
|
-
*
|
|
5528
|
+
* If `use_allocation` is set, the authority must have a username allocation available to
|
|
5529
|
+
* spend. Otherwise, the authority will need to put up a deposit for registering the
|
|
5530
|
+
* username.
|
|
5531
|
+
*
|
|
5532
|
+
* Users can either pre-sign their usernames or
|
|
5281
5533
|
* accept them later.
|
|
5282
5534
|
*
|
|
5283
5535
|
* Usernames must:
|
|
@@ -5287,7 +5539,12 @@ export type PalletIdentityCallLike =
|
|
|
5287
5539
|
**/
|
|
5288
5540
|
| {
|
|
5289
5541
|
name: 'SetUsernameFor';
|
|
5290
|
-
params: {
|
|
5542
|
+
params: {
|
|
5543
|
+
who: AccountId32Like;
|
|
5544
|
+
username: BytesLike;
|
|
5545
|
+
signature?: SpRuntimeMultiSignature | undefined;
|
|
5546
|
+
useAllocation: boolean;
|
|
5547
|
+
};
|
|
5291
5548
|
}
|
|
5292
5549
|
/**
|
|
5293
5550
|
* Accept a given username that an `authority` granted. The call must include the full
|
|
@@ -5305,10 +5562,21 @@ export type PalletIdentityCallLike =
|
|
|
5305
5562
|
**/
|
|
5306
5563
|
| { name: 'SetPrimaryUsername'; params: { username: BytesLike } }
|
|
5307
5564
|
/**
|
|
5308
|
-
*
|
|
5309
|
-
*
|
|
5565
|
+
* Start the process of removing a username by placing it in the unbinding usernames map.
|
|
5566
|
+
* Once the grace period has passed, the username can be deleted by calling
|
|
5567
|
+
* [remove_username](crate::Call::remove_username).
|
|
5568
|
+
**/
|
|
5569
|
+
| { name: 'UnbindUsername'; params: { username: BytesLike } }
|
|
5570
|
+
/**
|
|
5571
|
+
* Permanently delete a username which has been unbinding for longer than the grace period.
|
|
5572
|
+
* Caller is refunded the fee if the username expired and the removal was successful.
|
|
5310
5573
|
**/
|
|
5311
|
-
| { name: '
|
|
5574
|
+
| { name: 'RemoveUsername'; params: { username: BytesLike } }
|
|
5575
|
+
/**
|
|
5576
|
+
* Call with [ForceOrigin](crate::Config::ForceOrigin) privileges which deletes a username
|
|
5577
|
+
* and slashes any deposit associated with it.
|
|
5578
|
+
**/
|
|
5579
|
+
| { name: 'KillUsername'; params: { username: BytesLike } };
|
|
5312
5580
|
|
|
5313
5581
|
export type PalletIdentityLegacyIdentityInfo = {
|
|
5314
5582
|
additional: Array<[Data, Data]>;
|
|
@@ -5479,6 +5747,25 @@ export type PalletMultisigCall =
|
|
|
5479
5747
|
timepoint: PalletMultisigTimepoint;
|
|
5480
5748
|
callHash: FixedBytes<32>;
|
|
5481
5749
|
};
|
|
5750
|
+
}
|
|
5751
|
+
/**
|
|
5752
|
+
* Poke the deposit reserved for an existing multisig operation.
|
|
5753
|
+
*
|
|
5754
|
+
* The dispatch origin for this call must be _Signed_ and must be the original depositor of
|
|
5755
|
+
* the multisig operation.
|
|
5756
|
+
*
|
|
5757
|
+
* The transaction fee is waived if the deposit amount has changed.
|
|
5758
|
+
*
|
|
5759
|
+
* - `threshold`: The total number of approvals needed for this multisig.
|
|
5760
|
+
* - `other_signatories`: The accounts (other than the sender) who are part of the
|
|
5761
|
+
* multisig.
|
|
5762
|
+
* - `call_hash`: The hash of the call this deposit is reserved for.
|
|
5763
|
+
*
|
|
5764
|
+
* Emits `DepositPoked` if successful.
|
|
5765
|
+
**/
|
|
5766
|
+
| {
|
|
5767
|
+
name: 'PokeDeposit';
|
|
5768
|
+
params: { threshold: number; otherSignatories: Array<AccountId32>; callHash: FixedBytes<32> };
|
|
5482
5769
|
};
|
|
5483
5770
|
|
|
5484
5771
|
export type PalletMultisigCallLike =
|
|
@@ -5624,6 +5911,25 @@ export type PalletMultisigCallLike =
|
|
|
5624
5911
|
timepoint: PalletMultisigTimepoint;
|
|
5625
5912
|
callHash: FixedBytes<32>;
|
|
5626
5913
|
};
|
|
5914
|
+
}
|
|
5915
|
+
/**
|
|
5916
|
+
* Poke the deposit reserved for an existing multisig operation.
|
|
5917
|
+
*
|
|
5918
|
+
* The dispatch origin for this call must be _Signed_ and must be the original depositor of
|
|
5919
|
+
* the multisig operation.
|
|
5920
|
+
*
|
|
5921
|
+
* The transaction fee is waived if the deposit amount has changed.
|
|
5922
|
+
*
|
|
5923
|
+
* - `threshold`: The total number of approvals needed for this multisig.
|
|
5924
|
+
* - `other_signatories`: The accounts (other than the sender) who are part of the
|
|
5925
|
+
* multisig.
|
|
5926
|
+
* - `call_hash`: The hash of the call this deposit is reserved for.
|
|
5927
|
+
*
|
|
5928
|
+
* Emits `DepositPoked` if successful.
|
|
5929
|
+
**/
|
|
5930
|
+
| {
|
|
5931
|
+
name: 'PokeDeposit';
|
|
5932
|
+
params: { threshold: number; otherSignatories: Array<AccountId32Like>; callHash: FixedBytes<32> };
|
|
5627
5933
|
};
|
|
5628
5934
|
|
|
5629
5935
|
/**
|
|
@@ -5916,7 +6222,24 @@ export type PalletConvictionVotingCall =
|
|
|
5916
6222
|
* Weight: `O(R + log R)` where R is the number of polls that `target` has voted on.
|
|
5917
6223
|
* Weight is calculated for the maximum number of vote.
|
|
5918
6224
|
**/
|
|
5919
|
-
| { name: 'RemoveOtherVote'; params: { target: AccountId32; class: number; index: number } }
|
|
6225
|
+
| { name: 'RemoveOtherVote'; params: { target: AccountId32; class: number; index: number } }
|
|
6226
|
+
/**
|
|
6227
|
+
* Allow to force remove a vote for a referendum.
|
|
6228
|
+
*
|
|
6229
|
+
* The dispatch origin of this call must be `VoteRemovalOrigin`.
|
|
6230
|
+
*
|
|
6231
|
+
* Only allowed if the referendum is finished.
|
|
6232
|
+
*
|
|
6233
|
+
* The dispatch origin of this call must be _Signed_.
|
|
6234
|
+
*
|
|
6235
|
+
* - `target`: The account of the vote to be removed; this account must have voted for
|
|
6236
|
+
* referendum `index`.
|
|
6237
|
+
* - `index`: The index of referendum of the vote to be removed.
|
|
6238
|
+
*
|
|
6239
|
+
* Weight: `O(R + log R)` where R is the number of referenda that `target` has voted on.
|
|
6240
|
+
* Weight is calculated for the maximum number of vote.
|
|
6241
|
+
**/
|
|
6242
|
+
| { name: 'ForceRemoveVote'; params: { target: AccountId32; class: number; index: number } };
|
|
5920
6243
|
|
|
5921
6244
|
export type PalletConvictionVotingCallLike =
|
|
5922
6245
|
/**
|
|
@@ -6039,7 +6362,24 @@ export type PalletConvictionVotingCallLike =
|
|
|
6039
6362
|
* Weight: `O(R + log R)` where R is the number of polls that `target` has voted on.
|
|
6040
6363
|
* Weight is calculated for the maximum number of vote.
|
|
6041
6364
|
**/
|
|
6042
|
-
| { name: 'RemoveOtherVote'; params: { target: AccountId32Like; class: number; index: number } }
|
|
6365
|
+
| { name: 'RemoveOtherVote'; params: { target: AccountId32Like; class: number; index: number } }
|
|
6366
|
+
/**
|
|
6367
|
+
* Allow to force remove a vote for a referendum.
|
|
6368
|
+
*
|
|
6369
|
+
* The dispatch origin of this call must be `VoteRemovalOrigin`.
|
|
6370
|
+
*
|
|
6371
|
+
* Only allowed if the referendum is finished.
|
|
6372
|
+
*
|
|
6373
|
+
* The dispatch origin of this call must be _Signed_.
|
|
6374
|
+
*
|
|
6375
|
+
* - `target`: The account of the vote to be removed; this account must have voted for
|
|
6376
|
+
* referendum `index`.
|
|
6377
|
+
* - `index`: The index of referendum of the vote to be removed.
|
|
6378
|
+
*
|
|
6379
|
+
* Weight: `O(R + log R)` where R is the number of referenda that `target` has voted on.
|
|
6380
|
+
* Weight is calculated for the maximum number of vote.
|
|
6381
|
+
**/
|
|
6382
|
+
| { name: 'ForceRemoveVote'; params: { target: AccountId32Like; class: number; index: number } };
|
|
6043
6383
|
|
|
6044
6384
|
export type PalletConvictionVotingConviction =
|
|
6045
6385
|
| 'None'
|
|
@@ -6636,7 +6976,7 @@ export type PalletXcmCall =
|
|
|
6636
6976
|
* - `location`: The destination that is being described.
|
|
6637
6977
|
* - `xcm_version`: The latest version of XCM that `location` supports.
|
|
6638
6978
|
**/
|
|
6639
|
-
| { name: 'ForceXcmVersion'; params: { location:
|
|
6979
|
+
| { name: 'ForceXcmVersion'; params: { location: StagingXcmV5Location; version: number } }
|
|
6640
6980
|
/**
|
|
6641
6981
|
* Set a safe XCM version (the version that XCM should be encoded with if the most recent
|
|
6642
6982
|
* version a destination can accept is unknown).
|
|
@@ -6855,7 +7195,31 @@ export type PalletXcmCall =
|
|
|
6855
7195
|
customXcmOnDest: XcmVersionedXcm;
|
|
6856
7196
|
weightLimit: XcmV3WeightLimit;
|
|
6857
7197
|
};
|
|
6858
|
-
}
|
|
7198
|
+
}
|
|
7199
|
+
/**
|
|
7200
|
+
* Authorize another `aliaser` location to alias into the local `origin` making this call.
|
|
7201
|
+
* The `aliaser` is only authorized until the provided `expiry` block number.
|
|
7202
|
+
* The call can also be used for a previously authorized alias in order to update its
|
|
7203
|
+
* `expiry` block number.
|
|
7204
|
+
*
|
|
7205
|
+
* Usually useful to allow your local account to be aliased into from a remote location
|
|
7206
|
+
* also under your control (like your account on another chain).
|
|
7207
|
+
*
|
|
7208
|
+
* WARNING: make sure the caller `origin` (you) trusts the `aliaser` location to act in
|
|
7209
|
+
* their/your name. Once authorized using this call, the `aliaser` can freely impersonate
|
|
7210
|
+
* `origin` in XCM programs executed on the local chain.
|
|
7211
|
+
**/
|
|
7212
|
+
| { name: 'AddAuthorizedAlias'; params: { aliaser: XcmVersionedLocation; expires?: bigint | undefined } }
|
|
7213
|
+
/**
|
|
7214
|
+
* Remove a previously authorized `aliaser` from the list of locations that can alias into
|
|
7215
|
+
* the local `origin` making this call.
|
|
7216
|
+
**/
|
|
7217
|
+
| { name: 'RemoveAuthorizedAlias'; params: { aliaser: XcmVersionedLocation } }
|
|
7218
|
+
/**
|
|
7219
|
+
* Remove all previously authorized `aliaser`s that can alias into the local `origin`
|
|
7220
|
+
* making this call.
|
|
7221
|
+
**/
|
|
7222
|
+
| { name: 'RemoveAllAuthorizedAliases' };
|
|
6859
7223
|
|
|
6860
7224
|
export type PalletXcmCallLike =
|
|
6861
7225
|
| { name: 'Send'; params: { dest: XcmVersionedLocation; message: XcmVersionedXcm } }
|
|
@@ -6948,7 +7312,7 @@ export type PalletXcmCallLike =
|
|
|
6948
7312
|
* - `location`: The destination that is being described.
|
|
6949
7313
|
* - `xcm_version`: The latest version of XCM that `location` supports.
|
|
6950
7314
|
**/
|
|
6951
|
-
| { name: 'ForceXcmVersion'; params: { location:
|
|
7315
|
+
| { name: 'ForceXcmVersion'; params: { location: StagingXcmV5Location; version: number } }
|
|
6952
7316
|
/**
|
|
6953
7317
|
* Set a safe XCM version (the version that XCM should be encoded with if the most recent
|
|
6954
7318
|
* version a destination can accept is unknown).
|
|
@@ -7167,76 +7531,36 @@ export type PalletXcmCallLike =
|
|
|
7167
7531
|
customXcmOnDest: XcmVersionedXcm;
|
|
7168
7532
|
weightLimit: XcmV3WeightLimit;
|
|
7169
7533
|
};
|
|
7170
|
-
}
|
|
7534
|
+
}
|
|
7535
|
+
/**
|
|
7536
|
+
* Authorize another `aliaser` location to alias into the local `origin` making this call.
|
|
7537
|
+
* The `aliaser` is only authorized until the provided `expiry` block number.
|
|
7538
|
+
* The call can also be used for a previously authorized alias in order to update its
|
|
7539
|
+
* `expiry` block number.
|
|
7540
|
+
*
|
|
7541
|
+
* Usually useful to allow your local account to be aliased into from a remote location
|
|
7542
|
+
* also under your control (like your account on another chain).
|
|
7543
|
+
*
|
|
7544
|
+
* WARNING: make sure the caller `origin` (you) trusts the `aliaser` location to act in
|
|
7545
|
+
* their/your name. Once authorized using this call, the `aliaser` can freely impersonate
|
|
7546
|
+
* `origin` in XCM programs executed on the local chain.
|
|
7547
|
+
**/
|
|
7548
|
+
| { name: 'AddAuthorizedAlias'; params: { aliaser: XcmVersionedLocation; expires?: bigint | undefined } }
|
|
7549
|
+
/**
|
|
7550
|
+
* Remove a previously authorized `aliaser` from the list of locations that can alias into
|
|
7551
|
+
* the local `origin` making this call.
|
|
7552
|
+
**/
|
|
7553
|
+
| { name: 'RemoveAuthorizedAlias'; params: { aliaser: XcmVersionedLocation } }
|
|
7554
|
+
/**
|
|
7555
|
+
* Remove all previously authorized `aliaser`s that can alias into the local `origin`
|
|
7556
|
+
* making this call.
|
|
7557
|
+
**/
|
|
7558
|
+
| { name: 'RemoveAllAuthorizedAliases' };
|
|
7171
7559
|
|
|
7172
7560
|
export type XcmVersionedLocation =
|
|
7173
|
-
| { type: 'V2'; value: XcmV2MultilocationMultiLocation }
|
|
7174
7561
|
| { type: 'V3'; value: StagingXcmV3MultilocationMultiLocation }
|
|
7175
|
-
| { type: 'V4'; value: StagingXcmV4Location }
|
|
7176
|
-
|
|
7177
|
-
export type XcmV2MultilocationMultiLocation = { parents: number; interior: XcmV2MultilocationJunctions };
|
|
7178
|
-
|
|
7179
|
-
export type XcmV2MultilocationJunctions =
|
|
7180
|
-
| { type: 'Here' }
|
|
7181
|
-
| { type: 'X1'; value: XcmV2Junction }
|
|
7182
|
-
| { type: 'X2'; value: [XcmV2Junction, XcmV2Junction] }
|
|
7183
|
-
| { type: 'X3'; value: [XcmV2Junction, XcmV2Junction, XcmV2Junction] }
|
|
7184
|
-
| { type: 'X4'; value: [XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction] }
|
|
7185
|
-
| { type: 'X5'; value: [XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction] }
|
|
7186
|
-
| { type: 'X6'; value: [XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction] }
|
|
7187
|
-
| {
|
|
7188
|
-
type: 'X7';
|
|
7189
|
-
value: [XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction];
|
|
7190
|
-
}
|
|
7191
|
-
| {
|
|
7192
|
-
type: 'X8';
|
|
7193
|
-
value: [
|
|
7194
|
-
XcmV2Junction,
|
|
7195
|
-
XcmV2Junction,
|
|
7196
|
-
XcmV2Junction,
|
|
7197
|
-
XcmV2Junction,
|
|
7198
|
-
XcmV2Junction,
|
|
7199
|
-
XcmV2Junction,
|
|
7200
|
-
XcmV2Junction,
|
|
7201
|
-
XcmV2Junction,
|
|
7202
|
-
];
|
|
7203
|
-
};
|
|
7204
|
-
|
|
7205
|
-
export type XcmV2Junction =
|
|
7206
|
-
| { type: 'Parachain'; value: number }
|
|
7207
|
-
| { type: 'AccountId32'; value: { network: XcmV2NetworkId; id: FixedBytes<32> } }
|
|
7208
|
-
| { type: 'AccountIndex64'; value: { network: XcmV2NetworkId; index: bigint } }
|
|
7209
|
-
| { type: 'AccountKey20'; value: { network: XcmV2NetworkId; key: FixedBytes<20> } }
|
|
7210
|
-
| { type: 'PalletInstance'; value: number }
|
|
7211
|
-
| { type: 'GeneralIndex'; value: bigint }
|
|
7212
|
-
| { type: 'GeneralKey'; value: Bytes }
|
|
7213
|
-
| { type: 'OnlyChild' }
|
|
7214
|
-
| { type: 'Plurality'; value: { id: XcmV2BodyId; part: XcmV2BodyPart } };
|
|
7215
|
-
|
|
7216
|
-
export type XcmV2NetworkId =
|
|
7217
|
-
| { type: 'Any' }
|
|
7218
|
-
| { type: 'Named'; value: Bytes }
|
|
7219
|
-
| { type: 'Polkadot' }
|
|
7220
|
-
| { type: 'Kusama' };
|
|
7221
|
-
|
|
7222
|
-
export type XcmV2BodyId =
|
|
7223
|
-
| { type: 'Unit' }
|
|
7224
|
-
| { type: 'Named'; value: Bytes }
|
|
7225
|
-
| { type: 'Index'; value: number }
|
|
7226
|
-
| { type: 'Executive' }
|
|
7227
|
-
| { type: 'Technical' }
|
|
7228
|
-
| { type: 'Legislative' }
|
|
7229
|
-
| { type: 'Judicial' }
|
|
7230
|
-
| { type: 'Defense' }
|
|
7231
|
-
| { type: 'Administration' }
|
|
7232
|
-
| { type: 'Treasury' };
|
|
7233
|
-
|
|
7234
|
-
export type XcmV2BodyPart =
|
|
7235
|
-
| { type: 'Voice' }
|
|
7236
|
-
| { type: 'Members'; value: { count: number } }
|
|
7237
|
-
| { type: 'Fraction'; value: { nom: number; denom: number } }
|
|
7238
|
-
| { type: 'AtLeastProportion'; value: { nom: number; denom: number } }
|
|
7239
|
-
| { type: 'MoreThanProportion'; value: { nom: number; denom: number } };
|
|
7562
|
+
| { type: 'V4'; value: StagingXcmV4Location }
|
|
7563
|
+
| { type: 'V5'; value: StagingXcmV5Location };
|
|
7240
7564
|
|
|
7241
7565
|
export type StagingXcmV3MultilocationMultiLocation = { parents: number; interior: XcmV3Junctions };
|
|
7242
7566
|
|
|
@@ -7291,151 +7615,48 @@ export type XcmV3JunctionNetworkId =
|
|
|
7291
7615
|
| { type: 'BitcoinCash' }
|
|
7292
7616
|
| { type: 'PolkadotBulletin' };
|
|
7293
7617
|
|
|
7294
|
-
export type
|
|
7295
|
-
| { type: 'V2'; value: XcmV2Xcm }
|
|
7296
|
-
| { type: 'V3'; value: XcmV3Xcm }
|
|
7297
|
-
| { type: 'V4'; value: StagingXcmV4Xcm };
|
|
7298
|
-
|
|
7299
|
-
export type XcmV2Xcm = Array<XcmV2Instruction>;
|
|
7618
|
+
export type StagingXcmV4Location = { parents: number; interior: StagingXcmV4Junctions };
|
|
7300
7619
|
|
|
7301
|
-
export type
|
|
7302
|
-
| { type: '
|
|
7303
|
-
| { type: '
|
|
7304
|
-
| { type: '
|
|
7305
|
-
| { type: '
|
|
7306
|
-
| {
|
|
7307
|
-
|
|
7308
|
-
|
|
7309
|
-
|
|
7310
|
-
| {
|
|
7311
|
-
type: 'TransferReserveAsset';
|
|
7312
|
-
value: { assets: XcmV2MultiassetMultiAssets; dest: XcmV2MultilocationMultiLocation; xcm: XcmV2Xcm };
|
|
7313
|
-
}
|
|
7314
|
-
| { type: 'Transact'; value: { originType: XcmV2OriginKind; requireWeightAtMost: bigint; call: XcmDoubleEncoded } }
|
|
7315
|
-
| { type: 'HrmpNewChannelOpenRequest'; value: { sender: number; maxMessageSize: number; maxCapacity: number } }
|
|
7316
|
-
| { type: 'HrmpChannelAccepted'; value: { recipient: number } }
|
|
7317
|
-
| { type: 'HrmpChannelClosing'; value: { initiator: number; sender: number; recipient: number } }
|
|
7318
|
-
| { type: 'ClearOrigin' }
|
|
7319
|
-
| { type: 'DescendOrigin'; value: XcmV2MultilocationJunctions }
|
|
7320
|
-
| {
|
|
7321
|
-
type: 'ReportError';
|
|
7322
|
-
value: { queryId: bigint; dest: XcmV2MultilocationMultiLocation; maxResponseWeight: bigint };
|
|
7323
|
-
}
|
|
7324
|
-
| {
|
|
7325
|
-
type: 'DepositAsset';
|
|
7326
|
-
value: {
|
|
7327
|
-
assets: XcmV2MultiassetMultiAssetFilter;
|
|
7328
|
-
maxAssets: number;
|
|
7329
|
-
beneficiary: XcmV2MultilocationMultiLocation;
|
|
7330
|
-
};
|
|
7331
|
-
}
|
|
7332
|
-
| {
|
|
7333
|
-
type: 'DepositReserveAsset';
|
|
7334
|
-
value: {
|
|
7335
|
-
assets: XcmV2MultiassetMultiAssetFilter;
|
|
7336
|
-
maxAssets: number;
|
|
7337
|
-
dest: XcmV2MultilocationMultiLocation;
|
|
7338
|
-
xcm: XcmV2Xcm;
|
|
7339
|
-
};
|
|
7340
|
-
}
|
|
7341
|
-
| { type: 'ExchangeAsset'; value: { give: XcmV2MultiassetMultiAssetFilter; receive: XcmV2MultiassetMultiAssets } }
|
|
7342
|
-
| {
|
|
7343
|
-
type: 'InitiateReserveWithdraw';
|
|
7344
|
-
value: { assets: XcmV2MultiassetMultiAssetFilter; reserve: XcmV2MultilocationMultiLocation; xcm: XcmV2Xcm };
|
|
7345
|
-
}
|
|
7346
|
-
| {
|
|
7347
|
-
type: 'InitiateTeleport';
|
|
7348
|
-
value: { assets: XcmV2MultiassetMultiAssetFilter; dest: XcmV2MultilocationMultiLocation; xcm: XcmV2Xcm };
|
|
7349
|
-
}
|
|
7350
|
-
| {
|
|
7351
|
-
type: 'QueryHolding';
|
|
7352
|
-
value: {
|
|
7353
|
-
queryId: bigint;
|
|
7354
|
-
dest: XcmV2MultilocationMultiLocation;
|
|
7355
|
-
assets: XcmV2MultiassetMultiAssetFilter;
|
|
7356
|
-
maxResponseWeight: bigint;
|
|
7357
|
-
};
|
|
7358
|
-
}
|
|
7359
|
-
| { type: 'BuyExecution'; value: { fees: XcmV2MultiassetMultiAsset; weightLimit: XcmV2WeightLimit } }
|
|
7360
|
-
| { type: 'RefundSurplus' }
|
|
7361
|
-
| { type: 'SetErrorHandler'; value: XcmV2Xcm }
|
|
7362
|
-
| { type: 'SetAppendix'; value: XcmV2Xcm }
|
|
7363
|
-
| { type: 'ClearError' }
|
|
7364
|
-
| { type: 'ClaimAsset'; value: { assets: XcmV2MultiassetMultiAssets; ticket: XcmV2MultilocationMultiLocation } }
|
|
7365
|
-
| { type: 'Trap'; value: bigint }
|
|
7366
|
-
| { type: 'SubscribeVersion'; value: { queryId: bigint; maxResponseWeight: bigint } }
|
|
7367
|
-
| { type: 'UnsubscribeVersion' };
|
|
7368
|
-
|
|
7369
|
-
export type XcmV2MultiassetMultiAssets = Array<XcmV2MultiassetMultiAsset>;
|
|
7370
|
-
|
|
7371
|
-
export type XcmV2MultiassetMultiAsset = { id: XcmV2MultiassetAssetId; fun: XcmV2MultiassetFungibility };
|
|
7372
|
-
|
|
7373
|
-
export type XcmV2MultiassetAssetId =
|
|
7374
|
-
| { type: 'Concrete'; value: XcmV2MultilocationMultiLocation }
|
|
7375
|
-
| { type: 'Abstract'; value: Bytes };
|
|
7376
|
-
|
|
7377
|
-
export type XcmV2MultiassetFungibility =
|
|
7378
|
-
| { type: 'Fungible'; value: bigint }
|
|
7379
|
-
| { type: 'NonFungible'; value: XcmV2MultiassetAssetInstance };
|
|
7380
|
-
|
|
7381
|
-
export type XcmV2MultiassetAssetInstance =
|
|
7382
|
-
| { type: 'Undefined' }
|
|
7383
|
-
| { type: 'Index'; value: bigint }
|
|
7384
|
-
| { type: 'Array4'; value: FixedBytes<4> }
|
|
7385
|
-
| { type: 'Array8'; value: FixedBytes<8> }
|
|
7386
|
-
| { type: 'Array16'; value: FixedBytes<16> }
|
|
7387
|
-
| { type: 'Array32'; value: FixedBytes<32> }
|
|
7388
|
-
| { type: 'Blob'; value: Bytes };
|
|
7389
|
-
|
|
7390
|
-
export type XcmV2Response =
|
|
7391
|
-
| { type: 'Null' }
|
|
7392
|
-
| { type: 'Assets'; value: XcmV2MultiassetMultiAssets }
|
|
7393
|
-
| { type: 'ExecutionResult'; value?: [number, XcmV2TraitsError] | undefined }
|
|
7394
|
-
| { type: 'Version'; value: number };
|
|
7395
|
-
|
|
7396
|
-
export type XcmV2TraitsError =
|
|
7397
|
-
| { type: 'Overflow' }
|
|
7398
|
-
| { type: 'Unimplemented' }
|
|
7399
|
-
| { type: 'UntrustedReserveLocation' }
|
|
7400
|
-
| { type: 'UntrustedTeleportLocation' }
|
|
7401
|
-
| { type: 'MultiLocationFull' }
|
|
7402
|
-
| { type: 'MultiLocationNotInvertible' }
|
|
7403
|
-
| { type: 'BadOrigin' }
|
|
7404
|
-
| { type: 'InvalidLocation' }
|
|
7405
|
-
| { type: 'AssetNotFound' }
|
|
7406
|
-
| { type: 'FailedToTransactAsset' }
|
|
7407
|
-
| { type: 'NotWithdrawable' }
|
|
7408
|
-
| { type: 'LocationCannotHold' }
|
|
7409
|
-
| { type: 'ExceedsMaxMessageSize' }
|
|
7410
|
-
| { type: 'DestinationUnsupported' }
|
|
7411
|
-
| { type: 'Transport' }
|
|
7412
|
-
| { type: 'Unroutable' }
|
|
7413
|
-
| { type: 'UnknownClaim' }
|
|
7414
|
-
| { type: 'FailedToDecode' }
|
|
7415
|
-
| { type: 'MaxWeightInvalid' }
|
|
7416
|
-
| { type: 'NotHoldingFees' }
|
|
7417
|
-
| { type: 'TooExpensive' }
|
|
7418
|
-
| { type: 'Trap'; value: bigint }
|
|
7419
|
-
| { type: 'UnhandledXcmVersion' }
|
|
7420
|
-
| { type: 'WeightLimitReached'; value: bigint }
|
|
7421
|
-
| { type: 'Barrier' }
|
|
7422
|
-
| { type: 'WeightNotComputable' };
|
|
7423
|
-
|
|
7424
|
-
export type XcmV2OriginKind = 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';
|
|
7425
|
-
|
|
7426
|
-
export type XcmDoubleEncoded = { encoded: Bytes };
|
|
7427
|
-
|
|
7428
|
-
export type XcmV2MultiassetMultiAssetFilter =
|
|
7429
|
-
| { type: 'Definite'; value: XcmV2MultiassetMultiAssets }
|
|
7430
|
-
| { type: 'Wild'; value: XcmV2MultiassetWildMultiAsset };
|
|
7620
|
+
export type StagingXcmV4Junctions =
|
|
7621
|
+
| { type: 'Here' }
|
|
7622
|
+
| { type: 'X1'; value: FixedArray<StagingXcmV4Junction, 1> }
|
|
7623
|
+
| { type: 'X2'; value: FixedArray<StagingXcmV4Junction, 2> }
|
|
7624
|
+
| { type: 'X3'; value: FixedArray<StagingXcmV4Junction, 3> }
|
|
7625
|
+
| { type: 'X4'; value: FixedArray<StagingXcmV4Junction, 4> }
|
|
7626
|
+
| { type: 'X5'; value: FixedArray<StagingXcmV4Junction, 5> }
|
|
7627
|
+
| { type: 'X6'; value: FixedArray<StagingXcmV4Junction, 6> }
|
|
7628
|
+
| { type: 'X7'; value: FixedArray<StagingXcmV4Junction, 7> }
|
|
7629
|
+
| { type: 'X8'; value: FixedArray<StagingXcmV4Junction, 8> };
|
|
7431
7630
|
|
|
7432
|
-
export type
|
|
7433
|
-
| { type: '
|
|
7434
|
-
| { type: '
|
|
7631
|
+
export type StagingXcmV4Junction =
|
|
7632
|
+
| { type: 'Parachain'; value: number }
|
|
7633
|
+
| { type: 'AccountId32'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; id: FixedBytes<32> } }
|
|
7634
|
+
| { type: 'AccountIndex64'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; index: bigint } }
|
|
7635
|
+
| { type: 'AccountKey20'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; key: FixedBytes<20> } }
|
|
7636
|
+
| { type: 'PalletInstance'; value: number }
|
|
7637
|
+
| { type: 'GeneralIndex'; value: bigint }
|
|
7638
|
+
| { type: 'GeneralKey'; value: { length: number; data: FixedBytes<32> } }
|
|
7639
|
+
| { type: 'OnlyChild' }
|
|
7640
|
+
| { type: 'Plurality'; value: { id: XcmV3JunctionBodyId; part: XcmV3JunctionBodyPart } }
|
|
7641
|
+
| { type: 'GlobalConsensus'; value: StagingXcmV4JunctionNetworkId };
|
|
7435
7642
|
|
|
7436
|
-
export type
|
|
7643
|
+
export type StagingXcmV4JunctionNetworkId =
|
|
7644
|
+
| { type: 'ByGenesis'; value: FixedBytes<32> }
|
|
7645
|
+
| { type: 'ByFork'; value: { blockNumber: bigint; blockHash: FixedBytes<32> } }
|
|
7646
|
+
| { type: 'Polkadot' }
|
|
7647
|
+
| { type: 'Kusama' }
|
|
7648
|
+
| { type: 'Westend' }
|
|
7649
|
+
| { type: 'Rococo' }
|
|
7650
|
+
| { type: 'Wococo' }
|
|
7651
|
+
| { type: 'Ethereum'; value: { chainId: bigint } }
|
|
7652
|
+
| { type: 'BitcoinCore' }
|
|
7653
|
+
| { type: 'BitcoinCash' }
|
|
7654
|
+
| { type: 'PolkadotBulletin' };
|
|
7437
7655
|
|
|
7438
|
-
export type
|
|
7656
|
+
export type XcmVersionedXcm =
|
|
7657
|
+
| { type: 'V3'; value: XcmV3Xcm }
|
|
7658
|
+
| { type: 'V4'; value: StagingXcmV4Xcm }
|
|
7659
|
+
| { type: 'V5'; value: StagingXcmV5Xcm };
|
|
7439
7660
|
|
|
7440
7661
|
export type XcmV3Xcm = Array<XcmV3Instruction>;
|
|
7441
7662
|
|
|
@@ -7626,6 +7847,8 @@ export type XcmV3MaybeErrorCode =
|
|
|
7626
7847
|
|
|
7627
7848
|
export type XcmV3OriginKind = 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';
|
|
7628
7849
|
|
|
7850
|
+
export type XcmDoubleEncoded = { encoded: Bytes };
|
|
7851
|
+
|
|
7629
7852
|
export type XcmV3QueryResponseInfo = {
|
|
7630
7853
|
destination: StagingXcmV3MultilocationMultiLocation;
|
|
7631
7854
|
queryId: bigint;
|
|
@@ -7792,10 +8015,223 @@ export type StagingXcmV4AssetWildAsset =
|
|
|
7792
8015
|
|
|
7793
8016
|
export type StagingXcmV4AssetWildFungibility = 'Fungible' | 'NonFungible';
|
|
7794
8017
|
|
|
8018
|
+
export type StagingXcmV5Xcm = Array<StagingXcmV5Instruction>;
|
|
8019
|
+
|
|
8020
|
+
export type StagingXcmV5Instruction =
|
|
8021
|
+
| { type: 'WithdrawAsset'; value: StagingXcmV5AssetAssets }
|
|
8022
|
+
| { type: 'ReserveAssetDeposited'; value: StagingXcmV5AssetAssets }
|
|
8023
|
+
| { type: 'ReceiveTeleportedAsset'; value: StagingXcmV5AssetAssets }
|
|
8024
|
+
| {
|
|
8025
|
+
type: 'QueryResponse';
|
|
8026
|
+
value: {
|
|
8027
|
+
queryId: bigint;
|
|
8028
|
+
response: StagingXcmV5Response;
|
|
8029
|
+
maxWeight: SpWeightsWeightV2Weight;
|
|
8030
|
+
querier?: StagingXcmV5Location | undefined;
|
|
8031
|
+
};
|
|
8032
|
+
}
|
|
8033
|
+
| { type: 'TransferAsset'; value: { assets: StagingXcmV5AssetAssets; beneficiary: StagingXcmV5Location } }
|
|
8034
|
+
| {
|
|
8035
|
+
type: 'TransferReserveAsset';
|
|
8036
|
+
value: { assets: StagingXcmV5AssetAssets; dest: StagingXcmV5Location; xcm: StagingXcmV5Xcm };
|
|
8037
|
+
}
|
|
8038
|
+
| {
|
|
8039
|
+
type: 'Transact';
|
|
8040
|
+
value: {
|
|
8041
|
+
originKind: XcmV3OriginKind;
|
|
8042
|
+
fallbackMaxWeight?: SpWeightsWeightV2Weight | undefined;
|
|
8043
|
+
call: XcmDoubleEncoded;
|
|
8044
|
+
};
|
|
8045
|
+
}
|
|
8046
|
+
| { type: 'HrmpNewChannelOpenRequest'; value: { sender: number; maxMessageSize: number; maxCapacity: number } }
|
|
8047
|
+
| { type: 'HrmpChannelAccepted'; value: { recipient: number } }
|
|
8048
|
+
| { type: 'HrmpChannelClosing'; value: { initiator: number; sender: number; recipient: number } }
|
|
8049
|
+
| { type: 'ClearOrigin' }
|
|
8050
|
+
| { type: 'DescendOrigin'; value: StagingXcmV5Junctions }
|
|
8051
|
+
| { type: 'ReportError'; value: StagingXcmV5QueryResponseInfo }
|
|
8052
|
+
| { type: 'DepositAsset'; value: { assets: StagingXcmV5AssetAssetFilter; beneficiary: StagingXcmV5Location } }
|
|
8053
|
+
| {
|
|
8054
|
+
type: 'DepositReserveAsset';
|
|
8055
|
+
value: { assets: StagingXcmV5AssetAssetFilter; dest: StagingXcmV5Location; xcm: StagingXcmV5Xcm };
|
|
8056
|
+
}
|
|
8057
|
+
| {
|
|
8058
|
+
type: 'ExchangeAsset';
|
|
8059
|
+
value: { give: StagingXcmV5AssetAssetFilter; want: StagingXcmV5AssetAssets; maximal: boolean };
|
|
8060
|
+
}
|
|
8061
|
+
| {
|
|
8062
|
+
type: 'InitiateReserveWithdraw';
|
|
8063
|
+
value: { assets: StagingXcmV5AssetAssetFilter; reserve: StagingXcmV5Location; xcm: StagingXcmV5Xcm };
|
|
8064
|
+
}
|
|
8065
|
+
| {
|
|
8066
|
+
type: 'InitiateTeleport';
|
|
8067
|
+
value: { assets: StagingXcmV5AssetAssetFilter; dest: StagingXcmV5Location; xcm: StagingXcmV5Xcm };
|
|
8068
|
+
}
|
|
8069
|
+
| {
|
|
8070
|
+
type: 'ReportHolding';
|
|
8071
|
+
value: { responseInfo: StagingXcmV5QueryResponseInfo; assets: StagingXcmV5AssetAssetFilter };
|
|
8072
|
+
}
|
|
8073
|
+
| { type: 'BuyExecution'; value: { fees: StagingXcmV5Asset; weightLimit: XcmV3WeightLimit } }
|
|
8074
|
+
| { type: 'RefundSurplus' }
|
|
8075
|
+
| { type: 'SetErrorHandler'; value: StagingXcmV5Xcm }
|
|
8076
|
+
| { type: 'SetAppendix'; value: StagingXcmV5Xcm }
|
|
8077
|
+
| { type: 'ClearError' }
|
|
8078
|
+
| { type: 'ClaimAsset'; value: { assets: StagingXcmV5AssetAssets; ticket: StagingXcmV5Location } }
|
|
8079
|
+
| { type: 'Trap'; value: bigint }
|
|
8080
|
+
| { type: 'SubscribeVersion'; value: { queryId: bigint; maxResponseWeight: SpWeightsWeightV2Weight } }
|
|
8081
|
+
| { type: 'UnsubscribeVersion' }
|
|
8082
|
+
| { type: 'BurnAsset'; value: StagingXcmV5AssetAssets }
|
|
8083
|
+
| { type: 'ExpectAsset'; value: StagingXcmV5AssetAssets }
|
|
8084
|
+
| { type: 'ExpectOrigin'; value?: StagingXcmV5Location | undefined }
|
|
8085
|
+
| { type: 'ExpectError'; value?: [number, XcmV5TraitsError] | undefined }
|
|
8086
|
+
| { type: 'ExpectTransactStatus'; value: XcmV3MaybeErrorCode }
|
|
8087
|
+
| { type: 'QueryPallet'; value: { moduleName: Bytes; responseInfo: StagingXcmV5QueryResponseInfo } }
|
|
8088
|
+
| {
|
|
8089
|
+
type: 'ExpectPallet';
|
|
8090
|
+
value: { index: number; name: Bytes; moduleName: Bytes; crateMajor: number; minCrateMinor: number };
|
|
8091
|
+
}
|
|
8092
|
+
| { type: 'ReportTransactStatus'; value: StagingXcmV5QueryResponseInfo }
|
|
8093
|
+
| { type: 'ClearTransactStatus' }
|
|
8094
|
+
| { type: 'UniversalOrigin'; value: StagingXcmV5Junction }
|
|
8095
|
+
| {
|
|
8096
|
+
type: 'ExportMessage';
|
|
8097
|
+
value: { network: StagingXcmV5JunctionNetworkId; destination: StagingXcmV5Junctions; xcm: StagingXcmV5Xcm };
|
|
8098
|
+
}
|
|
8099
|
+
| { type: 'LockAsset'; value: { asset: StagingXcmV5Asset; unlocker: StagingXcmV5Location } }
|
|
8100
|
+
| { type: 'UnlockAsset'; value: { asset: StagingXcmV5Asset; target: StagingXcmV5Location } }
|
|
8101
|
+
| { type: 'NoteUnlockable'; value: { asset: StagingXcmV5Asset; owner: StagingXcmV5Location } }
|
|
8102
|
+
| { type: 'RequestUnlock'; value: { asset: StagingXcmV5Asset; locker: StagingXcmV5Location } }
|
|
8103
|
+
| { type: 'SetFeesMode'; value: { jitWithdraw: boolean } }
|
|
8104
|
+
| { type: 'SetTopic'; value: FixedBytes<32> }
|
|
8105
|
+
| { type: 'ClearTopic' }
|
|
8106
|
+
| { type: 'AliasOrigin'; value: StagingXcmV5Location }
|
|
8107
|
+
| {
|
|
8108
|
+
type: 'UnpaidExecution';
|
|
8109
|
+
value: { weightLimit: XcmV3WeightLimit; checkOrigin?: StagingXcmV5Location | undefined };
|
|
8110
|
+
}
|
|
8111
|
+
| { type: 'PayFees'; value: { asset: StagingXcmV5Asset } }
|
|
8112
|
+
| {
|
|
8113
|
+
type: 'InitiateTransfer';
|
|
8114
|
+
value: {
|
|
8115
|
+
destination: StagingXcmV5Location;
|
|
8116
|
+
remoteFees?: StagingXcmV5AssetAssetTransferFilter | undefined;
|
|
8117
|
+
preserveOrigin: boolean;
|
|
8118
|
+
assets: Array<StagingXcmV5AssetAssetTransferFilter>;
|
|
8119
|
+
remoteXcm: StagingXcmV5Xcm;
|
|
8120
|
+
};
|
|
8121
|
+
}
|
|
8122
|
+
| { type: 'ExecuteWithOrigin'; value: { descendantOrigin?: StagingXcmV5Junctions | undefined; xcm: StagingXcmV5Xcm } }
|
|
8123
|
+
| { type: 'SetHints'; value: { hints: Array<StagingXcmV5Hint> } };
|
|
8124
|
+
|
|
8125
|
+
export type StagingXcmV5AssetAssets = Array<StagingXcmV5Asset>;
|
|
8126
|
+
|
|
8127
|
+
export type StagingXcmV5Asset = { id: StagingXcmV5AssetAssetId; fun: StagingXcmV5AssetFungibility };
|
|
8128
|
+
|
|
8129
|
+
export type StagingXcmV5AssetAssetId = StagingXcmV5Location;
|
|
8130
|
+
|
|
8131
|
+
export type StagingXcmV5AssetFungibility =
|
|
8132
|
+
| { type: 'Fungible'; value: bigint }
|
|
8133
|
+
| { type: 'NonFungible'; value: StagingXcmV5AssetAssetInstance };
|
|
8134
|
+
|
|
8135
|
+
export type StagingXcmV5AssetAssetInstance =
|
|
8136
|
+
| { type: 'Undefined' }
|
|
8137
|
+
| { type: 'Index'; value: bigint }
|
|
8138
|
+
| { type: 'Array4'; value: FixedBytes<4> }
|
|
8139
|
+
| { type: 'Array8'; value: FixedBytes<8> }
|
|
8140
|
+
| { type: 'Array16'; value: FixedBytes<16> }
|
|
8141
|
+
| { type: 'Array32'; value: FixedBytes<32> };
|
|
8142
|
+
|
|
8143
|
+
export type StagingXcmV5Response =
|
|
8144
|
+
| { type: 'Null' }
|
|
8145
|
+
| { type: 'Assets'; value: StagingXcmV5AssetAssets }
|
|
8146
|
+
| { type: 'ExecutionResult'; value?: [number, XcmV5TraitsError] | undefined }
|
|
8147
|
+
| { type: 'Version'; value: number }
|
|
8148
|
+
| { type: 'PalletsInfo'; value: Array<StagingXcmV5PalletInfo> }
|
|
8149
|
+
| { type: 'DispatchResult'; value: XcmV3MaybeErrorCode };
|
|
8150
|
+
|
|
8151
|
+
export type XcmV5TraitsError =
|
|
8152
|
+
| { type: 'Overflow' }
|
|
8153
|
+
| { type: 'Unimplemented' }
|
|
8154
|
+
| { type: 'UntrustedReserveLocation' }
|
|
8155
|
+
| { type: 'UntrustedTeleportLocation' }
|
|
8156
|
+
| { type: 'LocationFull' }
|
|
8157
|
+
| { type: 'LocationNotInvertible' }
|
|
8158
|
+
| { type: 'BadOrigin' }
|
|
8159
|
+
| { type: 'InvalidLocation' }
|
|
8160
|
+
| { type: 'AssetNotFound' }
|
|
8161
|
+
| { type: 'FailedToTransactAsset' }
|
|
8162
|
+
| { type: 'NotWithdrawable' }
|
|
8163
|
+
| { type: 'LocationCannotHold' }
|
|
8164
|
+
| { type: 'ExceedsMaxMessageSize' }
|
|
8165
|
+
| { type: 'DestinationUnsupported' }
|
|
8166
|
+
| { type: 'Transport' }
|
|
8167
|
+
| { type: 'Unroutable' }
|
|
8168
|
+
| { type: 'UnknownClaim' }
|
|
8169
|
+
| { type: 'FailedToDecode' }
|
|
8170
|
+
| { type: 'MaxWeightInvalid' }
|
|
8171
|
+
| { type: 'NotHoldingFees' }
|
|
8172
|
+
| { type: 'TooExpensive' }
|
|
8173
|
+
| { type: 'Trap'; value: bigint }
|
|
8174
|
+
| { type: 'ExpectationFalse' }
|
|
8175
|
+
| { type: 'PalletNotFound' }
|
|
8176
|
+
| { type: 'NameMismatch' }
|
|
8177
|
+
| { type: 'VersionIncompatible' }
|
|
8178
|
+
| { type: 'HoldingWouldOverflow' }
|
|
8179
|
+
| { type: 'ExportError' }
|
|
8180
|
+
| { type: 'ReanchorFailed' }
|
|
8181
|
+
| { type: 'NoDeal' }
|
|
8182
|
+
| { type: 'FeesNotMet' }
|
|
8183
|
+
| { type: 'LockError' }
|
|
8184
|
+
| { type: 'NoPermission' }
|
|
8185
|
+
| { type: 'Unanchored' }
|
|
8186
|
+
| { type: 'NotDepositable' }
|
|
8187
|
+
| { type: 'TooManyAssets' }
|
|
8188
|
+
| { type: 'UnhandledXcmVersion' }
|
|
8189
|
+
| { type: 'WeightLimitReached'; value: SpWeightsWeightV2Weight }
|
|
8190
|
+
| { type: 'Barrier' }
|
|
8191
|
+
| { type: 'WeightNotComputable' }
|
|
8192
|
+
| { type: 'ExceedsStackLimit' };
|
|
8193
|
+
|
|
8194
|
+
export type StagingXcmV5PalletInfo = {
|
|
8195
|
+
index: number;
|
|
8196
|
+
name: Bytes;
|
|
8197
|
+
moduleName: Bytes;
|
|
8198
|
+
major: number;
|
|
8199
|
+
minor: number;
|
|
8200
|
+
patch: number;
|
|
8201
|
+
};
|
|
8202
|
+
|
|
8203
|
+
export type StagingXcmV5QueryResponseInfo = {
|
|
8204
|
+
destination: StagingXcmV5Location;
|
|
8205
|
+
queryId: bigint;
|
|
8206
|
+
maxWeight: SpWeightsWeightV2Weight;
|
|
8207
|
+
};
|
|
8208
|
+
|
|
8209
|
+
export type StagingXcmV5AssetAssetFilter =
|
|
8210
|
+
| { type: 'Definite'; value: StagingXcmV5AssetAssets }
|
|
8211
|
+
| { type: 'Wild'; value: StagingXcmV5AssetWildAsset };
|
|
8212
|
+
|
|
8213
|
+
export type StagingXcmV5AssetWildAsset =
|
|
8214
|
+
| { type: 'All' }
|
|
8215
|
+
| { type: 'AllOf'; value: { id: StagingXcmV5AssetAssetId; fun: StagingXcmV5AssetWildFungibility } }
|
|
8216
|
+
| { type: 'AllCounted'; value: number }
|
|
8217
|
+
| {
|
|
8218
|
+
type: 'AllOfCounted';
|
|
8219
|
+
value: { id: StagingXcmV5AssetAssetId; fun: StagingXcmV5AssetWildFungibility; count: number };
|
|
8220
|
+
};
|
|
8221
|
+
|
|
8222
|
+
export type StagingXcmV5AssetWildFungibility = 'Fungible' | 'NonFungible';
|
|
8223
|
+
|
|
8224
|
+
export type StagingXcmV5AssetAssetTransferFilter =
|
|
8225
|
+
| { type: 'Teleport'; value: StagingXcmV5AssetAssetFilter }
|
|
8226
|
+
| { type: 'ReserveDeposit'; value: StagingXcmV5AssetAssetFilter }
|
|
8227
|
+
| { type: 'ReserveWithdraw'; value: StagingXcmV5AssetAssetFilter };
|
|
8228
|
+
|
|
8229
|
+
export type StagingXcmV5Hint = { type: 'AssetClaimer'; value: { location: StagingXcmV5Location } };
|
|
8230
|
+
|
|
7795
8231
|
export type XcmVersionedAssets =
|
|
7796
|
-
| { type: 'V2'; value: XcmV2MultiassetMultiAssets }
|
|
7797
8232
|
| { type: 'V3'; value: XcmV3MultiassetMultiAssets }
|
|
7798
|
-
| { type: 'V4'; value: StagingXcmV4AssetAssets }
|
|
8233
|
+
| { type: 'V4'; value: StagingXcmV4AssetAssets }
|
|
8234
|
+
| { type: 'V5'; value: StagingXcmV5AssetAssets };
|
|
7799
8235
|
|
|
7800
8236
|
export type StagingXcmExecutorAssetTransferTransferType =
|
|
7801
8237
|
| { type: 'Teleport' }
|
|
@@ -7805,7 +8241,8 @@ export type StagingXcmExecutorAssetTransferTransferType =
|
|
|
7805
8241
|
|
|
7806
8242
|
export type XcmVersionedAssetId =
|
|
7807
8243
|
| { type: 'V3'; value: XcmV3MultiassetAssetId }
|
|
7808
|
-
| { type: 'V4'; value: StagingXcmV4AssetAssetId }
|
|
8244
|
+
| { type: 'V4'; value: StagingXcmV4AssetAssetId }
|
|
8245
|
+
| { type: 'V5'; value: StagingXcmV5AssetAssetId };
|
|
7809
8246
|
|
|
7810
8247
|
/**
|
|
7811
8248
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -8020,7 +8457,7 @@ export type PalletAssetRegistryAssetType =
|
|
|
8020
8457
|
|
|
8021
8458
|
export type PalletAssetRegistryMetadata = { symbol: Bytes; decimals: number };
|
|
8022
8459
|
|
|
8023
|
-
export type BasiliskRuntimeXcmAssetLocation =
|
|
8460
|
+
export type BasiliskRuntimeXcmAssetLocation = StagingXcmV5Location;
|
|
8024
8461
|
|
|
8025
8462
|
/**
|
|
8026
8463
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -8136,41 +8573,65 @@ export type PalletDusterCall =
|
|
|
8136
8573
|
/**
|
|
8137
8574
|
* Dust specified account.
|
|
8138
8575
|
* IF account balance is < min. existential deposit of given currency, and account is allowed to
|
|
8139
|
-
* be dusted, the remaining balance is transferred to
|
|
8576
|
+
* be dusted, the remaining balance is transferred to treasury account.
|
|
8577
|
+
*
|
|
8578
|
+
* In case of AToken, we perform an erc20 dust, which does a wihtdraw all then supply atoken on behalf of the dust receiver
|
|
8579
|
+
*
|
|
8580
|
+
* The transaction fee is returned back in case of successful dusting.
|
|
8140
8581
|
*
|
|
8141
|
-
*
|
|
8582
|
+
* Treasury account can never be dusted.
|
|
8583
|
+
*
|
|
8584
|
+
* Emits `Dusted` event when successful.
|
|
8142
8585
|
**/
|
|
8143
8586
|
| { name: 'DustAccount'; params: { account: AccountId32; currencyId: number } }
|
|
8144
8587
|
/**
|
|
8145
|
-
* Add account to list of
|
|
8146
|
-
* If such account should be dusted - `
|
|
8588
|
+
* Add account to list of whitelist accounts. Account which are excluded from dusting.
|
|
8589
|
+
* If such account should be dusted - `AccountWhitelisted` error is returned.
|
|
8147
8590
|
* Only root can perform this action.
|
|
8591
|
+
*
|
|
8592
|
+
* Emits `Added` event when successful.
|
|
8593
|
+
*
|
|
8148
8594
|
**/
|
|
8149
|
-
| { name: '
|
|
8595
|
+
| { name: 'WhitelistAccount'; params: { account: AccountId32 } }
|
|
8150
8596
|
/**
|
|
8151
|
-
* Remove account from list of
|
|
8597
|
+
* Remove account from list of whitelist accounts. That means account can be dusted again.
|
|
8598
|
+
*
|
|
8599
|
+
* Emits `Removed` event when successful.
|
|
8600
|
+
*
|
|
8152
8601
|
**/
|
|
8153
|
-
| { name: '
|
|
8602
|
+
| { name: 'RemoveFromWhitelist'; params: { account: AccountId32 } };
|
|
8154
8603
|
|
|
8155
8604
|
export type PalletDusterCallLike =
|
|
8156
8605
|
/**
|
|
8157
8606
|
* Dust specified account.
|
|
8158
8607
|
* IF account balance is < min. existential deposit of given currency, and account is allowed to
|
|
8159
|
-
* be dusted, the remaining balance is transferred to
|
|
8608
|
+
* be dusted, the remaining balance is transferred to treasury account.
|
|
8609
|
+
*
|
|
8610
|
+
* In case of AToken, we perform an erc20 dust, which does a wihtdraw all then supply atoken on behalf of the dust receiver
|
|
8160
8611
|
*
|
|
8161
|
-
*
|
|
8612
|
+
* The transaction fee is returned back in case of successful dusting.
|
|
8613
|
+
*
|
|
8614
|
+
* Treasury account can never be dusted.
|
|
8615
|
+
*
|
|
8616
|
+
* Emits `Dusted` event when successful.
|
|
8162
8617
|
**/
|
|
8163
8618
|
| { name: 'DustAccount'; params: { account: AccountId32Like; currencyId: number } }
|
|
8164
8619
|
/**
|
|
8165
|
-
* Add account to list of
|
|
8166
|
-
* If such account should be dusted - `
|
|
8620
|
+
* Add account to list of whitelist accounts. Account which are excluded from dusting.
|
|
8621
|
+
* If such account should be dusted - `AccountWhitelisted` error is returned.
|
|
8167
8622
|
* Only root can perform this action.
|
|
8623
|
+
*
|
|
8624
|
+
* Emits `Added` event when successful.
|
|
8625
|
+
*
|
|
8168
8626
|
**/
|
|
8169
|
-
| { name: '
|
|
8627
|
+
| { name: 'WhitelistAccount'; params: { account: AccountId32Like } }
|
|
8170
8628
|
/**
|
|
8171
|
-
* Remove account from list of
|
|
8629
|
+
* Remove account from list of whitelist accounts. That means account can be dusted again.
|
|
8630
|
+
*
|
|
8631
|
+
* Emits `Removed` event when successful.
|
|
8632
|
+
*
|
|
8172
8633
|
**/
|
|
8173
|
-
| { name: '
|
|
8634
|
+
| { name: 'RemoveFromWhitelist'; params: { account: AccountId32Like } };
|
|
8174
8635
|
|
|
8175
8636
|
/**
|
|
8176
8637
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -8784,7 +9245,7 @@ export type PalletRouteExecutorCall =
|
|
|
8784
9245
|
assetOut: number;
|
|
8785
9246
|
amountIn: bigint;
|
|
8786
9247
|
minAmountOut: bigint;
|
|
8787
|
-
route: Array<
|
|
9248
|
+
route: Array<BasiliskTraitsRouterTrade>;
|
|
8788
9249
|
};
|
|
8789
9250
|
}
|
|
8790
9251
|
/**
|
|
@@ -8809,7 +9270,7 @@ export type PalletRouteExecutorCall =
|
|
|
8809
9270
|
assetOut: number;
|
|
8810
9271
|
amountOut: bigint;
|
|
8811
9272
|
maxAmountIn: bigint;
|
|
8812
|
-
route: Array<
|
|
9273
|
+
route: Array<BasiliskTraitsRouterTrade>;
|
|
8813
9274
|
};
|
|
8814
9275
|
}
|
|
8815
9276
|
/**
|
|
@@ -8835,7 +9296,10 @@ export type PalletRouteExecutorCall =
|
|
|
8835
9296
|
* Fails with `RouteUpdateIsNotSuccessful` error when failed to set the route
|
|
8836
9297
|
*
|
|
8837
9298
|
**/
|
|
8838
|
-
| {
|
|
9299
|
+
| {
|
|
9300
|
+
name: 'SetRoute';
|
|
9301
|
+
params: { assetPair: BasiliskTraitsRouterAssetPair; newRoute: Array<BasiliskTraitsRouterTrade> };
|
|
9302
|
+
}
|
|
8839
9303
|
/**
|
|
8840
9304
|
* Force inserts the on-chain route for a given asset pair, so there is no any validation for the route
|
|
8841
9305
|
*
|
|
@@ -8854,7 +9318,7 @@ export type PalletRouteExecutorCall =
|
|
|
8854
9318
|
**/
|
|
8855
9319
|
| {
|
|
8856
9320
|
name: 'ForceInsertRoute';
|
|
8857
|
-
params: { assetPair:
|
|
9321
|
+
params: { assetPair: BasiliskTraitsRouterAssetPair; newRoute: Array<BasiliskTraitsRouterTrade> };
|
|
8858
9322
|
}
|
|
8859
9323
|
/**
|
|
8860
9324
|
* Executes a sell with a series of trades specified in the route.
|
|
@@ -8874,7 +9338,7 @@ export type PalletRouteExecutorCall =
|
|
|
8874
9338
|
**/
|
|
8875
9339
|
| {
|
|
8876
9340
|
name: 'SellAll';
|
|
8877
|
-
params: { assetIn: number; assetOut: number; minAmountOut: bigint; route: Array<
|
|
9341
|
+
params: { assetIn: number; assetOut: number; minAmountOut: bigint; route: Array<BasiliskTraitsRouterTrade> };
|
|
8878
9342
|
};
|
|
8879
9343
|
|
|
8880
9344
|
export type PalletRouteExecutorCallLike =
|
|
@@ -8900,7 +9364,7 @@ export type PalletRouteExecutorCallLike =
|
|
|
8900
9364
|
assetOut: number;
|
|
8901
9365
|
amountIn: bigint;
|
|
8902
9366
|
minAmountOut: bigint;
|
|
8903
|
-
route: Array<
|
|
9367
|
+
route: Array<BasiliskTraitsRouterTrade>;
|
|
8904
9368
|
};
|
|
8905
9369
|
}
|
|
8906
9370
|
/**
|
|
@@ -8925,7 +9389,7 @@ export type PalletRouteExecutorCallLike =
|
|
|
8925
9389
|
assetOut: number;
|
|
8926
9390
|
amountOut: bigint;
|
|
8927
9391
|
maxAmountIn: bigint;
|
|
8928
|
-
route: Array<
|
|
9392
|
+
route: Array<BasiliskTraitsRouterTrade>;
|
|
8929
9393
|
};
|
|
8930
9394
|
}
|
|
8931
9395
|
/**
|
|
@@ -8951,7 +9415,10 @@ export type PalletRouteExecutorCallLike =
|
|
|
8951
9415
|
* Fails with `RouteUpdateIsNotSuccessful` error when failed to set the route
|
|
8952
9416
|
*
|
|
8953
9417
|
**/
|
|
8954
|
-
| {
|
|
9418
|
+
| {
|
|
9419
|
+
name: 'SetRoute';
|
|
9420
|
+
params: { assetPair: BasiliskTraitsRouterAssetPair; newRoute: Array<BasiliskTraitsRouterTrade> };
|
|
9421
|
+
}
|
|
8955
9422
|
/**
|
|
8956
9423
|
* Force inserts the on-chain route for a given asset pair, so there is no any validation for the route
|
|
8957
9424
|
*
|
|
@@ -8970,7 +9437,7 @@ export type PalletRouteExecutorCallLike =
|
|
|
8970
9437
|
**/
|
|
8971
9438
|
| {
|
|
8972
9439
|
name: 'ForceInsertRoute';
|
|
8973
|
-
params: { assetPair:
|
|
9440
|
+
params: { assetPair: BasiliskTraitsRouterAssetPair; newRoute: Array<BasiliskTraitsRouterTrade> };
|
|
8974
9441
|
}
|
|
8975
9442
|
/**
|
|
8976
9443
|
* Executes a sell with a series of trades specified in the route.
|
|
@@ -8990,18 +9457,18 @@ export type PalletRouteExecutorCallLike =
|
|
|
8990
9457
|
**/
|
|
8991
9458
|
| {
|
|
8992
9459
|
name: 'SellAll';
|
|
8993
|
-
params: { assetIn: number; assetOut: number; minAmountOut: bigint; route: Array<
|
|
9460
|
+
params: { assetIn: number; assetOut: number; minAmountOut: bigint; route: Array<BasiliskTraitsRouterTrade> };
|
|
8994
9461
|
};
|
|
8995
9462
|
|
|
8996
|
-
export type
|
|
9463
|
+
export type BasiliskTraitsRouterTrade = { pool: BasiliskTraitsRouterPoolType; assetIn: number; assetOut: number };
|
|
8997
9464
|
|
|
8998
|
-
export type
|
|
9465
|
+
export type BasiliskTraitsRouterPoolType =
|
|
8999
9466
|
| { type: 'Xyk' }
|
|
9000
9467
|
| { type: 'Lbp' }
|
|
9001
9468
|
| { type: 'Stableswap'; value: number }
|
|
9002
9469
|
| { type: 'Omnipool' };
|
|
9003
9470
|
|
|
9004
|
-
export type
|
|
9471
|
+
export type BasiliskTraitsRouterAssetPair = { assetIn: number; assetOut: number };
|
|
9005
9472
|
|
|
9006
9473
|
/**
|
|
9007
9474
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -9615,7 +10082,7 @@ export type OrmlTokensModuleCall =
|
|
|
9615
10082
|
*
|
|
9616
10083
|
* - `dest`: The recipient of the transfer.
|
|
9617
10084
|
* - `currency_id`: currency type.
|
|
9618
|
-
* - `amount`: free balance amount to
|
|
10085
|
+
* - `amount`: free balance amount to transfer.
|
|
9619
10086
|
**/
|
|
9620
10087
|
| { name: 'Transfer'; params: { dest: AccountId32; currencyId: number; amount: bigint } }
|
|
9621
10088
|
/**
|
|
@@ -9651,7 +10118,7 @@ export type OrmlTokensModuleCall =
|
|
|
9651
10118
|
*
|
|
9652
10119
|
* - `dest`: The recipient of the transfer.
|
|
9653
10120
|
* - `currency_id`: currency type.
|
|
9654
|
-
* - `amount`: free balance amount to
|
|
10121
|
+
* - `amount`: free balance amount to transfer.
|
|
9655
10122
|
**/
|
|
9656
10123
|
| { name: 'TransferKeepAlive'; params: { dest: AccountId32; currencyId: number; amount: bigint } }
|
|
9657
10124
|
/**
|
|
@@ -9663,7 +10130,7 @@ export type OrmlTokensModuleCall =
|
|
|
9663
10130
|
* - `source`: The sender of the transfer.
|
|
9664
10131
|
* - `dest`: The recipient of the transfer.
|
|
9665
10132
|
* - `currency_id`: currency type.
|
|
9666
|
-
* - `amount`: free balance amount to
|
|
10133
|
+
* - `amount`: free balance amount to transfer.
|
|
9667
10134
|
**/
|
|
9668
10135
|
| { name: 'ForceTransfer'; params: { source: AccountId32; dest: AccountId32; currencyId: number; amount: bigint } }
|
|
9669
10136
|
/**
|
|
@@ -9692,7 +10159,7 @@ export type OrmlTokensModuleCallLike =
|
|
|
9692
10159
|
*
|
|
9693
10160
|
* - `dest`: The recipient of the transfer.
|
|
9694
10161
|
* - `currency_id`: currency type.
|
|
9695
|
-
* - `amount`: free balance amount to
|
|
10162
|
+
* - `amount`: free balance amount to transfer.
|
|
9696
10163
|
**/
|
|
9697
10164
|
| { name: 'Transfer'; params: { dest: AccountId32Like; currencyId: number; amount: bigint } }
|
|
9698
10165
|
/**
|
|
@@ -9728,7 +10195,7 @@ export type OrmlTokensModuleCallLike =
|
|
|
9728
10195
|
*
|
|
9729
10196
|
* - `dest`: The recipient of the transfer.
|
|
9730
10197
|
* - `currency_id`: currency type.
|
|
9731
|
-
* - `amount`: free balance amount to
|
|
10198
|
+
* - `amount`: free balance amount to transfer.
|
|
9732
10199
|
**/
|
|
9733
10200
|
| { name: 'TransferKeepAlive'; params: { dest: AccountId32Like; currencyId: number; amount: bigint } }
|
|
9734
10201
|
/**
|
|
@@ -9740,7 +10207,7 @@ export type OrmlTokensModuleCallLike =
|
|
|
9740
10207
|
* - `source`: The sender of the transfer.
|
|
9741
10208
|
* - `dest`: The recipient of the transfer.
|
|
9742
10209
|
* - `currency_id`: currency type.
|
|
9743
|
-
* - `amount`: free balance amount to
|
|
10210
|
+
* - `amount`: free balance amount to transfer.
|
|
9744
10211
|
**/
|
|
9745
10212
|
| {
|
|
9746
10213
|
name: 'ForceTransfer';
|
|
@@ -10087,9 +10554,9 @@ export type OrmlXtokensModuleCallLike =
|
|
|
10087
10554
|
};
|
|
10088
10555
|
|
|
10089
10556
|
export type XcmVersionedAsset =
|
|
10090
|
-
| { type: 'V2'; value: XcmV2MultiassetMultiAsset }
|
|
10091
10557
|
| { type: 'V3'; value: XcmV3MultiassetMultiAsset }
|
|
10092
|
-
| { type: 'V4'; value: StagingXcmV4Asset }
|
|
10558
|
+
| { type: 'V4'; value: StagingXcmV4Asset }
|
|
10559
|
+
| { type: 'V5'; value: StagingXcmV5Asset };
|
|
10093
10560
|
|
|
10094
10561
|
export type SpRuntimeBlakeTwo256 = {};
|
|
10095
10562
|
|
|
@@ -10175,7 +10642,11 @@ export type PalletSchedulerEvent =
|
|
|
10175
10642
|
/**
|
|
10176
10643
|
* The given task can never be executed since it is overweight.
|
|
10177
10644
|
**/
|
|
10178
|
-
| { name: 'PermanentlyOverweight'; data: { task: [number, number]; id?: FixedBytes<32> | undefined } }
|
|
10645
|
+
| { name: 'PermanentlyOverweight'; data: { task: [number, number]; id?: FixedBytes<32> | undefined } }
|
|
10646
|
+
/**
|
|
10647
|
+
* Agenda is incomplete from `when`.
|
|
10648
|
+
**/
|
|
10649
|
+
| { name: 'AgendaIncomplete'; data: { when: number } };
|
|
10179
10650
|
|
|
10180
10651
|
/**
|
|
10181
10652
|
* The `Event` enum of this pallet
|
|
@@ -10213,30 +10684,49 @@ export type PalletXcmEvent =
|
|
|
10213
10684
|
/**
|
|
10214
10685
|
* Execution of an XCM message was attempted.
|
|
10215
10686
|
**/
|
|
10216
|
-
| { name: 'Attempted'; data: { outcome:
|
|
10687
|
+
| { name: 'Attempted'; data: { outcome: StagingXcmV5TraitsOutcome } }
|
|
10217
10688
|
/**
|
|
10218
|
-
*
|
|
10689
|
+
* An XCM message was sent.
|
|
10219
10690
|
**/
|
|
10220
10691
|
| {
|
|
10221
10692
|
name: 'Sent';
|
|
10222
10693
|
data: {
|
|
10223
|
-
origin:
|
|
10224
|
-
destination:
|
|
10225
|
-
message:
|
|
10694
|
+
origin: StagingXcmV5Location;
|
|
10695
|
+
destination: StagingXcmV5Location;
|
|
10696
|
+
message: StagingXcmV5Xcm;
|
|
10226
10697
|
messageId: FixedBytes<32>;
|
|
10227
10698
|
};
|
|
10228
10699
|
}
|
|
10700
|
+
/**
|
|
10701
|
+
* An XCM message failed to send.
|
|
10702
|
+
**/
|
|
10703
|
+
| {
|
|
10704
|
+
name: 'SendFailed';
|
|
10705
|
+
data: {
|
|
10706
|
+
origin: StagingXcmV5Location;
|
|
10707
|
+
destination: StagingXcmV5Location;
|
|
10708
|
+
error: XcmV3TraitsSendError;
|
|
10709
|
+
messageId: FixedBytes<32>;
|
|
10710
|
+
};
|
|
10711
|
+
}
|
|
10712
|
+
/**
|
|
10713
|
+
* An XCM message failed to process.
|
|
10714
|
+
**/
|
|
10715
|
+
| {
|
|
10716
|
+
name: 'ProcessXcmError';
|
|
10717
|
+
data: { origin: StagingXcmV5Location; error: XcmV5TraitsError; messageId: FixedBytes<32> };
|
|
10718
|
+
}
|
|
10229
10719
|
/**
|
|
10230
10720
|
* Query response received which does not match a registered query. This may be because a
|
|
10231
10721
|
* matching query was never registered, it may be because it is a duplicate response, or
|
|
10232
10722
|
* because the query timed out.
|
|
10233
10723
|
**/
|
|
10234
|
-
| { name: 'UnexpectedResponse'; data: { origin:
|
|
10724
|
+
| { name: 'UnexpectedResponse'; data: { origin: StagingXcmV5Location; queryId: bigint } }
|
|
10235
10725
|
/**
|
|
10236
10726
|
* Query response has been received and is ready for taking with `take_response`. There is
|
|
10237
10727
|
* no registered notification call.
|
|
10238
10728
|
**/
|
|
10239
|
-
| { name: 'ResponseReady'; data: { queryId: bigint; response:
|
|
10729
|
+
| { name: 'ResponseReady'; data: { queryId: bigint; response: StagingXcmV5Response } }
|
|
10240
10730
|
/**
|
|
10241
10731
|
* Query response has been received and query is removed. The registered notification has
|
|
10242
10732
|
* been dispatched and executed successfully.
|
|
@@ -10275,7 +10765,7 @@ export type PalletXcmEvent =
|
|
|
10275
10765
|
**/
|
|
10276
10766
|
| {
|
|
10277
10767
|
name: 'InvalidResponder';
|
|
10278
|
-
data: { origin:
|
|
10768
|
+
data: { origin: StagingXcmV5Location; queryId: bigint; expectedLocation?: StagingXcmV5Location | undefined };
|
|
10279
10769
|
}
|
|
10280
10770
|
/**
|
|
10281
10771
|
* Expected query response has been received but the expected origin location placed in
|
|
@@ -10286,7 +10776,7 @@ export type PalletXcmEvent =
|
|
|
10286
10776
|
* valid response will be dropped. Manual governance intervention is probably going to be
|
|
10287
10777
|
* needed.
|
|
10288
10778
|
**/
|
|
10289
|
-
| { name: 'InvalidResponderVersion'; data: { origin:
|
|
10779
|
+
| { name: 'InvalidResponderVersion'; data: { origin: StagingXcmV5Location; queryId: bigint } }
|
|
10290
10780
|
/**
|
|
10291
10781
|
* Received query response has been read and removed.
|
|
10292
10782
|
**/
|
|
@@ -10294,7 +10784,7 @@ export type PalletXcmEvent =
|
|
|
10294
10784
|
/**
|
|
10295
10785
|
* Some assets have been placed in an asset trap.
|
|
10296
10786
|
**/
|
|
10297
|
-
| { name: 'AssetsTrapped'; data: { hash: H256; origin:
|
|
10787
|
+
| { name: 'AssetsTrapped'; data: { hash: H256; origin: StagingXcmV5Location; assets: XcmVersionedAssets } }
|
|
10298
10788
|
/**
|
|
10299
10789
|
* An XCM version change notification message has been attempted to be sent.
|
|
10300
10790
|
*
|
|
@@ -10303,9 +10793,9 @@ export type PalletXcmEvent =
|
|
|
10303
10793
|
| {
|
|
10304
10794
|
name: 'VersionChangeNotified';
|
|
10305
10795
|
data: {
|
|
10306
|
-
destination:
|
|
10796
|
+
destination: StagingXcmV5Location;
|
|
10307
10797
|
result: number;
|
|
10308
|
-
cost:
|
|
10798
|
+
cost: StagingXcmV5AssetAssets;
|
|
10309
10799
|
messageId: FixedBytes<32>;
|
|
10310
10800
|
};
|
|
10311
10801
|
}
|
|
@@ -10313,12 +10803,12 @@ export type PalletXcmEvent =
|
|
|
10313
10803
|
* The supported version of a location has been changed. This might be through an
|
|
10314
10804
|
* automatic notification or a manual intervention.
|
|
10315
10805
|
**/
|
|
10316
|
-
| { name: 'SupportedVersionChanged'; data: { location:
|
|
10806
|
+
| { name: 'SupportedVersionChanged'; data: { location: StagingXcmV5Location; version: number } }
|
|
10317
10807
|
/**
|
|
10318
10808
|
* A given location which had a version change subscription was dropped owing to an error
|
|
10319
10809
|
* sending the notification to it.
|
|
10320
10810
|
**/
|
|
10321
|
-
| { name: 'NotifyTargetSendFail'; data: { location:
|
|
10811
|
+
| { name: 'NotifyTargetSendFail'; data: { location: StagingXcmV5Location; queryId: bigint; error: XcmV5TraitsError } }
|
|
10322
10812
|
/**
|
|
10323
10813
|
* A given location which had a version change subscription was dropped owing to an error
|
|
10324
10814
|
* migrating the location to our new XCM format.
|
|
@@ -10333,7 +10823,7 @@ export type PalletXcmEvent =
|
|
|
10333
10823
|
* valid response will be dropped. Manual governance intervention is probably going to be
|
|
10334
10824
|
* needed.
|
|
10335
10825
|
**/
|
|
10336
|
-
| { name: 'InvalidQuerierVersion'; data: { origin:
|
|
10826
|
+
| { name: 'InvalidQuerierVersion'; data: { origin: StagingXcmV5Location; queryId: bigint } }
|
|
10337
10827
|
/**
|
|
10338
10828
|
* Expected query response has been received but the querier location of the response does
|
|
10339
10829
|
* not match the expected. The query remains registered for a later, valid, response to
|
|
@@ -10342,10 +10832,10 @@ export type PalletXcmEvent =
|
|
|
10342
10832
|
| {
|
|
10343
10833
|
name: 'InvalidQuerier';
|
|
10344
10834
|
data: {
|
|
10345
|
-
origin:
|
|
10835
|
+
origin: StagingXcmV5Location;
|
|
10346
10836
|
queryId: bigint;
|
|
10347
|
-
expectedQuerier:
|
|
10348
|
-
maybeActualQuerier?:
|
|
10837
|
+
expectedQuerier: StagingXcmV5Location;
|
|
10838
|
+
maybeActualQuerier?: StagingXcmV5Location | undefined;
|
|
10349
10839
|
};
|
|
10350
10840
|
}
|
|
10351
10841
|
/**
|
|
@@ -10354,14 +10844,14 @@ export type PalletXcmEvent =
|
|
|
10354
10844
|
**/
|
|
10355
10845
|
| {
|
|
10356
10846
|
name: 'VersionNotifyStarted';
|
|
10357
|
-
data: { destination:
|
|
10847
|
+
data: { destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> };
|
|
10358
10848
|
}
|
|
10359
10849
|
/**
|
|
10360
10850
|
* We have requested that a remote chain send us XCM version change notifications.
|
|
10361
10851
|
**/
|
|
10362
10852
|
| {
|
|
10363
10853
|
name: 'VersionNotifyRequested';
|
|
10364
|
-
data: { destination:
|
|
10854
|
+
data: { destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> };
|
|
10365
10855
|
}
|
|
10366
10856
|
/**
|
|
10367
10857
|
* We have requested that a remote chain stops sending us XCM version change
|
|
@@ -10369,25 +10859,50 @@ export type PalletXcmEvent =
|
|
|
10369
10859
|
**/
|
|
10370
10860
|
| {
|
|
10371
10861
|
name: 'VersionNotifyUnrequested';
|
|
10372
|
-
data: { destination:
|
|
10862
|
+
data: { destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> };
|
|
10373
10863
|
}
|
|
10374
10864
|
/**
|
|
10375
10865
|
* Fees were paid from a location for an operation (often for using `SendXcm`).
|
|
10376
10866
|
**/
|
|
10377
|
-
| { name: 'FeesPaid'; data: { paying:
|
|
10867
|
+
| { name: 'FeesPaid'; data: { paying: StagingXcmV5Location; fees: StagingXcmV5AssetAssets } }
|
|
10378
10868
|
/**
|
|
10379
10869
|
* Some assets have been claimed from an asset trap
|
|
10380
10870
|
**/
|
|
10381
|
-
| { name: 'AssetsClaimed'; data: { hash: H256; origin:
|
|
10871
|
+
| { name: 'AssetsClaimed'; data: { hash: H256; origin: StagingXcmV5Location; assets: XcmVersionedAssets } }
|
|
10382
10872
|
/**
|
|
10383
10873
|
* A XCM version migration finished.
|
|
10384
10874
|
**/
|
|
10385
|
-
| { name: 'VersionMigrationFinished'; data: { version: number } }
|
|
10875
|
+
| { name: 'VersionMigrationFinished'; data: { version: number } }
|
|
10876
|
+
/**
|
|
10877
|
+
* An `aliaser` location was authorized by `target` to alias it, authorization valid until
|
|
10878
|
+
* `expiry` block number.
|
|
10879
|
+
**/
|
|
10880
|
+
| {
|
|
10881
|
+
name: 'AliasAuthorized';
|
|
10882
|
+
data: { aliaser: StagingXcmV5Location; target: StagingXcmV5Location; expiry?: bigint | undefined };
|
|
10883
|
+
}
|
|
10884
|
+
/**
|
|
10885
|
+
* `target` removed alias authorization for `aliaser`.
|
|
10886
|
+
**/
|
|
10887
|
+
| { name: 'AliasAuthorizationRemoved'; data: { aliaser: StagingXcmV5Location; target: StagingXcmV5Location } }
|
|
10888
|
+
/**
|
|
10889
|
+
* `target` removed all alias authorizations.
|
|
10890
|
+
**/
|
|
10891
|
+
| { name: 'AliasesAuthorizationsRemoved'; data: { target: StagingXcmV5Location } };
|
|
10386
10892
|
|
|
10387
|
-
export type
|
|
10893
|
+
export type StagingXcmV5TraitsOutcome =
|
|
10388
10894
|
| { type: 'Complete'; value: { used: SpWeightsWeightV2Weight } }
|
|
10389
|
-
| { type: 'Incomplete'; value: { used: SpWeightsWeightV2Weight; error:
|
|
10390
|
-
| { type: 'Error'; value: { error:
|
|
10895
|
+
| { type: 'Incomplete'; value: { used: SpWeightsWeightV2Weight; error: XcmV5TraitsError } }
|
|
10896
|
+
| { type: 'Error'; value: { error: XcmV5TraitsError } };
|
|
10897
|
+
|
|
10898
|
+
export type XcmV3TraitsSendError =
|
|
10899
|
+
| 'NotApplicable'
|
|
10900
|
+
| 'Transport'
|
|
10901
|
+
| 'Unroutable'
|
|
10902
|
+
| 'DestinationUnsupported'
|
|
10903
|
+
| 'ExceedsMaxMessageSize'
|
|
10904
|
+
| 'MissingArgument'
|
|
10905
|
+
| 'Fees';
|
|
10391
10906
|
|
|
10392
10907
|
/**
|
|
10393
10908
|
* The `Event` enum of this pallet
|
|
@@ -10407,7 +10922,7 @@ export type CumulusPalletXcmEvent =
|
|
|
10407
10922
|
* Downward message executed with the given outcome.
|
|
10408
10923
|
* \[ id, outcome \]
|
|
10409
10924
|
**/
|
|
10410
|
-
| { name: 'ExecutedDownward'; data: [FixedBytes<32>,
|
|
10925
|
+
| { name: 'ExecutedDownward'; data: [FixedBytes<32>, StagingXcmV5TraitsOutcome] };
|
|
10411
10926
|
|
|
10412
10927
|
/**
|
|
10413
10928
|
* The `Event` enum of this pallet
|
|
@@ -11010,9 +11525,16 @@ export type PalletCollatorRewardsEvent =
|
|
|
11010
11525
|
export type PalletBroadcastEvent =
|
|
11011
11526
|
/**
|
|
11012
11527
|
* Trade executed.
|
|
11528
|
+
*
|
|
11529
|
+
* Swapped3 is a fixed and renamed version of original Swapped,
|
|
11530
|
+
* as Swapped contained wrong input/output amounts for XYK buy trade
|
|
11531
|
+
*
|
|
11532
|
+
* Swapped3 is a fixed and renamed version of original Swapped3,
|
|
11533
|
+
* as Swapped contained wrong filler account on AAVE trades
|
|
11534
|
+
*
|
|
11013
11535
|
**/
|
|
11014
11536
|
{
|
|
11015
|
-
name: '
|
|
11537
|
+
name: 'Swapped3';
|
|
11016
11538
|
data: {
|
|
11017
11539
|
swapper: AccountId32;
|
|
11018
11540
|
filler: AccountId32;
|
|
@@ -11030,7 +11552,9 @@ export type PalletBroadcastFiller =
|
|
|
11030
11552
|
| { type: 'Stableswap'; value: number }
|
|
11031
11553
|
| { type: 'Xyk'; value: number }
|
|
11032
11554
|
| { type: 'Lbp' }
|
|
11033
|
-
| { type: 'Otc'; value: number }
|
|
11555
|
+
| { type: 'Otc'; value: number }
|
|
11556
|
+
| { type: 'Aave' }
|
|
11557
|
+
| { type: 'Hsm' };
|
|
11034
11558
|
|
|
11035
11559
|
export type PalletBroadcastTradeOperation = 'ExactIn' | 'ExactOut' | 'Limit' | 'LiquidityAdd' | 'LiquidityRemove';
|
|
11036
11560
|
|
|
@@ -11167,7 +11691,7 @@ export type OrmlXcmModuleEvent =
|
|
|
11167
11691
|
/**
|
|
11168
11692
|
* XCM message sent. \[to, message\]
|
|
11169
11693
|
**/
|
|
11170
|
-
{ name: 'Sent'; data: { to:
|
|
11694
|
+
{ name: 'Sent'; data: { to: StagingXcmV5Location; message: StagingXcmV5Xcm } };
|
|
11171
11695
|
|
|
11172
11696
|
/**
|
|
11173
11697
|
* The `Event` enum of this pallet
|
|
@@ -11178,7 +11702,7 @@ export type OrmlXtokensModuleEvent =
|
|
|
11178
11702
|
**/
|
|
11179
11703
|
{
|
|
11180
11704
|
name: 'TransferredAssets';
|
|
11181
|
-
data: { sender: AccountId32; assets:
|
|
11705
|
+
data: { sender: AccountId32; assets: StagingXcmV5AssetAssets; fee: StagingXcmV5Asset; dest: StagingXcmV5Location };
|
|
11182
11706
|
};
|
|
11183
11707
|
|
|
11184
11708
|
/**
|
|
@@ -11188,11 +11712,11 @@ export type OrmlUnknownTokensModuleEvent =
|
|
|
11188
11712
|
/**
|
|
11189
11713
|
* Deposit success.
|
|
11190
11714
|
**/
|
|
11191
|
-
| { name: 'Deposited'; data: { asset:
|
|
11715
|
+
| { name: 'Deposited'; data: { asset: StagingXcmV5Asset; who: StagingXcmV5Location } }
|
|
11192
11716
|
/**
|
|
11193
11717
|
* Withdraw success.
|
|
11194
11718
|
**/
|
|
11195
|
-
| { name: 'Withdrawn'; data: { asset:
|
|
11719
|
+
| { name: 'Withdrawn'; data: { asset: StagingXcmV5Asset; who: StagingXcmV5Location } };
|
|
11196
11720
|
|
|
11197
11721
|
export type FrameSystemLastRuntimeUpgradeInfo = { specVersion: number; specName: string };
|
|
11198
11722
|
|
|
@@ -11277,13 +11801,19 @@ export type PalletBalancesReserveData = { id: []; amount: bigint };
|
|
|
11277
11801
|
export type FrameSupportTokensMiscIdAmount = { id: BasiliskRuntimeRuntimeHoldReason; amount: bigint };
|
|
11278
11802
|
|
|
11279
11803
|
export type BasiliskRuntimeRuntimeHoldReason =
|
|
11804
|
+
| { type: 'TechnicalCommittee'; value: PalletCollectiveHoldReason }
|
|
11280
11805
|
| { type: 'Preimage'; value: PalletPreimageHoldReason }
|
|
11281
|
-
| { type: 'StateTrieMigration'; value: PalletStateTrieMigrationHoldReason }
|
|
11806
|
+
| { type: 'StateTrieMigration'; value: PalletStateTrieMigrationHoldReason }
|
|
11807
|
+
| { type: 'PolkadotXcm'; value: PalletXcmHoldReason };
|
|
11808
|
+
|
|
11809
|
+
export type PalletCollectiveHoldReason = 'ProposalSubmission';
|
|
11282
11810
|
|
|
11283
11811
|
export type PalletPreimageHoldReason = 'Preimage';
|
|
11284
11812
|
|
|
11285
11813
|
export type PalletStateTrieMigrationHoldReason = 'SlashForMigrate';
|
|
11286
11814
|
|
|
11815
|
+
export type PalletXcmHoldReason = 'AuthorizeAlias';
|
|
11816
|
+
|
|
11287
11817
|
export type FrameSupportTokensMiscIdAmount002 = { id: []; amount: bigint };
|
|
11288
11818
|
|
|
11289
11819
|
/**
|
|
@@ -11666,7 +12196,11 @@ export type PalletCollectiveError =
|
|
|
11666
12196
|
/**
|
|
11667
12197
|
* Prime account is not a member
|
|
11668
12198
|
**/
|
|
11669
|
-
| 'PrimeAccountNotMember'
|
|
12199
|
+
| 'PrimeAccountNotMember'
|
|
12200
|
+
/**
|
|
12201
|
+
* Proposal is still active.
|
|
12202
|
+
**/
|
|
12203
|
+
| 'ProposalActive';
|
|
11670
12204
|
|
|
11671
12205
|
/**
|
|
11672
12206
|
* The `Error` enum of this pallet.
|
|
@@ -11817,6 +12351,8 @@ export type PalletCollatorSelectionError =
|
|
|
11817
12351
|
**/
|
|
11818
12352
|
| 'InvalidUnreserve';
|
|
11819
12353
|
|
|
12354
|
+
export type SpStakingOffenceOffenceSeverity = Perbill;
|
|
12355
|
+
|
|
11820
12356
|
export type SpCoreCryptoKeyTypeId = FixedBytes<4>;
|
|
11821
12357
|
|
|
11822
12358
|
/**
|
|
@@ -12012,7 +12548,14 @@ export type PalletIdentityRegistration = {
|
|
|
12012
12548
|
|
|
12013
12549
|
export type PalletIdentityRegistrarInfo = { account: AccountId32; fee: bigint; fields: bigint };
|
|
12014
12550
|
|
|
12015
|
-
export type PalletIdentityAuthorityProperties = {
|
|
12551
|
+
export type PalletIdentityAuthorityProperties = { accountId: AccountId32; allocation: number };
|
|
12552
|
+
|
|
12553
|
+
export type PalletIdentityUsernameInformation = { owner: AccountId32; provider: PalletIdentityProvider };
|
|
12554
|
+
|
|
12555
|
+
export type PalletIdentityProvider =
|
|
12556
|
+
| { type: 'Allocation' }
|
|
12557
|
+
| { type: 'AuthorityDeposit'; value: bigint }
|
|
12558
|
+
| { type: 'System' };
|
|
12016
12559
|
|
|
12017
12560
|
/**
|
|
12018
12561
|
* The `Error` enum of this pallet.
|
|
@@ -12121,7 +12664,24 @@ export type PalletIdentityError =
|
|
|
12121
12664
|
/**
|
|
12122
12665
|
* The username cannot be forcefully removed because it can still be accepted.
|
|
12123
12666
|
**/
|
|
12124
|
-
| 'NotExpired'
|
|
12667
|
+
| 'NotExpired'
|
|
12668
|
+
/**
|
|
12669
|
+
* The username cannot be removed because it's still in the grace period.
|
|
12670
|
+
**/
|
|
12671
|
+
| 'TooEarly'
|
|
12672
|
+
/**
|
|
12673
|
+
* The username cannot be removed because it is not unbinding.
|
|
12674
|
+
**/
|
|
12675
|
+
| 'NotUnbinding'
|
|
12676
|
+
/**
|
|
12677
|
+
* The username cannot be unbound because it is already unbinding.
|
|
12678
|
+
**/
|
|
12679
|
+
| 'AlreadyUnbinding'
|
|
12680
|
+
/**
|
|
12681
|
+
* The action cannot be performed because of insufficient privileges (e.g. authority
|
|
12682
|
+
* trying to unbind a username provided by the system).
|
|
12683
|
+
**/
|
|
12684
|
+
| 'InsufficientPrivileges';
|
|
12125
12685
|
|
|
12126
12686
|
export type PalletMultisigMultisig = {
|
|
12127
12687
|
when: PalletMultisigTimepoint;
|
|
@@ -12163,11 +12723,12 @@ export type PalletMultisigError =
|
|
|
12163
12723
|
**/
|
|
12164
12724
|
| 'SenderInSignatories'
|
|
12165
12725
|
/**
|
|
12166
|
-
* Multisig operation not found
|
|
12726
|
+
* Multisig operation not found in storage.
|
|
12167
12727
|
**/
|
|
12168
12728
|
| 'NotFound'
|
|
12169
12729
|
/**
|
|
12170
|
-
* Only the account that originally created the multisig is able to cancel it
|
|
12730
|
+
* Only the account that originally created the multisig is able to cancel it or update
|
|
12731
|
+
* its deposits.
|
|
12171
12732
|
**/
|
|
12172
12733
|
| 'NotOwner'
|
|
12173
12734
|
/**
|
|
@@ -12293,7 +12854,7 @@ export type PalletReferendaDeposit = { who: AccountId32; amount: bigint };
|
|
|
12293
12854
|
|
|
12294
12855
|
export type PalletReferendaDecidingStatus = { since: number; confirming?: number | undefined };
|
|
12295
12856
|
|
|
12296
|
-
export type
|
|
12857
|
+
export type PalletReferendaTrackDetails = {
|
|
12297
12858
|
name: string;
|
|
12298
12859
|
maxDeciding: number;
|
|
12299
12860
|
decisionDeposit: bigint;
|
|
@@ -12536,15 +13097,7 @@ export type CumulusPalletParachainSystemError =
|
|
|
12536
13097
|
/**
|
|
12537
13098
|
* No validation function upgrade is currently scheduled.
|
|
12538
13099
|
**/
|
|
12539
|
-
| 'NotScheduled'
|
|
12540
|
-
/**
|
|
12541
|
-
* No code upgrade has been authorized.
|
|
12542
|
-
**/
|
|
12543
|
-
| 'NothingAuthorized'
|
|
12544
|
-
/**
|
|
12545
|
-
* The given code upgrade has not been authorized.
|
|
12546
|
-
**/
|
|
12547
|
-
| 'Unauthorized';
|
|
13100
|
+
| 'NotScheduled';
|
|
12548
13101
|
|
|
12549
13102
|
export type PalletXcmQueryStatus =
|
|
12550
13103
|
| {
|
|
@@ -12560,9 +13113,9 @@ export type PalletXcmQueryStatus =
|
|
|
12560
13113
|
| { type: 'Ready'; value: { response: XcmVersionedResponse; at: number } };
|
|
12561
13114
|
|
|
12562
13115
|
export type XcmVersionedResponse =
|
|
12563
|
-
| { type: 'V2'; value: XcmV2Response }
|
|
12564
13116
|
| { type: 'V3'; value: XcmV3Response }
|
|
12565
|
-
| { type: 'V4'; value: StagingXcmV4Response }
|
|
13117
|
+
| { type: 'V4'; value: StagingXcmV4Response }
|
|
13118
|
+
| { type: 'V5'; value: StagingXcmV5Response };
|
|
12566
13119
|
|
|
12567
13120
|
export type PalletXcmVersionMigrationStage =
|
|
12568
13121
|
| { type: 'MigrateSupportedVersion' }
|
|
@@ -12577,6 +13130,20 @@ export type PalletXcmRemoteLockedFungibleRecord = {
|
|
|
12577
13130
|
consumers: Array<[[], bigint]>;
|
|
12578
13131
|
};
|
|
12579
13132
|
|
|
13133
|
+
export type PalletXcmAuthorizedAliasesEntry = {
|
|
13134
|
+
aliasers: Array<XcmRuntimeApisAuthorizedAliasesOriginAliaser>;
|
|
13135
|
+
ticket: FrameSupportStorageDisabled;
|
|
13136
|
+
};
|
|
13137
|
+
|
|
13138
|
+
export type FrameSupportStorageDisabled = {};
|
|
13139
|
+
|
|
13140
|
+
export type PalletXcmMaxAuthorizedAliases = {};
|
|
13141
|
+
|
|
13142
|
+
export type XcmRuntimeApisAuthorizedAliasesOriginAliaser = {
|
|
13143
|
+
location: XcmVersionedLocation;
|
|
13144
|
+
expiry?: bigint | undefined;
|
|
13145
|
+
};
|
|
13146
|
+
|
|
12580
13147
|
/**
|
|
12581
13148
|
* The `Error` enum of this pallet.
|
|
12582
13149
|
**/
|
|
@@ -12679,7 +13246,19 @@ export type PalletXcmError =
|
|
|
12679
13246
|
/**
|
|
12680
13247
|
* Local XCM execution incomplete.
|
|
12681
13248
|
**/
|
|
12682
|
-
| 'LocalExecutionIncomplete'
|
|
13249
|
+
| 'LocalExecutionIncomplete'
|
|
13250
|
+
/**
|
|
13251
|
+
* Too many locations authorized to alias origin.
|
|
13252
|
+
**/
|
|
13253
|
+
| 'TooManyAuthorizedAliases'
|
|
13254
|
+
/**
|
|
13255
|
+
* Expiry block number is in the past.
|
|
13256
|
+
**/
|
|
13257
|
+
| 'ExpiresInPast'
|
|
13258
|
+
/**
|
|
13259
|
+
* The alias to remove authorization for was not found.
|
|
13260
|
+
**/
|
|
13261
|
+
| 'AliasNotFound';
|
|
12683
13262
|
|
|
12684
13263
|
export type CumulusPalletXcmpQueueOutboundChannelDetails = {
|
|
12685
13264
|
recipient: PolkadotParachainPrimitivesPrimitivesId;
|
|
@@ -12956,23 +13535,23 @@ export type PalletDusterError =
|
|
|
12956
13535
|
/**
|
|
12957
13536
|
* Account is excluded from dusting.
|
|
12958
13537
|
**/
|
|
12959
|
-
| '
|
|
13538
|
+
| 'AccountWhitelisted'
|
|
12960
13539
|
/**
|
|
12961
13540
|
* Account is not present in the non-dustable list.
|
|
12962
13541
|
**/
|
|
12963
|
-
| '
|
|
13542
|
+
| 'AccountNotWhitelisted'
|
|
12964
13543
|
/**
|
|
12965
13544
|
* The balance is zero.
|
|
12966
13545
|
**/
|
|
12967
13546
|
| 'ZeroBalance'
|
|
12968
13547
|
/**
|
|
12969
|
-
* The balance is
|
|
13548
|
+
* The balance was not fully dusted, there is some leftover on the account. Normally, it should never happen.
|
|
12970
13549
|
**/
|
|
12971
|
-
| '
|
|
13550
|
+
| 'NonZeroBalance'
|
|
12972
13551
|
/**
|
|
12973
|
-
*
|
|
13552
|
+
* The balance is sufficient to keep account open.
|
|
12974
13553
|
**/
|
|
12975
|
-
| '
|
|
13554
|
+
| 'BalanceSufficient'
|
|
12976
13555
|
/**
|
|
12977
13556
|
* Reserve account is not set.
|
|
12978
13557
|
**/
|
|
@@ -13188,7 +13767,7 @@ export type PalletTransactionPauseError =
|
|
|
13188
13767
|
|
|
13189
13768
|
export type PalletRouteExecutorSkipEd = 'Lock' | 'LockAndUnlock' | 'Unlock';
|
|
13190
13769
|
|
|
13191
|
-
export type
|
|
13770
|
+
export type BasiliskTraitsOracleOraclePeriod = 'LastBlock' | 'Short' | 'TenMinutes' | 'Hour' | 'Day' | 'Week';
|
|
13192
13771
|
|
|
13193
13772
|
/**
|
|
13194
13773
|
* The `Error` enum of this pallet.
|
|
@@ -13359,10 +13938,6 @@ export type PalletLiquidityMiningError =
|
|
|
13359
13938
|
* Liquidity mining is in `active` or `terminated` state and action cannot be completed.
|
|
13360
13939
|
**/
|
|
13361
13940
|
| { name: 'LiquidityMiningIsNotStopped' }
|
|
13362
|
-
/**
|
|
13363
|
-
* LP shares amount is not valid.
|
|
13364
|
-
**/
|
|
13365
|
-
| { name: 'InvalidDepositAmount' }
|
|
13366
13941
|
/**
|
|
13367
13942
|
* Account is not allowed to perform action.
|
|
13368
13943
|
**/
|
|
@@ -13448,6 +14023,10 @@ export type PalletLiquidityMiningError =
|
|
|
13448
14023
|
* `incentivized_asset` is not registered in asset registry.
|
|
13449
14024
|
**/
|
|
13450
14025
|
| { name: 'IncentivizedAssetNotRegistered' }
|
|
14026
|
+
/**
|
|
14027
|
+
* Provided `amm_pool_id` doesn't match deposit's `amm_pool_id`.
|
|
14028
|
+
**/
|
|
14029
|
+
| { name: 'AmmPoolIdMismatch' }
|
|
13451
14030
|
/**
|
|
13452
14031
|
* Action cannot be completed because unexpected error has occurred. This should be reported
|
|
13453
14032
|
* to protocol maintainers.
|
|
@@ -13481,20 +14060,28 @@ export type PalletCollatorRewardsError = null;
|
|
|
13481
14060
|
/**
|
|
13482
14061
|
* The `Error` enum of this pallet.
|
|
13483
14062
|
**/
|
|
13484
|
-
export type PalletBroadcastError =
|
|
14063
|
+
export type PalletBroadcastError =
|
|
14064
|
+
/**
|
|
14065
|
+
* The execution context call stack has reached its maximum size
|
|
14066
|
+
**/
|
|
14067
|
+
| 'ExecutionCallStackOverflow'
|
|
14068
|
+
/**
|
|
14069
|
+
* The execution context call stack is empty, unable to decrease level
|
|
14070
|
+
**/
|
|
14071
|
+
| 'ExecutionCallStackUnderflow';
|
|
13485
14072
|
|
|
13486
14073
|
export type PalletEmaOracleOracleEntry = {
|
|
13487
|
-
price:
|
|
13488
|
-
volume:
|
|
13489
|
-
liquidity:
|
|
14074
|
+
price: BasiliskMathRatio;
|
|
14075
|
+
volume: BasiliskTraitsOracleVolume;
|
|
14076
|
+
liquidity: BasiliskTraitsOracleLiquidity;
|
|
13490
14077
|
updatedAt: number;
|
|
13491
14078
|
};
|
|
13492
14079
|
|
|
13493
|
-
export type
|
|
14080
|
+
export type BasiliskMathRatio = { n: bigint; d: bigint };
|
|
13494
14081
|
|
|
13495
|
-
export type
|
|
14082
|
+
export type BasiliskTraitsOracleVolume = { aIn: bigint; bOut: bigint; aOut: bigint; bIn: bigint };
|
|
13496
14083
|
|
|
13497
|
-
export type
|
|
14084
|
+
export type BasiliskTraitsOracleLiquidity = { a: bigint; b: bigint };
|
|
13498
14085
|
|
|
13499
14086
|
/**
|
|
13500
14087
|
* The `Error` enum of this pallet.
|
|
@@ -13642,7 +14229,7 @@ export type OrmlXtokensModuleError =
|
|
|
13642
14229
|
**/
|
|
13643
14230
|
| 'ZeroFee'
|
|
13644
14231
|
/**
|
|
13645
|
-
* The
|
|
14232
|
+
* The transferring asset amount is zero.
|
|
13646
14233
|
**/
|
|
13647
14234
|
| 'ZeroAmount'
|
|
13648
14235
|
/**
|
|
@@ -13703,6 +14290,101 @@ export type PalletTransactionPaymentChargeTransactionPayment = bigint;
|
|
|
13703
14290
|
|
|
13704
14291
|
export type BasiliskRuntimeRuntime = {};
|
|
13705
14292
|
|
|
14293
|
+
export type SpRuntimeBlock = { header: Header; extrinsics: Array<UncheckedExtrinsic> };
|
|
14294
|
+
|
|
14295
|
+
export type SpRuntimeExtrinsicInclusionMode = 'AllExtrinsics' | 'OnlyInherents';
|
|
14296
|
+
|
|
14297
|
+
export type SpCoreOpaqueMetadata = Bytes;
|
|
14298
|
+
|
|
14299
|
+
export type SpRuntimeTransactionValidityTransactionValidityError =
|
|
14300
|
+
| { type: 'Invalid'; value: SpRuntimeTransactionValidityInvalidTransaction }
|
|
14301
|
+
| { type: 'Unknown'; value: SpRuntimeTransactionValidityUnknownTransaction };
|
|
14302
|
+
|
|
14303
|
+
export type SpRuntimeTransactionValidityInvalidTransaction =
|
|
14304
|
+
| { type: 'Call' }
|
|
14305
|
+
| { type: 'Payment' }
|
|
14306
|
+
| { type: 'Future' }
|
|
14307
|
+
| { type: 'Stale' }
|
|
14308
|
+
| { type: 'BadProof' }
|
|
14309
|
+
| { type: 'AncientBirthBlock' }
|
|
14310
|
+
| { type: 'ExhaustsResources' }
|
|
14311
|
+
| { type: 'Custom'; value: number }
|
|
14312
|
+
| { type: 'BadMandatory' }
|
|
14313
|
+
| { type: 'MandatoryValidation' }
|
|
14314
|
+
| { type: 'BadSigner' }
|
|
14315
|
+
| { type: 'IndeterminateImplicit' }
|
|
14316
|
+
| { type: 'UnknownOrigin' };
|
|
14317
|
+
|
|
14318
|
+
export type SpRuntimeTransactionValidityUnknownTransaction =
|
|
14319
|
+
| { type: 'CannotLookup' }
|
|
14320
|
+
| { type: 'NoUnsignedValidator' }
|
|
14321
|
+
| { type: 'Custom'; value: number };
|
|
14322
|
+
|
|
14323
|
+
export type SpInherentsInherentData = { data: Array<[FixedBytes<8>, Bytes]> };
|
|
14324
|
+
|
|
14325
|
+
export type SpInherentsCheckInherentsResult = { okay: boolean; fatalError: boolean; errors: SpInherentsInherentData };
|
|
14326
|
+
|
|
14327
|
+
export type SpRuntimeTransactionValidityTransactionSource = 'InBlock' | 'Local' | 'External';
|
|
14328
|
+
|
|
14329
|
+
export type SpRuntimeTransactionValidityValidTransaction = {
|
|
14330
|
+
priority: bigint;
|
|
14331
|
+
requires: Array<Bytes>;
|
|
14332
|
+
provides: Array<Bytes>;
|
|
14333
|
+
longevity: bigint;
|
|
14334
|
+
propagate: boolean;
|
|
14335
|
+
};
|
|
14336
|
+
|
|
14337
|
+
export type SpConsensusSlotsSlotDuration = bigint;
|
|
14338
|
+
|
|
14339
|
+
export type CumulusPrimitivesCoreCollationInfo = {
|
|
14340
|
+
upwardMessages: Array<Bytes>;
|
|
14341
|
+
horizontalMessages: Array<PolkadotCorePrimitivesOutboundHrmpMessage>;
|
|
14342
|
+
newValidationCode?: PolkadotParachainPrimitivesPrimitivesValidationCode | undefined;
|
|
14343
|
+
processedDownwardMessages: number;
|
|
14344
|
+
hrmpWatermark: number;
|
|
14345
|
+
headData: PolkadotParachainPrimitivesPrimitivesHeadData;
|
|
14346
|
+
};
|
|
14347
|
+
|
|
14348
|
+
export type PolkadotParachainPrimitivesPrimitivesValidationCode = Bytes;
|
|
14349
|
+
|
|
14350
|
+
export type PalletTransactionPaymentRuntimeDispatchInfo = {
|
|
14351
|
+
weight: SpWeightsWeightV2Weight;
|
|
14352
|
+
class: FrameSupportDispatchDispatchClass;
|
|
14353
|
+
partialFee: bigint;
|
|
14354
|
+
};
|
|
14355
|
+
|
|
14356
|
+
export type PalletTransactionPaymentFeeDetails = {
|
|
14357
|
+
inclusionFee?: PalletTransactionPaymentInclusionFee | undefined;
|
|
14358
|
+
tip: bigint;
|
|
14359
|
+
};
|
|
14360
|
+
|
|
14361
|
+
export type PalletTransactionPaymentInclusionFee = { baseFee: bigint; lenFee: bigint; adjustedWeightFee: bigint };
|
|
14362
|
+
|
|
14363
|
+
export type XcmRuntimeApisFeesError =
|
|
14364
|
+
| 'Unimplemented'
|
|
14365
|
+
| 'VersionedConversionFailed'
|
|
14366
|
+
| 'WeightNotComputable'
|
|
14367
|
+
| 'UnhandledXcmVersion'
|
|
14368
|
+
| 'AssetNotFound'
|
|
14369
|
+
| 'Unroutable';
|
|
14370
|
+
|
|
14371
|
+
export type XcmRuntimeApisDryRunCallDryRunEffects = {
|
|
14372
|
+
executionResult: Result<FrameSupportDispatchPostDispatchInfo, SpRuntimeDispatchErrorWithPostInfo>;
|
|
14373
|
+
emittedEvents: Array<BasiliskRuntimeRuntimeEvent>;
|
|
14374
|
+
localXcm?: XcmVersionedXcm | undefined;
|
|
14375
|
+
forwardedXcms: Array<[XcmVersionedLocation, Array<XcmVersionedXcm>]>;
|
|
14376
|
+
};
|
|
14377
|
+
|
|
14378
|
+
export type XcmRuntimeApisDryRunError = 'Unimplemented' | 'VersionedConversionFailed';
|
|
14379
|
+
|
|
14380
|
+
export type XcmRuntimeApisDryRunXcmDryRunEffects = {
|
|
14381
|
+
executionResult: StagingXcmV5TraitsOutcome;
|
|
14382
|
+
emittedEvents: Array<BasiliskRuntimeRuntimeEvent>;
|
|
14383
|
+
forwardedXcms: Array<[XcmVersionedLocation, Array<XcmVersionedXcm>]>;
|
|
14384
|
+
};
|
|
14385
|
+
|
|
14386
|
+
export type XcmRuntimeApisConversionsError = 'Unsupported' | 'VersionedConversionFailed';
|
|
14387
|
+
|
|
13706
14388
|
export type BasiliskRuntimeRuntimeError =
|
|
13707
14389
|
| { pallet: 'System'; palletError: FrameSystemError }
|
|
13708
14390
|
| { pallet: 'Balances'; palletError: PalletBalancesError }
|