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
--> 1be5c2e189209af5406ffc94e902f0a63325473f7fa8309e545768577b476402:14:696
|
14 | let swap0InVault <- inVault.withdraw(amount: cur);let swap0OutVault <- FlowSwapPair.swapToken1ForToken2(from: <- (swap0InVault as! @FlowToken.Vault));let swap1OutVault <- UsdcUsdtSwapPair.swapToken2ForToken1(from: <- (swap0OutVault as! @TeleportedTetherToken.Vault));let pool2 = PierSwapFactory.getPoolById(poolId: 1736272471741170473);let amounts2 = PierRouterLib.getAmountsByAmountIn(amountIn: swap1OutVault.balance, path: &["A.b19436aae4d94622.FiatToken.Vault","A.1654653399040a61.Flow...
|