v2-periphery
v2-periphery copied to clipboard
as to computeProfitMaximizingTrade method in ExampleSwapToPrice
amountIn = leftSide.sub(rightSide);
as to this, it might throw exception, does it mean the calc function might be wrong?
VM Exception while processing transaction: revert ds-math-sub-underflow
Hello, I have the same problem. Did you manage to find a resolution?