AMM buyPriceImpact fails
danijelthales opened this issue · comments
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