-
Notifications
You must be signed in to change notification settings - Fork 63
contract.MintPassExtension
Aleksey Bykhun edited this page Jan 18, 2023
·
1 revision
Inherits: NFTExtension, Ownable, SaleControl
uint256 public price;
uint256 public nRemainingTokens;
address public mintPassAddress;
mapping(uint256 => bool) public usedTokenIds;
constructor(address _nft, address _mintPassAddress, uint256 _price, uint256 _maxPerExtension)
NFTExtension(_nft)
SaleControl;
function updatePrice(uint256 _price) public onlyOwner;
function updateMintPassAddress(address _mintPassAddress) public onlyOwner;
function mint(uint256[] memory mintPassTokenIds) public payable whenSaleStarted;