Skip to main content
Version: V3

NFTDescriptor

Functions

constructTokenURI

  function constructTokenURI(
) public returns (string)

escapeQuotes

  function escapeQuotes(
) internal returns (string)

tickToDecimalString

  function tickToDecimalString(
) internal returns (string)

fixedPointToDecimalString

  function fixedPointToDecimalString(
) internal returns (string)

feeToPercentString

  function feeToPercentString(
) internal returns (string)

addressToString

  function addressToString(
) internal returns (string)

generateSVGImage

  function generateSVGImage(
) internal returns (string svg)

tokenToColorHex

  function tokenToColorHex(
) internal returns (string str)

getCircleCoord

  function getCircleCoord(
) internal returns (uint256)

sliceTokenHex

  function sliceTokenHex(
) internal returns (uint256)