Cannot create Contract
from etherscan contracts verified via JSON input
#494
Labels
bug
Something isn't working
Good First Issue
Good issue for new contributors
priority
Should be included in next release
Milestone
What was wrong?
Contract.from_explorer
fails when the source code is verified using the standard JSON input.As an example: 0xaf1610D242c7CdD30c546844aF75c147C12e94F9
How can it be fixed?
In
Contract.from_explorer
, check the format ofSourceCode
returned from Etherscan and handle accordingly.The text was updated successfully, but these errors were encountered: