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: 1667.16582062 < minAmountOut --> b230ca37f1b44b7de4091bc9cc608e16a6ef3199ff11f66699651a70bd950b3d:8:617 | 8 | 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 pool0 = PierSwapFactory.getPoolById(poolId: 1736272471741170473);let amounts0 = PierRouterLib.getAmountsByAmountIn(amountIn: swap0InVault.balance, path: &["A.1654653399040a61.FlowToken.Vault","A.b19436aae4d94622.FiatToken.Vault"] as &[String], pools: &[p... |Arguments:
amountIn:
[2116.94034935]
minAmountOut:
1938.587805
Loading...