This is the report from a security audit performed on Heiswap by MrCrambo.
The audit focused primarily on the security of Heiswap smart contract.
- https://github.com/kendricktan/heiswap-dapp/blob/master/contracts/AltBn128.sol
- https://github.com/kendricktan/heiswap-dapp/blob/master/contracts/Heiswap.sol
- https://github.com/kendricktan/heiswap-dapp/blob/master/contracts/LSAG.sol
In total, 3 issues were reported including:
-
0 high severity issues.
-
0 medium severity issues.
-
0 owner privilegies issues.
-
2 low severity issues.
-
1 notes.
All function names should follow solidity style guide. But functions powmod
, addmodn
don't follow it.
In function withdraw
there is no zero address checking
There are math operations that should be rewrited with SafeMath
library.
Smart contracts are safe.