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
--> e296d3494a8d3fd9a505e0635286be4f500e85b369fe859af0ab95868431c75d:18:17
|
18 | let f1 = fee * I1B2sqr / scale * I2B1sqr / scale - I1B2;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^