Remove "available since" comments (#4424)
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
This commit is contained in:
@ -6,12 +6,10 @@ pragma solidity ^0.8.19;
|
||||
import {ERC1155Receiver} from "./ERC1155Receiver.sol";
|
||||
|
||||
/**
|
||||
* Simple implementation of `ERC1155Receiver` that will allow a contract to hold ERC1155 tokens.
|
||||
* @dev Simple implementation of `ERC1155Receiver` that will allow a contract to hold ERC1155 tokens.
|
||||
*
|
||||
* IMPORTANT: When inheriting this contract, you must include a way to use the received tokens, otherwise they will be
|
||||
* stuck.
|
||||
*
|
||||
* @dev _Available since v3.1._
|
||||
*/
|
||||
abstract contract ERC1155Holder is ERC1155Receiver {
|
||||
function onERC1155Received(
|
||||
|
||||
@ -7,7 +7,9 @@ import {IERC1155Receiver} from "../IERC1155Receiver.sol";
|
||||
import {IERC165, ERC165} from "../../../utils/introspection/ERC165.sol";
|
||||
|
||||
/**
|
||||
* @dev _Available since v3.1._
|
||||
* @dev Basic contract implementing the ERC-165 interface for {IERC1155Receiver}.
|
||||
*
|
||||
* NOTE: This contract does not suffice to receive tokens. See {ERC1155Holder}.
|
||||
*/
|
||||
abstract contract ERC1155Receiver is ERC165, IERC1155Receiver {
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user