Flow price: --
799ef1316bca7cee0dd70ac61c0843135a4a155890c9ff86f4af24032911e265

Transaction

Hash: 799ef1316bca7cee0dd70ac61c0843135a4a155890c9ff86f4af24032911e265
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:
  --> 799ef1316bca7cee0dd70ac61c0843135a4a155890c9ff86f4af24032911e265: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:
799ef1316bca7cee0dd70ac61c0843135a4a155890c9ff86f4af24032911e265
Status:
ERROR
Block height:
85776094
Block id:
439cbcaf272eeb65a60db8ebffb1afa1e2aa357dd1a2beb28fe7eaf0a53968fe
Timestamp:
Sunday 1 September 2024 at 12:32:51 UTC
()
Proposer:
Authorizers:
Gas used:
757