@totochain/api-augment 0.0.0-stage → 0.2.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 (59) hide show
  1. package/README.md +70 -2
  2. package/dist/definitions/definitions.d.ts +1 -0
  3. package/dist/definitions/definitions.js +2 -0
  4. package/dist/definitions/totochain/definitions.d.ts +5 -0
  5. package/dist/definitions/totochain/definitions.js +7 -0
  6. package/dist/index.d.ts +4 -0
  7. package/dist/index.js +12 -0
  8. package/dist/interfaces/augment-api-consts.d.ts +861 -0
  9. package/dist/interfaces/augment-api-consts.js +5 -0
  10. package/dist/interfaces/augment-api-errors.d.ts +1183 -0
  11. package/dist/interfaces/augment-api-errors.js +5 -0
  12. package/dist/interfaces/augment-api-events.d.ts +2033 -0
  13. package/dist/interfaces/augment-api-events.js +5 -0
  14. package/dist/interfaces/augment-api-query.d.ts +1375 -0
  15. package/dist/interfaces/augment-api-query.js +5 -0
  16. package/dist/interfaces/augment-api-rpc.d.ts +683 -0
  17. package/dist/interfaces/augment-api-rpc.js +5 -0
  18. package/dist/interfaces/augment-api-runtime.d.ts +298 -0
  19. package/dist/interfaces/augment-api-runtime.js +5 -0
  20. package/dist/interfaces/augment-api-tx.d.ts +2356 -0
  21. package/dist/interfaces/augment-api-tx.js +5 -0
  22. package/dist/interfaces/augment-api.d.ts +7 -0
  23. package/dist/interfaces/augment-api.js +9 -0
  24. package/dist/interfaces/augment-types.d.ts +1368 -0
  25. package/dist/interfaces/augment-types.js +5 -0
  26. package/dist/interfaces/definitions.d.ts +1 -0
  27. package/dist/interfaces/definitions.js +2 -0
  28. package/dist/interfaces/index.d.ts +1 -0
  29. package/dist/interfaces/index.js +3 -0
  30. package/dist/interfaces/lookup.d.ts +3952 -0
  31. package/dist/interfaces/lookup.js +3954 -0
  32. package/dist/interfaces/registry.d.ts +279 -0
  33. package/dist/interfaces/registry.js +5 -0
  34. package/dist/interfaces/totochain/definitions.d.ts +5 -0
  35. package/dist/interfaces/totochain/definitions.js +7 -0
  36. package/dist/interfaces/types-lookup.d.ts +4085 -0
  37. package/dist/interfaces/types-lookup.js +5 -0
  38. package/dist/interfaces/types.d.ts +1 -0
  39. package/dist/interfaces/types.js +3 -0
  40. package/package.json +69 -4
  41. package/src/definitions/definitions.ts +2 -0
  42. package/src/definitions/totochain/definitions.ts +7 -0
  43. package/src/index.ts +15 -0
  44. package/src/interfaces/augment-api-consts.ts +869 -0
  45. package/src/interfaces/augment-api-errors.ts +1191 -0
  46. package/src/interfaces/augment-api-events.ts +1307 -0
  47. package/src/interfaces/augment-api-query.ts +1383 -0
  48. package/src/interfaces/augment-api-rpc.ts +621 -0
  49. package/src/interfaces/augment-api-runtime.ts +264 -0
  50. package/src/interfaces/augment-api-tx.ts +2175 -0
  51. package/src/interfaces/augment-api.ts +10 -0
  52. package/src/interfaces/augment-types.ts +1375 -0
  53. package/src/interfaces/definitions.ts +2 -0
  54. package/src/interfaces/index.ts +4 -0
  55. package/src/interfaces/lookup.ts +3956 -0
  56. package/src/interfaces/registry.ts +286 -0
  57. package/src/interfaces/totochain/definitions.ts +7 -0
  58. package/src/interfaces/types-lookup.ts +4352 -0
  59. package/src/interfaces/types.ts +4 -0
