ERC721PausableMock.sol 583 B

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