From 11b28d9cd8e8d16699c4945c38d04bc16e571c60 Mon Sep 17 00:00:00 2001 From: Gavin <5265021+g-a-v-i-n@users.noreply.github.com> Date: Sat, 30 Jul 2022 23:54:30 -0700 Subject: [PATCH] chore: update maxSupply to 1111, price to 0.1, remove mint limit (#80) --- src/Bibos.sol | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/src/Bibos.sol b/src/Bibos.sol index f286b34..039a00b 100644 --- a/src/Bibos.sol +++ b/src/Bibos.sol @@ -26,9 +26,8 @@ contract Bibos is ERC721, Owned { STATE //////////////////////////////////////////////////////////////*/ - uint256 public constant price = .111 ether; - uint256 public constant maxMintAmount = 10; - uint256 public constant maxSupply = 999; + uint256 public constant price = .1 ether; + uint256 public constant maxSupply = 1111; uint256 public totalSupply; mapping(uint256 => bytes32) public seeds; // (tokenId => seed) @@ -57,11 +56,6 @@ contract Bibos is ERC721, Owned { _; } - modifier OnlyIfFewerThanMaxMintAmount(uint256 _amount) { - if (_amount > maxMintAmount) revert TooManyBibos(); - _; - } - modifier OnlyPositiveMintAmount(uint256 _amount) { if (_amount == 0) revert ZeroMintAmount(); _; @@ -71,7 +65,7 @@ contract Bibos is ERC721, Owned { CONSTRUCTOR //////////////////////////////////////////////////////////////*/ - constructor() ERC721("Bibos", "BBO") Owned(msg.sender) {} + constructor() ERC721("Bibos", "BIBO") Owned(msg.sender) {} /*////////////////////////////////////////////////////////////// TOKENURI @@ -98,7 +92,6 @@ contract Bibos is ERC721, Owned { OnlyIfNotMintedOut OnlyIfYouPayEnough(_amount) OnlyPositiveMintAmount(_amount) - OnlyIfFewerThanMaxMintAmount(_amount) { for (; _amount > 0; ) { _mint(msg.sender);