Arithmetic & Logic Errors
Mathematical operations, overflow/underflow, and logical errors
Off By One
Off-By-One Off-by-one errors are a common mistake made by programmers in which the intended boundaries are incorrect by only one, though these errors...
Overflow Underflow
Integer Overflow and Underflow In solidity, Integer types have maximum and minimum values. Integer overflow occurs when an integer variable exceeds th...
Assert Violation
Assert Violation In Solidity `0.4.10`, the following functions were created: `assert()`, `require()`, and `revert()`. Here we'll discuss the assert f...
Lack Of Precision
Lack of Precision In Solidity, there are a limited variety of number types. Differently from many programming languages, floating point numbers are u...
Msgvalue Loop
Using ``msg.value`` in a Loop The value of ``msg.value`` in a transaction’s call never gets updated, even if the called contract ends up sending some...
Requirement Violation
Requirement Violation The `require()` method is meant to validate conditions, such as inputs or contract state variables, or to validate return value...