DCIPs/assets/eip-6220/contracts/mocks/ERC721ReceiverMock.sol

17 lines
321 B
Solidity
Raw Normal View History

// SPDX-License-Identifier: CC0-1.0
pragma solidity ^0.8.15;
contract ERC721ReceiverMock {
bytes4 constant ERC721_RECEIVED = 0x150b7a02;
function onERC721Received(
address,
address,
uint256,
bytes calldata
) public returns (bytes4) {
return ERC721_RECEIVED;
}
}