1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-14 03:30:02 +00:00

fix(common): regenerate support data

[no changelog]

(cherry picked from commit eb34c0850e)
This commit is contained in:
matejcik 2021-08-26 15:05:01 +02:00 committed by Tomas Susanka
parent 1f5800a966
commit 9276b17023
6 changed files with 647 additions and 720 deletions

File diff suppressed because it is too large Load Diff

@ -1 +1 @@
Subproject commit 1ab296e3a64b06a8ad45ddea6d9ccfb3ce6192f6
Subproject commit f7772807241d28d1c43ed3a6eaed8a3bb3d8c38b

@ -1 +1 @@
Subproject commit 9b10ca1266dbfaaf8f5c9af372b793622ac01df2
Subproject commit 3d78ac6db4da1bec36e99f16d06a342218d4c102

View File

@ -1275,6 +1275,7 @@
"erc20:eth:SNOV": "1.6.2",
"erc20:eth:SNT": "1.6.2",
"erc20:eth:SNTR": "1.8.0",
"erc20:eth:SNX:c011": "1.10.3",
"erc20:eth:SOAR": "1.8.0",
"erc20:eth:SOC": "1.8.0",
"erc20:eth:SOCKS": "1.9.0",
@ -1396,6 +1397,7 @@
"erc20:eth:TTC": "1.8.0",
"erc20:eth:TTU": "1.8.0",
"erc20:eth:TTV": "1.9.0",
"erc20:eth:TUSD": "1.8.0",
"erc20:eth:TWN": "1.6.2",
"erc20:eth:TWNKL": "1.6.2",
"erc20:eth:TaaS": "1.6.2",
@ -2053,6 +2055,7 @@
"eth:MOVR": "1.10.3",
"eth:MSHD": "1.10.3",
"eth:MTR": "1.9.5",
"eth:MTT": "1.10.3",
"eth:MUSIC": "1.6.3",
"eth:NEW": "1.9.5",
"eth:NRG": "1.9.4",
@ -2334,7 +2337,6 @@
"erc20:eth:SMT:2dcf": "(AUTO) duplicate key",
"erc20:eth:SMT:55f9": "(AUTO) duplicate key",
"erc20:eth:SMT:78eb": "(AUTO) duplicate key",
"erc20:eth:SNX:c011": "(AUTO) duplicate key",
"erc20:eth:SS:b15f": "(AUTO) duplicate key",
"erc20:eth:SS:bbff": "(AUTO) duplicate key",
"erc20:eth:TEL:85e0": "(AUTO) duplicate key",
@ -2350,7 +2352,6 @@
"erc20:eth:TRC:db52": "(AUTO) duplicate key",
"erc20:eth:TRX": "switched to custom network",
"erc20:eth:TST": "(AUTO) duplicate key",
"erc20:eth:TUSD": "(AUTO) duplicate key",
"erc20:eth:TUSD (OLD)": "(AUTO) duplicate key",
"erc20:eth:UMKA:105d": "(AUTO) duplicate key",
"erc20:eth:UMKA:8e5a": "(AUTO) duplicate key",
@ -2439,6 +2440,7 @@
"eth:tIOTX": "(AUTO) exclude testnet",
"eth:tKCS": "(AUTO) exclude testnet",
"eth:tMDGLT": "(AUTO) exclude testnet",
"eth:tMTT-test": "(AUTO) exclude testnet",
"eth:tOKT": "(AUTO) exclude testnet",
"eth:tOLO": "(AUTO) exclude testnet",
"eth:tONE:1666700000": "(AUTO) exclude testnet",
@ -3618,6 +3620,7 @@
"erc20:eth:SNOV": "2.0.7",
"erc20:eth:SNT": "2.0.7",
"erc20:eth:SNTR": "2.0.10",
"erc20:eth:SNX:c011": "2.4.2",
"erc20:eth:SOAR": "2.0.11",
"erc20:eth:SOC": "2.0.10",
"erc20:eth:SOCKS": "2.3.0",
@ -3739,6 +3742,7 @@
"erc20:eth:TTC": "2.0.11",
"erc20:eth:TTU": "2.0.10",
"erc20:eth:TTV": "2.3.0",
"erc20:eth:TUSD": "2.0.10",
"erc20:eth:TWN": "2.0.7",
"erc20:eth:TWNKL": "2.0.7",
"erc20:eth:TaaS": "2.0.7",
@ -4396,6 +4400,7 @@
"eth:MOVR": "2.4.2",
"eth:MSHD": "2.4.2",
"eth:MTR": "2.3.7",
"eth:MTT": "2.4.2",
"eth:MUSIC": "2.0.8",
"eth:NEW": "2.3.7",
"eth:NRG": "2.3.5",
@ -4684,7 +4689,6 @@
"erc20:eth:SMT:2dcf": "(AUTO) duplicate key",
"erc20:eth:SMT:55f9": "(AUTO) duplicate key",
"erc20:eth:SMT:78eb": "(AUTO) duplicate key",
"erc20:eth:SNX:c011": "(AUTO) duplicate key",
"erc20:eth:SS:b15f": "(AUTO) duplicate key",
"erc20:eth:SS:bbff": "(AUTO) duplicate key",
"erc20:eth:TEL:85e0": "(AUTO) duplicate key",
@ -4700,7 +4704,6 @@
"erc20:eth:TRC:db52": "(AUTO) duplicate key",
"erc20:eth:TRX": "switched to custom network",
"erc20:eth:TST": "(AUTO) duplicate key",
"erc20:eth:TUSD": "(AUTO) duplicate key",
"erc20:eth:TUSD (OLD)": "(AUTO) duplicate key",
"erc20:eth:UMKA:105d": "(AUTO) duplicate key",
"erc20:eth:UMKA:8e5a": "(AUTO) duplicate key",
@ -4789,6 +4792,7 @@
"eth:tIOTX": "(AUTO) exclude testnet",
"eth:tKCS": "(AUTO) exclude testnet",
"eth:tMDGLT": "(AUTO) exclude testnet",
"eth:tMTT-test": "(AUTO) exclude testnet",
"eth:tOKT": "(AUTO) exclude testnet",
"eth:tOLO": "(AUTO) exclude testnet",
"eth:tONE:1666700000": "(AUTO) exclude testnet",

