NFTDescriptor

This contract does description of NFTs with required parameters such as side text, token id color informations, title and so on.

Function Calls

NFTDescriptor Contract Function Calls

FunctionsDefinitons
encodeSVGEncodes bytes returned from _buildSVG function and returns a memory string.
buildSVGCasts bytes returned from _buildSVG function to string and returns this string.
_buildSVGReturns bytes value of NFT
addressToStringGets an address value and converts it to a string value.
tokenToColorHexGets a token address and an offset and generates and returns a hexcode of a color with bytes value.

Inheritance Flow

NFTDescriptor Inheritance Relations

Contracts Description Table

ContractTypeBases
Function NameVisibilityMutabilityModifiers
NFTDescriptorImplementationSVGConstants, SVGComponents
encodeSVGPublic ❗️NO❗️
buildSVGPublic ❗️NO❗️
_buildSVGPublic ❗️NO❗️
addressToStringInternal 🔒
tokenToColorHexInternal 🔒

Legend

SymbolMeaning
🛑Function can modify state
💵Function is payable