Flow price: --
5132ad345fdfa5a425f31c6abd26db141c9202bd92812e384cf986b6909ecf1d

Transaction

Hash: 5132ad345fdfa5a425f31c6abd26db141c9202bd92812e384cf986b6909ecf1d
error
Error

Whoops! 😨 Something unexpected happened...

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