mirror of openzeppelin-contracts
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
pragma solidity ^0.4.24;
|
|
|
|
|
|
|
|
import "../token/ERC721/ERC721BasicToken.sol";
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @title ERC721BasicTokenMock
|
|
|
|
* This mock just provides a public mint and burn functions for testing purposes
|
|
|
|
*/
|
|
|
|
contract ERC721BasicTokenMock is ERC721BasicToken {
|
|
|
|
function mint(address _to, uint256 _tokenId) public {
|
|
|
|
super._mint(_to, _tokenId);
|
|
|
|
}
|
|
|
|
|
|
|
|
function burn(uint256 _tokenId) public {
|
|
|
|
super._burn(ownerOf(_tokenId), _tokenId);
|
|
|
|
}
|
|
|
|
}
|