@ledgerhq/cryptoassets 8.0.0 → 9.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (292) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/README.md +2 -2
  3. package/lib/abandonseed.d.ts.map +1 -1
  4. package/lib/abandonseed.js +3 -1
  5. package/lib/abandonseed.js.map +1 -1
  6. package/lib/currencies.d.ts +3 -3
  7. package/lib/currencies.d.ts.map +1 -1
  8. package/lib/currencies.js +174 -156
  9. package/lib/currencies.js.map +1 -1
  10. package/lib/currencies.test.js +1 -1
  11. package/lib/currencies.test.js.map +1 -1
  12. package/lib/data/bep20.d.ts.map +1 -1
  13. package/lib/data/bep20.js +8 -2
  14. package/lib/data/bep20.js.map +1 -1
  15. package/lib/data/erc20-signatures.d.ts +1 -1
  16. package/lib/data/erc20-signatures.d.ts.map +1 -1
  17. package/lib/data/erc20-signatures.js +1 -1
  18. package/lib/data/erc20-signatures.js.map +1 -1
  19. package/lib/data/erc20.d.ts.map +1 -1
  20. package/lib/data/erc20.js +23 -7
  21. package/lib/data/erc20.js.map +1 -1
  22. package/lib/data/evm/1/erc20-signatures.json +1 -0
  23. package/lib/data/evm/1/erc20.json +1 -0
  24. package/lib/data/evm/1/index.d.ts +6 -0
  25. package/lib/data/evm/1/index.d.ts.map +1 -0
  26. package/lib/data/evm/1/index.js +9 -0
  27. package/lib/data/evm/1/index.js.map +1 -0
  28. package/lib/data/evm/10/erc20-signatures.json +1 -0
  29. package/lib/data/evm/10/erc20.json +1 -0
  30. package/lib/data/evm/10/index.d.ts +6 -0
  31. package/lib/data/evm/10/index.d.ts.map +1 -0
  32. package/lib/data/evm/10/index.js +9 -0
  33. package/lib/data/evm/10/index.js.map +1 -0
  34. package/lib/data/evm/11155111/erc20-signatures.json +1 -0
  35. package/lib/data/evm/11155111/erc20.json +1 -0
  36. package/lib/data/evm/11155111/index.d.ts +6 -0
  37. package/lib/data/evm/11155111/index.d.ts.map +1 -0
  38. package/lib/data/evm/11155111/index.js +9 -0
  39. package/lib/data/evm/11155111/index.js.map +1 -0
  40. package/lib/data/evm/1284/erc20-signatures.json +1 -0
  41. package/lib/data/evm/1284/erc20.json +1 -0
  42. package/lib/data/evm/1284/index.d.ts +6 -0
  43. package/lib/data/evm/1284/index.d.ts.map +1 -0
  44. package/lib/data/evm/1284/index.js +9 -0
  45. package/lib/data/evm/1284/index.js.map +1 -0
  46. package/lib/data/evm/137/erc20-signatures.json +1 -0
  47. package/lib/data/evm/137/erc20.json +1 -0
  48. package/lib/data/evm/137/index.d.ts +6 -0
  49. package/lib/data/evm/137/index.d.ts.map +1 -0
  50. package/lib/data/evm/137/index.js +9 -0
  51. package/lib/data/evm/137/index.js.map +1 -0
  52. package/lib/data/evm/14/erc20-signatures.json +1 -0
  53. package/lib/data/evm/14/erc20.json +1 -0
  54. package/lib/data/evm/14/index.d.ts +6 -0
  55. package/lib/data/evm/14/index.d.ts.map +1 -0
  56. package/lib/data/evm/14/index.js +9 -0
  57. package/lib/data/evm/14/index.js.map +1 -0
  58. package/lib/data/evm/19/erc20-signatures.json +1 -0
  59. package/lib/data/evm/19/erc20.json +1 -0
  60. package/lib/data/evm/19/index.d.ts +6 -0
  61. package/lib/data/evm/19/index.d.ts.map +1 -0
  62. package/lib/data/evm/19/index.js +9 -0
  63. package/lib/data/evm/19/index.js.map +1 -0
  64. package/lib/data/evm/25/erc20-signatures.json +1 -0
  65. package/lib/data/evm/25/erc20.json +1 -0
  66. package/lib/data/evm/25/index.d.ts +6 -0
  67. package/lib/data/evm/25/index.d.ts.map +1 -0
  68. package/lib/data/evm/25/index.js +9 -0
  69. package/lib/data/evm/25/index.js.map +1 -0
  70. package/lib/data/evm/250/erc20-signatures.json +1 -0
  71. package/lib/data/evm/250/erc20.json +1 -0
  72. package/lib/data/evm/250/index.d.ts +6 -0
  73. package/lib/data/evm/250/index.d.ts.map +1 -0
  74. package/lib/data/evm/250/index.js +9 -0
  75. package/lib/data/evm/250/index.js.map +1 -0
  76. package/lib/data/evm/3/erc20-signatures.json +1 -0
  77. package/lib/data/evm/3/erc20.json +1 -0
  78. package/lib/data/evm/3/index.d.ts +6 -0
  79. package/lib/data/evm/3/index.d.ts.map +1 -0
  80. package/lib/data/evm/3/index.js +9 -0
  81. package/lib/data/evm/3/index.js.map +1 -0
  82. package/lib/data/evm/4/erc20-signatures.json +1 -0
  83. package/lib/data/evm/4/erc20.json +1 -0
  84. package/lib/data/evm/4/index.d.ts +6 -0
  85. package/lib/data/evm/4/index.d.ts.map +1 -0
  86. package/lib/data/evm/4/index.js +9 -0
  87. package/lib/data/evm/4/index.js.map +1 -0
  88. package/lib/data/evm/42161/erc20-signatures.json +1 -0
  89. package/lib/data/evm/42161/erc20.json +1 -0
  90. package/lib/data/evm/42161/index.d.ts +6 -0
  91. package/lib/data/evm/42161/index.d.ts.map +1 -0
  92. package/lib/data/evm/42161/index.js +9 -0
  93. package/lib/data/evm/42161/index.js.map +1 -0
  94. package/lib/data/evm/5/erc20-signatures.json +1 -0
  95. package/lib/data/evm/5/erc20.json +1 -0
  96. package/lib/data/evm/5/index.d.ts +6 -0
  97. package/lib/data/evm/5/index.d.ts.map +1 -0
  98. package/lib/data/evm/5/index.js +9 -0
  99. package/lib/data/evm/5/index.js.map +1 -0
  100. package/lib/data/evm/56/erc20-signatures.json +1 -0
  101. package/lib/data/evm/56/erc20.json +1 -0
  102. package/lib/data/evm/56/index.d.ts +6 -0
  103. package/lib/data/evm/56/index.d.ts.map +1 -0
  104. package/lib/data/evm/56/index.js +9 -0
  105. package/lib/data/evm/56/index.js.map +1 -0
  106. package/lib/data/evm/index.d.ts +68 -0
  107. package/lib/data/evm/index.d.ts.map +1 -0
  108. package/lib/data/evm/index.js +71 -0
  109. package/lib/data/evm/index.js.map +1 -0
  110. package/lib/data/exchange/bep20.d.ts.map +1 -1
  111. package/lib/data/exchange/bep20.js +8 -2
  112. package/lib/data/exchange/bep20.js.map +1 -1
  113. package/lib/data/exchange/erc20.d.ts.map +1 -1
  114. package/lib/data/exchange/erc20.js +18 -2
  115. package/lib/data/exchange/erc20.js.map +1 -1
  116. package/lib/data/polygon-erc20.d.ts.map +1 -1
  117. package/lib/data/polygon-erc20.js +7 -0
  118. package/lib/data/polygon-erc20.js.map +1 -1
  119. package/lib/types.d.ts +0 -2
  120. package/lib/types.d.ts.map +1 -1
  121. package/lib-es/abandonseed.d.ts.map +1 -1
  122. package/lib-es/abandonseed.js +3 -1
  123. package/lib-es/abandonseed.js.map +1 -1
  124. package/lib-es/currencies.d.ts +3 -3
  125. package/lib-es/currencies.d.ts.map +1 -1
  126. package/lib-es/currencies.js +174 -156
  127. package/lib-es/currencies.js.map +1 -1
  128. package/lib-es/currencies.test.js +1 -1
  129. package/lib-es/currencies.test.js.map +1 -1
  130. package/lib-es/data/bep20.d.ts.map +1 -1
  131. package/lib-es/data/bep20.js +8 -2
  132. package/lib-es/data/bep20.js.map +1 -1
  133. package/lib-es/data/erc20-signatures.d.ts +1 -1
  134. package/lib-es/data/erc20-signatures.d.ts.map +1 -1
  135. package/lib-es/data/erc20-signatures.js +1 -1
  136. package/lib-es/data/erc20-signatures.js.map +1 -1
  137. package/lib-es/data/erc20.d.ts.map +1 -1
  138. package/lib-es/data/erc20.js +23 -7
  139. package/lib-es/data/erc20.js.map +1 -1
  140. package/lib-es/data/evm/1/erc20-signatures.json +1 -0
  141. package/lib-es/data/evm/1/erc20.json +1 -0
  142. package/lib-es/data/evm/1/index.d.ts +6 -0
  143. package/lib-es/data/evm/1/index.d.ts.map +1 -0
  144. package/lib-es/data/evm/1/index.js +4 -0
  145. package/lib-es/data/evm/1/index.js.map +1 -0
  146. package/lib-es/data/evm/10/erc20-signatures.json +1 -0
  147. package/lib-es/data/evm/10/erc20.json +1 -0
  148. package/lib-es/data/evm/10/index.d.ts +6 -0
  149. package/lib-es/data/evm/10/index.d.ts.map +1 -0
  150. package/lib-es/data/evm/10/index.js +4 -0
  151. package/lib-es/data/evm/10/index.js.map +1 -0
  152. package/lib-es/data/evm/11155111/erc20-signatures.json +1 -0
  153. package/lib-es/data/evm/11155111/erc20.json +1 -0
  154. package/lib-es/data/evm/11155111/index.d.ts +6 -0
  155. package/lib-es/data/evm/11155111/index.d.ts.map +1 -0
  156. package/lib-es/data/evm/11155111/index.js +4 -0
  157. package/lib-es/data/evm/11155111/index.js.map +1 -0
  158. package/lib-es/data/evm/1284/erc20-signatures.json +1 -0
  159. package/lib-es/data/evm/1284/erc20.json +1 -0
  160. package/lib-es/data/evm/1284/index.d.ts +6 -0
  161. package/lib-es/data/evm/1284/index.d.ts.map +1 -0
  162. package/lib-es/data/evm/1284/index.js +4 -0
  163. package/lib-es/data/evm/1284/index.js.map +1 -0
  164. package/lib-es/data/evm/137/erc20-signatures.json +1 -0
  165. package/lib-es/data/evm/137/erc20.json +1 -0
  166. package/lib-es/data/evm/137/index.d.ts +6 -0
  167. package/lib-es/data/evm/137/index.d.ts.map +1 -0
  168. package/lib-es/data/evm/137/index.js +4 -0
  169. package/lib-es/data/evm/137/index.js.map +1 -0
  170. package/lib-es/data/evm/14/erc20-signatures.json +1 -0
  171. package/lib-es/data/evm/14/erc20.json +1 -0
  172. package/lib-es/data/evm/14/index.d.ts +6 -0
  173. package/lib-es/data/evm/14/index.d.ts.map +1 -0
  174. package/lib-es/data/evm/14/index.js +4 -0
  175. package/lib-es/data/evm/14/index.js.map +1 -0
  176. package/lib-es/data/evm/19/erc20-signatures.json +1 -0
  177. package/lib-es/data/evm/19/erc20.json +1 -0
  178. package/lib-es/data/evm/19/index.d.ts +6 -0
  179. package/lib-es/data/evm/19/index.d.ts.map +1 -0
  180. package/lib-es/data/evm/19/index.js +4 -0
  181. package/lib-es/data/evm/19/index.js.map +1 -0
  182. package/lib-es/data/evm/25/erc20-signatures.json +1 -0
  183. package/lib-es/data/evm/25/erc20.json +1 -0
  184. package/lib-es/data/evm/25/index.d.ts +6 -0
  185. package/lib-es/data/evm/25/index.d.ts.map +1 -0
  186. package/lib-es/data/evm/25/index.js +4 -0
  187. package/lib-es/data/evm/25/index.js.map +1 -0
  188. package/lib-es/data/evm/250/erc20-signatures.json +1 -0
  189. package/lib-es/data/evm/250/erc20.json +1 -0
  190. package/lib-es/data/evm/250/index.d.ts +6 -0
  191. package/lib-es/data/evm/250/index.d.ts.map +1 -0
  192. package/lib-es/data/evm/250/index.js +4 -0
  193. package/lib-es/data/evm/250/index.js.map +1 -0
  194. package/lib-es/data/evm/3/erc20-signatures.json +1 -0
  195. package/lib-es/data/evm/3/erc20.json +1 -0
  196. package/lib-es/data/evm/3/index.d.ts +6 -0
  197. package/lib-es/data/evm/3/index.d.ts.map +1 -0
  198. package/lib-es/data/evm/3/index.js +4 -0
  199. package/lib-es/data/evm/3/index.js.map +1 -0
  200. package/lib-es/data/evm/4/erc20-signatures.json +1 -0
  201. package/lib-es/data/evm/4/erc20.json +1 -0
  202. package/lib-es/data/evm/4/index.d.ts +6 -0
  203. package/lib-es/data/evm/4/index.d.ts.map +1 -0
  204. package/lib-es/data/evm/4/index.js +4 -0
  205. package/lib-es/data/evm/4/index.js.map +1 -0
  206. package/lib-es/data/evm/42161/erc20-signatures.json +1 -0
  207. package/lib-es/data/evm/42161/erc20.json +1 -0
  208. package/lib-es/data/evm/42161/index.d.ts +6 -0
  209. package/lib-es/data/evm/42161/index.d.ts.map +1 -0
  210. package/lib-es/data/evm/42161/index.js +4 -0
  211. package/lib-es/data/evm/42161/index.js.map +1 -0
  212. package/lib-es/data/evm/5/erc20-signatures.json +1 -0
  213. package/lib-es/data/evm/5/erc20.json +1 -0
  214. package/lib-es/data/evm/5/index.d.ts +6 -0
  215. package/lib-es/data/evm/5/index.d.ts.map +1 -0
  216. package/lib-es/data/evm/5/index.js +4 -0
  217. package/lib-es/data/evm/5/index.js.map +1 -0
  218. package/lib-es/data/evm/56/erc20-signatures.json +1 -0
  219. package/lib-es/data/evm/56/erc20.json +1 -0
  220. package/lib-es/data/evm/56/index.d.ts +6 -0
  221. package/lib-es/data/evm/56/index.d.ts.map +1 -0
  222. package/lib-es/data/evm/56/index.js +4 -0
  223. package/lib-es/data/evm/56/index.js.map +1 -0
  224. package/lib-es/data/evm/index.d.ts +68 -0
  225. package/lib-es/data/evm/index.d.ts.map +1 -0
  226. package/lib-es/data/evm/index.js +65 -0
  227. package/lib-es/data/evm/index.js.map +1 -0
  228. package/lib-es/data/exchange/bep20.d.ts.map +1 -1
  229. package/lib-es/data/exchange/bep20.js +8 -2
  230. package/lib-es/data/exchange/bep20.js.map +1 -1
  231. package/lib-es/data/exchange/erc20.d.ts.map +1 -1
  232. package/lib-es/data/exchange/erc20.js +18 -2
  233. package/lib-es/data/exchange/erc20.js.map +1 -1
  234. package/lib-es/data/polygon-erc20.d.ts.map +1 -1
  235. package/lib-es/data/polygon-erc20.js +7 -0
  236. package/lib-es/data/polygon-erc20.js.map +1 -1
  237. package/lib-es/types.d.ts +0 -2
  238. package/lib-es/types.d.ts.map +1 -1
  239. package/package.json +1 -16
  240. package/src/abandonseed.ts +7 -3
  241. package/src/currencies.test.ts +1 -1
  242. package/src/currencies.ts +166 -157
  243. package/src/data/bep20.ts +8 -2
  244. package/src/data/erc20-signatures.ts +1 -1
  245. package/src/data/erc20.ts +23 -7
  246. package/src/data/evm/1/erc20-signatures.json +1 -0
  247. package/src/data/evm/1/erc20.json +1 -0
  248. package/src/data/evm/1/index.ts +3 -0
  249. package/src/data/evm/10/erc20-signatures.json +1 -0
  250. package/src/data/evm/10/erc20.json +1 -0
  251. package/src/data/evm/10/index.ts +3 -0
  252. package/src/data/evm/11155111/erc20-signatures.json +1 -0
  253. package/src/data/evm/11155111/erc20.json +1 -0
  254. package/src/data/evm/11155111/index.ts +3 -0
  255. package/src/data/evm/1284/erc20-signatures.json +1 -0
  256. package/src/data/evm/1284/erc20.json +1 -0
  257. package/src/data/evm/1284/index.ts +3 -0
  258. package/src/data/evm/137/erc20-signatures.json +1 -0
  259. package/src/data/evm/137/erc20.json +1 -0
  260. package/src/data/evm/137/index.ts +3 -0
  261. package/src/data/evm/14/erc20-signatures.json +1 -0
  262. package/src/data/evm/14/erc20.json +1 -0
  263. package/src/data/evm/14/index.ts +3 -0
  264. package/src/data/evm/19/erc20-signatures.json +1 -0
  265. package/src/data/evm/19/erc20.json +1 -0
  266. package/src/data/evm/19/index.ts +3 -0
  267. package/src/data/evm/25/erc20-signatures.json +1 -0
  268. package/src/data/evm/25/erc20.json +1 -0
  269. package/src/data/evm/25/index.ts +3 -0
  270. package/src/data/evm/250/erc20-signatures.json +1 -0
  271. package/src/data/evm/250/erc20.json +1 -0
  272. package/src/data/evm/250/index.ts +3 -0
  273. package/src/data/evm/3/erc20-signatures.json +1 -0
  274. package/src/data/evm/3/erc20.json +1 -0
  275. package/src/data/evm/3/index.ts +3 -0
  276. package/src/data/evm/4/erc20-signatures.json +1 -0
  277. package/src/data/evm/4/erc20.json +1 -0
  278. package/src/data/evm/4/index.ts +3 -0
  279. package/src/data/evm/42161/erc20-signatures.json +1 -0
  280. package/src/data/evm/42161/erc20.json +1 -0
  281. package/src/data/evm/42161/index.ts +3 -0
  282. package/src/data/evm/5/erc20-signatures.json +1 -0
  283. package/src/data/evm/5/erc20.json +1 -0
  284. package/src/data/evm/5/index.ts +3 -0
  285. package/src/data/evm/56/erc20-signatures.json +1 -0
  286. package/src/data/evm/56/erc20.json +1 -0
  287. package/src/data/evm/56/index.ts +3 -0
  288. package/src/data/evm/index.ts +67 -0
  289. package/src/data/exchange/bep20.ts +8 -2
  290. package/src/data/exchange/erc20.ts +18 -2
  291. package/src/data/polygon-erc20.ts +7 -0
  292. package/src/types.ts +0 -5
