Skip to content

Commit 806165f

Browse files
Fibonacci747Amxx
andauthored
Cleanup: remove unused import and "using for" (#6080)
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
1 parent a9eda3e commit 806165f

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

contracts/token/ERC1155/extensions/ERC1155URIStorage.sol

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,13 @@
33

44
pragma solidity ^0.8.24;
55

6-
import {Strings} from "../../../utils/Strings.sol";
76
import {ERC1155} from "../ERC1155.sol";
87

98
/**
109
* @dev ERC-1155 token with storage based token URI management.
1110
* Inspired by the {ERC721URIStorage} extension
1211
*/
1312
abstract contract ERC1155URIStorage is ERC1155 {
14-
using Strings for uint256;
15-
1613
// Optional base URI
1714
string private _baseURI = "";
1815

contracts/token/ERC721/extensions/ERC721URIStorage.sol

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,13 @@ pragma solidity ^0.8.24;
55

66
import {ERC721} from "../ERC721.sol";
77
import {IERC721Metadata} from "./IERC721Metadata.sol";
8-
import {Strings} from "../../../utils/Strings.sol";
98
import {IERC4906} from "../../../interfaces/IERC4906.sol";
109
import {IERC165} from "../../../interfaces/IERC165.sol";
1110

1211
/**
1312
* @dev ERC-721 token with storage based token URI management.
1413
*/
1514
abstract contract ERC721URIStorage is IERC4906, ERC721 {
16-
using Strings for uint256;
17-
1815
// Interface ID as defined in ERC-4906. This does not correspond to a traditional interface ID as ERC-4906 only
1916
// defines events and does not include any external function.
2017
bytes4 private constant ERC4906_INTERFACE_ID = bytes4(0x49064906);

0 commit comments

Comments
 (0)