@dedot/chaintypes 0.76.0 → 0.78.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 (41) hide show
  1. package/README.md +8 -4
  2. package/kusama-people/consts.d.ts +477 -0
  3. package/kusama-people/errors.d.ts +818 -0
  4. package/kusama-people/events.d.ts +1108 -0
  5. package/kusama-people/index.d.ts +31 -0
  6. package/kusama-people/json-rpc.d.ts +97 -0
  7. package/kusama-people/query.d.ts +1245 -0
  8. package/kusama-people/runtime.d.ts +636 -0
  9. package/kusama-people/tx.d.ts +3153 -0
  10. package/kusama-people/types.d.ts +5330 -0
  11. package/package.json +14 -2
  12. package/paseo-asset-hub/consts.d.ts +788 -0
  13. package/paseo-asset-hub/errors.d.ts +1539 -0
  14. package/paseo-asset-hub/events.d.ts +2538 -0
  15. package/paseo-asset-hub/index.d.ts +31 -0
  16. package/paseo-asset-hub/json-rpc.d.ts +97 -0
  17. package/paseo-asset-hub/query.d.ts +1753 -0
  18. package/paseo-asset-hub/runtime.d.ts +726 -0
  19. package/paseo-asset-hub/tx.d.ts +9202 -0
  20. package/paseo-asset-hub/types.d.ts +12526 -0
  21. package/paseo-people/consts.d.ts +486 -0
  22. package/paseo-people/errors.d.ts +832 -0
  23. package/paseo-people/events.d.ts +1172 -0
  24. package/paseo-people/index.d.ts +31 -0
  25. package/paseo-people/json-rpc.d.ts +96 -0
  26. package/paseo-people/query.d.ts +1257 -0
  27. package/paseo-people/runtime.d.ts +636 -0
  28. package/paseo-people/tx.d.ts +3273 -0
  29. package/paseo-people/types.d.ts +5460 -0
  30. package/polkadot-people/consts.d.ts +477 -0
  31. package/polkadot-people/errors.d.ts +818 -0
  32. package/polkadot-people/events.d.ts +1108 -0
  33. package/polkadot-people/index.d.ts +31 -0
  34. package/polkadot-people/json-rpc.d.ts +97 -0
  35. package/polkadot-people/query.d.ts +1245 -0
  36. package/polkadot-people/runtime.d.ts +636 -0
  37. package/polkadot-people/tx.d.ts +3153 -0
  38. package/polkadot-people/types.d.ts +5349 -0
  39. package/westend/json-rpc.d.ts +10 -10
  40. package/westend-asset-hub/json-rpc.d.ts +10 -10
  41. package/westend-people/json-rpc.d.ts +11 -10