package/src/currencies.ts CHANGED
@@ -21,7 +21,12 @@
21
21
  * if bitcoin family, supportsSegwit defines if it supports segwit.
22
22
  */
23
23
 
24
- import type { CryptoCurrency, Unit } from "@ledgerhq/types-cryptoassets";
24
+ import {
25
+ CryptoCurrency,
26
+ CoinType,
27
+ Unit,
28
+ CryptoCurrencyId,
29
+ } from "@ledgerhq/types-cryptoassets";
25
30
 
26
31
  const makeTestnetUnit = (u) => ({ ...u, code: `𝚝${u.code}` });
27
32
 
@@ -76,11 +81,14 @@ const ethereumUnits = (name, code) => [
76
81
  },
77
82
  ];
78
83
 
79
- export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
84
+ // FIXME: We must be aware that we don't handle correcly currencies that use the same `managerApp`
85
+ // to fix that we should always have the 'main' currency of the managerapp first in this list
86
+ // e.g for Ethereum manager Ethereum is first in the list and other coin are in the bottom of the list
87
+ export const cryptocurrenciesById: Record<CryptoCurrencyId, CryptoCurrency> = {
80
88
  near: {
81
89
  type: "CryptoCurrency",
82
90
  id: "near",
83
- coinType: 397,
91
+ coinType: CoinType.NEAR,
84
92
  name: "NEAR",
85
93
  managerAppName: "NEAR",
86
94
  ticker: "NEAR",
@@ -110,7 +118,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
110
118
  aeternity: {
111
119
  type: "CryptoCurrency",
112
120
  id: "aeternity",
113
- coinType: 457,
121
+ coinType: CoinType.AE,
114
122
  name: "æternity",
115
123
  managerAppName: "Aeternity",
116
124
  ticker: "AE",
@@ -133,7 +141,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
133
141
  aion: {
134
142
  type: "CryptoCurrency",
135
143
  id: "aion",
136
- coinType: 425,
144
+ coinType: CoinType.AION,
137
145
  name: "Aion",
138
146
  managerAppName: "Aion",
139
147
  ticker: "AION",
@@ -152,7 +160,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
152
160
  akroma: {
153
161
  type: "CryptoCurrency",
154
162
  id: "akroma",
155
- coinType: 200625,
163
+ coinType: CoinType.AKA,
156
164
  name: "Akroma",
157
165
  managerAppName: "Akroma",
158
166
  ticker: "AKA",
@@ -175,7 +183,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
175
183
  algorand: {
176
184
  type: "CryptoCurrency",
177
185
  id: "algorand",
178
- coinType: 283,
186
+ coinType: CoinType.ALGO,
179
187
  name: "Algorand",
180
188
  managerAppName: "Algorand",
181
189
  ticker: "ALGO",
@@ -204,7 +212,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
204
212
  ark: {
205
213
  type: "CryptoCurrency",
206
214
  id: "ark",
207
- coinType: 111,
215
+ coinType: CoinType.ARK,
208
216
  name: "Ark",
209
217
  managerAppName: "Ark",
210
218
  ticker: "ARK",
@@ -227,7 +235,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
227
235
  atheios: {
228
236
  type: "CryptoCurrency",
229
237
  id: "atheios",
230
- coinType: 1620,
238
+ coinType: CoinType.ATH,
231
239
  name: "Atheios",
232
240
  managerAppName: "Atheios",
233
241
  ticker: "ATH",
@@ -243,16 +251,16 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
243
251
  ],
244
252
  explorerViews: [],
245
253
  },
246
- avalanche: {
254
+ avalanche_c_chain: {
247
255
  type: "CryptoCurrency",
248
- id: "avalanche",
249
- coinType: 9000,
250
- name: "Avalanche",
256
+ id: "avalanche_c_chain",
257
+ coinType: CoinType.ETH,
258
+ name: "Avalanche C-Chain",
251
259
  managerAppName: "Avalanche",
252
260
  ticker: "AVAX",
253
- scheme: "avalanche",
261
+ scheme: "avalanche_c_chain",
254
262
  color: "#E84142",
255
- family: "avalanche",
263
+ family: "ethereum",
256
264
  units: [
257
265
  {
258
266
  name: "AVAX",
@@ -261,7 +269,9 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
261
269
  },
262
270
  ],
263
271
  ethereumLikeInfo: {
272
+ baseChain: "mainnet",
264
273
  chainId: 43114,
274
+ networkId: 43114,
265
275
  },
266
276
  explorerViews: [
267
277
  {
@@ -271,12 +281,13 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
271
281
  "https://cchain.explorer.avax.network/token/$contractAddress?a=$address",
272
282
  },
273
283
  ],
274
- keywords: ["avax", "avalanche"],
284
+ keywords: ["avax", "avalanche", "c-chain"],
285
+ explorerId: "avax",
275
286
  },
276
287
  banano: {
277
288
  type: "CryptoCurrency",
278
289
  id: "banano",
279
- coinType: 198,
290
+ coinType: CoinType.BANANO,
280
291
  name: "Banano",
281
292
  managerAppName: "Banano",
282
293
  ticker: "BANANO",
@@ -295,7 +306,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
295
306
  bitcoin: {
296
307
  type: "CryptoCurrency",
297
308
  id: "bitcoin",
298
- coinType: 0,
309
+ coinType: CoinType.BTC,
299
310
  name: "Bitcoin",
300
311
  managerAppName: "Bitcoin",
301
312
  ticker: "BTC",
@@ -329,7 +340,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
329
340
  type: "CryptoCurrency",
330
341
  id: "bitcoin_cash",
331
342
  forkedFrom: "bitcoin",
332
- coinType: 145,
343
+ coinType: CoinType.BTC_CASH,
333
344
  name: "Bitcoin Cash",
334
345
  managerAppName: "Bitcoin Cash",
335
346
  ticker: "BCH",
@@ -376,7 +387,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
376
387
  type: "CryptoCurrency",
377
388
  id: "bitcoin_gold",
378
389
  forkedFrom: "bitcoin",
379
- coinType: 156,
390
+ coinType: CoinType.BTC_GOLD,
380
391
  name: "Bitcoin Gold",
381
392
  managerAppName: "Bitcoin Gold",
382
393
  ticker: "BTG",
@@ -424,7 +435,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
424
435
  type: "CryptoCurrency",
425
436
  id: "bitcoin_private",
426
437
  forkedFrom: "bitcoin",
427
- coinType: 183,
438
+ coinType: CoinType.BTC_PRIVATE,
428
439
  name: "Bitcoin Private",
429
440
  managerAppName: "Bitcoin Private",
430
441
  ticker: "BTCP",
@@ -464,7 +475,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
464
475
  bsc: {
465
476
  type: "CryptoCurrency",
466
477
  id: "bsc",
467
- coinType: 60,
478
+ coinType: CoinType.ETH,
468
479
  name: "Binance Smart Chain",
469
480
  managerAppName: "Binance Smart Chain",
470
481
  ticker: "BNB",
@@ -497,7 +508,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
497
508
  callisto: {
498
509
  type: "CryptoCurrency",
499
510
  id: "callisto",
500
- coinType: 820,
511
+ coinType: CoinType.CALLISTO,
501
512
  name: "Callisto",
502
513
  managerAppName: "Callisto",
503
514
  ticker: "CLO",
@@ -516,7 +527,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
516
527
  cardano: {
517
528
  type: "CryptoCurrency",
518
529
  id: "cardano",
519
- coinType: 1815,
530
+ coinType: CoinType.CARDANO,
520
531
  name: "Cardano",
521
532
  managerAppName: "Cardano ADA",
522
533
  ticker: "ADA",
@@ -547,7 +558,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
547
558
  cardano_testnet: {
548
559
  type: "CryptoCurrency",
549
560
  id: "cardano_testnet",
550
- coinType: 1815,
561
+ coinType: CoinType.CARDANO,
551
562
  name: "Cardano (Testnet)",
552
563
  managerAppName: "Cardano ADA",
553
564
  ticker: "tADA",
@@ -579,7 +590,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
579
590
  celo: {
580
591
  type: "CryptoCurrency",
581
592
  id: "celo",
582
- coinType: 52752,
593
+ coinType: CoinType.CELO,
583
594
  name: "Celo",
584
595
  managerAppName: "Celo",
585
596
  blockAvgTime: 5,
@@ -607,7 +618,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
607
618
  },
608
619
  type: "CryptoCurrency",
609
620
  id: "clubcoin",
610
- coinType: 79,
621
+ coinType: CoinType.CLUB,
611
622
  name: "Clubcoin",
612
623
  managerAppName: "Clubcoin",
613
624
  ticker: "CLUB",
@@ -643,7 +654,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
643
654
  cosmos: {
644
655
  type: "CryptoCurrency",
645
656
  id: "cosmos",
646
- coinType: 118,
657
+ coinType: CoinType.ATOM,
647
658
  name: "Cosmos",
648
659
  managerAppName: "Cosmos",
649
660
  ticker: "ATOM",
@@ -675,7 +686,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
675
686
  cosmos_testnet: {
676
687
  type: "CryptoCurrency",
677
688
  id: "cosmos_testnet",
678
- coinType: 118,
689
+ coinType: CoinType.ATOM,
679
690
  name: "Cosmos (Testnet)",
680
691
  managerAppName: "Cosmos",
681
692
  ticker: "MUON",
@@ -708,7 +719,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
708
719
  dash: {
709
720
  type: "CryptoCurrency",
710
721
  id: "dash",
711
- coinType: 5,
722
+ coinType: CoinType.DASH,
712
723
  name: "Dash",
713
724
  managerAppName: "Dash",
714
725
  ticker: "DASH",
@@ -744,7 +755,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
744
755
  decred: {
745
756
  type: "CryptoCurrency",
746
757
  id: "decred",
747
- coinType: 42,
758
+ coinType: CoinType.DECRED,
748
759
  name: "Decred",
749
760
  managerAppName: "Decred",
750
761
  ticker: "DCR",
@@ -785,7 +796,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
785
796
  dexon: {
786
797
  type: "CryptoCurrency",
787
798
  id: "dexon",
788
- coinType: 237,
799
+ coinType: CoinType.DEXON,
789
800
  name: "DEXON",
790
801
  managerAppName: "DEXON",
791
802
  ticker: "DXN",
@@ -812,7 +823,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
812
823
  digibyte: {
813
824
  type: "CryptoCurrency",
814
825
  id: "digibyte",
815
- coinType: 20,
826
+ coinType: CoinType.DIGIBYTE,
816
827
  name: "DigiByte",
817
828
  managerAppName: "Digibyte",
818
829
  ticker: "DGB",
@@ -850,7 +861,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
850
861
  dogecoin: {
851
862
  type: "CryptoCurrency",
852
863
  id: "dogecoin",
853
- coinType: 3,
864
+ coinType: CoinType.DOGE,
854
865
  name: "Dogecoin",
855
866
  managerAppName: "Dogecoin",
856
867
  ticker: "DOGE",
@@ -888,7 +899,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
888
899
  elastos: {
889
900
  type: "CryptoCurrency",
890
901
  id: "elastos",
891
- coinType: 2305,
902
+ coinType: CoinType.ELASTOS,
892
903
  name: "Elastos",
893
904
  managerAppName: "Elastos",
894
905
  ticker: "ELA",
@@ -907,7 +918,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
907
918
  ellaism: {
908
919
  type: "CryptoCurrency",
909
920
  id: "ellaism",
910
- coinType: 163,
921
+ coinType: CoinType.ELLAISM,
911
922
  name: "Ellaism",
912
923
  managerAppName: "Ellaism",
913
924
  ticker: "ELLA",
@@ -926,7 +937,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
926
937
  elrond: {
927
938
  type: "CryptoCurrency",
928
939
  id: "elrond",
929
- coinType: 508,
940
+ coinType: CoinType.MULTIVERSX,
930
941
  name: "MultiversX",
931
942
  managerAppName: "MultiversX",
932
943
  ticker: "EGLD",
@@ -952,7 +963,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
952
963
  energywebchain: {
953
964
  type: "CryptoCurrency",
954
965
  id: "energywebchain",
955
- coinType: 246,
966
+ coinType: CoinType.ENERGY_WEB_CHAIN,
956
967
  name: "EnergyWebChain",
957
968
  managerAppName: "EnergyWebChain",
958
969
  ticker: "EWT",
@@ -974,7 +985,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
974
985
  eos: {
975
986
  type: "CryptoCurrency",
976
987
  id: "eos",
977
- coinType: 194,
988
+ coinType: CoinType.EOS,
978
989
  name: "EOS",
979
990
  managerAppName: "Eos",
980
991
  ticker: "EOS",
@@ -993,7 +1004,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
993
1004
  ethereum: {
994
1005
  type: "CryptoCurrency",
995
1006
  id: "ethereum",
996
- coinType: 60,
1007
+ coinType: CoinType.ETH,
997
1008
  name: "Ethereum",
998
1009
  managerAppName: "Ethereum",
999
1010
  ticker: "ETH",
@@ -1022,7 +1033,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
1022
1033
  ethereum_classic: {
1023
1034
  type: "CryptoCurrency",
1024
1035
  id: "ethereum_classic",
1025
- coinType: 61,
1036
+ coinType: CoinType.ETH_CLASSIC,
1026
1037
  name: "Ethereum Classic",
1027
1038
  managerAppName: "Ethereum Classic",
1028
1039
  ticker: "ETC",
@@ -1050,7 +1061,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
1050
1061
  ether1: {
1051
1062
  type: "CryptoCurrency",
1052
1063
  id: "ether1",
1053
- coinType: 61,
1064
+ coinType: CoinType.ETH_CLASSIC,
1054
1065
  name: "Ether1",
1055
1066
  managerAppName: "Ether-1",
1056
1067
  ticker: "ETHO",
@@ -1067,7 +1078,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
1067
1078
  ethergem: {
1068
1079
  type: "CryptoCurrency",
1069
1080
  id: "ethergem",
1070
- coinType: 61,
1081
+ coinType: CoinType.ETH_CLASSIC,
1071
1082
  name: "EtherGem",
1072
1083
  managerAppName: "EtherGem",
1073
1084
  ticker: "EGEM",
@@ -1084,7 +1095,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
1084
1095
  ethersocial: {
1085
1096
  type: "CryptoCurrency",
1086
1097
  id: "ethersocial",
1087
- coinType: 61,
1098
+ coinType: CoinType.ETH_CLASSIC,
1088
1099
  name: "Ethersocial",
1089
1100
  managerAppName: "Ethersocial",
1090
1101
  ticker: "ESN",
@@ -1101,7 +1112,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
1101
1112
  expanse: {
1102
1113
  type: "CryptoCurrency",
1103
1114
  id: "expanse",
1104
- coinType: 40,
1115
+ coinType: CoinType.EXPANSE,
1105
1116
  name: "Expanse",
1106
1117
  managerAppName: "Expanse",
1107
1118
  ticker: "EXP",
@@ -1124,7 +1135,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
1124
1135
  factom: {
1125
1136
  type: "CryptoCurrency",
1126
1137
  id: "factom",
1127
- coinType: 131,
1138
+ coinType: CoinType.FACTOM,
1128
1139
  name: "Factom",
1129
1140
  managerAppName: "Factom",
1130
1141
  ticker: "FCT",
@@ -1143,7 +1154,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
1143
1154
  fic: {
1144
1155
  type: "CryptoCurrency",
1145
1156
  id: "fic",
1146
- coinType: 5248,
1157
+ coinType: CoinType.FIC,
1147
1158
  name: "FIC",
1148
1159
  managerAppName: "FIC",
1149
1160
  ticker: "FIC",
@@ -1162,7 +1173,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
1162
1173
  flow: {
1163
1174
  type: "CryptoCurrency",
1164
1175
  id: "flow",
1165
- coinType: 539,
1176
+ coinType: CoinType.FLOW,
1166
1177
  name: "Flow",
1167
1178
  managerAppName: "Flow",
1168
1179
  ticker: "FLOW",
@@ -1181,7 +1192,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
1181
1192
  game_credits: {
1182
1193
  type: "CryptoCurrency",
1183
1194
  id: "game_credits",
1184
- coinType: 101,
1195
+ coinType: CoinType.GAME,
1185
1196
  name: "GameCredits",
1186
1197
  managerAppName: "GameCredits",
1187
1198
  ticker: "GAME",
@@ -1204,7 +1215,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
1204
1215
  gochain: {
1205
1216
  type: "CryptoCurrency",
1206
1217
  id: "gochain",
1207
- coinType: 6060,
1218
+ coinType: CoinType.GOCHAIN,
1208
1219
  name: "GoChain",
1209
1220
  managerAppName: "GoChain",
1210
1221
  ticker: "GO",
@@ -1223,7 +1234,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
1223
1234
  groestlcoin: {
1224
1235
  type: "CryptoCurrency",
1225
1236
  id: "groestcoin",
1226
- coinType: 17,
1237
+ coinType: CoinType.GRS,
1227
1238
  name: "Groestlcoin",
1228
1239
  managerAppName: "Groestlcoin",
1229
1240
  ticker: "GRS",
@@ -1247,7 +1258,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
1247
1258
  hcash: {
1248
1259
  type: "CryptoCurrency",
1249
1260
  id: "hcash",
1250
- coinType: 171,
1261
+ coinType: CoinType.HCASH,
1251
1262
  name: "Hcash",
1252
1263
  managerAppName: "HCash",
1253
1264
  ticker: "HSR",
@@ -1282,7 +1293,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
1282
1293
  hedera: {
1283
1294
  type: "CryptoCurrency",
1284
1295
  id: "hedera",
1285
- coinType: 3030,
1296
+ coinType: CoinType.HEDERA,
1286
1297
  name: "Hedera",
1287
1298
  managerAppName: "Hedera",
1288
1299
  ticker: "HBAR",
@@ -1306,7 +1317,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
1306
1317
  helium: {
1307
1318
  type: "CryptoCurrency",
1308
1319
  id: "helium",
1309
- coinType: 904,
1320
+ coinType: CoinType.HELIUM,
1310
1321
  name: "Helium",
1311
1322
  managerAppName: "Helium",
1312
1323
  ticker: "HNT",
@@ -1335,7 +1346,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
1335
1346
  hpb: {
1336
1347
  type: "CryptoCurrency",
1337
1348
  id: "hpb",
1338
- coinType: 269,
1349
+ coinType: CoinType.HPB,
1339
1350
  name: "High Performance Blockchain",
1340
1351
  managerAppName: "HPB",
1341
1352
  ticker: "HPB",
@@ -1363,7 +1374,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
1363
1374
  hycon: {
1364
1375
  type: "CryptoCurrency",
1365
1376
  id: "hycon",
1366
- coinType: 1397,
1377
+ coinType: CoinType.HYCON,
1367
1378
  name: "Hycon",
1368
1379
  managerAppName: "Hycon",
1369
1380
  ticker: "HYC",
@@ -1387,7 +1398,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
1387
1398
  icon: {
1388
1399
  type: "CryptoCurrency",
1389
1400
  id: "icon",
1390
- coinType: 4801368,
1401
+ coinType: CoinType.ICON,
1391
1402
  name: "ICON",
1392
1403
  managerAppName: "ICON",
1393
1404
  ticker: "ICX",
@@ -1406,7 +1417,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
1406
1417
  icp: {
1407
1418
  type: "CryptoCurrency",
1408
1419
  id: "icp",
1409
- coinType: 223,
1420
+ coinType: CoinType.ICP,
1410
1421
  family: "icp",
1411
1422
  ticker: "ICP",
1412
1423
  scheme: "icp",
@@ -1430,7 +1441,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
1430
1441
  iota: {
1431
1442
  type: "CryptoCurrency",
1432
1443
  id: "iota",
1433
- coinType: 4218,
1444
+ coinType: CoinType.IOTA,
1434
1445
  name: "IOTA",
1435
1446
  managerAppName: "IOTA",
1436
1447
  ticker: "MIOTA",
@@ -1449,7 +1460,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
1449
1460
  iov: {
1450
1461
  type: "CryptoCurrency",
1451
1462
  id: "iov",
1452
- coinType: 234,
1463
+ coinType: CoinType.IOV,
1453
1464
  name: "IOV",
1454
1465
  managerAppName: "IOV",
1455
1466
  ticker: "IOV",
@@ -1468,7 +1479,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
1468
1479
  kin: {
1469
1480
  type: "CryptoCurrency",
1470
1481
  id: "kin",
1471
- coinType: 2017,
1482
+ coinType: CoinType.KIN,
1472
1483
  name: "Kin",
1473
1484
  managerAppName: "Kin",
1474
1485
  ticker: "KIN",
@@ -1493,7 +1504,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
1493
1504
  komodo: {
1494
1505
  type: "CryptoCurrency",
1495
1506
  id: "komodo",
1496
- coinType: 141,
1507
+ coinType: CoinType.KOMODO,
1497
1508
  name: "Komodo",
1498
1509
  managerAppName: "Komodo",
1499
1510
  ticker: "KMD",
@@ -1529,7 +1540,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
1529
1540
  kusama: {
1530
1541
  type: "CryptoCurrency",
1531
1542
  id: "kusama",
1532
- coinType: 434,
1543
+ coinType: CoinType.KUSAMA,
1533
1544
  name: "Kusama",
1534
1545
  managerAppName: "Kusama",
1535
1546
  ticker: "KSM",
@@ -1548,7 +1559,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
1548
1559
  lbry: {
1549
1560
  type: "CryptoCurrency",
1550
1561
  id: "LBRY",
1551
- coinType: 140,
1562
+ coinType: CoinType.LBRY,
1552
1563
  name: "LBRY",
1553
1564
  managerAppName: "LBRY",
1554
1565
  ticker: "LBRY",
@@ -1567,7 +1578,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
1567
1578
  litecoin: {
1568
1579
  type: "CryptoCurrency",
1569
1580
  id: "litecoin",
1570
- coinType: 2,
1581
+ coinType: CoinType.LITECOIN,
1571
1582
  name: "Litecoin",
1572
1583
  managerAppName: "Litecoin",
1573
1584
  ticker: "LTC",
@@ -1612,7 +1623,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
1612
1623
  lisk: {
1613
1624
  type: "CryptoCurrency",
1614
1625
  id: "lisk",
1615
- coinType: 134,
1626
+ coinType: CoinType.LISK,
1616
1627
  name: "lisk",
1617
1628
  managerAppName: "Lisk",
1618
1629
  ticker: "LSK",
@@ -1631,7 +1642,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
1631
1642
  mix: {
1632
1643
  type: "CryptoCurrency",
1633
1644
  id: "mix",
1634
- coinType: 76,
1645
+ coinType: CoinType.MIX,
1635
1646
  name: "MIX Blockchain",
1636
1647
  managerAppName: "Mix",
1637
1648
  ticker: "MIX",
@@ -1653,7 +1664,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
1653
1664
  monero: {
1654
1665
  type: "CryptoCurrency",
1655
1666
  id: "monero",
1656
- coinType: 128,
1667
+ coinType: CoinType.MONERO,
1657
1668
  name: "Monero",
1658
1669
  managerAppName: "Monero",
1659
1670
  ticker: "XMR",
@@ -1677,7 +1688,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
1677
1688
  moonriver: {
1678
1689
  type: "CryptoCurrency",
1679
1690
  id: "moonriver",
1680
- coinType: 60,
1691
+ coinType: CoinType.ETH,
1681
1692
  name: "Moonriver",
1682
1693
  managerAppName: "Moonriver",
1683
1694
  ticker: "MOVR",
@@ -1706,7 +1717,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
1706
1717
  musicoin: {
1707
1718
  type: "CryptoCurrency",
1708
1719
  id: "musicoin",
1709
- coinType: 184,
1720
+ coinType: CoinType.MUSICOIN,
1710
1721
  name: "Musicoin",
1711
1722
  managerAppName: "Musicoin",
1712
1723
  ticker: "MUSIC",
@@ -1728,7 +1739,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
1728
1739
  nano: {
1729
1740
  type: "CryptoCurrency",
1730
1741
  id: "nano",
1731
- coinType: 165,
1742
+ coinType: CoinType.NANO,
1732
1743
  name: "Nano",
1733
1744
  managerAppName: "Nano",
1734
1745
  ticker: "NANO",
@@ -1752,10 +1763,29 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
1752
1763
  },
1753
1764
  ],
1754
1765
  },
1766
+ nem: {
1767
+ type: "CryptoCurrency",
1768
+ id: "nem",
1769
+ coinType: CoinType.NEM,
1770
+ name: "NEM",
1771
+ managerAppName: "NEM",
1772
+ ticker: "XEM",
1773
+ scheme: "nem",
1774
+ color: "#000",
1775
+ family: "nem",
1776
+ units: [
1777
+ {
1778
+ name: "XEM",
1779
+ code: "XEM",
1780
+ magnitude: 6,
1781
+ },
1782
+ ],
1783
+ explorerViews: [],
1784
+ },
1755
1785
  neo: {
1756
1786
  type: "CryptoCurrency",
1757
1787
  id: "neo",
1758
- coinType: 888,
1788
+ coinType: CoinType.NEO,
1759
1789
  name: "Neo",
1760
1790
  managerAppName: "NEO",
1761
1791
  ticker: "NEO",
@@ -1778,7 +1808,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
1778
1808
  nervos: {
1779
1809
  type: "CryptoCurrency",
1780
1810
  id: "nervos",
1781
- coinType: 309,
1811
+ coinType: CoinType.NERVOS,
1782
1812
  name: "Nervos",
1783
1813
  managerAppName: "Nervos",
1784
1814
  ticker: "CKB",
@@ -1802,7 +1832,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
1802
1832
  nimiq: {
1803
1833
  type: "CryptoCurrency",
1804
1834
  id: "nimiq",
1805
- coinType: 242,
1835
+ coinType: CoinType.NIMIQ,
1806
1836
  name: "Nimiq",
1807
1837
  managerAppName: "Nimiq",
1808
1838
  ticker: "NIM",
@@ -1825,7 +1855,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
1825
1855
  nix: {
1826
1856
  type: "CryptoCurrency",
1827
1857
  id: "nix",
1828
- coinType: 400,
1858
+ coinType: CoinType.NIX,
1829
1859
  name: "Nix",
1830
1860
  managerAppName: "NIX",
1831
1861
  ticker: "NIX",
@@ -1860,7 +1890,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
1860
1890
  type: "CryptoCurrency",
1861
1891
  id: "nos",
1862
1892
  name: "NOS",
1863
- coinType: 229,
1893
+ coinType: CoinType.NOS,
1864
1894
  managerAppName: "NOS",
1865
1895
  ticker: "NOS",
1866
1896
  scheme: "nos",
@@ -1878,7 +1908,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
1878
1908
  ontology: {
1879
1909
  type: "CryptoCurrency",
1880
1910
  id: "ontology",
1881
- coinType: 1024,
1911
+ coinType: CoinType.ONTOLOGY,
1882
1912
  name: "Ontology",
1883
1913
  managerAppName: "ONT",
1884
1914
  ticker: "ONT",
@@ -1901,7 +1931,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
1901
1931
  particl: {
1902
1932
  type: "CryptoCurrency",
1903
1933
  id: "particl",
1904
- coinType: 44,
1934
+ coinType: CoinType.PARTICL,
1905
1935
  name: "Particl",
1906
1936
  managerAppName: "Particl",
1907
1937
  ticker: "PART",
@@ -1924,7 +1954,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
1924
1954
  peercoin: {
1925
1955
  type: "CryptoCurrency",
1926
1956
  id: "peercoin",
1927
- coinType: 6,
1957
+ coinType: CoinType.PEERCOIN,
1928
1958
  name: "Peercoin",
1929
1959
  managerAppName: "Peercoin",
1930
1960
  ticker: "PPC",
@@ -1961,7 +1991,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
1961
1991
  pirl: {
1962
1992
  type: "CryptoCurrency",
1963
1993
  id: "pirl",
1964
- coinType: 164,
1994
+ coinType: CoinType.PIRL,
1965
1995
  name: "Pirl",
1966
1996
  managerAppName: "Pirl",
1967
1997
  ticker: "PIRL",
@@ -1984,7 +2014,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
1984
2014
  pivx: {
1985
2015
  type: "CryptoCurrency",
1986
2016
  id: "pivx",
1987
- coinType: 77,
2017
+ coinType: CoinType.PIVX,
1988
2018
  name: "PivX",
1989
2019
  managerAppName: "PivX",
1990
2020
  ticker: "PIVX",
@@ -2020,7 +2050,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
2020
2050
  poa: {
2021
2051
  type: "CryptoCurrency",
2022
2052
  id: "poa",
2023
- coinType: 178,
2053
+ coinType: CoinType.POA,
2024
2054
  name: "POA",
2025
2055
  managerAppName: "POA",
2026
2056
  ticker: "POA",
@@ -2043,7 +2073,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
2043
2073
  polkadot: {
2044
2074
  type: "CryptoCurrency",
2045
2075
  id: "polkadot",
2046
- coinType: 354,
2076
+ coinType: CoinType.POLKADOT,
2047
2077
  name: "Polkadot",
2048
2078
  managerAppName: "Polkadot",
2049
2079
  ticker: "DOT",
@@ -2078,7 +2108,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
2078
2108
  polygon: {
2079
2109
  type: "CryptoCurrency",
2080
2110
  id: "polygon",
2081
- coinType: 60,
2111
+ coinType: CoinType.ETH,
2082
2112
  name: "Polygon",
2083
2113
  managerAppName: "Polygon",
2084
2114
  ticker: "MATIC",
@@ -2110,7 +2140,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
2110
2140
  poswallet: {
2111
2141
  type: "CryptoCurrency",
2112
2142
  id: "poswallet",
2113
- coinType: 47,
2143
+ coinType: CoinType.POSWALLET,
2114
2144
  name: "PosW",
2115
2145
  managerAppName: "PoSW",
2116
2146
  ticker: "POSW",
@@ -2146,7 +2176,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
2146
2176
  qrl: {
2147
2177
  type: "CryptoCurrency",
2148
2178
  id: "qrl",
2149
- coinType: 238,
2179
+ coinType: CoinType.QRL,
2150
2180
  name: "QRL",
2151
2181
  ticker: "QRL",
2152
2182
  managerAppName: "QRL",
@@ -2171,7 +2201,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
2171
2201
  qtum: {
2172
2202
  type: "CryptoCurrency",
2173
2203
  id: "qtum",
2174
- coinType: 88,
2204
+ coinType: CoinType.QTUM,
2175
2205
  name: "Qtum",
2176
2206
  managerAppName: "Qtum",
2177
2207
  supportsSegwit: true,
@@ -2205,29 +2235,10 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
2205
2235
  ],
2206
2236
  explorerId: "qtum",
2207
2237
  },
2208
- nem: {
2209
- type: "CryptoCurrency",
2210
- id: "nem",
2211
- coinType: 43,
2212
- name: "NEM",
2213
- managerAppName: "NEM",
2214
- ticker: "XEM",
2215
- scheme: "nem",
2216
- color: "#000",
2217
- family: "nem",
2218
- units: [
2219
- {
2220
- name: "XEM",
2221
- code: "XEM",
2222
- magnitude: 6,
2223
- },
2224
- ],
2225
- explorerViews: [],
2226
- },
2227
2238
  ravencoin: {
2228
2239
  type: "CryptoCurrency",
2229
2240
  id: "ravencoin",
2230
- coinType: 175,
2241
+ coinType: CoinType.RAVECOIN,
2231
2242
  name: "Ravencoin",
2232
2243
  managerAppName: "Ravencoin",
2233
2244
  ticker: "RVN",
@@ -2246,7 +2257,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
2246
2257
  ripple: {
2247
2258
  type: "CryptoCurrency",
2248
2259
  id: "ripple",
2249
- coinType: 144,
2260
+ coinType: CoinType.RIPPLE,
2250
2261
  name: "XRP",
2251
2262
  managerAppName: "XRP",
2252
2263
  ticker: "XRP",
@@ -2276,7 +2287,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
2276
2287
  rise: {
2277
2288
  type: "CryptoCurrency",
2278
2289
  id: "rise",
2279
- coinType: 1120,
2290
+ coinType: CoinType.RISE,
2280
2291
  name: "Rise",
2281
2292
  managerAppName: "Rise",
2282
2293
  ticker: "RISE",
@@ -2301,7 +2312,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
2301
2312
  reosc: {
2302
2313
  type: "CryptoCurrency",
2303
2314
  id: "reosc",
2304
- coinType: 2894,
2315
+ coinType: CoinType.REOSC,
2305
2316
  name: "REOSC",
2306
2317
  managerAppName: "REOSC",
2307
2318
  ticker: "REOSC",
@@ -2328,7 +2339,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
2328
2339
  resistance: {
2329
2340
  type: "CryptoCurrency",
2330
2341
  id: "resistance",
2331
- coinType: 356,
2342
+ coinType: CoinType.RESISTANCE,
2332
2343
  name: "Resistance",
2333
2344
  managerAppName: "Resistance",
2334
2345
  ticker: "RES",
@@ -2347,7 +2358,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
2347
2358
  solana: {
2348
2359
  type: "CryptoCurrency",
2349
2360
  id: "solana",
2350
- coinType: 501,
2361
+ coinType: CoinType.SOLANA,
2351
2362
  name: "Solana",
2352
2363
  managerAppName: "Solana",
2353
2364
  ticker: "SOL",
@@ -2381,7 +2392,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
2381
2392
  stakenet: {
2382
2393
  type: "CryptoCurrency",
2383
2394
  id: "stakenet",
2384
- coinType: 384,
2395
+ coinType: CoinType.STAKENET,
2385
2396
  name: "Stakenet",
2386
2397
  managerAppName: "XSN",
2387
2398
  ticker: "XSN",
@@ -2424,7 +2435,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
2424
2435
  },
2425
2436
  type: "CryptoCurrency",
2426
2437
  id: "stratis",
2427
- coinType: 105,
2438
+ coinType: CoinType.STRATIS,
2428
2439
  name: "Stratis",
2429
2440
  managerAppName: "Stratis",
2430
2441
  ticker: "STRAT",
@@ -2464,7 +2475,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
2464
2475
  },
2465
2476
  type: "CryptoCurrency",
2466
2477
  id: "stealthcoin",
2467
- coinType: 125,
2478
+ coinType: CoinType.STEALTH,
2468
2479
  name: "Stealth",
2469
2480
  managerAppName: "Stealth",
2470
2481
  ticker: "XST",
@@ -2501,7 +2512,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
2501
2512
  stellar: {
2502
2513
  type: "CryptoCurrency",
2503
2514
  id: "stellar",
2504
- coinType: 148,
2515
+ coinType: CoinType.STELLAR,
2505
2516
  name: "Stellar",
2506
2517
  managerAppName: "Stellar",
2507
2518
  ticker: "XLM",
@@ -2530,7 +2541,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
2530
2541
  osmosis: {
2531
2542
  type: "CryptoCurrency",
2532
2543
  id: "osmo",
2533
- coinType: 118,
2544
+ coinType: CoinType.ATOM,
2534
2545
  name: "Osmosis",
2535
2546
  managerAppName: "Cosmos",
2536
2547
  ticker: "OSMO",
@@ -2559,7 +2570,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
2559
2570
  juno: {
2560
2571
  type: "CryptoCurrency",
2561
2572
  id: "juno",
2562
- coinType: 118,
2573
+ coinType: CoinType.ATOM,
2563
2574
  name: "Juno",
2564
2575
  managerAppName: "Cosmos",
2565
2576
  ticker: "JUNO",
@@ -2588,7 +2599,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
2588
2599
  shyft: {
2589
2600
  type: "CryptoCurrency",
2590
2601
  id: "shyft",
2591
- coinType: 7341,
2602
+ coinType: CoinType.SHYFT,
2592
2603
  name: "Shyft",
2593
2604
  managerAppName: "Shyft",
2594
2605
  ticker: "SHFT",
@@ -2613,7 +2624,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
2613
2624
  tezos: {
2614
2625
  type: "CryptoCurrency",
2615
2626
  id: "tezos",
2616
- coinType: 1729,
2627
+ coinType: CoinType.TEZOS,
2617
2628
  name: "Tezos",
2618
2629
  managerAppName: "Tezos Wallet",
2619
2630
  ticker: "XTZ",
@@ -2638,7 +2649,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
2638
2649
  thundercore: {
2639
2650
  type: "CryptoCurrency",
2640
2651
  id: "thundercore",
2641
- coinType: 1001,
2652
+ coinType: CoinType.THUNDERCORE,
2642
2653
  name: "Thundercore",
2643
2654
  managerAppName: "Thundercore",
2644
2655
  ticker: "TT",
@@ -2665,7 +2676,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
2665
2676
  tomo: {
2666
2677
  type: "CryptoCurrency",
2667
2678
  id: "tomo",
2668
- coinType: 889,
2679
+ coinType: CoinType.TOMO,
2669
2680
  name: "TomoChain",
2670
2681
  managerAppName: "TomoChain",
2671
2682
  ticker: "TOMO",
@@ -2692,7 +2703,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
2692
2703
  tron: {
2693
2704
  type: "CryptoCurrency",
2694
2705
  id: "tron",
2695
- coinType: 195,
2706
+ coinType: CoinType.TRON,
2696
2707
  name: "Tron",
2697
2708
  managerAppName: "Tron",
2698
2709
  ticker: "TRX",
@@ -2718,7 +2729,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
2718
2729
  ubiq: {
2719
2730
  type: "CryptoCurrency",
2720
2731
  id: "ubiq",
2721
- coinType: 108,
2732
+ coinType: CoinType.UBIQ,
2722
2733
  name: "Ubiq",
2723
2734
  managerAppName: "Ubiq",
2724
2735
  ticker: "UBQ",
@@ -2765,7 +2776,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
2765
2776
  vechain: {
2766
2777
  type: "CryptoCurrency",
2767
2778
  id: "vechain",
2768
- coinType: 818,
2779
+ coinType: CoinType.VECHAIN,
2769
2780
  name: "VeChain",
2770
2781
  managerAppName: "VeChain",
2771
2782
  ticker: "VET",
@@ -2788,7 +2799,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
2788
2799
  vertcoin: {
2789
2800
  type: "CryptoCurrency",
2790
2801
  id: "vertcoin",
2791
- coinType: 28,
2802
+ coinType: CoinType.VERTCOIN,
2792
2803
  name: "Vertcoin",
2793
2804
  managerAppName: "Vertcoin",
2794
2805
  ticker: "VTC",
@@ -2825,7 +2836,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
2825
2836
  viacoin: {
2826
2837
  type: "CryptoCurrency",
2827
2838
  id: "viacoin",
2828
- coinType: 14,
2839
+ coinType: CoinType.VIACOIN,
2829
2840
  name: "Viacoin",
2830
2841
  managerAppName: "Viacoin",
2831
2842
  ticker: "VIA",
@@ -2862,7 +2873,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
2862
2873
  wanchain: {
2863
2874
  type: "CryptoCurrency",
2864
2875
  id: "wanchain",
2865
- coinType: 5718350,
2876
+ coinType: CoinType.WANCHAIN,
2866
2877
  name: "Wanchain",
2867
2878
  managerAppName: "Wanchain",
2868
2879
  ticker: "WAN",
@@ -2885,7 +2896,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
2885
2896
  waves: {
2886
2897
  type: "CryptoCurrency",
2887
2898
  id: "waves",
2888
- coinType: 5741564,
2899
+ coinType: CoinType.WAVES,
2889
2900
  name: "Waves",
2890
2901
  managerAppName: "Waves",
2891
2902
  ticker: "WAVES",
@@ -2904,7 +2915,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
2904
2915
  zcash: {
2905
2916
  type: "CryptoCurrency",
2906
2917
  id: "zcash",
2907
- coinType: 133,
2918
+ coinType: CoinType.ZCASH,
2908
2919
  name: "Zcash",
2909
2920
  managerAppName: "Zcash",
2910
2921
  ticker: "ZEC",
@@ -2940,7 +2951,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
2940
2951
  zclassic: {
2941
2952
  type: "CryptoCurrency",
2942
2953
  id: "zclassic",
2943
- coinType: 147,
2954
+ coinType: CoinType.ZCLASSIC,
2944
2955
  name: "ZClassic",
2945
2956
  managerAppName: "ZClassic",
2946
2957
  ticker: "ZCL",
@@ -2974,7 +2985,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
2974
2985
  zcoin: {
2975
2986
  type: "CryptoCurrency",
2976
2987
  id: "zcoin",
2977
- coinType: 136,
2988
+ coinType: CoinType.ZCOIN,
2978
2989
  name: "ZCoin",
2979
2990
  managerAppName: "Zcoin",
2980
2991
  ticker: "XZC",
@@ -2997,7 +3008,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
2997
3008
  zencash: {
2998
3009
  type: "CryptoCurrency",
2999
3010
  id: "zencash",
3000
- coinType: 121,
3011
+ coinType: CoinType.ZEN,
3001
3012
  name: "Horizen",
3002
3013
  managerAppName: "Horizen",
3003
3014
  ticker: "ZEN",
@@ -3033,7 +3044,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
3033
3044
  zilliqa: {
3034
3045
  type: "CryptoCurrency",
3035
3046
  id: "zilliqa",
3036
- coinType: 313,
3047
+ coinType: CoinType.ZILLIQA,
3037
3048
  name: "Zilliqa",
3038
3049
  managerAppName: "Zilliqa",
3039
3050
  ticker: "ZIL",
@@ -3057,7 +3068,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
3057
3068
  crypto_org: {
3058
3069
  type: "CryptoCurrency",
3059
3070
  id: "crypto_org",
3060
- coinType: 394,
3071
+ coinType: CoinType.CRYPTO_ORG,
3061
3072
  name: "Crypto.org",
3062
3073
  managerAppName: "Crypto.org Chain",
3063
3074
  ticker: "CRO",
@@ -3087,7 +3098,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
3087
3098
  bitcoin_testnet: {
3088
3099
  type: "CryptoCurrency",
3089
3100
  id: "bitcoin_testnet",
3090
- coinType: 1,
3101
+ coinType: CoinType.BTC_TESTNET,
3091
3102
  name: "Bitcoin Testnet",
3092
3103
  managerAppName: "Bitcoin Test",
3093
3104
  ticker: "BTC",
@@ -3118,7 +3129,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
3118
3129
  ethereum_ropsten: {
3119
3130
  type: "CryptoCurrency",
3120
3131
  id: "ethereum_ropsten",
3121
- coinType: 60,
3132
+ coinType: CoinType.ETH,
3122
3133
  name: "Ethereum Ropsten",
3123
3134
  managerAppName: "Ethereum",
3124
3135
  ticker: "ETH",
@@ -3147,7 +3158,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
3147
3158
  ethereum_goerli: {
3148
3159
  type: "CryptoCurrency",
3149
3160
  id: "ethereum_goerli",
3150
- coinType: 60,
3161
+ coinType: CoinType.ETH,
3151
3162
  name: "Ethereum Goerli",
3152
3163
  managerAppName: "Ethereum",
3153
3164
  ticker: "ETH",
@@ -3176,7 +3187,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
3176
3187
  stacks: {
3177
3188
  type: "CryptoCurrency",
3178
3189
  id: "stacks",
3179
- coinType: 5757,
3190
+ coinType: CoinType.STACKS,
3180
3191
  name: "Stacks",
3181
3192
  managerAppName: "Stacks",
3182
3193
  ticker: "STX",
@@ -3200,7 +3211,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
3200
3211
  crypto_org_croeseid: {
3201
3212
  type: "CryptoCurrency",
3202
3213
  id: "crypto_org_croeseid",
3203
- coinType: 394,
3214
+ coinType: CoinType.CRYPTO_ORG,
3204
3215
  name: "Crypto.org Croeseid",
3205
3216
  managerAppName: "Crypto.org Chain",
3206
3217
  ticker: "CRO",
@@ -3231,7 +3242,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
3231
3242
  solana_testnet: {
3232
3243
  type: "CryptoCurrency",
3233
3244
  id: "solana_testnet",
3234
- coinType: 501,
3245
+ coinType: CoinType.SOLANA,
3235
3246
  name: "Solana testnet",
3236
3247
  managerAppName: "Solana",
3237
3248
  ticker: "SOL",
@@ -3266,7 +3277,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
3266
3277
  solana_devnet: {
3267
3278
  type: "CryptoCurrency",
3268
3279
  id: "solana_devnet",
3269
- coinType: 501,
3280
+ coinType: CoinType.SOLANA,
3270
3281
  name: "Solana devnet",
3271
3282
  managerAppName: "Solana",
3272
3283
  ticker: "SOL",
@@ -3301,7 +3312,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
3301
3312
  filecoin: {
3302
3313
  type: "CryptoCurrency",
3303
3314
  id: "filecoin",
3304
- coinType: 461,
3315
+ coinType: CoinType.FILECOIN,
3305
3316
  name: "Filecoin",
3306
3317
  managerAppName: "Filecoin",
3307
3318
  ticker: "FIL",
@@ -3322,11 +3333,11 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
3322
3333
  },
3323
3334
  ],
3324
3335
  },
3325
- // Light Integrations are at the end of the list until we figure out a way to fix the ticker/managerApp collisions
3336
+ // ethereum nanoapp currencies
3326
3337
  arbitrum: {
3327
3338
  type: "CryptoCurrency",
3328
3339
  id: "arbitrum",
3329
- coinType: 60,
3340
+ coinType: CoinType.ETH,
3330
3341
  name: "Arbitrum",
3331
3342
  managerAppName: "Arbitrum",
3332
3343
  ticker: "ETH",
@@ -3355,7 +3366,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
3355
3366
  cronos: {
3356
3367
  type: "CryptoCurrency",
3357
3368
  id: "cronos",
3358
- coinType: 60,
3369
+ coinType: CoinType.ETH,
3359
3370
  name: "Cronos",
3360
3371
  managerAppName: "Ethereum",
3361
3372
  ticker: "CRO",
@@ -3390,7 +3401,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
3390
3401
  fantom: {
3391
3402
  type: "CryptoCurrency",
3392
3403
  id: "fantom",
3393
- coinType: 60,
3404
+ coinType: CoinType.ETH,
3394
3405
  name: "Fantom",
3395
3406
  managerAppName: "Ethereum",
3396
3407
  ticker: "FTM",
@@ -3419,7 +3430,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
3419
3430
  flare: {
3420
3431
  type: "CryptoCurrency",
3421
3432
  id: "flare",
3422
- coinType: 60,
3433
+ coinType: CoinType.ETH,
3423
3434
  name: "Flare",
3424
3435
  managerAppName: "Ethereum",
3425
3436
  ticker: "FLR",
@@ -3448,7 +3459,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
3448
3459
  songbird: {
3449
3460
  type: "CryptoCurrency",
3450
3461
  id: "songbird",
3451
- coinType: 60,
3462
+ coinType: CoinType.ETH,
3452
3463
  name: "Songbird",
3453
3464
  managerAppName: "Ethereum",
3454
3465
  ticker: "SGB",
@@ -3477,7 +3488,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
3477
3488
  moonbeam: {
3478
3489
  type: "CryptoCurrency",
3479
3490
  id: "moonbeam",
3480
- coinType: 60,
3491
+ coinType: CoinType.ETH,
3481
3492
  name: "Moonbeam",
3482
3493
  managerAppName: "Ethereum",
3483
3494
  ticker: "GLMR",
@@ -3509,6 +3520,7 @@ export const cryptocurrenciesById: Record<string, CryptoCurrency> = {
3509
3520
  ],
3510
3521
  },
3511
3522
  };
3523
+
3512
3524
  const cryptocurrenciesByScheme: Record<string, CryptoCurrency> = {};
3513
3525
  const cryptocurrenciesByTicker: Record<string, CryptoCurrency> = {};
3514
3526
  const cryptocurrenciesArray: CryptoCurrency[] = [];
@@ -3516,9 +3528,8 @@ const prodCryptoArray: CryptoCurrency[] = [];
3516
3528
  const cryptocurrenciesArrayWithoutTerminated: CryptoCurrency[] = [];
3517
3529
  const prodCryptoArrayWithoutTerminated: CryptoCurrency[] = [];
3518
3530
 
3519
- for (const id in cryptocurrenciesById) {
3520
- const definition = cryptocurrenciesById[id];
3521
- registerCryptoCurrency(id, definition);
3531
+ for (const cryptoCurrency of Object.values(cryptocurrenciesById)) {
3532
+ registerCryptoCurrency(cryptoCurrency);
3522
3533
  }
3523
3534
 
3524
3535
  /**
@@ -3526,10 +3537,7 @@ for (const id in cryptocurrenciesById) {
3526
3537
  * @param {string} id
3527
3538
  * @param {CryptoCurrency} currency
3528
3539
  */
3529
- export function registerCryptoCurrency(
3530
- id: string,
3531
- currency: CryptoCurrency
3532
- ): void {
3540
+ export function registerCryptoCurrency(currency: CryptoCurrency): void {
3533
3541
  cryptocurrenciesById[currency.id] = currency;
3534
3542
  cryptocurrenciesByScheme[currency.scheme] = currency;
3535
3543
 
@@ -3677,6 +3685,7 @@ export const findCryptoCurrencyByManagerAppName = (
3677
3685
  export const hasCryptoCurrencyId = (id: string): boolean =>
3678
3686
  id in cryptocurrenciesById;
3679
3687
 
3688
+ // TODO: signature should be getCryptoCurrencyById(id: CryptoCurrencyId)
3680
3689
  /**
3681
3690
  *
3682
3691
  * @param {*} id