-
Notifications
You must be signed in to change notification settings - Fork 63
contract.LimitedSupplyMintingExtension
Aleksey Bykhun edited this page Jan 18, 2023
·
1 revision
Inherits: NFTExtension, Ownable, SaleControl, LimitedSupply
uint256 public price;
uint256 public maxPerMint;
uint256 public maxPerWallet;
constructor(address _nft, uint256 _price, uint256 _maxPerMint, uint256 _maxPerWallet, uint256 _extensionSupply)
NFTExtension(_nft)
LimitedSupply(_extensionSupply);
function mint(uint256 amount) external payable whenSaleStarted whenLimitedSupplyNotReached(amount);
function maxSupply() public view returns (uint256);
function totalSupply() public view returns (uint256);