QA Report #122
Labels
bug
Something isn't working
QA (Quality Assurance)
Assets are not at risk. State handling, function incorrect as to spec, issues with clarity, syntax
Non-Critical Issues
Missing zero-address checks in
Yieldy.sol
In
Yieldy.sol
, all functions excepttransferFrom()
have zero address checks foraddress
parameters. However,transferFrom()
is missing zero address checks for_to
and_from
, making it inconsistent:Impact
Tokens would become inaccessible if
_to
is set toaddress(0)
.Recommended Mitigation
Consider adding zero-address checks to
_to
and_from
. Other than preventing users from sending tokens toaddress(0)
, it would also help to save gas should_from
be set toaddress(0)
.event
is missingindexed
fieldsEach
event
should use threeindexed
fields if there are three or more fields:The text was updated successfully, but these errors were encountered: