mirror of https://github.com/crytic/slither
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.
17 lines
311 B
17 lines
311 B
3 years ago
|
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 {}
|