View File

@ -629,7 +629,7 @@ def _networks_iterator() -> Iterator[NetworkInfo]:
)
yield NetworkInfo(
chain_id=888,
slip44=60,
slip44=5718350,
shortcut="WAN",
name="Wanchain",
rskip60=False,
@ -816,6 +816,13 @@ def _networks_iterator() -> Iterator[NetworkInfo]:
name="Blockchain Genesis",
rskip60=False,
)
yield NetworkInfo(
chain_id=16000,
slip44=60,
shortcut="MTT",
name="MetaDot",
rskip60=False,
)
yield NetworkInfo(
chain_id=24484,
slip44=60,

View File

@ -2374,6 +2374,10 @@ def token_by_chain_address(chain_id, address):
return (chain_id, address, "SNT", 18) # eth / Status Network Token
elif address == b"\x28\x59\x02\x1e\xe7\xf2\xcb\x10\x16\x2e\x67\xf3\x3a\xf2\xd2\x27\x64\xb3\x1a\xff":
return (chain_id, address, "SNTR", 4) # eth / Silent Notary
elif address == b"\xc0\x11\xa7\x24\x00\xe5\x8e\xcd\x99\xee\x49\x7c\xf8\x9e\x37\x75\xd4\xbd\x73\x2f":
return (chain_id, address, "SNX", 18) # eth / Synthetix Network Token
elif address == b"\xc0\x11\xa7\x3e\xe8\x57\x6f\xb4\x6f\x5e\x1c\x57\x51\xca\x3b\x9f\xe0\xaf\x2a\x6f":
return (chain_id, address, "SNX", 18) # eth / Synthetix Network Token
elif address == b"\xd6\x59\x60\xfa\xcb\x8e\x4a\x2d\xfc\xb2\xc2\x21\x2c\xb2\xe4\x4a\x02\xe2\xa5\x7e":
return (chain_id, address, "SOAR", 6) # eth / Soarcoin
elif address == b"\x2d\x0e\x95\xbd\x47\x95\xd7\xac\xe0\xda\x3c\x0f\xf7\xb7\x06\xa5\x97\x0e\xb9\xd3":
@ -2628,6 +2632,8 @@ def token_by_chain_address(chain_id, address):
return (chain_id, address, "TTU", 18) # eth / TaTaTu
elif address == b"\xa8\x38\xbe\x6e\x4b\x76\x0e\x60\x61\xd4\x73\x2d\x6b\x9f\x11\xbf\x57\x8f\x9a\x76":
return (chain_id, address, "TTV", 18) # eth / TV-TWO: Token for Television
elif address == b"\x00\x00\x00\x00\x00\x08\x5d\x47\x80\xb7\x31\x19\xb6\x44\xae\x5e\xcd\x22\xb3\x76":
return (chain_id, address, "TUSD", 18) # eth / TrueUSD
elif address == b"\x2e\xf1\xab\x8a\x26\x18\x7c\x58\xbb\x8a\xae\xb1\x1b\x2f\xc6\xd2\x5c\x5c\x07\x16":
return (chain_id, address, "TWN", 18) # eth / The World News
elif address == b"\xfb\xd0\xd1\xc7\x7b\x50\x17\x96\xa3\x5d\x86\xcf\x91\xd6\x5d\x97\x78\xee\xe6\x95":