Uniswap / v3-periphery

🦄 🦄 🦄 Peripheral smart contracts for interacting with Uniswap v3
https://uniswap.org
GNU General Public License v2.0
1.16k stars 1.08k forks source link

Faulty function documentation in `INonfungiblePositionManager` #269

Open pmerkleplant opened 2 years ago

pmerkleplant commented 2 years ago

The function decreaseLiquidity in the INonfungiblePositionManager has a faulty @param field.

The documentation states: [...] amount The amount by which liquidity will be decreased, [..] (see here).

However, the field in the DecreaseLiquidityParams struct is called liquidity not amount (see here).

Niceural commented 2 years ago

PR #311