Flow price: --
a37c4f1caea794bb8d792b3d5e1754bc190530fb9bdda71e622875a76f54ffef

Transaction

Hash: a37c4f1caea794bb8d792b3d5e1754bc190530fb9bdda71e622875a76f54ffef
error
Error

Whoops! 😨 Something unexpected happened...

[Error Code: 1101] error caused by: 1 error occurred:
	* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
  --> a37c4f1caea794bb8d792b3d5e1754bc190530fb9bdda71e622875a76f54ffef:22:11
   |
22 |         if tryBM(tokenInVault: flowTokenVault) {
   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: underflow
  --> a37c4f1caea794bb8d792b3d5e1754bc190530fb9bdda71e622875a76f54ffef:92:24
   |
92 |     let total: UFix64 = SwapConfig.ScaledUInt256ToUFix64(res) - 0.2
   |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


Hash:
a37c4f1caea794bb8d792b3d5e1754bc190530fb9bdda71e622875a76f54ffef
Status:
ERROR
Block height:
72443273
Block id:
525c308bb24fffb14852b8153a9082c15b68bde8f4c9ab1eddc6ef7d3c39942c
Timestamp:
Tuesday 20 February 2024 at 23:48:58 UTC
()
Proposer:
Authorizers:
Gas used:
83