add new assets

Serhii committed Oct 24, 2022 at 15:01 UTC afa16fbe1c33a07b1b5ff5a8095ffa1f591634d0
1 file changed +36 -2
cw_core/lib/crypto_currency.dart
+36 -2
@@ -183,7 +183,24 @@ class CryptoCurrency extends EnumerableItem<int> with Serializable<int> {
183 42: CryptoCurrency.zaddr,
184 43: CryptoCurrency.zec,
185 44: CryptoCurrency.zen,
186 - 45: CryptoCurrency.xvg
186 + 45: CryptoCurrency.xvg,
187 + 46: CryptoCurrency.usdcpoly,
188 + 47: CryptoCurrency.dcr,
189 + 48: CryptoCurrency.husd,
190 + 49: CryptoCurrency.kmd,
191 + 50: CryptoCurrency.mana,
192 + 51: CryptoCurrency.maticpoly,
193 + 52: CryptoCurrency.matic,
194 + 53: CryptoCurrency.mkr,
195 + 54: CryptoCurrency.near,
196 + 55: CryptoCurrency.oxt,
197 + 56: CryptoCurrency.paxg,
198 + 57: CryptoCurrency.pivx,
199 + 58: CryptoCurrency.rune,
200 + 59: CryptoCurrency.rvn,
201 + 60: CryptoCurrency.scrt,
202 + 61: CryptoCurrency.uni,
203 + 62: CryptoCurrency.stx
204 };
205
206 static const mapFromString = {
@@ -232,7 +249,24 @@ class CryptoCurrency extends EnumerableItem<int> with Serializable<int> {
249 'zaddr': CryptoCurrency.zaddr,
250 'zec': CryptoCurrency.zec,
251 'zen': CryptoCurrency.zen,
235 - 'xvg': CryptoCurrency.xvg
252 + 'xvg': CryptoCurrency.xvg,
253 + 'usdcpoly': CryptoCurrency.usdcpoly,
254 + 'dcr': CryptoCurrency.dcr,
255 + 'husd': CryptoCurrency.husd,
256 + 'kmd': CryptoCurrency.kmd,
257 + 'mana': CryptoCurrency.mana,
258 + 'maticpoly': CryptoCurrency.maticpoly,
259 + 'matic': CryptoCurrency.matic,
260 + 'mkr': CryptoCurrency.mkr,
261 + 'near': CryptoCurrency.near,
262 + 'oxt': CryptoCurrency.oxt,
263 + 'paxg': CryptoCurrency.paxg,
264 + 'pivx': CryptoCurrency.pivx,
265 + 'rune': CryptoCurrency.rune,
266 + 'rvn': CryptoCurrency.rvn,
267 + 'scrt': CryptoCurrency.scrt,
268 + 'uni': CryptoCurrency.uni,
269 + 'stx': CryptoCurrency.stx
270 };
271
272 static CryptoCurrency deserialize({required int raw}) {