@dedot/chaintypes 0.6.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/astar/consts.d.ts +87 -21
- package/astar/errors.d.ts +182 -50
- package/astar/events.d.ts +307 -177
- package/astar/json-rpc.d.ts +8 -3
- package/astar/query.d.ts +148 -118
- package/astar/runtime.d.ts +9 -8
- package/astar/tx.d.ts +2196 -389
- package/astar/types.d.ts +4439 -937
- package/package.json +2 -2
package/astar/consts.d.ts
CHANGED
|
@@ -6,10 +6,12 @@ import type {
|
|
|
6
6
|
FrameSystemLimitsBlockWeights,
|
|
7
7
|
FrameSystemLimitsBlockLength,
|
|
8
8
|
SpWeightsRuntimeDbWeight,
|
|
9
|
-
|
|
9
|
+
PolkadotParachainPrimitivesPrimitivesId,
|
|
10
|
+
StagingXcmV4Location,
|
|
10
11
|
SpWeightsWeightV2Weight,
|
|
11
12
|
PalletContractsSchedule,
|
|
12
13
|
PalletContractsEnvironment,
|
|
14
|
+
PalletContractsApiVersion,
|
|
13
15
|
} from './types';
|
|
14
16
|
|
|
15
17
|
export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<Rv> {
|
|
@@ -38,7 +40,7 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
|
|
|
38
40
|
dbWeight: SpWeightsRuntimeDbWeight;
|
|
39
41
|
|
|
40
42
|
/**
|
|
41
|
-
* Get the chain's
|
|
43
|
+
* Get the chain's in-code version.
|
|
42
44
|
**/
|
|
43
45
|
version: RuntimeVersion;
|
|
44
46
|
|
|
@@ -75,14 +77,14 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
|
|
|
75
77
|
**/
|
|
76
78
|
identity: {
|
|
77
79
|
/**
|
|
78
|
-
* The amount held on deposit for a registered identity
|
|
80
|
+
* The amount held on deposit for a registered identity.
|
|
79
81
|
**/
|
|
80
82
|
basicDeposit: bigint;
|
|
81
83
|
|
|
82
84
|
/**
|
|
83
|
-
* The amount held on deposit per
|
|
85
|
+
* The amount held on deposit per encoded byte for a registered identity.
|
|
84
86
|
**/
|
|
85
|
-
|
|
87
|
+
byteDeposit: bigint;
|
|
86
88
|
|
|
87
89
|
/**
|
|
88
90
|
* The amount held on deposit for a registered subaccount. This should account for the fact
|
|
@@ -96,18 +98,27 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
|
|
|
96
98
|
**/
|
|
97
99
|
maxSubAccounts: number;
|
|
98
100
|
|
|
99
|
-
/**
|
|
100
|
-
* Maximum number of additional fields that may be stored in an ID. Needed to bound the I/O
|
|
101
|
-
* required to access an identity, but can be pretty high.
|
|
102
|
-
**/
|
|
103
|
-
maxAdditionalFields: number;
|
|
104
|
-
|
|
105
101
|
/**
|
|
106
102
|
* Maxmimum number of registrars allowed in the system. Needed to bound the complexity
|
|
107
103
|
* of, e.g., updating judgements.
|
|
108
104
|
**/
|
|
109
105
|
maxRegistrars: number;
|
|
110
106
|
|
|
107
|
+
/**
|
|
108
|
+
* The number of blocks within which a username grant must be accepted.
|
|
109
|
+
**/
|
|
110
|
+
pendingUsernameExpiration: number;
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* The maximum length of a suffix.
|
|
114
|
+
**/
|
|
115
|
+
maxSuffixLength: number;
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* The maximum length of a username, including its suffix and any system-added delimiters.
|
|
119
|
+
**/
|
|
120
|
+
maxUsernameLength: number;
|
|
121
|
+
|
|
111
122
|
/**
|
|
112
123
|
* Generic pallet constant
|
|
113
124
|
**/
|
|
@@ -219,6 +230,11 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
|
|
|
219
230
|
* Pallet `ParachainSystem`'s constants
|
|
220
231
|
**/
|
|
221
232
|
parachainSystem: {
|
|
233
|
+
/**
|
|
234
|
+
* Returns the parachain ID we are running with.
|
|
235
|
+
**/
|
|
236
|
+
selfParaId: PolkadotParachainPrimitivesPrimitivesId;
|
|
237
|
+
|
|
222
238
|
/**
|
|
223
239
|
* Generic pallet constant
|
|
224
240
|
**/
|
|
@@ -238,10 +254,10 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
|
|
|
238
254
|
**/
|
|
239
255
|
transactionPayment: {
|
|
240
256
|
/**
|
|
241
|
-
* A fee
|
|
257
|
+
* A fee multiplier for `Operational` extrinsics to compute "virtual tip" to boost their
|
|
242
258
|
* `priority`
|
|
243
259
|
*
|
|
244
|
-
* This value is
|
|
260
|
+
* This value is multiplied by the `final_fee` to obtain a "virtual tip" that is later
|
|
245
261
|
* added to a tip component in regular `priority` calculations.
|
|
246
262
|
* It means that a `Normal` transaction can front-run a similarly-sized `Operational`
|
|
247
263
|
* extrinsic (with no tip), by including a tip value greater than the virtual tip.
|
|
@@ -294,11 +310,6 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
|
|
|
294
310
|
**/
|
|
295
311
|
maxReserves: number;
|
|
296
312
|
|
|
297
|
-
/**
|
|
298
|
-
* The maximum number of holds that can exist on an account at any time.
|
|
299
|
-
**/
|
|
300
|
-
maxHolds: number;
|
|
301
|
-
|
|
302
313
|
/**
|
|
303
314
|
* The maximum number of individual freeze locks that can exist on an account at any time.
|
|
304
315
|
**/
|
|
@@ -561,6 +572,15 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
|
|
|
561
572
|
* Pallet `XcmpQueue`'s constants
|
|
562
573
|
**/
|
|
563
574
|
xcmpQueue: {
|
|
575
|
+
/**
|
|
576
|
+
* The maximum number of inbound XCMP channels that can be suspended simultaneously.
|
|
577
|
+
*
|
|
578
|
+
* Any further channel suspensions will fail and messages may get dropped without further
|
|
579
|
+
* notice. Choosing a high value (1000) is okay; the trade-off that is described in
|
|
580
|
+
* [`InboundXcmpSuspended`] still applies at that scale.
|
|
581
|
+
**/
|
|
582
|
+
maxInboundSuspended: number;
|
|
583
|
+
|
|
564
584
|
/**
|
|
565
585
|
* Generic pallet constant
|
|
566
586
|
**/
|
|
@@ -609,7 +629,7 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
|
|
|
609
629
|
/**
|
|
610
630
|
* Self chain location.
|
|
611
631
|
**/
|
|
612
|
-
selfLocation:
|
|
632
|
+
selfLocation: StagingXcmV4Location;
|
|
613
633
|
|
|
614
634
|
/**
|
|
615
635
|
* Base XCM weight.
|
|
@@ -619,6 +639,45 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
|
|
|
619
639
|
**/
|
|
620
640
|
baseXcmWeight: SpWeightsWeightV2Weight;
|
|
621
641
|
|
|
642
|
+
/**
|
|
643
|
+
* The id of the RateLimiter.
|
|
644
|
+
**/
|
|
645
|
+
rateLimiterId: [];
|
|
646
|
+
|
|
647
|
+
/**
|
|
648
|
+
* Generic pallet constant
|
|
649
|
+
**/
|
|
650
|
+
[name: string]: any;
|
|
651
|
+
};
|
|
652
|
+
/**
|
|
653
|
+
* Pallet `MessageQueue`'s constants
|
|
654
|
+
**/
|
|
655
|
+
messageQueue: {
|
|
656
|
+
/**
|
|
657
|
+
* The size of the page; this implies the maximum message size which can be sent.
|
|
658
|
+
*
|
|
659
|
+
* A good value depends on the expected message sizes, their weights, the weight that is
|
|
660
|
+
* available for processing them and the maximal needed message size. The maximal message
|
|
661
|
+
* size is slightly lower than this as defined by [`MaxMessageLenOf`].
|
|
662
|
+
**/
|
|
663
|
+
heapSize: number;
|
|
664
|
+
|
|
665
|
+
/**
|
|
666
|
+
* The maximum number of stale pages (i.e. of overweight messages) allowed before culling
|
|
667
|
+
* can happen. Once there are more stale pages than this, then historical pages may be
|
|
668
|
+
* dropped, even if they contain unprocessed overweight messages.
|
|
669
|
+
**/
|
|
670
|
+
maxStale: number;
|
|
671
|
+
|
|
672
|
+
/**
|
|
673
|
+
* The amount of weight (if any) which should be provided to the message queue for
|
|
674
|
+
* servicing enqueued items.
|
|
675
|
+
*
|
|
676
|
+
* This may be legitimately `None` in the case that you will call
|
|
677
|
+
* `ServiceQueues::service_queues` manually.
|
|
678
|
+
**/
|
|
679
|
+
serviceWeight: SpWeightsWeightV2Weight | undefined;
|
|
680
|
+
|
|
622
681
|
/**
|
|
623
682
|
* Generic pallet constant
|
|
624
683
|
**/
|
|
@@ -685,7 +744,7 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
|
|
|
685
744
|
|
|
686
745
|
/**
|
|
687
746
|
* The percentage of the storage deposit that should be held for using a code hash.
|
|
688
|
-
* Instantiating a contract, or calling [`chain_extension::Ext::
|
|
747
|
+
* Instantiating a contract, or calling [`chain_extension::Ext::lock_delegate_dependency`]
|
|
689
748
|
* protects the code from being removed. In order to prevent abuse these actions are
|
|
690
749
|
* protected with a percentage of the code deposit.
|
|
691
750
|
**/
|
|
@@ -707,7 +766,7 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
|
|
|
707
766
|
|
|
708
767
|
/**
|
|
709
768
|
* The maximum number of delegate_dependencies that a contract can lock with
|
|
710
|
-
* [`chain_extension::Ext::
|
|
769
|
+
* [`chain_extension::Ext::lock_delegate_dependency`].
|
|
711
770
|
**/
|
|
712
771
|
maxDelegateDependencies: number;
|
|
713
772
|
|
|
@@ -737,6 +796,13 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
|
|
|
737
796
|
**/
|
|
738
797
|
environment: PalletContractsEnvironment;
|
|
739
798
|
|
|
799
|
+
/**
|
|
800
|
+
* The version of the HostFn APIs that are available in the runtime.
|
|
801
|
+
*
|
|
802
|
+
* Only valid value is `()`.
|
|
803
|
+
**/
|
|
804
|
+
apiVersion: PalletContractsApiVersion;
|
|
805
|
+
|
|
740
806
|
/**
|
|
741
807
|
* Generic pallet constant
|
|
742
808
|
**/
|
package/astar/errors.d.ts
CHANGED
|
@@ -41,6 +41,21 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
41
41
|
**/
|
|
42
42
|
CallFiltered: GenericPalletError<Rv>;
|
|
43
43
|
|
|
44
|
+
/**
|
|
45
|
+
* A multi-block migration is ongoing and prevents the current code from being replaced.
|
|
46
|
+
**/
|
|
47
|
+
MultiBlockMigrationsOngoing: GenericPalletError<Rv>;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* No upgrade authorized.
|
|
51
|
+
**/
|
|
52
|
+
NothingAuthorized: GenericPalletError<Rv>;
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* The submitted code is not authorized.
|
|
56
|
+
**/
|
|
57
|
+
Unauthorized: GenericPalletError<Rv>;
|
|
58
|
+
|
|
44
59
|
/**
|
|
45
60
|
* Generic pallet error
|
|
46
61
|
**/
|
|
@@ -119,11 +134,6 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
119
134
|
**/
|
|
120
135
|
InvalidTarget: GenericPalletError<Rv>;
|
|
121
136
|
|
|
122
|
-
/**
|
|
123
|
-
* Too many additional fields.
|
|
124
|
-
**/
|
|
125
|
-
TooManyFields: GenericPalletError<Rv>;
|
|
126
|
-
|
|
127
137
|
/**
|
|
128
138
|
* Maximum amount of registrars reached. Cannot add any more.
|
|
129
139
|
**/
|
|
@@ -154,6 +164,51 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
154
164
|
**/
|
|
155
165
|
JudgementPaymentFailed: GenericPalletError<Rv>;
|
|
156
166
|
|
|
167
|
+
/**
|
|
168
|
+
* The provided suffix is too long.
|
|
169
|
+
**/
|
|
170
|
+
InvalidSuffix: GenericPalletError<Rv>;
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* The sender does not have permission to issue a username.
|
|
174
|
+
**/
|
|
175
|
+
NotUsernameAuthority: GenericPalletError<Rv>;
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* The authority cannot allocate any more usernames.
|
|
179
|
+
**/
|
|
180
|
+
NoAllocation: GenericPalletError<Rv>;
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* The signature on a username was not valid.
|
|
184
|
+
**/
|
|
185
|
+
InvalidSignature: GenericPalletError<Rv>;
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* Setting this username requires a signature, but none was provided.
|
|
189
|
+
**/
|
|
190
|
+
RequiresSignature: GenericPalletError<Rv>;
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* The username does not meet the requirements.
|
|
194
|
+
**/
|
|
195
|
+
InvalidUsername: GenericPalletError<Rv>;
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* The username is already taken.
|
|
199
|
+
**/
|
|
200
|
+
UsernameTaken: GenericPalletError<Rv>;
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* The requested username does not exist.
|
|
204
|
+
**/
|
|
205
|
+
NoUsername: GenericPalletError<Rv>;
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* The username cannot be forcefully removed because it can still be accepted.
|
|
209
|
+
**/
|
|
210
|
+
NotExpired: GenericPalletError<Rv>;
|
|
211
|
+
|
|
157
212
|
/**
|
|
158
213
|
* Generic pallet error
|
|
159
214
|
**/
|
|
@@ -382,7 +437,7 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
382
437
|
TooManyReserves: GenericPalletError<Rv>;
|
|
383
438
|
|
|
384
439
|
/**
|
|
385
|
-
* Number of holds exceed `
|
|
440
|
+
* Number of holds exceed `VariantCountOf<T::RuntimeHoldReason>`.
|
|
386
441
|
**/
|
|
387
442
|
TooManyHolds: GenericPalletError<Rv>;
|
|
388
443
|
|
|
@@ -391,6 +446,16 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
391
446
|
**/
|
|
392
447
|
TooManyFreezes: GenericPalletError<Rv>;
|
|
393
448
|
|
|
449
|
+
/**
|
|
450
|
+
* The issuance cannot be modified since it is already deactivated.
|
|
451
|
+
**/
|
|
452
|
+
IssuanceDeactivated: GenericPalletError<Rv>;
|
|
453
|
+
|
|
454
|
+
/**
|
|
455
|
+
* The delta cannot be zero.
|
|
456
|
+
**/
|
|
457
|
+
DeltaZero: GenericPalletError<Rv>;
|
|
458
|
+
|
|
394
459
|
/**
|
|
395
460
|
* Generic pallet error
|
|
396
461
|
**/
|
|
@@ -845,6 +910,16 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
845
910
|
**/
|
|
846
911
|
NotAllowedCandidate: GenericPalletError<Rv>;
|
|
847
912
|
|
|
913
|
+
/**
|
|
914
|
+
* The candidacy bond is currently in the un-bonding period.
|
|
915
|
+
**/
|
|
916
|
+
BondStillLocked: GenericPalletError<Rv>;
|
|
917
|
+
|
|
918
|
+
/**
|
|
919
|
+
* No candidacy bond available for withdrawal.
|
|
920
|
+
**/
|
|
921
|
+
NoCandidacyBond: GenericPalletError<Rv>;
|
|
922
|
+
|
|
848
923
|
/**
|
|
849
924
|
* Generic pallet error
|
|
850
925
|
**/
|
|
@@ -889,29 +964,19 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
889
964
|
**/
|
|
890
965
|
xcmpQueue: {
|
|
891
966
|
/**
|
|
892
|
-
*
|
|
893
|
-
**/
|
|
894
|
-
FailedToSend: GenericPalletError<Rv>;
|
|
895
|
-
|
|
896
|
-
/**
|
|
897
|
-
* Bad XCM origin.
|
|
898
|
-
**/
|
|
899
|
-
BadXcmOrigin: GenericPalletError<Rv>;
|
|
900
|
-
|
|
901
|
-
/**
|
|
902
|
-
* Bad XCM data.
|
|
967
|
+
* Setting the queue config failed since one of its values was invalid.
|
|
903
968
|
**/
|
|
904
|
-
|
|
969
|
+
BadQueueConfig: GenericPalletError<Rv>;
|
|
905
970
|
|
|
906
971
|
/**
|
|
907
|
-
*
|
|
972
|
+
* The execution is already suspended.
|
|
908
973
|
**/
|
|
909
|
-
|
|
974
|
+
AlreadySuspended: GenericPalletError<Rv>;
|
|
910
975
|
|
|
911
976
|
/**
|
|
912
|
-
*
|
|
977
|
+
* The execution is already resumed.
|
|
913
978
|
**/
|
|
914
|
-
|
|
979
|
+
AlreadyResumed: GenericPalletError<Rv>;
|
|
915
980
|
|
|
916
981
|
/**
|
|
917
982
|
* Generic pallet error
|
|
@@ -945,7 +1010,7 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
945
1010
|
UnweighableMessage: GenericPalletError<Rv>;
|
|
946
1011
|
|
|
947
1012
|
/**
|
|
948
|
-
* The destination `
|
|
1013
|
+
* The destination `Location` provided cannot be inverted.
|
|
949
1014
|
**/
|
|
950
1015
|
DestinationNotInvertible: GenericPalletError<Rv>;
|
|
951
1016
|
|
|
@@ -991,9 +1056,9 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
991
1056
|
AlreadySubscribed: GenericPalletError<Rv>;
|
|
992
1057
|
|
|
993
1058
|
/**
|
|
994
|
-
*
|
|
1059
|
+
* Could not check-out the assets for teleportation to the destination chain.
|
|
995
1060
|
**/
|
|
996
|
-
|
|
1061
|
+
CannotCheckOutTeleport: GenericPalletError<Rv>;
|
|
997
1062
|
|
|
998
1063
|
/**
|
|
999
1064
|
* The owner does not own (all) of the asset that they wish to do the operation on.
|
|
@@ -1026,32 +1091,29 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1026
1091
|
InUse: GenericPalletError<Rv>;
|
|
1027
1092
|
|
|
1028
1093
|
/**
|
|
1029
|
-
*
|
|
1094
|
+
* Invalid non-concrete asset.
|
|
1030
1095
|
**/
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
/**
|
|
1034
|
-
* Pallet `CumulusXcm`'s errors
|
|
1035
|
-
**/
|
|
1036
|
-
cumulusXcm: {
|
|
1096
|
+
InvalidAssetNotConcrete: GenericPalletError<Rv>;
|
|
1097
|
+
|
|
1037
1098
|
/**
|
|
1038
|
-
*
|
|
1099
|
+
* Invalid asset, reserve chain could not be determined for it.
|
|
1039
1100
|
**/
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
/**
|
|
1043
|
-
* Pallet `DmpQueue`'s errors
|
|
1044
|
-
**/
|
|
1045
|
-
dmpQueue: {
|
|
1101
|
+
InvalidAssetUnknownReserve: GenericPalletError<Rv>;
|
|
1102
|
+
|
|
1046
1103
|
/**
|
|
1047
|
-
*
|
|
1104
|
+
* Invalid asset, do not support remote asset reserves with different fees reserves.
|
|
1048
1105
|
**/
|
|
1049
|
-
|
|
1106
|
+
InvalidAssetUnsupportedReserve: GenericPalletError<Rv>;
|
|
1107
|
+
|
|
1108
|
+
/**
|
|
1109
|
+
* Too many assets with different reserve locations have been attempted for transfer.
|
|
1110
|
+
**/
|
|
1111
|
+
TooManyReserves: GenericPalletError<Rv>;
|
|
1050
1112
|
|
|
1051
1113
|
/**
|
|
1052
|
-
*
|
|
1114
|
+
* Local XCM execution incomplete.
|
|
1053
1115
|
**/
|
|
1054
|
-
|
|
1116
|
+
LocalExecutionIncomplete: GenericPalletError<Rv>;
|
|
1055
1117
|
|
|
1056
1118
|
/**
|
|
1057
1119
|
* Generic pallet error
|
|
@@ -1073,7 +1135,7 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1073
1135
|
AssetDoesNotExist: GenericPalletError<Rv>;
|
|
1074
1136
|
|
|
1075
1137
|
/**
|
|
1076
|
-
* Failed to convert to latest versioned
|
|
1138
|
+
* Failed to convert to latest versioned Location
|
|
1077
1139
|
**/
|
|
1078
1140
|
MultiLocationNotSupported: GenericPalletError<Rv>;
|
|
1079
1141
|
|
|
@@ -1128,12 +1190,12 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1128
1190
|
InvalidAncestry: GenericPalletError<Rv>;
|
|
1129
1191
|
|
|
1130
1192
|
/**
|
|
1131
|
-
* The
|
|
1193
|
+
* The Asset is invalid.
|
|
1132
1194
|
**/
|
|
1133
1195
|
InvalidAsset: GenericPalletError<Rv>;
|
|
1134
1196
|
|
|
1135
1197
|
/**
|
|
1136
|
-
* The destination `
|
|
1198
|
+
* The destination `Location` provided cannot be inverted.
|
|
1137
1199
|
**/
|
|
1138
1200
|
DestinationNotInvertible: GenericPalletError<Rv>;
|
|
1139
1201
|
|
|
@@ -1165,7 +1227,7 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1165
1227
|
TooManyAssetsBeingSent: GenericPalletError<Rv>;
|
|
1166
1228
|
|
|
1167
1229
|
/**
|
|
1168
|
-
* The specified index does not exist in a
|
|
1230
|
+
* The specified index does not exist in a Assets struct.
|
|
1169
1231
|
**/
|
|
1170
1232
|
AssetIndexNonExistent: GenericPalletError<Rv>;
|
|
1171
1233
|
|
|
@@ -1175,15 +1237,80 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1175
1237
|
FeeNotEnough: GenericPalletError<Rv>;
|
|
1176
1238
|
|
|
1177
1239
|
/**
|
|
1178
|
-
* Not supported
|
|
1240
|
+
* Not supported Location
|
|
1179
1241
|
**/
|
|
1180
|
-
|
|
1242
|
+
NotSupportedLocation: GenericPalletError<Rv>;
|
|
1181
1243
|
|
|
1182
1244
|
/**
|
|
1183
1245
|
* MinXcmFee not registered for certain reserve location
|
|
1184
1246
|
**/
|
|
1185
1247
|
MinXcmFeeNotDefined: GenericPalletError<Rv>;
|
|
1186
1248
|
|
|
1249
|
+
/**
|
|
1250
|
+
* Asset transfer is limited by RateLimiter.
|
|
1251
|
+
**/
|
|
1252
|
+
RateLimited: GenericPalletError<Rv>;
|
|
1253
|
+
|
|
1254
|
+
/**
|
|
1255
|
+
* Generic pallet error
|
|
1256
|
+
**/
|
|
1257
|
+
[error: string]: GenericPalletError<Rv>;
|
|
1258
|
+
};
|
|
1259
|
+
/**
|
|
1260
|
+
* Pallet `MessageQueue`'s errors
|
|
1261
|
+
**/
|
|
1262
|
+
messageQueue: {
|
|
1263
|
+
/**
|
|
1264
|
+
* Page is not reapable because it has items remaining to be processed and is not old
|
|
1265
|
+
* enough.
|
|
1266
|
+
**/
|
|
1267
|
+
NotReapable: GenericPalletError<Rv>;
|
|
1268
|
+
|
|
1269
|
+
/**
|
|
1270
|
+
* Page to be reaped does not exist.
|
|
1271
|
+
**/
|
|
1272
|
+
NoPage: GenericPalletError<Rv>;
|
|
1273
|
+
|
|
1274
|
+
/**
|
|
1275
|
+
* The referenced message could not be found.
|
|
1276
|
+
**/
|
|
1277
|
+
NoMessage: GenericPalletError<Rv>;
|
|
1278
|
+
|
|
1279
|
+
/**
|
|
1280
|
+
* The message was already processed and cannot be processed again.
|
|
1281
|
+
**/
|
|
1282
|
+
AlreadyProcessed: GenericPalletError<Rv>;
|
|
1283
|
+
|
|
1284
|
+
/**
|
|
1285
|
+
* The message is queued for future execution.
|
|
1286
|
+
**/
|
|
1287
|
+
Queued: GenericPalletError<Rv>;
|
|
1288
|
+
|
|
1289
|
+
/**
|
|
1290
|
+
* There is temporarily not enough weight to continue servicing messages.
|
|
1291
|
+
**/
|
|
1292
|
+
InsufficientWeight: GenericPalletError<Rv>;
|
|
1293
|
+
|
|
1294
|
+
/**
|
|
1295
|
+
* This message is temporarily unprocessable.
|
|
1296
|
+
*
|
|
1297
|
+
* Such errors are expected, but not guaranteed, to resolve themselves eventually through
|
|
1298
|
+
* retrying.
|
|
1299
|
+
**/
|
|
1300
|
+
TemporarilyUnprocessable: GenericPalletError<Rv>;
|
|
1301
|
+
|
|
1302
|
+
/**
|
|
1303
|
+
* The queue is paused and no message can be executed from it.
|
|
1304
|
+
*
|
|
1305
|
+
* This can change at any time and may resolve in the future by re-trying.
|
|
1306
|
+
**/
|
|
1307
|
+
QueuePaused: GenericPalletError<Rv>;
|
|
1308
|
+
|
|
1309
|
+
/**
|
|
1310
|
+
* Another call is in progress and needs to finish before this call can happen.
|
|
1311
|
+
**/
|
|
1312
|
+
RecursiveDisallowed: GenericPalletError<Rv>;
|
|
1313
|
+
|
|
1187
1314
|
/**
|
|
1188
1315
|
* Generic pallet error
|
|
1189
1316
|
**/
|
|
@@ -1401,6 +1528,11 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1401
1528
|
**/
|
|
1402
1529
|
NoChainExtension: GenericPalletError<Rv>;
|
|
1403
1530
|
|
|
1531
|
+
/**
|
|
1532
|
+
* Failed to decode the XCM program.
|
|
1533
|
+
**/
|
|
1534
|
+
XcmDecodeFailed: GenericPalletError<Rv>;
|
|
1535
|
+
|
|
1404
1536
|
/**
|
|
1405
1537
|
* A contract with the same AccountId already exists.
|
|
1406
1538
|
**/
|
|
@@ -1501,7 +1633,7 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1501
1633
|
**/
|
|
1502
1634
|
sudo: {
|
|
1503
1635
|
/**
|
|
1504
|
-
* Sender must be the Sudo account
|
|
1636
|
+
* Sender must be the Sudo account.
|
|
1505
1637
|
**/
|
|
1506
1638
|
RequireSudo: GenericPalletError<Rv>;
|
|
1507
1639
|
|