Skip to content

Commit 05aa60e

Browse files
committed
slither disable
1 parent d149ea6 commit 05aa60e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

contracts/utils/Panic.sol

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ pragma solidity ^0.8.20;
66
* @dev Helper library for emitting standardized panic codes.
77
*/
88
library Panic {
9+
// slither-disable-start unused-state-variable
910
uint256 internal constant ASSERTION_ERROR = 0x1;
1011
uint256 internal constant ARITHMETIC_UNDER_OR_OVERFLOW = 0x11;
1112
uint256 internal constant DIVISION_BY_ZERO = 0x12;
@@ -15,6 +16,7 @@ library Panic {
1516
uint256 internal constant ARRAY_ACCESS_OUT_OF_BOUNDS = 0x32;
1617
uint256 internal constant TOO_MUCH_MEMORY_ALLOCATED = 0x41;
1718
uint256 internal constant ZERO_INITIALIZED_VARIABLE = 0x51;
19+
// slither-disable-end unused-state-variable
1820

1921
function panic(uint256 code) internal pure {
2022
/// @solidity memory-safe-assembly

0 commit comments

Comments
 (0)