TldMetadataService
Git Source (opens in a new tab)
Inherits: IMetadataService
State Variables
nft
HandshakeNft public nft;
backgroundColour
string internal backgroundColour;
Functions
constructor
constructor(HandshakeNft _nft, string memory _background);
tokenURI
function tokenURI(bytes32 _namehash) external view returns (string memory);
supportsInterface
function supportsInterface(bytes4 interfaceID) public pure override returns (bool);
json
function json(bytes32 _namehash, string memory _name) private view returns (string memory);
svg
function svg(string memory _name) private view returns (string memory _svg);
emptySvg
function emptySvg(string memory _name) private view returns (string memory _svg);
getImage
function getImage(bytes32 _namehash, string memory _name) private view returns (string memory _image);
canGetImageFromResolver
function canGetImageFromResolver(address _address, bytes memory _data) public view returns (bool);