feat: add NDEPS and DEPS ERC20 Tokens (#2403)

Konstantin Ullrich committed Jul 23, 2025 at 22:48 UTC dea9f3d8a1d9460fff23091380ed064cf73334b0
4 files changed +19
assets/images/deps_icon.png
Binary files /dev/null and b/assets/images/deps_icon.png differ
assets/images/ndeps_icon.png
Binary files /dev/null and b/assets/images/ndeps_icon.png differ
cw_core/lib/crypto_currency.dart
+5
@@ -113,6 +113,8 @@ class CryptoCurrency extends EnumerableItem<int> with Serializable<int> implemen
113 CryptoCurrency.flip,
114 CryptoCurrency.deuro,
115 CryptoCurrency.usdtbsc,
116 + CryptoCurrency.ndeps,
117 + CryptoCurrency.deps,
118 ];
119
120 static const havenCurrencies = [
@@ -235,6 +237,9 @@ class CryptoCurrency extends EnumerableItem<int> with Serializable<int> implemen
237 static const flip = CryptoCurrency(title: 'FLIP', tag: 'ETH', fullName: 'Chainflip', raw: 97, name: 'flip', iconPath: 'assets/images/flip_icon.png', decimals: 18);
238 static const deuro = CryptoCurrency(title: 'DEURO', tag: 'ETH', fullName: 'Decentralized Euro', raw: 98, name: 'deuro', iconPath: 'assets/images/deuro_icon.png', decimals: 18);
239 static const usdtbsc = CryptoCurrency(title: 'USDT', tag: 'BSC', fullName: 'USDT Binance coin', raw: 99, name: 'usdtbsc', iconPath: 'assets/images/usdtbsc_icon.png', decimals: 18);
240 + static const ndeps = CryptoCurrency(title: 'NDEPS', tag: 'ETH', fullName: 'Native Decentralized Euro Protocol Share', raw: 100, name: 'ndeps', iconPath: 'assets/images/ndeps_icon.png', decimals: 18);
241 + static const deps = CryptoCurrency(title: 'DEPS', tag: 'ETH', fullName: 'Decentralized Euro Protocol Share', raw: 101, name: 'deps', iconPath: 'assets/images/deps_icon.png', decimals: 18);
242 +
243
244 static final Map<int, CryptoCurrency> _rawCurrencyMap =
245 [...all, ...havenCurrencies].fold<Map<int, CryptoCurrency>>(<int, CryptoCurrency>{}, (acc, item) {
cw_ethereum/lib/default_ethereum_erc20_tokens.dart
+14
@@ -304,6 +304,20 @@ class DefaultEthereumErc20Tokens {
304 decimal: 18,
305 enabled: false,
306 ),
307 + Erc20Token(
308 + name: "Native Decentralized Euro Protocol Share",
309 + symbol: "NDEPS",
310 + contractAddress: "0xc71104001A3CCDA1BEf1177d765831Bd1bfE8eE6",
311 + decimal: 18,
312 + enabled: false,
313 + ),
314 + Erc20Token(
315 + name: "Decentralized Euro Protocol Share",
316 + symbol: "DEPS",
317 + contractAddress: "0x103747924e74708139a9400e4ab4bea79fffa380",
318 + decimal: 18,
319 + enabled: false,
320 + ),
321 ];
322
323 List<Erc20Token> get initialErc20Tokens => _defaultTokens.map((token) {