Files
openzeppelin-contracts/contracts/mocks/ERC721PausableTokenMock.sol
Roman Exempliarov 9e6307f34b ERC721 pausable token (#1154)
* ERC721 pausable token

* Reuse of ERC721 Basic behavior for Pausable, split view checks in paused state & style fixes

* [~] paused token behavior
2018-08-24 07:02:54 -03:00

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);
}
}