This bounty is no longer available
Web3 DAO | Ethereum Foundation Logo

Adress Checksumming in the Lookup UI with the url param

Organization

Ethereum Foundation

Deadline

N/A

Status

ENDED


INSTRUCTIONS

When the user inputs a non-checksummed address to the Lookup UI we automatically checksum it and display the checksummed address in the UI and also in the URL.

  1. user inputs 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
  2. Result: <img width="1277" alt="image" src="https://user-images.githubusercontent.com/13069972/202226994-071040c0-a4a4-4ec0-8474-2f7cc5ddb465.png">

However when looking up contracts directly with the URL the address is not checksummed in display, although it is checksummed internally in the server and the correct result is displayed. So it's a display issue

  1. user goes to https://staging.sourcify.dev/#/lookup/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
  2. Result: <img width="1242" alt="image" src="https://user-images.githubusercontent.com/13069972/202227497-3640a1b8-377f-4749-98ba-b1b209e0cf3c.png">

Checksum the addresses also when they are input directly through the URL.