Flow price: --
054c5c487c48b26c0dd13cc74a372cf06baf09e80f5ebf0657b1840924ffc4be

Transaction

Hash: 054c5c487c48b26c0dd13cc74a372cf06baf09e80f5ebf0657b1840924ffc4be
error
Error

Whoops! 😨 Something unexpected happened...

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