Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanio committed Apr 1, 2024
1 parent 0d5e060 commit 6fd1a08
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/ERC1155SeaDrop.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/ERC721SeaDrop.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 4 additions & 2 deletions src/clones/ERC1155ContractMetadataCloneable.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion src/clones/ERC1155SeaDropCloneable.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 4 additions & 2 deletions src/lib/ERC1155ContractMetadata.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
4 changes: 2 additions & 2 deletions src/lib/ERC721ContractMetadata.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 6fd1a08

Please sign in to comment.