splitReinvest
does not provide liquidity at optimal ratio
#253
Labels
1 (Low Risk)
Assets are not at risk. State handling, function incorrect as to spec, issues with comments
bug
Something isn't working
sponsor acknowledged
Technically the issue is correct, but we're not going to resolve it for XYZ reasons
Handle
cmichel
Vulnerability details
The
RewardReinvestor.splitReinvest
splits the reward token in half and trades half of it to malt, then provides liquidity in the same pool.This is not optimal as the trade comes with fees and slippage and the reserve ratios don't exactly equal the reward / malt ratio used to provide LP.
For more info, see here.
The text was updated successfully, but these errors were encountered: