ERC721BurnableMock.sol 669 B

12345678910111213141516171819202122232425
  1. // SPDX-License-Identifier: MIT
  2. pragma solidity ^0.8.0;
  3. import "../token/ERC721/extensions/ERC721Burnable.sol";
  4. contract ERC721BurnableMock is ERC721Burnable {
  5. constructor(string memory name, string memory symbol) ERC721(name, symbol) {}
  6. function exists(uint256 tokenId) public view returns (bool) {
  7. return _exists(tokenId);
  8. }
  9. function mint(address to, uint256 tokenId) public {
  10. _mint(to, tokenId);
  11. }
  12. function safeMint(address to, uint256 tokenId) public {
  13. _safeMint(to, tokenId);
  14. }
  15. function safeMint(address to, uint256 tokenId, bytes memory _data) public {
  16. _safeMint(to, tokenId, _data);
  17. }
  18. }