Flow price: --
4ae5992be831bead37991f34f3a64a7cdce6a07d2d926b15ff5ab779475c410c

Transaction

Hash: 4ae5992be831bead37991f34f3a64a7cdce6a07d2d926b15ff5ab779475c410c
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
  --> 4ae5992be831bead37991f34f3a64a7cdce6a07d2d926b15ff5ab779475c410c: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:
4ae5992be831bead37991f34f3a64a7cdce6a07d2d926b15ff5ab779475c410c
Status:
ERROR
Block height:
64005901
Block id:
e8c7535bde9a48f23a48a41995531f7d561a95a0db713ab8d959a59540d66fd8
Timestamp:
Thursday 26 October 2023 at 14:38:42 UTC
()
Proposer:
Authorizers:
Gas used:
99