rm setting individual royalties to shrink contract size
This commit is contained in:
parent
7bc38210f6
commit
2eb54beec9
|
@ -62,16 +62,6 @@ contract CurioERC1155Wrapper is ERC1155, ERC1155Metadata_URI, ERC1155Metadata, E
|
||||||
_deleteDefaultRoyalty();
|
_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
|
@notice Returns URI of token metadata
|
||||||
@param _id NFT ID
|
@param _id NFT ID
|
||||||
|
|
Loading…
Reference in New Issue