Flow price: --
af960fa6224777dfe5eacff0986a131661a3b61f1d73d87f87e9b1b4fe7e09c3

Transaction

Hash: af960fa6224777dfe5eacff0986a131661a3b61f1d73d87f87e9b1b4fe7e09c3
error
Error

Whoops! 😨 Something unexpected happened...

[Error Code: 1101] cadence runtime error Execution failed:
error: underflow
  --> af960fa6224777dfe5eacff0986a131661a3b61f1d73d87f87e9b1b4fe7e09c3:15:8
   |
15 |         let total: UFix64 = SwapConfig.ScaledUInt256ToUFix64(res) - 0.2
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Hash:
af960fa6224777dfe5eacff0986a131661a3b61f1d73d87f87e9b1b4fe7e09c3
Status:
ERROR
Block height:
30772833
Block id:
c9d09a0d73e72abf9ebfacaf2d1e212b65bbda13650a07d3c79afe74e82833e5
Timestamp:
Monday 30 May 2022 at 23:54:53 UTC
()
Proposer:
Authorizers:
Gas used:
253