Working tree is now the canonical repo. Off-chain play-money + trustless on-chain (FPMM AMM + CLOB via UMA settlement), AI market factory, creator/social/distribution, mobile shell + push, one-command demo + deploy-kit. Secrets excluded (see ENV-AND-KEYS.md). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
20 lines
611 B
Solidity
20 lines
611 B
Solidity
// SPDX-License-Identifier: MIT
|
|
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/utils/ERC1155Receiver.sol)
|
|
|
|
pragma solidity ^0.8.0;
|
|
|
|
import "../IERC1155Receiver.sol";
|
|
import "../../../utils/introspection/ERC165.sol";
|
|
|
|
/**
|
|
* @dev _Available since v3.1._
|
|
*/
|
|
abstract contract ERC1155Receiver is ERC165, IERC1155Receiver {
|
|
/**
|
|
* @dev See {IERC165-supportsInterface}.
|
|
*/
|
|
function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
|
|
return interfaceId == type(IERC1155Receiver).interfaceId || super.supportsInterface(interfaceId);
|
|
}
|
|
}
|