You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 1.1/0x14-V5-Arithmetic.md
+7-3Lines changed: 7 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -11,9 +11,13 @@ Category “V5” lists requirements related to the arithmetic operations of the
11
11
12
12
| # | Description |
13
13
| --- | --- |
14
-
|**5.1**| Verify that the values and math operations are resistant to integer overflows. Use SafeMath library for arithmetic operations. |
15
-
|**5.2**| Verify that the extreme values (e.g. maximum and minimum values of the variable type) are considered and does change the logic flow of the contract. |
16
-
|**5.3**| Verify that non-strict inequality is used for balance equality. |
14
+
|**5.1**| Verify that the values and math operations are resistant to integer overflows. Use SafeMath library for arithmetic operations before solidity 0.8.*. |
15
+
|**5.2**| Verify that the unchecked code snippets from Solidity 0.8.* do not introduce integer under/overflows. |
16
+
|**5.3**| Verify that the extreme values (e.g. maximum and minimum values of the variable type) are considered and does change the logic flow of the contract. |
17
+
|**5.4**| Verify that non-strict inequality is used for balance equality. |
18
+
|**5.5**| Verify that there is a correct order of magnitude in the calculations. |
19
+
|**5.6**| Verify that in calculations, multiplication is performed before division for accuracy. |
20
+
|**5.7**| Verify that there are no vulnerabilities associated with arithmetics. |
0 commit comments