ERC721 required functionality tests

This commit is contained in:
Facundo Spagnuolo
2018-01-16 15:58:09 -03:00
parent b09d7aada4
commit 5b50e99a0d
2 changed files with 553 additions and 0 deletions

View File

@ -0,0 +1,19 @@
pragma solidity ^0.4.18;
import '../token/ERC721Token.sol';
/**
* @title ERC721TokenMock
* This mock just provides a public mint and burn functions for testing purposes.
*/
contract ERC721TokenMock is ERC721Token {
function ERC721TokenMock() ERC721Token() public { }
function publicMint(address _to, uint256 _tokenId) public {
super.mint(_to, _tokenId);
}
function publicBurn(uint256 _tokenId) public {
super.burn(_tokenId);
}
}