Skip to content
Merged
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
5 changes: 3 additions & 2 deletions packages/contracts/src/FluidLocker.sol
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ contract FluidLocker is Initializable, ReentrancyGuard, IFluidLocker {
}

/// @inheritdoc IFluidLocker
function provideLiquidity(uint256 supAmount) external payable nonReentrant onlyLockerOwner {
function provideLiquidity(uint256 supAmount) external payable nonReentrant onlyLockerOwner unlockAvailable {
address weth = NONFUNGIBLE_POSITION_MANAGER.WETH9();

uint256 ethAmount = msg.value;
Expand Down Expand Up @@ -455,7 +455,7 @@ contract FluidLocker is Initializable, ReentrancyGuard, IFluidLocker {
uint128 liquidityToRemove,
uint256 amount0ToRemove,
uint256 amount1ToRemove
) external nonReentrant onlyLockerOwner {
) external nonReentrant onlyLockerOwner unlockAvailable {
// ensure the locker has a position
if (!_positionExists(tokenId)) {
revert LOCKER_HAS_NO_POSITION();
Expand Down Expand Up @@ -495,6 +495,7 @@ contract FluidLocker is Initializable, ReentrancyGuard, IFluidLocker {
external
nonReentrant
onlyLockerOwner
unlockAvailable
returns (uint256 collectedWeth, uint256 collectedSup)
{
// ensure the locker has a position
Expand Down