You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
541 B
10 lines
541 B
// The character limit on ENS names, nicknames and addresses before we truncate
|
|
export const TRUNCATED_NAME_CHAR_LIMIT = 11;
|
|
|
|
// The number of characters to slice from the beginning of an address for truncated format:
|
|
// `${TRUNCATED_ADDRESS_START_CHARS}...${TRUNCATED_ADDRESS_END_CHARS}`
|
|
export const TRUNCATED_ADDRESS_START_CHARS = 5;
|
|
|
|
// The number of characters to slice from the end of an address for truncated format:
|
|
// `${TRUNCATED_ADDRESS_START_CHARS}...${TRUNCATED_ADDRESS_END_CHARS}`
|
|
export const TRUNCATED_ADDRESS_END_CHARS = 4;
|
|
|