CODE_ERROR
There is an error in the cadence code of this transaction.
[Error Code: 1101] error caused by: 1 error occurred: * transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed: --> 7947252f28349d62b6549ad942a190ba014c82fa6009a48043f0585f2cdadc29: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" | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^Arguments:
amountLiquidate:
77.32171179
borrower:
0x6e1f81d1db0eeffd
seizePoolAddr:
0x90f55b24a556ea45
Loading...