current position:Home>About contract acceptance erc721

About contract acceptance erc721

2022-02-04 00:13:04 Q & A of Denglian community

https://learnblockchain.cn/article/2077

image.png

Copy the above code to remix Back inside , The error message is :

DeclarationError: Undeclared identifier._registerInterface(IERC721Receiver.onERC721Received.selector);

register interface after . Why still report an error ?

How to understand registerInterface?

How to write is right ?






Other answers 1:

copyright notice
author[Q & A of Denglian community],Please bring the original link to reprint, thank you.
https://en.netfreeman.com/2022/02/202202040013020290.html

Random recommended