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: 1660.41765153 < minAmountOut --> a159c3811d0b1fa1797cd273baf5003942993deae0f27cee557148751f82ccae: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.9406329]
minAmountOut:
1938.587805
Loading...