approveLpOwnership and transferLPs are used to transfer position to other address.
but in transferLPs(), we can only transfer whole position and don't have a way to transfer partially.
Vulnerability Detail
Impact
Lack of such important function could result less protocol users in numbers.
james_wu
medium
There is no way of partial LP transfer
Summary
approveLpOwnership and transferLPs are used to transfer position to other address. but in transferLPs(), we can only transfer whole position and don't have a way to transfer partially.
Vulnerability Detail
Impact
Lack of such important function could result less protocol users in numbers.
Code Snippet
https://github.com/sherlock-audit/2023-01-ajna/blob/main/contracts/src/libraries/external/LenderActions.sol#L500-L558
Tool used
Manual Review
Recommendation
There should be method that transfer LPs partially