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