Early rate$2,400 of senior audit time for $500. Early members keep the rate as it climbs.$2,400 of senior audit time for $500See how →
F-2024-0014·missing-validation

Consider adding address(0) check for function parameters

Acknowledgedindex-funddefirebalancing
TL;DR

lendToken and collectToken should reject address(0) arguments to avoid silent failures and zero-address bookkeeping issues.

Severity
INFO
Impact
LOW
Likelihood
LOW
Method
MManual review
CAT.
Complexity
LOW
Exploitability
LOW
02Section · Description

Description

WEDXLender::lendToken and WEDXLender::collectToken should validate that their address arguments are not the zero address.

03Section · Recommendation

Recommendation

Consider adding address(0) check on the function parameters.

F-2024-0014