* Add _setTokenURI internal. * Rename TokenMetadata to ERC20Metadata. * Add changelog entry for ERC20Metadata. * Fix linter error. * Add breaking change changelog notice.
15 lines
396 B
Solidity
15 lines
396 B
Solidity
pragma solidity ^0.5.2;
|
|
|
|
import "../token/ERC20/ERC20.sol";
|
|
import "../drafts/ERC1046/ERC20Metadata.sol";
|
|
|
|
contract ERC20MetadataMock is ERC20, ERC20Metadata {
|
|
constructor (string memory tokenURI) public ERC20Metadata(tokenURI) {
|
|
// solhint-disable-previous-line no-empty-blocks
|
|
}
|
|
|
|
function setTokenURI(string memory tokenURI) public {
|
|
_setTokenURI(tokenURI);
|
|
}
|
|
}
|