opensea-creatures icon indicating copy to clipboard operation
opensea-creatures copied to clipboard

Explanation for ownerOf()

Open thomasoss opened this issue 2 years ago • 0 comments

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(); }

thomasoss avatar Mar 12 '22 07:03 thomasoss