mirror of
https://github.com/th30d4y/OpenLearnX.git
synced 2026-05-26 19:26:33 +00:00
12 lines
324 B
Solidity
12 lines
324 B
Solidity
// SPDX-License-Identifier: MIT
|
|
|
|
pragma solidity ^0.8.0;
|
|
|
|
import "../patched/interfaces/IERC721Receiver.sol";
|
|
|
|
contract ERC721ReceiverHarness is IERC721Receiver {
|
|
function onERC721Received(address, address, uint256, bytes calldata) external pure returns (bytes4) {
|
|
return this.onERC721Received.selector;
|
|
}
|
|
}
|