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

[playground]: Show the source code on the contract popup too

Organization

Ethereum Foundation

Deadline

N/A

Status

ENDED


INSTRUCTIONS

If a contract's metadata is available on IPFS and we can fetch it, we should likely be able also fetch the source files. Sometimes the source code is already fully inside the metadata file if useLiteralContent was true in the compiler settings.

In the popup, if it was possible to fetch the metadata:

  • [ ] Parse and display the source code if useLiteralContent was true
  • [ ] Try to fetch the source code of each file under sources and display them in the popup