securify2 icon indicating copy to clipboard operation
securify2 copied to clipboard

Smartcontracts with imports don´t work

Open ARR552 opened this issue 5 years ago • 1 comments

Hello, I am trying to analyze some smart contracts and i am not able to analyze them if they use imports. I attached a screenshot with the error of ERC165. Any idea of what i am doing wrong??? Or imports are not supported yet. image

Thank you

ARR552 avatar Feb 24 '20 13:02 ARR552

Hello, Currently, Securify does not support the import statement. Thank you for pointing that out. I have updated the README so that this is explicit. Just for future reference, the error you are getting comes from the solidity compiler which cannot find the ERC165.sol file. Since you are using docker, the import path should be changed to import /share/ERC165.sol so Docker can find it.

YannisSach avatar Feb 25 '20 10:02 YannisSach