diff --git a/src/V3FactoryOwner.sol b/src/V3FactoryOwner.sol index 15c714d..05c84a2 100644 --- a/src/V3FactoryOwner.sol +++ b/src/V3FactoryOwner.sol @@ -169,6 +169,14 @@ contract V3FactoryOwner { /// amount are. Effectively, as each pool accrues fees, it eventually becomes possible to "buy" /// the pool fees for less than they are valued by "paying" the the payout amount of the payout /// token. + /// `payoutAmount` may be changed by the admin (governance). Any proposal that changes this amount + /// is expected to be subject to the governance process, including a timelocked execution, and so + /// it's unlikely that a caller would be surprised by a change in this value. Still, callers + /// should be aware of the edge case where: + /// 1. The caller grants a higher-than-necessary payout token approval to this factory. + /// 2. caller's claimFee transaction is in the mempool. + /// 3. the payoutAmount is changed. + /// 4. the claimFee transaction is now included in a block. /// @param _pool The Uniswap v3 pool contract from which protocol fees are being collected. /// @param _recipient The address to which collected protocol fees will be transferred. /// @param _amount0Requested The amount0Requested param to forward to the pool's collectProtocol