Skip to content

Commit

Permalink
update max per wallet
Browse files Browse the repository at this point in the history
  • Loading branch information
caffeinum committed Jul 21, 2022
1 parent cd80ee5 commit dbe0bfe
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions contracts/MetaverseBaseNFT_ERC1155.sol
Original file line number Diff line number Diff line change
Expand Up @@ -550,6 +550,25 @@ contract MetaverseBaseNFT_ERC1155 is

}

// ---- Mint configuration

function updateMaxPerMint(uint256 _maxPerMint)
external
onlyOwner
nonReentrant
{
require(_maxPerMint <= MAX_PER_MINT_LIMIT, "Too many tokens per mint");
maxPerMint = _maxPerMint;
}

function updateMaxPerWallet(uint256 _maxPerWallet)
external
onlyOwner
nonReentrant
{
maxPerWallet = _maxPerWallet;
}

// ---- Sale control ----

function updateStartTimestamp(uint256 _startTimestamp)
Expand Down

0 comments on commit dbe0bfe

Please sign in to comment.