HexStrings

HexStrings

Functionsโ€‹

toHexStringโ€‹

  function toHexString(
  ) internal returns (string)

Converts a uint256 to its ASCII string hexadecimal representation with fixed length.

Credit to Open Zeppelin under MIT license https://github.com/OpenZeppelin/openzeppelin-contracts/blob/243adff49ce1700e0ecb99fe522fb16cff1d1ddc/contracts/utils/Strings.sol#L55

toHexStringNoPrefixโ€‹

  function toHexStringNoPrefix(
  ) internal returns (string)

Last updated