Flow price: --
cc56f11c6fda69dce480aec82d385488365a1dccf8c013d28b9f1983d27f66c2

Transaction

Hash: cc56f11c6fda69dce480aec82d385488365a1dccf8c013d28b9f1983d27f66c2
error
Error

Whoops! 😨 Something unexpected happened...

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