Skip to main content

Module text

Module text 

Source
Expand description

§Short text

The one way to shorten an identifier (address, hash, mint) for a narrow column, and the one ellipsis every surface uses.

Constants§

ELLIPSIS
Marks text that was shortened or cut.

Functions§

abbreviate
id shortened to its start, ELLIPSIS and its end (0x742d…3c2b), or id itself when that would not be shorter. It counts characters, so any text is safe.