ava-labs / avalanche-explorer

The Vue frontend for the Avalanche blockchain.
https://explorer.avax.network
BSD 3-Clause "New" or "Revised" License
83 stars 44 forks source link

Dead link from Metamask to Token Contract #136

Open kitpub opened 3 years ago

kitpub commented 3 years ago

Using Metamask's "View in Explorer" feature (see pic for USDC.e example) to view a token leads to a 404 error. The wrong URL it leads to for this token is:

https://cchain.explorer.avax.network/token/0xa7d7079b0fead91f3e65f86e8915cb59c1a4c664

But it should lead here:

https://cchain.explorer.avax.network/address/0xA7D7079b0FEaD91F3e65f86E8915Cb59c1a4C664/transactions or https://cchain.explorer.avax.network/address/0xA7D7079b0FEaD91F3e65f86E8915Cb59c1a4C664

This problem exists for other tokens as well.

Best fix I'd think would just redirect anything going to /token/ --but you guys know best!

Thanks much. Screenshot 2021-09-09 21:29:24

kitpub commented 3 years ago

Or https://cchain.explorer.avax.network/tokens/0xa7d7079b0fead91f3e65f86e8915cb59c1a4c664 (tokens plural) also works.