The Protocol allows the recipient of stream to transfer the NFT to other recipient However it does not use _safeTransfer
to check either the new recipient is capable to receiving the NFT if new Recipient is smart contract.
Let's have a look at withdrawMaxAndTransfer
function which will transfer the NFT to new Recipient.
If the newRecipient
is smart contract it will not be aware of the NFT and NFT will get lost.
Note: This issue is not listed in bot report.
Use _safeTransfer instead _transfer to make sure that if newRecipient
is smart contract and compatible with NFT standard.
Manual Review
use _safeTransfer
instead of _transfer
https://docs.codehawks.com/hawks-auditors/how-to-determine-a-finding-validity
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.