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: 502.80162306 <= 502.81487224
--> 7cbce2bc54e1344199d82e39e5620f4a0576a1eca245e31dfc2fae39774dc4b4:12:503
|
12 | let inVault = userAccount.borrow<&FlowToken.Vault>(from: /storage/flowTokenVault)!;var start = inVault.balance;let swap0InVault <- inVault.withdraw(amount: total);let swap0OutVault <- getAccount(0x396c0cda3302d8c5).getCapability<&{SwapInterfaces.PairPublic}>(SwapConfig.PairPublicPath).borrow()!.swap(vaultIn: <- swap0InVault, exactAmountOut: nil);let tokenOutVault <- LiquidStaking.unstakeQuickly(stFlowVault: <- (swap0OutVault as! @stFlowToken.Vault));;inVault.deposit(from: <- tokenOutVaul...
|