Flow price: --
8705ac0fd472207219c8ca43a83583ef6d18b2fdeee8b4d0956446d6b75f0677

Transaction

Hash: 8705ac0fd472207219c8ca43a83583ef6d18b2fdeee8b4d0956446d6b75f0677
error
Error

Whoops! 😨 Something unexpected happened...

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