Skip to content

Commit

Permalink
Edit mint comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Vectorized committed Jul 27, 2022
1 parent 37b2a59 commit 1fa1b97
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
7 changes: 7 additions & 0 deletions contracts/SoundEdition/ISoundEditionV1.sol
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,12 @@ interface ISoundEditionV1 is IERC721AUpgradeable {
string memory _contractURI
) external;

/// @notice Mints `_quantity` tokens to addrress `_to`
/// Each token will be assigned a token ID that is consecutively increasing.
/// The caller must have the `MINTER_ROLE`, which can be granted via
/// {grantRole}. Multiple minters, such as different minter contracts,
/// can be authorized simultaneously.
/// @param _to Address to mint to
/// @param _quantity Number of tokens to mint
function mint(address _to, uint256 _quantity) external payable;
}
5 changes: 4 additions & 1 deletion contracts/SoundEdition/SoundEditionV1.sol
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,10 @@ contract SoundEditionV1 is
}

/// @notice Mints `_quantity` tokens to addrress `_to`
/// Each token will be assigned a token ID that is consecutively increasing
/// Each token will be assigned a token ID that is consecutively increasing.
/// The caller must have the `MINTER_ROLE`, which can be granted via
/// {grantRole}. Multiple minters, such as different minter contracts,
/// can be authorized simultaneously.
/// @param _to Address to mint to
/// @param _quantity Number of tokens to mint
function mint(address _to, uint256 _quantity) public payable onlyRole(MINTER_ROLE) {
Expand Down

0 comments on commit 1fa1b97

Please sign in to comment.