What's the use of redeclaring the collectionSize_
and maxBatchSize_
within
ERC721A("Azuki", "AZUKI")
, when the constructor already has both initialized? It makes no sense to me.
constructor(
uint256 maxBatchSize_,
uint256 collectionSize_,
uint256 amountForAuctionAndDev_,
uint256 amountForDevs_
) ERC721A("Azuki", "AZUKI", maxBatchSize_, collectionSize_) {
maxPerAddressDuringMint = maxBatchSize_;
amountForAuctionAndDev = amountForAuctionAndDev_;
amountForDevs = amountForDevs_;
require(
amountForAuctionAndDev_ <= collectionSize_,
"larger collection size needed"
);
}