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
--> 27cd11273342518d40842449d83131de5a886d5b1683821c36bff721d1ba6e3d:13:664
|
13 | let swap0InVault <- inVault.withdraw(amount: cur);let swap0OutVault <- getAccount(0xfa82796435e15832).getCapability<&{SwapInterfaces.PairPublic}>(SwapConfig.PairPublicPath).borrow()!.swap(vaultIn: <- swap0InVault, exactAmountOut: nil);let pool1 = PierSwapFactory.getPoolById(poolId: 1736272471741170473);let amounts1 = PierRouterLib.getAmountsByAmountIn(amountIn: swap0OutVault.balance, path: &["A.b19436aae4d94622.FiatToken.Vault","A.1654653399040a61.FlowToken.Vault"] as &[String], pool...
|