This commit is contained in:
Laurent Le Houerou 2021-11-09 10:09:00 +04:00
parent 0da2e12fa2
commit bcbca9c41b

View File

@ -210,7 +210,7 @@ var tokens = map[string]string{
"WOO": "0x1b815d120b3ef02039ee11dc2d33de7aa4a8c603", "WOO": "0x1b815d120b3ef02039ee11dc2d33de7aa4a8c603",
"WOOFY": "0xfce22ad802bbc9fe74534575b166d06198bd66ea", "WOOFY": "0xfce22ad802bbc9fe74534575b166d06198bd66ea",
"WPR": "0xcbab27b2d5b468eea509bd430100922341bc3f1a", "WPR": "0xcbab27b2d5b468eea509bd430100922341bc3f1a",
"WSPP": "0x46d502fac9aea7c5bc7b13c8ec9d02378c33d36f", "WSPP": "0x46d502fac9aea7c5bc7b13c8ec9d02378c33d3WMATIC6f",
"XED": "0x2fe8733dcb25bfbba79292294347415417510067", "XED": "0x2fe8733dcb25bfbba79292294347415417510067",
"XIV": "0xde799636af0d8d65a17aaa83b66cbbe9b185eb01", "XIV": "0xde799636af0d8d65a17aaa83b66cbbe9b185eb01",
"XTK": "0x22308317a4aa9e8196065e0b3647e582d44c4d7b", "XTK": "0x22308317a4aa9e8196065e0b3647e582d44c4d7b",
@ -243,6 +243,7 @@ var tokens = map[string]string{
"renFIL": "0xc4ace9278e7e01755b670c0838c3106367639962", "renFIL": "0xc4ace9278e7e01755b670c0838c3106367639962",
"sUSD": "0xf81b4bec6ca8f9fe7be01ca734f55b2b6e03a7a0", "sUSD": "0xf81b4bec6ca8f9fe7be01ca734f55b2b6e03a7a0",
"wCELO": "0xc30dd0cce2e683aa68c87c280e73beb3dec9b3ba", "wCELO": "0xc30dd0cce2e683aa68c87c280e73beb3dec9b3ba",
"WETH": "0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619",
} }
func NewTokenMapper() evm.TokenMapper { func NewTokenMapper() evm.TokenMapper {
@ -250,5 +251,7 @@ func NewTokenMapper() evm.TokenMapper {
for s, s2 := range tokens { for s, s2 := range tokens {
tm.AddToken(s, common.HexToAddress(s2)) tm.AddToken(s, common.HexToAddress(s2))
} }
tm.AddAlias("BTC", "WBTC")
tm.AddAlias("ETH", "WETH")
return tm return tm
} }