Whoops! 😨 Something unexpected happened...
[Error Code: 1101] cadence runtime error Execution failed:
error: underflow
--> 83268a67f1f8062a01e490e3d818133f77ac3582aac2b61854b68f1e6139f81f:16:8
|
16 | let total: UFix64 = SwapConfig.ScaledUInt256ToUFix64(res) - 0.2
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^