An unnecessary casting was found in the SmartVaultManagerV5
contract which would spend more gas than needed.
Similar findings from other contests/audits:
https://code4rena.com/reports/2023-04-frankencoin#g-06-unnecessary-casting-as-variable-is-already-of-the-same-type
https://solodit.xyz/issues/nmkt-8-unnecessary-casting-guardian-audits-none-nftr-markdown
The _from
argument from function _afterTokenTransfer()
should not be cast to address
as it is already as an address
.
The contract might spend unnecessary gas by casting an address that is already an address.
Manual Analysis.
Consider removing the redundant cast to save gas.
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.