Open CjHare opened 3 years ago
Better organisation of the findings in their categories, mainly low & optimisation issues.
ethsec@8f68a22109dd:/home/bitdao$ slither contracts/BitDAO.sol --print human-summary
Compilation warnings/errors on contracts/BitDAO.sol:
Warning: Visibility for constructor is ignored. If you want the contract to be non-deployable, making it "abstract" is sufficient.
--> contracts/BitDAO.sol:512:5:
|
512 | constructor (string memory name_, string memory symbol_) public {
| ^ (Relevant source part starts here and spans across multiple lines).
Compiled with solc
Number of lines: 1072 (+ 0 in dependencies, + 0 in tests)
Number of assembly lines: 0
Number of contracts: 8 (+ 0 in dependencies, + 0 tests)
Number of optimization issues: 12
Number of informational issues: 26
Number of low issues: 3
Number of medium issues: 1
Number of high issues: 0
ERCs: ERC20
+----------+-------------+-------+--------------------+--------------+-----------+
| Name | # functions | ERCS | ERC20 info | Complex code | Features |
+----------+-------------+-------+--------------------+--------------+-----------+
| SafeMath | 13 | | | No | |
| Math | 3 | | | No | |
| Arrays | 1 | | | Yes | |
| Counters | 3 | | | No | |
| BitDAO | 50 | ERC20 | No Minting | Yes | Ecrecover |
| | | | Approve Race Cond. | | Assembly |
| | | | | | |
+----------+-------------+-------+--------------------+--------------+-----------+
contracts/BitDAO.sol analyzed (8 contracts)
Result of running the Slither analysis against Solidity 0.7.6.
42 result(s) found