Hey guys, I am trying to solve this CTF about reentracy for ERC721 when calling the function onERC721Received() to confirm that the contract can receive erc721 NFTs. This code is the solution:

Feb 23, 2023, 5:12 PM
and this is my code!

Any idea why it triggers the error "ERC721: transfer to non ERC721Receiver implementer" in my code and not in the previos code (Solution)?

Any brave developer has the answer? haha
Feb 23, 2023, 5:13 PM

© 2024 Draquery.com All rights reserved.