@@ -0,0 +1,818 @@
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 `ParachainSystem`'s errors
66
+ **/
67
+ parachainSystem: {
68
+ /**
69
+ * Attempt to upgrade validation function while existing upgrade pending.
70
+ **/
71
+ OverlappingUpgrades: GenericPalletError<Rv>;
72
+
73
+ /**
74
+ * Polkadot currently prohibits this parachain from upgrading its validation function.
75
+ **/
76
+ ProhibitedByPolkadot: GenericPalletError<Rv>;
77
+
78
+ /**
79
+ * The supplied validation function has compiled into a blob larger than Polkadot is
80
+ * willing to run.
81
+ **/
82
+ TooBig: GenericPalletError<Rv>;
83
+
84
+ /**
85
+ * The inherent which supplies the validation data did not run this block.
86
+ **/
87
+ ValidationDataNotAvailable: GenericPalletError<Rv>;
88
+
89
+ /**
90
+ * The inherent which supplies the host configuration did not run this block.
91
+ **/
92
+ HostConfigurationNotAvailable: GenericPalletError<Rv>;
93
+
94
+ /**
95
+ * No validation function upgrade is currently scheduled.
96
+ **/
97
+ NotScheduled: GenericPalletError<Rv>;
98
+
99
+ /**
100
+ * No code upgrade has been authorized.
101
+ **/
102
+ NothingAuthorized: GenericPalletError<Rv>;
103
+
104
+ /**
105
+ * The given code upgrade has not been authorized.
106
+ **/
107
+ Unauthorized: GenericPalletError<Rv>;
108
+
109
+ /**
110
+ * Generic pallet error
111
+ **/
112
+ [error: string]: GenericPalletError<Rv>;
113
+ };
114
+ /**
115
+ * Pallet `Balances`'s errors
116
+ **/
117
+ balances: {
118
+ /**
119
+ * Vesting balance too high to send value.
120
+ **/
121
+ VestingBalance: GenericPalletError<Rv>;
122
+
123
+ /**
124
+ * Account liquidity restrictions prevent withdrawal.
125
+ **/
126
+ LiquidityRestrictions: GenericPalletError<Rv>;
127
+
128
+ /**
129
+ * Balance too low to send value.
130
+ **/
131
+ InsufficientBalance: GenericPalletError<Rv>;
132
+
133
+ /**
134
+ * Value too low to create account due to existential deposit.
135
+ **/
136
+ ExistentialDeposit: GenericPalletError<Rv>;
137
+
138
+ /**
139
+ * Transfer/payment would kill account.
140
+ **/
141
+ Expendability: GenericPalletError<Rv>;
142
+
143
+ /**
144
+ * A vesting schedule already exists for this account.
145
+ **/
146
+ ExistingVestingSchedule: GenericPalletError<Rv>;
147
+
148
+ /**
149
+ * Beneficiary account must pre-exist.
150
+ **/
151
+ DeadAccount: GenericPalletError<Rv>;
152
+
153
+ /**
154
+ * Number of named reserves exceed `MaxReserves`.
155
+ **/
156
+ TooManyReserves: GenericPalletError<Rv>;
157
+
158
+ /**
159
+ * Number of holds exceed `VariantCountOf<T::RuntimeHoldReason>`.
160
+ **/
161
+ TooManyHolds: GenericPalletError<Rv>;
162
+
163
+ /**
164
+ * Number of freezes exceed `MaxFreezes`.
165
+ **/
166
+ TooManyFreezes: GenericPalletError<Rv>;
167
+
168
+ /**
169
+ * The issuance cannot be modified since it is already deactivated.
170
+ **/
171
+ IssuanceDeactivated: GenericPalletError<Rv>;
172
+
173
+ /**
174
+ * The delta cannot be zero.
175
+ **/
176
+ DeltaZero: GenericPalletError<Rv>;
177
+
178
+ /**
179
+ * Generic pallet error
180
+ **/
181
+ [error: string]: GenericPalletError<Rv>;
182
+ };
183
+ /**
184
+ * Pallet `CollatorSelection`'s errors
185
+ **/
186
+ collatorSelection: {
187
+ /**
188
+ * The pallet has too many candidates.
189
+ **/
190
+ TooManyCandidates: GenericPalletError<Rv>;
191
+
192
+ /**
193
+ * Leaving would result in too few candidates.
194
+ **/
195
+ TooFewEligibleCollators: GenericPalletError<Rv>;
196
+
197
+ /**
198
+ * Account is already a candidate.
199
+ **/
200
+ AlreadyCandidate: GenericPalletError<Rv>;
201
+
202
+ /**
203
+ * Account is not a candidate.
204
+ **/
205
+ NotCandidate: GenericPalletError<Rv>;
206
+
207
+ /**
208
+ * There are too many Invulnerables.
209
+ **/
210
+ TooManyInvulnerables: GenericPalletError<Rv>;
211
+
212
+ /**
213
+ * Account is already an Invulnerable.
214
+ **/
215
+ AlreadyInvulnerable: GenericPalletError<Rv>;
216
+
217
+ /**
218
+ * Account is not an Invulnerable.
219
+ **/
220
+ NotInvulnerable: GenericPalletError<Rv>;
221
+
222
+ /**
223
+ * Account has no associated validator ID.
224
+ **/
225
+ NoAssociatedValidatorId: GenericPalletError<Rv>;
226
+
227
+ /**
228
+ * Validator ID is not yet registered.
229
+ **/
230
+ ValidatorNotRegistered: GenericPalletError<Rv>;
231
+
232
+ /**
233
+ * Could not insert in the candidate list.
234
+ **/
235
+ InsertToCandidateListFailed: GenericPalletError<Rv>;
236
+
237
+ /**
238
+ * Could not remove from the candidate list.
239
+ **/
240
+ RemoveFromCandidateListFailed: GenericPalletError<Rv>;
241
+
242
+ /**
243
+ * New deposit amount would be below the minimum candidacy bond.
244
+ **/
245
+ DepositTooLow: GenericPalletError<Rv>;
246
+
247
+ /**
248
+ * Could not update the candidate list.
249
+ **/
250
+ UpdateCandidateListFailed: GenericPalletError<Rv>;
251
+
252
+ /**
253
+ * Deposit amount is too low to take the target's slot in the candidate list.
254
+ **/
255
+ InsufficientBond: GenericPalletError<Rv>;
256
+
257
+ /**
258
+ * The target account to be replaced in the candidate list is not a candidate.
259
+ **/
260
+ TargetIsNotCandidate: GenericPalletError<Rv>;
261
+
262
+ /**
263
+ * The updated deposit amount is equal to the amount already reserved.
264
+ **/
265
+ IdenticalDeposit: GenericPalletError<Rv>;
266
+
267
+ /**
268
+ * Cannot lower candidacy bond while occupying a future collator slot in the list.
269
+ **/
270
+ InvalidUnreserve: GenericPalletError<Rv>;
271
+
272
+ /**
273
+ * Generic pallet error
274
+ **/
275
+ [error: string]: GenericPalletError<Rv>;
276
+ };
277
+ /**
278
+ * Pallet `Session`'s errors
279
+ **/
280
+ session: {
281
+ /**
282
+ * Invalid ownership proof.
283
+ **/
284
+ InvalidProof: GenericPalletError<Rv>;
285
+
286
+ /**
287
+ * No associated validator ID for account.
288
+ **/
289
+ NoAssociatedValidatorId: GenericPalletError<Rv>;
290
+
291
+ /**
292
+ * Registered duplicate key.
293
+ **/
294
+ DuplicatedKey: GenericPalletError<Rv>;
295
+
296
+ /**
297
+ * No keys are associated with this account.
298
+ **/
299
+ NoKeys: GenericPalletError<Rv>;
300
+
301
+ /**
302
+ * Key setting account is not live, so it's impossible to associate keys.
303
+ **/
304
+ NoAccount: GenericPalletError<Rv>;
305
+
306
+ /**
307
+ * Generic pallet error
308
+ **/
309
+ [error: string]: GenericPalletError<Rv>;
310
+ };
311
+ /**
312
+ * Pallet `XcmpQueue`'s errors
313
+ **/
314
+ xcmpQueue: {
315
+ /**
316
+ * Setting the queue config failed since one of its values was invalid.
317
+ **/
318
+ BadQueueConfig: GenericPalletError<Rv>;
319
+
320
+ /**
321
+ * The execution is already suspended.
322
+ **/
323
+ AlreadySuspended: GenericPalletError<Rv>;
324
+
325
+ /**
326
+ * The execution is already resumed.
327
+ **/
328
+ AlreadyResumed: GenericPalletError<Rv>;
329
+
330
+ /**
331
+ * There are too many active outbound channels.
332
+ **/
333
+ TooManyActiveOutboundChannels: GenericPalletError<Rv>;
334
+
335
+ /**
336
+ * The message is too big.
337
+ **/
338
+ TooBig: GenericPalletError<Rv>;
339
+
340
+ /**
341
+ * Generic pallet error
342
+ **/
343
+ [error: string]: GenericPalletError<Rv>;
344
+ };
345
+ /**
346
+ * Pallet `PolkadotXcm`'s errors
347
+ **/
348
+ polkadotXcm: {
349
+ /**
350
+ * The desired destination was unreachable, generally because there is a no way of routing
351
+ * to it.
352
+ **/
353
+ Unreachable: GenericPalletError<Rv>;
354
+
355
+ /**
356
+ * There was some other issue (i.e. not to do with routing) in sending the message.
357
+ * Perhaps a lack of space for buffering the message.
358
+ **/
359
+ SendFailure: GenericPalletError<Rv>;
360
+
361
+ /**
362
+ * The message execution fails the filter.
363
+ **/
364
+ Filtered: GenericPalletError<Rv>;
365
+
366
+ /**
367
+ * The message's weight could not be determined.
368
+ **/
369
+ UnweighableMessage: GenericPalletError<Rv>;
370
+
371
+ /**
372
+ * The destination `Location` provided cannot be inverted.
373
+ **/
374
+ DestinationNotInvertible: GenericPalletError<Rv>;
375
+
376
+ /**
377
+ * The assets to be sent are empty.
378
+ **/
379
+ Empty: GenericPalletError<Rv>;
380
+
381
+ /**
382
+ * Could not re-anchor the assets to declare the fees for the destination chain.
383
+ **/
384
+ CannotReanchor: GenericPalletError<Rv>;
385
+
386
+ /**
387
+ * Too many assets have been attempted for transfer.
388
+ **/
389
+ TooManyAssets: GenericPalletError<Rv>;
390
+
391
+ /**
392
+ * Origin is invalid for sending.
393
+ **/
394
+ InvalidOrigin: GenericPalletError<Rv>;
395
+
396
+ /**
397
+ * The version of the `Versioned` value used is not able to be interpreted.
398
+ **/
399
+ BadVersion: GenericPalletError<Rv>;
400
+
401
+ /**
402
+ * The given location could not be used (e.g. because it cannot be expressed in the
403
+ * desired version of XCM).
404
+ **/
405
+ BadLocation: GenericPalletError<Rv>;
406
+
407
+ /**
408
+ * The referenced subscription could not be found.
409
+ **/
410
+ NoSubscription: GenericPalletError<Rv>;
411
+
412
+ /**
413
+ * The location is invalid since it already has a subscription from us.
414
+ **/
415
+ AlreadySubscribed: GenericPalletError<Rv>;
416
+
417
+ /**
418
+ * Could not check-out the assets for teleportation to the destination chain.
419
+ **/
420
+ CannotCheckOutTeleport: GenericPalletError<Rv>;
421
+
422
+ /**
423
+ * The owner does not own (all) of the asset that they wish to do the operation on.
424
+ **/
425
+ LowBalance: GenericPalletError<Rv>;
426
+
427
+ /**
428
+ * The asset owner has too many locks on the asset.
429
+ **/
430
+ TooManyLocks: GenericPalletError<Rv>;
431
+
432
+ /**
433
+ * The given account is not an identifiable sovereign account for any location.
434
+ **/
435
+ AccountNotSovereign: GenericPalletError<Rv>;
436
+
437
+ /**
438
+ * The operation required fees to be paid which the initiator could not meet.
439
+ **/
440
+ FeesNotMet: GenericPalletError<Rv>;
441
+
442
+ /**
443
+ * A remote lock with the corresponding data could not be found.
444
+ **/
445
+ LockNotFound: GenericPalletError<Rv>;
446
+
447
+ /**
448
+ * The unlock operation cannot succeed because there are still consumers of the lock.
449
+ **/
450
+ InUse: GenericPalletError<Rv>;
451
+
452
+ /**
453
+ * Invalid asset, reserve chain could not be determined for it.
454
+ **/
455
+ InvalidAssetUnknownReserve: GenericPalletError<Rv>;
456
+
457
+ /**
458
+ * Invalid asset, do not support remote asset reserves with different fees reserves.
459
+ **/
460
+ InvalidAssetUnsupportedReserve: GenericPalletError<Rv>;
461
+
462
+ /**
463
+ * Too many assets with different reserve locations have been attempted for transfer.
464
+ **/
465
+ TooManyReserves: GenericPalletError<Rv>;
466
+
467
+ /**
468
+ * Local XCM execution incomplete.
469
+ **/
470
+ LocalExecutionIncomplete: GenericPalletError<Rv>;
471
+
472
+ /**
473
+ * Generic pallet error
474
+ **/
475
+ [error: string]: GenericPalletError<Rv>;
476
+ };
477
+ /**
478
+ * Pallet `MessageQueue`'s errors
479
+ **/
480
+ messageQueue: {
481
+ /**
482
+ * Page is not reapable because it has items remaining to be processed and is not old
483
+ * enough.
484
+ **/
485
+ NotReapable: GenericPalletError<Rv>;
486
+
487
+ /**
488
+ * Page to be reaped does not exist.
489
+ **/
490
+ NoPage: GenericPalletError<Rv>;
491
+
492
+ /**
493
+ * The referenced message could not be found.
494
+ **/
495
+ NoMessage: GenericPalletError<Rv>;
496
+
497
+ /**
498
+ * The message was already processed and cannot be processed again.
499
+ **/
500
+ AlreadyProcessed: GenericPalletError<Rv>;
501
+
502
+ /**
503
+ * The message is queued for future execution.
504
+ **/
505
+ Queued: GenericPalletError<Rv>;
506
+
507
+ /**
508
+ * There is temporarily not enough weight to continue servicing messages.
509
+ **/
510
+ InsufficientWeight: GenericPalletError<Rv>;
511
+
512
+ /**
513
+ * This message is temporarily unprocessable.
514
+ *
515
+ * Such errors are expected, but not guaranteed, to resolve themselves eventually through
516
+ * retrying.
517
+ **/
518
+ TemporarilyUnprocessable: GenericPalletError<Rv>;
519
+
520
+ /**
521
+ * The queue is paused and no message can be executed from it.
522
+ *
523
+ * This can change at any time and may resolve in the future by re-trying.
524
+ **/
525
+ QueuePaused: GenericPalletError<Rv>;
526
+
527
+ /**
528
+ * Another call is in progress and needs to finish before this call can happen.
529
+ **/
530
+ RecursiveDisallowed: GenericPalletError<Rv>;
531
+
532
+ /**
533
+ * Generic pallet error
534
+ **/
535
+ [error: string]: GenericPalletError<Rv>;
536
+ };
537
+ /**
538
+ * Pallet `Utility`'s errors
539
+ **/
540
+ utility: {
541
+ /**
542
+ * Too many calls batched.
543
+ **/
544
+ TooManyCalls: GenericPalletError<Rv>;
545
+
546
+ /**
547
+ * Generic pallet error
548
+ **/
549
+ [error: string]: GenericPalletError<Rv>;
550
+ };
551
+ /**
552
+ * Pallet `Multisig`'s errors
553
+ **/
554
+ multisig: {
555
+ /**
556
+ * Threshold must be 2 or greater.
557
+ **/
558
+ MinimumThreshold: GenericPalletError<Rv>;
559
+
560
+ /**
561
+ * Call is already approved by this signatory.
562
+ **/
563
+ AlreadyApproved: GenericPalletError<Rv>;
564
+
565
+ /**
566
+ * Call doesn't need any (more) approvals.
567
+ **/
568
+ NoApprovalsNeeded: GenericPalletError<Rv>;
569
+
570
+ /**
571
+ * There are too few signatories in the list.
572
+ **/
573
+ TooFewSignatories: GenericPalletError<Rv>;
574
+
575
+ /**
576
+ * There are too many signatories in the list.
577
+ **/
578
+ TooManySignatories: GenericPalletError<Rv>;
579
+
580
+ /**
581
+ * The signatories were provided out of order; they should be ordered.
582
+ **/
583
+ SignatoriesOutOfOrder: GenericPalletError<Rv>;
584
+
585
+ /**
586
+ * The sender was contained in the other signatories; it shouldn't be.
587
+ **/
588
+ SenderInSignatories: GenericPalletError<Rv>;
589
+
590
+ /**
591
+ * Multisig operation not found when attempting to cancel.
592
+ **/
593
+ NotFound: GenericPalletError<Rv>;
594
+
595
+ /**
596
+ * Only the account that originally created the multisig is able to cancel it.
597
+ **/
598
+ NotOwner: GenericPalletError<Rv>;
599
+
600
+ /**
601
+ * No timepoint was given, yet the multisig operation is already underway.
602
+ **/
603
+ NoTimepoint: GenericPalletError<Rv>;
604
+
605
+ /**
606
+ * A different timepoint was given to the multisig operation that is underway.
607
+ **/
608
+ WrongTimepoint: GenericPalletError<Rv>;
609
+
610
+ /**
611
+ * A timepoint was given, yet no multisig operation is underway.
612
+ **/
613
+ UnexpectedTimepoint: GenericPalletError<Rv>;
614
+
615
+ /**
616
+ * The maximum weight information provided was too low.
617
+ **/
618
+ MaxWeightTooLow: GenericPalletError<Rv>;
619
+
620
+ /**
621
+ * The data to be stored is already stored.
622
+ **/
623
+ AlreadyStored: GenericPalletError<Rv>;
624
+
625
+ /**
626
+ * Generic pallet error
627
+ **/
628
+ [error: string]: GenericPalletError<Rv>;
629
+ };
630
+ /**
631
+ * Pallet `Proxy`'s errors
632
+ **/
633
+ proxy: {
634
+ /**
635
+ * There are too many proxies registered or too many announcements pending.
636
+ **/
637
+ TooMany: GenericPalletError<Rv>;
638
+
639
+ /**
640
+ * Proxy registration not found.
641
+ **/
642
+ NotFound: GenericPalletError<Rv>;
643
+
644
+ /**
645
+ * Sender is not a proxy of the account to be proxied.
646
+ **/
647
+ NotProxy: GenericPalletError<Rv>;
648
+
649
+ /**
650
+ * A call which is incompatible with the proxy type's filter was attempted.
651
+ **/
652
+ Unproxyable: GenericPalletError<Rv>;
653
+
654
+ /**
655
+ * Account is already a proxy.
656
+ **/
657
+ Duplicate: GenericPalletError<Rv>;
658
+
659
+ /**
660
+ * Call may not be made by proxy because it may escalate its privileges.
661
+ **/
662
+ NoPermission: GenericPalletError<Rv>;
663
+
664
+ /**
665
+ * Announcement, if made at all, was made too recently.
666
+ **/
667
+ Unannounced: GenericPalletError<Rv>;
668
+
669
+ /**
670
+ * Cannot add self as proxy.
671
+ **/
672
+ NoSelfProxy: GenericPalletError<Rv>;
673
+
674
+ /**
675
+ * Generic pallet error
676
+ **/
677
+ [error: string]: GenericPalletError<Rv>;
678
+ };
679
+ /**
680
+ * Pallet `Identity`'s errors
681
+ **/
682
+ identity: {
683
+ /**
684
+ * Too many subs-accounts.
685
+ **/
686
+ TooManySubAccounts: GenericPalletError<Rv>;
687
+
688
+ /**
689
+ * Account isn't found.
690
+ **/
691
+ NotFound: GenericPalletError<Rv>;
692
+
693
+ /**
694
+ * Account isn't named.
695
+ **/
696
+ NotNamed: GenericPalletError<Rv>;
697
+
698
+ /**
699
+ * Empty index.
700
+ **/
701
+ EmptyIndex: GenericPalletError<Rv>;
702
+
703
+ /**
704
+ * Fee is changed.
705
+ **/
706
+ FeeChanged: GenericPalletError<Rv>;
707
+
708
+ /**
709
+ * No identity found.
710
+ **/
711
+ NoIdentity: GenericPalletError<Rv>;
712
+
713
+ /**
714
+ * Sticky judgement.
715
+ **/
716
+ StickyJudgement: GenericPalletError<Rv>;
717
+
718
+ /**
719
+ * Judgement given.
720
+ **/
721
+ JudgementGiven: GenericPalletError<Rv>;
722
+
723
+ /**
724
+ * Invalid judgement.
725
+ **/
726
+ InvalidJudgement: GenericPalletError<Rv>;
727
+
728
+ /**
729
+ * The index is invalid.
730
+ **/
731
+ InvalidIndex: GenericPalletError<Rv>;
732
+
733
+ /**
734
+ * The target is invalid.
735
+ **/
736
+ InvalidTarget: GenericPalletError<Rv>;
737
+
738
+ /**
739
+ * Maximum amount of registrars reached. Cannot add any more.
740
+ **/
741
+ TooManyRegistrars: GenericPalletError<Rv>;
742
+
743
+ /**
744
+ * Account ID is already named.
745
+ **/
746
+ AlreadyClaimed: GenericPalletError<Rv>;
747
+
748
+ /**
749
+ * Sender is not a sub-account.
750
+ **/
751
+ NotSub: GenericPalletError<Rv>;
752
+
753
+ /**
754
+ * Sub-account isn't owned by sender.
755
+ **/
756
+ NotOwned: GenericPalletError<Rv>;
757
+
758
+ /**
759
+ * The provided judgement was for a different identity.
760
+ **/
761
+ JudgementForDifferentIdentity: GenericPalletError<Rv>;
762
+
763
+ /**
764
+ * Error that occurs when there is an issue paying for judgement.
765
+ **/
766
+ JudgementPaymentFailed: GenericPalletError<Rv>;
767
+
768
+ /**
769
+ * The provided suffix is too long.
770
+ **/
771
+ InvalidSuffix: GenericPalletError<Rv>;
772
+
773
+ /**
774
+ * The sender does not have permission to issue a username.
775
+ **/
776
+ NotUsernameAuthority: GenericPalletError<Rv>;
777
+
778
+ /**
779
+ * The authority cannot allocate any more usernames.
780
+ **/
781
+ NoAllocation: GenericPalletError<Rv>;
782
+
783
+ /**
784
+ * The signature on a username was not valid.
785
+ **/
786
+ InvalidSignature: GenericPalletError<Rv>;
787
+
788
+ /**
789
+ * Setting this username requires a signature, but none was provided.
790
+ **/
791
+ RequiresSignature: GenericPalletError<Rv>;
792
+
793
+ /**
794
+ * The username does not meet the requirements.
795
+ **/
796
+ InvalidUsername: GenericPalletError<Rv>;
797
+
798
+ /**
799
+ * The username is already taken.
800
+ **/
801
+ UsernameTaken: GenericPalletError<Rv>;
802
+
803
+ /**
804
+ * The requested username does not exist.
805
+ **/
806
+ NoUsername: GenericPalletError<Rv>;
807
+
808
+ /**
809
+ * The username cannot be forcefully removed because it can still be accepted.
810
+ **/
811
+ NotExpired: GenericPalletError<Rv>;
812
+
813
+ /**
814
+ * Generic pallet error
815
+ **/
816
+ [error: string]: GenericPalletError<Rv>;
817
+ };
818
+ }