mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-03-31 03:29:04 +00:00
CW-1013 Add deuro token (#2124)
* add deuro token * move to be before DAI * add asset and update currencies list --------- Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
This commit is contained in:
parent
be81042a06
commit
3d0f66c0be
3 changed files with 8 additions and 0 deletions
assets/images
cw_core/lib
cw_ethereum/lib
BIN
assets/images/deuro_icon.png
Normal file
BIN
assets/images/deuro_icon.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 132 KiB |
|
@ -231,6 +231,7 @@ class CryptoCurrency extends EnumerableItem<int> with Serializable<int> implemen
|
|||
static const ton = CryptoCurrency(title: 'TON', fullName: 'Toncoin', raw: 95, name: 'ton', iconPath: 'assets/images/ton_icon.png', decimals: 8);
|
||||
static const zano = CryptoCurrency(title: 'ZANO', tag: 'ZANO', fullName: 'Zano', raw: 96, name: 'zano', iconPath: 'assets/images/zano_icon.png', decimals: 12);
|
||||
static const flip = CryptoCurrency(title: 'FLIP', tag: 'ETH', fullName: 'Chainflip', raw: 97, name: 'flip', iconPath: 'assets/images/flip_icon.png', decimals: 18);
|
||||
static const deuro = CryptoCurrency(title: 'DEURO', tag: 'ETH', fullName: 'dEuro', raw: 98, name: 'deuro', iconPath: 'assets/images/deuro_icon.png', decimals: 18);
|
||||
|
||||
static final Map<int, CryptoCurrency> _rawCurrencyMap =
|
||||
[...all, ...havenCurrencies].fold<Map<int, CryptoCurrency>>(<int, CryptoCurrency>{}, (acc, item) {
|
||||
|
|
|
@ -17,6 +17,13 @@ class DefaultEthereumErc20Tokens {
|
|||
decimal: 6,
|
||||
enabled: true,
|
||||
),
|
||||
Erc20Token(
|
||||
name: "dEuro",
|
||||
symbol: "dEUR",
|
||||
contractAddress: "0xbA3f535bbCcCcA2A154b573Ca6c5A49BAAE0a3ea",
|
||||
decimal: 18,
|
||||
enabled: true,
|
||||
),
|
||||
Erc20Token(
|
||||
name: "Dai",
|
||||
symbol: "DAI",
|
||||
|
|
Loading…
Reference in a new issue