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

fyToken as collateral Wand #189

Open
alcueca opened this issue Jul 1, 2022 · 0 comments
Open

fyToken as collateral Wand #189

alcueca opened this issue Jul 1, 2022 · 0 comments
Assignees

Comments

@alcueca
Copy link
Contributor

alcueca commented Jul 1, 2022

Enabling fyToken as collateral is likely to follow a very similar pattern to fCash as collateral, including a new Join for each series. This will add additional work to each roll, which we would really like to avoid.

The solution can be to code a fyToken Wand, that allows to add any existing fyToken as collateral to borrow its underlying.

Some features that would be required:

  • Factory pattern to deploy the needed Join within the governance transaction. We can use CREATE2 as long as the Timelock gets exclusive ROOT access (for example by hardcoding it in the bytecode). We could be attacked by DoS, but as long as we keep control that would be an acceptable risk.
  • All fyToken in the Cauldron accepted as collateral for their underlying, with a governance-set mapping of forbidden series or underlyings.
  • Automated configuration of Ladle, Oracles, Witch and Cauldron.
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

2 participants