@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.
@@ -0,0 +1,3914 @@
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 `Preimage`'s errors
283
+ **/
284
+ preimage: {
285
+ /**
286
+ * Preimage is too large to store on-chain.
287
+ **/
288
+ TooBig: GenericPalletError<Rv>;
289
+
290
+ /**
291
+ * Preimage has already been noted on-chain.
292
+ **/
293
+ AlreadyNoted: GenericPalletError<Rv>;
294
+
295
+ /**
296
+ * The user is not authorized to perform this action.
297
+ **/
298
+ NotAuthorized: GenericPalletError<Rv>;
299
+
300
+ /**
301
+ * The preimage cannot be removed since it has not yet been noted.
302
+ **/
303
+ NotNoted: GenericPalletError<Rv>;
304
+
305
+ /**
306
+ * A preimage may not be removed when there are outstanding requests.
307
+ **/
308
+ Requested: GenericPalletError<Rv>;
309
+
310
+ /**
311
+ * The preimage request cannot be removed since no outstanding requests exist.
312
+ **/
313
+ NotRequested: GenericPalletError<Rv>;
314
+
315
+ /**
316
+ * More than `MAX_HASH_UPGRADE_BULK_COUNT` hashes were requested to be upgraded at once.
317
+ **/
318
+ TooMany: GenericPalletError<Rv>;
319
+
320
+ /**
321
+ * Too few hashes were requested to be upgraded (i.e. zero).
322
+ **/
323
+ TooFew: GenericPalletError<Rv>;
324
+
325
+ /**
326
+ * Generic pallet error
327
+ **/
328
+ [error: string]: GenericPalletError<Rv>;
329
+ };
330
+ /**
331
+ * Pallet `Identity`'s errors
332
+ **/
333
+ identity: {
334
+ /**
335
+ * Too many subs-accounts.
336
+ **/
337
+ TooManySubAccounts: GenericPalletError<Rv>;
338
+
339
+ /**
340
+ * Account isn't found.
341
+ **/
342
+ NotFound: GenericPalletError<Rv>;
343
+
344
+ /**
345
+ * Account isn't named.
346
+ **/
347
+ NotNamed: GenericPalletError<Rv>;
348
+
349
+ /**
350
+ * Empty index.
351
+ **/
352
+ EmptyIndex: GenericPalletError<Rv>;
353
+
354
+ /**
355
+ * Fee is changed.
356
+ **/
357
+ FeeChanged: GenericPalletError<Rv>;
358
+
359
+ /**
360
+ * No identity found.
361
+ **/
362
+ NoIdentity: GenericPalletError<Rv>;
363
+
364
+ /**
365
+ * Sticky judgement.
366
+ **/
367
+ StickyJudgement: GenericPalletError<Rv>;
368
+
369
+ /**
370
+ * Judgement given.
371
+ **/
372
+ JudgementGiven: GenericPalletError<Rv>;
373
+
374
+ /**
375
+ * Invalid judgement.
376
+ **/
377
+ InvalidJudgement: GenericPalletError<Rv>;
378
+
379
+ /**
380
+ * The index is invalid.
381
+ **/
382
+ InvalidIndex: GenericPalletError<Rv>;
383
+
384
+ /**
385
+ * The target is invalid.
386
+ **/
387
+ InvalidTarget: GenericPalletError<Rv>;
388
+
389
+ /**
390
+ * Maximum amount of registrars reached. Cannot add any more.
391
+ **/
392
+ TooManyRegistrars: GenericPalletError<Rv>;
393
+
394
+ /**
395
+ * Account ID is already named.
396
+ **/
397
+ AlreadyClaimed: GenericPalletError<Rv>;
398
+
399
+ /**
400
+ * Sender is not a sub-account.
401
+ **/
402
+ NotSub: GenericPalletError<Rv>;
403
+
404
+ /**
405
+ * Sub-account isn't owned by sender.
406
+ **/
407
+ NotOwned: GenericPalletError<Rv>;
408
+
409
+ /**
410
+ * The provided judgement was for a different identity.
411
+ **/
412
+ JudgementForDifferentIdentity: GenericPalletError<Rv>;
413
+
414
+ /**
415
+ * Error that occurs when there is an issue paying for judgement.
416
+ **/
417
+ JudgementPaymentFailed: GenericPalletError<Rv>;
418
+
419
+ /**
420
+ * The provided suffix is too long.
421
+ **/
422
+ InvalidSuffix: GenericPalletError<Rv>;
423
+
424
+ /**
425
+ * The sender does not have permission to issue a username.
426
+ **/
427
+ NotUsernameAuthority: GenericPalletError<Rv>;
428
+
429
+ /**
430
+ * The authority cannot allocate any more usernames.
431
+ **/
432
+ NoAllocation: GenericPalletError<Rv>;
433
+
434
+ /**
435
+ * The signature on a username was not valid.
436
+ **/
437
+ InvalidSignature: GenericPalletError<Rv>;
438
+
439
+ /**
440
+ * Setting this username requires a signature, but none was provided.
441
+ **/
442
+ RequiresSignature: GenericPalletError<Rv>;
443
+
444
+ /**
445
+ * The username does not meet the requirements.
446
+ **/
447
+ InvalidUsername: GenericPalletError<Rv>;
448
+
449
+ /**
450
+ * The username is already taken.
451
+ **/
452
+ UsernameTaken: GenericPalletError<Rv>;
453
+
454
+ /**
455
+ * The requested username does not exist.
456
+ **/
457
+ NoUsername: GenericPalletError<Rv>;
458
+
459
+ /**
460
+ * The username cannot be forcefully removed because it can still be accepted.
461
+ **/
462
+ NotExpired: GenericPalletError<Rv>;
463
+
464
+ /**
465
+ * Generic pallet error
466
+ **/
467
+ [error: string]: GenericPalletError<Rv>;
468
+ };
469
+ /**
470
+ * Pallet `Democracy`'s errors
471
+ **/
472
+ democracy: {
473
+ /**
474
+ * Value too low
475
+ **/
476
+ ValueLow: GenericPalletError<Rv>;
477
+
478
+ /**
479
+ * Proposal does not exist
480
+ **/
481
+ ProposalMissing: GenericPalletError<Rv>;
482
+
483
+ /**
484
+ * Cannot cancel the same proposal twice
485
+ **/
486
+ AlreadyCanceled: GenericPalletError<Rv>;
487
+
488
+ /**
489
+ * Proposal already made
490
+ **/
491
+ DuplicateProposal: GenericPalletError<Rv>;
492
+
493
+ /**
494
+ * Proposal still blacklisted
495
+ **/
496
+ ProposalBlacklisted: GenericPalletError<Rv>;
497
+
498
+ /**
499
+ * Next external proposal not simple majority
500
+ **/
501
+ NotSimpleMajority: GenericPalletError<Rv>;
502
+
503
+ /**
504
+ * Invalid hash
505
+ **/
506
+ InvalidHash: GenericPalletError<Rv>;
507
+
508
+ /**
509
+ * No external proposal
510
+ **/
511
+ NoProposal: GenericPalletError<Rv>;
512
+
513
+ /**
514
+ * Identity may not veto a proposal twice
515
+ **/
516
+ AlreadyVetoed: GenericPalletError<Rv>;
517
+
518
+ /**
519
+ * Vote given for invalid referendum
520
+ **/
521
+ ReferendumInvalid: GenericPalletError<Rv>;
522
+
523
+ /**
524
+ * No proposals waiting
525
+ **/
526
+ NoneWaiting: GenericPalletError<Rv>;
527
+
528
+ /**
529
+ * The given account did not vote on the referendum.
530
+ **/
531
+ NotVoter: GenericPalletError<Rv>;
532
+
533
+ /**
534
+ * The actor has no permission to conduct the action.
535
+ **/
536
+ NoPermission: GenericPalletError<Rv>;
537
+
538
+ /**
539
+ * The account is already delegating.
540
+ **/
541
+ AlreadyDelegating: GenericPalletError<Rv>;
542
+
543
+ /**
544
+ * Too high a balance was provided that the account cannot afford.
545
+ **/
546
+ InsufficientFunds: GenericPalletError<Rv>;
547
+
548
+ /**
549
+ * The account is not currently delegating.
550
+ **/
551
+ NotDelegating: GenericPalletError<Rv>;
552
+
553
+ /**
554
+ * The account currently has votes attached to it and the operation cannot succeed until
555
+ * these are removed, either through `unvote` or `reap_vote`.
556
+ **/
557
+ VotesExist: GenericPalletError<Rv>;
558
+
559
+ /**
560
+ * The instant referendum origin is currently disallowed.
561
+ **/
562
+ InstantNotAllowed: GenericPalletError<Rv>;
563
+
564
+ /**
565
+ * Delegation to oneself makes no sense.
566
+ **/
567
+ Nonsense: GenericPalletError<Rv>;
568
+
569
+ /**
570
+ * Invalid upper bound.
571
+ **/
572
+ WrongUpperBound: GenericPalletError<Rv>;
573
+
574
+ /**
575
+ * Maximum number of votes reached.
576
+ **/
577
+ MaxVotesReached: GenericPalletError<Rv>;
578
+
579
+ /**
580
+ * Maximum number of items reached.
581
+ **/
582
+ TooMany: GenericPalletError<Rv>;
583
+
584
+ /**
585
+ * Voting period too low
586
+ **/
587
+ VotingPeriodLow: GenericPalletError<Rv>;
588
+
589
+ /**
590
+ * The preimage does not exist.
591
+ **/
592
+ PreimageNotExist: GenericPalletError<Rv>;
593
+
594
+ /**
595
+ * Generic pallet error
596
+ **/
597
+ [error: string]: GenericPalletError<Rv>;
598
+ };
599
+ /**
600
+ * Pallet `Elections`'s errors
601
+ **/
602
+ elections: {
603
+ /**
604
+ * Cannot vote when no candidates or members exist.
605
+ **/
606
+ UnableToVote: GenericPalletError<Rv>;
607
+
608
+ /**
609
+ * Must vote for at least one candidate.
610
+ **/
611
+ NoVotes: GenericPalletError<Rv>;
612
+
613
+ /**
614
+ * Cannot vote more than candidates.
615
+ **/
616
+ TooManyVotes: GenericPalletError<Rv>;
617
+
618
+ /**
619
+ * Cannot vote more than maximum allowed.
620
+ **/
621
+ MaximumVotesExceeded: GenericPalletError<Rv>;
622
+
623
+ /**
624
+ * Cannot vote with stake less than minimum balance.
625
+ **/
626
+ LowBalance: GenericPalletError<Rv>;
627
+
628
+ /**
629
+ * Voter can not pay voting bond.
630
+ **/
631
+ UnableToPayBond: GenericPalletError<Rv>;
632
+
633
+ /**
634
+ * Must be a voter.
635
+ **/
636
+ MustBeVoter: GenericPalletError<Rv>;
637
+
638
+ /**
639
+ * Duplicated candidate submission.
640
+ **/
641
+ DuplicatedCandidate: GenericPalletError<Rv>;
642
+
643
+ /**
644
+ * Too many candidates have been created.
645
+ **/
646
+ TooManyCandidates: GenericPalletError<Rv>;
647
+
648
+ /**
649
+ * Member cannot re-submit candidacy.
650
+ **/
651
+ MemberSubmit: GenericPalletError<Rv>;
652
+
653
+ /**
654
+ * Runner cannot re-submit candidacy.
655
+ **/
656
+ RunnerUpSubmit: GenericPalletError<Rv>;
657
+
658
+ /**
659
+ * Candidate does not have enough funds.
660
+ **/
661
+ InsufficientCandidateFunds: GenericPalletError<Rv>;
662
+
663
+ /**
664
+ * Not a member.
665
+ **/
666
+ NotMember: GenericPalletError<Rv>;
667
+
668
+ /**
669
+ * The provided count of number of candidates is incorrect.
670
+ **/
671
+ InvalidWitnessData: GenericPalletError<Rv>;
672
+
673
+ /**
674
+ * The provided count of number of votes is incorrect.
675
+ **/
676
+ InvalidVoteCount: GenericPalletError<Rv>;
677
+
678
+ /**
679
+ * The renouncing origin presented a wrong `Renouncing` parameter.
680
+ **/
681
+ InvalidRenouncing: GenericPalletError<Rv>;
682
+
683
+ /**
684
+ * Prediction regarding replacement after member removal is wrong.
685
+ **/
686
+ InvalidReplacement: GenericPalletError<Rv>;
687
+
688
+ /**
689
+ * Generic pallet error
690
+ **/
691
+ [error: string]: GenericPalletError<Rv>;
692
+ };
693
+ /**
694
+ * Pallet `Council`'s errors
695
+ **/
696
+ council: {
697
+ /**
698
+ * Account is not a member
699
+ **/
700
+ NotMember: GenericPalletError<Rv>;
701
+
702
+ /**
703
+ * Duplicate proposals not allowed
704
+ **/
705
+ DuplicateProposal: GenericPalletError<Rv>;
706
+
707
+ /**
708
+ * Proposal must exist
709
+ **/
710
+ ProposalMissing: GenericPalletError<Rv>;
711
+
712
+ /**
713
+ * Mismatched index
714
+ **/
715
+ WrongIndex: GenericPalletError<Rv>;
716
+
717
+ /**
718
+ * Duplicate vote ignored
719
+ **/
720
+ DuplicateVote: GenericPalletError<Rv>;
721
+
722
+ /**
723
+ * Members are already initialized!
724
+ **/
725
+ AlreadyInitialized: GenericPalletError<Rv>;
726
+
727
+ /**
728
+ * The close call was made too early, before the end of the voting.
729
+ **/
730
+ TooEarly: GenericPalletError<Rv>;
731
+
732
+ /**
733
+ * There can only be a maximum of `MaxProposals` active proposals.
734
+ **/
735
+ TooManyProposals: GenericPalletError<Rv>;
736
+
737
+ /**
738
+ * The given weight bound for the proposal was too low.
739
+ **/
740
+ WrongProposalWeight: GenericPalletError<Rv>;
741
+
742
+ /**
743
+ * The given length bound for the proposal was too low.
744
+ **/
745
+ WrongProposalLength: GenericPalletError<Rv>;
746
+
747
+ /**
748
+ * Prime account is not a member
749
+ **/
750
+ PrimeAccountNotMember: GenericPalletError<Rv>;
751
+
752
+ /**
753
+ * Generic pallet error
754
+ **/
755
+ [error: string]: GenericPalletError<Rv>;
756
+ };
757
+ /**
758
+ * Pallet `TechnicalCommittee`'s errors
759
+ **/
760
+ technicalCommittee: {
761
+ /**
762
+ * Account is not a member
763
+ **/
764
+ NotMember: GenericPalletError<Rv>;
765
+
766
+ /**
767
+ * Duplicate proposals not allowed
768
+ **/
769
+ DuplicateProposal: GenericPalletError<Rv>;
770
+
771
+ /**
772
+ * Proposal must exist
773
+ **/
774
+ ProposalMissing: GenericPalletError<Rv>;
775
+
776
+ /**
777
+ * Mismatched index
778
+ **/
779
+ WrongIndex: GenericPalletError<Rv>;
780
+
781
+ /**
782
+ * Duplicate vote ignored
783
+ **/
784
+ DuplicateVote: GenericPalletError<Rv>;
785
+
786
+ /**
787
+ * Members are already initialized!
788
+ **/
789
+ AlreadyInitialized: GenericPalletError<Rv>;
790
+
791
+ /**
792
+ * The close call was made too early, before the end of the voting.
793
+ **/
794
+ TooEarly: GenericPalletError<Rv>;
795
+
796
+ /**
797
+ * There can only be a maximum of `MaxProposals` active proposals.
798
+ **/
799
+ TooManyProposals: GenericPalletError<Rv>;
800
+
801
+ /**
802
+ * The given weight bound for the proposal was too low.
803
+ **/
804
+ WrongProposalWeight: GenericPalletError<Rv>;
805
+
806
+ /**
807
+ * The given length bound for the proposal was too low.
808
+ **/
809
+ WrongProposalLength: GenericPalletError<Rv>;
810
+
811
+ /**
812
+ * Prime account is not a member
813
+ **/
814
+ PrimeAccountNotMember: GenericPalletError<Rv>;
815
+
816
+ /**
817
+ * Generic pallet error
818
+ **/
819
+ [error: string]: GenericPalletError<Rv>;
820
+ };
821
+ /**
822
+ * Pallet `Tips`'s errors
823
+ **/
824
+ tips: {
825
+ /**
826
+ * The reason given is just too big.
827
+ **/
828
+ ReasonTooBig: GenericPalletError<Rv>;
829
+
830
+ /**
831
+ * The tip was already found/started.
832
+ **/
833
+ AlreadyKnown: GenericPalletError<Rv>;
834
+
835
+ /**
836
+ * The tip hash is unknown.
837
+ **/
838
+ UnknownTip: GenericPalletError<Rv>;
839
+
840
+ /**
841
+ * The tip given was too generous.
842
+ **/
843
+ MaxTipAmountExceeded: GenericPalletError<Rv>;
844
+
845
+ /**
846
+ * The account attempting to retract the tip is not the finder of the tip.
847
+ **/
848
+ NotFinder: GenericPalletError<Rv>;
849
+
850
+ /**
851
+ * The tip cannot be claimed/closed because there are not enough tippers yet.
852
+ **/
853
+ StillOpen: GenericPalletError<Rv>;
854
+
855
+ /**
856
+ * The tip cannot be claimed/closed because it's still in the countdown period.
857
+ **/
858
+ Premature: GenericPalletError<Rv>;
859
+
860
+ /**
861
+ * Generic pallet error
862
+ **/
863
+ [error: string]: GenericPalletError<Rv>;
864
+ };
865
+ /**
866
+ * Pallet `Proxy`'s errors
867
+ **/
868
+ proxy: {
869
+ /**
870
+ * There are too many proxies registered or too many announcements pending.
871
+ **/
872
+ TooMany: GenericPalletError<Rv>;
873
+
874
+ /**
875
+ * Proxy registration not found.
876
+ **/
877
+ NotFound: GenericPalletError<Rv>;
878
+
879
+ /**
880
+ * Sender is not a proxy of the account to be proxied.
881
+ **/
882
+ NotProxy: GenericPalletError<Rv>;
883
+
884
+ /**
885
+ * A call which is incompatible with the proxy type's filter was attempted.
886
+ **/
887
+ Unproxyable: GenericPalletError<Rv>;
888
+
889
+ /**
890
+ * Account is already a proxy.
891
+ **/
892
+ Duplicate: GenericPalletError<Rv>;
893
+
894
+ /**
895
+ * Call may not be made by proxy because it may escalate its privileges.
896
+ **/
897
+ NoPermission: GenericPalletError<Rv>;
898
+
899
+ /**
900
+ * Announcement, if made at all, was made too recently.
901
+ **/
902
+ Unannounced: GenericPalletError<Rv>;
903
+
904
+ /**
905
+ * Cannot add self as proxy.
906
+ **/
907
+ NoSelfProxy: GenericPalletError<Rv>;
908
+
909
+ /**
910
+ * Generic pallet error
911
+ **/
912
+ [error: string]: GenericPalletError<Rv>;
913
+ };
914
+ /**
915
+ * Pallet `Multisig`'s errors
916
+ **/
917
+ multisig: {
918
+ /**
919
+ * Threshold must be 2 or greater.
920
+ **/
921
+ MinimumThreshold: GenericPalletError<Rv>;
922
+
923
+ /**
924
+ * Call is already approved by this signatory.
925
+ **/
926
+ AlreadyApproved: GenericPalletError<Rv>;
927
+
928
+ /**
929
+ * Call doesn't need any (more) approvals.
930
+ **/
931
+ NoApprovalsNeeded: GenericPalletError<Rv>;
932
+
933
+ /**
934
+ * There are too few signatories in the list.
935
+ **/
936
+ TooFewSignatories: GenericPalletError<Rv>;
937
+
938
+ /**
939
+ * There are too many signatories in the list.
940
+ **/
941
+ TooManySignatories: GenericPalletError<Rv>;
942
+
943
+ /**
944
+ * The signatories were provided out of order; they should be ordered.
945
+ **/
946
+ SignatoriesOutOfOrder: GenericPalletError<Rv>;
947
+
948
+ /**
949
+ * The sender was contained in the other signatories; it shouldn't be.
950
+ **/
951
+ SenderInSignatories: GenericPalletError<Rv>;
952
+
953
+ /**
954
+ * Multisig operation not found when attempting to cancel.
955
+ **/
956
+ NotFound: GenericPalletError<Rv>;
957
+
958
+ /**
959
+ * Only the account that originally created the multisig is able to cancel it.
960
+ **/
961
+ NotOwner: GenericPalletError<Rv>;
962
+
963
+ /**
964
+ * No timepoint was given, yet the multisig operation is already underway.
965
+ **/
966
+ NoTimepoint: GenericPalletError<Rv>;
967
+
968
+ /**
969
+ * A different timepoint was given to the multisig operation that is underway.
970
+ **/
971
+ WrongTimepoint: GenericPalletError<Rv>;
972
+
973
+ /**
974
+ * A timepoint was given, yet no multisig operation is underway.
975
+ **/
976
+ UnexpectedTimepoint: GenericPalletError<Rv>;
977
+
978
+ /**
979
+ * The maximum weight information provided was too low.
980
+ **/
981
+ MaxWeightTooLow: GenericPalletError<Rv>;
982
+
983
+ /**
984
+ * The data to be stored is already stored.
985
+ **/
986
+ AlreadyStored: GenericPalletError<Rv>;
987
+
988
+ /**
989
+ * Generic pallet error
990
+ **/
991
+ [error: string]: GenericPalletError<Rv>;
992
+ };
993
+ /**
994
+ * Pallet `Uniques`'s errors
995
+ **/
996
+ uniques: {
997
+ /**
998
+ * The signing account has no permission to do the operation.
999
+ **/
1000
+ NoPermission: GenericPalletError<Rv>;
1001
+
1002
+ /**
1003
+ * The given item ID is unknown.
1004
+ **/
1005
+ UnknownCollection: GenericPalletError<Rv>;
1006
+
1007
+ /**
1008
+ * The item ID has already been used for an item.
1009
+ **/
1010
+ AlreadyExists: GenericPalletError<Rv>;
1011
+
1012
+ /**
1013
+ * The owner turned out to be different to what was expected.
1014
+ **/
1015
+ WrongOwner: GenericPalletError<Rv>;
1016
+
1017
+ /**
1018
+ * Invalid witness data given.
1019
+ **/
1020
+ BadWitness: GenericPalletError<Rv>;
1021
+
1022
+ /**
1023
+ * The item ID is already taken.
1024
+ **/
1025
+ InUse: GenericPalletError<Rv>;
1026
+
1027
+ /**
1028
+ * The item or collection is frozen.
1029
+ **/
1030
+ Frozen: GenericPalletError<Rv>;
1031
+
1032
+ /**
1033
+ * The delegate turned out to be different to what was expected.
1034
+ **/
1035
+ WrongDelegate: GenericPalletError<Rv>;
1036
+
1037
+ /**
1038
+ * There is no delegate approved.
1039
+ **/
1040
+ NoDelegate: GenericPalletError<Rv>;
1041
+
1042
+ /**
1043
+ * No approval exists that would allow the transfer.
1044
+ **/
1045
+ Unapproved: GenericPalletError<Rv>;
1046
+
1047
+ /**
1048
+ * The named owner has not signed ownership of the collection is acceptable.
1049
+ **/
1050
+ Unaccepted: GenericPalletError<Rv>;
1051
+
1052
+ /**
1053
+ * The item is locked.
1054
+ **/
1055
+ Locked: GenericPalletError<Rv>;
1056
+
1057
+ /**
1058
+ * All items have been minted.
1059
+ **/
1060
+ MaxSupplyReached: GenericPalletError<Rv>;
1061
+
1062
+ /**
1063
+ * The max supply has already been set.
1064
+ **/
1065
+ MaxSupplyAlreadySet: GenericPalletError<Rv>;
1066
+
1067
+ /**
1068
+ * The provided max supply is less to the amount of items a collection already has.
1069
+ **/
1070
+ MaxSupplyTooSmall: GenericPalletError<Rv>;
1071
+
1072
+ /**
1073
+ * The given item ID is unknown.
1074
+ **/
1075
+ UnknownItem: GenericPalletError<Rv>;
1076
+
1077
+ /**
1078
+ * Item is not for sale.
1079
+ **/
1080
+ NotForSale: GenericPalletError<Rv>;
1081
+
1082
+ /**
1083
+ * The provided bid is too low.
1084
+ **/
1085
+ BidTooLow: GenericPalletError<Rv>;
1086
+
1087
+ /**
1088
+ * Generic pallet error
1089
+ **/
1090
+ [error: string]: GenericPalletError<Rv>;
1091
+ };
1092
+ /**
1093
+ * Pallet `StateTrieMigration`'s errors
1094
+ **/
1095
+ stateTrieMigration: {
1096
+ /**
1097
+ * Max signed limits not respected.
1098
+ **/
1099
+ MaxSignedLimits: GenericPalletError<Rv>;
1100
+
1101
+ /**
1102
+ * A key was longer than the configured maximum.
1103
+ *
1104
+ * This means that the migration halted at the current [`Progress`] and
1105
+ * can be resumed with a larger [`crate::Config::MaxKeyLen`] value.
1106
+ * Retrying with the same [`crate::Config::MaxKeyLen`] value will not work.
1107
+ * The value should only be increased to avoid a storage migration for the currently
1108
+ * stored [`crate::Progress::LastKey`].
1109
+ **/
1110
+ KeyTooLong: GenericPalletError<Rv>;
1111
+
1112
+ /**
1113
+ * submitter does not have enough funds.
1114
+ **/
1115
+ NotEnoughFunds: GenericPalletError<Rv>;
1116
+
1117
+ /**
1118
+ * Bad witness data provided.
1119
+ **/
1120
+ BadWitness: GenericPalletError<Rv>;
1121
+
1122
+ /**
1123
+ * Signed migration is not allowed because the maximum limit is not set yet.
1124
+ **/
1125
+ SignedMigrationNotAllowed: GenericPalletError<Rv>;
1126
+
1127
+ /**
1128
+ * Bad child root provided.
1129
+ **/
1130
+ BadChildRoot: GenericPalletError<Rv>;
1131
+
1132
+ /**
1133
+ * Generic pallet error
1134
+ **/
1135
+ [error: string]: GenericPalletError<Rv>;
1136
+ };
1137
+ /**
1138
+ * Pallet `ConvictionVoting`'s errors
1139
+ **/
1140
+ convictionVoting: {
1141
+ /**
1142
+ * Poll is not ongoing.
1143
+ **/
1144
+ NotOngoing: GenericPalletError<Rv>;
1145
+
1146
+ /**
1147
+ * The given account did not vote on the poll.
1148
+ **/
1149
+ NotVoter: GenericPalletError<Rv>;
1150
+
1151
+ /**
1152
+ * The actor has no permission to conduct the action.
1153
+ **/
1154
+ NoPermission: GenericPalletError<Rv>;
1155
+
1156
+ /**
1157
+ * The actor has no permission to conduct the action right now but will do in the future.
1158
+ **/
1159
+ NoPermissionYet: GenericPalletError<Rv>;
1160
+
1161
+ /**
1162
+ * The account is already delegating.
1163
+ **/
1164
+ AlreadyDelegating: GenericPalletError<Rv>;
1165
+
1166
+ /**
1167
+ * The account currently has votes attached to it and the operation cannot succeed until
1168
+ * these are removed through `remove_vote`.
1169
+ **/
1170
+ AlreadyVoting: GenericPalletError<Rv>;
1171
+
1172
+ /**
1173
+ * Too high a balance was provided that the account cannot afford.
1174
+ **/
1175
+ InsufficientFunds: GenericPalletError<Rv>;
1176
+
1177
+ /**
1178
+ * The account is not currently delegating.
1179
+ **/
1180
+ NotDelegating: GenericPalletError<Rv>;
1181
+
1182
+ /**
1183
+ * Delegation to oneself makes no sense.
1184
+ **/
1185
+ Nonsense: GenericPalletError<Rv>;
1186
+
1187
+ /**
1188
+ * Maximum number of votes reached.
1189
+ **/
1190
+ MaxVotesReached: GenericPalletError<Rv>;
1191
+
1192
+ /**
1193
+ * The class must be supplied since it is not easily determinable from the state.
1194
+ **/
1195
+ ClassNeeded: GenericPalletError<Rv>;
1196
+
1197
+ /**
1198
+ * The class ID supplied is invalid.
1199
+ **/
1200
+ BadClass: GenericPalletError<Rv>;
1201
+
1202
+ /**
1203
+ * Generic pallet error
1204
+ **/
1205
+ [error: string]: GenericPalletError<Rv>;
1206
+ };
1207
+ /**
1208
+ * Pallet `Referenda`'s errors
1209
+ **/
1210
+ referenda: {
1211
+ /**
1212
+ * Referendum is not ongoing.
1213
+ **/
1214
+ NotOngoing: GenericPalletError<Rv>;
1215
+
1216
+ /**
1217
+ * Referendum's decision deposit is already paid.
1218
+ **/
1219
+ HasDeposit: GenericPalletError<Rv>;
1220
+
1221
+ /**
1222
+ * The track identifier given was invalid.
1223
+ **/
1224
+ BadTrack: GenericPalletError<Rv>;
1225
+
1226
+ /**
1227
+ * There are already a full complement of referenda in progress for this track.
1228
+ **/
1229
+ Full: GenericPalletError<Rv>;
1230
+
1231
+ /**
1232
+ * The queue of the track is empty.
1233
+ **/
1234
+ QueueEmpty: GenericPalletError<Rv>;
1235
+
1236
+ /**
1237
+ * The referendum index provided is invalid in this context.
1238
+ **/
1239
+ BadReferendum: GenericPalletError<Rv>;
1240
+
1241
+ /**
1242
+ * There was nothing to do in the advancement.
1243
+ **/
1244
+ NothingToDo: GenericPalletError<Rv>;
1245
+
1246
+ /**
1247
+ * No track exists for the proposal origin.
1248
+ **/
1249
+ NoTrack: GenericPalletError<Rv>;
1250
+
1251
+ /**
1252
+ * Any deposit cannot be refunded until after the decision is over.
1253
+ **/
1254
+ Unfinished: GenericPalletError<Rv>;
1255
+
1256
+ /**
1257
+ * The deposit refunder is not the depositor.
1258
+ **/
1259
+ NoPermission: GenericPalletError<Rv>;
1260
+
1261
+ /**
1262
+ * The deposit cannot be refunded since none was made.
1263
+ **/
1264
+ NoDeposit: GenericPalletError<Rv>;
1265
+
1266
+ /**
1267
+ * The referendum status is invalid for this operation.
1268
+ **/
1269
+ BadStatus: GenericPalletError<Rv>;
1270
+
1271
+ /**
1272
+ * The preimage does not exist.
1273
+ **/
1274
+ PreimageNotExist: GenericPalletError<Rv>;
1275
+
1276
+ /**
1277
+ * The preimage is stored with a different length than the one provided.
1278
+ **/
1279
+ PreimageStoredWithDifferentLength: GenericPalletError<Rv>;
1280
+
1281
+ /**
1282
+ * Generic pallet error
1283
+ **/
1284
+ [error: string]: GenericPalletError<Rv>;
1285
+ };
1286
+ /**
1287
+ * Pallet `Whitelist`'s errors
1288
+ **/
1289
+ whitelist: {
1290
+ /**
1291
+ * The preimage of the call hash could not be loaded.
1292
+ **/
1293
+ UnavailablePreImage: GenericPalletError<Rv>;
1294
+
1295
+ /**
1296
+ * The call could not be decoded.
1297
+ **/
1298
+ UndecodableCall: GenericPalletError<Rv>;
1299
+
1300
+ /**
1301
+ * The weight of the decoded call was higher than the witness.
1302
+ **/
1303
+ InvalidCallWeightWitness: GenericPalletError<Rv>;
1304
+
1305
+ /**
1306
+ * The call was not whitelisted.
1307
+ **/
1308
+ CallIsNotWhitelisted: GenericPalletError<Rv>;
1309
+
1310
+ /**
1311
+ * The call was already whitelisted; No-Op.
1312
+ **/
1313
+ CallAlreadyWhitelisted: GenericPalletError<Rv>;
1314
+
1315
+ /**
1316
+ * Generic pallet error
1317
+ **/
1318
+ [error: string]: GenericPalletError<Rv>;
1319
+ };
1320
+ /**
1321
+ * Pallet `AssetRegistry`'s errors
1322
+ **/
1323
+ assetRegistry: {
1324
+ /**
1325
+ * Asset ID is not available. This only happens when it reaches the MAX value of given id type.
1326
+ **/
1327
+ NoIdAvailable: GenericPalletError<Rv>;
1328
+
1329
+ /**
1330
+ * Invalid asset name or symbol.
1331
+ **/
1332
+ AssetNotFound: GenericPalletError<Rv>;
1333
+
1334
+ /**
1335
+ * Length of name or symbol is less than min. length.
1336
+ **/
1337
+ TooShort: GenericPalletError<Rv>;
1338
+
1339
+ /**
1340
+ * Asset's symbol can't contain whitespace characters .
1341
+ **/
1342
+ InvalidSymbol: GenericPalletError<Rv>;
1343
+
1344
+ /**
1345
+ * Asset ID is not registered in the asset-registry.
1346
+ **/
1347
+ AssetNotRegistered: GenericPalletError<Rv>;
1348
+
1349
+ /**
1350
+ * Asset is already registered.
1351
+ **/
1352
+ AssetAlreadyRegistered: GenericPalletError<Rv>;
1353
+
1354
+ /**
1355
+ * Incorrect number of assets provided to create shared asset.
1356
+ **/
1357
+ InvalidSharedAssetLen: GenericPalletError<Rv>;
1358
+
1359
+ /**
1360
+ * Cannot update asset location.
1361
+ **/
1362
+ CannotUpdateLocation: GenericPalletError<Rv>;
1363
+
1364
+ /**
1365
+ * Selected asset id is out of reserved range.
1366
+ **/
1367
+ NotInReservedRange: GenericPalletError<Rv>;
1368
+
1369
+ /**
1370
+ * Location already registered with different asset.
1371
+ **/
1372
+ LocationAlreadyRegistered: GenericPalletError<Rv>;
1373
+
1374
+ /**
1375
+ * Origin is forbidden to set/update value.
1376
+ **/
1377
+ Forbidden: GenericPalletError<Rv>;
1378
+
1379
+ /**
1380
+ * Balance too low.
1381
+ **/
1382
+ InsufficientBalance: GenericPalletError<Rv>;
1383
+
1384
+ /**
1385
+ * Sufficient assets can't be changed to insufficient.
1386
+ **/
1387
+ ForbiddenSufficiencyChange: GenericPalletError<Rv>;
1388
+
1389
+ /**
1390
+ * Asset is already banned.
1391
+ **/
1392
+ AssetAlreadyBanned: GenericPalletError<Rv>;
1393
+
1394
+ /**
1395
+ * Asset is not banned.
1396
+ **/
1397
+ AssetNotBanned: GenericPalletError<Rv>;
1398
+
1399
+ /**
1400
+ * Generic pallet error
1401
+ **/
1402
+ [error: string]: GenericPalletError<Rv>;
1403
+ };
1404
+ /**
1405
+ * Pallet `Claims`'s errors
1406
+ **/
1407
+ claims: {
1408
+ /**
1409
+ * Ethereum signature is not valid
1410
+ **/
1411
+ InvalidEthereumSignature: GenericPalletError<Rv>;
1412
+
1413
+ /**
1414
+ * Claim is not valid
1415
+ **/
1416
+ NoClaimOrAlreadyClaimed: GenericPalletError<Rv>;
1417
+
1418
+ /**
1419
+ * Value reached maximum and cannot be incremented further
1420
+ **/
1421
+ BalanceOverflow: GenericPalletError<Rv>;
1422
+
1423
+ /**
1424
+ * Generic pallet error
1425
+ **/
1426
+ [error: string]: GenericPalletError<Rv>;
1427
+ };
1428
+ /**
1429
+ * Pallet `CollatorRewards`'s errors
1430
+ **/
1431
+ collatorRewards: {
1432
+ /**
1433
+ * Generic pallet error
1434
+ **/
1435
+ [error: string]: GenericPalletError<Rv>;
1436
+ };
1437
+ /**
1438
+ * Pallet `Omnipool`'s errors
1439
+ **/
1440
+ omnipool: {
1441
+ /**
1442
+ * Balance too low
1443
+ **/
1444
+ InsufficientBalance: GenericPalletError<Rv>;
1445
+
1446
+ /**
1447
+ * Asset is already in omnipool
1448
+ **/
1449
+ AssetAlreadyAdded: GenericPalletError<Rv>;
1450
+
1451
+ /**
1452
+ * Asset is not in omnipool
1453
+ **/
1454
+ AssetNotFound: GenericPalletError<Rv>;
1455
+
1456
+ /**
1457
+ * Failed to add token to Omnipool due to insufficient initial liquidity.
1458
+ **/
1459
+ MissingBalance: GenericPalletError<Rv>;
1460
+
1461
+ /**
1462
+ * Invalid initial asset price.
1463
+ **/
1464
+ InvalidInitialAssetPrice: GenericPalletError<Rv>;
1465
+
1466
+ /**
1467
+ * Slippage protection - minimum limit has not been reached.
1468
+ **/
1469
+ BuyLimitNotReached: GenericPalletError<Rv>;
1470
+
1471
+ /**
1472
+ * Slippage protection - maximum limit has been exceeded.
1473
+ **/
1474
+ SellLimitExceeded: GenericPalletError<Rv>;
1475
+
1476
+ /**
1477
+ * Position has not been found.
1478
+ **/
1479
+ PositionNotFound: GenericPalletError<Rv>;
1480
+
1481
+ /**
1482
+ * Insufficient shares in position
1483
+ **/
1484
+ InsufficientShares: GenericPalletError<Rv>;
1485
+
1486
+ /**
1487
+ * Asset is not allowed to be traded.
1488
+ **/
1489
+ NotAllowed: GenericPalletError<Rv>;
1490
+
1491
+ /**
1492
+ * Signed account is not owner of position instance.
1493
+ **/
1494
+ Forbidden: GenericPalletError<Rv>;
1495
+
1496
+ /**
1497
+ * Asset weight cap has been exceeded.
1498
+ **/
1499
+ AssetWeightCapExceeded: GenericPalletError<Rv>;
1500
+
1501
+ /**
1502
+ * Asset is not registered in asset registry
1503
+ **/
1504
+ AssetNotRegistered: GenericPalletError<Rv>;
1505
+
1506
+ /**
1507
+ * Provided liquidity is below minimum allowed limit
1508
+ **/
1509
+ InsufficientLiquidity: GenericPalletError<Rv>;
1510
+
1511
+ /**
1512
+ * Traded amount is below minimum allowed limit
1513
+ **/
1514
+ InsufficientTradingAmount: GenericPalletError<Rv>;
1515
+
1516
+ /**
1517
+ * Sell or buy with same asset ids is not allowed.
1518
+ **/
1519
+ SameAssetTradeNotAllowed: GenericPalletError<Rv>;
1520
+
1521
+ /**
1522
+ * LRNA update after trade results in positive value.
1523
+ **/
1524
+ HubAssetUpdateError: GenericPalletError<Rv>;
1525
+
1526
+ /**
1527
+ * Amount of shares provided cannot be 0.
1528
+ **/
1529
+ InvalidSharesAmount: GenericPalletError<Rv>;
1530
+
1531
+ /**
1532
+ * Hub asset is only allowed to be sold.
1533
+ **/
1534
+ InvalidHubAssetTradableState: GenericPalletError<Rv>;
1535
+
1536
+ /**
1537
+ * Asset is not allowed to be refunded.
1538
+ **/
1539
+ AssetRefundNotAllowed: GenericPalletError<Rv>;
1540
+
1541
+ /**
1542
+ * Max fraction of asset to buy has been exceeded.
1543
+ **/
1544
+ MaxOutRatioExceeded: GenericPalletError<Rv>;
1545
+
1546
+ /**
1547
+ * Max fraction of asset to sell has been exceeded.
1548
+ **/
1549
+ MaxInRatioExceeded: GenericPalletError<Rv>;
1550
+
1551
+ /**
1552
+ * Max allowed price difference has been exceeded.
1553
+ **/
1554
+ PriceDifferenceTooHigh: GenericPalletError<Rv>;
1555
+
1556
+ /**
1557
+ * Invalid oracle price - division by zero.
1558
+ **/
1559
+ InvalidOraclePrice: GenericPalletError<Rv>;
1560
+
1561
+ /**
1562
+ * Failed to calculate withdrawal fee.
1563
+ **/
1564
+ InvalidWithdrawalFee: GenericPalletError<Rv>;
1565
+
1566
+ /**
1567
+ * More than allowed amount of fee has been transferred.
1568
+ **/
1569
+ FeeOverdraft: GenericPalletError<Rv>;
1570
+
1571
+ /**
1572
+ * Token cannot be removed from Omnipool due to shares still owned by other users.
1573
+ **/
1574
+ SharesRemaining: GenericPalletError<Rv>;
1575
+
1576
+ /**
1577
+ * Token cannot be removed from Omnipool because asset is not frozen.
1578
+ **/
1579
+ AssetNotFrozen: GenericPalletError<Rv>;
1580
+
1581
+ /**
1582
+ * Calculated amount out from sell trade is zero.
1583
+ **/
1584
+ ZeroAmountOut: GenericPalletError<Rv>;
1585
+
1586
+ /**
1587
+ * Existential deposit of asset is not available.
1588
+ **/
1589
+ ExistentialDepositNotAvailable: GenericPalletError<Rv>;
1590
+
1591
+ /**
1592
+ * Slippage protection
1593
+ **/
1594
+ SlippageLimit: GenericPalletError<Rv>;
1595
+
1596
+ /**
1597
+ * Extra protocol fee has not been consumed.
1598
+ **/
1599
+ ProtocolFeeNotConsumed: GenericPalletError<Rv>;
1600
+
1601
+ /**
1602
+ * Generic pallet error
1603
+ **/
1604
+ [error: string]: GenericPalletError<Rv>;
1605
+ };
1606
+ /**
1607
+ * Pallet `TransactionPause`'s errors
1608
+ **/
1609
+ transactionPause: {
1610
+ /**
1611
+ * can not pause
1612
+ **/
1613
+ CannotPause: GenericPalletError<Rv>;
1614
+
1615
+ /**
1616
+ * invalid character encoding
1617
+ **/
1618
+ InvalidCharacter: GenericPalletError<Rv>;
1619
+
1620
+ /**
1621
+ * pallet name or function name is too long
1622
+ **/
1623
+ NameTooLong: GenericPalletError<Rv>;
1624
+
1625
+ /**
1626
+ * Generic pallet error
1627
+ **/
1628
+ [error: string]: GenericPalletError<Rv>;
1629
+ };
1630
+ /**
1631
+ * Pallet `Duster`'s errors
1632
+ **/
1633
+ duster: {
1634
+ /**
1635
+ * Account is excluded from dusting.
1636
+ **/
1637
+ AccountBlacklisted: GenericPalletError<Rv>;
1638
+
1639
+ /**
1640
+ * Account is not present in the non-dustable list.
1641
+ **/
1642
+ AccountNotBlacklisted: GenericPalletError<Rv>;
1643
+
1644
+ /**
1645
+ * The balance is zero.
1646
+ **/
1647
+ ZeroBalance: GenericPalletError<Rv>;
1648
+
1649
+ /**
1650
+ * The balance is sufficient to keep account open.
1651
+ **/
1652
+ BalanceSufficient: GenericPalletError<Rv>;
1653
+
1654
+ /**
1655
+ * Dust account is not set.
1656
+ **/
1657
+ DustAccountNotSet: GenericPalletError<Rv>;
1658
+
1659
+ /**
1660
+ * Reserve account is not set.
1661
+ **/
1662
+ ReserveAccountNotSet: GenericPalletError<Rv>;
1663
+
1664
+ /**
1665
+ * Generic pallet error
1666
+ **/
1667
+ [error: string]: GenericPalletError<Rv>;
1668
+ };
1669
+ /**
1670
+ * Pallet `OmnipoolWarehouseLM`'s errors
1671
+ **/
1672
+ omnipoolWarehouseLM: {
1673
+ /**
1674
+ * Global farm does not exist.
1675
+ **/
1676
+ GlobalFarmNotFound: GenericPalletError<Rv>;
1677
+
1678
+ /**
1679
+ * Yield farm does not exist.
1680
+ **/
1681
+ YieldFarmNotFound: GenericPalletError<Rv>;
1682
+
1683
+ /**
1684
+ * Multiple claims in the same period is not allowed.
1685
+ **/
1686
+ DoubleClaimInPeriod: GenericPalletError<Rv>;
1687
+
1688
+ /**
1689
+ * Liquidity mining is canceled.
1690
+ **/
1691
+ LiquidityMiningCanceled: GenericPalletError<Rv>;
1692
+
1693
+ /**
1694
+ * Liquidity mining is not canceled.
1695
+ **/
1696
+ LiquidityMiningIsActive: GenericPalletError<Rv>;
1697
+
1698
+ /**
1699
+ * Liquidity mining is in `active` or `terminated` state and action cannot be completed.
1700
+ **/
1701
+ LiquidityMiningIsNotStopped: GenericPalletError<Rv>;
1702
+
1703
+ /**
1704
+ * LP shares amount is not valid.
1705
+ **/
1706
+ InvalidDepositAmount: GenericPalletError<Rv>;
1707
+
1708
+ /**
1709
+ * Account is not allowed to perform action.
1710
+ **/
1711
+ Forbidden: GenericPalletError<Rv>;
1712
+
1713
+ /**
1714
+ * Yield farm multiplier can't be 0.
1715
+ **/
1716
+ InvalidMultiplier: GenericPalletError<Rv>;
1717
+
1718
+ /**
1719
+ * Yield farm with given `amm_pool_id` already exists in global farm.
1720
+ **/
1721
+ YieldFarmAlreadyExists: GenericPalletError<Rv>;
1722
+
1723
+ /**
1724
+ * Loyalty curve's initial reward percentage is not valid. Valid range is: [0, 1).
1725
+ **/
1726
+ InvalidInitialRewardPercentage: GenericPalletError<Rv>;
1727
+
1728
+ /**
1729
+ * One or more yield farms exist in global farm.
1730
+ **/
1731
+ GlobalFarmIsNotEmpty: GenericPalletError<Rv>;
1732
+
1733
+ /**
1734
+ * Farm's `incentivized_asset` is missing in provided asset pair.
1735
+ **/
1736
+ MissingIncentivizedAsset: GenericPalletError<Rv>;
1737
+
1738
+ /**
1739
+ * Reward currency balance is not sufficient.
1740
+ **/
1741
+ InsufficientRewardCurrencyBalance: GenericPalletError<Rv>;
1742
+
1743
+ /**
1744
+ * Blocks per period can't be 0.
1745
+ **/
1746
+ InvalidBlocksPerPeriod: GenericPalletError<Rv>;
1747
+
1748
+ /**
1749
+ * Yield per period can't be 0.
1750
+ **/
1751
+ InvalidYieldPerPeriod: GenericPalletError<Rv>;
1752
+
1753
+ /**
1754
+ * Total rewards is less than `MinTotalFarmRewards`.
1755
+ **/
1756
+ InvalidTotalRewards: GenericPalletError<Rv>;
1757
+
1758
+ /**
1759
+ * Planned yielding periods is less than `MinPlannedYieldingPeriods`.
1760
+ **/
1761
+ InvalidPlannedYieldingPeriods: GenericPalletError<Rv>;
1762
+
1763
+ /**
1764
+ * Maximum number of locks reached for deposit.
1765
+ **/
1766
+ MaxEntriesPerDeposit: GenericPalletError<Rv>;
1767
+
1768
+ /**
1769
+ * Trying to lock LP shares into already locked yield farm.
1770
+ **/
1771
+ DoubleLock: GenericPalletError<Rv>;
1772
+
1773
+ /**
1774
+ * Yield farm entry doesn't exist for given deposit.
1775
+ **/
1776
+ YieldFarmEntryNotFound: GenericPalletError<Rv>;
1777
+
1778
+ /**
1779
+ * Max number of yield farms in global farm was reached. Global farm can't accept new
1780
+ * yield farms until some yield farm is not removed from storage.
1781
+ **/
1782
+ GlobalFarmIsFull: GenericPalletError<Rv>;
1783
+
1784
+ /**
1785
+ * Invalid min. deposit was set for global farm.
1786
+ **/
1787
+ InvalidMinDeposit: GenericPalletError<Rv>;
1788
+
1789
+ /**
1790
+ * Price adjustment multiplier can't be 0.
1791
+ **/
1792
+ InvalidPriceAdjustment: GenericPalletError<Rv>;
1793
+
1794
+ /**
1795
+ * Account creation from id failed.
1796
+ **/
1797
+ ErrorGetAccountId: GenericPalletError<Rv>;
1798
+
1799
+ /**
1800
+ * Value of deposited shares amount in reward currency is bellow min. limit.
1801
+ **/
1802
+ IncorrectValuedShares: GenericPalletError<Rv>;
1803
+
1804
+ /**
1805
+ * `reward_currency` is not registered in asset registry.
1806
+ **/
1807
+ RewardCurrencyNotRegistered: GenericPalletError<Rv>;
1808
+
1809
+ /**
1810
+ * `incentivized_asset` is not registered in asset registry.
1811
+ **/
1812
+ IncentivizedAssetNotRegistered: GenericPalletError<Rv>;
1813
+
1814
+ /**
1815
+ * Action cannot be completed because unexpected error has occurred. This should be reported
1816
+ * to protocol maintainers.
1817
+ **/
1818
+ InconsistentState: GenericPalletError<Rv>;
1819
+
1820
+ /**
1821
+ * Generic pallet error
1822
+ **/
1823
+ [error: string]: GenericPalletError<Rv>;
1824
+ };
1825
+ /**
1826
+ * Pallet `OmnipoolLiquidityMining`'s errors
1827
+ **/
1828
+ omnipoolLiquidityMining: {
1829
+ /**
1830
+ * Asset is not in the omnipool.
1831
+ **/
1832
+ AssetNotFound: GenericPalletError<Rv>;
1833
+
1834
+ /**
1835
+ * Signed account is not owner of the deposit.
1836
+ **/
1837
+ Forbidden: GenericPalletError<Rv>;
1838
+
1839
+ /**
1840
+ * Rewards to claim are 0.
1841
+ **/
1842
+ ZeroClaimedRewards: GenericPalletError<Rv>;
1843
+
1844
+ /**
1845
+ * Action cannot be completed because unexpected error has occurred. This should be reported
1846
+ * to protocol maintainers.
1847
+ **/
1848
+ InconsistentState: GenericPalletError<Rv>;
1849
+
1850
+ /**
1851
+ * Oracle could not be found for requested assets.
1852
+ **/
1853
+ OracleNotAvailable: GenericPalletError<Rv>;
1854
+
1855
+ /**
1856
+ * Oracle providing `price_adjustment` could not be found for requested assets.
1857
+ **/
1858
+ PriceAdjustmentNotAvailable: GenericPalletError<Rv>;
1859
+
1860
+ /**
1861
+ * No farms specified to join
1862
+ **/
1863
+ NoFarmEntriesSpecified: GenericPalletError<Rv>;
1864
+
1865
+ /**
1866
+ * Generic pallet error
1867
+ **/
1868
+ [error: string]: GenericPalletError<Rv>;
1869
+ };
1870
+ /**
1871
+ * Pallet `OTC`'s errors
1872
+ **/
1873
+ otc: {
1874
+ /**
1875
+ * Asset does not exist in registry
1876
+ **/
1877
+ AssetNotRegistered: GenericPalletError<Rv>;
1878
+
1879
+ /**
1880
+ * Order cannot be found
1881
+ **/
1882
+ OrderNotFound: GenericPalletError<Rv>;
1883
+
1884
+ /**
1885
+ * Size of order ID exceeds the bound
1886
+ **/
1887
+ OrderIdOutOfBound: GenericPalletError<Rv>;
1888
+
1889
+ /**
1890
+ * Cannot partially fill an order which is not partially fillable
1891
+ **/
1892
+ OrderNotPartiallyFillable: GenericPalletError<Rv>;
1893
+
1894
+ /**
1895
+ * Order amount_in and amount_out must at all times be greater than the existential deposit
1896
+ * for the asset multiplied by the ExistentialDepositMultiplier.
1897
+ * A fill order may not leave behind amounts smaller than this.
1898
+ **/
1899
+ OrderAmountTooSmall: GenericPalletError<Rv>;
1900
+
1901
+ /**
1902
+ * Error with math calculations
1903
+ **/
1904
+ MathError: GenericPalletError<Rv>;
1905
+
1906
+ /**
1907
+ * The caller does not have permission to complete the action
1908
+ **/
1909
+ Forbidden: GenericPalletError<Rv>;
1910
+
1911
+ /**
1912
+ * Reserved amount not sufficient.
1913
+ **/
1914
+ InsufficientReservedAmount: GenericPalletError<Rv>;
1915
+
1916
+ /**
1917
+ * Generic pallet error
1918
+ **/
1919
+ [error: string]: GenericPalletError<Rv>;
1920
+ };
1921
+ /**
1922
+ * Pallet `CircuitBreaker`'s errors
1923
+ **/
1924
+ circuitBreaker: {
1925
+ /**
1926
+ * Invalid value for a limit. Limit must be non-zero.
1927
+ **/
1928
+ InvalidLimitValue: GenericPalletError<Rv>;
1929
+
1930
+ /**
1931
+ * Allowed liquidity limit is not stored for asset
1932
+ **/
1933
+ LiquidityLimitNotStoredForAsset: GenericPalletError<Rv>;
1934
+
1935
+ /**
1936
+ * Token trade outflow per block has been reached
1937
+ **/
1938
+ TokenOutflowLimitReached: GenericPalletError<Rv>;
1939
+
1940
+ /**
1941
+ * Token trade influx per block has been reached
1942
+ **/
1943
+ TokenInfluxLimitReached: GenericPalletError<Rv>;
1944
+
1945
+ /**
1946
+ * Maximum pool's liquidity limit per block has been reached
1947
+ **/
1948
+ MaxLiquidityLimitPerBlockReached: GenericPalletError<Rv>;
1949
+
1950
+ /**
1951
+ * Asset is not allowed to have a limit
1952
+ **/
1953
+ NotAllowed: GenericPalletError<Rv>;
1954
+
1955
+ /**
1956
+ * Generic pallet error
1957
+ **/
1958
+ [error: string]: GenericPalletError<Rv>;
1959
+ };
1960
+ /**
1961
+ * Pallet `Router`'s errors
1962
+ **/
1963
+ router: {
1964
+ /**
1965
+ * The trading limit has been reached
1966
+ **/
1967
+ TradingLimitReached: GenericPalletError<Rv>;
1968
+
1969
+ /**
1970
+ * The the max number of trades limit is reached
1971
+ **/
1972
+ MaxTradesExceeded: GenericPalletError<Rv>;
1973
+
1974
+ /**
1975
+ * The AMM pool is not supported for executing trades
1976
+ **/
1977
+ PoolNotSupported: GenericPalletError<Rv>;
1978
+
1979
+ /**
1980
+ * The user has not enough balance to execute the trade
1981
+ **/
1982
+ InsufficientBalance: GenericPalletError<Rv>;
1983
+
1984
+ /**
1985
+ * The calculation of route trade amounts failed in the underlying AMM
1986
+ **/
1987
+ RouteCalculationFailed: GenericPalletError<Rv>;
1988
+
1989
+ /**
1990
+ * The route is invalid
1991
+ **/
1992
+ InvalidRoute: GenericPalletError<Rv>;
1993
+
1994
+ /**
1995
+ * The route update was not successful
1996
+ **/
1997
+ RouteUpdateIsNotSuccessful: GenericPalletError<Rv>;
1998
+
1999
+ /**
2000
+ * Route contains assets that has no oracle data
2001
+ **/
2002
+ RouteHasNoOracle: GenericPalletError<Rv>;
2003
+
2004
+ /**
2005
+ * The route execution failed in the underlying AMM
2006
+ **/
2007
+ InvalidRouteExecution: GenericPalletError<Rv>;
2008
+
2009
+ /**
2010
+ * Trading same assets is not allowed.
2011
+ **/
2012
+ NotAllowed: GenericPalletError<Rv>;
2013
+
2014
+ /**
2015
+ * Generic pallet error
2016
+ **/
2017
+ [error: string]: GenericPalletError<Rv>;
2018
+ };
2019
+ /**
2020
+ * Pallet `DynamicFees`'s errors
2021
+ **/
2022
+ dynamicFees: {
2023
+ /**
2024
+ * Generic pallet error
2025
+ **/
2026
+ [error: string]: GenericPalletError<Rv>;
2027
+ };
2028
+ /**
2029
+ * Pallet `Staking`'s errors
2030
+ **/
2031
+ staking: {
2032
+ /**
2033
+ * Balance is too low.
2034
+ **/
2035
+ InsufficientBalance: GenericPalletError<Rv>;
2036
+
2037
+ /**
2038
+ * Staked amount is too low.
2039
+ **/
2040
+ InsufficientStake: GenericPalletError<Rv>;
2041
+
2042
+ /**
2043
+ * Staking position has not been found.
2044
+ **/
2045
+ PositionNotFound: GenericPalletError<Rv>;
2046
+
2047
+ /**
2048
+ * Maximum amount of votes were reached for staking position.
2049
+ **/
2050
+ MaxVotesReached: GenericPalletError<Rv>;
2051
+
2052
+ /**
2053
+ * Staking is not initialized.
2054
+ **/
2055
+ NotInitialized: GenericPalletError<Rv>;
2056
+
2057
+ /**
2058
+ * Staking is already initialized.
2059
+ **/
2060
+ AlreadyInitialized: GenericPalletError<Rv>;
2061
+
2062
+ /**
2063
+ * Arithmetic error.
2064
+ **/
2065
+ Arithmetic: GenericPalletError<Rv>;
2066
+
2067
+ /**
2068
+ * Pot's balance is zero.
2069
+ **/
2070
+ MissingPotBalance: GenericPalletError<Rv>;
2071
+
2072
+ /**
2073
+ * Account's position already exists.
2074
+ **/
2075
+ PositionAlreadyExists: GenericPalletError<Rv>;
2076
+
2077
+ /**
2078
+ * Signer is not an owner of the staking position.
2079
+ **/
2080
+ Forbidden: GenericPalletError<Rv>;
2081
+
2082
+ /**
2083
+ * Position contains registered votes.
2084
+ **/
2085
+ ExistingVotes: GenericPalletError<Rv>;
2086
+
2087
+ /**
2088
+ * Position contains processed votes. Removed these votes first before increasing stake or claiming.
2089
+ **/
2090
+ ExistingProcessedVotes: GenericPalletError<Rv>;
2091
+
2092
+ /**
2093
+ * Action cannot be completed because unexpected error has occurred. This should be reported
2094
+ * to protocol maintainers.
2095
+ **/
2096
+ InconsistentState: GenericPalletError<Rv>;
2097
+
2098
+ /**
2099
+ * Generic pallet error
2100
+ **/
2101
+ [error: string]: GenericPalletError<Rv>;
2102
+ };
2103
+ /**
2104
+ * Pallet `Stableswap`'s errors
2105
+ **/
2106
+ stableswap: {
2107
+ /**
2108
+ * Creating a pool with same assets or less than 2 assets is not allowed.
2109
+ **/
2110
+ IncorrectAssets: GenericPalletError<Rv>;
2111
+
2112
+ /**
2113
+ * Maximum number of assets has been exceeded.
2114
+ **/
2115
+ MaxAssetsExceeded: GenericPalletError<Rv>;
2116
+
2117
+ /**
2118
+ * A pool with given assets does not exist.
2119
+ **/
2120
+ PoolNotFound: GenericPalletError<Rv>;
2121
+
2122
+ /**
2123
+ * A pool with given assets already exists.
2124
+ **/
2125
+ PoolExists: GenericPalletError<Rv>;
2126
+
2127
+ /**
2128
+ * Asset is not in the pool.
2129
+ **/
2130
+ AssetNotInPool: GenericPalletError<Rv>;
2131
+
2132
+ /**
2133
+ * Share asset is not registered in Registry.
2134
+ **/
2135
+ ShareAssetNotRegistered: GenericPalletError<Rv>;
2136
+
2137
+ /**
2138
+ * Share asset is amount assets when creating a pool.
2139
+ **/
2140
+ ShareAssetInPoolAssets: GenericPalletError<Rv>;
2141
+
2142
+ /**
2143
+ * One or more assets are not registered in AssetRegistry
2144
+ **/
2145
+ AssetNotRegistered: GenericPalletError<Rv>;
2146
+
2147
+ /**
2148
+ * Invalid asset amount provided. Amount must be greater than zero.
2149
+ **/
2150
+ InvalidAssetAmount: GenericPalletError<Rv>;
2151
+
2152
+ /**
2153
+ * Balance of an asset is not sufficient to perform a trade.
2154
+ **/
2155
+ InsufficientBalance: GenericPalletError<Rv>;
2156
+
2157
+ /**
2158
+ * Balance of a share asset is not sufficient to withdraw liquidity.
2159
+ **/
2160
+ InsufficientShares: GenericPalletError<Rv>;
2161
+
2162
+ /**
2163
+ * Liquidity has not reached the required minimum.
2164
+ **/
2165
+ InsufficientLiquidity: GenericPalletError<Rv>;
2166
+
2167
+ /**
2168
+ * Insufficient liquidity left in the pool after withdrawal.
2169
+ **/
2170
+ InsufficientLiquidityRemaining: GenericPalletError<Rv>;
2171
+
2172
+ /**
2173
+ * Amount is less than the minimum trading amount configured.
2174
+ **/
2175
+ InsufficientTradingAmount: GenericPalletError<Rv>;
2176
+
2177
+ /**
2178
+ * Minimum limit has not been reached during trade.
2179
+ **/
2180
+ BuyLimitNotReached: GenericPalletError<Rv>;
2181
+
2182
+ /**
2183
+ * Maximum limit has been exceeded during trade.
2184
+ **/
2185
+ SellLimitExceeded: GenericPalletError<Rv>;
2186
+
2187
+ /**
2188
+ * Initial liquidity of asset must be > 0.
2189
+ **/
2190
+ InvalidInitialLiquidity: GenericPalletError<Rv>;
2191
+
2192
+ /**
2193
+ * Amplification is outside configured range.
2194
+ **/
2195
+ InvalidAmplification: GenericPalletError<Rv>;
2196
+
2197
+ /**
2198
+ * Remaining balance of share asset is below asset's existential deposit.
2199
+ **/
2200
+ InsufficientShareBalance: GenericPalletError<Rv>;
2201
+
2202
+ /**
2203
+ * Not allowed to perform an operation on given asset.
2204
+ **/
2205
+ NotAllowed: GenericPalletError<Rv>;
2206
+
2207
+ /**
2208
+ * Future block number is in the past.
2209
+ **/
2210
+ PastBlock: GenericPalletError<Rv>;
2211
+
2212
+ /**
2213
+ * New amplification is equal to the previous value.
2214
+ **/
2215
+ SameAmplification: GenericPalletError<Rv>;
2216
+
2217
+ /**
2218
+ * Slippage protection.
2219
+ **/
2220
+ SlippageLimit: GenericPalletError<Rv>;
2221
+
2222
+ /**
2223
+ * Failed to retrieve asset decimals.
2224
+ **/
2225
+ UnknownDecimals: GenericPalletError<Rv>;
2226
+
2227
+ /**
2228
+ * List of provided pegs is incorrect.
2229
+ **/
2230
+ IncorrectInitialPegs: GenericPalletError<Rv>;
2231
+
2232
+ /**
2233
+ * Failed to retrieve oracle entry.
2234
+ **/
2235
+ MissingTargetPegOracle: GenericPalletError<Rv>;
2236
+
2237
+ /**
2238
+ * Creating pool with pegs is not allowed for asset with different decimals.
2239
+ **/
2240
+ IncorrectAssetDecimals: GenericPalletError<Rv>;
2241
+
2242
+ /**
2243
+ * Generic pallet error
2244
+ **/
2245
+ [error: string]: GenericPalletError<Rv>;
2246
+ };
2247
+ /**
2248
+ * Pallet `Bonds`'s errors
2249
+ **/
2250
+ bonds: {
2251
+ /**
2252
+ * Bond not registered
2253
+ **/
2254
+ NotRegistered: GenericPalletError<Rv>;
2255
+
2256
+ /**
2257
+ * Bond is not mature
2258
+ **/
2259
+ NotMature: GenericPalletError<Rv>;
2260
+
2261
+ /**
2262
+ * Maturity not long enough
2263
+ **/
2264
+ InvalidMaturity: GenericPalletError<Rv>;
2265
+
2266
+ /**
2267
+ * Asset type not allowed for underlying asset
2268
+ **/
2269
+ DisallowedAsset: GenericPalletError<Rv>;
2270
+
2271
+ /**
2272
+ * Asset is not registered in `AssetRegistry`
2273
+ **/
2274
+ AssetNotFound: GenericPalletError<Rv>;
2275
+
2276
+ /**
2277
+ * Generated name is not valid.
2278
+ **/
2279
+ InvalidBondName: GenericPalletError<Rv>;
2280
+
2281
+ /**
2282
+ * Bond's name parsing was now successful
2283
+ **/
2284
+ FailToParseName: GenericPalletError<Rv>;
2285
+
2286
+ /**
2287
+ * Generic pallet error
2288
+ **/
2289
+ [error: string]: GenericPalletError<Rv>;
2290
+ };
2291
+ /**
2292
+ * Pallet `OtcSettlements`'s errors
2293
+ **/
2294
+ otcSettlements: {
2295
+ /**
2296
+ * Otc order not found
2297
+ **/
2298
+ OrderNotFound: GenericPalletError<Rv>;
2299
+
2300
+ /**
2301
+ * OTC order is not partially fillable
2302
+ **/
2303
+ NotPartiallyFillable: GenericPalletError<Rv>;
2304
+
2305
+ /**
2306
+ * Provided route doesn't match the existing route
2307
+ **/
2308
+ InvalidRoute: GenericPalletError<Rv>;
2309
+
2310
+ /**
2311
+ * Initial and final balance are different
2312
+ **/
2313
+ BalanceInconsistency: GenericPalletError<Rv>;
2314
+
2315
+ /**
2316
+ * Trade amount higher than necessary
2317
+ **/
2318
+ TradeAmountTooHigh: GenericPalletError<Rv>;
2319
+
2320
+ /**
2321
+ * Trade amount lower than necessary
2322
+ **/
2323
+ TradeAmountTooLow: GenericPalletError<Rv>;
2324
+
2325
+ /**
2326
+ * Price for a route is not available
2327
+ **/
2328
+ PriceNotAvailable: GenericPalletError<Rv>;
2329
+
2330
+ /**
2331
+ * Generic pallet error
2332
+ **/
2333
+ [error: string]: GenericPalletError<Rv>;
2334
+ };
2335
+ /**
2336
+ * Pallet `LBP`'s errors
2337
+ **/
2338
+ lbp: {
2339
+ /**
2340
+ * Pool assets can not be the same
2341
+ **/
2342
+ CannotCreatePoolWithSameAssets: GenericPalletError<Rv>;
2343
+
2344
+ /**
2345
+ * Account is not a pool owner
2346
+ **/
2347
+ NotOwner: GenericPalletError<Rv>;
2348
+
2349
+ /**
2350
+ * Sale already started
2351
+ **/
2352
+ SaleStarted: GenericPalletError<Rv>;
2353
+
2354
+ /**
2355
+ * Sale is still in progress
2356
+ **/
2357
+ SaleNotEnded: GenericPalletError<Rv>;
2358
+
2359
+ /**
2360
+ * Sale is not running
2361
+ **/
2362
+ SaleIsNotRunning: GenericPalletError<Rv>;
2363
+
2364
+ /**
2365
+ * Sale duration is too long
2366
+ **/
2367
+ MaxSaleDurationExceeded: GenericPalletError<Rv>;
2368
+
2369
+ /**
2370
+ * Liquidity being added should not be zero
2371
+ **/
2372
+ CannotAddZeroLiquidity: GenericPalletError<Rv>;
2373
+
2374
+ /**
2375
+ * Asset balance too low
2376
+ **/
2377
+ InsufficientAssetBalance: GenericPalletError<Rv>;
2378
+
2379
+ /**
2380
+ * Pool does not exist
2381
+ **/
2382
+ PoolNotFound: GenericPalletError<Rv>;
2383
+
2384
+ /**
2385
+ * Pool has been already created
2386
+ **/
2387
+ PoolAlreadyExists: GenericPalletError<Rv>;
2388
+
2389
+ /**
2390
+ * Invalid block range
2391
+ **/
2392
+ InvalidBlockRange: GenericPalletError<Rv>;
2393
+
2394
+ /**
2395
+ * Calculation error
2396
+ **/
2397
+ WeightCalculationError: GenericPalletError<Rv>;
2398
+
2399
+ /**
2400
+ * Weight set is out of range
2401
+ **/
2402
+ InvalidWeight: GenericPalletError<Rv>;
2403
+
2404
+ /**
2405
+ * Can not perform a trade with zero amount
2406
+ **/
2407
+ ZeroAmount: GenericPalletError<Rv>;
2408
+
2409
+ /**
2410
+ * Trade amount is too high
2411
+ **/
2412
+ MaxInRatioExceeded: GenericPalletError<Rv>;
2413
+
2414
+ /**
2415
+ * Trade amount is too high
2416
+ **/
2417
+ MaxOutRatioExceeded: GenericPalletError<Rv>;
2418
+
2419
+ /**
2420
+ * Invalid fee amount
2421
+ **/
2422
+ FeeAmountInvalid: GenericPalletError<Rv>;
2423
+
2424
+ /**
2425
+ * Trading limit reached
2426
+ **/
2427
+ TradingLimitReached: GenericPalletError<Rv>;
2428
+
2429
+ /**
2430
+ * An unexpected integer overflow occurred
2431
+ **/
2432
+ Overflow: GenericPalletError<Rv>;
2433
+
2434
+ /**
2435
+ * Nothing to update
2436
+ **/
2437
+ NothingToUpdate: GenericPalletError<Rv>;
2438
+
2439
+ /**
2440
+ * Liquidity has not reached the required minimum.
2441
+ **/
2442
+ InsufficientLiquidity: GenericPalletError<Rv>;
2443
+
2444
+ /**
2445
+ * Amount is less than minimum trading limit.
2446
+ **/
2447
+ InsufficientTradingAmount: GenericPalletError<Rv>;
2448
+
2449
+ /**
2450
+ * Not more than one fee collector per asset id
2451
+ **/
2452
+ FeeCollectorWithAssetAlreadyUsed: GenericPalletError<Rv>;
2453
+
2454
+ /**
2455
+ * Generic pallet error
2456
+ **/
2457
+ [error: string]: GenericPalletError<Rv>;
2458
+ };
2459
+ /**
2460
+ * Pallet `XYK`'s errors
2461
+ **/
2462
+ xyk: {
2463
+ /**
2464
+ * It is not allowed to create a pool between same assets.
2465
+ **/
2466
+ CannotCreatePoolWithSameAssets: GenericPalletError<Rv>;
2467
+
2468
+ /**
2469
+ * Liquidity has not reached the required minimum.
2470
+ **/
2471
+ InsufficientLiquidity: GenericPalletError<Rv>;
2472
+
2473
+ /**
2474
+ * Amount is less than min trading limit.
2475
+ **/
2476
+ InsufficientTradingAmount: GenericPalletError<Rv>;
2477
+
2478
+ /**
2479
+ * Liquidity is zero.
2480
+ **/
2481
+ ZeroLiquidity: GenericPalletError<Rv>;
2482
+
2483
+ /**
2484
+ * It is not allowed to create a pool with zero initial price.
2485
+ * Not used, kept for backward compatibility
2486
+ **/
2487
+ ZeroInitialPrice: GenericPalletError<Rv>;
2488
+
2489
+ /**
2490
+ * Overflow
2491
+ * Not used, kept for backward compatibility
2492
+ **/
2493
+ CreatePoolAssetAmountInvalid: GenericPalletError<Rv>;
2494
+
2495
+ /**
2496
+ * Overflow
2497
+ **/
2498
+ InvalidMintedLiquidity: GenericPalletError<Rv>;
2499
+
2500
+ /**
2501
+ * Overflow
2502
+ **/
2503
+ InvalidLiquidityAmount: GenericPalletError<Rv>;
2504
+
2505
+ /**
2506
+ * Asset amount has exceeded given limit.
2507
+ **/
2508
+ AssetAmountExceededLimit: GenericPalletError<Rv>;
2509
+
2510
+ /**
2511
+ * Asset amount has not reached given limit.
2512
+ **/
2513
+ AssetAmountNotReachedLimit: GenericPalletError<Rv>;
2514
+
2515
+ /**
2516
+ * Asset balance is not sufficient.
2517
+ **/
2518
+ InsufficientAssetBalance: GenericPalletError<Rv>;
2519
+
2520
+ /**
2521
+ * Not enough asset liquidity in the pool.
2522
+ **/
2523
+ InsufficientPoolAssetBalance: GenericPalletError<Rv>;
2524
+
2525
+ /**
2526
+ * Not enough core asset liquidity in the pool.
2527
+ **/
2528
+ InsufficientNativeCurrencyBalance: GenericPalletError<Rv>;
2529
+
2530
+ /**
2531
+ * Liquidity pool for given assets does not exist.
2532
+ **/
2533
+ TokenPoolNotFound: GenericPalletError<Rv>;
2534
+
2535
+ /**
2536
+ * Liquidity pool for given assets already exists.
2537
+ **/
2538
+ TokenPoolAlreadyExists: GenericPalletError<Rv>;
2539
+
2540
+ /**
2541
+ * Overflow
2542
+ **/
2543
+ AddAssetAmountInvalid: GenericPalletError<Rv>;
2544
+
2545
+ /**
2546
+ * Overflow
2547
+ **/
2548
+ RemoveAssetAmountInvalid: GenericPalletError<Rv>;
2549
+
2550
+ /**
2551
+ * Overflow
2552
+ **/
2553
+ SellAssetAmountInvalid: GenericPalletError<Rv>;
2554
+
2555
+ /**
2556
+ * Overflow
2557
+ **/
2558
+ BuyAssetAmountInvalid: GenericPalletError<Rv>;
2559
+
2560
+ /**
2561
+ * Overflow
2562
+ **/
2563
+ FeeAmountInvalid: GenericPalletError<Rv>;
2564
+
2565
+ /**
2566
+ * Overflow
2567
+ **/
2568
+ CannotApplyDiscount: GenericPalletError<Rv>;
2569
+
2570
+ /**
2571
+ * Max fraction of pool to buy in single transaction has been exceeded.
2572
+ **/
2573
+ MaxOutRatioExceeded: GenericPalletError<Rv>;
2574
+
2575
+ /**
2576
+ * Max fraction of pool to sell in single transaction has been exceeded.
2577
+ **/
2578
+ MaxInRatioExceeded: GenericPalletError<Rv>;
2579
+
2580
+ /**
2581
+ * Overflow
2582
+ **/
2583
+ Overflow: GenericPalletError<Rv>;
2584
+
2585
+ /**
2586
+ * Pool cannot be created due to outside factors.
2587
+ **/
2588
+ CannotCreatePool: GenericPalletError<Rv>;
2589
+
2590
+ /**
2591
+ * Generic pallet error
2592
+ **/
2593
+ [error: string]: GenericPalletError<Rv>;
2594
+ };
2595
+ /**
2596
+ * Pallet `Referrals`'s errors
2597
+ **/
2598
+ referrals: {
2599
+ /**
2600
+ * Referral code is too long.
2601
+ **/
2602
+ TooLong: GenericPalletError<Rv>;
2603
+
2604
+ /**
2605
+ * Referral code is too short.
2606
+ **/
2607
+ TooShort: GenericPalletError<Rv>;
2608
+
2609
+ /**
2610
+ * Referral code contains invalid character. Only alphanumeric characters are allowed.
2611
+ **/
2612
+ InvalidCharacter: GenericPalletError<Rv>;
2613
+
2614
+ /**
2615
+ * Referral code already exists.
2616
+ **/
2617
+ AlreadyExists: GenericPalletError<Rv>;
2618
+
2619
+ /**
2620
+ * Provided referral code is invalid. Either does not exist or is too long.
2621
+ **/
2622
+ InvalidCode: GenericPalletError<Rv>;
2623
+
2624
+ /**
2625
+ * Account is already linked to another referral account.
2626
+ **/
2627
+ AlreadyLinked: GenericPalletError<Rv>;
2628
+
2629
+ /**
2630
+ * Nothing in the referral pot account for the asset.
2631
+ **/
2632
+ ZeroAmount: GenericPalletError<Rv>;
2633
+
2634
+ /**
2635
+ * Linking an account to the same referral account is not allowed.
2636
+ **/
2637
+ LinkNotAllowed: GenericPalletError<Rv>;
2638
+
2639
+ /**
2640
+ * Calculated rewards are more than the fee amount. This can happen if percentages are incorrectly set.
2641
+ **/
2642
+ IncorrectRewardCalculation: GenericPalletError<Rv>;
2643
+
2644
+ /**
2645
+ * Given referrer and trader percentages exceeds 100% percent.
2646
+ **/
2647
+ IncorrectRewardPercentage: GenericPalletError<Rv>;
2648
+
2649
+ /**
2650
+ * The account has already a code registered.
2651
+ **/
2652
+ AlreadyRegistered: GenericPalletError<Rv>;
2653
+
2654
+ /**
2655
+ * Price for given asset pair not found.
2656
+ **/
2657
+ PriceNotFound: GenericPalletError<Rv>;
2658
+
2659
+ /**
2660
+ * Minimum trading amount for conversion has not been reached.
2661
+ **/
2662
+ ConversionMinTradingAmountNotReached: GenericPalletError<Rv>;
2663
+
2664
+ /**
2665
+ * Zero amount received from conversion.
2666
+ **/
2667
+ ConversionZeroAmountReceived: GenericPalletError<Rv>;
2668
+
2669
+ /**
2670
+ * Generic pallet error
2671
+ **/
2672
+ [error: string]: GenericPalletError<Rv>;
2673
+ };
2674
+ /**
2675
+ * Pallet `Liquidation`'s errors
2676
+ **/
2677
+ liquidation: {
2678
+ /**
2679
+ * AssetId to EVM address conversion failed
2680
+ **/
2681
+ AssetConversionFailed: GenericPalletError<Rv>;
2682
+
2683
+ /**
2684
+ * Liquidation call failed
2685
+ **/
2686
+ LiquidationCallFailed: GenericPalletError<Rv>;
2687
+
2688
+ /**
2689
+ * Provided route doesn't match the existing route
2690
+ **/
2691
+ InvalidRoute: GenericPalletError<Rv>;
2692
+
2693
+ /**
2694
+ * Liquidation was not profitable enough to repay flash loan
2695
+ **/
2696
+ NotProfitable: GenericPalletError<Rv>;
2697
+
2698
+ /**
2699
+ * Generic pallet error
2700
+ **/
2701
+ [error: string]: GenericPalletError<Rv>;
2702
+ };
2703
+ /**
2704
+ * Pallet `Tokens`'s errors
2705
+ **/
2706
+ tokens: {
2707
+ /**
2708
+ * The balance is too low
2709
+ **/
2710
+ BalanceTooLow: GenericPalletError<Rv>;
2711
+
2712
+ /**
2713
+ * Cannot convert Amount into Balance type
2714
+ **/
2715
+ AmountIntoBalanceFailed: GenericPalletError<Rv>;
2716
+
2717
+ /**
2718
+ * Failed because liquidity restrictions due to locking
2719
+ **/
2720
+ LiquidityRestrictions: GenericPalletError<Rv>;
2721
+
2722
+ /**
2723
+ * Failed because the maximum locks was exceeded
2724
+ **/
2725
+ MaxLocksExceeded: GenericPalletError<Rv>;
2726
+
2727
+ /**
2728
+ * Transfer/payment would kill account
2729
+ **/
2730
+ KeepAlive: GenericPalletError<Rv>;
2731
+
2732
+ /**
2733
+ * Value too low to create account due to existential deposit
2734
+ **/
2735
+ ExistentialDeposit: GenericPalletError<Rv>;
2736
+
2737
+ /**
2738
+ * Beneficiary account must pre-exist
2739
+ **/
2740
+ DeadAccount: GenericPalletError<Rv>;
2741
+ TooManyReserves: GenericPalletError<Rv>;
2742
+
2743
+ /**
2744
+ * Generic pallet error
2745
+ **/
2746
+ [error: string]: GenericPalletError<Rv>;
2747
+ };
2748
+ /**
2749
+ * Pallet `Currencies`'s errors
2750
+ **/
2751
+ currencies: {
2752
+ /**
2753
+ * Unable to convert the Amount type into Balance.
2754
+ **/
2755
+ AmountIntoBalanceFailed: GenericPalletError<Rv>;
2756
+
2757
+ /**
2758
+ * Balance is too low.
2759
+ **/
2760
+ BalanceTooLow: GenericPalletError<Rv>;
2761
+
2762
+ /**
2763
+ * Deposit result is not expected
2764
+ **/
2765
+ DepositFailed: GenericPalletError<Rv>;
2766
+
2767
+ /**
2768
+ * Operation is not supported for this currency
2769
+ **/
2770
+ NotSupported: GenericPalletError<Rv>;
2771
+
2772
+ /**
2773
+ * Generic pallet error
2774
+ **/
2775
+ [error: string]: GenericPalletError<Rv>;
2776
+ };
2777
+ /**
2778
+ * Pallet `Vesting`'s errors
2779
+ **/
2780
+ vesting: {
2781
+ /**
2782
+ * Vesting period is zero
2783
+ **/
2784
+ ZeroVestingPeriod: GenericPalletError<Rv>;
2785
+
2786
+ /**
2787
+ * Number of vests is zero
2788
+ **/
2789
+ ZeroVestingPeriodCount: GenericPalletError<Rv>;
2790
+
2791
+ /**
2792
+ * Insufficient amount of balance to lock
2793
+ **/
2794
+ InsufficientBalanceToLock: GenericPalletError<Rv>;
2795
+
2796
+ /**
2797
+ * This account have too many vesting schedules
2798
+ **/
2799
+ TooManyVestingSchedules: GenericPalletError<Rv>;
2800
+
2801
+ /**
2802
+ * The vested transfer amount is too low
2803
+ **/
2804
+ AmountLow: GenericPalletError<Rv>;
2805
+
2806
+ /**
2807
+ * Failed because the maximum vesting schedules was exceeded
2808
+ **/
2809
+ MaxVestingSchedulesExceeded: GenericPalletError<Rv>;
2810
+
2811
+ /**
2812
+ * Generic pallet error
2813
+ **/
2814
+ [error: string]: GenericPalletError<Rv>;
2815
+ };
2816
+ /**
2817
+ * Pallet `EVM`'s errors
2818
+ **/
2819
+ evm: {
2820
+ /**
2821
+ * Not enough balance to perform action
2822
+ **/
2823
+ BalanceLow: GenericPalletError<Rv>;
2824
+
2825
+ /**
2826
+ * Calculating total fee overflowed
2827
+ **/
2828
+ FeeOverflow: GenericPalletError<Rv>;
2829
+
2830
+ /**
2831
+ * Calculating total payment overflowed
2832
+ **/
2833
+ PaymentOverflow: GenericPalletError<Rv>;
2834
+
2835
+ /**
2836
+ * Withdraw fee failed
2837
+ **/
2838
+ WithdrawFailed: GenericPalletError<Rv>;
2839
+
2840
+ /**
2841
+ * Gas price is too low.
2842
+ **/
2843
+ GasPriceTooLow: GenericPalletError<Rv>;
2844
+
2845
+ /**
2846
+ * Nonce is invalid
2847
+ **/
2848
+ InvalidNonce: GenericPalletError<Rv>;
2849
+
2850
+ /**
2851
+ * Gas limit is too low.
2852
+ **/
2853
+ GasLimitTooLow: GenericPalletError<Rv>;
2854
+
2855
+ /**
2856
+ * Gas limit is too high.
2857
+ **/
2858
+ GasLimitTooHigh: GenericPalletError<Rv>;
2859
+
2860
+ /**
2861
+ * The chain id is invalid.
2862
+ **/
2863
+ InvalidChainId: GenericPalletError<Rv>;
2864
+
2865
+ /**
2866
+ * the signature is invalid.
2867
+ **/
2868
+ InvalidSignature: GenericPalletError<Rv>;
2869
+
2870
+ /**
2871
+ * EVM reentrancy
2872
+ **/
2873
+ Reentrancy: GenericPalletError<Rv>;
2874
+
2875
+ /**
2876
+ * EIP-3607,
2877
+ **/
2878
+ TransactionMustComeFromEOA: GenericPalletError<Rv>;
2879
+
2880
+ /**
2881
+ * Undefined error.
2882
+ **/
2883
+ Undefined: GenericPalletError<Rv>;
2884
+
2885
+ /**
2886
+ * Generic pallet error
2887
+ **/
2888
+ [error: string]: GenericPalletError<Rv>;
2889
+ };
2890
+ /**
2891
+ * Pallet `Ethereum`'s errors
2892
+ **/
2893
+ ethereum: {
2894
+ /**
2895
+ * Signature is invalid.
2896
+ **/
2897
+ InvalidSignature: GenericPalletError<Rv>;
2898
+
2899
+ /**
2900
+ * Pre-log is present, therefore transact is not allowed.
2901
+ **/
2902
+ PreLogExists: GenericPalletError<Rv>;
2903
+
2904
+ /**
2905
+ * Generic pallet error
2906
+ **/
2907
+ [error: string]: GenericPalletError<Rv>;
2908
+ };
2909
+ /**
2910
+ * Pallet `EVMAccounts`'s errors
2911
+ **/
2912
+ evmAccounts: {
2913
+ /**
2914
+ * Active EVM account cannot be bound
2915
+ **/
2916
+ TruncatedAccountAlreadyUsed: GenericPalletError<Rv>;
2917
+
2918
+ /**
2919
+ * Address is already bound
2920
+ **/
2921
+ AddressAlreadyBound: GenericPalletError<Rv>;
2922
+
2923
+ /**
2924
+ * Bound address cannot be used
2925
+ **/
2926
+ BoundAddressCannotBeUsed: GenericPalletError<Rv>;
2927
+
2928
+ /**
2929
+ * Address not whitelisted
2930
+ **/
2931
+ AddressNotWhitelisted: GenericPalletError<Rv>;
2932
+
2933
+ /**
2934
+ * Generic pallet error
2935
+ **/
2936
+ [error: string]: GenericPalletError<Rv>;
2937
+ };
2938
+ /**
2939
+ * Pallet `XYKLiquidityMining`'s errors
2940
+ **/
2941
+ xykLiquidityMining: {
2942
+ /**
2943
+ * Nft pallet didn't return an owner.
2944
+ **/
2945
+ CantFindDepositOwner: GenericPalletError<Rv>;
2946
+
2947
+ /**
2948
+ * Account balance of XYK pool shares is not sufficient.
2949
+ **/
2950
+ InsufficientXykSharesBalance: GenericPalletError<Rv>;
2951
+
2952
+ /**
2953
+ * XYK pool does not exist
2954
+ **/
2955
+ XykPoolDoesntExist: GenericPalletError<Rv>;
2956
+
2957
+ /**
2958
+ * Account is not deposit owner.
2959
+ **/
2960
+ NotDepositOwner: GenericPalletError<Rv>;
2961
+
2962
+ /**
2963
+ * XYK did not return assets for given pool id
2964
+ **/
2965
+ CantGetXykAssets: GenericPalletError<Rv>;
2966
+
2967
+ /**
2968
+ * Deposit data not found
2969
+ **/
2970
+ DepositDataNotFound: GenericPalletError<Rv>;
2971
+
2972
+ /**
2973
+ * Calculated reward to claim is 0.
2974
+ **/
2975
+ ZeroClaimedRewards: GenericPalletError<Rv>;
2976
+
2977
+ /**
2978
+ * Asset is not in the `AssetPair`.
2979
+ **/
2980
+ AssetNotInAssetPair: GenericPalletError<Rv>;
2981
+
2982
+ /**
2983
+ * Provided `AssetPair` is not used by the deposit.
2984
+ **/
2985
+ InvalidAssetPair: GenericPalletError<Rv>;
2986
+
2987
+ /**
2988
+ * Asset is not registered in asset registry.
2989
+ **/
2990
+ AssetNotRegistered: GenericPalletError<Rv>;
2991
+
2992
+ /**
2993
+ * Failed to calculate `pot`'s account.
2994
+ **/
2995
+ FailToGetPotId: GenericPalletError<Rv>;
2996
+
2997
+ /**
2998
+ * No global farm - yield farm pairs specified to join
2999
+ **/
3000
+ NoFarmsSpecified: GenericPalletError<Rv>;
3001
+
3002
+ /**
3003
+ * Generic pallet error
3004
+ **/
3005
+ [error: string]: GenericPalletError<Rv>;
3006
+ };
3007
+ /**
3008
+ * Pallet `XYKWarehouseLM`'s errors
3009
+ **/
3010
+ xykWarehouseLM: {
3011
+ /**
3012
+ * Global farm does not exist.
3013
+ **/
3014
+ GlobalFarmNotFound: GenericPalletError<Rv>;
3015
+
3016
+ /**
3017
+ * Yield farm does not exist.
3018
+ **/
3019
+ YieldFarmNotFound: GenericPalletError<Rv>;
3020
+
3021
+ /**
3022
+ * Multiple claims in the same period is not allowed.
3023
+ **/
3024
+ DoubleClaimInPeriod: GenericPalletError<Rv>;
3025
+
3026
+ /**
3027
+ * Liquidity mining is canceled.
3028
+ **/
3029
+ LiquidityMiningCanceled: GenericPalletError<Rv>;
3030
+
3031
+ /**
3032
+ * Liquidity mining is not canceled.
3033
+ **/
3034
+ LiquidityMiningIsActive: GenericPalletError<Rv>;
3035
+
3036
+ /**
3037
+ * Liquidity mining is in `active` or `terminated` state and action cannot be completed.
3038
+ **/
3039
+ LiquidityMiningIsNotStopped: GenericPalletError<Rv>;
3040
+
3041
+ /**
3042
+ * LP shares amount is not valid.
3043
+ **/
3044
+ InvalidDepositAmount: GenericPalletError<Rv>;
3045
+
3046
+ /**
3047
+ * Account is not allowed to perform action.
3048
+ **/
3049
+ Forbidden: GenericPalletError<Rv>;
3050
+
3051
+ /**
3052
+ * Yield farm multiplier can't be 0.
3053
+ **/
3054
+ InvalidMultiplier: GenericPalletError<Rv>;
3055
+
3056
+ /**
3057
+ * Yield farm with given `amm_pool_id` already exists in global farm.
3058
+ **/
3059
+ YieldFarmAlreadyExists: GenericPalletError<Rv>;
3060
+
3061
+ /**
3062
+ * Loyalty curve's initial reward percentage is not valid. Valid range is: [0, 1).
3063
+ **/
3064
+ InvalidInitialRewardPercentage: GenericPalletError<Rv>;
3065
+
3066
+ /**
3067
+ * One or more yield farms exist in global farm.
3068
+ **/
3069
+ GlobalFarmIsNotEmpty: GenericPalletError<Rv>;
3070
+
3071
+ /**
3072
+ * Farm's `incentivized_asset` is missing in provided asset pair.
3073
+ **/
3074
+ MissingIncentivizedAsset: GenericPalletError<Rv>;
3075
+
3076
+ /**
3077
+ * Reward currency balance is not sufficient.
3078
+ **/
3079
+ InsufficientRewardCurrencyBalance: GenericPalletError<Rv>;
3080
+
3081
+ /**
3082
+ * Blocks per period can't be 0.
3083
+ **/
3084
+ InvalidBlocksPerPeriod: GenericPalletError<Rv>;
3085
+
3086
+ /**
3087
+ * Yield per period can't be 0.
3088
+ **/
3089
+ InvalidYieldPerPeriod: GenericPalletError<Rv>;
3090
+
3091
+ /**
3092
+ * Total rewards is less than `MinTotalFarmRewards`.
3093
+ **/
3094
+ InvalidTotalRewards: GenericPalletError<Rv>;
3095
+
3096
+ /**
3097
+ * Planned yielding periods is less than `MinPlannedYieldingPeriods`.
3098
+ **/
3099
+ InvalidPlannedYieldingPeriods: GenericPalletError<Rv>;
3100
+
3101
+ /**
3102
+ * Maximum number of locks reached for deposit.
3103
+ **/
3104
+ MaxEntriesPerDeposit: GenericPalletError<Rv>;
3105
+
3106
+ /**
3107
+ * Trying to lock LP shares into already locked yield farm.
3108
+ **/
3109
+ DoubleLock: GenericPalletError<Rv>;
3110
+
3111
+ /**
3112
+ * Yield farm entry doesn't exist for given deposit.
3113
+ **/
3114
+ YieldFarmEntryNotFound: GenericPalletError<Rv>;
3115
+
3116
+ /**
3117
+ * Max number of yield farms in global farm was reached. Global farm can't accept new
3118
+ * yield farms until some yield farm is not removed from storage.
3119
+ **/
3120
+ GlobalFarmIsFull: GenericPalletError<Rv>;
3121
+
3122
+ /**
3123
+ * Invalid min. deposit was set for global farm.
3124
+ **/
3125
+ InvalidMinDeposit: GenericPalletError<Rv>;
3126
+
3127
+ /**
3128
+ * Price adjustment multiplier can't be 0.
3129
+ **/
3130
+ InvalidPriceAdjustment: GenericPalletError<Rv>;
3131
+
3132
+ /**
3133
+ * Account creation from id failed.
3134
+ **/
3135
+ ErrorGetAccountId: GenericPalletError<Rv>;
3136
+
3137
+ /**
3138
+ * Value of deposited shares amount in reward currency is bellow min. limit.
3139
+ **/
3140
+ IncorrectValuedShares: GenericPalletError<Rv>;
3141
+
3142
+ /**
3143
+ * `reward_currency` is not registered in asset registry.
3144
+ **/
3145
+ RewardCurrencyNotRegistered: GenericPalletError<Rv>;
3146
+
3147
+ /**
3148
+ * `incentivized_asset` is not registered in asset registry.
3149
+ **/
3150
+ IncentivizedAssetNotRegistered: GenericPalletError<Rv>;
3151
+
3152
+ /**
3153
+ * Action cannot be completed because unexpected error has occurred. This should be reported
3154
+ * to protocol maintainers.
3155
+ **/
3156
+ InconsistentState: GenericPalletError<Rv>;
3157
+
3158
+ /**
3159
+ * Generic pallet error
3160
+ **/
3161
+ [error: string]: GenericPalletError<Rv>;
3162
+ };
3163
+ /**
3164
+ * Pallet `RelayChainInfo`'s errors
3165
+ **/
3166
+ relayChainInfo: {
3167
+ /**
3168
+ * Generic pallet error
3169
+ **/
3170
+ [error: string]: GenericPalletError<Rv>;
3171
+ };
3172
+ /**
3173
+ * Pallet `DCA`'s errors
3174
+ **/
3175
+ dca: {
3176
+ /**
3177
+ * Schedule not exist
3178
+ **/
3179
+ ScheduleNotFound: GenericPalletError<Rv>;
3180
+
3181
+ /**
3182
+ * The min trade amount is not reached
3183
+ **/
3184
+ MinTradeAmountNotReached: GenericPalletError<Rv>;
3185
+
3186
+ /**
3187
+ * Forbidden as the user is not the owner of the schedule
3188
+ **/
3189
+ Forbidden: GenericPalletError<Rv>;
3190
+
3191
+ /**
3192
+ * The next execution block number is not in the future
3193
+ **/
3194
+ BlockNumberIsNotInFuture: GenericPalletError<Rv>;
3195
+
3196
+ /**
3197
+ * Price is unstable as price change from oracle data is bigger than max allowed
3198
+ **/
3199
+ PriceUnstable: GenericPalletError<Rv>;
3200
+
3201
+ /**
3202
+ * Order was randomly rescheduled to next block
3203
+ **/
3204
+ Bumped: GenericPalletError<Rv>;
3205
+
3206
+ /**
3207
+ * Error occurred when calculating price
3208
+ **/
3209
+ CalculatingPriceError: GenericPalletError<Rv>;
3210
+
3211
+ /**
3212
+ * The total amount to be reserved is smaller than min budget
3213
+ **/
3214
+ TotalAmountIsSmallerThanMinBudget: GenericPalletError<Rv>;
3215
+
3216
+ /**
3217
+ * The budget is too low for executing at least two orders
3218
+ **/
3219
+ BudgetTooLow: GenericPalletError<Rv>;
3220
+
3221
+ /**
3222
+ * There is no free block found to plan DCA execution
3223
+ **/
3224
+ NoFreeBlockFound: GenericPalletError<Rv>;
3225
+
3226
+ /**
3227
+ * The DCA schedule has been manually terminated
3228
+ **/
3229
+ ManuallyTerminated: GenericPalletError<Rv>;
3230
+
3231
+ /**
3232
+ * Max number of retries reached for schedule
3233
+ **/
3234
+ MaxRetryReached: GenericPalletError<Rv>;
3235
+
3236
+ /**
3237
+ * Absolutely trade limit reached, leading to retry
3238
+ **/
3239
+ TradeLimitReached: GenericPalletError<Rv>;
3240
+
3241
+ /**
3242
+ * Slippage limit calculated from oracle is reached, leading to retry
3243
+ **/
3244
+ SlippageLimitReached: GenericPalletError<Rv>;
3245
+
3246
+ /**
3247
+ * No parent hash has been found from relay chain
3248
+ **/
3249
+ NoParentHashFound: GenericPalletError<Rv>;
3250
+
3251
+ /**
3252
+ * Error that should not really happen only in case of invalid state of the schedule storage entries
3253
+ **/
3254
+ InvalidState: GenericPalletError<Rv>;
3255
+
3256
+ /**
3257
+ * Period should be longer than 5 blocks
3258
+ **/
3259
+ PeriodTooShort: GenericPalletError<Rv>;
3260
+
3261
+ /**
3262
+ * Stability threshold cannot be higher than `MaxConfigurablePriceDifferenceBetweenBlock`
3263
+ **/
3264
+ StabilityThresholdTooHigh: GenericPalletError<Rv>;
3265
+
3266
+ /**
3267
+ * Generic pallet error
3268
+ **/
3269
+ [error: string]: GenericPalletError<Rv>;
3270
+ };
3271
+ /**
3272
+ * Pallet `Scheduler`'s errors
3273
+ **/
3274
+ scheduler: {
3275
+ /**
3276
+ * Failed to schedule a call
3277
+ **/
3278
+ FailedToSchedule: GenericPalletError<Rv>;
3279
+
3280
+ /**
3281
+ * Cannot find the scheduled call.
3282
+ **/
3283
+ NotFound: GenericPalletError<Rv>;
3284
+
3285
+ /**
3286
+ * Given target block number is in the past.
3287
+ **/
3288
+ TargetBlockNumberInPast: GenericPalletError<Rv>;
3289
+
3290
+ /**
3291
+ * Reschedule failed because it does not change scheduled time.
3292
+ **/
3293
+ RescheduleNoChange: GenericPalletError<Rv>;
3294
+
3295
+ /**
3296
+ * Attempt to use a non-named function on a named task.
3297
+ **/
3298
+ Named: GenericPalletError<Rv>;
3299
+
3300
+ /**
3301
+ * Generic pallet error
3302
+ **/
3303
+ [error: string]: GenericPalletError<Rv>;
3304
+ };
3305
+ /**
3306
+ * Pallet `ParachainSystem`'s errors
3307
+ **/
3308
+ parachainSystem: {
3309
+ /**
3310
+ * Attempt to upgrade validation function while existing upgrade pending.
3311
+ **/
3312
+ OverlappingUpgrades: GenericPalletError<Rv>;
3313
+
3314
+ /**
3315
+ * Polkadot currently prohibits this parachain from upgrading its validation function.
3316
+ **/
3317
+ ProhibitedByPolkadot: GenericPalletError<Rv>;
3318
+
3319
+ /**
3320
+ * The supplied validation function has compiled into a blob larger than Polkadot is
3321
+ * willing to run.
3322
+ **/
3323
+ TooBig: GenericPalletError<Rv>;
3324
+
3325
+ /**
3326
+ * The inherent which supplies the validation data did not run this block.
3327
+ **/
3328
+ ValidationDataNotAvailable: GenericPalletError<Rv>;
3329
+
3330
+ /**
3331
+ * The inherent which supplies the host configuration did not run this block.
3332
+ **/
3333
+ HostConfigurationNotAvailable: GenericPalletError<Rv>;
3334
+
3335
+ /**
3336
+ * No validation function upgrade is currently scheduled.
3337
+ **/
3338
+ NotScheduled: GenericPalletError<Rv>;
3339
+
3340
+ /**
3341
+ * No code upgrade has been authorized.
3342
+ **/
3343
+ NothingAuthorized: GenericPalletError<Rv>;
3344
+
3345
+ /**
3346
+ * The given code upgrade has not been authorized.
3347
+ **/
3348
+ Unauthorized: GenericPalletError<Rv>;
3349
+
3350
+ /**
3351
+ * Generic pallet error
3352
+ **/
3353
+ [error: string]: GenericPalletError<Rv>;
3354
+ };
3355
+ /**
3356
+ * Pallet `PolkadotXcm`'s errors
3357
+ **/
3358
+ polkadotXcm: {
3359
+ /**
3360
+ * The desired destination was unreachable, generally because there is a no way of routing
3361
+ * to it.
3362
+ **/
3363
+ Unreachable: GenericPalletError<Rv>;
3364
+
3365
+ /**
3366
+ * There was some other issue (i.e. not to do with routing) in sending the message.
3367
+ * Perhaps a lack of space for buffering the message.
3368
+ **/
3369
+ SendFailure: GenericPalletError<Rv>;
3370
+
3371
+ /**
3372
+ * The message execution fails the filter.
3373
+ **/
3374
+ Filtered: GenericPalletError<Rv>;
3375
+
3376
+ /**
3377
+ * The message's weight could not be determined.
3378
+ **/
3379
+ UnweighableMessage: GenericPalletError<Rv>;
3380
+
3381
+ /**
3382
+ * The destination `Location` provided cannot be inverted.
3383
+ **/
3384
+ DestinationNotInvertible: GenericPalletError<Rv>;
3385
+
3386
+ /**
3387
+ * The assets to be sent are empty.
3388
+ **/
3389
+ Empty: GenericPalletError<Rv>;
3390
+
3391
+ /**
3392
+ * Could not re-anchor the assets to declare the fees for the destination chain.
3393
+ **/
3394
+ CannotReanchor: GenericPalletError<Rv>;
3395
+
3396
+ /**
3397
+ * Too many assets have been attempted for transfer.
3398
+ **/
3399
+ TooManyAssets: GenericPalletError<Rv>;
3400
+
3401
+ /**
3402
+ * Origin is invalid for sending.
3403
+ **/
3404
+ InvalidOrigin: GenericPalletError<Rv>;
3405
+
3406
+ /**
3407
+ * The version of the `Versioned` value used is not able to be interpreted.
3408
+ **/
3409
+ BadVersion: GenericPalletError<Rv>;
3410
+
3411
+ /**
3412
+ * The given location could not be used (e.g. because it cannot be expressed in the
3413
+ * desired version of XCM).
3414
+ **/
3415
+ BadLocation: GenericPalletError<Rv>;
3416
+
3417
+ /**
3418
+ * The referenced subscription could not be found.
3419
+ **/
3420
+ NoSubscription: GenericPalletError<Rv>;
3421
+
3422
+ /**
3423
+ * The location is invalid since it already has a subscription from us.
3424
+ **/
3425
+ AlreadySubscribed: GenericPalletError<Rv>;
3426
+
3427
+ /**
3428
+ * Could not check-out the assets for teleportation to the destination chain.
3429
+ **/
3430
+ CannotCheckOutTeleport: GenericPalletError<Rv>;
3431
+
3432
+ /**
3433
+ * The owner does not own (all) of the asset that they wish to do the operation on.
3434
+ **/
3435
+ LowBalance: GenericPalletError<Rv>;
3436
+
3437
+ /**
3438
+ * The asset owner has too many locks on the asset.
3439
+ **/
3440
+ TooManyLocks: GenericPalletError<Rv>;
3441
+
3442
+ /**
3443
+ * The given account is not an identifiable sovereign account for any location.
3444
+ **/
3445
+ AccountNotSovereign: GenericPalletError<Rv>;
3446
+
3447
+ /**
3448
+ * The operation required fees to be paid which the initiator could not meet.
3449
+ **/
3450
+ FeesNotMet: GenericPalletError<Rv>;
3451
+
3452
+ /**
3453
+ * A remote lock with the corresponding data could not be found.
3454
+ **/
3455
+ LockNotFound: GenericPalletError<Rv>;
3456
+
3457
+ /**
3458
+ * The unlock operation cannot succeed because there are still consumers of the lock.
3459
+ **/
3460
+ InUse: GenericPalletError<Rv>;
3461
+
3462
+ /**
3463
+ * Invalid asset, reserve chain could not be determined for it.
3464
+ **/
3465
+ InvalidAssetUnknownReserve: GenericPalletError<Rv>;
3466
+
3467
+ /**
3468
+ * Invalid asset, do not support remote asset reserves with different fees reserves.
3469
+ **/
3470
+ InvalidAssetUnsupportedReserve: GenericPalletError<Rv>;
3471
+
3472
+ /**
3473
+ * Too many assets with different reserve locations have been attempted for transfer.
3474
+ **/
3475
+ TooManyReserves: GenericPalletError<Rv>;
3476
+
3477
+ /**
3478
+ * Local XCM execution incomplete.
3479
+ **/
3480
+ LocalExecutionIncomplete: GenericPalletError<Rv>;
3481
+
3482
+ /**
3483
+ * Generic pallet error
3484
+ **/
3485
+ [error: string]: GenericPalletError<Rv>;
3486
+ };
3487
+ /**
3488
+ * Pallet `XcmpQueue`'s errors
3489
+ **/
3490
+ xcmpQueue: {
3491
+ /**
3492
+ * Setting the queue config failed since one of its values was invalid.
3493
+ **/
3494
+ BadQueueConfig: GenericPalletError<Rv>;
3495
+
3496
+ /**
3497
+ * The execution is already suspended.
3498
+ **/
3499
+ AlreadySuspended: GenericPalletError<Rv>;
3500
+
3501
+ /**
3502
+ * The execution is already resumed.
3503
+ **/
3504
+ AlreadyResumed: GenericPalletError<Rv>;
3505
+
3506
+ /**
3507
+ * There are too many active outbound channels.
3508
+ **/
3509
+ TooManyActiveOutboundChannels: GenericPalletError<Rv>;
3510
+
3511
+ /**
3512
+ * The message is too big.
3513
+ **/
3514
+ TooBig: GenericPalletError<Rv>;
3515
+
3516
+ /**
3517
+ * Generic pallet error
3518
+ **/
3519
+ [error: string]: GenericPalletError<Rv>;
3520
+ };
3521
+ /**
3522
+ * Pallet `MessageQueue`'s errors
3523
+ **/
3524
+ messageQueue: {
3525
+ /**
3526
+ * Page is not reapable because it has items remaining to be processed and is not old
3527
+ * enough.
3528
+ **/
3529
+ NotReapable: GenericPalletError<Rv>;
3530
+
3531
+ /**
3532
+ * Page to be reaped does not exist.
3533
+ **/
3534
+ NoPage: GenericPalletError<Rv>;
3535
+
3536
+ /**
3537
+ * The referenced message could not be found.
3538
+ **/
3539
+ NoMessage: GenericPalletError<Rv>;
3540
+
3541
+ /**
3542
+ * The message was already processed and cannot be processed again.
3543
+ **/
3544
+ AlreadyProcessed: GenericPalletError<Rv>;
3545
+
3546
+ /**
3547
+ * The message is queued for future execution.
3548
+ **/
3549
+ Queued: GenericPalletError<Rv>;
3550
+
3551
+ /**
3552
+ * There is temporarily not enough weight to continue servicing messages.
3553
+ **/
3554
+ InsufficientWeight: GenericPalletError<Rv>;
3555
+
3556
+ /**
3557
+ * This message is temporarily unprocessable.
3558
+ *
3559
+ * Such errors are expected, but not guaranteed, to resolve themselves eventually through
3560
+ * retrying.
3561
+ **/
3562
+ TemporarilyUnprocessable: GenericPalletError<Rv>;
3563
+
3564
+ /**
3565
+ * The queue is paused and no message can be executed from it.
3566
+ *
3567
+ * This can change at any time and may resolve in the future by re-trying.
3568
+ **/
3569
+ QueuePaused: GenericPalletError<Rv>;
3570
+
3571
+ /**
3572
+ * Another call is in progress and needs to finish before this call can happen.
3573
+ **/
3574
+ RecursiveDisallowed: GenericPalletError<Rv>;
3575
+
3576
+ /**
3577
+ * Generic pallet error
3578
+ **/
3579
+ [error: string]: GenericPalletError<Rv>;
3580
+ };
3581
+ /**
3582
+ * Pallet `OrmlXcm`'s errors
3583
+ **/
3584
+ ormlXcm: {
3585
+ /**
3586
+ * The message and destination combination was not recognized as being
3587
+ * reachable.
3588
+ **/
3589
+ Unreachable: GenericPalletError<Rv>;
3590
+
3591
+ /**
3592
+ * The message and destination was recognized as being reachable but
3593
+ * the operation could not be completed.
3594
+ **/
3595
+ SendFailure: GenericPalletError<Rv>;
3596
+
3597
+ /**
3598
+ * The version of the `Versioned` value used is not able to be
3599
+ * interpreted.
3600
+ **/
3601
+ BadVersion: GenericPalletError<Rv>;
3602
+
3603
+ /**
3604
+ * Generic pallet error
3605
+ **/
3606
+ [error: string]: GenericPalletError<Rv>;
3607
+ };
3608
+ /**
3609
+ * Pallet `XTokens`'s errors
3610
+ **/
3611
+ xTokens: {
3612
+ /**
3613
+ * Asset has no reserve location.
3614
+ **/
3615
+ AssetHasNoReserve: GenericPalletError<Rv>;
3616
+
3617
+ /**
3618
+ * Not cross-chain transfer.
3619
+ **/
3620
+ NotCrossChainTransfer: GenericPalletError<Rv>;
3621
+
3622
+ /**
3623
+ * Invalid transfer destination.
3624
+ **/
3625
+ InvalidDest: GenericPalletError<Rv>;
3626
+
3627
+ /**
3628
+ * Currency is not cross-chain transferable.
3629
+ **/
3630
+ NotCrossChainTransferableCurrency: GenericPalletError<Rv>;
3631
+
3632
+ /**
3633
+ * The message's weight could not be determined.
3634
+ **/
3635
+ UnweighableMessage: GenericPalletError<Rv>;
3636
+
3637
+ /**
3638
+ * XCM execution failed.
3639
+ **/
3640
+ XcmExecutionFailed: GenericPalletError<Rv>;
3641
+
3642
+ /**
3643
+ * Could not re-anchor the assets to declare the fees for the
3644
+ * destination chain.
3645
+ **/
3646
+ CannotReanchor: GenericPalletError<Rv>;
3647
+
3648
+ /**
3649
+ * Could not get ancestry of asset reserve location.
3650
+ **/
3651
+ InvalidAncestry: GenericPalletError<Rv>;
3652
+
3653
+ /**
3654
+ * The Asset is invalid.
3655
+ **/
3656
+ InvalidAsset: GenericPalletError<Rv>;
3657
+
3658
+ /**
3659
+ * The destination `Location` provided cannot be inverted.
3660
+ **/
3661
+ DestinationNotInvertible: GenericPalletError<Rv>;
3662
+
3663
+ /**
3664
+ * The version of the `Versioned` value used is not able to be
3665
+ * interpreted.
3666
+ **/
3667
+ BadVersion: GenericPalletError<Rv>;
3668
+
3669
+ /**
3670
+ * We tried sending distinct asset and fee but they have different
3671
+ * reserve chains.
3672
+ **/
3673
+ DistinctReserveForAssetAndFee: GenericPalletError<Rv>;
3674
+
3675
+ /**
3676
+ * The fee is zero.
3677
+ **/
3678
+ ZeroFee: GenericPalletError<Rv>;
3679
+
3680
+ /**
3681
+ * The transfering asset amount is zero.
3682
+ **/
3683
+ ZeroAmount: GenericPalletError<Rv>;
3684
+
3685
+ /**
3686
+ * The number of assets to be sent is over the maximum.
3687
+ **/
3688
+ TooManyAssetsBeingSent: GenericPalletError<Rv>;
3689
+
3690
+ /**
3691
+ * The specified index does not exist in a Assets struct.
3692
+ **/
3693
+ AssetIndexNonExistent: GenericPalletError<Rv>;
3694
+
3695
+ /**
3696
+ * Fee is not enough.
3697
+ **/
3698
+ FeeNotEnough: GenericPalletError<Rv>;
3699
+
3700
+ /**
3701
+ * Not supported Location
3702
+ **/
3703
+ NotSupportedLocation: GenericPalletError<Rv>;
3704
+
3705
+ /**
3706
+ * MinXcmFee not registered for certain reserve location
3707
+ **/
3708
+ MinXcmFeeNotDefined: GenericPalletError<Rv>;
3709
+
3710
+ /**
3711
+ * Asset transfer is limited by RateLimiter.
3712
+ **/
3713
+ RateLimited: GenericPalletError<Rv>;
3714
+
3715
+ /**
3716
+ * Generic pallet error
3717
+ **/
3718
+ [error: string]: GenericPalletError<Rv>;
3719
+ };
3720
+ /**
3721
+ * Pallet `UnknownTokens`'s errors
3722
+ **/
3723
+ unknownTokens: {
3724
+ /**
3725
+ * The balance is too low.
3726
+ **/
3727
+ BalanceTooLow: GenericPalletError<Rv>;
3728
+
3729
+ /**
3730
+ * The operation will cause balance to overflow.
3731
+ **/
3732
+ BalanceOverflow: GenericPalletError<Rv>;
3733
+
3734
+ /**
3735
+ * Unhandled asset.
3736
+ **/
3737
+ UnhandledAsset: GenericPalletError<Rv>;
3738
+
3739
+ /**
3740
+ * Generic pallet error
3741
+ **/
3742
+ [error: string]: GenericPalletError<Rv>;
3743
+ };
3744
+ /**
3745
+ * Pallet `CollatorSelection`'s errors
3746
+ **/
3747
+ collatorSelection: {
3748
+ /**
3749
+ * The pallet has too many candidates.
3750
+ **/
3751
+ TooManyCandidates: GenericPalletError<Rv>;
3752
+
3753
+ /**
3754
+ * Leaving would result in too few candidates.
3755
+ **/
3756
+ TooFewEligibleCollators: GenericPalletError<Rv>;
3757
+
3758
+ /**
3759
+ * Account is already a candidate.
3760
+ **/
3761
+ AlreadyCandidate: GenericPalletError<Rv>;
3762
+
3763
+ /**
3764
+ * Account is not a candidate.
3765
+ **/
3766
+ NotCandidate: GenericPalletError<Rv>;
3767
+
3768
+ /**
3769
+ * There are too many Invulnerables.
3770
+ **/
3771
+ TooManyInvulnerables: GenericPalletError<Rv>;
3772
+
3773
+ /**
3774
+ * Account is already an Invulnerable.
3775
+ **/
3776
+ AlreadyInvulnerable: GenericPalletError<Rv>;
3777
+
3778
+ /**
3779
+ * Account is not an Invulnerable.
3780
+ **/
3781
+ NotInvulnerable: GenericPalletError<Rv>;
3782
+
3783
+ /**
3784
+ * Account has no associated validator ID.
3785
+ **/
3786
+ NoAssociatedValidatorId: GenericPalletError<Rv>;
3787
+
3788
+ /**
3789
+ * Validator ID is not yet registered.
3790
+ **/
3791
+ ValidatorNotRegistered: GenericPalletError<Rv>;
3792
+
3793
+ /**
3794
+ * Could not insert in the candidate list.
3795
+ **/
3796
+ InsertToCandidateListFailed: GenericPalletError<Rv>;
3797
+
3798
+ /**
3799
+ * Could not remove from the candidate list.
3800
+ **/
3801
+ RemoveFromCandidateListFailed: GenericPalletError<Rv>;
3802
+
3803
+ /**
3804
+ * New deposit amount would be below the minimum candidacy bond.
3805
+ **/
3806
+ DepositTooLow: GenericPalletError<Rv>;
3807
+
3808
+ /**
3809
+ * Could not update the candidate list.
3810
+ **/
3811
+ UpdateCandidateListFailed: GenericPalletError<Rv>;
3812
+
3813
+ /**
3814
+ * Deposit amount is too low to take the target's slot in the candidate list.
3815
+ **/
3816
+ InsufficientBond: GenericPalletError<Rv>;
3817
+
3818
+ /**
3819
+ * The target account to be replaced in the candidate list is not a candidate.
3820
+ **/
3821
+ TargetIsNotCandidate: GenericPalletError<Rv>;
3822
+
3823
+ /**
3824
+ * The updated deposit amount is equal to the amount already reserved.
3825
+ **/
3826
+ IdenticalDeposit: GenericPalletError<Rv>;
3827
+
3828
+ /**
3829
+ * Cannot lower candidacy bond while occupying a future collator slot in the list.
3830
+ **/
3831
+ InvalidUnreserve: GenericPalletError<Rv>;
3832
+
3833
+ /**
3834
+ * Generic pallet error
3835
+ **/
3836
+ [error: string]: GenericPalletError<Rv>;
3837
+ };
3838
+ /**
3839
+ * Pallet `Session`'s errors
3840
+ **/
3841
+ session: {
3842
+ /**
3843
+ * Invalid ownership proof.
3844
+ **/
3845
+ InvalidProof: GenericPalletError<Rv>;
3846
+
3847
+ /**
3848
+ * No associated validator ID for account.
3849
+ **/
3850
+ NoAssociatedValidatorId: GenericPalletError<Rv>;
3851
+
3852
+ /**
3853
+ * Registered duplicate key.
3854
+ **/
3855
+ DuplicatedKey: GenericPalletError<Rv>;
3856
+
3857
+ /**
3858
+ * No keys are associated with this account.
3859
+ **/
3860
+ NoKeys: GenericPalletError<Rv>;
3861
+
3862
+ /**
3863
+ * Key setting account is not live, so it's impossible to associate keys.
3864
+ **/
3865
+ NoAccount: GenericPalletError<Rv>;
3866
+
3867
+ /**
3868
+ * Generic pallet error
3869
+ **/
3870
+ [error: string]: GenericPalletError<Rv>;
3871
+ };
3872
+ /**
3873
+ * Pallet `EmaOracle`'s errors
3874
+ **/
3875
+ emaOracle: {
3876
+ TooManyUniqueEntries: GenericPalletError<Rv>;
3877
+ OnTradeValueZero: GenericPalletError<Rv>;
3878
+ OracleNotFound: GenericPalletError<Rv>;
3879
+
3880
+ /**
3881
+ * Asset not found
3882
+ **/
3883
+ AssetNotFound: GenericPalletError<Rv>;
3884
+
3885
+ /**
3886
+ * The new price is outside the max allowed range
3887
+ **/
3888
+ PriceOutsideAllowedRange: GenericPalletError<Rv>;
3889
+
3890
+ /**
3891
+ * Generic pallet error
3892
+ **/
3893
+ [error: string]: GenericPalletError<Rv>;
3894
+ };
3895
+ /**
3896
+ * Pallet `Broadcast`'s errors
3897
+ **/
3898
+ broadcast: {
3899
+ /**
3900
+ * The execution context call stack has reached its maximum size
3901
+ **/
3902
+ ExecutionCallStackOverflow: GenericPalletError<Rv>;
3903
+
3904
+ /**
3905
+ * The execution context call stack is empty, unable to decrease level
3906
+ **/
3907
+ ExecutionCallStackUnderflow: GenericPalletError<Rv>;
3908
+
3909
+ /**
3910
+ * Generic pallet error
3911
+ **/
3912
+ [error: string]: GenericPalletError<Rv>;
3913
+ };
3914
+ }