Cw 1013 deuro minor fix (#2130)
* add deuro token * move to be before DAI * add asset and update currencies list * fix icon * remove print --------- Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
Matthew Fosse committed
Mar 27, 2025 at 16:06 UTC
66d6fd478b91c6268970c6b7339adbaae51f91df
2 files changed
+5
-4
cw_core/lib/crypto_currency.dart
+3
-2
@@ -110,7 +110,8 @@ class CryptoCurrency extends EnumerableItem<int> with Serializable<int> implemen
110
CryptoCurrency.wow,
111
CryptoCurrency.zano,
112
CryptoCurrency.ton,
113
- CryptoCurrency.flip
113
+ CryptoCurrency.flip,
114
+ CryptoCurrency.deuro
115
];
116
117
static const havenCurrencies = [
@@ -231,7 +232,7 @@ class CryptoCurrency extends EnumerableItem<int> with Serializable<int> implemen
232
static const ton = CryptoCurrency(title: 'TON', fullName: 'Toncoin', raw: 95, name: 'ton', iconPath: 'assets/images/ton_icon.png', decimals: 8);
233
static const zano = CryptoCurrency(title: 'ZANO', tag: 'ZANO', fullName: 'Zano', raw: 96, name: 'zano', iconPath: 'assets/images/zano_icon.png', decimals: 12);
234
static const flip = CryptoCurrency(title: 'FLIP', tag: 'ETH', fullName: 'Chainflip', raw: 97, name: 'flip', iconPath: 'assets/images/flip_icon.png', decimals: 18);
234
- static const deuro = CryptoCurrency(title: 'DEURO', tag: 'ETH', fullName: 'dEuro', raw: 98, name: 'deuro', iconPath: 'assets/images/deuro_icon.png', decimals: 18);
235
+ static const deuro = CryptoCurrency(title: 'DEURO', tag: 'ETH', fullName: 'Digital Euro', raw: 98, name: 'deuro', iconPath: 'assets/images/deuro_icon.png', decimals: 18);
236
237
static final Map<int, CryptoCurrency> _rawCurrencyMap =
238
[...all, ...havenCurrencies].fold<Map<int, CryptoCurrency>>(<int, CryptoCurrency>{}, (acc, item) {
cw_ethereum/lib/default_ethereum_erc20_tokens.dart
+2
-2
@@ -18,8 +18,8 @@ class DefaultEthereumErc20Tokens {
18
enabled: true,
19
),
20
Erc20Token(
21
- name: "dEuro",
22
- symbol: "dEUR",
21
+ name: "Digital Euro",
22
+ symbol: "DEURO",
23
contractAddress: "0xbA3f535bbCcCcA2A154b573Ca6c5A49BAAE0a3ea",
24
decimal: 18,
25
enabled: true,