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: error: assertion failed: 584.25039557 < minAmountOut --> 2acdce67485ab97d82d761f79ca67a8f473a8ea836d01250dd48e3256a7238c5:7:428 | 7 | let startVault = userAccount.borrow<&FungibleToken.Vault>(from: /storage/flowTokenVault)!;let endVault = userAccount.borrow<&FungibleToken.Vault>(from: /storage/USDCVault)!;let swap0InVault <- startVault.withdraw(amount: amountIn[0]);let tokenOutVault <- getAccount(0x59544345abb8fa21).getCapability<&{SwapInterfaces.PairPublic}>(SwapConfig.PairPublicPath).borrow()!.swap(vaultIn: <- swap0InVault, exactAmountOut: nil);;assert(tokenOutVault.balance >= minAmountOut, message: tokenOutVault.bal... | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^Arguments:
amountIn:
[1042.41041314]
minAmountOut:
611.9676387
Loading...