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