allow passing zero address to the loanToken
and the collateralToken
will cause unnecessary gas consumption by executing the function setPool
with invalid tokens ,and it is not gas efficient.
check for the loanToken
and collateralToken
if (loanToken == address(0)) revert();
if (collateralToken == address(0)) revert();
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.