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.
35 lines
631 B
35 lines
631 B
// pragma solidity ^0.4.25;
|
|
|
|
contract BaseContract {
|
|
uint blockhash;
|
|
uint now;
|
|
|
|
event revert(bool condition);
|
|
}
|
|
|
|
contract ExtendedContract is BaseContract {
|
|
uint ecrecover = 7;
|
|
|
|
function assert(bool condition) public {
|
|
uint msg;
|
|
}
|
|
}
|
|
|
|
contract FurtherExtendedContract is ExtendedContract {
|
|
uint blockhash = 7;
|
|
uint this = 5;
|
|
uint abi;
|
|
|
|
modifier require {
|
|
assert(msg.sender != address(0));
|
|
uint keccak256;
|
|
uint sha3;
|
|
_;
|
|
}
|
|
}
|
|
|
|
// solc reports: Expected identifier but got reserved keyword 'mutable'
|
|
// contract Reserved{
|
|
// address mutable;
|
|
|
|
// }
|
|
|