Skip to content
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

Merged
merged 9 commits into from
May 16, 2024
Merged

Conversation

RedVeil
Copy link
Contributor

@RedVeil RedVeil commented May 13, 2024

No description provided.

@RedVeil RedVeil changed the base branch from main to feat/v-1.5 May 13, 2024 14:11
@RedVeil RedVeil changed the base branch from feat/v-1.5 to feat/v1.5-optionalData May 14, 2024 07:26
Copy link
Contributor

@0xruhum 0xruhum left a 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;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be an array?

Copy link
Contributor Author

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;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be an array

@Andreadinenno
Copy link
Contributor

Apart from build errs, looks good. Only wondering if estimating an expected LP amount could be problematic

@RedVeil RedVeil changed the base branch from feat/v1.5-optionalData to feat/v-1.5 May 16, 2024 12:58
@RedVeil RedVeil marked this pull request as ready for review May 16, 2024 13:01
@RedVeil RedVeil merged commit 76f6b18 into feat/v-1.5 May 16, 2024
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants