Flow price: --
a9e93b33e1752c26f3636b07d1254a6bdc92a4dc22198150d4d92cf1a077ea46

Transaction

Hash: a9e93b33e1752c26f3636b07d1254a6bdc92a4dc22198150d4d92cf1a077ea46
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
  --> a9e93b33e1752c26f3636b07d1254a6bdc92a4dc22198150d4d92cf1a077ea46: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: ... 
   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     

Hash:
a9e93b33e1752c26f3636b07d1254a6bdc92a4dc22198150d4d92cf1a077ea46
Status:
ERROR
Block height:
57921972
Block id:
d63924b8da1192c094f4a1509d973418cde6e7a72e5f1ed357654c2a6a75771a
Timestamp:
Tuesday 1 August 2023 at 15:30:57 UTC
()
Proposer:
Authorizers:
Gas used:
99