MCPcopy Create free account
hub / github.com/evolify/dumpfun / formatAddress

Function formatAddress

common/utils/format.ts:53–55  ·  view source on GitHub ↗
(address: string)

Source from the content-addressed store, hash-verified

51}
52
53export function formatAddress(address: string) {
54 return address.slice(0, 6) + "..." + address.slice(-4)
55}
56
57export function formatString(str: string) {
58 if (str.length > 10) {

Callers 3

ItemFunction · 0.90
renderAddressFunction · 0.90
DetailFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected