-
Notifications
You must be signed in to change notification settings - Fork 63
contract.BurnNFT
Aleksey Bykhun edited this page Jan 18, 2023
·
1 revision
Inherits: ERC721, ERC721Enumerable, IERC721Receiver, Ownable
uint256 public constant maxSupply = 10000;
uint256 private _price = 0.03 ether;
uint256 private _reserved = 250;
string public PROVENANCE_HASH = "";
uint256 public startingIndex;
bool private _saleStarted;
constructor() ERC721("HoldersClub", "HODL");
function _baseURI() internal pure override returns (string memory);
function contractURI() public pure returns (string memory);
function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal override(ERC721, ERC721Enumerable);
function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Enumerable) returns (bool);
function onERC721Received(address, address, uint256, bytes calldata)
external
pure
override(IERC721Receiver)
returns (bytes4);
modifier whenSaleStarted();
function flipSaleStarted() external onlyOwner;
function saleStarted() public view returns (bool);
function setPrice(uint256 _newPrice) external onlyOwner;
function getPrice() public view returns (uint256);
function getReservedLeft() public view returns (uint256);
function setProvenanceHash(string memory provenanceHash) public onlyOwner;
function walletOfOwner(address _owner) public view returns (uint256[] memory);
function claimReserved(uint256 _number, address _receiver) external onlyOwner;
function setStartingIndex() public;
function withdraw() public onlyOwner;
function withdraw(ERC721 token, uint256 tokenId) public onlyOwner;
function burnAndMintOne(ERC721 token, uint256 tokenId) external payable whenSaleStarted;
function burnAndMintAll(ERC721Enumerable token) external payable whenSaleStarted;