@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/lib/currencies.js CHANGED
@@ -43,8 +43,10 @@ var __values = (this && this.__values) || function(o) {
43
43
  };
44
44
  throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
45
45
  };
46
+ var e_1, _a;
46
47
  exports.__esModule = true;
47
48
  exports.getCryptoCurrencyById = exports.hasCryptoCurrencyId = exports.findCryptoCurrencyByManagerAppName = exports.findCryptoCurrencyByKeyword = exports.findCryptoCurrencyById = exports.findCryptoCurrencyByTicker = exports.findCryptoCurrencyByScheme = exports.findCryptoCurrency = exports.listCryptoCurrencies = exports.registerCryptoCurrency = exports.cryptocurrenciesById = void 0;
49
+ var types_cryptoassets_1 = require("@ledgerhq/types-cryptoassets");
48
50
  var makeTestnetUnit = function (u) { return (__assign(__assign({}, u), { code: "\uD835\uDE9D".concat(u.code) })); };
49
51
  var bitcoinUnits = [
50
52
  {
@@ -95,11 +97,14 @@ var ethereumUnits = function (name, code) { return [
95
97
  magnitude: 0
96
98
  },
97
99
  ]; };
100
+ // FIXME: We must be aware that we don't handle correcly currencies that use the same `managerApp`
101
+ // to fix that we should always have the 'main' currency of the managerapp first in this list
102
+ // e.g for Ethereum manager Ethereum is first in the list and other coin are in the bottom of the list
98
103
  exports.cryptocurrenciesById = {
99
104
  near: {
100
105
  type: "CryptoCurrency",
101
106
  id: "near",
102
- coinType: 397,
107
+ coinType: types_cryptoassets_1.CoinType.NEAR,
103
108
  name: "NEAR",
104
109
  managerAppName: "NEAR",
105
110
  ticker: "NEAR",
@@ -129,7 +134,7 @@ exports.cryptocurrenciesById = {
129
134
  aeternity: {
130
135
  type: "CryptoCurrency",
131
136
  id: "aeternity",
132
- coinType: 457,
137
+ coinType: types_cryptoassets_1.CoinType.AE,
133
138
  name: "æternity",
134
139
  managerAppName: "Aeternity",
135
140
  ticker: "AE",
@@ -152,7 +157,7 @@ exports.cryptocurrenciesById = {
152
157
  aion: {
153
158
  type: "CryptoCurrency",
154
159
  id: "aion",
155
- coinType: 425,
160
+ coinType: types_cryptoassets_1.CoinType.AION,
156
161
  name: "Aion",
157
162
  managerAppName: "Aion",
158
163
  ticker: "AION",
@@ -171,7 +176,7 @@ exports.cryptocurrenciesById = {
171
176
  akroma: {
172
177
  type: "CryptoCurrency",
173
178
  id: "akroma",
174
- coinType: 200625,
179
+ coinType: types_cryptoassets_1.CoinType.AKA,
175
180
  name: "Akroma",
176
181
  managerAppName: "Akroma",
177
182
  ticker: "AKA",
@@ -194,7 +199,7 @@ exports.cryptocurrenciesById = {
194
199
  algorand: {
195
200
  type: "CryptoCurrency",
196
201
  id: "algorand",
197
- coinType: 283,
202
+ coinType: types_cryptoassets_1.CoinType.ALGO,
198
203
  name: "Algorand",
199
204
  managerAppName: "Algorand",
200
205
  ticker: "ALGO",
@@ -223,7 +228,7 @@ exports.cryptocurrenciesById = {
223
228
  ark: {
224
229
  type: "CryptoCurrency",
225
230
  id: "ark",
226
- coinType: 111,
231
+ coinType: types_cryptoassets_1.CoinType.ARK,
227
232
  name: "Ark",
228
233
  managerAppName: "Ark",
229
234
  ticker: "ARK",
@@ -246,7 +251,7 @@ exports.cryptocurrenciesById = {
246
251
  atheios: {
247
252
  type: "CryptoCurrency",
248
253
  id: "atheios",
249
- coinType: 1620,
254
+ coinType: types_cryptoassets_1.CoinType.ATH,
250
255
  name: "Atheios",
251
256
  managerAppName: "Atheios",
252
257
  ticker: "ATH",
@@ -262,16 +267,16 @@ exports.cryptocurrenciesById = {
262
267
  ],
263
268
  explorerViews: []
264
269
  },
265
- avalanche: {
270
+ avalanche_c_chain: {
266
271
  type: "CryptoCurrency",
267
- id: "avalanche",
268
- coinType: 9000,
269
- name: "Avalanche",
272
+ id: "avalanche_c_chain",
273
+ coinType: types_cryptoassets_1.CoinType.ETH,
274
+ name: "Avalanche C-Chain",
270
275
  managerAppName: "Avalanche",
271
276
  ticker: "AVAX",
272
- scheme: "avalanche",
277
+ scheme: "avalanche_c_chain",
273
278
  color: "#E84142",
274
- family: "avalanche",
279
+ family: "ethereum",
275
280
  units: [
276
281
  {
277
282
  name: "AVAX",
@@ -280,7 +285,9 @@ exports.cryptocurrenciesById = {
280
285
  },
281
286
  ],
282
287
  ethereumLikeInfo: {
283
- chainId: 43114
288
+ baseChain: "mainnet",
289
+ chainId: 43114,
290
+ networkId: 43114
284
291
  },
285
292
  explorerViews: [
286
293
  {
@@ -289,12 +296,13 @@ exports.cryptocurrenciesById = {
289
296
  token: "https://cchain.explorer.avax.network/token/$contractAddress?a=$address"
290
297
  },
291
298
  ],
292
- keywords: ["avax", "avalanche"]
299
+ keywords: ["avax", "avalanche", "c-chain"],
300
+ explorerId: "avax"
293
301
  },
294
302
  banano: {
295
303
  type: "CryptoCurrency",
296
304
  id: "banano",
297
- coinType: 198,
305
+ coinType: types_cryptoassets_1.CoinType.BANANO,
298
306
  name: "Banano",
299
307
  managerAppName: "Banano",
300
308
  ticker: "BANANO",
@@ -313,7 +321,7 @@ exports.cryptocurrenciesById = {
313
321
  bitcoin: {
314
322
  type: "CryptoCurrency",
315
323
  id: "bitcoin",
316
- coinType: 0,
324
+ coinType: types_cryptoassets_1.CoinType.BTC,
317
325
  name: "Bitcoin",
318
326
  managerAppName: "Bitcoin",
319
327
  ticker: "BTC",
@@ -347,7 +355,7 @@ exports.cryptocurrenciesById = {
347
355
  type: "CryptoCurrency",
348
356
  id: "bitcoin_cash",
349
357
  forkedFrom: "bitcoin",
350
- coinType: 145,
358
+ coinType: types_cryptoassets_1.CoinType.BTC_CASH,
351
359
  name: "Bitcoin Cash",
352
360
  managerAppName: "Bitcoin Cash",
353
361
  ticker: "BCH",
@@ -394,7 +402,7 @@ exports.cryptocurrenciesById = {
394
402
  type: "CryptoCurrency",
395
403
  id: "bitcoin_gold",
396
404
  forkedFrom: "bitcoin",
397
- coinType: 156,
405
+ coinType: types_cryptoassets_1.CoinType.BTC_GOLD,
398
406
  name: "Bitcoin Gold",
399
407
  managerAppName: "Bitcoin Gold",
400
408
  ticker: "BTG",
@@ -442,7 +450,7 @@ exports.cryptocurrenciesById = {
442
450
  type: "CryptoCurrency",
443
451
  id: "bitcoin_private",
444
452
  forkedFrom: "bitcoin",
445
- coinType: 183,
453
+ coinType: types_cryptoassets_1.CoinType.BTC_PRIVATE,
446
454
  name: "Bitcoin Private",
447
455
  managerAppName: "Bitcoin Private",
448
456
  ticker: "BTCP",
@@ -482,7 +490,7 @@ exports.cryptocurrenciesById = {
482
490
  bsc: {
483
491
  type: "CryptoCurrency",
484
492
  id: "bsc",
485
- coinType: 60,
493
+ coinType: types_cryptoassets_1.CoinType.ETH,
486
494
  name: "Binance Smart Chain",
487
495
  managerAppName: "Binance Smart Chain",
488
496
  ticker: "BNB",
@@ -515,7 +523,7 @@ exports.cryptocurrenciesById = {
515
523
  callisto: {
516
524
  type: "CryptoCurrency",
517
525
  id: "callisto",
518
- coinType: 820,
526
+ coinType: types_cryptoassets_1.CoinType.CALLISTO,
519
527
  name: "Callisto",
520
528
  managerAppName: "Callisto",
521
529
  ticker: "CLO",
@@ -534,7 +542,7 @@ exports.cryptocurrenciesById = {
534
542
  cardano: {
535
543
  type: "CryptoCurrency",
536
544
  id: "cardano",
537
- coinType: 1815,
545
+ coinType: types_cryptoassets_1.CoinType.CARDANO,
538
546
  name: "Cardano",
539
547
  managerAppName: "Cardano ADA",
540
548
  ticker: "ADA",
@@ -565,7 +573,7 @@ exports.cryptocurrenciesById = {
565
573
  cardano_testnet: {
566
574
  type: "CryptoCurrency",
567
575
  id: "cardano_testnet",
568
- coinType: 1815,
576
+ coinType: types_cryptoassets_1.CoinType.CARDANO,
569
577
  name: "Cardano (Testnet)",
570
578
  managerAppName: "Cardano ADA",
571
579
  ticker: "tADA",
@@ -597,7 +605,7 @@ exports.cryptocurrenciesById = {
597
605
  celo: {
598
606
  type: "CryptoCurrency",
599
607
  id: "celo",
600
- coinType: 52752,
608
+ coinType: types_cryptoassets_1.CoinType.CELO,
601
609
  name: "Celo",
602
610
  managerAppName: "Celo",
603
611
  blockAvgTime: 5,
@@ -625,7 +633,7 @@ exports.cryptocurrenciesById = {
625
633
  },
626
634
  type: "CryptoCurrency",
627
635
  id: "clubcoin",
628
- coinType: 79,
636
+ coinType: types_cryptoassets_1.CoinType.CLUB,
629
637
  name: "Clubcoin",
630
638
  managerAppName: "Clubcoin",
631
639
  ticker: "CLUB",
@@ -661,7 +669,7 @@ exports.cryptocurrenciesById = {
661
669
  cosmos: {
662
670
  type: "CryptoCurrency",
663
671
  id: "cosmos",
664
- coinType: 118,
672
+ coinType: types_cryptoassets_1.CoinType.ATOM,
665
673
  name: "Cosmos",
666
674
  managerAppName: "Cosmos",
667
675
  ticker: "ATOM",
@@ -693,7 +701,7 @@ exports.cryptocurrenciesById = {
693
701
  cosmos_testnet: {
694
702
  type: "CryptoCurrency",
695
703
  id: "cosmos_testnet",
696
- coinType: 118,
704
+ coinType: types_cryptoassets_1.CoinType.ATOM,
697
705
  name: "Cosmos (Testnet)",
698
706
  managerAppName: "Cosmos",
699
707
  ticker: "MUON",
@@ -726,7 +734,7 @@ exports.cryptocurrenciesById = {
726
734
  dash: {
727
735
  type: "CryptoCurrency",
728
736
  id: "dash",
729
- coinType: 5,
737
+ coinType: types_cryptoassets_1.CoinType.DASH,
730
738
  name: "Dash",
731
739
  managerAppName: "Dash",
732
740
  ticker: "DASH",
@@ -762,7 +770,7 @@ exports.cryptocurrenciesById = {
762
770
  decred: {
763
771
  type: "CryptoCurrency",
764
772
  id: "decred",
765
- coinType: 42,
773
+ coinType: types_cryptoassets_1.CoinType.DECRED,
766
774
  name: "Decred",
767
775
  managerAppName: "Decred",
768
776
  ticker: "DCR",
@@ -803,7 +811,7 @@ exports.cryptocurrenciesById = {
803
811
  dexon: {
804
812
  type: "CryptoCurrency",
805
813
  id: "dexon",
806
- coinType: 237,
814
+ coinType: types_cryptoassets_1.CoinType.DEXON,
807
815
  name: "DEXON",
808
816
  managerAppName: "DEXON",
809
817
  ticker: "DXN",
@@ -830,7 +838,7 @@ exports.cryptocurrenciesById = {
830
838
  digibyte: {
831
839
  type: "CryptoCurrency",
832
840
  id: "digibyte",
833
- coinType: 20,
841
+ coinType: types_cryptoassets_1.CoinType.DIGIBYTE,
834
842
  name: "DigiByte",
835
843
  managerAppName: "Digibyte",
836
844
  ticker: "DGB",
@@ -868,7 +876,7 @@ exports.cryptocurrenciesById = {
868
876
  dogecoin: {
869
877
  type: "CryptoCurrency",
870
878
  id: "dogecoin",
871
- coinType: 3,
879
+ coinType: types_cryptoassets_1.CoinType.DOGE,
872
880
  name: "Dogecoin",
873
881
  managerAppName: "Dogecoin",
874
882
  ticker: "DOGE",
@@ -906,7 +914,7 @@ exports.cryptocurrenciesById = {
906
914
  elastos: {
907
915
  type: "CryptoCurrency",
908
916
  id: "elastos",
909
- coinType: 2305,
917
+ coinType: types_cryptoassets_1.CoinType.ELASTOS,
910
918
  name: "Elastos",
911
919
  managerAppName: "Elastos",
912
920
  ticker: "ELA",
@@ -925,7 +933,7 @@ exports.cryptocurrenciesById = {
925
933
  ellaism: {
926
934
  type: "CryptoCurrency",
927
935
  id: "ellaism",
928
- coinType: 163,
936
+ coinType: types_cryptoassets_1.CoinType.ELLAISM,
929
937
  name: "Ellaism",
930
938
  managerAppName: "Ellaism",
931
939
  ticker: "ELLA",
@@ -944,7 +952,7 @@ exports.cryptocurrenciesById = {
944
952
  elrond: {
945
953
  type: "CryptoCurrency",
946
954
  id: "elrond",
947
- coinType: 508,
955
+ coinType: types_cryptoassets_1.CoinType.MULTIVERSX,
948
956
  name: "MultiversX",
949
957
  managerAppName: "MultiversX",
950
958
  ticker: "EGLD",
@@ -970,7 +978,7 @@ exports.cryptocurrenciesById = {
970
978
  energywebchain: {
971
979
  type: "CryptoCurrency",
972
980
  id: "energywebchain",
973
- coinType: 246,
981
+ coinType: types_cryptoassets_1.CoinType.ENERGY_WEB_CHAIN,
974
982
  name: "EnergyWebChain",
975
983
  managerAppName: "EnergyWebChain",
976
984
  ticker: "EWT",
@@ -992,7 +1000,7 @@ exports.cryptocurrenciesById = {
992
1000
  eos: {
993
1001
  type: "CryptoCurrency",
994
1002
  id: "eos",
995
- coinType: 194,
1003
+ coinType: types_cryptoassets_1.CoinType.EOS,
996
1004
  name: "EOS",
997
1005
  managerAppName: "Eos",
998
1006
  ticker: "EOS",
@@ -1011,7 +1019,7 @@ exports.cryptocurrenciesById = {
1011
1019
  ethereum: {
1012
1020
  type: "CryptoCurrency",
1013
1021
  id: "ethereum",
1014
- coinType: 60,
1022
+ coinType: types_cryptoassets_1.CoinType.ETH,
1015
1023
  name: "Ethereum",
1016
1024
  managerAppName: "Ethereum",
1017
1025
  ticker: "ETH",
@@ -1040,7 +1048,7 @@ exports.cryptocurrenciesById = {
1040
1048
  ethereum_classic: {
1041
1049
  type: "CryptoCurrency",
1042
1050
  id: "ethereum_classic",
1043
- coinType: 61,
1051
+ coinType: types_cryptoassets_1.CoinType.ETH_CLASSIC,
1044
1052
  name: "Ethereum Classic",
1045
1053
  managerAppName: "Ethereum Classic",
1046
1054
  ticker: "ETC",
@@ -1067,7 +1075,7 @@ exports.cryptocurrenciesById = {
1067
1075
  ether1: {
1068
1076
  type: "CryptoCurrency",
1069
1077
  id: "ether1",
1070
- coinType: 61,
1078
+ coinType: types_cryptoassets_1.CoinType.ETH_CLASSIC,
1071
1079
  name: "Ether1",
1072
1080
  managerAppName: "Ether-1",
1073
1081
  ticker: "ETHO",
@@ -1084,7 +1092,7 @@ exports.cryptocurrenciesById = {
1084
1092
  ethergem: {
1085
1093
  type: "CryptoCurrency",
1086
1094
  id: "ethergem",
1087
- coinType: 61,
1095
+ coinType: types_cryptoassets_1.CoinType.ETH_CLASSIC,
1088
1096
  name: "EtherGem",
1089
1097
  managerAppName: "EtherGem",
1090
1098
  ticker: "EGEM",
@@ -1101,7 +1109,7 @@ exports.cryptocurrenciesById = {
1101
1109
  ethersocial: {
1102
1110
  type: "CryptoCurrency",
1103
1111
  id: "ethersocial",
1104
- coinType: 61,
1112
+ coinType: types_cryptoassets_1.CoinType.ETH_CLASSIC,
1105
1113
  name: "Ethersocial",
1106
1114
  managerAppName: "Ethersocial",
1107
1115
  ticker: "ESN",
@@ -1118,7 +1126,7 @@ exports.cryptocurrenciesById = {
1118
1126
  expanse: {
1119
1127
  type: "CryptoCurrency",
1120
1128
  id: "expanse",
1121
- coinType: 40,
1129
+ coinType: types_cryptoassets_1.CoinType.EXPANSE,
1122
1130
  name: "Expanse",
1123
1131
  managerAppName: "Expanse",
1124
1132
  ticker: "EXP",
@@ -1141,7 +1149,7 @@ exports.cryptocurrenciesById = {
1141
1149
  factom: {
1142
1150
  type: "CryptoCurrency",
1143
1151
  id: "factom",
1144
- coinType: 131,
1152
+ coinType: types_cryptoassets_1.CoinType.FACTOM,
1145
1153
  name: "Factom",
1146
1154
  managerAppName: "Factom",
1147
1155
  ticker: "FCT",
@@ -1160,7 +1168,7 @@ exports.cryptocurrenciesById = {
1160
1168
  fic: {
1161
1169
  type: "CryptoCurrency",
1162
1170
  id: "fic",
1163
- coinType: 5248,
1171
+ coinType: types_cryptoassets_1.CoinType.FIC,
1164
1172
  name: "FIC",
1165
1173
  managerAppName: "FIC",
1166
1174
  ticker: "FIC",
@@ -1179,7 +1187,7 @@ exports.cryptocurrenciesById = {
1179
1187
  flow: {
1180
1188
  type: "CryptoCurrency",
1181
1189
  id: "flow",
1182
- coinType: 539,
1190
+ coinType: types_cryptoassets_1.CoinType.FLOW,
1183
1191
  name: "Flow",
1184
1192
  managerAppName: "Flow",
1185
1193
  ticker: "FLOW",
@@ -1198,7 +1206,7 @@ exports.cryptocurrenciesById = {
1198
1206
  game_credits: {
1199
1207
  type: "CryptoCurrency",
1200
1208
  id: "game_credits",
1201
- coinType: 101,
1209
+ coinType: types_cryptoassets_1.CoinType.GAME,
1202
1210
  name: "GameCredits",
1203
1211
  managerAppName: "GameCredits",
1204
1212
  ticker: "GAME",
@@ -1221,7 +1229,7 @@ exports.cryptocurrenciesById = {
1221
1229
  gochain: {
1222
1230
  type: "CryptoCurrency",
1223
1231
  id: "gochain",
1224
- coinType: 6060,
1232
+ coinType: types_cryptoassets_1.CoinType.GOCHAIN,
1225
1233
  name: "GoChain",
1226
1234
  managerAppName: "GoChain",
1227
1235
  ticker: "GO",
@@ -1240,7 +1248,7 @@ exports.cryptocurrenciesById = {
1240
1248
  groestlcoin: {
1241
1249
  type: "CryptoCurrency",
1242
1250
  id: "groestcoin",
1243
- coinType: 17,
1251
+ coinType: types_cryptoassets_1.CoinType.GRS,
1244
1252
  name: "Groestlcoin",
1245
1253
  managerAppName: "Groestlcoin",
1246
1254
  ticker: "GRS",
@@ -1264,7 +1272,7 @@ exports.cryptocurrenciesById = {
1264
1272
  hcash: {
1265
1273
  type: "CryptoCurrency",
1266
1274
  id: "hcash",
1267
- coinType: 171,
1275
+ coinType: types_cryptoassets_1.CoinType.HCASH,
1268
1276
  name: "Hcash",
1269
1277
  managerAppName: "HCash",
1270
1278
  ticker: "HSR",
@@ -1299,7 +1307,7 @@ exports.cryptocurrenciesById = {
1299
1307
  hedera: {
1300
1308
  type: "CryptoCurrency",
1301
1309
  id: "hedera",
1302
- coinType: 3030,
1310
+ coinType: types_cryptoassets_1.CoinType.HEDERA,
1303
1311
  name: "Hedera",
1304
1312
  managerAppName: "Hedera",
1305
1313
  ticker: "HBAR",
@@ -1323,7 +1331,7 @@ exports.cryptocurrenciesById = {
1323
1331
  helium: {
1324
1332
  type: "CryptoCurrency",
1325
1333
  id: "helium",
1326
- coinType: 904,
1334
+ coinType: types_cryptoassets_1.CoinType.HELIUM,
1327
1335
  name: "Helium",
1328
1336
  managerAppName: "Helium",
1329
1337
  ticker: "HNT",
@@ -1352,7 +1360,7 @@ exports.cryptocurrenciesById = {
1352
1360
  hpb: {
1353
1361
  type: "CryptoCurrency",
1354
1362
  id: "hpb",
1355
- coinType: 269,
1363
+ coinType: types_cryptoassets_1.CoinType.HPB,
1356
1364
  name: "High Performance Blockchain",
1357
1365
  managerAppName: "HPB",
1358
1366
  ticker: "HPB",
@@ -1380,7 +1388,7 @@ exports.cryptocurrenciesById = {
1380
1388
  hycon: {
1381
1389
  type: "CryptoCurrency",
1382
1390
  id: "hycon",
1383
- coinType: 1397,
1391
+ coinType: types_cryptoassets_1.CoinType.HYCON,
1384
1392
  name: "Hycon",
1385
1393
  managerAppName: "Hycon",
1386
1394
  ticker: "HYC",
@@ -1404,7 +1412,7 @@ exports.cryptocurrenciesById = {
1404
1412
  icon: {
1405
1413
  type: "CryptoCurrency",
1406
1414
  id: "icon",
1407
- coinType: 4801368,
1415
+ coinType: types_cryptoassets_1.CoinType.ICON,
1408
1416
  name: "ICON",
1409
1417
  managerAppName: "ICON",
1410
1418
  ticker: "ICX",
@@ -1423,7 +1431,7 @@ exports.cryptocurrenciesById = {
1423
1431
  icp: {
1424
1432
  type: "CryptoCurrency",
1425
1433
  id: "icp",
1426
- coinType: 223,
1434
+ coinType: types_cryptoassets_1.CoinType.ICP,
1427
1435
  family: "icp",
1428
1436
  ticker: "ICP",
1429
1437
  scheme: "icp",
@@ -1447,7 +1455,7 @@ exports.cryptocurrenciesById = {
1447
1455
  iota: {
1448
1456
  type: "CryptoCurrency",
1449
1457
  id: "iota",
1450
- coinType: 4218,
1458
+ coinType: types_cryptoassets_1.CoinType.IOTA,
1451
1459
  name: "IOTA",
1452
1460
  managerAppName: "IOTA",
1453
1461
  ticker: "MIOTA",
@@ -1466,7 +1474,7 @@ exports.cryptocurrenciesById = {
1466
1474
  iov: {
1467
1475
  type: "CryptoCurrency",
1468
1476
  id: "iov",
1469
- coinType: 234,
1477
+ coinType: types_cryptoassets_1.CoinType.IOV,
1470
1478
  name: "IOV",
1471
1479
  managerAppName: "IOV",
1472
1480
  ticker: "IOV",
@@ -1485,7 +1493,7 @@ exports.cryptocurrenciesById = {
1485
1493
  kin: {
1486
1494
  type: "CryptoCurrency",
1487
1495
  id: "kin",
1488
- coinType: 2017,
1496
+ coinType: types_cryptoassets_1.CoinType.KIN,
1489
1497
  name: "Kin",
1490
1498
  managerAppName: "Kin",
1491
1499
  ticker: "KIN",
@@ -1509,7 +1517,7 @@ exports.cryptocurrenciesById = {
1509
1517
  komodo: {
1510
1518
  type: "CryptoCurrency",
1511
1519
  id: "komodo",
1512
- coinType: 141,
1520
+ coinType: types_cryptoassets_1.CoinType.KOMODO,
1513
1521
  name: "Komodo",
1514
1522
  managerAppName: "Komodo",
1515
1523
  ticker: "KMD",
@@ -1545,7 +1553,7 @@ exports.cryptocurrenciesById = {
1545
1553
  kusama: {
1546
1554
  type: "CryptoCurrency",
1547
1555
  id: "kusama",
1548
- coinType: 434,
1556
+ coinType: types_cryptoassets_1.CoinType.KUSAMA,
1549
1557
  name: "Kusama",
1550
1558
  managerAppName: "Kusama",
1551
1559
  ticker: "KSM",
@@ -1564,7 +1572,7 @@ exports.cryptocurrenciesById = {
1564
1572
  lbry: {
1565
1573
  type: "CryptoCurrency",
1566
1574
  id: "LBRY",
1567
- coinType: 140,
1575
+ coinType: types_cryptoassets_1.CoinType.LBRY,
1568
1576
  name: "LBRY",
1569
1577
  managerAppName: "LBRY",
1570
1578
  ticker: "LBRY",
@@ -1583,7 +1591,7 @@ exports.cryptocurrenciesById = {
1583
1591
  litecoin: {
1584
1592
  type: "CryptoCurrency",
1585
1593
  id: "litecoin",
1586
- coinType: 2,
1594
+ coinType: types_cryptoassets_1.CoinType.LITECOIN,
1587
1595
  name: "Litecoin",
1588
1596
  managerAppName: "Litecoin",
1589
1597
  ticker: "LTC",
@@ -1628,7 +1636,7 @@ exports.cryptocurrenciesById = {
1628
1636
  lisk: {
1629
1637
  type: "CryptoCurrency",
1630
1638
  id: "lisk",
1631
- coinType: 134,
1639
+ coinType: types_cryptoassets_1.CoinType.LISK,
1632
1640
  name: "lisk",
1633
1641
  managerAppName: "Lisk",
1634
1642
  ticker: "LSK",
@@ -1647,7 +1655,7 @@ exports.cryptocurrenciesById = {
1647
1655
  mix: {
1648
1656
  type: "CryptoCurrency",
1649
1657
  id: "mix",
1650
- coinType: 76,
1658
+ coinType: types_cryptoassets_1.CoinType.MIX,
1651
1659
  name: "MIX Blockchain",
1652
1660
  managerAppName: "Mix",
1653
1661
  ticker: "MIX",
@@ -1669,7 +1677,7 @@ exports.cryptocurrenciesById = {
1669
1677
  monero: {
1670
1678
  type: "CryptoCurrency",
1671
1679
  id: "monero",
1672
- coinType: 128,
1680
+ coinType: types_cryptoassets_1.CoinType.MONERO,
1673
1681
  name: "Monero",
1674
1682
  managerAppName: "Monero",
1675
1683
  ticker: "XMR",
@@ -1693,7 +1701,7 @@ exports.cryptocurrenciesById = {
1693
1701
  moonriver: {
1694
1702
  type: "CryptoCurrency",
1695
1703
  id: "moonriver",
1696
- coinType: 60,
1704
+ coinType: types_cryptoassets_1.CoinType.ETH,
1697
1705
  name: "Moonriver",
1698
1706
  managerAppName: "Moonriver",
1699
1707
  ticker: "MOVR",
@@ -1721,7 +1729,7 @@ exports.cryptocurrenciesById = {
1721
1729
  musicoin: {
1722
1730
  type: "CryptoCurrency",
1723
1731
  id: "musicoin",
1724
- coinType: 184,
1732
+ coinType: types_cryptoassets_1.CoinType.MUSICOIN,
1725
1733
  name: "Musicoin",
1726
1734
  managerAppName: "Musicoin",
1727
1735
  ticker: "MUSIC",
@@ -1743,7 +1751,7 @@ exports.cryptocurrenciesById = {
1743
1751
  nano: {
1744
1752
  type: "CryptoCurrency",
1745
1753
  id: "nano",
1746
- coinType: 165,
1754
+ coinType: types_cryptoassets_1.CoinType.NANO,
1747
1755
  name: "Nano",
1748
1756
  managerAppName: "Nano",
1749
1757
  ticker: "NANO",
@@ -1767,10 +1775,29 @@ exports.cryptocurrenciesById = {
1767
1775
  },
1768
1776
  ]
1769
1777
  },
1778
+ nem: {
1779
+ type: "CryptoCurrency",
1780
+ id: "nem",
1781
+ coinType: types_cryptoassets_1.CoinType.NEM,
1782
+ name: "NEM",
1783
+ managerAppName: "NEM",
1784
+ ticker: "XEM",
1785
+ scheme: "nem",
1786
+ color: "#000",
1787
+ family: "nem",
1788
+ units: [
1789
+ {
1790
+ name: "XEM",
1791
+ code: "XEM",
1792
+ magnitude: 6
1793
+ },
1794
+ ],
1795
+ explorerViews: []
1796
+ },
1770
1797
  neo: {
1771
1798
  type: "CryptoCurrency",
1772
1799
  id: "neo",
1773
- coinType: 888,
1800
+ coinType: types_cryptoassets_1.CoinType.NEO,
1774
1801
  name: "Neo",
1775
1802
  managerAppName: "NEO",
1776
1803
  ticker: "NEO",
@@ -1793,7 +1820,7 @@ exports.cryptocurrenciesById = {
1793
1820
  nervos: {
1794
1821
  type: "CryptoCurrency",
1795
1822
  id: "nervos",
1796
- coinType: 309,
1823
+ coinType: types_cryptoassets_1.CoinType.NERVOS,
1797
1824
  name: "Nervos",
1798
1825
  managerAppName: "Nervos",
1799
1826
  ticker: "CKB",
@@ -1817,7 +1844,7 @@ exports.cryptocurrenciesById = {
1817
1844
  nimiq: {
1818
1845
  type: "CryptoCurrency",
1819
1846
  id: "nimiq",
1820
- coinType: 242,
1847
+ coinType: types_cryptoassets_1.CoinType.NIMIQ,
1821
1848
  name: "Nimiq",
1822
1849
  managerAppName: "Nimiq",
1823
1850
  ticker: "NIM",
@@ -1840,7 +1867,7 @@ exports.cryptocurrenciesById = {
1840
1867
  nix: {
1841
1868
  type: "CryptoCurrency",
1842
1869
  id: "nix",
1843
- coinType: 400,
1870
+ coinType: types_cryptoassets_1.CoinType.NIX,
1844
1871
  name: "Nix",
1845
1872
  managerAppName: "NIX",
1846
1873
  ticker: "NIX",
@@ -1875,7 +1902,7 @@ exports.cryptocurrenciesById = {
1875
1902
  type: "CryptoCurrency",
1876
1903
  id: "nos",
1877
1904
  name: "NOS",
1878
- coinType: 229,
1905
+ coinType: types_cryptoassets_1.CoinType.NOS,
1879
1906
  managerAppName: "NOS",
1880
1907
  ticker: "NOS",
1881
1908
  scheme: "nos",
@@ -1893,7 +1920,7 @@ exports.cryptocurrenciesById = {
1893
1920
  ontology: {
1894
1921
  type: "CryptoCurrency",
1895
1922
  id: "ontology",
1896
- coinType: 1024,
1923
+ coinType: types_cryptoassets_1.CoinType.ONTOLOGY,
1897
1924
  name: "Ontology",
1898
1925
  managerAppName: "ONT",
1899
1926
  ticker: "ONT",
@@ -1916,7 +1943,7 @@ exports.cryptocurrenciesById = {
1916
1943
  particl: {
1917
1944
  type: "CryptoCurrency",
1918
1945
  id: "particl",
1919
- coinType: 44,
1946
+ coinType: types_cryptoassets_1.CoinType.PARTICL,
1920
1947
  name: "Particl",
1921
1948
  managerAppName: "Particl",
1922
1949
  ticker: "PART",
@@ -1939,7 +1966,7 @@ exports.cryptocurrenciesById = {
1939
1966
  peercoin: {
1940
1967
  type: "CryptoCurrency",
1941
1968
  id: "peercoin",
1942
- coinType: 6,
1969
+ coinType: types_cryptoassets_1.CoinType.PEERCOIN,
1943
1970
  name: "Peercoin",
1944
1971
  managerAppName: "Peercoin",
1945
1972
  ticker: "PPC",
@@ -1976,7 +2003,7 @@ exports.cryptocurrenciesById = {
1976
2003
  pirl: {
1977
2004
  type: "CryptoCurrency",
1978
2005
  id: "pirl",
1979
- coinType: 164,
2006
+ coinType: types_cryptoassets_1.CoinType.PIRL,
1980
2007
  name: "Pirl",
1981
2008
  managerAppName: "Pirl",
1982
2009
  ticker: "PIRL",
@@ -1999,7 +2026,7 @@ exports.cryptocurrenciesById = {
1999
2026
  pivx: {
2000
2027
  type: "CryptoCurrency",
2001
2028
  id: "pivx",
2002
- coinType: 77,
2029
+ coinType: types_cryptoassets_1.CoinType.PIVX,
2003
2030
  name: "PivX",
2004
2031
  managerAppName: "PivX",
2005
2032
  ticker: "PIVX",
@@ -2035,7 +2062,7 @@ exports.cryptocurrenciesById = {
2035
2062
  poa: {
2036
2063
  type: "CryptoCurrency",
2037
2064
  id: "poa",
2038
- coinType: 178,
2065
+ coinType: types_cryptoassets_1.CoinType.POA,
2039
2066
  name: "POA",
2040
2067
  managerAppName: "POA",
2041
2068
  ticker: "POA",
@@ -2058,7 +2085,7 @@ exports.cryptocurrenciesById = {
2058
2085
  polkadot: {
2059
2086
  type: "CryptoCurrency",
2060
2087
  id: "polkadot",
2061
- coinType: 354,
2088
+ coinType: types_cryptoassets_1.CoinType.POLKADOT,
2062
2089
  name: "Polkadot",
2063
2090
  managerAppName: "Polkadot",
2064
2091
  ticker: "DOT",
@@ -2093,7 +2120,7 @@ exports.cryptocurrenciesById = {
2093
2120
  polygon: {
2094
2121
  type: "CryptoCurrency",
2095
2122
  id: "polygon",
2096
- coinType: 60,
2123
+ coinType: types_cryptoassets_1.CoinType.ETH,
2097
2124
  name: "Polygon",
2098
2125
  managerAppName: "Polygon",
2099
2126
  ticker: "MATIC",
@@ -2125,7 +2152,7 @@ exports.cryptocurrenciesById = {
2125
2152
  poswallet: {
2126
2153
  type: "CryptoCurrency",
2127
2154
  id: "poswallet",
2128
- coinType: 47,
2155
+ coinType: types_cryptoassets_1.CoinType.POSWALLET,
2129
2156
  name: "PosW",
2130
2157
  managerAppName: "PoSW",
2131
2158
  ticker: "POSW",
@@ -2161,7 +2188,7 @@ exports.cryptocurrenciesById = {
2161
2188
  qrl: {
2162
2189
  type: "CryptoCurrency",
2163
2190
  id: "qrl",
2164
- coinType: 238,
2191
+ coinType: types_cryptoassets_1.CoinType.QRL,
2165
2192
  name: "QRL",
2166
2193
  ticker: "QRL",
2167
2194
  managerAppName: "QRL",
@@ -2186,7 +2213,7 @@ exports.cryptocurrenciesById = {
2186
2213
  qtum: {
2187
2214
  type: "CryptoCurrency",
2188
2215
  id: "qtum",
2189
- coinType: 88,
2216
+ coinType: types_cryptoassets_1.CoinType.QTUM,
2190
2217
  name: "Qtum",
2191
2218
  managerAppName: "Qtum",
2192
2219
  supportsSegwit: true,
@@ -2220,29 +2247,10 @@ exports.cryptocurrenciesById = {
2220
2247
  ],
2221
2248
  explorerId: "qtum"
2222
2249
  },
2223
- nem: {
2224
- type: "CryptoCurrency",
2225
- id: "nem",
2226
- coinType: 43,
2227
- name: "NEM",
2228
- managerAppName: "NEM",
2229
- ticker: "XEM",
2230
- scheme: "nem",
2231
- color: "#000",
2232
- family: "nem",
2233
- units: [
2234
- {
2235
- name: "XEM",
2236
- code: "XEM",
2237
- magnitude: 6
2238
- },
2239
- ],
2240
- explorerViews: []
2241
- },
2242
2250
  ravencoin: {
2243
2251
  type: "CryptoCurrency",
2244
2252
  id: "ravencoin",
2245
- coinType: 175,
2253
+ coinType: types_cryptoassets_1.CoinType.RAVECOIN,
2246
2254
  name: "Ravencoin",
2247
2255
  managerAppName: "Ravencoin",
2248
2256
  ticker: "RVN",
@@ -2261,7 +2269,7 @@ exports.cryptocurrenciesById = {
2261
2269
  ripple: {
2262
2270
  type: "CryptoCurrency",
2263
2271
  id: "ripple",
2264
- coinType: 144,
2272
+ coinType: types_cryptoassets_1.CoinType.RIPPLE,
2265
2273
  name: "XRP",
2266
2274
  managerAppName: "XRP",
2267
2275
  ticker: "XRP",
@@ -2291,7 +2299,7 @@ exports.cryptocurrenciesById = {
2291
2299
  rise: {
2292
2300
  type: "CryptoCurrency",
2293
2301
  id: "rise",
2294
- coinType: 1120,
2302
+ coinType: types_cryptoassets_1.CoinType.RISE,
2295
2303
  name: "Rise",
2296
2304
  managerAppName: "Rise",
2297
2305
  ticker: "RISE",
@@ -2316,7 +2324,7 @@ exports.cryptocurrenciesById = {
2316
2324
  reosc: {
2317
2325
  type: "CryptoCurrency",
2318
2326
  id: "reosc",
2319
- coinType: 2894,
2327
+ coinType: types_cryptoassets_1.CoinType.REOSC,
2320
2328
  name: "REOSC",
2321
2329
  managerAppName: "REOSC",
2322
2330
  ticker: "REOSC",
@@ -2343,7 +2351,7 @@ exports.cryptocurrenciesById = {
2343
2351
  resistance: {
2344
2352
  type: "CryptoCurrency",
2345
2353
  id: "resistance",
2346
- coinType: 356,
2354
+ coinType: types_cryptoassets_1.CoinType.RESISTANCE,
2347
2355
  name: "Resistance",
2348
2356
  managerAppName: "Resistance",
2349
2357
  ticker: "RES",
@@ -2362,7 +2370,7 @@ exports.cryptocurrenciesById = {
2362
2370
  solana: {
2363
2371
  type: "CryptoCurrency",
2364
2372
  id: "solana",
2365
- coinType: 501,
2373
+ coinType: types_cryptoassets_1.CoinType.SOLANA,
2366
2374
  name: "Solana",
2367
2375
  managerAppName: "Solana",
2368
2376
  ticker: "SOL",
@@ -2396,7 +2404,7 @@ exports.cryptocurrenciesById = {
2396
2404
  stakenet: {
2397
2405
  type: "CryptoCurrency",
2398
2406
  id: "stakenet",
2399
- coinType: 384,
2407
+ coinType: types_cryptoassets_1.CoinType.STAKENET,
2400
2408
  name: "Stakenet",
2401
2409
  managerAppName: "XSN",
2402
2410
  ticker: "XSN",
@@ -2439,7 +2447,7 @@ exports.cryptocurrenciesById = {
2439
2447
  },
2440
2448
  type: "CryptoCurrency",
2441
2449
  id: "stratis",
2442
- coinType: 105,
2450
+ coinType: types_cryptoassets_1.CoinType.STRATIS,
2443
2451
  name: "Stratis",
2444
2452
  managerAppName: "Stratis",
2445
2453
  ticker: "STRAT",
@@ -2479,7 +2487,7 @@ exports.cryptocurrenciesById = {
2479
2487
  },
2480
2488
  type: "CryptoCurrency",
2481
2489
  id: "stealthcoin",
2482
- coinType: 125,
2490
+ coinType: types_cryptoassets_1.CoinType.STEALTH,
2483
2491
  name: "Stealth",
2484
2492
  managerAppName: "Stealth",
2485
2493
  ticker: "XST",
@@ -2516,7 +2524,7 @@ exports.cryptocurrenciesById = {
2516
2524
  stellar: {
2517
2525
  type: "CryptoCurrency",
2518
2526
  id: "stellar",
2519
- coinType: 148,
2527
+ coinType: types_cryptoassets_1.CoinType.STELLAR,
2520
2528
  name: "Stellar",
2521
2529
  managerAppName: "Stellar",
2522
2530
  ticker: "XLM",
@@ -2545,7 +2553,7 @@ exports.cryptocurrenciesById = {
2545
2553
  osmosis: {
2546
2554
  type: "CryptoCurrency",
2547
2555
  id: "osmo",
2548
- coinType: 118,
2556
+ coinType: types_cryptoassets_1.CoinType.ATOM,
2549
2557
  name: "Osmosis",
2550
2558
  managerAppName: "Cosmos",
2551
2559
  ticker: "OSMO",
@@ -2574,7 +2582,7 @@ exports.cryptocurrenciesById = {
2574
2582
  juno: {
2575
2583
  type: "CryptoCurrency",
2576
2584
  id: "juno",
2577
- coinType: 118,
2585
+ coinType: types_cryptoassets_1.CoinType.ATOM,
2578
2586
  name: "Juno",
2579
2587
  managerAppName: "Cosmos",
2580
2588
  ticker: "JUNO",
@@ -2603,7 +2611,7 @@ exports.cryptocurrenciesById = {
2603
2611
  shyft: {
2604
2612
  type: "CryptoCurrency",
2605
2613
  id: "shyft",
2606
- coinType: 7341,
2614
+ coinType: types_cryptoassets_1.CoinType.SHYFT,
2607
2615
  name: "Shyft",
2608
2616
  managerAppName: "Shyft",
2609
2617
  ticker: "SHFT",
@@ -2628,7 +2636,7 @@ exports.cryptocurrenciesById = {
2628
2636
  tezos: {
2629
2637
  type: "CryptoCurrency",
2630
2638
  id: "tezos",
2631
- coinType: 1729,
2639
+ coinType: types_cryptoassets_1.CoinType.TEZOS,
2632
2640
  name: "Tezos",
2633
2641
  managerAppName: "Tezos Wallet",
2634
2642
  ticker: "XTZ",
@@ -2653,7 +2661,7 @@ exports.cryptocurrenciesById = {
2653
2661
  thundercore: {
2654
2662
  type: "CryptoCurrency",
2655
2663
  id: "thundercore",
2656
- coinType: 1001,
2664
+ coinType: types_cryptoassets_1.CoinType.THUNDERCORE,
2657
2665
  name: "Thundercore",
2658
2666
  managerAppName: "Thundercore",
2659
2667
  ticker: "TT",
@@ -2680,7 +2688,7 @@ exports.cryptocurrenciesById = {
2680
2688
  tomo: {
2681
2689
  type: "CryptoCurrency",
2682
2690
  id: "tomo",
2683
- coinType: 889,
2691
+ coinType: types_cryptoassets_1.CoinType.TOMO,
2684
2692
  name: "TomoChain",
2685
2693
  managerAppName: "TomoChain",
2686
2694
  ticker: "TOMO",
@@ -2707,7 +2715,7 @@ exports.cryptocurrenciesById = {
2707
2715
  tron: {
2708
2716
  type: "CryptoCurrency",
2709
2717
  id: "tron",
2710
- coinType: 195,
2718
+ coinType: types_cryptoassets_1.CoinType.TRON,
2711
2719
  name: "Tron",
2712
2720
  managerAppName: "Tron",
2713
2721
  ticker: "TRX",
@@ -2733,7 +2741,7 @@ exports.cryptocurrenciesById = {
2733
2741
  ubiq: {
2734
2742
  type: "CryptoCurrency",
2735
2743
  id: "ubiq",
2736
- coinType: 108,
2744
+ coinType: types_cryptoassets_1.CoinType.UBIQ,
2737
2745
  name: "Ubiq",
2738
2746
  managerAppName: "Ubiq",
2739
2747
  ticker: "UBQ",
@@ -2780,7 +2788,7 @@ exports.cryptocurrenciesById = {
2780
2788
  vechain: {
2781
2789
  type: "CryptoCurrency",
2782
2790
  id: "vechain",
2783
- coinType: 818,
2791
+ coinType: types_cryptoassets_1.CoinType.VECHAIN,
2784
2792
  name: "VeChain",
2785
2793
  managerAppName: "VeChain",
2786
2794
  ticker: "VET",
@@ -2803,7 +2811,7 @@ exports.cryptocurrenciesById = {
2803
2811
  vertcoin: {
2804
2812
  type: "CryptoCurrency",
2805
2813
  id: "vertcoin",
2806
- coinType: 28,
2814
+ coinType: types_cryptoassets_1.CoinType.VERTCOIN,
2807
2815
  name: "Vertcoin",
2808
2816
  managerAppName: "Vertcoin",
2809
2817
  ticker: "VTC",
@@ -2840,7 +2848,7 @@ exports.cryptocurrenciesById = {
2840
2848
  viacoin: {
2841
2849
  type: "CryptoCurrency",
2842
2850
  id: "viacoin",
2843
- coinType: 14,
2851
+ coinType: types_cryptoassets_1.CoinType.VIACOIN,
2844
2852
  name: "Viacoin",
2845
2853
  managerAppName: "Viacoin",
2846
2854
  ticker: "VIA",
@@ -2877,7 +2885,7 @@ exports.cryptocurrenciesById = {
2877
2885
  wanchain: {
2878
2886
  type: "CryptoCurrency",
2879
2887
  id: "wanchain",
2880
- coinType: 5718350,
2888
+ coinType: types_cryptoassets_1.CoinType.WANCHAIN,
2881
2889
  name: "Wanchain",
2882
2890
  managerAppName: "Wanchain",
2883
2891
  ticker: "WAN",
@@ -2900,7 +2908,7 @@ exports.cryptocurrenciesById = {
2900
2908
  waves: {
2901
2909
  type: "CryptoCurrency",
2902
2910
  id: "waves",
2903
- coinType: 5741564,
2911
+ coinType: types_cryptoassets_1.CoinType.WAVES,
2904
2912
  name: "Waves",
2905
2913
  managerAppName: "Waves",
2906
2914
  ticker: "WAVES",
@@ -2919,7 +2927,7 @@ exports.cryptocurrenciesById = {
2919
2927
  zcash: {
2920
2928
  type: "CryptoCurrency",
2921
2929
  id: "zcash",
2922
- coinType: 133,
2930
+ coinType: types_cryptoassets_1.CoinType.ZCASH,
2923
2931
  name: "Zcash",
2924
2932
  managerAppName: "Zcash",
2925
2933
  ticker: "ZEC",
@@ -2955,7 +2963,7 @@ exports.cryptocurrenciesById = {
2955
2963
  zclassic: {
2956
2964
  type: "CryptoCurrency",
2957
2965
  id: "zclassic",
2958
- coinType: 147,
2966
+ coinType: types_cryptoassets_1.CoinType.ZCLASSIC,
2959
2967
  name: "ZClassic",
2960
2968
  managerAppName: "ZClassic",
2961
2969
  ticker: "ZCL",
@@ -2989,7 +2997,7 @@ exports.cryptocurrenciesById = {
2989
2997
  zcoin: {
2990
2998
  type: "CryptoCurrency",
2991
2999
  id: "zcoin",
2992
- coinType: 136,
3000
+ coinType: types_cryptoassets_1.CoinType.ZCOIN,
2993
3001
  name: "ZCoin",
2994
3002
  managerAppName: "Zcoin",
2995
3003
  ticker: "XZC",
@@ -3012,7 +3020,7 @@ exports.cryptocurrenciesById = {
3012
3020
  zencash: {
3013
3021
  type: "CryptoCurrency",
3014
3022
  id: "zencash",
3015
- coinType: 121,
3023
+ coinType: types_cryptoassets_1.CoinType.ZEN,
3016
3024
  name: "Horizen",
3017
3025
  managerAppName: "Horizen",
3018
3026
  ticker: "ZEN",
@@ -3048,7 +3056,7 @@ exports.cryptocurrenciesById = {
3048
3056
  zilliqa: {
3049
3057
  type: "CryptoCurrency",
3050
3058
  id: "zilliqa",
3051
- coinType: 313,
3059
+ coinType: types_cryptoassets_1.CoinType.ZILLIQA,
3052
3060
  name: "Zilliqa",
3053
3061
  managerAppName: "Zilliqa",
3054
3062
  ticker: "ZIL",
@@ -3072,7 +3080,7 @@ exports.cryptocurrenciesById = {
3072
3080
  crypto_org: {
3073
3081
  type: "CryptoCurrency",
3074
3082
  id: "crypto_org",
3075
- coinType: 394,
3083
+ coinType: types_cryptoassets_1.CoinType.CRYPTO_ORG,
3076
3084
  name: "Crypto.org",
3077
3085
  managerAppName: "Crypto.org Chain",
3078
3086
  ticker: "CRO",
@@ -3102,7 +3110,7 @@ exports.cryptocurrenciesById = {
3102
3110
  bitcoin_testnet: {
3103
3111
  type: "CryptoCurrency",
3104
3112
  id: "bitcoin_testnet",
3105
- coinType: 1,
3113
+ coinType: types_cryptoassets_1.CoinType.BTC_TESTNET,
3106
3114
  name: "Bitcoin Testnet",
3107
3115
  managerAppName: "Bitcoin Test",
3108
3116
  ticker: "BTC",
@@ -3133,7 +3141,7 @@ exports.cryptocurrenciesById = {
3133
3141
  ethereum_ropsten: {
3134
3142
  type: "CryptoCurrency",
3135
3143
  id: "ethereum_ropsten",
3136
- coinType: 60,
3144
+ coinType: types_cryptoassets_1.CoinType.ETH,
3137
3145
  name: "Ethereum Ropsten",
3138
3146
  managerAppName: "Ethereum",
3139
3147
  ticker: "ETH",
@@ -3162,7 +3170,7 @@ exports.cryptocurrenciesById = {
3162
3170
  ethereum_goerli: {
3163
3171
  type: "CryptoCurrency",
3164
3172
  id: "ethereum_goerli",
3165
- coinType: 60,
3173
+ coinType: types_cryptoassets_1.CoinType.ETH,
3166
3174
  name: "Ethereum Goerli",
3167
3175
  managerAppName: "Ethereum",
3168
3176
  ticker: "ETH",
@@ -3191,7 +3199,7 @@ exports.cryptocurrenciesById = {
3191
3199
  stacks: {
3192
3200
  type: "CryptoCurrency",
3193
3201
  id: "stacks",
3194
- coinType: 5757,
3202
+ coinType: types_cryptoassets_1.CoinType.STACKS,
3195
3203
  name: "Stacks",
3196
3204
  managerAppName: "Stacks",
3197
3205
  ticker: "STX",
@@ -3215,7 +3223,7 @@ exports.cryptocurrenciesById = {
3215
3223
  crypto_org_croeseid: {
3216
3224
  type: "CryptoCurrency",
3217
3225
  id: "crypto_org_croeseid",
3218
- coinType: 394,
3226
+ coinType: types_cryptoassets_1.CoinType.CRYPTO_ORG,
3219
3227
  name: "Crypto.org Croeseid",
3220
3228
  managerAppName: "Crypto.org Chain",
3221
3229
  ticker: "CRO",
@@ -3246,7 +3254,7 @@ exports.cryptocurrenciesById = {
3246
3254
  solana_testnet: {
3247
3255
  type: "CryptoCurrency",
3248
3256
  id: "solana_testnet",
3249
- coinType: 501,
3257
+ coinType: types_cryptoassets_1.CoinType.SOLANA,
3250
3258
  name: "Solana testnet",
3251
3259
  managerAppName: "Solana",
3252
3260
  ticker: "SOL",
@@ -3281,7 +3289,7 @@ exports.cryptocurrenciesById = {
3281
3289
  solana_devnet: {
3282
3290
  type: "CryptoCurrency",
3283
3291
  id: "solana_devnet",
3284
- coinType: 501,
3292
+ coinType: types_cryptoassets_1.CoinType.SOLANA,
3285
3293
  name: "Solana devnet",
3286
3294
  managerAppName: "Solana",
3287
3295
  ticker: "SOL",
@@ -3316,7 +3324,7 @@ exports.cryptocurrenciesById = {
3316
3324
  filecoin: {
3317
3325
  type: "CryptoCurrency",
3318
3326
  id: "filecoin",
3319
- coinType: 461,
3327
+ coinType: types_cryptoassets_1.CoinType.FILECOIN,
3320
3328
  name: "Filecoin",
3321
3329
  managerAppName: "Filecoin",
3322
3330
  ticker: "FIL",
@@ -3337,11 +3345,11 @@ exports.cryptocurrenciesById = {
3337
3345
  },
3338
3346
  ]
3339
3347
  },
3340
- // Light Integrations are at the end of the list until we figure out a way to fix the ticker/managerApp collisions
3348
+ // ethereum nanoapp currencies
3341
3349
  arbitrum: {
3342
3350
  type: "CryptoCurrency",
3343
3351
  id: "arbitrum",
3344
- coinType: 60,
3352
+ coinType: types_cryptoassets_1.CoinType.ETH,
3345
3353
  name: "Arbitrum",
3346
3354
  managerAppName: "Arbitrum",
3347
3355
  ticker: "ETH",
@@ -3370,7 +3378,7 @@ exports.cryptocurrenciesById = {
3370
3378
  cronos: {
3371
3379
  type: "CryptoCurrency",
3372
3380
  id: "cronos",
3373
- coinType: 60,
3381
+ coinType: types_cryptoassets_1.CoinType.ETH,
3374
3382
  name: "Cronos",
3375
3383
  managerAppName: "Ethereum",
3376
3384
  ticker: "CRO",
@@ -3405,7 +3413,7 @@ exports.cryptocurrenciesById = {
3405
3413
  fantom: {
3406
3414
  type: "CryptoCurrency",
3407
3415
  id: "fantom",
3408
- coinType: 60,
3416
+ coinType: types_cryptoassets_1.CoinType.ETH,
3409
3417
  name: "Fantom",
3410
3418
  managerAppName: "Ethereum",
3411
3419
  ticker: "FTM",
@@ -3434,7 +3442,7 @@ exports.cryptocurrenciesById = {
3434
3442
  flare: {
3435
3443
  type: "CryptoCurrency",
3436
3444
  id: "flare",
3437
- coinType: 60,
3445
+ coinType: types_cryptoassets_1.CoinType.ETH,
3438
3446
  name: "Flare",
3439
3447
  managerAppName: "Ethereum",
3440
3448
  ticker: "FLR",
@@ -3462,7 +3470,7 @@ exports.cryptocurrenciesById = {
3462
3470
  songbird: {
3463
3471
  type: "CryptoCurrency",
3464
3472
  id: "songbird",
3465
- coinType: 60,
3473
+ coinType: types_cryptoassets_1.CoinType.ETH,
3466
3474
  name: "Songbird",
3467
3475
  managerAppName: "Ethereum",
3468
3476
  ticker: "SGB",
@@ -3490,7 +3498,7 @@ exports.cryptocurrenciesById = {
3490
3498
  moonbeam: {
3491
3499
  type: "CryptoCurrency",
3492
3500
  id: "moonbeam",
3493
- coinType: 60,
3501
+ coinType: types_cryptoassets_1.CoinType.ETH,
3494
3502
  name: "Moonbeam",
3495
3503
  managerAppName: "Ethereum",
3496
3504
  ticker: "GLMR",
@@ -3528,16 +3536,25 @@ var cryptocurrenciesArray = [];
3528
3536
  var prodCryptoArray = [];
3529
3537
  var cryptocurrenciesArrayWithoutTerminated = [];
3530
3538
  var prodCryptoArrayWithoutTerminated = [];
3531
- for (var id in exports.cryptocurrenciesById) {
3532
- var definition = exports.cryptocurrenciesById[id];
3533
- registerCryptoCurrency(id, definition);
3539
+ try {
3540
+ for (var _b = __values(Object.values(exports.cryptocurrenciesById)), _c = _b.next(); !_c.done; _c = _b.next()) {
3541
+ var cryptoCurrency = _c.value;
3542
+ registerCryptoCurrency(cryptoCurrency);
3543
+ }
3544
+ }
3545
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
3546
+ finally {
3547
+ try {
3548
+ if (_c && !_c.done && (_a = _b["return"])) _a.call(_b);
3549
+ }
3550
+ finally { if (e_1) throw e_1.error; }
3534
3551
  }
3535
3552
  /**
3536
3553
  *
3537
3554
  * @param {string} id
3538
3555
  * @param {CryptoCurrency} currency
3539
3556
  */
3540
- function registerCryptoCurrency(id, currency) {
3557
+ function registerCryptoCurrency(currency) {
3541
3558
  var _a;
3542
3559
  exports.cryptocurrenciesById[currency.id] = currency;
3543
3560
  cryptocurrenciesByScheme[currency.scheme] = currency;
@@ -3628,7 +3645,7 @@ var testsMap = {
3628
3645
  * @param {*} keyword
3629
3646
  */
3630
3647
  var findCryptoCurrencyByKeyword = function (keyword, tests) {
3631
- var e_1, _a;
3648
+ var e_2, _a;
3632
3649
  if (tests === void 0) { tests = ["keywords", "name", "id", "ticker", "manager"]; }
3633
3650
  var search = keyword.replace(/ /, "").toLowerCase();
3634
3651
  var conditions = tests.map(function (t) { return testsMap[t]; });
@@ -3641,12 +3658,12 @@ var findCryptoCurrencyByKeyword = function (keyword, tests) {
3641
3658
  }
3642
3659
  }
3643
3660
  }
3644
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
3661
+ catch (e_2_1) { e_2 = { error: e_2_1 }; }
3645
3662
  finally {
3646
3663
  try {
3647
3664
  if (conditions_1_1 && !conditions_1_1.done && (_a = conditions_1["return"])) _a.call(conditions_1);
3648
3665
  }
3649
- finally { if (e_1) throw e_1.error; }
3666
+ finally { if (e_2) throw e_2.error; }
3650
3667
  }
3651
3668
  };
3652
3669
  exports.findCryptoCurrencyByKeyword = findCryptoCurrencyByKeyword;
@@ -3667,6 +3684,7 @@ var hasCryptoCurrencyId = function (id) {
3667
3684
  return id in exports.cryptocurrenciesById;
3668
3685
  };
3669
3686
  exports.hasCryptoCurrencyId = hasCryptoCurrencyId;
3687
+ // TODO: signature should be getCryptoCurrencyById(id: CryptoCurrencyId)
3670
3688
  /**
3671
3689
  *
3672
3690
  * @param {*} id