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.
19 lines
544 B
19 lines
544 B
// SPDX-License-Identifier: MIT
|
|
|
|
pragma solidity ^0.6.0;
|
|
|
|
import "./ERC1155Receiver.sol";
|
|
|
|
contract ERC1155Holder is ERC1155Receiver {
|
|
|
|
function onERC1155Received(address, address, uint256, uint256, bytes calldata) external override virtual returns (bytes4)
|
|
{
|
|
return this.onERC1155Received.selector;
|
|
}
|
|
|
|
|
|
function onERC1155BatchReceived(address, address, uint256[] calldata, uint256[] calldata, bytes calldata) external override virtual returns (bytes4)
|
|
{
|
|
return this.onERC1155BatchReceived.selector;
|
|
}
|
|
}
|
|
|