You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
crytic-compile can query etherscan for getting source code of verified contracts, however, it cannot provide the information of which contract corresponds to an address. For instance, for the DAI contract, the source code contains two contracts. The information that the DAI contract is the one needed is available in the etherscan respose:
"ContractName":"Dai"
However, the resulting file from crytic-compile does not include it and there is no way to pass it to other tools like Echidna. How we can easily instrument this?
The text was updated successfully, but these errors were encountered:
- Use the standard json to improve the support of multi files in etherscan
- Use the contract name as the compilation unit unique ID (fix#215)
- Create standalone functions for the solc standard json
- Create a CompileVersion object instead of a namedtuple
- Add optimize runs in the compiler version - for now this is only
supported for etherscan
- For etherscan, detect if solc-select is installed and warns the user
if the lib is not installed. Otherwise install the solc version if its missing (fix#157)
crytic-compile can query etherscan for getting source code of verified contracts, however, it cannot provide the information of which contract corresponds to an address. For instance, for the DAI contract, the source code contains two contracts. The information that the DAI contract is the one needed is available in the etherscan respose:
However, the resulting file from crytic-compile does not include it and there is no way to pass it to other tools like Echidna. How we can easily instrument this?
The text was updated successfully, but these errors were encountered: