Flow price: --
377ff840647f84e1479a4389fe3052b9927d585953660fcebcaaaf2786f184de

Transaction

Hash: 377ff840647f84e1479a4389fe3052b9927d585953660fcebcaaaf2786f184de
error
Error

Whoops! 😨 Something unexpected happened...

[Error Code: 1101] cadence runtime error Execution failed:
error: underflow
  --> 377ff840647f84e1479a4389fe3052b9927d585953660fcebcaaaf2786f184de:23:212
   |
23 |                                         let token1Vault <- UsdcUsdtSwapPair.swapToken1ForToken2(from: <- (token0Vault as! @FiatToken.Vault));let vaultOut <- FlowSwapPair.swapToken2ForToken1(from: <- token1Vault);earn = earn + vaultOut.balance - cur;flowTokenVault.deposit(from: <- vaultOut)
   |                                                                                                                                                                                                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Loading...