opensea-creatures
opensea-creatures copied to clipboard
Explanation for ownerOf()
In the code of CreatureFactory.sol I think the explanation for ownerOf() is copied from the explanation of isApprovedAll(). A short explanation what ownerOf() is used for would be useful. Below the code piece I'm talking about /** * Hack to get things to work automatically on OpenSea. * Use isApprovedForAll so the frontend doesn't have to worry about different method names. */ function ownerOf(uint256) public view returns (address _owner) { return owner(); }