Flow price: --
80db0dcd403a887d86598709c84e04cda831ed68a9d0747803022b177ddaf689

Transaction

Hash: 80db0dcd403a887d86598709c84e04cda831ed68a9d0747803022b177ddaf689
error
Error

Whoops! 😨 Something unexpected happened...

[Error Code: 1101] cadence runtime error Execution failed:
error: underflow
  --> 80db0dcd403a887d86598709c84e04cda831ed68a9d0747803022b177ddaf689:15:8
   |
15 |         let total: UFix64 = SwapConfig.ScaledUInt256ToUFix64(res) - 0.2
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Loading...