s_ownerToCatsTokenId
mapping is used for mapping the NFT owners to NFT TokenIds. It is updated in the mintCatToNewOwner()
function.
But it's not updated in safeTransferFrom()
function. The transferred tokenId
should be removed from this mapping.
Although require statements in bridgeNftToAnotherChain
and safeTransferFrom
functions prevents the NFT to be transferred or minted more than once, the impact is related to the mapping itself and catInfo.idx
foundry
manual review
It's recommended to remove the correct tokenId from s_ownerToCatsTokenId
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.