selectWinner function should emit an event containing information such as the winner address, amount won, and tokenId of the nft minted.
N/A
The impact is low. The public previousWinner variable can be queried to see who the winner was of the previous raffle was.
However it will make it a significantly better experience for the dapp developers to be able to quickly get the results and amounts and nft tokenId's of all past winners. this will not be possible without emitting an event. But this issue will not effect the logic of the contract in any way.
Manual Review
declare an event such as:
event WinnerSelected(address newFeeAddress,uint256 amount,uint tokenId);
and emit this event at the end of the selectWinner() function.
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.