@webb-tools/tangle-substrate-types 0.5.12 → 0.9.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 (36) hide show
  1. package/LICENSE +0 -0
  2. package/README.md +15 -17
  3. package/build/index.cjs +2 -0
  4. package/build/index.d.ts +20826 -0
  5. package/build/index.mjs +1 -0
  6. package/package.json +57 -1
  7. package/examples/job_and_result_submission.d.ts +0 -1
  8. package/examples/job_and_result_submission.js +0 -230
  9. package/index.d.ts +0 -3
  10. package/index.js +0 -5
  11. package/interfaces/augment-api-consts.d.ts +0 -1045
  12. package/interfaces/augment-api-consts.js +0 -3
  13. package/interfaces/augment-api-errors.d.ts +0 -2001
  14. package/interfaces/augment-api-errors.js +0 -3
  15. package/interfaces/augment-api-events.d.ts +0 -3268
  16. package/interfaces/augment-api-events.js +0 -3
  17. package/interfaces/augment-api-query.d.ts +0 -2117
  18. package/interfaces/augment-api-query.js +0 -3
  19. package/interfaces/augment-api-rpc.d.ts +0 -679
  20. package/interfaces/augment-api-rpc.js +0 -3
  21. package/interfaces/augment-api-runtime.d.ts +0 -363
  22. package/interfaces/augment-api-runtime.js +0 -3
  23. package/interfaces/augment-api-tx.d.ts +0 -4118
  24. package/interfaces/augment-api-tx.js +0 -3
  25. package/interfaces/augment-api.d.ts +0 -7
  26. package/interfaces/augment-api.js +0 -9
  27. package/interfaces/augment-types.d.ts +0 -1249
  28. package/interfaces/augment-types.js +0 -3
  29. package/interfaces/lookup.d.ts +0 -6240
  30. package/interfaces/lookup.js +0 -6248
  31. package/interfaces/registry.d.ts +0 -413
  32. package/interfaces/registry.js +0 -3
  33. package/interfaces/types-lookup.d.ts +0 -6157
  34. package/interfaces/types-lookup.js +0 -3
  35. package/metadata/static-latest.d.ts +0 -2
  36. package/metadata/static-latest.js +0 -7
