From 1fa1b97db3281e786c7ef6b3b86b0fd338b21364 Mon Sep 17 00:00:00 2001 From: Vectorized Date: Wed, 27 Jul 2022 09:43:01 +0000 Subject: [PATCH] Edit mint comments --- contracts/SoundEdition/ISoundEditionV1.sol | 7 +++++++ contracts/SoundEdition/SoundEditionV1.sol | 5 ++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/contracts/SoundEdition/ISoundEditionV1.sol b/contracts/SoundEdition/ISoundEditionV1.sol index ccea07b7..0d3bb64b 100644 --- a/contracts/SoundEdition/ISoundEditionV1.sol +++ b/contracts/SoundEdition/ISoundEditionV1.sol @@ -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; } diff --git a/contracts/SoundEdition/SoundEditionV1.sol b/contracts/SoundEdition/SoundEditionV1.sol index d0ad43dc..837d3ea7 100644 --- a/contracts/SoundEdition/SoundEditionV1.sol +++ b/contracts/SoundEdition/SoundEditionV1.sol @@ -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) {