-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Andres Adjimann
committed
Dec 16, 2024
1 parent
3d37021
commit 251f57e
Showing
4 changed files
with
8 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,8 @@ import {ECDSA} from "@openzeppelin/contracts-5.0.2/utils/cryptography/ECDSA.sol" | |
* @custom:security-contact [email protected] | ||
* @notice Signatures accepted by the NFTCollection | ||
* @dev We have a set of different signatures to be backward compatible with previous collections | ||
* @dev We must be sure that all the signatures are different and cannot be reused so we added a string to reveal. | ||
* @dev We must be sure that all the signatures are different and cannot be reused by different methods, so, | ||
* @dev we added an extra constant string to reveal to distinguish it from the mint signature. | ||
* @dev mint: ['address', 'uint256', 'address', 'uint256'] | ||
* @dev reveal: ['address', 'uint256', 'address', 'uint256', 'string'] | ||
* @dev personalize: ['address', 'uint256', 'address', 'uint256', 'uint256', 'uint256'] | ||
|
@@ -91,7 +92,6 @@ abstract contract NFTCollectionSignature { | |
|
||
/** | ||
* @notice updates the sign address. | ||
* @custom:event {SignAddressSet} | ||
* @param _signAddress new signer address to be set | ||
*/ | ||
function _setSignAddress(address _signAddress) internal { | ||
|