NFTDescriptor
This contract does description of NFTs with required parameters such as side text, token id color informations, title and so on.
Function Calls
Functions | Definitons |
---|---|
encodeSVG | Encodes bytes returned from _buildSVG function and returns a memory string. |
buildSVG | Casts bytes returned from _buildSVG function to string and returns this string. |
_buildSVG | Returns bytes value of NFT |
addressToString | Gets an address value and converts it to a string value. |
tokenToColorHex | Gets a token address and an offset and generates and returns a hexcode of a color with bytes value. |
Inheritance Flow
Contracts Description Table
Contract | Type | Bases | ||
---|---|---|---|---|
└ | Function Name | Visibility | Mutability | Modifiers |
NFTDescriptor | Implementation | SVGConstants, SVGComponents | ||
└ | encodeSVG | Public ❗️ | NO❗️ | |
└ | buildSVG | Public ❗️ | NO❗️ | |
└ | _buildSVG | Public ❗️ | NO❗️ | |
└ | addressToString | Internal 🔒 | ||
└ | tokenToColorHex | Internal 🔒 |
Legend
Symbol | Meaning |
---|---|
🛑 | Function can modify state |
💵 | Function is payable |