Identifier: M-08
Description: No checks for _ditto
not being the zero address.
In YieldFacet.sol:31
,
If the _ditto
address provided to the constructor is the zero address, the smart contract would set its DITTO
state variable to this invalid address. Any interactions or operations using this address can lead to unexpected behavior.
Manual Review
Add a validation check in the constructor to ensure that the _ditto
address is not the zero address.
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.