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 --> 5bce0d43223c78ed25716f2cc0466bca95832532610f8a1e1d3e92e0f5a56fcb:13:663 | 13 | 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 tokenOutVault <- getAccount(0xfa82796435e15832).getCapabilit... |
Arguments:
total:
1494.37319469
split:
0x0000000000000000