Skip to content

Commit 8b85ab9

Browse files
authored
Removing some unused code (#1352)
Removing some unused code, as pointed out in the Cantina review. https://cantina.xyz/code/e4fa76c6-c969-462c-9676-e7d4d60fc1dd/findings?severity=informational&finding=11
1 parent b0463e8 commit 8b85ab9

File tree

2 files changed

+5
-10
lines changed

2 files changed

+5
-10
lines changed

.changeset/afraid-crabs-bow.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@zoralabs/coins": patch
3+
---
4+
5+
Removed some unused constants

packages/coins/src/libs/MarketConstants.sol

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,11 @@ library MarketConstants {
55
/// @dev Constant used to increase precision during calculations
66
uint256 constant WAD = 1e18;
77

8-
/// @notice The LP fee
9-
/// @dev 10000 basis points = 1%
10-
uint24 internal constant LP_FEE = 10000;
11-
128
/// @notice The LP fee
139
/// @dev 30000 basis points = 3%
1410
uint24 internal constant LP_FEE_V4 = 30000;
1511

1612
/// @notice The spacing for 1% pools
1713
/// @dev 200 ticks
1814
int24 internal constant TICK_SPACING = 200;
19-
20-
/// @notice The minimum lower tick for legacy single LP WETH pools
21-
int24 internal constant LP_TICK_LOWER_WETH = -208200;
22-
23-
/// @notice The upper tick for legacy single LP WETH pools
24-
int24 internal constant LP_TICK_UPPER = 887200;
2515
}

0 commit comments

Comments
 (0)