23 lines
583 B
Solidity
23 lines
583 B
Solidity
pragma solidity ^0.5.0;
|
|
|
|
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(tokenId);
|
|
}
|
|
|
|
function exists(uint256 tokenId) public view returns (bool) {
|
|
return super._exists(tokenId);
|
|
}
|
|
}
|