735546619e
Signed-off-by: T-Hax <>
19 lines
562 B
Solidity
19 lines
562 B
Solidity
// SPDX-License-Identifier: MIT
|
|
|
|
pragma solidity ^0.6.0;
|
|
|
|
import "./ERC1155Receiver.sol";
|
|
|
|
/**
|
|
* @dev _Available since v3.1._
|
|
*/
|
|
contract ERC1155Holder is ERC1155Receiver {
|
|
function onERC1155Received(address, address, uint256, uint256, bytes memory) public virtual override returns (bytes4) {
|
|
return this.onERC1155Received.selector;
|
|
}
|
|
|
|
function onERC1155BatchReceived(address, address, uint256[] memory, uint256[] memory, bytes memory) public virtual override returns (bytes4) {
|
|
return this.onERC1155BatchReceived.selector;
|
|
}
|
|
}
|