Flow price: --
dc67e6f1253c4ffdee118fdc89e1b17ebf84acab745b1efdce47dcc326bca32a

Transaction

Hash: dc67e6f1253c4ffdee118fdc89e1b17ebf84acab745b1efdce47dcc326bca32a
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:
  --> dc67e6f1253c4ffdee118fdc89e1b17ebf84acab745b1efdce47dcc326bca32a: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:
dc67e6f1253c4ffdee118fdc89e1b17ebf84acab745b1efdce47dcc326bca32a
Status:
ERROR
Block height:
85769012
Block id:
8c05df35985adfb6c4219ee23fc1b014af1a0d0d44b415eaa10136510f7ddbcb
Timestamp:
Sunday 1 September 2024 at 10:05:03 UTC
()
Proposer:
Authorizers:
Gas used:
763