function used to detect vulnerabilities TBD


fn description(&self) -> String


Gives a detailed description of the issue.


  • String: A string containing a detailed description of what the issue is, why it is significant, and possibly how to fix it.


    fn description(&self) -> String {
        String::from("There is a subtle difference between the implementation of solmate's SafeTransferLib and OZ's SafeERC20: OZ's SafeERC20 checks if the token is a contract or not, solmate's SafeTransferLib does not.\n \n`@dev Note that none of the functions in this library check that a token has code at all! That responsibility is delegated to the caller`\n")

Last updated