Flow price: --
7191fa65e6d6cf4f8a966458f6554ebb398edbc6fb0386ed47929533007fda20

Transaction

Hash: 7191fa65e6d6cf4f8a966458f6554ebb398edbc6fb0386ed47929533007fda20
error
Error

Whoops! 😨 Something unexpected happened...

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