Open markcarey opened 1 year ago
Hey @markcarey, thank you very much. Your suggestions are incredibly valuable, I will take some time to reflect on them. Thank you very much!!
...and it turns out there is an ERC standard for vaults, which I just learned about:
ERC-4626 is a standard to optimize and unify the technical parameters of yield-bearing vaults. It provides a standard API for tokenized yield-bearing vaults that represent shares of a single underlying ERC-20 token. ERC-4626 also outlines an optional extension for tokenized vaults utilizing ERC-20, offering basic functionality for depositing, withdrawing tokens and reading balances.
https://ethereum.org/en/developers/docs/standards/tokens/erc-4626/
Hey @markcarey this is fantastic feedback. I need to reflect on them for a bit also.
also tagging @kobuta23 here for visibilty
More feedback from @seroxdesign
I’d argue for streaming into lending positions as a good use case.
For example, a larger DAO wants to borrow 1.2 million USDC, over 1 year. The APR is 10%. Smaller lenders could stream into the position until the stream rate covers 100k USDC a month.
This would allow lenders to make good APRs with smaller investments, and borrowers to ensure a constant flow of cash that isn’t reliant on one lender.
Not sure if this is relevant, the idea just instantly made me think of borrow/lending
I keep thinking about this.... I am starting to wonder if it makes sense to take the idea of a standardized-vault/strategy setup a step further. What if new vaults weren't created at all? What if any pre-existing ERC4626
vault was automatically supported? In this scenario the only SF contracts would be deployed as DCA connectors to vaults from Beefy, Yearn, Idle, etc. Incoming streams are accepted, Gelato tasks do their thing periodically to downgrade superTokens and deposit to Yearn/Beefy vaults. The SF connector holds the vault tokens and does the magic to calculate the shares, and issues shares accordingly based on deposits/streams. The end result means I can stream DCA into one of many (Lindy-ish) vaults from multiple well-known DeFi projects. The amount of contract code to write and maintain is vastly reduced (and much of it seems to be already written!).
I would definitely use such a service and pay a fee to do so. And I bet DAOs would too, as way investing treasury funds.
@markcarey Hey, I am now flying to Denver; last week was preparation for denver and this week will be very busy. We could have a call around the 10th. I think it would be great so we van walkthrough the current constraints and what can be changed!
Sounds good. Enjoy ETHDenver!
I keep thinking about this.... I am starting to wonder if it makes sense to take the idea of a standardized-vault/strategy setup a step further. What if new vaults weren't created at all? What if any pre-existing
ERC4626
vault was automatically supported? In this scenario the only SF contracts would be deployed as DCA connectors to vaults from Beefy, Yearn, Idle, etc. Incoming streams are accepted, Gelato tasks do their thing periodically to downgrade superTokens and deposit to Yearn/Beefy vaults. The SF connector holds the vault tokens and does the magic to calculate the shares, and issues shares accordingly based on deposits/streams. The end result means I can stream DCA into one of many (Lindy-ish) vaults from multiple well-known DeFi projects. The amount of contract code to write and maintain is vastly reduced (and much of it seems to be already written!).I would definitely use such a service and pay a fee to do so. And I bet DAOs would too, as way investing treasury funds.
This sounds excellent, I'm sure there's an appetite for it I worked on a DAO that's doing on-chain lending/borrowing and it feels like a great way to minimize risk of defaults, since if a borrower defaults all that would need to happen is have the stream(s) shut down.
@saflamini @markcarey @Seroxdesign , next week we could continue the conversation, as mentioned, I think would be really good to have a meeting. Are you free on Tuesday/Wednesday late afternoon CET times so Sam can connect too?
First of all, this is awesome. 👍 Good work @donoso-eth !
Here are several high-level suggestions. They come from my experience building Airlift Finance, a hackathon project (finalist at Unicode 2021). Airlift is based on the Vault / Strategy setup of Beefy.Finance. Reading about SuperPool, it reminded me of this experience. Based on that, here are few things that come to mind:
PoolV1
as dev who has worked with Aave contracts, I automatically think of Aave V1. With Beefy and Yearn, and others, the termVault
is used. DefFi users know what a "vault" is. As such I think the termSuper Vaults
is both more accurate and better in terms of education and marketing for both devs and "suppliers".The above three suggestions are high-level, more in thinking of how we might maximize both developers and users, rather than any deeper technical suggestions. I will continue to dive deeper into the contracts and perhaps provide some lower level questions / feedback...
Overall, this is really cool.... 👍