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
9 changes: 3 additions & 6 deletions src/LiquidityManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,6 @@ contract LiquidityManager {
* @notice Adds liquidity to an initialized Uniswap V4 pool.
* @param token0 Address of the first token in the pool.
* @param token1 Address of the second token in the pool.
* @param swapFee The fee tier for the pool.
* @param tickLower Lower bound for liquidity range.
* @param tickUpper Upper bound for liquidity range.
* @param amountToken0 Amount of `token0` to provide as liquidity.
* @param amountToken1 Amount of `token1` to provide as liquidity.
* @dev Once a user’s liquidity provision exceeds `liquidityThreshold`, a vesting schedule is set up for the
Expand All @@ -132,9 +129,9 @@ contract LiquidityManager {
function addLiquidity(
address token0,
address token1,
uint24 swapFee,
int24 tickLower,
int24 tickUpper,
uint24 ,
int24 ,
int24 ,
uint256 amountToken0,
uint256 amountToken1
)
Expand Down
4 changes: 4 additions & 0 deletions src/LiquidityManagerV2.sol
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ contract LiquidityManagerV2 is Ownable, ReentrancyGuard, Pausable {
error LiquidityManager__PoolAlreadyInitialized();
error LiquidityManager__PoolNotInitialized();
error LiquidityManager__InvalidTokenAddress();
error LiquidityManager__InvalidAmount();
error LiquidityManager__InsufficientLiquidity();
error LiquidityManager__ThresholdAlreadyMet();
error LiquidityManager__VestingAlreadySet();

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