-
Notifications
You must be signed in to change notification settings - Fork 91
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
Algorithmic Market Operations for Collateral #611
Comments
Can you place a time estimate? |
so algo farming? |
It just means that we want to have some collateral to be put to work to make some yield. We should use the ERC-4626: Tokenized Vaults interface as discussed in the past. I do think that we need to specify AMO strategies and have them be separate bounties but the intent behind this bounty is to consider this architecture and include AMO capability within the core collateral module. |
Tips:
|
Updated the wallet address for @zgorizzo69 successfully! Your new address: |
You have been unassigned from the bounty @zgorizzo69 |
/start |
Tips:
|
@pavlovcik I removed time and priority labels because we should make the spec more clear |
Questions:
|
|
checkout closed PR for instances, this task requires a strategy implementation and testing |
This issue could be solved this way:
|
@sudotx never opened an PR and it didn't came back to actively communicate update. The bot didn't even unassigned em, @ubiquity/software-development |
We will handle all those odds and ends of bot problems with v2 |
EIP-2535 is something I have personal experience with, I've designed facets as adapters to interact with multiple protocols previously. Is this issue still open should I make it alive? |
@0x4007 Do we still need to make yield on the provided collateral? |
Yeah that's a main planned revenue strategy. |
/start |
Tips:
|
@zugdev I think it makes sense to make a forked version of FraxAMOMinter a separate diamond facet while keeping separate AMO strategies standalone contracts. |
@rndquu I am still thinking through it, at the end of the day we want to generate yield on Dollar's collateral. Take supplying to Aave markets for example, is supply and withdraw intended to be done arbitrarily by some multisig? If so should I trust managers to correctly manage collateral liquidity for Dollar minters? In my head the best, trust minimizing, approach is:
The biggest risk involved is in Aave being breached, which should be very low. The facet would be internal so no external risk as long as we guarantee no arbitrary calls. |
Automated is preferred in the long run. In the beginning stages there is a chance that it might be manual though. |
For v1 we can keep it simple:
For v2 we can aim for:
If it's simpler to implement FraxAMOMinter as a separate contract (not as a Diamond's facet) then you may go this way. It's less error prone. |
@rndquu I need some more context, I thought the Diamond was in prod, based on the last Foundry broadcast it appears that's not correct. Is the idea to implement an AMO minter or to have the AMO itself? An AMO might not be necessary to have an Aave interacting facet or wrapper. I will write a sketch today and share here for debate. |
Diamond is deployed on mainnet I thought all the addresses are on the readme? |
It's on prod: Line 133 in 0a230f9
The idea is to implement an AMO minter and a real AMO strategy that we would be able to use. |
Ok I understand it all now, thanks for clearing it. I thought this project was on Gnosis, therefore didn't consider the mainnet deployment. I am already working on this, will bring news soon. |
Opened a draft, I would appreciate some feedback on requirements as you have a much broader future view of Ubiquity than I do. For example minting uAD and UBQ to AMOs might not be useful, if so we could cut that out. Else would need to find a more straight forward way of minting to AMO, with no collateral but with external management as FRAX does. |
Yes |
! zugdev you were previously unassigned from this task. You cannot be reassigned. |
I think I should be reassigned here |
@zugdev the deadline is at Sat, Sep 21, 9:00 PM UTC |
Note This output has been truncated due to the comment length limit.
|
View | Contribution | Count | Reward |
---|---|---|---|
Issue | Task | 1 | 600 |
Issue | Comment | 6 | 13.173 |
Review | Comment | 15 | 0 |
[ 18.121 WXDAI ]
@0x4007
Contributions Overview
View | Contribution | Count | Reward |
---|---|---|---|
Issue | Comment | 13 | 15.01 |
Review | Comment | 6 | 3.111 |
[ 183.6295 WXDAI ]
@rndquu
Contributions Overview
View | Contribution | Count | Reward |
---|---|---|---|
Issue | Comment | 13 | 63.435 |
Review | Comment | 14 | 120.1945 |
[ 55.47 WXDAI ]
@zgorizzo69
Contributions Overview
View | Contribution | Count | Reward |
---|---|---|---|
Issue | Specification | 1 | 55.47 |
There is the UbiquityPoolFacet where users can:
We should put the provided collateral to work and earn some yield.
What should be done:
Good article: https://mirror.xyz/jackchong.eth/iB_teRKgBaKm4OTKFmjf8hFAM55C1_i0Z2kf-KkYz2I
Original description:
we want an AMO for collateral gathered thanks to #609
Algorithmic Market Operations module is an autonomous contract(s) that enacts arbitrary monetary policy so long as it does not change the uAD price off its peg. This means that AMO controllers can perform open market operations algorithmically (as in the name), but they cannot arbitrarily mint uAD out of thin air and break the peg. The aims is to invests idle collateral into various DeFi vaults/protocols
The text was updated successfully, but these errors were encountered: