avaxAmount is never 0 in withdraw() in the first if (avaxAmount > 0 && ...)
Description
In function withdraw(), checking if (avaxAmount > 0) is not required since it is
guaranteed to be true by require(amount > 0, "ZERO_WITHDRAW");
function withdraw(uint256 amount) external nonReentrant {
... require(amount > 0, "ZERO_WITHDRAW");
... if (avaxAmount > 0 && depositAmount > 0) { // avaxAmount is never 0 ... }
...Recommendation
Remove avaxAmount > 0 from the if statement.
Status
Currently being reviewed by the team.