1234567891011121314151617181920212223242526272829 |
- 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 {
- 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();
- }
- }
|