Bad logic implementation in _updateOwnershipInfo()
which doesn't delete the tokenId
from s_ownerToCatsTokenId[currCatOwner]
bridgeNftToAnotherChain()
logic is broken, userTokenIds
is false, if (idx < (userTokenIds.length - 1))
might not be exact, getCatsTokenIdOwnedBy() view function will be wrong
getCatsTokenIdOwnedBy() view function will be wrong.
Manual Review
s_catInfo[tokenId].prevOwner.push(currCatOwner);
s_catInfo[tokenId].idx = s_ownerToCatsTokenId[newOwner].length;
s_ownerToCatsTokenId[newOwner].push(tokenId);
delete(s_ownerToCatsTokenId[newOwner][tokenId]);
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.