Skip to content

Instantly share code, notes, and snippets.

@danbogd
Created July 11, 2019 06:35
Show Gist options
  • Save danbogd/15878e1c9616204ca8556753af1a0943 to your computer and use it in GitHub Desktop.
Save danbogd/15878e1c9616204ca8556753af1a0943 to your computer and use it in GitHub Desktop.

Heiswap Dapp audit report.

1. Summary

This document is a security audit report performed by danbogd, where Heiswap Dapp has been reviewed.

2. In scope

Сommit hash afd1a2731bdcaea03698e29ee179b0b29b536807.

3. Findings

In total, 1 issues were reported including:

  • 0 medium severity issues
  • 0 low severity issues
  • 0 owner privileges (ability of owner to manipulate contract, may be risky for investors)..
  • 1 notes.

No critical security issues were found.

3.1. Multiplication after division

Severity: note

Description

Solidity operates only with integers. Multiplication before division may increase the rounding precision.

Code snippet

https://github.com/kendricktan/heiswap-dapp/blob/afd1a2731bdcaea03698e29ee179b0b29b536807/contracts/Heiswap.sol#L342

4. Conclusion

The audited smart contract is safe to deploy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment