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