F-2024-0014·missing-validation
Consider adding address(0) check for function parameters
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.

