* Update to ganache-cli v6.1.0 and truffle v4.1.0 * Update to stable version of ganache-cli * fix: update event emission warning - Fix event emission warnings for solidity 4.21 after truffle has been updated to use this version * fix pr review comments * update to truffle v4.1.5 * update package-lock * add additional emit keywords * update solidity-coverage to 0.4.15 * update to solium 1.1.6 * fix MerkleProof coverage analysis by testing through wrapper * change version pragma to ^0.4.21 * fix solium linting errors
28 lines
663 B
Solidity
28 lines
663 B
Solidity
pragma solidity ^0.4.21;
|
|
|
|
import "../token/ERC721/ERC721Token.sol";
|
|
|
|
|
|
/**
|
|
* @title ERC721TokenMock
|
|
* This mock just provides a public mint and burn functions for testing purposes,
|
|
* and a public setter for metadata URI
|
|
*/
|
|
contract ERC721TokenMock is ERC721Token {
|
|
function ERC721TokenMock(string name, string symbol) public
|
|
ERC721Token(name, symbol)
|
|
{ }
|
|
|
|
function mint(address _to, uint256 _tokenId) public {
|
|
super._mint(_to, _tokenId);
|
|
}
|
|
|
|
function burn(uint256 _tokenId) public {
|
|
super._burn(ownerOf(_tokenId), _tokenId);
|
|
}
|
|
|
|
function setTokenURI(uint256 _tokenId, string _uri) public {
|
|
super._setTokenURI(_tokenId, _uri);
|
|
}
|
|
}
|