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