export const shortenAddress = (account: string, places = 4): string => {
	if (!account) return '';
	if (account.length <= places * 2) return account;
	return `${account.slice(0, places+2)}...${account.slice(-places)}`;
};
