You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 15, 2022. It is now read-only.
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();
}
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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();
}
The text was updated successfully, but these errors were encountered: