Flow price: --
94392e881b9d2d0f2e4f663aa8b59ed6ddc98045a00919a06018b376504be010

Transaction

Hash: 94392e881b9d2d0f2e4f663aa8b59ed6ddc98045a00919a06018b376504be010
error
Error

Whoops! 😨 Something unexpected happened...

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