Withdrawing affects your Health Factor due to the change in your loan to collateral ratio. When you want to withdraw, a preview of how the withdrawal will affect your Health Factor is displayed. Final Health Factor must remain above 1 for the withdrawal to pass.

If you click Max during withdrawal. The transaction would fill in a type(uint256).max, or 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff ; in order to signal a full exit on the execution. All your deposit would be withdrawn at the execution.

Last updated