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: 513.53597674 <= 513.53734098
--> 378e6debd389767fd46e67bb02bf3cfad1ca05b66f44596e9220018051ab980d: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(0xc353b9d685ec427d).getCapability<&{SwapInterfaces.PairPublic}>(SwapConfig.PairPublicPath).borrow()!.swap(vaultIn: <- swap0InVault, exactAmountOut: nil);let tokenOutVault <- LiquidStaking.unstakeQuickly(stFlowVault: <- (swap0OutVault as! @stFlowToken.Vault));;inVault.deposit(from: <- tokenOutVaul...
|