@polkadot/api-augment 6.12.2-20 → 6.12.2-21

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.
@@ -1,1561 +0,0 @@
1
- import type { ApiTypes, AugmentedError, ModuleErrors } from '@polkadot/api-base/types';
2
- declare module '@polkadot/api-augment/errors' {
3
- interface AugmentedErrors<ApiType extends ApiTypes> {
4
- assets: {
5
- /**
6
- * Invalid metadata given.
7
- **/
8
- BadMetadata: AugmentedError<ApiType>;
9
- /**
10
- * Invalid witness data given.
11
- **/
12
- BadWitness: AugmentedError<ApiType>;
13
- /**
14
- * Account balance must be greater than or equal to the transfer amount.
15
- **/
16
- BalanceLow: AugmentedError<ApiType>;
17
- /**
18
- * Balance should be non-zero.
19
- **/
20
- BalanceZero: AugmentedError<ApiType>;
21
- /**
22
- * The origin account is frozen.
23
- **/
24
- Frozen: AugmentedError<ApiType>;
25
- /**
26
- * The asset ID is already taken.
27
- **/
28
- InUse: AugmentedError<ApiType>;
29
- /**
30
- * Minimum balance should be non-zero.
31
- **/
32
- MinBalanceZero: AugmentedError<ApiType>;
33
- /**
34
- * The signing account has no permission to do the operation.
35
- **/
36
- NoPermission: AugmentedError<ApiType>;
37
- /**
38
- * No provider reference exists to allow a non-zero balance of a non-self-sufficient
39
- * asset.
40
- **/
41
- NoProvider: AugmentedError<ApiType>;
42
- /**
43
- * No approval exists that would allow the transfer.
44
- **/
45
- Unapproved: AugmentedError<ApiType>;
46
- /**
47
- * The given asset ID is unknown.
48
- **/
49
- Unknown: AugmentedError<ApiType>;
50
- /**
51
- * The source account would not survive the transfer and it needs to stay alive.
52
- **/
53
- WouldDie: AugmentedError<ApiType>;
54
- /**
55
- * Generic error
56
- **/
57
- [key: string]: AugmentedError<ApiType>;
58
- };
59
- authorship: {
60
- /**
61
- * The uncle is genesis.
62
- **/
63
- GenesisUncle: AugmentedError<ApiType>;
64
- /**
65
- * The uncle parent not in the chain.
66
- **/
67
- InvalidUncleParent: AugmentedError<ApiType>;
68
- /**
69
- * The uncle isn't recent enough to be included.
70
- **/
71
- OldUncle: AugmentedError<ApiType>;
72
- /**
73
- * The uncle is too high in chain.
74
- **/
75
- TooHighUncle: AugmentedError<ApiType>;
76
- /**
77
- * Too many uncles.
78
- **/
79
- TooManyUncles: AugmentedError<ApiType>;
80
- /**
81
- * The uncle is already included.
82
- **/
83
- UncleAlreadyIncluded: AugmentedError<ApiType>;
84
- /**
85
- * Uncles already set in the block.
86
- **/
87
- UnclesAlreadySet: AugmentedError<ApiType>;
88
- /**
89
- * Generic error
90
- **/
91
- [key: string]: AugmentedError<ApiType>;
92
- };
93
- babe: {
94
- /**
95
- * A given equivocation report is valid but already previously reported.
96
- **/
97
- DuplicateOffenceReport: AugmentedError<ApiType>;
98
- /**
99
- * An equivocation proof provided as part of an equivocation report is invalid.
100
- **/
101
- InvalidEquivocationProof: AugmentedError<ApiType>;
102
- /**
103
- * A key ownership proof provided as part of an equivocation report is invalid.
104
- **/
105
- InvalidKeyOwnershipProof: AugmentedError<ApiType>;
106
- /**
107
- * Generic error
108
- **/
109
- [key: string]: AugmentedError<ApiType>;
110
- };
111
- bagsList: {
112
- /**
113
- * Id not found in list.
114
- **/
115
- IdNotFound: AugmentedError<ApiType>;
116
- /**
117
- * An Id does not have a greater vote weight than another Id.
118
- **/
119
- NotHeavier: AugmentedError<ApiType>;
120
- /**
121
- * Attempted to place node in front of a node in another bag.
122
- **/
123
- NotInSameBag: AugmentedError<ApiType>;
124
- /**
125
- * Generic error
126
- **/
127
- [key: string]: AugmentedError<ApiType>;
128
- };
129
- balances: {
130
- /**
131
- * Beneficiary account must pre-exist
132
- **/
133
- DeadAccount: AugmentedError<ApiType>;
134
- /**
135
- * Value too low to create account due to existential deposit
136
- **/
137
- ExistentialDeposit: AugmentedError<ApiType>;
138
- /**
139
- * A vesting schedule already exists for this account
140
- **/
141
- ExistingVestingSchedule: AugmentedError<ApiType>;
142
- /**
143
- * Balance too low to send value
144
- **/
145
- InsufficientBalance: AugmentedError<ApiType>;
146
- /**
147
- * Transfer/payment would kill account
148
- **/
149
- KeepAlive: AugmentedError<ApiType>;
150
- /**
151
- * Account liquidity restrictions prevent withdrawal
152
- **/
153
- LiquidityRestrictions: AugmentedError<ApiType>;
154
- /**
155
- * Number of named reserves exceed MaxReserves
156
- **/
157
- TooManyReserves: AugmentedError<ApiType>;
158
- /**
159
- * Vesting balance too high to send value
160
- **/
161
- VestingBalance: AugmentedError<ApiType>;
162
- /**
163
- * Generic error
164
- **/
165
- [key: string]: AugmentedError<ApiType>;
166
- };
167
- bounties: {
168
- /**
169
- * The bounty cannot be closed because it has active child-bounties.
170
- **/
171
- HasActiveChildBounty: AugmentedError<ApiType>;
172
- /**
173
- * Proposer's balance is too low.
174
- **/
175
- InsufficientProposersBalance: AugmentedError<ApiType>;
176
- /**
177
- * Invalid bounty fee.
178
- **/
179
- InvalidFee: AugmentedError<ApiType>;
180
- /**
181
- * No proposal or bounty at that index.
182
- **/
183
- InvalidIndex: AugmentedError<ApiType>;
184
- /**
185
- * Invalid bounty value.
186
- **/
187
- InvalidValue: AugmentedError<ApiType>;
188
- /**
189
- * A bounty payout is pending.
190
- * To cancel the bounty, you must unassign and slash the curator.
191
- **/
192
- PendingPayout: AugmentedError<ApiType>;
193
- /**
194
- * The bounties cannot be claimed/closed because it's still in the countdown period.
195
- **/
196
- Premature: AugmentedError<ApiType>;
197
- /**
198
- * The reason given is just too big.
199
- **/
200
- ReasonTooBig: AugmentedError<ApiType>;
201
- /**
202
- * Require bounty curator.
203
- **/
204
- RequireCurator: AugmentedError<ApiType>;
205
- /**
206
- * The bounty status is unexpected.
207
- **/
208
- UnexpectedStatus: AugmentedError<ApiType>;
209
- /**
210
- * Generic error
211
- **/
212
- [key: string]: AugmentedError<ApiType>;
213
- };
214
- childBounties: {
215
- /**
216
- * The bounty balance is not enough to add new child-bounty.
217
- **/
218
- InsufficientBountyBalance: AugmentedError<ApiType>;
219
- /**
220
- * The parent bounty is not in active state.
221
- **/
222
- ParentBountyNotActive: AugmentedError<ApiType>;
223
- /**
224
- * Number of child-bounties exceeds limit `MaxActiveChildBountyCount`.
225
- **/
226
- TooManyChildBounties: AugmentedError<ApiType>;
227
- /**
228
- * Generic error
229
- **/
230
- [key: string]: AugmentedError<ApiType>;
231
- };
232
- contracts: {
233
- /**
234
- * Code removal was denied because the code is still in use by at least one contract.
235
- **/
236
- CodeInUse: AugmentedError<ApiType>;
237
- /**
238
- * No code could be found at the supplied code hash.
239
- **/
240
- CodeNotFound: AugmentedError<ApiType>;
241
- /**
242
- * The code supplied to `instantiate_with_code` exceeds the limit specified in the
243
- * current schedule.
244
- **/
245
- CodeTooLarge: AugmentedError<ApiType>;
246
- /**
247
- * No contract was found at the specified address.
248
- **/
249
- ContractNotFound: AugmentedError<ApiType>;
250
- /**
251
- * Contract trapped during execution.
252
- **/
253
- ContractTrapped: AugmentedError<ApiType>;
254
- /**
255
- * The debug message specified to `seal_debug_message` does contain invalid UTF-8.
256
- **/
257
- DebugMessageInvalidUTF8: AugmentedError<ApiType>;
258
- /**
259
- * Input passed to a contract API function failed to decode as expected type.
260
- **/
261
- DecodingFailed: AugmentedError<ApiType>;
262
- /**
263
- * Removal of a contract failed because the deletion queue is full.
264
- *
265
- * This can happen when calling `seal_terminate`.
266
- * The queue is filled by deleting contracts and emptied by a fixed amount each block.
267
- * Trying again during another block is the only way to resolve this issue.
268
- **/
269
- DeletionQueueFull: AugmentedError<ApiType>;
270
- /**
271
- * A contract with the same AccountId already exists.
272
- **/
273
- DuplicateContract: AugmentedError<ApiType>;
274
- /**
275
- * The topics passed to `seal_deposit_events` contains at least one duplicate.
276
- **/
277
- DuplicateTopics: AugmentedError<ApiType>;
278
- /**
279
- * `seal_call` forwarded this contracts input. It therefore is no longer available.
280
- **/
281
- InputForwarded: AugmentedError<ApiType>;
282
- /**
283
- * A new schedule must have a greater version than the current one.
284
- **/
285
- InvalidScheduleVersion: AugmentedError<ApiType>;
286
- /**
287
- * Performing a call was denied because the calling depth reached the limit
288
- * of what is specified in the schedule.
289
- **/
290
- MaxCallDepthReached: AugmentedError<ApiType>;
291
- /**
292
- * The chain does not provide a chain extension. Calling the chain extension results
293
- * in this error. Note that this usually shouldn't happen as deploying such contracts
294
- * is rejected.
295
- **/
296
- NoChainExtension: AugmentedError<ApiType>;
297
- /**
298
- * A buffer outside of sandbox memory was passed to a contract API function.
299
- **/
300
- OutOfBounds: AugmentedError<ApiType>;
301
- /**
302
- * The executed contract exhausted its gas limit.
303
- **/
304
- OutOfGas: AugmentedError<ApiType>;
305
- /**
306
- * The output buffer supplied to a contract API call was too small.
307
- **/
308
- OutputBufferTooSmall: AugmentedError<ApiType>;
309
- /**
310
- * The subject passed to `seal_random` exceeds the limit.
311
- **/
312
- RandomSubjectTooLong: AugmentedError<ApiType>;
313
- /**
314
- * A call tried to invoke a contract that is flagged as non-reentrant.
315
- **/
316
- ReentranceDenied: AugmentedError<ApiType>;
317
- /**
318
- * More storage was created than allowed by the storage deposit limit.
319
- **/
320
- StorageDepositLimitExhausted: AugmentedError<ApiType>;
321
- /**
322
- * Origin doesn't have enough balance to pay the required storage deposits.
323
- **/
324
- StorageDepositNotEnoughFunds: AugmentedError<ApiType>;
325
- /**
326
- * A contract self destructed in its constructor.
327
- *
328
- * This can be triggered by a call to `seal_terminate`.
329
- **/
330
- TerminatedInConstructor: AugmentedError<ApiType>;
331
- /**
332
- * Termination of a contract is not allowed while the contract is already
333
- * on the call stack. Can be triggered by `seal_terminate`.
334
- **/
335
- TerminatedWhileReentrant: AugmentedError<ApiType>;
336
- /**
337
- * The amount of topics passed to `seal_deposit_events` exceeds the limit.
338
- **/
339
- TooManyTopics: AugmentedError<ApiType>;
340
- /**
341
- * Performing the requested transfer failed. Probably because there isn't enough
342
- * free balance in the sender's account.
343
- **/
344
- TransferFailed: AugmentedError<ApiType>;
345
- /**
346
- * The size defined in `T::MaxValueSize` was exceeded.
347
- **/
348
- ValueTooLarge: AugmentedError<ApiType>;
349
- /**
350
- * Generic error
351
- **/
352
- [key: string]: AugmentedError<ApiType>;
353
- };
354
- council: {
355
- /**
356
- * Members are already initialized!
357
- **/
358
- AlreadyInitialized: AugmentedError<ApiType>;
359
- /**
360
- * Duplicate proposals not allowed
361
- **/
362
- DuplicateProposal: AugmentedError<ApiType>;
363
- /**
364
- * Duplicate vote ignored
365
- **/
366
- DuplicateVote: AugmentedError<ApiType>;
367
- /**
368
- * Account is not a member
369
- **/
370
- NotMember: AugmentedError<ApiType>;
371
- /**
372
- * Proposal must exist
373
- **/
374
- ProposalMissing: AugmentedError<ApiType>;
375
- /**
376
- * The close call was made too early, before the end of the voting.
377
- **/
378
- TooEarly: AugmentedError<ApiType>;
379
- /**
380
- * There can only be a maximum of `MaxProposals` active proposals.
381
- **/
382
- TooManyProposals: AugmentedError<ApiType>;
383
- /**
384
- * Mismatched index
385
- **/
386
- WrongIndex: AugmentedError<ApiType>;
387
- /**
388
- * The given length bound for the proposal was too low.
389
- **/
390
- WrongProposalLength: AugmentedError<ApiType>;
391
- /**
392
- * The given weight bound for the proposal was too low.
393
- **/
394
- WrongProposalWeight: AugmentedError<ApiType>;
395
- /**
396
- * Generic error
397
- **/
398
- [key: string]: AugmentedError<ApiType>;
399
- };
400
- democracy: {
401
- /**
402
- * Cannot cancel the same proposal twice
403
- **/
404
- AlreadyCanceled: AugmentedError<ApiType>;
405
- /**
406
- * The account is already delegating.
407
- **/
408
- AlreadyDelegating: AugmentedError<ApiType>;
409
- /**
410
- * Identity may not veto a proposal twice
411
- **/
412
- AlreadyVetoed: AugmentedError<ApiType>;
413
- /**
414
- * Preimage already noted
415
- **/
416
- DuplicatePreimage: AugmentedError<ApiType>;
417
- /**
418
- * Proposal already made
419
- **/
420
- DuplicateProposal: AugmentedError<ApiType>;
421
- /**
422
- * Imminent
423
- **/
424
- Imminent: AugmentedError<ApiType>;
425
- /**
426
- * The instant referendum origin is currently disallowed.
427
- **/
428
- InstantNotAllowed: AugmentedError<ApiType>;
429
- /**
430
- * Too high a balance was provided that the account cannot afford.
431
- **/
432
- InsufficientFunds: AugmentedError<ApiType>;
433
- /**
434
- * Invalid hash
435
- **/
436
- InvalidHash: AugmentedError<ApiType>;
437
- /**
438
- * Maximum number of votes reached.
439
- **/
440
- MaxVotesReached: AugmentedError<ApiType>;
441
- /**
442
- * No proposals waiting
443
- **/
444
- NoneWaiting: AugmentedError<ApiType>;
445
- /**
446
- * Delegation to oneself makes no sense.
447
- **/
448
- Nonsense: AugmentedError<ApiType>;
449
- /**
450
- * The actor has no permission to conduct the action.
451
- **/
452
- NoPermission: AugmentedError<ApiType>;
453
- /**
454
- * No external proposal
455
- **/
456
- NoProposal: AugmentedError<ApiType>;
457
- /**
458
- * The account is not currently delegating.
459
- **/
460
- NotDelegating: AugmentedError<ApiType>;
461
- /**
462
- * Not imminent
463
- **/
464
- NotImminent: AugmentedError<ApiType>;
465
- /**
466
- * Next external proposal not simple majority
467
- **/
468
- NotSimpleMajority: AugmentedError<ApiType>;
469
- /**
470
- * The given account did not vote on the referendum.
471
- **/
472
- NotVoter: AugmentedError<ApiType>;
473
- /**
474
- * Invalid preimage
475
- **/
476
- PreimageInvalid: AugmentedError<ApiType>;
477
- /**
478
- * Preimage not found
479
- **/
480
- PreimageMissing: AugmentedError<ApiType>;
481
- /**
482
- * Proposal still blacklisted
483
- **/
484
- ProposalBlacklisted: AugmentedError<ApiType>;
485
- /**
486
- * Proposal does not exist
487
- **/
488
- ProposalMissing: AugmentedError<ApiType>;
489
- /**
490
- * Vote given for invalid referendum
491
- **/
492
- ReferendumInvalid: AugmentedError<ApiType>;
493
- /**
494
- * Too early
495
- **/
496
- TooEarly: AugmentedError<ApiType>;
497
- /**
498
- * Maximum number of proposals reached.
499
- **/
500
- TooManyProposals: AugmentedError<ApiType>;
501
- /**
502
- * Value too low
503
- **/
504
- ValueLow: AugmentedError<ApiType>;
505
- /**
506
- * The account currently has votes attached to it and the operation cannot succeed until
507
- * these are removed, either through `unvote` or `reap_vote`.
508
- **/
509
- VotesExist: AugmentedError<ApiType>;
510
- /**
511
- * Invalid upper bound.
512
- **/
513
- WrongUpperBound: AugmentedError<ApiType>;
514
- /**
515
- * Generic error
516
- **/
517
- [key: string]: AugmentedError<ApiType>;
518
- };
519
- electionProviderMultiPhase: {
520
- /**
521
- * The call is not allowed at this point.
522
- **/
523
- CallNotAllowed: AugmentedError<ApiType>;
524
- /**
525
- * `Self::insert_submission` returned an invalid index.
526
- **/
527
- InvalidSubmissionIndex: AugmentedError<ApiType>;
528
- /**
529
- * Snapshot metadata should exist but didn't.
530
- **/
531
- MissingSnapshotMetadata: AugmentedError<ApiType>;
532
- /**
533
- * OCW submitted solution for wrong round
534
- **/
535
- OcwCallWrongEra: AugmentedError<ApiType>;
536
- /**
537
- * Submission was too early.
538
- **/
539
- PreDispatchEarlySubmission: AugmentedError<ApiType>;
540
- /**
541
- * Submission was too weak, score-wise.
542
- **/
543
- PreDispatchWeakSubmission: AugmentedError<ApiType>;
544
- /**
545
- * Wrong number of winners presented.
546
- **/
547
- PreDispatchWrongWinnerCount: AugmentedError<ApiType>;
548
- /**
549
- * The origin failed to pay the deposit.
550
- **/
551
- SignedCannotPayDeposit: AugmentedError<ApiType>;
552
- /**
553
- * Witness data to dispatchable is invalid.
554
- **/
555
- SignedInvalidWitness: AugmentedError<ApiType>;
556
- /**
557
- * The queue was full, and the solution was not better than any of the existing ones.
558
- **/
559
- SignedQueueFull: AugmentedError<ApiType>;
560
- /**
561
- * The signed submission consumes too much weight
562
- **/
563
- SignedTooMuchWeight: AugmentedError<ApiType>;
564
- /**
565
- * Generic error
566
- **/
567
- [key: string]: AugmentedError<ApiType>;
568
- };
569
- elections: {
570
- /**
571
- * Duplicated candidate submission.
572
- **/
573
- DuplicatedCandidate: AugmentedError<ApiType>;
574
- /**
575
- * Candidate does not have enough funds.
576
- **/
577
- InsufficientCandidateFunds: AugmentedError<ApiType>;
578
- /**
579
- * The renouncing origin presented a wrong `Renouncing` parameter.
580
- **/
581
- InvalidRenouncing: AugmentedError<ApiType>;
582
- /**
583
- * Prediction regarding replacement after member removal is wrong.
584
- **/
585
- InvalidReplacement: AugmentedError<ApiType>;
586
- /**
587
- * The provided count of number of votes is incorrect.
588
- **/
589
- InvalidVoteCount: AugmentedError<ApiType>;
590
- /**
591
- * The provided count of number of candidates is incorrect.
592
- **/
593
- InvalidWitnessData: AugmentedError<ApiType>;
594
- /**
595
- * Cannot vote with stake less than minimum balance.
596
- **/
597
- LowBalance: AugmentedError<ApiType>;
598
- /**
599
- * Cannot vote more than maximum allowed.
600
- **/
601
- MaximumVotesExceeded: AugmentedError<ApiType>;
602
- /**
603
- * Member cannot re-submit candidacy.
604
- **/
605
- MemberSubmit: AugmentedError<ApiType>;
606
- /**
607
- * Must be a voter.
608
- **/
609
- MustBeVoter: AugmentedError<ApiType>;
610
- /**
611
- * Not a member.
612
- **/
613
- NotMember: AugmentedError<ApiType>;
614
- /**
615
- * Must vote for at least one candidate.
616
- **/
617
- NoVotes: AugmentedError<ApiType>;
618
- /**
619
- * Cannot report self.
620
- **/
621
- ReportSelf: AugmentedError<ApiType>;
622
- /**
623
- * Runner cannot re-submit candidacy.
624
- **/
625
- RunnerUpSubmit: AugmentedError<ApiType>;
626
- /**
627
- * Cannot vote more than candidates.
628
- **/
629
- TooManyVotes: AugmentedError<ApiType>;
630
- /**
631
- * Voter can not pay voting bond.
632
- **/
633
- UnableToPayBond: AugmentedError<ApiType>;
634
- /**
635
- * Cannot vote when no candidates or members exist.
636
- **/
637
- UnableToVote: AugmentedError<ApiType>;
638
- /**
639
- * Generic error
640
- **/
641
- [key: string]: AugmentedError<ApiType>;
642
- };
643
- gilt: {
644
- /**
645
- * The amount of the bid is less than the minimum allowed.
646
- **/
647
- AmountTooSmall: AugmentedError<ApiType>;
648
- /**
649
- * The queue for the bid's duration is full and the amount bid is too low to get in
650
- * through replacing an existing bid.
651
- **/
652
- BidTooLow: AugmentedError<ApiType>;
653
- /**
654
- * The duration is the bid is greater than the number of queues.
655
- **/
656
- DurationTooBig: AugmentedError<ApiType>;
657
- /**
658
- * The duration of the bid is less than one.
659
- **/
660
- DurationTooSmall: AugmentedError<ApiType>;
661
- /**
662
- * Gilt not yet at expiry date.
663
- **/
664
- NotExpired: AugmentedError<ApiType>;
665
- /**
666
- * The given bid for retraction is not found.
667
- **/
668
- NotFound: AugmentedError<ApiType>;
669
- /**
670
- * Not the owner of the gilt.
671
- **/
672
- NotOwner: AugmentedError<ApiType>;
673
- /**
674
- * Gilt index is unknown.
675
- **/
676
- Unknown: AugmentedError<ApiType>;
677
- /**
678
- * Generic error
679
- **/
680
- [key: string]: AugmentedError<ApiType>;
681
- };
682
- grandpa: {
683
- /**
684
- * Attempt to signal GRANDPA change with one already pending.
685
- **/
686
- ChangePending: AugmentedError<ApiType>;
687
- /**
688
- * A given equivocation report is valid but already previously reported.
689
- **/
690
- DuplicateOffenceReport: AugmentedError<ApiType>;
691
- /**
692
- * An equivocation proof provided as part of an equivocation report is invalid.
693
- **/
694
- InvalidEquivocationProof: AugmentedError<ApiType>;
695
- /**
696
- * A key ownership proof provided as part of an equivocation report is invalid.
697
- **/
698
- InvalidKeyOwnershipProof: AugmentedError<ApiType>;
699
- /**
700
- * Attempt to signal GRANDPA pause when the authority set isn't live
701
- * (either paused or already pending pause).
702
- **/
703
- PauseFailed: AugmentedError<ApiType>;
704
- /**
705
- * Attempt to signal GRANDPA resume when the authority set isn't paused
706
- * (either live or already pending resume).
707
- **/
708
- ResumeFailed: AugmentedError<ApiType>;
709
- /**
710
- * Cannot signal forced change so soon after last.
711
- **/
712
- TooSoon: AugmentedError<ApiType>;
713
- /**
714
- * Generic error
715
- **/
716
- [key: string]: AugmentedError<ApiType>;
717
- };
718
- identity: {
719
- /**
720
- * Account ID is already named.
721
- **/
722
- AlreadyClaimed: AugmentedError<ApiType>;
723
- /**
724
- * Empty index.
725
- **/
726
- EmptyIndex: AugmentedError<ApiType>;
727
- /**
728
- * Fee is changed.
729
- **/
730
- FeeChanged: AugmentedError<ApiType>;
731
- /**
732
- * The index is invalid.
733
- **/
734
- InvalidIndex: AugmentedError<ApiType>;
735
- /**
736
- * Invalid judgement.
737
- **/
738
- InvalidJudgement: AugmentedError<ApiType>;
739
- /**
740
- * The target is invalid.
741
- **/
742
- InvalidTarget: AugmentedError<ApiType>;
743
- /**
744
- * Judgement given.
745
- **/
746
- JudgementGiven: AugmentedError<ApiType>;
747
- /**
748
- * No identity found.
749
- **/
750
- NoIdentity: AugmentedError<ApiType>;
751
- /**
752
- * Account isn't found.
753
- **/
754
- NotFound: AugmentedError<ApiType>;
755
- /**
756
- * Account isn't named.
757
- **/
758
- NotNamed: AugmentedError<ApiType>;
759
- /**
760
- * Sub-account isn't owned by sender.
761
- **/
762
- NotOwned: AugmentedError<ApiType>;
763
- /**
764
- * Sender is not a sub-account.
765
- **/
766
- NotSub: AugmentedError<ApiType>;
767
- /**
768
- * Sticky judgement.
769
- **/
770
- StickyJudgement: AugmentedError<ApiType>;
771
- /**
772
- * Too many additional fields.
773
- **/
774
- TooManyFields: AugmentedError<ApiType>;
775
- /**
776
- * Maximum amount of registrars reached. Cannot add any more.
777
- **/
778
- TooManyRegistrars: AugmentedError<ApiType>;
779
- /**
780
- * Too many subs-accounts.
781
- **/
782
- TooManySubAccounts: AugmentedError<ApiType>;
783
- /**
784
- * Generic error
785
- **/
786
- [key: string]: AugmentedError<ApiType>;
787
- };
788
- imOnline: {
789
- /**
790
- * Duplicated heartbeat.
791
- **/
792
- DuplicatedHeartbeat: AugmentedError<ApiType>;
793
- /**
794
- * Non existent public key.
795
- **/
796
- InvalidKey: AugmentedError<ApiType>;
797
- /**
798
- * Generic error
799
- **/
800
- [key: string]: AugmentedError<ApiType>;
801
- };
802
- indices: {
803
- /**
804
- * The index was not available.
805
- **/
806
- InUse: AugmentedError<ApiType>;
807
- /**
808
- * The index was not already assigned.
809
- **/
810
- NotAssigned: AugmentedError<ApiType>;
811
- /**
812
- * The index is assigned to another account.
813
- **/
814
- NotOwner: AugmentedError<ApiType>;
815
- /**
816
- * The source and destination accounts are identical.
817
- **/
818
- NotTransfer: AugmentedError<ApiType>;
819
- /**
820
- * The index is permanent and may not be freed/changed.
821
- **/
822
- Permanent: AugmentedError<ApiType>;
823
- /**
824
- * Generic error
825
- **/
826
- [key: string]: AugmentedError<ApiType>;
827
- };
828
- lottery: {
829
- /**
830
- * A lottery has already ended.
831
- **/
832
- AlreadyEnded: AugmentedError<ApiType>;
833
- /**
834
- * You are already participating in the lottery with this call.
835
- **/
836
- AlreadyParticipating: AugmentedError<ApiType>;
837
- /**
838
- * Failed to encode calls
839
- **/
840
- EncodingFailed: AugmentedError<ApiType>;
841
- /**
842
- * A lottery is already in progress.
843
- **/
844
- InProgress: AugmentedError<ApiType>;
845
- /**
846
- * The call is not valid for an open lottery.
847
- **/
848
- InvalidCall: AugmentedError<ApiType>;
849
- /**
850
- * A lottery has not been configured.
851
- **/
852
- NotConfigured: AugmentedError<ApiType>;
853
- /**
854
- * Too many calls for a single lottery.
855
- **/
856
- TooManyCalls: AugmentedError<ApiType>;
857
- /**
858
- * Generic error
859
- **/
860
- [key: string]: AugmentedError<ApiType>;
861
- };
862
- multisig: {
863
- /**
864
- * Call is already approved by this signatory.
865
- **/
866
- AlreadyApproved: AugmentedError<ApiType>;
867
- /**
868
- * The data to be stored is already stored.
869
- **/
870
- AlreadyStored: AugmentedError<ApiType>;
871
- /**
872
- * The maximum weight information provided was too low.
873
- **/
874
- MaxWeightTooLow: AugmentedError<ApiType>;
875
- /**
876
- * Threshold must be 2 or greater.
877
- **/
878
- MinimumThreshold: AugmentedError<ApiType>;
879
- /**
880
- * Call doesn't need any (more) approvals.
881
- **/
882
- NoApprovalsNeeded: AugmentedError<ApiType>;
883
- /**
884
- * Multisig operation not found when attempting to cancel.
885
- **/
886
- NotFound: AugmentedError<ApiType>;
887
- /**
888
- * No timepoint was given, yet the multisig operation is already underway.
889
- **/
890
- NoTimepoint: AugmentedError<ApiType>;
891
- /**
892
- * Only the account that originally created the multisig is able to cancel it.
893
- **/
894
- NotOwner: AugmentedError<ApiType>;
895
- /**
896
- * The sender was contained in the other signatories; it shouldn't be.
897
- **/
898
- SenderInSignatories: AugmentedError<ApiType>;
899
- /**
900
- * The signatories were provided out of order; they should be ordered.
901
- **/
902
- SignatoriesOutOfOrder: AugmentedError<ApiType>;
903
- /**
904
- * There are too few signatories in the list.
905
- **/
906
- TooFewSignatories: AugmentedError<ApiType>;
907
- /**
908
- * There are too many signatories in the list.
909
- **/
910
- TooManySignatories: AugmentedError<ApiType>;
911
- /**
912
- * A timepoint was given, yet no multisig operation is underway.
913
- **/
914
- UnexpectedTimepoint: AugmentedError<ApiType>;
915
- /**
916
- * A different timepoint was given to the multisig operation that is underway.
917
- **/
918
- WrongTimepoint: AugmentedError<ApiType>;
919
- /**
920
- * Generic error
921
- **/
922
- [key: string]: AugmentedError<ApiType>;
923
- };
924
- proxy: {
925
- /**
926
- * Account is already a proxy.
927
- **/
928
- Duplicate: AugmentedError<ApiType>;
929
- /**
930
- * Call may not be made by proxy because it may escalate its privileges.
931
- **/
932
- NoPermission: AugmentedError<ApiType>;
933
- /**
934
- * Cannot add self as proxy.
935
- **/
936
- NoSelfProxy: AugmentedError<ApiType>;
937
- /**
938
- * Proxy registration not found.
939
- **/
940
- NotFound: AugmentedError<ApiType>;
941
- /**
942
- * Sender is not a proxy of the account to be proxied.
943
- **/
944
- NotProxy: AugmentedError<ApiType>;
945
- /**
946
- * There are too many proxies registered or too many announcements pending.
947
- **/
948
- TooMany: AugmentedError<ApiType>;
949
- /**
950
- * Announcement, if made at all, was made too recently.
951
- **/
952
- Unannounced: AugmentedError<ApiType>;
953
- /**
954
- * A call which is incompatible with the proxy type's filter was attempted.
955
- **/
956
- Unproxyable: AugmentedError<ApiType>;
957
- /**
958
- * Generic error
959
- **/
960
- [key: string]: AugmentedError<ApiType>;
961
- };
962
- recovery: {
963
- /**
964
- * This account is already set up for recovery
965
- **/
966
- AlreadyProxy: AugmentedError<ApiType>;
967
- /**
968
- * This account is already set up for recovery
969
- **/
970
- AlreadyRecoverable: AugmentedError<ApiType>;
971
- /**
972
- * A recovery process has already started for this account
973
- **/
974
- AlreadyStarted: AugmentedError<ApiType>;
975
- /**
976
- * This user has already vouched for this recovery
977
- **/
978
- AlreadyVouched: AugmentedError<ApiType>;
979
- /**
980
- * Some internal state is broken.
981
- **/
982
- BadState: AugmentedError<ApiType>;
983
- /**
984
- * The friend must wait until the delay period to vouch for this recovery
985
- **/
986
- DelayPeriod: AugmentedError<ApiType>;
987
- /**
988
- * Friends list must be less than max friends
989
- **/
990
- MaxFriends: AugmentedError<ApiType>;
991
- /**
992
- * User is not allowed to make a call on behalf of this account
993
- **/
994
- NotAllowed: AugmentedError<ApiType>;
995
- /**
996
- * Friends list must be greater than zero and threshold
997
- **/
998
- NotEnoughFriends: AugmentedError<ApiType>;
999
- /**
1000
- * This account is not a friend who can vouch
1001
- **/
1002
- NotFriend: AugmentedError<ApiType>;
1003
- /**
1004
- * This account is not set up for recovery
1005
- **/
1006
- NotRecoverable: AugmentedError<ApiType>;
1007
- /**
1008
- * Friends list must be sorted and free of duplicates
1009
- **/
1010
- NotSorted: AugmentedError<ApiType>;
1011
- /**
1012
- * A recovery process has not started for this rescuer
1013
- **/
1014
- NotStarted: AugmentedError<ApiType>;
1015
- /**
1016
- * There are still active recovery attempts that need to be closed
1017
- **/
1018
- StillActive: AugmentedError<ApiType>;
1019
- /**
1020
- * The threshold for recovering this account has not been met
1021
- **/
1022
- Threshold: AugmentedError<ApiType>;
1023
- /**
1024
- * Threshold must be greater than zero
1025
- **/
1026
- ZeroThreshold: AugmentedError<ApiType>;
1027
- /**
1028
- * Generic error
1029
- **/
1030
- [key: string]: AugmentedError<ApiType>;
1031
- };
1032
- scheduler: {
1033
- /**
1034
- * Failed to schedule a call
1035
- **/
1036
- FailedToSchedule: AugmentedError<ApiType>;
1037
- /**
1038
- * Cannot find the scheduled call.
1039
- **/
1040
- NotFound: AugmentedError<ApiType>;
1041
- /**
1042
- * Reschedule failed because it does not change scheduled time.
1043
- **/
1044
- RescheduleNoChange: AugmentedError<ApiType>;
1045
- /**
1046
- * Given target block number is in the past.
1047
- **/
1048
- TargetBlockNumberInPast: AugmentedError<ApiType>;
1049
- /**
1050
- * Generic error
1051
- **/
1052
- [key: string]: AugmentedError<ApiType>;
1053
- };
1054
- session: {
1055
- /**
1056
- * Registered duplicate key.
1057
- **/
1058
- DuplicatedKey: AugmentedError<ApiType>;
1059
- /**
1060
- * Invalid ownership proof.
1061
- **/
1062
- InvalidProof: AugmentedError<ApiType>;
1063
- /**
1064
- * Key setting account is not live, so it's impossible to associate keys.
1065
- **/
1066
- NoAccount: AugmentedError<ApiType>;
1067
- /**
1068
- * No associated validator ID for account.
1069
- **/
1070
- NoAssociatedValidatorId: AugmentedError<ApiType>;
1071
- /**
1072
- * No keys are associated with this account.
1073
- **/
1074
- NoKeys: AugmentedError<ApiType>;
1075
- /**
1076
- * Generic error
1077
- **/
1078
- [key: string]: AugmentedError<ApiType>;
1079
- };
1080
- society: {
1081
- /**
1082
- * User has already made a bid.
1083
- **/
1084
- AlreadyBid: AugmentedError<ApiType>;
1085
- /**
1086
- * User is already a candidate.
1087
- **/
1088
- AlreadyCandidate: AugmentedError<ApiType>;
1089
- /**
1090
- * Society already founded.
1091
- **/
1092
- AlreadyFounded: AugmentedError<ApiType>;
1093
- /**
1094
- * User is already a member.
1095
- **/
1096
- AlreadyMember: AugmentedError<ApiType>;
1097
- /**
1098
- * Member is already vouching or banned from vouching again.
1099
- **/
1100
- AlreadyVouching: AugmentedError<ApiType>;
1101
- /**
1102
- * An incorrect position was provided.
1103
- **/
1104
- BadPosition: AugmentedError<ApiType>;
1105
- /**
1106
- * Cannot remove the founder.
1107
- **/
1108
- Founder: AugmentedError<ApiType>;
1109
- /**
1110
- * Cannot remove the head of the chain.
1111
- **/
1112
- Head: AugmentedError<ApiType>;
1113
- /**
1114
- * Not enough in pot to accept candidate.
1115
- **/
1116
- InsufficientPot: AugmentedError<ApiType>;
1117
- /**
1118
- * Too many members in the society.
1119
- **/
1120
- MaxMembers: AugmentedError<ApiType>;
1121
- /**
1122
- * Nothing to payout.
1123
- **/
1124
- NoPayout: AugmentedError<ApiType>;
1125
- /**
1126
- * User is not a candidate.
1127
- **/
1128
- NotCandidate: AugmentedError<ApiType>;
1129
- /**
1130
- * The caller is not the founder.
1131
- **/
1132
- NotFounder: AugmentedError<ApiType>;
1133
- /**
1134
- * The caller is not the head.
1135
- **/
1136
- NotHead: AugmentedError<ApiType>;
1137
- /**
1138
- * User is not a member.
1139
- **/
1140
- NotMember: AugmentedError<ApiType>;
1141
- /**
1142
- * User is not suspended.
1143
- **/
1144
- NotSuspended: AugmentedError<ApiType>;
1145
- /**
1146
- * Member is not vouching.
1147
- **/
1148
- NotVouching: AugmentedError<ApiType>;
1149
- /**
1150
- * User is suspended.
1151
- **/
1152
- Suspended: AugmentedError<ApiType>;
1153
- /**
1154
- * Generic error
1155
- **/
1156
- [key: string]: AugmentedError<ApiType>;
1157
- };
1158
- staking: {
1159
- /**
1160
- * Stash is already bonded.
1161
- **/
1162
- AlreadyBonded: AugmentedError<ApiType>;
1163
- /**
1164
- * Rewards for this era have already been claimed for this validator.
1165
- **/
1166
- AlreadyClaimed: AugmentedError<ApiType>;
1167
- /**
1168
- * Controller is already paired.
1169
- **/
1170
- AlreadyPaired: AugmentedError<ApiType>;
1171
- /**
1172
- * Internal state has become somehow corrupted and the operation cannot continue.
1173
- **/
1174
- BadState: AugmentedError<ApiType>;
1175
- /**
1176
- * A nomination target was supplied that was blocked or otherwise not a validator.
1177
- **/
1178
- BadTarget: AugmentedError<ApiType>;
1179
- /**
1180
- * The user has enough bond and thus cannot be chilled forcefully by an external person.
1181
- **/
1182
- CannotChillOther: AugmentedError<ApiType>;
1183
- /**
1184
- * Commission is too low. Must be at least `MinCommission`.
1185
- **/
1186
- CommissionTooLow: AugmentedError<ApiType>;
1187
- /**
1188
- * Duplicate index.
1189
- **/
1190
- DuplicateIndex: AugmentedError<ApiType>;
1191
- /**
1192
- * Targets cannot be empty.
1193
- **/
1194
- EmptyTargets: AugmentedError<ApiType>;
1195
- /**
1196
- * Attempting to target a stash that still has funds.
1197
- **/
1198
- FundedTarget: AugmentedError<ApiType>;
1199
- /**
1200
- * Incorrect previous history depth input provided.
1201
- **/
1202
- IncorrectHistoryDepth: AugmentedError<ApiType>;
1203
- /**
1204
- * Incorrect number of slashing spans provided.
1205
- **/
1206
- IncorrectSlashingSpans: AugmentedError<ApiType>;
1207
- /**
1208
- * Cannot have a validator or nominator role, with value less than the minimum defined by
1209
- * governance (see `MinValidatorBond` and `MinNominatorBond`). If unbonding is the
1210
- * intention, `chill` first to remove one's role as validator/nominator.
1211
- **/
1212
- InsufficientBond: AugmentedError<ApiType>;
1213
- /**
1214
- * Invalid era to reward.
1215
- **/
1216
- InvalidEraToReward: AugmentedError<ApiType>;
1217
- /**
1218
- * Invalid number of nominations.
1219
- **/
1220
- InvalidNumberOfNominations: AugmentedError<ApiType>;
1221
- /**
1222
- * Slash record index out of bounds.
1223
- **/
1224
- InvalidSlashIndex: AugmentedError<ApiType>;
1225
- /**
1226
- * Can not schedule more unlock chunks.
1227
- **/
1228
- NoMoreChunks: AugmentedError<ApiType>;
1229
- /**
1230
- * Not a controller account.
1231
- **/
1232
- NotController: AugmentedError<ApiType>;
1233
- /**
1234
- * Items are not sorted and unique.
1235
- **/
1236
- NotSortedAndUnique: AugmentedError<ApiType>;
1237
- /**
1238
- * Not a stash account.
1239
- **/
1240
- NotStash: AugmentedError<ApiType>;
1241
- /**
1242
- * Can not rebond without unlocking chunks.
1243
- **/
1244
- NoUnlockChunk: AugmentedError<ApiType>;
1245
- /**
1246
- * There are too many nominators in the system. Governance needs to adjust the staking
1247
- * settings to keep things safe for the runtime.
1248
- **/
1249
- TooManyNominators: AugmentedError<ApiType>;
1250
- /**
1251
- * Too many nomination targets supplied.
1252
- **/
1253
- TooManyTargets: AugmentedError<ApiType>;
1254
- /**
1255
- * There are too many validators in the system. Governance needs to adjust the staking
1256
- * settings to keep things safe for the runtime.
1257
- **/
1258
- TooManyValidators: AugmentedError<ApiType>;
1259
- /**
1260
- * Generic error
1261
- **/
1262
- [key: string]: AugmentedError<ApiType>;
1263
- };
1264
- sudo: {
1265
- /**
1266
- * Sender must be the Sudo account
1267
- **/
1268
- RequireSudo: AugmentedError<ApiType>;
1269
- /**
1270
- * Generic error
1271
- **/
1272
- [key: string]: AugmentedError<ApiType>;
1273
- };
1274
- system: {
1275
- /**
1276
- * The origin filter prevent the call to be dispatched.
1277
- **/
1278
- CallFiltered: AugmentedError<ApiType>;
1279
- /**
1280
- * Failed to extract the runtime version from the new runtime.
1281
- *
1282
- * Either calling `Core_version` or decoding `RuntimeVersion` failed.
1283
- **/
1284
- FailedToExtractRuntimeVersion: AugmentedError<ApiType>;
1285
- /**
1286
- * The name of specification does not match between the current runtime
1287
- * and the new runtime.
1288
- **/
1289
- InvalidSpecName: AugmentedError<ApiType>;
1290
- /**
1291
- * Suicide called when the account has non-default composite data.
1292
- **/
1293
- NonDefaultComposite: AugmentedError<ApiType>;
1294
- /**
1295
- * There is a non-zero reference count preventing the account from being purged.
1296
- **/
1297
- NonZeroRefCount: AugmentedError<ApiType>;
1298
- /**
1299
- * The specification version is not allowed to decrease between the current runtime
1300
- * and the new runtime.
1301
- **/
1302
- SpecVersionNeedsToIncrease: AugmentedError<ApiType>;
1303
- /**
1304
- * Generic error
1305
- **/
1306
- [key: string]: AugmentedError<ApiType>;
1307
- };
1308
- technicalCommittee: {
1309
- /**
1310
- * Members are already initialized!
1311
- **/
1312
- AlreadyInitialized: AugmentedError<ApiType>;
1313
- /**
1314
- * Duplicate proposals not allowed
1315
- **/
1316
- DuplicateProposal: AugmentedError<ApiType>;
1317
- /**
1318
- * Duplicate vote ignored
1319
- **/
1320
- DuplicateVote: AugmentedError<ApiType>;
1321
- /**
1322
- * Account is not a member
1323
- **/
1324
- NotMember: AugmentedError<ApiType>;
1325
- /**
1326
- * Proposal must exist
1327
- **/
1328
- ProposalMissing: AugmentedError<ApiType>;
1329
- /**
1330
- * The close call was made too early, before the end of the voting.
1331
- **/
1332
- TooEarly: AugmentedError<ApiType>;
1333
- /**
1334
- * There can only be a maximum of `MaxProposals` active proposals.
1335
- **/
1336
- TooManyProposals: AugmentedError<ApiType>;
1337
- /**
1338
- * Mismatched index
1339
- **/
1340
- WrongIndex: AugmentedError<ApiType>;
1341
- /**
1342
- * The given length bound for the proposal was too low.
1343
- **/
1344
- WrongProposalLength: AugmentedError<ApiType>;
1345
- /**
1346
- * The given weight bound for the proposal was too low.
1347
- **/
1348
- WrongProposalWeight: AugmentedError<ApiType>;
1349
- /**
1350
- * Generic error
1351
- **/
1352
- [key: string]: AugmentedError<ApiType>;
1353
- };
1354
- technicalMembership: {
1355
- /**
1356
- * Already a member.
1357
- **/
1358
- AlreadyMember: AugmentedError<ApiType>;
1359
- /**
1360
- * Not a member.
1361
- **/
1362
- NotMember: AugmentedError<ApiType>;
1363
- /**
1364
- * Generic error
1365
- **/
1366
- [key: string]: AugmentedError<ApiType>;
1367
- };
1368
- tips: {
1369
- /**
1370
- * The tip was already found/started.
1371
- **/
1372
- AlreadyKnown: AugmentedError<ApiType>;
1373
- /**
1374
- * The account attempting to retract the tip is not the finder of the tip.
1375
- **/
1376
- NotFinder: AugmentedError<ApiType>;
1377
- /**
1378
- * The tip cannot be claimed/closed because it's still in the countdown period.
1379
- **/
1380
- Premature: AugmentedError<ApiType>;
1381
- /**
1382
- * The reason given is just too big.
1383
- **/
1384
- ReasonTooBig: AugmentedError<ApiType>;
1385
- /**
1386
- * The tip cannot be claimed/closed because there are not enough tippers yet.
1387
- **/
1388
- StillOpen: AugmentedError<ApiType>;
1389
- /**
1390
- * The tip hash is unknown.
1391
- **/
1392
- UnknownTip: AugmentedError<ApiType>;
1393
- /**
1394
- * Generic error
1395
- **/
1396
- [key: string]: AugmentedError<ApiType>;
1397
- };
1398
- transactionStorage: {
1399
- /**
1400
- * Attempted to call `store` outside of block execution.
1401
- **/
1402
- BadContext: AugmentedError<ApiType>;
1403
- /**
1404
- * Double proof check in the block.
1405
- **/
1406
- DoubleCheck: AugmentedError<ApiType>;
1407
- /**
1408
- * Attempting to store empty transaction
1409
- **/
1410
- EmptyTransaction: AugmentedError<ApiType>;
1411
- /**
1412
- * Insufficient account balance.
1413
- **/
1414
- InsufficientFunds: AugmentedError<ApiType>;
1415
- /**
1416
- * Proof failed verification.
1417
- **/
1418
- InvalidProof: AugmentedError<ApiType>;
1419
- /**
1420
- * Missing storage proof.
1421
- **/
1422
- MissingProof: AugmentedError<ApiType>;
1423
- /**
1424
- * Unable to verify proof becasue state data is missing.
1425
- **/
1426
- MissingStateData: AugmentedError<ApiType>;
1427
- /**
1428
- * Invalid configuration.
1429
- **/
1430
- NotConfigured: AugmentedError<ApiType>;
1431
- /**
1432
- * Storage proof was not checked in the block.
1433
- **/
1434
- ProofNotChecked: AugmentedError<ApiType>;
1435
- /**
1436
- * Renewed extrinsic is not found.
1437
- **/
1438
- RenewedNotFound: AugmentedError<ApiType>;
1439
- /**
1440
- * Too many transactions in the block.
1441
- **/
1442
- TooManyTransactions: AugmentedError<ApiType>;
1443
- /**
1444
- * Transaction is too large.
1445
- **/
1446
- TransactionTooLarge: AugmentedError<ApiType>;
1447
- /**
1448
- * Proof was not expected in this block.
1449
- **/
1450
- UnexpectedProof: AugmentedError<ApiType>;
1451
- /**
1452
- * Generic error
1453
- **/
1454
- [key: string]: AugmentedError<ApiType>;
1455
- };
1456
- treasury: {
1457
- /**
1458
- * Proposer's balance is too low.
1459
- **/
1460
- InsufficientProposersBalance: AugmentedError<ApiType>;
1461
- /**
1462
- * No proposal or bounty at that index.
1463
- **/
1464
- InvalidIndex: AugmentedError<ApiType>;
1465
- /**
1466
- * Too many approvals in the queue.
1467
- **/
1468
- TooManyApprovals: AugmentedError<ApiType>;
1469
- /**
1470
- * Generic error
1471
- **/
1472
- [key: string]: AugmentedError<ApiType>;
1473
- };
1474
- uniques: {
1475
- /**
1476
- * The asset instance ID has already been used for an asset.
1477
- **/
1478
- AlreadyExists: AugmentedError<ApiType>;
1479
- /**
1480
- * Invalid witness data given.
1481
- **/
1482
- BadWitness: AugmentedError<ApiType>;
1483
- /**
1484
- * The asset instance or class is frozen.
1485
- **/
1486
- Frozen: AugmentedError<ApiType>;
1487
- /**
1488
- * The asset ID is already taken.
1489
- **/
1490
- InUse: AugmentedError<ApiType>;
1491
- /**
1492
- * There is no delegate approved.
1493
- **/
1494
- NoDelegate: AugmentedError<ApiType>;
1495
- /**
1496
- * The signing account has no permission to do the operation.
1497
- **/
1498
- NoPermission: AugmentedError<ApiType>;
1499
- /**
1500
- * No approval exists that would allow the transfer.
1501
- **/
1502
- Unapproved: AugmentedError<ApiType>;
1503
- /**
1504
- * The given asset ID is unknown.
1505
- **/
1506
- Unknown: AugmentedError<ApiType>;
1507
- /**
1508
- * The delegate turned out to be different to what was expected.
1509
- **/
1510
- WrongDelegate: AugmentedError<ApiType>;
1511
- /**
1512
- * The owner turned out to be different to what was expected.
1513
- **/
1514
- WrongOwner: AugmentedError<ApiType>;
1515
- /**
1516
- * Generic error
1517
- **/
1518
- [key: string]: AugmentedError<ApiType>;
1519
- };
1520
- utility: {
1521
- /**
1522
- * Too many calls batched.
1523
- **/
1524
- TooManyCalls: AugmentedError<ApiType>;
1525
- /**
1526
- * Generic error
1527
- **/
1528
- [key: string]: AugmentedError<ApiType>;
1529
- };
1530
- vesting: {
1531
- /**
1532
- * Amount being transferred is too low to create a vesting schedule.
1533
- **/
1534
- AmountLow: AugmentedError<ApiType>;
1535
- /**
1536
- * The account already has `MaxVestingSchedules` count of schedules and thus
1537
- * cannot add another one. Consider merging existing schedules in order to add another.
1538
- **/
1539
- AtMaxVestingSchedules: AugmentedError<ApiType>;
1540
- /**
1541
- * Failed to create a new schedule because some parameter was invalid.
1542
- **/
1543
- InvalidScheduleParams: AugmentedError<ApiType>;
1544
- /**
1545
- * The account given is not vesting.
1546
- **/
1547
- NotVesting: AugmentedError<ApiType>;
1548
- /**
1549
- * An index was out of bounds of the vesting schedules.
1550
- **/
1551
- ScheduleIndexOutOfBounds: AugmentedError<ApiType>;
1552
- /**
1553
- * Generic error
1554
- **/
1555
- [key: string]: AugmentedError<ApiType>;
1556
- };
1557
- }
1558
- interface DecoratedErrors<ApiType extends ApiTypes> extends AugmentedErrors<ApiType> {
1559
- [key: string]: ModuleErrors<ApiType>;
1560
- }
1561
- }