Static Analyzer for Solidity
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
slither/tests/detectors/arbitrary-send-erc20/0.8.0/arbitrary_send_erc20_inheri...

16 lines
311 B

pragma solidity 0.8.0;
library Safe {
function safeTransferFrom(address token, address from, address to, uint256 amount) internal {}
}
contract T {
using Safe for address;
address erc20;
function bad(address from) public {
erc20.safeTransferFrom(from, address(0x1), 90);
}
}
contract A is T {}