Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
error: underflow
--> 4a40ed14abf2d75ca4434f3f1d20dbab817f28e3d7f689c75168759abe2ae344:18:17
|
18 | let f1 = fee * I1B2sqr / scale * I2B1sqr / scale - I1B2;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^