No check in the constructor
The constructor modifies the state variable i_wethToken
with the passed argument wethToken
that is not verified if it is a real contract.
Manual Review
Code a way to verify that the address is a real contract (also != zero address). If it is not a real one, revert with a new error PoolFactory__ContractDoesNotExist(address tokenAddress)
.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.