Move ERC721 and ERC1155 receiver checks to dedicate libraries (#4845)

Co-authored-by: Ernesto García <ernestognw@gmail.com>
This commit is contained in:
Hadrien Croubois
2024-01-30 19:58:35 +01:00
committed by GitHub
parent 61117c4db8
commit 7eba10dd1e
7 changed files with 540 additions and 101 deletions

View File

@ -0,0 +1,5 @@
---
'openzeppelin-solidity': minor
---
`ERC721Utils` and `ERC1155Utils`: Add reusable libraries with functions to perform acceptance checks on `IERC721Receiver` and `IERC1155Receiver` implementers.