Flow price: --
ef4aec9a1cd562a90df782b11b501cb95e19a055d9781dd0588aecea022c62db

Transaction

Hash: ef4aec9a1cd562a90df782b11b501cb95e19a055d9781dd0588aecea022c62db
error
Error

Whoops! 😨 Something unexpected happened...

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