You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
449 B
Solidity
18 lines
449 B
Solidity
2 years ago
|
// SPDX-License-Identifier: MIT
|
||
|
|
||
|
pragma solidity ^0.8.0;
|
||
|
|
||
|
import "../../token/ERC721/extensions/ERC721URIStorage.sol";
|
||
|
|
||
|
abstract contract ERC721URIStorageMock is ERC721URIStorage {
|
||
|
string private _baseTokenURI;
|
||
|
|
||
|
function _baseURI() internal view virtual override returns (string memory) {
|
||
|
return _baseTokenURI;
|
||
|
}
|
||
|
|
||
|
function setBaseURI(string calldata newBaseTokenURI) public {
|
||
|
_baseTokenURI = newBaseTokenURI;
|
||
|
}
|
||
|
}
|