@dedot/chaintypes 0.4.0 → 0.6.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.
Files changed (46) hide show
  1. package/kusama-asset-hub/consts.d.ts +765 -0
  2. package/kusama-asset-hub/errors.d.ts +1529 -0
  3. package/kusama-asset-hub/events.d.ts +2443 -0
  4. package/kusama-asset-hub/index.d.ts +27 -0
  5. package/kusama-asset-hub/json-rpc.d.ts +90 -0
  6. package/kusama-asset-hub/query.d.ts +1677 -0
  7. package/kusama-asset-hub/runtime.d.ts +555 -0
  8. package/kusama-asset-hub/tx.d.ts +6364 -0
  9. package/kusama-asset-hub/types.d.ts +6921 -0
  10. package/package.json +3 -3
  11. package/polkadot-asset-hub/consts.d.ts +730 -0
  12. package/polkadot-asset-hub/errors.d.ts +1500 -0
  13. package/polkadot-asset-hub/events.d.ts +2414 -0
  14. package/polkadot-asset-hub/index.d.ts +27 -0
  15. package/polkadot-asset-hub/json-rpc.d.ts +90 -0
  16. package/polkadot-asset-hub/query.d.ts +1655 -0
  17. package/polkadot-asset-hub/runtime.d.ts +558 -0
  18. package/polkadot-asset-hub/tx.d.ts +6293 -0
  19. package/polkadot-asset-hub/types.d.ts +6829 -0
  20. package/rococo-asset-hub/consts.d.ts +835 -0
  21. package/rococo-asset-hub/errors.d.ts +1590 -0
  22. package/rococo-asset-hub/events.d.ts +2573 -0
  23. package/rococo-asset-hub/index.d.ts +27 -0
  24. package/rococo-asset-hub/json-rpc.d.ts +90 -0
  25. package/rococo-asset-hub/query.d.ts +1829 -0
  26. package/rococo-asset-hub/runtime.d.ts +726 -0
  27. package/rococo-asset-hub/tx.d.ts +9011 -0
  28. package/rococo-asset-hub/types.d.ts +12431 -0
  29. package/westend-asset-hub/consts.d.ts +869 -0
  30. package/westend-asset-hub/errors.d.ts +1635 -0
  31. package/westend-asset-hub/events.d.ts +2610 -0
  32. package/westend-asset-hub/index.d.ts +27 -0
  33. package/westend-asset-hub/json-rpc.d.ts +90 -0
  34. package/westend-asset-hub/query.d.ts +1868 -0
  35. package/westend-asset-hub/runtime.d.ts +798 -0
  36. package/westend-asset-hub/tx.d.ts +9199 -0
  37. package/westend-asset-hub/types.d.ts +12661 -0
  38. package/westend-people/consts.d.ts +434 -0
  39. package/westend-people/errors.d.ts +769 -0
  40. package/westend-people/events.d.ts +1082 -0
  41. package/westend-people/index.d.ts +27 -0
  42. package/westend-people/json-rpc.d.ts +89 -0
  43. package/westend-people/query.d.ts +1209 -0
  44. package/westend-people/runtime.d.ts +636 -0
  45. package/westend-people/tx.d.ts +2891 -0
  46. package/westend-people/types.d.ts +4984 -0
