Flow price: --
676cfdf8f86b30a235b3d2f1b603b070bacbb3cbdafbed962425d5efc35396ae

Transaction

Hash: 676cfdf8f86b30a235b3d2f1b603b070bacbb3cbdafbed962425d5efc35396ae
error
Error

Whoops! 😨 Something unexpected happened...

[Error Code: 1101] error caused by: 1 error occurred:
	* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
error: underflow
  --> 676cfdf8f86b30a235b3d2f1b603b070bacbb3cbdafbed962425d5efc35396ae:17:876
   |
17 |             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 <- getAccount(0x34f57c74eb531a59).getCapabilit... 
   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     

Hash:
676cfdf8f86b30a235b3d2f1b603b070bacbb3cbdafbed962425d5efc35396ae
Status:
ERROR
Block height:
68563479
Block id:
4de6db061a5ed6140273e9830f45d6043a10c5f4daf0cab67e828c2880b60cdd
Timestamp:
Tuesday 26 December 2023 at 17:40:14 UTC
()
Proposer:
Authorizers:
Gas used:
148