Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> 4d58cc99d78f25f32d129706e6349a915b442b6472ee813ca304dd460a9c8200:16:11
|
16 | if tryMI(tokenInVault: flowTokenVault) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: underflow
--> 4d58cc99d78f25f32d129706e6349a915b442b6472ee813ca304dd460a9c8200:61:24
|
61 | let total: UFix64 = SwapConfig.ScaledUInt256ToUFix64(res) - 0.2
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^