@dedot/chaintypes 0.0.1-alpha.22

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