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