Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> 6ffd31e11ff57f863adfaf39015f911166c7219680ad5fc30131c5e8a53e4352:19:11
|
19 | if tryBI(tokenInVault: flowTokenVault) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--> 6ffd31e11ff57f863adfaf39015f911166c7219680ad5fc30131c5e8a53e4352:42:180
|
42 | let token0Vault <- tokenInVault.withdraw(amount: cur) as! @FlowToken.Vault;let token1Vault <- FlowSwapPair.swapToken1ForToken2(from: <- token0Vault);let token2Vault <- UsdcUsdtSwapPair.swapToken2ForToken1(from: <- token1Vault)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--> 9c6f94adf47904b5.UsdcUsdtSwapPair:296:23
error: pre-condition failed: Not enough Token1 in the pool
--> 9c6f94adf47904b5.UsdcUsdtSwapPair:249:6