@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,1231 +1,1499 @@
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
- * No upgrade authorized.
37
- **/
38
- NothingAuthorized: GenericPalletError;
39
- /**
40
- * The submitted code is not authorized.
41
- **/
42
- Unauthorized: GenericPalletError;
43
- /**
44
- * Generic pallet error
45
- **/
46
- [error: string]: GenericPalletError;
47
- };
48
- /**
49
- * Pallet `ParachainSystem`'s errors
50
- **/
51
- parachainSystem: {
52
- /**
53
- * Attempt to upgrade validation function while existing upgrade pending.
54
- **/
55
- OverlappingUpgrades: GenericPalletError;
56
- /**
57
- * Polkadot currently prohibits this parachain from upgrading its validation function.
58
- **/
59
- ProhibitedByPolkadot: GenericPalletError;
60
- /**
61
- * The supplied validation function has compiled into a blob larger than Polkadot is
62
- * willing to run.
63
- **/
64
- TooBig: GenericPalletError;
65
- /**
66
- * The inherent which supplies the validation data did not run this block.
67
- **/
68
- ValidationDataNotAvailable: GenericPalletError;
69
- /**
70
- * The inherent which supplies the host configuration did not run this block.
71
- **/
72
- HostConfigurationNotAvailable: GenericPalletError;
73
- /**
74
- * No validation function upgrade is currently scheduled.
75
- **/
76
- NotScheduled: GenericPalletError;
77
- /**
78
- * No code upgrade has been authorized.
79
- **/
80
- NothingAuthorized: GenericPalletError;
81
- /**
82
- * The given code upgrade has not been authorized.
83
- **/
84
- Unauthorized: GenericPalletError;
85
- /**
86
- * Generic pallet error
87
- **/
88
- [error: string]: GenericPalletError;
89
- };
90
- /**
91
- * Pallet `Balances`'s errors
92
- **/
93
- balances: {
94
- /**
95
- * Vesting balance too high to send value.
96
- **/
97
- VestingBalance: GenericPalletError;
98
- /**
99
- * Account liquidity restrictions prevent withdrawal.
100
- **/
101
- LiquidityRestrictions: GenericPalletError;
102
- /**
103
- * Balance too low to send value.
104
- **/
105
- InsufficientBalance: GenericPalletError;
106
- /**
107
- * Value too low to create account due to existential deposit.
108
- **/
109
- ExistentialDeposit: GenericPalletError;
110
- /**
111
- * Transfer/payment would kill account.
112
- **/
113
- Expendability: GenericPalletError;
114
- /**
115
- * A vesting schedule already exists for this account.
116
- **/
117
- ExistingVestingSchedule: GenericPalletError;
118
- /**
119
- * Beneficiary account must pre-exist.
120
- **/
121
- DeadAccount: GenericPalletError;
122
- /**
123
- * Number of named reserves exceed `MaxReserves`.
124
- **/
125
- TooManyReserves: GenericPalletError;
126
- /**
127
- * Number of holds exceed `VariantCountOf<T::RuntimeHoldReason>`.
128
- **/
129
- TooManyHolds: GenericPalletError;
130
- /**
131
- * Number of freezes exceed `MaxFreezes`.
132
- **/
133
- TooManyFreezes: GenericPalletError;
134
- /**
135
- * The issuance cannot be modified since it is already deactivated.
136
- **/
137
- IssuanceDeactivated: GenericPalletError;
138
- /**
139
- * The delta cannot be zero.
140
- **/
141
- DeltaZero: GenericPalletError;
142
- /**
143
- * Generic pallet error
144
- **/
145
- [error: string]: GenericPalletError;
146
- };
147
- /**
148
- * Pallet `CollatorSelection`'s errors
149
- **/
150
- collatorSelection: {
151
- /**
152
- * The pallet has too many candidates.
153
- **/
154
- TooManyCandidates: GenericPalletError;
155
- /**
156
- * Leaving would result in too few candidates.
157
- **/
158
- TooFewEligibleCollators: GenericPalletError;
159
- /**
160
- * Account is already a candidate.
161
- **/
162
- AlreadyCandidate: GenericPalletError;
163
- /**
164
- * Account is not a candidate.
165
- **/
166
- NotCandidate: GenericPalletError;
167
- /**
168
- * There are too many Invulnerables.
169
- **/
170
- TooManyInvulnerables: GenericPalletError;
171
- /**
172
- * Account is already an Invulnerable.
173
- **/
174
- AlreadyInvulnerable: GenericPalletError;
175
- /**
176
- * Account is not an Invulnerable.
177
- **/
178
- NotInvulnerable: GenericPalletError;
179
- /**
180
- * Account has no associated validator ID.
181
- **/
182
- NoAssociatedValidatorId: GenericPalletError;
183
- /**
184
- * Validator ID is not yet registered.
185
- **/
186
- ValidatorNotRegistered: GenericPalletError;
187
- /**
188
- * Could not insert in the candidate list.
189
- **/
190
- InsertToCandidateListFailed: GenericPalletError;
191
- /**
192
- * Could not remove from the candidate list.
193
- **/
194
- RemoveFromCandidateListFailed: GenericPalletError;
195
- /**
196
- * New deposit amount would be below the minimum candidacy bond.
197
- **/
198
- DepositTooLow: GenericPalletError;
199
- /**
200
- * Could not update the candidate list.
201
- **/
202
- UpdateCandidateListFailed: GenericPalletError;
203
- /**
204
- * Deposit amount is too low to take the target's slot in the candidate list.
205
- **/
206
- InsufficientBond: GenericPalletError;
207
- /**
208
- * The target account to be replaced in the candidate list is not a candidate.
209
- **/
210
- TargetIsNotCandidate: GenericPalletError;
211
- /**
212
- * The updated deposit amount is equal to the amount already reserved.
213
- **/
214
- IdenticalDeposit: GenericPalletError;
215
- /**
216
- * Cannot lower candidacy bond while occupying a future collator slot in the list.
217
- **/
218
- InvalidUnreserve: GenericPalletError;
219
- /**
220
- * Generic pallet error
221
- **/
222
- [error: string]: GenericPalletError;
223
- };
224
- /**
225
- * Pallet `Session`'s errors
226
- **/
227
- session: {
228
- /**
229
- * Invalid ownership proof.
230
- **/
231
- InvalidProof: GenericPalletError;
232
- /**
233
- * No associated validator ID for account.
234
- **/
235
- NoAssociatedValidatorId: GenericPalletError;
236
- /**
237
- * Registered duplicate key.
238
- **/
239
- DuplicatedKey: GenericPalletError;
240
- /**
241
- * No keys are associated with this account.
242
- **/
243
- NoKeys: GenericPalletError;
244
- /**
245
- * Key setting account is not live, so it's impossible to associate keys.
246
- **/
247
- NoAccount: GenericPalletError;
248
- /**
249
- * Generic pallet error
250
- **/
251
- [error: string]: GenericPalletError;
252
- };
253
- /**
254
- * Pallet `XcmpQueue`'s errors
255
- **/
256
- xcmpQueue: {
257
- /**
258
- * Setting the queue config failed since one of its values was invalid.
259
- **/
260
- BadQueueConfig: GenericPalletError;
261
- /**
262
- * The execution is already suspended.
263
- **/
264
- AlreadySuspended: GenericPalletError;
265
- /**
266
- * The execution is already resumed.
267
- **/
268
- AlreadyResumed: GenericPalletError;
269
- /**
270
- * Generic pallet error
271
- **/
272
- [error: string]: GenericPalletError;
273
- };
274
- /**
275
- * Pallet `PolkadotXcm`'s errors
276
- **/
277
- polkadotXcm: {
278
- /**
279
- * The desired destination was unreachable, generally because there is a no way of routing
280
- * to it.
281
- **/
282
- Unreachable: GenericPalletError;
283
- /**
284
- * There was some other issue (i.e. not to do with routing) in sending the message.
285
- * Perhaps a lack of space for buffering the message.
286
- **/
287
- SendFailure: GenericPalletError;
288
- /**
289
- * The message execution fails the filter.
290
- **/
291
- Filtered: GenericPalletError;
292
- /**
293
- * The message's weight could not be determined.
294
- **/
295
- UnweighableMessage: GenericPalletError;
296
- /**
297
- * The destination `Location` provided cannot be inverted.
298
- **/
299
- DestinationNotInvertible: GenericPalletError;
300
- /**
301
- * The assets to be sent are empty.
302
- **/
303
- Empty: GenericPalletError;
304
- /**
305
- * Could not re-anchor the assets to declare the fees for the destination chain.
306
- **/
307
- CannotReanchor: GenericPalletError;
308
- /**
309
- * Too many assets have been attempted for transfer.
310
- **/
311
- TooManyAssets: GenericPalletError;
312
- /**
313
- * Origin is invalid for sending.
314
- **/
315
- InvalidOrigin: GenericPalletError;
316
- /**
317
- * The version of the `Versioned` value used is not able to be interpreted.
318
- **/
319
- BadVersion: GenericPalletError;
320
- /**
321
- * The given location could not be used (e.g. because it cannot be expressed in the
322
- * desired version of XCM).
323
- **/
324
- BadLocation: GenericPalletError;
325
- /**
326
- * The referenced subscription could not be found.
327
- **/
328
- NoSubscription: GenericPalletError;
329
- /**
330
- * The location is invalid since it already has a subscription from us.
331
- **/
332
- AlreadySubscribed: GenericPalletError;
333
- /**
334
- * Could not check-out the assets for teleportation to the destination chain.
335
- **/
336
- CannotCheckOutTeleport: GenericPalletError;
337
- /**
338
- * The owner does not own (all) of the asset that they wish to do the operation on.
339
- **/
340
- LowBalance: GenericPalletError;
341
- /**
342
- * The asset owner has too many locks on the asset.
343
- **/
344
- TooManyLocks: GenericPalletError;
345
- /**
346
- * The given account is not an identifiable sovereign account for any location.
347
- **/
348
- AccountNotSovereign: GenericPalletError;
349
- /**
350
- * The operation required fees to be paid which the initiator could not meet.
351
- **/
352
- FeesNotMet: GenericPalletError;
353
- /**
354
- * A remote lock with the corresponding data could not be found.
355
- **/
356
- LockNotFound: GenericPalletError;
357
- /**
358
- * The unlock operation cannot succeed because there are still consumers of the lock.
359
- **/
360
- InUse: GenericPalletError;
361
- /**
362
- * Invalid non-concrete asset.
363
- **/
364
- InvalidAssetNotConcrete: GenericPalletError;
365
- /**
366
- * Invalid asset, reserve chain could not be determined for it.
367
- **/
368
- InvalidAssetUnknownReserve: GenericPalletError;
369
- /**
370
- * Invalid asset, do not support remote asset reserves with different fees reserves.
371
- **/
372
- InvalidAssetUnsupportedReserve: GenericPalletError;
373
- /**
374
- * Too many assets with different reserve locations have been attempted for transfer.
375
- **/
376
- TooManyReserves: GenericPalletError;
377
- /**
378
- * Local XCM execution incomplete.
379
- **/
380
- LocalExecutionIncomplete: GenericPalletError;
381
- /**
382
- * Generic pallet error
383
- **/
384
- [error: string]: GenericPalletError;
385
- };
386
- /**
387
- * Pallet `MessageQueue`'s errors
388
- **/
389
- messageQueue: {
390
- /**
391
- * Page is not reapable because it has items remaining to be processed and is not old
392
- * enough.
393
- **/
394
- NotReapable: GenericPalletError;
395
- /**
396
- * Page to be reaped does not exist.
397
- **/
398
- NoPage: GenericPalletError;
399
- /**
400
- * The referenced message could not be found.
401
- **/
402
- NoMessage: GenericPalletError;
403
- /**
404
- * The message was already processed and cannot be processed again.
405
- **/
406
- AlreadyProcessed: GenericPalletError;
407
- /**
408
- * The message is queued for future execution.
409
- **/
410
- Queued: GenericPalletError;
411
- /**
412
- * There is temporarily not enough weight to continue servicing messages.
413
- **/
414
- InsufficientWeight: GenericPalletError;
415
- /**
416
- * This message is temporarily unprocessable.
417
- *
418
- * Such errors are expected, but not guaranteed, to resolve themselves eventually through
419
- * retrying.
420
- **/
421
- TemporarilyUnprocessable: GenericPalletError;
422
- /**
423
- * The queue is paused and no message can be executed from it.
424
- *
425
- * This can change at any time and may resolve in the future by re-trying.
426
- **/
427
- QueuePaused: GenericPalletError;
428
- /**
429
- * Another call is in progress and needs to finish before this call can happen.
430
- **/
431
- RecursiveDisallowed: GenericPalletError;
432
- /**
433
- * Generic pallet error
434
- **/
435
- [error: string]: GenericPalletError;
436
- };
437
- /**
438
- * Pallet `Utility`'s errors
439
- **/
440
- utility: {
441
- /**
442
- * Too many calls batched.
443
- **/
444
- TooManyCalls: GenericPalletError;
445
- /**
446
- * Generic pallet error
447
- **/
448
- [error: string]: GenericPalletError;
449
- };
450
- /**
451
- * Pallet `Multisig`'s errors
452
- **/
453
- multisig: {
454
- /**
455
- * Threshold must be 2 or greater.
456
- **/
457
- MinimumThreshold: GenericPalletError;
458
- /**
459
- * Call is already approved by this signatory.
460
- **/
461
- AlreadyApproved: GenericPalletError;
462
- /**
463
- * Call doesn't need any (more) approvals.
464
- **/
465
- NoApprovalsNeeded: GenericPalletError;
466
- /**
467
- * There are too few signatories in the list.
468
- **/
469
- TooFewSignatories: GenericPalletError;
470
- /**
471
- * There are too many signatories in the list.
472
- **/
473
- TooManySignatories: GenericPalletError;
474
- /**
475
- * The signatories were provided out of order; they should be ordered.
476
- **/
477
- SignatoriesOutOfOrder: GenericPalletError;
478
- /**
479
- * The sender was contained in the other signatories; it shouldn't be.
480
- **/
481
- SenderInSignatories: GenericPalletError;
482
- /**
483
- * Multisig operation not found when attempting to cancel.
484
- **/
485
- NotFound: GenericPalletError;
486
- /**
487
- * Only the account that originally created the multisig is able to cancel it.
488
- **/
489
- NotOwner: GenericPalletError;
490
- /**
491
- * No timepoint was given, yet the multisig operation is already underway.
492
- **/
493
- NoTimepoint: GenericPalletError;
494
- /**
495
- * A different timepoint was given to the multisig operation that is underway.
496
- **/
497
- WrongTimepoint: GenericPalletError;
498
- /**
499
- * A timepoint was given, yet no multisig operation is underway.
500
- **/
501
- UnexpectedTimepoint: GenericPalletError;
502
- /**
503
- * The maximum weight information provided was too low.
504
- **/
505
- MaxWeightTooLow: GenericPalletError;
506
- /**
507
- * The data to be stored is already stored.
508
- **/
509
- AlreadyStored: GenericPalletError;
510
- /**
511
- * Generic pallet error
512
- **/
513
- [error: string]: GenericPalletError;
514
- };
515
- /**
516
- * Pallet `Proxy`'s errors
517
- **/
518
- proxy: {
519
- /**
520
- * There are too many proxies registered or too many announcements pending.
521
- **/
522
- TooMany: GenericPalletError;
523
- /**
524
- * Proxy registration not found.
525
- **/
526
- NotFound: GenericPalletError;
527
- /**
528
- * Sender is not a proxy of the account to be proxied.
529
- **/
530
- NotProxy: GenericPalletError;
531
- /**
532
- * A call which is incompatible with the proxy type's filter was attempted.
533
- **/
534
- Unproxyable: GenericPalletError;
535
- /**
536
- * Account is already a proxy.
537
- **/
538
- Duplicate: GenericPalletError;
539
- /**
540
- * Call may not be made by proxy because it may escalate its privileges.
541
- **/
542
- NoPermission: GenericPalletError;
543
- /**
544
- * Announcement, if made at all, was made too recently.
545
- **/
546
- Unannounced: GenericPalletError;
547
- /**
548
- * Cannot add self as proxy.
549
- **/
550
- NoSelfProxy: GenericPalletError;
551
- /**
552
- * Generic pallet error
553
- **/
554
- [error: string]: GenericPalletError;
555
- };
556
- /**
557
- * Pallet `Assets`'s errors
558
- **/
559
- assets: {
560
- /**
561
- * Account balance must be greater than or equal to the transfer amount.
562
- **/
563
- BalanceLow: GenericPalletError;
564
- /**
565
- * The account to alter does not exist.
566
- **/
567
- NoAccount: GenericPalletError;
568
- /**
569
- * The signing account has no permission to do the operation.
570
- **/
571
- NoPermission: GenericPalletError;
572
- /**
573
- * The given asset ID is unknown.
574
- **/
575
- Unknown: GenericPalletError;
576
- /**
577
- * The origin account is frozen.
578
- **/
579
- Frozen: GenericPalletError;
580
- /**
581
- * The asset ID is already taken.
582
- **/
583
- InUse: GenericPalletError;
584
- /**
585
- * Invalid witness data given.
586
- **/
587
- BadWitness: GenericPalletError;
588
- /**
589
- * Minimum balance should be non-zero.
590
- **/
591
- MinBalanceZero: GenericPalletError;
592
- /**
593
- * Unable to increment the consumer reference counters on the account. Either no provider
594
- * reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
595
- * fewer then the maximum number of consumers has been reached.
596
- **/
597
- UnavailableConsumer: GenericPalletError;
598
- /**
599
- * Invalid metadata given.
600
- **/
601
- BadMetadata: GenericPalletError;
602
- /**
603
- * No approval exists that would allow the transfer.
604
- **/
605
- Unapproved: GenericPalletError;
606
- /**
607
- * The source account would not survive the transfer and it needs to stay alive.
608
- **/
609
- WouldDie: GenericPalletError;
610
- /**
611
- * The asset-account already exists.
612
- **/
613
- AlreadyExists: GenericPalletError;
614
- /**
615
- * The asset-account doesn't have an associated deposit.
616
- **/
617
- NoDeposit: GenericPalletError;
618
- /**
619
- * The operation would result in funds being burned.
620
- **/
621
- WouldBurn: GenericPalletError;
622
- /**
623
- * The asset is a live asset and is actively being used. Usually emit for operations such
624
- * as `start_destroy` which require the asset to be in a destroying state.
625
- **/
626
- LiveAsset: GenericPalletError;
627
- /**
628
- * The asset is not live, and likely being destroyed.
629
- **/
630
- AssetNotLive: GenericPalletError;
631
- /**
632
- * The asset status is not the expected status.
633
- **/
634
- IncorrectStatus: GenericPalletError;
635
- /**
636
- * The asset should be frozen before the given operation.
637
- **/
638
- NotFrozen: GenericPalletError;
639
- /**
640
- * Callback action resulted in error
641
- **/
642
- CallbackFailed: GenericPalletError;
643
- /**
644
- * Generic pallet error
645
- **/
646
- [error: string]: GenericPalletError;
647
- };
648
- /**
649
- * Pallet `Uniques`'s errors
650
- **/
651
- uniques: {
652
- /**
653
- * The signing account has no permission to do the operation.
654
- **/
655
- NoPermission: GenericPalletError;
656
- /**
657
- * The given item ID is unknown.
658
- **/
659
- UnknownCollection: GenericPalletError;
660
- /**
661
- * The item ID has already been used for an item.
662
- **/
663
- AlreadyExists: GenericPalletError;
664
- /**
665
- * The owner turned out to be different to what was expected.
666
- **/
667
- WrongOwner: GenericPalletError;
668
- /**
669
- * Invalid witness data given.
670
- **/
671
- BadWitness: GenericPalletError;
672
- /**
673
- * The item ID is already taken.
674
- **/
675
- InUse: GenericPalletError;
676
- /**
677
- * The item or collection is frozen.
678
- **/
679
- Frozen: GenericPalletError;
680
- /**
681
- * The delegate turned out to be different to what was expected.
682
- **/
683
- WrongDelegate: GenericPalletError;
684
- /**
685
- * There is no delegate approved.
686
- **/
687
- NoDelegate: GenericPalletError;
688
- /**
689
- * No approval exists that would allow the transfer.
690
- **/
691
- Unapproved: GenericPalletError;
692
- /**
693
- * The named owner has not signed ownership of the collection is acceptable.
694
- **/
695
- Unaccepted: GenericPalletError;
696
- /**
697
- * The item is locked.
698
- **/
699
- Locked: GenericPalletError;
700
- /**
701
- * All items have been minted.
702
- **/
703
- MaxSupplyReached: GenericPalletError;
704
- /**
705
- * The max supply has already been set.
706
- **/
707
- MaxSupplyAlreadySet: GenericPalletError;
708
- /**
709
- * The provided max supply is less to the amount of items a collection already has.
710
- **/
711
- MaxSupplyTooSmall: GenericPalletError;
712
- /**
713
- * The given item ID is unknown.
714
- **/
715
- UnknownItem: GenericPalletError;
716
- /**
717
- * Item is not for sale.
718
- **/
719
- NotForSale: GenericPalletError;
720
- /**
721
- * The provided bid is too low.
722
- **/
723
- BidTooLow: GenericPalletError;
724
- /**
725
- * Generic pallet error
726
- **/
727
- [error: string]: GenericPalletError;
728
- };
729
- /**
730
- * Pallet `Nfts`'s errors
731
- **/
732
- nfts: {
733
- /**
734
- * The signing account has no permission to do the operation.
735
- **/
736
- NoPermission: GenericPalletError;
737
- /**
738
- * The given item ID is unknown.
739
- **/
740
- UnknownCollection: GenericPalletError;
741
- /**
742
- * The item ID has already been used for an item.
743
- **/
744
- AlreadyExists: GenericPalletError;
745
- /**
746
- * The approval had a deadline that expired, so the approval isn't valid anymore.
747
- **/
748
- ApprovalExpired: GenericPalletError;
749
- /**
750
- * The owner turned out to be different to what was expected.
751
- **/
752
- WrongOwner: GenericPalletError;
753
- /**
754
- * The witness data given does not match the current state of the chain.
755
- **/
756
- BadWitness: GenericPalletError;
757
- /**
758
- * Collection ID is already taken.
759
- **/
760
- CollectionIdInUse: GenericPalletError;
761
- /**
762
- * Items within that collection are non-transferable.
763
- **/
764
- ItemsNonTransferable: GenericPalletError;
765
- /**
766
- * The provided account is not a delegate.
767
- **/
768
- NotDelegate: GenericPalletError;
769
- /**
770
- * The delegate turned out to be different to what was expected.
771
- **/
772
- WrongDelegate: GenericPalletError;
773
- /**
774
- * No approval exists that would allow the transfer.
775
- **/
776
- Unapproved: GenericPalletError;
777
- /**
778
- * The named owner has not signed ownership acceptance of the collection.
779
- **/
780
- Unaccepted: GenericPalletError;
781
- /**
782
- * The item is locked (non-transferable).
783
- **/
784
- ItemLocked: GenericPalletError;
785
- /**
786
- * Item's attributes are locked.
787
- **/
788
- LockedItemAttributes: GenericPalletError;
789
- /**
790
- * Collection's attributes are locked.
791
- **/
792
- LockedCollectionAttributes: GenericPalletError;
793
- /**
794
- * Item's metadata is locked.
795
- **/
796
- LockedItemMetadata: GenericPalletError;
797
- /**
798
- * Collection's metadata is locked.
799
- **/
800
- LockedCollectionMetadata: GenericPalletError;
801
- /**
802
- * All items have been minted.
803
- **/
804
- MaxSupplyReached: GenericPalletError;
805
- /**
806
- * The max supply is locked and can't be changed.
807
- **/
808
- MaxSupplyLocked: GenericPalletError;
809
- /**
810
- * The provided max supply is less than the number of items a collection already has.
811
- **/
812
- MaxSupplyTooSmall: GenericPalletError;
813
- /**
814
- * The given item ID is unknown.
815
- **/
816
- UnknownItem: GenericPalletError;
817
- /**
818
- * Swap doesn't exist.
819
- **/
820
- UnknownSwap: GenericPalletError;
821
- /**
822
- * The given item has no metadata set.
823
- **/
824
- MetadataNotFound: GenericPalletError;
825
- /**
826
- * The provided attribute can't be found.
827
- **/
828
- AttributeNotFound: GenericPalletError;
829
- /**
830
- * Item is not for sale.
831
- **/
832
- NotForSale: GenericPalletError;
833
- /**
834
- * The provided bid is too low.
835
- **/
836
- BidTooLow: GenericPalletError;
837
- /**
838
- * The item has reached its approval limit.
839
- **/
840
- ReachedApprovalLimit: GenericPalletError;
841
- /**
842
- * The deadline has already expired.
843
- **/
844
- DeadlineExpired: GenericPalletError;
845
- /**
846
- * The duration provided should be less than or equal to `MaxDeadlineDuration`.
847
- **/
848
- WrongDuration: GenericPalletError;
849
- /**
850
- * The method is disabled by system settings.
851
- **/
852
- MethodDisabled: GenericPalletError;
853
- /**
854
- * The provided setting can't be set.
855
- **/
856
- WrongSetting: GenericPalletError;
857
- /**
858
- * Item's config already exists and should be equal to the provided one.
859
- **/
860
- InconsistentItemConfig: GenericPalletError;
861
- /**
862
- * Config for a collection or an item can't be found.
863
- **/
864
- NoConfig: GenericPalletError;
865
- /**
866
- * Some roles were not cleared.
867
- **/
868
- RolesNotCleared: GenericPalletError;
869
- /**
870
- * Mint has not started yet.
871
- **/
872
- MintNotStarted: GenericPalletError;
873
- /**
874
- * Mint has already ended.
875
- **/
876
- MintEnded: GenericPalletError;
877
- /**
878
- * The provided Item was already used for claiming.
879
- **/
880
- AlreadyClaimed: GenericPalletError;
881
- /**
882
- * The provided data is incorrect.
883
- **/
884
- IncorrectData: GenericPalletError;
885
- /**
886
- * The extrinsic was sent by the wrong origin.
887
- **/
888
- WrongOrigin: GenericPalletError;
889
- /**
890
- * The provided signature is incorrect.
891
- **/
892
- WrongSignature: GenericPalletError;
893
- /**
894
- * The provided metadata might be too long.
895
- **/
896
- IncorrectMetadata: GenericPalletError;
897
- /**
898
- * Can't set more attributes per one call.
899
- **/
900
- MaxAttributesLimitReached: GenericPalletError;
901
- /**
902
- * The provided namespace isn't supported in this call.
903
- **/
904
- WrongNamespace: GenericPalletError;
905
- /**
906
- * Can't delete non-empty collections.
907
- **/
908
- CollectionNotEmpty: GenericPalletError;
909
- /**
910
- * The witness data should be provided.
911
- **/
912
- WitnessRequired: GenericPalletError;
913
- /**
914
- * Generic pallet error
915
- **/
916
- [error: string]: GenericPalletError;
917
- };
918
- /**
919
- * Pallet `ForeignAssets`'s errors
920
- **/
921
- foreignAssets: {
922
- /**
923
- * Account balance must be greater than or equal to the transfer amount.
924
- **/
925
- BalanceLow: GenericPalletError;
926
- /**
927
- * The account to alter does not exist.
928
- **/
929
- NoAccount: GenericPalletError;
930
- /**
931
- * The signing account has no permission to do the operation.
932
- **/
933
- NoPermission: GenericPalletError;
934
- /**
935
- * The given asset ID is unknown.
936
- **/
937
- Unknown: GenericPalletError;
938
- /**
939
- * The origin account is frozen.
940
- **/
941
- Frozen: GenericPalletError;
942
- /**
943
- * The asset ID is already taken.
944
- **/
945
- InUse: GenericPalletError;
946
- /**
947
- * Invalid witness data given.
948
- **/
949
- BadWitness: GenericPalletError;
950
- /**
951
- * Minimum balance should be non-zero.
952
- **/
953
- MinBalanceZero: GenericPalletError;
954
- /**
955
- * Unable to increment the consumer reference counters on the account. Either no provider
956
- * reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
957
- * fewer then the maximum number of consumers has been reached.
958
- **/
959
- UnavailableConsumer: GenericPalletError;
960
- /**
961
- * Invalid metadata given.
962
- **/
963
- BadMetadata: GenericPalletError;
964
- /**
965
- * No approval exists that would allow the transfer.
966
- **/
967
- Unapproved: GenericPalletError;
968
- /**
969
- * The source account would not survive the transfer and it needs to stay alive.
970
- **/
971
- WouldDie: GenericPalletError;
972
- /**
973
- * The asset-account already exists.
974
- **/
975
- AlreadyExists: GenericPalletError;
976
- /**
977
- * The asset-account doesn't have an associated deposit.
978
- **/
979
- NoDeposit: GenericPalletError;
980
- /**
981
- * The operation would result in funds being burned.
982
- **/
983
- WouldBurn: GenericPalletError;
984
- /**
985
- * The asset is a live asset and is actively being used. Usually emit for operations such
986
- * as `start_destroy` which require the asset to be in a destroying state.
987
- **/
988
- LiveAsset: GenericPalletError;
989
- /**
990
- * The asset is not live, and likely being destroyed.
991
- **/
992
- AssetNotLive: GenericPalletError;
993
- /**
994
- * The asset status is not the expected status.
995
- **/
996
- IncorrectStatus: GenericPalletError;
997
- /**
998
- * The asset should be frozen before the given operation.
999
- **/
1000
- NotFrozen: GenericPalletError;
1001
- /**
1002
- * Callback action resulted in error
1003
- **/
1004
- CallbackFailed: GenericPalletError;
1005
- /**
1006
- * Generic pallet error
1007
- **/
1008
- [error: string]: GenericPalletError;
1009
- };
1010
- /**
1011
- * Pallet `NftFractionalization`'s errors
1012
- **/
1013
- nftFractionalization: {
1014
- /**
1015
- * Asset ID does not correspond to locked NFT.
1016
- **/
1017
- IncorrectAssetId: GenericPalletError;
1018
- /**
1019
- * The signing account has no permission to do the operation.
1020
- **/
1021
- NoPermission: GenericPalletError;
1022
- /**
1023
- * NFT doesn't exist.
1024
- **/
1025
- NftNotFound: GenericPalletError;
1026
- /**
1027
- * NFT has not yet been fractionalised.
1028
- **/
1029
- NftNotFractionalized: GenericPalletError;
1030
- /**
1031
- * Generic pallet error
1032
- **/
1033
- [error: string]: GenericPalletError;
1034
- };
1035
- /**
1036
- * Pallet `PoolAssets`'s errors
1037
- **/
1038
- poolAssets: {
1039
- /**
1040
- * Account balance must be greater than or equal to the transfer amount.
1041
- **/
1042
- BalanceLow: GenericPalletError;
1043
- /**
1044
- * The account to alter does not exist.
1045
- **/
1046
- NoAccount: GenericPalletError;
1047
- /**
1048
- * The signing account has no permission to do the operation.
1049
- **/
1050
- NoPermission: GenericPalletError;
1051
- /**
1052
- * The given asset ID is unknown.
1053
- **/
1054
- Unknown: GenericPalletError;
1055
- /**
1056
- * The origin account is frozen.
1057
- **/
1058
- Frozen: GenericPalletError;
1059
- /**
1060
- * The asset ID is already taken.
1061
- **/
1062
- InUse: GenericPalletError;
1063
- /**
1064
- * Invalid witness data given.
1065
- **/
1066
- BadWitness: GenericPalletError;
1067
- /**
1068
- * Minimum balance should be non-zero.
1069
- **/
1070
- MinBalanceZero: GenericPalletError;
1071
- /**
1072
- * Unable to increment the consumer reference counters on the account. Either no provider
1073
- * reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
1074
- * fewer then the maximum number of consumers has been reached.
1075
- **/
1076
- UnavailableConsumer: GenericPalletError;
1077
- /**
1078
- * Invalid metadata given.
1079
- **/
1080
- BadMetadata: GenericPalletError;
1081
- /**
1082
- * No approval exists that would allow the transfer.
1083
- **/
1084
- Unapproved: GenericPalletError;
1085
- /**
1086
- * The source account would not survive the transfer and it needs to stay alive.
1087
- **/
1088
- WouldDie: GenericPalletError;
1089
- /**
1090
- * The asset-account already exists.
1091
- **/
1092
- AlreadyExists: GenericPalletError;
1093
- /**
1094
- * The asset-account doesn't have an associated deposit.
1095
- **/
1096
- NoDeposit: GenericPalletError;
1097
- /**
1098
- * The operation would result in funds being burned.
1099
- **/
1100
- WouldBurn: GenericPalletError;
1101
- /**
1102
- * The asset is a live asset and is actively being used. Usually emit for operations such
1103
- * as `start_destroy` which require the asset to be in a destroying state.
1104
- **/
1105
- LiveAsset: GenericPalletError;
1106
- /**
1107
- * The asset is not live, and likely being destroyed.
1108
- **/
1109
- AssetNotLive: GenericPalletError;
1110
- /**
1111
- * The asset status is not the expected status.
1112
- **/
1113
- IncorrectStatus: GenericPalletError;
1114
- /**
1115
- * The asset should be frozen before the given operation.
1116
- **/
1117
- NotFrozen: GenericPalletError;
1118
- /**
1119
- * Callback action resulted in error
1120
- **/
1121
- CallbackFailed: GenericPalletError;
1122
- /**
1123
- * Generic pallet error
1124
- **/
1125
- [error: string]: GenericPalletError;
1126
- };
1127
- /**
1128
- * Pallet `AssetConversion`'s errors
1129
- **/
1130
- assetConversion: {
1131
- /**
1132
- * Provided asset pair is not supported for pool.
1133
- **/
1134
- InvalidAssetPair: GenericPalletError;
1135
- /**
1136
- * Pool already exists.
1137
- **/
1138
- PoolExists: GenericPalletError;
1139
- /**
1140
- * Desired amount can't be zero.
1141
- **/
1142
- WrongDesiredAmount: GenericPalletError;
1143
- /**
1144
- * Provided amount should be greater than or equal to the existential deposit/asset's
1145
- * minimal amount.
1146
- **/
1147
- AmountOneLessThanMinimal: GenericPalletError;
1148
- /**
1149
- * Provided amount should be greater than or equal to the existential deposit/asset's
1150
- * minimal amount.
1151
- **/
1152
- AmountTwoLessThanMinimal: GenericPalletError;
1153
- /**
1154
- * Reserve needs to always be greater than or equal to the existential deposit/asset's
1155
- * minimal amount.
1156
- **/
1157
- ReserveLeftLessThanMinimal: GenericPalletError;
1158
- /**
1159
- * Desired amount can't be equal to the pool reserve.
1160
- **/
1161
- AmountOutTooHigh: GenericPalletError;
1162
- /**
1163
- * The pool doesn't exist.
1164
- **/
1165
- PoolNotFound: GenericPalletError;
1166
- /**
1167
- * An overflow happened.
1168
- **/
1169
- Overflow: GenericPalletError;
1170
- /**
1171
- * The minimal amount requirement for the first token in the pair wasn't met.
1172
- **/
1173
- AssetOneDepositDidNotMeetMinimum: GenericPalletError;
1174
- /**
1175
- * The minimal amount requirement for the second token in the pair wasn't met.
1176
- **/
1177
- AssetTwoDepositDidNotMeetMinimum: GenericPalletError;
1178
- /**
1179
- * The minimal amount requirement for the first token in the pair wasn't met.
1180
- **/
1181
- AssetOneWithdrawalDidNotMeetMinimum: GenericPalletError;
1182
- /**
1183
- * The minimal amount requirement for the second token in the pair wasn't met.
1184
- **/
1185
- AssetTwoWithdrawalDidNotMeetMinimum: GenericPalletError;
1186
- /**
1187
- * Optimal calculated amount is less than desired.
1188
- **/
1189
- OptimalAmountLessThanDesired: GenericPalletError;
1190
- /**
1191
- * Insufficient liquidity minted.
1192
- **/
1193
- InsufficientLiquidityMinted: GenericPalletError;
1194
- /**
1195
- * Requested liquidity can't be zero.
1196
- **/
1197
- ZeroLiquidity: GenericPalletError;
1198
- /**
1199
- * Amount can't be zero.
1200
- **/
1201
- ZeroAmount: GenericPalletError;
1202
- /**
1203
- * Calculated amount out is less than provided minimum amount.
1204
- **/
1205
- ProvidedMinimumNotSufficientForSwap: GenericPalletError;
1206
- /**
1207
- * Provided maximum amount is not sufficient for swap.
1208
- **/
1209
- ProvidedMaximumNotSufficientForSwap: GenericPalletError;
1210
- /**
1211
- * The provided path must consists of 2 assets at least.
1212
- **/
1213
- InvalidPath: GenericPalletError;
1214
- /**
1215
- * The provided path must consists of unique assets.
1216
- **/
1217
- NonUniquePath: GenericPalletError;
1218
- /**
1219
- * It was not possible to get or increment the Id of the pool.
1220
- **/
1221
- IncorrectPoolAssetId: GenericPalletError;
1222
- /**
1223
- * The destination account cannot exist with the swapped funds.
1224
- **/
1225
- BelowMinimum: GenericPalletError;
1226
- /**
1227
- * Generic pallet error
1228
- **/
1229
- [error: string]: GenericPalletError;
1230
- };
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
+ * A multi-block migration is ongoing and prevents the current code from being replaced.
46
+ **/
47
+ MultiBlockMigrationsOngoing: GenericPalletError;
48
+
49
+ /**
50
+ * No upgrade authorized.
51
+ **/
52
+ NothingAuthorized: GenericPalletError;
53
+
54
+ /**
55
+ * The submitted code is not authorized.
56
+ **/
57
+ Unauthorized: GenericPalletError;
58
+
59
+ /**
60
+ * Generic pallet error
61
+ **/
62
+ [error: string]: GenericPalletError;
63
+ };
64
+ /**
65
+ * Pallet `ParachainSystem`'s errors
66
+ **/
67
+ parachainSystem: {
68
+ /**
69
+ * Attempt to upgrade validation function while existing upgrade pending.
70
+ **/
71
+ OverlappingUpgrades: GenericPalletError;
72
+
73
+ /**
74
+ * Polkadot currently prohibits this parachain from upgrading its validation function.
75
+ **/
76
+ ProhibitedByPolkadot: GenericPalletError;
77
+
78
+ /**
79
+ * The supplied validation function has compiled into a blob larger than Polkadot is
80
+ * willing to run.
81
+ **/
82
+ TooBig: GenericPalletError;
83
+
84
+ /**
85
+ * The inherent which supplies the validation data did not run this block.
86
+ **/
87
+ ValidationDataNotAvailable: GenericPalletError;
88
+
89
+ /**
90
+ * The inherent which supplies the host configuration did not run this block.
91
+ **/
92
+ HostConfigurationNotAvailable: GenericPalletError;
93
+
94
+ /**
95
+ * No validation function upgrade is currently scheduled.
96
+ **/
97
+ NotScheduled: GenericPalletError;
98
+
99
+ /**
100
+ * No code upgrade has been authorized.
101
+ **/
102
+ NothingAuthorized: GenericPalletError;
103
+
104
+ /**
105
+ * The given code upgrade has not been authorized.
106
+ **/
107
+ Unauthorized: GenericPalletError;
108
+
109
+ /**
110
+ * Generic pallet error
111
+ **/
112
+ [error: string]: GenericPalletError;
113
+ };
114
+ /**
115
+ * Pallet `Balances`'s errors
116
+ **/
117
+ balances: {
118
+ /**
119
+ * Vesting balance too high to send value.
120
+ **/
121
+ VestingBalance: GenericPalletError;
122
+
123
+ /**
124
+ * Account liquidity restrictions prevent withdrawal.
125
+ **/
126
+ LiquidityRestrictions: GenericPalletError;
127
+
128
+ /**
129
+ * Balance too low to send value.
130
+ **/
131
+ InsufficientBalance: GenericPalletError;
132
+
133
+ /**
134
+ * Value too low to create account due to existential deposit.
135
+ **/
136
+ ExistentialDeposit: GenericPalletError;
137
+
138
+ /**
139
+ * Transfer/payment would kill account.
140
+ **/
141
+ Expendability: GenericPalletError;
142
+
143
+ /**
144
+ * A vesting schedule already exists for this account.
145
+ **/
146
+ ExistingVestingSchedule: GenericPalletError;
147
+
148
+ /**
149
+ * Beneficiary account must pre-exist.
150
+ **/
151
+ DeadAccount: GenericPalletError;
152
+
153
+ /**
154
+ * Number of named reserves exceed `MaxReserves`.
155
+ **/
156
+ TooManyReserves: GenericPalletError;
157
+
158
+ /**
159
+ * Number of holds exceed `VariantCountOf<T::RuntimeHoldReason>`.
160
+ **/
161
+ TooManyHolds: GenericPalletError;
162
+
163
+ /**
164
+ * Number of freezes exceed `MaxFreezes`.
165
+ **/
166
+ TooManyFreezes: GenericPalletError;
167
+
168
+ /**
169
+ * The issuance cannot be modified since it is already deactivated.
170
+ **/
171
+ IssuanceDeactivated: GenericPalletError;
172
+
173
+ /**
174
+ * The delta cannot be zero.
175
+ **/
176
+ DeltaZero: GenericPalletError;
177
+
178
+ /**
179
+ * Generic pallet error
180
+ **/
181
+ [error: string]: GenericPalletError;
182
+ };
183
+ /**
184
+ * Pallet `CollatorSelection`'s errors
185
+ **/
186
+ collatorSelection: {
187
+ /**
188
+ * The pallet has too many candidates.
189
+ **/
190
+ TooManyCandidates: GenericPalletError;
191
+
192
+ /**
193
+ * Leaving would result in too few candidates.
194
+ **/
195
+ TooFewEligibleCollators: GenericPalletError;
196
+
197
+ /**
198
+ * Account is already a candidate.
199
+ **/
200
+ AlreadyCandidate: GenericPalletError;
201
+
202
+ /**
203
+ * Account is not a candidate.
204
+ **/
205
+ NotCandidate: GenericPalletError;
206
+
207
+ /**
208
+ * There are too many Invulnerables.
209
+ **/
210
+ TooManyInvulnerables: GenericPalletError;
211
+
212
+ /**
213
+ * Account is already an Invulnerable.
214
+ **/
215
+ AlreadyInvulnerable: GenericPalletError;
216
+
217
+ /**
218
+ * Account is not an Invulnerable.
219
+ **/
220
+ NotInvulnerable: GenericPalletError;
221
+
222
+ /**
223
+ * Account has no associated validator ID.
224
+ **/
225
+ NoAssociatedValidatorId: GenericPalletError;
226
+
227
+ /**
228
+ * Validator ID is not yet registered.
229
+ **/
230
+ ValidatorNotRegistered: GenericPalletError;
231
+
232
+ /**
233
+ * Could not insert in the candidate list.
234
+ **/
235
+ InsertToCandidateListFailed: GenericPalletError;
236
+
237
+ /**
238
+ * Could not remove from the candidate list.
239
+ **/
240
+ RemoveFromCandidateListFailed: GenericPalletError;
241
+
242
+ /**
243
+ * New deposit amount would be below the minimum candidacy bond.
244
+ **/
245
+ DepositTooLow: GenericPalletError;
246
+
247
+ /**
248
+ * Could not update the candidate list.
249
+ **/
250
+ UpdateCandidateListFailed: GenericPalletError;
251
+
252
+ /**
253
+ * Deposit amount is too low to take the target's slot in the candidate list.
254
+ **/
255
+ InsufficientBond: GenericPalletError;
256
+
257
+ /**
258
+ * The target account to be replaced in the candidate list is not a candidate.
259
+ **/
260
+ TargetIsNotCandidate: GenericPalletError;
261
+
262
+ /**
263
+ * The updated deposit amount is equal to the amount already reserved.
264
+ **/
265
+ IdenticalDeposit: GenericPalletError;
266
+
267
+ /**
268
+ * Cannot lower candidacy bond while occupying a future collator slot in the list.
269
+ **/
270
+ InvalidUnreserve: GenericPalletError;
271
+
272
+ /**
273
+ * Generic pallet error
274
+ **/
275
+ [error: string]: GenericPalletError;
276
+ };
277
+ /**
278
+ * Pallet `Session`'s errors
279
+ **/
280
+ session: {
281
+ /**
282
+ * Invalid ownership proof.
283
+ **/
284
+ InvalidProof: GenericPalletError;
285
+
286
+ /**
287
+ * No associated validator ID for account.
288
+ **/
289
+ NoAssociatedValidatorId: GenericPalletError;
290
+
291
+ /**
292
+ * Registered duplicate key.
293
+ **/
294
+ DuplicatedKey: GenericPalletError;
295
+
296
+ /**
297
+ * No keys are associated with this account.
298
+ **/
299
+ NoKeys: GenericPalletError;
300
+
301
+ /**
302
+ * Key setting account is not live, so it's impossible to associate keys.
303
+ **/
304
+ NoAccount: GenericPalletError;
305
+
306
+ /**
307
+ * Generic pallet error
308
+ **/
309
+ [error: string]: GenericPalletError;
310
+ };
311
+ /**
312
+ * Pallet `XcmpQueue`'s errors
313
+ **/
314
+ xcmpQueue: {
315
+ /**
316
+ * Setting the queue config failed since one of its values was invalid.
317
+ **/
318
+ BadQueueConfig: GenericPalletError;
319
+
320
+ /**
321
+ * The execution is already suspended.
322
+ **/
323
+ AlreadySuspended: GenericPalletError;
324
+
325
+ /**
326
+ * The execution is already resumed.
327
+ **/
328
+ AlreadyResumed: GenericPalletError;
329
+
330
+ /**
331
+ * Generic pallet error
332
+ **/
333
+ [error: string]: GenericPalletError;
334
+ };
335
+ /**
336
+ * Pallet `PolkadotXcm`'s errors
337
+ **/
338
+ polkadotXcm: {
339
+ /**
340
+ * The desired destination was unreachable, generally because there is a no way of routing
341
+ * to it.
342
+ **/
343
+ Unreachable: GenericPalletError;
344
+
345
+ /**
346
+ * There was some other issue (i.e. not to do with routing) in sending the message.
347
+ * Perhaps a lack of space for buffering the message.
348
+ **/
349
+ SendFailure: GenericPalletError;
350
+
351
+ /**
352
+ * The message execution fails the filter.
353
+ **/
354
+ Filtered: GenericPalletError;
355
+
356
+ /**
357
+ * The message's weight could not be determined.
358
+ **/
359
+ UnweighableMessage: GenericPalletError;
360
+
361
+ /**
362
+ * The destination `Location` provided cannot be inverted.
363
+ **/
364
+ DestinationNotInvertible: GenericPalletError;
365
+
366
+ /**
367
+ * The assets to be sent are empty.
368
+ **/
369
+ Empty: GenericPalletError;
370
+
371
+ /**
372
+ * Could not re-anchor the assets to declare the fees for the destination chain.
373
+ **/
374
+ CannotReanchor: GenericPalletError;
375
+
376
+ /**
377
+ * Too many assets have been attempted for transfer.
378
+ **/
379
+ TooManyAssets: GenericPalletError;
380
+
381
+ /**
382
+ * Origin is invalid for sending.
383
+ **/
384
+ InvalidOrigin: GenericPalletError;
385
+
386
+ /**
387
+ * The version of the `Versioned` value used is not able to be interpreted.
388
+ **/
389
+ BadVersion: GenericPalletError;
390
+
391
+ /**
392
+ * The given location could not be used (e.g. because it cannot be expressed in the
393
+ * desired version of XCM).
394
+ **/
395
+ BadLocation: GenericPalletError;
396
+
397
+ /**
398
+ * The referenced subscription could not be found.
399
+ **/
400
+ NoSubscription: GenericPalletError;
401
+
402
+ /**
403
+ * The location is invalid since it already has a subscription from us.
404
+ **/
405
+ AlreadySubscribed: GenericPalletError;
406
+
407
+ /**
408
+ * Could not check-out the assets for teleportation to the destination chain.
409
+ **/
410
+ CannotCheckOutTeleport: GenericPalletError;
411
+
412
+ /**
413
+ * The owner does not own (all) of the asset that they wish to do the operation on.
414
+ **/
415
+ LowBalance: GenericPalletError;
416
+
417
+ /**
418
+ * The asset owner has too many locks on the asset.
419
+ **/
420
+ TooManyLocks: GenericPalletError;
421
+
422
+ /**
423
+ * The given account is not an identifiable sovereign account for any location.
424
+ **/
425
+ AccountNotSovereign: GenericPalletError;
426
+
427
+ /**
428
+ * The operation required fees to be paid which the initiator could not meet.
429
+ **/
430
+ FeesNotMet: GenericPalletError;
431
+
432
+ /**
433
+ * A remote lock with the corresponding data could not be found.
434
+ **/
435
+ LockNotFound: GenericPalletError;
436
+
437
+ /**
438
+ * The unlock operation cannot succeed because there are still consumers of the lock.
439
+ **/
440
+ InUse: GenericPalletError;
441
+
442
+ /**
443
+ * Invalid non-concrete asset.
444
+ **/
445
+ InvalidAssetNotConcrete: GenericPalletError;
446
+
447
+ /**
448
+ * Invalid asset, reserve chain could not be determined for it.
449
+ **/
450
+ InvalidAssetUnknownReserve: GenericPalletError;
451
+
452
+ /**
453
+ * Invalid asset, do not support remote asset reserves with different fees reserves.
454
+ **/
455
+ InvalidAssetUnsupportedReserve: GenericPalletError;
456
+
457
+ /**
458
+ * Too many assets with different reserve locations have been attempted for transfer.
459
+ **/
460
+ TooManyReserves: GenericPalletError;
461
+
462
+ /**
463
+ * Local XCM execution incomplete.
464
+ **/
465
+ LocalExecutionIncomplete: GenericPalletError;
466
+
467
+ /**
468
+ * Generic pallet error
469
+ **/
470
+ [error: string]: GenericPalletError;
471
+ };
472
+ /**
473
+ * Pallet `MessageQueue`'s errors
474
+ **/
475
+ messageQueue: {
476
+ /**
477
+ * Page is not reapable because it has items remaining to be processed and is not old
478
+ * enough.
479
+ **/
480
+ NotReapable: GenericPalletError;
481
+
482
+ /**
483
+ * Page to be reaped does not exist.
484
+ **/
485
+ NoPage: GenericPalletError;
486
+
487
+ /**
488
+ * The referenced message could not be found.
489
+ **/
490
+ NoMessage: GenericPalletError;
491
+
492
+ /**
493
+ * The message was already processed and cannot be processed again.
494
+ **/
495
+ AlreadyProcessed: GenericPalletError;
496
+
497
+ /**
498
+ * The message is queued for future execution.
499
+ **/
500
+ Queued: GenericPalletError;
501
+
502
+ /**
503
+ * There is temporarily not enough weight to continue servicing messages.
504
+ **/
505
+ InsufficientWeight: GenericPalletError;
506
+
507
+ /**
508
+ * This message is temporarily unprocessable.
509
+ *
510
+ * Such errors are expected, but not guaranteed, to resolve themselves eventually through
511
+ * retrying.
512
+ **/
513
+ TemporarilyUnprocessable: GenericPalletError;
514
+
515
+ /**
516
+ * The queue is paused and no message can be executed from it.
517
+ *
518
+ * This can change at any time and may resolve in the future by re-trying.
519
+ **/
520
+ QueuePaused: GenericPalletError;
521
+
522
+ /**
523
+ * Another call is in progress and needs to finish before this call can happen.
524
+ **/
525
+ RecursiveDisallowed: GenericPalletError;
526
+
527
+ /**
528
+ * Generic pallet error
529
+ **/
530
+ [error: string]: GenericPalletError;
531
+ };
532
+ /**
533
+ * Pallet `Utility`'s errors
534
+ **/
535
+ utility: {
536
+ /**
537
+ * Too many calls batched.
538
+ **/
539
+ TooManyCalls: GenericPalletError;
540
+
541
+ /**
542
+ * Generic pallet error
543
+ **/
544
+ [error: string]: GenericPalletError;
545
+ };
546
+ /**
547
+ * Pallet `Multisig`'s errors
548
+ **/
549
+ multisig: {
550
+ /**
551
+ * Threshold must be 2 or greater.
552
+ **/
553
+ MinimumThreshold: GenericPalletError;
554
+
555
+ /**
556
+ * Call is already approved by this signatory.
557
+ **/
558
+ AlreadyApproved: GenericPalletError;
559
+
560
+ /**
561
+ * Call doesn't need any (more) approvals.
562
+ **/
563
+ NoApprovalsNeeded: GenericPalletError;
564
+
565
+ /**
566
+ * There are too few signatories in the list.
567
+ **/
568
+ TooFewSignatories: GenericPalletError;
569
+
570
+ /**
571
+ * There are too many signatories in the list.
572
+ **/
573
+ TooManySignatories: GenericPalletError;
574
+
575
+ /**
576
+ * The signatories were provided out of order; they should be ordered.
577
+ **/
578
+ SignatoriesOutOfOrder: GenericPalletError;
579
+
580
+ /**
581
+ * The sender was contained in the other signatories; it shouldn't be.
582
+ **/
583
+ SenderInSignatories: GenericPalletError;
584
+
585
+ /**
586
+ * Multisig operation not found when attempting to cancel.
587
+ **/
588
+ NotFound: GenericPalletError;
589
+
590
+ /**
591
+ * Only the account that originally created the multisig is able to cancel it.
592
+ **/
593
+ NotOwner: GenericPalletError;
594
+
595
+ /**
596
+ * No timepoint was given, yet the multisig operation is already underway.
597
+ **/
598
+ NoTimepoint: GenericPalletError;
599
+
600
+ /**
601
+ * A different timepoint was given to the multisig operation that is underway.
602
+ **/
603
+ WrongTimepoint: GenericPalletError;
604
+
605
+ /**
606
+ * A timepoint was given, yet no multisig operation is underway.
607
+ **/
608
+ UnexpectedTimepoint: GenericPalletError;
609
+
610
+ /**
611
+ * The maximum weight information provided was too low.
612
+ **/
613
+ MaxWeightTooLow: GenericPalletError;
614
+
615
+ /**
616
+ * The data to be stored is already stored.
617
+ **/
618
+ AlreadyStored: GenericPalletError;
619
+
620
+ /**
621
+ * Generic pallet error
622
+ **/
623
+ [error: string]: GenericPalletError;
624
+ };
625
+ /**
626
+ * Pallet `Proxy`'s errors
627
+ **/
628
+ proxy: {
629
+ /**
630
+ * There are too many proxies registered or too many announcements pending.
631
+ **/
632
+ TooMany: GenericPalletError;
633
+
634
+ /**
635
+ * Proxy registration not found.
636
+ **/
637
+ NotFound: GenericPalletError;
638
+
639
+ /**
640
+ * Sender is not a proxy of the account to be proxied.
641
+ **/
642
+ NotProxy: GenericPalletError;
643
+
644
+ /**
645
+ * A call which is incompatible with the proxy type's filter was attempted.
646
+ **/
647
+ Unproxyable: GenericPalletError;
648
+
649
+ /**
650
+ * Account is already a proxy.
651
+ **/
652
+ Duplicate: GenericPalletError;
653
+
654
+ /**
655
+ * Call may not be made by proxy because it may escalate its privileges.
656
+ **/
657
+ NoPermission: GenericPalletError;
658
+
659
+ /**
660
+ * Announcement, if made at all, was made too recently.
661
+ **/
662
+ Unannounced: GenericPalletError;
663
+
664
+ /**
665
+ * Cannot add self as proxy.
666
+ **/
667
+ NoSelfProxy: GenericPalletError;
668
+
669
+ /**
670
+ * Generic pallet error
671
+ **/
672
+ [error: string]: GenericPalletError;
673
+ };
674
+ /**
675
+ * Pallet `Assets`'s errors
676
+ **/
677
+ assets: {
678
+ /**
679
+ * Account balance must be greater than or equal to the transfer amount.
680
+ **/
681
+ BalanceLow: GenericPalletError;
682
+
683
+ /**
684
+ * The account to alter does not exist.
685
+ **/
686
+ NoAccount: GenericPalletError;
687
+
688
+ /**
689
+ * The signing account has no permission to do the operation.
690
+ **/
691
+ NoPermission: GenericPalletError;
692
+
693
+ /**
694
+ * The given asset ID is unknown.
695
+ **/
696
+ Unknown: GenericPalletError;
697
+
698
+ /**
699
+ * The origin account is frozen.
700
+ **/
701
+ Frozen: GenericPalletError;
702
+
703
+ /**
704
+ * The asset ID is already taken.
705
+ **/
706
+ InUse: GenericPalletError;
707
+
708
+ /**
709
+ * Invalid witness data given.
710
+ **/
711
+ BadWitness: GenericPalletError;
712
+
713
+ /**
714
+ * Minimum balance should be non-zero.
715
+ **/
716
+ MinBalanceZero: GenericPalletError;
717
+
718
+ /**
719
+ * Unable to increment the consumer reference counters on the account. Either no provider
720
+ * reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
721
+ * fewer then the maximum number of consumers has been reached.
722
+ **/
723
+ UnavailableConsumer: GenericPalletError;
724
+
725
+ /**
726
+ * Invalid metadata given.
727
+ **/
728
+ BadMetadata: GenericPalletError;
729
+
730
+ /**
731
+ * No approval exists that would allow the transfer.
732
+ **/
733
+ Unapproved: GenericPalletError;
734
+
735
+ /**
736
+ * The source account would not survive the transfer and it needs to stay alive.
737
+ **/
738
+ WouldDie: GenericPalletError;
739
+
740
+ /**
741
+ * The asset-account already exists.
742
+ **/
743
+ AlreadyExists: GenericPalletError;
744
+
745
+ /**
746
+ * The asset-account doesn't have an associated deposit.
747
+ **/
748
+ NoDeposit: GenericPalletError;
749
+
750
+ /**
751
+ * The operation would result in funds being burned.
752
+ **/
753
+ WouldBurn: GenericPalletError;
754
+
755
+ /**
756
+ * The asset is a live asset and is actively being used. Usually emit for operations such
757
+ * as `start_destroy` which require the asset to be in a destroying state.
758
+ **/
759
+ LiveAsset: GenericPalletError;
760
+
761
+ /**
762
+ * The asset is not live, and likely being destroyed.
763
+ **/
764
+ AssetNotLive: GenericPalletError;
765
+
766
+ /**
767
+ * The asset status is not the expected status.
768
+ **/
769
+ IncorrectStatus: GenericPalletError;
770
+
771
+ /**
772
+ * The asset should be frozen before the given operation.
773
+ **/
774
+ NotFrozen: GenericPalletError;
775
+
776
+ /**
777
+ * Callback action resulted in error
778
+ **/
779
+ CallbackFailed: GenericPalletError;
780
+
781
+ /**
782
+ * Generic pallet error
783
+ **/
784
+ [error: string]: GenericPalletError;
785
+ };
786
+ /**
787
+ * Pallet `Uniques`'s errors
788
+ **/
789
+ uniques: {
790
+ /**
791
+ * The signing account has no permission to do the operation.
792
+ **/
793
+ NoPermission: GenericPalletError;
794
+
795
+ /**
796
+ * The given item ID is unknown.
797
+ **/
798
+ UnknownCollection: GenericPalletError;
799
+
800
+ /**
801
+ * The item ID has already been used for an item.
802
+ **/
803
+ AlreadyExists: GenericPalletError;
804
+
805
+ /**
806
+ * The owner turned out to be different to what was expected.
807
+ **/
808
+ WrongOwner: GenericPalletError;
809
+
810
+ /**
811
+ * Invalid witness data given.
812
+ **/
813
+ BadWitness: GenericPalletError;
814
+
815
+ /**
816
+ * The item ID is already taken.
817
+ **/
818
+ InUse: GenericPalletError;
819
+
820
+ /**
821
+ * The item or collection is frozen.
822
+ **/
823
+ Frozen: GenericPalletError;
824
+
825
+ /**
826
+ * The delegate turned out to be different to what was expected.
827
+ **/
828
+ WrongDelegate: GenericPalletError;
829
+
830
+ /**
831
+ * There is no delegate approved.
832
+ **/
833
+ NoDelegate: GenericPalletError;
834
+
835
+ /**
836
+ * No approval exists that would allow the transfer.
837
+ **/
838
+ Unapproved: GenericPalletError;
839
+
840
+ /**
841
+ * The named owner has not signed ownership of the collection is acceptable.
842
+ **/
843
+ Unaccepted: GenericPalletError;
844
+
845
+ /**
846
+ * The item is locked.
847
+ **/
848
+ Locked: GenericPalletError;
849
+
850
+ /**
851
+ * All items have been minted.
852
+ **/
853
+ MaxSupplyReached: GenericPalletError;
854
+
855
+ /**
856
+ * The max supply has already been set.
857
+ **/
858
+ MaxSupplyAlreadySet: GenericPalletError;
859
+
860
+ /**
861
+ * The provided max supply is less to the amount of items a collection already has.
862
+ **/
863
+ MaxSupplyTooSmall: GenericPalletError;
864
+
865
+ /**
866
+ * The given item ID is unknown.
867
+ **/
868
+ UnknownItem: GenericPalletError;
869
+
870
+ /**
871
+ * Item is not for sale.
872
+ **/
873
+ NotForSale: GenericPalletError;
874
+
875
+ /**
876
+ * The provided bid is too low.
877
+ **/
878
+ BidTooLow: GenericPalletError;
879
+
880
+ /**
881
+ * Generic pallet error
882
+ **/
883
+ [error: string]: GenericPalletError;
884
+ };
885
+ /**
886
+ * Pallet `Nfts`'s errors
887
+ **/
888
+ nfts: {
889
+ /**
890
+ * The signing account has no permission to do the operation.
891
+ **/
892
+ NoPermission: GenericPalletError;
893
+
894
+ /**
895
+ * The given item ID is unknown.
896
+ **/
897
+ UnknownCollection: GenericPalletError;
898
+
899
+ /**
900
+ * The item ID has already been used for an item.
901
+ **/
902
+ AlreadyExists: GenericPalletError;
903
+
904
+ /**
905
+ * The approval had a deadline that expired, so the approval isn't valid anymore.
906
+ **/
907
+ ApprovalExpired: GenericPalletError;
908
+
909
+ /**
910
+ * The owner turned out to be different to what was expected.
911
+ **/
912
+ WrongOwner: GenericPalletError;
913
+
914
+ /**
915
+ * The witness data given does not match the current state of the chain.
916
+ **/
917
+ BadWitness: GenericPalletError;
918
+
919
+ /**
920
+ * Collection ID is already taken.
921
+ **/
922
+ CollectionIdInUse: GenericPalletError;
923
+
924
+ /**
925
+ * Items within that collection are non-transferable.
926
+ **/
927
+ ItemsNonTransferable: GenericPalletError;
928
+
929
+ /**
930
+ * The provided account is not a delegate.
931
+ **/
932
+ NotDelegate: GenericPalletError;
933
+
934
+ /**
935
+ * The delegate turned out to be different to what was expected.
936
+ **/
937
+ WrongDelegate: GenericPalletError;
938
+
939
+ /**
940
+ * No approval exists that would allow the transfer.
941
+ **/
942
+ Unapproved: GenericPalletError;
943
+
944
+ /**
945
+ * The named owner has not signed ownership acceptance of the collection.
946
+ **/
947
+ Unaccepted: GenericPalletError;
948
+
949
+ /**
950
+ * The item is locked (non-transferable).
951
+ **/
952
+ ItemLocked: GenericPalletError;
953
+
954
+ /**
955
+ * Item's attributes are locked.
956
+ **/
957
+ LockedItemAttributes: GenericPalletError;
958
+
959
+ /**
960
+ * Collection's attributes are locked.
961
+ **/
962
+ LockedCollectionAttributes: GenericPalletError;
963
+
964
+ /**
965
+ * Item's metadata is locked.
966
+ **/
967
+ LockedItemMetadata: GenericPalletError;
968
+
969
+ /**
970
+ * Collection's metadata is locked.
971
+ **/
972
+ LockedCollectionMetadata: GenericPalletError;
973
+
974
+ /**
975
+ * All items have been minted.
976
+ **/
977
+ MaxSupplyReached: GenericPalletError;
978
+
979
+ /**
980
+ * The max supply is locked and can't be changed.
981
+ **/
982
+ MaxSupplyLocked: GenericPalletError;
983
+
984
+ /**
985
+ * The provided max supply is less than the number of items a collection already has.
986
+ **/
987
+ MaxSupplyTooSmall: GenericPalletError;
988
+
989
+ /**
990
+ * The given item ID is unknown.
991
+ **/
992
+ UnknownItem: GenericPalletError;
993
+
994
+ /**
995
+ * Swap doesn't exist.
996
+ **/
997
+ UnknownSwap: GenericPalletError;
998
+
999
+ /**
1000
+ * The given item has no metadata set.
1001
+ **/
1002
+ MetadataNotFound: GenericPalletError;
1003
+
1004
+ /**
1005
+ * The provided attribute can't be found.
1006
+ **/
1007
+ AttributeNotFound: GenericPalletError;
1008
+
1009
+ /**
1010
+ * Item is not for sale.
1011
+ **/
1012
+ NotForSale: GenericPalletError;
1013
+
1014
+ /**
1015
+ * The provided bid is too low.
1016
+ **/
1017
+ BidTooLow: GenericPalletError;
1018
+
1019
+ /**
1020
+ * The item has reached its approval limit.
1021
+ **/
1022
+ ReachedApprovalLimit: GenericPalletError;
1023
+
1024
+ /**
1025
+ * The deadline has already expired.
1026
+ **/
1027
+ DeadlineExpired: GenericPalletError;
1028
+
1029
+ /**
1030
+ * The duration provided should be less than or equal to `MaxDeadlineDuration`.
1031
+ **/
1032
+ WrongDuration: GenericPalletError;
1033
+
1034
+ /**
1035
+ * The method is disabled by system settings.
1036
+ **/
1037
+ MethodDisabled: GenericPalletError;
1038
+
1039
+ /**
1040
+ * The provided setting can't be set.
1041
+ **/
1042
+ WrongSetting: GenericPalletError;
1043
+
1044
+ /**
1045
+ * Item's config already exists and should be equal to the provided one.
1046
+ **/
1047
+ InconsistentItemConfig: GenericPalletError;
1048
+
1049
+ /**
1050
+ * Config for a collection or an item can't be found.
1051
+ **/
1052
+ NoConfig: GenericPalletError;
1053
+
1054
+ /**
1055
+ * Some roles were not cleared.
1056
+ **/
1057
+ RolesNotCleared: GenericPalletError;
1058
+
1059
+ /**
1060
+ * Mint has not started yet.
1061
+ **/
1062
+ MintNotStarted: GenericPalletError;
1063
+
1064
+ /**
1065
+ * Mint has already ended.
1066
+ **/
1067
+ MintEnded: GenericPalletError;
1068
+
1069
+ /**
1070
+ * The provided Item was already used for claiming.
1071
+ **/
1072
+ AlreadyClaimed: GenericPalletError;
1073
+
1074
+ /**
1075
+ * The provided data is incorrect.
1076
+ **/
1077
+ IncorrectData: GenericPalletError;
1078
+
1079
+ /**
1080
+ * The extrinsic was sent by the wrong origin.
1081
+ **/
1082
+ WrongOrigin: GenericPalletError;
1083
+
1084
+ /**
1085
+ * The provided signature is incorrect.
1086
+ **/
1087
+ WrongSignature: GenericPalletError;
1088
+
1089
+ /**
1090
+ * The provided metadata might be too long.
1091
+ **/
1092
+ IncorrectMetadata: GenericPalletError;
1093
+
1094
+ /**
1095
+ * Can't set more attributes per one call.
1096
+ **/
1097
+ MaxAttributesLimitReached: GenericPalletError;
1098
+
1099
+ /**
1100
+ * The provided namespace isn't supported in this call.
1101
+ **/
1102
+ WrongNamespace: GenericPalletError;
1103
+
1104
+ /**
1105
+ * Can't delete non-empty collections.
1106
+ **/
1107
+ CollectionNotEmpty: GenericPalletError;
1108
+
1109
+ /**
1110
+ * The witness data should be provided.
1111
+ **/
1112
+ WitnessRequired: GenericPalletError;
1113
+
1114
+ /**
1115
+ * Generic pallet error
1116
+ **/
1117
+ [error: string]: GenericPalletError;
1118
+ };
1119
+ /**
1120
+ * Pallet `ForeignAssets`'s errors
1121
+ **/
1122
+ foreignAssets: {
1123
+ /**
1124
+ * Account balance must be greater than or equal to the transfer amount.
1125
+ **/
1126
+ BalanceLow: GenericPalletError;
1127
+
1128
+ /**
1129
+ * The account to alter does not exist.
1130
+ **/
1131
+ NoAccount: GenericPalletError;
1132
+
1133
+ /**
1134
+ * The signing account has no permission to do the operation.
1135
+ **/
1136
+ NoPermission: GenericPalletError;
1137
+
1138
+ /**
1139
+ * The given asset ID is unknown.
1140
+ **/
1141
+ Unknown: GenericPalletError;
1142
+
1143
+ /**
1144
+ * The origin account is frozen.
1145
+ **/
1146
+ Frozen: GenericPalletError;
1147
+
1148
+ /**
1149
+ * The asset ID is already taken.
1150
+ **/
1151
+ InUse: GenericPalletError;
1152
+
1153
+ /**
1154
+ * Invalid witness data given.
1155
+ **/
1156
+ BadWitness: GenericPalletError;
1157
+
1158
+ /**
1159
+ * Minimum balance should be non-zero.
1160
+ **/
1161
+ MinBalanceZero: GenericPalletError;
1162
+
1163
+ /**
1164
+ * Unable to increment the consumer reference counters on the account. Either no provider
1165
+ * reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
1166
+ * fewer then the maximum number of consumers has been reached.
1167
+ **/
1168
+ UnavailableConsumer: GenericPalletError;
1169
+
1170
+ /**
1171
+ * Invalid metadata given.
1172
+ **/
1173
+ BadMetadata: GenericPalletError;
1174
+
1175
+ /**
1176
+ * No approval exists that would allow the transfer.
1177
+ **/
1178
+ Unapproved: GenericPalletError;
1179
+
1180
+ /**
1181
+ * The source account would not survive the transfer and it needs to stay alive.
1182
+ **/
1183
+ WouldDie: GenericPalletError;
1184
+
1185
+ /**
1186
+ * The asset-account already exists.
1187
+ **/
1188
+ AlreadyExists: GenericPalletError;
1189
+
1190
+ /**
1191
+ * The asset-account doesn't have an associated deposit.
1192
+ **/
1193
+ NoDeposit: GenericPalletError;
1194
+
1195
+ /**
1196
+ * The operation would result in funds being burned.
1197
+ **/
1198
+ WouldBurn: GenericPalletError;
1199
+
1200
+ /**
1201
+ * The asset is a live asset and is actively being used. Usually emit for operations such
1202
+ * as `start_destroy` which require the asset to be in a destroying state.
1203
+ **/
1204
+ LiveAsset: GenericPalletError;
1205
+
1206
+ /**
1207
+ * The asset is not live, and likely being destroyed.
1208
+ **/
1209
+ AssetNotLive: GenericPalletError;
1210
+
1211
+ /**
1212
+ * The asset status is not the expected status.
1213
+ **/
1214
+ IncorrectStatus: GenericPalletError;
1215
+
1216
+ /**
1217
+ * The asset should be frozen before the given operation.
1218
+ **/
1219
+ NotFrozen: GenericPalletError;
1220
+
1221
+ /**
1222
+ * Callback action resulted in error
1223
+ **/
1224
+ CallbackFailed: GenericPalletError;
1225
+
1226
+ /**
1227
+ * Generic pallet error
1228
+ **/
1229
+ [error: string]: GenericPalletError;
1230
+ };
1231
+ /**
1232
+ * Pallet `NftFractionalization`'s errors
1233
+ **/
1234
+ nftFractionalization: {
1235
+ /**
1236
+ * Asset ID does not correspond to locked NFT.
1237
+ **/
1238
+ IncorrectAssetId: GenericPalletError;
1239
+
1240
+ /**
1241
+ * The signing account has no permission to do the operation.
1242
+ **/
1243
+ NoPermission: GenericPalletError;
1244
+
1245
+ /**
1246
+ * NFT doesn't exist.
1247
+ **/
1248
+ NftNotFound: GenericPalletError;
1249
+
1250
+ /**
1251
+ * NFT has not yet been fractionalised.
1252
+ **/
1253
+ NftNotFractionalized: GenericPalletError;
1254
+
1255
+ /**
1256
+ * Generic pallet error
1257
+ **/
1258
+ [error: string]: GenericPalletError;
1259
+ };
1260
+ /**
1261
+ * Pallet `PoolAssets`'s errors
1262
+ **/
1263
+ poolAssets: {
1264
+ /**
1265
+ * Account balance must be greater than or equal to the transfer amount.
1266
+ **/
1267
+ BalanceLow: GenericPalletError;
1268
+
1269
+ /**
1270
+ * The account to alter does not exist.
1271
+ **/
1272
+ NoAccount: GenericPalletError;
1273
+
1274
+ /**
1275
+ * The signing account has no permission to do the operation.
1276
+ **/
1277
+ NoPermission: GenericPalletError;
1278
+
1279
+ /**
1280
+ * The given asset ID is unknown.
1281
+ **/
1282
+ Unknown: GenericPalletError;
1283
+
1284
+ /**
1285
+ * The origin account is frozen.
1286
+ **/
1287
+ Frozen: GenericPalletError;
1288
+
1289
+ /**
1290
+ * The asset ID is already taken.
1291
+ **/
1292
+ InUse: GenericPalletError;
1293
+
1294
+ /**
1295
+ * Invalid witness data given.
1296
+ **/
1297
+ BadWitness: GenericPalletError;
1298
+
1299
+ /**
1300
+ * Minimum balance should be non-zero.
1301
+ **/
1302
+ MinBalanceZero: GenericPalletError;
1303
+
1304
+ /**
1305
+ * Unable to increment the consumer reference counters on the account. Either no provider
1306
+ * reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
1307
+ * fewer then the maximum number of consumers has been reached.
1308
+ **/
1309
+ UnavailableConsumer: GenericPalletError;
1310
+
1311
+ /**
1312
+ * Invalid metadata given.
1313
+ **/
1314
+ BadMetadata: GenericPalletError;
1315
+
1316
+ /**
1317
+ * No approval exists that would allow the transfer.
1318
+ **/
1319
+ Unapproved: GenericPalletError;
1320
+
1321
+ /**
1322
+ * The source account would not survive the transfer and it needs to stay alive.
1323
+ **/
1324
+ WouldDie: GenericPalletError;
1325
+
1326
+ /**
1327
+ * The asset-account already exists.
1328
+ **/
1329
+ AlreadyExists: GenericPalletError;
1330
+
1331
+ /**
1332
+ * The asset-account doesn't have an associated deposit.
1333
+ **/
1334
+ NoDeposit: GenericPalletError;
1335
+
1336
+ /**
1337
+ * The operation would result in funds being burned.
1338
+ **/
1339
+ WouldBurn: GenericPalletError;
1340
+
1341
+ /**
1342
+ * The asset is a live asset and is actively being used. Usually emit for operations such
1343
+ * as `start_destroy` which require the asset to be in a destroying state.
1344
+ **/
1345
+ LiveAsset: GenericPalletError;
1346
+
1347
+ /**
1348
+ * The asset is not live, and likely being destroyed.
1349
+ **/
1350
+ AssetNotLive: GenericPalletError;
1351
+
1352
+ /**
1353
+ * The asset status is not the expected status.
1354
+ **/
1355
+ IncorrectStatus: GenericPalletError;
1356
+
1357
+ /**
1358
+ * The asset should be frozen before the given operation.
1359
+ **/
1360
+ NotFrozen: GenericPalletError;
1361
+
1362
+ /**
1363
+ * Callback action resulted in error
1364
+ **/
1365
+ CallbackFailed: GenericPalletError;
1366
+
1367
+ /**
1368
+ * Generic pallet error
1369
+ **/
1370
+ [error: string]: GenericPalletError;
1371
+ };
1372
+ /**
1373
+ * Pallet `AssetConversion`'s errors
1374
+ **/
1375
+ assetConversion: {
1376
+ /**
1377
+ * Provided asset pair is not supported for pool.
1378
+ **/
1379
+ InvalidAssetPair: GenericPalletError;
1380
+
1381
+ /**
1382
+ * Pool already exists.
1383
+ **/
1384
+ PoolExists: GenericPalletError;
1385
+
1386
+ /**
1387
+ * Desired amount can't be zero.
1388
+ **/
1389
+ WrongDesiredAmount: GenericPalletError;
1390
+
1391
+ /**
1392
+ * Provided amount should be greater than or equal to the existential deposit/asset's
1393
+ * minimal amount.
1394
+ **/
1395
+ AmountOneLessThanMinimal: GenericPalletError;
1396
+
1397
+ /**
1398
+ * Provided amount should be greater than or equal to the existential deposit/asset's
1399
+ * minimal amount.
1400
+ **/
1401
+ AmountTwoLessThanMinimal: GenericPalletError;
1402
+
1403
+ /**
1404
+ * Reserve needs to always be greater than or equal to the existential deposit/asset's
1405
+ * minimal amount.
1406
+ **/
1407
+ ReserveLeftLessThanMinimal: GenericPalletError;
1408
+
1409
+ /**
1410
+ * Desired amount can't be equal to the pool reserve.
1411
+ **/
1412
+ AmountOutTooHigh: GenericPalletError;
1413
+
1414
+ /**
1415
+ * The pool doesn't exist.
1416
+ **/
1417
+ PoolNotFound: GenericPalletError;
1418
+
1419
+ /**
1420
+ * An overflow happened.
1421
+ **/
1422
+ Overflow: GenericPalletError;
1423
+
1424
+ /**
1425
+ * The minimal amount requirement for the first token in the pair wasn't met.
1426
+ **/
1427
+ AssetOneDepositDidNotMeetMinimum: GenericPalletError;
1428
+
1429
+ /**
1430
+ * The minimal amount requirement for the second token in the pair wasn't met.
1431
+ **/
1432
+ AssetTwoDepositDidNotMeetMinimum: GenericPalletError;
1433
+
1434
+ /**
1435
+ * The minimal amount requirement for the first token in the pair wasn't met.
1436
+ **/
1437
+ AssetOneWithdrawalDidNotMeetMinimum: GenericPalletError;
1438
+
1439
+ /**
1440
+ * The minimal amount requirement for the second token in the pair wasn't met.
1441
+ **/
1442
+ AssetTwoWithdrawalDidNotMeetMinimum: GenericPalletError;
1443
+
1444
+ /**
1445
+ * Optimal calculated amount is less than desired.
1446
+ **/
1447
+ OptimalAmountLessThanDesired: GenericPalletError;
1448
+
1449
+ /**
1450
+ * Insufficient liquidity minted.
1451
+ **/
1452
+ InsufficientLiquidityMinted: GenericPalletError;
1453
+
1454
+ /**
1455
+ * Requested liquidity can't be zero.
1456
+ **/
1457
+ ZeroLiquidity: GenericPalletError;
1458
+
1459
+ /**
1460
+ * Amount can't be zero.
1461
+ **/
1462
+ ZeroAmount: GenericPalletError;
1463
+
1464
+ /**
1465
+ * Calculated amount out is less than provided minimum amount.
1466
+ **/
1467
+ ProvidedMinimumNotSufficientForSwap: GenericPalletError;
1468
+
1469
+ /**
1470
+ * Provided maximum amount is not sufficient for swap.
1471
+ **/
1472
+ ProvidedMaximumNotSufficientForSwap: GenericPalletError;
1473
+
1474
+ /**
1475
+ * The provided path must consists of 2 assets at least.
1476
+ **/
1477
+ InvalidPath: GenericPalletError;
1478
+
1479
+ /**
1480
+ * The provided path must consists of unique assets.
1481
+ **/
1482
+ NonUniquePath: GenericPalletError;
1483
+
1484
+ /**
1485
+ * It was not possible to get or increment the Id of the pool.
1486
+ **/
1487
+ IncorrectPoolAssetId: GenericPalletError;
1488
+
1489
+ /**
1490
+ * The destination account cannot exist with the swapped funds.
1491
+ **/
1492
+ BelowMinimum: GenericPalletError;
1493
+
1494
+ /**
1495
+ * Generic pallet error
1496
+ **/
1497
+ [error: string]: GenericPalletError;
1498
+ };
1231
1499
  }