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: assertion failed: fail
--> a976baf4bee4f00d3f4c81d6380c23812823499812bf928072901f43ce94e53a:13:624
|
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...
|