@dedot/chaintypes 0.0.1-alpha.100

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 (105) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +5 -0
  3. package/aleph/consts.d.ts +676 -0
  4. package/aleph/errors.d.ts +1054 -0
  5. package/aleph/events.d.ts +1201 -0
  6. package/aleph/index.d.ts +27 -0
  7. package/aleph/json-rpc.d.ts +85 -0
  8. package/aleph/query.d.ts +1573 -0
  9. package/aleph/runtime.d.ts +596 -0
  10. package/aleph/tx.d.ts +3440 -0
  11. package/aleph/types.d.ts +3951 -0
  12. package/astar/consts.d.ts +737 -0
  13. package/astar/errors.d.ts +1508 -0
  14. package/astar/events.d.ts +1878 -0
  15. package/astar/index.d.ts +27 -0
  16. package/astar/json-rpc.d.ts +131 -0
  17. package/astar/query.d.ts +1851 -0
  18. package/astar/runtime.d.ts +803 -0
  19. package/astar/tx.d.ts +4516 -0
  20. package/astar/types.d.ts +6141 -0
  21. package/index.d.ts +11 -0
  22. package/index.js +1 -0
  23. package/index.ts +11 -0
  24. package/kusama/consts.d.ts +1578 -0
  25. package/kusama/errors.d.ts +3152 -0
  26. package/kusama/events.d.ts +3579 -0
  27. package/kusama/index.d.ts +27 -0
  28. package/kusama/json-rpc.d.ts +103 -0
  29. package/kusama/query.d.ts +4229 -0
  30. package/kusama/runtime.d.ts +1196 -0
  31. package/kusama/tx.d.ts +9040 -0
  32. package/kusama/types.d.ts +11369 -0
  33. package/kusamaAssetHub/consts.d.ts +759 -0
  34. package/kusamaAssetHub/errors.d.ts +1494 -0
  35. package/kusamaAssetHub/events.d.ts +2491 -0
  36. package/kusamaAssetHub/index.d.ts +27 -0
  37. package/kusamaAssetHub/json-rpc.d.ts +89 -0
  38. package/kusamaAssetHub/query.d.ts +1662 -0
  39. package/kusamaAssetHub/runtime.d.ts +555 -0
  40. package/kusamaAssetHub/tx.d.ts +6192 -0
  41. package/kusamaAssetHub/types.d.ts +6831 -0
  42. package/moonbeam/consts.d.ts +1010 -0
  43. package/moonbeam/errors.d.ts +1932 -0
  44. package/moonbeam/events.d.ts +2928 -0
  45. package/moonbeam/index.d.ts +27 -0
  46. package/moonbeam/json-rpc.d.ts +137 -0
  47. package/moonbeam/query.d.ts +2282 -0
  48. package/moonbeam/runtime.d.ts +724 -0
  49. package/moonbeam/tx.d.ts +6222 -0
  50. package/moonbeam/types.d.ts +8165 -0
  51. package/package.json +25 -0
  52. package/polkadot/consts.d.ts +1313 -0
  53. package/polkadot/errors.d.ts +2575 -0
  54. package/polkadot/events.d.ts +2757 -0
  55. package/polkadot/index.d.ts +27 -0
  56. package/polkadot/json-rpc.d.ts +103 -0
  57. package/polkadot/query.d.ts +3693 -0
  58. package/polkadot/runtime.d.ts +1196 -0
  59. package/polkadot/tx.d.ts +7706 -0
  60. package/polkadot/types.d.ts +9893 -0
  61. package/polkadotAssetHub/consts.d.ts +724 -0
  62. package/polkadotAssetHub/errors.d.ts +1465 -0
  63. package/polkadotAssetHub/events.d.ts +2462 -0
  64. package/polkadotAssetHub/index.d.ts +27 -0
  65. package/polkadotAssetHub/json-rpc.d.ts +89 -0
  66. package/polkadotAssetHub/query.d.ts +1640 -0
  67. package/polkadotAssetHub/runtime.d.ts +558 -0
  68. package/polkadotAssetHub/tx.d.ts +6121 -0
  69. package/polkadotAssetHub/types.d.ts +6739 -0
  70. package/rococo/consts.d.ts +1423 -0
  71. package/rococo/errors.d.ts +2783 -0
  72. package/rococo/events.d.ts +3361 -0
  73. package/rococo/index.d.ts +27 -0
  74. package/rococo/json-rpc.d.ts +103 -0
  75. package/rococo/query.d.ts +3561 -0
  76. package/rococo/runtime.d.ts +1257 -0
  77. package/rococo/tx.d.ts +10721 -0
  78. package/rococo/types.d.ts +14828 -0
  79. package/rococoAssetHub/consts.d.ts +787 -0
  80. package/rococoAssetHub/errors.d.ts +1523 -0
  81. package/rococoAssetHub/events.d.ts +2517 -0
  82. package/rococoAssetHub/index.d.ts +27 -0
  83. package/rococoAssetHub/json-rpc.d.ts +89 -0
  84. package/rococoAssetHub/query.d.ts +1682 -0
  85. package/rococoAssetHub/runtime.d.ts +704 -0
  86. package/rococoAssetHub/tx.d.ts +9013 -0
  87. package/rococoAssetHub/types.d.ts +12352 -0
  88. package/substrate/consts.d.ts +2223 -0
  89. package/substrate/errors.d.ts +4023 -0
  90. package/substrate/events.d.ts +5430 -0
  91. package/substrate/index.d.ts +27 -0
  92. package/substrate/json-rpc.d.ts +101 -0
  93. package/substrate/query.d.ts +4083 -0
  94. package/substrate/runtime.d.ts +971 -0
  95. package/substrate/tx.d.ts +12501 -0
  96. package/substrate/types.d.ts +13380 -0
  97. package/westendAssetHub/consts.d.ts +787 -0
  98. package/westendAssetHub/errors.d.ts +1523 -0
  99. package/westendAssetHub/events.d.ts +2477 -0
  100. package/westendAssetHub/index.d.ts +27 -0
  101. package/westendAssetHub/json-rpc.d.ts +89 -0
  102. package/westendAssetHub/query.d.ts +1656 -0
  103. package/westendAssetHub/runtime.d.ts +652 -0
  104. package/westendAssetHub/tx.d.ts +8984 -0
  105. package/westendAssetHub/types.d.ts +12292 -0
