@dedot/chaintypes 0.0.1-next.f5bf4fc2.1 → 0.1.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/README.md +3 -1
- package/aleph/consts.d.ts +94 -13
- package/aleph/errors.d.ts +251 -182
- package/aleph/events.d.ts +319 -102
- package/aleph/index.d.ts +16 -11
- package/aleph/json-rpc.d.ts +76 -0
- package/aleph/query.d.ts +261 -168
- package/aleph/runtime.d.ts +90 -39
- package/aleph/tx.d.ts +1822 -1052
- package/aleph/types.d.ts +458 -138
- package/astar/consts.d.ts +112 -116
- package/astar/errors.d.ts +342 -409
- package/astar/events.d.ts +449 -358
- package/astar/index.d.ts +16 -11
- package/astar/json-rpc.d.ts +131 -0
- package/astar/query.d.ts +459 -367
- package/astar/runtime.d.ts +591 -98
- package/astar/tx.d.ts +2485 -3430
- package/astar/types.d.ts +1530 -4436
- package/index.d.ts +3 -0
- package/index.ts +3 -0
- package/kusama/consts.d.ts +54 -115
- package/kusama/errors.d.ts +696 -682
- package/kusama/events.d.ts +592 -407
- package/kusama/index.d.ts +16 -11
- package/kusama/json-rpc.d.ts +103 -0
- package/kusama/query.d.ts +840 -538
- package/kusama/runtime.d.ts +136 -65
- package/kusama/tx.d.ts +4557 -3051
- package/kusama/types.d.ts +1437 -1161
- package/kusamaAssetHub/consts.d.ts +66 -20
- package/kusamaAssetHub/errors.d.ts +428 -308
- package/kusamaAssetHub/events.d.ts +497 -305
- package/kusamaAssetHub/index.d.ts +16 -11
- package/kusamaAssetHub/json-rpc.d.ts +89 -0
- package/kusamaAssetHub/query.d.ts +376 -253
- package/kusamaAssetHub/runtime.d.ts +82 -41
- package/kusamaAssetHub/tx.d.ts +3264 -1955
- package/kusamaAssetHub/types.d.ts +1262 -726
- package/moonbeam/consts.d.ts +115 -170
- package/moonbeam/errors.d.ts +564 -787
- package/moonbeam/events.d.ts +583 -746
- package/moonbeam/index.d.ts +16 -11
- package/moonbeam/json-rpc.d.ts +137 -0
- package/moonbeam/query.d.ts +507 -607
- package/moonbeam/runtime.d.ts +132 -47
- package/moonbeam/tx.d.ts +3309 -3268
- package/moonbeam/types.d.ts +1484 -1375
- package/package.json +4 -14
- package/paseo/consts.d.ts +1331 -0
- package/paseo/errors.d.ts +2644 -0
- package/paseo/events.d.ts +2821 -0
- package/paseo/index.d.ts +27 -0
- package/paseo/json-rpc.d.ts +103 -0
- package/paseo/query.d.ts +3709 -0
- package/paseo/runtime.d.ts +1205 -0
- package/paseo/tx.d.ts +8024 -0
- package/paseo/types.d.ts +10194 -0
- package/polkadot/consts.d.ts +95 -50
- package/polkadot/errors.d.ts +619 -468
- package/polkadot/events.d.ts +582 -257
- package/polkadot/index.d.ts +16 -11
- package/polkadot/json-rpc.d.ts +103 -0
- package/polkadot/query.d.ts +770 -399
- package/polkadot/runtime.d.ts +136 -65
- package/polkadot/tx.d.ts +4268 -2368
- package/polkadot/types.d.ts +1570 -745
- package/polkadotAssetHub/consts.d.ts +154 -15
- package/polkadotAssetHub/errors.d.ts +615 -234
- package/polkadotAssetHub/events.d.ts +829 -270
- package/polkadotAssetHub/index.d.ts +16 -11
- package/polkadotAssetHub/json-rpc.d.ts +89 -0
- package/polkadotAssetHub/query.d.ts +438 -243
- package/polkadotAssetHub/runtime.d.ts +147 -40
- package/polkadotAssetHub/tx.d.ts +3747 -1643
- package/polkadotAssetHub/types.d.ts +2096 -806
- package/rococo/consts.d.ts +51 -32
- package/rococo/errors.d.ts +549 -605
- package/rococo/events.d.ts +447 -238
- package/rococo/index.d.ts +16 -11
- package/rococo/json-rpc.d.ts +103 -0
- package/rococo/query.d.ts +724 -426
- package/rococo/runtime.d.ts +366 -144
- package/rococo/tx.d.ts +6850 -3079
- package/rococo/types.d.ts +5959 -1619
- package/rococoAssetHub/consts.d.ts +92 -7
- package/rococoAssetHub/errors.d.ts +381 -285
- package/rococoAssetHub/events.d.ts +461 -140
- package/rococoAssetHub/index.d.ts +16 -11
- package/rococoAssetHub/json-rpc.d.ts +89 -0
- package/rococoAssetHub/query.d.ts +487 -174
- package/rococoAssetHub/runtime.d.ts +235 -51
- package/rococoAssetHub/tx.d.ts +6005 -2163
- package/rococoAssetHub/types.d.ts +6683 -1003
- package/substrate/consts.d.ts +233 -52
- package/substrate/errors.d.ts +966 -781
- package/substrate/events.d.ts +1226 -381
- package/substrate/index.d.ts +16 -11
- package/substrate/json-rpc.d.ts +103 -0
- package/substrate/query.d.ts +1090 -460
- package/substrate/runtime.d.ts +274 -71
- package/substrate/tx.d.ts +12313 -4510
- package/substrate/types.d.ts +11036 -1432
- package/westend/consts.d.ts +1349 -0
- package/westend/errors.d.ts +2736 -0
- package/westend/events.d.ts +2906 -0
- package/westend/index.d.ts +27 -0
- package/westend/json-rpc.d.ts +103 -0
- package/westend/query.d.ts +3855 -0
- package/westend/runtime.d.ts +1437 -0
- package/westend/tx.d.ts +10248 -0
- package/westend/types.d.ts +14769 -0
- package/westendAssetHub/consts.d.ts +126 -7
- package/westendAssetHub/errors.d.ts +426 -285
- package/westendAssetHub/events.d.ts +498 -140
- package/westendAssetHub/index.d.ts +16 -11
- package/westendAssetHub/json-rpc.d.ts +89 -0
- package/westendAssetHub/query.d.ts +526 -174
- package/westendAssetHub/runtime.d.ts +245 -56
- package/westendAssetHub/tx.d.ts +6196 -2166
- package/westendAssetHub/types.d.ts +6913 -1002
- package/westendPeople/consts.d.ts +434 -0
- package/westendPeople/errors.d.ts +769 -0
- package/westendPeople/events.d.ts +1082 -0
- package/westendPeople/index.d.ts +27 -0
- package/westendPeople/json-rpc.d.ts +89 -0
- package/westendPeople/query.d.ts +1209 -0
- package/westendPeople/runtime.d.ts +636 -0
- package/westendPeople/tx.d.ts +2891 -0
- package/westendPeople/types.d.ts +4984 -0
- package/aleph/rpc.d.ts +0 -727
- package/astar/rpc.d.ts +0 -974
- package/kusama/rpc.d.ts +0 -904
- package/kusamaAssetHub/rpc.d.ts +0 -746
- package/moonbeam/rpc.d.ts +0 -1015
- package/packageInfo.d.ts +0 -4
- package/packageInfo.js +0 -2
- package/packageInfo.ts +0 -3
- package/polkadot/rpc.d.ts +0 -904
- package/polkadotAssetHub/rpc.d.ts +0 -746
- package/rococo/rpc.d.ts +0 -904
- package/rococoAssetHub/rpc.d.ts +0 -746
- package/substrate/rpc.d.ts +0 -894
- package/westendAssetHub/rpc.d.ts +0 -746
package/moonbeam/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by
|
|
1
|
+
// Generated by dedot cli
|
|
2
2
|
|
|
3
3
|
import type {
|
|
4
4
|
Phase,
|
|
@@ -14,13 +14,14 @@ import type {
|
|
|
14
14
|
H160,
|
|
15
15
|
BytesLike,
|
|
16
16
|
AccountId20Like,
|
|
17
|
+
FixedArray,
|
|
17
18
|
Data,
|
|
18
19
|
U256,
|
|
19
20
|
FixedI64,
|
|
20
21
|
Era,
|
|
21
22
|
UncheckedExtrinsic,
|
|
22
23
|
Header,
|
|
23
|
-
} from '
|
|
24
|
+
} from 'dedot/codecs';
|
|
24
25
|
|
|
25
26
|
export type FrameSystemAccountInfo = {
|
|
26
27
|
nonce: number;
|
|
@@ -52,6 +53,7 @@ export type FrameSystemEventRecord = { phase: Phase; event: MoonbeamRuntimeRunti
|
|
|
52
53
|
export type MoonbeamRuntimeRuntimeEvent =
|
|
53
54
|
| { pallet: 'System'; palletEvent: FrameSystemEvent }
|
|
54
55
|
| { pallet: 'ParachainSystem'; palletEvent: CumulusPalletParachainSystemEvent }
|
|
56
|
+
| { pallet: 'RootTesting'; palletEvent: PalletRootTestingEvent }
|
|
55
57
|
| { pallet: 'Balances'; palletEvent: PalletBalancesEvent }
|
|
56
58
|
| { pallet: 'TransactionPayment'; palletEvent: PalletTransactionPaymentEvent }
|
|
57
59
|
| { pallet: 'ParachainStaking'; palletEvent: PalletParachainStakingEvent }
|
|
@@ -67,13 +69,10 @@ export type MoonbeamRuntimeRuntimeEvent =
|
|
|
67
69
|
| { pallet: 'Evm'; palletEvent: PalletEvmEvent }
|
|
68
70
|
| { pallet: 'Ethereum'; palletEvent: PalletEthereumEvent }
|
|
69
71
|
| { pallet: 'Scheduler'; palletEvent: PalletSchedulerEvent }
|
|
70
|
-
| { pallet: 'Democracy'; palletEvent: PalletDemocracyEvent }
|
|
71
72
|
| { pallet: 'Preimage'; palletEvent: PalletPreimageEvent }
|
|
72
73
|
| { pallet: 'ConvictionVoting'; palletEvent: PalletConvictionVotingEvent }
|
|
73
74
|
| { pallet: 'Referenda'; palletEvent: PalletReferendaEvent }
|
|
74
75
|
| { pallet: 'Whitelist'; palletEvent: PalletWhitelistEvent }
|
|
75
|
-
| { pallet: 'CouncilCollective'; palletEvent: PalletCollectiveEvent }
|
|
76
|
-
| { pallet: 'TechCommitteeCollective'; palletEvent: PalletCollectiveEvent }
|
|
77
76
|
| { pallet: 'TreasuryCouncilCollective'; palletEvent: PalletCollectiveEvent }
|
|
78
77
|
| { pallet: 'OpenTechCommitteeCollective'; palletEvent: PalletCollectiveEvent }
|
|
79
78
|
| { pallet: 'Treasury'; palletEvent: PalletTreasuryEvent }
|
|
@@ -86,7 +85,7 @@ export type MoonbeamRuntimeRuntimeEvent =
|
|
|
86
85
|
| { pallet: 'AssetManager'; palletEvent: PalletAssetManagerEvent }
|
|
87
86
|
| { pallet: 'XTokens'; palletEvent: OrmlXtokensModuleEvent }
|
|
88
87
|
| { pallet: 'XcmTransactor'; palletEvent: PalletXcmTransactorEvent }
|
|
89
|
-
| { pallet: '
|
|
88
|
+
| { pallet: 'MessageQueue'; palletEvent: PalletMessageQueueEvent }
|
|
90
89
|
| { pallet: 'Randomness'; palletEvent: PalletRandomnessEvent };
|
|
91
90
|
|
|
92
91
|
/**
|
|
@@ -116,7 +115,11 @@ export type FrameSystemEvent =
|
|
|
116
115
|
/**
|
|
117
116
|
* On on-chain remark happened.
|
|
118
117
|
**/
|
|
119
|
-
| { name: 'Remarked'; data: { sender: AccountId20; hash: H256 } }
|
|
118
|
+
| { name: 'Remarked'; data: { sender: AccountId20; hash: H256 } }
|
|
119
|
+
/**
|
|
120
|
+
* An upgrade was authorized.
|
|
121
|
+
**/
|
|
122
|
+
| { name: 'UpgradeAuthorized'; data: { codeHash: H256; checkVersion: boolean } };
|
|
120
123
|
|
|
121
124
|
export type FrameSupportDispatchDispatchClass = 'Normal' | 'Operational' | 'Mandatory';
|
|
122
125
|
|
|
@@ -138,10 +141,6 @@ export type CumulusPalletParachainSystemEvent =
|
|
|
138
141
|
* The relay-chain aborted the upgrade process.
|
|
139
142
|
**/
|
|
140
143
|
| { name: 'ValidationFunctionDiscarded' }
|
|
141
|
-
/**
|
|
142
|
-
* An upgrade has been authorized.
|
|
143
|
-
**/
|
|
144
|
-
| { name: 'UpgradeAuthorized'; data: { codeHash: H256 } }
|
|
145
144
|
/**
|
|
146
145
|
* Some downward messages have been received and will be processed.
|
|
147
146
|
**/
|
|
@@ -155,6 +154,15 @@ export type CumulusPalletParachainSystemEvent =
|
|
|
155
154
|
**/
|
|
156
155
|
| { name: 'UpwardMessageSent'; data: { messageHash?: FixedBytes<32> | undefined } };
|
|
157
156
|
|
|
157
|
+
/**
|
|
158
|
+
* The `Event` enum of this pallet
|
|
159
|
+
**/
|
|
160
|
+
export type PalletRootTestingEvent =
|
|
161
|
+
/**
|
|
162
|
+
* Event dispatched when the trigger_defensive extrinsic is called.
|
|
163
|
+
**/
|
|
164
|
+
'DefensiveTestCall';
|
|
165
|
+
|
|
158
166
|
/**
|
|
159
167
|
* The `Event` enum of this pallet
|
|
160
168
|
**/
|
|
@@ -252,7 +260,11 @@ export type PalletBalancesEvent =
|
|
|
252
260
|
/**
|
|
253
261
|
* Some balance was thawed.
|
|
254
262
|
**/
|
|
255
|
-
| { name: 'Thawed'; data: { who: AccountId20; amount: bigint } }
|
|
263
|
+
| { name: 'Thawed'; data: { who: AccountId20; amount: bigint } }
|
|
264
|
+
/**
|
|
265
|
+
* The `TotalIssuance` was forcefully changed.
|
|
266
|
+
**/
|
|
267
|
+
| { name: 'TotalIssuanceForced'; data: { old: bigint; new: bigint } };
|
|
256
268
|
|
|
257
269
|
export type FrameSupportTokensMiscBalanceStatus = 'Free' | 'Reserved';
|
|
258
270
|
|
|
@@ -475,12 +487,12 @@ export type PalletParachainStakingDelegationRequestsCancelledScheduledRequest =
|
|
|
475
487
|
};
|
|
476
488
|
|
|
477
489
|
export type PalletParachainStakingDelegationRequestsDelegationAction =
|
|
478
|
-
| {
|
|
479
|
-
| {
|
|
490
|
+
| { type: 'Revoke'; value: bigint }
|
|
491
|
+
| { type: 'Decrease'; value: bigint };
|
|
480
492
|
|
|
481
493
|
export type PalletParachainStakingDelegatorAdded =
|
|
482
|
-
| {
|
|
483
|
-
| {
|
|
494
|
+
| { type: 'AddedToTop'; value: { newTotal: bigint } }
|
|
495
|
+
| { type: 'AddedToBottom' };
|
|
484
496
|
|
|
485
497
|
/**
|
|
486
498
|
* The `Event` enum of this pallet
|
|
@@ -706,7 +718,36 @@ export type PalletIdentityEvent =
|
|
|
706
718
|
* A sub-identity was cleared, and the given deposit repatriated from the
|
|
707
719
|
* main identity account to the sub-identity account.
|
|
708
720
|
**/
|
|
709
|
-
| { name: 'SubIdentityRevoked'; data: { sub: AccountId20; main: AccountId20; deposit: bigint } }
|
|
721
|
+
| { name: 'SubIdentityRevoked'; data: { sub: AccountId20; main: AccountId20; deposit: bigint } }
|
|
722
|
+
/**
|
|
723
|
+
* A username authority was added.
|
|
724
|
+
**/
|
|
725
|
+
| { name: 'AuthorityAdded'; data: { authority: AccountId20 } }
|
|
726
|
+
/**
|
|
727
|
+
* A username authority was removed.
|
|
728
|
+
**/
|
|
729
|
+
| { name: 'AuthorityRemoved'; data: { authority: AccountId20 } }
|
|
730
|
+
/**
|
|
731
|
+
* A username was set for `who`.
|
|
732
|
+
**/
|
|
733
|
+
| { name: 'UsernameSet'; data: { who: AccountId20; username: Bytes } }
|
|
734
|
+
/**
|
|
735
|
+
* A username was queued, but `who` must accept it prior to `expiration`.
|
|
736
|
+
**/
|
|
737
|
+
| { name: 'UsernameQueued'; data: { who: AccountId20; username: Bytes; expiration: number } }
|
|
738
|
+
/**
|
|
739
|
+
* A queued username passed its expiration without being claimed and was removed.
|
|
740
|
+
**/
|
|
741
|
+
| { name: 'PreapprovalExpired'; data: { whose: AccountId20 } }
|
|
742
|
+
/**
|
|
743
|
+
* A username was set as a primary and can be looked up from `who`.
|
|
744
|
+
**/
|
|
745
|
+
| { name: 'PrimaryUsernameSet'; data: { who: AccountId20; username: Bytes } }
|
|
746
|
+
/**
|
|
747
|
+
* A dangling username (as in, a username corresponding to an account that has removed its
|
|
748
|
+
* identity) has been removed.
|
|
749
|
+
**/
|
|
750
|
+
| { name: 'DanglingUsernameRemoved'; data: { who: AccountId20; username: Bytes } };
|
|
710
751
|
|
|
711
752
|
/**
|
|
712
753
|
* The `Event` enum of this pallet
|
|
@@ -825,40 +866,40 @@ export type PalletEthereumEvent =
|
|
|
825
866
|
};
|
|
826
867
|
|
|
827
868
|
export type EvmCoreErrorExitReason =
|
|
828
|
-
| {
|
|
829
|
-
| {
|
|
830
|
-
| {
|
|
831
|
-
| {
|
|
869
|
+
| { type: 'Succeed'; value: EvmCoreErrorExitSucceed }
|
|
870
|
+
| { type: 'Error'; value: EvmCoreErrorExitError }
|
|
871
|
+
| { type: 'Revert'; value: EvmCoreErrorExitRevert }
|
|
872
|
+
| { type: 'Fatal'; value: EvmCoreErrorExitFatal };
|
|
832
873
|
|
|
833
874
|
export type EvmCoreErrorExitSucceed = 'Stopped' | 'Returned' | 'Suicided';
|
|
834
875
|
|
|
835
876
|
export type EvmCoreErrorExitError =
|
|
836
|
-
| {
|
|
837
|
-
| {
|
|
838
|
-
| {
|
|
839
|
-
| {
|
|
840
|
-
| {
|
|
841
|
-
| {
|
|
842
|
-
| {
|
|
843
|
-
| {
|
|
844
|
-
| {
|
|
845
|
-
| {
|
|
846
|
-
| {
|
|
847
|
-
| {
|
|
848
|
-
| {
|
|
849
|
-
| {
|
|
850
|
-
| {
|
|
851
|
-
| {
|
|
877
|
+
| { type: 'StackUnderflow' }
|
|
878
|
+
| { type: 'StackOverflow' }
|
|
879
|
+
| { type: 'InvalidJump' }
|
|
880
|
+
| { type: 'InvalidRange' }
|
|
881
|
+
| { type: 'DesignatedInvalid' }
|
|
882
|
+
| { type: 'CallTooDeep' }
|
|
883
|
+
| { type: 'CreateCollision' }
|
|
884
|
+
| { type: 'CreateContractLimit' }
|
|
885
|
+
| { type: 'InvalidCode'; value: EvmCoreOpcode }
|
|
886
|
+
| { type: 'OutOfOffset' }
|
|
887
|
+
| { type: 'OutOfGas' }
|
|
888
|
+
| { type: 'OutOfFund' }
|
|
889
|
+
| { type: 'PcUnderflow' }
|
|
890
|
+
| { type: 'CreateEmpty' }
|
|
891
|
+
| { type: 'Other'; value: string }
|
|
892
|
+
| { type: 'MaxNonce' };
|
|
852
893
|
|
|
853
894
|
export type EvmCoreOpcode = number;
|
|
854
895
|
|
|
855
896
|
export type EvmCoreErrorExitRevert = 'Reverted';
|
|
856
897
|
|
|
857
898
|
export type EvmCoreErrorExitFatal =
|
|
858
|
-
| {
|
|
859
|
-
| {
|
|
860
|
-
| {
|
|
861
|
-
| {
|
|
899
|
+
| { type: 'NotSupported' }
|
|
900
|
+
| { type: 'UnhandledInterrupt' }
|
|
901
|
+
| { type: 'CallErrorAsFatal'; value: EvmCoreErrorExitError }
|
|
902
|
+
| { type: 'Other'; value: string };
|
|
862
903
|
|
|
863
904
|
/**
|
|
864
905
|
* Events type.
|
|
@@ -892,136 +933,6 @@ export type PalletSchedulerEvent =
|
|
|
892
933
|
**/
|
|
893
934
|
| { name: 'PermanentlyOverweight'; data: { task: [number, number]; id?: FixedBytes<32> | undefined } };
|
|
894
935
|
|
|
895
|
-
/**
|
|
896
|
-
* The `Event` enum of this pallet
|
|
897
|
-
**/
|
|
898
|
-
export type PalletDemocracyEvent =
|
|
899
|
-
/**
|
|
900
|
-
* A motion has been proposed by a public account.
|
|
901
|
-
**/
|
|
902
|
-
| { name: 'Proposed'; data: { proposalIndex: number; deposit: bigint } }
|
|
903
|
-
/**
|
|
904
|
-
* A public proposal has been tabled for referendum vote.
|
|
905
|
-
**/
|
|
906
|
-
| { name: 'Tabled'; data: { proposalIndex: number; deposit: bigint } }
|
|
907
|
-
/**
|
|
908
|
-
* An external proposal has been tabled.
|
|
909
|
-
**/
|
|
910
|
-
| { name: 'ExternalTabled' }
|
|
911
|
-
/**
|
|
912
|
-
* A referendum has begun.
|
|
913
|
-
**/
|
|
914
|
-
| { name: 'Started'; data: { refIndex: number; threshold: PalletDemocracyVoteThreshold } }
|
|
915
|
-
/**
|
|
916
|
-
* A proposal has been approved by referendum.
|
|
917
|
-
**/
|
|
918
|
-
| { name: 'Passed'; data: { refIndex: number } }
|
|
919
|
-
/**
|
|
920
|
-
* A proposal has been rejected by referendum.
|
|
921
|
-
**/
|
|
922
|
-
| { name: 'NotPassed'; data: { refIndex: number } }
|
|
923
|
-
/**
|
|
924
|
-
* A referendum has been cancelled.
|
|
925
|
-
**/
|
|
926
|
-
| { name: 'Cancelled'; data: { refIndex: number } }
|
|
927
|
-
/**
|
|
928
|
-
* An account has delegated their vote to another account.
|
|
929
|
-
**/
|
|
930
|
-
| { name: 'Delegated'; data: { who: AccountId20; target: AccountId20 } }
|
|
931
|
-
/**
|
|
932
|
-
* An account has cancelled a previous delegation operation.
|
|
933
|
-
**/
|
|
934
|
-
| { name: 'Undelegated'; data: { account: AccountId20 } }
|
|
935
|
-
/**
|
|
936
|
-
* An external proposal has been vetoed.
|
|
937
|
-
**/
|
|
938
|
-
| { name: 'Vetoed'; data: { who: AccountId20; proposalHash: H256; until: number } }
|
|
939
|
-
/**
|
|
940
|
-
* A proposal_hash has been blacklisted permanently.
|
|
941
|
-
**/
|
|
942
|
-
| { name: 'Blacklisted'; data: { proposalHash: H256 } }
|
|
943
|
-
/**
|
|
944
|
-
* An account has voted in a referendum
|
|
945
|
-
**/
|
|
946
|
-
| { name: 'Voted'; data: { voter: AccountId20; refIndex: number; vote: PalletDemocracyVoteAccountVote } }
|
|
947
|
-
/**
|
|
948
|
-
* An account has secconded a proposal
|
|
949
|
-
**/
|
|
950
|
-
| { name: 'Seconded'; data: { seconder: AccountId20; propIndex: number } }
|
|
951
|
-
/**
|
|
952
|
-
* A proposal got canceled.
|
|
953
|
-
**/
|
|
954
|
-
| { name: 'ProposalCanceled'; data: { propIndex: number } }
|
|
955
|
-
/**
|
|
956
|
-
* Metadata for a proposal or a referendum has been set.
|
|
957
|
-
**/
|
|
958
|
-
| {
|
|
959
|
-
name: 'MetadataSet';
|
|
960
|
-
data: {
|
|
961
|
-
/**
|
|
962
|
-
* Metadata owner.
|
|
963
|
-
**/
|
|
964
|
-
owner: PalletDemocracyMetadataOwner;
|
|
965
|
-
|
|
966
|
-
/**
|
|
967
|
-
* Preimage hash.
|
|
968
|
-
**/
|
|
969
|
-
hash: H256;
|
|
970
|
-
};
|
|
971
|
-
}
|
|
972
|
-
/**
|
|
973
|
-
* Metadata for a proposal or a referendum has been cleared.
|
|
974
|
-
**/
|
|
975
|
-
| {
|
|
976
|
-
name: 'MetadataCleared';
|
|
977
|
-
data: {
|
|
978
|
-
/**
|
|
979
|
-
* Metadata owner.
|
|
980
|
-
**/
|
|
981
|
-
owner: PalletDemocracyMetadataOwner;
|
|
982
|
-
|
|
983
|
-
/**
|
|
984
|
-
* Preimage hash.
|
|
985
|
-
**/
|
|
986
|
-
hash: H256;
|
|
987
|
-
};
|
|
988
|
-
}
|
|
989
|
-
/**
|
|
990
|
-
* Metadata has been transferred to new owner.
|
|
991
|
-
**/
|
|
992
|
-
| {
|
|
993
|
-
name: 'MetadataTransferred';
|
|
994
|
-
data: {
|
|
995
|
-
/**
|
|
996
|
-
* Previous metadata owner.
|
|
997
|
-
**/
|
|
998
|
-
prevOwner: PalletDemocracyMetadataOwner;
|
|
999
|
-
|
|
1000
|
-
/**
|
|
1001
|
-
* New metadata owner.
|
|
1002
|
-
**/
|
|
1003
|
-
owner: PalletDemocracyMetadataOwner;
|
|
1004
|
-
|
|
1005
|
-
/**
|
|
1006
|
-
* Preimage hash.
|
|
1007
|
-
**/
|
|
1008
|
-
hash: H256;
|
|
1009
|
-
};
|
|
1010
|
-
};
|
|
1011
|
-
|
|
1012
|
-
export type PalletDemocracyVoteThreshold = 'SuperMajorityApprove' | 'SuperMajorityAgainst' | 'SimpleMajority';
|
|
1013
|
-
|
|
1014
|
-
export type PalletDemocracyVoteAccountVote =
|
|
1015
|
-
| { tag: 'Standard'; value: { vote: PalletDemocracyVote; balance: bigint } }
|
|
1016
|
-
| { tag: 'Split'; value: { aye: bigint; nay: bigint } };
|
|
1017
|
-
|
|
1018
|
-
export type PalletDemocracyVote = number;
|
|
1019
|
-
|
|
1020
|
-
export type PalletDemocracyMetadataOwner =
|
|
1021
|
-
| { tag: 'External' }
|
|
1022
|
-
| { tag: 'Proposal'; value: number }
|
|
1023
|
-
| { tag: 'Referendum'; value: number };
|
|
1024
|
-
|
|
1025
936
|
/**
|
|
1026
937
|
* The `Event` enum of this pallet
|
|
1027
938
|
**/
|
|
@@ -1123,7 +1034,7 @@ export type PalletReferendaEvent =
|
|
|
1123
1034
|
};
|
|
1124
1035
|
}
|
|
1125
1036
|
/**
|
|
1126
|
-
* A deposit has been
|
|
1037
|
+
* A deposit has been slashed.
|
|
1127
1038
|
**/
|
|
1128
1039
|
| {
|
|
1129
1040
|
name: 'DepositSlashed';
|
|
@@ -1339,9 +1250,9 @@ export type PalletReferendaEvent =
|
|
|
1339
1250
|
};
|
|
1340
1251
|
|
|
1341
1252
|
export type FrameSupportPreimagesBounded =
|
|
1342
|
-
| {
|
|
1343
|
-
| {
|
|
1344
|
-
| {
|
|
1253
|
+
| { type: 'Legacy'; value: { hash: H256 } }
|
|
1254
|
+
| { type: 'Inline'; value: Bytes }
|
|
1255
|
+
| { type: 'Lookup'; value: { hash: H256; len: number } };
|
|
1345
1256
|
|
|
1346
1257
|
export type MoonbeamRuntimeRuntimeCall =
|
|
1347
1258
|
| { pallet: 'System'; palletCall: FrameSystemCall }
|
|
@@ -1359,16 +1270,14 @@ export type MoonbeamRuntimeRuntimeCall =
|
|
|
1359
1270
|
| { pallet: 'MaintenanceMode'; palletCall: PalletMaintenanceModeCall }
|
|
1360
1271
|
| { pallet: 'Identity'; palletCall: PalletIdentityCall }
|
|
1361
1272
|
| { pallet: 'Multisig'; palletCall: PalletMultisigCall }
|
|
1273
|
+
| { pallet: 'MoonbeamLazyMigrations'; palletCall: PalletMoonbeamLazyMigrationsCall }
|
|
1362
1274
|
| { pallet: 'Evm'; palletCall: PalletEvmCall }
|
|
1363
1275
|
| { pallet: 'Ethereum'; palletCall: PalletEthereumCall }
|
|
1364
1276
|
| { pallet: 'Scheduler'; palletCall: PalletSchedulerCall }
|
|
1365
|
-
| { pallet: 'Democracy'; palletCall: PalletDemocracyCall }
|
|
1366
1277
|
| { pallet: 'Preimage'; palletCall: PalletPreimageCall }
|
|
1367
1278
|
| { pallet: 'ConvictionVoting'; palletCall: PalletConvictionVotingCall }
|
|
1368
1279
|
| { pallet: 'Referenda'; palletCall: PalletReferendaCall }
|
|
1369
1280
|
| { pallet: 'Whitelist'; palletCall: PalletWhitelistCall }
|
|
1370
|
-
| { pallet: 'CouncilCollective'; palletCall: PalletCollectiveCall }
|
|
1371
|
-
| { pallet: 'TechCommitteeCollective'; palletCall: PalletCollectiveCall }
|
|
1372
1281
|
| { pallet: 'TreasuryCouncilCollective'; palletCall: PalletCollectiveCall }
|
|
1373
1282
|
| { pallet: 'OpenTechCommitteeCollective'; palletCall: PalletCollectiveCall }
|
|
1374
1283
|
| { pallet: 'Treasury'; palletCall: PalletTreasuryCall }
|
|
@@ -1379,8 +1288,8 @@ export type MoonbeamRuntimeRuntimeCall =
|
|
|
1379
1288
|
| { pallet: 'AssetManager'; palletCall: PalletAssetManagerCall }
|
|
1380
1289
|
| { pallet: 'XTokens'; palletCall: OrmlXtokensModuleCall }
|
|
1381
1290
|
| { pallet: 'XcmTransactor'; palletCall: PalletXcmTransactorCall }
|
|
1382
|
-
| { pallet: 'LocalAssets'; palletCall: PalletAssetsCall }
|
|
1383
1291
|
| { pallet: 'EthereumXcm'; palletCall: PalletEthereumXcmCall }
|
|
1292
|
+
| { pallet: 'MessageQueue'; palletCall: PalletMessageQueueCall }
|
|
1384
1293
|
| { pallet: 'Randomness'; palletCall: PalletRandomnessCall };
|
|
1385
1294
|
|
|
1386
1295
|
export type MoonbeamRuntimeRuntimeCallLike =
|
|
@@ -1399,16 +1308,14 @@ export type MoonbeamRuntimeRuntimeCallLike =
|
|
|
1399
1308
|
| { pallet: 'MaintenanceMode'; palletCall: PalletMaintenanceModeCallLike }
|
|
1400
1309
|
| { pallet: 'Identity'; palletCall: PalletIdentityCallLike }
|
|
1401
1310
|
| { pallet: 'Multisig'; palletCall: PalletMultisigCallLike }
|
|
1311
|
+
| { pallet: 'MoonbeamLazyMigrations'; palletCall: PalletMoonbeamLazyMigrationsCallLike }
|
|
1402
1312
|
| { pallet: 'Evm'; palletCall: PalletEvmCallLike }
|
|
1403
1313
|
| { pallet: 'Ethereum'; palletCall: PalletEthereumCallLike }
|
|
1404
1314
|
| { pallet: 'Scheduler'; palletCall: PalletSchedulerCallLike }
|
|
1405
|
-
| { pallet: 'Democracy'; palletCall: PalletDemocracyCallLike }
|
|
1406
1315
|
| { pallet: 'Preimage'; palletCall: PalletPreimageCallLike }
|
|
1407
1316
|
| { pallet: 'ConvictionVoting'; palletCall: PalletConvictionVotingCallLike }
|
|
1408
1317
|
| { pallet: 'Referenda'; palletCall: PalletReferendaCallLike }
|
|
1409
1318
|
| { pallet: 'Whitelist'; palletCall: PalletWhitelistCallLike }
|
|
1410
|
-
| { pallet: 'CouncilCollective'; palletCall: PalletCollectiveCallLike }
|
|
1411
|
-
| { pallet: 'TechCommitteeCollective'; palletCall: PalletCollectiveCallLike }
|
|
1412
1319
|
| { pallet: 'TreasuryCouncilCollective'; palletCall: PalletCollectiveCallLike }
|
|
1413
1320
|
| { pallet: 'OpenTechCommitteeCollective'; palletCall: PalletCollectiveCallLike }
|
|
1414
1321
|
| { pallet: 'Treasury'; palletCall: PalletTreasuryCallLike }
|
|
@@ -1419,8 +1326,8 @@ export type MoonbeamRuntimeRuntimeCallLike =
|
|
|
1419
1326
|
| { pallet: 'AssetManager'; palletCall: PalletAssetManagerCallLike }
|
|
1420
1327
|
| { pallet: 'XTokens'; palletCall: OrmlXtokensModuleCallLike }
|
|
1421
1328
|
| { pallet: 'XcmTransactor'; palletCall: PalletXcmTransactorCallLike }
|
|
1422
|
-
| { pallet: 'LocalAssets'; palletCall: PalletAssetsCallLike }
|
|
1423
1329
|
| { pallet: 'EthereumXcm'; palletCall: PalletEthereumXcmCallLike }
|
|
1330
|
+
| { pallet: 'MessageQueue'; palletCall: PalletMessageQueueCallLike }
|
|
1424
1331
|
| { pallet: 'Randomness'; palletCall: PalletRandomnessCallLike };
|
|
1425
1332
|
|
|
1426
1333
|
/**
|
|
@@ -1458,7 +1365,19 @@ export type FrameSystemCall =
|
|
|
1458
1365
|
/**
|
|
1459
1366
|
* See [`Pallet::remark_with_event`].
|
|
1460
1367
|
**/
|
|
1461
|
-
| { name: 'RemarkWithEvent'; params: { remark: Bytes } }
|
|
1368
|
+
| { name: 'RemarkWithEvent'; params: { remark: Bytes } }
|
|
1369
|
+
/**
|
|
1370
|
+
* See [`Pallet::authorize_upgrade`].
|
|
1371
|
+
**/
|
|
1372
|
+
| { name: 'AuthorizeUpgrade'; params: { codeHash: H256 } }
|
|
1373
|
+
/**
|
|
1374
|
+
* See [`Pallet::authorize_upgrade_without_checks`].
|
|
1375
|
+
**/
|
|
1376
|
+
| { name: 'AuthorizeUpgradeWithoutChecks'; params: { codeHash: H256 } }
|
|
1377
|
+
/**
|
|
1378
|
+
* See [`Pallet::apply_authorized_upgrade`].
|
|
1379
|
+
**/
|
|
1380
|
+
| { name: 'ApplyAuthorizedUpgrade'; params: { code: Bytes } };
|
|
1462
1381
|
|
|
1463
1382
|
export type FrameSystemCallLike =
|
|
1464
1383
|
/**
|
|
@@ -1492,7 +1411,19 @@ export type FrameSystemCallLike =
|
|
|
1492
1411
|
/**
|
|
1493
1412
|
* See [`Pallet::remark_with_event`].
|
|
1494
1413
|
**/
|
|
1495
|
-
| { name: 'RemarkWithEvent'; params: { remark: BytesLike } }
|
|
1414
|
+
| { name: 'RemarkWithEvent'; params: { remark: BytesLike } }
|
|
1415
|
+
/**
|
|
1416
|
+
* See [`Pallet::authorize_upgrade`].
|
|
1417
|
+
**/
|
|
1418
|
+
| { name: 'AuthorizeUpgrade'; params: { codeHash: H256 } }
|
|
1419
|
+
/**
|
|
1420
|
+
* See [`Pallet::authorize_upgrade_without_checks`].
|
|
1421
|
+
**/
|
|
1422
|
+
| { name: 'AuthorizeUpgradeWithoutChecks'; params: { codeHash: H256 } }
|
|
1423
|
+
/**
|
|
1424
|
+
* See [`Pallet::apply_authorized_upgrade`].
|
|
1425
|
+
**/
|
|
1426
|
+
| { name: 'ApplyAuthorizedUpgrade'; params: { code: BytesLike } };
|
|
1496
1427
|
|
|
1497
1428
|
/**
|
|
1498
1429
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -1579,13 +1510,21 @@ export type PalletRootTestingCall =
|
|
|
1579
1510
|
/**
|
|
1580
1511
|
* See `Pallet::fill_block`.
|
|
1581
1512
|
**/
|
|
1582
|
-
{ name: 'FillBlock'; params: { ratio: Perbill } }
|
|
1513
|
+
| { name: 'FillBlock'; params: { ratio: Perbill } }
|
|
1514
|
+
/**
|
|
1515
|
+
* See `Pallet::trigger_defensive`.
|
|
1516
|
+
**/
|
|
1517
|
+
| { name: 'TriggerDefensive' };
|
|
1583
1518
|
|
|
1584
1519
|
export type PalletRootTestingCallLike =
|
|
1585
1520
|
/**
|
|
1586
1521
|
* See `Pallet::fill_block`.
|
|
1587
1522
|
**/
|
|
1588
|
-
{ name: 'FillBlock'; params: { ratio: Perbill } }
|
|
1523
|
+
| { name: 'FillBlock'; params: { ratio: Perbill } }
|
|
1524
|
+
/**
|
|
1525
|
+
* See `Pallet::trigger_defensive`.
|
|
1526
|
+
**/
|
|
1527
|
+
| { name: 'TriggerDefensive' };
|
|
1589
1528
|
|
|
1590
1529
|
/**
|
|
1591
1530
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -1618,7 +1557,11 @@ export type PalletBalancesCall =
|
|
|
1618
1557
|
/**
|
|
1619
1558
|
* See [`Pallet::force_set_balance`].
|
|
1620
1559
|
**/
|
|
1621
|
-
| { name: 'ForceSetBalance'; params: { who: AccountId20; newFree: bigint } }
|
|
1560
|
+
| { name: 'ForceSetBalance'; params: { who: AccountId20; newFree: bigint } }
|
|
1561
|
+
/**
|
|
1562
|
+
* See [`Pallet::force_adjust_total_issuance`].
|
|
1563
|
+
**/
|
|
1564
|
+
| { name: 'ForceAdjustTotalIssuance'; params: { direction: PalletBalancesAdjustmentDirection; delta: bigint } };
|
|
1622
1565
|
|
|
1623
1566
|
export type PalletBalancesCallLike =
|
|
1624
1567
|
/**
|
|
@@ -1648,7 +1591,13 @@ export type PalletBalancesCallLike =
|
|
|
1648
1591
|
/**
|
|
1649
1592
|
* See [`Pallet::force_set_balance`].
|
|
1650
1593
|
**/
|
|
1651
|
-
| { name: 'ForceSetBalance'; params: { who: AccountId20Like; newFree: bigint } }
|
|
1594
|
+
| { name: 'ForceSetBalance'; params: { who: AccountId20Like; newFree: bigint } }
|
|
1595
|
+
/**
|
|
1596
|
+
* See [`Pallet::force_adjust_total_issuance`].
|
|
1597
|
+
**/
|
|
1598
|
+
| { name: 'ForceAdjustTotalIssuance'; params: { direction: PalletBalancesAdjustmentDirection; delta: bigint } };
|
|
1599
|
+
|
|
1600
|
+
export type PalletBalancesAdjustmentDirection = 'Increase' | 'Decrease';
|
|
1652
1601
|
|
|
1653
1602
|
/**
|
|
1654
1603
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -2157,113 +2106,101 @@ export type PalletUtilityCallLike =
|
|
|
2157
2106
|
| { name: 'WithWeight'; params: { call: MoonbeamRuntimeRuntimeCallLike; weight: SpWeightsWeightV2Weight } };
|
|
2158
2107
|
|
|
2159
2108
|
export type MoonbeamRuntimeOriginCaller =
|
|
2160
|
-
| {
|
|
2161
|
-
| {
|
|
2162
|
-
| {
|
|
2163
|
-
| {
|
|
2164
|
-
| {
|
|
2165
|
-
| {
|
|
2166
|
-
| {
|
|
2167
|
-
| {
|
|
2168
|
-
| {
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2109
|
+
| { type: 'System'; value: FrameSupportDispatchRawOrigin }
|
|
2110
|
+
| { type: 'Ethereum'; value: PalletEthereumRawOrigin }
|
|
2111
|
+
| { type: 'Origins'; value: MoonbeamRuntimeGovernanceOriginsCustomOriginsOrigin }
|
|
2112
|
+
| { type: 'TreasuryCouncilCollective'; value: PalletCollectiveRawOrigin }
|
|
2113
|
+
| { type: 'OpenTechCommitteeCollective'; value: PalletCollectiveRawOrigin }
|
|
2114
|
+
| { type: 'CumulusXcm'; value: CumulusPalletXcmOrigin }
|
|
2115
|
+
| { type: 'PolkadotXcm'; value: PalletXcmOrigin }
|
|
2116
|
+
| { type: 'EthereumXcm'; value: PalletEthereumXcmRawOrigin }
|
|
2117
|
+
| { type: 'Void'; value: SpCoreVoid };
|
|
2118
|
+
|
|
2119
|
+
export type FrameSupportDispatchRawOrigin =
|
|
2120
|
+
| { type: 'Root' }
|
|
2121
|
+
| { type: 'Signed'; value: AccountId20 }
|
|
2122
|
+
| { type: 'None' };
|
|
2123
|
+
|
|
2124
|
+
export type PalletEthereumRawOrigin = { type: 'EthereumTransaction'; value: H160 };
|
|
2175
2125
|
|
|
2176
2126
|
export type MoonbeamRuntimeGovernanceOriginsCustomOriginsOrigin =
|
|
2177
2127
|
| 'WhitelistedCaller'
|
|
2178
2128
|
| 'GeneralAdmin'
|
|
2179
2129
|
| 'ReferendumCanceller'
|
|
2180
|
-
| 'ReferendumKiller'
|
|
2130
|
+
| 'ReferendumKiller'
|
|
2131
|
+
| 'FastGeneralAdmin';
|
|
2181
2132
|
|
|
2182
2133
|
export type PalletCollectiveRawOrigin =
|
|
2183
|
-
| {
|
|
2184
|
-
| {
|
|
2185
|
-
| {
|
|
2134
|
+
| { type: 'Members'; value: [number, number] }
|
|
2135
|
+
| { type: 'Member'; value: AccountId20 }
|
|
2136
|
+
| { type: 'Phantom' };
|
|
2186
2137
|
|
|
2187
2138
|
export type CumulusPalletXcmOrigin =
|
|
2188
|
-
| {
|
|
2189
|
-
| {
|
|
2139
|
+
| { type: 'Relay' }
|
|
2140
|
+
| { type: 'SiblingParachain'; value: PolkadotParachainPrimitivesPrimitivesId };
|
|
2190
2141
|
|
|
2191
2142
|
export type PalletXcmOrigin =
|
|
2192
|
-
| {
|
|
2193
|
-
| {
|
|
2194
|
-
|
|
2195
|
-
export type
|
|
2196
|
-
|
|
2197
|
-
export type
|
|
2198
|
-
| {
|
|
2199
|
-
| {
|
|
2200
|
-
| {
|
|
2201
|
-
| {
|
|
2202
|
-
| {
|
|
2203
|
-
| {
|
|
2204
|
-
| {
|
|
2205
|
-
| {
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
| {
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
| {
|
|
2225
|
-
| {
|
|
2226
|
-
| {
|
|
2227
|
-
| {
|
|
2228
|
-
| {
|
|
2229
|
-
| {
|
|
2230
|
-
| {
|
|
2231
|
-
| {
|
|
2232
|
-
| { tag: 'Plurality'; value: { id: XcmV3JunctionBodyId; part: XcmV3JunctionBodyPart } }
|
|
2233
|
-
| { tag: 'GlobalConsensus'; value: XcmV3JunctionNetworkId };
|
|
2234
|
-
|
|
2235
|
-
export type XcmV3JunctionNetworkId =
|
|
2236
|
-
| { tag: 'ByGenesis'; value: FixedBytes<32> }
|
|
2237
|
-
| { tag: 'ByFork'; value: { blockNumber: bigint; blockHash: FixedBytes<32> } }
|
|
2238
|
-
| { tag: 'Polkadot' }
|
|
2239
|
-
| { tag: 'Kusama' }
|
|
2240
|
-
| { tag: 'Westend' }
|
|
2241
|
-
| { tag: 'Rococo' }
|
|
2242
|
-
| { tag: 'Wococo' }
|
|
2243
|
-
| { tag: 'Ethereum'; value: { chainId: bigint } }
|
|
2244
|
-
| { tag: 'BitcoinCore' }
|
|
2245
|
-
| { tag: 'BitcoinCash' };
|
|
2143
|
+
| { type: 'Xcm'; value: StagingXcmV4Location }
|
|
2144
|
+
| { type: 'Response'; value: StagingXcmV4Location };
|
|
2145
|
+
|
|
2146
|
+
export type StagingXcmV4Location = { parents: number; interior: StagingXcmV4Junctions };
|
|
2147
|
+
|
|
2148
|
+
export type StagingXcmV4Junctions =
|
|
2149
|
+
| { type: 'Here' }
|
|
2150
|
+
| { type: 'X1'; value: FixedArray<StagingXcmV4Junction, 1> }
|
|
2151
|
+
| { type: 'X2'; value: FixedArray<StagingXcmV4Junction, 2> }
|
|
2152
|
+
| { type: 'X3'; value: FixedArray<StagingXcmV4Junction, 3> }
|
|
2153
|
+
| { type: 'X4'; value: FixedArray<StagingXcmV4Junction, 4> }
|
|
2154
|
+
| { type: 'X5'; value: FixedArray<StagingXcmV4Junction, 5> }
|
|
2155
|
+
| { type: 'X6'; value: FixedArray<StagingXcmV4Junction, 6> }
|
|
2156
|
+
| { type: 'X7'; value: FixedArray<StagingXcmV4Junction, 7> }
|
|
2157
|
+
| { type: 'X8'; value: FixedArray<StagingXcmV4Junction, 8> };
|
|
2158
|
+
|
|
2159
|
+
export type StagingXcmV4Junction =
|
|
2160
|
+
| { type: 'Parachain'; value: number }
|
|
2161
|
+
| { type: 'AccountId32'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; id: FixedBytes<32> } }
|
|
2162
|
+
| { type: 'AccountIndex64'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; index: bigint } }
|
|
2163
|
+
| { type: 'AccountKey20'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; key: FixedBytes<20> } }
|
|
2164
|
+
| { type: 'PalletInstance'; value: number }
|
|
2165
|
+
| { type: 'GeneralIndex'; value: bigint }
|
|
2166
|
+
| { type: 'GeneralKey'; value: { length: number; data: FixedBytes<32> } }
|
|
2167
|
+
| { type: 'OnlyChild' }
|
|
2168
|
+
| { type: 'Plurality'; value: { id: XcmV3JunctionBodyId; part: XcmV3JunctionBodyPart } }
|
|
2169
|
+
| { type: 'GlobalConsensus'; value: StagingXcmV4JunctionNetworkId };
|
|
2170
|
+
|
|
2171
|
+
export type StagingXcmV4JunctionNetworkId =
|
|
2172
|
+
| { type: 'ByGenesis'; value: FixedBytes<32> }
|
|
2173
|
+
| { type: 'ByFork'; value: { blockNumber: bigint; blockHash: FixedBytes<32> } }
|
|
2174
|
+
| { type: 'Polkadot' }
|
|
2175
|
+
| { type: 'Kusama' }
|
|
2176
|
+
| { type: 'Westend' }
|
|
2177
|
+
| { type: 'Rococo' }
|
|
2178
|
+
| { type: 'Wococo' }
|
|
2179
|
+
| { type: 'Ethereum'; value: { chainId: bigint } }
|
|
2180
|
+
| { type: 'BitcoinCore' }
|
|
2181
|
+
| { type: 'BitcoinCash' }
|
|
2182
|
+
| { type: 'PolkadotBulletin' };
|
|
2246
2183
|
|
|
2247
2184
|
export type XcmV3JunctionBodyId =
|
|
2248
|
-
| {
|
|
2249
|
-
| {
|
|
2250
|
-
| {
|
|
2251
|
-
| {
|
|
2252
|
-
| {
|
|
2253
|
-
| {
|
|
2254
|
-
| {
|
|
2255
|
-
| {
|
|
2256
|
-
| {
|
|
2257
|
-
| {
|
|
2185
|
+
| { type: 'Unit' }
|
|
2186
|
+
| { type: 'Moniker'; value: FixedBytes<4> }
|
|
2187
|
+
| { type: 'Index'; value: number }
|
|
2188
|
+
| { type: 'Executive' }
|
|
2189
|
+
| { type: 'Technical' }
|
|
2190
|
+
| { type: 'Legislative' }
|
|
2191
|
+
| { type: 'Judicial' }
|
|
2192
|
+
| { type: 'Defense' }
|
|
2193
|
+
| { type: 'Administration' }
|
|
2194
|
+
| { type: 'Treasury' };
|
|
2258
2195
|
|
|
2259
2196
|
export type XcmV3JunctionBodyPart =
|
|
2260
|
-
| {
|
|
2261
|
-
| {
|
|
2262
|
-
| {
|
|
2263
|
-
| {
|
|
2264
|
-
| {
|
|
2197
|
+
| { type: 'Voice' }
|
|
2198
|
+
| { type: 'Members'; value: { count: number } }
|
|
2199
|
+
| { type: 'Fraction'; value: { nom: number; denom: number } }
|
|
2200
|
+
| { type: 'AtLeastProportion'; value: { nom: number; denom: number } }
|
|
2201
|
+
| { type: 'MoreThanProportion'; value: { nom: number; denom: number } };
|
|
2265
2202
|
|
|
2266
|
-
export type PalletEthereumXcmRawOrigin = {
|
|
2203
|
+
export type PalletEthereumXcmRawOrigin = { type: 'XcmEthereumTransaction'; value: H160 };
|
|
2267
2204
|
|
|
2268
2205
|
export type SpCoreVoid = null;
|
|
2269
2206
|
|
|
@@ -2436,7 +2373,7 @@ export type PalletIdentityCall =
|
|
|
2436
2373
|
/**
|
|
2437
2374
|
* See [`Pallet::set_identity`].
|
|
2438
2375
|
**/
|
|
2439
|
-
| { name: 'SetIdentity'; params: { info:
|
|
2376
|
+
| { name: 'SetIdentity'; params: { info: PalletIdentityLegacyIdentityInfo } }
|
|
2440
2377
|
/**
|
|
2441
2378
|
* See [`Pallet::set_subs`].
|
|
2442
2379
|
**/
|
|
@@ -2464,7 +2401,7 @@ export type PalletIdentityCall =
|
|
|
2464
2401
|
/**
|
|
2465
2402
|
* See [`Pallet::set_fields`].
|
|
2466
2403
|
**/
|
|
2467
|
-
| { name: 'SetFields'; params: { index: number; fields:
|
|
2404
|
+
| { name: 'SetFields'; params: { index: number; fields: bigint } }
|
|
2468
2405
|
/**
|
|
2469
2406
|
* See [`Pallet::provide_judgement`].
|
|
2470
2407
|
**/
|
|
@@ -2491,7 +2428,38 @@ export type PalletIdentityCall =
|
|
|
2491
2428
|
/**
|
|
2492
2429
|
* See [`Pallet::quit_sub`].
|
|
2493
2430
|
**/
|
|
2494
|
-
| { name: 'QuitSub' }
|
|
2431
|
+
| { name: 'QuitSub' }
|
|
2432
|
+
/**
|
|
2433
|
+
* See [`Pallet::add_username_authority`].
|
|
2434
|
+
**/
|
|
2435
|
+
| { name: 'AddUsernameAuthority'; params: { authority: AccountId20; suffix: Bytes; allocation: number } }
|
|
2436
|
+
/**
|
|
2437
|
+
* See [`Pallet::remove_username_authority`].
|
|
2438
|
+
**/
|
|
2439
|
+
| { name: 'RemoveUsernameAuthority'; params: { authority: AccountId20 } }
|
|
2440
|
+
/**
|
|
2441
|
+
* See [`Pallet::set_username_for`].
|
|
2442
|
+
**/
|
|
2443
|
+
| {
|
|
2444
|
+
name: 'SetUsernameFor';
|
|
2445
|
+
params: { who: AccountId20; username: Bytes; signature?: AccountEthereumSignature | undefined };
|
|
2446
|
+
}
|
|
2447
|
+
/**
|
|
2448
|
+
* See [`Pallet::accept_username`].
|
|
2449
|
+
**/
|
|
2450
|
+
| { name: 'AcceptUsername'; params: { username: Bytes } }
|
|
2451
|
+
/**
|
|
2452
|
+
* See [`Pallet::remove_expired_approval`].
|
|
2453
|
+
**/
|
|
2454
|
+
| { name: 'RemoveExpiredApproval'; params: { username: Bytes } }
|
|
2455
|
+
/**
|
|
2456
|
+
* See [`Pallet::set_primary_username`].
|
|
2457
|
+
**/
|
|
2458
|
+
| { name: 'SetPrimaryUsername'; params: { username: Bytes } }
|
|
2459
|
+
/**
|
|
2460
|
+
* See [`Pallet::remove_dangling_username`].
|
|
2461
|
+
**/
|
|
2462
|
+
| { name: 'RemoveDanglingUsername'; params: { username: Bytes } };
|
|
2495
2463
|
|
|
2496
2464
|
export type PalletIdentityCallLike =
|
|
2497
2465
|
/**
|
|
@@ -2501,7 +2469,7 @@ export type PalletIdentityCallLike =
|
|
|
2501
2469
|
/**
|
|
2502
2470
|
* See [`Pallet::set_identity`].
|
|
2503
2471
|
**/
|
|
2504
|
-
| { name: 'SetIdentity'; params: { info:
|
|
2472
|
+
| { name: 'SetIdentity'; params: { info: PalletIdentityLegacyIdentityInfo } }
|
|
2505
2473
|
/**
|
|
2506
2474
|
* See [`Pallet::set_subs`].
|
|
2507
2475
|
**/
|
|
@@ -2529,7 +2497,7 @@ export type PalletIdentityCallLike =
|
|
|
2529
2497
|
/**
|
|
2530
2498
|
* See [`Pallet::set_fields`].
|
|
2531
2499
|
**/
|
|
2532
|
-
| { name: 'SetFields'; params: { index: number; fields:
|
|
2500
|
+
| { name: 'SetFields'; params: { index: number; fields: bigint } }
|
|
2533
2501
|
/**
|
|
2534
2502
|
* See [`Pallet::provide_judgement`].
|
|
2535
2503
|
**/
|
|
@@ -2556,9 +2524,40 @@ export type PalletIdentityCallLike =
|
|
|
2556
2524
|
/**
|
|
2557
2525
|
* See [`Pallet::quit_sub`].
|
|
2558
2526
|
**/
|
|
2559
|
-
| { name: 'QuitSub' }
|
|
2527
|
+
| { name: 'QuitSub' }
|
|
2528
|
+
/**
|
|
2529
|
+
* See [`Pallet::add_username_authority`].
|
|
2530
|
+
**/
|
|
2531
|
+
| { name: 'AddUsernameAuthority'; params: { authority: AccountId20Like; suffix: BytesLike; allocation: number } }
|
|
2532
|
+
/**
|
|
2533
|
+
* See [`Pallet::remove_username_authority`].
|
|
2534
|
+
**/
|
|
2535
|
+
| { name: 'RemoveUsernameAuthority'; params: { authority: AccountId20Like } }
|
|
2536
|
+
/**
|
|
2537
|
+
* See [`Pallet::set_username_for`].
|
|
2538
|
+
**/
|
|
2539
|
+
| {
|
|
2540
|
+
name: 'SetUsernameFor';
|
|
2541
|
+
params: { who: AccountId20Like; username: BytesLike; signature?: AccountEthereumSignature | undefined };
|
|
2542
|
+
}
|
|
2543
|
+
/**
|
|
2544
|
+
* See [`Pallet::accept_username`].
|
|
2545
|
+
**/
|
|
2546
|
+
| { name: 'AcceptUsername'; params: { username: BytesLike } }
|
|
2547
|
+
/**
|
|
2548
|
+
* See [`Pallet::remove_expired_approval`].
|
|
2549
|
+
**/
|
|
2550
|
+
| { name: 'RemoveExpiredApproval'; params: { username: BytesLike } }
|
|
2551
|
+
/**
|
|
2552
|
+
* See [`Pallet::set_primary_username`].
|
|
2553
|
+
**/
|
|
2554
|
+
| { name: 'SetPrimaryUsername'; params: { username: BytesLike } }
|
|
2555
|
+
/**
|
|
2556
|
+
* See [`Pallet::remove_dangling_username`].
|
|
2557
|
+
**/
|
|
2558
|
+
| { name: 'RemoveDanglingUsername'; params: { username: BytesLike } };
|
|
2560
2559
|
|
|
2561
|
-
export type
|
|
2560
|
+
export type PalletIdentityLegacyIdentityInfo = {
|
|
2562
2561
|
additional: Array<[Data, Data]>;
|
|
2563
2562
|
display: Data;
|
|
2564
2563
|
legal: Data;
|
|
@@ -2570,26 +2569,18 @@ export type PalletIdentitySimpleIdentityInfo = {
|
|
|
2570
2569
|
twitter: Data;
|
|
2571
2570
|
};
|
|
2572
2571
|
|
|
2573
|
-
export type
|
|
2572
|
+
export type PalletIdentityJudgement =
|
|
2573
|
+
| { type: 'Unknown' }
|
|
2574
|
+
| { type: 'FeePaid'; value: bigint }
|
|
2575
|
+
| { type: 'Reasonable' }
|
|
2576
|
+
| { type: 'KnownGood' }
|
|
2577
|
+
| { type: 'OutOfDate' }
|
|
2578
|
+
| { type: 'LowQuality' }
|
|
2579
|
+
| { type: 'Erroneous' };
|
|
2574
2580
|
|
|
2575
|
-
export type
|
|
2576
|
-
| 'Display'
|
|
2577
|
-
| 'Legal'
|
|
2578
|
-
| 'Web'
|
|
2579
|
-
| 'Riot'
|
|
2580
|
-
| 'Email'
|
|
2581
|
-
| 'PgpFingerprint'
|
|
2582
|
-
| 'Image'
|
|
2583
|
-
| 'Twitter';
|
|
2581
|
+
export type AccountEthereumSignature = SpCoreEcdsaSignature;
|
|
2584
2582
|
|
|
2585
|
-
export type
|
|
2586
|
-
| { tag: 'Unknown' }
|
|
2587
|
-
| { tag: 'FeePaid'; value: bigint }
|
|
2588
|
-
| { tag: 'Reasonable' }
|
|
2589
|
-
| { tag: 'KnownGood' }
|
|
2590
|
-
| { tag: 'OutOfDate' }
|
|
2591
|
-
| { tag: 'LowQuality' }
|
|
2592
|
-
| { tag: 'Erroneous' };
|
|
2583
|
+
export type SpCoreEcdsaSignature = FixedBytes<65>;
|
|
2593
2584
|
|
|
2594
2585
|
/**
|
|
2595
2586
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -2685,6 +2676,21 @@ export type PalletMultisigCallLike =
|
|
|
2685
2676
|
};
|
|
2686
2677
|
};
|
|
2687
2678
|
|
|
2679
|
+
/**
|
|
2680
|
+
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
2681
|
+
**/
|
|
2682
|
+
export type PalletMoonbeamLazyMigrationsCall =
|
|
2683
|
+
/**
|
|
2684
|
+
* See [`Pallet::clear_suicided_storage`].
|
|
2685
|
+
**/
|
|
2686
|
+
{ name: 'ClearSuicidedStorage'; params: { addresses: Array<H160>; limit: number } };
|
|
2687
|
+
|
|
2688
|
+
export type PalletMoonbeamLazyMigrationsCallLike =
|
|
2689
|
+
/**
|
|
2690
|
+
* See [`Pallet::clear_suicided_storage`].
|
|
2691
|
+
**/
|
|
2692
|
+
{ name: 'ClearSuicidedStorage'; params: { addresses: Array<H160>; limit: number } };
|
|
2693
|
+
|
|
2688
2694
|
/**
|
|
2689
2695
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
2690
2696
|
**/
|
|
@@ -2816,9 +2822,9 @@ export type PalletEthereumCallLike =
|
|
|
2816
2822
|
{ name: 'Transact'; params: { transaction: EthereumTransactionTransactionV2 } };
|
|
2817
2823
|
|
|
2818
2824
|
export type EthereumTransactionTransactionV2 =
|
|
2819
|
-
| {
|
|
2820
|
-
| {
|
|
2821
|
-
| {
|
|
2825
|
+
| { type: 'Legacy'; value: EthereumTransactionLegacyTransaction }
|
|
2826
|
+
| { type: 'Eip2930'; value: EthereumTransactionEip2930Transaction }
|
|
2827
|
+
| { type: 'Eip1559'; value: EthereumTransactionEip1559Transaction };
|
|
2822
2828
|
|
|
2823
2829
|
export type EthereumTransactionLegacyTransaction = {
|
|
2824
2830
|
nonce: U256;
|
|
@@ -2830,7 +2836,7 @@ export type EthereumTransactionLegacyTransaction = {
|
|
|
2830
2836
|
signature: EthereumTransactionTransactionSignature;
|
|
2831
2837
|
};
|
|
2832
2838
|
|
|
2833
|
-
export type EthereumTransactionTransactionAction = {
|
|
2839
|
+
export type EthereumTransactionTransactionAction = { type: 'Call'; value: H160 } | { type: 'Create' };
|
|
2834
2840
|
|
|
2835
2841
|
export type EthereumTransactionTransactionSignature = { v: EthereumTransactionTransactionRecoveryId; r: H256; s: H256 };
|
|
2836
2842
|
|
|
@@ -2993,266 +2999,98 @@ export type PalletSchedulerCallLike =
|
|
|
2993
2999
|
/**
|
|
2994
3000
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
2995
3001
|
**/
|
|
2996
|
-
export type
|
|
3002
|
+
export type PalletPreimageCall =
|
|
2997
3003
|
/**
|
|
2998
|
-
* See [`Pallet::
|
|
3004
|
+
* See [`Pallet::note_preimage`].
|
|
2999
3005
|
**/
|
|
3000
|
-
| { name: '
|
|
3006
|
+
| { name: 'NotePreimage'; params: { bytes: Bytes } }
|
|
3001
3007
|
/**
|
|
3002
|
-
* See [`Pallet::
|
|
3008
|
+
* See [`Pallet::unnote_preimage`].
|
|
3003
3009
|
**/
|
|
3004
|
-
| { name: '
|
|
3010
|
+
| { name: 'UnnotePreimage'; params: { hash: H256 } }
|
|
3005
3011
|
/**
|
|
3006
|
-
* See [`Pallet::
|
|
3012
|
+
* See [`Pallet::request_preimage`].
|
|
3013
|
+
**/
|
|
3014
|
+
| { name: 'RequestPreimage'; params: { hash: H256 } }
|
|
3015
|
+
/**
|
|
3016
|
+
* See [`Pallet::unrequest_preimage`].
|
|
3007
3017
|
**/
|
|
3008
|
-
| { name: '
|
|
3018
|
+
| { name: 'UnrequestPreimage'; params: { hash: H256 } }
|
|
3009
3019
|
/**
|
|
3010
|
-
* See [`Pallet::
|
|
3020
|
+
* See [`Pallet::ensure_updated`].
|
|
3011
3021
|
**/
|
|
3012
|
-
| { name: '
|
|
3022
|
+
| { name: 'EnsureUpdated'; params: { hashes: Array<H256> } };
|
|
3023
|
+
|
|
3024
|
+
export type PalletPreimageCallLike =
|
|
3013
3025
|
/**
|
|
3014
|
-
* See [`Pallet::
|
|
3026
|
+
* See [`Pallet::note_preimage`].
|
|
3015
3027
|
**/
|
|
3016
|
-
| { name: '
|
|
3028
|
+
| { name: 'NotePreimage'; params: { bytes: BytesLike } }
|
|
3017
3029
|
/**
|
|
3018
|
-
* See [`Pallet::
|
|
3030
|
+
* See [`Pallet::unnote_preimage`].
|
|
3019
3031
|
**/
|
|
3020
|
-
| { name: '
|
|
3032
|
+
| { name: 'UnnotePreimage'; params: { hash: H256 } }
|
|
3021
3033
|
/**
|
|
3022
|
-
* See [`Pallet::
|
|
3034
|
+
* See [`Pallet::request_preimage`].
|
|
3023
3035
|
**/
|
|
3024
|
-
| { name: '
|
|
3036
|
+
| { name: 'RequestPreimage'; params: { hash: H256 } }
|
|
3025
3037
|
/**
|
|
3026
|
-
* See [`Pallet::
|
|
3038
|
+
* See [`Pallet::unrequest_preimage`].
|
|
3027
3039
|
**/
|
|
3028
|
-
| { name: '
|
|
3040
|
+
| { name: 'UnrequestPreimage'; params: { hash: H256 } }
|
|
3029
3041
|
/**
|
|
3030
|
-
* See [`Pallet::
|
|
3042
|
+
* See [`Pallet::ensure_updated`].
|
|
3031
3043
|
**/
|
|
3032
|
-
| { name: '
|
|
3044
|
+
| { name: 'EnsureUpdated'; params: { hashes: Array<H256> } };
|
|
3045
|
+
|
|
3046
|
+
/**
|
|
3047
|
+
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
3048
|
+
**/
|
|
3049
|
+
export type PalletConvictionVotingCall =
|
|
3033
3050
|
/**
|
|
3034
|
-
* See [`Pallet::
|
|
3051
|
+
* See [`Pallet::vote`].
|
|
3035
3052
|
**/
|
|
3036
|
-
| { name: '
|
|
3053
|
+
| { name: 'Vote'; params: { pollIndex: number; vote: PalletConvictionVotingVoteAccountVote } }
|
|
3037
3054
|
/**
|
|
3038
3055
|
* See [`Pallet::delegate`].
|
|
3039
3056
|
**/
|
|
3040
|
-
| {
|
|
3057
|
+
| {
|
|
3058
|
+
name: 'Delegate';
|
|
3059
|
+
params: { class: number; to: AccountId20; conviction: PalletConvictionVotingConviction; balance: bigint };
|
|
3060
|
+
}
|
|
3041
3061
|
/**
|
|
3042
3062
|
* See [`Pallet::undelegate`].
|
|
3043
3063
|
**/
|
|
3044
|
-
| { name: 'Undelegate' }
|
|
3045
|
-
/**
|
|
3046
|
-
* See [`Pallet::clear_public_proposals`].
|
|
3047
|
-
**/
|
|
3048
|
-
| { name: 'ClearPublicProposals' }
|
|
3064
|
+
| { name: 'Undelegate'; params: { class: number } }
|
|
3049
3065
|
/**
|
|
3050
3066
|
* See [`Pallet::unlock`].
|
|
3051
3067
|
**/
|
|
3052
|
-
| { name: 'Unlock'; params: { target: AccountId20 } }
|
|
3068
|
+
| { name: 'Unlock'; params: { class: number; target: AccountId20 } }
|
|
3053
3069
|
/**
|
|
3054
3070
|
* See [`Pallet::remove_vote`].
|
|
3055
3071
|
**/
|
|
3056
|
-
| { name: 'RemoveVote'; params: { index: number } }
|
|
3072
|
+
| { name: 'RemoveVote'; params: { class?: number | undefined; index: number } }
|
|
3057
3073
|
/**
|
|
3058
3074
|
* See [`Pallet::remove_other_vote`].
|
|
3059
3075
|
**/
|
|
3060
|
-
| { name: 'RemoveOtherVote'; params: { target: AccountId20; index: number } }
|
|
3076
|
+
| { name: 'RemoveOtherVote'; params: { target: AccountId20; class: number; index: number } };
|
|
3077
|
+
|
|
3078
|
+
export type PalletConvictionVotingCallLike =
|
|
3061
3079
|
/**
|
|
3062
|
-
* See [`Pallet::
|
|
3080
|
+
* See [`Pallet::vote`].
|
|
3063
3081
|
**/
|
|
3064
|
-
| { name: '
|
|
3082
|
+
| { name: 'Vote'; params: { pollIndex: number; vote: PalletConvictionVotingVoteAccountVote } }
|
|
3065
3083
|
/**
|
|
3066
|
-
* See [`Pallet::
|
|
3084
|
+
* See [`Pallet::delegate`].
|
|
3067
3085
|
**/
|
|
3068
|
-
| {
|
|
3086
|
+
| {
|
|
3087
|
+
name: 'Delegate';
|
|
3088
|
+
params: { class: number; to: AccountId20Like; conviction: PalletConvictionVotingConviction; balance: bigint };
|
|
3089
|
+
}
|
|
3069
3090
|
/**
|
|
3070
|
-
* See [`Pallet::
|
|
3091
|
+
* See [`Pallet::undelegate`].
|
|
3071
3092
|
**/
|
|
3072
|
-
| { name: '
|
|
3073
|
-
|
|
3074
|
-
export type PalletDemocracyCallLike =
|
|
3075
|
-
/**
|
|
3076
|
-
* See [`Pallet::propose`].
|
|
3077
|
-
**/
|
|
3078
|
-
| { name: 'Propose'; params: { proposal: FrameSupportPreimagesBounded; value: bigint } }
|
|
3079
|
-
/**
|
|
3080
|
-
* See [`Pallet::second`].
|
|
3081
|
-
**/
|
|
3082
|
-
| { name: 'Second'; params: { proposal: number } }
|
|
3083
|
-
/**
|
|
3084
|
-
* See [`Pallet::vote`].
|
|
3085
|
-
**/
|
|
3086
|
-
| { name: 'Vote'; params: { refIndex: number; vote: PalletDemocracyVoteAccountVote } }
|
|
3087
|
-
/**
|
|
3088
|
-
* See [`Pallet::emergency_cancel`].
|
|
3089
|
-
**/
|
|
3090
|
-
| { name: 'EmergencyCancel'; params: { refIndex: number } }
|
|
3091
|
-
/**
|
|
3092
|
-
* See [`Pallet::external_propose`].
|
|
3093
|
-
**/
|
|
3094
|
-
| { name: 'ExternalPropose'; params: { proposal: FrameSupportPreimagesBounded } }
|
|
3095
|
-
/**
|
|
3096
|
-
* See [`Pallet::external_propose_majority`].
|
|
3097
|
-
**/
|
|
3098
|
-
| { name: 'ExternalProposeMajority'; params: { proposal: FrameSupportPreimagesBounded } }
|
|
3099
|
-
/**
|
|
3100
|
-
* See [`Pallet::external_propose_default`].
|
|
3101
|
-
**/
|
|
3102
|
-
| { name: 'ExternalProposeDefault'; params: { proposal: FrameSupportPreimagesBounded } }
|
|
3103
|
-
/**
|
|
3104
|
-
* See [`Pallet::fast_track`].
|
|
3105
|
-
**/
|
|
3106
|
-
| { name: 'FastTrack'; params: { proposalHash: H256; votingPeriod: number; delay: number } }
|
|
3107
|
-
/**
|
|
3108
|
-
* See [`Pallet::veto_external`].
|
|
3109
|
-
**/
|
|
3110
|
-
| { name: 'VetoExternal'; params: { proposalHash: H256 } }
|
|
3111
|
-
/**
|
|
3112
|
-
* See [`Pallet::cancel_referendum`].
|
|
3113
|
-
**/
|
|
3114
|
-
| { name: 'CancelReferendum'; params: { refIndex: number } }
|
|
3115
|
-
/**
|
|
3116
|
-
* See [`Pallet::delegate`].
|
|
3117
|
-
**/
|
|
3118
|
-
| { name: 'Delegate'; params: { to: AccountId20Like; conviction: PalletDemocracyConviction; balance: bigint } }
|
|
3119
|
-
/**
|
|
3120
|
-
* See [`Pallet::undelegate`].
|
|
3121
|
-
**/
|
|
3122
|
-
| { name: 'Undelegate' }
|
|
3123
|
-
/**
|
|
3124
|
-
* See [`Pallet::clear_public_proposals`].
|
|
3125
|
-
**/
|
|
3126
|
-
| { name: 'ClearPublicProposals' }
|
|
3127
|
-
/**
|
|
3128
|
-
* See [`Pallet::unlock`].
|
|
3129
|
-
**/
|
|
3130
|
-
| { name: 'Unlock'; params: { target: AccountId20Like } }
|
|
3131
|
-
/**
|
|
3132
|
-
* See [`Pallet::remove_vote`].
|
|
3133
|
-
**/
|
|
3134
|
-
| { name: 'RemoveVote'; params: { index: number } }
|
|
3135
|
-
/**
|
|
3136
|
-
* See [`Pallet::remove_other_vote`].
|
|
3137
|
-
**/
|
|
3138
|
-
| { name: 'RemoveOtherVote'; params: { target: AccountId20Like; index: number } }
|
|
3139
|
-
/**
|
|
3140
|
-
* See [`Pallet::blacklist`].
|
|
3141
|
-
**/
|
|
3142
|
-
| { name: 'Blacklist'; params: { proposalHash: H256; maybeRefIndex?: number | undefined } }
|
|
3143
|
-
/**
|
|
3144
|
-
* See [`Pallet::cancel_proposal`].
|
|
3145
|
-
**/
|
|
3146
|
-
| { name: 'CancelProposal'; params: { propIndex: number } }
|
|
3147
|
-
/**
|
|
3148
|
-
* See [`Pallet::set_metadata`].
|
|
3149
|
-
**/
|
|
3150
|
-
| { name: 'SetMetadata'; params: { owner: PalletDemocracyMetadataOwner; maybeHash?: H256 | undefined } };
|
|
3151
|
-
|
|
3152
|
-
export type PalletDemocracyConviction =
|
|
3153
|
-
| 'None'
|
|
3154
|
-
| 'Locked1x'
|
|
3155
|
-
| 'Locked2x'
|
|
3156
|
-
| 'Locked3x'
|
|
3157
|
-
| 'Locked4x'
|
|
3158
|
-
| 'Locked5x'
|
|
3159
|
-
| 'Locked6x';
|
|
3160
|
-
|
|
3161
|
-
/**
|
|
3162
|
-
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
3163
|
-
**/
|
|
3164
|
-
export type PalletPreimageCall =
|
|
3165
|
-
/**
|
|
3166
|
-
* See [`Pallet::note_preimage`].
|
|
3167
|
-
**/
|
|
3168
|
-
| { name: 'NotePreimage'; params: { bytes: Bytes } }
|
|
3169
|
-
/**
|
|
3170
|
-
* See [`Pallet::unnote_preimage`].
|
|
3171
|
-
**/
|
|
3172
|
-
| { name: 'UnnotePreimage'; params: { hash: H256 } }
|
|
3173
|
-
/**
|
|
3174
|
-
* See [`Pallet::request_preimage`].
|
|
3175
|
-
**/
|
|
3176
|
-
| { name: 'RequestPreimage'; params: { hash: H256 } }
|
|
3177
|
-
/**
|
|
3178
|
-
* See [`Pallet::unrequest_preimage`].
|
|
3179
|
-
**/
|
|
3180
|
-
| { name: 'UnrequestPreimage'; params: { hash: H256 } }
|
|
3181
|
-
/**
|
|
3182
|
-
* See [`Pallet::ensure_updated`].
|
|
3183
|
-
**/
|
|
3184
|
-
| { name: 'EnsureUpdated'; params: { hashes: Array<H256> } };
|
|
3185
|
-
|
|
3186
|
-
export type PalletPreimageCallLike =
|
|
3187
|
-
/**
|
|
3188
|
-
* See [`Pallet::note_preimage`].
|
|
3189
|
-
**/
|
|
3190
|
-
| { name: 'NotePreimage'; params: { bytes: BytesLike } }
|
|
3191
|
-
/**
|
|
3192
|
-
* See [`Pallet::unnote_preimage`].
|
|
3193
|
-
**/
|
|
3194
|
-
| { name: 'UnnotePreimage'; params: { hash: H256 } }
|
|
3195
|
-
/**
|
|
3196
|
-
* See [`Pallet::request_preimage`].
|
|
3197
|
-
**/
|
|
3198
|
-
| { name: 'RequestPreimage'; params: { hash: H256 } }
|
|
3199
|
-
/**
|
|
3200
|
-
* See [`Pallet::unrequest_preimage`].
|
|
3201
|
-
**/
|
|
3202
|
-
| { name: 'UnrequestPreimage'; params: { hash: H256 } }
|
|
3203
|
-
/**
|
|
3204
|
-
* See [`Pallet::ensure_updated`].
|
|
3205
|
-
**/
|
|
3206
|
-
| { name: 'EnsureUpdated'; params: { hashes: Array<H256> } };
|
|
3207
|
-
|
|
3208
|
-
/**
|
|
3209
|
-
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
3210
|
-
**/
|
|
3211
|
-
export type PalletConvictionVotingCall =
|
|
3212
|
-
/**
|
|
3213
|
-
* See [`Pallet::vote`].
|
|
3214
|
-
**/
|
|
3215
|
-
| { name: 'Vote'; params: { pollIndex: number; vote: PalletConvictionVotingVoteAccountVote } }
|
|
3216
|
-
/**
|
|
3217
|
-
* See [`Pallet::delegate`].
|
|
3218
|
-
**/
|
|
3219
|
-
| {
|
|
3220
|
-
name: 'Delegate';
|
|
3221
|
-
params: { class: number; to: AccountId20; conviction: PalletConvictionVotingConviction; balance: bigint };
|
|
3222
|
-
}
|
|
3223
|
-
/**
|
|
3224
|
-
* See [`Pallet::undelegate`].
|
|
3225
|
-
**/
|
|
3226
|
-
| { name: 'Undelegate'; params: { class: number } }
|
|
3227
|
-
/**
|
|
3228
|
-
* See [`Pallet::unlock`].
|
|
3229
|
-
**/
|
|
3230
|
-
| { name: 'Unlock'; params: { class: number; target: AccountId20 } }
|
|
3231
|
-
/**
|
|
3232
|
-
* See [`Pallet::remove_vote`].
|
|
3233
|
-
**/
|
|
3234
|
-
| { name: 'RemoveVote'; params: { class?: number | undefined; index: number } }
|
|
3235
|
-
/**
|
|
3236
|
-
* See [`Pallet::remove_other_vote`].
|
|
3237
|
-
**/
|
|
3238
|
-
| { name: 'RemoveOtherVote'; params: { target: AccountId20; class: number; index: number } };
|
|
3239
|
-
|
|
3240
|
-
export type PalletConvictionVotingCallLike =
|
|
3241
|
-
/**
|
|
3242
|
-
* See [`Pallet::vote`].
|
|
3243
|
-
**/
|
|
3244
|
-
| { name: 'Vote'; params: { pollIndex: number; vote: PalletConvictionVotingVoteAccountVote } }
|
|
3245
|
-
/**
|
|
3246
|
-
* See [`Pallet::delegate`].
|
|
3247
|
-
**/
|
|
3248
|
-
| {
|
|
3249
|
-
name: 'Delegate';
|
|
3250
|
-
params: { class: number; to: AccountId20Like; conviction: PalletConvictionVotingConviction; balance: bigint };
|
|
3251
|
-
}
|
|
3252
|
-
/**
|
|
3253
|
-
* See [`Pallet::undelegate`].
|
|
3254
|
-
**/
|
|
3255
|
-
| { name: 'Undelegate'; params: { class: number } }
|
|
3093
|
+
| { name: 'Undelegate'; params: { class: number } }
|
|
3256
3094
|
/**
|
|
3257
3095
|
* See [`Pallet::unlock`].
|
|
3258
3096
|
**/
|
|
@@ -3267,9 +3105,9 @@ export type PalletConvictionVotingCallLike =
|
|
|
3267
3105
|
| { name: 'RemoveOtherVote'; params: { target: AccountId20Like; class: number; index: number } };
|
|
3268
3106
|
|
|
3269
3107
|
export type PalletConvictionVotingVoteAccountVote =
|
|
3270
|
-
| {
|
|
3271
|
-
| {
|
|
3272
|
-
| {
|
|
3108
|
+
| { type: 'Standard'; value: { vote: PalletConvictionVotingVote; balance: bigint } }
|
|
3109
|
+
| { type: 'Split'; value: { aye: bigint; nay: bigint } }
|
|
3110
|
+
| { type: 'SplitAbstain'; value: { aye: bigint; nay: bigint; abstain: bigint } };
|
|
3273
3111
|
|
|
3274
3112
|
export type PalletConvictionVotingVote = number;
|
|
3275
3113
|
|
|
@@ -3375,7 +3213,7 @@ export type PalletReferendaCallLike =
|
|
|
3375
3213
|
**/
|
|
3376
3214
|
| { name: 'SetMetadata'; params: { index: number; maybeHash?: H256 | undefined } };
|
|
3377
3215
|
|
|
3378
|
-
export type FrameSupportScheduleDispatchTime = {
|
|
3216
|
+
export type FrameSupportScheduleDispatchTime = { type: 'At'; value: number } | { type: 'After'; value: number };
|
|
3379
3217
|
|
|
3380
3218
|
/**
|
|
3381
3219
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -3650,30 +3488,20 @@ export type PalletCrowdloanRewardsCallLike =
|
|
|
3650
3488
|
| { name: 'InitializeRewardVec'; params: { rewards: Array<[FixedBytes<32>, AccountId20Like | undefined, bigint]> } };
|
|
3651
3489
|
|
|
3652
3490
|
export type SpRuntimeMultiSignature =
|
|
3653
|
-
| {
|
|
3654
|
-
| {
|
|
3655
|
-
| {
|
|
3491
|
+
| { type: 'Ed25519'; value: SpCoreEd25519Signature }
|
|
3492
|
+
| { type: 'Sr25519'; value: SpCoreSr25519Signature }
|
|
3493
|
+
| { type: 'Ecdsa'; value: SpCoreEcdsaSignature };
|
|
3656
3494
|
|
|
3657
3495
|
export type SpCoreEd25519Signature = FixedBytes<64>;
|
|
3658
3496
|
|
|
3659
3497
|
export type SpCoreSr25519Signature = FixedBytes<64>;
|
|
3660
3498
|
|
|
3661
|
-
export type SpCoreEcdsaSignature = FixedBytes<65>;
|
|
3662
|
-
|
|
3663
3499
|
/**
|
|
3664
3500
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
3665
3501
|
**/
|
|
3666
|
-
export type CumulusPalletDmpQueueCall =
|
|
3667
|
-
/**
|
|
3668
|
-
* See [`Pallet::service_overweight`].
|
|
3669
|
-
**/
|
|
3670
|
-
{ name: 'ServiceOverweight'; params: { index: bigint; weightLimit: SpWeightsWeightV2Weight } };
|
|
3502
|
+
export type CumulusPalletDmpQueueCall = null;
|
|
3671
3503
|
|
|
3672
|
-
export type CumulusPalletDmpQueueCallLike =
|
|
3673
|
-
/**
|
|
3674
|
-
* See [`Pallet::service_overweight`].
|
|
3675
|
-
**/
|
|
3676
|
-
{ name: 'ServiceOverweight'; params: { index: bigint; weightLimit: SpWeightsWeightV2Weight } };
|
|
3504
|
+
export type CumulusPalletDmpQueueCallLike = null;
|
|
3677
3505
|
|
|
3678
3506
|
/**
|
|
3679
3507
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -3682,16 +3510,16 @@ export type PalletXcmCall =
|
|
|
3682
3510
|
/**
|
|
3683
3511
|
* See [`Pallet::send`].
|
|
3684
3512
|
**/
|
|
3685
|
-
| { name: 'Send'; params: { dest:
|
|
3513
|
+
| { name: 'Send'; params: { dest: XcmVersionedLocation; message: XcmVersionedXcm } }
|
|
3686
3514
|
/**
|
|
3687
3515
|
* See [`Pallet::teleport_assets`].
|
|
3688
3516
|
**/
|
|
3689
3517
|
| {
|
|
3690
3518
|
name: 'TeleportAssets';
|
|
3691
3519
|
params: {
|
|
3692
|
-
dest:
|
|
3693
|
-
beneficiary:
|
|
3694
|
-
assets:
|
|
3520
|
+
dest: XcmVersionedLocation;
|
|
3521
|
+
beneficiary: XcmVersionedLocation;
|
|
3522
|
+
assets: XcmVersionedAssets;
|
|
3695
3523
|
feeAssetItem: number;
|
|
3696
3524
|
};
|
|
3697
3525
|
}
|
|
@@ -3701,9 +3529,9 @@ export type PalletXcmCall =
|
|
|
3701
3529
|
| {
|
|
3702
3530
|
name: 'ReserveTransferAssets';
|
|
3703
3531
|
params: {
|
|
3704
|
-
dest:
|
|
3705
|
-
beneficiary:
|
|
3706
|
-
assets:
|
|
3532
|
+
dest: XcmVersionedLocation;
|
|
3533
|
+
beneficiary: XcmVersionedLocation;
|
|
3534
|
+
assets: XcmVersionedAssets;
|
|
3707
3535
|
feeAssetItem: number;
|
|
3708
3536
|
};
|
|
3709
3537
|
}
|
|
@@ -3714,7 +3542,7 @@ export type PalletXcmCall =
|
|
|
3714
3542
|
/**
|
|
3715
3543
|
* See [`Pallet::force_xcm_version`].
|
|
3716
3544
|
**/
|
|
3717
|
-
| { name: 'ForceXcmVersion'; params: { location:
|
|
3545
|
+
| { name: 'ForceXcmVersion'; params: { location: StagingXcmV4Location; version: number } }
|
|
3718
3546
|
/**
|
|
3719
3547
|
* See [`Pallet::force_default_xcm_version`].
|
|
3720
3548
|
**/
|
|
@@ -3722,20 +3550,20 @@ export type PalletXcmCall =
|
|
|
3722
3550
|
/**
|
|
3723
3551
|
* See [`Pallet::force_subscribe_version_notify`].
|
|
3724
3552
|
**/
|
|
3725
|
-
| { name: 'ForceSubscribeVersionNotify'; params: { location:
|
|
3553
|
+
| { name: 'ForceSubscribeVersionNotify'; params: { location: XcmVersionedLocation } }
|
|
3726
3554
|
/**
|
|
3727
3555
|
* See [`Pallet::force_unsubscribe_version_notify`].
|
|
3728
3556
|
**/
|
|
3729
|
-
| { name: 'ForceUnsubscribeVersionNotify'; params: { location:
|
|
3557
|
+
| { name: 'ForceUnsubscribeVersionNotify'; params: { location: XcmVersionedLocation } }
|
|
3730
3558
|
/**
|
|
3731
3559
|
* See [`Pallet::limited_reserve_transfer_assets`].
|
|
3732
3560
|
**/
|
|
3733
3561
|
| {
|
|
3734
3562
|
name: 'LimitedReserveTransferAssets';
|
|
3735
3563
|
params: {
|
|
3736
|
-
dest:
|
|
3737
|
-
beneficiary:
|
|
3738
|
-
assets:
|
|
3564
|
+
dest: XcmVersionedLocation;
|
|
3565
|
+
beneficiary: XcmVersionedLocation;
|
|
3566
|
+
assets: XcmVersionedAssets;
|
|
3739
3567
|
feeAssetItem: number;
|
|
3740
3568
|
weightLimit: XcmV3WeightLimit;
|
|
3741
3569
|
};
|
|
@@ -3746,9 +3574,9 @@ export type PalletXcmCall =
|
|
|
3746
3574
|
| {
|
|
3747
3575
|
name: 'LimitedTeleportAssets';
|
|
3748
3576
|
params: {
|
|
3749
|
-
dest:
|
|
3750
|
-
beneficiary:
|
|
3751
|
-
assets:
|
|
3577
|
+
dest: XcmVersionedLocation;
|
|
3578
|
+
beneficiary: XcmVersionedLocation;
|
|
3579
|
+
assets: XcmVersionedAssets;
|
|
3752
3580
|
feeAssetItem: number;
|
|
3753
3581
|
weightLimit: XcmV3WeightLimit;
|
|
3754
3582
|
};
|
|
@@ -3756,22 +3584,35 @@ export type PalletXcmCall =
|
|
|
3756
3584
|
/**
|
|
3757
3585
|
* See [`Pallet::force_suspension`].
|
|
3758
3586
|
**/
|
|
3759
|
-
| { name: 'ForceSuspension'; params: { suspended: boolean } }
|
|
3587
|
+
| { name: 'ForceSuspension'; params: { suspended: boolean } }
|
|
3588
|
+
/**
|
|
3589
|
+
* See [`Pallet::transfer_assets`].
|
|
3590
|
+
**/
|
|
3591
|
+
| {
|
|
3592
|
+
name: 'TransferAssets';
|
|
3593
|
+
params: {
|
|
3594
|
+
dest: XcmVersionedLocation;
|
|
3595
|
+
beneficiary: XcmVersionedLocation;
|
|
3596
|
+
assets: XcmVersionedAssets;
|
|
3597
|
+
feeAssetItem: number;
|
|
3598
|
+
weightLimit: XcmV3WeightLimit;
|
|
3599
|
+
};
|
|
3600
|
+
};
|
|
3760
3601
|
|
|
3761
3602
|
export type PalletXcmCallLike =
|
|
3762
3603
|
/**
|
|
3763
3604
|
* See [`Pallet::send`].
|
|
3764
3605
|
**/
|
|
3765
|
-
| { name: 'Send'; params: { dest:
|
|
3606
|
+
| { name: 'Send'; params: { dest: XcmVersionedLocation; message: XcmVersionedXcm } }
|
|
3766
3607
|
/**
|
|
3767
3608
|
* See [`Pallet::teleport_assets`].
|
|
3768
3609
|
**/
|
|
3769
3610
|
| {
|
|
3770
3611
|
name: 'TeleportAssets';
|
|
3771
3612
|
params: {
|
|
3772
|
-
dest:
|
|
3773
|
-
beneficiary:
|
|
3774
|
-
assets:
|
|
3613
|
+
dest: XcmVersionedLocation;
|
|
3614
|
+
beneficiary: XcmVersionedLocation;
|
|
3615
|
+
assets: XcmVersionedAssets;
|
|
3775
3616
|
feeAssetItem: number;
|
|
3776
3617
|
};
|
|
3777
3618
|
}
|
|
@@ -3781,9 +3622,9 @@ export type PalletXcmCallLike =
|
|
|
3781
3622
|
| {
|
|
3782
3623
|
name: 'ReserveTransferAssets';
|
|
3783
3624
|
params: {
|
|
3784
|
-
dest:
|
|
3785
|
-
beneficiary:
|
|
3786
|
-
assets:
|
|
3625
|
+
dest: XcmVersionedLocation;
|
|
3626
|
+
beneficiary: XcmVersionedLocation;
|
|
3627
|
+
assets: XcmVersionedAssets;
|
|
3787
3628
|
feeAssetItem: number;
|
|
3788
3629
|
};
|
|
3789
3630
|
}
|
|
@@ -3794,7 +3635,7 @@ export type PalletXcmCallLike =
|
|
|
3794
3635
|
/**
|
|
3795
3636
|
* See [`Pallet::force_xcm_version`].
|
|
3796
3637
|
**/
|
|
3797
|
-
| { name: 'ForceXcmVersion'; params: { location:
|
|
3638
|
+
| { name: 'ForceXcmVersion'; params: { location: StagingXcmV4Location; version: number } }
|
|
3798
3639
|
/**
|
|
3799
3640
|
* See [`Pallet::force_default_xcm_version`].
|
|
3800
3641
|
**/
|
|
@@ -3802,20 +3643,20 @@ export type PalletXcmCallLike =
|
|
|
3802
3643
|
/**
|
|
3803
3644
|
* See [`Pallet::force_subscribe_version_notify`].
|
|
3804
3645
|
**/
|
|
3805
|
-
| { name: 'ForceSubscribeVersionNotify'; params: { location:
|
|
3646
|
+
| { name: 'ForceSubscribeVersionNotify'; params: { location: XcmVersionedLocation } }
|
|
3806
3647
|
/**
|
|
3807
3648
|
* See [`Pallet::force_unsubscribe_version_notify`].
|
|
3808
3649
|
**/
|
|
3809
|
-
| { name: 'ForceUnsubscribeVersionNotify'; params: { location:
|
|
3650
|
+
| { name: 'ForceUnsubscribeVersionNotify'; params: { location: XcmVersionedLocation } }
|
|
3810
3651
|
/**
|
|
3811
3652
|
* See [`Pallet::limited_reserve_transfer_assets`].
|
|
3812
3653
|
**/
|
|
3813
3654
|
| {
|
|
3814
3655
|
name: 'LimitedReserveTransferAssets';
|
|
3815
3656
|
params: {
|
|
3816
|
-
dest:
|
|
3817
|
-
beneficiary:
|
|
3818
|
-
assets:
|
|
3657
|
+
dest: XcmVersionedLocation;
|
|
3658
|
+
beneficiary: XcmVersionedLocation;
|
|
3659
|
+
assets: XcmVersionedAssets;
|
|
3819
3660
|
feeAssetItem: number;
|
|
3820
3661
|
weightLimit: XcmV3WeightLimit;
|
|
3821
3662
|
};
|
|
@@ -3826,9 +3667,9 @@ export type PalletXcmCallLike =
|
|
|
3826
3667
|
| {
|
|
3827
3668
|
name: 'LimitedTeleportAssets';
|
|
3828
3669
|
params: {
|
|
3829
|
-
dest:
|
|
3830
|
-
beneficiary:
|
|
3831
|
-
assets:
|
|
3670
|
+
dest: XcmVersionedLocation;
|
|
3671
|
+
beneficiary: XcmVersionedLocation;
|
|
3672
|
+
assets: XcmVersionedAssets;
|
|
3832
3673
|
feeAssetItem: number;
|
|
3833
3674
|
weightLimit: XcmV3WeightLimit;
|
|
3834
3675
|
};
|
|
@@ -3836,28 +3677,42 @@ export type PalletXcmCallLike =
|
|
|
3836
3677
|
/**
|
|
3837
3678
|
* See [`Pallet::force_suspension`].
|
|
3838
3679
|
**/
|
|
3839
|
-
| { name: 'ForceSuspension'; params: { suspended: boolean } }
|
|
3680
|
+
| { name: 'ForceSuspension'; params: { suspended: boolean } }
|
|
3681
|
+
/**
|
|
3682
|
+
* See [`Pallet::transfer_assets`].
|
|
3683
|
+
**/
|
|
3684
|
+
| {
|
|
3685
|
+
name: 'TransferAssets';
|
|
3686
|
+
params: {
|
|
3687
|
+
dest: XcmVersionedLocation;
|
|
3688
|
+
beneficiary: XcmVersionedLocation;
|
|
3689
|
+
assets: XcmVersionedAssets;
|
|
3690
|
+
feeAssetItem: number;
|
|
3691
|
+
weightLimit: XcmV3WeightLimit;
|
|
3692
|
+
};
|
|
3693
|
+
};
|
|
3840
3694
|
|
|
3841
|
-
export type
|
|
3842
|
-
| {
|
|
3843
|
-
| {
|
|
3695
|
+
export type XcmVersionedLocation =
|
|
3696
|
+
| { type: 'V2'; value: XcmV2MultilocationMultiLocation }
|
|
3697
|
+
| { type: 'V3'; value: StagingXcmV3MultilocationMultiLocation }
|
|
3698
|
+
| { type: 'V4'; value: StagingXcmV4Location };
|
|
3844
3699
|
|
|
3845
3700
|
export type XcmV2MultilocationMultiLocation = { parents: number; interior: XcmV2MultilocationJunctions };
|
|
3846
3701
|
|
|
3847
3702
|
export type XcmV2MultilocationJunctions =
|
|
3848
|
-
| {
|
|
3849
|
-
| {
|
|
3850
|
-
| {
|
|
3851
|
-
| {
|
|
3852
|
-
| {
|
|
3853
|
-
| {
|
|
3854
|
-
| {
|
|
3855
|
-
| {
|
|
3856
|
-
|
|
3703
|
+
| { type: 'Here' }
|
|
3704
|
+
| { type: 'X1'; value: XcmV2Junction }
|
|
3705
|
+
| { type: 'X2'; value: [XcmV2Junction, XcmV2Junction] }
|
|
3706
|
+
| { type: 'X3'; value: [XcmV2Junction, XcmV2Junction, XcmV2Junction] }
|
|
3707
|
+
| { type: 'X4'; value: [XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction] }
|
|
3708
|
+
| { type: 'X5'; value: [XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction] }
|
|
3709
|
+
| { type: 'X6'; value: [XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction] }
|
|
3710
|
+
| {
|
|
3711
|
+
type: 'X7';
|
|
3857
3712
|
value: [XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction];
|
|
3858
3713
|
}
|
|
3859
3714
|
| {
|
|
3860
|
-
|
|
3715
|
+
type: 'X8';
|
|
3861
3716
|
value: [
|
|
3862
3717
|
XcmV2Junction,
|
|
3863
3718
|
XcmV2Junction,
|
|
@@ -3871,63 +3726,126 @@ export type XcmV2MultilocationJunctions =
|
|
|
3871
3726
|
};
|
|
3872
3727
|
|
|
3873
3728
|
export type XcmV2Junction =
|
|
3874
|
-
| {
|
|
3875
|
-
| {
|
|
3876
|
-
| {
|
|
3877
|
-
| {
|
|
3878
|
-
| {
|
|
3879
|
-
| {
|
|
3880
|
-
| {
|
|
3881
|
-
| {
|
|
3882
|
-
| {
|
|
3883
|
-
|
|
3884
|
-
export type XcmV2NetworkId =
|
|
3729
|
+
| { type: 'Parachain'; value: number }
|
|
3730
|
+
| { type: 'AccountId32'; value: { network: XcmV2NetworkId; id: FixedBytes<32> } }
|
|
3731
|
+
| { type: 'AccountIndex64'; value: { network: XcmV2NetworkId; index: bigint } }
|
|
3732
|
+
| { type: 'AccountKey20'; value: { network: XcmV2NetworkId; key: FixedBytes<20> } }
|
|
3733
|
+
| { type: 'PalletInstance'; value: number }
|
|
3734
|
+
| { type: 'GeneralIndex'; value: bigint }
|
|
3735
|
+
| { type: 'GeneralKey'; value: Bytes }
|
|
3736
|
+
| { type: 'OnlyChild' }
|
|
3737
|
+
| { type: 'Plurality'; value: { id: XcmV2BodyId; part: XcmV2BodyPart } };
|
|
3738
|
+
|
|
3739
|
+
export type XcmV2NetworkId =
|
|
3740
|
+
| { type: 'Any' }
|
|
3741
|
+
| { type: 'Named'; value: Bytes }
|
|
3742
|
+
| { type: 'Polkadot' }
|
|
3743
|
+
| { type: 'Kusama' };
|
|
3885
3744
|
|
|
3886
3745
|
export type XcmV2BodyId =
|
|
3887
|
-
| {
|
|
3888
|
-
| {
|
|
3889
|
-
| {
|
|
3890
|
-
| {
|
|
3891
|
-
| {
|
|
3892
|
-
| {
|
|
3893
|
-
| {
|
|
3894
|
-
| {
|
|
3895
|
-
| {
|
|
3896
|
-
| {
|
|
3746
|
+
| { type: 'Unit' }
|
|
3747
|
+
| { type: 'Named'; value: Bytes }
|
|
3748
|
+
| { type: 'Index'; value: number }
|
|
3749
|
+
| { type: 'Executive' }
|
|
3750
|
+
| { type: 'Technical' }
|
|
3751
|
+
| { type: 'Legislative' }
|
|
3752
|
+
| { type: 'Judicial' }
|
|
3753
|
+
| { type: 'Defense' }
|
|
3754
|
+
| { type: 'Administration' }
|
|
3755
|
+
| { type: 'Treasury' };
|
|
3897
3756
|
|
|
3898
3757
|
export type XcmV2BodyPart =
|
|
3899
|
-
| {
|
|
3900
|
-
| {
|
|
3901
|
-
| {
|
|
3902
|
-
| {
|
|
3903
|
-
| {
|
|
3758
|
+
| { type: 'Voice' }
|
|
3759
|
+
| { type: 'Members'; value: { count: number } }
|
|
3760
|
+
| { type: 'Fraction'; value: { nom: number; denom: number } }
|
|
3761
|
+
| { type: 'AtLeastProportion'; value: { nom: number; denom: number } }
|
|
3762
|
+
| { type: 'MoreThanProportion'; value: { nom: number; denom: number } };
|
|
3904
3763
|
|
|
3905
|
-
export type
|
|
3764
|
+
export type StagingXcmV3MultilocationMultiLocation = { parents: number; interior: XcmV3Junctions };
|
|
3765
|
+
|
|
3766
|
+
export type XcmV3Junctions =
|
|
3767
|
+
| { type: 'Here' }
|
|
3768
|
+
| { type: 'X1'; value: XcmV3Junction }
|
|
3769
|
+
| { type: 'X2'; value: [XcmV3Junction, XcmV3Junction] }
|
|
3770
|
+
| { type: 'X3'; value: [XcmV3Junction, XcmV3Junction, XcmV3Junction] }
|
|
3771
|
+
| { type: 'X4'; value: [XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction] }
|
|
3772
|
+
| { type: 'X5'; value: [XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction] }
|
|
3773
|
+
| { type: 'X6'; value: [XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction] }
|
|
3774
|
+
| {
|
|
3775
|
+
type: 'X7';
|
|
3776
|
+
value: [XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction, XcmV3Junction];
|
|
3777
|
+
}
|
|
3778
|
+
| {
|
|
3779
|
+
type: 'X8';
|
|
3780
|
+
value: [
|
|
3781
|
+
XcmV3Junction,
|
|
3782
|
+
XcmV3Junction,
|
|
3783
|
+
XcmV3Junction,
|
|
3784
|
+
XcmV3Junction,
|
|
3785
|
+
XcmV3Junction,
|
|
3786
|
+
XcmV3Junction,
|
|
3787
|
+
XcmV3Junction,
|
|
3788
|
+
XcmV3Junction,
|
|
3789
|
+
];
|
|
3790
|
+
};
|
|
3791
|
+
|
|
3792
|
+
export type XcmV3Junction =
|
|
3793
|
+
| { type: 'Parachain'; value: number }
|
|
3794
|
+
| { type: 'AccountId32'; value: { network?: XcmV3JunctionNetworkId | undefined; id: FixedBytes<32> } }
|
|
3795
|
+
| { type: 'AccountIndex64'; value: { network?: XcmV3JunctionNetworkId | undefined; index: bigint } }
|
|
3796
|
+
| { type: 'AccountKey20'; value: { network?: XcmV3JunctionNetworkId | undefined; key: FixedBytes<20> } }
|
|
3797
|
+
| { type: 'PalletInstance'; value: number }
|
|
3798
|
+
| { type: 'GeneralIndex'; value: bigint }
|
|
3799
|
+
| { type: 'GeneralKey'; value: { length: number; data: FixedBytes<32> } }
|
|
3800
|
+
| { type: 'OnlyChild' }
|
|
3801
|
+
| { type: 'Plurality'; value: { id: XcmV3JunctionBodyId; part: XcmV3JunctionBodyPart } }
|
|
3802
|
+
| { type: 'GlobalConsensus'; value: XcmV3JunctionNetworkId };
|
|
3803
|
+
|
|
3804
|
+
export type XcmV3JunctionNetworkId =
|
|
3805
|
+
| { type: 'ByGenesis'; value: FixedBytes<32> }
|
|
3806
|
+
| { type: 'ByFork'; value: { blockNumber: bigint; blockHash: FixedBytes<32> } }
|
|
3807
|
+
| { type: 'Polkadot' }
|
|
3808
|
+
| { type: 'Kusama' }
|
|
3809
|
+
| { type: 'Westend' }
|
|
3810
|
+
| { type: 'Rococo' }
|
|
3811
|
+
| { type: 'Wococo' }
|
|
3812
|
+
| { type: 'Ethereum'; value: { chainId: bigint } }
|
|
3813
|
+
| { type: 'BitcoinCore' }
|
|
3814
|
+
| { type: 'BitcoinCash' }
|
|
3815
|
+
| { type: 'PolkadotBulletin' };
|
|
3816
|
+
|
|
3817
|
+
export type XcmVersionedXcm =
|
|
3818
|
+
| { type: 'V2'; value: XcmV2Xcm }
|
|
3819
|
+
| { type: 'V3'; value: XcmV3Xcm }
|
|
3820
|
+
| { type: 'V4'; value: StagingXcmV4Xcm };
|
|
3906
3821
|
|
|
3907
3822
|
export type XcmV2Xcm = Array<XcmV2Instruction>;
|
|
3908
3823
|
|
|
3909
3824
|
export type XcmV2Instruction =
|
|
3910
|
-
| {
|
|
3911
|
-
| {
|
|
3912
|
-
| {
|
|
3913
|
-
| {
|
|
3825
|
+
| { type: 'WithdrawAsset'; value: XcmV2MultiassetMultiAssets }
|
|
3826
|
+
| { type: 'ReserveAssetDeposited'; value: XcmV2MultiassetMultiAssets }
|
|
3827
|
+
| { type: 'ReceiveTeleportedAsset'; value: XcmV2MultiassetMultiAssets }
|
|
3828
|
+
| { type: 'QueryResponse'; value: { queryId: bigint; response: XcmV2Response; maxWeight: bigint } }
|
|
3914
3829
|
| {
|
|
3915
|
-
|
|
3830
|
+
type: 'TransferAsset';
|
|
3916
3831
|
value: { assets: XcmV2MultiassetMultiAssets; beneficiary: XcmV2MultilocationMultiLocation };
|
|
3917
3832
|
}
|
|
3918
3833
|
| {
|
|
3919
|
-
|
|
3834
|
+
type: 'TransferReserveAsset';
|
|
3920
3835
|
value: { assets: XcmV2MultiassetMultiAssets; dest: XcmV2MultilocationMultiLocation; xcm: XcmV2Xcm };
|
|
3921
3836
|
}
|
|
3922
|
-
| {
|
|
3923
|
-
| {
|
|
3924
|
-
| {
|
|
3925
|
-
| {
|
|
3926
|
-
| {
|
|
3927
|
-
| {
|
|
3928
|
-
| { tag: 'ReportError'; value: { queryId: bigint; dest: XcmV2MultilocationMultiLocation; maxResponseWeight: bigint } }
|
|
3837
|
+
| { type: 'Transact'; value: { originType: XcmV2OriginKind; requireWeightAtMost: bigint; call: XcmDoubleEncoded } }
|
|
3838
|
+
| { type: 'HrmpNewChannelOpenRequest'; value: { sender: number; maxMessageSize: number; maxCapacity: number } }
|
|
3839
|
+
| { type: 'HrmpChannelAccepted'; value: { recipient: number } }
|
|
3840
|
+
| { type: 'HrmpChannelClosing'; value: { initiator: number; sender: number; recipient: number } }
|
|
3841
|
+
| { type: 'ClearOrigin' }
|
|
3842
|
+
| { type: 'DescendOrigin'; value: XcmV2MultilocationJunctions }
|
|
3929
3843
|
| {
|
|
3930
|
-
|
|
3844
|
+
type: 'ReportError';
|
|
3845
|
+
value: { queryId: bigint; dest: XcmV2MultilocationMultiLocation; maxResponseWeight: bigint };
|
|
3846
|
+
}
|
|
3847
|
+
| {
|
|
3848
|
+
type: 'DepositAsset';
|
|
3931
3849
|
value: {
|
|
3932
3850
|
assets: XcmV2MultiassetMultiAssetFilter;
|
|
3933
3851
|
maxAssets: number;
|
|
@@ -3935,7 +3853,7 @@ export type XcmV2Instruction =
|
|
|
3935
3853
|
};
|
|
3936
3854
|
}
|
|
3937
3855
|
| {
|
|
3938
|
-
|
|
3856
|
+
type: 'DepositReserveAsset';
|
|
3939
3857
|
value: {
|
|
3940
3858
|
assets: XcmV2MultiassetMultiAssetFilter;
|
|
3941
3859
|
maxAssets: number;
|
|
@@ -3943,17 +3861,17 @@ export type XcmV2Instruction =
|
|
|
3943
3861
|
xcm: XcmV2Xcm;
|
|
3944
3862
|
};
|
|
3945
3863
|
}
|
|
3946
|
-
| {
|
|
3864
|
+
| { type: 'ExchangeAsset'; value: { give: XcmV2MultiassetMultiAssetFilter; receive: XcmV2MultiassetMultiAssets } }
|
|
3947
3865
|
| {
|
|
3948
|
-
|
|
3866
|
+
type: 'InitiateReserveWithdraw';
|
|
3949
3867
|
value: { assets: XcmV2MultiassetMultiAssetFilter; reserve: XcmV2MultilocationMultiLocation; xcm: XcmV2Xcm };
|
|
3950
3868
|
}
|
|
3951
3869
|
| {
|
|
3952
|
-
|
|
3870
|
+
type: 'InitiateTeleport';
|
|
3953
3871
|
value: { assets: XcmV2MultiassetMultiAssetFilter; dest: XcmV2MultilocationMultiLocation; xcm: XcmV2Xcm };
|
|
3954
3872
|
}
|
|
3955
3873
|
| {
|
|
3956
|
-
|
|
3874
|
+
type: 'QueryHolding';
|
|
3957
3875
|
value: {
|
|
3958
3876
|
queryId: bigint;
|
|
3959
3877
|
dest: XcmV2MultilocationMultiLocation;
|
|
@@ -3961,95 +3879,95 @@ export type XcmV2Instruction =
|
|
|
3961
3879
|
maxResponseWeight: bigint;
|
|
3962
3880
|
};
|
|
3963
3881
|
}
|
|
3964
|
-
| {
|
|
3965
|
-
| {
|
|
3966
|
-
| {
|
|
3967
|
-
| {
|
|
3968
|
-
| {
|
|
3969
|
-
| {
|
|
3970
|
-
| {
|
|
3971
|
-
| {
|
|
3972
|
-
| {
|
|
3882
|
+
| { type: 'BuyExecution'; value: { fees: XcmV2MultiassetMultiAsset; weightLimit: XcmV2WeightLimit } }
|
|
3883
|
+
| { type: 'RefundSurplus' }
|
|
3884
|
+
| { type: 'SetErrorHandler'; value: XcmV2Xcm }
|
|
3885
|
+
| { type: 'SetAppendix'; value: XcmV2Xcm }
|
|
3886
|
+
| { type: 'ClearError' }
|
|
3887
|
+
| { type: 'ClaimAsset'; value: { assets: XcmV2MultiassetMultiAssets; ticket: XcmV2MultilocationMultiLocation } }
|
|
3888
|
+
| { type: 'Trap'; value: bigint }
|
|
3889
|
+
| { type: 'SubscribeVersion'; value: { queryId: bigint; maxResponseWeight: bigint } }
|
|
3890
|
+
| { type: 'UnsubscribeVersion' };
|
|
3973
3891
|
|
|
3974
3892
|
export type XcmV2MultiassetMultiAssets = Array<XcmV2MultiassetMultiAsset>;
|
|
3975
3893
|
|
|
3976
3894
|
export type XcmV2MultiassetMultiAsset = { id: XcmV2MultiassetAssetId; fun: XcmV2MultiassetFungibility };
|
|
3977
3895
|
|
|
3978
3896
|
export type XcmV2MultiassetAssetId =
|
|
3979
|
-
| {
|
|
3980
|
-
| {
|
|
3897
|
+
| { type: 'Concrete'; value: XcmV2MultilocationMultiLocation }
|
|
3898
|
+
| { type: 'Abstract'; value: Bytes };
|
|
3981
3899
|
|
|
3982
3900
|
export type XcmV2MultiassetFungibility =
|
|
3983
|
-
| {
|
|
3984
|
-
| {
|
|
3901
|
+
| { type: 'Fungible'; value: bigint }
|
|
3902
|
+
| { type: 'NonFungible'; value: XcmV2MultiassetAssetInstance };
|
|
3985
3903
|
|
|
3986
3904
|
export type XcmV2MultiassetAssetInstance =
|
|
3987
|
-
| {
|
|
3988
|
-
| {
|
|
3989
|
-
| {
|
|
3990
|
-
| {
|
|
3991
|
-
| {
|
|
3992
|
-
| {
|
|
3993
|
-
| {
|
|
3905
|
+
| { type: 'Undefined' }
|
|
3906
|
+
| { type: 'Index'; value: bigint }
|
|
3907
|
+
| { type: 'Array4'; value: FixedBytes<4> }
|
|
3908
|
+
| { type: 'Array8'; value: FixedBytes<8> }
|
|
3909
|
+
| { type: 'Array16'; value: FixedBytes<16> }
|
|
3910
|
+
| { type: 'Array32'; value: FixedBytes<32> }
|
|
3911
|
+
| { type: 'Blob'; value: Bytes };
|
|
3994
3912
|
|
|
3995
3913
|
export type XcmV2Response =
|
|
3996
|
-
| {
|
|
3997
|
-
| {
|
|
3998
|
-
| {
|
|
3999
|
-
| {
|
|
3914
|
+
| { type: 'Null' }
|
|
3915
|
+
| { type: 'Assets'; value: XcmV2MultiassetMultiAssets }
|
|
3916
|
+
| { type: 'ExecutionResult'; value?: [number, XcmV2TraitsError] | undefined }
|
|
3917
|
+
| { type: 'Version'; value: number };
|
|
4000
3918
|
|
|
4001
3919
|
export type XcmV2TraitsError =
|
|
4002
|
-
| {
|
|
4003
|
-
| {
|
|
4004
|
-
| {
|
|
4005
|
-
| {
|
|
4006
|
-
| {
|
|
4007
|
-
| {
|
|
4008
|
-
| {
|
|
4009
|
-
| {
|
|
4010
|
-
| {
|
|
4011
|
-
| {
|
|
4012
|
-
| {
|
|
4013
|
-
| {
|
|
4014
|
-
| {
|
|
4015
|
-
| {
|
|
4016
|
-
| {
|
|
4017
|
-
| {
|
|
4018
|
-
| {
|
|
4019
|
-
| {
|
|
4020
|
-
| {
|
|
4021
|
-
| {
|
|
4022
|
-
| {
|
|
4023
|
-
| {
|
|
4024
|
-
| {
|
|
4025
|
-
| {
|
|
4026
|
-
| {
|
|
4027
|
-
| {
|
|
3920
|
+
| { type: 'Overflow' }
|
|
3921
|
+
| { type: 'Unimplemented' }
|
|
3922
|
+
| { type: 'UntrustedReserveLocation' }
|
|
3923
|
+
| { type: 'UntrustedTeleportLocation' }
|
|
3924
|
+
| { type: 'MultiLocationFull' }
|
|
3925
|
+
| { type: 'MultiLocationNotInvertible' }
|
|
3926
|
+
| { type: 'BadOrigin' }
|
|
3927
|
+
| { type: 'InvalidLocation' }
|
|
3928
|
+
| { type: 'AssetNotFound' }
|
|
3929
|
+
| { type: 'FailedToTransactAsset' }
|
|
3930
|
+
| { type: 'NotWithdrawable' }
|
|
3931
|
+
| { type: 'LocationCannotHold' }
|
|
3932
|
+
| { type: 'ExceedsMaxMessageSize' }
|
|
3933
|
+
| { type: 'DestinationUnsupported' }
|
|
3934
|
+
| { type: 'Transport' }
|
|
3935
|
+
| { type: 'Unroutable' }
|
|
3936
|
+
| { type: 'UnknownClaim' }
|
|
3937
|
+
| { type: 'FailedToDecode' }
|
|
3938
|
+
| { type: 'MaxWeightInvalid' }
|
|
3939
|
+
| { type: 'NotHoldingFees' }
|
|
3940
|
+
| { type: 'TooExpensive' }
|
|
3941
|
+
| { type: 'Trap'; value: bigint }
|
|
3942
|
+
| { type: 'UnhandledXcmVersion' }
|
|
3943
|
+
| { type: 'WeightLimitReached'; value: bigint }
|
|
3944
|
+
| { type: 'Barrier' }
|
|
3945
|
+
| { type: 'WeightNotComputable' };
|
|
4028
3946
|
|
|
4029
3947
|
export type XcmV2OriginKind = 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';
|
|
4030
3948
|
|
|
4031
3949
|
export type XcmDoubleEncoded = { encoded: Bytes };
|
|
4032
3950
|
|
|
4033
3951
|
export type XcmV2MultiassetMultiAssetFilter =
|
|
4034
|
-
| {
|
|
4035
|
-
| {
|
|
3952
|
+
| { type: 'Definite'; value: XcmV2MultiassetMultiAssets }
|
|
3953
|
+
| { type: 'Wild'; value: XcmV2MultiassetWildMultiAsset };
|
|
4036
3954
|
|
|
4037
3955
|
export type XcmV2MultiassetWildMultiAsset =
|
|
4038
|
-
| {
|
|
4039
|
-
| {
|
|
3956
|
+
| { type: 'All' }
|
|
3957
|
+
| { type: 'AllOf'; value: { id: XcmV2MultiassetAssetId; fun: XcmV2MultiassetWildFungibility } };
|
|
4040
3958
|
|
|
4041
3959
|
export type XcmV2MultiassetWildFungibility = 'Fungible' | 'NonFungible';
|
|
4042
3960
|
|
|
4043
|
-
export type XcmV2WeightLimit = {
|
|
3961
|
+
export type XcmV2WeightLimit = { type: 'Unlimited' } | { type: 'Limited'; value: bigint };
|
|
4044
3962
|
|
|
4045
3963
|
export type XcmV3Xcm = Array<XcmV3Instruction>;
|
|
4046
3964
|
|
|
4047
3965
|
export type XcmV3Instruction =
|
|
4048
|
-
| {
|
|
4049
|
-
| {
|
|
4050
|
-
| {
|
|
3966
|
+
| { type: 'WithdrawAsset'; value: XcmV3MultiassetMultiAssets }
|
|
3967
|
+
| { type: 'ReserveAssetDeposited'; value: XcmV3MultiassetMultiAssets }
|
|
3968
|
+
| { type: 'ReceiveTeleportedAsset'; value: XcmV3MultiassetMultiAssets }
|
|
4051
3969
|
| {
|
|
4052
|
-
|
|
3970
|
+
type: 'QueryResponse';
|
|
4053
3971
|
value: {
|
|
4054
3972
|
queryId: bigint;
|
|
4055
3973
|
response: XcmV3Response;
|
|
@@ -4058,37 +3976,37 @@ export type XcmV3Instruction =
|
|
|
4058
3976
|
};
|
|
4059
3977
|
}
|
|
4060
3978
|
| {
|
|
4061
|
-
|
|
3979
|
+
type: 'TransferAsset';
|
|
4062
3980
|
value: { assets: XcmV3MultiassetMultiAssets; beneficiary: StagingXcmV3MultilocationMultiLocation };
|
|
4063
3981
|
}
|
|
4064
3982
|
| {
|
|
4065
|
-
|
|
3983
|
+
type: 'TransferReserveAsset';
|
|
4066
3984
|
value: { assets: XcmV3MultiassetMultiAssets; dest: StagingXcmV3MultilocationMultiLocation; xcm: XcmV3Xcm };
|
|
4067
3985
|
}
|
|
4068
3986
|
| {
|
|
4069
|
-
|
|
3987
|
+
type: 'Transact';
|
|
4070
3988
|
value: { originKind: XcmV2OriginKind; requireWeightAtMost: SpWeightsWeightV2Weight; call: XcmDoubleEncoded };
|
|
4071
3989
|
}
|
|
4072
|
-
| {
|
|
4073
|
-
| {
|
|
4074
|
-
| {
|
|
4075
|
-
| {
|
|
4076
|
-
| {
|
|
4077
|
-
| {
|
|
3990
|
+
| { type: 'HrmpNewChannelOpenRequest'; value: { sender: number; maxMessageSize: number; maxCapacity: number } }
|
|
3991
|
+
| { type: 'HrmpChannelAccepted'; value: { recipient: number } }
|
|
3992
|
+
| { type: 'HrmpChannelClosing'; value: { initiator: number; sender: number; recipient: number } }
|
|
3993
|
+
| { type: 'ClearOrigin' }
|
|
3994
|
+
| { type: 'DescendOrigin'; value: XcmV3Junctions }
|
|
3995
|
+
| { type: 'ReportError'; value: XcmV3QueryResponseInfo }
|
|
4078
3996
|
| {
|
|
4079
|
-
|
|
3997
|
+
type: 'DepositAsset';
|
|
4080
3998
|
value: { assets: XcmV3MultiassetMultiAssetFilter; beneficiary: StagingXcmV3MultilocationMultiLocation };
|
|
4081
3999
|
}
|
|
4082
4000
|
| {
|
|
4083
|
-
|
|
4001
|
+
type: 'DepositReserveAsset';
|
|
4084
4002
|
value: { assets: XcmV3MultiassetMultiAssetFilter; dest: StagingXcmV3MultilocationMultiLocation; xcm: XcmV3Xcm };
|
|
4085
4003
|
}
|
|
4086
4004
|
| {
|
|
4087
|
-
|
|
4005
|
+
type: 'ExchangeAsset';
|
|
4088
4006
|
value: { give: XcmV3MultiassetMultiAssetFilter; want: XcmV3MultiassetMultiAssets; maximal: boolean };
|
|
4089
4007
|
}
|
|
4090
4008
|
| {
|
|
4091
|
-
|
|
4009
|
+
type: 'InitiateReserveWithdraw';
|
|
4092
4010
|
value: {
|
|
4093
4011
|
assets: XcmV3MultiassetMultiAssetFilter;
|
|
4094
4012
|
reserve: StagingXcmV3MultilocationMultiLocation;
|
|
@@ -4096,49 +4014,52 @@ export type XcmV3Instruction =
|
|
|
4096
4014
|
};
|
|
4097
4015
|
}
|
|
4098
4016
|
| {
|
|
4099
|
-
|
|
4017
|
+
type: 'InitiateTeleport';
|
|
4100
4018
|
value: { assets: XcmV3MultiassetMultiAssetFilter; dest: StagingXcmV3MultilocationMultiLocation; xcm: XcmV3Xcm };
|
|
4101
4019
|
}
|
|
4102
|
-
| {
|
|
4103
|
-
| {
|
|
4104
|
-
| {
|
|
4105
|
-
| {
|
|
4106
|
-
| {
|
|
4107
|
-
| {
|
|
4108
|
-
| {
|
|
4109
|
-
|
|
4110
|
-
|
|
4111
|
-
|
|
4112
|
-
| {
|
|
4113
|
-
| {
|
|
4114
|
-
| {
|
|
4115
|
-
| {
|
|
4116
|
-
| {
|
|
4117
|
-
| {
|
|
4118
|
-
| {
|
|
4119
|
-
|
|
4020
|
+
| { type: 'ReportHolding'; value: { responseInfo: XcmV3QueryResponseInfo; assets: XcmV3MultiassetMultiAssetFilter } }
|
|
4021
|
+
| { type: 'BuyExecution'; value: { fees: XcmV3MultiassetMultiAsset; weightLimit: XcmV3WeightLimit } }
|
|
4022
|
+
| { type: 'RefundSurplus' }
|
|
4023
|
+
| { type: 'SetErrorHandler'; value: XcmV3Xcm }
|
|
4024
|
+
| { type: 'SetAppendix'; value: XcmV3Xcm }
|
|
4025
|
+
| { type: 'ClearError' }
|
|
4026
|
+
| {
|
|
4027
|
+
type: 'ClaimAsset';
|
|
4028
|
+
value: { assets: XcmV3MultiassetMultiAssets; ticket: StagingXcmV3MultilocationMultiLocation };
|
|
4029
|
+
}
|
|
4030
|
+
| { type: 'Trap'; value: bigint }
|
|
4031
|
+
| { type: 'SubscribeVersion'; value: { queryId: bigint; maxResponseWeight: SpWeightsWeightV2Weight } }
|
|
4032
|
+
| { type: 'UnsubscribeVersion' }
|
|
4033
|
+
| { type: 'BurnAsset'; value: XcmV3MultiassetMultiAssets }
|
|
4034
|
+
| { type: 'ExpectAsset'; value: XcmV3MultiassetMultiAssets }
|
|
4035
|
+
| { type: 'ExpectOrigin'; value?: StagingXcmV3MultilocationMultiLocation | undefined }
|
|
4036
|
+
| { type: 'ExpectError'; value?: [number, XcmV3TraitsError] | undefined }
|
|
4037
|
+
| { type: 'ExpectTransactStatus'; value: XcmV3MaybeErrorCode }
|
|
4038
|
+
| { type: 'QueryPallet'; value: { moduleName: Bytes; responseInfo: XcmV3QueryResponseInfo } }
|
|
4039
|
+
| {
|
|
4040
|
+
type: 'ExpectPallet';
|
|
4120
4041
|
value: { index: number; name: Bytes; moduleName: Bytes; crateMajor: number; minCrateMinor: number };
|
|
4121
4042
|
}
|
|
4122
|
-
| {
|
|
4123
|
-
| {
|
|
4124
|
-
| {
|
|
4125
|
-
| {
|
|
4126
|
-
| {
|
|
4127
|
-
| {
|
|
4043
|
+
| { type: 'ReportTransactStatus'; value: XcmV3QueryResponseInfo }
|
|
4044
|
+
| { type: 'ClearTransactStatus' }
|
|
4045
|
+
| { type: 'UniversalOrigin'; value: XcmV3Junction }
|
|
4046
|
+
| { type: 'ExportMessage'; value: { network: XcmV3JunctionNetworkId; destination: XcmV3Junctions; xcm: XcmV3Xcm } }
|
|
4047
|
+
| { type: 'LockAsset'; value: { asset: XcmV3MultiassetMultiAsset; unlocker: StagingXcmV3MultilocationMultiLocation } }
|
|
4048
|
+
| { type: 'UnlockAsset'; value: { asset: XcmV3MultiassetMultiAsset; target: StagingXcmV3MultilocationMultiLocation } }
|
|
4128
4049
|
| {
|
|
4129
|
-
|
|
4050
|
+
type: 'NoteUnlockable';
|
|
4130
4051
|
value: { asset: XcmV3MultiassetMultiAsset; owner: StagingXcmV3MultilocationMultiLocation };
|
|
4131
4052
|
}
|
|
4132
4053
|
| {
|
|
4133
|
-
|
|
4054
|
+
type: 'RequestUnlock';
|
|
4134
4055
|
value: { asset: XcmV3MultiassetMultiAsset; locker: StagingXcmV3MultilocationMultiLocation };
|
|
4135
4056
|
}
|
|
4136
|
-
| {
|
|
4137
|
-
| {
|
|
4138
|
-
| {
|
|
4139
|
-
| {
|
|
4057
|
+
| { type: 'SetFeesMode'; value: { jitWithdraw: boolean } }
|
|
4058
|
+
| { type: 'SetTopic'; value: FixedBytes<32> }
|
|
4059
|
+
| { type: 'ClearTopic' }
|
|
4060
|
+
| { type: 'AliasOrigin'; value: StagingXcmV3MultilocationMultiLocation }
|
|
4140
4061
|
| {
|
|
4141
|
-
|
|
4062
|
+
type: 'UnpaidExecution';
|
|
4142
4063
|
value: { weightLimit: XcmV3WeightLimit; checkOrigin?: StagingXcmV3MultilocationMultiLocation | undefined };
|
|
4143
4064
|
};
|
|
4144
4065
|
|
|
@@ -4147,70 +4068,70 @@ export type XcmV3MultiassetMultiAssets = Array<XcmV3MultiassetMultiAsset>;
|
|
|
4147
4068
|
export type XcmV3MultiassetMultiAsset = { id: XcmV3MultiassetAssetId; fun: XcmV3MultiassetFungibility };
|
|
4148
4069
|
|
|
4149
4070
|
export type XcmV3MultiassetAssetId =
|
|
4150
|
-
| {
|
|
4151
|
-
| {
|
|
4071
|
+
| { type: 'Concrete'; value: StagingXcmV3MultilocationMultiLocation }
|
|
4072
|
+
| { type: 'Abstract'; value: FixedBytes<32> };
|
|
4152
4073
|
|
|
4153
4074
|
export type XcmV3MultiassetFungibility =
|
|
4154
|
-
| {
|
|
4155
|
-
| {
|
|
4075
|
+
| { type: 'Fungible'; value: bigint }
|
|
4076
|
+
| { type: 'NonFungible'; value: XcmV3MultiassetAssetInstance };
|
|
4156
4077
|
|
|
4157
4078
|
export type XcmV3MultiassetAssetInstance =
|
|
4158
|
-
| {
|
|
4159
|
-
| {
|
|
4160
|
-
| {
|
|
4161
|
-
| {
|
|
4162
|
-
| {
|
|
4163
|
-
| {
|
|
4079
|
+
| { type: 'Undefined' }
|
|
4080
|
+
| { type: 'Index'; value: bigint }
|
|
4081
|
+
| { type: 'Array4'; value: FixedBytes<4> }
|
|
4082
|
+
| { type: 'Array8'; value: FixedBytes<8> }
|
|
4083
|
+
| { type: 'Array16'; value: FixedBytes<16> }
|
|
4084
|
+
| { type: 'Array32'; value: FixedBytes<32> };
|
|
4164
4085
|
|
|
4165
4086
|
export type XcmV3Response =
|
|
4166
|
-
| {
|
|
4167
|
-
| {
|
|
4168
|
-
| {
|
|
4169
|
-
| {
|
|
4170
|
-
| {
|
|
4171
|
-
| {
|
|
4087
|
+
| { type: 'Null' }
|
|
4088
|
+
| { type: 'Assets'; value: XcmV3MultiassetMultiAssets }
|
|
4089
|
+
| { type: 'ExecutionResult'; value?: [number, XcmV3TraitsError] | undefined }
|
|
4090
|
+
| { type: 'Version'; value: number }
|
|
4091
|
+
| { type: 'PalletsInfo'; value: Array<XcmV3PalletInfo> }
|
|
4092
|
+
| { type: 'DispatchResult'; value: XcmV3MaybeErrorCode };
|
|
4172
4093
|
|
|
4173
4094
|
export type XcmV3TraitsError =
|
|
4174
|
-
| {
|
|
4175
|
-
| {
|
|
4176
|
-
| {
|
|
4177
|
-
| {
|
|
4178
|
-
| {
|
|
4179
|
-
| {
|
|
4180
|
-
| {
|
|
4181
|
-
| {
|
|
4182
|
-
| {
|
|
4183
|
-
| {
|
|
4184
|
-
| {
|
|
4185
|
-
| {
|
|
4186
|
-
| {
|
|
4187
|
-
| {
|
|
4188
|
-
| {
|
|
4189
|
-
| {
|
|
4190
|
-
| {
|
|
4191
|
-
| {
|
|
4192
|
-
| {
|
|
4193
|
-
| {
|
|
4194
|
-
| {
|
|
4195
|
-
| {
|
|
4196
|
-
| {
|
|
4197
|
-
| {
|
|
4198
|
-
| {
|
|
4199
|
-
| {
|
|
4200
|
-
| {
|
|
4201
|
-
| {
|
|
4202
|
-
| {
|
|
4203
|
-
| {
|
|
4204
|
-
| {
|
|
4205
|
-
| {
|
|
4206
|
-
| {
|
|
4207
|
-
| {
|
|
4208
|
-
| {
|
|
4209
|
-
| {
|
|
4210
|
-
| {
|
|
4211
|
-
| {
|
|
4212
|
-
| {
|
|
4213
|
-
| {
|
|
4095
|
+
| { type: 'Overflow' }
|
|
4096
|
+
| { type: 'Unimplemented' }
|
|
4097
|
+
| { type: 'UntrustedReserveLocation' }
|
|
4098
|
+
| { type: 'UntrustedTeleportLocation' }
|
|
4099
|
+
| { type: 'LocationFull' }
|
|
4100
|
+
| { type: 'LocationNotInvertible' }
|
|
4101
|
+
| { type: 'BadOrigin' }
|
|
4102
|
+
| { type: 'InvalidLocation' }
|
|
4103
|
+
| { type: 'AssetNotFound' }
|
|
4104
|
+
| { type: 'FailedToTransactAsset' }
|
|
4105
|
+
| { type: 'NotWithdrawable' }
|
|
4106
|
+
| { type: 'LocationCannotHold' }
|
|
4107
|
+
| { type: 'ExceedsMaxMessageSize' }
|
|
4108
|
+
| { type: 'DestinationUnsupported' }
|
|
4109
|
+
| { type: 'Transport' }
|
|
4110
|
+
| { type: 'Unroutable' }
|
|
4111
|
+
| { type: 'UnknownClaim' }
|
|
4112
|
+
| { type: 'FailedToDecode' }
|
|
4113
|
+
| { type: 'MaxWeightInvalid' }
|
|
4114
|
+
| { type: 'NotHoldingFees' }
|
|
4115
|
+
| { type: 'TooExpensive' }
|
|
4116
|
+
| { type: 'Trap'; value: bigint }
|
|
4117
|
+
| { type: 'ExpectationFalse' }
|
|
4118
|
+
| { type: 'PalletNotFound' }
|
|
4119
|
+
| { type: 'NameMismatch' }
|
|
4120
|
+
| { type: 'VersionIncompatible' }
|
|
4121
|
+
| { type: 'HoldingWouldOverflow' }
|
|
4122
|
+
| { type: 'ExportError' }
|
|
4123
|
+
| { type: 'ReanchorFailed' }
|
|
4124
|
+
| { type: 'NoDeal' }
|
|
4125
|
+
| { type: 'FeesNotMet' }
|
|
4126
|
+
| { type: 'LockError' }
|
|
4127
|
+
| { type: 'NoPermission' }
|
|
4128
|
+
| { type: 'Unanchored' }
|
|
4129
|
+
| { type: 'NotDepositable' }
|
|
4130
|
+
| { type: 'UnhandledXcmVersion' }
|
|
4131
|
+
| { type: 'WeightLimitReached'; value: SpWeightsWeightV2Weight }
|
|
4132
|
+
| { type: 'Barrier' }
|
|
4133
|
+
| { type: 'WeightNotComputable' }
|
|
4134
|
+
| { type: 'ExceedsStackLimit' };
|
|
4214
4135
|
|
|
4215
4136
|
export type XcmV3PalletInfo = {
|
|
4216
4137
|
index: number;
|
|
@@ -4222,9 +4143,9 @@ export type XcmV3PalletInfo = {
|
|
|
4222
4143
|
};
|
|
4223
4144
|
|
|
4224
4145
|
export type XcmV3MaybeErrorCode =
|
|
4225
|
-
| {
|
|
4226
|
-
| {
|
|
4227
|
-
| {
|
|
4146
|
+
| { type: 'Success' }
|
|
4147
|
+
| { type: 'Error'; value: Bytes }
|
|
4148
|
+
| { type: 'TruncatedError'; value: Bytes };
|
|
4228
4149
|
|
|
4229
4150
|
export type XcmV3QueryResponseInfo = {
|
|
4230
4151
|
destination: StagingXcmV3MultilocationMultiLocation;
|
|
@@ -4233,22 +4154,169 @@ export type XcmV3QueryResponseInfo = {
|
|
|
4233
4154
|
};
|
|
4234
4155
|
|
|
4235
4156
|
export type XcmV3MultiassetMultiAssetFilter =
|
|
4236
|
-
| {
|
|
4237
|
-
| {
|
|
4157
|
+
| { type: 'Definite'; value: XcmV3MultiassetMultiAssets }
|
|
4158
|
+
| { type: 'Wild'; value: XcmV3MultiassetWildMultiAsset };
|
|
4238
4159
|
|
|
4239
4160
|
export type XcmV3MultiassetWildMultiAsset =
|
|
4240
|
-
| {
|
|
4241
|
-
| {
|
|
4242
|
-
| {
|
|
4243
|
-
| {
|
|
4161
|
+
| { type: 'All' }
|
|
4162
|
+
| { type: 'AllOf'; value: { id: XcmV3MultiassetAssetId; fun: XcmV3MultiassetWildFungibility } }
|
|
4163
|
+
| { type: 'AllCounted'; value: number }
|
|
4164
|
+
| { type: 'AllOfCounted'; value: { id: XcmV3MultiassetAssetId; fun: XcmV3MultiassetWildFungibility; count: number } };
|
|
4244
4165
|
|
|
4245
4166
|
export type XcmV3MultiassetWildFungibility = 'Fungible' | 'NonFungible';
|
|
4246
4167
|
|
|
4247
|
-
export type XcmV3WeightLimit = {
|
|
4168
|
+
export type XcmV3WeightLimit = { type: 'Unlimited' } | { type: 'Limited'; value: SpWeightsWeightV2Weight };
|
|
4248
4169
|
|
|
4249
|
-
export type
|
|
4250
|
-
|
|
4251
|
-
|
|
4170
|
+
export type StagingXcmV4Xcm = Array<StagingXcmV4Instruction>;
|
|
4171
|
+
|
|
4172
|
+
export type StagingXcmV4Instruction =
|
|
4173
|
+
| { type: 'WithdrawAsset'; value: StagingXcmV4AssetAssets }
|
|
4174
|
+
| { type: 'ReserveAssetDeposited'; value: StagingXcmV4AssetAssets }
|
|
4175
|
+
| { type: 'ReceiveTeleportedAsset'; value: StagingXcmV4AssetAssets }
|
|
4176
|
+
| {
|
|
4177
|
+
type: 'QueryResponse';
|
|
4178
|
+
value: {
|
|
4179
|
+
queryId: bigint;
|
|
4180
|
+
response: StagingXcmV4Response;
|
|
4181
|
+
maxWeight: SpWeightsWeightV2Weight;
|
|
4182
|
+
querier?: StagingXcmV4Location | undefined;
|
|
4183
|
+
};
|
|
4184
|
+
}
|
|
4185
|
+
| { type: 'TransferAsset'; value: { assets: StagingXcmV4AssetAssets; beneficiary: StagingXcmV4Location } }
|
|
4186
|
+
| {
|
|
4187
|
+
type: 'TransferReserveAsset';
|
|
4188
|
+
value: { assets: StagingXcmV4AssetAssets; dest: StagingXcmV4Location; xcm: StagingXcmV4Xcm };
|
|
4189
|
+
}
|
|
4190
|
+
| {
|
|
4191
|
+
type: 'Transact';
|
|
4192
|
+
value: { originKind: XcmV2OriginKind; requireWeightAtMost: SpWeightsWeightV2Weight; call: XcmDoubleEncoded };
|
|
4193
|
+
}
|
|
4194
|
+
| { type: 'HrmpNewChannelOpenRequest'; value: { sender: number; maxMessageSize: number; maxCapacity: number } }
|
|
4195
|
+
| { type: 'HrmpChannelAccepted'; value: { recipient: number } }
|
|
4196
|
+
| { type: 'HrmpChannelClosing'; value: { initiator: number; sender: number; recipient: number } }
|
|
4197
|
+
| { type: 'ClearOrigin' }
|
|
4198
|
+
| { type: 'DescendOrigin'; value: StagingXcmV4Junctions }
|
|
4199
|
+
| { type: 'ReportError'; value: StagingXcmV4QueryResponseInfo }
|
|
4200
|
+
| { type: 'DepositAsset'; value: { assets: StagingXcmV4AssetAssetFilter; beneficiary: StagingXcmV4Location } }
|
|
4201
|
+
| {
|
|
4202
|
+
type: 'DepositReserveAsset';
|
|
4203
|
+
value: { assets: StagingXcmV4AssetAssetFilter; dest: StagingXcmV4Location; xcm: StagingXcmV4Xcm };
|
|
4204
|
+
}
|
|
4205
|
+
| {
|
|
4206
|
+
type: 'ExchangeAsset';
|
|
4207
|
+
value: { give: StagingXcmV4AssetAssetFilter; want: StagingXcmV4AssetAssets; maximal: boolean };
|
|
4208
|
+
}
|
|
4209
|
+
| {
|
|
4210
|
+
type: 'InitiateReserveWithdraw';
|
|
4211
|
+
value: { assets: StagingXcmV4AssetAssetFilter; reserve: StagingXcmV4Location; xcm: StagingXcmV4Xcm };
|
|
4212
|
+
}
|
|
4213
|
+
| {
|
|
4214
|
+
type: 'InitiateTeleport';
|
|
4215
|
+
value: { assets: StagingXcmV4AssetAssetFilter; dest: StagingXcmV4Location; xcm: StagingXcmV4Xcm };
|
|
4216
|
+
}
|
|
4217
|
+
| {
|
|
4218
|
+
type: 'ReportHolding';
|
|
4219
|
+
value: { responseInfo: StagingXcmV4QueryResponseInfo; assets: StagingXcmV4AssetAssetFilter };
|
|
4220
|
+
}
|
|
4221
|
+
| { type: 'BuyExecution'; value: { fees: StagingXcmV4Asset; weightLimit: XcmV3WeightLimit } }
|
|
4222
|
+
| { type: 'RefundSurplus' }
|
|
4223
|
+
| { type: 'SetErrorHandler'; value: StagingXcmV4Xcm }
|
|
4224
|
+
| { type: 'SetAppendix'; value: StagingXcmV4Xcm }
|
|
4225
|
+
| { type: 'ClearError' }
|
|
4226
|
+
| { type: 'ClaimAsset'; value: { assets: StagingXcmV4AssetAssets; ticket: StagingXcmV4Location } }
|
|
4227
|
+
| { type: 'Trap'; value: bigint }
|
|
4228
|
+
| { type: 'SubscribeVersion'; value: { queryId: bigint; maxResponseWeight: SpWeightsWeightV2Weight } }
|
|
4229
|
+
| { type: 'UnsubscribeVersion' }
|
|
4230
|
+
| { type: 'BurnAsset'; value: StagingXcmV4AssetAssets }
|
|
4231
|
+
| { type: 'ExpectAsset'; value: StagingXcmV4AssetAssets }
|
|
4232
|
+
| { type: 'ExpectOrigin'; value?: StagingXcmV4Location | undefined }
|
|
4233
|
+
| { type: 'ExpectError'; value?: [number, XcmV3TraitsError] | undefined }
|
|
4234
|
+
| { type: 'ExpectTransactStatus'; value: XcmV3MaybeErrorCode }
|
|
4235
|
+
| { type: 'QueryPallet'; value: { moduleName: Bytes; responseInfo: StagingXcmV4QueryResponseInfo } }
|
|
4236
|
+
| {
|
|
4237
|
+
type: 'ExpectPallet';
|
|
4238
|
+
value: { index: number; name: Bytes; moduleName: Bytes; crateMajor: number; minCrateMinor: number };
|
|
4239
|
+
}
|
|
4240
|
+
| { type: 'ReportTransactStatus'; value: StagingXcmV4QueryResponseInfo }
|
|
4241
|
+
| { type: 'ClearTransactStatus' }
|
|
4242
|
+
| { type: 'UniversalOrigin'; value: StagingXcmV4Junction }
|
|
4243
|
+
| {
|
|
4244
|
+
type: 'ExportMessage';
|
|
4245
|
+
value: { network: StagingXcmV4JunctionNetworkId; destination: StagingXcmV4Junctions; xcm: StagingXcmV4Xcm };
|
|
4246
|
+
}
|
|
4247
|
+
| { type: 'LockAsset'; value: { asset: StagingXcmV4Asset; unlocker: StagingXcmV4Location } }
|
|
4248
|
+
| { type: 'UnlockAsset'; value: { asset: StagingXcmV4Asset; target: StagingXcmV4Location } }
|
|
4249
|
+
| { type: 'NoteUnlockable'; value: { asset: StagingXcmV4Asset; owner: StagingXcmV4Location } }
|
|
4250
|
+
| { type: 'RequestUnlock'; value: { asset: StagingXcmV4Asset; locker: StagingXcmV4Location } }
|
|
4251
|
+
| { type: 'SetFeesMode'; value: { jitWithdraw: boolean } }
|
|
4252
|
+
| { type: 'SetTopic'; value: FixedBytes<32> }
|
|
4253
|
+
| { type: 'ClearTopic' }
|
|
4254
|
+
| { type: 'AliasOrigin'; value: StagingXcmV4Location }
|
|
4255
|
+
| {
|
|
4256
|
+
type: 'UnpaidExecution';
|
|
4257
|
+
value: { weightLimit: XcmV3WeightLimit; checkOrigin?: StagingXcmV4Location | undefined };
|
|
4258
|
+
};
|
|
4259
|
+
|
|
4260
|
+
export type StagingXcmV4AssetAssets = Array<StagingXcmV4Asset>;
|
|
4261
|
+
|
|
4262
|
+
export type StagingXcmV4Asset = { id: StagingXcmV4AssetAssetId; fun: StagingXcmV4AssetFungibility };
|
|
4263
|
+
|
|
4264
|
+
export type StagingXcmV4AssetAssetId = StagingXcmV4Location;
|
|
4265
|
+
|
|
4266
|
+
export type StagingXcmV4AssetFungibility =
|
|
4267
|
+
| { type: 'Fungible'; value: bigint }
|
|
4268
|
+
| { type: 'NonFungible'; value: StagingXcmV4AssetAssetInstance };
|
|
4269
|
+
|
|
4270
|
+
export type StagingXcmV4AssetAssetInstance =
|
|
4271
|
+
| { type: 'Undefined' }
|
|
4272
|
+
| { type: 'Index'; value: bigint }
|
|
4273
|
+
| { type: 'Array4'; value: FixedBytes<4> }
|
|
4274
|
+
| { type: 'Array8'; value: FixedBytes<8> }
|
|
4275
|
+
| { type: 'Array16'; value: FixedBytes<16> }
|
|
4276
|
+
| { type: 'Array32'; value: FixedBytes<32> };
|
|
4277
|
+
|
|
4278
|
+
export type StagingXcmV4Response =
|
|
4279
|
+
| { type: 'Null' }
|
|
4280
|
+
| { type: 'Assets'; value: StagingXcmV4AssetAssets }
|
|
4281
|
+
| { type: 'ExecutionResult'; value?: [number, XcmV3TraitsError] | undefined }
|
|
4282
|
+
| { type: 'Version'; value: number }
|
|
4283
|
+
| { type: 'PalletsInfo'; value: Array<StagingXcmV4PalletInfo> }
|
|
4284
|
+
| { type: 'DispatchResult'; value: XcmV3MaybeErrorCode };
|
|
4285
|
+
|
|
4286
|
+
export type StagingXcmV4PalletInfo = {
|
|
4287
|
+
index: number;
|
|
4288
|
+
name: Bytes;
|
|
4289
|
+
moduleName: Bytes;
|
|
4290
|
+
major: number;
|
|
4291
|
+
minor: number;
|
|
4292
|
+
patch: number;
|
|
4293
|
+
};
|
|
4294
|
+
|
|
4295
|
+
export type StagingXcmV4QueryResponseInfo = {
|
|
4296
|
+
destination: StagingXcmV4Location;
|
|
4297
|
+
queryId: bigint;
|
|
4298
|
+
maxWeight: SpWeightsWeightV2Weight;
|
|
4299
|
+
};
|
|
4300
|
+
|
|
4301
|
+
export type StagingXcmV4AssetAssetFilter =
|
|
4302
|
+
| { type: 'Definite'; value: StagingXcmV4AssetAssets }
|
|
4303
|
+
| { type: 'Wild'; value: StagingXcmV4AssetWildAsset };
|
|
4304
|
+
|
|
4305
|
+
export type StagingXcmV4AssetWildAsset =
|
|
4306
|
+
| { type: 'All' }
|
|
4307
|
+
| { type: 'AllOf'; value: { id: StagingXcmV4AssetAssetId; fun: StagingXcmV4AssetWildFungibility } }
|
|
4308
|
+
| { type: 'AllCounted'; value: number }
|
|
4309
|
+
| {
|
|
4310
|
+
type: 'AllOfCounted';
|
|
4311
|
+
value: { id: StagingXcmV4AssetAssetId; fun: StagingXcmV4AssetWildFungibility; count: number };
|
|
4312
|
+
};
|
|
4313
|
+
|
|
4314
|
+
export type StagingXcmV4AssetWildFungibility = 'Fungible' | 'NonFungible';
|
|
4315
|
+
|
|
4316
|
+
export type XcmVersionedAssets =
|
|
4317
|
+
| { type: 'V2'; value: XcmV2MultiassetMultiAssets }
|
|
4318
|
+
| { type: 'V3'; value: XcmV3MultiassetMultiAssets }
|
|
4319
|
+
| { type: 'V4'; value: StagingXcmV4AssetAssets };
|
|
4252
4320
|
|
|
4253
4321
|
/**
|
|
4254
4322
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -4590,21 +4658,10 @@ export type PalletAssetManagerCall =
|
|
|
4590
4658
|
* See [`Pallet::remove_existing_asset_type`].
|
|
4591
4659
|
**/
|
|
4592
4660
|
| { name: 'RemoveExistingAssetType'; params: { assetId: bigint; numAssetsWeightHint: number } }
|
|
4593
|
-
/**
|
|
4594
|
-
* See [`Pallet::register_local_asset`].
|
|
4595
|
-
**/
|
|
4596
|
-
| {
|
|
4597
|
-
name: 'RegisterLocalAsset';
|
|
4598
|
-
params: { creator: AccountId20; owner: AccountId20; isSufficient: boolean; minBalance: bigint };
|
|
4599
|
-
}
|
|
4600
4661
|
/**
|
|
4601
4662
|
* See [`Pallet::destroy_foreign_asset`].
|
|
4602
4663
|
**/
|
|
4603
|
-
| { name: 'DestroyForeignAsset'; params: { assetId: bigint; numAssetsWeightHint: number } }
|
|
4604
|
-
/**
|
|
4605
|
-
* See [`Pallet::destroy_local_asset`].
|
|
4606
|
-
**/
|
|
4607
|
-
| { name: 'DestroyLocalAsset'; params: { assetId: bigint } };
|
|
4664
|
+
| { name: 'DestroyForeignAsset'; params: { assetId: bigint; numAssetsWeightHint: number } };
|
|
4608
4665
|
|
|
4609
4666
|
export type PalletAssetManagerCallLike =
|
|
4610
4667
|
/**
|
|
@@ -4644,23 +4701,12 @@ export type PalletAssetManagerCallLike =
|
|
|
4644
4701
|
* See [`Pallet::remove_existing_asset_type`].
|
|
4645
4702
|
**/
|
|
4646
4703
|
| { name: 'RemoveExistingAssetType'; params: { assetId: bigint; numAssetsWeightHint: number } }
|
|
4647
|
-
/**
|
|
4648
|
-
* See [`Pallet::register_local_asset`].
|
|
4649
|
-
**/
|
|
4650
|
-
| {
|
|
4651
|
-
name: 'RegisterLocalAsset';
|
|
4652
|
-
params: { creator: AccountId20Like; owner: AccountId20Like; isSufficient: boolean; minBalance: bigint };
|
|
4653
|
-
}
|
|
4654
4704
|
/**
|
|
4655
4705
|
* See [`Pallet::destroy_foreign_asset`].
|
|
4656
4706
|
**/
|
|
4657
|
-
| { name: 'DestroyForeignAsset'; params: { assetId: bigint; numAssetsWeightHint: number } }
|
|
4658
|
-
/**
|
|
4659
|
-
* See [`Pallet::destroy_local_asset`].
|
|
4660
|
-
**/
|
|
4661
|
-
| { name: 'DestroyLocalAsset'; params: { assetId: bigint } };
|
|
4707
|
+
| { name: 'DestroyForeignAsset'; params: { assetId: bigint; numAssetsWeightHint: number } };
|
|
4662
4708
|
|
|
4663
|
-
export type MoonbeamRuntimeXcmConfigAssetType = {
|
|
4709
|
+
export type MoonbeamRuntimeXcmConfigAssetType = { type: 'Xcm'; value: StagingXcmV3MultilocationMultiLocation };
|
|
4664
4710
|
|
|
4665
4711
|
export type MoonbeamRuntimeAssetConfigAssetRegistrarMetadata = {
|
|
4666
4712
|
name: Bytes;
|
|
@@ -4681,7 +4727,7 @@ export type OrmlXtokensModuleCall =
|
|
|
4681
4727
|
params: {
|
|
4682
4728
|
currencyId: MoonbeamRuntimeXcmConfigCurrencyId;
|
|
4683
4729
|
amount: bigint;
|
|
4684
|
-
dest:
|
|
4730
|
+
dest: XcmVersionedLocation;
|
|
4685
4731
|
destWeightLimit: XcmV3WeightLimit;
|
|
4686
4732
|
};
|
|
4687
4733
|
}
|
|
@@ -4690,7 +4736,7 @@ export type OrmlXtokensModuleCall =
|
|
|
4690
4736
|
**/
|
|
4691
4737
|
| {
|
|
4692
4738
|
name: 'TransferMultiasset';
|
|
4693
|
-
params: { asset:
|
|
4739
|
+
params: { asset: XcmVersionedAsset; dest: XcmVersionedLocation; destWeightLimit: XcmV3WeightLimit };
|
|
4694
4740
|
}
|
|
4695
4741
|
/**
|
|
4696
4742
|
* See [`Pallet::transfer_with_fee`].
|
|
@@ -4701,7 +4747,7 @@ export type OrmlXtokensModuleCall =
|
|
|
4701
4747
|
currencyId: MoonbeamRuntimeXcmConfigCurrencyId;
|
|
4702
4748
|
amount: bigint;
|
|
4703
4749
|
fee: bigint;
|
|
4704
|
-
dest:
|
|
4750
|
+
dest: XcmVersionedLocation;
|
|
4705
4751
|
destWeightLimit: XcmV3WeightLimit;
|
|
4706
4752
|
};
|
|
4707
4753
|
}
|
|
@@ -4711,9 +4757,9 @@ export type OrmlXtokensModuleCall =
|
|
|
4711
4757
|
| {
|
|
4712
4758
|
name: 'TransferMultiassetWithFee';
|
|
4713
4759
|
params: {
|
|
4714
|
-
asset:
|
|
4715
|
-
fee:
|
|
4716
|
-
dest:
|
|
4760
|
+
asset: XcmVersionedAsset;
|
|
4761
|
+
fee: XcmVersionedAsset;
|
|
4762
|
+
dest: XcmVersionedLocation;
|
|
4717
4763
|
destWeightLimit: XcmV3WeightLimit;
|
|
4718
4764
|
};
|
|
4719
4765
|
}
|
|
@@ -4725,7 +4771,7 @@ export type OrmlXtokensModuleCall =
|
|
|
4725
4771
|
params: {
|
|
4726
4772
|
currencies: Array<[MoonbeamRuntimeXcmConfigCurrencyId, bigint]>;
|
|
4727
4773
|
feeItem: number;
|
|
4728
|
-
dest:
|
|
4774
|
+
dest: XcmVersionedLocation;
|
|
4729
4775
|
destWeightLimit: XcmV3WeightLimit;
|
|
4730
4776
|
};
|
|
4731
4777
|
}
|
|
@@ -4735,9 +4781,9 @@ export type OrmlXtokensModuleCall =
|
|
|
4735
4781
|
| {
|
|
4736
4782
|
name: 'TransferMultiassets';
|
|
4737
4783
|
params: {
|
|
4738
|
-
assets:
|
|
4784
|
+
assets: XcmVersionedAssets;
|
|
4739
4785
|
feeItem: number;
|
|
4740
|
-
dest:
|
|
4786
|
+
dest: XcmVersionedLocation;
|
|
4741
4787
|
destWeightLimit: XcmV3WeightLimit;
|
|
4742
4788
|
};
|
|
4743
4789
|
};
|
|
@@ -4751,7 +4797,7 @@ export type OrmlXtokensModuleCallLike =
|
|
|
4751
4797
|
params: {
|
|
4752
4798
|
currencyId: MoonbeamRuntimeXcmConfigCurrencyId;
|
|
4753
4799
|
amount: bigint;
|
|
4754
|
-
dest:
|
|
4800
|
+
dest: XcmVersionedLocation;
|
|
4755
4801
|
destWeightLimit: XcmV3WeightLimit;
|
|
4756
4802
|
};
|
|
4757
4803
|
}
|
|
@@ -4760,7 +4806,7 @@ export type OrmlXtokensModuleCallLike =
|
|
|
4760
4806
|
**/
|
|
4761
4807
|
| {
|
|
4762
4808
|
name: 'TransferMultiasset';
|
|
4763
|
-
params: { asset:
|
|
4809
|
+
params: { asset: XcmVersionedAsset; dest: XcmVersionedLocation; destWeightLimit: XcmV3WeightLimit };
|
|
4764
4810
|
}
|
|
4765
4811
|
/**
|
|
4766
4812
|
* See [`Pallet::transfer_with_fee`].
|
|
@@ -4771,7 +4817,7 @@ export type OrmlXtokensModuleCallLike =
|
|
|
4771
4817
|
currencyId: MoonbeamRuntimeXcmConfigCurrencyId;
|
|
4772
4818
|
amount: bigint;
|
|
4773
4819
|
fee: bigint;
|
|
4774
|
-
dest:
|
|
4820
|
+
dest: XcmVersionedLocation;
|
|
4775
4821
|
destWeightLimit: XcmV3WeightLimit;
|
|
4776
4822
|
};
|
|
4777
4823
|
}
|
|
@@ -4781,9 +4827,9 @@ export type OrmlXtokensModuleCallLike =
|
|
|
4781
4827
|
| {
|
|
4782
4828
|
name: 'TransferMultiassetWithFee';
|
|
4783
4829
|
params: {
|
|
4784
|
-
asset:
|
|
4785
|
-
fee:
|
|
4786
|
-
dest:
|
|
4830
|
+
asset: XcmVersionedAsset;
|
|
4831
|
+
fee: XcmVersionedAsset;
|
|
4832
|
+
dest: XcmVersionedLocation;
|
|
4787
4833
|
destWeightLimit: XcmV3WeightLimit;
|
|
4788
4834
|
};
|
|
4789
4835
|
}
|
|
@@ -4795,7 +4841,7 @@ export type OrmlXtokensModuleCallLike =
|
|
|
4795
4841
|
params: {
|
|
4796
4842
|
currencies: Array<[MoonbeamRuntimeXcmConfigCurrencyId, bigint]>;
|
|
4797
4843
|
feeItem: number;
|
|
4798
|
-
dest:
|
|
4844
|
+
dest: XcmVersionedLocation;
|
|
4799
4845
|
destWeightLimit: XcmV3WeightLimit;
|
|
4800
4846
|
};
|
|
4801
4847
|
}
|
|
@@ -4805,22 +4851,22 @@ export type OrmlXtokensModuleCallLike =
|
|
|
4805
4851
|
| {
|
|
4806
4852
|
name: 'TransferMultiassets';
|
|
4807
4853
|
params: {
|
|
4808
|
-
assets:
|
|
4854
|
+
assets: XcmVersionedAssets;
|
|
4809
4855
|
feeItem: number;
|
|
4810
|
-
dest:
|
|
4856
|
+
dest: XcmVersionedLocation;
|
|
4811
4857
|
destWeightLimit: XcmV3WeightLimit;
|
|
4812
4858
|
};
|
|
4813
4859
|
};
|
|
4814
4860
|
|
|
4815
4861
|
export type MoonbeamRuntimeXcmConfigCurrencyId =
|
|
4816
|
-
| {
|
|
4817
|
-
| {
|
|
4818
|
-
| {
|
|
4819
|
-
| { tag: 'Erc20'; value: { contractAddress: H160 } };
|
|
4862
|
+
| { type: 'SelfReserve' }
|
|
4863
|
+
| { type: 'ForeignAsset'; value: bigint }
|
|
4864
|
+
| { type: 'Erc20'; value: { contractAddress: H160 } };
|
|
4820
4865
|
|
|
4821
|
-
export type
|
|
4822
|
-
| {
|
|
4823
|
-
| {
|
|
4866
|
+
export type XcmVersionedAsset =
|
|
4867
|
+
| { type: 'V2'; value: XcmV2MultiassetMultiAsset }
|
|
4868
|
+
| { type: 'V3'; value: XcmV3MultiassetMultiAsset }
|
|
4869
|
+
| { type: 'V4'; value: StagingXcmV4Asset };
|
|
4824
4870
|
|
|
4825
4871
|
/**
|
|
4826
4872
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -4854,8 +4900,8 @@ export type PalletXcmTransactorCall =
|
|
|
4854
4900
|
| {
|
|
4855
4901
|
name: 'TransactThroughSovereign';
|
|
4856
4902
|
params: {
|
|
4857
|
-
dest:
|
|
4858
|
-
feePayer
|
|
4903
|
+
dest: XcmVersionedLocation;
|
|
4904
|
+
feePayer?: AccountId20 | undefined;
|
|
4859
4905
|
fee: PalletXcmTransactorCurrencyPayment;
|
|
4860
4906
|
call: Bytes;
|
|
4861
4907
|
originKind: XcmV2OriginKind;
|
|
@@ -4869,7 +4915,7 @@ export type PalletXcmTransactorCall =
|
|
|
4869
4915
|
| {
|
|
4870
4916
|
name: 'SetTransactInfo';
|
|
4871
4917
|
params: {
|
|
4872
|
-
location:
|
|
4918
|
+
location: XcmVersionedLocation;
|
|
4873
4919
|
transactExtraWeight: SpWeightsWeightV2Weight;
|
|
4874
4920
|
maxWeight: SpWeightsWeightV2Weight;
|
|
4875
4921
|
transactExtraWeightSigned?: SpWeightsWeightV2Weight | undefined;
|
|
@@ -4878,14 +4924,14 @@ export type PalletXcmTransactorCall =
|
|
|
4878
4924
|
/**
|
|
4879
4925
|
* See [`Pallet::remove_transact_info`].
|
|
4880
4926
|
**/
|
|
4881
|
-
| { name: 'RemoveTransactInfo'; params: { location:
|
|
4927
|
+
| { name: 'RemoveTransactInfo'; params: { location: XcmVersionedLocation } }
|
|
4882
4928
|
/**
|
|
4883
4929
|
* See [`Pallet::transact_through_signed`].
|
|
4884
4930
|
**/
|
|
4885
4931
|
| {
|
|
4886
4932
|
name: 'TransactThroughSigned';
|
|
4887
4933
|
params: {
|
|
4888
|
-
dest:
|
|
4934
|
+
dest: XcmVersionedLocation;
|
|
4889
4935
|
fee: PalletXcmTransactorCurrencyPayment;
|
|
4890
4936
|
call: Bytes;
|
|
4891
4937
|
weightInfo: PalletXcmTransactorTransactWeights;
|
|
@@ -4895,11 +4941,11 @@ export type PalletXcmTransactorCall =
|
|
|
4895
4941
|
/**
|
|
4896
4942
|
* See [`Pallet::set_fee_per_second`].
|
|
4897
4943
|
**/
|
|
4898
|
-
| { name: 'SetFeePerSecond'; params: { assetLocation:
|
|
4944
|
+
| { name: 'SetFeePerSecond'; params: { assetLocation: XcmVersionedLocation; feePerSecond: bigint } }
|
|
4899
4945
|
/**
|
|
4900
4946
|
* See [`Pallet::remove_fee_per_second`].
|
|
4901
4947
|
**/
|
|
4902
|
-
| { name: 'RemoveFeePerSecond'; params: { assetLocation:
|
|
4948
|
+
| { name: 'RemoveFeePerSecond'; params: { assetLocation: XcmVersionedLocation } }
|
|
4903
4949
|
/**
|
|
4904
4950
|
* See [`Pallet::hrmp_manage`].
|
|
4905
4951
|
**/
|
|
@@ -4941,8 +4987,8 @@ export type PalletXcmTransactorCallLike =
|
|
|
4941
4987
|
| {
|
|
4942
4988
|
name: 'TransactThroughSovereign';
|
|
4943
4989
|
params: {
|
|
4944
|
-
dest:
|
|
4945
|
-
feePayer
|
|
4990
|
+
dest: XcmVersionedLocation;
|
|
4991
|
+
feePayer?: AccountId20Like | undefined;
|
|
4946
4992
|
fee: PalletXcmTransactorCurrencyPayment;
|
|
4947
4993
|
call: BytesLike;
|
|
4948
4994
|
originKind: XcmV2OriginKind;
|
|
@@ -4956,7 +5002,7 @@ export type PalletXcmTransactorCallLike =
|
|
|
4956
5002
|
| {
|
|
4957
5003
|
name: 'SetTransactInfo';
|
|
4958
5004
|
params: {
|
|
4959
|
-
location:
|
|
5005
|
+
location: XcmVersionedLocation;
|
|
4960
5006
|
transactExtraWeight: SpWeightsWeightV2Weight;
|
|
4961
5007
|
maxWeight: SpWeightsWeightV2Weight;
|
|
4962
5008
|
transactExtraWeightSigned?: SpWeightsWeightV2Weight | undefined;
|
|
@@ -4965,14 +5011,14 @@ export type PalletXcmTransactorCallLike =
|
|
|
4965
5011
|
/**
|
|
4966
5012
|
* See [`Pallet::remove_transact_info`].
|
|
4967
5013
|
**/
|
|
4968
|
-
| { name: 'RemoveTransactInfo'; params: { location:
|
|
5014
|
+
| { name: 'RemoveTransactInfo'; params: { location: XcmVersionedLocation } }
|
|
4969
5015
|
/**
|
|
4970
5016
|
* See [`Pallet::transact_through_signed`].
|
|
4971
5017
|
**/
|
|
4972
5018
|
| {
|
|
4973
5019
|
name: 'TransactThroughSigned';
|
|
4974
5020
|
params: {
|
|
4975
|
-
dest:
|
|
5021
|
+
dest: XcmVersionedLocation;
|
|
4976
5022
|
fee: PalletXcmTransactorCurrencyPayment;
|
|
4977
5023
|
call: BytesLike;
|
|
4978
5024
|
weightInfo: PalletXcmTransactorTransactWeights;
|
|
@@ -4982,11 +5028,11 @@ export type PalletXcmTransactorCallLike =
|
|
|
4982
5028
|
/**
|
|
4983
5029
|
* See [`Pallet::set_fee_per_second`].
|
|
4984
5030
|
**/
|
|
4985
|
-
| { name: 'SetFeePerSecond'; params: { assetLocation:
|
|
5031
|
+
| { name: 'SetFeePerSecond'; params: { assetLocation: XcmVersionedLocation; feePerSecond: bigint } }
|
|
4986
5032
|
/**
|
|
4987
5033
|
* See [`Pallet::remove_fee_per_second`].
|
|
4988
5034
|
**/
|
|
4989
|
-
| { name: 'RemoveFeePerSecond'; params: { assetLocation:
|
|
5035
|
+
| { name: 'RemoveFeePerSecond'; params: { assetLocation: XcmVersionedLocation } }
|
|
4990
5036
|
/**
|
|
4991
5037
|
* See [`Pallet::hrmp_manage`].
|
|
4992
5038
|
**/
|
|
@@ -5007,8 +5053,8 @@ export type PalletXcmTransactorCurrencyPayment = {
|
|
|
5007
5053
|
};
|
|
5008
5054
|
|
|
5009
5055
|
export type PalletXcmTransactorCurrency =
|
|
5010
|
-
| {
|
|
5011
|
-
| {
|
|
5056
|
+
| { type: 'AsCurrencyId'; value: MoonbeamRuntimeXcmConfigCurrencyId }
|
|
5057
|
+
| { type: 'AsMultiLocation'; value: XcmVersionedLocation };
|
|
5012
5058
|
|
|
5013
5059
|
export type PalletXcmTransactorTransactWeights = {
|
|
5014
5060
|
transactRequiredWeightAtMost: SpWeightsWeightV2Weight;
|
|
@@ -5016,10 +5062,10 @@ export type PalletXcmTransactorTransactWeights = {
|
|
|
5016
5062
|
};
|
|
5017
5063
|
|
|
5018
5064
|
export type PalletXcmTransactorHrmpOperation =
|
|
5019
|
-
| {
|
|
5020
|
-
| {
|
|
5021
|
-
| {
|
|
5022
|
-
| {
|
|
5065
|
+
| { type: 'InitOpen'; value: PalletXcmTransactorHrmpInitParams }
|
|
5066
|
+
| { type: 'Accept'; value: { paraId: PolkadotParachainPrimitivesPrimitivesId } }
|
|
5067
|
+
| { type: 'Close'; value: PolkadotParachainPrimitivesPrimitivesHrmpChannelId }
|
|
5068
|
+
| { type: 'Cancel'; value: { channelId: PolkadotParachainPrimitivesPrimitivesHrmpChannelId; openRequests: number } };
|
|
5023
5069
|
|
|
5024
5070
|
export type PalletXcmTransactorHrmpInitParams = {
|
|
5025
5071
|
paraId: PolkadotParachainPrimitivesPrimitivesId;
|
|
@@ -5078,8 +5124,8 @@ export type PalletEthereumXcmCallLike =
|
|
|
5078
5124
|
| { name: 'ResumeEthereumXcmExecution' };
|
|
5079
5125
|
|
|
5080
5126
|
export type XcmPrimitivesEthereumXcmEthereumXcmTransaction =
|
|
5081
|
-
| {
|
|
5082
|
-
| {
|
|
5127
|
+
| { type: 'V1'; value: XcmPrimitivesEthereumXcmEthereumXcmTransactionV1 }
|
|
5128
|
+
| { type: 'V2'; value: XcmPrimitivesEthereumXcmEthereumXcmTransactionV2 };
|
|
5083
5129
|
|
|
5084
5130
|
export type XcmPrimitivesEthereumXcmEthereumXcmTransactionV1 = {
|
|
5085
5131
|
gasLimit: U256;
|
|
@@ -5091,8 +5137,8 @@ export type XcmPrimitivesEthereumXcmEthereumXcmTransactionV1 = {
|
|
|
5091
5137
|
};
|
|
5092
5138
|
|
|
5093
5139
|
export type XcmPrimitivesEthereumXcmEthereumXcmFee =
|
|
5094
|
-
| {
|
|
5095
|
-
| {
|
|
5140
|
+
| { type: 'Manual'; value: XcmPrimitivesEthereumXcmManualEthereumXcmFee }
|
|
5141
|
+
| { type: 'Auto' };
|
|
5096
5142
|
|
|
5097
5143
|
export type XcmPrimitivesEthereumXcmManualEthereumXcmFee = {
|
|
5098
5144
|
gasPrice?: U256 | undefined;
|
|
@@ -5107,6 +5153,50 @@ export type XcmPrimitivesEthereumXcmEthereumXcmTransactionV2 = {
|
|
|
5107
5153
|
accessList?: Array<[H160, Array<H256>]> | undefined;
|
|
5108
5154
|
};
|
|
5109
5155
|
|
|
5156
|
+
/**
|
|
5157
|
+
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
5158
|
+
**/
|
|
5159
|
+
export type PalletMessageQueueCall =
|
|
5160
|
+
/**
|
|
5161
|
+
* See [`Pallet::reap_page`].
|
|
5162
|
+
**/
|
|
5163
|
+
| { name: 'ReapPage'; params: { messageOrigin: CumulusPrimitivesCoreAggregateMessageOrigin; pageIndex: number } }
|
|
5164
|
+
/**
|
|
5165
|
+
* See [`Pallet::execute_overweight`].
|
|
5166
|
+
**/
|
|
5167
|
+
| {
|
|
5168
|
+
name: 'ExecuteOverweight';
|
|
5169
|
+
params: {
|
|
5170
|
+
messageOrigin: CumulusPrimitivesCoreAggregateMessageOrigin;
|
|
5171
|
+
page: number;
|
|
5172
|
+
index: number;
|
|
5173
|
+
weightLimit: SpWeightsWeightV2Weight;
|
|
5174
|
+
};
|
|
5175
|
+
};
|
|
5176
|
+
|
|
5177
|
+
export type PalletMessageQueueCallLike =
|
|
5178
|
+
/**
|
|
5179
|
+
* See [`Pallet::reap_page`].
|
|
5180
|
+
**/
|
|
5181
|
+
| { name: 'ReapPage'; params: { messageOrigin: CumulusPrimitivesCoreAggregateMessageOrigin; pageIndex: number } }
|
|
5182
|
+
/**
|
|
5183
|
+
* See [`Pallet::execute_overweight`].
|
|
5184
|
+
**/
|
|
5185
|
+
| {
|
|
5186
|
+
name: 'ExecuteOverweight';
|
|
5187
|
+
params: {
|
|
5188
|
+
messageOrigin: CumulusPrimitivesCoreAggregateMessageOrigin;
|
|
5189
|
+
page: number;
|
|
5190
|
+
index: number;
|
|
5191
|
+
weightLimit: SpWeightsWeightV2Weight;
|
|
5192
|
+
};
|
|
5193
|
+
};
|
|
5194
|
+
|
|
5195
|
+
export type CumulusPrimitivesCoreAggregateMessageOrigin =
|
|
5196
|
+
| { type: 'Here' }
|
|
5197
|
+
| { type: 'Parent' }
|
|
5198
|
+
| { type: 'Sibling'; value: PolkadotParachainPrimitivesPrimitivesId };
|
|
5199
|
+
|
|
5110
5200
|
/**
|
|
5111
5201
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
5112
5202
|
**/
|
|
@@ -5292,53 +5382,10 @@ export type PalletCrowdloanRewardsEvent =
|
|
|
5292
5382
|
* The `Event` enum of this pallet
|
|
5293
5383
|
**/
|
|
5294
5384
|
export type CumulusPalletXcmpQueueEvent =
|
|
5295
|
-
/**
|
|
5296
|
-
* Some XCM was executed ok.
|
|
5297
|
-
**/
|
|
5298
|
-
| {
|
|
5299
|
-
name: 'Success';
|
|
5300
|
-
data: { messageHash: FixedBytes<32>; messageId: FixedBytes<32>; weight: SpWeightsWeightV2Weight };
|
|
5301
|
-
}
|
|
5302
|
-
/**
|
|
5303
|
-
* Some XCM failed.
|
|
5304
|
-
**/
|
|
5305
|
-
| {
|
|
5306
|
-
name: 'Fail';
|
|
5307
|
-
data: {
|
|
5308
|
-
messageHash: FixedBytes<32>;
|
|
5309
|
-
messageId: FixedBytes<32>;
|
|
5310
|
-
error: XcmV3TraitsError;
|
|
5311
|
-
weight: SpWeightsWeightV2Weight;
|
|
5312
|
-
};
|
|
5313
|
-
}
|
|
5314
|
-
/**
|
|
5315
|
-
* Bad XCM version used.
|
|
5316
|
-
**/
|
|
5317
|
-
| { name: 'BadVersion'; data: { messageHash: FixedBytes<32> } }
|
|
5318
|
-
/**
|
|
5319
|
-
* Bad XCM format used.
|
|
5320
|
-
**/
|
|
5321
|
-
| { name: 'BadFormat'; data: { messageHash: FixedBytes<32> } }
|
|
5322
5385
|
/**
|
|
5323
5386
|
* An HRMP message was sent to a sibling parachain.
|
|
5324
5387
|
**/
|
|
5325
|
-
|
|
5326
|
-
/**
|
|
5327
|
-
* An XCM exceeded the individual message weight budget.
|
|
5328
|
-
**/
|
|
5329
|
-
| {
|
|
5330
|
-
name: 'OverweightEnqueued';
|
|
5331
|
-
data: {
|
|
5332
|
-
sender: PolkadotParachainPrimitivesPrimitivesId;
|
|
5333
|
-
sentAt: number;
|
|
5334
|
-
index: bigint;
|
|
5335
|
-
required: SpWeightsWeightV2Weight;
|
|
5336
|
-
};
|
|
5337
|
-
}
|
|
5338
|
-
/**
|
|
5339
|
-
* An XCM from the overweight queue was executed with the given actual weight used.
|
|
5340
|
-
**/
|
|
5341
|
-
| { name: 'OverweightServiced'; data: { index: bigint; used: SpWeightsWeightV2Weight } };
|
|
5388
|
+
{ name: 'XcmpMessageSent'; data: { messageHash: FixedBytes<32> } };
|
|
5342
5389
|
|
|
5343
5390
|
/**
|
|
5344
5391
|
* The `Event` enum of this pallet
|
|
@@ -5358,64 +5405,65 @@ export type CumulusPalletXcmEvent =
|
|
|
5358
5405
|
* Downward message executed with the given outcome.
|
|
5359
5406
|
* \[ id, outcome \]
|
|
5360
5407
|
**/
|
|
5361
|
-
| { name: 'ExecutedDownward'; data: [FixedBytes<32>,
|
|
5408
|
+
| { name: 'ExecutedDownward'; data: [FixedBytes<32>, StagingXcmV4TraitsOutcome] };
|
|
5362
5409
|
|
|
5363
|
-
export type
|
|
5364
|
-
| {
|
|
5365
|
-
| {
|
|
5366
|
-
| {
|
|
5410
|
+
export type StagingXcmV4TraitsOutcome =
|
|
5411
|
+
| { type: 'Complete'; value: { used: SpWeightsWeightV2Weight } }
|
|
5412
|
+
| { type: 'Incomplete'; value: { used: SpWeightsWeightV2Weight; error: XcmV3TraitsError } }
|
|
5413
|
+
| { type: 'Error'; value: { error: XcmV3TraitsError } };
|
|
5367
5414
|
|
|
5368
5415
|
/**
|
|
5369
5416
|
* The `Event` enum of this pallet
|
|
5370
5417
|
**/
|
|
5371
5418
|
export type CumulusPalletDmpQueueEvent =
|
|
5372
5419
|
/**
|
|
5373
|
-
*
|
|
5420
|
+
* The export of pages started.
|
|
5374
5421
|
**/
|
|
5375
|
-
| { name: '
|
|
5422
|
+
| { name: 'StartedExport' }
|
|
5376
5423
|
/**
|
|
5377
|
-
*
|
|
5424
|
+
* The export of a page completed.
|
|
5378
5425
|
**/
|
|
5379
|
-
| { name: '
|
|
5426
|
+
| { name: 'Exported'; data: { page: number } }
|
|
5380
5427
|
/**
|
|
5381
|
-
*
|
|
5428
|
+
* The export of a page failed.
|
|
5429
|
+
*
|
|
5430
|
+
* This should never be emitted.
|
|
5382
5431
|
**/
|
|
5383
|
-
| {
|
|
5384
|
-
name: 'ExecutedDownward';
|
|
5385
|
-
data: { messageHash: FixedBytes<32>; messageId: FixedBytes<32>; outcome: XcmV3TraitsOutcome };
|
|
5386
|
-
}
|
|
5432
|
+
| { name: 'ExportFailed'; data: { page: number } }
|
|
5387
5433
|
/**
|
|
5388
|
-
* The
|
|
5434
|
+
* The export of pages completed.
|
|
5389
5435
|
**/
|
|
5390
|
-
| {
|
|
5391
|
-
name: 'WeightExhausted';
|
|
5392
|
-
data: {
|
|
5393
|
-
messageHash: FixedBytes<32>;
|
|
5394
|
-
messageId: FixedBytes<32>;
|
|
5395
|
-
remainingWeight: SpWeightsWeightV2Weight;
|
|
5396
|
-
requiredWeight: SpWeightsWeightV2Weight;
|
|
5397
|
-
};
|
|
5398
|
-
}
|
|
5436
|
+
| { name: 'CompletedExport' }
|
|
5399
5437
|
/**
|
|
5400
|
-
*
|
|
5438
|
+
* The export of overweight messages started.
|
|
5401
5439
|
**/
|
|
5402
|
-
| {
|
|
5403
|
-
|
|
5404
|
-
|
|
5405
|
-
|
|
5406
|
-
|
|
5407
|
-
|
|
5408
|
-
|
|
5409
|
-
|
|
5410
|
-
|
|
5440
|
+
| { name: 'StartedOverweightExport' }
|
|
5441
|
+
/**
|
|
5442
|
+
* The export of an overweight message completed.
|
|
5443
|
+
**/
|
|
5444
|
+
| { name: 'ExportedOverweight'; data: { index: bigint } }
|
|
5445
|
+
/**
|
|
5446
|
+
* The export of an overweight message failed.
|
|
5447
|
+
*
|
|
5448
|
+
* This should never be emitted.
|
|
5449
|
+
**/
|
|
5450
|
+
| { name: 'ExportOverweightFailed'; data: { index: bigint } }
|
|
5451
|
+
/**
|
|
5452
|
+
* The export of overweight messages completed.
|
|
5453
|
+
**/
|
|
5454
|
+
| { name: 'CompletedOverweightExport' }
|
|
5455
|
+
/**
|
|
5456
|
+
* The cleanup of remaining pallet storage started.
|
|
5457
|
+
**/
|
|
5458
|
+
| { name: 'StartedCleanup' }
|
|
5411
5459
|
/**
|
|
5412
|
-
*
|
|
5460
|
+
* Some debris was cleaned up.
|
|
5413
5461
|
**/
|
|
5414
|
-
| { name: '
|
|
5462
|
+
| { name: 'CleanedSome'; data: { keysRemoved: number } }
|
|
5415
5463
|
/**
|
|
5416
|
-
* The
|
|
5464
|
+
* The cleanup of remaining pallet storage completed.
|
|
5417
5465
|
**/
|
|
5418
|
-
| { name: '
|
|
5466
|
+
| { name: 'Completed'; data: { error: boolean } };
|
|
5419
5467
|
|
|
5420
5468
|
/**
|
|
5421
5469
|
* The `Event` enum of this pallet
|
|
@@ -5424,16 +5472,16 @@ export type PalletXcmEvent =
|
|
|
5424
5472
|
/**
|
|
5425
5473
|
* Execution of an XCM message was attempted.
|
|
5426
5474
|
**/
|
|
5427
|
-
| { name: 'Attempted'; data: { outcome:
|
|
5475
|
+
| { name: 'Attempted'; data: { outcome: StagingXcmV4TraitsOutcome } }
|
|
5428
5476
|
/**
|
|
5429
5477
|
* A XCM message was sent.
|
|
5430
5478
|
**/
|
|
5431
5479
|
| {
|
|
5432
5480
|
name: 'Sent';
|
|
5433
5481
|
data: {
|
|
5434
|
-
origin:
|
|
5435
|
-
destination:
|
|
5436
|
-
message:
|
|
5482
|
+
origin: StagingXcmV4Location;
|
|
5483
|
+
destination: StagingXcmV4Location;
|
|
5484
|
+
message: StagingXcmV4Xcm;
|
|
5437
5485
|
messageId: FixedBytes<32>;
|
|
5438
5486
|
};
|
|
5439
5487
|
}
|
|
@@ -5442,12 +5490,12 @@ export type PalletXcmEvent =
|
|
|
5442
5490
|
* matching query was never registered, it may be because it is a duplicate response, or
|
|
5443
5491
|
* because the query timed out.
|
|
5444
5492
|
**/
|
|
5445
|
-
| { name: 'UnexpectedResponse'; data: { origin:
|
|
5493
|
+
| { name: 'UnexpectedResponse'; data: { origin: StagingXcmV4Location; queryId: bigint } }
|
|
5446
5494
|
/**
|
|
5447
5495
|
* Query response has been received and is ready for taking with `take_response`. There is
|
|
5448
5496
|
* no registered notification call.
|
|
5449
5497
|
**/
|
|
5450
|
-
| { name: 'ResponseReady'; data: { queryId: bigint; response:
|
|
5498
|
+
| { name: 'ResponseReady'; data: { queryId: bigint; response: StagingXcmV4Response } }
|
|
5451
5499
|
/**
|
|
5452
5500
|
* Query response has been received and query is removed. The registered notification has
|
|
5453
5501
|
* been dispatched and executed successfully.
|
|
@@ -5486,11 +5534,7 @@ export type PalletXcmEvent =
|
|
|
5486
5534
|
**/
|
|
5487
5535
|
| {
|
|
5488
5536
|
name: 'InvalidResponder';
|
|
5489
|
-
data: {
|
|
5490
|
-
origin: StagingXcmV3MultilocationMultiLocation;
|
|
5491
|
-
queryId: bigint;
|
|
5492
|
-
expectedLocation?: StagingXcmV3MultilocationMultiLocation | undefined;
|
|
5493
|
-
};
|
|
5537
|
+
data: { origin: StagingXcmV4Location; queryId: bigint; expectedLocation?: StagingXcmV4Location | undefined };
|
|
5494
5538
|
}
|
|
5495
5539
|
/**
|
|
5496
5540
|
* Expected query response has been received but the expected origin location placed in
|
|
@@ -5501,7 +5545,7 @@ export type PalletXcmEvent =
|
|
|
5501
5545
|
* valid response will be dropped. Manual governance intervention is probably going to be
|
|
5502
5546
|
* needed.
|
|
5503
5547
|
**/
|
|
5504
|
-
| { name: 'InvalidResponderVersion'; data: { origin:
|
|
5548
|
+
| { name: 'InvalidResponderVersion'; data: { origin: StagingXcmV4Location; queryId: bigint } }
|
|
5505
5549
|
/**
|
|
5506
5550
|
* Received query response has been read and removed.
|
|
5507
5551
|
**/
|
|
@@ -5509,10 +5553,7 @@ export type PalletXcmEvent =
|
|
|
5509
5553
|
/**
|
|
5510
5554
|
* Some assets have been placed in an asset trap.
|
|
5511
5555
|
**/
|
|
5512
|
-
| {
|
|
5513
|
-
name: 'AssetsTrapped';
|
|
5514
|
-
data: { hash: H256; origin: StagingXcmV3MultilocationMultiLocation; assets: XcmVersionedMultiAssets };
|
|
5515
|
-
}
|
|
5556
|
+
| { name: 'AssetsTrapped'; data: { hash: H256; origin: StagingXcmV4Location; assets: XcmVersionedAssets } }
|
|
5516
5557
|
/**
|
|
5517
5558
|
* An XCM version change notification message has been attempted to be sent.
|
|
5518
5559
|
*
|
|
@@ -5521,9 +5562,9 @@ export type PalletXcmEvent =
|
|
|
5521
5562
|
| {
|
|
5522
5563
|
name: 'VersionChangeNotified';
|
|
5523
5564
|
data: {
|
|
5524
|
-
destination:
|
|
5565
|
+
destination: StagingXcmV4Location;
|
|
5525
5566
|
result: number;
|
|
5526
|
-
cost:
|
|
5567
|
+
cost: StagingXcmV4AssetAssets;
|
|
5527
5568
|
messageId: FixedBytes<32>;
|
|
5528
5569
|
};
|
|
5529
5570
|
}
|
|
@@ -5531,20 +5572,17 @@ export type PalletXcmEvent =
|
|
|
5531
5572
|
* The supported version of a location has been changed. This might be through an
|
|
5532
5573
|
* automatic notification or a manual intervention.
|
|
5533
5574
|
**/
|
|
5534
|
-
| { name: 'SupportedVersionChanged'; data: { location:
|
|
5575
|
+
| { name: 'SupportedVersionChanged'; data: { location: StagingXcmV4Location; version: number } }
|
|
5535
5576
|
/**
|
|
5536
5577
|
* A given location which had a version change subscription was dropped owing to an error
|
|
5537
5578
|
* sending the notification to it.
|
|
5538
5579
|
**/
|
|
5539
|
-
| {
|
|
5540
|
-
name: 'NotifyTargetSendFail';
|
|
5541
|
-
data: { location: StagingXcmV3MultilocationMultiLocation; queryId: bigint; error: XcmV3TraitsError };
|
|
5542
|
-
}
|
|
5580
|
+
| { name: 'NotifyTargetSendFail'; data: { location: StagingXcmV4Location; queryId: bigint; error: XcmV3TraitsError } }
|
|
5543
5581
|
/**
|
|
5544
5582
|
* A given location which had a version change subscription was dropped owing to an error
|
|
5545
5583
|
* migrating the location to our new XCM format.
|
|
5546
5584
|
**/
|
|
5547
|
-
| { name: 'NotifyTargetMigrationFail'; data: { location:
|
|
5585
|
+
| { name: 'NotifyTargetMigrationFail'; data: { location: XcmVersionedLocation; queryId: bigint } }
|
|
5548
5586
|
/**
|
|
5549
5587
|
* Expected query response has been received but the expected querier location placed in
|
|
5550
5588
|
* storage by this runtime previously cannot be decoded. The query remains registered.
|
|
@@ -5554,7 +5592,7 @@ export type PalletXcmEvent =
|
|
|
5554
5592
|
* valid response will be dropped. Manual governance intervention is probably going to be
|
|
5555
5593
|
* needed.
|
|
5556
5594
|
**/
|
|
5557
|
-
| { name: 'InvalidQuerierVersion'; data: { origin:
|
|
5595
|
+
| { name: 'InvalidQuerierVersion'; data: { origin: StagingXcmV4Location; queryId: bigint } }
|
|
5558
5596
|
/**
|
|
5559
5597
|
* Expected query response has been received but the querier location of the response does
|
|
5560
5598
|
* not match the expected. The query remains registered for a later, valid, response to
|
|
@@ -5563,10 +5601,10 @@ export type PalletXcmEvent =
|
|
|
5563
5601
|
| {
|
|
5564
5602
|
name: 'InvalidQuerier';
|
|
5565
5603
|
data: {
|
|
5566
|
-
origin:
|
|
5604
|
+
origin: StagingXcmV4Location;
|
|
5567
5605
|
queryId: bigint;
|
|
5568
|
-
expectedQuerier:
|
|
5569
|
-
maybeActualQuerier?:
|
|
5606
|
+
expectedQuerier: StagingXcmV4Location;
|
|
5607
|
+
maybeActualQuerier?: StagingXcmV4Location | undefined;
|
|
5570
5608
|
};
|
|
5571
5609
|
}
|
|
5572
5610
|
/**
|
|
@@ -5575,22 +5613,14 @@ export type PalletXcmEvent =
|
|
|
5575
5613
|
**/
|
|
5576
5614
|
| {
|
|
5577
5615
|
name: 'VersionNotifyStarted';
|
|
5578
|
-
data: {
|
|
5579
|
-
destination: StagingXcmV3MultilocationMultiLocation;
|
|
5580
|
-
cost: XcmV3MultiassetMultiAssets;
|
|
5581
|
-
messageId: FixedBytes<32>;
|
|
5582
|
-
};
|
|
5616
|
+
data: { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> };
|
|
5583
5617
|
}
|
|
5584
5618
|
/**
|
|
5585
5619
|
* We have requested that a remote chain send us XCM version change notifications.
|
|
5586
5620
|
**/
|
|
5587
5621
|
| {
|
|
5588
5622
|
name: 'VersionNotifyRequested';
|
|
5589
|
-
data: {
|
|
5590
|
-
destination: StagingXcmV3MultilocationMultiLocation;
|
|
5591
|
-
cost: XcmV3MultiassetMultiAssets;
|
|
5592
|
-
messageId: FixedBytes<32>;
|
|
5593
|
-
};
|
|
5623
|
+
data: { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> };
|
|
5594
5624
|
}
|
|
5595
5625
|
/**
|
|
5596
5626
|
* We have requested that a remote chain stops sending us XCM version change
|
|
@@ -5598,23 +5628,20 @@ export type PalletXcmEvent =
|
|
|
5598
5628
|
**/
|
|
5599
5629
|
| {
|
|
5600
5630
|
name: 'VersionNotifyUnrequested';
|
|
5601
|
-
data: {
|
|
5602
|
-
destination: StagingXcmV3MultilocationMultiLocation;
|
|
5603
|
-
cost: XcmV3MultiassetMultiAssets;
|
|
5604
|
-
messageId: FixedBytes<32>;
|
|
5605
|
-
};
|
|
5631
|
+
data: { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> };
|
|
5606
5632
|
}
|
|
5607
5633
|
/**
|
|
5608
5634
|
* Fees were paid from a location for an operation (often for using `SendXcm`).
|
|
5609
5635
|
**/
|
|
5610
|
-
| { name: 'FeesPaid'; data: { paying:
|
|
5636
|
+
| { name: 'FeesPaid'; data: { paying: StagingXcmV4Location; fees: StagingXcmV4AssetAssets } }
|
|
5611
5637
|
/**
|
|
5612
5638
|
* Some assets have been claimed from an asset trap
|
|
5613
5639
|
**/
|
|
5614
|
-
| {
|
|
5615
|
-
|
|
5616
|
-
|
|
5617
|
-
|
|
5640
|
+
| { name: 'AssetsClaimed'; data: { hash: H256; origin: StagingXcmV4Location; assets: XcmVersionedAssets } }
|
|
5641
|
+
/**
|
|
5642
|
+
* A XCM version migration finished.
|
|
5643
|
+
**/
|
|
5644
|
+
| { name: 'VersionMigrationFinished'; data: { version: number } };
|
|
5618
5645
|
|
|
5619
5646
|
/**
|
|
5620
5647
|
* The `Event` enum of this pallet
|
|
@@ -5752,10 +5779,6 @@ export type PalletAssetManagerEvent =
|
|
|
5752
5779
|
* Supported asset type for fee payment removed
|
|
5753
5780
|
**/
|
|
5754
5781
|
| { name: 'SupportedAssetRemoved'; data: { assetType: MoonbeamRuntimeXcmConfigAssetType } }
|
|
5755
|
-
/**
|
|
5756
|
-
* Local asset was created
|
|
5757
|
-
**/
|
|
5758
|
-
| { name: 'LocalAssetRegistered'; data: { assetId: bigint; creator: AccountId20; owner: AccountId20 } }
|
|
5759
5782
|
/**
|
|
5760
5783
|
* Removed all information related to an assetId and destroyed asset
|
|
5761
5784
|
**/
|
|
@@ -5770,16 +5793,11 @@ export type PalletAssetManagerEvent =
|
|
|
5770
5793
|
**/
|
|
5771
5794
|
export type OrmlXtokensModuleEvent =
|
|
5772
5795
|
/**
|
|
5773
|
-
* Transferred `
|
|
5796
|
+
* Transferred `Asset` with fee.
|
|
5774
5797
|
**/
|
|
5775
5798
|
{
|
|
5776
|
-
name: '
|
|
5777
|
-
data: {
|
|
5778
|
-
sender: AccountId20;
|
|
5779
|
-
assets: XcmV3MultiassetMultiAssets;
|
|
5780
|
-
fee: XcmV3MultiassetMultiAsset;
|
|
5781
|
-
dest: StagingXcmV3MultilocationMultiLocation;
|
|
5782
|
-
};
|
|
5799
|
+
name: 'TransferredAssets';
|
|
5800
|
+
data: { sender: AccountId20; assets: StagingXcmV4AssetAssets; fee: StagingXcmV4Asset; dest: StagingXcmV4Location };
|
|
5783
5801
|
};
|
|
5784
5802
|
|
|
5785
5803
|
/**
|
|
@@ -5791,22 +5809,19 @@ export type PalletXcmTransactorEvent =
|
|
|
5791
5809
|
**/
|
|
5792
5810
|
| {
|
|
5793
5811
|
name: 'TransactedDerivative';
|
|
5794
|
-
data: { accountId: AccountId20; dest:
|
|
5812
|
+
data: { accountId: AccountId20; dest: StagingXcmV4Location; call: Bytes; index: number };
|
|
5795
5813
|
}
|
|
5796
5814
|
/**
|
|
5797
5815
|
* Transacted the call through the sovereign account in a destination chain.
|
|
5798
5816
|
**/
|
|
5799
5817
|
| {
|
|
5800
5818
|
name: 'TransactedSovereign';
|
|
5801
|
-
data: { feePayer
|
|
5819
|
+
data: { feePayer?: AccountId20 | undefined; dest: StagingXcmV4Location; call: Bytes };
|
|
5802
5820
|
}
|
|
5803
5821
|
/**
|
|
5804
5822
|
* Transacted the call through a signed account in a destination chain.
|
|
5805
5823
|
**/
|
|
5806
|
-
| {
|
|
5807
|
-
name: 'TransactedSigned';
|
|
5808
|
-
data: { feePayer: AccountId20; dest: StagingXcmV3MultilocationMultiLocation; call: Bytes };
|
|
5809
|
-
}
|
|
5824
|
+
| { name: 'TransactedSigned'; data: { feePayer: AccountId20; dest: StagingXcmV4Location; call: Bytes } }
|
|
5810
5825
|
/**
|
|
5811
5826
|
* Registered a derivative index for an account id.
|
|
5812
5827
|
**/
|
|
@@ -5821,36 +5836,143 @@ export type PalletXcmTransactorEvent =
|
|
|
5821
5836
|
**/
|
|
5822
5837
|
| {
|
|
5823
5838
|
name: 'TransactInfoChanged';
|
|
5839
|
+
data: { location: StagingXcmV4Location; remoteInfo: PalletXcmTransactorRemoteTransactInfoWithMaxWeight };
|
|
5840
|
+
}
|
|
5841
|
+
/**
|
|
5842
|
+
* Removed the transact info of a location
|
|
5843
|
+
**/
|
|
5844
|
+
| { name: 'TransactInfoRemoved'; data: { location: StagingXcmV4Location } }
|
|
5845
|
+
/**
|
|
5846
|
+
* Set dest fee per second
|
|
5847
|
+
**/
|
|
5848
|
+
| { name: 'DestFeePerSecondChanged'; data: { location: StagingXcmV4Location; feePerSecond: bigint } }
|
|
5849
|
+
/**
|
|
5850
|
+
* Remove dest fee per second
|
|
5851
|
+
**/
|
|
5852
|
+
| { name: 'DestFeePerSecondRemoved'; data: { location: StagingXcmV4Location } }
|
|
5853
|
+
/**
|
|
5854
|
+
* HRMP manage action succesfully sent
|
|
5855
|
+
**/
|
|
5856
|
+
| { name: 'HrmpManagementSent'; data: { action: PalletXcmTransactorHrmpOperation } };
|
|
5857
|
+
|
|
5858
|
+
export type PalletXcmTransactorRemoteTransactInfoWithMaxWeight = {
|
|
5859
|
+
transactExtraWeight: SpWeightsWeightV2Weight;
|
|
5860
|
+
maxWeight: SpWeightsWeightV2Weight;
|
|
5861
|
+
transactExtraWeightSigned?: SpWeightsWeightV2Weight | undefined;
|
|
5862
|
+
};
|
|
5863
|
+
|
|
5864
|
+
/**
|
|
5865
|
+
* The `Event` enum of this pallet
|
|
5866
|
+
**/
|
|
5867
|
+
export type PalletMessageQueueEvent =
|
|
5868
|
+
/**
|
|
5869
|
+
* Message discarded due to an error in the `MessageProcessor` (usually a format error).
|
|
5870
|
+
**/
|
|
5871
|
+
| {
|
|
5872
|
+
name: 'ProcessingFailed';
|
|
5824
5873
|
data: {
|
|
5825
|
-
|
|
5826
|
-
|
|
5874
|
+
/**
|
|
5875
|
+
* The `blake2_256` hash of the message.
|
|
5876
|
+
**/
|
|
5877
|
+
id: H256;
|
|
5878
|
+
|
|
5879
|
+
/**
|
|
5880
|
+
* The queue of the message.
|
|
5881
|
+
**/
|
|
5882
|
+
origin: CumulusPrimitivesCoreAggregateMessageOrigin;
|
|
5883
|
+
|
|
5884
|
+
/**
|
|
5885
|
+
* The error that occurred.
|
|
5886
|
+
*
|
|
5887
|
+
* This error is pretty opaque. More fine-grained errors need to be emitted as events
|
|
5888
|
+
* by the `MessageProcessor`.
|
|
5889
|
+
**/
|
|
5890
|
+
error: FrameSupportMessagesProcessMessageError;
|
|
5891
|
+
};
|
|
5892
|
+
}
|
|
5893
|
+
/**
|
|
5894
|
+
* Message is processed.
|
|
5895
|
+
**/
|
|
5896
|
+
| {
|
|
5897
|
+
name: 'Processed';
|
|
5898
|
+
data: {
|
|
5899
|
+
/**
|
|
5900
|
+
* The `blake2_256` hash of the message.
|
|
5901
|
+
**/
|
|
5902
|
+
id: H256;
|
|
5903
|
+
|
|
5904
|
+
/**
|
|
5905
|
+
* The queue of the message.
|
|
5906
|
+
**/
|
|
5907
|
+
origin: CumulusPrimitivesCoreAggregateMessageOrigin;
|
|
5908
|
+
|
|
5909
|
+
/**
|
|
5910
|
+
* How much weight was used to process the message.
|
|
5911
|
+
**/
|
|
5912
|
+
weightUsed: SpWeightsWeightV2Weight;
|
|
5913
|
+
|
|
5914
|
+
/**
|
|
5915
|
+
* Whether the message was processed.
|
|
5916
|
+
*
|
|
5917
|
+
* Note that this does not mean that the underlying `MessageProcessor` was internally
|
|
5918
|
+
* successful. It *solely* means that the MQ pallet will treat this as a success
|
|
5919
|
+
* condition and discard the message. Any internal error needs to be emitted as events
|
|
5920
|
+
* by the `MessageProcessor`.
|
|
5921
|
+
**/
|
|
5922
|
+
success: boolean;
|
|
5827
5923
|
};
|
|
5828
5924
|
}
|
|
5829
5925
|
/**
|
|
5830
|
-
*
|
|
5831
|
-
**/
|
|
5832
|
-
| { name: 'TransactInfoRemoved'; data: { location: StagingXcmV3MultilocationMultiLocation } }
|
|
5833
|
-
/**
|
|
5834
|
-
* Set dest fee per second
|
|
5926
|
+
* Message placed in overweight queue.
|
|
5835
5927
|
**/
|
|
5836
5928
|
| {
|
|
5837
|
-
name: '
|
|
5838
|
-
data: {
|
|
5929
|
+
name: 'OverweightEnqueued';
|
|
5930
|
+
data: {
|
|
5931
|
+
/**
|
|
5932
|
+
* The `blake2_256` hash of the message.
|
|
5933
|
+
**/
|
|
5934
|
+
id: FixedBytes<32>;
|
|
5935
|
+
|
|
5936
|
+
/**
|
|
5937
|
+
* The queue of the message.
|
|
5938
|
+
**/
|
|
5939
|
+
origin: CumulusPrimitivesCoreAggregateMessageOrigin;
|
|
5940
|
+
|
|
5941
|
+
/**
|
|
5942
|
+
* The page of the message.
|
|
5943
|
+
**/
|
|
5944
|
+
pageIndex: number;
|
|
5945
|
+
|
|
5946
|
+
/**
|
|
5947
|
+
* The index of the message within the page.
|
|
5948
|
+
**/
|
|
5949
|
+
messageIndex: number;
|
|
5950
|
+
};
|
|
5839
5951
|
}
|
|
5840
5952
|
/**
|
|
5841
|
-
*
|
|
5842
|
-
**/
|
|
5843
|
-
| { name: 'DestFeePerSecondRemoved'; data: { location: StagingXcmV3MultilocationMultiLocation } }
|
|
5844
|
-
/**
|
|
5845
|
-
* HRMP manage action succesfully sent
|
|
5953
|
+
* This page was reaped.
|
|
5846
5954
|
**/
|
|
5847
|
-
| {
|
|
5955
|
+
| {
|
|
5956
|
+
name: 'PageReaped';
|
|
5957
|
+
data: {
|
|
5958
|
+
/**
|
|
5959
|
+
* The queue of the page.
|
|
5960
|
+
**/
|
|
5961
|
+
origin: CumulusPrimitivesCoreAggregateMessageOrigin;
|
|
5848
5962
|
|
|
5849
|
-
|
|
5850
|
-
|
|
5851
|
-
|
|
5852
|
-
|
|
5853
|
-
};
|
|
5963
|
+
/**
|
|
5964
|
+
* The index of the page.
|
|
5965
|
+
**/
|
|
5966
|
+
index: number;
|
|
5967
|
+
};
|
|
5968
|
+
};
|
|
5969
|
+
|
|
5970
|
+
export type FrameSupportMessagesProcessMessageError =
|
|
5971
|
+
| { type: 'BadFormat' }
|
|
5972
|
+
| { type: 'Corrupt' }
|
|
5973
|
+
| { type: 'Unsupported' }
|
|
5974
|
+
| { type: 'Overweight'; value: SpWeightsWeightV2Weight }
|
|
5975
|
+
| { type: 'Yield' };
|
|
5854
5976
|
|
|
5855
5977
|
/**
|
|
5856
5978
|
* The `Event` enum of this pallet
|
|
@@ -5888,6 +6010,8 @@ export type PalletRandomnessEvent =
|
|
|
5888
6010
|
|
|
5889
6011
|
export type FrameSystemLastRuntimeUpgradeInfo = { specVersion: number; specName: string };
|
|
5890
6012
|
|
|
6013
|
+
export type FrameSystemCodeUpgradeAuthorization = { codeHash: H256; checkVersion: boolean };
|
|
6014
|
+
|
|
5891
6015
|
export type FrameSystemLimitsBlockWeights = {
|
|
5892
6016
|
baseBlock: SpWeightsWeightV2Weight;
|
|
5893
6017
|
maxBlock: SpWeightsWeightV2Weight;
|
|
@@ -5944,7 +6068,15 @@ export type FrameSystemError =
|
|
|
5944
6068
|
/**
|
|
5945
6069
|
* The origin filter prevent the call to be dispatched.
|
|
5946
6070
|
**/
|
|
5947
|
-
| 'CallFiltered'
|
|
6071
|
+
| 'CallFiltered'
|
|
6072
|
+
/**
|
|
6073
|
+
* No upgrade authorized.
|
|
6074
|
+
**/
|
|
6075
|
+
| 'NothingAuthorized'
|
|
6076
|
+
/**
|
|
6077
|
+
* The submitted code is not authorized.
|
|
6078
|
+
**/
|
|
6079
|
+
| 'Unauthorized';
|
|
5948
6080
|
|
|
5949
6081
|
export type CumulusPalletParachainSystemUnincludedSegmentAncestor = {
|
|
5950
6082
|
usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth;
|
|
@@ -6018,8 +6150,6 @@ export type PolkadotCorePrimitivesOutboundHrmpMessage = {
|
|
|
6018
6150
|
data: Bytes;
|
|
6019
6151
|
};
|
|
6020
6152
|
|
|
6021
|
-
export type CumulusPalletParachainSystemCodeUpgradeAuthorization = { codeHash: H256; checkVersion: boolean };
|
|
6022
|
-
|
|
6023
6153
|
/**
|
|
6024
6154
|
* The `Error` enum of this pallet.
|
|
6025
6155
|
**/
|
|
@@ -6066,7 +6196,7 @@ export type PalletBalancesReserveData = { id: FixedBytes<4>; amount: bigint };
|
|
|
6066
6196
|
|
|
6067
6197
|
export type PalletBalancesIdAmount = { id: MoonbeamRuntimeRuntimeHoldReason; amount: bigint };
|
|
6068
6198
|
|
|
6069
|
-
export type MoonbeamRuntimeRuntimeHoldReason = {
|
|
6199
|
+
export type MoonbeamRuntimeRuntimeHoldReason = { type: 'Preimage'; value: PalletPreimageHoldReason };
|
|
6070
6200
|
|
|
6071
6201
|
export type PalletPreimageHoldReason = 'Preimage';
|
|
6072
6202
|
|
|
@@ -6109,19 +6239,27 @@ export type PalletBalancesError =
|
|
|
6109
6239
|
**/
|
|
6110
6240
|
| 'TooManyReserves'
|
|
6111
6241
|
/**
|
|
6112
|
-
* Number of holds exceed `
|
|
6242
|
+
* Number of holds exceed `VariantCountOf<T::RuntimeHoldReason>`.
|
|
6113
6243
|
**/
|
|
6114
6244
|
| 'TooManyHolds'
|
|
6115
6245
|
/**
|
|
6116
6246
|
* Number of freezes exceed `MaxFreezes`.
|
|
6117
6247
|
**/
|
|
6118
|
-
| 'TooManyFreezes'
|
|
6248
|
+
| 'TooManyFreezes'
|
|
6249
|
+
/**
|
|
6250
|
+
* The issuance cannot be modified since it is already deactivated.
|
|
6251
|
+
**/
|
|
6252
|
+
| 'IssuanceDeactivated'
|
|
6253
|
+
/**
|
|
6254
|
+
* The delta cannot be zero.
|
|
6255
|
+
**/
|
|
6256
|
+
| 'DeltaZero';
|
|
6119
6257
|
|
|
6120
6258
|
export type PalletTransactionPaymentReleases = 'V1Ancient' | 'V2';
|
|
6121
6259
|
|
|
6122
6260
|
export type PalletParachainStakingParachainBondConfig = { account: AccountId20; percent: Percent };
|
|
6123
6261
|
|
|
6124
|
-
export type PalletParachainStakingRoundInfo = { current: number; first: number; length: number };
|
|
6262
|
+
export type PalletParachainStakingRoundInfo = { current: number; first: number; length: number; firstSlot: bigint };
|
|
6125
6263
|
|
|
6126
6264
|
export type PalletParachainStakingDelegator = {
|
|
6127
6265
|
id: AccountId20;
|
|
@@ -6135,7 +6273,7 @@ export type PalletParachainStakingSetOrderedSet = Array<PalletParachainStakingBo
|
|
|
6135
6273
|
|
|
6136
6274
|
export type PalletParachainStakingBond = { owner: AccountId20; amount: bigint };
|
|
6137
6275
|
|
|
6138
|
-
export type PalletParachainStakingDelegatorStatus = {
|
|
6276
|
+
export type PalletParachainStakingDelegatorStatus = { type: 'Active' } | { type: 'Leaving'; value: number };
|
|
6139
6277
|
|
|
6140
6278
|
export type PalletParachainStakingCandidateMetadata = {
|
|
6141
6279
|
bond: bigint;
|
|
@@ -6155,9 +6293,9 @@ export type PalletParachainStakingCapacityStatus = 'Full' | 'Empty' | 'Partial';
|
|
|
6155
6293
|
export type PalletParachainStakingCandidateBondLessRequest = { amount: bigint; whenExecutable: number };
|
|
6156
6294
|
|
|
6157
6295
|
export type PalletParachainStakingCollatorStatus =
|
|
6158
|
-
| {
|
|
6159
|
-
| {
|
|
6160
|
-
| {
|
|
6296
|
+
| { type: 'Active' }
|
|
6297
|
+
| { type: 'Idle' }
|
|
6298
|
+
| { type: 'Leaving'; value: number };
|
|
6161
6299
|
|
|
6162
6300
|
export type PalletParachainStakingDelegationRequestsScheduledRequest = {
|
|
6163
6301
|
delegator: AccountId20;
|
|
@@ -6361,6 +6499,8 @@ export type PalletMoonbeamOrbitersError =
|
|
|
6361
6499
|
**/
|
|
6362
6500
|
| 'OrbiterStillInAPool';
|
|
6363
6501
|
|
|
6502
|
+
export type SpConsensusSlotsSlot = bigint;
|
|
6503
|
+
|
|
6364
6504
|
/**
|
|
6365
6505
|
* The `Error` enum of this pallet.
|
|
6366
6506
|
**/
|
|
@@ -6427,10 +6567,12 @@ export type PalletMaintenanceModeError =
|
|
|
6427
6567
|
export type PalletIdentityRegistration = {
|
|
6428
6568
|
judgements: Array<[number, PalletIdentityJudgement]>;
|
|
6429
6569
|
deposit: bigint;
|
|
6430
|
-
info:
|
|
6570
|
+
info: PalletIdentityLegacyIdentityInfo;
|
|
6431
6571
|
};
|
|
6432
6572
|
|
|
6433
|
-
export type PalletIdentityRegistrarInfo = { account: AccountId20; fee: bigint; fields:
|
|
6573
|
+
export type PalletIdentityRegistrarInfo = { account: AccountId20; fee: bigint; fields: bigint };
|
|
6574
|
+
|
|
6575
|
+
export type PalletIdentityAuthorityProperties = { suffix: Bytes; allocation: number };
|
|
6434
6576
|
|
|
6435
6577
|
/**
|
|
6436
6578
|
* The `Error` enum of this pallet.
|
|
@@ -6480,10 +6622,6 @@ export type PalletIdentityError =
|
|
|
6480
6622
|
* The target is invalid.
|
|
6481
6623
|
**/
|
|
6482
6624
|
| 'InvalidTarget'
|
|
6483
|
-
/**
|
|
6484
|
-
* Too many additional fields.
|
|
6485
|
-
**/
|
|
6486
|
-
| 'TooManyFields'
|
|
6487
6625
|
/**
|
|
6488
6626
|
* Maximum amount of registrars reached. Cannot add any more.
|
|
6489
6627
|
**/
|
|
@@ -6507,7 +6645,43 @@ export type PalletIdentityError =
|
|
|
6507
6645
|
/**
|
|
6508
6646
|
* Error that occurs when there is an issue paying for judgement.
|
|
6509
6647
|
**/
|
|
6510
|
-
| 'JudgementPaymentFailed'
|
|
6648
|
+
| 'JudgementPaymentFailed'
|
|
6649
|
+
/**
|
|
6650
|
+
* The provided suffix is too long.
|
|
6651
|
+
**/
|
|
6652
|
+
| 'InvalidSuffix'
|
|
6653
|
+
/**
|
|
6654
|
+
* The sender does not have permission to issue a username.
|
|
6655
|
+
**/
|
|
6656
|
+
| 'NotUsernameAuthority'
|
|
6657
|
+
/**
|
|
6658
|
+
* The authority cannot allocate any more usernames.
|
|
6659
|
+
**/
|
|
6660
|
+
| 'NoAllocation'
|
|
6661
|
+
/**
|
|
6662
|
+
* The signature on a username was not valid.
|
|
6663
|
+
**/
|
|
6664
|
+
| 'InvalidSignature'
|
|
6665
|
+
/**
|
|
6666
|
+
* Setting this username requires a signature, but none was provided.
|
|
6667
|
+
**/
|
|
6668
|
+
| 'RequiresSignature'
|
|
6669
|
+
/**
|
|
6670
|
+
* The username does not meet the requirements.
|
|
6671
|
+
**/
|
|
6672
|
+
| 'InvalidUsername'
|
|
6673
|
+
/**
|
|
6674
|
+
* The username is already taken.
|
|
6675
|
+
**/
|
|
6676
|
+
| 'UsernameTaken'
|
|
6677
|
+
/**
|
|
6678
|
+
* The requested username does not exist.
|
|
6679
|
+
**/
|
|
6680
|
+
| 'NoUsername'
|
|
6681
|
+
/**
|
|
6682
|
+
* The username cannot be forcefully removed because it can still be accepted.
|
|
6683
|
+
**/
|
|
6684
|
+
| 'NotExpired';
|
|
6511
6685
|
|
|
6512
6686
|
/**
|
|
6513
6687
|
* The `Error` enum of this pallet.
|
|
@@ -6598,6 +6772,23 @@ export type PalletMultisigError =
|
|
|
6598
6772
|
**/
|
|
6599
6773
|
| 'AlreadyStored';
|
|
6600
6774
|
|
|
6775
|
+
/**
|
|
6776
|
+
* The `Error` enum of this pallet.
|
|
6777
|
+
**/
|
|
6778
|
+
export type PalletMoonbeamLazyMigrationsError =
|
|
6779
|
+
/**
|
|
6780
|
+
* The limit cannot be zero
|
|
6781
|
+
**/
|
|
6782
|
+
| 'LimitCannotBeZero'
|
|
6783
|
+
/**
|
|
6784
|
+
* There must be at least one address
|
|
6785
|
+
**/
|
|
6786
|
+
| 'AddressesLengthCannotBeZero'
|
|
6787
|
+
/**
|
|
6788
|
+
* The contract is not corrupted (Still exist or properly suicided)
|
|
6789
|
+
**/
|
|
6790
|
+
| 'ContractNotCorrupted';
|
|
6791
|
+
|
|
6601
6792
|
export type PalletEvmCodeMetadata = { size: bigint; hash: H256 };
|
|
6602
6793
|
|
|
6603
6794
|
/**
|
|
@@ -6652,6 +6843,10 @@ export type PalletEvmError =
|
|
|
6652
6843
|
* EIP-3607,
|
|
6653
6844
|
**/
|
|
6654
6845
|
| 'TransactionMustComeFromEOA'
|
|
6846
|
+
/**
|
|
6847
|
+
* Invalid Transaction
|
|
6848
|
+
**/
|
|
6849
|
+
| 'InvalidTransaction'
|
|
6655
6850
|
/**
|
|
6656
6851
|
* Undefined error.
|
|
6657
6852
|
**/
|
|
@@ -6670,9 +6865,9 @@ export type FpRpcTransactionStatus = {
|
|
|
6670
6865
|
export type EthbloomBloom = FixedBytes<256>;
|
|
6671
6866
|
|
|
6672
6867
|
export type EthereumReceiptReceiptV3 =
|
|
6673
|
-
| {
|
|
6674
|
-
| {
|
|
6675
|
-
| {
|
|
6868
|
+
| { type: 'Legacy'; value: EthereumReceiptEip658ReceiptData }
|
|
6869
|
+
| { type: 'Eip2930'; value: EthereumReceiptEip658ReceiptData }
|
|
6870
|
+
| { type: 'Eip1559'; value: EthereumReceiptEip658ReceiptData };
|
|
6676
6871
|
|
|
6677
6872
|
export type EthereumReceiptEip658ReceiptData = {
|
|
6678
6873
|
statusCode: number;
|
|
@@ -6753,157 +6948,17 @@ export type PalletSchedulerError =
|
|
|
6753
6948
|
**/
|
|
6754
6949
|
| 'Named';
|
|
6755
6950
|
|
|
6756
|
-
export type PalletDemocracyReferendumInfo =
|
|
6757
|
-
| { tag: 'Ongoing'; value: PalletDemocracyReferendumStatus }
|
|
6758
|
-
| { tag: 'Finished'; value: { approved: boolean; end: number } };
|
|
6759
|
-
|
|
6760
|
-
export type PalletDemocracyReferendumStatus = {
|
|
6761
|
-
end: number;
|
|
6762
|
-
proposal: FrameSupportPreimagesBounded;
|
|
6763
|
-
threshold: PalletDemocracyVoteThreshold;
|
|
6764
|
-
delay: number;
|
|
6765
|
-
tally: PalletDemocracyTally;
|
|
6766
|
-
};
|
|
6767
|
-
|
|
6768
|
-
export type PalletDemocracyTally = { ayes: bigint; nays: bigint; turnout: bigint };
|
|
6769
|
-
|
|
6770
|
-
export type PalletDemocracyVoteVoting =
|
|
6771
|
-
| {
|
|
6772
|
-
tag: 'Direct';
|
|
6773
|
-
value: {
|
|
6774
|
-
votes: Array<[number, PalletDemocracyVoteAccountVote]>;
|
|
6775
|
-
delegations: PalletDemocracyDelegations;
|
|
6776
|
-
prior: PalletDemocracyVotePriorLock;
|
|
6777
|
-
};
|
|
6778
|
-
}
|
|
6779
|
-
| {
|
|
6780
|
-
tag: 'Delegating';
|
|
6781
|
-
value: {
|
|
6782
|
-
balance: bigint;
|
|
6783
|
-
target: AccountId20;
|
|
6784
|
-
conviction: PalletDemocracyConviction;
|
|
6785
|
-
delegations: PalletDemocracyDelegations;
|
|
6786
|
-
prior: PalletDemocracyVotePriorLock;
|
|
6787
|
-
};
|
|
6788
|
-
};
|
|
6789
|
-
|
|
6790
|
-
export type PalletDemocracyDelegations = { votes: bigint; capital: bigint };
|
|
6791
|
-
|
|
6792
|
-
export type PalletDemocracyVotePriorLock = [number, bigint];
|
|
6793
|
-
|
|
6794
|
-
/**
|
|
6795
|
-
* The `Error` enum of this pallet.
|
|
6796
|
-
**/
|
|
6797
|
-
export type PalletDemocracyError =
|
|
6798
|
-
/**
|
|
6799
|
-
* Value too low
|
|
6800
|
-
**/
|
|
6801
|
-
| 'ValueLow'
|
|
6802
|
-
/**
|
|
6803
|
-
* Proposal does not exist
|
|
6804
|
-
**/
|
|
6805
|
-
| 'ProposalMissing'
|
|
6806
|
-
/**
|
|
6807
|
-
* Cannot cancel the same proposal twice
|
|
6808
|
-
**/
|
|
6809
|
-
| 'AlreadyCanceled'
|
|
6810
|
-
/**
|
|
6811
|
-
* Proposal already made
|
|
6812
|
-
**/
|
|
6813
|
-
| 'DuplicateProposal'
|
|
6814
|
-
/**
|
|
6815
|
-
* Proposal still blacklisted
|
|
6816
|
-
**/
|
|
6817
|
-
| 'ProposalBlacklisted'
|
|
6818
|
-
/**
|
|
6819
|
-
* Next external proposal not simple majority
|
|
6820
|
-
**/
|
|
6821
|
-
| 'NotSimpleMajority'
|
|
6822
|
-
/**
|
|
6823
|
-
* Invalid hash
|
|
6824
|
-
**/
|
|
6825
|
-
| 'InvalidHash'
|
|
6826
|
-
/**
|
|
6827
|
-
* No external proposal
|
|
6828
|
-
**/
|
|
6829
|
-
| 'NoProposal'
|
|
6830
|
-
/**
|
|
6831
|
-
* Identity may not veto a proposal twice
|
|
6832
|
-
**/
|
|
6833
|
-
| 'AlreadyVetoed'
|
|
6834
|
-
/**
|
|
6835
|
-
* Vote given for invalid referendum
|
|
6836
|
-
**/
|
|
6837
|
-
| 'ReferendumInvalid'
|
|
6838
|
-
/**
|
|
6839
|
-
* No proposals waiting
|
|
6840
|
-
**/
|
|
6841
|
-
| 'NoneWaiting'
|
|
6842
|
-
/**
|
|
6843
|
-
* The given account did not vote on the referendum.
|
|
6844
|
-
**/
|
|
6845
|
-
| 'NotVoter'
|
|
6846
|
-
/**
|
|
6847
|
-
* The actor has no permission to conduct the action.
|
|
6848
|
-
**/
|
|
6849
|
-
| 'NoPermission'
|
|
6850
|
-
/**
|
|
6851
|
-
* The account is already delegating.
|
|
6852
|
-
**/
|
|
6853
|
-
| 'AlreadyDelegating'
|
|
6854
|
-
/**
|
|
6855
|
-
* Too high a balance was provided that the account cannot afford.
|
|
6856
|
-
**/
|
|
6857
|
-
| 'InsufficientFunds'
|
|
6858
|
-
/**
|
|
6859
|
-
* The account is not currently delegating.
|
|
6860
|
-
**/
|
|
6861
|
-
| 'NotDelegating'
|
|
6862
|
-
/**
|
|
6863
|
-
* The account currently has votes attached to it and the operation cannot succeed until
|
|
6864
|
-
* these are removed, either through `unvote` or `reap_vote`.
|
|
6865
|
-
**/
|
|
6866
|
-
| 'VotesExist'
|
|
6867
|
-
/**
|
|
6868
|
-
* The instant referendum origin is currently disallowed.
|
|
6869
|
-
**/
|
|
6870
|
-
| 'InstantNotAllowed'
|
|
6871
|
-
/**
|
|
6872
|
-
* Delegation to oneself makes no sense.
|
|
6873
|
-
**/
|
|
6874
|
-
| 'Nonsense'
|
|
6875
|
-
/**
|
|
6876
|
-
* Invalid upper bound.
|
|
6877
|
-
**/
|
|
6878
|
-
| 'WrongUpperBound'
|
|
6879
|
-
/**
|
|
6880
|
-
* Maximum number of votes reached.
|
|
6881
|
-
**/
|
|
6882
|
-
| 'MaxVotesReached'
|
|
6883
|
-
/**
|
|
6884
|
-
* Maximum number of items reached.
|
|
6885
|
-
**/
|
|
6886
|
-
| 'TooMany'
|
|
6887
|
-
/**
|
|
6888
|
-
* Voting period too low
|
|
6889
|
-
**/
|
|
6890
|
-
| 'VotingPeriodLow'
|
|
6891
|
-
/**
|
|
6892
|
-
* The preimage does not exist.
|
|
6893
|
-
**/
|
|
6894
|
-
| 'PreimageNotExist';
|
|
6895
|
-
|
|
6896
6951
|
export type PalletPreimageOldRequestStatus =
|
|
6897
|
-
| {
|
|
6952
|
+
| { type: 'Unrequested'; value: { deposit: [AccountId20, bigint]; len: number } }
|
|
6898
6953
|
| {
|
|
6899
|
-
|
|
6954
|
+
type: 'Requested';
|
|
6900
6955
|
value: { deposit?: [AccountId20, bigint] | undefined; count: number; len?: number | undefined };
|
|
6901
6956
|
};
|
|
6902
6957
|
|
|
6903
6958
|
export type PalletPreimageRequestStatus =
|
|
6904
|
-
| {
|
|
6959
|
+
| { type: 'Unrequested'; value: { ticket: [AccountId20, FrameSupportTokensFungibleHoldConsideration]; len: number } }
|
|
6905
6960
|
| {
|
|
6906
|
-
|
|
6961
|
+
type: 'Requested';
|
|
6907
6962
|
value: {
|
|
6908
6963
|
maybeTicket?: [AccountId20, FrameSupportTokensFungibleHoldConsideration] | undefined;
|
|
6909
6964
|
count: number;
|
|
@@ -6951,8 +7006,8 @@ export type PalletPreimageError =
|
|
|
6951
7006
|
| 'TooFew';
|
|
6952
7007
|
|
|
6953
7008
|
export type PalletConvictionVotingVoteVoting =
|
|
6954
|
-
| {
|
|
6955
|
-
| {
|
|
7009
|
+
| { type: 'Casting'; value: PalletConvictionVotingVoteCasting }
|
|
7010
|
+
| { type: 'Delegating'; value: PalletConvictionVotingVoteDelegating };
|
|
6956
7011
|
|
|
6957
7012
|
export type PalletConvictionVotingVoteCasting = {
|
|
6958
7013
|
votes: Array<[number, PalletConvictionVotingVoteAccountVote]>;
|
|
@@ -7027,12 +7082,12 @@ export type PalletConvictionVotingError =
|
|
|
7027
7082
|
| 'BadClass';
|
|
7028
7083
|
|
|
7029
7084
|
export type PalletReferendaReferendumInfo =
|
|
7030
|
-
| {
|
|
7031
|
-
| {
|
|
7032
|
-
| {
|
|
7033
|
-
| {
|
|
7034
|
-
| {
|
|
7035
|
-
| {
|
|
7085
|
+
| { type: 'Ongoing'; value: PalletReferendaReferendumStatus }
|
|
7086
|
+
| { type: 'Approved'; value: [number, PalletReferendaDeposit | undefined, PalletReferendaDeposit | undefined] }
|
|
7087
|
+
| { type: 'Rejected'; value: [number, PalletReferendaDeposit | undefined, PalletReferendaDeposit | undefined] }
|
|
7088
|
+
| { type: 'Cancelled'; value: [number, PalletReferendaDeposit | undefined, PalletReferendaDeposit | undefined] }
|
|
7089
|
+
| { type: 'TimedOut'; value: [number, PalletReferendaDeposit | undefined, PalletReferendaDeposit | undefined] }
|
|
7090
|
+
| { type: 'Killed'; value: number };
|
|
7036
7091
|
|
|
7037
7092
|
export type PalletReferendaReferendumStatus = {
|
|
7038
7093
|
track: number;
|
|
@@ -7065,9 +7120,9 @@ export type PalletReferendaTrackInfo = {
|
|
|
7065
7120
|
};
|
|
7066
7121
|
|
|
7067
7122
|
export type PalletReferendaCurve =
|
|
7068
|
-
| {
|
|
7069
|
-
| {
|
|
7070
|
-
| {
|
|
7123
|
+
| { type: 'LinearDecreasing'; value: { length: Perbill; floor: Perbill; ceil: Perbill } }
|
|
7124
|
+
| { type: 'SteppedDecreasing'; value: { begin: Perbill; end: Perbill; step: Perbill; period: Perbill } }
|
|
7125
|
+
| { type: 'Reciprocal'; value: { factor: FixedI64; xOffset: FixedI64; yOffset: FixedI64 } };
|
|
7071
7126
|
|
|
7072
7127
|
/**
|
|
7073
7128
|
* The `Error` enum of this pallet.
|
|
@@ -7220,9 +7275,9 @@ export type PalletTreasurySpendStatus = {
|
|
|
7220
7275
|
};
|
|
7221
7276
|
|
|
7222
7277
|
export type PalletTreasuryPaymentState =
|
|
7223
|
-
| {
|
|
7224
|
-
| {
|
|
7225
|
-
| {
|
|
7278
|
+
| { type: 'Pending' }
|
|
7279
|
+
| { type: 'Attempted'; value: { id: [] } }
|
|
7280
|
+
| { type: 'Failed' };
|
|
7226
7281
|
|
|
7227
7282
|
export type FrameSupportPalletId = FixedBytes<8>;
|
|
7228
7283
|
|
|
@@ -7356,19 +7411,6 @@ export type PalletCrowdloanRewardsError =
|
|
|
7356
7411
|
**/
|
|
7357
7412
|
| 'InsufficientNumberOfValidProofs';
|
|
7358
7413
|
|
|
7359
|
-
export type CumulusPalletXcmpQueueInboundChannelDetails = {
|
|
7360
|
-
sender: PolkadotParachainPrimitivesPrimitivesId;
|
|
7361
|
-
state: CumulusPalletXcmpQueueInboundState;
|
|
7362
|
-
messageMetadata: Array<[number, PolkadotParachainPrimitivesPrimitivesXcmpMessageFormat]>;
|
|
7363
|
-
};
|
|
7364
|
-
|
|
7365
|
-
export type CumulusPalletXcmpQueueInboundState = 'Ok' | 'Suspended';
|
|
7366
|
-
|
|
7367
|
-
export type PolkadotParachainPrimitivesPrimitivesXcmpMessageFormat =
|
|
7368
|
-
| 'ConcatenatedVersionedXcm'
|
|
7369
|
-
| 'ConcatenatedEncodedBlob'
|
|
7370
|
-
| 'Signals';
|
|
7371
|
-
|
|
7372
7414
|
export type CumulusPalletXcmpQueueOutboundChannelDetails = {
|
|
7373
7415
|
recipient: PolkadotParachainPrimitivesPrimitivesId;
|
|
7374
7416
|
state: CumulusPalletXcmpQueueOutboundState;
|
|
@@ -7383,9 +7425,6 @@ export type CumulusPalletXcmpQueueQueueConfigData = {
|
|
|
7383
7425
|
suspendThreshold: number;
|
|
7384
7426
|
dropThreshold: number;
|
|
7385
7427
|
resumeThreshold: number;
|
|
7386
|
-
thresholdWeight: SpWeightsWeightV2Weight;
|
|
7387
|
-
weightRestrictDecay: SpWeightsWeightV2Weight;
|
|
7388
|
-
xcmpMaxIndividualWeight: SpWeightsWeightV2Weight;
|
|
7389
7428
|
};
|
|
7390
7429
|
|
|
7391
7430
|
/**
|
|
@@ -7393,75 +7432,59 @@ export type CumulusPalletXcmpQueueQueueConfigData = {
|
|
|
7393
7432
|
**/
|
|
7394
7433
|
export type CumulusPalletXcmpQueueError =
|
|
7395
7434
|
/**
|
|
7396
|
-
*
|
|
7397
|
-
**/
|
|
7398
|
-
| 'FailedToSend'
|
|
7399
|
-
/**
|
|
7400
|
-
* Bad XCM origin.
|
|
7401
|
-
**/
|
|
7402
|
-
| 'BadXcmOrigin'
|
|
7403
|
-
/**
|
|
7404
|
-
* Bad XCM data.
|
|
7435
|
+
* Setting the queue config failed since one of its values was invalid.
|
|
7405
7436
|
**/
|
|
7406
|
-
| '
|
|
7437
|
+
| 'BadQueueConfig'
|
|
7407
7438
|
/**
|
|
7408
|
-
*
|
|
7439
|
+
* The execution is already suspended.
|
|
7409
7440
|
**/
|
|
7410
|
-
| '
|
|
7441
|
+
| 'AlreadySuspended'
|
|
7411
7442
|
/**
|
|
7412
|
-
*
|
|
7443
|
+
* The execution is already resumed.
|
|
7413
7444
|
**/
|
|
7414
|
-
| '
|
|
7415
|
-
|
|
7416
|
-
/**
|
|
7417
|
-
* The `Error` enum of this pallet.
|
|
7418
|
-
**/
|
|
7419
|
-
export type CumulusPalletXcmError = null;
|
|
7420
|
-
|
|
7421
|
-
export type CumulusPalletDmpQueueConfigData = { maxIndividual: SpWeightsWeightV2Weight };
|
|
7445
|
+
| 'AlreadyResumed';
|
|
7422
7446
|
|
|
7423
|
-
export type
|
|
7424
|
-
|
|
7425
|
-
|
|
7426
|
-
|
|
7427
|
-
|
|
7428
|
-
|
|
7429
|
-
|
|
7430
|
-
|
|
7431
|
-
**/
|
|
7432
|
-
| 'Unknown'
|
|
7433
|
-
/**
|
|
7434
|
-
* The amount of weight given is possibly not enough for executing the message.
|
|
7435
|
-
**/
|
|
7436
|
-
| 'OverLimit';
|
|
7447
|
+
export type CumulusPalletDmpQueueMigrationState =
|
|
7448
|
+
| { type: 'NotStarted' }
|
|
7449
|
+
| { type: 'StartedExport'; value: { nextBeginUsed: number } }
|
|
7450
|
+
| { type: 'CompletedExport' }
|
|
7451
|
+
| { type: 'StartedOverweightExport'; value: { nextOverweightIndex: bigint } }
|
|
7452
|
+
| { type: 'CompletedOverweightExport' }
|
|
7453
|
+
| { type: 'StartedCleanup'; value: { cursor?: Bytes | undefined } }
|
|
7454
|
+
| { type: 'Completed' };
|
|
7437
7455
|
|
|
7438
7456
|
export type PalletXcmQueryStatus =
|
|
7439
7457
|
| {
|
|
7440
|
-
|
|
7458
|
+
type: 'Pending';
|
|
7441
7459
|
value: {
|
|
7442
|
-
responder:
|
|
7443
|
-
maybeMatchQuerier?:
|
|
7460
|
+
responder: XcmVersionedLocation;
|
|
7461
|
+
maybeMatchQuerier?: XcmVersionedLocation | undefined;
|
|
7444
7462
|
maybeNotify?: [number, number] | undefined;
|
|
7445
7463
|
timeout: number;
|
|
7446
7464
|
};
|
|
7447
7465
|
}
|
|
7448
|
-
| {
|
|
7449
|
-
| {
|
|
7466
|
+
| { type: 'VersionNotifier'; value: { origin: XcmVersionedLocation; isActive: boolean } }
|
|
7467
|
+
| { type: 'Ready'; value: { response: XcmVersionedResponse; at: number } };
|
|
7450
7468
|
|
|
7451
|
-
export type XcmVersionedResponse =
|
|
7469
|
+
export type XcmVersionedResponse =
|
|
7470
|
+
| { type: 'V2'; value: XcmV2Response }
|
|
7471
|
+
| { type: 'V3'; value: XcmV3Response }
|
|
7472
|
+
| { type: 'V4'; value: StagingXcmV4Response };
|
|
7452
7473
|
|
|
7453
7474
|
export type PalletXcmVersionMigrationStage =
|
|
7454
|
-
| {
|
|
7455
|
-
| {
|
|
7456
|
-
| {
|
|
7457
|
-
| {
|
|
7475
|
+
| { type: 'MigrateSupportedVersion' }
|
|
7476
|
+
| { type: 'MigrateVersionNotifiers' }
|
|
7477
|
+
| { type: 'NotifyCurrentTargets'; value?: Bytes | undefined }
|
|
7478
|
+
| { type: 'MigrateAndNotifyOldTargets' };
|
|
7458
7479
|
|
|
7459
|
-
export type XcmVersionedAssetId =
|
|
7480
|
+
export type XcmVersionedAssetId =
|
|
7481
|
+
| { type: 'V3'; value: XcmV3MultiassetAssetId }
|
|
7482
|
+
| { type: 'V4'; value: StagingXcmV4AssetAssetId };
|
|
7460
7483
|
|
|
7461
7484
|
export type PalletXcmRemoteLockedFungibleRecord = {
|
|
7462
7485
|
amount: bigint;
|
|
7463
|
-
owner:
|
|
7464
|
-
locker:
|
|
7486
|
+
owner: XcmVersionedLocation;
|
|
7487
|
+
locker: XcmVersionedLocation;
|
|
7465
7488
|
consumers: Array<[[], bigint]>;
|
|
7466
7489
|
};
|
|
7467
7490
|
|
|
@@ -7488,7 +7511,7 @@ export type PalletXcmError =
|
|
|
7488
7511
|
**/
|
|
7489
7512
|
| 'UnweighableMessage'
|
|
7490
7513
|
/**
|
|
7491
|
-
* The destination `
|
|
7514
|
+
* The destination `Location` provided cannot be inverted.
|
|
7492
7515
|
**/
|
|
7493
7516
|
| 'DestinationNotInvertible'
|
|
7494
7517
|
/**
|
|
@@ -7525,9 +7548,9 @@ export type PalletXcmError =
|
|
|
7525
7548
|
**/
|
|
7526
7549
|
| 'AlreadySubscribed'
|
|
7527
7550
|
/**
|
|
7528
|
-
*
|
|
7551
|
+
* Could not check-out the assets for teleportation to the destination chain.
|
|
7529
7552
|
**/
|
|
7530
|
-
| '
|
|
7553
|
+
| 'CannotCheckOutTeleport'
|
|
7531
7554
|
/**
|
|
7532
7555
|
* The owner does not own (all) of the asset that they wish to do the operation on.
|
|
7533
7556
|
**/
|
|
@@ -7551,7 +7574,27 @@ export type PalletXcmError =
|
|
|
7551
7574
|
/**
|
|
7552
7575
|
* The unlock operation cannot succeed because there are still consumers of the lock.
|
|
7553
7576
|
**/
|
|
7554
|
-
| 'InUse'
|
|
7577
|
+
| 'InUse'
|
|
7578
|
+
/**
|
|
7579
|
+
* Invalid non-concrete asset.
|
|
7580
|
+
**/
|
|
7581
|
+
| 'InvalidAssetNotConcrete'
|
|
7582
|
+
/**
|
|
7583
|
+
* Invalid asset, reserve chain could not be determined for it.
|
|
7584
|
+
**/
|
|
7585
|
+
| 'InvalidAssetUnknownReserve'
|
|
7586
|
+
/**
|
|
7587
|
+
* Invalid asset, do not support remote asset reserves with different fees reserves.
|
|
7588
|
+
**/
|
|
7589
|
+
| 'InvalidAssetUnsupportedReserve'
|
|
7590
|
+
/**
|
|
7591
|
+
* Too many assets with different reserve locations have been attempted for transfer.
|
|
7592
|
+
**/
|
|
7593
|
+
| 'TooManyReserves'
|
|
7594
|
+
/**
|
|
7595
|
+
* Local XCM execution incomplete.
|
|
7596
|
+
**/
|
|
7597
|
+
| 'LocalExecutionIncomplete';
|
|
7555
7598
|
|
|
7556
7599
|
export type PalletAssetsAssetDetails = {
|
|
7557
7600
|
owner: AccountId20;
|
|
@@ -7580,11 +7623,11 @@ export type PalletAssetsAssetAccount = {
|
|
|
7580
7623
|
export type PalletAssetsAccountStatus = 'Liquid' | 'Frozen' | 'Blocked';
|
|
7581
7624
|
|
|
7582
7625
|
export type PalletAssetsExistenceReason =
|
|
7583
|
-
| {
|
|
7584
|
-
| {
|
|
7585
|
-
| {
|
|
7586
|
-
| {
|
|
7587
|
-
| {
|
|
7626
|
+
| { type: 'Consumer' }
|
|
7627
|
+
| { type: 'Sufficient' }
|
|
7628
|
+
| { type: 'DepositHeld'; value: bigint }
|
|
7629
|
+
| { type: 'DepositRefunded' }
|
|
7630
|
+
| { type: 'DepositFrom'; value: [AccountId20, bigint] };
|
|
7588
7631
|
|
|
7589
7632
|
export type PalletAssetsApproval = { amount: bigint; deposit: bigint };
|
|
7590
7633
|
|
|
@@ -7684,8 +7727,6 @@ export type PalletAssetsError =
|
|
|
7684
7727
|
**/
|
|
7685
7728
|
| 'CallbackFailed';
|
|
7686
7729
|
|
|
7687
|
-
export type PalletAssetManagerAssetInfo = { creator: AccountId20; deposit: bigint };
|
|
7688
|
-
|
|
7689
7730
|
/**
|
|
7690
7731
|
* An error that can occur while executing the mapping pallet's logic.
|
|
7691
7732
|
**/
|
|
@@ -7737,11 +7778,11 @@ export type OrmlXtokensModuleError =
|
|
|
7737
7778
|
**/
|
|
7738
7779
|
| 'InvalidAncestry'
|
|
7739
7780
|
/**
|
|
7740
|
-
* The
|
|
7781
|
+
* The Asset is invalid.
|
|
7741
7782
|
**/
|
|
7742
7783
|
| 'InvalidAsset'
|
|
7743
7784
|
/**
|
|
7744
|
-
* The destination `
|
|
7785
|
+
* The destination `Location` provided cannot be inverted.
|
|
7745
7786
|
**/
|
|
7746
7787
|
| 'DestinationNotInvertible'
|
|
7747
7788
|
/**
|
|
@@ -7767,7 +7808,7 @@ export type OrmlXtokensModuleError =
|
|
|
7767
7808
|
**/
|
|
7768
7809
|
| 'TooManyAssetsBeingSent'
|
|
7769
7810
|
/**
|
|
7770
|
-
* The specified index does not exist in a
|
|
7811
|
+
* The specified index does not exist in a Assets struct.
|
|
7771
7812
|
**/
|
|
7772
7813
|
| 'AssetIndexNonExistent'
|
|
7773
7814
|
/**
|
|
@@ -7775,9 +7816,9 @@ export type OrmlXtokensModuleError =
|
|
|
7775
7816
|
**/
|
|
7776
7817
|
| 'FeeNotEnough'
|
|
7777
7818
|
/**
|
|
7778
|
-
* Not supported
|
|
7819
|
+
* Not supported Location
|
|
7779
7820
|
**/
|
|
7780
|
-
| '
|
|
7821
|
+
| 'NotSupportedLocation'
|
|
7781
7822
|
/**
|
|
7782
7823
|
* MinXcmFee not registered for certain reserve location
|
|
7783
7824
|
**/
|
|
@@ -7845,6 +7886,81 @@ export type PalletEthereumXcmError =
|
|
|
7845
7886
|
**/
|
|
7846
7887
|
'EthereumXcmExecutionSuspended';
|
|
7847
7888
|
|
|
7889
|
+
export type PalletMessageQueueBookState = {
|
|
7890
|
+
begin: number;
|
|
7891
|
+
end: number;
|
|
7892
|
+
count: number;
|
|
7893
|
+
readyNeighbours?: PalletMessageQueueNeighbours | undefined;
|
|
7894
|
+
messageCount: bigint;
|
|
7895
|
+
size: bigint;
|
|
7896
|
+
};
|
|
7897
|
+
|
|
7898
|
+
export type PalletMessageQueueNeighbours = {
|
|
7899
|
+
prev: CumulusPrimitivesCoreAggregateMessageOrigin;
|
|
7900
|
+
next: CumulusPrimitivesCoreAggregateMessageOrigin;
|
|
7901
|
+
};
|
|
7902
|
+
|
|
7903
|
+
export type PalletMessageQueuePage = {
|
|
7904
|
+
remaining: number;
|
|
7905
|
+
remainingSize: number;
|
|
7906
|
+
firstIndex: number;
|
|
7907
|
+
first: number;
|
|
7908
|
+
last: number;
|
|
7909
|
+
heap: Bytes;
|
|
7910
|
+
};
|
|
7911
|
+
|
|
7912
|
+
/**
|
|
7913
|
+
* The `Error` enum of this pallet.
|
|
7914
|
+
**/
|
|
7915
|
+
export type PalletMessageQueueError =
|
|
7916
|
+
/**
|
|
7917
|
+
* Page is not reapable because it has items remaining to be processed and is not old
|
|
7918
|
+
* enough.
|
|
7919
|
+
**/
|
|
7920
|
+
| 'NotReapable'
|
|
7921
|
+
/**
|
|
7922
|
+
* Page to be reaped does not exist.
|
|
7923
|
+
**/
|
|
7924
|
+
| 'NoPage'
|
|
7925
|
+
/**
|
|
7926
|
+
* The referenced message could not be found.
|
|
7927
|
+
**/
|
|
7928
|
+
| 'NoMessage'
|
|
7929
|
+
/**
|
|
7930
|
+
* The message was already processed and cannot be processed again.
|
|
7931
|
+
**/
|
|
7932
|
+
| 'AlreadyProcessed'
|
|
7933
|
+
/**
|
|
7934
|
+
* The message is queued for future execution.
|
|
7935
|
+
**/
|
|
7936
|
+
| 'Queued'
|
|
7937
|
+
/**
|
|
7938
|
+
* There is temporarily not enough weight to continue servicing messages.
|
|
7939
|
+
**/
|
|
7940
|
+
| 'InsufficientWeight'
|
|
7941
|
+
/**
|
|
7942
|
+
* This message is temporarily unprocessable.
|
|
7943
|
+
*
|
|
7944
|
+
* Such errors are expected, but not guaranteed, to resolve themselves eventually through
|
|
7945
|
+
* retrying.
|
|
7946
|
+
**/
|
|
7947
|
+
| 'TemporarilyUnprocessable'
|
|
7948
|
+
/**
|
|
7949
|
+
* The queue is paused and no message can be executed from it.
|
|
7950
|
+
*
|
|
7951
|
+
* This can change at any time and may resolve in the future by re-trying.
|
|
7952
|
+
**/
|
|
7953
|
+
| 'QueuePaused'
|
|
7954
|
+
/**
|
|
7955
|
+
* Another call is in progress and needs to finish before this call can happen.
|
|
7956
|
+
**/
|
|
7957
|
+
| 'RecursiveDisallowed';
|
|
7958
|
+
|
|
7959
|
+
/**
|
|
7960
|
+
* The `Error` enum of this pallet.
|
|
7961
|
+
**/
|
|
7962
|
+
export type PalletPrecompileBenchmarksError = 'BenchmarkError';
|
|
7963
|
+
|
|
7848
7964
|
export type PalletRandomnessRequestState = { request: PalletRandomnessRequest; deposit: bigint };
|
|
7849
7965
|
|
|
7850
7966
|
export type PalletRandomnessRequest = {
|
|
@@ -7858,10 +7974,10 @@ export type PalletRandomnessRequest = {
|
|
|
7858
7974
|
};
|
|
7859
7975
|
|
|
7860
7976
|
export type PalletRandomnessRequestInfo =
|
|
7861
|
-
| {
|
|
7862
|
-
| {
|
|
7977
|
+
| { type: 'BabeEpoch'; value: [bigint, bigint] }
|
|
7978
|
+
| { type: 'Local'; value: [number, number] };
|
|
7863
7979
|
|
|
7864
|
-
export type PalletRandomnessRequestType = {
|
|
7980
|
+
export type PalletRandomnessRequestType = { type: 'BabeEpoch'; value: bigint } | { type: 'Local'; value: number };
|
|
7865
7981
|
|
|
7866
7982
|
export type PalletRandomnessRandomnessResult = { randomness?: H256 | undefined; requestCount: bigint };
|
|
7867
7983
|
|
|
@@ -7882,8 +7998,6 @@ export type PalletRandomnessError =
|
|
|
7882
7998
|
| 'RandomnessResultDNE'
|
|
7883
7999
|
| 'RandomnessResultNotFilled';
|
|
7884
8000
|
|
|
7885
|
-
export type AccountEthereumSignature = SpCoreEcdsaSignature;
|
|
7886
|
-
|
|
7887
8001
|
export type FrameSystemExtensionsCheckNonZeroSender = {};
|
|
7888
8002
|
|
|
7889
8003
|
export type FrameSystemExtensionsCheckSpecVersion = {};
|
|
@@ -7915,28 +8029,26 @@ export type SpRuntimeTransactionValidityValidTransaction = {
|
|
|
7915
8029
|
};
|
|
7916
8030
|
|
|
7917
8031
|
export type SpRuntimeTransactionValidityTransactionValidityError =
|
|
7918
|
-
| {
|
|
7919
|
-
| {
|
|
8032
|
+
| { type: 'Invalid'; value: SpRuntimeTransactionValidityInvalidTransaction }
|
|
8033
|
+
| { type: 'Unknown'; value: SpRuntimeTransactionValidityUnknownTransaction };
|
|
7920
8034
|
|
|
7921
8035
|
export type SpRuntimeTransactionValidityInvalidTransaction =
|
|
7922
|
-
| {
|
|
7923
|
-
| {
|
|
7924
|
-
| {
|
|
7925
|
-
| {
|
|
7926
|
-
| {
|
|
7927
|
-
| {
|
|
7928
|
-
| {
|
|
7929
|
-
| {
|
|
7930
|
-
| {
|
|
7931
|
-
| {
|
|
7932
|
-
| {
|
|
8036
|
+
| { type: 'Call' }
|
|
8037
|
+
| { type: 'Payment' }
|
|
8038
|
+
| { type: 'Future' }
|
|
8039
|
+
| { type: 'Stale' }
|
|
8040
|
+
| { type: 'BadProof' }
|
|
8041
|
+
| { type: 'AncientBirthBlock' }
|
|
8042
|
+
| { type: 'ExhaustsResources' }
|
|
8043
|
+
| { type: 'Custom'; value: number }
|
|
8044
|
+
| { type: 'BadMandatory' }
|
|
8045
|
+
| { type: 'MandatoryValidation' }
|
|
8046
|
+
| { type: 'BadSigner' };
|
|
7933
8047
|
|
|
7934
8048
|
export type SpRuntimeTransactionValidityUnknownTransaction =
|
|
7935
|
-
| {
|
|
7936
|
-
| {
|
|
7937
|
-
| {
|
|
7938
|
-
|
|
7939
|
-
export type SpConsensusSlotsSlot = bigint;
|
|
8049
|
+
| { type: 'CannotLookup' }
|
|
8050
|
+
| { type: 'NoUnsignedValidator' }
|
|
8051
|
+
| { type: 'Custom'; value: number };
|
|
7940
8052
|
|
|
7941
8053
|
export type SpRuntimeBlock = { header: Header; extrinsics: Array<FpSelfContainedUncheckedExtrinsic> };
|
|
7942
8054
|
|
|
@@ -8005,41 +8117,38 @@ export type CumulusPrimitivesCoreCollationInfo = {
|
|
|
8005
8117
|
export type PolkadotParachainPrimitivesPrimitivesValidationCode = Bytes;
|
|
8006
8118
|
|
|
8007
8119
|
export type MoonbeamRuntimeRuntimeError =
|
|
8008
|
-
| {
|
|
8009
|
-
| {
|
|
8010
|
-
| {
|
|
8011
|
-
| {
|
|
8012
|
-
| {
|
|
8013
|
-
| {
|
|
8014
|
-
| {
|
|
8015
|
-
| {
|
|
8016
|
-
| {
|
|
8017
|
-
| {
|
|
8018
|
-
| {
|
|
8019
|
-
| {
|
|
8020
|
-
| {
|
|
8021
|
-
| {
|
|
8022
|
-
| {
|
|
8023
|
-
| {
|
|
8024
|
-
| {
|
|
8025
|
-
| {
|
|
8026
|
-
| {
|
|
8027
|
-
| {
|
|
8028
|
-
| {
|
|
8029
|
-
| {
|
|
8030
|
-
| {
|
|
8031
|
-
| {
|
|
8032
|
-
| {
|
|
8033
|
-
| {
|
|
8034
|
-
| {
|
|
8035
|
-
| {
|
|
8036
|
-
| {
|
|
8037
|
-
| {
|
|
8038
|
-
| {
|
|
8039
|
-
| {
|
|
8040
|
-
| {
|
|
8041
|
-
| {
|
|
8042
|
-
| {
|
|
8043
|
-
| { tag: 'LocalAssets'; value: PalletAssetsError }
|
|
8044
|
-
| { tag: 'EthereumXcm'; value: PalletEthereumXcmError }
|
|
8045
|
-
| { tag: 'Randomness'; value: PalletRandomnessError };
|
|
8120
|
+
| { pallet: 'System'; palletError: FrameSystemError }
|
|
8121
|
+
| { pallet: 'ParachainSystem'; palletError: CumulusPalletParachainSystemError }
|
|
8122
|
+
| { pallet: 'Balances'; palletError: PalletBalancesError }
|
|
8123
|
+
| { pallet: 'ParachainStaking'; palletError: PalletParachainStakingError }
|
|
8124
|
+
| { pallet: 'AuthorInherent'; palletError: PalletAuthorInherentError }
|
|
8125
|
+
| { pallet: 'AuthorMapping'; palletError: PalletAuthorMappingError }
|
|
8126
|
+
| { pallet: 'MoonbeamOrbiters'; palletError: PalletMoonbeamOrbitersError }
|
|
8127
|
+
| { pallet: 'Utility'; palletError: PalletUtilityError }
|
|
8128
|
+
| { pallet: 'Proxy'; palletError: PalletProxyError }
|
|
8129
|
+
| { pallet: 'MaintenanceMode'; palletError: PalletMaintenanceModeError }
|
|
8130
|
+
| { pallet: 'Identity'; palletError: PalletIdentityError }
|
|
8131
|
+
| { pallet: 'Migrations'; palletError: PalletMigrationsError }
|
|
8132
|
+
| { pallet: 'Multisig'; palletError: PalletMultisigError }
|
|
8133
|
+
| { pallet: 'MoonbeamLazyMigrations'; palletError: PalletMoonbeamLazyMigrationsError }
|
|
8134
|
+
| { pallet: 'Evm'; palletError: PalletEvmError }
|
|
8135
|
+
| { pallet: 'Ethereum'; palletError: PalletEthereumError }
|
|
8136
|
+
| { pallet: 'Scheduler'; palletError: PalletSchedulerError }
|
|
8137
|
+
| { pallet: 'Preimage'; palletError: PalletPreimageError }
|
|
8138
|
+
| { pallet: 'ConvictionVoting'; palletError: PalletConvictionVotingError }
|
|
8139
|
+
| { pallet: 'Referenda'; palletError: PalletReferendaError }
|
|
8140
|
+
| { pallet: 'Whitelist'; palletError: PalletWhitelistError }
|
|
8141
|
+
| { pallet: 'TreasuryCouncilCollective'; palletError: PalletCollectiveError }
|
|
8142
|
+
| { pallet: 'OpenTechCommitteeCollective'; palletError: PalletCollectiveError }
|
|
8143
|
+
| { pallet: 'Treasury'; palletError: PalletTreasuryError }
|
|
8144
|
+
| { pallet: 'CrowdloanRewards'; palletError: PalletCrowdloanRewardsError }
|
|
8145
|
+
| { pallet: 'XcmpQueue'; palletError: CumulusPalletXcmpQueueError }
|
|
8146
|
+
| { pallet: 'PolkadotXcm'; palletError: PalletXcmError }
|
|
8147
|
+
| { pallet: 'Assets'; palletError: PalletAssetsError }
|
|
8148
|
+
| { pallet: 'AssetManager'; palletError: PalletAssetManagerError }
|
|
8149
|
+
| { pallet: 'XTokens'; palletError: OrmlXtokensModuleError }
|
|
8150
|
+
| { pallet: 'XcmTransactor'; palletError: PalletXcmTransactorError }
|
|
8151
|
+
| { pallet: 'EthereumXcm'; palletError: PalletEthereumXcmError }
|
|
8152
|
+
| { pallet: 'MessageQueue'; palletError: PalletMessageQueueError }
|
|
8153
|
+
| { pallet: 'PrecompileBenchmarks'; palletError: PalletPrecompileBenchmarksError }
|
|
8154
|
+
| { pallet: 'Randomness'; palletError: PalletRandomnessError };
|