735546619e
Signed-off-by: T-Hax <>
34 lines
779 B
Solidity
34 lines
779 B
Solidity
// SPDX-License-Identifier: MIT
|
|
|
|
pragma solidity ^0.6.0;
|
|
|
|
import "../token/ERC721/ERC721Pausable.sol";
|
|
|
|
/**
|
|
* @title ERC721PausableMock
|
|
* This mock just provides a public mint, burn and exists functions for testing purposes
|
|
*/
|
|
contract ERC721PausableMock is ERC721Pausable {
|
|
constructor (string memory name, string memory symbol) public ERC721(name, symbol) { }
|
|
|
|
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);
|
|
}
|
|
|
|
function pause() external {
|
|
_pause();
|
|
}
|
|
|
|
function unpause() external {
|
|
_unpause();
|
|
}
|
|
}
|