Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions contracts/token/erc721/abstract/ImmutableERC721Base.sol
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ abstract contract ImmutableERC721Base is OperatorAllowlistEnforced, MintingAcces
* @notice Set the default royalty receiver address
* @param receiver the address to receive the royalty
* @param feeNumerator the royalty fee numerator
* @dev This can only be called by the an admin. See ERC2981 for more details on _setDefaultRoyalty
* @dev This can only be called by an admin. See ERC2981 for more details on _setDefaultRoyalty
*/
function setDefaultRoyaltyReceiver(address receiver, uint96 feeNumerator) public onlyRole(DEFAULT_ADMIN_ROLE) {
_setDefaultRoyalty(receiver, feeNumerator);
Expand All @@ -103,7 +103,7 @@ abstract contract ImmutableERC721Base is OperatorAllowlistEnforced, MintingAcces
* @param tokenId the token to set the royalty for
* @param receiver the address to receive the royalty
* @param feeNumerator the royalty fee numerator
* @dev This can only be called by the a minter. See ERC2981 for more details on _setTokenRoyalty
* @dev This can only be called by a minter. See ERC2981 for more details on _setTokenRoyalty
*/
function setNFTRoyaltyReceiver(uint256 tokenId, address receiver, uint96 feeNumerator)
public
Expand All @@ -117,7 +117,7 @@ abstract contract ImmutableERC721Base is OperatorAllowlistEnforced, MintingAcces
* @param tokenIds the list of tokens to set the royalty for
* @param receiver the address to receive the royalty
* @param feeNumerator the royalty fee numerator
* @dev This can only be called by the a minter. See ERC2981 for more details on _setTokenRoyalty
* @dev This can only be called by a minter. See ERC2981 for more details on _setTokenRoyalty
*/
function setNFTRoyaltyReceiverBatch(uint256[] calldata tokenIds, address receiver, uint96 feeNumerator)
public
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ abstract contract ImmutableERC721HybridBaseV2 is
* @notice Set the default royalty receiver address
* @param receiver the address to receive the royalty
* @param feeNumerator the royalty fee numerator
* @dev This can only be called by the an admin. See ERC2981 for more details on _setDefaultRoyalty
* @dev This can only be called by an admin. See ERC2981 for more details on _setDefaultRoyalty
*/
function setDefaultRoyaltyReceiver(address receiver, uint96 feeNumerator) public onlyRole(DEFAULT_ADMIN_ROLE) {
_setDefaultRoyalty(receiver, feeNumerator);
Expand All @@ -131,7 +131,7 @@ abstract contract ImmutableERC721HybridBaseV2 is
* @param tokenId the token to set the royalty for
* @param receiver the address to receive the royalty
* @param feeNumerator the royalty fee numerator
* @dev This can only be called by the a minter. See ERC2981 for more details on _setTokenRoyalty
* @dev This can only be called by a minter. See ERC2981 for more details on _setTokenRoyalty
*/
function setNFTRoyaltyReceiver(uint256 tokenId, address receiver, uint96 feeNumerator)
public
Expand All @@ -145,7 +145,7 @@ abstract contract ImmutableERC721HybridBaseV2 is
* @param tokenIds the list of tokens to set the royalty for
* @param receiver the address to receive the royalty
* @param feeNumerator the royalty fee numerator
* @dev This can only be called by the a minter. See ERC2981 for more details on _setTokenRoyalty
* @dev This can only be called by a minter. See ERC2981 for more details on _setTokenRoyalty
*/
function setNFTRoyaltyReceiverBatch(uint256[] calldata tokenIds, address receiver, uint96 feeNumerator)
public
Expand Down
6 changes: 3 additions & 3 deletions contracts/token/erc721/interfaces/IImmutableERC721.sol
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ interface IImmutableERC721 is
* @notice Set the default royalty receiver address
* @param receiver the address to receive the royalty
* @param feeNumerator the royalty fee numerator
* @dev This can only be called by the an admin. See ERC2981 for more details on _setDefaultRoyalty
* @dev This can only be called by an admin. See ERC2981 for more details on _setDefaultRoyalty
*/
function setDefaultRoyaltyReceiver(address receiver, uint96 feeNumerator) external;

Expand All @@ -96,7 +96,7 @@ interface IImmutableERC721 is
* @param tokenId the token to set the royalty for
* @param receiver the address to receive the royalty
* @param feeNumerator the royalty fee numerator
* @dev This can only be called by the a minter. See ERC2981 for more details on _setTokenRoyalty
* @dev This can only be called by a minter. See ERC2981 for more details on _setTokenRoyalty
*/
function setNFTRoyaltyReceiver(uint256 tokenId, address receiver, uint96 feeNumerator) external;

Expand All @@ -105,7 +105,7 @@ interface IImmutableERC721 is
* @param tokenIds the list of tokens to set the royalty for
* @param receiver the address to receive the royalty
* @param feeNumerator the royalty fee numerator
* @dev This can only be called by the a minter. See ERC2981 for more details on _setTokenRoyalty
* @dev This can only be called by a minter. See ERC2981 for more details on _setTokenRoyalty
*/
function setNFTRoyaltyReceiverBatch(uint256[] calldata tokenIds, address receiver, uint96 feeNumerator) external;

Expand Down