Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction invocation failed when executing transaction: [Error Code: 1101] cadence runtime error: Execution failed:
error: assertion failed: fail
--> d9f27283d938a8e6f7988279f0bda2e7cf482e29253492fdd0a213cf2bd7baeb: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...
|