@@ -0,0 +1,1529 @@
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
+ * No upgrade authorized.
46
+ **/
47
+ NothingAuthorized: GenericPalletError<Rv>;
48
+
49
+ /**
50
+ * The submitted code is not authorized.
51
+ **/
52
+ Unauthorized: GenericPalletError<Rv>;
53
+
54
+ /**
55
+ * Generic pallet error
56
+ **/
57
+ [error: string]: GenericPalletError<Rv>;
58
+ };
59
+ /**
60
+ * Pallet `ParachainSystem`'s errors
61
+ **/
62
+ parachainSystem: {
63
+ /**
64
+ * Attempt to upgrade validation function while existing upgrade pending.
65
+ **/
66
+ OverlappingUpgrades: GenericPalletError<Rv>;
67
+
68
+ /**
69
+ * Polkadot currently prohibits this parachain from upgrading its validation function.
70
+ **/
71
+ ProhibitedByPolkadot: GenericPalletError<Rv>;
72
+
73
+ /**
74
+ * The supplied validation function has compiled into a blob larger than Polkadot is
75
+ * willing to run.
76
+ **/
77
+ TooBig: GenericPalletError<Rv>;
78
+
79
+ /**
80
+ * The inherent which supplies the validation data did not run this block.
81
+ **/
82
+ ValidationDataNotAvailable: GenericPalletError<Rv>;
83
+
84
+ /**
85
+ * The inherent which supplies the host configuration did not run this block.
86
+ **/
87
+ HostConfigurationNotAvailable: GenericPalletError<Rv>;
88
+
89
+ /**
90
+ * No validation function upgrade is currently scheduled.
91
+ **/
92
+ NotScheduled: GenericPalletError<Rv>;
93
+
94
+ /**
95
+ * No code upgrade has been authorized.
96
+ **/
97
+ NothingAuthorized: GenericPalletError<Rv>;
98
+
99
+ /**
100
+ * The given code upgrade has not been authorized.
101
+ **/
102
+ Unauthorized: GenericPalletError<Rv>;
103
+
104
+ /**
105
+ * Generic pallet error
106
+ **/
107
+ [error: string]: GenericPalletError<Rv>;
108
+ };
109
+ /**
110
+ * Pallet `Balances`'s errors
111
+ **/
112
+ balances: {
113
+ /**
114
+ * Vesting balance too high to send value.
115
+ **/
116
+ VestingBalance: GenericPalletError<Rv>;
117
+
118
+ /**
119
+ * Account liquidity restrictions prevent withdrawal.
120
+ **/
121
+ LiquidityRestrictions: GenericPalletError<Rv>;
122
+
123
+ /**
124
+ * Balance too low to send value.
125
+ **/
126
+ InsufficientBalance: GenericPalletError<Rv>;
127
+
128
+ /**
129
+ * Value too low to create account due to existential deposit.
130
+ **/
131
+ ExistentialDeposit: GenericPalletError<Rv>;
132
+
133
+ /**
134
+ * Transfer/payment would kill account.
135
+ **/
136
+ Expendability: GenericPalletError<Rv>;
137
+
138
+ /**
139
+ * A vesting schedule already exists for this account.
140
+ **/
141
+ ExistingVestingSchedule: GenericPalletError<Rv>;
142
+
143
+ /**
144
+ * Beneficiary account must pre-exist.
145
+ **/
146
+ DeadAccount: GenericPalletError<Rv>;
147
+
148
+ /**
149
+ * Number of named reserves exceed `MaxReserves`.
150
+ **/
151
+ TooManyReserves: GenericPalletError<Rv>;
152
+
153
+ /**
154
+ * Number of holds exceed `VariantCountOf<T::RuntimeHoldReason>`.
155
+ **/
156
+ TooManyHolds: GenericPalletError<Rv>;
157
+
158
+ /**
159
+ * Number of freezes exceed `MaxFreezes`.
160
+ **/
161
+ TooManyFreezes: GenericPalletError<Rv>;
162
+
163
+ /**
164
+ * The issuance cannot be modified since it is already deactivated.
165
+ **/
166
+ IssuanceDeactivated: GenericPalletError<Rv>;
167
+
168
+ /**
169
+ * The delta cannot be zero.
170
+ **/
171
+ DeltaZero: GenericPalletError<Rv>;
172
+
173
+ /**
174
+ * Generic pallet error
175
+ **/
176
+ [error: string]: GenericPalletError<Rv>;
177
+ };
178
+ /**
179
+ * Pallet `Vesting`'s errors
180
+ **/
181
+ vesting: {
182
+ /**
183
+ * The account given is not vesting.
184
+ **/
185
+ NotVesting: GenericPalletError<Rv>;
186
+
187
+ /**
188
+ * The account already has `MaxVestingSchedules` count of schedules and thus
189
+ * cannot add another one. Consider merging existing schedules in order to add another.
190
+ **/
191
+ AtMaxVestingSchedules: GenericPalletError<Rv>;
192
+
193
+ /**
194
+ * Amount being transferred is too low to create a vesting schedule.
195
+ **/
196
+ AmountLow: GenericPalletError<Rv>;
197
+
198
+ /**
199
+ * An index was out of bounds of the vesting schedules.
200
+ **/
201
+ ScheduleIndexOutOfBounds: GenericPalletError<Rv>;
202
+
203
+ /**
204
+ * Failed to create a new schedule because some parameter was invalid.
205
+ **/
206
+ InvalidScheduleParams: GenericPalletError<Rv>;
207
+
208
+ /**
209
+ * Generic pallet error
210
+ **/
211
+ [error: string]: GenericPalletError<Rv>;
212
+ };
213
+ /**
214
+ * Pallet `CollatorSelection`'s errors
215
+ **/
216
+ collatorSelection: {
217
+ /**
218
+ * The pallet has too many candidates.
219
+ **/
220
+ TooManyCandidates: GenericPalletError<Rv>;
221
+
222
+ /**
223
+ * Leaving would result in too few candidates.
224
+ **/
225
+ TooFewEligibleCollators: GenericPalletError<Rv>;
226
+
227
+ /**
228
+ * Account is already a candidate.
229
+ **/
230
+ AlreadyCandidate: GenericPalletError<Rv>;
231
+
232
+ /**
233
+ * Account is not a candidate.
234
+ **/
235
+ NotCandidate: GenericPalletError<Rv>;
236
+
237
+ /**
238
+ * There are too many Invulnerables.
239
+ **/
240
+ TooManyInvulnerables: GenericPalletError<Rv>;
241
+
242
+ /**
243
+ * Account is already an Invulnerable.
244
+ **/
245
+ AlreadyInvulnerable: GenericPalletError<Rv>;
246
+
247
+ /**
248
+ * Account is not an Invulnerable.
249
+ **/
250
+ NotInvulnerable: GenericPalletError<Rv>;
251
+
252
+ /**
253
+ * Account has no associated validator ID.
254
+ **/
255
+ NoAssociatedValidatorId: GenericPalletError<Rv>;
256
+
257
+ /**
258
+ * Validator ID is not yet registered.
259
+ **/
260
+ ValidatorNotRegistered: GenericPalletError<Rv>;
261
+
262
+ /**
263
+ * Could not insert in the candidate list.
264
+ **/
265
+ InsertToCandidateListFailed: GenericPalletError<Rv>;
266
+
267
+ /**
268
+ * Could not remove from the candidate list.
269
+ **/
270
+ RemoveFromCandidateListFailed: GenericPalletError<Rv>;
271
+
272
+ /**
273
+ * New deposit amount would be below the minimum candidacy bond.
274
+ **/
275
+ DepositTooLow: GenericPalletError<Rv>;
276
+
277
+ /**
278
+ * Could not update the candidate list.
279
+ **/
280
+ UpdateCandidateListFailed: GenericPalletError<Rv>;
281
+
282
+ /**
283
+ * Deposit amount is too low to take the target's slot in the candidate list.
284
+ **/
285
+ InsufficientBond: GenericPalletError<Rv>;
286
+
287
+ /**
288
+ * The target account to be replaced in the candidate list is not a candidate.
289
+ **/
290
+ TargetIsNotCandidate: GenericPalletError<Rv>;
291
+
292
+ /**
293
+ * The updated deposit amount is equal to the amount already reserved.
294
+ **/
295
+ IdenticalDeposit: GenericPalletError<Rv>;
296
+
297
+ /**
298
+ * Cannot lower candidacy bond while occupying a future collator slot in the list.
299
+ **/
300
+ InvalidUnreserve: GenericPalletError<Rv>;
301
+
302
+ /**
303
+ * Generic pallet error
304
+ **/
305
+ [error: string]: GenericPalletError<Rv>;
306
+ };
307
+ /**
308
+ * Pallet `Session`'s errors
309
+ **/
310
+ session: {
311
+ /**
312
+ * Invalid ownership proof.
313
+ **/
314
+ InvalidProof: GenericPalletError<Rv>;
315
+
316
+ /**
317
+ * No associated validator ID for account.
318
+ **/
319
+ NoAssociatedValidatorId: GenericPalletError<Rv>;
320
+
321
+ /**
322
+ * Registered duplicate key.
323
+ **/
324
+ DuplicatedKey: GenericPalletError<Rv>;
325
+
326
+ /**
327
+ * No keys are associated with this account.
328
+ **/
329
+ NoKeys: GenericPalletError<Rv>;
330
+
331
+ /**
332
+ * Key setting account is not live, so it's impossible to associate keys.
333
+ **/
334
+ NoAccount: GenericPalletError<Rv>;
335
+
336
+ /**
337
+ * Generic pallet error
338
+ **/
339
+ [error: string]: GenericPalletError<Rv>;
340
+ };
341
+ /**
342
+ * Pallet `XcmpQueue`'s errors
343
+ **/
344
+ xcmpQueue: {
345
+ /**
346
+ * Setting the queue config failed since one of its values was invalid.
347
+ **/
348
+ BadQueueConfig: GenericPalletError<Rv>;
349
+
350
+ /**
351
+ * The execution is already suspended.
352
+ **/
353
+ AlreadySuspended: GenericPalletError<Rv>;
354
+
355
+ /**
356
+ * The execution is already resumed.
357
+ **/
358
+ AlreadyResumed: GenericPalletError<Rv>;
359
+
360
+ /**
361
+ * Generic pallet error
362
+ **/
363
+ [error: string]: GenericPalletError<Rv>;
364
+ };
365
+ /**
366
+ * Pallet `PolkadotXcm`'s errors
367
+ **/
368
+ polkadotXcm: {
369
+ /**
370
+ * The desired destination was unreachable, generally because there is a no way of routing
371
+ * to it.
372
+ **/
373
+ Unreachable: GenericPalletError<Rv>;
374
+
375
+ /**
376
+ * There was some other issue (i.e. not to do with routing) in sending the message.
377
+ * Perhaps a lack of space for buffering the message.
378
+ **/
379
+ SendFailure: GenericPalletError<Rv>;
380
+
381
+ /**
382
+ * The message execution fails the filter.
383
+ **/
384
+ Filtered: GenericPalletError<Rv>;
385
+
386
+ /**
387
+ * The message's weight could not be determined.
388
+ **/
389
+ UnweighableMessage: GenericPalletError<Rv>;
390
+
391
+ /**
392
+ * The destination `Location` provided cannot be inverted.
393
+ **/
394
+ DestinationNotInvertible: GenericPalletError<Rv>;
395
+
396
+ /**
397
+ * The assets to be sent are empty.
398
+ **/
399
+ Empty: GenericPalletError<Rv>;
400
+
401
+ /**
402
+ * Could not re-anchor the assets to declare the fees for the destination chain.
403
+ **/
404
+ CannotReanchor: GenericPalletError<Rv>;
405
+
406
+ /**
407
+ * Too many assets have been attempted for transfer.
408
+ **/
409
+ TooManyAssets: GenericPalletError<Rv>;
410
+
411
+ /**
412
+ * Origin is invalid for sending.
413
+ **/
414
+ InvalidOrigin: GenericPalletError<Rv>;
415
+
416
+ /**
417
+ * The version of the `Versioned` value used is not able to be interpreted.
418
+ **/
419
+ BadVersion: GenericPalletError<Rv>;
420
+
421
+ /**
422
+ * The given location could not be used (e.g. because it cannot be expressed in the
423
+ * desired version of XCM).
424
+ **/
425
+ BadLocation: GenericPalletError<Rv>;
426
+
427
+ /**
428
+ * The referenced subscription could not be found.
429
+ **/
430
+ NoSubscription: GenericPalletError<Rv>;
431
+
432
+ /**
433
+ * The location is invalid since it already has a subscription from us.
434
+ **/
435
+ AlreadySubscribed: GenericPalletError<Rv>;
436
+
437
+ /**
438
+ * Could not check-out the assets for teleportation to the destination chain.
439
+ **/
440
+ CannotCheckOutTeleport: GenericPalletError<Rv>;
441
+
442
+ /**
443
+ * The owner does not own (all) of the asset that they wish to do the operation on.
444
+ **/
445
+ LowBalance: GenericPalletError<Rv>;
446
+
447
+ /**
448
+ * The asset owner has too many locks on the asset.
449
+ **/
450
+ TooManyLocks: GenericPalletError<Rv>;
451
+
452
+ /**
453
+ * The given account is not an identifiable sovereign account for any location.
454
+ **/
455
+ AccountNotSovereign: GenericPalletError<Rv>;
456
+
457
+ /**
458
+ * The operation required fees to be paid which the initiator could not meet.
459
+ **/
460
+ FeesNotMet: GenericPalletError<Rv>;
461
+
462
+ /**
463
+ * A remote lock with the corresponding data could not be found.
464
+ **/
465
+ LockNotFound: GenericPalletError<Rv>;
466
+
467
+ /**
468
+ * The unlock operation cannot succeed because there are still consumers of the lock.
469
+ **/
470
+ InUse: GenericPalletError<Rv>;
471
+
472
+ /**
473
+ * Invalid non-concrete asset.
474
+ **/
475
+ InvalidAssetNotConcrete: GenericPalletError<Rv>;
476
+
477
+ /**
478
+ * Invalid asset, reserve chain could not be determined for it.
479
+ **/
480
+ InvalidAssetUnknownReserve: GenericPalletError<Rv>;
481
+
482
+ /**
483
+ * Invalid asset, do not support remote asset reserves with different fees reserves.
484
+ **/
485
+ InvalidAssetUnsupportedReserve: GenericPalletError<Rv>;
486
+
487
+ /**
488
+ * Too many assets with different reserve locations have been attempted for transfer.
489
+ **/
490
+ TooManyReserves: GenericPalletError<Rv>;
491
+
492
+ /**
493
+ * Local XCM execution incomplete.
494
+ **/
495
+ LocalExecutionIncomplete: GenericPalletError<Rv>;
496
+
497
+ /**
498
+ * Generic pallet error
499
+ **/
500
+ [error: string]: GenericPalletError<Rv>;
501
+ };
502
+ /**
503
+ * Pallet `MessageQueue`'s errors
504
+ **/
505
+ messageQueue: {
506
+ /**
507
+ * Page is not reapable because it has items remaining to be processed and is not old
508
+ * enough.
509
+ **/
510
+ NotReapable: GenericPalletError<Rv>;
511
+
512
+ /**
513
+ * Page to be reaped does not exist.
514
+ **/
515
+ NoPage: GenericPalletError<Rv>;
516
+
517
+ /**
518
+ * The referenced message could not be found.
519
+ **/
520
+ NoMessage: GenericPalletError<Rv>;
521
+
522
+ /**
523
+ * The message was already processed and cannot be processed again.
524
+ **/
525
+ AlreadyProcessed: GenericPalletError<Rv>;
526
+
527
+ /**
528
+ * The message is queued for future execution.
529
+ **/
530
+ Queued: GenericPalletError<Rv>;
531
+
532
+ /**
533
+ * There is temporarily not enough weight to continue servicing messages.
534
+ **/
535
+ InsufficientWeight: GenericPalletError<Rv>;
536
+
537
+ /**
538
+ * This message is temporarily unprocessable.
539
+ *
540
+ * Such errors are expected, but not guaranteed, to resolve themselves eventually through
541
+ * retrying.
542
+ **/
543
+ TemporarilyUnprocessable: GenericPalletError<Rv>;
544
+
545
+ /**
546
+ * The queue is paused and no message can be executed from it.
547
+ *
548
+ * This can change at any time and may resolve in the future by re-trying.
549
+ **/
550
+ QueuePaused: GenericPalletError<Rv>;
551
+
552
+ /**
553
+ * Another call is in progress and needs to finish before this call can happen.
554
+ **/
555
+ RecursiveDisallowed: GenericPalletError<Rv>;
556
+
557
+ /**
558
+ * Generic pallet error
559
+ **/
560
+ [error: string]: GenericPalletError<Rv>;
561
+ };
562
+ /**
563
+ * Pallet `Utility`'s errors
564
+ **/
565
+ utility: {
566
+ /**
567
+ * Too many calls batched.
568
+ **/
569
+ TooManyCalls: GenericPalletError<Rv>;
570
+
571
+ /**
572
+ * Generic pallet error
573
+ **/
574
+ [error: string]: GenericPalletError<Rv>;
575
+ };
576
+ /**
577
+ * Pallet `Multisig`'s errors
578
+ **/
579
+ multisig: {
580
+ /**
581
+ * Threshold must be 2 or greater.
582
+ **/
583
+ MinimumThreshold: GenericPalletError<Rv>;
584
+
585
+ /**
586
+ * Call is already approved by this signatory.
587
+ **/
588
+ AlreadyApproved: GenericPalletError<Rv>;
589
+
590
+ /**
591
+ * Call doesn't need any (more) approvals.
592
+ **/
593
+ NoApprovalsNeeded: GenericPalletError<Rv>;
594
+
595
+ /**
596
+ * There are too few signatories in the list.
597
+ **/
598
+ TooFewSignatories: GenericPalletError<Rv>;
599
+
600
+ /**
601
+ * There are too many signatories in the list.
602
+ **/
603
+ TooManySignatories: GenericPalletError<Rv>;
604
+
605
+ /**
606
+ * The signatories were provided out of order; they should be ordered.
607
+ **/
608
+ SignatoriesOutOfOrder: GenericPalletError<Rv>;
609
+
610
+ /**
611
+ * The sender was contained in the other signatories; it shouldn't be.
612
+ **/
613
+ SenderInSignatories: GenericPalletError<Rv>;
614
+
615
+ /**
616
+ * Multisig operation not found when attempting to cancel.
617
+ **/
618
+ NotFound: GenericPalletError<Rv>;
619
+
620
+ /**
621
+ * Only the account that originally created the multisig is able to cancel it.
622
+ **/
623
+ NotOwner: GenericPalletError<Rv>;
624
+
625
+ /**
626
+ * No timepoint was given, yet the multisig operation is already underway.
627
+ **/
628
+ NoTimepoint: GenericPalletError<Rv>;
629
+
630
+ /**
631
+ * A different timepoint was given to the multisig operation that is underway.
632
+ **/
633
+ WrongTimepoint: GenericPalletError<Rv>;
634
+
635
+ /**
636
+ * A timepoint was given, yet no multisig operation is underway.
637
+ **/
638
+ UnexpectedTimepoint: GenericPalletError<Rv>;
639
+
640
+ /**
641
+ * The maximum weight information provided was too low.
642
+ **/
643
+ MaxWeightTooLow: GenericPalletError<Rv>;
644
+
645
+ /**
646
+ * The data to be stored is already stored.
647
+ **/
648
+ AlreadyStored: GenericPalletError<Rv>;
649
+
650
+ /**
651
+ * Generic pallet error
652
+ **/
653
+ [error: string]: GenericPalletError<Rv>;
654
+ };
655
+ /**
656
+ * Pallet `Proxy`'s errors
657
+ **/
658
+ proxy: {
659
+ /**
660
+ * There are too many proxies registered or too many announcements pending.
661
+ **/
662
+ TooMany: GenericPalletError<Rv>;
663
+
664
+ /**
665
+ * Proxy registration not found.
666
+ **/
667
+ NotFound: GenericPalletError<Rv>;
668
+
669
+ /**
670
+ * Sender is not a proxy of the account to be proxied.
671
+ **/
672
+ NotProxy: GenericPalletError<Rv>;
673
+
674
+ /**
675
+ * A call which is incompatible with the proxy type's filter was attempted.
676
+ **/
677
+ Unproxyable: GenericPalletError<Rv>;
678
+
679
+ /**
680
+ * Account is already a proxy.
681
+ **/
682
+ Duplicate: GenericPalletError<Rv>;
683
+
684
+ /**
685
+ * Call may not be made by proxy because it may escalate its privileges.
686
+ **/
687
+ NoPermission: GenericPalletError<Rv>;
688
+
689
+ /**
690
+ * Announcement, if made at all, was made too recently.
691
+ **/
692
+ Unannounced: GenericPalletError<Rv>;
693
+
694
+ /**
695
+ * Cannot add self as proxy.
696
+ **/
697
+ NoSelfProxy: GenericPalletError<Rv>;
698
+
699
+ /**
700
+ * Generic pallet error
701
+ **/
702
+ [error: string]: GenericPalletError<Rv>;
703
+ };
704
+ /**
705
+ * Pallet `Assets`'s errors
706
+ **/
707
+ assets: {
708
+ /**
709
+ * Account balance must be greater than or equal to the transfer amount.
710
+ **/
711
+ BalanceLow: GenericPalletError<Rv>;
712
+
713
+ /**
714
+ * The account to alter does not exist.
715
+ **/
716
+ NoAccount: GenericPalletError<Rv>;
717
+
718
+ /**
719
+ * The signing account has no permission to do the operation.
720
+ **/
721
+ NoPermission: GenericPalletError<Rv>;
722
+
723
+ /**
724
+ * The given asset ID is unknown.
725
+ **/
726
+ Unknown: GenericPalletError<Rv>;
727
+
728
+ /**
729
+ * The origin account is frozen.
730
+ **/
731
+ Frozen: GenericPalletError<Rv>;
732
+
733
+ /**
734
+ * The asset ID is already taken.
735
+ **/
736
+ InUse: GenericPalletError<Rv>;
737
+
738
+ /**
739
+ * Invalid witness data given.
740
+ **/
741
+ BadWitness: GenericPalletError<Rv>;
742
+
743
+ /**
744
+ * Minimum balance should be non-zero.
745
+ **/
746
+ MinBalanceZero: GenericPalletError<Rv>;
747
+
748
+ /**
749
+ * Unable to increment the consumer reference counters on the account. Either no provider
750
+ * reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
751
+ * fewer then the maximum number of consumers has been reached.
752
+ **/
753
+ UnavailableConsumer: GenericPalletError<Rv>;
754
+
755
+ /**
756
+ * Invalid metadata given.
757
+ **/
758
+ BadMetadata: GenericPalletError<Rv>;
759
+
760
+ /**
761
+ * No approval exists that would allow the transfer.
762
+ **/
763
+ Unapproved: GenericPalletError<Rv>;
764
+
765
+ /**
766
+ * The source account would not survive the transfer and it needs to stay alive.
767
+ **/
768
+ WouldDie: GenericPalletError<Rv>;
769
+
770
+ /**
771
+ * The asset-account already exists.
772
+ **/
773
+ AlreadyExists: GenericPalletError<Rv>;
774
+
775
+ /**
776
+ * The asset-account doesn't have an associated deposit.
777
+ **/
778
+ NoDeposit: GenericPalletError<Rv>;
779
+
780
+ /**
781
+ * The operation would result in funds being burned.
782
+ **/
783
+ WouldBurn: GenericPalletError<Rv>;
784
+
785
+ /**
786
+ * The asset is a live asset and is actively being used. Usually emit for operations such
787
+ * as `start_destroy` which require the asset to be in a destroying state.
788
+ **/
789
+ LiveAsset: GenericPalletError<Rv>;
790
+
791
+ /**
792
+ * The asset is not live, and likely being destroyed.
793
+ **/
794
+ AssetNotLive: GenericPalletError<Rv>;
795
+
796
+ /**
797
+ * The asset status is not the expected status.
798
+ **/
799
+ IncorrectStatus: GenericPalletError<Rv>;
800
+
801
+ /**
802
+ * The asset should be frozen before the given operation.
803
+ **/
804
+ NotFrozen: GenericPalletError<Rv>;
805
+
806
+ /**
807
+ * Callback action resulted in error
808
+ **/
809
+ CallbackFailed: GenericPalletError<Rv>;
810
+
811
+ /**
812
+ * Generic pallet error
813
+ **/
814
+ [error: string]: GenericPalletError<Rv>;
815
+ };
816
+ /**
817
+ * Pallet `Uniques`'s errors
818
+ **/
819
+ uniques: {
820
+ /**
821
+ * The signing account has no permission to do the operation.
822
+ **/
823
+ NoPermission: GenericPalletError<Rv>;
824
+
825
+ /**
826
+ * The given item ID is unknown.
827
+ **/
828
+ UnknownCollection: GenericPalletError<Rv>;
829
+
830
+ /**
831
+ * The item ID has already been used for an item.
832
+ **/
833
+ AlreadyExists: GenericPalletError<Rv>;
834
+
835
+ /**
836
+ * The owner turned out to be different to what was expected.
837
+ **/
838
+ WrongOwner: GenericPalletError<Rv>;
839
+
840
+ /**
841
+ * Invalid witness data given.
842
+ **/
843
+ BadWitness: GenericPalletError<Rv>;
844
+
845
+ /**
846
+ * The item ID is already taken.
847
+ **/
848
+ InUse: GenericPalletError<Rv>;
849
+
850
+ /**
851
+ * The item or collection is frozen.
852
+ **/
853
+ Frozen: GenericPalletError<Rv>;
854
+
855
+ /**
856
+ * The delegate turned out to be different to what was expected.
857
+ **/
858
+ WrongDelegate: GenericPalletError<Rv>;
859
+
860
+ /**
861
+ * There is no delegate approved.
862
+ **/
863
+ NoDelegate: GenericPalletError<Rv>;
864
+
865
+ /**
866
+ * No approval exists that would allow the transfer.
867
+ **/
868
+ Unapproved: GenericPalletError<Rv>;
869
+
870
+ /**
871
+ * The named owner has not signed ownership of the collection is acceptable.
872
+ **/
873
+ Unaccepted: GenericPalletError<Rv>;
874
+
875
+ /**
876
+ * The item is locked.
877
+ **/
878
+ Locked: GenericPalletError<Rv>;
879
+
880
+ /**
881
+ * All items have been minted.
882
+ **/
883
+ MaxSupplyReached: GenericPalletError<Rv>;
884
+
885
+ /**
886
+ * The max supply has already been set.
887
+ **/
888
+ MaxSupplyAlreadySet: GenericPalletError<Rv>;
889
+
890
+ /**
891
+ * The provided max supply is less to the amount of items a collection already has.
892
+ **/
893
+ MaxSupplyTooSmall: GenericPalletError<Rv>;
894
+
895
+ /**
896
+ * The given item ID is unknown.
897
+ **/
898
+ UnknownItem: GenericPalletError<Rv>;
899
+
900
+ /**
901
+ * Item is not for sale.
902
+ **/
903
+ NotForSale: GenericPalletError<Rv>;
904
+
905
+ /**
906
+ * The provided bid is too low.
907
+ **/
908
+ BidTooLow: GenericPalletError<Rv>;
909
+
910
+ /**
911
+ * Generic pallet error
912
+ **/
913
+ [error: string]: GenericPalletError<Rv>;
914
+ };
915
+ /**
916
+ * Pallet `Nfts`'s errors
917
+ **/
918
+ nfts: {
919
+ /**
920
+ * The signing account has no permission to do the operation.
921
+ **/
922
+ NoPermission: GenericPalletError<Rv>;
923
+
924
+ /**
925
+ * The given item ID is unknown.
926
+ **/
927
+ UnknownCollection: GenericPalletError<Rv>;
928
+
929
+ /**
930
+ * The item ID has already been used for an item.
931
+ **/
932
+ AlreadyExists: GenericPalletError<Rv>;
933
+
934
+ /**
935
+ * The approval had a deadline that expired, so the approval isn't valid anymore.
936
+ **/
937
+ ApprovalExpired: GenericPalletError<Rv>;
938
+
939
+ /**
940
+ * The owner turned out to be different to what was expected.
941
+ **/
942
+ WrongOwner: GenericPalletError<Rv>;
943
+
944
+ /**
945
+ * The witness data given does not match the current state of the chain.
946
+ **/
947
+ BadWitness: GenericPalletError<Rv>;
948
+
949
+ /**
950
+ * Collection ID is already taken.
951
+ **/
952
+ CollectionIdInUse: GenericPalletError<Rv>;
953
+
954
+ /**
955
+ * Items within that collection are non-transferable.
956
+ **/
957
+ ItemsNonTransferable: GenericPalletError<Rv>;
958
+
959
+ /**
960
+ * The provided account is not a delegate.
961
+ **/
962
+ NotDelegate: GenericPalletError<Rv>;
963
+
964
+ /**
965
+ * The delegate turned out to be different to what was expected.
966
+ **/
967
+ WrongDelegate: GenericPalletError<Rv>;
968
+
969
+ /**
970
+ * No approval exists that would allow the transfer.
971
+ **/
972
+ Unapproved: GenericPalletError<Rv>;
973
+
974
+ /**
975
+ * The named owner has not signed ownership acceptance of the collection.
976
+ **/
977
+ Unaccepted: GenericPalletError<Rv>;
978
+
979
+ /**
980
+ * The item is locked (non-transferable).
981
+ **/
982
+ ItemLocked: GenericPalletError<Rv>;
983
+
984
+ /**
985
+ * Item's attributes are locked.
986
+ **/
987
+ LockedItemAttributes: GenericPalletError<Rv>;
988
+
989
+ /**
990
+ * Collection's attributes are locked.
991
+ **/
992
+ LockedCollectionAttributes: GenericPalletError<Rv>;
993
+
994
+ /**
995
+ * Item's metadata is locked.
996
+ **/
997
+ LockedItemMetadata: GenericPalletError<Rv>;
998
+
999
+ /**
1000
+ * Collection's metadata is locked.
1001
+ **/
1002
+ LockedCollectionMetadata: GenericPalletError<Rv>;
1003
+
1004
+ /**
1005
+ * All items have been minted.
1006
+ **/
1007
+ MaxSupplyReached: GenericPalletError<Rv>;
1008
+
1009
+ /**
1010
+ * The max supply is locked and can't be changed.
1011
+ **/
1012
+ MaxSupplyLocked: GenericPalletError<Rv>;
1013
+
1014
+ /**
1015
+ * The provided max supply is less than the number of items a collection already has.
1016
+ **/
1017
+ MaxSupplyTooSmall: GenericPalletError<Rv>;
1018
+
1019
+ /**
1020
+ * The given item ID is unknown.
1021
+ **/
1022
+ UnknownItem: GenericPalletError<Rv>;
1023
+
1024
+ /**
1025
+ * Swap doesn't exist.
1026
+ **/
1027
+ UnknownSwap: GenericPalletError<Rv>;
1028
+
1029
+ /**
1030
+ * The given item has no metadata set.
1031
+ **/
1032
+ MetadataNotFound: GenericPalletError<Rv>;
1033
+
1034
+ /**
1035
+ * The provided attribute can't be found.
1036
+ **/
1037
+ AttributeNotFound: GenericPalletError<Rv>;
1038
+
1039
+ /**
1040
+ * Item is not for sale.
1041
+ **/
1042
+ NotForSale: GenericPalletError<Rv>;
1043
+
1044
+ /**
1045
+ * The provided bid is too low.
1046
+ **/
1047
+ BidTooLow: GenericPalletError<Rv>;
1048
+
1049
+ /**
1050
+ * The item has reached its approval limit.
1051
+ **/
1052
+ ReachedApprovalLimit: GenericPalletError<Rv>;
1053
+
1054
+ /**
1055
+ * The deadline has already expired.
1056
+ **/
1057
+ DeadlineExpired: GenericPalletError<Rv>;
1058
+
1059
+ /**
1060
+ * The duration provided should be less than or equal to `MaxDeadlineDuration`.
1061
+ **/
1062
+ WrongDuration: GenericPalletError<Rv>;
1063
+
1064
+ /**
1065
+ * The method is disabled by system settings.
1066
+ **/
1067
+ MethodDisabled: GenericPalletError<Rv>;
1068
+
1069
+ /**
1070
+ * The provided setting can't be set.
1071
+ **/
1072
+ WrongSetting: GenericPalletError<Rv>;
1073
+
1074
+ /**
1075
+ * Item's config already exists and should be equal to the provided one.
1076
+ **/
1077
+ InconsistentItemConfig: GenericPalletError<Rv>;
1078
+
1079
+ /**
1080
+ * Config for a collection or an item can't be found.
1081
+ **/
1082
+ NoConfig: GenericPalletError<Rv>;
1083
+
1084
+ /**
1085
+ * Some roles were not cleared.
1086
+ **/
1087
+ RolesNotCleared: GenericPalletError<Rv>;
1088
+
1089
+ /**
1090
+ * Mint has not started yet.
1091
+ **/
1092
+ MintNotStarted: GenericPalletError<Rv>;
1093
+
1094
+ /**
1095
+ * Mint has already ended.
1096
+ **/
1097
+ MintEnded: GenericPalletError<Rv>;
1098
+
1099
+ /**
1100
+ * The provided Item was already used for claiming.
1101
+ **/
1102
+ AlreadyClaimed: GenericPalletError<Rv>;
1103
+
1104
+ /**
1105
+ * The provided data is incorrect.
1106
+ **/
1107
+ IncorrectData: GenericPalletError<Rv>;
1108
+
1109
+ /**
1110
+ * The extrinsic was sent by the wrong origin.
1111
+ **/
1112
+ WrongOrigin: GenericPalletError<Rv>;
1113
+
1114
+ /**
1115
+ * The provided signature is incorrect.
1116
+ **/
1117
+ WrongSignature: GenericPalletError<Rv>;
1118
+
1119
+ /**
1120
+ * The provided metadata might be too long.
1121
+ **/
1122
+ IncorrectMetadata: GenericPalletError<Rv>;
1123
+
1124
+ /**
1125
+ * Can't set more attributes per one call.
1126
+ **/
1127
+ MaxAttributesLimitReached: GenericPalletError<Rv>;
1128
+
1129
+ /**
1130
+ * The provided namespace isn't supported in this call.
1131
+ **/
1132
+ WrongNamespace: GenericPalletError<Rv>;
1133
+
1134
+ /**
1135
+ * Can't delete non-empty collections.
1136
+ **/
1137
+ CollectionNotEmpty: GenericPalletError<Rv>;
1138
+
1139
+ /**
1140
+ * The witness data should be provided.
1141
+ **/
1142
+ WitnessRequired: GenericPalletError<Rv>;
1143
+
1144
+ /**
1145
+ * Generic pallet error
1146
+ **/
1147
+ [error: string]: GenericPalletError<Rv>;
1148
+ };
1149
+ /**
1150
+ * Pallet `ForeignAssets`'s errors
1151
+ **/
1152
+ foreignAssets: {
1153
+ /**
1154
+ * Account balance must be greater than or equal to the transfer amount.
1155
+ **/
1156
+ BalanceLow: GenericPalletError<Rv>;
1157
+
1158
+ /**
1159
+ * The account to alter does not exist.
1160
+ **/
1161
+ NoAccount: GenericPalletError<Rv>;
1162
+
1163
+ /**
1164
+ * The signing account has no permission to do the operation.
1165
+ **/
1166
+ NoPermission: GenericPalletError<Rv>;
1167
+
1168
+ /**
1169
+ * The given asset ID is unknown.
1170
+ **/
1171
+ Unknown: GenericPalletError<Rv>;
1172
+
1173
+ /**
1174
+ * The origin account is frozen.
1175
+ **/
1176
+ Frozen: GenericPalletError<Rv>;
1177
+
1178
+ /**
1179
+ * The asset ID is already taken.
1180
+ **/
1181
+ InUse: GenericPalletError<Rv>;
1182
+
1183
+ /**
1184
+ * Invalid witness data given.
1185
+ **/
1186
+ BadWitness: GenericPalletError<Rv>;
1187
+
1188
+ /**
1189
+ * Minimum balance should be non-zero.
1190
+ **/
1191
+ MinBalanceZero: GenericPalletError<Rv>;
1192
+
1193
+ /**
1194
+ * Unable to increment the consumer reference counters on the account. Either no provider
1195
+ * reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
1196
+ * fewer then the maximum number of consumers has been reached.
1197
+ **/
1198
+ UnavailableConsumer: GenericPalletError<Rv>;
1199
+
1200
+ /**
1201
+ * Invalid metadata given.
1202
+ **/
1203
+ BadMetadata: GenericPalletError<Rv>;
1204
+
1205
+ /**
1206
+ * No approval exists that would allow the transfer.
1207
+ **/
1208
+ Unapproved: GenericPalletError<Rv>;
1209
+
1210
+ /**
1211
+ * The source account would not survive the transfer and it needs to stay alive.
1212
+ **/
1213
+ WouldDie: GenericPalletError<Rv>;
1214
+
1215
+ /**
1216
+ * The asset-account already exists.
1217
+ **/
1218
+ AlreadyExists: GenericPalletError<Rv>;
1219
+
1220
+ /**
1221
+ * The asset-account doesn't have an associated deposit.
1222
+ **/
1223
+ NoDeposit: GenericPalletError<Rv>;
1224
+
1225
+ /**
1226
+ * The operation would result in funds being burned.
1227
+ **/
1228
+ WouldBurn: GenericPalletError<Rv>;
1229
+
1230
+ /**
1231
+ * The asset is a live asset and is actively being used. Usually emit for operations such
1232
+ * as `start_destroy` which require the asset to be in a destroying state.
1233
+ **/
1234
+ LiveAsset: GenericPalletError<Rv>;
1235
+
1236
+ /**
1237
+ * The asset is not live, and likely being destroyed.
1238
+ **/
1239
+ AssetNotLive: GenericPalletError<Rv>;
1240
+
1241
+ /**
1242
+ * The asset status is not the expected status.
1243
+ **/
1244
+ IncorrectStatus: GenericPalletError<Rv>;
1245
+
1246
+ /**
1247
+ * The asset should be frozen before the given operation.
1248
+ **/
1249
+ NotFrozen: GenericPalletError<Rv>;
1250
+
1251
+ /**
1252
+ * Callback action resulted in error
1253
+ **/
1254
+ CallbackFailed: GenericPalletError<Rv>;
1255
+
1256
+ /**
1257
+ * Generic pallet error
1258
+ **/
1259
+ [error: string]: GenericPalletError<Rv>;
1260
+ };
1261
+ /**
1262
+ * Pallet `NftFractionalization`'s errors
1263
+ **/
1264
+ nftFractionalization: {
1265
+ /**
1266
+ * Asset ID does not correspond to locked NFT.
1267
+ **/
1268
+ IncorrectAssetId: GenericPalletError<Rv>;
1269
+
1270
+ /**
1271
+ * The signing account has no permission to do the operation.
1272
+ **/
1273
+ NoPermission: GenericPalletError<Rv>;
1274
+
1275
+ /**
1276
+ * NFT doesn't exist.
1277
+ **/
1278
+ NftNotFound: GenericPalletError<Rv>;
1279
+
1280
+ /**
1281
+ * NFT has not yet been fractionalised.
1282
+ **/
1283
+ NftNotFractionalized: GenericPalletError<Rv>;
1284
+
1285
+ /**
1286
+ * Generic pallet error
1287
+ **/
1288
+ [error: string]: GenericPalletError<Rv>;
1289
+ };
1290
+ /**
1291
+ * Pallet `PoolAssets`'s errors
1292
+ **/
1293
+ poolAssets: {
1294
+ /**
1295
+ * Account balance must be greater than or equal to the transfer amount.
1296
+ **/
1297
+ BalanceLow: GenericPalletError<Rv>;
1298
+
1299
+ /**
1300
+ * The account to alter does not exist.
1301
+ **/
1302
+ NoAccount: GenericPalletError<Rv>;
1303
+
1304
+ /**
1305
+ * The signing account has no permission to do the operation.
1306
+ **/
1307
+ NoPermission: GenericPalletError<Rv>;
1308
+
1309
+ /**
1310
+ * The given asset ID is unknown.
1311
+ **/
1312
+ Unknown: GenericPalletError<Rv>;
1313
+
1314
+ /**
1315
+ * The origin account is frozen.
1316
+ **/
1317
+ Frozen: GenericPalletError<Rv>;
1318
+
1319
+ /**
1320
+ * The asset ID is already taken.
1321
+ **/
1322
+ InUse: GenericPalletError<Rv>;
1323
+
1324
+ /**
1325
+ * Invalid witness data given.
1326
+ **/
1327
+ BadWitness: GenericPalletError<Rv>;
1328
+
1329
+ /**
1330
+ * Minimum balance should be non-zero.
1331
+ **/
1332
+ MinBalanceZero: GenericPalletError<Rv>;
1333
+
1334
+ /**
1335
+ * Unable to increment the consumer reference counters on the account. Either no provider
1336
+ * reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
1337
+ * fewer then the maximum number of consumers has been reached.
1338
+ **/
1339
+ UnavailableConsumer: GenericPalletError<Rv>;
1340
+
1341
+ /**
1342
+ * Invalid metadata given.
1343
+ **/
1344
+ BadMetadata: GenericPalletError<Rv>;
1345
+
1346
+ /**
1347
+ * No approval exists that would allow the transfer.
1348
+ **/
1349
+ Unapproved: GenericPalletError<Rv>;
1350
+
1351
+ /**
1352
+ * The source account would not survive the transfer and it needs to stay alive.
1353
+ **/
1354
+ WouldDie: GenericPalletError<Rv>;
1355
+
1356
+ /**
1357
+ * The asset-account already exists.
1358
+ **/
1359
+ AlreadyExists: GenericPalletError<Rv>;
1360
+
1361
+ /**
1362
+ * The asset-account doesn't have an associated deposit.
1363
+ **/
1364
+ NoDeposit: GenericPalletError<Rv>;
1365
+
1366
+ /**
1367
+ * The operation would result in funds being burned.
1368
+ **/
1369
+ WouldBurn: GenericPalletError<Rv>;
1370
+
1371
+ /**
1372
+ * The asset is a live asset and is actively being used. Usually emit for operations such
1373
+ * as `start_destroy` which require the asset to be in a destroying state.
1374
+ **/
1375
+ LiveAsset: GenericPalletError<Rv>;
1376
+
1377
+ /**
1378
+ * The asset is not live, and likely being destroyed.
1379
+ **/
1380
+ AssetNotLive: GenericPalletError<Rv>;
1381
+
1382
+ /**
1383
+ * The asset status is not the expected status.
1384
+ **/
1385
+ IncorrectStatus: GenericPalletError<Rv>;
1386
+
1387
+ /**
1388
+ * The asset should be frozen before the given operation.
1389
+ **/
1390
+ NotFrozen: GenericPalletError<Rv>;
1391
+
1392
+ /**
1393
+ * Callback action resulted in error
1394
+ **/
1395
+ CallbackFailed: GenericPalletError<Rv>;
1396
+
1397
+ /**
1398
+ * Generic pallet error
1399
+ **/
1400
+ [error: string]: GenericPalletError<Rv>;
1401
+ };
1402
+ /**
1403
+ * Pallet `AssetConversion`'s errors
1404
+ **/
1405
+ assetConversion: {
1406
+ /**
1407
+ * Provided asset pair is not supported for pool.
1408
+ **/
1409
+ InvalidAssetPair: GenericPalletError<Rv>;
1410
+
1411
+ /**
1412
+ * Pool already exists.
1413
+ **/
1414
+ PoolExists: GenericPalletError<Rv>;
1415
+
1416
+ /**
1417
+ * Desired amount can't be zero.
1418
+ **/
1419
+ WrongDesiredAmount: GenericPalletError<Rv>;
1420
+
1421
+ /**
1422
+ * Provided amount should be greater than or equal to the existential deposit/asset's
1423
+ * minimal amount.
1424
+ **/
1425
+ AmountOneLessThanMinimal: GenericPalletError<Rv>;
1426
+
1427
+ /**
1428
+ * Provided amount should be greater than or equal to the existential deposit/asset's
1429
+ * minimal amount.
1430
+ **/
1431
+ AmountTwoLessThanMinimal: GenericPalletError<Rv>;
1432
+
1433
+ /**
1434
+ * Reserve needs to always be greater than or equal to the existential deposit/asset's
1435
+ * minimal amount.
1436
+ **/
1437
+ ReserveLeftLessThanMinimal: GenericPalletError<Rv>;
1438
+
1439
+ /**
1440
+ * Desired amount can't be equal to the pool reserve.
1441
+ **/
1442
+ AmountOutTooHigh: GenericPalletError<Rv>;
1443
+
1444
+ /**
1445
+ * The pool doesn't exist.
1446
+ **/
1447
+ PoolNotFound: GenericPalletError<Rv>;
1448
+
1449
+ /**
1450
+ * An overflow happened.
1451
+ **/
1452
+ Overflow: GenericPalletError<Rv>;
1453
+
1454
+ /**
1455
+ * The minimal amount requirement for the first token in the pair wasn't met.
1456
+ **/
1457
+ AssetOneDepositDidNotMeetMinimum: GenericPalletError<Rv>;
1458
+
1459
+ /**
1460
+ * The minimal amount requirement for the second token in the pair wasn't met.
1461
+ **/
1462
+ AssetTwoDepositDidNotMeetMinimum: GenericPalletError<Rv>;
1463
+
1464
+ /**
1465
+ * The minimal amount requirement for the first token in the pair wasn't met.
1466
+ **/
1467
+ AssetOneWithdrawalDidNotMeetMinimum: GenericPalletError<Rv>;
1468
+
1469
+ /**
1470
+ * The minimal amount requirement for the second token in the pair wasn't met.
1471
+ **/
1472
+ AssetTwoWithdrawalDidNotMeetMinimum: GenericPalletError<Rv>;
1473
+
1474
+ /**
1475
+ * Optimal calculated amount is less than desired.
1476
+ **/
1477
+ OptimalAmountLessThanDesired: GenericPalletError<Rv>;
1478
+
1479
+ /**
1480
+ * Insufficient liquidity minted.
1481
+ **/
1482
+ InsufficientLiquidityMinted: GenericPalletError<Rv>;
1483
+
1484
+ /**
1485
+ * Requested liquidity can't be zero.
1486
+ **/
1487
+ ZeroLiquidity: GenericPalletError<Rv>;
1488
+
1489
+ /**
1490
+ * Amount can't be zero.
1491
+ **/
1492
+ ZeroAmount: GenericPalletError<Rv>;
1493
+
1494
+ /**
1495
+ * Calculated amount out is less than provided minimum amount.
1496
+ **/
1497
+ ProvidedMinimumNotSufficientForSwap: GenericPalletError<Rv>;
1498
+
1499
+ /**
1500
+ * Provided maximum amount is not sufficient for swap.
1501
+ **/
1502
+ ProvidedMaximumNotSufficientForSwap: GenericPalletError<Rv>;
1503
+
1504
+ /**
1505
+ * The provided path must consists of 2 assets at least.
1506
+ **/
1507
+ InvalidPath: GenericPalletError<Rv>;
1508
+
1509
+ /**
1510
+ * The provided path must consists of unique assets.
1511
+ **/
1512
+ NonUniquePath: GenericPalletError<Rv>;
1513
+
1514
+ /**
1515
+ * It was not possible to get or increment the Id of the pool.
1516
+ **/
1517
+ IncorrectPoolAssetId: GenericPalletError<Rv>;
1518
+
1519
+ /**
1520
+ * The destination account cannot exist with the swapped funds.
1521
+ **/
1522
+ BelowMinimum: GenericPalletError<Rv>;
1523
+
1524
+ /**
1525
+ * Generic pallet error
1526
+ **/
1527
+ [error: string]: GenericPalletError<Rv>;
1528
+ };
1529
+ }