Flow price: --
58cb3392315e464824b80d1a6013978a90664440b29ce1983533c6d7485bc18d

Transaction

Hash: 58cb3392315e464824b80d1a6013978a90664440b29ce1983533c6d7485bc18d
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:
  --> 58cb3392315e464824b80d1a6013978a90664440b29ce1983533c6d7485bc18d:38:24
   |
38 | 			let swap0OutVault <- FusdUsdtSwapPair.swapToken1ForToken2(from: <- (swap0InVault as! @FUSD.Vault))
   | 			                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

   --> 87f3f233f34b0733.FusdUsdtSwapPair:359:14
    |
359 |     return <- FusdUsdtSwapPair._swapToken1ForToken2(from: <-from)
    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

   --> 87f3f233f34b0733.FusdUsdtSwapPair:344:23
    |
344 |     let token2Amount = self.quoteSwapExactToken1ForToken2(amount: token1Amount)
    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: pre-condition failed: Not enough Token2 in the pool
   --> 87f3f233f34b0733.FusdUsdtSwapPair:297:6
    |
297 |       self.token2Vault.balance >= amount: "Not enough Token2 in the pool"
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


Hash:
58cb3392315e464824b80d1a6013978a90664440b29ce1983533c6d7485bc18d
Status:
ERROR
Block height:
85775956
Block id:
22af9af776ff76737447edf9e44892f55d4c3cf7af5d3eaafa5ac94a885d7cb1
Timestamp:
Sunday 1 September 2024 at 12:29:57 UTC
()
Proposer:
Authorizers:
Gas used:
758