Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a token icon that is included in token mapping #16

Open
hboon opened this issue Apr 28, 2022 · 1 comment
Open

Add a token icon that is included in token mapping #16

hboon opened this issue Apr 28, 2022 · 1 comment
Assignees

Comments

@hboon
Copy link
Member

hboon commented Apr 28, 2022

After we did the clean up in https://github.com/AlphaWallet/tokens/issues/1#issuecomment-1014318436, the token mapping is much smaller (attached at the bottom).

Wanting to start work on AlphaWallet/alpha-wallet-ios#3636, but that aren't any tokens icons in https://github.com/AlphaWallet/iconassets for any of these icons. Would you help to add at least one? eg. add for mainnet https://etherscan.io/token/0x21bfbda47a0b4b5b1248c767ee49f7caa9b23697 and we will automatically use it for https://polygonscan.com/token/0x1631244689EC1fEcbDD22fb5916E920dFC9b8D30 (this mapping is the first entry below).

The cleaned up token mapping:

[
    {
        "contracts": [
            {"address": "0x21bfbda47a0b4b5b1248c767ee49f7caa9b23697", "chainId": 1},
            {"address": "0x1631244689EC1fEcbDD22fb5916E920dFC9b8D30", "chainId": 137},
            {
                "address": "0x55704A0e9E2eb59E176C5b69655DbD3DCDCFc0F0",
                "chainId": 42161
            }
        ],
        "group": "Governance"
    },
    {
        "contracts": [
            {"address": "0x7f3edcdd180dbe4819bd98fee8929b5cedb3adeb", "chainId": 1},
            {"address": "0x22308317A4aA9e8196065E0b3647e582d44c4d7b", "chainId": 137},
            {
                "address": "0xF0A5717Ec0883eE56438932b0fe4A20822735fBa",
                "chainId": 42161
            }
        ],
        "group": "DeFi"
    },
    {
        "contracts": [
            {"address": "0x429876c4a6f89fb470e92456b8313879df98b63c", "chainId": 1},
            {"address": "0xD1e6354fb05bF72A8909266203dAb80947dcEccF", "chainId": 137},
            {
                "address": "0x989D099d29F62b839C8CbD41c82c6554a5515752",
                "chainId": 42161
            }
        ],
        "group": "Assets"
    },
    {
        "contracts": [
            {"address": "0x12d102f06da35cc0111eb58017fd2cd28537d0e1", "chainId": 1},
            {"address": "0x7Dd3D9E1868A7dA87509A601E7dbBf938c819a32", "chainId": 137},
            {
                "address": "0x2eD14d1788dfB780fD216706096AeD018514ECcd",
                "chainId": 42161
            }
        ],
        "group": "Assets"
    },
    {
        "contracts": [
            {"address": "0x8185bc4757572da2a610f887561c32298f1a5748", "chainId": 1},
            {"address": "0xa8fcEe762642f156b5D757b6FabC36E06b6d4A1A", "chainId": 137},
            {
                "address": "0x9b3fa2A7C3EB36d048A5d38d81E7fAFC6bc47B25",
                "chainId": 42161
            }
        ],
        "group": "Assets"
    },
    {
        "contracts": [
            {"address": "0x595832f8fc6bf59c85c527fec3740a1b7a361269", "chainId": 1},
            {"address": "0x0AaB8DC887D34f00D50E19aee48371a941390d14", "chainId": 137},
            {
                "address": "0x4e91F2AF1ee0F84B529478f19794F5AFD423e4A6",
                "chainId": 42161
            }
        ],
        "group": "Assets"
    },
    {
        "contracts": [
            {"address": "0x03ab458634910aad20ef5f1c8ee96f1d6ac54919", "chainId": 1},
            {"address": "0x00e5646f60AC6Fb446f621d146B6E1886f002905", "chainId": 137},
            {
                "address": "0xaeF5bbcbFa438519a5ea80B4c7181B4E78d419f2",
                "chainId": 42161
            },
            {"address": "0xa71353bb71dda105d383b02fc2dd172c4d39ef8b", "chainId": 250}
        ],
        "group": "DeFi"
    },
    {
        "contracts": [
            {"address": "0x7b35ce522cb72e4077baeb96cb923a5529764a00", "chainId": 1},
            {"address": "0x60bB3D364B765C497C8cE50AE0Ae3f0882c5bD05", "chainId": 137},
            {
                "address": "0x9c67eE39e3C4954396b9142010653F17257dd39C",
                "chainId": 42161
            }
        ],
        "group": "Assets"
    },
    {
        "contracts": [
            {"address": "0xa2120b9e674d3fc3875f415a7df52e382f141225", "chainId": 1},
            {"address": "0x0df0f72EE0e5c9B7ca761ECec42754992B2Da5BF", "chainId": 137},
            {
                "address": "0xAC9Ac2C17cdFED4AbC80A53c5553388575714d03",
                "chainId": 42161
            }
        ],
        "group": "DeFi"
    },
    {
        "contracts": [
            {"address": "0xddb3422497e61e13543bea06989c0789117555c5", "chainId": 1},
            {
                "address": "0x6FE14d3CC2f7bDdffBa5CdB3BBE7467dd81ea101",
                "chainId": 42161
            }
        ],
        "group": "Assets"
    },
    {
        "contracts": [
            {"address": "0x4e0fca55a6c3a94720ded91153a27f60e26b9aa8", "chainId": 1},
            {
                "address": "0xd44e8F8768D4ed25119921a53802D8758A5b20dD",
                "chainId": 42161
            }
        ],
        "group": "Assets"
    },
    {
        "contracts": [
            {"address": "0xd33526068d116ce69f19a9ee46f0bd304f21a51f", "chainId": 1},
            {
                "address": "0xB766039cc6DB368759C1E56B79AFfE831d0Cc507",
                "chainId": 42161
            }
        ],
        "group": "DeFi"
    },
    {
        "contracts": [
            {"address": "0x0000000000095413afc295d19edeb1ad7b71c952", "chainId": 1},
            {
                "address": "0x55678cd083fcDC2947a0Df635c93C838C89454A3",
                "chainId": 42161
            }
        ],
        "group": "DeFi"
    },
    {
        "contracts": [
            {"address": "0xfc82bb4ba86045af6f327323a46e80412b91b27d", "chainId": 1},
            {
                "address": "0xCd0Bb43a0d0497dB701C9147588A12666155010a",
                "chainId": 42161
            },
            {"address": "0xaf53d56ff99f1322515e54fdde93ff8b3b7dafd5", "chainId": 56}
        ],
        "group": "Assets"
    },
    {
        "contracts": [
            {"address": "0xc40f23a3e9613e012944f7957edce97899fa920d", "chainId": 1},
            {
                "address": "0x02DB1d8f4acE29eF744E5B6A96a534732Ab1f922",
                "chainId": 42161
            }
        ],
        "group": "Assets"
    },
    {
        "contracts": [
            {"address": "0xdecade1c6bf2cd9fb89afad73e4a519c867adcf5", "chainId": 1},
            {
                "address": "0xA0459eDcAd5AAC14dC32775d22fF7Bd33027cAc7",
                "chainId": 42161
            }
        ],
        "group": "Assets"
    },
    {
        "contracts": [
            {"address": "0x043c308bb8a5ae96d0093444be7f56459f1340b1", "chainId": 1},
            {
                "address": "0x20f9628a485ebCc566622314f6e07E7Ee61fF332",
                "chainId": 42161
            }
        ],
        "group": "Assets"
    },
    {
        "contracts": [
            {"address": "0x97872eafd79940c7b24f7bcc1eadb1457347adc9", "chainId": 1},
            {
                "address": "0x326c33FD1113c1F29B35B4407F3d6312a8518431",
                "chainId": 42161
            }
        ],
        "group": "Assets"
    },
    {
        "contracts": [
            {"address": "0x8d610e20481f4c4f3acb87bba9c46bef7795fdfe", "chainId": 1},
            {
                "address": "0x250F471385894fc81183a99d6fDe8CE9C5B142d6",
                "chainId": 42161
            }
        ],
        "group": "Assets"
    },
    {
        "contracts": [
            {"address": "0x9b99cca871be05119b2012fd4474731dd653febe", "chainId": 1},
            {
                "address": "0xaaA62D9584Cbe8e4D68A43ec91BfF4fF1fAdB202",
                "chainId": 42161
            }
        ],
        "group": "Governance"
    },
    {
        "contracts": [
            {"address": "0x0e192d382a36de7011f795acc4391cd302003606", "chainId": 1},
            {
                "address": "0x488cc08935458403a0458e45E20c0159c8AB2c92",
                "chainId": 42161
            }
        ],
        "group": "Governance"
    },
    {
        "contracts": [
            {"address": "0x9c4a4204b79dd291d6b6571c5be8bbcd0622f050", "chainId": 1},
            {
                "address": "0xA72159FC390f0E3C6D415e658264c7c4051E9b87",
                "chainId": 42161
            }
        ],
        "group": "Governance"
    },
    {
        "contracts": [
            {"address": "0x431ad2ff6a9c365805ebad47ee021148d6f7dbe0", "chainId": 1},
            {
                "address": "0xaE6aab43C4f3E0cea4Ab83752C278f8dEbabA689",
                "chainId": 42161
            }
        ],
        "group": "DeFi"
    },
    {
        "contracts": [
            {"address": "0x3af33bef05c2dcb3c7288b77fe1c8d2aeba4d789", "chainId": 1},
            {
                "address": "0x55fF62567f09906A85183b866dF84bf599a4bf70",
                "chainId": 42161
            }
        ],
        "group": "Assets"
    },
    {
        "contracts": [
            {"address": "0x0ff5a8451a839f5f0bb3562689d9a44089738d11", "chainId": 1},
            {
                "address": "0x32Eb7902D4134bf98A28b963D26de779AF92A212",
                "chainId": 42161
            }
        ],
        "group": "DeFi"
    },
    {
        "contracts": [
            {"address": "0xeec2be5c91ae7f8a338e1e5f3b5de49d07afdc81", "chainId": 1},
            {
                "address": "0x6C2C06790b3E3E3c38e12Ee22F8183b37a13EE55",
                "chainId": 42161
            }
        ],
        "group": "DeFi"
    },
    {
        "contracts": [
            {"address": "0xb0c7a3ba49c7a6eaba6cd4a96c55a1391070ac9a", "chainId": 1},
            {
                "address": "0x539bdE0d7Dbd336b79148AA742883198BBF60342",
                "chainId": 42161
            }
        ],
        "group": "Governance"
    },
    {
        "contracts": [
            {"address": "0x6B175474E89094C44Da98b954EedeAC495271d0F", "chainId": 1},
            {"address": "0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1", "chainId": 10}
        ]
    },
    {
        "contracts": [
            {"address": "0x03ab458634910AaD20eF5f1C8ee96F1D6ac54919", "chainId": 1},
            {"address": "0x7FB688CCf682d58f86D7e38e03f9D22e7705448B", "chainId": 10}
        ]
    },
    {
        "contracts": [
            {"address": "0xD533a949740bb3306d119CC777fa900bA034cd52", "chainId": 1},
            {"address": "0x1e4f97b9f9f913c46f1632781732927b9019c68b", "chainId": 250}
        ]
    },
    {
        "contracts": [
            {"address": "0xA8e7AD77C60eE6f30BaC54E2E7c0617Bd7B5A03E", "chainId": 1},
            {"address": "0x2f60c28fb2fdc90a2a5644442d0f6d8998101e76", "chainId": 250}
        ]
    },
    {
        "contracts": [
            {"address": "0x0c7D5ae016f806603CB1782bEa29AC69471CAb9c", "chainId": 1},
            {"address": "0x84c882a4d8eb448ce086ea19418ca0f32f106117", "chainId": 250}
        ]
    },
    {
        "contracts": [
            {"address": "0xa283aA7CfBB27EF0cfBcb2493dD9F4330E0fd304", "chainId": 1},
            {"address": "0xbfaf328fe059c53d936876141f38089df0d1503d", "chainId": 250}
        ]
    },
    {
        "contracts": [
            {"address": "0x2ba592F78dB6436527729929AAf6c908497cB200", "chainId": 1},
            {"address": "0x657a1861c15a3ded9af0b6799a195a249ebdcbc6", "chainId": 250}
        ]
    },
    {
        "contracts": [
            {"address": "0x584bC13c7D411c00c01A62e8019472dE68768430", "chainId": 1},
            {"address": "0x44b26e839eb3572c5e959f994804a5de66600349", "chainId": 250}
        ]
    },
    {
        "contracts": [
            {"address": "0xD291E7a03283640FDc51b121aC401383A46cC623", "chainId": 1},
            {"address": "0xcf726a06f3dcec8ef2b033336d138caa0eae5af2", "chainId": 250}
        ]
    },
    {
        "contracts": [
            {"address": "0x3fa400483487A489EC9b1dB29C4129063EEC4654", "chainId": 1},
            {"address": "0x627524d78b4fc840c887ffec90563c7a42b671fd", "chainId": 250}
        ]
    },
    {
        "contracts": [
            {"address": "0x4D2eE5DAe46C86DA2FF521F7657dad98834f97b8", "chainId": 1},
            {"address": "0x8063115941e612021692f28748ab1ff56c23e4c6", "chainId": 250}
        ]
    },
    {
        "contracts": [
            {"address": "0x19D97D8fA813EE2f51aD4B4e04EA08bAf4DFfC28", "chainId": 1},
            {"address": "0x1f7216fdb338247512ec99715587bb97bbf96eae", "chainId": 250}
        ]
    },
    {
        "contracts": [
            {"address": "0x3472A5A71965499acd81997a54BBA8D852C6E53d", "chainId": 1},
            {"address": "0x753fbc5800a8c8e3fb6dc6415810d627a387dfc9", "chainId": 250}
        ]
    },
    {
        "contracts": [
            {"address": "0x0bc529c00C6401aEF6D220BE8C6Ea1667F6Ad93e", "chainId": 1},
            {"address": "0x29b0da86e484e1c0029b56e817912d778ac0ec69", "chainId": 250},
            {"address": "0xc396b190f251d7f79c583fd06347a09781f085c9", "chainId": 250}
        ]
    },
    {
        "contracts": [
            {"address": "", "chainId": 1},
            {"address": "0xb688e18f34e6e424c44b247318f22367ed7df3e2", "chainId": 250}
        ]
    },
    {
        "contracts": [
            {"address": "0x12D102F06da35cC0111EB58017fd2Cd28537d0e1", "chainId": 1},
            {"address": "0x74b4db963738a2a95bfcb1833b123495ccc220e2", "chainId": 250}
        ]
    },
    {
        "contracts": [
            {"address": "0xa7DE087329BFcda5639247F96140f9DAbe3DeED1", "chainId": 1},
            {"address": "0x89d5e71e275b4be094df9551627bcf4e3b24ce22", "chainId": 250}
        ]
    },
    {
        "contracts": [
            {"address": "0x054D64b73d3D8A21Af3D764eFd76bCaA774f3Bb2", "chainId": 1},
            {"address": "0x3b42fd538597fd049648c9f017208bf712195b73", "chainId": 250}
        ]
    },
    {
        "contracts": [
            {"address": "0x4AaC461C86aBfA71e9d00d9a2cde8d74E4E1aeEa", "chainId": 1},
            {
                "address": "0x14B1f37c46ECf29C9657585DF0Dd7CEe1eC7C569",
                "chainId": 43114
            }
        ]
    }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants