You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
361 B
14 lines
361 B
5 years ago
|
pragma solidity ^0.6.0;
|
||
|
|
||
|
import "./IERC1155Receiver.sol";
|
||
|
import "../../introspection/ERC165.sol";
|
||
|
|
||
|
abstract contract ERC1155Receiver is ERC165, IERC1155Receiver {
|
||
|
constructor() public {
|
||
|
_registerInterface(
|
||
|
ERC1155Receiver(0).onERC1155Received.selector ^
|
||
|
ERC1155Receiver(0).onERC1155BatchReceived.selector
|
||
|
);
|
||
|
}
|
||
|
}
|