Skip to content

Commit

Permalink
update repo
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolev-igor committed May 13, 2022
1 parent b180ae7 commit 8353fb8
Show file tree
Hide file tree
Showing 5 changed files with 12,800 additions and 5,893 deletions.
8 changes: 7 additions & 1 deletion contracts/ZerionGenesisNFT.sol
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,13 @@ contract ZerionGenesisNFT is ERC1155Supply, IZerionGenesisNFT {
}

/// @inheritdoc IZerionGenesisNFT
function uri(uint256 tokenId) public view virtual override(ERC1155, IZerionGenesisNFT) returns (string memory) {
function uri(uint256 tokenId)
public
view
virtual
override(ERC1155, IZerionGenesisNFT)
returns (string memory)
{
if (tokenId == 0 || tokenId > 10) return "";

return hashToURI(ipfsHashes[tokenId]);
Expand Down
Loading

0 comments on commit 8353fb8

Please sign in to comment.