-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat/v1.5 simplify compounder #168
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks fine imo. can merge after tests are added
if (rewardTokenLen > 0) { | ||
// caching | ||
address oldBalancerVault = address(balancerVault); | ||
address memory oldRewardTokens = _rewardTokens; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be an array?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you are right
if (rewardTokenLen > 0) { | ||
// caching | ||
address oldRouter = address(curveRouter); | ||
address memory oldRewardTokens = _rewardTokens; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be an array
Apart from build errs, looks good. Only wondering if estimating an expected LP amount could be problematic |
…tegies wip - add conversion slippage
No description provided.