From b69d10e1a76890368c3667f610e23d900ed96839 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 21 Feb 2025 15:29:29 +0000 Subject: [PATCH] Update briefcase Changes: M src/protocols/v4-core/interfaces/IPoolManager.sol --- src/protocols/v4-core/interfaces/IPoolManager.sol | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/protocols/v4-core/interfaces/IPoolManager.sol b/src/protocols/v4-core/interfaces/IPoolManager.sol index 89b8287..a727c40 100644 --- a/src/protocols/v4-core/interfaces/IPoolManager.sol +++ b/src/protocols/v4-core/interfaces/IPoolManager.sol @@ -136,6 +136,9 @@ interface IPoolManager is IProtocolFees, IERC6909Claims, IExtsload, IExttload { /// @param hookData The data to pass through to the add/removeLiquidity hooks /// @return callerDelta The balance delta of the caller of modifyLiquidity. This is the total of both principal, fee deltas, and hook deltas if applicable /// @return feesAccrued The balance delta of the fees generated in the liquidity range. Returned for informational purposes + /// @dev Note that feesAccrued can be artificially inflated by a malicious actor and integrators should be careful using the value + /// For pools with a single liquidity position, actors can donate to themselves to inflate feeGrowthGlobal (and consequently feesAccrued) + /// atomically donating and collecting fees in the same unlockCallback may make the inflated value more extreme function modifyLiquidity(PoolKey memory key, ModifyLiquidityParams memory params, bytes calldata hookData) external returns (BalanceDelta callerDelta, BalanceDelta feesAccrued);