1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 15:38:11 +00:00

common: drop Theta and VeChain ERC tokens, refresh market caps

fixes #1022
fixes #1023
This commit is contained in:
matejcik 2020-05-29 12:12:30 +02:00
parent 28b22cef22
commit bd5b3a3f21
3 changed files with 596 additions and 639 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1272,7 +1272,6 @@
"erc20:eth:TFL": "1.6.2", "erc20:eth:TFL": "1.6.2",
"erc20:eth:TGAME": "1.8.0", "erc20:eth:TGAME": "1.8.0",
"erc20:eth:TGBP": "1.9.0", "erc20:eth:TGBP": "1.9.0",
"erc20:eth:THETA": "1.6.2",
"erc20:eth:THKD": "1.9.0", "erc20:eth:THKD": "1.9.0",
"erc20:eth:THR": "1.8.0", "erc20:eth:THR": "1.8.0",
"erc20:eth:THRT": "1.8.0", "erc20:eth:THRT": "1.8.0",
@ -1346,7 +1345,6 @@
"erc20:eth:VDOC": "1.6.2", "erc20:eth:VDOC": "1.6.2",
"erc20:eth:VEE": "1.6.2", "erc20:eth:VEE": "1.6.2",
"erc20:eth:VEGAN": "1.9.0", "erc20:eth:VEGAN": "1.9.0",
"erc20:eth:VEN": "1.6.2",
"erc20:eth:VENUS": "1.6.2", "erc20:eth:VENUS": "1.6.2",
"erc20:eth:VERI": "1.6.2", "erc20:eth:VERI": "1.6.2",
"erc20:eth:VERSI": "1.8.4", "erc20:eth:VERSI": "1.8.4",
@ -1966,6 +1964,7 @@
"erc20:eth:TEL:ec32": "(AUTO) duplicate key", "erc20:eth:TEL:ec32": "(AUTO) duplicate key",
"erc20:eth:TGT:ac3d": "(AUTO) duplicate key", "erc20:eth:TGT:ac3d": "(AUTO) duplicate key",
"erc20:eth:TGT:f96a": "(AUTO) duplicate key", "erc20:eth:TGT:f96a": "(AUTO) duplicate key",
"erc20:eth:THETA": "Migrated to mainnet",
"erc20:eth:TIC:614b": "(AUTO) duplicate key", "erc20:eth:TIC:614b": "(AUTO) duplicate key",
"erc20:eth:TIC:7243": "(AUTO) duplicate key", "erc20:eth:TIC:7243": "(AUTO) duplicate key",
"erc20:eth:TICO:7f4b": "(AUTO) duplicate key", "erc20:eth:TICO:7f4b": "(AUTO) duplicate key",
@ -1975,6 +1974,7 @@
"erc20:eth:TRX": "switched to custom network", "erc20:eth:TRX": "switched to custom network",
"erc20:eth:UMKA:105d": "(AUTO) duplicate key", "erc20:eth:UMKA:105d": "(AUTO) duplicate key",
"erc20:eth:UMKA:8e5a": "(AUTO) duplicate key", "erc20:eth:UMKA:8e5a": "(AUTO) duplicate key",
"erc20:eth:VEN": "Migrated to mainnet",
"erc20:eth:VRS:92e7": "(AUTO) duplicate key", "erc20:eth:VRS:92e7": "(AUTO) duplicate key",
"erc20:eth:VRS:edba": "(AUTO) duplicate key", "erc20:eth:VRS:edba": "(AUTO) duplicate key",
"erc20:eth:WHO:e200": "(AUTO) duplicate key", "erc20:eth:WHO:e200": "(AUTO) duplicate key",
@ -3206,7 +3206,6 @@
"erc20:eth:TFL": "2.0.7", "erc20:eth:TFL": "2.0.7",
"erc20:eth:TGAME": "2.0.10", "erc20:eth:TGAME": "2.0.10",
"erc20:eth:TGBP": "2.3.0", "erc20:eth:TGBP": "2.3.0",
"erc20:eth:THETA": "2.0.7",
"erc20:eth:THKD": "2.3.0", "erc20:eth:THKD": "2.3.0",
"erc20:eth:THR": "2.0.10", "erc20:eth:THR": "2.0.10",
"erc20:eth:THRT": "2.0.10", "erc20:eth:THRT": "2.0.10",
@ -3280,7 +3279,6 @@
"erc20:eth:VDOC": "2.0.7", "erc20:eth:VDOC": "2.0.7",
"erc20:eth:VEE": "2.0.7", "erc20:eth:VEE": "2.0.7",
"erc20:eth:VEGAN": "2.3.0", "erc20:eth:VEGAN": "2.3.0",
"erc20:eth:VEN": "2.0.7",
"erc20:eth:VENUS": "2.0.7", "erc20:eth:VENUS": "2.0.7",
"erc20:eth:VERI": "2.0.7", "erc20:eth:VERI": "2.0.7",
"erc20:eth:VERSI": "2.1.8", "erc20:eth:VERSI": "2.1.8",
@ -3908,6 +3906,7 @@
"erc20:eth:TEL:ec32": "(AUTO) duplicate key", "erc20:eth:TEL:ec32": "(AUTO) duplicate key",
"erc20:eth:TGT:ac3d": "(AUTO) duplicate key", "erc20:eth:TGT:ac3d": "(AUTO) duplicate key",
"erc20:eth:TGT:f96a": "(AUTO) duplicate key", "erc20:eth:TGT:f96a": "(AUTO) duplicate key",
"erc20:eth:THETA": "Migrated to mainnet",
"erc20:eth:TIC:614b": "(AUTO) duplicate key", "erc20:eth:TIC:614b": "(AUTO) duplicate key",
"erc20:eth:TIC:7243": "(AUTO) duplicate key", "erc20:eth:TIC:7243": "(AUTO) duplicate key",
"erc20:eth:TICO:7f4b": "(AUTO) duplicate key", "erc20:eth:TICO:7f4b": "(AUTO) duplicate key",
@ -3917,6 +3916,7 @@
"erc20:eth:TRX": "switched to custom network", "erc20:eth:TRX": "switched to custom network",
"erc20:eth:UMKA:105d": "(AUTO) duplicate key", "erc20:eth:UMKA:105d": "(AUTO) duplicate key",
"erc20:eth:UMKA:8e5a": "(AUTO) duplicate key", "erc20:eth:UMKA:8e5a": "(AUTO) duplicate key",
"erc20:eth:VEN": "Migrated to mainnet",
"erc20:eth:VRS:92e7": "(AUTO) duplicate key", "erc20:eth:VRS:92e7": "(AUTO) duplicate key",
"erc20:eth:VRS:edba": "(AUTO) duplicate key", "erc20:eth:VRS:edba": "(AUTO) duplicate key",
"erc20:eth:WHO:e200": "(AUTO) duplicate key", "erc20:eth:WHO:e200": "(AUTO) duplicate key",