@@ -0,0 +1,1183 @@
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
+ activityTracker: {
7
+ /**
8
+ * Generic error
9
+ **/
10
+ [key: string]: AugmentedError<ApiType>;
11
+ };
12
+ attestation: {
13
+ AlreadyAProvider: AugmentedError<ApiType>;
14
+ AlreadyAttested: AugmentedError<ApiType>;
15
+ AlreadyRevoked: AugmentedError<ApiType>;
16
+ CtypeNotFound: AugmentedError<ApiType>;
17
+ CtypeWeightAlreadySet: AugmentedError<ApiType>;
18
+ CtypeWeightNotFound: AugmentedError<ApiType>;
19
+ /**
20
+ * The `(subject, ctype_hash)` slot holds another issuance than the one the call names.
21
+ **/
22
+ IssuanceMismatch: AugmentedError<ApiType>;
23
+ NotAProvider: AugmentedError<ApiType>;
24
+ NotFound: AugmentedError<ApiType>;
25
+ TooManyClaimsForSubject: AugmentedError<ApiType>;
26
+ TooManyProviders: AugmentedError<ApiType>;
27
+ Unauthorized: AugmentedError<ApiType>;
28
+ /**
29
+ * Generic error
30
+ **/
31
+ [key: string]: AugmentedError<ApiType>;
32
+ };
33
+ babe: {
34
+ /**
35
+ * A given equivocation report is valid but already previously reported.
36
+ **/
37
+ DuplicateOffenceReport: AugmentedError<ApiType>;
38
+ /**
39
+ * Submitted configuration is invalid.
40
+ **/
41
+ InvalidConfiguration: AugmentedError<ApiType>;
42
+ /**
43
+ * An equivocation proof provided as part of an equivocation report is invalid.
44
+ **/
45
+ InvalidEquivocationProof: AugmentedError<ApiType>;
46
+ /**
47
+ * A key ownership proof provided as part of an equivocation report is invalid.
48
+ **/
49
+ InvalidKeyOwnershipProof: AugmentedError<ApiType>;
50
+ /**
51
+ * Generic error
52
+ **/
53
+ [key: string]: AugmentedError<ApiType>;
54
+ };
55
+ balances: {
56
+ /**
57
+ * Beneficiary account must pre-exist.
58
+ **/
59
+ DeadAccount: AugmentedError<ApiType>;
60
+ /**
61
+ * The delta cannot be zero.
62
+ **/
63
+ DeltaZero: AugmentedError<ApiType>;
64
+ /**
65
+ * Value too low to create account due to existential deposit.
66
+ **/
67
+ ExistentialDeposit: AugmentedError<ApiType>;
68
+ /**
69
+ * A vesting schedule already exists for this account.
70
+ **/
71
+ ExistingVestingSchedule: AugmentedError<ApiType>;
72
+ /**
73
+ * Transfer/payment would kill account.
74
+ **/
75
+ Expendability: AugmentedError<ApiType>;
76
+ /**
77
+ * Balance too low to send value.
78
+ **/
79
+ InsufficientBalance: AugmentedError<ApiType>;
80
+ /**
81
+ * The issuance cannot be modified since it is already deactivated.
82
+ **/
83
+ IssuanceDeactivated: AugmentedError<ApiType>;
84
+ /**
85
+ * Account liquidity restrictions prevent withdrawal.
86
+ **/
87
+ LiquidityRestrictions: AugmentedError<ApiType>;
88
+ /**
89
+ * Number of freezes exceed `MaxFreezes`.
90
+ **/
91
+ TooManyFreezes: AugmentedError<ApiType>;
92
+ /**
93
+ * Number of holds exceed `VariantCountOf<T::RuntimeHoldReason>`.
94
+ **/
95
+ TooManyHolds: AugmentedError<ApiType>;
96
+ /**
97
+ * Number of named reserves exceed `MaxReserves`.
98
+ **/
99
+ TooManyReserves: AugmentedError<ApiType>;
100
+ /**
101
+ * Vesting balance too high to send value.
102
+ **/
103
+ VestingBalance: AugmentedError<ApiType>;
104
+ /**
105
+ * Generic error
106
+ **/
107
+ [key: string]: AugmentedError<ApiType>;
108
+ };
109
+ ctype: {
110
+ AlreadyExists: AugmentedError<ApiType>;
111
+ CannotPayFee: AugmentedError<ApiType>;
112
+ Empty: AugmentedError<ApiType>;
113
+ TooLong: AugmentedError<ApiType>;
114
+ /**
115
+ * Generic error
116
+ **/
117
+ [key: string]: AugmentedError<ApiType>;
118
+ };
119
+ did: {
120
+ AlreadyExists: AugmentedError<ApiType>;
121
+ CannotPayFee: AugmentedError<ApiType>;
122
+ /**
123
+ * Generic error
124
+ **/
125
+ [key: string]: AugmentedError<ApiType>;
126
+ };
127
+ ethereum: {
128
+ /**
129
+ * Signature is invalid.
130
+ **/
131
+ InvalidSignature: AugmentedError<ApiType>;
132
+ /**
133
+ * Pre-log is present, therefore transact is not allowed.
134
+ **/
135
+ PreLogExists: AugmentedError<ApiType>;
136
+ /**
137
+ * Generic error
138
+ **/
139
+ [key: string]: AugmentedError<ApiType>;
140
+ };
141
+ evm: {
142
+ /**
143
+ * Not enough balance to perform action
144
+ **/
145
+ BalanceLow: AugmentedError<ApiType>;
146
+ /**
147
+ * Address not allowed to deploy contracts either via CREATE or CALL(CREATE).
148
+ **/
149
+ CreateOriginNotAllowed: AugmentedError<ApiType>;
150
+ /**
151
+ * Calculating total fee overflowed
152
+ **/
153
+ FeeOverflow: AugmentedError<ApiType>;
154
+ /**
155
+ * Gas limit exceeds block gas limit.
156
+ **/
157
+ GasLimitExceedsBlockLimit: AugmentedError<ApiType>;
158
+ /**
159
+ * Gas limit is too low.
160
+ **/
161
+ GasLimitTooLow: AugmentedError<ApiType>;
162
+ /**
163
+ * Gas price is too low.
164
+ **/
165
+ GasPriceTooLow: AugmentedError<ApiType>;
166
+ /**
167
+ * The chain id is invalid.
168
+ **/
169
+ InvalidChainId: AugmentedError<ApiType>;
170
+ /**
171
+ * Nonce is invalid
172
+ **/
173
+ InvalidNonce: AugmentedError<ApiType>;
174
+ /**
175
+ * the signature is invalid.
176
+ **/
177
+ InvalidSignature: AugmentedError<ApiType>;
178
+ /**
179
+ * Calculating total payment overflowed
180
+ **/
181
+ PaymentOverflow: AugmentedError<ApiType>;
182
+ /**
183
+ * EVM reentrancy
184
+ **/
185
+ Reentrancy: AugmentedError<ApiType>;
186
+ /**
187
+ * EIP-7825: Transaction gas limit exceeds protocol cap (2^24).
188
+ **/
189
+ TransactionGasLimitExceedsCap: AugmentedError<ApiType>;
190
+ /**
191
+ * EIP-3607,
192
+ **/
193
+ TransactionMustComeFromEOA: AugmentedError<ApiType>;
194
+ /**
195
+ * Undefined error.
196
+ **/
197
+ Undefined: AugmentedError<ApiType>;
198
+ /**
199
+ * Withdraw fee failed
200
+ **/
201
+ WithdrawFailed: AugmentedError<ApiType>;
202
+ /**
203
+ * Generic error
204
+ **/
205
+ [key: string]: AugmentedError<ApiType>;
206
+ };
207
+ grandpa: {
208
+ /**
209
+ * Attempt to signal GRANDPA change with one already pending.
210
+ **/
211
+ ChangePending: AugmentedError<ApiType>;
212
+ /**
213
+ * A given equivocation report is valid but already previously reported.
214
+ **/
215
+ DuplicateOffenceReport: AugmentedError<ApiType>;
216
+ /**
217
+ * An equivocation proof provided as part of an equivocation report is invalid.
218
+ **/
219
+ InvalidEquivocationProof: AugmentedError<ApiType>;
220
+ /**
221
+ * A key ownership proof provided as part of an equivocation report is invalid.
222
+ **/
223
+ InvalidKeyOwnershipProof: AugmentedError<ApiType>;
224
+ /**
225
+ * Attempt to signal GRANDPA pause when the authority set isn't live
226
+ * (either paused or already pending pause).
227
+ **/
228
+ PauseFailed: AugmentedError<ApiType>;
229
+ /**
230
+ * Attempt to signal GRANDPA resume when the authority set isn't paused
231
+ * (either live or already pending resume).
232
+ **/
233
+ ResumeFailed: AugmentedError<ApiType>;
234
+ /**
235
+ * Cannot signal forced change so soon after last.
236
+ **/
237
+ TooSoon: AugmentedError<ApiType>;
238
+ /**
239
+ * Generic error
240
+ **/
241
+ [key: string]: AugmentedError<ApiType>;
242
+ };
243
+ handshake: {
244
+ /**
245
+ * Cannot confirm own handshake request - only the recipient can confirm
246
+ **/
247
+ CannotConfirmOwnHandshake: AugmentedError<ApiType>;
248
+ /**
249
+ * Cannot handshake with yourself
250
+ **/
251
+ CannotHandshakeWithYourself: AugmentedError<ApiType>;
252
+ /**
253
+ * Handshake already exists
254
+ **/
255
+ HandshakeAlreadyExists: AugmentedError<ApiType>;
256
+ /**
257
+ * Handshake does not exist
258
+ **/
259
+ HandshakeDoesNotExist: AugmentedError<ApiType>;
260
+ /**
261
+ * Handshake is not confirmed
262
+ **/
263
+ HandshakeIsNotConfirmed: AugmentedError<ApiType>;
264
+ /**
265
+ * Handshake is not pending
266
+ **/
267
+ HandshakeIsNotPending: AugmentedError<ApiType>;
268
+ /**
269
+ * Sender is not an attestation provider
270
+ **/
271
+ SenderIsNotAttestationProvider: AugmentedError<ApiType>;
272
+ /**
273
+ * Generic error
274
+ **/
275
+ [key: string]: AugmentedError<ApiType>;
276
+ };
277
+ identity: {
278
+ /**
279
+ * Account ID is already named.
280
+ **/
281
+ AlreadyClaimed: AugmentedError<ApiType>;
282
+ /**
283
+ * The username cannot be unbound because it is already unbinding.
284
+ **/
285
+ AlreadyUnbinding: AugmentedError<ApiType>;
286
+ /**
287
+ * Empty index.
288
+ **/
289
+ EmptyIndex: AugmentedError<ApiType>;
290
+ /**
291
+ * Fee is changed.
292
+ **/
293
+ FeeChanged: AugmentedError<ApiType>;
294
+ /**
295
+ * The action cannot be performed because of insufficient privileges (e.g. authority
296
+ * trying to unbind a username provided by the system).
297
+ **/
298
+ InsufficientPrivileges: AugmentedError<ApiType>;
299
+ /**
300
+ * The index is invalid.
301
+ **/
302
+ InvalidIndex: AugmentedError<ApiType>;
303
+ /**
304
+ * Invalid judgement.
305
+ **/
306
+ InvalidJudgement: AugmentedError<ApiType>;
307
+ /**
308
+ * The signature on a username was not valid.
309
+ **/
310
+ InvalidSignature: AugmentedError<ApiType>;
311
+ /**
312
+ * The provided suffix is too long.
313
+ **/
314
+ InvalidSuffix: AugmentedError<ApiType>;
315
+ /**
316
+ * The target is invalid.
317
+ **/
318
+ InvalidTarget: AugmentedError<ApiType>;
319
+ /**
320
+ * The username does not meet the requirements.
321
+ **/
322
+ InvalidUsername: AugmentedError<ApiType>;
323
+ /**
324
+ * The provided judgement was for a different identity.
325
+ **/
326
+ JudgementForDifferentIdentity: AugmentedError<ApiType>;
327
+ /**
328
+ * Judgement given.
329
+ **/
330
+ JudgementGiven: AugmentedError<ApiType>;
331
+ /**
332
+ * Error that occurs when there is an issue paying for judgement.
333
+ **/
334
+ JudgementPaymentFailed: AugmentedError<ApiType>;
335
+ /**
336
+ * The authority cannot allocate any more usernames.
337
+ **/
338
+ NoAllocation: AugmentedError<ApiType>;
339
+ /**
340
+ * No identity found.
341
+ **/
342
+ NoIdentity: AugmentedError<ApiType>;
343
+ /**
344
+ * The username cannot be forcefully removed because it can still be accepted.
345
+ **/
346
+ NotExpired: AugmentedError<ApiType>;
347
+ /**
348
+ * Account isn't found.
349
+ **/
350
+ NotFound: AugmentedError<ApiType>;
351
+ /**
352
+ * Account isn't named.
353
+ **/
354
+ NotNamed: AugmentedError<ApiType>;
355
+ /**
356
+ * Sub-account isn't owned by sender.
357
+ **/
358
+ NotOwned: AugmentedError<ApiType>;
359
+ /**
360
+ * Sender is not a sub-account.
361
+ **/
362
+ NotSub: AugmentedError<ApiType>;
363
+ /**
364
+ * The username cannot be removed because it is not unbinding.
365
+ **/
366
+ NotUnbinding: AugmentedError<ApiType>;
367
+ /**
368
+ * The sender does not have permission to issue a username.
369
+ **/
370
+ NotUsernameAuthority: AugmentedError<ApiType>;
371
+ /**
372
+ * The requested username does not exist.
373
+ **/
374
+ NoUsername: AugmentedError<ApiType>;
375
+ /**
376
+ * Setting this username requires a signature, but none was provided.
377
+ **/
378
+ RequiresSignature: AugmentedError<ApiType>;
379
+ /**
380
+ * Sticky judgement.
381
+ **/
382
+ StickyJudgement: AugmentedError<ApiType>;
383
+ /**
384
+ * The username cannot be removed because it's still in the grace period.
385
+ **/
386
+ TooEarly: AugmentedError<ApiType>;
387
+ /**
388
+ * Maximum amount of registrars reached. Cannot add any more.
389
+ **/
390
+ TooManyRegistrars: AugmentedError<ApiType>;
391
+ /**
392
+ * Too many subs-accounts.
393
+ **/
394
+ TooManySubAccounts: AugmentedError<ApiType>;
395
+ /**
396
+ * The username is already taken.
397
+ **/
398
+ UsernameTaken: AugmentedError<ApiType>;
399
+ /**
400
+ * Generic error
401
+ **/
402
+ [key: string]: AugmentedError<ApiType>;
403
+ };
404
+ imOnline: {
405
+ /**
406
+ * Duplicated heartbeat.
407
+ **/
408
+ DuplicatedHeartbeat: AugmentedError<ApiType>;
409
+ /**
410
+ * Non existent public key.
411
+ **/
412
+ InvalidKey: AugmentedError<ApiType>;
413
+ /**
414
+ * Generic error
415
+ **/
416
+ [key: string]: AugmentedError<ApiType>;
417
+ };
418
+ multisig: {
419
+ /**
420
+ * Call is already approved by this signatory.
421
+ **/
422
+ AlreadyApproved: AugmentedError<ApiType>;
423
+ /**
424
+ * The data to be stored is already stored.
425
+ **/
426
+ AlreadyStored: AugmentedError<ApiType>;
427
+ /**
428
+ * The maximum weight information provided was too low.
429
+ **/
430
+ MaxWeightTooLow: AugmentedError<ApiType>;
431
+ /**
432
+ * Threshold must be 2 or greater.
433
+ **/
434
+ MinimumThreshold: AugmentedError<ApiType>;
435
+ /**
436
+ * Call doesn't need any (more) approvals.
437
+ **/
438
+ NoApprovalsNeeded: AugmentedError<ApiType>;
439
+ /**
440
+ * Multisig operation not found in storage.
441
+ **/
442
+ NotFound: AugmentedError<ApiType>;
443
+ /**
444
+ * No timepoint was given, yet the multisig operation is already underway.
445
+ **/
446
+ NoTimepoint: AugmentedError<ApiType>;
447
+ /**
448
+ * Only the account that originally created the multisig is able to cancel it or update
449
+ * its deposits.
450
+ **/
451
+ NotOwner: AugmentedError<ApiType>;
452
+ /**
453
+ * The sender was contained in the other signatories; it shouldn't be.
454
+ **/
455
+ SenderInSignatories: AugmentedError<ApiType>;
456
+ /**
457
+ * The signatories were provided out of order; they should be ordered.
458
+ **/
459
+ SignatoriesOutOfOrder: AugmentedError<ApiType>;
460
+ /**
461
+ * There are too few signatories in the list.
462
+ **/
463
+ TooFewSignatories: AugmentedError<ApiType>;
464
+ /**
465
+ * There are too many signatories in the list.
466
+ **/
467
+ TooManySignatories: AugmentedError<ApiType>;
468
+ /**
469
+ * A timepoint was given, yet no multisig operation is underway.
470
+ **/
471
+ UnexpectedTimepoint: AugmentedError<ApiType>;
472
+ /**
473
+ * A different timepoint was given to the multisig operation that is underway.
474
+ **/
475
+ WrongTimepoint: AugmentedError<ApiType>;
476
+ /**
477
+ * Generic error
478
+ **/
479
+ [key: string]: AugmentedError<ApiType>;
480
+ };
481
+ potential: {
482
+ /**
483
+ * Cycle withdrawal from reward pool failed.
484
+ **/
485
+ CycleWithdrawalFailed: AugmentedError<ApiType>;
486
+ /**
487
+ * An error occurred during the minting process.
488
+ **/
489
+ MintFailed: AugmentedError<ApiType>;
490
+ /**
491
+ * An error occurred during the referral process.
492
+ **/
493
+ ReferralFailed: AugmentedError<ApiType>;
494
+ /**
495
+ * Set active referral share failed.
496
+ **/
497
+ SetActiveReferralShareFailed: AugmentedError<ApiType>;
498
+ /**
499
+ * Generic error
500
+ **/
501
+ [key: string]: AugmentedError<ApiType>;
502
+ };
503
+ preimage: {
504
+ /**
505
+ * Preimage has already been noted on-chain.
506
+ **/
507
+ AlreadyNoted: AugmentedError<ApiType>;
508
+ /**
509
+ * The user is not authorized to perform this action.
510
+ **/
511
+ NotAuthorized: AugmentedError<ApiType>;
512
+ /**
513
+ * The preimage cannot be removed since it has not yet been noted.
514
+ **/
515
+ NotNoted: AugmentedError<ApiType>;
516
+ /**
517
+ * The preimage request cannot be removed since no outstanding requests exist.
518
+ **/
519
+ NotRequested: AugmentedError<ApiType>;
520
+ /**
521
+ * A preimage may not be removed when there are outstanding requests.
522
+ **/
523
+ Requested: AugmentedError<ApiType>;
524
+ /**
525
+ * Preimage is too large to store on-chain.
526
+ **/
527
+ TooBig: AugmentedError<ApiType>;
528
+ /**
529
+ * Too few hashes were requested to be upgraded (i.e. zero).
530
+ **/
531
+ TooFew: AugmentedError<ApiType>;
532
+ /**
533
+ * More than `MAX_HASH_UPGRADE_BULK_COUNT` hashes were requested to be upgraded at once.
534
+ **/
535
+ TooMany: AugmentedError<ApiType>;
536
+ /**
537
+ * Generic error
538
+ **/
539
+ [key: string]: AugmentedError<ApiType>;
540
+ };
541
+ proxy: {
542
+ /**
543
+ * Account is already a proxy.
544
+ **/
545
+ Duplicate: AugmentedError<ApiType>;
546
+ /**
547
+ * Call may not be made by proxy because it may escalate its privileges.
548
+ **/
549
+ NoPermission: AugmentedError<ApiType>;
550
+ /**
551
+ * Cannot add self as proxy.
552
+ **/
553
+ NoSelfProxy: AugmentedError<ApiType>;
554
+ /**
555
+ * Proxy registration not found.
556
+ **/
557
+ NotFound: AugmentedError<ApiType>;
558
+ /**
559
+ * Sender is not a proxy of the account to be proxied.
560
+ **/
561
+ NotProxy: AugmentedError<ApiType>;
562
+ /**
563
+ * There are too many proxies registered or too many announcements pending.
564
+ **/
565
+ TooMany: AugmentedError<ApiType>;
566
+ /**
567
+ * Announcement, if made at all, was made too recently.
568
+ **/
569
+ Unannounced: AugmentedError<ApiType>;
570
+ /**
571
+ * A call which is incompatible with the proxy type's filter was attempted.
572
+ **/
573
+ Unproxyable: AugmentedError<ApiType>;
574
+ /**
575
+ * Generic error
576
+ **/
577
+ [key: string]: AugmentedError<ApiType>;
578
+ };
579
+ puzzlePieces: {
580
+ ArithmeticOverflow: AugmentedError<ApiType>;
581
+ ArithmeticUnderflow: AugmentedError<ApiType>;
582
+ CollectionIdOverflow: AugmentedError<ApiType>;
583
+ /**
584
+ * A leftover piece of the retired collection still exists.
585
+ **/
586
+ CollectionNotEmpty: AugmentedError<ApiType>;
587
+ DistributePuzzlePieceRewardFailed: AugmentedError<ApiType>;
588
+ /**
589
+ * The block already holds the Normal class's `max_total` of weight, draw resolution
590
+ * included: a new draw waits for a later block, so `on_idle` keeps the rest.
591
+ **/
592
+ DrawBlockFull: AugmentedError<ApiType>;
593
+ /**
594
+ * `MaxPendingDraws` activation draws are already waiting.
595
+ **/
596
+ DrawQueueFull: AugmentedError<ApiType>;
597
+ InvalidWildcardThreshold: AugmentedError<ApiType>;
598
+ ItemIdOverflow: AugmentedError<ApiType>;
599
+ /**
600
+ * No reward set is open, so a reward piece has nowhere to go. Genesis opens every
601
+ * slot and a sealed set is replaced in the same mint, so this means corrupt storage.
602
+ **/
603
+ NoOpenSet: AugmentedError<ApiType>;
604
+ /**
605
+ * The collection was not retired by a partial unlock.
606
+ **/
607
+ NotRetiredCollection: AugmentedError<ApiType>;
608
+ /**
609
+ * Minting a reward piece failed inside the puzzle-piece layer.
610
+ **/
611
+ RewardMintFailed: AugmentedError<ApiType>;
612
+ /**
613
+ * A draw's upline is longer than the referrer plus `MaxLineageRewardDepth` ancestors.
614
+ **/
615
+ TooManyDrawRecipients: AugmentedError<ApiType>;
616
+ TotalPuzzlePiecesNotSet: AugmentedError<ApiType>;
617
+ TransferPuzzlePieceFailed: AugmentedError<ApiType>;
618
+ WildcardCollectionNotSet: AugmentedError<ApiType>;
619
+ WildcardThresholdNotSet: AugmentedError<ApiType>;
620
+ /**
621
+ * Generic error
622
+ **/
623
+ [key: string]: AugmentedError<ApiType>;
624
+ };
625
+ referenda: {
626
+ /**
627
+ * The referendum index provided is invalid in this context.
628
+ **/
629
+ BadReferendum: AugmentedError<ApiType>;
630
+ /**
631
+ * The referendum status is invalid for this operation.
632
+ **/
633
+ BadStatus: AugmentedError<ApiType>;
634
+ /**
635
+ * The track identifier given was invalid.
636
+ **/
637
+ BadTrack: AugmentedError<ApiType>;
638
+ /**
639
+ * There are already a full complement of referenda in progress for this track.
640
+ **/
641
+ Full: AugmentedError<ApiType>;
642
+ /**
643
+ * Referendum's decision deposit is already paid.
644
+ **/
645
+ HasDeposit: AugmentedError<ApiType>;
646
+ /**
647
+ * The deposit cannot be refunded since none was made.
648
+ **/
649
+ NoDeposit: AugmentedError<ApiType>;
650
+ /**
651
+ * The deposit refunder is not the depositor.
652
+ **/
653
+ NoPermission: AugmentedError<ApiType>;
654
+ /**
655
+ * There was nothing to do in the advancement.
656
+ **/
657
+ NothingToDo: AugmentedError<ApiType>;
658
+ /**
659
+ * Referendum is not ongoing.
660
+ **/
661
+ NotOngoing: AugmentedError<ApiType>;
662
+ /**
663
+ * No track exists for the proposal origin.
664
+ **/
665
+ NoTrack: AugmentedError<ApiType>;
666
+ /**
667
+ * The preimage does not exist.
668
+ **/
669
+ PreimageNotExist: AugmentedError<ApiType>;
670
+ /**
671
+ * The preimage is stored with a different length than the one provided.
672
+ **/
673
+ PreimageStoredWithDifferentLength: AugmentedError<ApiType>;
674
+ /**
675
+ * The queue of the track is empty.
676
+ **/
677
+ QueueEmpty: AugmentedError<ApiType>;
678
+ /**
679
+ * Any deposit cannot be refunded until after the decision is over.
680
+ **/
681
+ Unfinished: AugmentedError<ApiType>;
682
+ /**
683
+ * Generic error
684
+ **/
685
+ [key: string]: AugmentedError<ApiType>;
686
+ };
687
+ referral: {
688
+ /**
689
+ * No pending referral for the caller.
690
+ **/
691
+ ActivateReferralFailed: AugmentedError<ApiType>;
692
+ /**
693
+ * The caller is already registered as a block producer, and block producers
694
+ * must be active-tree roots (see `split_tree`). Attaching the caller under
695
+ * its referrer would leave it a non-root node that `do_add_block_producer`
696
+ * can never split again, so the activation is rejected. Activate the pending
697
+ * referral *before* registering as a validator.
698
+ **/
699
+ BlockProducerCannotActivateReferral: AugmentedError<ApiType>;
700
+ /**
701
+ * The proposed referrer is a descendant of the proposed referral —
702
+ * adding the edge would close a cycle.
703
+ **/
704
+ CircularReferralDetected: AugmentedError<ApiType>;
705
+ /**
706
+ * Per-node cap (`MaxChildrenPerNode`) reached, counting active children plus
707
+ * pending entries.
708
+ **/
709
+ MaxChildrenPerNodeReached: AugmentedError<ApiType>;
710
+ /**
711
+ * Per-referrer cap (`MaxPendingReferrals`) reached.
712
+ **/
713
+ MaxPendingReferralsReached: AugmentedError<ApiType>;
714
+ /**
715
+ * The active ancestor chain from the immediate referrer to the tree root
716
+ * already has `MAX_REFERRAL_DEPTH` ancestors; activating this pending
717
+ * referral would extend the chain beyond the bound on which
718
+ * `activate_referral_depth` is benchmarked.
719
+ **/
720
+ MaxReferralDepthExceeded: AugmentedError<ApiType>;
721
+ /**
722
+ * `referral` already has a referrer (active or pending).
723
+ **/
724
+ ReferralAlreadyExists: AugmentedError<ApiType>;
725
+ /**
726
+ * The referrer's pending-or-active ancestor chain is deeper than
727
+ * `MAX_TREE_DEPTH`, so cycle detection cannot verify the new edge is
728
+ * safe. The call is rejected to fail closed.
729
+ **/
730
+ ReferralChainTooDeep: AugmentedError<ApiType>;
731
+ /**
732
+ * Referrer and referral are the same account.
733
+ **/
734
+ SelfReferralNotAllowed: AugmentedError<ApiType>;
735
+ /**
736
+ * Generic error
737
+ **/
738
+ [key: string]: AugmentedError<ApiType>;
739
+ };
740
+ reputationVoting: {
741
+ /**
742
+ * Account has already voted on this poll
743
+ **/
744
+ AlreadyVoted: AugmentedError<ApiType>;
745
+ /**
746
+ * Account does not have enough reputation to vote
747
+ **/
748
+ InsufficientReputation: AugmentedError<ApiType>;
749
+ /**
750
+ * Poll has reached the maximum number of voters
751
+ **/
752
+ MaxVotersReached: AugmentedError<ApiType>;
753
+ /**
754
+ * Account has reached the maximum number of simultaneous votes
755
+ **/
756
+ MaxVotesReached: AugmentedError<ApiType>;
757
+ /**
758
+ * The poll is not ongoing
759
+ **/
760
+ NotOngoing: AugmentedError<ApiType>;
761
+ /**
762
+ * Account has not voted on this poll
763
+ **/
764
+ NotVoted: AugmentedError<ApiType>;
765
+ /**
766
+ * Vote update attempted with the same direction as the existing vote
767
+ **/
768
+ SameDirection: AugmentedError<ApiType>;
769
+ /**
770
+ * Generic error
771
+ **/
772
+ [key: string]: AugmentedError<ApiType>;
773
+ };
774
+ rewardPool: {
775
+ CollectionIdOverflow: AugmentedError<ApiType>;
776
+ /**
777
+ * The target collection holds more valid items than a single `unlock` call
778
+ * can safely handle within block weight limits. Bounded by [`MAX_UNLOCK_ITEMS`].
779
+ **/
780
+ CollectionTooLargeToUnlock: AugmentedError<ApiType>;
781
+ UnlockFailed: AugmentedError<ApiType>;
782
+ /**
783
+ * Generic error
784
+ **/
785
+ [key: string]: AugmentedError<ApiType>;
786
+ };
787
+ safeMode: {
788
+ /**
789
+ * The account already has a deposit reserved and can therefore not enter or extend again.
790
+ **/
791
+ AlreadyDeposited: AugmentedError<ApiType>;
792
+ /**
793
+ * This deposit cannot be released yet.
794
+ **/
795
+ CannotReleaseYet: AugmentedError<ApiType>;
796
+ /**
797
+ * An error from the underlying `Currency`.
798
+ **/
799
+ CurrencyError: AugmentedError<ApiType>;
800
+ /**
801
+ * The safe-mode is (already or still) entered.
802
+ **/
803
+ Entered: AugmentedError<ApiType>;
804
+ /**
805
+ * The safe-mode is (already or still) exited.
806
+ **/
807
+ Exited: AugmentedError<ApiType>;
808
+ /**
809
+ * There is no balance reserved.
810
+ **/
811
+ NoDeposit: AugmentedError<ApiType>;
812
+ /**
813
+ * This functionality of the pallet is disabled by the configuration.
814
+ **/
815
+ NotConfigured: AugmentedError<ApiType>;
816
+ /**
817
+ * Generic error
818
+ **/
819
+ [key: string]: AugmentedError<ApiType>;
820
+ };
821
+ scheduler: {
822
+ /**
823
+ * Failed to schedule a call
824
+ **/
825
+ FailedToSchedule: AugmentedError<ApiType>;
826
+ /**
827
+ * Attempt to use a non-named function on a named task.
828
+ **/
829
+ Named: AugmentedError<ApiType>;
830
+ /**
831
+ * Cannot find the scheduled call.
832
+ **/
833
+ NotFound: AugmentedError<ApiType>;
834
+ /**
835
+ * Reschedule failed because it does not change scheduled time.
836
+ **/
837
+ RescheduleNoChange: AugmentedError<ApiType>;
838
+ /**
839
+ * Given target block number is in the past.
840
+ **/
841
+ TargetBlockNumberInPast: AugmentedError<ApiType>;
842
+ /**
843
+ * Generic error
844
+ **/
845
+ [key: string]: AugmentedError<ApiType>;
846
+ };
847
+ session: {
848
+ /**
849
+ * Registered duplicate key.
850
+ **/
851
+ DuplicatedKey: AugmentedError<ApiType>;
852
+ /**
853
+ * Invalid ownership proof.
854
+ **/
855
+ InvalidProof: AugmentedError<ApiType>;
856
+ /**
857
+ * Key setting account is not live, so it's impossible to associate keys.
858
+ **/
859
+ NoAccount: AugmentedError<ApiType>;
860
+ /**
861
+ * No associated validator ID for account.
862
+ **/
863
+ NoAssociatedValidatorId: AugmentedError<ApiType>;
864
+ /**
865
+ * No keys are associated with this account.
866
+ **/
867
+ NoKeys: AugmentedError<ApiType>;
868
+ /**
869
+ * Generic error
870
+ **/
871
+ [key: string]: AugmentedError<ApiType>;
872
+ };
873
+ system: {
874
+ /**
875
+ * The origin filter prevent the call to be dispatched.
876
+ **/
877
+ CallFiltered: AugmentedError<ApiType>;
878
+ /**
879
+ * Failed to extract the runtime version from the new runtime.
880
+ *
881
+ * Either calling `Core_version` or decoding `RuntimeVersion` failed.
882
+ **/
883
+ FailedToExtractRuntimeVersion: AugmentedError<ApiType>;
884
+ /**
885
+ * The name of specification does not match between the current runtime
886
+ * and the new runtime.
887
+ **/
888
+ InvalidSpecName: AugmentedError<ApiType>;
889
+ /**
890
+ * A multi-block migration is ongoing and prevents the current code from being replaced.
891
+ **/
892
+ MultiBlockMigrationsOngoing: AugmentedError<ApiType>;
893
+ /**
894
+ * Suicide called when the account has non-default composite data.
895
+ **/
896
+ NonDefaultComposite: AugmentedError<ApiType>;
897
+ /**
898
+ * There is a non-zero reference count preventing the account from being purged.
899
+ **/
900
+ NonZeroRefCount: AugmentedError<ApiType>;
901
+ /**
902
+ * No upgrade authorized.
903
+ **/
904
+ NothingAuthorized: AugmentedError<ApiType>;
905
+ /**
906
+ * The specification version is not allowed to decrease between the current runtime
907
+ * and the new runtime.
908
+ **/
909
+ SpecVersionNeedsToIncrease: AugmentedError<ApiType>;
910
+ /**
911
+ * The submitted code is not authorized.
912
+ **/
913
+ Unauthorized: AugmentedError<ApiType>;
914
+ /**
915
+ * Generic error
916
+ **/
917
+ [key: string]: AugmentedError<ApiType>;
918
+ };
919
+ techCommitteeManager: {
920
+ /**
921
+ * `force_unregister_candidate` banned the account from registering.
922
+ **/
923
+ CandidateBanned: AugmentedError<ApiType>;
924
+ /**
925
+ * The account's reputation is below `MinCandidateReputation`.
926
+ **/
927
+ InsufficientReputation: AugmentedError<ApiType>;
928
+ /**
929
+ * The maximum number of candidates has been reached.
930
+ **/
931
+ MaxCandidatesReached: AugmentedError<ApiType>;
932
+ /**
933
+ * The account is not banned.
934
+ **/
935
+ NotBanned: AugmentedError<ApiType>;
936
+ /**
937
+ * The account is neither a candidate nor a committee member.
938
+ **/
939
+ NotCandidate: AugmentedError<ApiType>;
940
+ /**
941
+ * The selection holds fewer members than `MinMembers`.
942
+ **/
943
+ TooFewMembers: AugmentedError<ApiType>;
944
+ /**
945
+ * The selection holds more members than `MaxMembers`.
946
+ **/
947
+ TooManyMembers: AugmentedError<ApiType>;
948
+ /**
949
+ * Generic error
950
+ **/
951
+ [key: string]: AugmentedError<ApiType>;
952
+ };
953
+ technicalCommittee: {
954
+ /**
955
+ * Members are already initialized!
956
+ **/
957
+ AlreadyInitialized: AugmentedError<ApiType>;
958
+ /**
959
+ * Duplicate proposals not allowed
960
+ **/
961
+ DuplicateProposal: AugmentedError<ApiType>;
962
+ /**
963
+ * Duplicate vote ignored
964
+ **/
965
+ DuplicateVote: AugmentedError<ApiType>;
966
+ /**
967
+ * Account is not a member
968
+ **/
969
+ NotMember: AugmentedError<ApiType>;
970
+ /**
971
+ * Prime account is not a member
972
+ **/
973
+ PrimeAccountNotMember: AugmentedError<ApiType>;
974
+ /**
975
+ * Proposal is still active.
976
+ **/
977
+ ProposalActive: AugmentedError<ApiType>;
978
+ /**
979
+ * Proposal must exist
980
+ **/
981
+ ProposalMissing: AugmentedError<ApiType>;
982
+ /**
983
+ * The close call was made too early, before the end of the voting.
984
+ **/
985
+ TooEarly: AugmentedError<ApiType>;
986
+ /**
987
+ * There can only be a maximum of `MaxProposals` active proposals.
988
+ **/
989
+ TooManyProposals: AugmentedError<ApiType>;
990
+ /**
991
+ * Mismatched index
992
+ **/
993
+ WrongIndex: AugmentedError<ApiType>;
994
+ /**
995
+ * The given length bound for the proposal was too low.
996
+ **/
997
+ WrongProposalLength: AugmentedError<ApiType>;
998
+ /**
999
+ * The given weight bound for the proposal was too low.
1000
+ **/
1001
+ WrongProposalWeight: AugmentedError<ApiType>;
1002
+ /**
1003
+ * Generic error
1004
+ **/
1005
+ [key: string]: AugmentedError<ApiType>;
1006
+ };
1007
+ txPause: {
1008
+ /**
1009
+ * The call is paused.
1010
+ **/
1011
+ IsPaused: AugmentedError<ApiType>;
1012
+ /**
1013
+ * The call is unpaused.
1014
+ **/
1015
+ IsUnpaused: AugmentedError<ApiType>;
1016
+ NotFound: AugmentedError<ApiType>;
1017
+ /**
1018
+ * The call is whitelisted and cannot be paused.
1019
+ **/
1020
+ Unpausable: AugmentedError<ApiType>;
1021
+ /**
1022
+ * Generic error
1023
+ **/
1024
+ [key: string]: AugmentedError<ApiType>;
1025
+ };
1026
+ uniques: {
1027
+ /**
1028
+ * The item ID has already been used for an item.
1029
+ **/
1030
+ AlreadyExists: AugmentedError<ApiType>;
1031
+ /**
1032
+ * An attribute is not found.
1033
+ **/
1034
+ AttributeNotFound: AugmentedError<ApiType>;
1035
+ /**
1036
+ * Invalid witness data given.
1037
+ **/
1038
+ BadWitness: AugmentedError<ApiType>;
1039
+ /**
1040
+ * The provided bid is too low.
1041
+ **/
1042
+ BidTooLow: AugmentedError<ApiType>;
1043
+ /**
1044
+ * The item or collection is frozen.
1045
+ **/
1046
+ Frozen: AugmentedError<ApiType>;
1047
+ /**
1048
+ * The item ID is already taken.
1049
+ **/
1050
+ InUse: AugmentedError<ApiType>;
1051
+ /**
1052
+ * The item is locked.
1053
+ **/
1054
+ Locked: AugmentedError<ApiType>;
1055
+ /**
1056
+ * The max supply has already been set.
1057
+ **/
1058
+ MaxSupplyAlreadySet: AugmentedError<ApiType>;
1059
+ /**
1060
+ * All items have been minted.
1061
+ **/
1062
+ MaxSupplyReached: AugmentedError<ApiType>;
1063
+ /**
1064
+ * The provided max supply is less to the amount of items a collection already has.
1065
+ **/
1066
+ MaxSupplyTooSmall: AugmentedError<ApiType>;
1067
+ /**
1068
+ * There is no delegate approved.
1069
+ **/
1070
+ NoDelegate: AugmentedError<ApiType>;
1071
+ /**
1072
+ * No metadata is found.
1073
+ **/
1074
+ NoMetadata: AugmentedError<ApiType>;
1075
+ /**
1076
+ * The signing account has no permission to do the operation.
1077
+ **/
1078
+ NoPermission: AugmentedError<ApiType>;
1079
+ /**
1080
+ * Item is not for sale.
1081
+ **/
1082
+ NotForSale: AugmentedError<ApiType>;
1083
+ /**
1084
+ * The named owner has not signed ownership of the collection is acceptable.
1085
+ **/
1086
+ Unaccepted: AugmentedError<ApiType>;
1087
+ /**
1088
+ * No approval exists that would allow the transfer.
1089
+ **/
1090
+ Unapproved: AugmentedError<ApiType>;
1091
+ /**
1092
+ * The given item ID is unknown.
1093
+ **/
1094
+ UnknownCollection: AugmentedError<ApiType>;
1095
+ /**
1096
+ * The given item ID is unknown.
1097
+ **/
1098
+ UnknownItem: AugmentedError<ApiType>;
1099
+ /**
1100
+ * Wrong attribute key/value bytes supplied.
1101
+ **/
1102
+ WrongAttribute: AugmentedError<ApiType>;
1103
+ /**
1104
+ * The delegate turned out to be different to what was expected.
1105
+ **/
1106
+ WrongDelegate: AugmentedError<ApiType>;
1107
+ /**
1108
+ * Wrong metadata key/value bytes supplied.
1109
+ **/
1110
+ WrongMetadata: AugmentedError<ApiType>;
1111
+ /**
1112
+ * The owner turned out to be different to what was expected.
1113
+ **/
1114
+ WrongOwner: AugmentedError<ApiType>;
1115
+ /**
1116
+ * Generic error
1117
+ **/
1118
+ [key: string]: AugmentedError<ApiType>;
1119
+ };
1120
+ utility: {
1121
+ /**
1122
+ * Too many calls batched.
1123
+ **/
1124
+ TooManyCalls: AugmentedError<ApiType>;
1125
+ /**
1126
+ * Generic error
1127
+ **/
1128
+ [key: string]: AugmentedError<ApiType>;
1129
+ };
1130
+ validatorManager: {
1131
+ /**
1132
+ * The account's reputation is below `MinValidatorReputation`.
1133
+ **/
1134
+ InsufficientReputation: AugmentedError<ApiType>;
1135
+ /**
1136
+ * The registered validators list is full.
1137
+ **/
1138
+ MaxRegisteredValidatorsReached: AugmentedError<ApiType>;
1139
+ /**
1140
+ * The account is not in the registered validators list.
1141
+ **/
1142
+ NotRegistered: AugmentedError<ApiType>;
1143
+ /**
1144
+ * The account has an active offline or offence penalty and cannot register.
1145
+ **/
1146
+ PenaltyActive: AugmentedError<ApiType>;
1147
+ /**
1148
+ * Unregistering would drop eligible (non-blacklisted) candidates below MinValidators.
1149
+ **/
1150
+ TooFewEligibleValidators: AugmentedError<ApiType>;
1151
+ /**
1152
+ * Generic error
1153
+ **/
1154
+ [key: string]: AugmentedError<ApiType>;
1155
+ };
1156
+ whitelist: {
1157
+ /**
1158
+ * The call was already whitelisted; No-Op.
1159
+ **/
1160
+ CallAlreadyWhitelisted: AugmentedError<ApiType>;
1161
+ /**
1162
+ * The call was not whitelisted.
1163
+ **/
1164
+ CallIsNotWhitelisted: AugmentedError<ApiType>;
1165
+ /**
1166
+ * The weight of the decoded call was higher than the witness.
1167
+ **/
1168
+ InvalidCallWeightWitness: AugmentedError<ApiType>;
1169
+ /**
1170
+ * The preimage of the call hash could not be loaded.
1171
+ **/
1172
+ UnavailablePreImage: AugmentedError<ApiType>;
1173
+ /**
1174
+ * The call could not be decoded.
1175
+ **/
1176
+ UndecodableCall: AugmentedError<ApiType>;
1177
+ /**
1178
+ * Generic error
1179
+ **/
1180
+ [key: string]: AugmentedError<ApiType>;
1181
+ };
1182
+ }
1183
+ }