Skip to main content

Module ui

Module ui 

Source
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.
UIfmtHeaderExt
UIfmtReceiptExt
UIfmtSignatureExt

Functionsยง

fmt_timestamp ๐Ÿ”’
Formats the timestamp to string
get_pretty_block_attr
get_pretty_receipt_attr
get_pretty_tx_attr
Returns the UiFmt::pretty() formatted attribute of the transactions
pretty_generic_header_response ๐Ÿ”’