Skip to main content

utils

Git Source

State Variables

NULL

string internal constant NULL = "";

Functions

setCssVar

function setCssVar(string memory _key, string memory _val) internal pure returns (string memory);

getCssVar

function getCssVar(string memory _key) internal pure returns (string memory);

getDefURL

function getDefURL(string memory _id) internal pure returns (string memory);

white_a

function white_a(uint256 _a) internal pure returns (string memory);

black_a

function black_a(uint256 _a) internal pure returns (string memory);

rgba

function rgba(
uint256 _r,
uint256 _g,
uint256 _b,
uint256 _a
) internal pure returns (string memory);

stringsEqual

function stringsEqual(string memory _a, string memory _b) internal pure returns (bool);

utfStringLength

function utfStringLength(string memory _str) internal pure returns (uint256 length);

uint2str

function uint2str(uint256 _i) internal pure returns (string memory _uintAsString);