From 58387a5f04ea9fe074ca1b2522a49bab89aab0a4 Mon Sep 17 00:00:00 2001 From: matejcik Date: Thu, 12 Nov 2020 15:56:07 +0100 Subject: [PATCH] fix(common): drop Zilliqa token (fixes #1318) --- common/defs/coins_details.json | 32 ++++++-------------------------- common/defs/support.json | 4 ++-- core/src/apps/ethereum/tokens.py | 2 -- 3 files changed, 8 insertions(+), 30 deletions(-) diff --git a/common/defs/coins_details.json b/common/defs/coins_details.json index 9b148a917..4ef3fd5b0 100644 --- a/common/defs/coins_details.json +++ b/common/defs/coins_details.json @@ -24375,26 +24375,6 @@ } ] }, - "erc20:eth:ZIL": { - "address": "0x05f4a42e251f2d52b8ed15E9FEdAacFcEF1FAD27", - "links": { - "Github": "https://github.com/zilliqa", - "Homepage": "https://www.zilliqa.com/" - }, - "marketcap_usd": 0, - "name": "Zilliqa", - "network": "eth", - "shortcut": "ZIL", - "t1_enabled": "yes", - "t2_enabled": "yes", - "type": "erc20", - "wallet": [ - { - "name": "Trezor Beta", - "url": "https://beta-wallet.trezor.io/next/" - } - ] - }, "erc20:eth:ZINC": { "address": "0x4AaC461C86aBfA71e9d00d9a2cde8d74E4E1aeEa", "links": { @@ -33209,12 +33189,12 @@ } }, "info": { - "marketcap_supported": "83.65 %", + "marketcap_supported": "84.32 %", "marketcap_usd": 383239302330, - "t1_coins": 1613, - "t2_coins": 1619, - "total_marketcap_usd": 458133016637, - "updated_at": 1605190491, - "updated_at_readable": "Thu Nov 12 15:14:51 2020" + "t1_coins": 1612, + "t2_coins": 1618, + "total_marketcap_usd": 454514068384, + "updated_at": 1605193008, + "updated_at_readable": "Thu Nov 12 15:56:48 2020" } } diff --git a/common/defs/support.json b/common/defs/support.json index b1be67417..8c5405057 100644 --- a/common/defs/support.json +++ b/common/defs/support.json @@ -1441,7 +1441,6 @@ "erc20:eth:ZDC": "1.9.0", "erc20:eth:ZERA": "1.8.4", "erc20:eth:ZEUS": "1.8.0", - "erc20:eth:ZIL": "1.6.2", "erc20:eth:ZINC": "1.8.0", "erc20:eth:ZIP": "1.8.0", "erc20:eth:ZIPT": "1.8.0", @@ -2153,6 +2152,7 @@ "erc20:eth:YEED:ca27": "(AUTO) duplicate key", "erc20:eth:YUP:0f33": "(AUTO) duplicate key", "erc20:eth:YUP:d9a1": "(AUTO) duplicate key", + "erc20:eth:ZIL": "Migrated to mainnet", "erc20:eth:aDAI:363e": "(AUTO) duplicate key", "erc20:eth:aDAI:5dc2": "(AUTO) duplicate key", "erc20:eth:aDAI:fc1e": "(AUTO) duplicate key", @@ -3554,7 +3554,6 @@ "erc20:eth:ZDC": "2.3.0", "erc20:eth:ZERA": "2.1.8", "erc20:eth:ZEUS": "2.0.11", - "erc20:eth:ZIL": "2.0.7", "erc20:eth:ZINC": "2.0.10", "erc20:eth:ZIP": "2.0.10", "erc20:eth:ZIPT": "2.0.10", @@ -4274,6 +4273,7 @@ "erc20:eth:YEED:ca27": "(AUTO) duplicate key", "erc20:eth:YUP:0f33": "(AUTO) duplicate key", "erc20:eth:YUP:d9a1": "(AUTO) duplicate key", + "erc20:eth:ZIL": "Migrated to mainnet", "erc20:eth:aDAI:363e": "(AUTO) duplicate key", "erc20:eth:aDAI:5dc2": "(AUTO) duplicate key", "erc20:eth:aDAI:fc1e": "(AUTO) duplicate key", diff --git a/core/src/apps/ethereum/tokens.py b/core/src/apps/ethereum/tokens.py index 1cb6e622a..04f39f00e 100644 --- a/core/src/apps/ethereum/tokens.py +++ b/core/src/apps/ethereum/tokens.py @@ -3432,8 +3432,6 @@ def token_by_chain_address(chain_id, address): return (chain_id, address, "ZERA", 8) # eth / ZERACOIN elif address == b"\xe7\xe4\x27\x9b\x80\xd3\x19\xed\xe2\x88\x98\x55\x13\x5a\x22\x02\x1b\xaf\x09\x07": return (chain_id, address, "ZEUS", 18) # eth / ZeusNetwork - elif address == b"\x05\xf4\xa4\x2e\x25\x1f\x2d\x52\xb8\xed\x15\xe9\xfe\xda\xac\xfc\xef\x1f\xad\x27": - return (chain_id, address, "ZIL", 12) # eth / Zilliqa elif address == b"\x4a\xac\x46\x1c\x86\xab\xfa\x71\xe9\xd0\x0d\x9a\x2c\xde\x8d\x74\xe4\xe1\xae\xea": return (chain_id, address, "ZINC", 18) # eth / ZINC elif address == b"\xa9\xd2\x92\x7d\x3a\x04\x30\x9e\x00\x8b\x6a\xf6\xe2\xe2\x82\xae\x29\x52\xe7\xfd":