File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ pragma solidity ^0.8.20;
6
6
* @dev Helper library for emitting standardized panic codes.
7
7
*/
8
8
library Panic {
9
+ // slither-disable-start unused-state-variable
9
10
uint256 internal constant ASSERTION_ERROR = 0x1 ;
10
11
uint256 internal constant ARITHMETIC_UNDER_OR_OVERFLOW = 0x11 ;
11
12
uint256 internal constant DIVISION_BY_ZERO = 0x12 ;
@@ -15,6 +16,7 @@ library Panic {
15
16
uint256 internal constant ARRAY_ACCESS_OUT_OF_BOUNDS = 0x32 ;
16
17
uint256 internal constant TOO_MUCH_MEMORY_ALLOCATED = 0x41 ;
17
18
uint256 internal constant ZERO_INITIALIZED_VARIABLE = 0x51 ;
19
+ // slither-disable-end unused-state-variable
18
20
19
21
function panic (uint256 code ) internal pure {
20
22
/// @solidity memory-safe-assembly
You can’t perform that action at this time.
0 commit comments