A user can't know the id of his minted Rapper NFT.
There is no return value and no emitted event in the OneShot::mintRapper()
function :
When multiples users mint a the same time a Rapper NFT with the OneShot::mintRapper()
, they can't know what the id of their NFT is.
The only way to know the NFT id before minting a Rapper is to use OneShot::getNextTokenId()
. However, if users simultaneously mint a rapper, returned value by OneShot::getNextTokenId()
can be different than the minted Rapper NFT.
Foundry
Emit an event and return a value inside OneShot::mintRapper()
:
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.