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

AMM buyPriceImpact fails #265

Open
danijelthales opened this issue Jan 26, 2023 · 0 comments
Open

AMM buyPriceImpact fails #265

danijelthales opened this issue Jan 26, 2023 · 0 comments

Comments

@danijelthales
Copy link
Contributor

If AMM has both UP and DOWN tokens (shouldnt happen through normal interactions), the buy price impact method will fail for an amount lesser than the amount of options in the contract

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