blockchains-security-toolkit/advanced_expert/vulnerabilities/arithmetic_errors
2024-11-04 18:42:30 +07:00
..
overflow organize chapters for the ongoing research, remove dead links, add new resources 2024-11-04 18:42:30 +07:00
README.md organize chapters for the ongoing research, remove dead links, add new resources 2024-11-04 18:42:30 +07:00

arithmetic errors


  • defaults:
    • solidity < 0.8: integers in overflow / underflow without any errors.
    • solidity >= 0.8: default behaviour of for overflow / underflow is to throw an error.
  • use SafeMath to prevent arithmetic overflow and underflow.


chapters