-
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
Add ZAP to collateral contract #610
Comments
I assume 1. that we can fork how zapper does it 2. they call Uniswap to complete the transaction. |
Didn't someone build a ZAP contract for another feature before? If not this one should be built in a more extendable manner, so it'd be able to ZAP to any of our existing or future contracts. Instead of having to build a bespoke zapper for each one. |
@zapaz built the zap lol Check out the Instadapp codebase under our organization. |
@malik672 The time limit for this bounty is on Sat, 24 Jun 2023 10:06:48 GMT It looks like you haven't set your wallet address, |
Do you have any updates @malik672? If you would like to release the bounty back to the DevPool, please comment |
I just reviewed the old code to refresh my memory.
|
This issue #609 added the ability for users to:
So this issue describes this feature:
On step 2 we need to swap collateral ERC20 tokens for LUSD using any audited DEX aggregator, like 1inch Is the description correct? |
zapping smells flashloan like |
Can you explain to me the edge cases? I don't understand the issue.
We should be able to eventually enable support for more assets in case there are issues with acquiring new |
I meant that freshly created ERC20 tokens might not have any liquidity at all so the swap would not be possible but I guess the CoW Protocol has already covered such cases
Yes, I overlooked this feature. Multicolalteral feature (along with disabling deposits for certain ERC20 tokens) is already implemented as a part of #609. Deleted this line from the description:
|
this is basically an array of addresses |
@pavlovcik do we have plans to run UAD on different networks apart from ethereum mainnet? |
@rndquu should we close this as unplanned |
i think it's a nice feature to have but we can close as not completed, for future developing if we see the value on the actual live protocol out of the necessity, my thoughts, rfc @gitcoindev |
# Issue was not closed as completed. Skipping. |
Yes, it is not a "must have" feature hence it makes sense to save time and close it as "not planned" |
There is the UbiquityPoolFacet contract which allows users to:
uAD
uAD
tokens from the contract in exchange for the collateral ERC20 tokensWe should have the ability to swap any ERC20 token to
LUSD
under the hood when user deposits collateral in order to mintuAD
.Notice that:
Original description:
LUSD
to retrieveuAD
as described in Enable LUSD Collateralization #609The text was updated successfully, but these errors were encountered: