This is the report from a security audit performed on Axmtoken by MrCrambo.
The audit focused primarily on the security of Axmtoken smart contract.
In total, 2 issues were reported including:
-
0 high severity issues.
-
1 medium severity issues.
-
0 owner privilegies issues.
-
1 low severity issues.
- It is possible to double withdrawal attack. More details here
- Lack of transaction handling mechanism issue. More details here
Add into a function transfer(address _to, ... )
following code:
require( _to != address(this) );
In constrcutor totalSupply_
set as tokenReserve
which equals to cap
, that means it could not be more than this value. But when someone will buy tokens, this bought tokens will be added to totalSupply_
, which means that it will be greater than cap.
Set cap more than totalSupply_
, or set tokenReserve
smaller.
Smart contracts contain medium severity issues.