You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When withdrawing funds, we should deposit the full balance of ETH to WETH. This way we don't leave any intermediate ETH in the contract, and also the next depositAll() will pick up the funds.
weth.deposit{ value: _amount }();
The text was updated successfully, but these errors were encountered:
Our math on calculating how many LP tokens to withdraw is really good, at least a current pool tilt. Decided to fuzz it a little, and no dust leftover.
When withdrawing funds, we should deposit the full balance of ETH to WETH. This way we don't leave any intermediate ETH in the contract, and also the next depositAll() will pick up the funds.
weth.deposit{ value: _amount }();
The text was updated successfully, but these errors were encountered: