@dedot/chaintypes 0.0.1-alpha.4 → 0.0.1-alpha.40

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 (288) hide show
  1. package/README.md +3 -1
  2. package/aleph/consts.d.ts +590 -528
  3. package/aleph/errors.d.ts +981 -818
  4. package/aleph/events.d.ts +924 -937
  5. package/aleph/index.d.ts +11 -8
  6. package/aleph/query.d.ts +1477 -1268
  7. package/aleph/rpc.d.ts +725 -573
  8. package/aleph/runtime.d.ts +541 -406
  9. package/aleph/tx.d.ts +2664 -2202
  10. package/aleph/types.d.ts +3474 -5388
  11. package/astar/consts.d.ts +691 -675
  12. package/astar/errors.d.ts +1465 -1313
  13. package/astar/events.d.ts +1642 -1628
  14. package/astar/index.d.ts +11 -8
  15. package/astar/query.d.ts +1682 -1471
  16. package/astar/rpc.d.ts +972 -773
  17. package/astar/runtime.d.ts +747 -258
  18. package/astar/tx.d.ts +3708 -4806
  19. package/astar/types.d.ts +6088 -12266
  20. package/index.d.ts +1 -0
  21. package/index.ts +11 -0
  22. package/kusama/consts.d.ts +1573 -1422
  23. package/kusama/errors.d.ts +2995 -2490
  24. package/kusama/events.d.ts +2996 -2723
  25. package/kusama/index.d.ts +11 -8
  26. package/kusama/query.d.ts +3828 -3248
  27. package/kusama/rpc.d.ts +902 -724
  28. package/kusama/runtime.d.ts +1130 -840
  29. package/kusama/tx.d.ts +7073 -6010
  30. package/kusama/types.d.ts +10151 -15344
  31. package/kusamaAssetHub/consts.d.ts +714 -627
  32. package/kusamaAssetHub/errors.d.ts +1405 -1160
  33. package/kusamaAssetHub/events.d.ts +2149 -2060
  34. package/kusamaAssetHub/index.d.ts +11 -8
  35. package/kusamaAssetHub/query.d.ts +1551 -1298
  36. package/kusamaAssetHub/rpc.d.ts +744 -588
  37. package/kusamaAssetHub/runtime.d.ts +510 -398
  38. package/kusamaAssetHub/tx.d.ts +5050 -4212
  39. package/kusamaAssetHub/types.d.ts +5976 -10009
  40. package/moonbeam/consts.d.ts +1075 -956
  41. package/moonbeam/errors.d.ts +2131 -1793
  42. package/moonbeam/events.d.ts +2932 -2681
  43. package/moonbeam/index.d.ts +11 -8
  44. package/moonbeam/query.d.ts +2391 -2024
  45. package/moonbeam/rpc.d.ts +1013 -807
  46. package/moonbeam/runtime.d.ts +665 -502
  47. package/moonbeam/tx.d.ts +6152 -5201
  48. package/moonbeam/types.d.ts +7731 -12035
  49. package/package.json +9 -16
  50. package/polkadot/consts.d.ts +1272 -1155
  51. package/polkadot/errors.d.ts +2420 -2016
  52. package/polkadot/events.d.ts +2314 -2092
  53. package/polkadot/index.d.ts +11 -8
  54. package/polkadot/query.d.ts +3319 -2808
  55. package/polkadot/rpc.d.ts +902 -724
  56. package/polkadot/runtime.d.ts +1130 -840
  57. package/polkadot/tx.d.ts +5909 -5005
  58. package/polkadot/types.d.ts +8742 -13290
  59. package/polkadotAssetHub/consts.d.ts +586 -519
  60. package/polkadotAssetHub/errors.d.ts +1115 -921
  61. package/polkadotAssetHub/events.d.ts +1850 -1782
  62. package/polkadotAssetHub/index.d.ts +11 -8
  63. package/polkadotAssetHub/query.d.ts +1457 -1219
  64. package/polkadotAssetHub/rpc.d.ts +744 -588
  65. package/polkadotAssetHub/runtime.d.ts +447 -355
  66. package/polkadotAssetHub/tx.d.ts +4184 -3487
  67. package/polkadotAssetHub/types.d.ts +5183 -8808
  68. package/rococo/consts.d.ts +1396 -0
  69. package/rococo/errors.d.ts +2860 -0
  70. package/rococo/events.d.ts +3142 -0
  71. package/rococo/index.d.ts +22 -0
  72. package/rococo/query.d.ts +3275 -0
  73. package/rococo/rpc.d.ts +904 -0
  74. package/rococo/runtime.d.ts +1052 -0
  75. package/rococo/tx.d.ts +9083 -0
  76. package/rococo/types.d.ts +14573 -0
  77. package/rococoAssetHub/consts.d.ts +751 -653
  78. package/rococoAssetHub/errors.d.ts +1495 -1227
  79. package/rococoAssetHub/events.d.ts +2127 -2047
  80. package/rococoAssetHub/index.d.ts +11 -8
  81. package/rococoAssetHub/query.d.ts +1520 -1266
  82. package/rococoAssetHub/rpc.d.ts +744 -588
  83. package/rococoAssetHub/runtime.d.ts +539 -424
  84. package/rococoAssetHub/tx.d.ts +7826 -4302
  85. package/rococoAssetHub/types.d.ts +11614 -10637
  86. package/substrate/consts.d.ts +2218 -1966
  87. package/substrate/errors.d.ts +4019 -3333
  88. package/substrate/events.d.ts +4585 -4255
  89. package/substrate/index.d.ts +11 -8
  90. package/substrate/query.d.ts +3887 -3347
  91. package/substrate/rpc.d.ts +913 -716
  92. package/substrate/runtime.d.ts +937 -704
  93. package/substrate/tx.d.ts +10387 -8796
  94. package/substrate/types.d.ts +12809 -19761
  95. package/westendAssetHub/consts.d.ts +751 -653
  96. package/westendAssetHub/errors.d.ts +1495 -1227
  97. package/westendAssetHub/events.d.ts +2127 -2047
  98. package/westendAssetHub/index.d.ts +11 -8
  99. package/westendAssetHub/query.d.ts +1520 -1266
  100. package/westendAssetHub/rpc.d.ts +744 -588
  101. package/westendAssetHub/runtime.d.ts +606 -452
  102. package/westendAssetHub/tx.d.ts +7826 -4302
  103. package/westendAssetHub/types.d.ts +11614 -10634
  104. package/aleph/consts.js +0 -2
  105. package/aleph/errors.js +0 -2
  106. package/aleph/events.js +0 -2
  107. package/aleph/index.js +0 -3
  108. package/aleph/query.js +0 -2
  109. package/aleph/rpc.js +0 -2
  110. package/aleph/runtime.js +0 -2
  111. package/aleph/tx.js +0 -2
  112. package/aleph/types.js +0 -2
  113. package/astar/consts.js +0 -2
  114. package/astar/errors.js +0 -2
  115. package/astar/events.js +0 -2
  116. package/astar/index.js +0 -3
  117. package/astar/query.js +0 -2
  118. package/astar/rpc.js +0 -2
  119. package/astar/runtime.js +0 -2
  120. package/astar/tx.js +0 -2
  121. package/astar/types.js +0 -2
  122. package/cjs/aleph/consts.js +0 -3
  123. package/cjs/aleph/errors.js +0 -3
  124. package/cjs/aleph/events.js +0 -3
  125. package/cjs/aleph/index.js +0 -19
  126. package/cjs/aleph/query.js +0 -3
  127. package/cjs/aleph/rpc.js +0 -3
  128. package/cjs/aleph/runtime.js +0 -3
  129. package/cjs/aleph/tx.js +0 -3
  130. package/cjs/aleph/types.js +0 -3
  131. package/cjs/astar/consts.js +0 -3
  132. package/cjs/astar/errors.js +0 -3
  133. package/cjs/astar/events.js +0 -3
  134. package/cjs/astar/index.js +0 -19
  135. package/cjs/astar/query.js +0 -3
  136. package/cjs/astar/rpc.js +0 -3
  137. package/cjs/astar/runtime.js +0 -3
  138. package/cjs/astar/tx.js +0 -3
  139. package/cjs/astar/types.js +0 -3
  140. package/cjs/index.js +0 -2
  141. package/cjs/kusama/consts.js +0 -3
  142. package/cjs/kusama/errors.js +0 -3
  143. package/cjs/kusama/events.js +0 -3
  144. package/cjs/kusama/index.js +0 -19
  145. package/cjs/kusama/query.js +0 -3
  146. package/cjs/kusama/rpc.js +0 -3
  147. package/cjs/kusama/runtime.js +0 -3
  148. package/cjs/kusama/tx.js +0 -3
  149. package/cjs/kusama/types.js +0 -3
  150. package/cjs/kusamaAssetHub/consts.js +0 -3
  151. package/cjs/kusamaAssetHub/errors.js +0 -3
  152. package/cjs/kusamaAssetHub/events.js +0 -3
  153. package/cjs/kusamaAssetHub/index.js +0 -19
  154. package/cjs/kusamaAssetHub/query.js +0 -3
  155. package/cjs/kusamaAssetHub/rpc.js +0 -3
  156. package/cjs/kusamaAssetHub/runtime.js +0 -3
  157. package/cjs/kusamaAssetHub/tx.js +0 -3
  158. package/cjs/kusamaAssetHub/types.js +0 -3
  159. package/cjs/moonbeam/consts.js +0 -3
  160. package/cjs/moonbeam/errors.js +0 -3
  161. package/cjs/moonbeam/events.js +0 -3
  162. package/cjs/moonbeam/index.js +0 -19
  163. package/cjs/moonbeam/query.js +0 -3
  164. package/cjs/moonbeam/rpc.js +0 -3
  165. package/cjs/moonbeam/runtime.js +0 -3
  166. package/cjs/moonbeam/tx.js +0 -3
  167. package/cjs/moonbeam/types.js +0 -3
  168. package/cjs/package.json +0 -1
  169. package/cjs/packageInfo.js +0 -5
  170. package/cjs/polkadot/consts.js +0 -3
  171. package/cjs/polkadot/errors.js +0 -3
  172. package/cjs/polkadot/events.js +0 -3
  173. package/cjs/polkadot/index.js +0 -19
  174. package/cjs/polkadot/query.js +0 -3
  175. package/cjs/polkadot/rpc.js +0 -3
  176. package/cjs/polkadot/runtime.js +0 -3
  177. package/cjs/polkadot/tx.js +0 -3
  178. package/cjs/polkadot/types.js +0 -3
  179. package/cjs/polkadotAssetHub/consts.js +0 -3
  180. package/cjs/polkadotAssetHub/errors.js +0 -3
  181. package/cjs/polkadotAssetHub/events.js +0 -3
  182. package/cjs/polkadotAssetHub/index.js +0 -19
  183. package/cjs/polkadotAssetHub/query.js +0 -3
  184. package/cjs/polkadotAssetHub/rpc.js +0 -3
  185. package/cjs/polkadotAssetHub/runtime.js +0 -3
  186. package/cjs/polkadotAssetHub/tx.js +0 -3
  187. package/cjs/polkadotAssetHub/types.js +0 -3
  188. package/cjs/rococoAssetHub/consts.js +0 -3
  189. package/cjs/rococoAssetHub/errors.js +0 -3
  190. package/cjs/rococoAssetHub/events.js +0 -3
  191. package/cjs/rococoAssetHub/index.js +0 -19
  192. package/cjs/rococoAssetHub/query.js +0 -3
  193. package/cjs/rococoAssetHub/rpc.js +0 -3
  194. package/cjs/rococoAssetHub/runtime.js +0 -3
  195. package/cjs/rococoAssetHub/tx.js +0 -3
  196. package/cjs/rococoAssetHub/types.js +0 -3
  197. package/cjs/substrate/consts.js +0 -3
  198. package/cjs/substrate/errors.js +0 -3
  199. package/cjs/substrate/events.js +0 -3
  200. package/cjs/substrate/index.js +0 -19
  201. package/cjs/substrate/query.js +0 -3
  202. package/cjs/substrate/rpc.js +0 -3
  203. package/cjs/substrate/runtime.js +0 -3
  204. package/cjs/substrate/tx.js +0 -3
  205. package/cjs/substrate/types.js +0 -3
  206. package/cjs/westendAssetHub/consts.js +0 -3
  207. package/cjs/westendAssetHub/errors.js +0 -3
  208. package/cjs/westendAssetHub/events.js +0 -3
  209. package/cjs/westendAssetHub/index.js +0 -19
  210. package/cjs/westendAssetHub/query.js +0 -3
  211. package/cjs/westendAssetHub/rpc.js +0 -3
  212. package/cjs/westendAssetHub/runtime.js +0 -3
  213. package/cjs/westendAssetHub/tx.js +0 -3
  214. package/cjs/westendAssetHub/types.js +0 -3
  215. package/kusama/consts.js +0 -2
  216. package/kusama/errors.js +0 -2
  217. package/kusama/events.js +0 -2
  218. package/kusama/index.js +0 -3
  219. package/kusama/query.js +0 -2
  220. package/kusama/rpc.js +0 -2
  221. package/kusama/runtime.js +0 -2
  222. package/kusama/tx.js +0 -2
  223. package/kusama/types.js +0 -2
  224. package/kusamaAssetHub/consts.js +0 -2
  225. package/kusamaAssetHub/errors.js +0 -2
  226. package/kusamaAssetHub/events.js +0 -2
  227. package/kusamaAssetHub/index.js +0 -3
  228. package/kusamaAssetHub/query.js +0 -2
  229. package/kusamaAssetHub/rpc.js +0 -2
  230. package/kusamaAssetHub/runtime.js +0 -2
  231. package/kusamaAssetHub/tx.js +0 -2
  232. package/kusamaAssetHub/types.js +0 -2
  233. package/moonbeam/consts.js +0 -2
  234. package/moonbeam/errors.js +0 -2
  235. package/moonbeam/events.js +0 -2
  236. package/moonbeam/index.js +0 -3
  237. package/moonbeam/query.js +0 -2
  238. package/moonbeam/rpc.js +0 -2
  239. package/moonbeam/runtime.js +0 -2
  240. package/moonbeam/tx.js +0 -2
  241. package/moonbeam/types.js +0 -2
  242. package/packageInfo.d.ts +0 -4
  243. package/packageInfo.js +0 -2
  244. package/polkadot/consts.js +0 -2
  245. package/polkadot/errors.js +0 -2
  246. package/polkadot/events.js +0 -2
  247. package/polkadot/index.js +0 -3
  248. package/polkadot/query.js +0 -2
  249. package/polkadot/rpc.js +0 -2
  250. package/polkadot/runtime.js +0 -2
  251. package/polkadot/tx.js +0 -2
  252. package/polkadot/types.js +0 -2
  253. package/polkadotAssetHub/consts.js +0 -2
  254. package/polkadotAssetHub/errors.js +0 -2
  255. package/polkadotAssetHub/events.js +0 -2
  256. package/polkadotAssetHub/index.js +0 -3
  257. package/polkadotAssetHub/query.js +0 -2
  258. package/polkadotAssetHub/rpc.js +0 -2
  259. package/polkadotAssetHub/runtime.js +0 -2
  260. package/polkadotAssetHub/tx.js +0 -2
  261. package/polkadotAssetHub/types.js +0 -2
  262. package/rococoAssetHub/consts.js +0 -2
  263. package/rococoAssetHub/errors.js +0 -2
  264. package/rococoAssetHub/events.js +0 -2
  265. package/rococoAssetHub/index.js +0 -3
  266. package/rococoAssetHub/query.js +0 -2
  267. package/rococoAssetHub/rpc.js +0 -2
  268. package/rococoAssetHub/runtime.js +0 -2
  269. package/rococoAssetHub/tx.js +0 -2
  270. package/rococoAssetHub/types.js +0 -2
  271. package/substrate/consts.js +0 -2
  272. package/substrate/errors.js +0 -2
  273. package/substrate/events.js +0 -2
  274. package/substrate/index.js +0 -3
  275. package/substrate/query.js +0 -2
  276. package/substrate/rpc.js +0 -2
  277. package/substrate/runtime.js +0 -2
  278. package/substrate/tx.js +0 -2
  279. package/substrate/types.js +0 -2
  280. package/westendAssetHub/consts.js +0 -2
  281. package/westendAssetHub/errors.js +0 -2
  282. package/westendAssetHub/events.js +0 -2
  283. package/westendAssetHub/index.js +0 -3
  284. package/westendAssetHub/query.js +0 -2
  285. package/westendAssetHub/rpc.js +0 -2
  286. package/westendAssetHub/runtime.js +0 -2
  287. package/westendAssetHub/tx.js +0 -2
  288. package/westendAssetHub/types.js +0 -2