View File

@ -2436,8 +2436,6 @@ def token_by_chain_address(chain_id, address):
return (chain_id, address, "TGBP", 18) # eth / TrueGBP return (chain_id, address, "TGBP", 18) # eth / TrueGBP
elif address == b"\x96\xc3\x0d\x54\x99\xef\x6e\xa9\x6a\x9c\x22\x1b\xc1\x8b\xc3\x9d\x29\xc9\x7f\x27": elif address == b"\x96\xc3\x0d\x54\x99\xef\x6e\xa9\x6a\x9c\x22\x1b\xc1\x8b\xc3\x9d\x29\xc9\x7f\x27":
return (chain_id, address, "Thar", 18) # eth / Thar token return (chain_id, address, "Thar", 18) # eth / Thar token
elif address == b"\x38\x83\xf5\xe1\x81\xfc\xca\xf8\x41\x0f\xa6\x1e\x12\xb5\x9b\xad\x96\x3f\xb6\x45":
return (chain_id, address, "THETA", 18) # eth / Theta Token
elif address == b"\x00\x00\x85\x26\x00\xce\xb0\x01\xe0\x8e\x00\xbc\x00\x8b\xe6\x20\xd6\x00\x31\xf2": elif address == b"\x00\x00\x85\x26\x00\xce\xb0\x01\xe0\x8e\x00\xbc\x00\x8b\xe6\x20\xd6\x00\x31\xf2":
return (chain_id, address, "THKD", 18) # eth / TrueHKD return (chain_id, address, "THKD", 18) # eth / TrueHKD
elif address == b"\x1c\xb3\x20\x9d\x45\xb2\xa6\x0b\x7f\xbc\xa1\xcc\xdb\xf8\x7f\x67\x42\x37\xa4\xaa": elif address == b"\x1c\xb3\x20\x9d\x45\xb2\xa6\x0b\x7f\xbc\xa1\xcc\xdb\xf8\x7f\x67\x42\x37\xa4\xaa":
@ -2852,8 +2850,6 @@ def token_by_chain_address(chain_id, address):
return (chain_id, address, "VEE", 18) # eth / BLOCKv return (chain_id, address, "VEE", 18) # eth / BLOCKv
elif address == b"\xfa\xde\x17\xa0\x7b\xa3\xb4\x80\xaa\x17\x14\xc3\x72\x4a\x52\xd4\xc5\x7d\x41\x0e": elif address == b"\xfa\xde\x17\xa0\x7b\xa3\xb4\x80\xaa\x17\x14\xc3\x72\x4a\x52\xd4\xc5\x7d\x41\x0e":
return (chain_id, address, "VEGAN", 8) # eth / Vegan return (chain_id, address, "VEGAN", 8) # eth / Vegan
elif address == b"\xd8\x50\x94\x2e\xf8\x81\x1f\x2a\x86\x66\x92\xa6\x23\x01\x1b\xde\x52\xa4\x62\xc1":
return (chain_id, address, "VEN", 18) # eth / VeChain
elif address == b"\xeb\xed\x4f\xf9\xfe\x34\x41\x3d\xb8\xfc\x82\x94\x55\x6b\xbd\x15\x28\xa4\xda\xca": elif address == b"\xeb\xed\x4f\xf9\xfe\x34\x41\x3d\xb8\xfc\x82\x94\x55\x6b\xbd\x15\x28\xa4\xda\xca":
return (chain_id, address, "VENUS", 3) # eth / VENUS return (chain_id, address, "VENUS", 3) # eth / VENUS
elif address == b"\x8f\x34\x70\xa7\x38\x8c\x05\xee\x4e\x7a\xf3\xd0\x1d\x8c\x72\x2b\x0f\xf5\x23\x74": elif address == b"\x8f\x34\x70\xa7\x38\x8c\x05\xee\x4e\x7a\xf3\xd0\x1d\x8c\x72\x2b\x0f\xf5\x23\x74":