diff --git a/services/wallet/token/token_test.go b/services/wallet/token/token_test.go index b0ea6920f..5b87bb542 100644 --- a/services/wallet/token/token_test.go +++ b/services/wallet/token/token_test.go @@ -430,7 +430,7 @@ func Test_tokensListsValidity(t *testing.T) { } } - require.True(t, found) + require.True(t, found, "Token %s not found in list %s", token.Symbol, list.Name) } else { tmpMap[key] = []*Token{token} } diff --git a/services/wallet/token/tokenstore.go b/services/wallet/token/tokenstore.go index 65a54b07e..cd4b698e7 100644 --- a/services/wallet/token/tokenstore.go +++ b/services/wallet/token/tokenstore.go @@ -28,6 +28,7 @@ var tokenPeg = map[string]string{ "USDS": "USD", "USDT": "USD", "USDP": "USD", + "USDSC": "USD", } func GetTokenPegSymbol(symbol string) string { @@ -1243,8 +1244,8 @@ func newDefaultStore() *DefaultStore { }, &Token{ Address: common.HexToAddress("0xA4Bdb11dc0a2bEC88d24A3aa1E6Bb17201112eBe"), - Name: "StableUSD", - Symbol: "USDS", + Name: "Stably USD Classic", + Symbol: "USDSC", Decimals: 6, ChainID: 1, TokenListID: "status", diff --git a/services/wallet/token/uniswap.go b/services/wallet/token/uniswap.go index e2cbb6405..e659e1bdd 100644 --- a/services/wallet/token/uniswap.go +++ b/services/wallet/token/uniswap.go @@ -555,6 +555,15 @@ var uniswapTokens = []*Token{ PegSymbol: "", }, + { + Address: common.HexToAddress("0xDEf1CA1fb7FBcDC777520aa7f396b4E015F497aB"), + Name: "CoW Protocol", + Symbol: "COW", + Decimals: 18, + ChainID: 1, + PegSymbol: "", + }, + { Address: common.HexToAddress("0x66761Fa41377003622aEE3c7675Fc7b5c1C2FaC5"), Name: "Clearpool", @@ -753,6 +762,15 @@ var uniswapTokens = []*Token{ PegSymbol: "", }, + { + Address: common.HexToAddress("0xec53bF9167f50cDEB3Ae105f56099aaaB9061F83"), + Name: "EigenLayer", + Symbol: "EIGEN", + Decimals: 18, + ChainID: 1, + PegSymbol: "", + }, + { Address: common.HexToAddress("0xe6fd75ff38Adca4B97FBCD938c86b98772431867"), Name: "Elastos", @@ -1788,6 +1806,15 @@ var uniswapTokens = []*Token{ PegSymbol: "", }, + { + Address: common.HexToAddress("0x4d1C297d39C5c1277964D0E3f8Aa901493664530"), + Name: "Puffer Finance", + Symbol: "PUFFER", + Decimals: 18, + ChainID: 1, + PegSymbol: "", + }, + { Address: common.HexToAddress("0x6c3ea9036406852006290770BEdFcAbA0e23A0e8"), Name: "PayPal USD", @@ -2040,6 +2067,15 @@ var uniswapTokens = []*Token{ PegSymbol: "", }, + { + Address: common.HexToAddress("0x56072C95FAA701256059aa122697B133aDEd9279"), + Name: "SKY Governance Token", + Symbol: "SKY", + Decimals: 18, + ChainID: 1, + PegSymbol: "", + }, + { Address: common.HexToAddress("0xCC8Fa225D80b9c7D42F96e9570156c65D6cAAa25"), Name: "Smooth Love Potion", @@ -2364,6 +2400,15 @@ var uniswapTokens = []*Token{ PegSymbol: "", }, + { + Address: common.HexToAddress("0xdC035D45d973E3EC169d2276DDab16f1e407384F"), + Name: "USDS Stablecoin", + Symbol: "USDS", + Decimals: 18, + ChainID: 1, + PegSymbol: "", + }, + { Address: common.HexToAddress("0xdAC17F958D2ee523a2206206994597C13D831ec7"), Name: "Tether USD", @@ -4173,6 +4218,42 @@ var uniswapTokens = []*Token{ PegSymbol: "", }, + { + Address: common.HexToAddress("0x5A7d6b2F92C77FAD6CCaBd7EE0624E64907Eaf3E"), + Name: "ZKsync", + Symbol: "ZK", + Decimals: 18, + ChainID: 324, + PegSymbol: "", + }, + + { + Address: common.HexToAddress("0x79A02482A880bCE3F13e09Da970dC34db4CD24d1"), + Name: "Bridged USDC", + Symbol: "USDC.e", + Decimals: 6, + ChainID: 480, + PegSymbol: "", + }, + + { + Address: common.HexToAddress("0x03C7054BCB39f7b2e5B2c7AcB37583e32D70Cfa3"), + Name: "Wrapped BTC", + Symbol: "WBTC", + Decimals: 8, + ChainID: 480, + PegSymbol: "", + }, + + { + Address: common.HexToAddress("0x4200000000000000000000000000000000000006"), + Name: "Wrapped Ether", + Symbol: "WETH", + Decimals: 18, + ChainID: 480, + PegSymbol: "", + }, + { Address: common.HexToAddress("0xc5fecC3a29Fb57B5024eEc8a2239d4621e111CBE"), Name: "1inch", @@ -4299,6 +4380,15 @@ var uniswapTokens = []*Token{ PegSymbol: "", }, + { + Address: common.HexToAddress("0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed"), + Name: "Degen", + Symbol: "DEGEN", + Decimals: 18, + ChainID: 8453, + PegSymbol: "", + }, + { Address: common.HexToAddress("0x60a3E35Cc302bFA44Cb288Bc5a4F316Fdb1adb42"), Name: "EURC", @@ -4551,6 +4641,15 @@ var uniswapTokens = []*Token{ PegSymbol: "", }, + { + Address: common.HexToAddress("0xA88594D404727625A9437C3f886C7643872296AE"), + Name: "Moonwell", + Symbol: "WELL", + Decimals: 18, + ChainID: 8453, + PegSymbol: "", + }, + { Address: common.HexToAddress("0x4200000000000000000000000000000000000006"), Name: "Wrapped Ether", @@ -4578,6 +4677,15 @@ var uniswapTokens = []*Token{ PegSymbol: "", }, + { + Address: common.HexToAddress("0xaAC78d1219c08AecC8e37e03858FE885f5EF1799"), + Name: "Yield Guild Games", + Symbol: "YGG", + Decimals: 18, + ChainID: 8453, + PegSymbol: "", + }, + { Address: common.HexToAddress("0x6985884C4392D348587B19cb9eAAf157F13271cd"), Name: "LayerZero", @@ -4758,6 +4866,15 @@ var uniswapTokens = []*Token{ PegSymbol: "", }, + { + Address: common.HexToAddress("0xBfa641051Ba0a0Ad1b0AcF549a89536A0D76472E"), + Name: "Badger DAO", + Symbol: "BADGER", + Decimals: 18, + ChainID: 42161, + PegSymbol: "", + }, + { Address: common.HexToAddress("0x040d1EdC9569d4Bab2D15287Dc5A4F10F56a56B8"), Name: "Balancer", @@ -4803,6 +4920,15 @@ var uniswapTokens = []*Token{ PegSymbol: "", }, + { + Address: common.HexToAddress("0x7A24159672b83ED1b89467c9d6A99556bA06D073"), + Name: "Bancor Network Token", + Symbol: "BNT", + Decimals: 18, + ChainID: 42161, + PegSymbol: "", + }, + { Address: common.HexToAddress("0x0D81E50bC677fa67341c44D7eaA9228DEE64A4e1"), Name: "BarnBridge", @@ -4866,6 +4992,15 @@ var uniswapTokens = []*Token{ PegSymbol: "", }, + { + Address: common.HexToAddress("0xcb8b5CD20BdCaea9a010aC1F8d835824F5C87A04"), + Name: "CoW Protocol", + Symbol: "COW", + Decimals: 18, + ChainID: 42161, + PegSymbol: "", + }, + { Address: common.HexToAddress("0x69b937dB799a9BECC9E8A6F0a5d36eA3657273bf"), Name: "Covalent", @@ -4875,6 +5010,15 @@ var uniswapTokens = []*Token{ PegSymbol: "", }, + { + Address: common.HexToAddress("0x8ea3156f834A0dfC78F1A5304fAC2CdA676F354C"), + Name: "Cronos", + Symbol: "CRO", + Decimals: 8, + ChainID: 42161, + PegSymbol: "", + }, + { Address: common.HexToAddress("0x11cDb42B0EB46D95f990BeDD4695A6e3fA034978"), Name: "Curve DAO Token", @@ -4920,6 +5064,15 @@ var uniswapTokens = []*Token{ PegSymbol: "", }, + { + Address: common.HexToAddress("0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1"), + Name: "Dai Stablecoin", + Symbol: "DAI", + Decimals: 18, + ChainID: 42161, + PegSymbol: "", + }, + { Address: common.HexToAddress("0x3Be7cB2e9413Ef8F42b4A202a0114EB59b64e227"), Name: "DexTools", @@ -4929,6 +5082,15 @@ var uniswapTokens = []*Token{ PegSymbol: "", }, + { + Address: common.HexToAddress("0xca642467C6Ebe58c13cB4A7091317f34E17ac05e"), + Name: "DIA", + Symbol: "DIA", + Decimals: 18, + ChainID: 42161, + PegSymbol: "", + }, + { Address: common.HexToAddress("0xE3696a02b2C9557639E29d829E9C45EFa49aD47A"), Name: "district0x", @@ -4956,6 +5118,15 @@ var uniswapTokens = []*Token{ PegSymbol: "", }, + { + Address: common.HexToAddress("0x606C3e5075e5555e79Aa15F1E9FACB776F96C248"), + Name: "EigenLayer", + Symbol: "EIGEN", + Decimals: 18, + ChainID: 42161, + PegSymbol: "", + }, + { Address: common.HexToAddress("0x3e4Cff6E50F37F731284A92d44AE943e17077fD4"), Name: "Dogelon Mars", @@ -5064,6 +5235,15 @@ var uniswapTokens = []*Token{ PegSymbol: "", }, + { + Address: common.HexToAddress("0xf929de51D91C77E42f5090069E0AD7A09e513c73"), + Name: "ShapeShift FOX Token", + Symbol: "FOX", + Decimals: 18, + ChainID: 42161, + PegSymbol: "", + }, + { Address: common.HexToAddress("0x7468a5d8E02245B00E8C0217fCE021C70Bc51305"), Name: "Frax", @@ -5082,6 +5262,15 @@ var uniswapTokens = []*Token{ PegSymbol: "", }, + { + Address: common.HexToAddress("0xd9f9d2Ee2d3EFE420699079f16D9e924affFdEA4"), + Name: "Frax Share", + Symbol: "FXS", + Decimals: 18, + ChainID: 42161, + PegSymbol: "", + }, + { Address: common.HexToAddress("0xc27E7325a6BEA1FcC06de7941473f5279bfd1182"), Name: "Galxe", @@ -5109,6 +5298,15 @@ var uniswapTokens = []*Token{ PegSymbol: "", }, + { + Address: common.HexToAddress("0xa0b862F60edEf4452F25B4160F177db44DeB6Cf1"), + Name: "Gnosis Token", + Symbol: "GNO", + Decimals: 18, + ChainID: 42161, + PegSymbol: "", + }, + { Address: common.HexToAddress("0x9623063377AD1B27544C965cCd7342f7EA7e88C7"), Name: "The Graph", @@ -5154,6 +5352,15 @@ var uniswapTokens = []*Token{ PegSymbol: "", }, + { + Address: common.HexToAddress("0x61cA9D186f6b9a793BC08F6C79fd35f205488673"), + Name: "Illuvium", + Symbol: "ILV", + Decimals: 18, + ChainID: 42161, + PegSymbol: "", + }, + { Address: common.HexToAddress("0x3cFD99593a7F035F717142095a3898e3Fca7783e"), Name: "Immutable X", @@ -5208,6 +5415,15 @@ var uniswapTokens = []*Token{ PegSymbol: "", }, + { + Address: common.HexToAddress("0x349fc93da004a63F3B1343361465981330A40B25"), + Name: "Litentry", + Symbol: "LIT", + Decimals: 18, + ChainID: 42161, + PegSymbol: "", + }, + { Address: common.HexToAddress("0x289ba1701C2F088cf0faf8B3705246331cB8A839"), Name: "Livepeer", @@ -5226,6 +5442,15 @@ var uniswapTokens = []*Token{ PegSymbol: "", }, + { + Address: common.HexToAddress("0x46d0cE7de6247b0A95f67b43B589b4041BaE7fbE"), + Name: "LoopringCoin V2", + Symbol: "LRC", + Decimals: 18, + ChainID: 42161, + PegSymbol: "", + }, + { Address: common.HexToAddress("0x93b346b6BC2548dA6A1E7d98E9a421B42541425b"), Name: "Liquity USD", @@ -5325,6 +5550,15 @@ var uniswapTokens = []*Token{ PegSymbol: "", }, + { + Address: common.HexToAddress("0x29024832eC3baBF5074D4F46102aA988097f0Ca0"), + Name: "Maple", + Symbol: "MPL", + Decimals: 18, + ChainID: 42161, + PegSymbol: "", + }, + { Address: common.HexToAddress("0x7b9b94aebe5E2039531af8E31045f377EcD9A39A"), Name: "Multichain", @@ -5343,6 +5577,15 @@ var uniswapTokens = []*Token{ PegSymbol: "", }, + { + Address: common.HexToAddress("0x91b468Fe3dce581D7a6cFE34189F1314b6862eD6"), + Name: "MXC", + Symbol: "MXC", + Decimals: 18, + ChainID: 42161, + PegSymbol: "", + }, + { Address: common.HexToAddress("0x53236015A675fcB937485F1AE58040e4Fb920d5b"), Name: "PolySwarm", @@ -5379,6 +5622,15 @@ var uniswapTokens = []*Token{ PegSymbol: "", }, + { + Address: common.HexToAddress("0x6FEb262FEb0f775B5312D2e009923f7f58AE423E"), + Name: "Origin Protocol", + Symbol: "OGN", + Decimals: 18, + ChainID: 42161, + PegSymbol: "", + }, + { Address: common.HexToAddress("0xd962C1895c46AC0378C502c207748b7061421e8e"), Name: "OMG Network", @@ -5397,6 +5649,15 @@ var uniswapTokens = []*Token{ PegSymbol: "", }, + { + Address: common.HexToAddress("0x1BDCC2075d5370293E248Cab0173eC3E551e6218"), + Name: "Orion Protocol", + Symbol: "ORN", + Decimals: 8, + ChainID: 42161, + PegSymbol: "", + }, + { Address: common.HexToAddress("0xfEb4DfC8C4Cf7Ed305bb08065D08eC6ee6728429"), Name: "PAX Gold", @@ -5406,6 +5667,15 @@ var uniswapTokens = []*Token{ PegSymbol: "", }, + { + Address: common.HexToAddress("0x35E6A59F786d9266c7961eA28c7b768B33959cbB"), + Name: "Pepe", + Symbol: "PEPE", + Decimals: 18, + ChainID: 42161, + PegSymbol: "", + }, + { Address: common.HexToAddress("0x753D224bCf9AAFaCD81558c32341416df61D3DAC"), Name: "Perpetual Protocol", @@ -5523,6 +5793,15 @@ var uniswapTokens = []*Token{ PegSymbol: "", }, + { + Address: common.HexToAddress("0xef888bcA6AB6B1d26dbeC977C455388ecd794794"), + Name: "Rari Governance Token", + Symbol: "RGT", + Decimals: 18, + ChainID: 42161, + PegSymbol: "", + }, + { Address: common.HexToAddress("0xE575586566b02A16338c199c23cA6d295D794e66"), Name: "iExec RLC", @@ -5604,6 +5883,15 @@ var uniswapTokens = []*Token{ PegSymbol: "", }, + { + Address: common.HexToAddress("0xb74Da9FE2F96B9E0a5f4A3cf0b92dd2bEC617124"), + Name: "SOL Wormhole ", + Symbol: "SOL", + Decimals: 9, + ChainID: 42161, + PegSymbol: "", + }, + { Address: common.HexToAddress("0x3E6648C5a70A150A88bCE65F4aD4d506Fe15d2AF"), Name: "Spell Token", @@ -5712,6 +6000,15 @@ var uniswapTokens = []*Token{ PegSymbol: "", }, + { + Address: common.HexToAddress("0xd693Ec944A85eeca4247eC1c3b130DCa9B0C3b22"), + Name: "UMA Voting Token v1", + Symbol: "UMA", + Decimals: 18, + ChainID: 42161, + PegSymbol: "", + }, + { Address: common.HexToAddress("0xFa7F8980b0f1E64A2062791cc3b0871572f1F7f0"), Name: "Uniswap",