Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to latest OpenZeppelin base contracts #147

Closed
wants to merge 1 commit into from
Closed

Conversation

awrichar
Copy link
Contributor

@awrichar awrichar commented Mar 1, 2024

No description provided.

@awrichar awrichar requested a review from nguyer March 1, 2024 22:23
@@ -112,14 +105,13 @@ contract ERC721WithData is Context, Ownable, ERC721, IERC721WithData {
}

function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
require(_exists(tokenId), 'ERC721WithData: Token does not exist');

_requireOwned(tokenId);
string memory uri = _tokenURIs[tokenId];
return uri;
}

function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@awrichar
Copy link
Contributor Author

awrichar commented Mar 4, 2024

Closed in favor of #149

@awrichar awrichar closed this Mar 4, 2024
@awrichar awrichar deleted the contracts branch March 4, 2024 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant