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: underflow --> ef1760b61a61835a6f1090836f0f2fe8132e88d6dffb7df8ab73bef053a0404f:15:695 | 15 | let swap0InVault <- inVault.withdraw(amount: cur);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: &[pool0] as &[&{IPierPair.IPool}]);let swap0OutVault <- pool0.swap(fromVault: <- swap0InVault, forAmount: amounts0[1]);let swap1OutVault <- UsdcUsdtSwapPair.swapToken1ForToken2(from: ... |
Arguments:
total:
37.22714496
split:
0x0000000000000000