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

Offchain worker to automatically rebalance swap pools #2137

Open
xlc opened this issue May 19, 2022 · 0 comments · May be fixed by #2219
Open

Offchain worker to automatically rebalance swap pools #2137

xlc opened this issue May 19, 2022 · 0 comments · May be fixed by #2219

Comments

@xlc
Copy link
Member

xlc commented May 19, 2022

New offchain worker that try to identify unbalanced swap pools and making swaps to balance them. The profit goes to treasury & collator.

Basically we want to identify swap paths A -> B -> C -> A that resulting more A in the end.

New unsigned tx to execute the swap. Requires transaction source to be InBlock or Local.

@zqhxuyuan zqhxuyuan linked a pull request Jun 20, 2022 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant