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