Whoops! 😨 Something unexpected happened...
[Error Code: 1101] cadence runtime error Execution failed:
error: assertion failed: amount out < minAmountOut
--> 835b84b14ed0f024918ecb8c5bafe23391512e49c5939c3090ddfba5196d473c:9:559
|
9 | let startVault = userAccount.borrow<&FungibleToken.Vault>(from: /storage/teleportedTetherTokenVault)!;let endVault = userAccount.borrow<&FungibleToken.Vault>(from: /storage/flowTokenVault)!;let swap0InVault <- startVault.withdraw(amount: amountIn);let swap0OutVault <- UsdcUsdtSwapPair.swapToken2ForToken1(from: <- (swap0InVault as! @TeleportedTetherToken.Vault));let tokenOutVault <- getAccount(0xfa82796435e15832).getCapability<&{SwapInterfaces.PairPublic}>(SwapConfig.PairPublicPath).borro...
|