Flow price: --
d25a03c8d8a7beff7fe83901545ffe07635fe20b50791ea3030ba5410feeb7ec

Transaction

Hash: d25a03c8d8a7beff7fe83901545ffe07635fe20b50791ea3030ba5410feeb7ec
error
Error

Whoops! 😨 Something unexpected happened...

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