From ca3930ff74e9f8da5f290301c5a3dd5aeaef71ba Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Mon, 8 Jun 2026 14:26:05 +1000 Subject: [PATCH] Fix typos --- contracts/token/erc721/abstract/ImmutableERC721Base.sol | 6 +++--- .../token/erc721/abstract/ImmutableERC721HybridBaseV2.sol | 6 +++--- contracts/token/erc721/interfaces/IImmutableERC721.sol | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/contracts/token/erc721/abstract/ImmutableERC721Base.sol b/contracts/token/erc721/abstract/ImmutableERC721Base.sol index 7503afc0..88a31230 100644 --- a/contracts/token/erc721/abstract/ImmutableERC721Base.sol +++ b/contracts/token/erc721/abstract/ImmutableERC721Base.sol @@ -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); @@ -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 @@ -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 diff --git a/contracts/token/erc721/abstract/ImmutableERC721HybridBaseV2.sol b/contracts/token/erc721/abstract/ImmutableERC721HybridBaseV2.sol index 97399286..208fc932 100644 --- a/contracts/token/erc721/abstract/ImmutableERC721HybridBaseV2.sol +++ b/contracts/token/erc721/abstract/ImmutableERC721HybridBaseV2.sol @@ -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); @@ -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 @@ -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 diff --git a/contracts/token/erc721/interfaces/IImmutableERC721.sol b/contracts/token/erc721/interfaces/IImmutableERC721.sol index d4682e8b..cd494671 100644 --- a/contracts/token/erc721/interfaces/IImmutableERC721.sol +++ b/contracts/token/erc721/interfaces/IImmutableERC721.sol @@ -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; @@ -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; @@ -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;