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

Internal Swaps, Two-sided Market #2

Closed
mikeghen opened this issue Nov 24, 2021 · 1 comment
Closed

Internal Swaps, Two-sided Market #2

mikeghen opened this issue Nov 24, 2021 · 1 comment
Assignees

Comments

@mikeghen
Copy link
Contributor

Make the contracts support a 2-sided market where the input of tokenA is swapped internally for tokenB before sourcing liquidity to fill the swap.

Each contract in v2.0 should support two-way streaming. This means 1 contract address for both sides of a market. Both sides of the market accrue tokens in the contracts and they will be exchanged at the rate provided by the oracle. Any surplus will be swapped on SushiSwap.

d24d06d3-d2fe-4498-a96b-a225a02edd2c

Example: Ricochet-Exchange/ricochet#7

@mikeghen mikeghen added $10k bounty help wanted Extra attention is needed labels Nov 24, 2021
@mikeghen mikeghen moved this to Todo in REX Version 2.0 Nov 24, 2021
@rashtrakoff rashtrakoff moved this from Todo to In Progress in REX Version 2.0 Jan 9, 2022
@mikeghen mikeghen removed the status in REX Version 2.0 Jan 11, 2022
@mikeghen mikeghen removed the help wanted Extra attention is needed label Jan 11, 2022
@mikeghen
Copy link
Contributor Author

This is completed in #26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Done
Development

No branches or pull requests

1 participant