-
Notifications
You must be signed in to change notification settings - Fork 6
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: integrate convex finance #1
Conversation
Would love to get some feedback as early as possible in the development process. Let me know which pools offered by Convex Finance should be prioritized or if you would like to support them all. The integration should be otherwise complete, just missing the pool addresses. |
I did skimmed the code.
Over all, it looks good. Thank you for contributing. |
@dhruvinparikh Thanks for the fast reply! I just realized that all pools are using the same deposit contract address. This makes it impossible to map from deposit pool to staking vault. Maybe you know a workaround to solve this dilemma? What about extending the interface, so that an optional pool identifier is passed in combination with the |
Possible work around could be to :
|
Sounds good @dhruvinparikh However, not all interface functions provide the underlying token as parameter e.g. IAdapterHarvestReward.sol
IAdapterStaking.sol
IAdapter.sol
Not exactly sure what you mean with:
I assume the |
As part of the Gitcoin submission requirements, these are the links to the video and the deployed contract: Video walkthrough: https://youtu.be/1iNkQ_7gzNg Deployment address on Rinkeby: 0x72F4165890E4A1d3f7C1f7771c24B6442DcE0a00 |
Closing this PR in favour of #14 |
Issue
@samitannir @dhruvinparikh
OpenDeFi/Hackathon#5
Name
OptyFi Bounty #1: Convex Finance Adapter
Description
Build an integration with Convex Finance’s liquidity pools using OptyFi's DeFi Adapter interface. With this integration, OptyFi users should be able to deposit CRV, CVX and Curve LP tokens into OptyFi vaults which will in turn deploy them into Convex to earn yield boosted by CRV and CVX rewards. The OptyFi Protocol should also be able to deposit CRV and Curve LP tokens acquired from other strategies involving our direct Curve integration.
The overall goal is to maximize the liquidity, utility and profitability of CRV and other Curve assets in DeFi.
Video walkthrough
https://youtu.be/1iNkQ_7gzNg
Deployment address on Rinkeby
0x72F4165890E4A1d3f7C1f7771c24B6442DcE0a00