Web3 DAO | Uniswap Logo

Faulty function documentation in `INonfungiblePositionManager`

Ethereum

Organization

Uniswap

Deadline

N/A

Status

LIVE


INSTRUCTIONS

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).

ABOUT UNISWAP

Uniswap is an automated liquidity provider for swapping, earning, and building on the leading decentralized crypto trading protocol. Uniswap is governed by its community and enables developers to build third-party solutions on top of the protocol.