This document is a security audit report performed by danbogd, where 0xBTC Smart Contract has been reviewed.
- _0xBitcoinToken.sol github commit hash ec69855517142c2acbb32a976d0d6febb5df0c10.
In total,2 issues were reported including:
- 2 low severity issues.
- 2 minor observation
No critical security issues were found.
- It is possible to double withdrawal attack. More details here.
Transfer & transferFrom functions do not prevent from sending tokens to address 0x0.
Add zero address checking
require(to != address(0));
We believe that function () with revert was a pattern used to prevent implicit acceptance of ether in Solidity versions older than 0.4.0, but today this is unneeded.
The contracts use solidity version 0.4.18. It is suggested to use the latest version and fix all compiler warnings that arise.
No critical vulnerabilities were detected,but we highly recommend to complete this bugs before use.