From 2eb54beec9ab3c7364de0e0384f1763b3b8741dd Mon Sep 17 00:00:00 2001 From: Moon Date: Sun, 5 Feb 2023 17:07:30 -0500 Subject: [PATCH] rm setting individual royalties to shrink contract size --- contracts/CurioERC1155Wrapper.sol | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/contracts/CurioERC1155Wrapper.sol b/contracts/CurioERC1155Wrapper.sol index f108c4b..2d66ded 100644 --- a/contracts/CurioERC1155Wrapper.sol +++ b/contracts/CurioERC1155Wrapper.sol @@ -62,16 +62,6 @@ contract CurioERC1155Wrapper is ERC1155, ERC1155Metadata_URI, ERC1155Metadata, E _deleteDefaultRoyalty(); } - function setTokenRoyalty(uint256 _id, address receiver, uint96 feeNumerator) external onlyOwner { - require(contracts[_id] != address(0), "token does not exist"); - _setTokenRoyalty(_id, receiver, feeNumerator); - } - - function resetTokenRoyalty(uint256 _id) external onlyOwner { - require(contracts[_id] != address(0), "token does not exist"); - _resetTokenRoyalty(_id); - } - /** @notice Returns URI of token metadata @param _id NFT ID