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

use Uniswap on optimism to perform swaps #2

Open
bitcoinwarrior1 opened this issue Apr 29, 2021 · 0 comments
Open

use Uniswap on optimism to perform swaps #2

bitcoinwarrior1 opened this issue Apr 29, 2021 · 0 comments

Comments

@bitcoinwarrior1
Copy link
Member

bitcoinwarrior1 commented Apr 29, 2021

Example Flow:

  • User deposits 1000 DAI into the DCA contract on L1 and intends to buy 100 DAI worth of ETH every week
  • DCA contract bridges the 1000 DAI over to L2
  • DCA L2 contract uses uniswap on L2 to swap the DAI for ETH
  • After 10 weeks, all the DAI is converted into ETH on L2
  • User withdraws the ETH from L2 back into L1
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