Consider the code here.
Both functions are used to either deposit/withdraw dex shares from the lps by passing in the currency which is in short just like a swap, case is that this function does not include any deadline protection whatsoever. The transaction could be left hanging for a long time and end up being executed in unfavorable situations.
This is a pretty popular bug case, where no deadlines have been applied and could lead to users losing funds, sometimes in $USD equivalent since their transactions might execute under less favorable conditions than intended.
Consider requesting a deadline to which a user would like their transaction to be hanging for, and ensure that if the deadline has passed the function does not get executed.