@@ -1,925 +1,1119 @@
1
+ // Generated by @dedot/codegen
2
+
1
3
  import type { GenericChainErrors, GenericPalletError } from '@dedot/types';
4
+
2
5
  export interface ChainErrors extends GenericChainErrors {
6
+ /**
7
+ * Pallet `System`'s errors
8
+ **/
9
+ system: {
3
10
  /**
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 `ParachainSystem`'s errors
42
- **/
43
- parachainSystem: {
44
- /**
45
- * Attempt to upgrade validation function while existing upgrade pending.
46
- **/
47
- OverlappingUpgrades: GenericPalletError;
48
- /**
49
- * Polkadot currently prohibits this parachain from upgrading its validation function.
50
- **/
51
- ProhibitedByPolkadot: GenericPalletError;
52
- /**
53
- * The supplied validation function has compiled into a blob larger than Polkadot is
54
- * willing to run.
55
- **/
56
- TooBig: GenericPalletError;
57
- /**
58
- * The inherent which supplies the validation data did not run this block.
59
- **/
60
- ValidationDataNotAvailable: GenericPalletError;
61
- /**
62
- * The inherent which supplies the host configuration did not run this block.
63
- **/
64
- HostConfigurationNotAvailable: GenericPalletError;
65
- /**
66
- * No validation function upgrade is currently scheduled.
67
- **/
68
- NotScheduled: GenericPalletError;
69
- /**
70
- * No code upgrade has been authorized.
71
- **/
72
- NothingAuthorized: GenericPalletError;
73
- /**
74
- * The given code upgrade has not been authorized.
75
- **/
76
- Unauthorized: GenericPalletError;
77
- /**
78
- * Generic pallet error
79
- **/
80
- [error: string]: GenericPalletError;
81
- };
82
- /**
83
- * Pallet `Balances`'s errors
84
- **/
85
- balances: {
86
- /**
87
- * Vesting balance too high to send value.
88
- **/
89
- VestingBalance: GenericPalletError;
90
- /**
91
- * Account liquidity restrictions prevent withdrawal.
92
- **/
93
- LiquidityRestrictions: GenericPalletError;
94
- /**
95
- * Balance too low to send value.
96
- **/
97
- InsufficientBalance: GenericPalletError;
98
- /**
99
- * Value too low to create account due to existential deposit.
100
- **/
101
- ExistentialDeposit: GenericPalletError;
102
- /**
103
- * Transfer/payment would kill account.
104
- **/
105
- Expendability: GenericPalletError;
106
- /**
107
- * A vesting schedule already exists for this account.
108
- **/
109
- ExistingVestingSchedule: GenericPalletError;
110
- /**
111
- * Beneficiary account must pre-exist.
112
- **/
113
- DeadAccount: GenericPalletError;
114
- /**
115
- * Number of named reserves exceed `MaxReserves`.
116
- **/
117
- TooManyReserves: GenericPalletError;
118
- /**
119
- * Number of holds exceed `MaxHolds`.
120
- **/
121
- TooManyHolds: GenericPalletError;
122
- /**
123
- * Number of freezes exceed `MaxFreezes`.
124
- **/
125
- TooManyFreezes: GenericPalletError;
126
- /**
127
- * Generic pallet error
128
- **/
129
- [error: string]: GenericPalletError;
130
- };
131
- /**
132
- * Pallet `CollatorSelection`'s errors
133
- **/
134
- collatorSelection: {
135
- /**
136
- * The pallet has too many candidates.
137
- **/
138
- TooManyCandidates: GenericPalletError;
139
- /**
140
- * Leaving would result in too few candidates.
141
- **/
142
- TooFewEligibleCollators: GenericPalletError;
143
- /**
144
- * Account is already a candidate.
145
- **/
146
- AlreadyCandidate: GenericPalletError;
147
- /**
148
- * Account is not a candidate.
149
- **/
150
- NotCandidate: GenericPalletError;
151
- /**
152
- * There are too many Invulnerables.
153
- **/
154
- TooManyInvulnerables: GenericPalletError;
155
- /**
156
- * Account is already an Invulnerable.
157
- **/
158
- AlreadyInvulnerable: GenericPalletError;
159
- /**
160
- * Account is not an Invulnerable.
161
- **/
162
- NotInvulnerable: GenericPalletError;
163
- /**
164
- * Account has no associated validator ID.
165
- **/
166
- NoAssociatedValidatorId: GenericPalletError;
167
- /**
168
- * Validator ID is not yet registered.
169
- **/
170
- ValidatorNotRegistered: GenericPalletError;
171
- /**
172
- * Generic pallet error
173
- **/
174
- [error: string]: GenericPalletError;
175
- };
176
- /**
177
- * Pallet `Session`'s errors
178
- **/
179
- session: {
180
- /**
181
- * Invalid ownership proof.
182
- **/
183
- InvalidProof: GenericPalletError;
184
- /**
185
- * No associated validator ID for account.
186
- **/
187
- NoAssociatedValidatorId: GenericPalletError;
188
- /**
189
- * Registered duplicate key.
190
- **/
191
- DuplicatedKey: GenericPalletError;
192
- /**
193
- * No keys are associated with this account.
194
- **/
195
- NoKeys: GenericPalletError;
196
- /**
197
- * Key setting account is not live, so it's impossible to associate keys.
198
- **/
199
- NoAccount: GenericPalletError;
200
- /**
201
- * Generic pallet error
202
- **/
203
- [error: string]: GenericPalletError;
204
- };
205
- /**
206
- * Pallet `XcmpQueue`'s errors
207
- **/
208
- xcmpQueue: {
209
- /**
210
- * Failed to send XCM message.
211
- **/
212
- FailedToSend: GenericPalletError;
213
- /**
214
- * Bad XCM origin.
215
- **/
216
- BadXcmOrigin: GenericPalletError;
217
- /**
218
- * Bad XCM data.
219
- **/
220
- BadXcm: GenericPalletError;
221
- /**
222
- * Bad overweight index.
223
- **/
224
- BadOverweightIndex: GenericPalletError;
225
- /**
226
- * Provided weight is possibly not enough to execute the message.
227
- **/
228
- WeightOverLimit: GenericPalletError;
229
- /**
230
- * Generic pallet error
231
- **/
232
- [error: string]: GenericPalletError;
233
- };
234
- /**
235
- * Pallet `PolkadotXcm`'s errors
236
- **/
237
- polkadotXcm: {
238
- /**
239
- * The desired destination was unreachable, generally because there is a no way of routing
240
- * to it.
241
- **/
242
- Unreachable: GenericPalletError;
243
- /**
244
- * There was some other issue (i.e. not to do with routing) in sending the message.
245
- * Perhaps a lack of space for buffering the message.
246
- **/
247
- SendFailure: GenericPalletError;
248
- /**
249
- * The message execution fails the filter.
250
- **/
251
- Filtered: GenericPalletError;
252
- /**
253
- * The message's weight could not be determined.
254
- **/
255
- UnweighableMessage: GenericPalletError;
256
- /**
257
- * The destination `MultiLocation` provided cannot be inverted.
258
- **/
259
- DestinationNotInvertible: GenericPalletError;
260
- /**
261
- * The assets to be sent are empty.
262
- **/
263
- Empty: GenericPalletError;
264
- /**
265
- * Could not re-anchor the assets to declare the fees for the destination chain.
266
- **/
267
- CannotReanchor: GenericPalletError;
268
- /**
269
- * Too many assets have been attempted for transfer.
270
- **/
271
- TooManyAssets: GenericPalletError;
272
- /**
273
- * Origin is invalid for sending.
274
- **/
275
- InvalidOrigin: GenericPalletError;
276
- /**
277
- * The version of the `Versioned` value used is not able to be interpreted.
278
- **/
279
- BadVersion: GenericPalletError;
280
- /**
281
- * The given location could not be used (e.g. because it cannot be expressed in the
282
- * desired version of XCM).
283
- **/
284
- BadLocation: GenericPalletError;
285
- /**
286
- * The referenced subscription could not be found.
287
- **/
288
- NoSubscription: GenericPalletError;
289
- /**
290
- * The location is invalid since it already has a subscription from us.
291
- **/
292
- AlreadySubscribed: GenericPalletError;
293
- /**
294
- * Invalid asset for the operation.
295
- **/
296
- InvalidAsset: GenericPalletError;
297
- /**
298
- * The owner does not own (all) of the asset that they wish to do the operation on.
299
- **/
300
- LowBalance: GenericPalletError;
301
- /**
302
- * The asset owner has too many locks on the asset.
303
- **/
304
- TooManyLocks: GenericPalletError;
305
- /**
306
- * The given account is not an identifiable sovereign account for any location.
307
- **/
308
- AccountNotSovereign: GenericPalletError;
309
- /**
310
- * The operation required fees to be paid which the initiator could not meet.
311
- **/
312
- FeesNotMet: GenericPalletError;
313
- /**
314
- * A remote lock with the corresponding data could not be found.
315
- **/
316
- LockNotFound: GenericPalletError;
317
- /**
318
- * The unlock operation cannot succeed because there are still consumers of the lock.
319
- **/
320
- InUse: GenericPalletError;
321
- /**
322
- * Generic pallet error
323
- **/
324
- [error: string]: GenericPalletError;
325
- };
326
- /**
327
- * Pallet `CumulusXcm`'s errors
328
- **/
329
- cumulusXcm: {
330
- /**
331
- * Generic pallet error
332
- **/
333
- [error: string]: GenericPalletError;
334
- };
335
- /**
336
- * Pallet `DmpQueue`'s errors
337
- **/
338
- dmpQueue: {
339
- /**
340
- * The message index given is unknown.
341
- **/
342
- Unknown: GenericPalletError;
343
- /**
344
- * The amount of weight given is possibly not enough for executing the message.
345
- **/
346
- OverLimit: GenericPalletError;
347
- /**
348
- * Generic pallet error
349
- **/
350
- [error: string]: GenericPalletError;
351
- };
352
- /**
353
- * Pallet `Utility`'s errors
354
- **/
355
- utility: {
356
- /**
357
- * Too many calls batched.
358
- **/
359
- TooManyCalls: GenericPalletError;
360
- /**
361
- * Generic pallet error
362
- **/
363
- [error: string]: GenericPalletError;
364
- };
365
- /**
366
- * Pallet `Multisig`'s errors
367
- **/
368
- multisig: {
369
- /**
370
- * Threshold must be 2 or greater.
371
- **/
372
- MinimumThreshold: GenericPalletError;
373
- /**
374
- * Call is already approved by this signatory.
375
- **/
376
- AlreadyApproved: GenericPalletError;
377
- /**
378
- * Call doesn't need any (more) approvals.
379
- **/
380
- NoApprovalsNeeded: GenericPalletError;
381
- /**
382
- * There are too few signatories in the list.
383
- **/
384
- TooFewSignatories: GenericPalletError;
385
- /**
386
- * There are too many signatories in the list.
387
- **/
388
- TooManySignatories: GenericPalletError;
389
- /**
390
- * The signatories were provided out of order; they should be ordered.
391
- **/
392
- SignatoriesOutOfOrder: GenericPalletError;
393
- /**
394
- * The sender was contained in the other signatories; it shouldn't be.
395
- **/
396
- SenderInSignatories: GenericPalletError;
397
- /**
398
- * Multisig operation not found when attempting to cancel.
399
- **/
400
- NotFound: GenericPalletError;
401
- /**
402
- * Only the account that originally created the multisig is able to cancel it.
403
- **/
404
- NotOwner: GenericPalletError;
405
- /**
406
- * No timepoint was given, yet the multisig operation is already underway.
407
- **/
408
- NoTimepoint: GenericPalletError;
409
- /**
410
- * A different timepoint was given to the multisig operation that is underway.
411
- **/
412
- WrongTimepoint: GenericPalletError;
413
- /**
414
- * A timepoint was given, yet no multisig operation is underway.
415
- **/
416
- UnexpectedTimepoint: GenericPalletError;
417
- /**
418
- * The maximum weight information provided was too low.
419
- **/
420
- MaxWeightTooLow: GenericPalletError;
421
- /**
422
- * The data to be stored is already stored.
423
- **/
424
- AlreadyStored: GenericPalletError;
425
- /**
426
- * Generic pallet error
427
- **/
428
- [error: string]: GenericPalletError;
429
- };
430
- /**
431
- * Pallet `Proxy`'s errors
432
- **/
433
- proxy: {
434
- /**
435
- * There are too many proxies registered or too many announcements pending.
436
- **/
437
- TooMany: GenericPalletError;
438
- /**
439
- * Proxy registration not found.
440
- **/
441
- NotFound: GenericPalletError;
442
- /**
443
- * Sender is not a proxy of the account to be proxied.
444
- **/
445
- NotProxy: GenericPalletError;
446
- /**
447
- * A call which is incompatible with the proxy type's filter was attempted.
448
- **/
449
- Unproxyable: GenericPalletError;
450
- /**
451
- * Account is already a proxy.
452
- **/
453
- Duplicate: GenericPalletError;
454
- /**
455
- * Call may not be made by proxy because it may escalate its privileges.
456
- **/
457
- NoPermission: GenericPalletError;
458
- /**
459
- * Announcement, if made at all, was made too recently.
460
- **/
461
- Unannounced: GenericPalletError;
462
- /**
463
- * Cannot add self as proxy.
464
- **/
465
- NoSelfProxy: GenericPalletError;
466
- /**
467
- * Generic pallet error
468
- **/
469
- [error: string]: GenericPalletError;
470
- };
471
- /**
472
- * Pallet `Assets`'s errors
473
- **/
474
- assets: {
475
- /**
476
- * Account balance must be greater than or equal to the transfer amount.
477
- **/
478
- BalanceLow: GenericPalletError;
479
- /**
480
- * The account to alter does not exist.
481
- **/
482
- NoAccount: GenericPalletError;
483
- /**
484
- * The signing account has no permission to do the operation.
485
- **/
486
- NoPermission: GenericPalletError;
487
- /**
488
- * The given asset ID is unknown.
489
- **/
490
- Unknown: GenericPalletError;
491
- /**
492
- * The origin account is frozen.
493
- **/
494
- Frozen: GenericPalletError;
495
- /**
496
- * The asset ID is already taken.
497
- **/
498
- InUse: GenericPalletError;
499
- /**
500
- * Invalid witness data given.
501
- **/
502
- BadWitness: GenericPalletError;
503
- /**
504
- * Minimum balance should be non-zero.
505
- **/
506
- MinBalanceZero: GenericPalletError;
507
- /**
508
- * Unable to increment the consumer reference counters on the account. Either no provider
509
- * reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
510
- * fewer then the maximum number of consumers has been reached.
511
- **/
512
- UnavailableConsumer: GenericPalletError;
513
- /**
514
- * Invalid metadata given.
515
- **/
516
- BadMetadata: GenericPalletError;
517
- /**
518
- * No approval exists that would allow the transfer.
519
- **/
520
- Unapproved: GenericPalletError;
521
- /**
522
- * The source account would not survive the transfer and it needs to stay alive.
523
- **/
524
- WouldDie: GenericPalletError;
525
- /**
526
- * The asset-account already exists.
527
- **/
528
- AlreadyExists: GenericPalletError;
529
- /**
530
- * The asset-account doesn't have an associated deposit.
531
- **/
532
- NoDeposit: GenericPalletError;
533
- /**
534
- * The operation would result in funds being burned.
535
- **/
536
- WouldBurn: GenericPalletError;
537
- /**
538
- * The asset is a live asset and is actively being used. Usually emit for operations such
539
- * as `start_destroy` which require the asset to be in a destroying state.
540
- **/
541
- LiveAsset: GenericPalletError;
542
- /**
543
- * The asset is not live, and likely being destroyed.
544
- **/
545
- AssetNotLive: GenericPalletError;
546
- /**
547
- * The asset status is not the expected status.
548
- **/
549
- IncorrectStatus: GenericPalletError;
550
- /**
551
- * The asset should be frozen before the given operation.
552
- **/
553
- NotFrozen: GenericPalletError;
554
- /**
555
- * Callback action resulted in error
556
- **/
557
- CallbackFailed: GenericPalletError;
558
- /**
559
- * Generic pallet error
560
- **/
561
- [error: string]: GenericPalletError;
562
- };
563
- /**
564
- * Pallet `Uniques`'s errors
565
- **/
566
- uniques: {
567
- /**
568
- * The signing account has no permission to do the operation.
569
- **/
570
- NoPermission: GenericPalletError;
571
- /**
572
- * The given item ID is unknown.
573
- **/
574
- UnknownCollection: GenericPalletError;
575
- /**
576
- * The item ID has already been used for an item.
577
- **/
578
- AlreadyExists: GenericPalletError;
579
- /**
580
- * The owner turned out to be different to what was expected.
581
- **/
582
- WrongOwner: GenericPalletError;
583
- /**
584
- * Invalid witness data given.
585
- **/
586
- BadWitness: GenericPalletError;
587
- /**
588
- * The item ID is already taken.
589
- **/
590
- InUse: GenericPalletError;
591
- /**
592
- * The item or collection is frozen.
593
- **/
594
- Frozen: GenericPalletError;
595
- /**
596
- * The delegate turned out to be different to what was expected.
597
- **/
598
- WrongDelegate: GenericPalletError;
599
- /**
600
- * There is no delegate approved.
601
- **/
602
- NoDelegate: GenericPalletError;
603
- /**
604
- * No approval exists that would allow the transfer.
605
- **/
606
- Unapproved: GenericPalletError;
607
- /**
608
- * The named owner has not signed ownership of the collection is acceptable.
609
- **/
610
- Unaccepted: GenericPalletError;
611
- /**
612
- * The item is locked.
613
- **/
614
- Locked: GenericPalletError;
615
- /**
616
- * All items have been minted.
617
- **/
618
- MaxSupplyReached: GenericPalletError;
619
- /**
620
- * The max supply has already been set.
621
- **/
622
- MaxSupplyAlreadySet: GenericPalletError;
623
- /**
624
- * The provided max supply is less to the amount of items a collection already has.
625
- **/
626
- MaxSupplyTooSmall: GenericPalletError;
627
- /**
628
- * The given item ID is unknown.
629
- **/
630
- UnknownItem: GenericPalletError;
631
- /**
632
- * Item is not for sale.
633
- **/
634
- NotForSale: GenericPalletError;
635
- /**
636
- * The provided bid is too low.
637
- **/
638
- BidTooLow: GenericPalletError;
639
- /**
640
- * Generic pallet error
641
- **/
642
- [error: string]: GenericPalletError;
643
- };
644
- /**
645
- * Pallet `Nfts`'s errors
646
- **/
647
- nfts: {
648
- /**
649
- * The signing account has no permission to do the operation.
650
- **/
651
- NoPermission: GenericPalletError;
652
- /**
653
- * The given item ID is unknown.
654
- **/
655
- UnknownCollection: GenericPalletError;
656
- /**
657
- * The item ID has already been used for an item.
658
- **/
659
- AlreadyExists: GenericPalletError;
660
- /**
661
- * The approval had a deadline that expired, so the approval isn't valid anymore.
662
- **/
663
- ApprovalExpired: GenericPalletError;
664
- /**
665
- * The owner turned out to be different to what was expected.
666
- **/
667
- WrongOwner: GenericPalletError;
668
- /**
669
- * The witness data given does not match the current state of the chain.
670
- **/
671
- BadWitness: GenericPalletError;
672
- /**
673
- * Collection ID is already taken.
674
- **/
675
- CollectionIdInUse: GenericPalletError;
676
- /**
677
- * Items within that collection are non-transferable.
678
- **/
679
- ItemsNonTransferable: GenericPalletError;
680
- /**
681
- * The provided account is not a delegate.
682
- **/
683
- NotDelegate: GenericPalletError;
684
- /**
685
- * The delegate turned out to be different to what was expected.
686
- **/
687
- WrongDelegate: GenericPalletError;
688
- /**
689
- * No approval exists that would allow the transfer.
690
- **/
691
- Unapproved: GenericPalletError;
692
- /**
693
- * The named owner has not signed ownership acceptance of the collection.
694
- **/
695
- Unaccepted: GenericPalletError;
696
- /**
697
- * The item is locked (non-transferable).
698
- **/
699
- ItemLocked: GenericPalletError;
700
- /**
701
- * Item's attributes are locked.
702
- **/
703
- LockedItemAttributes: GenericPalletError;
704
- /**
705
- * Collection's attributes are locked.
706
- **/
707
- LockedCollectionAttributes: GenericPalletError;
708
- /**
709
- * Item's metadata is locked.
710
- **/
711
- LockedItemMetadata: GenericPalletError;
712
- /**
713
- * Collection's metadata is locked.
714
- **/
715
- LockedCollectionMetadata: GenericPalletError;
716
- /**
717
- * All items have been minted.
718
- **/
719
- MaxSupplyReached: GenericPalletError;
720
- /**
721
- * The max supply is locked and can't be changed.
722
- **/
723
- MaxSupplyLocked: GenericPalletError;
724
- /**
725
- * The provided max supply is less than the number of items a collection already has.
726
- **/
727
- MaxSupplyTooSmall: GenericPalletError;
728
- /**
729
- * The given item ID is unknown.
730
- **/
731
- UnknownItem: GenericPalletError;
732
- /**
733
- * Swap doesn't exist.
734
- **/
735
- UnknownSwap: GenericPalletError;
736
- /**
737
- * The given item has no metadata set.
738
- **/
739
- MetadataNotFound: GenericPalletError;
740
- /**
741
- * The provided attribute can't be found.
742
- **/
743
- AttributeNotFound: GenericPalletError;
744
- /**
745
- * Item is not for sale.
746
- **/
747
- NotForSale: GenericPalletError;
748
- /**
749
- * The provided bid is too low.
750
- **/
751
- BidTooLow: GenericPalletError;
752
- /**
753
- * The item has reached its approval limit.
754
- **/
755
- ReachedApprovalLimit: GenericPalletError;
756
- /**
757
- * The deadline has already expired.
758
- **/
759
- DeadlineExpired: GenericPalletError;
760
- /**
761
- * The duration provided should be less than or equal to `MaxDeadlineDuration`.
762
- **/
763
- WrongDuration: GenericPalletError;
764
- /**
765
- * The method is disabled by system settings.
766
- **/
767
- MethodDisabled: GenericPalletError;
768
- /**
769
- * The provided setting can't be set.
770
- **/
771
- WrongSetting: GenericPalletError;
772
- /**
773
- * Item's config already exists and should be equal to the provided one.
774
- **/
775
- InconsistentItemConfig: GenericPalletError;
776
- /**
777
- * Config for a collection or an item can't be found.
778
- **/
779
- NoConfig: GenericPalletError;
780
- /**
781
- * Some roles were not cleared.
782
- **/
783
- RolesNotCleared: GenericPalletError;
784
- /**
785
- * Mint has not started yet.
786
- **/
787
- MintNotStarted: GenericPalletError;
788
- /**
789
- * Mint has already ended.
790
- **/
791
- MintEnded: GenericPalletError;
792
- /**
793
- * The provided Item was already used for claiming.
794
- **/
795
- AlreadyClaimed: GenericPalletError;
796
- /**
797
- * The provided data is incorrect.
798
- **/
799
- IncorrectData: GenericPalletError;
800
- /**
801
- * The extrinsic was sent by the wrong origin.
802
- **/
803
- WrongOrigin: GenericPalletError;
804
- /**
805
- * The provided signature is incorrect.
806
- **/
807
- WrongSignature: GenericPalletError;
808
- /**
809
- * The provided metadata might be too long.
810
- **/
811
- IncorrectMetadata: GenericPalletError;
812
- /**
813
- * Can't set more attributes per one call.
814
- **/
815
- MaxAttributesLimitReached: GenericPalletError;
816
- /**
817
- * The provided namespace isn't supported in this call.
818
- **/
819
- WrongNamespace: GenericPalletError;
820
- /**
821
- * Can't delete non-empty collections.
822
- **/
823
- CollectionNotEmpty: GenericPalletError;
824
- /**
825
- * The witness data should be provided.
826
- **/
827
- WitnessRequired: GenericPalletError;
828
- /**
829
- * Generic pallet error
830
- **/
831
- [error: string]: GenericPalletError;
832
- };
833
- /**
834
- * Pallet `ForeignAssets`'s errors
835
- **/
836
- foreignAssets: {
837
- /**
838
- * Account balance must be greater than or equal to the transfer amount.
839
- **/
840
- BalanceLow: GenericPalletError;
841
- /**
842
- * The account to alter does not exist.
843
- **/
844
- NoAccount: GenericPalletError;
845
- /**
846
- * The signing account has no permission to do the operation.
847
- **/
848
- NoPermission: GenericPalletError;
849
- /**
850
- * The given asset ID is unknown.
851
- **/
852
- Unknown: GenericPalletError;
853
- /**
854
- * The origin account is frozen.
855
- **/
856
- Frozen: GenericPalletError;
857
- /**
858
- * The asset ID is already taken.
859
- **/
860
- InUse: GenericPalletError;
861
- /**
862
- * Invalid witness data given.
863
- **/
864
- BadWitness: GenericPalletError;
865
- /**
866
- * Minimum balance should be non-zero.
867
- **/
868
- MinBalanceZero: GenericPalletError;
869
- /**
870
- * Unable to increment the consumer reference counters on the account. Either no provider
871
- * reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
872
- * fewer then the maximum number of consumers has been reached.
873
- **/
874
- UnavailableConsumer: GenericPalletError;
875
- /**
876
- * Invalid metadata given.
877
- **/
878
- BadMetadata: GenericPalletError;
879
- /**
880
- * No approval exists that would allow the transfer.
881
- **/
882
- Unapproved: GenericPalletError;
883
- /**
884
- * The source account would not survive the transfer and it needs to stay alive.
885
- **/
886
- WouldDie: GenericPalletError;
887
- /**
888
- * The asset-account already exists.
889
- **/
890
- AlreadyExists: GenericPalletError;
891
- /**
892
- * The asset-account doesn't have an associated deposit.
893
- **/
894
- NoDeposit: GenericPalletError;
895
- /**
896
- * The operation would result in funds being burned.
897
- **/
898
- WouldBurn: GenericPalletError;
899
- /**
900
- * The asset is a live asset and is actively being used. Usually emit for operations such
901
- * as `start_destroy` which require the asset to be in a destroying state.
902
- **/
903
- LiveAsset: GenericPalletError;
904
- /**
905
- * The asset is not live, and likely being destroyed.
906
- **/
907
- AssetNotLive: GenericPalletError;
908
- /**
909
- * The asset status is not the expected status.
910
- **/
911
- IncorrectStatus: GenericPalletError;
912
- /**
913
- * The asset should be frozen before the given operation.
914
- **/
915
- NotFrozen: GenericPalletError;
916
- /**
917
- * Callback action resulted in error
918
- **/
919
- CallbackFailed: GenericPalletError;
920
- /**
921
- * Generic pallet error
922
- **/
923
- [error: string]: GenericPalletError;
924
- };
11
+ * The name of specification does not match between the current runtime
12
+ * and the new runtime.
13
+ **/
14
+ InvalidSpecName: GenericPalletError;
15
+
16
+ /**
17
+ * The specification version is not allowed to decrease between the current runtime
18
+ * and the new runtime.
19
+ **/
20
+ SpecVersionNeedsToIncrease: GenericPalletError;
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;
28
+
29
+ /**
30
+ * Suicide called when the account has non-default composite data.
31
+ **/
32
+ NonDefaultComposite: GenericPalletError;
33
+
34
+ /**
35
+ * There is a non-zero reference count preventing the account from being purged.
36
+ **/
37
+ NonZeroRefCount: GenericPalletError;
38
+
39
+ /**
40
+ * The origin filter prevent the call to be dispatched.
41
+ **/
42
+ CallFiltered: GenericPalletError;
43
+
44
+ /**
45
+ * Generic pallet error
46
+ **/
47
+ [error: string]: GenericPalletError;
48
+ };
49
+ /**
50
+ * Pallet `ParachainSystem`'s errors
51
+ **/
52
+ parachainSystem: {
53
+ /**
54
+ * Attempt to upgrade validation function while existing upgrade pending.
55
+ **/
56
+ OverlappingUpgrades: GenericPalletError;
57
+
58
+ /**
59
+ * Polkadot currently prohibits this parachain from upgrading its validation function.
60
+ **/
61
+ ProhibitedByPolkadot: GenericPalletError;
62
+
63
+ /**
64
+ * The supplied validation function has compiled into a blob larger than Polkadot is
65
+ * willing to run.
66
+ **/
67
+ TooBig: GenericPalletError;
68
+
69
+ /**
70
+ * The inherent which supplies the validation data did not run this block.
71
+ **/
72
+ ValidationDataNotAvailable: GenericPalletError;
73
+
74
+ /**
75
+ * The inherent which supplies the host configuration did not run this block.
76
+ **/
77
+ HostConfigurationNotAvailable: GenericPalletError;
78
+
79
+ /**
80
+ * No validation function upgrade is currently scheduled.
81
+ **/
82
+ NotScheduled: GenericPalletError;
83
+
84
+ /**
85
+ * No code upgrade has been authorized.
86
+ **/
87
+ NothingAuthorized: GenericPalletError;
88
+
89
+ /**
90
+ * The given code upgrade has not been authorized.
91
+ **/
92
+ Unauthorized: GenericPalletError;
93
+
94
+ /**
95
+ * Generic pallet error
96
+ **/
97
+ [error: string]: GenericPalletError;
98
+ };
99
+ /**
100
+ * Pallet `Balances`'s errors
101
+ **/
102
+ balances: {
103
+ /**
104
+ * Vesting balance too high to send value.
105
+ **/
106
+ VestingBalance: GenericPalletError;
107
+
108
+ /**
109
+ * Account liquidity restrictions prevent withdrawal.
110
+ **/
111
+ LiquidityRestrictions: GenericPalletError;
112
+
113
+ /**
114
+ * Balance too low to send value.
115
+ **/
116
+ InsufficientBalance: GenericPalletError;
117
+
118
+ /**
119
+ * Value too low to create account due to existential deposit.
120
+ **/
121
+ ExistentialDeposit: GenericPalletError;
122
+
123
+ /**
124
+ * Transfer/payment would kill account.
125
+ **/
126
+ Expendability: GenericPalletError;
127
+
128
+ /**
129
+ * A vesting schedule already exists for this account.
130
+ **/
131
+ ExistingVestingSchedule: GenericPalletError;
132
+
133
+ /**
134
+ * Beneficiary account must pre-exist.
135
+ **/
136
+ DeadAccount: GenericPalletError;
137
+
138
+ /**
139
+ * Number of named reserves exceed `MaxReserves`.
140
+ **/
141
+ TooManyReserves: GenericPalletError;
142
+
143
+ /**
144
+ * Number of holds exceed `MaxHolds`.
145
+ **/
146
+ TooManyHolds: GenericPalletError;
147
+
148
+ /**
149
+ * Number of freezes exceed `MaxFreezes`.
150
+ **/
151
+ TooManyFreezes: GenericPalletError;
152
+
153
+ /**
154
+ * Generic pallet error
155
+ **/
156
+ [error: string]: GenericPalletError;
157
+ };
158
+ /**
159
+ * Pallet `CollatorSelection`'s errors
160
+ **/
161
+ collatorSelection: {
162
+ /**
163
+ * The pallet has too many candidates.
164
+ **/
165
+ TooManyCandidates: GenericPalletError;
166
+
167
+ /**
168
+ * Leaving would result in too few candidates.
169
+ **/
170
+ TooFewEligibleCollators: GenericPalletError;
171
+
172
+ /**
173
+ * Account is already a candidate.
174
+ **/
175
+ AlreadyCandidate: GenericPalletError;
176
+
177
+ /**
178
+ * Account is not a candidate.
179
+ **/
180
+ NotCandidate: GenericPalletError;
181
+
182
+ /**
183
+ * There are too many Invulnerables.
184
+ **/
185
+ TooManyInvulnerables: GenericPalletError;
186
+
187
+ /**
188
+ * Account is already an Invulnerable.
189
+ **/
190
+ AlreadyInvulnerable: GenericPalletError;
191
+
192
+ /**
193
+ * Account is not an Invulnerable.
194
+ **/
195
+ NotInvulnerable: GenericPalletError;
196
+
197
+ /**
198
+ * Account has no associated validator ID.
199
+ **/
200
+ NoAssociatedValidatorId: GenericPalletError;
201
+
202
+ /**
203
+ * Validator ID is not yet registered.
204
+ **/
205
+ ValidatorNotRegistered: GenericPalletError;
206
+
207
+ /**
208
+ * Generic pallet error
209
+ **/
210
+ [error: string]: GenericPalletError;
211
+ };
212
+ /**
213
+ * Pallet `Session`'s errors
214
+ **/
215
+ session: {
216
+ /**
217
+ * Invalid ownership proof.
218
+ **/
219
+ InvalidProof: GenericPalletError;
220
+
221
+ /**
222
+ * No associated validator ID for account.
223
+ **/
224
+ NoAssociatedValidatorId: GenericPalletError;
225
+
226
+ /**
227
+ * Registered duplicate key.
228
+ **/
229
+ DuplicatedKey: GenericPalletError;
230
+
231
+ /**
232
+ * No keys are associated with this account.
233
+ **/
234
+ NoKeys: GenericPalletError;
235
+
236
+ /**
237
+ * Key setting account is not live, so it's impossible to associate keys.
238
+ **/
239
+ NoAccount: GenericPalletError;
240
+
241
+ /**
242
+ * Generic pallet error
243
+ **/
244
+ [error: string]: GenericPalletError;
245
+ };
246
+ /**
247
+ * Pallet `XcmpQueue`'s errors
248
+ **/
249
+ xcmpQueue: {
250
+ /**
251
+ * Failed to send XCM message.
252
+ **/
253
+ FailedToSend: GenericPalletError;
254
+
255
+ /**
256
+ * Bad XCM origin.
257
+ **/
258
+ BadXcmOrigin: GenericPalletError;
259
+
260
+ /**
261
+ * Bad XCM data.
262
+ **/
263
+ BadXcm: GenericPalletError;
264
+
265
+ /**
266
+ * Bad overweight index.
267
+ **/
268
+ BadOverweightIndex: GenericPalletError;
269
+
270
+ /**
271
+ * Provided weight is possibly not enough to execute the message.
272
+ **/
273
+ WeightOverLimit: GenericPalletError;
274
+
275
+ /**
276
+ * Generic pallet error
277
+ **/
278
+ [error: string]: GenericPalletError;
279
+ };
280
+ /**
281
+ * Pallet `PolkadotXcm`'s errors
282
+ **/
283
+ polkadotXcm: {
284
+ /**
285
+ * The desired destination was unreachable, generally because there is a no way of routing
286
+ * to it.
287
+ **/
288
+ Unreachable: GenericPalletError;
289
+
290
+ /**
291
+ * There was some other issue (i.e. not to do with routing) in sending the message.
292
+ * Perhaps a lack of space for buffering the message.
293
+ **/
294
+ SendFailure: GenericPalletError;
295
+
296
+ /**
297
+ * The message execution fails the filter.
298
+ **/
299
+ Filtered: GenericPalletError;
300
+
301
+ /**
302
+ * The message's weight could not be determined.
303
+ **/
304
+ UnweighableMessage: GenericPalletError;
305
+
306
+ /**
307
+ * The destination `MultiLocation` provided cannot be inverted.
308
+ **/
309
+ DestinationNotInvertible: GenericPalletError;
310
+
311
+ /**
312
+ * The assets to be sent are empty.
313
+ **/
314
+ Empty: GenericPalletError;
315
+
316
+ /**
317
+ * Could not re-anchor the assets to declare the fees for the destination chain.
318
+ **/
319
+ CannotReanchor: GenericPalletError;
320
+
321
+ /**
322
+ * Too many assets have been attempted for transfer.
323
+ **/
324
+ TooManyAssets: GenericPalletError;
325
+
326
+ /**
327
+ * Origin is invalid for sending.
328
+ **/
329
+ InvalidOrigin: GenericPalletError;
330
+
331
+ /**
332
+ * The version of the `Versioned` value used is not able to be interpreted.
333
+ **/
334
+ BadVersion: GenericPalletError;
335
+
336
+ /**
337
+ * The given location could not be used (e.g. because it cannot be expressed in the
338
+ * desired version of XCM).
339
+ **/
340
+ BadLocation: GenericPalletError;
341
+
342
+ /**
343
+ * The referenced subscription could not be found.
344
+ **/
345
+ NoSubscription: GenericPalletError;
346
+
347
+ /**
348
+ * The location is invalid since it already has a subscription from us.
349
+ **/
350
+ AlreadySubscribed: GenericPalletError;
351
+
352
+ /**
353
+ * Invalid asset for the operation.
354
+ **/
355
+ InvalidAsset: GenericPalletError;
356
+
357
+ /**
358
+ * The owner does not own (all) of the asset that they wish to do the operation on.
359
+ **/
360
+ LowBalance: GenericPalletError;
361
+
362
+ /**
363
+ * The asset owner has too many locks on the asset.
364
+ **/
365
+ TooManyLocks: GenericPalletError;
366
+
367
+ /**
368
+ * The given account is not an identifiable sovereign account for any location.
369
+ **/
370
+ AccountNotSovereign: GenericPalletError;
371
+
372
+ /**
373
+ * The operation required fees to be paid which the initiator could not meet.
374
+ **/
375
+ FeesNotMet: GenericPalletError;
376
+
377
+ /**
378
+ * A remote lock with the corresponding data could not be found.
379
+ **/
380
+ LockNotFound: GenericPalletError;
381
+
382
+ /**
383
+ * The unlock operation cannot succeed because there are still consumers of the lock.
384
+ **/
385
+ InUse: GenericPalletError;
386
+
387
+ /**
388
+ * Generic pallet error
389
+ **/
390
+ [error: string]: GenericPalletError;
391
+ };
392
+ /**
393
+ * Pallet `CumulusXcm`'s errors
394
+ **/
395
+ cumulusXcm: {
396
+ /**
397
+ * Generic pallet error
398
+ **/
399
+ [error: string]: GenericPalletError;
400
+ };
401
+ /**
402
+ * Pallet `DmpQueue`'s errors
403
+ **/
404
+ dmpQueue: {
405
+ /**
406
+ * The message index given is unknown.
407
+ **/
408
+ Unknown: GenericPalletError;
409
+
410
+ /**
411
+ * The amount of weight given is possibly not enough for executing the message.
412
+ **/
413
+ OverLimit: GenericPalletError;
414
+
415
+ /**
416
+ * Generic pallet error
417
+ **/
418
+ [error: string]: GenericPalletError;
419
+ };
420
+ /**
421
+ * Pallet `Utility`'s errors
422
+ **/
423
+ utility: {
424
+ /**
425
+ * Too many calls batched.
426
+ **/
427
+ TooManyCalls: GenericPalletError;
428
+
429
+ /**
430
+ * Generic pallet error
431
+ **/
432
+ [error: string]: GenericPalletError;
433
+ };
434
+ /**
435
+ * Pallet `Multisig`'s errors
436
+ **/
437
+ multisig: {
438
+ /**
439
+ * Threshold must be 2 or greater.
440
+ **/
441
+ MinimumThreshold: GenericPalletError;
442
+
443
+ /**
444
+ * Call is already approved by this signatory.
445
+ **/
446
+ AlreadyApproved: GenericPalletError;
447
+
448
+ /**
449
+ * Call doesn't need any (more) approvals.
450
+ **/
451
+ NoApprovalsNeeded: GenericPalletError;
452
+
453
+ /**
454
+ * There are too few signatories in the list.
455
+ **/
456
+ TooFewSignatories: GenericPalletError;
457
+
458
+ /**
459
+ * There are too many signatories in the list.
460
+ **/
461
+ TooManySignatories: GenericPalletError;
462
+
463
+ /**
464
+ * The signatories were provided out of order; they should be ordered.
465
+ **/
466
+ SignatoriesOutOfOrder: GenericPalletError;
467
+
468
+ /**
469
+ * The sender was contained in the other signatories; it shouldn't be.
470
+ **/
471
+ SenderInSignatories: GenericPalletError;
472
+
473
+ /**
474
+ * Multisig operation not found when attempting to cancel.
475
+ **/
476
+ NotFound: GenericPalletError;
477
+
478
+ /**
479
+ * Only the account that originally created the multisig is able to cancel it.
480
+ **/
481
+ NotOwner: GenericPalletError;
482
+
483
+ /**
484
+ * No timepoint was given, yet the multisig operation is already underway.
485
+ **/
486
+ NoTimepoint: GenericPalletError;
487
+
488
+ /**
489
+ * A different timepoint was given to the multisig operation that is underway.
490
+ **/
491
+ WrongTimepoint: GenericPalletError;
492
+
493
+ /**
494
+ * A timepoint was given, yet no multisig operation is underway.
495
+ **/
496
+ UnexpectedTimepoint: GenericPalletError;
497
+
498
+ /**
499
+ * The maximum weight information provided was too low.
500
+ **/
501
+ MaxWeightTooLow: GenericPalletError;
502
+
503
+ /**
504
+ * The data to be stored is already stored.
505
+ **/
506
+ AlreadyStored: GenericPalletError;
507
+
508
+ /**
509
+ * Generic pallet error
510
+ **/
511
+ [error: string]: GenericPalletError;
512
+ };
513
+ /**
514
+ * Pallet `Proxy`'s errors
515
+ **/
516
+ proxy: {
517
+ /**
518
+ * There are too many proxies registered or too many announcements pending.
519
+ **/
520
+ TooMany: GenericPalletError;
521
+
522
+ /**
523
+ * Proxy registration not found.
524
+ **/
525
+ NotFound: GenericPalletError;
526
+
527
+ /**
528
+ * Sender is not a proxy of the account to be proxied.
529
+ **/
530
+ NotProxy: GenericPalletError;
531
+
532
+ /**
533
+ * A call which is incompatible with the proxy type's filter was attempted.
534
+ **/
535
+ Unproxyable: GenericPalletError;
536
+
537
+ /**
538
+ * Account is already a proxy.
539
+ **/
540
+ Duplicate: GenericPalletError;
541
+
542
+ /**
543
+ * Call may not be made by proxy because it may escalate its privileges.
544
+ **/
545
+ NoPermission: GenericPalletError;
546
+
547
+ /**
548
+ * Announcement, if made at all, was made too recently.
549
+ **/
550
+ Unannounced: GenericPalletError;
551
+
552
+ /**
553
+ * Cannot add self as proxy.
554
+ **/
555
+ NoSelfProxy: GenericPalletError;
556
+
557
+ /**
558
+ * Generic pallet error
559
+ **/
560
+ [error: string]: GenericPalletError;
561
+ };
562
+ /**
563
+ * Pallet `Assets`'s errors
564
+ **/
565
+ assets: {
566
+ /**
567
+ * Account balance must be greater than or equal to the transfer amount.
568
+ **/
569
+ BalanceLow: GenericPalletError;
570
+
571
+ /**
572
+ * The account to alter does not exist.
573
+ **/
574
+ NoAccount: GenericPalletError;
575
+
576
+ /**
577
+ * The signing account has no permission to do the operation.
578
+ **/
579
+ NoPermission: GenericPalletError;
580
+
581
+ /**
582
+ * The given asset ID is unknown.
583
+ **/
584
+ Unknown: GenericPalletError;
585
+
586
+ /**
587
+ * The origin account is frozen.
588
+ **/
589
+ Frozen: GenericPalletError;
590
+
591
+ /**
592
+ * The asset ID is already taken.
593
+ **/
594
+ InUse: GenericPalletError;
595
+
596
+ /**
597
+ * Invalid witness data given.
598
+ **/
599
+ BadWitness: GenericPalletError;
600
+
601
+ /**
602
+ * Minimum balance should be non-zero.
603
+ **/
604
+ MinBalanceZero: GenericPalletError;
605
+
606
+ /**
607
+ * Unable to increment the consumer reference counters on the account. Either no provider
608
+ * reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
609
+ * fewer then the maximum number of consumers has been reached.
610
+ **/
611
+ UnavailableConsumer: GenericPalletError;
612
+
613
+ /**
614
+ * Invalid metadata given.
615
+ **/
616
+ BadMetadata: GenericPalletError;
617
+
618
+ /**
619
+ * No approval exists that would allow the transfer.
620
+ **/
621
+ Unapproved: GenericPalletError;
622
+
623
+ /**
624
+ * The source account would not survive the transfer and it needs to stay alive.
625
+ **/
626
+ WouldDie: GenericPalletError;
627
+
628
+ /**
629
+ * The asset-account already exists.
630
+ **/
631
+ AlreadyExists: GenericPalletError;
632
+
633
+ /**
634
+ * The asset-account doesn't have an associated deposit.
635
+ **/
636
+ NoDeposit: GenericPalletError;
637
+
638
+ /**
639
+ * The operation would result in funds being burned.
640
+ **/
641
+ WouldBurn: GenericPalletError;
642
+
643
+ /**
644
+ * The asset is a live asset and is actively being used. Usually emit for operations such
645
+ * as `start_destroy` which require the asset to be in a destroying state.
646
+ **/
647
+ LiveAsset: GenericPalletError;
648
+
649
+ /**
650
+ * The asset is not live, and likely being destroyed.
651
+ **/
652
+ AssetNotLive: GenericPalletError;
653
+
654
+ /**
655
+ * The asset status is not the expected status.
656
+ **/
657
+ IncorrectStatus: GenericPalletError;
658
+
659
+ /**
660
+ * The asset should be frozen before the given operation.
661
+ **/
662
+ NotFrozen: GenericPalletError;
663
+
664
+ /**
665
+ * Callback action resulted in error
666
+ **/
667
+ CallbackFailed: GenericPalletError;
668
+
669
+ /**
670
+ * Generic pallet error
671
+ **/
672
+ [error: string]: GenericPalletError;
673
+ };
674
+ /**
675
+ * Pallet `Uniques`'s errors
676
+ **/
677
+ uniques: {
678
+ /**
679
+ * The signing account has no permission to do the operation.
680
+ **/
681
+ NoPermission: GenericPalletError;
682
+
683
+ /**
684
+ * The given item ID is unknown.
685
+ **/
686
+ UnknownCollection: GenericPalletError;
687
+
688
+ /**
689
+ * The item ID has already been used for an item.
690
+ **/
691
+ AlreadyExists: GenericPalletError;
692
+
693
+ /**
694
+ * The owner turned out to be different to what was expected.
695
+ **/
696
+ WrongOwner: GenericPalletError;
697
+
698
+ /**
699
+ * Invalid witness data given.
700
+ **/
701
+ BadWitness: GenericPalletError;
702
+
703
+ /**
704
+ * The item ID is already taken.
705
+ **/
706
+ InUse: GenericPalletError;
707
+
708
+ /**
709
+ * The item or collection is frozen.
710
+ **/
711
+ Frozen: GenericPalletError;
712
+
713
+ /**
714
+ * The delegate turned out to be different to what was expected.
715
+ **/
716
+ WrongDelegate: GenericPalletError;
717
+
718
+ /**
719
+ * There is no delegate approved.
720
+ **/
721
+ NoDelegate: GenericPalletError;
722
+
723
+ /**
724
+ * No approval exists that would allow the transfer.
725
+ **/
726
+ Unapproved: GenericPalletError;
727
+
728
+ /**
729
+ * The named owner has not signed ownership of the collection is acceptable.
730
+ **/
731
+ Unaccepted: GenericPalletError;
732
+
733
+ /**
734
+ * The item is locked.
735
+ **/
736
+ Locked: GenericPalletError;
737
+
738
+ /**
739
+ * All items have been minted.
740
+ **/
741
+ MaxSupplyReached: GenericPalletError;
742
+
743
+ /**
744
+ * The max supply has already been set.
745
+ **/
746
+ MaxSupplyAlreadySet: GenericPalletError;
747
+
748
+ /**
749
+ * The provided max supply is less to the amount of items a collection already has.
750
+ **/
751
+ MaxSupplyTooSmall: GenericPalletError;
752
+
753
+ /**
754
+ * The given item ID is unknown.
755
+ **/
756
+ UnknownItem: GenericPalletError;
757
+
758
+ /**
759
+ * Item is not for sale.
760
+ **/
761
+ NotForSale: GenericPalletError;
762
+
763
+ /**
764
+ * The provided bid is too low.
765
+ **/
766
+ BidTooLow: GenericPalletError;
767
+
768
+ /**
769
+ * Generic pallet error
770
+ **/
771
+ [error: string]: GenericPalletError;
772
+ };
773
+ /**
774
+ * Pallet `Nfts`'s errors
775
+ **/
776
+ nfts: {
777
+ /**
778
+ * The signing account has no permission to do the operation.
779
+ **/
780
+ NoPermission: GenericPalletError;
781
+
782
+ /**
783
+ * The given item ID is unknown.
784
+ **/
785
+ UnknownCollection: GenericPalletError;
786
+
787
+ /**
788
+ * The item ID has already been used for an item.
789
+ **/
790
+ AlreadyExists: GenericPalletError;
791
+
792
+ /**
793
+ * The approval had a deadline that expired, so the approval isn't valid anymore.
794
+ **/
795
+ ApprovalExpired: GenericPalletError;
796
+
797
+ /**
798
+ * The owner turned out to be different to what was expected.
799
+ **/
800
+ WrongOwner: GenericPalletError;
801
+
802
+ /**
803
+ * The witness data given does not match the current state of the chain.
804
+ **/
805
+ BadWitness: GenericPalletError;
806
+
807
+ /**
808
+ * Collection ID is already taken.
809
+ **/
810
+ CollectionIdInUse: GenericPalletError;
811
+
812
+ /**
813
+ * Items within that collection are non-transferable.
814
+ **/
815
+ ItemsNonTransferable: GenericPalletError;
816
+
817
+ /**
818
+ * The provided account is not a delegate.
819
+ **/
820
+ NotDelegate: GenericPalletError;
821
+
822
+ /**
823
+ * The delegate turned out to be different to what was expected.
824
+ **/
825
+ WrongDelegate: GenericPalletError;
826
+
827
+ /**
828
+ * No approval exists that would allow the transfer.
829
+ **/
830
+ Unapproved: GenericPalletError;
831
+
832
+ /**
833
+ * The named owner has not signed ownership acceptance of the collection.
834
+ **/
835
+ Unaccepted: GenericPalletError;
836
+
837
+ /**
838
+ * The item is locked (non-transferable).
839
+ **/
840
+ ItemLocked: GenericPalletError;
841
+
842
+ /**
843
+ * Item's attributes are locked.
844
+ **/
845
+ LockedItemAttributes: GenericPalletError;
846
+
847
+ /**
848
+ * Collection's attributes are locked.
849
+ **/
850
+ LockedCollectionAttributes: GenericPalletError;
851
+
852
+ /**
853
+ * Item's metadata is locked.
854
+ **/
855
+ LockedItemMetadata: GenericPalletError;
856
+
857
+ /**
858
+ * Collection's metadata is locked.
859
+ **/
860
+ LockedCollectionMetadata: GenericPalletError;
861
+
862
+ /**
863
+ * All items have been minted.
864
+ **/
865
+ MaxSupplyReached: GenericPalletError;
866
+
867
+ /**
868
+ * The max supply is locked and can't be changed.
869
+ **/
870
+ MaxSupplyLocked: GenericPalletError;
871
+
872
+ /**
873
+ * The provided max supply is less than the number of items a collection already has.
874
+ **/
875
+ MaxSupplyTooSmall: GenericPalletError;
876
+
877
+ /**
878
+ * The given item ID is unknown.
879
+ **/
880
+ UnknownItem: GenericPalletError;
881
+
882
+ /**
883
+ * Swap doesn't exist.
884
+ **/
885
+ UnknownSwap: GenericPalletError;
886
+
887
+ /**
888
+ * The given item has no metadata set.
889
+ **/
890
+ MetadataNotFound: GenericPalletError;
891
+
892
+ /**
893
+ * The provided attribute can't be found.
894
+ **/
895
+ AttributeNotFound: GenericPalletError;
896
+
897
+ /**
898
+ * Item is not for sale.
899
+ **/
900
+ NotForSale: GenericPalletError;
901
+
902
+ /**
903
+ * The provided bid is too low.
904
+ **/
905
+ BidTooLow: GenericPalletError;
906
+
907
+ /**
908
+ * The item has reached its approval limit.
909
+ **/
910
+ ReachedApprovalLimit: GenericPalletError;
911
+
912
+ /**
913
+ * The deadline has already expired.
914
+ **/
915
+ DeadlineExpired: GenericPalletError;
916
+
917
+ /**
918
+ * The duration provided should be less than or equal to `MaxDeadlineDuration`.
919
+ **/
920
+ WrongDuration: GenericPalletError;
921
+
922
+ /**
923
+ * The method is disabled by system settings.
924
+ **/
925
+ MethodDisabled: GenericPalletError;
926
+
927
+ /**
928
+ * The provided setting can't be set.
929
+ **/
930
+ WrongSetting: GenericPalletError;
931
+
932
+ /**
933
+ * Item's config already exists and should be equal to the provided one.
934
+ **/
935
+ InconsistentItemConfig: GenericPalletError;
936
+
937
+ /**
938
+ * Config for a collection or an item can't be found.
939
+ **/
940
+ NoConfig: GenericPalletError;
941
+
942
+ /**
943
+ * Some roles were not cleared.
944
+ **/
945
+ RolesNotCleared: GenericPalletError;
946
+
947
+ /**
948
+ * Mint has not started yet.
949
+ **/
950
+ MintNotStarted: GenericPalletError;
951
+
952
+ /**
953
+ * Mint has already ended.
954
+ **/
955
+ MintEnded: GenericPalletError;
956
+
957
+ /**
958
+ * The provided Item was already used for claiming.
959
+ **/
960
+ AlreadyClaimed: GenericPalletError;
961
+
962
+ /**
963
+ * The provided data is incorrect.
964
+ **/
965
+ IncorrectData: GenericPalletError;
966
+
967
+ /**
968
+ * The extrinsic was sent by the wrong origin.
969
+ **/
970
+ WrongOrigin: GenericPalletError;
971
+
972
+ /**
973
+ * The provided signature is incorrect.
974
+ **/
975
+ WrongSignature: GenericPalletError;
976
+
977
+ /**
978
+ * The provided metadata might be too long.
979
+ **/
980
+ IncorrectMetadata: GenericPalletError;
981
+
982
+ /**
983
+ * Can't set more attributes per one call.
984
+ **/
985
+ MaxAttributesLimitReached: GenericPalletError;
986
+
987
+ /**
988
+ * The provided namespace isn't supported in this call.
989
+ **/
990
+ WrongNamespace: GenericPalletError;
991
+
992
+ /**
993
+ * Can't delete non-empty collections.
994
+ **/
995
+ CollectionNotEmpty: GenericPalletError;
996
+
997
+ /**
998
+ * The witness data should be provided.
999
+ **/
1000
+ WitnessRequired: GenericPalletError;
1001
+
1002
+ /**
1003
+ * Generic pallet error
1004
+ **/
1005
+ [error: string]: GenericPalletError;
1006
+ };
1007
+ /**
1008
+ * Pallet `ForeignAssets`'s errors
1009
+ **/
1010
+ foreignAssets: {
1011
+ /**
1012
+ * Account balance must be greater than or equal to the transfer amount.
1013
+ **/
1014
+ BalanceLow: GenericPalletError;
1015
+
1016
+ /**
1017
+ * The account to alter does not exist.
1018
+ **/
1019
+ NoAccount: GenericPalletError;
1020
+
1021
+ /**
1022
+ * The signing account has no permission to do the operation.
1023
+ **/
1024
+ NoPermission: GenericPalletError;
1025
+
1026
+ /**
1027
+ * The given asset ID is unknown.
1028
+ **/
1029
+ Unknown: GenericPalletError;
1030
+
1031
+ /**
1032
+ * The origin account is frozen.
1033
+ **/
1034
+ Frozen: GenericPalletError;
1035
+
1036
+ /**
1037
+ * The asset ID is already taken.
1038
+ **/
1039
+ InUse: GenericPalletError;
1040
+
1041
+ /**
1042
+ * Invalid witness data given.
1043
+ **/
1044
+ BadWitness: GenericPalletError;
1045
+
1046
+ /**
1047
+ * Minimum balance should be non-zero.
1048
+ **/
1049
+ MinBalanceZero: GenericPalletError;
1050
+
1051
+ /**
1052
+ * Unable to increment the consumer reference counters on the account. Either no provider
1053
+ * reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
1054
+ * fewer then the maximum number of consumers has been reached.
1055
+ **/
1056
+ UnavailableConsumer: GenericPalletError;
1057
+
1058
+ /**
1059
+ * Invalid metadata given.
1060
+ **/
1061
+ BadMetadata: GenericPalletError;
1062
+
1063
+ /**
1064
+ * No approval exists that would allow the transfer.
1065
+ **/
1066
+ Unapproved: GenericPalletError;
1067
+
1068
+ /**
1069
+ * The source account would not survive the transfer and it needs to stay alive.
1070
+ **/
1071
+ WouldDie: GenericPalletError;
1072
+
1073
+ /**
1074
+ * The asset-account already exists.
1075
+ **/
1076
+ AlreadyExists: GenericPalletError;
1077
+
1078
+ /**
1079
+ * The asset-account doesn't have an associated deposit.
1080
+ **/
1081
+ NoDeposit: GenericPalletError;
1082
+
1083
+ /**
1084
+ * The operation would result in funds being burned.
1085
+ **/
1086
+ WouldBurn: GenericPalletError;
1087
+
1088
+ /**
1089
+ * The asset is a live asset and is actively being used. Usually emit for operations such
1090
+ * as `start_destroy` which require the asset to be in a destroying state.
1091
+ **/
1092
+ LiveAsset: GenericPalletError;
1093
+
1094
+ /**
1095
+ * The asset is not live, and likely being destroyed.
1096
+ **/
1097
+ AssetNotLive: GenericPalletError;
1098
+
1099
+ /**
1100
+ * The asset status is not the expected status.
1101
+ **/
1102
+ IncorrectStatus: GenericPalletError;
1103
+
1104
+ /**
1105
+ * The asset should be frozen before the given operation.
1106
+ **/
1107
+ NotFrozen: GenericPalletError;
1108
+
1109
+ /**
1110
+ * Callback action resulted in error
1111
+ **/
1112
+ CallbackFailed: GenericPalletError;
1113
+
1114
+ /**
1115
+ * Generic pallet error
1116
+ **/
1117
+ [error: string]: GenericPalletError;
1118
+ };
925
1119
  }