Expand description
Helper trait and functions to format Ethereum types.
Enumsยง
- EthValue
- Various numerical ethereum types used for pretty printing
Constantsยง
- NAME_
COLUMN_ ๐LEN - length of the name column for pretty formatting
{:>20}{value}
Traitsยง
- UIfmt
- Helper trait to format Ethereum types.
Functionsยง
- fmt_
timestamp ๐ - Formats the timestamp to string
- get_
pretty_ block_ attr - Returns the
UiFmt::pretty()
formatted attribute of the given block - get_
pretty_ tx_ attr - Returns the
UiFmt::pretty()
formatted attribute of the transactions - pretty_
block_ ๐basics