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/expected_json/timestamp.timestamp.txt

13 lines
732 B


Timestamp.bad0() (tests/timestamp.sol#4-6) uses timestamp for comparisons
Dangerous comparisons:
- require(bool)(block.timestamp == 0) (tests/timestamp.sol#5)
Timestamp.bad1() (tests/timestamp.sol#8-11) uses timestamp for comparisons
Dangerous comparisons:
- require(bool)(time == 0) (tests/timestamp.sol#10)
Timestamp.bad2() (tests/timestamp.sol#13-15) uses timestamp for comparisons
Dangerous comparisons:
- block.timestamp > 0 (tests/timestamp.sol#14)
Reference: https://github.com/crytic/slither/wiki/Detector-Documentation#block-timestamp
tests/timestamp.sol analyzed (1 contracts with 1 detectors), 3 result(s) found
Use https://crytic.io/ to get access to additional detectors and Github integration