* ERC721 pausable token * Reuse of ERC721 Basic behavior for Pausable, split view checks in paused state & style fixes * [~] paused token behavior
23 lines
561 B
Solidity
23 lines
561 B
Solidity
pragma solidity ^0.4.24;
|
|
|
|
import "../token/ERC721/ERC721PausableToken.sol";
|
|
|
|
|
|
/**
|
|
* @title ERC721PausableTokenMock
|
|
* This mock just provides a public mint, burn and exists functions for testing purposes
|
|
*/
|
|
contract ERC721PausableTokenMock is ERC721PausableToken {
|
|
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);
|
|
}
|
|
}
|