@@ -1,2001 +0,0 @@
1
- import '@polkadot/api-base/types/errors';
2
- import type { ApiTypes, AugmentedError } from '@polkadot/api-base/types';
3
- export type __AugmentedError<ApiType extends ApiTypes> = AugmentedError<ApiType>;
4
- declare module '@polkadot/api-base/types/errors' {
5
- interface AugmentedErrors<ApiType extends ApiTypes> {
6
- assets: {
7
- /**
8
- * The asset-account already exists.
9
- **/
10
- AlreadyExists: AugmentedError<ApiType>;
11
- /**
12
- * The asset is not live, and likely being destroyed.
13
- **/
14
- AssetNotLive: AugmentedError<ApiType>;
15
- /**
16
- * Invalid metadata given.
17
- **/
18
- BadMetadata: AugmentedError<ApiType>;
19
- /**
20
- * Invalid witness data given.
21
- **/
22
- BadWitness: AugmentedError<ApiType>;
23
- /**
24
- * Account balance must be greater than or equal to the transfer amount.
25
- **/
26
- BalanceLow: AugmentedError<ApiType>;
27
- /**
28
- * Callback action resulted in error
29
- **/
30
- CallbackFailed: AugmentedError<ApiType>;
31
- /**
32
- * The origin account is frozen.
33
- **/
34
- Frozen: AugmentedError<ApiType>;
35
- /**
36
- * The asset status is not the expected status.
37
- **/
38
- IncorrectStatus: AugmentedError<ApiType>;
39
- /**
40
- * The asset ID is already taken.
41
- **/
42
- InUse: AugmentedError<ApiType>;
43
- /**
44
- * The asset is a live asset and is actively being used. Usually emit for operations such
45
- * as `start_destroy` which require the asset to be in a destroying state.
46
- **/
47
- LiveAsset: AugmentedError<ApiType>;
48
- /**
49
- * Minimum balance should be non-zero.
50
- **/
51
- MinBalanceZero: AugmentedError<ApiType>;
52
- /**
53
- * The account to alter does not exist.
54
- **/
55
- NoAccount: AugmentedError<ApiType>;
56
- /**
57
- * The asset-account doesn't have an associated deposit.
58
- **/
59
- NoDeposit: AugmentedError<ApiType>;
60
- /**
61
- * The signing account has no permission to do the operation.
62
- **/
63
- NoPermission: AugmentedError<ApiType>;
64
- /**
65
- * The asset should be frozen before the given operation.
66
- **/
67
- NotFrozen: AugmentedError<ApiType>;
68
- /**
69
- * No approval exists that would allow the transfer.
70
- **/
71
- Unapproved: AugmentedError<ApiType>;
72
- /**
73
- * Unable to increment the consumer reference counters on the account. Either no provider
74
- * reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
75
- * fewer then the maximum number of consumers has been reached.
76
- **/
77
- UnavailableConsumer: AugmentedError<ApiType>;
78
- /**
79
- * The given asset ID is unknown.
80
- **/
81
- Unknown: AugmentedError<ApiType>;
82
- /**
83
- * The operation would result in funds being burned.
84
- **/
85
- WouldBurn: AugmentedError<ApiType>;
86
- /**
87
- * The source account would not survive the transfer and it needs to stay alive.
88
- **/
89
- WouldDie: AugmentedError<ApiType>;
90
- /**
91
- * Generic error
92
- **/
93
- [key: string]: AugmentedError<ApiType>;
94
- };
95
- babe: {
96
- /**
97
- * A given equivocation report is valid but already previously reported.
98
- **/
99
- DuplicateOffenceReport: AugmentedError<ApiType>;
100
- /**
101
- * Submitted configuration is invalid.
102
- **/
103
- InvalidConfiguration: AugmentedError<ApiType>;
104
- /**
105
- * An equivocation proof provided as part of an equivocation report is invalid.
106
- **/
107
- InvalidEquivocationProof: AugmentedError<ApiType>;
108
- /**
109
- * A key ownership proof provided as part of an equivocation report is invalid.
110
- **/
111
- InvalidKeyOwnershipProof: AugmentedError<ApiType>;
112
- /**
113
- * Generic error
114
- **/
115
- [key: string]: AugmentedError<ApiType>;
116
- };
117
- bagsList: {
118
- /**
119
- * A error in the list interface implementation.
120
- **/
121
- List: AugmentedError<ApiType>;
122
- /**
123
- * Generic error
124
- **/
125
- [key: string]: AugmentedError<ApiType>;
126
- };
127
- balances: {
128
- /**
129
- * Beneficiary account must pre-exist.
130
- **/
131
- DeadAccount: AugmentedError<ApiType>;
132
- /**
133
- * The delta cannot be zero.
134
- **/
135
- DeltaZero: AugmentedError<ApiType>;
136
- /**
137
- * Value too low to create account due to existential deposit.
138
- **/
139
- ExistentialDeposit: AugmentedError<ApiType>;
140
- /**
141
- * A vesting schedule already exists for this account.
142
- **/
143
- ExistingVestingSchedule: AugmentedError<ApiType>;
144
- /**
145
- * Transfer/payment would kill account.
146
- **/
147
- Expendability: AugmentedError<ApiType>;
148
- /**
149
- * Balance too low to send value.
150
- **/
151
- InsufficientBalance: AugmentedError<ApiType>;
152
- /**
153
- * The issuance cannot be modified since it is already deactivated.
154
- **/
155
- IssuanceDeactivated: AugmentedError<ApiType>;
156
- /**
157
- * Account liquidity restrictions prevent withdrawal.
158
- **/
159
- LiquidityRestrictions: AugmentedError<ApiType>;
160
- /**
161
- * Number of freezes exceed `MaxFreezes`.
162
- **/
163
- TooManyFreezes: AugmentedError<ApiType>;
164
- /**
165
- * Number of holds exceed `VariantCountOf<T::RuntimeHoldReason>`.
166
- **/
167
- TooManyHolds: AugmentedError<ApiType>;
168
- /**
169
- * Number of named reserves exceed `MaxReserves`.
170
- **/
171
- TooManyReserves: AugmentedError<ApiType>;
172
- /**
173
- * Vesting balance too high to send value.
174
- **/
175
- VestingBalance: AugmentedError<ApiType>;
176
- /**
177
- * Generic error
178
- **/
179
- [key: string]: AugmentedError<ApiType>;
180
- };
181
- bounties: {
182
- /**
183
- * The bounty cannot be closed because it has active child bounties.
184
- **/
185
- HasActiveChildBounty: AugmentedError<ApiType>;
186
- /**
187
- * Proposer's balance is too low.
188
- **/
189
- InsufficientProposersBalance: AugmentedError<ApiType>;
190
- /**
191
- * Invalid bounty fee.
192
- **/
193
- InvalidFee: AugmentedError<ApiType>;
194
- /**
195
- * No proposal or bounty at that index.
196
- **/
197
- InvalidIndex: AugmentedError<ApiType>;
198
- /**
199
- * Invalid bounty value.
200
- **/
201
- InvalidValue: AugmentedError<ApiType>;
202
- /**
203
- * A bounty payout is pending.
204
- * To cancel the bounty, you must unassign and slash the curator.
205
- **/
206
- PendingPayout: AugmentedError<ApiType>;
207
- /**
208
- * The bounties cannot be claimed/closed because it's still in the countdown period.
209
- **/
210
- Premature: AugmentedError<ApiType>;
211
- /**
212
- * The reason given is just too big.
213
- **/
214
- ReasonTooBig: AugmentedError<ApiType>;
215
- /**
216
- * Require bounty curator.
217
- **/
218
- RequireCurator: AugmentedError<ApiType>;
219
- /**
220
- * Too many approvals are already queued.
221
- **/
222
- TooManyQueued: AugmentedError<ApiType>;
223
- /**
224
- * The bounty status is unexpected.
225
- **/
226
- UnexpectedStatus: AugmentedError<ApiType>;
227
- /**
228
- * Generic error
229
- **/
230
- [key: string]: AugmentedError<ApiType>;
231
- };
232
- childBounties: {
233
- /**
234
- * The bounty balance is not enough to add new child-bounty.
235
- **/
236
- InsufficientBountyBalance: AugmentedError<ApiType>;
237
- /**
238
- * The parent bounty is not in active state.
239
- **/
240
- ParentBountyNotActive: AugmentedError<ApiType>;
241
- /**
242
- * Number of child bounties exceeds limit `MaxActiveChildBountyCount`.
243
- **/
244
- TooManyChildBounties: AugmentedError<ApiType>;
245
- /**
246
- * Generic error
247
- **/
248
- [key: string]: AugmentedError<ApiType>;
249
- };
250
- claims: {
251
- /**
252
- * Invalid Ethereum signature.
253
- **/
254
- InvalidEthereumSignature: AugmentedError<ApiType>;
255
- /**
256
- * Invalid Native account decoding
257
- **/
258
- InvalidNativeAccount: AugmentedError<ApiType>;
259
- /**
260
- * Invalid Native (sr25519) signature
261
- **/
262
- InvalidNativeSignature: AugmentedError<ApiType>;
263
- /**
264
- * A needed statement was not included.
265
- **/
266
- InvalidStatement: AugmentedError<ApiType>;
267
- /**
268
- * There's not enough in the pot to pay out some unvested amount. Generally implies a
269
- * logic error.
270
- **/
271
- PotUnderflow: AugmentedError<ApiType>;
272
- /**
273
- * Account ID sending transaction has no claim.
274
- **/
275
- SenderHasNoClaim: AugmentedError<ApiType>;
276
- /**
277
- * Ethereum address has no claim.
278
- **/
279
- SignerHasNoClaim: AugmentedError<ApiType>;
280
- /**
281
- * The account already has a vested balance.
282
- **/
283
- VestedBalanceExists: AugmentedError<ApiType>;
284
- /**
285
- * Generic error
286
- **/
287
- [key: string]: AugmentedError<ApiType>;
288
- };
289
- council: {
290
- /**
291
- * Members are already initialized!
292
- **/
293
- AlreadyInitialized: AugmentedError<ApiType>;
294
- /**
295
- * Duplicate proposals not allowed
296
- **/
297
- DuplicateProposal: AugmentedError<ApiType>;
298
- /**
299
- * Duplicate vote ignored
300
- **/
301
- DuplicateVote: AugmentedError<ApiType>;
302
- /**
303
- * Account is not a member
304
- **/
305
- NotMember: AugmentedError<ApiType>;
306
- /**
307
- * Prime account is not a member
308
- **/
309
- PrimeAccountNotMember: AugmentedError<ApiType>;
310
- /**
311
- * Proposal must exist
312
- **/
313
- ProposalMissing: AugmentedError<ApiType>;
314
- /**
315
- * The close call was made too early, before the end of the voting.
316
- **/
317
- TooEarly: AugmentedError<ApiType>;
318
- /**
319
- * There can only be a maximum of `MaxProposals` active proposals.
320
- **/
321
- TooManyProposals: AugmentedError<ApiType>;
322
- /**
323
- * Mismatched index
324
- **/
325
- WrongIndex: AugmentedError<ApiType>;
326
- /**
327
- * The given length bound for the proposal was too low.
328
- **/
329
- WrongProposalLength: AugmentedError<ApiType>;
330
- /**
331
- * The given weight bound for the proposal was too low.
332
- **/
333
- WrongProposalWeight: AugmentedError<ApiType>;
334
- /**
335
- * Generic error
336
- **/
337
- [key: string]: AugmentedError<ApiType>;
338
- };
339
- democracy: {
340
- /**
341
- * Cannot cancel the same proposal twice
342
- **/
343
- AlreadyCanceled: AugmentedError<ApiType>;
344
- /**
345
- * The account is already delegating.
346
- **/
347
- AlreadyDelegating: AugmentedError<ApiType>;
348
- /**
349
- * Identity may not veto a proposal twice
350
- **/
351
- AlreadyVetoed: AugmentedError<ApiType>;
352
- /**
353
- * Proposal already made
354
- **/
355
- DuplicateProposal: AugmentedError<ApiType>;
356
- /**
357
- * The instant referendum origin is currently disallowed.
358
- **/
359
- InstantNotAllowed: AugmentedError<ApiType>;
360
- /**
361
- * Too high a balance was provided that the account cannot afford.
362
- **/
363
- InsufficientFunds: AugmentedError<ApiType>;
364
- /**
365
- * Invalid hash
366
- **/
367
- InvalidHash: AugmentedError<ApiType>;
368
- /**
369
- * Maximum number of votes reached.
370
- **/
371
- MaxVotesReached: AugmentedError<ApiType>;
372
- /**
373
- * No proposals waiting
374
- **/
375
- NoneWaiting: AugmentedError<ApiType>;
376
- /**
377
- * Delegation to oneself makes no sense.
378
- **/
379
- Nonsense: AugmentedError<ApiType>;
380
- /**
381
- * The actor has no permission to conduct the action.
382
- **/
383
- NoPermission: AugmentedError<ApiType>;
384
- /**
385
- * No external proposal
386
- **/
387
- NoProposal: AugmentedError<ApiType>;
388
- /**
389
- * The account is not currently delegating.
390
- **/
391
- NotDelegating: AugmentedError<ApiType>;
392
- /**
393
- * Next external proposal not simple majority
394
- **/
395
- NotSimpleMajority: AugmentedError<ApiType>;
396
- /**
397
- * The given account did not vote on the referendum.
398
- **/
399
- NotVoter: AugmentedError<ApiType>;
400
- /**
401
- * The preimage does not exist.
402
- **/
403
- PreimageNotExist: AugmentedError<ApiType>;
404
- /**
405
- * Proposal still blacklisted
406
- **/
407
- ProposalBlacklisted: AugmentedError<ApiType>;
408
- /**
409
- * Proposal does not exist
410
- **/
411
- ProposalMissing: AugmentedError<ApiType>;
412
- /**
413
- * Vote given for invalid referendum
414
- **/
415
- ReferendumInvalid: AugmentedError<ApiType>;
416
- /**
417
- * Maximum number of items reached.
418
- **/
419
- TooMany: AugmentedError<ApiType>;
420
- /**
421
- * Value too low
422
- **/
423
- ValueLow: AugmentedError<ApiType>;
424
- /**
425
- * The account currently has votes attached to it and the operation cannot succeed until
426
- * these are removed, either through `unvote` or `reap_vote`.
427
- **/
428
- VotesExist: AugmentedError<ApiType>;
429
- /**
430
- * Voting period too low
431
- **/
432
- VotingPeriodLow: AugmentedError<ApiType>;
433
- /**
434
- * Invalid upper bound.
435
- **/
436
- WrongUpperBound: AugmentedError<ApiType>;
437
- /**
438
- * Generic error
439
- **/
440
- [key: string]: AugmentedError<ApiType>;
441
- };
442
- electionProviderMultiPhase: {
443
- /**
444
- * Some bound not met
445
- **/
446
- BoundNotMet: AugmentedError<ApiType>;
447
- /**
448
- * The call is not allowed at this point.
449
- **/
450
- CallNotAllowed: AugmentedError<ApiType>;
451
- /**
452
- * The fallback failed
453
- **/
454
- FallbackFailed: AugmentedError<ApiType>;
455
- /**
456
- * `Self::insert_submission` returned an invalid index.
457
- **/
458
- InvalidSubmissionIndex: AugmentedError<ApiType>;
459
- /**
460
- * Snapshot metadata should exist but didn't.
461
- **/
462
- MissingSnapshotMetadata: AugmentedError<ApiType>;
463
- /**
464
- * OCW submitted solution for wrong round
465
- **/
466
- OcwCallWrongEra: AugmentedError<ApiType>;
467
- /**
468
- * Sumission was prepared for a different round.
469
- **/
470
- PreDispatchDifferentRound: AugmentedError<ApiType>;
471
- /**
472
- * Submission was too early.
473
- **/
474
- PreDispatchEarlySubmission: AugmentedError<ApiType>;
475
- /**
476
- * Submission was too weak, score-wise.
477
- **/
478
- PreDispatchWeakSubmission: AugmentedError<ApiType>;
479
- /**
480
- * Wrong number of winners presented.
481
- **/
482
- PreDispatchWrongWinnerCount: AugmentedError<ApiType>;
483
- /**
484
- * The origin failed to pay the deposit.
485
- **/
486
- SignedCannotPayDeposit: AugmentedError<ApiType>;
487
- /**
488
- * Witness data to dispatchable is invalid.
489
- **/
490
- SignedInvalidWitness: AugmentedError<ApiType>;
491
- /**
492
- * The queue was full, and the solution was not better than any of the existing ones.
493
- **/
494
- SignedQueueFull: AugmentedError<ApiType>;
495
- /**
496
- * The signed submission consumes too much weight
497
- **/
498
- SignedTooMuchWeight: AugmentedError<ApiType>;
499
- /**
500
- * Submitted solution has too many winners
501
- **/
502
- TooManyWinners: AugmentedError<ApiType>;
503
- /**
504
- * Generic error
505
- **/
506
- [key: string]: AugmentedError<ApiType>;
507
- };
508
- elections: {
509
- /**
510
- * Duplicated candidate submission.
511
- **/
512
- DuplicatedCandidate: AugmentedError<ApiType>;
513
- /**
514
- * Candidate does not have enough funds.
515
- **/
516
- InsufficientCandidateFunds: AugmentedError<ApiType>;
517
- /**
518
- * The renouncing origin presented a wrong `Renouncing` parameter.
519
- **/
520
- InvalidRenouncing: AugmentedError<ApiType>;
521
- /**
522
- * Prediction regarding replacement after member removal is wrong.
523
- **/
524
- InvalidReplacement: AugmentedError<ApiType>;
525
- /**
526
- * The provided count of number of votes is incorrect.
527
- **/
528
- InvalidVoteCount: AugmentedError<ApiType>;
529
- /**
530
- * The provided count of number of candidates is incorrect.
531
- **/
532
- InvalidWitnessData: AugmentedError<ApiType>;
533
- /**
534
- * Cannot vote with stake less than minimum balance.
535
- **/
536
- LowBalance: AugmentedError<ApiType>;
537
- /**
538
- * Cannot vote more than maximum allowed.
539
- **/
540
- MaximumVotesExceeded: AugmentedError<ApiType>;
541
- /**
542
- * Member cannot re-submit candidacy.
543
- **/
544
- MemberSubmit: AugmentedError<ApiType>;
545
- /**
546
- * Must be a voter.
547
- **/
548
- MustBeVoter: AugmentedError<ApiType>;
549
- /**
550
- * Not a member.
551
- **/
552
- NotMember: AugmentedError<ApiType>;
553
- /**
554
- * Must vote for at least one candidate.
555
- **/
556
- NoVotes: AugmentedError<ApiType>;
557
- /**
558
- * Runner cannot re-submit candidacy.
559
- **/
560
- RunnerUpSubmit: AugmentedError<ApiType>;
561
- /**
562
- * Too many candidates have been created.
563
- **/
564
- TooManyCandidates: AugmentedError<ApiType>;
565
- /**
566
- * Cannot vote more than candidates.
567
- **/
568
- TooManyVotes: AugmentedError<ApiType>;
569
- /**
570
- * Voter can not pay voting bond.
571
- **/
572
- UnableToPayBond: AugmentedError<ApiType>;
573
- /**
574
- * Cannot vote when no candidates or members exist.
575
- **/
576
- UnableToVote: AugmentedError<ApiType>;
577
- /**
578
- * Generic error
579
- **/
580
- [key: string]: AugmentedError<ApiType>;
581
- };
582
- ethereum: {
583
- /**
584
- * Signature is invalid.
585
- **/
586
- InvalidSignature: AugmentedError<ApiType>;
587
- /**
588
- * Pre-log is present, therefore transact is not allowed.
589
- **/
590
- PreLogExists: AugmentedError<ApiType>;
591
- /**
592
- * Generic error
593
- **/
594
- [key: string]: AugmentedError<ApiType>;
595
- };
596
- evm: {
597
- /**
598
- * Not enough balance to perform action
599
- **/
600
- BalanceLow: AugmentedError<ApiType>;
601
- /**
602
- * Calculating total fee overflowed
603
- **/
604
- FeeOverflow: AugmentedError<ApiType>;
605
- /**
606
- * Gas limit is too high.
607
- **/
608
- GasLimitTooHigh: AugmentedError<ApiType>;
609
- /**
610
- * Gas limit is too low.
611
- **/
612
- GasLimitTooLow: AugmentedError<ApiType>;
613
- /**
614
- * Gas price is too low.
615
- **/
616
- GasPriceTooLow: AugmentedError<ApiType>;
617
- /**
618
- * The chain id is invalid.
619
- **/
620
- InvalidChainId: AugmentedError<ApiType>;
621
- /**
622
- * Nonce is invalid
623
- **/
624
- InvalidNonce: AugmentedError<ApiType>;
625
- /**
626
- * the signature is invalid.
627
- **/
628
- InvalidSignature: AugmentedError<ApiType>;
629
- /**
630
- * Calculating total payment overflowed
631
- **/
632
- PaymentOverflow: AugmentedError<ApiType>;
633
- /**
634
- * EVM reentrancy
635
- **/
636
- Reentrancy: AugmentedError<ApiType>;
637
- /**
638
- * EIP-3607,
639
- **/
640
- TransactionMustComeFromEOA: AugmentedError<ApiType>;
641
- /**
642
- * Undefined error.
643
- **/
644
- Undefined: AugmentedError<ApiType>;
645
- /**
646
- * Withdraw fee failed
647
- **/
648
- WithdrawFailed: AugmentedError<ApiType>;
649
- /**
650
- * Generic error
651
- **/
652
- [key: string]: AugmentedError<ApiType>;
653
- };
654
- grandpa: {
655
- /**
656
- * Attempt to signal GRANDPA change with one already pending.
657
- **/
658
- ChangePending: AugmentedError<ApiType>;
659
- /**
660
- * A given equivocation report is valid but already previously reported.
661
- **/
662
- DuplicateOffenceReport: AugmentedError<ApiType>;
663
- /**
664
- * An equivocation proof provided as part of an equivocation report is invalid.
665
- **/
666
- InvalidEquivocationProof: AugmentedError<ApiType>;
667
- /**
668
- * A key ownership proof provided as part of an equivocation report is invalid.
669
- **/
670
- InvalidKeyOwnershipProof: AugmentedError<ApiType>;
671
- /**
672
- * Attempt to signal GRANDPA pause when the authority set isn't live
673
- * (either paused or already pending pause).
674
- **/
675
- PauseFailed: AugmentedError<ApiType>;
676
- /**
677
- * Attempt to signal GRANDPA resume when the authority set isn't paused
678
- * (either live or already pending resume).
679
- **/
680
- ResumeFailed: AugmentedError<ApiType>;
681
- /**
682
- * Cannot signal forced change so soon after last.
683
- **/
684
- TooSoon: AugmentedError<ApiType>;
685
- /**
686
- * Generic error
687
- **/
688
- [key: string]: AugmentedError<ApiType>;
689
- };
690
- hotfixSufficients: {
691
- /**
692
- * Maximum address count exceeded
693
- **/
694
- MaxAddressCountExceeded: AugmentedError<ApiType>;
695
- /**
696
- * Generic error
697
- **/
698
- [key: string]: AugmentedError<ApiType>;
699
- };
700
- identity: {
701
- /**
702
- * Account ID is already named.
703
- **/
704
- AlreadyClaimed: AugmentedError<ApiType>;
705
- /**
706
- * Empty index.
707
- **/
708
- EmptyIndex: AugmentedError<ApiType>;
709
- /**
710
- * Fee is changed.
711
- **/
712
- FeeChanged: AugmentedError<ApiType>;
713
- /**
714
- * The index is invalid.
715
- **/
716
- InvalidIndex: AugmentedError<ApiType>;
717
- /**
718
- * Invalid judgement.
719
- **/
720
- InvalidJudgement: AugmentedError<ApiType>;
721
- /**
722
- * The signature on a username was not valid.
723
- **/
724
- InvalidSignature: AugmentedError<ApiType>;
725
- /**
726
- * The provided suffix is too long.
727
- **/
728
- InvalidSuffix: AugmentedError<ApiType>;
729
- /**
730
- * The target is invalid.
731
- **/
732
- InvalidTarget: AugmentedError<ApiType>;
733
- /**
734
- * The username does not meet the requirements.
735
- **/
736
- InvalidUsername: AugmentedError<ApiType>;
737
- /**
738
- * The provided judgement was for a different identity.
739
- **/
740
- JudgementForDifferentIdentity: AugmentedError<ApiType>;
741
- /**
742
- * Judgement given.
743
- **/
744
- JudgementGiven: AugmentedError<ApiType>;
745
- /**
746
- * Error that occurs when there is an issue paying for judgement.
747
- **/
748
- JudgementPaymentFailed: AugmentedError<ApiType>;
749
- /**
750
- * The authority cannot allocate any more usernames.
751
- **/
752
- NoAllocation: AugmentedError<ApiType>;
753
- /**
754
- * No identity found.
755
- **/
756
- NoIdentity: AugmentedError<ApiType>;
757
- /**
758
- * The username cannot be forcefully removed because it can still be accepted.
759
- **/
760
- NotExpired: AugmentedError<ApiType>;
761
- /**
762
- * Account isn't found.
763
- **/
764
- NotFound: AugmentedError<ApiType>;
765
- /**
766
- * Account isn't named.
767
- **/
768
- NotNamed: AugmentedError<ApiType>;
769
- /**
770
- * Sub-account isn't owned by sender.
771
- **/
772
- NotOwned: AugmentedError<ApiType>;
773
- /**
774
- * Sender is not a sub-account.
775
- **/
776
- NotSub: AugmentedError<ApiType>;
777
- /**
778
- * The sender does not have permission to issue a username.
779
- **/
780
- NotUsernameAuthority: AugmentedError<ApiType>;
781
- /**
782
- * The requested username does not exist.
783
- **/
784
- NoUsername: AugmentedError<ApiType>;
785
- /**
786
- * Setting this username requires a signature, but none was provided.
787
- **/
788
- RequiresSignature: AugmentedError<ApiType>;
789
- /**
790
- * Sticky judgement.
791
- **/
792
- StickyJudgement: AugmentedError<ApiType>;
793
- /**
794
- * Maximum amount of registrars reached. Cannot add any more.
795
- **/
796
- TooManyRegistrars: AugmentedError<ApiType>;
797
- /**
798
- * Too many subs-accounts.
799
- **/
800
- TooManySubAccounts: AugmentedError<ApiType>;
801
- /**
802
- * The username is already taken.
803
- **/
804
- UsernameTaken: AugmentedError<ApiType>;
805
- /**
806
- * Generic error
807
- **/
808
- [key: string]: AugmentedError<ApiType>;
809
- };
810
- imOnline: {
811
- /**
812
- * Duplicated heartbeat.
813
- **/
814
- DuplicatedHeartbeat: AugmentedError<ApiType>;
815
- /**
816
- * Non existent public key.
817
- **/
818
- InvalidKey: AugmentedError<ApiType>;
819
- /**
820
- * Generic error
821
- **/
822
- [key: string]: AugmentedError<ApiType>;
823
- };
824
- indices: {
825
- /**
826
- * The index was not available.
827
- **/
828
- InUse: AugmentedError<ApiType>;
829
- /**
830
- * The index was not already assigned.
831
- **/
832
- NotAssigned: AugmentedError<ApiType>;
833
- /**
834
- * The index is assigned to another account.
835
- **/
836
- NotOwner: AugmentedError<ApiType>;
837
- /**
838
- * The source and destination accounts are identical.
839
- **/
840
- NotTransfer: AugmentedError<ApiType>;
841
- /**
842
- * The index is permanent and may not be freed/changed.
843
- **/
844
- Permanent: AugmentedError<ApiType>;
845
- /**
846
- * Generic error
847
- **/
848
- [key: string]: AugmentedError<ApiType>;
849
- };
850
- lst: {
851
- /**
852
- * Bonding extra is restricted to the exact pending reward amount.
853
- **/
854
- BondExtraRestricted: AugmentedError<ApiType>;
855
- /**
856
- * The pools state cannot be changed.
857
- **/
858
- CanNotChangeState: AugmentedError<ApiType>;
859
- /**
860
- * None of the funds can be withdrawn yet because the bonding duration has not passed.
861
- **/
862
- CannotWithdrawAny: AugmentedError<ApiType>;
863
- /**
864
- * The submitted changes to commission change rate are not allowed.
865
- **/
866
- CommissionChangeRateNotAllowed: AugmentedError<ApiType>;
867
- /**
868
- * Not enough blocks have surpassed since the last commission update.
869
- **/
870
- CommissionChangeThrottled: AugmentedError<ApiType>;
871
- /**
872
- * The supplied commission exceeds global maximum commission.
873
- **/
874
- CommissionExceedsGlobalMaximum: AugmentedError<ApiType>;
875
- /**
876
- * The supplied commission exceeds the max allowed commission.
877
- **/
878
- CommissionExceedsMaximum: AugmentedError<ApiType>;
879
- /**
880
- * Some error occurred that should never happen. This should be reported to the
881
- * maintainers.
882
- **/
883
- Defensive: AugmentedError<ApiType>;
884
- /**
885
- * The caller does not have adequate permissions.
886
- **/
887
- DoesNotHavePermission: AugmentedError<ApiType>;
888
- /**
889
- * The member is fully unbonded (and thus cannot access the bonded and reward pool
890
- * anymore to, for example, collect rewards).
891
- **/
892
- FullyUnbonding: AugmentedError<ApiType>;
893
- /**
894
- * Pool id provided is not correct/usable.
895
- **/
896
- InvalidPoolId: AugmentedError<ApiType>;
897
- /**
898
- * The pool's max commission cannot be set higher than the existing value.
899
- **/
900
- MaxCommissionRestricted: AugmentedError<ApiType>;
901
- /**
902
- * Too many members in the pool or system.
903
- **/
904
- MaxPoolMembers: AugmentedError<ApiType>;
905
- /**
906
- * The system is maxed out on pools.
907
- **/
908
- MaxPools: AugmentedError<ApiType>;
909
- /**
910
- * The member cannot unbond further chunks due to reaching the limit.
911
- **/
912
- MaxUnbondingLimit: AugmentedError<ApiType>;
913
- /**
914
- * Metadata exceeds [`Config::MaxMetadataLen`]
915
- **/
916
- MetadataExceedsMaxLen: AugmentedError<ApiType>;
917
- /**
918
- * The amount does not meet the minimum bond to either join or create a pool.
919
- *
920
- * The depositor can never unbond to a value less than `Pallet::depositor_min_bond`. The
921
- * caller does not have nominating permissions for the pool. Members can never unbond to a
922
- * value below `MinJoinBond`.
923
- **/
924
- MinimumBondNotMet: AugmentedError<ApiType>;
925
- /**
926
- * No balance to unbond.
927
- **/
928
- NoBalanceToUnbond: AugmentedError<ApiType>;
929
- /**
930
- * No commission current has been set.
931
- **/
932
- NoCommissionCurrentSet: AugmentedError<ApiType>;
933
- /**
934
- * There is no pending commission to claim.
935
- **/
936
- NoPendingCommission: AugmentedError<ApiType>;
937
- /**
938
- * A pool must be in [`PoolState::Destroying`] in order for the depositor to unbond or for
939
- * other members to be permissionlessly unbonded.
940
- **/
941
- NotDestroying: AugmentedError<ApiType>;
942
- /**
943
- * No imbalance in the ED deposit for the pool.
944
- **/
945
- NothingToAdjust: AugmentedError<ApiType>;
946
- /**
947
- * Either a) the caller cannot make a valid kick or b) the pool is not destroying.
948
- **/
949
- NotKickerOrDestroying: AugmentedError<ApiType>;
950
- /**
951
- * The caller does not have nominating permissions for the pool.
952
- **/
953
- NotNominator: AugmentedError<ApiType>;
954
- /**
955
- * The pool is not open to join
956
- **/
957
- NotOpen: AugmentedError<ApiType>;
958
- /**
959
- * The transaction could not be executed due to overflow risk for the pool.
960
- **/
961
- OverflowRisk: AugmentedError<ApiType>;
962
- /**
963
- * Partial unbonding now allowed permissionlessly.
964
- **/
965
- PartialUnbondNotAllowedPermissionlessly: AugmentedError<ApiType>;
966
- /**
967
- * Pool id currently in use.
968
- **/
969
- PoolIdInUse: AugmentedError<ApiType>;
970
- /**
971
- * An account is not a member.
972
- **/
973
- PoolMemberNotFound: AugmentedError<ApiType>;
974
- /**
975
- * A (bonded) pool id does not exist.
976
- **/
977
- PoolNotFound: AugmentedError<ApiType>;
978
- /**
979
- * Pool token creation failed.
980
- **/
981
- PoolTokenCreationFailed: AugmentedError<ApiType>;
982
- /**
983
- * A reward pool does not exist. In all cases this is a system logic error.
984
- **/
985
- RewardPoolNotFound: AugmentedError<ApiType>;
986
- /**
987
- * A sub pool does not exist.
988
- **/
989
- SubPoolsNotFound: AugmentedError<ApiType>;
990
- /**
991
- * Generic error
992
- **/
993
- [key: string]: AugmentedError<ApiType>;
994
- };
995
- multiAssetDelegation: {
996
- /**
997
- * There are active services using the asset.
998
- **/
999
- ActiveServicesUsingAsset: AugmentedError<ApiType>;
1000
- /**
1001
- * The account is already a delegator.
1002
- **/
1003
- AlreadyDelegator: AugmentedError<ApiType>;
1004
- /**
1005
- * The operator is already leaving.
1006
- **/
1007
- AlreadyLeaving: AugmentedError<ApiType>;
1008
- /**
1009
- * The account is already an operator.
1010
- **/
1011
- AlreadyOperator: AugmentedError<ApiType>;
1012
- /**
1013
- * Asset already exists in a reward pool
1014
- **/
1015
- AssetAlreadyInPool: AugmentedError<ApiType>;
1016
- /**
1017
- * The asset ID is not found
1018
- **/
1019
- AssetNotFound: AugmentedError<ApiType>;
1020
- /**
1021
- * Asset not found in reward pool
1022
- **/
1023
- AssetNotInPool: AugmentedError<ApiType>;
1024
- /**
1025
- * The asset is not whitelisted
1026
- **/
1027
- AssetNotWhitelisted: AugmentedError<ApiType>;
1028
- /**
1029
- * The blueprint ID is already whitelisted
1030
- **/
1031
- BlueprintAlreadyWhitelisted: AugmentedError<ApiType>;
1032
- /**
1033
- * The unstake request is not ready.
1034
- **/
1035
- BondLessNotReady: AugmentedError<ApiType>;
1036
- /**
1037
- * A unstake request already exists.
1038
- **/
1039
- BondLessRequestAlreadyExists: AugmentedError<ApiType>;
1040
- /**
1041
- * The unstake request is not satisfied.
1042
- **/
1043
- BondLessRequestNotSatisfied: AugmentedError<ApiType>;
1044
- /**
1045
- * The stake amount is too low.
1046
- **/
1047
- BondTooLow: AugmentedError<ApiType>;
1048
- /**
1049
- * The account cannot exit.
1050
- **/
1051
- CannotExit: AugmentedError<ApiType>;
1052
- /**
1053
- * The account has insufficient balance.
1054
- **/
1055
- InsufficientBalance: AugmentedError<ApiType>;
1056
- /**
1057
- * There is not active delegation
1058
- **/
1059
- NoActiveDelegation: AugmentedError<ApiType>;
1060
- /**
1061
- * There is no unstake request.
1062
- **/
1063
- NoBondLessRequest: AugmentedError<ApiType>;
1064
- /**
1065
- * No matching withdraw reqests found
1066
- **/
1067
- NoMatchingwithdrawRequest: AugmentedError<ApiType>;
1068
- /**
1069
- * There is no scheduled unstake request.
1070
- **/
1071
- NoScheduledBondLess: AugmentedError<ApiType>;
1072
- /**
1073
- * The operator is not active.
1074
- **/
1075
- NotActiveOperator: AugmentedError<ApiType>;
1076
- /**
1077
- * The account is not an operator.
1078
- **/
1079
- NotAnOperator: AugmentedError<ApiType>;
1080
- /**
1081
- * The origin is not authorized to perform this action
1082
- **/
1083
- NotAuthorized: AugmentedError<ApiType>;
1084
- /**
1085
- * The account is not a delegator.
1086
- **/
1087
- NotDelegator: AugmentedError<ApiType>;
1088
- /**
1089
- * The account is not leaving as an operator.
1090
- **/
1091
- NotLeavingOperator: AugmentedError<ApiType>;
1092
- /**
1093
- * The round does not match the scheduled leave round.
1094
- **/
1095
- NotLeavingRound: AugmentedError<ApiType>;
1096
- /**
1097
- * The operator is not offline.
1098
- **/
1099
- NotOfflineOperator: AugmentedError<ApiType>;
1100
- /**
1101
- * There is no withdraw request.
1102
- **/
1103
- NoWithdrawRequest: AugmentedError<ApiType>;
1104
- /**
1105
- * No withdraw requests found
1106
- **/
1107
- NowithdrawRequests: AugmentedError<ApiType>;
1108
- /**
1109
- * The reward pool does not exist
1110
- **/
1111
- PoolNotFound: AugmentedError<ApiType>;
1112
- /**
1113
- * A withdraw request already exists.
1114
- **/
1115
- WithdrawRequestAlreadyExists: AugmentedError<ApiType>;
1116
- /**
1117
- * Generic error
1118
- **/
1119
- [key: string]: AugmentedError<ApiType>;
1120
- };
1121
- multisig: {
1122
- /**
1123
- * Call is already approved by this signatory.
1124
- **/
1125
- AlreadyApproved: AugmentedError<ApiType>;
1126
- /**
1127
- * The data to be stored is already stored.
1128
- **/
1129
- AlreadyStored: AugmentedError<ApiType>;
1130
- /**
1131
- * The maximum weight information provided was too low.
1132
- **/
1133
- MaxWeightTooLow: AugmentedError<ApiType>;
1134
- /**
1135
- * Threshold must be 2 or greater.
1136
- **/
1137
- MinimumThreshold: AugmentedError<ApiType>;
1138
- /**
1139
- * Call doesn't need any (more) approvals.
1140
- **/
1141
- NoApprovalsNeeded: AugmentedError<ApiType>;
1142
- /**
1143
- * Multisig operation not found when attempting to cancel.
1144
- **/
1145
- NotFound: AugmentedError<ApiType>;
1146
- /**
1147
- * No timepoint was given, yet the multisig operation is already underway.
1148
- **/
1149
- NoTimepoint: AugmentedError<ApiType>;
1150
- /**
1151
- * Only the account that originally created the multisig is able to cancel it.
1152
- **/
1153
- NotOwner: AugmentedError<ApiType>;
1154
- /**
1155
- * The sender was contained in the other signatories; it shouldn't be.
1156
- **/
1157
- SenderInSignatories: AugmentedError<ApiType>;
1158
- /**
1159
- * The signatories were provided out of order; they should be ordered.
1160
- **/
1161
- SignatoriesOutOfOrder: AugmentedError<ApiType>;
1162
- /**
1163
- * There are too few signatories in the list.
1164
- **/
1165
- TooFewSignatories: AugmentedError<ApiType>;
1166
- /**
1167
- * There are too many signatories in the list.
1168
- **/
1169
- TooManySignatories: AugmentedError<ApiType>;
1170
- /**
1171
- * A timepoint was given, yet no multisig operation is underway.
1172
- **/
1173
- UnexpectedTimepoint: AugmentedError<ApiType>;
1174
- /**
1175
- * A different timepoint was given to the multisig operation that is underway.
1176
- **/
1177
- WrongTimepoint: AugmentedError<ApiType>;
1178
- /**
1179
- * Generic error
1180
- **/
1181
- [key: string]: AugmentedError<ApiType>;
1182
- };
1183
- nominationPools: {
1184
- /**
1185
- * An account is already delegating in another pool. An account may only belong to one
1186
- * pool at a time.
1187
- **/
1188
- AccountBelongsToOtherPool: AugmentedError<ApiType>;
1189
- /**
1190
- * Bonding extra is restricted to the exact pending reward amount.
1191
- **/
1192
- BondExtraRestricted: AugmentedError<ApiType>;
1193
- /**
1194
- * The pools state cannot be changed.
1195
- **/
1196
- CanNotChangeState: AugmentedError<ApiType>;
1197
- /**
1198
- * None of the funds can be withdrawn yet because the bonding duration has not passed.
1199
- **/
1200
- CannotWithdrawAny: AugmentedError<ApiType>;
1201
- /**
1202
- * The submitted changes to commission change rate are not allowed.
1203
- **/
1204
- CommissionChangeRateNotAllowed: AugmentedError<ApiType>;
1205
- /**
1206
- * Not enough blocks have surpassed since the last commission update.
1207
- **/
1208
- CommissionChangeThrottled: AugmentedError<ApiType>;
1209
- /**
1210
- * The supplied commission exceeds global maximum commission.
1211
- **/
1212
- CommissionExceedsGlobalMaximum: AugmentedError<ApiType>;
1213
- /**
1214
- * The supplied commission exceeds the max allowed commission.
1215
- **/
1216
- CommissionExceedsMaximum: AugmentedError<ApiType>;
1217
- /**
1218
- * Some error occurred that should never happen. This should be reported to the
1219
- * maintainers.
1220
- **/
1221
- Defensive: AugmentedError<ApiType>;
1222
- /**
1223
- * The caller does not have adequate permissions.
1224
- **/
1225
- DoesNotHavePermission: AugmentedError<ApiType>;
1226
- /**
1227
- * The member is fully unbonded (and thus cannot access the bonded and reward pool
1228
- * anymore to, for example, collect rewards).
1229
- **/
1230
- FullyUnbonding: AugmentedError<ApiType>;
1231
- /**
1232
- * Pool id provided is not correct/usable.
1233
- **/
1234
- InvalidPoolId: AugmentedError<ApiType>;
1235
- /**
1236
- * The pool's max commission cannot be set higher than the existing value.
1237
- **/
1238
- MaxCommissionRestricted: AugmentedError<ApiType>;
1239
- /**
1240
- * Too many members in the pool or system.
1241
- **/
1242
- MaxPoolMembers: AugmentedError<ApiType>;
1243
- /**
1244
- * The system is maxed out on pools.
1245
- **/
1246
- MaxPools: AugmentedError<ApiType>;
1247
- /**
1248
- * The member cannot unbond further chunks due to reaching the limit.
1249
- **/
1250
- MaxUnbondingLimit: AugmentedError<ApiType>;
1251
- /**
1252
- * Metadata exceeds [`Config::MaxMetadataLen`]
1253
- **/
1254
- MetadataExceedsMaxLen: AugmentedError<ApiType>;
1255
- /**
1256
- * The amount does not meet the minimum bond to either join or create a pool.
1257
- *
1258
- * The depositor can never unbond to a value less than `Pallet::depositor_min_bond`. The
1259
- * caller does not have nominating permissions for the pool. Members can never unbond to a
1260
- * value below `MinJoinBond`.
1261
- **/
1262
- MinimumBondNotMet: AugmentedError<ApiType>;
1263
- /**
1264
- * No commission current has been set.
1265
- **/
1266
- NoCommissionCurrentSet: AugmentedError<ApiType>;
1267
- /**
1268
- * There is no pending commission to claim.
1269
- **/
1270
- NoPendingCommission: AugmentedError<ApiType>;
1271
- /**
1272
- * A pool must be in [`PoolState::Destroying`] in order for the depositor to unbond or for
1273
- * other members to be permissionlessly unbonded.
1274
- **/
1275
- NotDestroying: AugmentedError<ApiType>;
1276
- /**
1277
- * No imbalance in the ED deposit for the pool.
1278
- **/
1279
- NothingToAdjust: AugmentedError<ApiType>;
1280
- /**
1281
- * Either a) the caller cannot make a valid kick or b) the pool is not destroying.
1282
- **/
1283
- NotKickerOrDestroying: AugmentedError<ApiType>;
1284
- /**
1285
- * The caller does not have nominating permissions for the pool.
1286
- **/
1287
- NotNominator: AugmentedError<ApiType>;
1288
- /**
1289
- * The pool is not open to join
1290
- **/
1291
- NotOpen: AugmentedError<ApiType>;
1292
- /**
1293
- * The transaction could not be executed due to overflow risk for the pool.
1294
- **/
1295
- OverflowRisk: AugmentedError<ApiType>;
1296
- /**
1297
- * Partial unbonding now allowed permissionlessly.
1298
- **/
1299
- PartialUnbondNotAllowedPermissionlessly: AugmentedError<ApiType>;
1300
- /**
1301
- * Pool id currently in use.
1302
- **/
1303
- PoolIdInUse: AugmentedError<ApiType>;
1304
- /**
1305
- * An account is not a member.
1306
- **/
1307
- PoolMemberNotFound: AugmentedError<ApiType>;
1308
- /**
1309
- * A (bonded) pool id does not exist.
1310
- **/
1311
- PoolNotFound: AugmentedError<ApiType>;
1312
- /**
1313
- * A reward pool does not exist. In all cases this is a system logic error.
1314
- **/
1315
- RewardPoolNotFound: AugmentedError<ApiType>;
1316
- /**
1317
- * A sub pool does not exist.
1318
- **/
1319
- SubPoolsNotFound: AugmentedError<ApiType>;
1320
- /**
1321
- * Generic error
1322
- **/
1323
- [key: string]: AugmentedError<ApiType>;
1324
- };
1325
- preimage: {
1326
- /**
1327
- * Preimage has already been noted on-chain.
1328
- **/
1329
- AlreadyNoted: AugmentedError<ApiType>;
1330
- /**
1331
- * The user is not authorized to perform this action.
1332
- **/
1333
- NotAuthorized: AugmentedError<ApiType>;
1334
- /**
1335
- * The preimage cannot be removed since it has not yet been noted.
1336
- **/
1337
- NotNoted: AugmentedError<ApiType>;
1338
- /**
1339
- * The preimage request cannot be removed since no outstanding requests exist.
1340
- **/
1341
- NotRequested: AugmentedError<ApiType>;
1342
- /**
1343
- * A preimage may not be removed when there are outstanding requests.
1344
- **/
1345
- Requested: AugmentedError<ApiType>;
1346
- /**
1347
- * Preimage is too large to store on-chain.
1348
- **/
1349
- TooBig: AugmentedError<ApiType>;
1350
- /**
1351
- * Too few hashes were requested to be upgraded (i.e. zero).
1352
- **/
1353
- TooFew: AugmentedError<ApiType>;
1354
- /**
1355
- * More than `MAX_HASH_UPGRADE_BULK_COUNT` hashes were requested to be upgraded at once.
1356
- **/
1357
- TooMany: AugmentedError<ApiType>;
1358
- /**
1359
- * Generic error
1360
- **/
1361
- [key: string]: AugmentedError<ApiType>;
1362
- };
1363
- proxy: {
1364
- /**
1365
- * Account is already a proxy.
1366
- **/
1367
- Duplicate: AugmentedError<ApiType>;
1368
- /**
1369
- * Call may not be made by proxy because it may escalate its privileges.
1370
- **/
1371
- NoPermission: AugmentedError<ApiType>;
1372
- /**
1373
- * Cannot add self as proxy.
1374
- **/
1375
- NoSelfProxy: AugmentedError<ApiType>;
1376
- /**
1377
- * Proxy registration not found.
1378
- **/
1379
- NotFound: AugmentedError<ApiType>;
1380
- /**
1381
- * Sender is not a proxy of the account to be proxied.
1382
- **/
1383
- NotProxy: AugmentedError<ApiType>;
1384
- /**
1385
- * There are too many proxies registered or too many announcements pending.
1386
- **/
1387
- TooMany: AugmentedError<ApiType>;
1388
- /**
1389
- * Announcement, if made at all, was made too recently.
1390
- **/
1391
- Unannounced: AugmentedError<ApiType>;
1392
- /**
1393
- * A call which is incompatible with the proxy type's filter was attempted.
1394
- **/
1395
- Unproxyable: AugmentedError<ApiType>;
1396
- /**
1397
- * Generic error
1398
- **/
1399
- [key: string]: AugmentedError<ApiType>;
1400
- };
1401
- scheduler: {
1402
- /**
1403
- * Failed to schedule a call
1404
- **/
1405
- FailedToSchedule: AugmentedError<ApiType>;
1406
- /**
1407
- * Attempt to use a non-named function on a named task.
1408
- **/
1409
- Named: AugmentedError<ApiType>;
1410
- /**
1411
- * Cannot find the scheduled call.
1412
- **/
1413
- NotFound: AugmentedError<ApiType>;
1414
- /**
1415
- * Reschedule failed because it does not change scheduled time.
1416
- **/
1417
- RescheduleNoChange: AugmentedError<ApiType>;
1418
- /**
1419
- * Given target block number is in the past.
1420
- **/
1421
- TargetBlockNumberInPast: AugmentedError<ApiType>;
1422
- /**
1423
- * Generic error
1424
- **/
1425
- [key: string]: AugmentedError<ApiType>;
1426
- };
1427
- services: {
1428
- /**
1429
- * The caller is already registered as a operator.
1430
- **/
1431
- AlreadyRegistered: AugmentedError<ApiType>;
1432
- /**
1433
- * The approval is not requested for the operator (the caller).
1434
- **/
1435
- ApprovalNotRequested: AugmentedError<ApiType>;
1436
- /**
1437
- * The service blueprint was not found.
1438
- **/
1439
- BlueprintNotFound: AugmentedError<ApiType>;
1440
- /**
1441
- * An error occurred while decoding the EVM ABI.
1442
- **/
1443
- EVMAbiDecode: AugmentedError<ApiType>;
1444
- /**
1445
- * An error occurred while encoding the EVM ABI.
1446
- **/
1447
- EVMAbiEncode: AugmentedError<ApiType>;
1448
- /**
1449
- * The caller does not have the requirements to call a job.
1450
- **/
1451
- InvalidJobCallInput: AugmentedError<ApiType>;
1452
- /**
1453
- * The caller provided an invalid job result.
1454
- **/
1455
- InvalidJobResult: AugmentedError<ApiType>;
1456
- /**
1457
- * The caller does not have the requirements to be a operator.
1458
- **/
1459
- InvalidRegistrationInput: AugmentedError<ApiType>;
1460
- /**
1461
- * The caller does not have the requirements to request a service.
1462
- **/
1463
- InvalidRequestInput: AugmentedError<ApiType>;
1464
- /**
1465
- * The result of the job call was not found.
1466
- **/
1467
- JobCallResultNotFound: AugmentedError<ApiType>;
1468
- /**
1469
- * The requested job definition does not exist.
1470
- * This error is returned when the requested job definition does not exist in the service
1471
- * blueprint.
1472
- **/
1473
- JobDefinitionNotFound: AugmentedError<ApiType>;
1474
- /**
1475
- * The maximum number of fields per request has been exceeded.
1476
- **/
1477
- MaxFieldsExceeded: AugmentedError<ApiType>;
1478
- /**
1479
- * The maximum number of permitted callers per service has been exceeded.
1480
- **/
1481
- MaxPermittedCallersExceeded: AugmentedError<ApiType>;
1482
- /**
1483
- * The maximum number of operators per service has been exceeded.
1484
- **/
1485
- MaxServiceProvidersExceeded: AugmentedError<ApiType>;
1486
- /**
1487
- * Maximum number of services per Provider reached.
1488
- **/
1489
- MaxServicesPerProviderExceeded: AugmentedError<ApiType>;
1490
- /**
1491
- * The maximum number of services per user has been exceeded.
1492
- **/
1493
- MaxServicesPerUserExceeded: AugmentedError<ApiType>;
1494
- /**
1495
- * The caller is not registered as a operator.
1496
- **/
1497
- NotRegistered: AugmentedError<ApiType>;
1498
- /**
1499
- * The operator is not active, ensure operator status is ACTIVE in multi-asset-delegation
1500
- **/
1501
- OperatorNotActive: AugmentedError<ApiType>;
1502
- /**
1503
- * Operator profile not found.
1504
- **/
1505
- OperatorProfileNotFound: AugmentedError<ApiType>;
1506
- /**
1507
- * The service was not found.
1508
- **/
1509
- ServiceNotFound: AugmentedError<ApiType>;
1510
- /**
1511
- * Either the service or the job call was not found.
1512
- **/
1513
- ServiceOrJobCallNotFound: AugmentedError<ApiType>;
1514
- /**
1515
- * The service request was not found.
1516
- **/
1517
- ServiceRequestNotFound: AugmentedError<ApiType>;
1518
- /**
1519
- * An error occurred while type checking the provided input input.
1520
- **/
1521
- TypeCheck: AugmentedError<ApiType>;
1522
- /**
1523
- * Generic error
1524
- **/
1525
- [key: string]: AugmentedError<ApiType>;
1526
- };
1527
- session: {
1528
- /**
1529
- * Registered duplicate key.
1530
- **/
1531
- DuplicatedKey: AugmentedError<ApiType>;
1532
- /**
1533
- * Invalid ownership proof.
1534
- **/
1535
- InvalidProof: AugmentedError<ApiType>;
1536
- /**
1537
- * Key setting account is not live, so it's impossible to associate keys.
1538
- **/
1539
- NoAccount: AugmentedError<ApiType>;
1540
- /**
1541
- * No associated validator ID for account.
1542
- **/
1543
- NoAssociatedValidatorId: AugmentedError<ApiType>;
1544
- /**
1545
- * No keys are associated with this account.
1546
- **/
1547
- NoKeys: AugmentedError<ApiType>;
1548
- /**
1549
- * Generic error
1550
- **/
1551
- [key: string]: AugmentedError<ApiType>;
1552
- };
1553
- staking: {
1554
- /**
1555
- * Stash is already bonded.
1556
- **/
1557
- AlreadyBonded: AugmentedError<ApiType>;
1558
- /**
1559
- * Rewards for this era have already been claimed for this validator.
1560
- **/
1561
- AlreadyClaimed: AugmentedError<ApiType>;
1562
- /**
1563
- * Controller is already paired.
1564
- **/
1565
- AlreadyPaired: AugmentedError<ApiType>;
1566
- /**
1567
- * Internal state has become somehow corrupted and the operation cannot continue.
1568
- **/
1569
- BadState: AugmentedError<ApiType>;
1570
- /**
1571
- * A nomination target was supplied that was blocked or otherwise not a validator.
1572
- **/
1573
- BadTarget: AugmentedError<ApiType>;
1574
- /**
1575
- * Some bound is not met.
1576
- **/
1577
- BoundNotMet: AugmentedError<ApiType>;
1578
- /**
1579
- * The user has enough bond and thus cannot be chilled forcefully by an external person.
1580
- **/
1581
- CannotChillOther: AugmentedError<ApiType>;
1582
- /**
1583
- * Commission is too low. Must be at least `MinCommission`.
1584
- **/
1585
- CommissionTooLow: AugmentedError<ApiType>;
1586
- /**
1587
- * Used when attempting to use deprecated controller account logic.
1588
- **/
1589
- ControllerDeprecated: AugmentedError<ApiType>;
1590
- /**
1591
- * Duplicate index.
1592
- **/
1593
- DuplicateIndex: AugmentedError<ApiType>;
1594
- /**
1595
- * Targets cannot be empty.
1596
- **/
1597
- EmptyTargets: AugmentedError<ApiType>;
1598
- /**
1599
- * Attempting to target a stash that still has funds.
1600
- **/
1601
- FundedTarget: AugmentedError<ApiType>;
1602
- /**
1603
- * Incorrect previous history depth input provided.
1604
- **/
1605
- IncorrectHistoryDepth: AugmentedError<ApiType>;
1606
- /**
1607
- * Incorrect number of slashing spans provided.
1608
- **/
1609
- IncorrectSlashingSpans: AugmentedError<ApiType>;
1610
- /**
1611
- * Cannot have a validator or nominator role, with value less than the minimum defined by
1612
- * governance (see `MinValidatorBond` and `MinNominatorBond`). If unbonding is the
1613
- * intention, `chill` first to remove one's role as validator/nominator.
1614
- **/
1615
- InsufficientBond: AugmentedError<ApiType>;
1616
- /**
1617
- * Invalid era to reward.
1618
- **/
1619
- InvalidEraToReward: AugmentedError<ApiType>;
1620
- /**
1621
- * Invalid number of nominations.
1622
- **/
1623
- InvalidNumberOfNominations: AugmentedError<ApiType>;
1624
- /**
1625
- * No nominators exist on this page.
1626
- **/
1627
- InvalidPage: AugmentedError<ApiType>;
1628
- /**
1629
- * Slash record index out of bounds.
1630
- **/
1631
- InvalidSlashIndex: AugmentedError<ApiType>;
1632
- /**
1633
- * Can not schedule more unlock chunks.
1634
- **/
1635
- NoMoreChunks: AugmentedError<ApiType>;
1636
- /**
1637
- * Not a controller account.
1638
- **/
1639
- NotController: AugmentedError<ApiType>;
1640
- /**
1641
- * Items are not sorted and unique.
1642
- **/
1643
- NotSortedAndUnique: AugmentedError<ApiType>;
1644
- /**
1645
- * Not a stash account.
1646
- **/
1647
- NotStash: AugmentedError<ApiType>;
1648
- /**
1649
- * Can not rebond without unlocking chunks.
1650
- **/
1651
- NoUnlockChunk: AugmentedError<ApiType>;
1652
- /**
1653
- * There are too many nominators in the system. Governance needs to adjust the staking
1654
- * settings to keep things safe for the runtime.
1655
- **/
1656
- TooManyNominators: AugmentedError<ApiType>;
1657
- /**
1658
- * Too many nomination targets supplied.
1659
- **/
1660
- TooManyTargets: AugmentedError<ApiType>;
1661
- /**
1662
- * There are too many validator candidates in the system. Governance needs to adjust the
1663
- * staking settings to keep things safe for the runtime.
1664
- **/
1665
- TooManyValidators: AugmentedError<ApiType>;
1666
- /**
1667
- * Generic error
1668
- **/
1669
- [key: string]: AugmentedError<ApiType>;
1670
- };
1671
- sudo: {
1672
- /**
1673
- * Sender must be the Sudo account.
1674
- **/
1675
- RequireSudo: AugmentedError<ApiType>;
1676
- /**
1677
- * Generic error
1678
- **/
1679
- [key: string]: AugmentedError<ApiType>;
1680
- };
1681
- sygmaAccessSegregator: {
1682
- /**
1683
- * Failed to grant extrinsic access permission to an account
1684
- **/
1685
- GrantAccessFailed: AugmentedError<ApiType>;
1686
- /**
1687
- * Function unimplemented
1688
- **/
1689
- Unimplemented: AugmentedError<ApiType>;
1690
- /**
1691
- * Generic error
1692
- **/
1693
- [key: string]: AugmentedError<ApiType>;
1694
- };
1695
- sygmaBasicFeeHandler: {
1696
- /**
1697
- * Account has not gained access permission
1698
- **/
1699
- AccessDenied: AugmentedError<ApiType>;
1700
- /**
1701
- * Function unimplemented
1702
- **/
1703
- Unimplemented: AugmentedError<ApiType>;
1704
- /**
1705
- * Generic error
1706
- **/
1707
- [key: string]: AugmentedError<ApiType>;
1708
- };
1709
- sygmaBridge: {
1710
- /**
1711
- * Account has not gained access permission
1712
- **/
1713
- AccessDenied: AugmentedError<ApiType>;
1714
- /**
1715
- * Asset not bound to a resource id
1716
- **/
1717
- AssetNotBound: AugmentedError<ApiType>;
1718
- /**
1719
- * Protected operation, must be performed by relayer
1720
- **/
1721
- BadMpcSignature: AugmentedError<ApiType>;
1722
- /**
1723
- * Bridge is paused
1724
- **/
1725
- BridgePaused: AugmentedError<ApiType>;
1726
- /**
1727
- * Bridge is unpaused
1728
- **/
1729
- BridgeUnpaused: AugmentedError<ApiType>;
1730
- /**
1731
- * Failed on the decimal converter
1732
- **/
1733
- DecimalConversionFail: AugmentedError<ApiType>;
1734
- /**
1735
- * Deposit nonce has reached max integer value
1736
- **/
1737
- DepositNonceOverflow: AugmentedError<ApiType>;
1738
- /**
1739
- * Dest chain id not match
1740
- **/
1741
- DestChainIDNotMatch: AugmentedError<ApiType>;
1742
- /**
1743
- * Dest domain not supported
1744
- **/
1745
- DestDomainNotSupported: AugmentedError<ApiType>;
1746
- /**
1747
- * Proposal list empty
1748
- **/
1749
- EmptyProposalList: AugmentedError<ApiType>;
1750
- /**
1751
- * Failed to extract destination data
1752
- **/
1753
- ExtractDestDataFailed: AugmentedError<ApiType>;
1754
- /**
1755
- * The withdrawn amount can not cover the fee payment
1756
- **/
1757
- FeeTooExpensive: AugmentedError<ApiType>;
1758
- /**
1759
- * Insufficient balance on sender account
1760
- **/
1761
- InsufficientBalance: AugmentedError<ApiType>;
1762
- InvalidDepositDataInvalidAmount: AugmentedError<ApiType>;
1763
- /**
1764
- * Deposit data not correct
1765
- **/
1766
- InvalidDepositDataInvalidLength: AugmentedError<ApiType>;
1767
- InvalidDepositDataInvalidRecipient: AugmentedError<ApiType>;
1768
- InvalidDepositDataInvalidRecipientLength: AugmentedError<ApiType>;
1769
- InvalidDepositDataRecipientLengthNotMatch: AugmentedError<ApiType>;
1770
- /**
1771
- * Fee config option missing
1772
- **/
1773
- MissingFeeConfig: AugmentedError<ApiType>;
1774
- /**
1775
- * MPC address not set
1776
- **/
1777
- MissingMpcAddress: AugmentedError<ApiType>;
1778
- /**
1779
- * MPC address can not be updated
1780
- **/
1781
- MpcAddrNotUpdatable: AugmentedError<ApiType>;
1782
- /**
1783
- * Asset not bound to a liquidity holder account
1784
- **/
1785
- NoLiquidityHolderAccountBound: AugmentedError<ApiType>;
1786
- /**
1787
- * Proposal has either failed or succeeded
1788
- **/
1789
- ProposalAlreadyComplete: AugmentedError<ApiType>;
1790
- /**
1791
- * Asset transactor execution failed
1792
- **/
1793
- TransactFailedDeposit: AugmentedError<ApiType>;
1794
- TransactFailedFeeDeposit: AugmentedError<ApiType>;
1795
- TransactFailedHoldInReserved: AugmentedError<ApiType>;
1796
- TransactFailedReleaseFromReserved: AugmentedError<ApiType>;
1797
- TransactFailedWithdraw: AugmentedError<ApiType>;
1798
- /**
1799
- * Transactor operation failed
1800
- **/
1801
- TransactorFailed: AugmentedError<ApiType>;
1802
- /**
1803
- * Function unimplemented
1804
- **/
1805
- Unimplemented: AugmentedError<ApiType>;
1806
- /**
1807
- * Generic error
1808
- **/
1809
- [key: string]: AugmentedError<ApiType>;
1810
- };
1811
- sygmaFeeHandlerRouter: {
1812
- /**
1813
- * Account has not gained access permission
1814
- **/
1815
- AccessDenied: AugmentedError<ApiType>;
1816
- /**
1817
- * Function unimplemented
1818
- **/
1819
- Unimplemented: AugmentedError<ApiType>;
1820
- /**
1821
- * Generic error
1822
- **/
1823
- [key: string]: AugmentedError<ApiType>;
1824
- };
1825
- sygmaPercentageFeeHandler: {
1826
- /**
1827
- * Account has not gained access permission
1828
- **/
1829
- AccessDenied: AugmentedError<ApiType>;
1830
- /**
1831
- * Fee rate is out of range [0, 10000)
1832
- **/
1833
- FeeRateOutOfRange: AugmentedError<ApiType>;
1834
- /**
1835
- * Percentage fee bound is invalid
1836
- **/
1837
- InvalidFeeBound: AugmentedError<ApiType>;
1838
- /**
1839
- * Function unimplemented
1840
- **/
1841
- Unimplemented: AugmentedError<ApiType>;
1842
- /**
1843
- * Generic error
1844
- **/
1845
- [key: string]: AugmentedError<ApiType>;
1846
- };
1847
- system: {
1848
- /**
1849
- * The origin filter prevent the call to be dispatched.
1850
- **/
1851
- CallFiltered: AugmentedError<ApiType>;
1852
- /**
1853
- * Failed to extract the runtime version from the new runtime.
1854
- *
1855
- * Either calling `Core_version` or decoding `RuntimeVersion` failed.
1856
- **/
1857
- FailedToExtractRuntimeVersion: AugmentedError<ApiType>;
1858
- /**
1859
- * The name of specification does not match between the current runtime
1860
- * and the new runtime.
1861
- **/
1862
- InvalidSpecName: AugmentedError<ApiType>;
1863
- /**
1864
- * Suicide called when the account has non-default composite data.
1865
- **/
1866
- NonDefaultComposite: AugmentedError<ApiType>;
1867
- /**
1868
- * There is a non-zero reference count preventing the account from being purged.
1869
- **/
1870
- NonZeroRefCount: AugmentedError<ApiType>;
1871
- /**
1872
- * No upgrade authorized.
1873
- **/
1874
- NothingAuthorized: AugmentedError<ApiType>;
1875
- /**
1876
- * The specification version is not allowed to decrease between the current runtime
1877
- * and the new runtime.
1878
- **/
1879
- SpecVersionNeedsToIncrease: AugmentedError<ApiType>;
1880
- /**
1881
- * The submitted code is not authorized.
1882
- **/
1883
- Unauthorized: AugmentedError<ApiType>;
1884
- /**
1885
- * Generic error
1886
- **/
1887
- [key: string]: AugmentedError<ApiType>;
1888
- };
1889
- treasury: {
1890
- /**
1891
- * The payment has already been attempted.
1892
- **/
1893
- AlreadyAttempted: AugmentedError<ApiType>;
1894
- /**
1895
- * The spend is not yet eligible for payout.
1896
- **/
1897
- EarlyPayout: AugmentedError<ApiType>;
1898
- /**
1899
- * The balance of the asset kind is not convertible to the balance of the native asset.
1900
- **/
1901
- FailedToConvertBalance: AugmentedError<ApiType>;
1902
- /**
1903
- * The payment has neither failed nor succeeded yet.
1904
- **/
1905
- Inconclusive: AugmentedError<ApiType>;
1906
- /**
1907
- * The spend origin is valid but the amount it is allowed to spend is lower than the
1908
- * amount to be spent.
1909
- **/
1910
- InsufficientPermission: AugmentedError<ApiType>;
1911
- /**
1912
- * Proposer's balance is too low.
1913
- **/
1914
- InsufficientProposersBalance: AugmentedError<ApiType>;
1915
- /**
1916
- * No proposal, bounty or spend at that index.
1917
- **/
1918
- InvalidIndex: AugmentedError<ApiType>;
1919
- /**
1920
- * The payout was not yet attempted/claimed.
1921
- **/
1922
- NotAttempted: AugmentedError<ApiType>;
1923
- /**
1924
- * There was some issue with the mechanism of payment.
1925
- **/
1926
- PayoutError: AugmentedError<ApiType>;
1927
- /**
1928
- * Proposal has not been approved.
1929
- **/
1930
- ProposalNotApproved: AugmentedError<ApiType>;
1931
- /**
1932
- * The spend has expired and cannot be claimed.
1933
- **/
1934
- SpendExpired: AugmentedError<ApiType>;
1935
- /**
1936
- * Too many approvals in the queue.
1937
- **/
1938
- TooManyApprovals: AugmentedError<ApiType>;
1939
- /**
1940
- * Generic error
1941
- **/
1942
- [key: string]: AugmentedError<ApiType>;
1943
- };
1944
- txPause: {
1945
- /**
1946
- * The call is paused.
1947
- **/
1948
- IsPaused: AugmentedError<ApiType>;
1949
- /**
1950
- * The call is unpaused.
1951
- **/
1952
- IsUnpaused: AugmentedError<ApiType>;
1953
- NotFound: AugmentedError<ApiType>;
1954
- /**
1955
- * The call is whitelisted and cannot be paused.
1956
- **/
1957
- Unpausable: AugmentedError<ApiType>;
1958
- /**
1959
- * Generic error
1960
- **/
1961
- [key: string]: AugmentedError<ApiType>;
1962
- };
1963
- utility: {
1964
- /**
1965
- * Too many calls batched.
1966
- **/
1967
- TooManyCalls: AugmentedError<ApiType>;
1968
- /**
1969
- * Generic error
1970
- **/
1971
- [key: string]: AugmentedError<ApiType>;
1972
- };
1973
- vesting: {
1974
- /**
1975
- * Amount being transferred is too low to create a vesting schedule.
1976
- **/
1977
- AmountLow: AugmentedError<ApiType>;
1978
- /**
1979
- * The account already has `MaxVestingSchedules` count of schedules and thus
1980
- * cannot add another one. Consider merging existing schedules in order to add another.
1981
- **/
1982
- AtMaxVestingSchedules: AugmentedError<ApiType>;
1983
- /**
1984
- * Failed to create a new schedule because some parameter was invalid.
1985
- **/
1986
- InvalidScheduleParams: AugmentedError<ApiType>;
1987
- /**
1988
- * The account given is not vesting.
1989
- **/
1990
- NotVesting: AugmentedError<ApiType>;
1991
- /**
1992
- * An index was out of bounds of the vesting schedules.
1993
- **/
1994
- ScheduleIndexOutOfBounds: AugmentedError<ApiType>;
1995
- /**
1996
- * Generic error
1997
- **/
1998
- [key: string]: AugmentedError<ApiType>;
1999
- };
2000
- }
2001
- }