Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/LiquidityManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,9 @@ contract LiquidityManager {
function addLiquidity(
address token0,
address token1,
uint24 ,
int24 ,
int24 ,
uint24,
int24,
int24,
uint256 amountToken0,
uint256 amountToken1
)
Expand Down
10 changes: 5 additions & 5 deletions src/LiquidityManagerV2.sol
Original file line number Diff line number Diff line change
Expand Up @@ -51,19 +51,19 @@ contract LiquidityManagerV2 is Ownable, ReentrancyGuard, Pausable {
uint256 public constant MAX_LIQUIDITY_THRESHOLD = 1000 * 1e6; // 1000 USDC max

/// @notice Minimum liquidity threshold to prevent dust attacks
uint256 public constant MIN_LIQUIDITY_THRESHOLD = 10 * 1e6; // 10 USDC min
uint256 public constant MIN_LIQUIDITY_THRESHOLD = 10 * 1e6; // 10 USDC min

/// @notice Vesting duration limits
uint256 public constant MAX_VESTING_DURATION = 365 days; // 1 year max
uint256 public constant MAX_VESTING_DURATION = 365 days; // 1 year max

/// @notice Minimum vesting duration to ensure commitment
uint256 public constant MIN_VESTING_DURATION = 30 days; // 1 month min
uint256 public constant MIN_VESTING_DURATION = 30 days; // 1 month min

/// @notice Slippage and fee precision constants
uint256 public constant SLIPPAGE_PRECISION = 10000; // 100% = 10000
uint256 public constant SLIPPAGE_PRECISION = 10_000; // 100% = 10000

/// @notice Fee precision constant for protocol fees
uint256 public constant FEE_PRECISION = 1000000;
uint256 public constant FEE_PRECISION = 1_000_000;

////////////////////
// State Variables //
Expand Down
Loading