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

Support for DeliverMin. #8

Open
tequdev opened this issue Jan 22, 2023 · 0 comments
Open

Support for DeliverMin. #8

tequdev opened this issue Jan 22, 2023 · 0 comments

Comments

@tequdev
Copy link
Owner

tequdev commented Jan 22, 2023

Support for DeliverMin in case of changes in available liquidity due to, for example, overlapping routes of multiple users.

It should be in such a way that no swap is made at a price less than, for example, 95% of the user's planned swap amount.

In this case.

  • Let the swap succeed at a price above 95%.
  • The entire swap is cancelled.

These two options are possible.

These can be managed with flags, but how to make the choice in the UI needs to be considered.

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