ERC721Holder.sol 254 B

123456789101112131415161718
  1. pragma solidity ^0.4.24;
  2. import "./IERC721Receiver.sol";
  3. contract ERC721Holder is IERC721Receiver {
  4. function onERC721Received(
  5. address,
  6. address,
  7. uint256,
  8. bytes
  9. )
  10. public
  11. returns(bytes4)
  12. {
  13. return ERC721_RECEIVED;
  14. }
  15. }