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: Add mellow vaults. #38

Merged
merged 2 commits into from
Feb 18, 2025
Merged

feat: Add mellow vaults. #38

merged 2 commits into from
Feb 18, 2025

Conversation

mijovic
Copy link
Contributor

@mijovic mijovic commented Feb 4, 2025

TODO:

  • Add remaining vaults
  • Sabe batches

@mijovic mijovic marked this pull request as draft February 4, 2025 13:29
@mijovic mijovic force-pushed the mellow_vaults branch 2 times, most recently from f58da10 to 749eab8 Compare February 5, 2025 11:54
@jparklev
Copy link
Contributor

jparklev commented Feb 6, 2025

this is still in draft, but ready for review, right @mijovic?

@mijovic mijovic marked this pull request as ready for review February 6, 2025 09:04
@mijovic
Copy link
Contributor Author

mijovic commented Feb 6, 2025

this is still in draft, but ready for review, right @mijovic?

Yes, it is ready, you are right.

Copy link
Contributor

@jparklev jparklev left a comment

Choose a reason for hiding this comment

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

Looking good! A few tiny things, and then a point about adding deposit assets as well as the strategy assets. Historically, we've added both so that users have two ways to get into a position on their rumpel wallet (deposit vault share, or deposit underlying and enter position via wallet). I think it makes sense to keep doing that, with the notable exception of ENA

Copy link
Contributor

@jparklev jparklev left a comment

Choose a reason for hiding this comment

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

Comment on wBTC – otherwise LGTM!

Once this gets confirmed by @stevenvaleri, we can queue up the tx on the admin multsig, and merge this once confirmed

address public constant MAINNET_MELLOW_SIBTC = 0xE4357bDAE017726eE5E83Db3443bcd269BbF125d;
address public constant MAINNET_MELLOW_LUGAETH = 0x82dc3260f599f4fC4307209A1122B6eAa007163b;
address public constant MAINNET_MELLOW_ROETH = 0x7b31F008c48EFb65da78eA0f255EE424af855249;
address public constant MAINNET_MELLOW_RSUNIBTC = 0x08F39b3d75712148dacDB2669C3EAcc7F1152547;
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we should consider either making the variable name the name of the vault on the UI, or the add the name of the vault on the UI to the comments on the right b/c it was a bit of work to backwards map the symbol to the vault on the UI for verifying. I think comment would help keep the variable name short.

Update not required for this PR.

@jparklev jparklev mentioned this pull request Feb 13, 2025
Co-authored-by: Steven Valeri <steven@sense.finance>
Copy link
Contributor

@stevenvaleri stevenvaleri left a comment

Choose a reason for hiding this comment

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

Nice -- checked all contract deposit / withdraw functions and they line up correctly.

For getProtocolGuardConfigMellowSymbiotic let's include the function claim which becomes required when not all funds are immediately available for withdrawal:
image

@jparklev jparklev self-requested a review February 17, 2025 20:43
Copy link
Contributor

@jparklev jparklev left a comment

Choose a reason for hiding this comment

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

After #38 (review), latest changes lgtm

@stevenvaleri
Copy link
Contributor

@jparklev added the claim function and optimistically queued

@stevenvaleri stevenvaleri merged commit f244e95 into main Feb 18, 2025
2 checks passed
@stevenvaleri stevenvaleri deleted the mellow_vaults branch February 18, 2025 14:59
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