@dedot/chaintypes 0.99.0 → 0.100.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 -0
- package/basilisk/consts.d.ts +1183 -0
- package/basilisk/errors.d.ts +2631 -0
- package/basilisk/events.d.ts +3297 -0
- package/basilisk/index.d.ts +31 -0
- package/basilisk/json-rpc.d.ts +92 -0
- package/basilisk/query.d.ts +2380 -0
- package/basilisk/runtime.d.ts +272 -0
- package/basilisk/tx.d.ts +9095 -0
- package/basilisk/types.d.ts +13749 -0
- package/hydration/consts.d.ts +1854 -0
- package/hydration/errors.d.ts +3914 -0
- package/hydration/events.d.ts +4364 -0
- package/hydration/index.d.ts +31 -0
- package/hydration/json-rpc.d.ts +141 -0
- package/hydration/query.d.ts +3243 -0
- package/hydration/runtime.d.ts +940 -0
- package/hydration/tx.d.ts +12766 -0
- package/hydration/types.d.ts +18995 -0
- package/index.d.ts +11 -4
- package/package.json +18 -3
- package/paseo-hydration/consts.d.ts +1854 -0
- package/paseo-hydration/errors.d.ts +3919 -0
- package/paseo-hydration/events.d.ts +4367 -0
- package/paseo-hydration/index.d.ts +31 -0
- package/paseo-hydration/json-rpc.d.ts +138 -0
- package/paseo-hydration/query.d.ts +3256 -0
- package/paseo-hydration/runtime.d.ts +968 -0
- package/paseo-hydration/tx.d.ts +12848 -0
- package/paseo-hydration/types.d.ts +19032 -0
|
@@ -0,0 +1,2631 @@
|
|
|
1
|
+
// Generated by dedot cli
|
|
2
|
+
|
|
3
|
+
import type { GenericChainErrors, GenericPalletError, RpcVersion } from 'dedot/types';
|
|
4
|
+
|
|
5
|
+
export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<Rv> {
|
|
6
|
+
/**
|
|
7
|
+
* Pallet `System`'s errors
|
|
8
|
+
**/
|
|
9
|
+
system: {
|
|
10
|
+
/**
|
|
11
|
+
* The name of specification does not match between the current runtime
|
|
12
|
+
* and the new runtime.
|
|
13
|
+
**/
|
|
14
|
+
InvalidSpecName: GenericPalletError<Rv>;
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* The specification version is not allowed to decrease between the current runtime
|
|
18
|
+
* and the new runtime.
|
|
19
|
+
**/
|
|
20
|
+
SpecVersionNeedsToIncrease: GenericPalletError<Rv>;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Failed to extract the runtime version from the new runtime.
|
|
24
|
+
*
|
|
25
|
+
* Either calling `Core_version` or decoding `RuntimeVersion` failed.
|
|
26
|
+
**/
|
|
27
|
+
FailedToExtractRuntimeVersion: GenericPalletError<Rv>;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Suicide called when the account has non-default composite data.
|
|
31
|
+
**/
|
|
32
|
+
NonDefaultComposite: GenericPalletError<Rv>;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* There is a non-zero reference count preventing the account from being purged.
|
|
36
|
+
**/
|
|
37
|
+
NonZeroRefCount: GenericPalletError<Rv>;
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* The origin filter prevent the call to be dispatched.
|
|
41
|
+
**/
|
|
42
|
+
CallFiltered: GenericPalletError<Rv>;
|
|
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
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Generic pallet error
|
|
61
|
+
**/
|
|
62
|
+
[error: string]: GenericPalletError<Rv>;
|
|
63
|
+
};
|
|
64
|
+
/**
|
|
65
|
+
* Pallet `Balances`'s errors
|
|
66
|
+
**/
|
|
67
|
+
balances: {
|
|
68
|
+
/**
|
|
69
|
+
* Vesting balance too high to send value.
|
|
70
|
+
**/
|
|
71
|
+
VestingBalance: GenericPalletError<Rv>;
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Account liquidity restrictions prevent withdrawal.
|
|
75
|
+
**/
|
|
76
|
+
LiquidityRestrictions: GenericPalletError<Rv>;
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Balance too low to send value.
|
|
80
|
+
**/
|
|
81
|
+
InsufficientBalance: GenericPalletError<Rv>;
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Value too low to create account due to existential deposit.
|
|
85
|
+
**/
|
|
86
|
+
ExistentialDeposit: GenericPalletError<Rv>;
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Transfer/payment would kill account.
|
|
90
|
+
**/
|
|
91
|
+
Expendability: GenericPalletError<Rv>;
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* A vesting schedule already exists for this account.
|
|
95
|
+
**/
|
|
96
|
+
ExistingVestingSchedule: GenericPalletError<Rv>;
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* Beneficiary account must pre-exist.
|
|
100
|
+
**/
|
|
101
|
+
DeadAccount: GenericPalletError<Rv>;
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* Number of named reserves exceed `MaxReserves`.
|
|
105
|
+
**/
|
|
106
|
+
TooManyReserves: GenericPalletError<Rv>;
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Number of holds exceed `VariantCountOf<T::RuntimeHoldReason>`.
|
|
110
|
+
**/
|
|
111
|
+
TooManyHolds: GenericPalletError<Rv>;
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* Number of freezes exceed `MaxFreezes`.
|
|
115
|
+
**/
|
|
116
|
+
TooManyFreezes: GenericPalletError<Rv>;
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* The issuance cannot be modified since it is already deactivated.
|
|
120
|
+
**/
|
|
121
|
+
IssuanceDeactivated: GenericPalletError<Rv>;
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* The delta cannot be zero.
|
|
125
|
+
**/
|
|
126
|
+
DeltaZero: GenericPalletError<Rv>;
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* Generic pallet error
|
|
130
|
+
**/
|
|
131
|
+
[error: string]: GenericPalletError<Rv>;
|
|
132
|
+
};
|
|
133
|
+
/**
|
|
134
|
+
* Pallet `MultiTransactionPayment`'s errors
|
|
135
|
+
**/
|
|
136
|
+
multiTransactionPayment: {
|
|
137
|
+
/**
|
|
138
|
+
* Selected currency is not supported.
|
|
139
|
+
**/
|
|
140
|
+
UnsupportedCurrency: GenericPalletError<Rv>;
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* Account balance should be non-zero.
|
|
144
|
+
**/
|
|
145
|
+
ZeroBalance: GenericPalletError<Rv>;
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* Currency is already in the list of accepted currencies.
|
|
149
|
+
**/
|
|
150
|
+
AlreadyAccepted: GenericPalletError<Rv>;
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* It is not allowed to add Core Asset as accepted currency. Core asset is accepted by design.
|
|
154
|
+
**/
|
|
155
|
+
CoreAssetNotAllowed: GenericPalletError<Rv>;
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* Fallback price cannot be zero.
|
|
159
|
+
**/
|
|
160
|
+
ZeroPrice: GenericPalletError<Rv>;
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* Fallback price was not found.
|
|
164
|
+
**/
|
|
165
|
+
FallbackPriceNotFound: GenericPalletError<Rv>;
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* Math overflow
|
|
169
|
+
**/
|
|
170
|
+
Overflow: GenericPalletError<Rv>;
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* It is not allowed to change payment currency of an EVM account.
|
|
174
|
+
**/
|
|
175
|
+
EvmAccountNotAllowed: GenericPalletError<Rv>;
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* EVM permit expired.
|
|
179
|
+
**/
|
|
180
|
+
EvmPermitExpired: GenericPalletError<Rv>;
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* EVM permit is invalid.
|
|
184
|
+
**/
|
|
185
|
+
EvmPermitInvalid: GenericPalletError<Rv>;
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* EVM permit call failed.
|
|
189
|
+
**/
|
|
190
|
+
EvmPermitCallExecutionError: GenericPalletError<Rv>;
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* EVM permit call failed.
|
|
194
|
+
**/
|
|
195
|
+
EvmPermitRunnerError: GenericPalletError<Rv>;
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* Generic pallet error
|
|
199
|
+
**/
|
|
200
|
+
[error: string]: GenericPalletError<Rv>;
|
|
201
|
+
};
|
|
202
|
+
/**
|
|
203
|
+
* Pallet `Treasury`'s errors
|
|
204
|
+
**/
|
|
205
|
+
treasury: {
|
|
206
|
+
/**
|
|
207
|
+
* No proposal, bounty or spend at that index.
|
|
208
|
+
**/
|
|
209
|
+
InvalidIndex: GenericPalletError<Rv>;
|
|
210
|
+
|
|
211
|
+
/**
|
|
212
|
+
* Too many approvals in the queue.
|
|
213
|
+
**/
|
|
214
|
+
TooManyApprovals: GenericPalletError<Rv>;
|
|
215
|
+
|
|
216
|
+
/**
|
|
217
|
+
* The spend origin is valid but the amount it is allowed to spend is lower than the
|
|
218
|
+
* amount to be spent.
|
|
219
|
+
**/
|
|
220
|
+
InsufficientPermission: GenericPalletError<Rv>;
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* Proposal has not been approved.
|
|
224
|
+
**/
|
|
225
|
+
ProposalNotApproved: GenericPalletError<Rv>;
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* The balance of the asset kind is not convertible to the balance of the native asset.
|
|
229
|
+
**/
|
|
230
|
+
FailedToConvertBalance: GenericPalletError<Rv>;
|
|
231
|
+
|
|
232
|
+
/**
|
|
233
|
+
* The spend has expired and cannot be claimed.
|
|
234
|
+
**/
|
|
235
|
+
SpendExpired: GenericPalletError<Rv>;
|
|
236
|
+
|
|
237
|
+
/**
|
|
238
|
+
* The spend is not yet eligible for payout.
|
|
239
|
+
**/
|
|
240
|
+
EarlyPayout: GenericPalletError<Rv>;
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
* The payment has already been attempted.
|
|
244
|
+
**/
|
|
245
|
+
AlreadyAttempted: GenericPalletError<Rv>;
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* There was some issue with the mechanism of payment.
|
|
249
|
+
**/
|
|
250
|
+
PayoutError: GenericPalletError<Rv>;
|
|
251
|
+
|
|
252
|
+
/**
|
|
253
|
+
* The payout was not yet attempted/claimed.
|
|
254
|
+
**/
|
|
255
|
+
NotAttempted: GenericPalletError<Rv>;
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* The payment has neither failed nor succeeded yet.
|
|
259
|
+
**/
|
|
260
|
+
Inconclusive: GenericPalletError<Rv>;
|
|
261
|
+
|
|
262
|
+
/**
|
|
263
|
+
* Generic pallet error
|
|
264
|
+
**/
|
|
265
|
+
[error: string]: GenericPalletError<Rv>;
|
|
266
|
+
};
|
|
267
|
+
/**
|
|
268
|
+
* Pallet `Utility`'s errors
|
|
269
|
+
**/
|
|
270
|
+
utility: {
|
|
271
|
+
/**
|
|
272
|
+
* Too many calls batched.
|
|
273
|
+
**/
|
|
274
|
+
TooManyCalls: GenericPalletError<Rv>;
|
|
275
|
+
|
|
276
|
+
/**
|
|
277
|
+
* Generic pallet error
|
|
278
|
+
**/
|
|
279
|
+
[error: string]: GenericPalletError<Rv>;
|
|
280
|
+
};
|
|
281
|
+
/**
|
|
282
|
+
* Pallet `Democracy`'s errors
|
|
283
|
+
**/
|
|
284
|
+
democracy: {
|
|
285
|
+
/**
|
|
286
|
+
* Value too low
|
|
287
|
+
**/
|
|
288
|
+
ValueLow: GenericPalletError<Rv>;
|
|
289
|
+
|
|
290
|
+
/**
|
|
291
|
+
* Proposal does not exist
|
|
292
|
+
**/
|
|
293
|
+
ProposalMissing: GenericPalletError<Rv>;
|
|
294
|
+
|
|
295
|
+
/**
|
|
296
|
+
* Cannot cancel the same proposal twice
|
|
297
|
+
**/
|
|
298
|
+
AlreadyCanceled: GenericPalletError<Rv>;
|
|
299
|
+
|
|
300
|
+
/**
|
|
301
|
+
* Proposal already made
|
|
302
|
+
**/
|
|
303
|
+
DuplicateProposal: GenericPalletError<Rv>;
|
|
304
|
+
|
|
305
|
+
/**
|
|
306
|
+
* Proposal still blacklisted
|
|
307
|
+
**/
|
|
308
|
+
ProposalBlacklisted: GenericPalletError<Rv>;
|
|
309
|
+
|
|
310
|
+
/**
|
|
311
|
+
* Next external proposal not simple majority
|
|
312
|
+
**/
|
|
313
|
+
NotSimpleMajority: GenericPalletError<Rv>;
|
|
314
|
+
|
|
315
|
+
/**
|
|
316
|
+
* Invalid hash
|
|
317
|
+
**/
|
|
318
|
+
InvalidHash: GenericPalletError<Rv>;
|
|
319
|
+
|
|
320
|
+
/**
|
|
321
|
+
* No external proposal
|
|
322
|
+
**/
|
|
323
|
+
NoProposal: GenericPalletError<Rv>;
|
|
324
|
+
|
|
325
|
+
/**
|
|
326
|
+
* Identity may not veto a proposal twice
|
|
327
|
+
**/
|
|
328
|
+
AlreadyVetoed: GenericPalletError<Rv>;
|
|
329
|
+
|
|
330
|
+
/**
|
|
331
|
+
* Vote given for invalid referendum
|
|
332
|
+
**/
|
|
333
|
+
ReferendumInvalid: GenericPalletError<Rv>;
|
|
334
|
+
|
|
335
|
+
/**
|
|
336
|
+
* No proposals waiting
|
|
337
|
+
**/
|
|
338
|
+
NoneWaiting: GenericPalletError<Rv>;
|
|
339
|
+
|
|
340
|
+
/**
|
|
341
|
+
* The given account did not vote on the referendum.
|
|
342
|
+
**/
|
|
343
|
+
NotVoter: GenericPalletError<Rv>;
|
|
344
|
+
|
|
345
|
+
/**
|
|
346
|
+
* The actor has no permission to conduct the action.
|
|
347
|
+
**/
|
|
348
|
+
NoPermission: GenericPalletError<Rv>;
|
|
349
|
+
|
|
350
|
+
/**
|
|
351
|
+
* The account is already delegating.
|
|
352
|
+
**/
|
|
353
|
+
AlreadyDelegating: GenericPalletError<Rv>;
|
|
354
|
+
|
|
355
|
+
/**
|
|
356
|
+
* Too high a balance was provided that the account cannot afford.
|
|
357
|
+
**/
|
|
358
|
+
InsufficientFunds: GenericPalletError<Rv>;
|
|
359
|
+
|
|
360
|
+
/**
|
|
361
|
+
* The account is not currently delegating.
|
|
362
|
+
**/
|
|
363
|
+
NotDelegating: GenericPalletError<Rv>;
|
|
364
|
+
|
|
365
|
+
/**
|
|
366
|
+
* The account currently has votes attached to it and the operation cannot succeed until
|
|
367
|
+
* these are removed, either through `unvote` or `reap_vote`.
|
|
368
|
+
**/
|
|
369
|
+
VotesExist: GenericPalletError<Rv>;
|
|
370
|
+
|
|
371
|
+
/**
|
|
372
|
+
* The instant referendum origin is currently disallowed.
|
|
373
|
+
**/
|
|
374
|
+
InstantNotAllowed: GenericPalletError<Rv>;
|
|
375
|
+
|
|
376
|
+
/**
|
|
377
|
+
* Delegation to oneself makes no sense.
|
|
378
|
+
**/
|
|
379
|
+
Nonsense: GenericPalletError<Rv>;
|
|
380
|
+
|
|
381
|
+
/**
|
|
382
|
+
* Invalid upper bound.
|
|
383
|
+
**/
|
|
384
|
+
WrongUpperBound: GenericPalletError<Rv>;
|
|
385
|
+
|
|
386
|
+
/**
|
|
387
|
+
* Maximum number of votes reached.
|
|
388
|
+
**/
|
|
389
|
+
MaxVotesReached: GenericPalletError<Rv>;
|
|
390
|
+
|
|
391
|
+
/**
|
|
392
|
+
* Maximum number of items reached.
|
|
393
|
+
**/
|
|
394
|
+
TooMany: GenericPalletError<Rv>;
|
|
395
|
+
|
|
396
|
+
/**
|
|
397
|
+
* Voting period too low
|
|
398
|
+
**/
|
|
399
|
+
VotingPeriodLow: GenericPalletError<Rv>;
|
|
400
|
+
|
|
401
|
+
/**
|
|
402
|
+
* The preimage does not exist.
|
|
403
|
+
**/
|
|
404
|
+
PreimageNotExist: GenericPalletError<Rv>;
|
|
405
|
+
|
|
406
|
+
/**
|
|
407
|
+
* Generic pallet error
|
|
408
|
+
**/
|
|
409
|
+
[error: string]: GenericPalletError<Rv>;
|
|
410
|
+
};
|
|
411
|
+
/**
|
|
412
|
+
* Pallet `TechnicalCommittee`'s errors
|
|
413
|
+
**/
|
|
414
|
+
technicalCommittee: {
|
|
415
|
+
/**
|
|
416
|
+
* Account is not a member
|
|
417
|
+
**/
|
|
418
|
+
NotMember: GenericPalletError<Rv>;
|
|
419
|
+
|
|
420
|
+
/**
|
|
421
|
+
* Duplicate proposals not allowed
|
|
422
|
+
**/
|
|
423
|
+
DuplicateProposal: GenericPalletError<Rv>;
|
|
424
|
+
|
|
425
|
+
/**
|
|
426
|
+
* Proposal must exist
|
|
427
|
+
**/
|
|
428
|
+
ProposalMissing: GenericPalletError<Rv>;
|
|
429
|
+
|
|
430
|
+
/**
|
|
431
|
+
* Mismatched index
|
|
432
|
+
**/
|
|
433
|
+
WrongIndex: GenericPalletError<Rv>;
|
|
434
|
+
|
|
435
|
+
/**
|
|
436
|
+
* Duplicate vote ignored
|
|
437
|
+
**/
|
|
438
|
+
DuplicateVote: GenericPalletError<Rv>;
|
|
439
|
+
|
|
440
|
+
/**
|
|
441
|
+
* Members are already initialized!
|
|
442
|
+
**/
|
|
443
|
+
AlreadyInitialized: GenericPalletError<Rv>;
|
|
444
|
+
|
|
445
|
+
/**
|
|
446
|
+
* The close call was made too early, before the end of the voting.
|
|
447
|
+
**/
|
|
448
|
+
TooEarly: GenericPalletError<Rv>;
|
|
449
|
+
|
|
450
|
+
/**
|
|
451
|
+
* There can only be a maximum of `MaxProposals` active proposals.
|
|
452
|
+
**/
|
|
453
|
+
TooManyProposals: GenericPalletError<Rv>;
|
|
454
|
+
|
|
455
|
+
/**
|
|
456
|
+
* The given weight bound for the proposal was too low.
|
|
457
|
+
**/
|
|
458
|
+
WrongProposalWeight: GenericPalletError<Rv>;
|
|
459
|
+
|
|
460
|
+
/**
|
|
461
|
+
* The given length bound for the proposal was too low.
|
|
462
|
+
**/
|
|
463
|
+
WrongProposalLength: GenericPalletError<Rv>;
|
|
464
|
+
|
|
465
|
+
/**
|
|
466
|
+
* Prime account is not a member
|
|
467
|
+
**/
|
|
468
|
+
PrimeAccountNotMember: GenericPalletError<Rv>;
|
|
469
|
+
|
|
470
|
+
/**
|
|
471
|
+
* Generic pallet error
|
|
472
|
+
**/
|
|
473
|
+
[error: string]: GenericPalletError<Rv>;
|
|
474
|
+
};
|
|
475
|
+
/**
|
|
476
|
+
* Pallet `Vesting`'s errors
|
|
477
|
+
**/
|
|
478
|
+
vesting: {
|
|
479
|
+
/**
|
|
480
|
+
* Vesting period is zero
|
|
481
|
+
**/
|
|
482
|
+
ZeroVestingPeriod: GenericPalletError<Rv>;
|
|
483
|
+
|
|
484
|
+
/**
|
|
485
|
+
* Number of vests is zero
|
|
486
|
+
**/
|
|
487
|
+
ZeroVestingPeriodCount: GenericPalletError<Rv>;
|
|
488
|
+
|
|
489
|
+
/**
|
|
490
|
+
* Insufficient amount of balance to lock
|
|
491
|
+
**/
|
|
492
|
+
InsufficientBalanceToLock: GenericPalletError<Rv>;
|
|
493
|
+
|
|
494
|
+
/**
|
|
495
|
+
* This account have too many vesting schedules
|
|
496
|
+
**/
|
|
497
|
+
TooManyVestingSchedules: GenericPalletError<Rv>;
|
|
498
|
+
|
|
499
|
+
/**
|
|
500
|
+
* The vested transfer amount is too low
|
|
501
|
+
**/
|
|
502
|
+
AmountLow: GenericPalletError<Rv>;
|
|
503
|
+
|
|
504
|
+
/**
|
|
505
|
+
* Failed because the maximum vesting schedules was exceeded
|
|
506
|
+
**/
|
|
507
|
+
MaxVestingSchedulesExceeded: GenericPalletError<Rv>;
|
|
508
|
+
|
|
509
|
+
/**
|
|
510
|
+
* Generic pallet error
|
|
511
|
+
**/
|
|
512
|
+
[error: string]: GenericPalletError<Rv>;
|
|
513
|
+
};
|
|
514
|
+
/**
|
|
515
|
+
* Pallet `Proxy`'s errors
|
|
516
|
+
**/
|
|
517
|
+
proxy: {
|
|
518
|
+
/**
|
|
519
|
+
* There are too many proxies registered or too many announcements pending.
|
|
520
|
+
**/
|
|
521
|
+
TooMany: GenericPalletError<Rv>;
|
|
522
|
+
|
|
523
|
+
/**
|
|
524
|
+
* Proxy registration not found.
|
|
525
|
+
**/
|
|
526
|
+
NotFound: GenericPalletError<Rv>;
|
|
527
|
+
|
|
528
|
+
/**
|
|
529
|
+
* Sender is not a proxy of the account to be proxied.
|
|
530
|
+
**/
|
|
531
|
+
NotProxy: GenericPalletError<Rv>;
|
|
532
|
+
|
|
533
|
+
/**
|
|
534
|
+
* A call which is incompatible with the proxy type's filter was attempted.
|
|
535
|
+
**/
|
|
536
|
+
Unproxyable: GenericPalletError<Rv>;
|
|
537
|
+
|
|
538
|
+
/**
|
|
539
|
+
* Account is already a proxy.
|
|
540
|
+
**/
|
|
541
|
+
Duplicate: GenericPalletError<Rv>;
|
|
542
|
+
|
|
543
|
+
/**
|
|
544
|
+
* Call may not be made by proxy because it may escalate its privileges.
|
|
545
|
+
**/
|
|
546
|
+
NoPermission: GenericPalletError<Rv>;
|
|
547
|
+
|
|
548
|
+
/**
|
|
549
|
+
* Announcement, if made at all, was made too recently.
|
|
550
|
+
**/
|
|
551
|
+
Unannounced: GenericPalletError<Rv>;
|
|
552
|
+
|
|
553
|
+
/**
|
|
554
|
+
* Cannot add self as proxy.
|
|
555
|
+
**/
|
|
556
|
+
NoSelfProxy: GenericPalletError<Rv>;
|
|
557
|
+
|
|
558
|
+
/**
|
|
559
|
+
* Generic pallet error
|
|
560
|
+
**/
|
|
561
|
+
[error: string]: GenericPalletError<Rv>;
|
|
562
|
+
};
|
|
563
|
+
/**
|
|
564
|
+
* Pallet `CollatorSelection`'s errors
|
|
565
|
+
**/
|
|
566
|
+
collatorSelection: {
|
|
567
|
+
/**
|
|
568
|
+
* The pallet has too many candidates.
|
|
569
|
+
**/
|
|
570
|
+
TooManyCandidates: GenericPalletError<Rv>;
|
|
571
|
+
|
|
572
|
+
/**
|
|
573
|
+
* Leaving would result in too few candidates.
|
|
574
|
+
**/
|
|
575
|
+
TooFewEligibleCollators: GenericPalletError<Rv>;
|
|
576
|
+
|
|
577
|
+
/**
|
|
578
|
+
* Account is already a candidate.
|
|
579
|
+
**/
|
|
580
|
+
AlreadyCandidate: GenericPalletError<Rv>;
|
|
581
|
+
|
|
582
|
+
/**
|
|
583
|
+
* Account is not a candidate.
|
|
584
|
+
**/
|
|
585
|
+
NotCandidate: GenericPalletError<Rv>;
|
|
586
|
+
|
|
587
|
+
/**
|
|
588
|
+
* There are too many Invulnerables.
|
|
589
|
+
**/
|
|
590
|
+
TooManyInvulnerables: GenericPalletError<Rv>;
|
|
591
|
+
|
|
592
|
+
/**
|
|
593
|
+
* Account is already an Invulnerable.
|
|
594
|
+
**/
|
|
595
|
+
AlreadyInvulnerable: GenericPalletError<Rv>;
|
|
596
|
+
|
|
597
|
+
/**
|
|
598
|
+
* Account is not an Invulnerable.
|
|
599
|
+
**/
|
|
600
|
+
NotInvulnerable: GenericPalletError<Rv>;
|
|
601
|
+
|
|
602
|
+
/**
|
|
603
|
+
* Account has no associated validator ID.
|
|
604
|
+
**/
|
|
605
|
+
NoAssociatedValidatorId: GenericPalletError<Rv>;
|
|
606
|
+
|
|
607
|
+
/**
|
|
608
|
+
* Validator ID is not yet registered.
|
|
609
|
+
**/
|
|
610
|
+
ValidatorNotRegistered: GenericPalletError<Rv>;
|
|
611
|
+
|
|
612
|
+
/**
|
|
613
|
+
* Could not insert in the candidate list.
|
|
614
|
+
**/
|
|
615
|
+
InsertToCandidateListFailed: GenericPalletError<Rv>;
|
|
616
|
+
|
|
617
|
+
/**
|
|
618
|
+
* Could not remove from the candidate list.
|
|
619
|
+
**/
|
|
620
|
+
RemoveFromCandidateListFailed: GenericPalletError<Rv>;
|
|
621
|
+
|
|
622
|
+
/**
|
|
623
|
+
* New deposit amount would be below the minimum candidacy bond.
|
|
624
|
+
**/
|
|
625
|
+
DepositTooLow: GenericPalletError<Rv>;
|
|
626
|
+
|
|
627
|
+
/**
|
|
628
|
+
* Could not update the candidate list.
|
|
629
|
+
**/
|
|
630
|
+
UpdateCandidateListFailed: GenericPalletError<Rv>;
|
|
631
|
+
|
|
632
|
+
/**
|
|
633
|
+
* Deposit amount is too low to take the target's slot in the candidate list.
|
|
634
|
+
**/
|
|
635
|
+
InsufficientBond: GenericPalletError<Rv>;
|
|
636
|
+
|
|
637
|
+
/**
|
|
638
|
+
* The target account to be replaced in the candidate list is not a candidate.
|
|
639
|
+
**/
|
|
640
|
+
TargetIsNotCandidate: GenericPalletError<Rv>;
|
|
641
|
+
|
|
642
|
+
/**
|
|
643
|
+
* The updated deposit amount is equal to the amount already reserved.
|
|
644
|
+
**/
|
|
645
|
+
IdenticalDeposit: GenericPalletError<Rv>;
|
|
646
|
+
|
|
647
|
+
/**
|
|
648
|
+
* Cannot lower candidacy bond while occupying a future collator slot in the list.
|
|
649
|
+
**/
|
|
650
|
+
InvalidUnreserve: GenericPalletError<Rv>;
|
|
651
|
+
|
|
652
|
+
/**
|
|
653
|
+
* Generic pallet error
|
|
654
|
+
**/
|
|
655
|
+
[error: string]: GenericPalletError<Rv>;
|
|
656
|
+
};
|
|
657
|
+
/**
|
|
658
|
+
* Pallet `Session`'s errors
|
|
659
|
+
**/
|
|
660
|
+
session: {
|
|
661
|
+
/**
|
|
662
|
+
* Invalid ownership proof.
|
|
663
|
+
**/
|
|
664
|
+
InvalidProof: GenericPalletError<Rv>;
|
|
665
|
+
|
|
666
|
+
/**
|
|
667
|
+
* No associated validator ID for account.
|
|
668
|
+
**/
|
|
669
|
+
NoAssociatedValidatorId: GenericPalletError<Rv>;
|
|
670
|
+
|
|
671
|
+
/**
|
|
672
|
+
* Registered duplicate key.
|
|
673
|
+
**/
|
|
674
|
+
DuplicatedKey: GenericPalletError<Rv>;
|
|
675
|
+
|
|
676
|
+
/**
|
|
677
|
+
* No keys are associated with this account.
|
|
678
|
+
**/
|
|
679
|
+
NoKeys: GenericPalletError<Rv>;
|
|
680
|
+
|
|
681
|
+
/**
|
|
682
|
+
* Key setting account is not live, so it's impossible to associate keys.
|
|
683
|
+
**/
|
|
684
|
+
NoAccount: GenericPalletError<Rv>;
|
|
685
|
+
|
|
686
|
+
/**
|
|
687
|
+
* Generic pallet error
|
|
688
|
+
**/
|
|
689
|
+
[error: string]: GenericPalletError<Rv>;
|
|
690
|
+
};
|
|
691
|
+
/**
|
|
692
|
+
* Pallet `Preimage`'s errors
|
|
693
|
+
**/
|
|
694
|
+
preimage: {
|
|
695
|
+
/**
|
|
696
|
+
* Preimage is too large to store on-chain.
|
|
697
|
+
**/
|
|
698
|
+
TooBig: GenericPalletError<Rv>;
|
|
699
|
+
|
|
700
|
+
/**
|
|
701
|
+
* Preimage has already been noted on-chain.
|
|
702
|
+
**/
|
|
703
|
+
AlreadyNoted: GenericPalletError<Rv>;
|
|
704
|
+
|
|
705
|
+
/**
|
|
706
|
+
* The user is not authorized to perform this action.
|
|
707
|
+
**/
|
|
708
|
+
NotAuthorized: GenericPalletError<Rv>;
|
|
709
|
+
|
|
710
|
+
/**
|
|
711
|
+
* The preimage cannot be removed since it has not yet been noted.
|
|
712
|
+
**/
|
|
713
|
+
NotNoted: GenericPalletError<Rv>;
|
|
714
|
+
|
|
715
|
+
/**
|
|
716
|
+
* A preimage may not be removed when there are outstanding requests.
|
|
717
|
+
**/
|
|
718
|
+
Requested: GenericPalletError<Rv>;
|
|
719
|
+
|
|
720
|
+
/**
|
|
721
|
+
* The preimage request cannot be removed since no outstanding requests exist.
|
|
722
|
+
**/
|
|
723
|
+
NotRequested: GenericPalletError<Rv>;
|
|
724
|
+
|
|
725
|
+
/**
|
|
726
|
+
* More than `MAX_HASH_UPGRADE_BULK_COUNT` hashes were requested to be upgraded at once.
|
|
727
|
+
**/
|
|
728
|
+
TooMany: GenericPalletError<Rv>;
|
|
729
|
+
|
|
730
|
+
/**
|
|
731
|
+
* Too few hashes were requested to be upgraded (i.e. zero).
|
|
732
|
+
**/
|
|
733
|
+
TooFew: GenericPalletError<Rv>;
|
|
734
|
+
|
|
735
|
+
/**
|
|
736
|
+
* Generic pallet error
|
|
737
|
+
**/
|
|
738
|
+
[error: string]: GenericPalletError<Rv>;
|
|
739
|
+
};
|
|
740
|
+
/**
|
|
741
|
+
* Pallet `Uniques`'s errors
|
|
742
|
+
**/
|
|
743
|
+
uniques: {
|
|
744
|
+
/**
|
|
745
|
+
* The signing account has no permission to do the operation.
|
|
746
|
+
**/
|
|
747
|
+
NoPermission: GenericPalletError<Rv>;
|
|
748
|
+
|
|
749
|
+
/**
|
|
750
|
+
* The given item ID is unknown.
|
|
751
|
+
**/
|
|
752
|
+
UnknownCollection: GenericPalletError<Rv>;
|
|
753
|
+
|
|
754
|
+
/**
|
|
755
|
+
* The item ID has already been used for an item.
|
|
756
|
+
**/
|
|
757
|
+
AlreadyExists: GenericPalletError<Rv>;
|
|
758
|
+
|
|
759
|
+
/**
|
|
760
|
+
* The owner turned out to be different to what was expected.
|
|
761
|
+
**/
|
|
762
|
+
WrongOwner: GenericPalletError<Rv>;
|
|
763
|
+
|
|
764
|
+
/**
|
|
765
|
+
* Invalid witness data given.
|
|
766
|
+
**/
|
|
767
|
+
BadWitness: GenericPalletError<Rv>;
|
|
768
|
+
|
|
769
|
+
/**
|
|
770
|
+
* The item ID is already taken.
|
|
771
|
+
**/
|
|
772
|
+
InUse: GenericPalletError<Rv>;
|
|
773
|
+
|
|
774
|
+
/**
|
|
775
|
+
* The item or collection is frozen.
|
|
776
|
+
**/
|
|
777
|
+
Frozen: GenericPalletError<Rv>;
|
|
778
|
+
|
|
779
|
+
/**
|
|
780
|
+
* The delegate turned out to be different to what was expected.
|
|
781
|
+
**/
|
|
782
|
+
WrongDelegate: GenericPalletError<Rv>;
|
|
783
|
+
|
|
784
|
+
/**
|
|
785
|
+
* There is no delegate approved.
|
|
786
|
+
**/
|
|
787
|
+
NoDelegate: GenericPalletError<Rv>;
|
|
788
|
+
|
|
789
|
+
/**
|
|
790
|
+
* No approval exists that would allow the transfer.
|
|
791
|
+
**/
|
|
792
|
+
Unapproved: GenericPalletError<Rv>;
|
|
793
|
+
|
|
794
|
+
/**
|
|
795
|
+
* The named owner has not signed ownership of the collection is acceptable.
|
|
796
|
+
**/
|
|
797
|
+
Unaccepted: GenericPalletError<Rv>;
|
|
798
|
+
|
|
799
|
+
/**
|
|
800
|
+
* The item is locked.
|
|
801
|
+
**/
|
|
802
|
+
Locked: GenericPalletError<Rv>;
|
|
803
|
+
|
|
804
|
+
/**
|
|
805
|
+
* All items have been minted.
|
|
806
|
+
**/
|
|
807
|
+
MaxSupplyReached: GenericPalletError<Rv>;
|
|
808
|
+
|
|
809
|
+
/**
|
|
810
|
+
* The max supply has already been set.
|
|
811
|
+
**/
|
|
812
|
+
MaxSupplyAlreadySet: GenericPalletError<Rv>;
|
|
813
|
+
|
|
814
|
+
/**
|
|
815
|
+
* The provided max supply is less to the amount of items a collection already has.
|
|
816
|
+
**/
|
|
817
|
+
MaxSupplyTooSmall: GenericPalletError<Rv>;
|
|
818
|
+
|
|
819
|
+
/**
|
|
820
|
+
* The given item ID is unknown.
|
|
821
|
+
**/
|
|
822
|
+
UnknownItem: GenericPalletError<Rv>;
|
|
823
|
+
|
|
824
|
+
/**
|
|
825
|
+
* Item is not for sale.
|
|
826
|
+
**/
|
|
827
|
+
NotForSale: GenericPalletError<Rv>;
|
|
828
|
+
|
|
829
|
+
/**
|
|
830
|
+
* The provided bid is too low.
|
|
831
|
+
**/
|
|
832
|
+
BidTooLow: GenericPalletError<Rv>;
|
|
833
|
+
|
|
834
|
+
/**
|
|
835
|
+
* Generic pallet error
|
|
836
|
+
**/
|
|
837
|
+
[error: string]: GenericPalletError<Rv>;
|
|
838
|
+
};
|
|
839
|
+
/**
|
|
840
|
+
* Pallet `Identity`'s errors
|
|
841
|
+
**/
|
|
842
|
+
identity: {
|
|
843
|
+
/**
|
|
844
|
+
* Too many subs-accounts.
|
|
845
|
+
**/
|
|
846
|
+
TooManySubAccounts: GenericPalletError<Rv>;
|
|
847
|
+
|
|
848
|
+
/**
|
|
849
|
+
* Account isn't found.
|
|
850
|
+
**/
|
|
851
|
+
NotFound: GenericPalletError<Rv>;
|
|
852
|
+
|
|
853
|
+
/**
|
|
854
|
+
* Account isn't named.
|
|
855
|
+
**/
|
|
856
|
+
NotNamed: GenericPalletError<Rv>;
|
|
857
|
+
|
|
858
|
+
/**
|
|
859
|
+
* Empty index.
|
|
860
|
+
**/
|
|
861
|
+
EmptyIndex: GenericPalletError<Rv>;
|
|
862
|
+
|
|
863
|
+
/**
|
|
864
|
+
* Fee is changed.
|
|
865
|
+
**/
|
|
866
|
+
FeeChanged: GenericPalletError<Rv>;
|
|
867
|
+
|
|
868
|
+
/**
|
|
869
|
+
* No identity found.
|
|
870
|
+
**/
|
|
871
|
+
NoIdentity: GenericPalletError<Rv>;
|
|
872
|
+
|
|
873
|
+
/**
|
|
874
|
+
* Sticky judgement.
|
|
875
|
+
**/
|
|
876
|
+
StickyJudgement: GenericPalletError<Rv>;
|
|
877
|
+
|
|
878
|
+
/**
|
|
879
|
+
* Judgement given.
|
|
880
|
+
**/
|
|
881
|
+
JudgementGiven: GenericPalletError<Rv>;
|
|
882
|
+
|
|
883
|
+
/**
|
|
884
|
+
* Invalid judgement.
|
|
885
|
+
**/
|
|
886
|
+
InvalidJudgement: GenericPalletError<Rv>;
|
|
887
|
+
|
|
888
|
+
/**
|
|
889
|
+
* The index is invalid.
|
|
890
|
+
**/
|
|
891
|
+
InvalidIndex: GenericPalletError<Rv>;
|
|
892
|
+
|
|
893
|
+
/**
|
|
894
|
+
* The target is invalid.
|
|
895
|
+
**/
|
|
896
|
+
InvalidTarget: GenericPalletError<Rv>;
|
|
897
|
+
|
|
898
|
+
/**
|
|
899
|
+
* Maximum amount of registrars reached. Cannot add any more.
|
|
900
|
+
**/
|
|
901
|
+
TooManyRegistrars: GenericPalletError<Rv>;
|
|
902
|
+
|
|
903
|
+
/**
|
|
904
|
+
* Account ID is already named.
|
|
905
|
+
**/
|
|
906
|
+
AlreadyClaimed: GenericPalletError<Rv>;
|
|
907
|
+
|
|
908
|
+
/**
|
|
909
|
+
* Sender is not a sub-account.
|
|
910
|
+
**/
|
|
911
|
+
NotSub: GenericPalletError<Rv>;
|
|
912
|
+
|
|
913
|
+
/**
|
|
914
|
+
* Sub-account isn't owned by sender.
|
|
915
|
+
**/
|
|
916
|
+
NotOwned: GenericPalletError<Rv>;
|
|
917
|
+
|
|
918
|
+
/**
|
|
919
|
+
* The provided judgement was for a different identity.
|
|
920
|
+
**/
|
|
921
|
+
JudgementForDifferentIdentity: GenericPalletError<Rv>;
|
|
922
|
+
|
|
923
|
+
/**
|
|
924
|
+
* Error that occurs when there is an issue paying for judgement.
|
|
925
|
+
**/
|
|
926
|
+
JudgementPaymentFailed: GenericPalletError<Rv>;
|
|
927
|
+
|
|
928
|
+
/**
|
|
929
|
+
* The provided suffix is too long.
|
|
930
|
+
**/
|
|
931
|
+
InvalidSuffix: GenericPalletError<Rv>;
|
|
932
|
+
|
|
933
|
+
/**
|
|
934
|
+
* The sender does not have permission to issue a username.
|
|
935
|
+
**/
|
|
936
|
+
NotUsernameAuthority: GenericPalletError<Rv>;
|
|
937
|
+
|
|
938
|
+
/**
|
|
939
|
+
* The authority cannot allocate any more usernames.
|
|
940
|
+
**/
|
|
941
|
+
NoAllocation: GenericPalletError<Rv>;
|
|
942
|
+
|
|
943
|
+
/**
|
|
944
|
+
* The signature on a username was not valid.
|
|
945
|
+
**/
|
|
946
|
+
InvalidSignature: GenericPalletError<Rv>;
|
|
947
|
+
|
|
948
|
+
/**
|
|
949
|
+
* Setting this username requires a signature, but none was provided.
|
|
950
|
+
**/
|
|
951
|
+
RequiresSignature: GenericPalletError<Rv>;
|
|
952
|
+
|
|
953
|
+
/**
|
|
954
|
+
* The username does not meet the requirements.
|
|
955
|
+
**/
|
|
956
|
+
InvalidUsername: GenericPalletError<Rv>;
|
|
957
|
+
|
|
958
|
+
/**
|
|
959
|
+
* The username is already taken.
|
|
960
|
+
**/
|
|
961
|
+
UsernameTaken: GenericPalletError<Rv>;
|
|
962
|
+
|
|
963
|
+
/**
|
|
964
|
+
* The requested username does not exist.
|
|
965
|
+
**/
|
|
966
|
+
NoUsername: GenericPalletError<Rv>;
|
|
967
|
+
|
|
968
|
+
/**
|
|
969
|
+
* The username cannot be forcefully removed because it can still be accepted.
|
|
970
|
+
**/
|
|
971
|
+
NotExpired: GenericPalletError<Rv>;
|
|
972
|
+
|
|
973
|
+
/**
|
|
974
|
+
* Generic pallet error
|
|
975
|
+
**/
|
|
976
|
+
[error: string]: GenericPalletError<Rv>;
|
|
977
|
+
};
|
|
978
|
+
/**
|
|
979
|
+
* Pallet `Multisig`'s errors
|
|
980
|
+
**/
|
|
981
|
+
multisig: {
|
|
982
|
+
/**
|
|
983
|
+
* Threshold must be 2 or greater.
|
|
984
|
+
**/
|
|
985
|
+
MinimumThreshold: GenericPalletError<Rv>;
|
|
986
|
+
|
|
987
|
+
/**
|
|
988
|
+
* Call is already approved by this signatory.
|
|
989
|
+
**/
|
|
990
|
+
AlreadyApproved: GenericPalletError<Rv>;
|
|
991
|
+
|
|
992
|
+
/**
|
|
993
|
+
* Call doesn't need any (more) approvals.
|
|
994
|
+
**/
|
|
995
|
+
NoApprovalsNeeded: GenericPalletError<Rv>;
|
|
996
|
+
|
|
997
|
+
/**
|
|
998
|
+
* There are too few signatories in the list.
|
|
999
|
+
**/
|
|
1000
|
+
TooFewSignatories: GenericPalletError<Rv>;
|
|
1001
|
+
|
|
1002
|
+
/**
|
|
1003
|
+
* There are too many signatories in the list.
|
|
1004
|
+
**/
|
|
1005
|
+
TooManySignatories: GenericPalletError<Rv>;
|
|
1006
|
+
|
|
1007
|
+
/**
|
|
1008
|
+
* The signatories were provided out of order; they should be ordered.
|
|
1009
|
+
**/
|
|
1010
|
+
SignatoriesOutOfOrder: GenericPalletError<Rv>;
|
|
1011
|
+
|
|
1012
|
+
/**
|
|
1013
|
+
* The sender was contained in the other signatories; it shouldn't be.
|
|
1014
|
+
**/
|
|
1015
|
+
SenderInSignatories: GenericPalletError<Rv>;
|
|
1016
|
+
|
|
1017
|
+
/**
|
|
1018
|
+
* Multisig operation not found when attempting to cancel.
|
|
1019
|
+
**/
|
|
1020
|
+
NotFound: GenericPalletError<Rv>;
|
|
1021
|
+
|
|
1022
|
+
/**
|
|
1023
|
+
* Only the account that originally created the multisig is able to cancel it.
|
|
1024
|
+
**/
|
|
1025
|
+
NotOwner: GenericPalletError<Rv>;
|
|
1026
|
+
|
|
1027
|
+
/**
|
|
1028
|
+
* No timepoint was given, yet the multisig operation is already underway.
|
|
1029
|
+
**/
|
|
1030
|
+
NoTimepoint: GenericPalletError<Rv>;
|
|
1031
|
+
|
|
1032
|
+
/**
|
|
1033
|
+
* A different timepoint was given to the multisig operation that is underway.
|
|
1034
|
+
**/
|
|
1035
|
+
WrongTimepoint: GenericPalletError<Rv>;
|
|
1036
|
+
|
|
1037
|
+
/**
|
|
1038
|
+
* A timepoint was given, yet no multisig operation is underway.
|
|
1039
|
+
**/
|
|
1040
|
+
UnexpectedTimepoint: GenericPalletError<Rv>;
|
|
1041
|
+
|
|
1042
|
+
/**
|
|
1043
|
+
* The maximum weight information provided was too low.
|
|
1044
|
+
**/
|
|
1045
|
+
MaxWeightTooLow: GenericPalletError<Rv>;
|
|
1046
|
+
|
|
1047
|
+
/**
|
|
1048
|
+
* The data to be stored is already stored.
|
|
1049
|
+
**/
|
|
1050
|
+
AlreadyStored: GenericPalletError<Rv>;
|
|
1051
|
+
|
|
1052
|
+
/**
|
|
1053
|
+
* Generic pallet error
|
|
1054
|
+
**/
|
|
1055
|
+
[error: string]: GenericPalletError<Rv>;
|
|
1056
|
+
};
|
|
1057
|
+
/**
|
|
1058
|
+
* Pallet `StateTrieMigration`'s errors
|
|
1059
|
+
**/
|
|
1060
|
+
stateTrieMigration: {
|
|
1061
|
+
/**
|
|
1062
|
+
* Max signed limits not respected.
|
|
1063
|
+
**/
|
|
1064
|
+
MaxSignedLimits: GenericPalletError<Rv>;
|
|
1065
|
+
|
|
1066
|
+
/**
|
|
1067
|
+
* A key was longer than the configured maximum.
|
|
1068
|
+
*
|
|
1069
|
+
* This means that the migration halted at the current [`Progress`] and
|
|
1070
|
+
* can be resumed with a larger [`crate::Config::MaxKeyLen`] value.
|
|
1071
|
+
* Retrying with the same [`crate::Config::MaxKeyLen`] value will not work.
|
|
1072
|
+
* The value should only be increased to avoid a storage migration for the currently
|
|
1073
|
+
* stored [`crate::Progress::LastKey`].
|
|
1074
|
+
**/
|
|
1075
|
+
KeyTooLong: GenericPalletError<Rv>;
|
|
1076
|
+
|
|
1077
|
+
/**
|
|
1078
|
+
* submitter does not have enough funds.
|
|
1079
|
+
**/
|
|
1080
|
+
NotEnoughFunds: GenericPalletError<Rv>;
|
|
1081
|
+
|
|
1082
|
+
/**
|
|
1083
|
+
* Bad witness data provided.
|
|
1084
|
+
**/
|
|
1085
|
+
BadWitness: GenericPalletError<Rv>;
|
|
1086
|
+
|
|
1087
|
+
/**
|
|
1088
|
+
* Signed migration is not allowed because the maximum limit is not set yet.
|
|
1089
|
+
**/
|
|
1090
|
+
SignedMigrationNotAllowed: GenericPalletError<Rv>;
|
|
1091
|
+
|
|
1092
|
+
/**
|
|
1093
|
+
* Bad child root provided.
|
|
1094
|
+
**/
|
|
1095
|
+
BadChildRoot: GenericPalletError<Rv>;
|
|
1096
|
+
|
|
1097
|
+
/**
|
|
1098
|
+
* Generic pallet error
|
|
1099
|
+
**/
|
|
1100
|
+
[error: string]: GenericPalletError<Rv>;
|
|
1101
|
+
};
|
|
1102
|
+
/**
|
|
1103
|
+
* Pallet `ConvictionVoting`'s errors
|
|
1104
|
+
**/
|
|
1105
|
+
convictionVoting: {
|
|
1106
|
+
/**
|
|
1107
|
+
* Poll is not ongoing.
|
|
1108
|
+
**/
|
|
1109
|
+
NotOngoing: GenericPalletError<Rv>;
|
|
1110
|
+
|
|
1111
|
+
/**
|
|
1112
|
+
* The given account did not vote on the poll.
|
|
1113
|
+
**/
|
|
1114
|
+
NotVoter: GenericPalletError<Rv>;
|
|
1115
|
+
|
|
1116
|
+
/**
|
|
1117
|
+
* The actor has no permission to conduct the action.
|
|
1118
|
+
**/
|
|
1119
|
+
NoPermission: GenericPalletError<Rv>;
|
|
1120
|
+
|
|
1121
|
+
/**
|
|
1122
|
+
* The actor has no permission to conduct the action right now but will do in the future.
|
|
1123
|
+
**/
|
|
1124
|
+
NoPermissionYet: GenericPalletError<Rv>;
|
|
1125
|
+
|
|
1126
|
+
/**
|
|
1127
|
+
* The account is already delegating.
|
|
1128
|
+
**/
|
|
1129
|
+
AlreadyDelegating: GenericPalletError<Rv>;
|
|
1130
|
+
|
|
1131
|
+
/**
|
|
1132
|
+
* The account currently has votes attached to it and the operation cannot succeed until
|
|
1133
|
+
* these are removed through `remove_vote`.
|
|
1134
|
+
**/
|
|
1135
|
+
AlreadyVoting: GenericPalletError<Rv>;
|
|
1136
|
+
|
|
1137
|
+
/**
|
|
1138
|
+
* Too high a balance was provided that the account cannot afford.
|
|
1139
|
+
**/
|
|
1140
|
+
InsufficientFunds: GenericPalletError<Rv>;
|
|
1141
|
+
|
|
1142
|
+
/**
|
|
1143
|
+
* The account is not currently delegating.
|
|
1144
|
+
**/
|
|
1145
|
+
NotDelegating: GenericPalletError<Rv>;
|
|
1146
|
+
|
|
1147
|
+
/**
|
|
1148
|
+
* Delegation to oneself makes no sense.
|
|
1149
|
+
**/
|
|
1150
|
+
Nonsense: GenericPalletError<Rv>;
|
|
1151
|
+
|
|
1152
|
+
/**
|
|
1153
|
+
* Maximum number of votes reached.
|
|
1154
|
+
**/
|
|
1155
|
+
MaxVotesReached: GenericPalletError<Rv>;
|
|
1156
|
+
|
|
1157
|
+
/**
|
|
1158
|
+
* The class must be supplied since it is not easily determinable from the state.
|
|
1159
|
+
**/
|
|
1160
|
+
ClassNeeded: GenericPalletError<Rv>;
|
|
1161
|
+
|
|
1162
|
+
/**
|
|
1163
|
+
* The class ID supplied is invalid.
|
|
1164
|
+
**/
|
|
1165
|
+
BadClass: GenericPalletError<Rv>;
|
|
1166
|
+
|
|
1167
|
+
/**
|
|
1168
|
+
* Generic pallet error
|
|
1169
|
+
**/
|
|
1170
|
+
[error: string]: GenericPalletError<Rv>;
|
|
1171
|
+
};
|
|
1172
|
+
/**
|
|
1173
|
+
* Pallet `Referenda`'s errors
|
|
1174
|
+
**/
|
|
1175
|
+
referenda: {
|
|
1176
|
+
/**
|
|
1177
|
+
* Referendum is not ongoing.
|
|
1178
|
+
**/
|
|
1179
|
+
NotOngoing: GenericPalletError<Rv>;
|
|
1180
|
+
|
|
1181
|
+
/**
|
|
1182
|
+
* Referendum's decision deposit is already paid.
|
|
1183
|
+
**/
|
|
1184
|
+
HasDeposit: GenericPalletError<Rv>;
|
|
1185
|
+
|
|
1186
|
+
/**
|
|
1187
|
+
* The track identifier given was invalid.
|
|
1188
|
+
**/
|
|
1189
|
+
BadTrack: GenericPalletError<Rv>;
|
|
1190
|
+
|
|
1191
|
+
/**
|
|
1192
|
+
* There are already a full complement of referenda in progress for this track.
|
|
1193
|
+
**/
|
|
1194
|
+
Full: GenericPalletError<Rv>;
|
|
1195
|
+
|
|
1196
|
+
/**
|
|
1197
|
+
* The queue of the track is empty.
|
|
1198
|
+
**/
|
|
1199
|
+
QueueEmpty: GenericPalletError<Rv>;
|
|
1200
|
+
|
|
1201
|
+
/**
|
|
1202
|
+
* The referendum index provided is invalid in this context.
|
|
1203
|
+
**/
|
|
1204
|
+
BadReferendum: GenericPalletError<Rv>;
|
|
1205
|
+
|
|
1206
|
+
/**
|
|
1207
|
+
* There was nothing to do in the advancement.
|
|
1208
|
+
**/
|
|
1209
|
+
NothingToDo: GenericPalletError<Rv>;
|
|
1210
|
+
|
|
1211
|
+
/**
|
|
1212
|
+
* No track exists for the proposal origin.
|
|
1213
|
+
**/
|
|
1214
|
+
NoTrack: GenericPalletError<Rv>;
|
|
1215
|
+
|
|
1216
|
+
/**
|
|
1217
|
+
* Any deposit cannot be refunded until after the decision is over.
|
|
1218
|
+
**/
|
|
1219
|
+
Unfinished: GenericPalletError<Rv>;
|
|
1220
|
+
|
|
1221
|
+
/**
|
|
1222
|
+
* The deposit refunder is not the depositor.
|
|
1223
|
+
**/
|
|
1224
|
+
NoPermission: GenericPalletError<Rv>;
|
|
1225
|
+
|
|
1226
|
+
/**
|
|
1227
|
+
* The deposit cannot be refunded since none was made.
|
|
1228
|
+
**/
|
|
1229
|
+
NoDeposit: GenericPalletError<Rv>;
|
|
1230
|
+
|
|
1231
|
+
/**
|
|
1232
|
+
* The referendum status is invalid for this operation.
|
|
1233
|
+
**/
|
|
1234
|
+
BadStatus: GenericPalletError<Rv>;
|
|
1235
|
+
|
|
1236
|
+
/**
|
|
1237
|
+
* The preimage does not exist.
|
|
1238
|
+
**/
|
|
1239
|
+
PreimageNotExist: GenericPalletError<Rv>;
|
|
1240
|
+
|
|
1241
|
+
/**
|
|
1242
|
+
* The preimage is stored with a different length than the one provided.
|
|
1243
|
+
**/
|
|
1244
|
+
PreimageStoredWithDifferentLength: GenericPalletError<Rv>;
|
|
1245
|
+
|
|
1246
|
+
/**
|
|
1247
|
+
* Generic pallet error
|
|
1248
|
+
**/
|
|
1249
|
+
[error: string]: GenericPalletError<Rv>;
|
|
1250
|
+
};
|
|
1251
|
+
/**
|
|
1252
|
+
* Pallet `Whitelist`'s errors
|
|
1253
|
+
**/
|
|
1254
|
+
whitelist: {
|
|
1255
|
+
/**
|
|
1256
|
+
* The preimage of the call hash could not be loaded.
|
|
1257
|
+
**/
|
|
1258
|
+
UnavailablePreImage: GenericPalletError<Rv>;
|
|
1259
|
+
|
|
1260
|
+
/**
|
|
1261
|
+
* The call could not be decoded.
|
|
1262
|
+
**/
|
|
1263
|
+
UndecodableCall: GenericPalletError<Rv>;
|
|
1264
|
+
|
|
1265
|
+
/**
|
|
1266
|
+
* The weight of the decoded call was higher than the witness.
|
|
1267
|
+
**/
|
|
1268
|
+
InvalidCallWeightWitness: GenericPalletError<Rv>;
|
|
1269
|
+
|
|
1270
|
+
/**
|
|
1271
|
+
* The call was not whitelisted.
|
|
1272
|
+
**/
|
|
1273
|
+
CallIsNotWhitelisted: GenericPalletError<Rv>;
|
|
1274
|
+
|
|
1275
|
+
/**
|
|
1276
|
+
* The call was already whitelisted; No-Op.
|
|
1277
|
+
**/
|
|
1278
|
+
CallAlreadyWhitelisted: GenericPalletError<Rv>;
|
|
1279
|
+
|
|
1280
|
+
/**
|
|
1281
|
+
* Generic pallet error
|
|
1282
|
+
**/
|
|
1283
|
+
[error: string]: GenericPalletError<Rv>;
|
|
1284
|
+
};
|
|
1285
|
+
/**
|
|
1286
|
+
* Pallet `RelayChainInfo`'s errors
|
|
1287
|
+
**/
|
|
1288
|
+
relayChainInfo: {
|
|
1289
|
+
/**
|
|
1290
|
+
* Generic pallet error
|
|
1291
|
+
**/
|
|
1292
|
+
[error: string]: GenericPalletError<Rv>;
|
|
1293
|
+
};
|
|
1294
|
+
/**
|
|
1295
|
+
* Pallet `Scheduler`'s errors
|
|
1296
|
+
**/
|
|
1297
|
+
scheduler: {
|
|
1298
|
+
/**
|
|
1299
|
+
* Failed to schedule a call
|
|
1300
|
+
**/
|
|
1301
|
+
FailedToSchedule: GenericPalletError<Rv>;
|
|
1302
|
+
|
|
1303
|
+
/**
|
|
1304
|
+
* Cannot find the scheduled call.
|
|
1305
|
+
**/
|
|
1306
|
+
NotFound: GenericPalletError<Rv>;
|
|
1307
|
+
|
|
1308
|
+
/**
|
|
1309
|
+
* Given target block number is in the past.
|
|
1310
|
+
**/
|
|
1311
|
+
TargetBlockNumberInPast: GenericPalletError<Rv>;
|
|
1312
|
+
|
|
1313
|
+
/**
|
|
1314
|
+
* Reschedule failed because it does not change scheduled time.
|
|
1315
|
+
**/
|
|
1316
|
+
RescheduleNoChange: GenericPalletError<Rv>;
|
|
1317
|
+
|
|
1318
|
+
/**
|
|
1319
|
+
* Attempt to use a non-named function on a named task.
|
|
1320
|
+
**/
|
|
1321
|
+
Named: GenericPalletError<Rv>;
|
|
1322
|
+
|
|
1323
|
+
/**
|
|
1324
|
+
* Generic pallet error
|
|
1325
|
+
**/
|
|
1326
|
+
[error: string]: GenericPalletError<Rv>;
|
|
1327
|
+
};
|
|
1328
|
+
/**
|
|
1329
|
+
* Pallet `ParachainSystem`'s errors
|
|
1330
|
+
**/
|
|
1331
|
+
parachainSystem: {
|
|
1332
|
+
/**
|
|
1333
|
+
* Attempt to upgrade validation function while existing upgrade pending.
|
|
1334
|
+
**/
|
|
1335
|
+
OverlappingUpgrades: GenericPalletError<Rv>;
|
|
1336
|
+
|
|
1337
|
+
/**
|
|
1338
|
+
* Polkadot currently prohibits this parachain from upgrading its validation function.
|
|
1339
|
+
**/
|
|
1340
|
+
ProhibitedByPolkadot: GenericPalletError<Rv>;
|
|
1341
|
+
|
|
1342
|
+
/**
|
|
1343
|
+
* The supplied validation function has compiled into a blob larger than Polkadot is
|
|
1344
|
+
* willing to run.
|
|
1345
|
+
**/
|
|
1346
|
+
TooBig: GenericPalletError<Rv>;
|
|
1347
|
+
|
|
1348
|
+
/**
|
|
1349
|
+
* The inherent which supplies the validation data did not run this block.
|
|
1350
|
+
**/
|
|
1351
|
+
ValidationDataNotAvailable: GenericPalletError<Rv>;
|
|
1352
|
+
|
|
1353
|
+
/**
|
|
1354
|
+
* The inherent which supplies the host configuration did not run this block.
|
|
1355
|
+
**/
|
|
1356
|
+
HostConfigurationNotAvailable: GenericPalletError<Rv>;
|
|
1357
|
+
|
|
1358
|
+
/**
|
|
1359
|
+
* No validation function upgrade is currently scheduled.
|
|
1360
|
+
**/
|
|
1361
|
+
NotScheduled: GenericPalletError<Rv>;
|
|
1362
|
+
|
|
1363
|
+
/**
|
|
1364
|
+
* No code upgrade has been authorized.
|
|
1365
|
+
**/
|
|
1366
|
+
NothingAuthorized: GenericPalletError<Rv>;
|
|
1367
|
+
|
|
1368
|
+
/**
|
|
1369
|
+
* The given code upgrade has not been authorized.
|
|
1370
|
+
**/
|
|
1371
|
+
Unauthorized: GenericPalletError<Rv>;
|
|
1372
|
+
|
|
1373
|
+
/**
|
|
1374
|
+
* Generic pallet error
|
|
1375
|
+
**/
|
|
1376
|
+
[error: string]: GenericPalletError<Rv>;
|
|
1377
|
+
};
|
|
1378
|
+
/**
|
|
1379
|
+
* Pallet `PolkadotXcm`'s errors
|
|
1380
|
+
**/
|
|
1381
|
+
polkadotXcm: {
|
|
1382
|
+
/**
|
|
1383
|
+
* The desired destination was unreachable, generally because there is a no way of routing
|
|
1384
|
+
* to it.
|
|
1385
|
+
**/
|
|
1386
|
+
Unreachable: GenericPalletError<Rv>;
|
|
1387
|
+
|
|
1388
|
+
/**
|
|
1389
|
+
* There was some other issue (i.e. not to do with routing) in sending the message.
|
|
1390
|
+
* Perhaps a lack of space for buffering the message.
|
|
1391
|
+
**/
|
|
1392
|
+
SendFailure: GenericPalletError<Rv>;
|
|
1393
|
+
|
|
1394
|
+
/**
|
|
1395
|
+
* The message execution fails the filter.
|
|
1396
|
+
**/
|
|
1397
|
+
Filtered: GenericPalletError<Rv>;
|
|
1398
|
+
|
|
1399
|
+
/**
|
|
1400
|
+
* The message's weight could not be determined.
|
|
1401
|
+
**/
|
|
1402
|
+
UnweighableMessage: GenericPalletError<Rv>;
|
|
1403
|
+
|
|
1404
|
+
/**
|
|
1405
|
+
* The destination `Location` provided cannot be inverted.
|
|
1406
|
+
**/
|
|
1407
|
+
DestinationNotInvertible: GenericPalletError<Rv>;
|
|
1408
|
+
|
|
1409
|
+
/**
|
|
1410
|
+
* The assets to be sent are empty.
|
|
1411
|
+
**/
|
|
1412
|
+
Empty: GenericPalletError<Rv>;
|
|
1413
|
+
|
|
1414
|
+
/**
|
|
1415
|
+
* Could not re-anchor the assets to declare the fees for the destination chain.
|
|
1416
|
+
**/
|
|
1417
|
+
CannotReanchor: GenericPalletError<Rv>;
|
|
1418
|
+
|
|
1419
|
+
/**
|
|
1420
|
+
* Too many assets have been attempted for transfer.
|
|
1421
|
+
**/
|
|
1422
|
+
TooManyAssets: GenericPalletError<Rv>;
|
|
1423
|
+
|
|
1424
|
+
/**
|
|
1425
|
+
* Origin is invalid for sending.
|
|
1426
|
+
**/
|
|
1427
|
+
InvalidOrigin: GenericPalletError<Rv>;
|
|
1428
|
+
|
|
1429
|
+
/**
|
|
1430
|
+
* The version of the `Versioned` value used is not able to be interpreted.
|
|
1431
|
+
**/
|
|
1432
|
+
BadVersion: GenericPalletError<Rv>;
|
|
1433
|
+
|
|
1434
|
+
/**
|
|
1435
|
+
* The given location could not be used (e.g. because it cannot be expressed in the
|
|
1436
|
+
* desired version of XCM).
|
|
1437
|
+
**/
|
|
1438
|
+
BadLocation: GenericPalletError<Rv>;
|
|
1439
|
+
|
|
1440
|
+
/**
|
|
1441
|
+
* The referenced subscription could not be found.
|
|
1442
|
+
**/
|
|
1443
|
+
NoSubscription: GenericPalletError<Rv>;
|
|
1444
|
+
|
|
1445
|
+
/**
|
|
1446
|
+
* The location is invalid since it already has a subscription from us.
|
|
1447
|
+
**/
|
|
1448
|
+
AlreadySubscribed: GenericPalletError<Rv>;
|
|
1449
|
+
|
|
1450
|
+
/**
|
|
1451
|
+
* Could not check-out the assets for teleportation to the destination chain.
|
|
1452
|
+
**/
|
|
1453
|
+
CannotCheckOutTeleport: GenericPalletError<Rv>;
|
|
1454
|
+
|
|
1455
|
+
/**
|
|
1456
|
+
* The owner does not own (all) of the asset that they wish to do the operation on.
|
|
1457
|
+
**/
|
|
1458
|
+
LowBalance: GenericPalletError<Rv>;
|
|
1459
|
+
|
|
1460
|
+
/**
|
|
1461
|
+
* The asset owner has too many locks on the asset.
|
|
1462
|
+
**/
|
|
1463
|
+
TooManyLocks: GenericPalletError<Rv>;
|
|
1464
|
+
|
|
1465
|
+
/**
|
|
1466
|
+
* The given account is not an identifiable sovereign account for any location.
|
|
1467
|
+
**/
|
|
1468
|
+
AccountNotSovereign: GenericPalletError<Rv>;
|
|
1469
|
+
|
|
1470
|
+
/**
|
|
1471
|
+
* The operation required fees to be paid which the initiator could not meet.
|
|
1472
|
+
**/
|
|
1473
|
+
FeesNotMet: GenericPalletError<Rv>;
|
|
1474
|
+
|
|
1475
|
+
/**
|
|
1476
|
+
* A remote lock with the corresponding data could not be found.
|
|
1477
|
+
**/
|
|
1478
|
+
LockNotFound: GenericPalletError<Rv>;
|
|
1479
|
+
|
|
1480
|
+
/**
|
|
1481
|
+
* The unlock operation cannot succeed because there are still consumers of the lock.
|
|
1482
|
+
**/
|
|
1483
|
+
InUse: GenericPalletError<Rv>;
|
|
1484
|
+
|
|
1485
|
+
/**
|
|
1486
|
+
* Invalid asset, reserve chain could not be determined for it.
|
|
1487
|
+
**/
|
|
1488
|
+
InvalidAssetUnknownReserve: GenericPalletError<Rv>;
|
|
1489
|
+
|
|
1490
|
+
/**
|
|
1491
|
+
* Invalid asset, do not support remote asset reserves with different fees reserves.
|
|
1492
|
+
**/
|
|
1493
|
+
InvalidAssetUnsupportedReserve: GenericPalletError<Rv>;
|
|
1494
|
+
|
|
1495
|
+
/**
|
|
1496
|
+
* Too many assets with different reserve locations have been attempted for transfer.
|
|
1497
|
+
**/
|
|
1498
|
+
TooManyReserves: GenericPalletError<Rv>;
|
|
1499
|
+
|
|
1500
|
+
/**
|
|
1501
|
+
* Local XCM execution incomplete.
|
|
1502
|
+
**/
|
|
1503
|
+
LocalExecutionIncomplete: GenericPalletError<Rv>;
|
|
1504
|
+
|
|
1505
|
+
/**
|
|
1506
|
+
* Generic pallet error
|
|
1507
|
+
**/
|
|
1508
|
+
[error: string]: GenericPalletError<Rv>;
|
|
1509
|
+
};
|
|
1510
|
+
/**
|
|
1511
|
+
* Pallet `XcmpQueue`'s errors
|
|
1512
|
+
**/
|
|
1513
|
+
xcmpQueue: {
|
|
1514
|
+
/**
|
|
1515
|
+
* Setting the queue config failed since one of its values was invalid.
|
|
1516
|
+
**/
|
|
1517
|
+
BadQueueConfig: GenericPalletError<Rv>;
|
|
1518
|
+
|
|
1519
|
+
/**
|
|
1520
|
+
* The execution is already suspended.
|
|
1521
|
+
**/
|
|
1522
|
+
AlreadySuspended: GenericPalletError<Rv>;
|
|
1523
|
+
|
|
1524
|
+
/**
|
|
1525
|
+
* The execution is already resumed.
|
|
1526
|
+
**/
|
|
1527
|
+
AlreadyResumed: GenericPalletError<Rv>;
|
|
1528
|
+
|
|
1529
|
+
/**
|
|
1530
|
+
* There are too many active outbound channels.
|
|
1531
|
+
**/
|
|
1532
|
+
TooManyActiveOutboundChannels: GenericPalletError<Rv>;
|
|
1533
|
+
|
|
1534
|
+
/**
|
|
1535
|
+
* The message is too big.
|
|
1536
|
+
**/
|
|
1537
|
+
TooBig: GenericPalletError<Rv>;
|
|
1538
|
+
|
|
1539
|
+
/**
|
|
1540
|
+
* Generic pallet error
|
|
1541
|
+
**/
|
|
1542
|
+
[error: string]: GenericPalletError<Rv>;
|
|
1543
|
+
};
|
|
1544
|
+
/**
|
|
1545
|
+
* Pallet `MessageQueue`'s errors
|
|
1546
|
+
**/
|
|
1547
|
+
messageQueue: {
|
|
1548
|
+
/**
|
|
1549
|
+
* Page is not reapable because it has items remaining to be processed and is not old
|
|
1550
|
+
* enough.
|
|
1551
|
+
**/
|
|
1552
|
+
NotReapable: GenericPalletError<Rv>;
|
|
1553
|
+
|
|
1554
|
+
/**
|
|
1555
|
+
* Page to be reaped does not exist.
|
|
1556
|
+
**/
|
|
1557
|
+
NoPage: GenericPalletError<Rv>;
|
|
1558
|
+
|
|
1559
|
+
/**
|
|
1560
|
+
* The referenced message could not be found.
|
|
1561
|
+
**/
|
|
1562
|
+
NoMessage: GenericPalletError<Rv>;
|
|
1563
|
+
|
|
1564
|
+
/**
|
|
1565
|
+
* The message was already processed and cannot be processed again.
|
|
1566
|
+
**/
|
|
1567
|
+
AlreadyProcessed: GenericPalletError<Rv>;
|
|
1568
|
+
|
|
1569
|
+
/**
|
|
1570
|
+
* The message is queued for future execution.
|
|
1571
|
+
**/
|
|
1572
|
+
Queued: GenericPalletError<Rv>;
|
|
1573
|
+
|
|
1574
|
+
/**
|
|
1575
|
+
* There is temporarily not enough weight to continue servicing messages.
|
|
1576
|
+
**/
|
|
1577
|
+
InsufficientWeight: GenericPalletError<Rv>;
|
|
1578
|
+
|
|
1579
|
+
/**
|
|
1580
|
+
* This message is temporarily unprocessable.
|
|
1581
|
+
*
|
|
1582
|
+
* Such errors are expected, but not guaranteed, to resolve themselves eventually through
|
|
1583
|
+
* retrying.
|
|
1584
|
+
**/
|
|
1585
|
+
TemporarilyUnprocessable: GenericPalletError<Rv>;
|
|
1586
|
+
|
|
1587
|
+
/**
|
|
1588
|
+
* The queue is paused and no message can be executed from it.
|
|
1589
|
+
*
|
|
1590
|
+
* This can change at any time and may resolve in the future by re-trying.
|
|
1591
|
+
**/
|
|
1592
|
+
QueuePaused: GenericPalletError<Rv>;
|
|
1593
|
+
|
|
1594
|
+
/**
|
|
1595
|
+
* Another call is in progress and needs to finish before this call can happen.
|
|
1596
|
+
**/
|
|
1597
|
+
RecursiveDisallowed: GenericPalletError<Rv>;
|
|
1598
|
+
|
|
1599
|
+
/**
|
|
1600
|
+
* Generic pallet error
|
|
1601
|
+
**/
|
|
1602
|
+
[error: string]: GenericPalletError<Rv>;
|
|
1603
|
+
};
|
|
1604
|
+
/**
|
|
1605
|
+
* Pallet `AssetRegistry`'s errors
|
|
1606
|
+
**/
|
|
1607
|
+
assetRegistry: {
|
|
1608
|
+
/**
|
|
1609
|
+
* Asset ID is not available. This only happens when it reaches the MAX value of given id type.
|
|
1610
|
+
**/
|
|
1611
|
+
NoIdAvailable: GenericPalletError<Rv>;
|
|
1612
|
+
|
|
1613
|
+
/**
|
|
1614
|
+
* Invalid asset name or symbol.
|
|
1615
|
+
**/
|
|
1616
|
+
AssetNotFound: GenericPalletError<Rv>;
|
|
1617
|
+
|
|
1618
|
+
/**
|
|
1619
|
+
* Invalid asset name or symbol.
|
|
1620
|
+
**/
|
|
1621
|
+
TooLong: GenericPalletError<Rv>;
|
|
1622
|
+
|
|
1623
|
+
/**
|
|
1624
|
+
* Asset ID is not registered in the asset-registry.
|
|
1625
|
+
**/
|
|
1626
|
+
AssetNotRegistered: GenericPalletError<Rv>;
|
|
1627
|
+
|
|
1628
|
+
/**
|
|
1629
|
+
* Asset is already registered.
|
|
1630
|
+
**/
|
|
1631
|
+
AssetAlreadyRegistered: GenericPalletError<Rv>;
|
|
1632
|
+
|
|
1633
|
+
/**
|
|
1634
|
+
* Incorrect number of assets provided to create shared asset.
|
|
1635
|
+
**/
|
|
1636
|
+
InvalidSharedAssetLen: GenericPalletError<Rv>;
|
|
1637
|
+
|
|
1638
|
+
/**
|
|
1639
|
+
* Cannot update asset location
|
|
1640
|
+
**/
|
|
1641
|
+
CannotUpdateLocation: GenericPalletError<Rv>;
|
|
1642
|
+
|
|
1643
|
+
/**
|
|
1644
|
+
* Selected asset id is out of reserved range.
|
|
1645
|
+
**/
|
|
1646
|
+
NotInReservedRange: GenericPalletError<Rv>;
|
|
1647
|
+
|
|
1648
|
+
/**
|
|
1649
|
+
* Location already registered with different asset
|
|
1650
|
+
**/
|
|
1651
|
+
LocationAlreadyRegistered: GenericPalletError<Rv>;
|
|
1652
|
+
|
|
1653
|
+
/**
|
|
1654
|
+
* Generic pallet error
|
|
1655
|
+
**/
|
|
1656
|
+
[error: string]: GenericPalletError<Rv>;
|
|
1657
|
+
};
|
|
1658
|
+
/**
|
|
1659
|
+
* Pallet `XYK`'s errors
|
|
1660
|
+
**/
|
|
1661
|
+
xyk: {
|
|
1662
|
+
/**
|
|
1663
|
+
* It is not allowed to create a pool between same assets.
|
|
1664
|
+
**/
|
|
1665
|
+
CannotCreatePoolWithSameAssets: GenericPalletError<Rv>;
|
|
1666
|
+
|
|
1667
|
+
/**
|
|
1668
|
+
* Liquidity has not reached the required minimum.
|
|
1669
|
+
**/
|
|
1670
|
+
InsufficientLiquidity: GenericPalletError<Rv>;
|
|
1671
|
+
|
|
1672
|
+
/**
|
|
1673
|
+
* Amount is less than min trading limit.
|
|
1674
|
+
**/
|
|
1675
|
+
InsufficientTradingAmount: GenericPalletError<Rv>;
|
|
1676
|
+
|
|
1677
|
+
/**
|
|
1678
|
+
* Liquidity is zero.
|
|
1679
|
+
**/
|
|
1680
|
+
ZeroLiquidity: GenericPalletError<Rv>;
|
|
1681
|
+
|
|
1682
|
+
/**
|
|
1683
|
+
* It is not allowed to create a pool with zero initial price.
|
|
1684
|
+
* Not used, kept for backward compatibility
|
|
1685
|
+
**/
|
|
1686
|
+
ZeroInitialPrice: GenericPalletError<Rv>;
|
|
1687
|
+
|
|
1688
|
+
/**
|
|
1689
|
+
* Overflow
|
|
1690
|
+
* Not used, kept for backward compatibility
|
|
1691
|
+
**/
|
|
1692
|
+
CreatePoolAssetAmountInvalid: GenericPalletError<Rv>;
|
|
1693
|
+
|
|
1694
|
+
/**
|
|
1695
|
+
* Overflow
|
|
1696
|
+
**/
|
|
1697
|
+
InvalidMintedLiquidity: GenericPalletError<Rv>;
|
|
1698
|
+
|
|
1699
|
+
/**
|
|
1700
|
+
* Overflow
|
|
1701
|
+
**/
|
|
1702
|
+
InvalidLiquidityAmount: GenericPalletError<Rv>;
|
|
1703
|
+
|
|
1704
|
+
/**
|
|
1705
|
+
* Asset amount has exceeded given limit.
|
|
1706
|
+
**/
|
|
1707
|
+
AssetAmountExceededLimit: GenericPalletError<Rv>;
|
|
1708
|
+
|
|
1709
|
+
/**
|
|
1710
|
+
* Asset amount has not reached given limit.
|
|
1711
|
+
**/
|
|
1712
|
+
AssetAmountNotReachedLimit: GenericPalletError<Rv>;
|
|
1713
|
+
|
|
1714
|
+
/**
|
|
1715
|
+
* Asset balance is not sufficient.
|
|
1716
|
+
**/
|
|
1717
|
+
InsufficientAssetBalance: GenericPalletError<Rv>;
|
|
1718
|
+
|
|
1719
|
+
/**
|
|
1720
|
+
* Not enough asset liquidity in the pool.
|
|
1721
|
+
**/
|
|
1722
|
+
InsufficientPoolAssetBalance: GenericPalletError<Rv>;
|
|
1723
|
+
|
|
1724
|
+
/**
|
|
1725
|
+
* Not enough core asset liquidity in the pool.
|
|
1726
|
+
**/
|
|
1727
|
+
InsufficientNativeCurrencyBalance: GenericPalletError<Rv>;
|
|
1728
|
+
|
|
1729
|
+
/**
|
|
1730
|
+
* Liquidity pool for given assets does not exist.
|
|
1731
|
+
**/
|
|
1732
|
+
TokenPoolNotFound: GenericPalletError<Rv>;
|
|
1733
|
+
|
|
1734
|
+
/**
|
|
1735
|
+
* Liquidity pool for given assets already exists.
|
|
1736
|
+
**/
|
|
1737
|
+
TokenPoolAlreadyExists: GenericPalletError<Rv>;
|
|
1738
|
+
|
|
1739
|
+
/**
|
|
1740
|
+
* Overflow
|
|
1741
|
+
**/
|
|
1742
|
+
AddAssetAmountInvalid: GenericPalletError<Rv>;
|
|
1743
|
+
|
|
1744
|
+
/**
|
|
1745
|
+
* Overflow
|
|
1746
|
+
**/
|
|
1747
|
+
RemoveAssetAmountInvalid: GenericPalletError<Rv>;
|
|
1748
|
+
|
|
1749
|
+
/**
|
|
1750
|
+
* Overflow
|
|
1751
|
+
**/
|
|
1752
|
+
SellAssetAmountInvalid: GenericPalletError<Rv>;
|
|
1753
|
+
|
|
1754
|
+
/**
|
|
1755
|
+
* Overflow
|
|
1756
|
+
**/
|
|
1757
|
+
BuyAssetAmountInvalid: GenericPalletError<Rv>;
|
|
1758
|
+
|
|
1759
|
+
/**
|
|
1760
|
+
* Overflow
|
|
1761
|
+
**/
|
|
1762
|
+
FeeAmountInvalid: GenericPalletError<Rv>;
|
|
1763
|
+
|
|
1764
|
+
/**
|
|
1765
|
+
* Overflow
|
|
1766
|
+
**/
|
|
1767
|
+
CannotApplyDiscount: GenericPalletError<Rv>;
|
|
1768
|
+
|
|
1769
|
+
/**
|
|
1770
|
+
* Max fraction of pool to buy in single transaction has been exceeded.
|
|
1771
|
+
**/
|
|
1772
|
+
MaxOutRatioExceeded: GenericPalletError<Rv>;
|
|
1773
|
+
|
|
1774
|
+
/**
|
|
1775
|
+
* Max fraction of pool to sell in single transaction has been exceeded.
|
|
1776
|
+
**/
|
|
1777
|
+
MaxInRatioExceeded: GenericPalletError<Rv>;
|
|
1778
|
+
|
|
1779
|
+
/**
|
|
1780
|
+
* Overflow
|
|
1781
|
+
**/
|
|
1782
|
+
Overflow: GenericPalletError<Rv>;
|
|
1783
|
+
|
|
1784
|
+
/**
|
|
1785
|
+
* Pool cannot be created due to outside factors.
|
|
1786
|
+
**/
|
|
1787
|
+
CannotCreatePool: GenericPalletError<Rv>;
|
|
1788
|
+
|
|
1789
|
+
/**
|
|
1790
|
+
* Generic pallet error
|
|
1791
|
+
**/
|
|
1792
|
+
[error: string]: GenericPalletError<Rv>;
|
|
1793
|
+
};
|
|
1794
|
+
/**
|
|
1795
|
+
* Pallet `Duster`'s errors
|
|
1796
|
+
**/
|
|
1797
|
+
duster: {
|
|
1798
|
+
/**
|
|
1799
|
+
* Account is excluded from dusting.
|
|
1800
|
+
**/
|
|
1801
|
+
AccountBlacklisted: GenericPalletError<Rv>;
|
|
1802
|
+
|
|
1803
|
+
/**
|
|
1804
|
+
* Account is not present in the non-dustable list.
|
|
1805
|
+
**/
|
|
1806
|
+
AccountNotBlacklisted: GenericPalletError<Rv>;
|
|
1807
|
+
|
|
1808
|
+
/**
|
|
1809
|
+
* The balance is zero.
|
|
1810
|
+
**/
|
|
1811
|
+
ZeroBalance: GenericPalletError<Rv>;
|
|
1812
|
+
|
|
1813
|
+
/**
|
|
1814
|
+
* The balance is sufficient to keep account open.
|
|
1815
|
+
**/
|
|
1816
|
+
BalanceSufficient: GenericPalletError<Rv>;
|
|
1817
|
+
|
|
1818
|
+
/**
|
|
1819
|
+
* Dust account is not set.
|
|
1820
|
+
**/
|
|
1821
|
+
DustAccountNotSet: GenericPalletError<Rv>;
|
|
1822
|
+
|
|
1823
|
+
/**
|
|
1824
|
+
* Reserve account is not set.
|
|
1825
|
+
**/
|
|
1826
|
+
ReserveAccountNotSet: GenericPalletError<Rv>;
|
|
1827
|
+
|
|
1828
|
+
/**
|
|
1829
|
+
* Generic pallet error
|
|
1830
|
+
**/
|
|
1831
|
+
[error: string]: GenericPalletError<Rv>;
|
|
1832
|
+
};
|
|
1833
|
+
/**
|
|
1834
|
+
* Pallet `LBP`'s errors
|
|
1835
|
+
**/
|
|
1836
|
+
lbp: {
|
|
1837
|
+
/**
|
|
1838
|
+
* Pool assets can not be the same
|
|
1839
|
+
**/
|
|
1840
|
+
CannotCreatePoolWithSameAssets: GenericPalletError<Rv>;
|
|
1841
|
+
|
|
1842
|
+
/**
|
|
1843
|
+
* Account is not a pool owner
|
|
1844
|
+
**/
|
|
1845
|
+
NotOwner: GenericPalletError<Rv>;
|
|
1846
|
+
|
|
1847
|
+
/**
|
|
1848
|
+
* Sale already started
|
|
1849
|
+
**/
|
|
1850
|
+
SaleStarted: GenericPalletError<Rv>;
|
|
1851
|
+
|
|
1852
|
+
/**
|
|
1853
|
+
* Sale is still in progress
|
|
1854
|
+
**/
|
|
1855
|
+
SaleNotEnded: GenericPalletError<Rv>;
|
|
1856
|
+
|
|
1857
|
+
/**
|
|
1858
|
+
* Sale is not running
|
|
1859
|
+
**/
|
|
1860
|
+
SaleIsNotRunning: GenericPalletError<Rv>;
|
|
1861
|
+
|
|
1862
|
+
/**
|
|
1863
|
+
* Sale duration is too long
|
|
1864
|
+
**/
|
|
1865
|
+
MaxSaleDurationExceeded: GenericPalletError<Rv>;
|
|
1866
|
+
|
|
1867
|
+
/**
|
|
1868
|
+
* Liquidity being added should not be zero
|
|
1869
|
+
**/
|
|
1870
|
+
CannotAddZeroLiquidity: GenericPalletError<Rv>;
|
|
1871
|
+
|
|
1872
|
+
/**
|
|
1873
|
+
* Asset balance too low
|
|
1874
|
+
**/
|
|
1875
|
+
InsufficientAssetBalance: GenericPalletError<Rv>;
|
|
1876
|
+
|
|
1877
|
+
/**
|
|
1878
|
+
* Pool does not exist
|
|
1879
|
+
**/
|
|
1880
|
+
PoolNotFound: GenericPalletError<Rv>;
|
|
1881
|
+
|
|
1882
|
+
/**
|
|
1883
|
+
* Pool has been already created
|
|
1884
|
+
**/
|
|
1885
|
+
PoolAlreadyExists: GenericPalletError<Rv>;
|
|
1886
|
+
|
|
1887
|
+
/**
|
|
1888
|
+
* Invalid block range
|
|
1889
|
+
**/
|
|
1890
|
+
InvalidBlockRange: GenericPalletError<Rv>;
|
|
1891
|
+
|
|
1892
|
+
/**
|
|
1893
|
+
* Calculation error
|
|
1894
|
+
**/
|
|
1895
|
+
WeightCalculationError: GenericPalletError<Rv>;
|
|
1896
|
+
|
|
1897
|
+
/**
|
|
1898
|
+
* Weight set is out of range
|
|
1899
|
+
**/
|
|
1900
|
+
InvalidWeight: GenericPalletError<Rv>;
|
|
1901
|
+
|
|
1902
|
+
/**
|
|
1903
|
+
* Can not perform a trade with zero amount
|
|
1904
|
+
**/
|
|
1905
|
+
ZeroAmount: GenericPalletError<Rv>;
|
|
1906
|
+
|
|
1907
|
+
/**
|
|
1908
|
+
* Trade amount is too high
|
|
1909
|
+
**/
|
|
1910
|
+
MaxInRatioExceeded: GenericPalletError<Rv>;
|
|
1911
|
+
|
|
1912
|
+
/**
|
|
1913
|
+
* Trade amount is too high
|
|
1914
|
+
**/
|
|
1915
|
+
MaxOutRatioExceeded: GenericPalletError<Rv>;
|
|
1916
|
+
|
|
1917
|
+
/**
|
|
1918
|
+
* Invalid fee amount
|
|
1919
|
+
**/
|
|
1920
|
+
FeeAmountInvalid: GenericPalletError<Rv>;
|
|
1921
|
+
|
|
1922
|
+
/**
|
|
1923
|
+
* Trading limit reached
|
|
1924
|
+
**/
|
|
1925
|
+
TradingLimitReached: GenericPalletError<Rv>;
|
|
1926
|
+
|
|
1927
|
+
/**
|
|
1928
|
+
* An unexpected integer overflow occurred
|
|
1929
|
+
**/
|
|
1930
|
+
Overflow: GenericPalletError<Rv>;
|
|
1931
|
+
|
|
1932
|
+
/**
|
|
1933
|
+
* Nothing to update
|
|
1934
|
+
**/
|
|
1935
|
+
NothingToUpdate: GenericPalletError<Rv>;
|
|
1936
|
+
|
|
1937
|
+
/**
|
|
1938
|
+
* Liquidity has not reached the required minimum.
|
|
1939
|
+
**/
|
|
1940
|
+
InsufficientLiquidity: GenericPalletError<Rv>;
|
|
1941
|
+
|
|
1942
|
+
/**
|
|
1943
|
+
* Amount is less than minimum trading limit.
|
|
1944
|
+
**/
|
|
1945
|
+
InsufficientTradingAmount: GenericPalletError<Rv>;
|
|
1946
|
+
|
|
1947
|
+
/**
|
|
1948
|
+
* Not more than one fee collector per asset id
|
|
1949
|
+
**/
|
|
1950
|
+
FeeCollectorWithAssetAlreadyUsed: GenericPalletError<Rv>;
|
|
1951
|
+
|
|
1952
|
+
/**
|
|
1953
|
+
* Generic pallet error
|
|
1954
|
+
**/
|
|
1955
|
+
[error: string]: GenericPalletError<Rv>;
|
|
1956
|
+
};
|
|
1957
|
+
/**
|
|
1958
|
+
* Pallet `NFT`'s errors
|
|
1959
|
+
**/
|
|
1960
|
+
nft: {
|
|
1961
|
+
/**
|
|
1962
|
+
* Count of items overflown
|
|
1963
|
+
**/
|
|
1964
|
+
NoAvailableItemId: GenericPalletError<Rv>;
|
|
1965
|
+
|
|
1966
|
+
/**
|
|
1967
|
+
* Count of collections overflown
|
|
1968
|
+
**/
|
|
1969
|
+
NoAvailableCollectionId: GenericPalletError<Rv>;
|
|
1970
|
+
|
|
1971
|
+
/**
|
|
1972
|
+
* Collection still contains minted tokens
|
|
1973
|
+
**/
|
|
1974
|
+
TokenCollectionNotEmpty: GenericPalletError<Rv>;
|
|
1975
|
+
|
|
1976
|
+
/**
|
|
1977
|
+
* Collection does not exist
|
|
1978
|
+
**/
|
|
1979
|
+
CollectionUnknown: GenericPalletError<Rv>;
|
|
1980
|
+
|
|
1981
|
+
/**
|
|
1982
|
+
* Item does not exist
|
|
1983
|
+
**/
|
|
1984
|
+
ItemUnknown: GenericPalletError<Rv>;
|
|
1985
|
+
|
|
1986
|
+
/**
|
|
1987
|
+
* Operation not permitted
|
|
1988
|
+
**/
|
|
1989
|
+
NotPermitted: GenericPalletError<Rv>;
|
|
1990
|
+
|
|
1991
|
+
/**
|
|
1992
|
+
* ID reserved for runtime
|
|
1993
|
+
**/
|
|
1994
|
+
IdReserved: GenericPalletError<Rv>;
|
|
1995
|
+
|
|
1996
|
+
/**
|
|
1997
|
+
* Generic pallet error
|
|
1998
|
+
**/
|
|
1999
|
+
[error: string]: GenericPalletError<Rv>;
|
|
2000
|
+
};
|
|
2001
|
+
/**
|
|
2002
|
+
* Pallet `Marketplace`'s errors
|
|
2003
|
+
**/
|
|
2004
|
+
marketplace: {
|
|
2005
|
+
/**
|
|
2006
|
+
* Account is not the owner of the token
|
|
2007
|
+
**/
|
|
2008
|
+
NotTheTokenOwner: GenericPalletError<Rv>;
|
|
2009
|
+
|
|
2010
|
+
/**
|
|
2011
|
+
* Cannot buy a token from yourself
|
|
2012
|
+
**/
|
|
2013
|
+
BuyFromSelf: GenericPalletError<Rv>;
|
|
2014
|
+
|
|
2015
|
+
/**
|
|
2016
|
+
* Token is currently not for sale
|
|
2017
|
+
**/
|
|
2018
|
+
NotForSale: GenericPalletError<Rv>;
|
|
2019
|
+
|
|
2020
|
+
/**
|
|
2021
|
+
* Collection or item does not exist
|
|
2022
|
+
**/
|
|
2023
|
+
CollectionOrItemUnknown: GenericPalletError<Rv>;
|
|
2024
|
+
|
|
2025
|
+
/**
|
|
2026
|
+
* Offer is lower than the minimum threshold
|
|
2027
|
+
**/
|
|
2028
|
+
OfferTooLow: GenericPalletError<Rv>;
|
|
2029
|
+
|
|
2030
|
+
/**
|
|
2031
|
+
* No offer for this token found from the user
|
|
2032
|
+
**/
|
|
2033
|
+
UnknownOffer: GenericPalletError<Rv>;
|
|
2034
|
+
|
|
2035
|
+
/**
|
|
2036
|
+
* Offer is no longer valid
|
|
2037
|
+
**/
|
|
2038
|
+
OfferExpired: GenericPalletError<Rv>;
|
|
2039
|
+
|
|
2040
|
+
/**
|
|
2041
|
+
* User already made an offer for this token
|
|
2042
|
+
**/
|
|
2043
|
+
AlreadyOffered: GenericPalletError<Rv>;
|
|
2044
|
+
|
|
2045
|
+
/**
|
|
2046
|
+
* User has to be offer maker or token owner to withdraw an offer
|
|
2047
|
+
**/
|
|
2048
|
+
WithdrawNotAuthorized: GenericPalletError<Rv>;
|
|
2049
|
+
|
|
2050
|
+
/**
|
|
2051
|
+
* User has to be the token owner to accept an offer
|
|
2052
|
+
**/
|
|
2053
|
+
AcceptNotAuthorized: GenericPalletError<Rv>;
|
|
2054
|
+
|
|
2055
|
+
/**
|
|
2056
|
+
* Royalty can be set only once
|
|
2057
|
+
**/
|
|
2058
|
+
RoyaltyAlreadySet: GenericPalletError<Rv>;
|
|
2059
|
+
|
|
2060
|
+
/**
|
|
2061
|
+
* Royalty not in 0-9_999 range
|
|
2062
|
+
**/
|
|
2063
|
+
NotInRange: GenericPalletError<Rv>;
|
|
2064
|
+
|
|
2065
|
+
/**
|
|
2066
|
+
* Generic pallet error
|
|
2067
|
+
**/
|
|
2068
|
+
[error: string]: GenericPalletError<Rv>;
|
|
2069
|
+
};
|
|
2070
|
+
/**
|
|
2071
|
+
* Pallet `TransactionPause`'s errors
|
|
2072
|
+
**/
|
|
2073
|
+
transactionPause: {
|
|
2074
|
+
/**
|
|
2075
|
+
* can not pause
|
|
2076
|
+
**/
|
|
2077
|
+
CannotPause: GenericPalletError<Rv>;
|
|
2078
|
+
|
|
2079
|
+
/**
|
|
2080
|
+
* invalid character encoding
|
|
2081
|
+
**/
|
|
2082
|
+
InvalidCharacter: GenericPalletError<Rv>;
|
|
2083
|
+
|
|
2084
|
+
/**
|
|
2085
|
+
* pallet name or function name is too long
|
|
2086
|
+
**/
|
|
2087
|
+
NameTooLong: GenericPalletError<Rv>;
|
|
2088
|
+
|
|
2089
|
+
/**
|
|
2090
|
+
* Generic pallet error
|
|
2091
|
+
**/
|
|
2092
|
+
[error: string]: GenericPalletError<Rv>;
|
|
2093
|
+
};
|
|
2094
|
+
/**
|
|
2095
|
+
* Pallet `Router`'s errors
|
|
2096
|
+
**/
|
|
2097
|
+
router: {
|
|
2098
|
+
/**
|
|
2099
|
+
* The trading limit has been reached
|
|
2100
|
+
**/
|
|
2101
|
+
TradingLimitReached: GenericPalletError<Rv>;
|
|
2102
|
+
|
|
2103
|
+
/**
|
|
2104
|
+
* The the max number of trades limit is reached
|
|
2105
|
+
**/
|
|
2106
|
+
MaxTradesExceeded: GenericPalletError<Rv>;
|
|
2107
|
+
|
|
2108
|
+
/**
|
|
2109
|
+
* The AMM pool is not supported for executing trades
|
|
2110
|
+
**/
|
|
2111
|
+
PoolNotSupported: GenericPalletError<Rv>;
|
|
2112
|
+
|
|
2113
|
+
/**
|
|
2114
|
+
* The user has not enough balance to execute the trade
|
|
2115
|
+
**/
|
|
2116
|
+
InsufficientBalance: GenericPalletError<Rv>;
|
|
2117
|
+
|
|
2118
|
+
/**
|
|
2119
|
+
* The calculation of route trade amounts failed in the underlying AMM
|
|
2120
|
+
**/
|
|
2121
|
+
RouteCalculationFailed: GenericPalletError<Rv>;
|
|
2122
|
+
|
|
2123
|
+
/**
|
|
2124
|
+
* The route is invalid
|
|
2125
|
+
**/
|
|
2126
|
+
InvalidRoute: GenericPalletError<Rv>;
|
|
2127
|
+
|
|
2128
|
+
/**
|
|
2129
|
+
* The route update was not successful
|
|
2130
|
+
**/
|
|
2131
|
+
RouteUpdateIsNotSuccessful: GenericPalletError<Rv>;
|
|
2132
|
+
|
|
2133
|
+
/**
|
|
2134
|
+
* Route contains assets that has no oracle data
|
|
2135
|
+
**/
|
|
2136
|
+
RouteHasNoOracle: GenericPalletError<Rv>;
|
|
2137
|
+
|
|
2138
|
+
/**
|
|
2139
|
+
* The route execution failed in the underlying AMM
|
|
2140
|
+
**/
|
|
2141
|
+
InvalidRouteExecution: GenericPalletError<Rv>;
|
|
2142
|
+
|
|
2143
|
+
/**
|
|
2144
|
+
* Trading same assets is not allowed.
|
|
2145
|
+
**/
|
|
2146
|
+
NotAllowed: GenericPalletError<Rv>;
|
|
2147
|
+
|
|
2148
|
+
/**
|
|
2149
|
+
* Generic pallet error
|
|
2150
|
+
**/
|
|
2151
|
+
[error: string]: GenericPalletError<Rv>;
|
|
2152
|
+
};
|
|
2153
|
+
/**
|
|
2154
|
+
* Pallet `XYKLiquidityMining`'s errors
|
|
2155
|
+
**/
|
|
2156
|
+
xykLiquidityMining: {
|
|
2157
|
+
/**
|
|
2158
|
+
* Nft pallet didn't return an owner.
|
|
2159
|
+
**/
|
|
2160
|
+
CantFindDepositOwner: GenericPalletError<Rv>;
|
|
2161
|
+
|
|
2162
|
+
/**
|
|
2163
|
+
* Account balance of XYK pool shares is not sufficient.
|
|
2164
|
+
**/
|
|
2165
|
+
InsufficientXykSharesBalance: GenericPalletError<Rv>;
|
|
2166
|
+
|
|
2167
|
+
/**
|
|
2168
|
+
* XYK pool does not exist
|
|
2169
|
+
**/
|
|
2170
|
+
XykPoolDoesntExist: GenericPalletError<Rv>;
|
|
2171
|
+
|
|
2172
|
+
/**
|
|
2173
|
+
* Account is not deposit owner.
|
|
2174
|
+
**/
|
|
2175
|
+
NotDepositOwner: GenericPalletError<Rv>;
|
|
2176
|
+
|
|
2177
|
+
/**
|
|
2178
|
+
* XYK did not return assets for given pool id
|
|
2179
|
+
**/
|
|
2180
|
+
CantGetXykAssets: GenericPalletError<Rv>;
|
|
2181
|
+
|
|
2182
|
+
/**
|
|
2183
|
+
* Deposit data not found
|
|
2184
|
+
**/
|
|
2185
|
+
DepositDataNotFound: GenericPalletError<Rv>;
|
|
2186
|
+
|
|
2187
|
+
/**
|
|
2188
|
+
* Calculated reward to claim is 0.
|
|
2189
|
+
**/
|
|
2190
|
+
ZeroClaimedRewards: GenericPalletError<Rv>;
|
|
2191
|
+
|
|
2192
|
+
/**
|
|
2193
|
+
* Asset is not in the `AssetPair`.
|
|
2194
|
+
**/
|
|
2195
|
+
AssetNotInAssetPair: GenericPalletError<Rv>;
|
|
2196
|
+
|
|
2197
|
+
/**
|
|
2198
|
+
* Provided `AssetPair` is not used by the deposit.
|
|
2199
|
+
**/
|
|
2200
|
+
InvalidAssetPair: GenericPalletError<Rv>;
|
|
2201
|
+
|
|
2202
|
+
/**
|
|
2203
|
+
* Generic pallet error
|
|
2204
|
+
**/
|
|
2205
|
+
[error: string]: GenericPalletError<Rv>;
|
|
2206
|
+
};
|
|
2207
|
+
/**
|
|
2208
|
+
* Pallet `XYKWarehouseLM`'s errors
|
|
2209
|
+
**/
|
|
2210
|
+
xykWarehouseLM: {
|
|
2211
|
+
/**
|
|
2212
|
+
* Global farm does not exist.
|
|
2213
|
+
**/
|
|
2214
|
+
GlobalFarmNotFound: GenericPalletError<Rv>;
|
|
2215
|
+
|
|
2216
|
+
/**
|
|
2217
|
+
* Yield farm does not exist.
|
|
2218
|
+
**/
|
|
2219
|
+
YieldFarmNotFound: GenericPalletError<Rv>;
|
|
2220
|
+
|
|
2221
|
+
/**
|
|
2222
|
+
* Multiple claims in the same period is not allowed.
|
|
2223
|
+
**/
|
|
2224
|
+
DoubleClaimInPeriod: GenericPalletError<Rv>;
|
|
2225
|
+
|
|
2226
|
+
/**
|
|
2227
|
+
* Liquidity mining is canceled.
|
|
2228
|
+
**/
|
|
2229
|
+
LiquidityMiningCanceled: GenericPalletError<Rv>;
|
|
2230
|
+
|
|
2231
|
+
/**
|
|
2232
|
+
* Liquidity mining is not canceled.
|
|
2233
|
+
**/
|
|
2234
|
+
LiquidityMiningIsActive: GenericPalletError<Rv>;
|
|
2235
|
+
|
|
2236
|
+
/**
|
|
2237
|
+
* Liquidity mining is in `active` or `terminated` state and action cannot be completed.
|
|
2238
|
+
**/
|
|
2239
|
+
LiquidityMiningIsNotStopped: GenericPalletError<Rv>;
|
|
2240
|
+
|
|
2241
|
+
/**
|
|
2242
|
+
* LP shares amount is not valid.
|
|
2243
|
+
**/
|
|
2244
|
+
InvalidDepositAmount: GenericPalletError<Rv>;
|
|
2245
|
+
|
|
2246
|
+
/**
|
|
2247
|
+
* Account is not allowed to perform action.
|
|
2248
|
+
**/
|
|
2249
|
+
Forbidden: GenericPalletError<Rv>;
|
|
2250
|
+
|
|
2251
|
+
/**
|
|
2252
|
+
* Yield farm multiplier can't be 0.
|
|
2253
|
+
**/
|
|
2254
|
+
InvalidMultiplier: GenericPalletError<Rv>;
|
|
2255
|
+
|
|
2256
|
+
/**
|
|
2257
|
+
* Yield farm with given `amm_pool_id` already exists in global farm.
|
|
2258
|
+
**/
|
|
2259
|
+
YieldFarmAlreadyExists: GenericPalletError<Rv>;
|
|
2260
|
+
|
|
2261
|
+
/**
|
|
2262
|
+
* Loyalty curve's initial reward percentage is not valid. Valid range is: [0, 1).
|
|
2263
|
+
**/
|
|
2264
|
+
InvalidInitialRewardPercentage: GenericPalletError<Rv>;
|
|
2265
|
+
|
|
2266
|
+
/**
|
|
2267
|
+
* One or more yield farms exist in global farm.
|
|
2268
|
+
**/
|
|
2269
|
+
GlobalFarmIsNotEmpty: GenericPalletError<Rv>;
|
|
2270
|
+
|
|
2271
|
+
/**
|
|
2272
|
+
* Farm's `incentivized_asset` is missing in provided asset pair.
|
|
2273
|
+
**/
|
|
2274
|
+
MissingIncentivizedAsset: GenericPalletError<Rv>;
|
|
2275
|
+
|
|
2276
|
+
/**
|
|
2277
|
+
* Reward currency balance is not sufficient.
|
|
2278
|
+
**/
|
|
2279
|
+
InsufficientRewardCurrencyBalance: GenericPalletError<Rv>;
|
|
2280
|
+
|
|
2281
|
+
/**
|
|
2282
|
+
* Blocks per period can't be 0.
|
|
2283
|
+
**/
|
|
2284
|
+
InvalidBlocksPerPeriod: GenericPalletError<Rv>;
|
|
2285
|
+
|
|
2286
|
+
/**
|
|
2287
|
+
* Yield per period can't be 0.
|
|
2288
|
+
**/
|
|
2289
|
+
InvalidYieldPerPeriod: GenericPalletError<Rv>;
|
|
2290
|
+
|
|
2291
|
+
/**
|
|
2292
|
+
* Total rewards is less than `MinTotalFarmRewards`.
|
|
2293
|
+
**/
|
|
2294
|
+
InvalidTotalRewards: GenericPalletError<Rv>;
|
|
2295
|
+
|
|
2296
|
+
/**
|
|
2297
|
+
* Planned yielding periods is less than `MinPlannedYieldingPeriods`.
|
|
2298
|
+
**/
|
|
2299
|
+
InvalidPlannedYieldingPeriods: GenericPalletError<Rv>;
|
|
2300
|
+
|
|
2301
|
+
/**
|
|
2302
|
+
* Maximum number of locks reached for deposit.
|
|
2303
|
+
**/
|
|
2304
|
+
MaxEntriesPerDeposit: GenericPalletError<Rv>;
|
|
2305
|
+
|
|
2306
|
+
/**
|
|
2307
|
+
* Trying to lock LP shares into already locked yield farm.
|
|
2308
|
+
**/
|
|
2309
|
+
DoubleLock: GenericPalletError<Rv>;
|
|
2310
|
+
|
|
2311
|
+
/**
|
|
2312
|
+
* Yield farm entry doesn't exist for given deposit.
|
|
2313
|
+
**/
|
|
2314
|
+
YieldFarmEntryNotFound: GenericPalletError<Rv>;
|
|
2315
|
+
|
|
2316
|
+
/**
|
|
2317
|
+
* Max number of yield farms in global farm was reached. Global farm can't accept new
|
|
2318
|
+
* yield farms until some yield farm is not removed from storage.
|
|
2319
|
+
**/
|
|
2320
|
+
GlobalFarmIsFull: GenericPalletError<Rv>;
|
|
2321
|
+
|
|
2322
|
+
/**
|
|
2323
|
+
* Invalid min. deposit was set for global farm.
|
|
2324
|
+
**/
|
|
2325
|
+
InvalidMinDeposit: GenericPalletError<Rv>;
|
|
2326
|
+
|
|
2327
|
+
/**
|
|
2328
|
+
* Price adjustment multiplier can't be 0.
|
|
2329
|
+
**/
|
|
2330
|
+
InvalidPriceAdjustment: GenericPalletError<Rv>;
|
|
2331
|
+
|
|
2332
|
+
/**
|
|
2333
|
+
* Account creation from id failed.
|
|
2334
|
+
**/
|
|
2335
|
+
ErrorGetAccountId: GenericPalletError<Rv>;
|
|
2336
|
+
|
|
2337
|
+
/**
|
|
2338
|
+
* Value of deposited shares amount in reward currency is bellow min. limit.
|
|
2339
|
+
**/
|
|
2340
|
+
IncorrectValuedShares: GenericPalletError<Rv>;
|
|
2341
|
+
|
|
2342
|
+
/**
|
|
2343
|
+
* `reward_currency` is not registered in asset registry.
|
|
2344
|
+
**/
|
|
2345
|
+
RewardCurrencyNotRegistered: GenericPalletError<Rv>;
|
|
2346
|
+
|
|
2347
|
+
/**
|
|
2348
|
+
* `incentivized_asset` is not registered in asset registry.
|
|
2349
|
+
**/
|
|
2350
|
+
IncentivizedAssetNotRegistered: GenericPalletError<Rv>;
|
|
2351
|
+
|
|
2352
|
+
/**
|
|
2353
|
+
* Action cannot be completed because unexpected error has occurred. This should be reported
|
|
2354
|
+
* to protocol maintainers.
|
|
2355
|
+
**/
|
|
2356
|
+
InconsistentState: GenericPalletError<Rv>;
|
|
2357
|
+
|
|
2358
|
+
/**
|
|
2359
|
+
* Generic pallet error
|
|
2360
|
+
**/
|
|
2361
|
+
[error: string]: GenericPalletError<Rv>;
|
|
2362
|
+
};
|
|
2363
|
+
/**
|
|
2364
|
+
* Pallet `CollatorRewards`'s errors
|
|
2365
|
+
**/
|
|
2366
|
+
collatorRewards: {
|
|
2367
|
+
/**
|
|
2368
|
+
* Generic pallet error
|
|
2369
|
+
**/
|
|
2370
|
+
[error: string]: GenericPalletError<Rv>;
|
|
2371
|
+
};
|
|
2372
|
+
/**
|
|
2373
|
+
* Pallet `Broadcast`'s errors
|
|
2374
|
+
**/
|
|
2375
|
+
broadcast: {
|
|
2376
|
+
/**
|
|
2377
|
+
* Generic pallet error
|
|
2378
|
+
**/
|
|
2379
|
+
[error: string]: GenericPalletError<Rv>;
|
|
2380
|
+
};
|
|
2381
|
+
/**
|
|
2382
|
+
* Pallet `EmaOracle`'s errors
|
|
2383
|
+
**/
|
|
2384
|
+
emaOracle: {
|
|
2385
|
+
TooManyUniqueEntries: GenericPalletError<Rv>;
|
|
2386
|
+
OnTradeValueZero: GenericPalletError<Rv>;
|
|
2387
|
+
OracleNotFound: GenericPalletError<Rv>;
|
|
2388
|
+
|
|
2389
|
+
/**
|
|
2390
|
+
* Generic pallet error
|
|
2391
|
+
**/
|
|
2392
|
+
[error: string]: GenericPalletError<Rv>;
|
|
2393
|
+
};
|
|
2394
|
+
/**
|
|
2395
|
+
* Pallet `Currencies`'s errors
|
|
2396
|
+
**/
|
|
2397
|
+
currencies: {
|
|
2398
|
+
/**
|
|
2399
|
+
* Unable to convert the Amount type into Balance.
|
|
2400
|
+
**/
|
|
2401
|
+
AmountIntoBalanceFailed: GenericPalletError<Rv>;
|
|
2402
|
+
|
|
2403
|
+
/**
|
|
2404
|
+
* Balance is too low.
|
|
2405
|
+
**/
|
|
2406
|
+
BalanceTooLow: GenericPalletError<Rv>;
|
|
2407
|
+
|
|
2408
|
+
/**
|
|
2409
|
+
* Deposit result is not expected
|
|
2410
|
+
**/
|
|
2411
|
+
DepositFailed: GenericPalletError<Rv>;
|
|
2412
|
+
|
|
2413
|
+
/**
|
|
2414
|
+
* Operation is not supported for this currency
|
|
2415
|
+
**/
|
|
2416
|
+
NotSupported: GenericPalletError<Rv>;
|
|
2417
|
+
|
|
2418
|
+
/**
|
|
2419
|
+
* Generic pallet error
|
|
2420
|
+
**/
|
|
2421
|
+
[error: string]: GenericPalletError<Rv>;
|
|
2422
|
+
};
|
|
2423
|
+
/**
|
|
2424
|
+
* Pallet `Tokens`'s errors
|
|
2425
|
+
**/
|
|
2426
|
+
tokens: {
|
|
2427
|
+
/**
|
|
2428
|
+
* The balance is too low
|
|
2429
|
+
**/
|
|
2430
|
+
BalanceTooLow: GenericPalletError<Rv>;
|
|
2431
|
+
|
|
2432
|
+
/**
|
|
2433
|
+
* Cannot convert Amount into Balance type
|
|
2434
|
+
**/
|
|
2435
|
+
AmountIntoBalanceFailed: GenericPalletError<Rv>;
|
|
2436
|
+
|
|
2437
|
+
/**
|
|
2438
|
+
* Failed because liquidity restrictions due to locking
|
|
2439
|
+
**/
|
|
2440
|
+
LiquidityRestrictions: GenericPalletError<Rv>;
|
|
2441
|
+
|
|
2442
|
+
/**
|
|
2443
|
+
* Failed because the maximum locks was exceeded
|
|
2444
|
+
**/
|
|
2445
|
+
MaxLocksExceeded: GenericPalletError<Rv>;
|
|
2446
|
+
|
|
2447
|
+
/**
|
|
2448
|
+
* Transfer/payment would kill account
|
|
2449
|
+
**/
|
|
2450
|
+
KeepAlive: GenericPalletError<Rv>;
|
|
2451
|
+
|
|
2452
|
+
/**
|
|
2453
|
+
* Value too low to create account due to existential deposit
|
|
2454
|
+
**/
|
|
2455
|
+
ExistentialDeposit: GenericPalletError<Rv>;
|
|
2456
|
+
|
|
2457
|
+
/**
|
|
2458
|
+
* Beneficiary account must pre-exist
|
|
2459
|
+
**/
|
|
2460
|
+
DeadAccount: GenericPalletError<Rv>;
|
|
2461
|
+
TooManyReserves: GenericPalletError<Rv>;
|
|
2462
|
+
|
|
2463
|
+
/**
|
|
2464
|
+
* Generic pallet error
|
|
2465
|
+
**/
|
|
2466
|
+
[error: string]: GenericPalletError<Rv>;
|
|
2467
|
+
};
|
|
2468
|
+
/**
|
|
2469
|
+
* Pallet `OrmlXcm`'s errors
|
|
2470
|
+
**/
|
|
2471
|
+
ormlXcm: {
|
|
2472
|
+
/**
|
|
2473
|
+
* The message and destination combination was not recognized as being
|
|
2474
|
+
* reachable.
|
|
2475
|
+
**/
|
|
2476
|
+
Unreachable: GenericPalletError<Rv>;
|
|
2477
|
+
|
|
2478
|
+
/**
|
|
2479
|
+
* The message and destination was recognized as being reachable but
|
|
2480
|
+
* the operation could not be completed.
|
|
2481
|
+
**/
|
|
2482
|
+
SendFailure: GenericPalletError<Rv>;
|
|
2483
|
+
|
|
2484
|
+
/**
|
|
2485
|
+
* The version of the `Versioned` value used is not able to be
|
|
2486
|
+
* interpreted.
|
|
2487
|
+
**/
|
|
2488
|
+
BadVersion: GenericPalletError<Rv>;
|
|
2489
|
+
|
|
2490
|
+
/**
|
|
2491
|
+
* Generic pallet error
|
|
2492
|
+
**/
|
|
2493
|
+
[error: string]: GenericPalletError<Rv>;
|
|
2494
|
+
};
|
|
2495
|
+
/**
|
|
2496
|
+
* Pallet `XTokens`'s errors
|
|
2497
|
+
**/
|
|
2498
|
+
xTokens: {
|
|
2499
|
+
/**
|
|
2500
|
+
* Asset has no reserve location.
|
|
2501
|
+
**/
|
|
2502
|
+
AssetHasNoReserve: GenericPalletError<Rv>;
|
|
2503
|
+
|
|
2504
|
+
/**
|
|
2505
|
+
* Not cross-chain transfer.
|
|
2506
|
+
**/
|
|
2507
|
+
NotCrossChainTransfer: GenericPalletError<Rv>;
|
|
2508
|
+
|
|
2509
|
+
/**
|
|
2510
|
+
* Invalid transfer destination.
|
|
2511
|
+
**/
|
|
2512
|
+
InvalidDest: GenericPalletError<Rv>;
|
|
2513
|
+
|
|
2514
|
+
/**
|
|
2515
|
+
* Currency is not cross-chain transferable.
|
|
2516
|
+
**/
|
|
2517
|
+
NotCrossChainTransferableCurrency: GenericPalletError<Rv>;
|
|
2518
|
+
|
|
2519
|
+
/**
|
|
2520
|
+
* The message's weight could not be determined.
|
|
2521
|
+
**/
|
|
2522
|
+
UnweighableMessage: GenericPalletError<Rv>;
|
|
2523
|
+
|
|
2524
|
+
/**
|
|
2525
|
+
* XCM execution failed.
|
|
2526
|
+
**/
|
|
2527
|
+
XcmExecutionFailed: GenericPalletError<Rv>;
|
|
2528
|
+
|
|
2529
|
+
/**
|
|
2530
|
+
* Could not re-anchor the assets to declare the fees for the
|
|
2531
|
+
* destination chain.
|
|
2532
|
+
**/
|
|
2533
|
+
CannotReanchor: GenericPalletError<Rv>;
|
|
2534
|
+
|
|
2535
|
+
/**
|
|
2536
|
+
* Could not get ancestry of asset reserve location.
|
|
2537
|
+
**/
|
|
2538
|
+
InvalidAncestry: GenericPalletError<Rv>;
|
|
2539
|
+
|
|
2540
|
+
/**
|
|
2541
|
+
* The Asset is invalid.
|
|
2542
|
+
**/
|
|
2543
|
+
InvalidAsset: GenericPalletError<Rv>;
|
|
2544
|
+
|
|
2545
|
+
/**
|
|
2546
|
+
* The destination `Location` provided cannot be inverted.
|
|
2547
|
+
**/
|
|
2548
|
+
DestinationNotInvertible: GenericPalletError<Rv>;
|
|
2549
|
+
|
|
2550
|
+
/**
|
|
2551
|
+
* The version of the `Versioned` value used is not able to be
|
|
2552
|
+
* interpreted.
|
|
2553
|
+
**/
|
|
2554
|
+
BadVersion: GenericPalletError<Rv>;
|
|
2555
|
+
|
|
2556
|
+
/**
|
|
2557
|
+
* We tried sending distinct asset and fee but they have different
|
|
2558
|
+
* reserve chains.
|
|
2559
|
+
**/
|
|
2560
|
+
DistinctReserveForAssetAndFee: GenericPalletError<Rv>;
|
|
2561
|
+
|
|
2562
|
+
/**
|
|
2563
|
+
* The fee is zero.
|
|
2564
|
+
**/
|
|
2565
|
+
ZeroFee: GenericPalletError<Rv>;
|
|
2566
|
+
|
|
2567
|
+
/**
|
|
2568
|
+
* The transfering asset amount is zero.
|
|
2569
|
+
**/
|
|
2570
|
+
ZeroAmount: GenericPalletError<Rv>;
|
|
2571
|
+
|
|
2572
|
+
/**
|
|
2573
|
+
* The number of assets to be sent is over the maximum.
|
|
2574
|
+
**/
|
|
2575
|
+
TooManyAssetsBeingSent: GenericPalletError<Rv>;
|
|
2576
|
+
|
|
2577
|
+
/**
|
|
2578
|
+
* The specified index does not exist in a Assets struct.
|
|
2579
|
+
**/
|
|
2580
|
+
AssetIndexNonExistent: GenericPalletError<Rv>;
|
|
2581
|
+
|
|
2582
|
+
/**
|
|
2583
|
+
* Fee is not enough.
|
|
2584
|
+
**/
|
|
2585
|
+
FeeNotEnough: GenericPalletError<Rv>;
|
|
2586
|
+
|
|
2587
|
+
/**
|
|
2588
|
+
* Not supported Location
|
|
2589
|
+
**/
|
|
2590
|
+
NotSupportedLocation: GenericPalletError<Rv>;
|
|
2591
|
+
|
|
2592
|
+
/**
|
|
2593
|
+
* MinXcmFee not registered for certain reserve location
|
|
2594
|
+
**/
|
|
2595
|
+
MinXcmFeeNotDefined: GenericPalletError<Rv>;
|
|
2596
|
+
|
|
2597
|
+
/**
|
|
2598
|
+
* Asset transfer is limited by RateLimiter.
|
|
2599
|
+
**/
|
|
2600
|
+
RateLimited: GenericPalletError<Rv>;
|
|
2601
|
+
|
|
2602
|
+
/**
|
|
2603
|
+
* Generic pallet error
|
|
2604
|
+
**/
|
|
2605
|
+
[error: string]: GenericPalletError<Rv>;
|
|
2606
|
+
};
|
|
2607
|
+
/**
|
|
2608
|
+
* Pallet `UnknownTokens`'s errors
|
|
2609
|
+
**/
|
|
2610
|
+
unknownTokens: {
|
|
2611
|
+
/**
|
|
2612
|
+
* The balance is too low.
|
|
2613
|
+
**/
|
|
2614
|
+
BalanceTooLow: GenericPalletError<Rv>;
|
|
2615
|
+
|
|
2616
|
+
/**
|
|
2617
|
+
* The operation will cause balance to overflow.
|
|
2618
|
+
**/
|
|
2619
|
+
BalanceOverflow: GenericPalletError<Rv>;
|
|
2620
|
+
|
|
2621
|
+
/**
|
|
2622
|
+
* Unhandled asset.
|
|
2623
|
+
**/
|
|
2624
|
+
UnhandledAsset: GenericPalletError<Rv>;
|
|
2625
|
+
|
|
2626
|
+
/**
|
|
2627
|
+
* Generic pallet error
|
|
2628
|
+
**/
|
|
2629
|
+
[error: string]: GenericPalletError<Rv>;
|
|
2630
|
+
};
|
|
2631
|
+
}
|