Flow price: --
85165df767961d4a5cb70261c0685e0482e9651b4162c164ae5669e2609091ef

Transaction

Hash: 85165df767961d4a5cb70261c0685e0482e9651b4162c164ae5669e2609091ef
error
Error

Whoops! 😨 Something unexpected happened...

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