approved user call withdrawMaxAndTransfer will revert() , while he has to do this by two step,
function withdraw and then transfer
Let's look at function withdrawMaxAndTransfer:
only stream owner (receiver) can call this function.
Now let's look at function withdraw
it checks if the caller is the recipient or approved user.
Besides, once approved user can transfer the nft.
The issue is, the approved user can not call withdrawMaxAndTransfer directly, he has to call withdraw first and then transfer the nft.
the approved user can not call withdrawMaxAndTransfer directly, he has to call withdraw first and then transfer the nft.
manual
make sure the withdrawMaxAndTransfer and withdraw has same permission check.
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.