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

cvxETH and crv/cvxCRV Curve LP strategies #22

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

Conversation

sajanrajdev
Copy link
Collaborator

@sajanrajdev sajanrajdev commented Feb 1, 2022

This PR relates to issue 34 of badger-strategies.

  • Added the strategy configurations for CVX/ETH and CRV/cvxCRV Curve Lp (With 10% performance fees).
  • Adapted the resolver to be more resilient to different fee configurations and improved the accuracy of a few of the checks
  • Adapted the asset generating function to work for any type of base LP Component.

NOTE: This PR includes the bug fixes to the strategies merged on PR #21

All tests are passing - ran for triCrypto2, ibBTCCrv, cvxETHCrv and crvCvxCrv (Harvest tests failed before the fixes to the resolver):
image
The rest of the tests but two passed after the fixes due to run-time errors within the asset generating function:
image
Running these two again got them to pass:
image
image

Copy link
Contributor

@shuklaayush shuklaayush left a comment

Choose a reason for hiding this comment

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

Lgtm. Addresses and pids check out

config/StrategyResolver.py Show resolved Hide resolved
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.

2 participants