Whoops! 😨 Something unexpected happened...
[Error Code: 1101] cadence runtime error Execution failed:
error: assertion failed: amount out < minAmountOut
--> 10c0b55477b5d27e85962ecdbbd728f940ca4f5b4d7d034dcd0697d6de8d7ee3:10:544
|
10 | 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 <- SwapRouter.swapWithPath(vaultIn: <- swap0OutVault, tokenKeyPath: ["A.b19436aae4d94622.FiatToken", "A.165465...
|