Flow price: --
17af3a19c219697b8e611dca665c737d36f4fccb64eca701b691854105e4f135

Transaction

Hash: 17af3a19c219697b8e611dca665c737d36f4fccb64eca701b691854105e4f135
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:
  --> 17af3a19c219697b8e611dca665c737d36f4fccb64eca701b691854105e4f135: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:
17af3a19c219697b8e611dca665c737d36f4fccb64eca701b691854105e4f135
Status:
ERROR
Block height:
85770623
Block id:
89230bcc8979c7c2bcc00d17bd17c9f0da34bd7dfab97f039416be4d065ebfc3
Timestamp:
Sunday 1 September 2024 at 10:38:40 UTC
()
Proposer:
Authorizers:
Gas used:
759