Skip to content

Commit 7bb3566

Browse files
committed
Remove unused ERC20NullOwnerCappedUpgradeable contract and simplify tokenURI function in ERC20FixedDenomination contract. The tokenURI function no longer validates token IDs, streamlining its implementation.
1 parent 2a0b6ee commit 7bb3566

File tree

2 files changed

+0
-190
lines changed

2 files changed

+0
-190
lines changed

contracts/src/ERC20FixedDenomination.sol

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,6 @@ contract ERC20FixedDenomination is ERC404NullOwnerCappedUpgradeable {
154154
/// @notice Returns metadata URI for NFT tokens
155155
/// @dev Returns a data URI with JSON metadata fetched from the main Ethscriptions contract
156156
function tokenURI(uint256 mintId) public view virtual override returns (string memory) {
157-
_validateTokenId(mintId);
158157
ownerOf(mintId); // reverts on invalid / nonexistent
159158

160159
// Get the ethscriptionId for this mintId from the manager

contracts/src/ERC20NullOwnerCappedUpgradeable.sol

Lines changed: 0 additions & 189 deletions
This file was deleted.

0 commit comments

Comments
 (0)