diff --git a/src/ERC1155SeaDrop.sol b/src/ERC1155SeaDrop.sol index 09969e4e..b6a6d98f 100644 --- a/src/ERC1155SeaDrop.sol +++ b/src/ERC1155SeaDrop.sol @@ -11,7 +11,7 @@ import { * @author Ryan Ghods (ralxz.eth) * @author Stephan Min (stephanm.eth) * @author Michael Cohen (notmichael.eth) - * @contributor Limit Break (@limitbreak) + * @custom:contributor Limit Break (@limitbreak) * @notice An ERC1155 token contract that can mint as a * Seaport contract offerer. * Implements Limit Break's Creator Token Standards transfer diff --git a/src/ERC721SeaDrop.sol b/src/ERC721SeaDrop.sol index 4747cc14..fc24424e 100644 --- a/src/ERC721SeaDrop.sol +++ b/src/ERC721SeaDrop.sol @@ -13,7 +13,7 @@ import { ERC721A } from "ERC721A/ERC721A.sol"; * @author Ryan Ghods (ralxz.eth) * @author Stephan Min (stephanm.eth) * @author Michael Cohen (notmichael.eth) - * @contributor Limit Break (@limitbreak) + * @custom:contributor Limit Break (@limitbreak) * @notice An ERC721 token contract based on ERC721A that can mint as a * Seaport contract offerer. * Implements Limit Break's Creator Token Standards transfer diff --git a/src/clones/ERC1155ContractMetadataCloneable.sol b/src/clones/ERC1155ContractMetadataCloneable.sol index df9c39db..8bbe42d6 100644 --- a/src/clones/ERC1155ContractMetadataCloneable.sol +++ b/src/clones/ERC1155ContractMetadataCloneable.sol @@ -324,8 +324,10 @@ contract ERC1155ContractMetadataCloneable is pure returns (bytes4 functionSignature, bool isViewFunction) { - functionSignature = keccak256( - "validateTransfer(address,address,address,uint256,uint256)" + functionSignature = bytes4( + keccak256( + "validateTransfer(address,address,address,uint256,uint256)" + ) ); isViewFunction = true; } diff --git a/src/clones/ERC1155SeaDropCloneable.sol b/src/clones/ERC1155SeaDropCloneable.sol index cc462f1b..dcd2bd1a 100644 --- a/src/clones/ERC1155SeaDropCloneable.sol +++ b/src/clones/ERC1155SeaDropCloneable.sol @@ -11,7 +11,7 @@ import { * @author Ryan Ghods (ralxz.eth) * @author Stephan Min (stephanm.eth) * @author Michael Cohen (notmichael.eth) - * @contributor Limit Break (@limitbreak) + * @custom:contributor Limit Break (@limitbreak) * @notice A cloneable ERC1155 token contract that can mint as a * Seaport contract offerer. * Implements Limit Break's Creator Token Standards transfer diff --git a/src/lib/ERC1155ContractMetadata.sol b/src/lib/ERC1155ContractMetadata.sol index 9b9cfcf9..98d76233 100644 --- a/src/lib/ERC1155ContractMetadata.sol +++ b/src/lib/ERC1155ContractMetadata.sol @@ -322,8 +322,10 @@ contract ERC1155ContractMetadata is pure returns (bytes4 functionSignature, bool isViewFunction) { - functionSignature = keccak256( - "validateTransfer(address,address,address,uint256,uint256)" + functionSignature = bytes4( + keccak256( + "validateTransfer(address,address,address,uint256,uint256)" + ) ); isViewFunction = true; } diff --git a/src/lib/ERC721ContractMetadata.sol b/src/lib/ERC721ContractMetadata.sol index ae0935a2..aa668a27 100644 --- a/src/lib/ERC721ContractMetadata.sol +++ b/src/lib/ERC721ContractMetadata.sol @@ -290,8 +290,8 @@ contract ERC721ContractMetadata is pure returns (bytes4 functionSignature, bool isViewFunction) { - functionSignature = keccak256( - "validateTransfer(address,address,address,uint256)" + functionSignature = bytes4( + keccak256("validateTransfer(address,address,address,uint256)") ); isViewFunction = false; }