mirror of
https://github.com/th30d4y/OpenLearnX.git
synced 2026-05-26 19:26:33 +00:00
18 lines
449 B
Solidity
18 lines
449 B
Solidity
// 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;
|
|
}
|
|
}
|