@@ -0,0 +1,1508 @@
1
+ // Generated by @dedot/codegen
2
+
3
+ import type { GenericChainErrors, GenericPalletError, RpcVersion } from 'dedot/types';
4
+
5
+ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<Rv> {
6
+ /**
7
+ * Pallet `System`'s errors
8
+ **/
9
+ system: {
10
+ /**
11
+ * The name of specification does not match between the current runtime
12
+ * and the new runtime.
13
+ **/
14
+ InvalidSpecName: GenericPalletError<Rv>;
15
+
16
+ /**
17
+ * The specification version is not allowed to decrease between the current runtime
18
+ * and the new runtime.
19
+ **/
20
+ SpecVersionNeedsToIncrease: GenericPalletError<Rv>;
21
+
22
+ /**
23
+ * Failed to extract the runtime version from the new runtime.
24
+ *
25
+ * Either calling `Core_version` or decoding `RuntimeVersion` failed.
26
+ **/
27
+ FailedToExtractRuntimeVersion: GenericPalletError<Rv>;
28
+
29
+ /**
30
+ * Suicide called when the account has non-default composite data.
31
+ **/
32
+ NonDefaultComposite: GenericPalletError<Rv>;
33
+
34
+ /**
35
+ * There is a non-zero reference count preventing the account from being purged.
36
+ **/
37
+ NonZeroRefCount: GenericPalletError<Rv>;
38
+
39
+ /**
40
+ * The origin filter prevent the call to be dispatched.
41
+ **/
42
+ CallFiltered: GenericPalletError<Rv>;
43
+
44
+ /**
45
+ * Generic pallet error
46
+ **/
47
+ [error: string]: GenericPalletError<Rv>;
48
+ };
49
+ /**
50
+ * Pallet `Utility`'s errors
51
+ **/
52
+ utility: {
53
+ /**
54
+ * Too many calls batched.
55
+ **/
56
+ TooManyCalls: GenericPalletError<Rv>;
57
+
58
+ /**
59
+ * Generic pallet error
60
+ **/
61
+ [error: string]: GenericPalletError<Rv>;
62
+ };
63
+ /**
64
+ * Pallet `Identity`'s errors
65
+ **/
66
+ identity: {
67
+ /**
68
+ * Too many subs-accounts.
69
+ **/
70
+ TooManySubAccounts: GenericPalletError<Rv>;
71
+
72
+ /**
73
+ * Account isn't found.
74
+ **/
75
+ NotFound: GenericPalletError<Rv>;
76
+
77
+ /**
78
+ * Account isn't named.
79
+ **/
80
+ NotNamed: GenericPalletError<Rv>;
81
+
82
+ /**
83
+ * Empty index.
84
+ **/
85
+ EmptyIndex: GenericPalletError<Rv>;
86
+
87
+ /**
88
+ * Fee is changed.
89
+ **/
90
+ FeeChanged: GenericPalletError<Rv>;
91
+
92
+ /**
93
+ * No identity found.
94
+ **/
95
+ NoIdentity: GenericPalletError<Rv>;
96
+
97
+ /**
98
+ * Sticky judgement.
99
+ **/
100
+ StickyJudgement: GenericPalletError<Rv>;
101
+
102
+ /**
103
+ * Judgement given.
104
+ **/
105
+ JudgementGiven: GenericPalletError<Rv>;
106
+
107
+ /**
108
+ * Invalid judgement.
109
+ **/
110
+ InvalidJudgement: GenericPalletError<Rv>;
111
+
112
+ /**
113
+ * The index is invalid.
114
+ **/
115
+ InvalidIndex: GenericPalletError<Rv>;
116
+
117
+ /**
118
+ * The target is invalid.
119
+ **/
120
+ InvalidTarget: GenericPalletError<Rv>;
121
+
122
+ /**
123
+ * Too many additional fields.
124
+ **/
125
+ TooManyFields: GenericPalletError<Rv>;
126
+
127
+ /**
128
+ * Maximum amount of registrars reached. Cannot add any more.
129
+ **/
130
+ TooManyRegistrars: GenericPalletError<Rv>;
131
+
132
+ /**
133
+ * Account ID is already named.
134
+ **/
135
+ AlreadyClaimed: GenericPalletError<Rv>;
136
+
137
+ /**
138
+ * Sender is not a sub-account.
139
+ **/
140
+ NotSub: GenericPalletError<Rv>;
141
+
142
+ /**
143
+ * Sub-account isn't owned by sender.
144
+ **/
145
+ NotOwned: GenericPalletError<Rv>;
146
+
147
+ /**
148
+ * The provided judgement was for a different identity.
149
+ **/
150
+ JudgementForDifferentIdentity: GenericPalletError<Rv>;
151
+
152
+ /**
153
+ * Error that occurs when there is an issue paying for judgement.
154
+ **/
155
+ JudgementPaymentFailed: GenericPalletError<Rv>;
156
+
157
+ /**
158
+ * Generic pallet error
159
+ **/
160
+ [error: string]: GenericPalletError<Rv>;
161
+ };
162
+ /**
163
+ * Pallet `Multisig`'s errors
164
+ **/
165
+ multisig: {
166
+ /**
167
+ * Threshold must be 2 or greater.
168
+ **/
169
+ MinimumThreshold: GenericPalletError<Rv>;
170
+
171
+ /**
172
+ * Call is already approved by this signatory.
173
+ **/
174
+ AlreadyApproved: GenericPalletError<Rv>;
175
+
176
+ /**
177
+ * Call doesn't need any (more) approvals.
178
+ **/
179
+ NoApprovalsNeeded: GenericPalletError<Rv>;
180
+
181
+ /**
182
+ * There are too few signatories in the list.
183
+ **/
184
+ TooFewSignatories: GenericPalletError<Rv>;
185
+
186
+ /**
187
+ * There are too many signatories in the list.
188
+ **/
189
+ TooManySignatories: GenericPalletError<Rv>;
190
+
191
+ /**
192
+ * The signatories were provided out of order; they should be ordered.
193
+ **/
194
+ SignatoriesOutOfOrder: GenericPalletError<Rv>;
195
+
196
+ /**
197
+ * The sender was contained in the other signatories; it shouldn't be.
198
+ **/
199
+ SenderInSignatories: GenericPalletError<Rv>;
200
+
201
+ /**
202
+ * Multisig operation not found when attempting to cancel.
203
+ **/
204
+ NotFound: GenericPalletError<Rv>;
205
+
206
+ /**
207
+ * Only the account that originally created the multisig is able to cancel it.
208
+ **/
209
+ NotOwner: GenericPalletError<Rv>;
210
+
211
+ /**
212
+ * No timepoint was given, yet the multisig operation is already underway.
213
+ **/
214
+ NoTimepoint: GenericPalletError<Rv>;
215
+
216
+ /**
217
+ * A different timepoint was given to the multisig operation that is underway.
218
+ **/
219
+ WrongTimepoint: GenericPalletError<Rv>;
220
+
221
+ /**
222
+ * A timepoint was given, yet no multisig operation is underway.
223
+ **/
224
+ UnexpectedTimepoint: GenericPalletError<Rv>;
225
+
226
+ /**
227
+ * The maximum weight information provided was too low.
228
+ **/
229
+ MaxWeightTooLow: GenericPalletError<Rv>;
230
+
231
+ /**
232
+ * The data to be stored is already stored.
233
+ **/
234
+ AlreadyStored: GenericPalletError<Rv>;
235
+
236
+ /**
237
+ * Generic pallet error
238
+ **/
239
+ [error: string]: GenericPalletError<Rv>;
240
+ };
241
+ /**
242
+ * Pallet `Proxy`'s errors
243
+ **/
244
+ proxy: {
245
+ /**
246
+ * There are too many proxies registered or too many announcements pending.
247
+ **/
248
+ TooMany: GenericPalletError<Rv>;
249
+
250
+ /**
251
+ * Proxy registration not found.
252
+ **/
253
+ NotFound: GenericPalletError<Rv>;
254
+
255
+ /**
256
+ * Sender is not a proxy of the account to be proxied.
257
+ **/
258
+ NotProxy: GenericPalletError<Rv>;
259
+
260
+ /**
261
+ * A call which is incompatible with the proxy type's filter was attempted.
262
+ **/
263
+ Unproxyable: GenericPalletError<Rv>;
264
+
265
+ /**
266
+ * Account is already a proxy.
267
+ **/
268
+ Duplicate: GenericPalletError<Rv>;
269
+
270
+ /**
271
+ * Call may not be made by proxy because it may escalate its privileges.
272
+ **/
273
+ NoPermission: GenericPalletError<Rv>;
274
+
275
+ /**
276
+ * Announcement, if made at all, was made too recently.
277
+ **/
278
+ Unannounced: GenericPalletError<Rv>;
279
+
280
+ /**
281
+ * Cannot add self as proxy.
282
+ **/
283
+ NoSelfProxy: GenericPalletError<Rv>;
284
+
285
+ /**
286
+ * Generic pallet error
287
+ **/
288
+ [error: string]: GenericPalletError<Rv>;
289
+ };
290
+ /**
291
+ * Pallet `ParachainSystem`'s errors
292
+ **/
293
+ parachainSystem: {
294
+ /**
295
+ * Attempt to upgrade validation function while existing upgrade pending.
296
+ **/
297
+ OverlappingUpgrades: GenericPalletError<Rv>;
298
+
299
+ /**
300
+ * Polkadot currently prohibits this parachain from upgrading its validation function.
301
+ **/
302
+ ProhibitedByPolkadot: GenericPalletError<Rv>;
303
+
304
+ /**
305
+ * The supplied validation function has compiled into a blob larger than Polkadot is
306
+ * willing to run.
307
+ **/
308
+ TooBig: GenericPalletError<Rv>;
309
+
310
+ /**
311
+ * The inherent which supplies the validation data did not run this block.
312
+ **/
313
+ ValidationDataNotAvailable: GenericPalletError<Rv>;
314
+
315
+ /**
316
+ * The inherent which supplies the host configuration did not run this block.
317
+ **/
318
+ HostConfigurationNotAvailable: GenericPalletError<Rv>;
319
+
320
+ /**
321
+ * No validation function upgrade is currently scheduled.
322
+ **/
323
+ NotScheduled: GenericPalletError<Rv>;
324
+
325
+ /**
326
+ * No code upgrade has been authorized.
327
+ **/
328
+ NothingAuthorized: GenericPalletError<Rv>;
329
+
330
+ /**
331
+ * The given code upgrade has not been authorized.
332
+ **/
333
+ Unauthorized: GenericPalletError<Rv>;
334
+
335
+ /**
336
+ * Generic pallet error
337
+ **/
338
+ [error: string]: GenericPalletError<Rv>;
339
+ };
340
+ /**
341
+ * Pallet `Balances`'s errors
342
+ **/
343
+ balances: {
344
+ /**
345
+ * Vesting balance too high to send value.
346
+ **/
347
+ VestingBalance: GenericPalletError<Rv>;
348
+
349
+ /**
350
+ * Account liquidity restrictions prevent withdrawal.
351
+ **/
352
+ LiquidityRestrictions: GenericPalletError<Rv>;
353
+
354
+ /**
355
+ * Balance too low to send value.
356
+ **/
357
+ InsufficientBalance: GenericPalletError<Rv>;
358
+
359
+ /**
360
+ * Value too low to create account due to existential deposit.
361
+ **/
362
+ ExistentialDeposit: GenericPalletError<Rv>;
363
+
364
+ /**
365
+ * Transfer/payment would kill account.
366
+ **/
367
+ Expendability: GenericPalletError<Rv>;
368
+
369
+ /**
370
+ * A vesting schedule already exists for this account.
371
+ **/
372
+ ExistingVestingSchedule: GenericPalletError<Rv>;
373
+
374
+ /**
375
+ * Beneficiary account must pre-exist.
376
+ **/
377
+ DeadAccount: GenericPalletError<Rv>;
378
+
379
+ /**
380
+ * Number of named reserves exceed `MaxReserves`.
381
+ **/
382
+ TooManyReserves: GenericPalletError<Rv>;
383
+
384
+ /**
385
+ * Number of holds exceed `MaxHolds`.
386
+ **/
387
+ TooManyHolds: GenericPalletError<Rv>;
388
+
389
+ /**
390
+ * Number of freezes exceed `MaxFreezes`.
391
+ **/
392
+ TooManyFreezes: GenericPalletError<Rv>;
393
+
394
+ /**
395
+ * Generic pallet error
396
+ **/
397
+ [error: string]: GenericPalletError<Rv>;
398
+ };
399
+ /**
400
+ * Pallet `Vesting`'s errors
401
+ **/
402
+ vesting: {
403
+ /**
404
+ * The account given is not vesting.
405
+ **/
406
+ NotVesting: GenericPalletError<Rv>;
407
+
408
+ /**
409
+ * The account already has `MaxVestingSchedules` count of schedules and thus
410
+ * cannot add another one. Consider merging existing schedules in order to add another.
411
+ **/
412
+ AtMaxVestingSchedules: GenericPalletError<Rv>;
413
+
414
+ /**
415
+ * Amount being transferred is too low to create a vesting schedule.
416
+ **/
417
+ AmountLow: GenericPalletError<Rv>;
418
+
419
+ /**
420
+ * An index was out of bounds of the vesting schedules.
421
+ **/
422
+ ScheduleIndexOutOfBounds: GenericPalletError<Rv>;
423
+
424
+ /**
425
+ * Failed to create a new schedule because some parameter was invalid.
426
+ **/
427
+ InvalidScheduleParams: GenericPalletError<Rv>;
428
+
429
+ /**
430
+ * Generic pallet error
431
+ **/
432
+ [error: string]: GenericPalletError<Rv>;
433
+ };
434
+ /**
435
+ * Pallet `Inflation`'s errors
436
+ **/
437
+ inflation: {
438
+ /**
439
+ * Sum of all parts must be one whole (100%).
440
+ **/
441
+ InvalidInflationParameters: GenericPalletError<Rv>;
442
+
443
+ /**
444
+ * Generic pallet error
445
+ **/
446
+ [error: string]: GenericPalletError<Rv>;
447
+ };
448
+ /**
449
+ * Pallet `DappStaking`'s errors
450
+ **/
451
+ dappStaking: {
452
+ /**
453
+ * Pallet is disabled/in maintenance mode.
454
+ **/
455
+ Disabled: GenericPalletError<Rv>;
456
+
457
+ /**
458
+ * Smart contract already exists within dApp staking protocol.
459
+ **/
460
+ ContractAlreadyExists: GenericPalletError<Rv>;
461
+
462
+ /**
463
+ * Maximum number of smart contracts has been reached.
464
+ **/
465
+ ExceededMaxNumberOfContracts: GenericPalletError<Rv>;
466
+
467
+ /**
468
+ * Not possible to assign a new dApp Id.
469
+ * This should never happen since current type can support up to 65536 - 1 unique dApps.
470
+ **/
471
+ NewDAppIdUnavailable: GenericPalletError<Rv>;
472
+
473
+ /**
474
+ * Specified smart contract does not exist in dApp staking.
475
+ **/
476
+ ContractNotFound: GenericPalletError<Rv>;
477
+
478
+ /**
479
+ * Call origin is not dApp owner.
480
+ **/
481
+ OriginNotOwner: GenericPalletError<Rv>;
482
+
483
+ /**
484
+ * Performing locking or staking with 0 amount.
485
+ **/
486
+ ZeroAmount: GenericPalletError<Rv>;
487
+
488
+ /**
489
+ * Total locked amount for staker is below minimum threshold.
490
+ **/
491
+ LockedAmountBelowThreshold: GenericPalletError<Rv>;
492
+
493
+ /**
494
+ * Account is not allowed to participate in dApp staking due to some external reason (e.g. account is already a collator).
495
+ **/
496
+ AccountNotAvailableForDappStaking: GenericPalletError<Rv>;
497
+
498
+ /**
499
+ * Cannot add additional unlocking chunks due to capacity limit.
500
+ **/
501
+ TooManyUnlockingChunks: GenericPalletError<Rv>;
502
+
503
+ /**
504
+ * Remaining stake prevents entire balance of starting the unlocking process.
505
+ **/
506
+ RemainingStakePreventsFullUnlock: GenericPalletError<Rv>;
507
+
508
+ /**
509
+ * There are no eligible unlocked chunks to claim. This can happen either if no eligible chunks exist, or if user has no chunks at all.
510
+ **/
511
+ NoUnlockedChunksToClaim: GenericPalletError<Rv>;
512
+
513
+ /**
514
+ * There are no unlocking chunks available to relock.
515
+ **/
516
+ NoUnlockingChunks: GenericPalletError<Rv>;
517
+
518
+ /**
519
+ * The amount being staked is too large compared to what's available for staking.
520
+ **/
521
+ UnavailableStakeFunds: GenericPalletError<Rv>;
522
+
523
+ /**
524
+ * There are unclaimed rewards remaining from past eras or periods. They should be claimed before attempting any stake modification again.
525
+ **/
526
+ UnclaimedRewards: GenericPalletError<Rv>;
527
+
528
+ /**
529
+ * An unexpected error occurred while trying to stake.
530
+ **/
531
+ InternalStakeError: GenericPalletError<Rv>;
532
+
533
+ /**
534
+ * Total staked amount on contract is below the minimum required value.
535
+ **/
536
+ InsufficientStakeAmount: GenericPalletError<Rv>;
537
+
538
+ /**
539
+ * Stake operation is rejected since period ends in the next era.
540
+ **/
541
+ PeriodEndsInNextEra: GenericPalletError<Rv>;
542
+
543
+ /**
544
+ * Unstaking is rejected since the period in which past stake was active has passed.
545
+ **/
546
+ UnstakeFromPastPeriod: GenericPalletError<Rv>;
547
+
548
+ /**
549
+ * Unstake amount is greater than the staked amount.
550
+ **/
551
+ UnstakeAmountTooLarge: GenericPalletError<Rv>;
552
+
553
+ /**
554
+ * Account has no staking information for the contract.
555
+ **/
556
+ NoStakingInfo: GenericPalletError<Rv>;
557
+
558
+ /**
559
+ * An unexpected error occurred while trying to unstake.
560
+ **/
561
+ InternalUnstakeError: GenericPalletError<Rv>;
562
+
563
+ /**
564
+ * Rewards are no longer claimable since they are too old.
565
+ **/
566
+ RewardExpired: GenericPalletError<Rv>;
567
+
568
+ /**
569
+ * Reward payout has failed due to an unexpected reason.
570
+ **/
571
+ RewardPayoutFailed: GenericPalletError<Rv>;
572
+
573
+ /**
574
+ * There are no claimable rewards.
575
+ **/
576
+ NoClaimableRewards: GenericPalletError<Rv>;
577
+
578
+ /**
579
+ * An unexpected error occurred while trying to claim staker rewards.
580
+ **/
581
+ InternalClaimStakerError: GenericPalletError<Rv>;
582
+
583
+ /**
584
+ * Account is has no eligible stake amount for bonus reward.
585
+ **/
586
+ NotEligibleForBonusReward: GenericPalletError<Rv>;
587
+
588
+ /**
589
+ * An unexpected error occurred while trying to claim bonus reward.
590
+ **/
591
+ InternalClaimBonusError: GenericPalletError<Rv>;
592
+
593
+ /**
594
+ * Claim era is invalid - it must be in history, and rewards must exist for it.
595
+ **/
596
+ InvalidClaimEra: GenericPalletError<Rv>;
597
+
598
+ /**
599
+ * No dApp tier info exists for the specified era. This can be because era has expired
600
+ * or because during the specified era there were no eligible rewards or protocol wasn't active.
601
+ **/
602
+ NoDAppTierInfo: GenericPalletError<Rv>;
603
+
604
+ /**
605
+ * An unexpected error occurred while trying to claim dApp reward.
606
+ **/
607
+ InternalClaimDAppError: GenericPalletError<Rv>;
608
+
609
+ /**
610
+ * Contract is still active, not unregistered.
611
+ **/
612
+ ContractStillActive: GenericPalletError<Rv>;
613
+
614
+ /**
615
+ * There are too many contract stake entries for the account. This can be cleaned up by either unstaking or cleaning expired entries.
616
+ **/
617
+ TooManyStakedContracts: GenericPalletError<Rv>;
618
+
619
+ /**
620
+ * There are no expired entries to cleanup for the account.
621
+ **/
622
+ NoExpiredEntries: GenericPalletError<Rv>;
623
+
624
+ /**
625
+ * Force call is not allowed in production.
626
+ **/
627
+ ForceNotAllowed: GenericPalletError<Rv>;
628
+
629
+ /**
630
+ * Generic pallet error
631
+ **/
632
+ [error: string]: GenericPalletError<Rv>;
633
+ };
634
+ /**
635
+ * Pallet `Assets`'s errors
636
+ **/
637
+ assets: {
638
+ /**
639
+ * Account balance must be greater than or equal to the transfer amount.
640
+ **/
641
+ BalanceLow: GenericPalletError<Rv>;
642
+
643
+ /**
644
+ * The account to alter does not exist.
645
+ **/
646
+ NoAccount: GenericPalletError<Rv>;
647
+
648
+ /**
649
+ * The signing account has no permission to do the operation.
650
+ **/
651
+ NoPermission: GenericPalletError<Rv>;
652
+
653
+ /**
654
+ * The given asset ID is unknown.
655
+ **/
656
+ Unknown: GenericPalletError<Rv>;
657
+
658
+ /**
659
+ * The origin account is frozen.
660
+ **/
661
+ Frozen: GenericPalletError<Rv>;
662
+
663
+ /**
664
+ * The asset ID is already taken.
665
+ **/
666
+ InUse: GenericPalletError<Rv>;
667
+
668
+ /**
669
+ * Invalid witness data given.
670
+ **/
671
+ BadWitness: GenericPalletError<Rv>;
672
+
673
+ /**
674
+ * Minimum balance should be non-zero.
675
+ **/
676
+ MinBalanceZero: GenericPalletError<Rv>;
677
+
678
+ /**
679
+ * Unable to increment the consumer reference counters on the account. Either no provider
680
+ * reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
681
+ * fewer then the maximum number of consumers has been reached.
682
+ **/
683
+ UnavailableConsumer: GenericPalletError<Rv>;
684
+
685
+ /**
686
+ * Invalid metadata given.
687
+ **/
688
+ BadMetadata: GenericPalletError<Rv>;
689
+
690
+ /**
691
+ * No approval exists that would allow the transfer.
692
+ **/
693
+ Unapproved: GenericPalletError<Rv>;
694
+
695
+ /**
696
+ * The source account would not survive the transfer and it needs to stay alive.
697
+ **/
698
+ WouldDie: GenericPalletError<Rv>;
699
+
700
+ /**
701
+ * The asset-account already exists.
702
+ **/
703
+ AlreadyExists: GenericPalletError<Rv>;
704
+
705
+ /**
706
+ * The asset-account doesn't have an associated deposit.
707
+ **/
708
+ NoDeposit: GenericPalletError<Rv>;
709
+
710
+ /**
711
+ * The operation would result in funds being burned.
712
+ **/
713
+ WouldBurn: GenericPalletError<Rv>;
714
+
715
+ /**
716
+ * The asset is a live asset and is actively being used. Usually emit for operations such
717
+ * as `start_destroy` which require the asset to be in a destroying state.
718
+ **/
719
+ LiveAsset: GenericPalletError<Rv>;
720
+
721
+ /**
722
+ * The asset is not live, and likely being destroyed.
723
+ **/
724
+ AssetNotLive: GenericPalletError<Rv>;
725
+
726
+ /**
727
+ * The asset status is not the expected status.
728
+ **/
729
+ IncorrectStatus: GenericPalletError<Rv>;
730
+
731
+ /**
732
+ * The asset should be frozen before the given operation.
733
+ **/
734
+ NotFrozen: GenericPalletError<Rv>;
735
+
736
+ /**
737
+ * Callback action resulted in error
738
+ **/
739
+ CallbackFailed: GenericPalletError<Rv>;
740
+
741
+ /**
742
+ * Generic pallet error
743
+ **/
744
+ [error: string]: GenericPalletError<Rv>;
745
+ };
746
+ /**
747
+ * Pallet `Oracle`'s errors
748
+ **/
749
+ oracle: {
750
+ /**
751
+ * Sender does not have permission
752
+ **/
753
+ NoPermission: GenericPalletError<Rv>;
754
+
755
+ /**
756
+ * Feeder has already feeded at this block
757
+ **/
758
+ AlreadyFeeded: GenericPalletError<Rv>;
759
+
760
+ /**
761
+ * Generic pallet error
762
+ **/
763
+ [error: string]: GenericPalletError<Rv>;
764
+ };
765
+ /**
766
+ * Pallet `OracleMembership`'s errors
767
+ **/
768
+ oracleMembership: {
769
+ /**
770
+ * Already a member.
771
+ **/
772
+ AlreadyMember: GenericPalletError<Rv>;
773
+
774
+ /**
775
+ * Not a member.
776
+ **/
777
+ NotMember: GenericPalletError<Rv>;
778
+
779
+ /**
780
+ * Too many members.
781
+ **/
782
+ TooManyMembers: GenericPalletError<Rv>;
783
+
784
+ /**
785
+ * Generic pallet error
786
+ **/
787
+ [error: string]: GenericPalletError<Rv>;
788
+ };
789
+ /**
790
+ * Pallet `CollatorSelection`'s errors
791
+ **/
792
+ collatorSelection: {
793
+ /**
794
+ * Too many candidates
795
+ **/
796
+ TooManyCandidates: GenericPalletError<Rv>;
797
+
798
+ /**
799
+ * Too few candidates
800
+ **/
801
+ TooFewCandidates: GenericPalletError<Rv>;
802
+
803
+ /**
804
+ * Unknown error
805
+ **/
806
+ Unknown: GenericPalletError<Rv>;
807
+
808
+ /**
809
+ * Permission issue
810
+ **/
811
+ Permission: GenericPalletError<Rv>;
812
+
813
+ /**
814
+ * User is already a candidate
815
+ **/
816
+ AlreadyCandidate: GenericPalletError<Rv>;
817
+
818
+ /**
819
+ * User is not a candidate
820
+ **/
821
+ NotCandidate: GenericPalletError<Rv>;
822
+
823
+ /**
824
+ * User is already an Invulnerable
825
+ **/
826
+ AlreadyInvulnerable: GenericPalletError<Rv>;
827
+
828
+ /**
829
+ * Account has no associated validator ID
830
+ **/
831
+ NoAssociatedValidatorId: GenericPalletError<Rv>;
832
+
833
+ /**
834
+ * Validator ID is not yet registered
835
+ **/
836
+ ValidatorNotRegistered: GenericPalletError<Rv>;
837
+
838
+ /**
839
+ * Account is now allowed to be a candidate due to an external reason (e.g. it might be participating in dApp staking)
840
+ **/
841
+ NotAllowedCandidate: GenericPalletError<Rv>;
842
+
843
+ /**
844
+ * Generic pallet error
845
+ **/
846
+ [error: string]: GenericPalletError<Rv>;
847
+ };
848
+ /**
849
+ * Pallet `Session`'s errors
850
+ **/
851
+ session: {
852
+ /**
853
+ * Invalid ownership proof.
854
+ **/
855
+ InvalidProof: GenericPalletError<Rv>;
856
+
857
+ /**
858
+ * No associated validator ID for account.
859
+ **/
860
+ NoAssociatedValidatorId: GenericPalletError<Rv>;
861
+
862
+ /**
863
+ * Registered duplicate key.
864
+ **/
865
+ DuplicatedKey: GenericPalletError<Rv>;
866
+
867
+ /**
868
+ * No keys are associated with this account.
869
+ **/
870
+ NoKeys: GenericPalletError<Rv>;
871
+
872
+ /**
873
+ * Key setting account is not live, so it's impossible to associate keys.
874
+ **/
875
+ NoAccount: GenericPalletError<Rv>;
876
+
877
+ /**
878
+ * Generic pallet error
879
+ **/
880
+ [error: string]: GenericPalletError<Rv>;
881
+ };
882
+ /**
883
+ * Pallet `XcmpQueue`'s errors
884
+ **/
885
+ xcmpQueue: {
886
+ /**
887
+ * Failed to send XCM message.
888
+ **/
889
+ FailedToSend: GenericPalletError<Rv>;
890
+
891
+ /**
892
+ * Bad XCM origin.
893
+ **/
894
+ BadXcmOrigin: GenericPalletError<Rv>;
895
+
896
+ /**
897
+ * Bad XCM data.
898
+ **/
899
+ BadXcm: GenericPalletError<Rv>;
900
+
901
+ /**
902
+ * Bad overweight index.
903
+ **/
904
+ BadOverweightIndex: GenericPalletError<Rv>;
905
+
906
+ /**
907
+ * Provided weight is possibly not enough to execute the message.
908
+ **/
909
+ WeightOverLimit: GenericPalletError<Rv>;
910
+
911
+ /**
912
+ * Generic pallet error
913
+ **/
914
+ [error: string]: GenericPalletError<Rv>;
915
+ };
916
+ /**
917
+ * Pallet `PolkadotXcm`'s errors
918
+ **/
919
+ polkadotXcm: {
920
+ /**
921
+ * The desired destination was unreachable, generally because there is a no way of routing
922
+ * to it.
923
+ **/
924
+ Unreachable: GenericPalletError<Rv>;
925
+
926
+ /**
927
+ * There was some other issue (i.e. not to do with routing) in sending the message.
928
+ * Perhaps a lack of space for buffering the message.
929
+ **/
930
+ SendFailure: GenericPalletError<Rv>;
931
+
932
+ /**
933
+ * The message execution fails the filter.
934
+ **/
935
+ Filtered: GenericPalletError<Rv>;
936
+
937
+ /**
938
+ * The message's weight could not be determined.
939
+ **/
940
+ UnweighableMessage: GenericPalletError<Rv>;
941
+
942
+ /**
943
+ * The destination `MultiLocation` provided cannot be inverted.
944
+ **/
945
+ DestinationNotInvertible: GenericPalletError<Rv>;
946
+
947
+ /**
948
+ * The assets to be sent are empty.
949
+ **/
950
+ Empty: GenericPalletError<Rv>;
951
+
952
+ /**
953
+ * Could not re-anchor the assets to declare the fees for the destination chain.
954
+ **/
955
+ CannotReanchor: GenericPalletError<Rv>;
956
+
957
+ /**
958
+ * Too many assets have been attempted for transfer.
959
+ **/
960
+ TooManyAssets: GenericPalletError<Rv>;
961
+
962
+ /**
963
+ * Origin is invalid for sending.
964
+ **/
965
+ InvalidOrigin: GenericPalletError<Rv>;
966
+
967
+ /**
968
+ * The version of the `Versioned` value used is not able to be interpreted.
969
+ **/
970
+ BadVersion: GenericPalletError<Rv>;
971
+
972
+ /**
973
+ * The given location could not be used (e.g. because it cannot be expressed in the
974
+ * desired version of XCM).
975
+ **/
976
+ BadLocation: GenericPalletError<Rv>;
977
+
978
+ /**
979
+ * The referenced subscription could not be found.
980
+ **/
981
+ NoSubscription: GenericPalletError<Rv>;
982
+
983
+ /**
984
+ * The location is invalid since it already has a subscription from us.
985
+ **/
986
+ AlreadySubscribed: GenericPalletError<Rv>;
987
+
988
+ /**
989
+ * Invalid asset for the operation.
990
+ **/
991
+ InvalidAsset: GenericPalletError<Rv>;
992
+
993
+ /**
994
+ * The owner does not own (all) of the asset that they wish to do the operation on.
995
+ **/
996
+ LowBalance: GenericPalletError<Rv>;
997
+
998
+ /**
999
+ * The asset owner has too many locks on the asset.
1000
+ **/
1001
+ TooManyLocks: GenericPalletError<Rv>;
1002
+
1003
+ /**
1004
+ * The given account is not an identifiable sovereign account for any location.
1005
+ **/
1006
+ AccountNotSovereign: GenericPalletError<Rv>;
1007
+
1008
+ /**
1009
+ * The operation required fees to be paid which the initiator could not meet.
1010
+ **/
1011
+ FeesNotMet: GenericPalletError<Rv>;
1012
+
1013
+ /**
1014
+ * A remote lock with the corresponding data could not be found.
1015
+ **/
1016
+ LockNotFound: GenericPalletError<Rv>;
1017
+
1018
+ /**
1019
+ * The unlock operation cannot succeed because there are still consumers of the lock.
1020
+ **/
1021
+ InUse: GenericPalletError<Rv>;
1022
+
1023
+ /**
1024
+ * Generic pallet error
1025
+ **/
1026
+ [error: string]: GenericPalletError<Rv>;
1027
+ };
1028
+ /**
1029
+ * Pallet `CumulusXcm`'s errors
1030
+ **/
1031
+ cumulusXcm: {
1032
+ /**
1033
+ * Generic pallet error
1034
+ **/
1035
+ [error: string]: GenericPalletError<Rv>;
1036
+ };
1037
+ /**
1038
+ * Pallet `DmpQueue`'s errors
1039
+ **/
1040
+ dmpQueue: {
1041
+ /**
1042
+ * The message index given is unknown.
1043
+ **/
1044
+ Unknown: GenericPalletError<Rv>;
1045
+
1046
+ /**
1047
+ * The amount of weight given is possibly not enough for executing the message.
1048
+ **/
1049
+ OverLimit: GenericPalletError<Rv>;
1050
+
1051
+ /**
1052
+ * Generic pallet error
1053
+ **/
1054
+ [error: string]: GenericPalletError<Rv>;
1055
+ };
1056
+ /**
1057
+ * Pallet `XcAssetConfig`'s errors
1058
+ **/
1059
+ xcAssetConfig: {
1060
+ /**
1061
+ * Asset is already registered.
1062
+ **/
1063
+ AssetAlreadyRegistered: GenericPalletError<Rv>;
1064
+
1065
+ /**
1066
+ * Asset does not exist (hasn't been registered).
1067
+ **/
1068
+ AssetDoesNotExist: GenericPalletError<Rv>;
1069
+
1070
+ /**
1071
+ * Failed to convert to latest versioned MultiLocation
1072
+ **/
1073
+ MultiLocationNotSupported: GenericPalletError<Rv>;
1074
+
1075
+ /**
1076
+ * Generic pallet error
1077
+ **/
1078
+ [error: string]: GenericPalletError<Rv>;
1079
+ };
1080
+ /**
1081
+ * Pallet `XTokens`'s errors
1082
+ **/
1083
+ xTokens: {
1084
+ /**
1085
+ * Asset has no reserve location.
1086
+ **/
1087
+ AssetHasNoReserve: GenericPalletError<Rv>;
1088
+
1089
+ /**
1090
+ * Not cross-chain transfer.
1091
+ **/
1092
+ NotCrossChainTransfer: GenericPalletError<Rv>;
1093
+
1094
+ /**
1095
+ * Invalid transfer destination.
1096
+ **/
1097
+ InvalidDest: GenericPalletError<Rv>;
1098
+
1099
+ /**
1100
+ * Currency is not cross-chain transferable.
1101
+ **/
1102
+ NotCrossChainTransferableCurrency: GenericPalletError<Rv>;
1103
+
1104
+ /**
1105
+ * The message's weight could not be determined.
1106
+ **/
1107
+ UnweighableMessage: GenericPalletError<Rv>;
1108
+
1109
+ /**
1110
+ * XCM execution failed.
1111
+ **/
1112
+ XcmExecutionFailed: GenericPalletError<Rv>;
1113
+
1114
+ /**
1115
+ * Could not re-anchor the assets to declare the fees for the
1116
+ * destination chain.
1117
+ **/
1118
+ CannotReanchor: GenericPalletError<Rv>;
1119
+
1120
+ /**
1121
+ * Could not get ancestry of asset reserve location.
1122
+ **/
1123
+ InvalidAncestry: GenericPalletError<Rv>;
1124
+
1125
+ /**
1126
+ * The MultiAsset is invalid.
1127
+ **/
1128
+ InvalidAsset: GenericPalletError<Rv>;
1129
+
1130
+ /**
1131
+ * The destination `MultiLocation` provided cannot be inverted.
1132
+ **/
1133
+ DestinationNotInvertible: GenericPalletError<Rv>;
1134
+
1135
+ /**
1136
+ * The version of the `Versioned` value used is not able to be
1137
+ * interpreted.
1138
+ **/
1139
+ BadVersion: GenericPalletError<Rv>;
1140
+
1141
+ /**
1142
+ * We tried sending distinct asset and fee but they have different
1143
+ * reserve chains.
1144
+ **/
1145
+ DistinctReserveForAssetAndFee: GenericPalletError<Rv>;
1146
+
1147
+ /**
1148
+ * The fee is zero.
1149
+ **/
1150
+ ZeroFee: GenericPalletError<Rv>;
1151
+
1152
+ /**
1153
+ * The transfering asset amount is zero.
1154
+ **/
1155
+ ZeroAmount: GenericPalletError<Rv>;
1156
+
1157
+ /**
1158
+ * The number of assets to be sent is over the maximum.
1159
+ **/
1160
+ TooManyAssetsBeingSent: GenericPalletError<Rv>;
1161
+
1162
+ /**
1163
+ * The specified index does not exist in a MultiAssets struct.
1164
+ **/
1165
+ AssetIndexNonExistent: GenericPalletError<Rv>;
1166
+
1167
+ /**
1168
+ * Fee is not enough.
1169
+ **/
1170
+ FeeNotEnough: GenericPalletError<Rv>;
1171
+
1172
+ /**
1173
+ * Not supported MultiLocation
1174
+ **/
1175
+ NotSupportedMultiLocation: GenericPalletError<Rv>;
1176
+
1177
+ /**
1178
+ * MinXcmFee not registered for certain reserve location
1179
+ **/
1180
+ MinXcmFeeNotDefined: GenericPalletError<Rv>;
1181
+
1182
+ /**
1183
+ * Generic pallet error
1184
+ **/
1185
+ [error: string]: GenericPalletError<Rv>;
1186
+ };
1187
+ /**
1188
+ * Pallet `EVM`'s errors
1189
+ **/
1190
+ evm: {
1191
+ /**
1192
+ * Not enough balance to perform action
1193
+ **/
1194
+ BalanceLow: GenericPalletError<Rv>;
1195
+
1196
+ /**
1197
+ * Calculating total fee overflowed
1198
+ **/
1199
+ FeeOverflow: GenericPalletError<Rv>;
1200
+
1201
+ /**
1202
+ * Calculating total payment overflowed
1203
+ **/
1204
+ PaymentOverflow: GenericPalletError<Rv>;
1205
+
1206
+ /**
1207
+ * Withdraw fee failed
1208
+ **/
1209
+ WithdrawFailed: GenericPalletError<Rv>;
1210
+
1211
+ /**
1212
+ * Gas price is too low.
1213
+ **/
1214
+ GasPriceTooLow: GenericPalletError<Rv>;
1215
+
1216
+ /**
1217
+ * Nonce is invalid
1218
+ **/
1219
+ InvalidNonce: GenericPalletError<Rv>;
1220
+
1221
+ /**
1222
+ * Gas limit is too low.
1223
+ **/
1224
+ GasLimitTooLow: GenericPalletError<Rv>;
1225
+
1226
+ /**
1227
+ * Gas limit is too high.
1228
+ **/
1229
+ GasLimitTooHigh: GenericPalletError<Rv>;
1230
+
1231
+ /**
1232
+ * The chain id is invalid.
1233
+ **/
1234
+ InvalidChainId: GenericPalletError<Rv>;
1235
+
1236
+ /**
1237
+ * the signature is invalid.
1238
+ **/
1239
+ InvalidSignature: GenericPalletError<Rv>;
1240
+
1241
+ /**
1242
+ * EVM reentrancy
1243
+ **/
1244
+ Reentrancy: GenericPalletError<Rv>;
1245
+
1246
+ /**
1247
+ * EIP-3607,
1248
+ **/
1249
+ TransactionMustComeFromEOA: GenericPalletError<Rv>;
1250
+
1251
+ /**
1252
+ * Undefined error.
1253
+ **/
1254
+ Undefined: GenericPalletError<Rv>;
1255
+
1256
+ /**
1257
+ * Generic pallet error
1258
+ **/
1259
+ [error: string]: GenericPalletError<Rv>;
1260
+ };
1261
+ /**
1262
+ * Pallet `Ethereum`'s errors
1263
+ **/
1264
+ ethereum: {
1265
+ /**
1266
+ * Signature is invalid.
1267
+ **/
1268
+ InvalidSignature: GenericPalletError<Rv>;
1269
+
1270
+ /**
1271
+ * Pre-log is present, therefore transact is not allowed.
1272
+ **/
1273
+ PreLogExists: GenericPalletError<Rv>;
1274
+
1275
+ /**
1276
+ * Generic pallet error
1277
+ **/
1278
+ [error: string]: GenericPalletError<Rv>;
1279
+ };
1280
+ /**
1281
+ * Pallet `DynamicEvmBaseFee`'s errors
1282
+ **/
1283
+ dynamicEvmBaseFee: {
1284
+ /**
1285
+ * Specified value is outside of the allowed range.
1286
+ **/
1287
+ ValueOutOfBounds: GenericPalletError<Rv>;
1288
+
1289
+ /**
1290
+ * Generic pallet error
1291
+ **/
1292
+ [error: string]: GenericPalletError<Rv>;
1293
+ };
1294
+ /**
1295
+ * Pallet `Contracts`'s errors
1296
+ **/
1297
+ contracts: {
1298
+ /**
1299
+ * Invalid schedule supplied, e.g. with zero weight of a basic operation.
1300
+ **/
1301
+ InvalidSchedule: GenericPalletError<Rv>;
1302
+
1303
+ /**
1304
+ * Invalid combination of flags supplied to `seal_call` or `seal_delegate_call`.
1305
+ **/
1306
+ InvalidCallFlags: GenericPalletError<Rv>;
1307
+
1308
+ /**
1309
+ * The executed contract exhausted its gas limit.
1310
+ **/
1311
+ OutOfGas: GenericPalletError<Rv>;
1312
+
1313
+ /**
1314
+ * The output buffer supplied to a contract API call was too small.
1315
+ **/
1316
+ OutputBufferTooSmall: GenericPalletError<Rv>;
1317
+
1318
+ /**
1319
+ * Performing the requested transfer failed. Probably because there isn't enough
1320
+ * free balance in the sender's account.
1321
+ **/
1322
+ TransferFailed: GenericPalletError<Rv>;
1323
+
1324
+ /**
1325
+ * Performing a call was denied because the calling depth reached the limit
1326
+ * of what is specified in the schedule.
1327
+ **/
1328
+ MaxCallDepthReached: GenericPalletError<Rv>;
1329
+
1330
+ /**
1331
+ * No contract was found at the specified address.
1332
+ **/
1333
+ ContractNotFound: GenericPalletError<Rv>;
1334
+
1335
+ /**
1336
+ * The code supplied to `instantiate_with_code` exceeds the limit specified in the
1337
+ * current schedule.
1338
+ **/
1339
+ CodeTooLarge: GenericPalletError<Rv>;
1340
+
1341
+ /**
1342
+ * No code could be found at the supplied code hash.
1343
+ **/
1344
+ CodeNotFound: GenericPalletError<Rv>;
1345
+
1346
+ /**
1347
+ * No code info could be found at the supplied code hash.
1348
+ **/
1349
+ CodeInfoNotFound: GenericPalletError<Rv>;
1350
+
1351
+ /**
1352
+ * A buffer outside of sandbox memory was passed to a contract API function.
1353
+ **/
1354
+ OutOfBounds: GenericPalletError<Rv>;
1355
+
1356
+ /**
1357
+ * Input passed to a contract API function failed to decode as expected type.
1358
+ **/
1359
+ DecodingFailed: GenericPalletError<Rv>;
1360
+
1361
+ /**
1362
+ * Contract trapped during execution.
1363
+ **/
1364
+ ContractTrapped: GenericPalletError<Rv>;
1365
+
1366
+ /**
1367
+ * The size defined in `T::MaxValueSize` was exceeded.
1368
+ **/
1369
+ ValueTooLarge: GenericPalletError<Rv>;
1370
+
1371
+ /**
1372
+ * Termination of a contract is not allowed while the contract is already
1373
+ * on the call stack. Can be triggered by `seal_terminate`.
1374
+ **/
1375
+ TerminatedWhileReentrant: GenericPalletError<Rv>;
1376
+
1377
+ /**
1378
+ * `seal_call` forwarded this contracts input. It therefore is no longer available.
1379
+ **/
1380
+ InputForwarded: GenericPalletError<Rv>;
1381
+
1382
+ /**
1383
+ * The subject passed to `seal_random` exceeds the limit.
1384
+ **/
1385
+ RandomSubjectTooLong: GenericPalletError<Rv>;
1386
+
1387
+ /**
1388
+ * The amount of topics passed to `seal_deposit_events` exceeds the limit.
1389
+ **/
1390
+ TooManyTopics: GenericPalletError<Rv>;
1391
+
1392
+ /**
1393
+ * The chain does not provide a chain extension. Calling the chain extension results
1394
+ * in this error. Note that this usually shouldn't happen as deploying such contracts
1395
+ * is rejected.
1396
+ **/
1397
+ NoChainExtension: GenericPalletError<Rv>;
1398
+
1399
+ /**
1400
+ * A contract with the same AccountId already exists.
1401
+ **/
1402
+ DuplicateContract: GenericPalletError<Rv>;
1403
+
1404
+ /**
1405
+ * A contract self destructed in its constructor.
1406
+ *
1407
+ * This can be triggered by a call to `seal_terminate`.
1408
+ **/
1409
+ TerminatedInConstructor: GenericPalletError<Rv>;
1410
+
1411
+ /**
1412
+ * A call tried to invoke a contract that is flagged as non-reentrant.
1413
+ * The only other cause is that a call from a contract into the runtime tried to call back
1414
+ * into `pallet-contracts`. This would make the whole pallet reentrant with regard to
1415
+ * contract code execution which is not supported.
1416
+ **/
1417
+ ReentranceDenied: GenericPalletError<Rv>;
1418
+
1419
+ /**
1420
+ * Origin doesn't have enough balance to pay the required storage deposits.
1421
+ **/
1422
+ StorageDepositNotEnoughFunds: GenericPalletError<Rv>;
1423
+
1424
+ /**
1425
+ * More storage was created than allowed by the storage deposit limit.
1426
+ **/
1427
+ StorageDepositLimitExhausted: GenericPalletError<Rv>;
1428
+
1429
+ /**
1430
+ * Code removal was denied because the code is still in use by at least one contract.
1431
+ **/
1432
+ CodeInUse: GenericPalletError<Rv>;
1433
+
1434
+ /**
1435
+ * The contract ran to completion but decided to revert its storage changes.
1436
+ * Please note that this error is only returned from extrinsics. When called directly
1437
+ * or via RPC an `Ok` will be returned. In this case the caller needs to inspect the flags
1438
+ * to determine whether a reversion has taken place.
1439
+ **/
1440
+ ContractReverted: GenericPalletError<Rv>;
1441
+
1442
+ /**
1443
+ * The contract's code was found to be invalid during validation.
1444
+ *
1445
+ * The most likely cause of this is that an API was used which is not supported by the
1446
+ * node. This happens if an older node is used with a new version of ink!. Try updating
1447
+ * your node to the newest available version.
1448
+ *
1449
+ * A more detailed error can be found on the node console if debug messages are enabled
1450
+ * by supplying `-lruntime::contracts=debug`.
1451
+ **/
1452
+ CodeRejected: GenericPalletError<Rv>;
1453
+
1454
+ /**
1455
+ * An indetermistic code was used in a context where this is not permitted.
1456
+ **/
1457
+ Indeterministic: GenericPalletError<Rv>;
1458
+
1459
+ /**
1460
+ * A pending migration needs to complete before the extrinsic can be called.
1461
+ **/
1462
+ MigrationInProgress: GenericPalletError<Rv>;
1463
+
1464
+ /**
1465
+ * Migrate dispatch call was attempted but no migration was performed.
1466
+ **/
1467
+ NoMigrationPerformed: GenericPalletError<Rv>;
1468
+
1469
+ /**
1470
+ * The contract has reached its maximum number of delegate dependencies.
1471
+ **/
1472
+ MaxDelegateDependenciesReached: GenericPalletError<Rv>;
1473
+
1474
+ /**
1475
+ * The dependency was not found in the contract's delegate dependencies.
1476
+ **/
1477
+ DelegateDependencyNotFound: GenericPalletError<Rv>;
1478
+
1479
+ /**
1480
+ * The contract already depends on the given delegate dependency.
1481
+ **/
1482
+ DelegateDependencyAlreadyExists: GenericPalletError<Rv>;
1483
+
1484
+ /**
1485
+ * Can not add a delegate dependency to the code hash of the contract itself.
1486
+ **/
1487
+ CannotAddSelfAsDelegateDependency: GenericPalletError<Rv>;
1488
+
1489
+ /**
1490
+ * Generic pallet error
1491
+ **/
1492
+ [error: string]: GenericPalletError<Rv>;
1493
+ };
1494
+ /**
1495
+ * Pallet `Sudo`'s errors
1496
+ **/
1497
+ sudo: {
1498
+ /**
1499
+ * Sender must be the Sudo account
1500
+ **/
1501
+ RequireSudo: GenericPalletError<Rv>;
1502
+
1503
+ /**
1504
+ * Generic pallet error
1505
+ **/
1506
+ [error: string]: GenericPalletError<Rv>;
1507
+ };
1508
+ }