I have an ERC721 compliant contract with multiple NFT tokens.
I'm looking for a way to randomly select one of the token owners. Is there a way to get the current list or all token owners from ERC721 or do I need to create the mapping myself?
If creating the mapping myself, I guess I would need to add the minters address to a mapping of all owners, then whenever the token is transferred I need to update the new owner address. How do I override all the transfer functions?