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

Add asBase = false #8

Open
jalextowle opened this issue Sep 13, 2024 · 0 comments
Open

Add asBase = false #8

jalextowle opened this issue Sep 13, 2024 · 0 comments

Comments

@jalextowle
Copy link
Contributor

Supporting Hyperdrive instances that don't support base deposits and withdrawals is trickier with Momo than with vaults like Everlong. With Everlong, we can just make the asset the base or vault shares token; however, for Momo, the long and short targets may not (and most likely do not) use the same vault shares tokens. This creates an unfortunate situation where Hyperdrive may be responsible for managing a heterogenous mixture of, say, ETH, stETH, and RETH.

This feature should add support in such a way that more complicated cases are supported, and it should also think ahead for integrations where it may not always be possible to convert from base to vault shares without making a swap (RETH comes to mind).

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

No branches or pull requests

1 participant