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

Add market metadata in Oracle pallet and use it to correct the slippage validation logic #356

Open
steven-semnet opened this issue Jul 5, 2023 · 0 comments
Assignees

Comments

@steven-semnet
Copy link
Contributor

steven-semnet commented Jul 5, 2023

The flaw in the current slippage logic is that, while it will protect the user
if the price goes against them, it will also block the trade if the price moves
in their favour.

More details in RFC 001 in Gitlab

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