ERC721PausableMock.sol 541 B

12345678910111213141516171819202122
  1. pragma solidity ^0.4.24;
  2. import "../token/ERC721/ERC721Pausable.sol";
  3. /**
  4. * @title ERC721PausableMock
  5. * This mock just provides a public mint, burn and exists functions for testing purposes
  6. */
  7. contract ERC721PausableMock is ERC721Pausable {
  8. function mint(address _to, uint256 _tokenId) public {
  9. super._mint(_to, _tokenId);
  10. }
  11. function burn(uint256 _tokenId) public {
  12. super._burn(ownerOf(_tokenId), _tokenId);
  13. }
  14. function exists(uint256 _tokenId) public view returns (bool) {
  15. return super._exists(_tokenId);
  16. }
  17. }