1234567891011121314151617181920212223 |
- pragma solidity ^0.4.24;
- import "../token/ERC721/ERC721Pausable.sol";
- import "./PauserRoleMock.sol";
- /**
- * @title ERC721PausableMock
- * This mock just provides a public mint, burn and exists functions for testing purposes
- */
- contract ERC721PausableMock is ERC721Pausable, PauserRoleMock {
- function mint(address _to, uint256 _tokenId) public {
- super._mint(_to, _tokenId);
- }
- function burn(uint256 _tokenId) public {
- super._burn(ownerOf(_tokenId), _tokenId);
- }
- function exists(uint256 _tokenId) public view returns (bool) {
- return super._exists(_tokenId);
- }
- }
|