Refactor ERC721 _requireMinted and ownerOf (#4566)

This commit is contained in:
Francisco
2023-09-04 10:54:21 -03:00
committed by GitHub
parent a503ba1a0a
commit 9612083826
3 changed files with 18 additions and 12 deletions

View File

@ -0,0 +1,5 @@
---
'openzeppelin-solidity': major
---
`ERC721`: Renamed `_requireMinted` to `_requireOwned` and added a return value with the current owner. Implemented `ownerOf` in terms of `_requireOwned`.