Flow price: --
791454f133144ad053e3a505766e85dff5ae47339c6bdb3483454d92ebeaeecb

Transaction

Hash: 791454f133144ad053e3a505766e85dff5ae47339c6bdb3483454d92ebeaeecb
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:
  --> 791454f133144ad053e3a505766e85dff5ae47339c6bdb3483454d92ebeaeecb:19:11
   |
19 |         if tryBI(tokenInVault: flowTokenVault) {
   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: underflow
  --> 791454f133144ad053e3a505766e85dff5ae47339c6bdb3483454d92ebeaeecb:35:24
   |
35 |     let total: UFix64 = SwapConfig.ScaledUInt256ToUFix64(res) - 0.2
   |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


Loading...