Skip to main content

StdStyle

Git Source

State Variables

vm

VmSafe private constant vm = VmSafe(address(uint160(uint256(keccak256("hevm cheat code")))));

RED

string constant RED = "\u001b[91m";

GREEN

string constant GREEN = "\u001b[92m";

YELLOW

string constant YELLOW = "\u001b[93m";

BLUE

string constant BLUE = "\u001b[94m";

MAGENTA

string constant MAGENTA = "\u001b[95m";

CYAN

string constant CYAN = "\u001b[96m";

BOLD

string constant BOLD = "\u001b[1m";

DIM

string constant DIM = "\u001b[2m";

ITALIC

string constant ITALIC = "\u001b[3m";

UNDERLINE

string constant UNDERLINE = "\u001b[4m";

INVERSE

string constant INVERSE = "\u001b[7m";

RESET

string constant RESET = "\u001b[0m";

Functions

styleConcat

function styleConcat(string memory style, string memory self) private pure returns (string memory);

red

function red(string memory self) internal pure returns (string memory);

red

function red(uint256 self) internal pure returns (string memory);

red

function red(int256 self) internal pure returns (string memory);

red

function red(address self) internal pure returns (string memory);

red

function red(bool self) internal pure returns (string memory);

redBytes

function redBytes(bytes memory self) internal pure returns (string memory);

redBytes32

function redBytes32(bytes32 self) internal pure returns (string memory);

green

function green(string memory self) internal pure returns (string memory);

green

function green(uint256 self) internal pure returns (string memory);

green

function green(int256 self) internal pure returns (string memory);

green

function green(address self) internal pure returns (string memory);

green

function green(bool self) internal pure returns (string memory);

greenBytes

function greenBytes(bytes memory self) internal pure returns (string memory);

greenBytes32

function greenBytes32(bytes32 self) internal pure returns (string memory);

yellow

function yellow(string memory self) internal pure returns (string memory);

yellow

function yellow(uint256 self) internal pure returns (string memory);

yellow

function yellow(int256 self) internal pure returns (string memory);

yellow

function yellow(address self) internal pure returns (string memory);

yellow

function yellow(bool self) internal pure returns (string memory);

yellowBytes

function yellowBytes(bytes memory self) internal pure returns (string memory);

yellowBytes32

function yellowBytes32(bytes32 self) internal pure returns (string memory);

blue

function blue(string memory self) internal pure returns (string memory);

blue

function blue(uint256 self) internal pure returns (string memory);

blue

function blue(int256 self) internal pure returns (string memory);

blue

function blue(address self) internal pure returns (string memory);

blue

function blue(bool self) internal pure returns (string memory);

blueBytes

function blueBytes(bytes memory self) internal pure returns (string memory);

blueBytes32

function blueBytes32(bytes32 self) internal pure returns (string memory);

magenta

function magenta(string memory self) internal pure returns (string memory);

magenta

function magenta(uint256 self) internal pure returns (string memory);

magenta

function magenta(int256 self) internal pure returns (string memory);

magenta

function magenta(address self) internal pure returns (string memory);

magenta

function magenta(bool self) internal pure returns (string memory);

magentaBytes

function magentaBytes(bytes memory self) internal pure returns (string memory);

magentaBytes32

function magentaBytes32(bytes32 self) internal pure returns (string memory);

cyan

function cyan(string memory self) internal pure returns (string memory);

cyan

function cyan(uint256 self) internal pure returns (string memory);

cyan

function cyan(int256 self) internal pure returns (string memory);

cyan

function cyan(address self) internal pure returns (string memory);

cyan

function cyan(bool self) internal pure returns (string memory);

cyanBytes

function cyanBytes(bytes memory self) internal pure returns (string memory);

cyanBytes32

function cyanBytes32(bytes32 self) internal pure returns (string memory);

bold

function bold(string memory self) internal pure returns (string memory);

bold

function bold(uint256 self) internal pure returns (string memory);

bold

function bold(int256 self) internal pure returns (string memory);

bold

function bold(address self) internal pure returns (string memory);

bold

function bold(bool self) internal pure returns (string memory);

boldBytes

function boldBytes(bytes memory self) internal pure returns (string memory);

boldBytes32

function boldBytes32(bytes32 self) internal pure returns (string memory);

dim

function dim(string memory self) internal pure returns (string memory);

dim

function dim(uint256 self) internal pure returns (string memory);

dim

function dim(int256 self) internal pure returns (string memory);

dim

function dim(address self) internal pure returns (string memory);

dim

function dim(bool self) internal pure returns (string memory);

dimBytes

function dimBytes(bytes memory self) internal pure returns (string memory);

dimBytes32

function dimBytes32(bytes32 self) internal pure returns (string memory);

italic

function italic(string memory self) internal pure returns (string memory);

italic

function italic(uint256 self) internal pure returns (string memory);

italic

function italic(int256 self) internal pure returns (string memory);

italic

function italic(address self) internal pure returns (string memory);

italic

function italic(bool self) internal pure returns (string memory);

italicBytes

function italicBytes(bytes memory self) internal pure returns (string memory);

italicBytes32

function italicBytes32(bytes32 self) internal pure returns (string memory);

underline

function underline(string memory self) internal pure returns (string memory);

underline

function underline(uint256 self) internal pure returns (string memory);

underline

function underline(int256 self) internal pure returns (string memory);

underline

function underline(address self) internal pure returns (string memory);

underline

function underline(bool self) internal pure returns (string memory);

underlineBytes

function underlineBytes(bytes memory self) internal pure returns (string memory);

underlineBytes32

function underlineBytes32(bytes32 self) internal pure returns (string memory);

inverse

function inverse(string memory self) internal pure returns (string memory);

inverse

function inverse(uint256 self) internal pure returns (string memory);

inverse

function inverse(int256 self) internal pure returns (string memory);

inverse

function inverse(address self) internal pure returns (string memory);

inverse

function inverse(bool self) internal pure returns (string memory);

inverseBytes

function inverseBytes(bytes memory self) internal pure returns (string memory);

inverseBytes32

function inverseBytes32(bytes32 self) internal pure returns (string memory);