-<%= if @address_hash do %>
- <%= link to: address_path(@conn, :show, @conn.assigns.locale, @address_hash),
- "data-toggle": "tooltip",
- "data-placement": "top",
- class: "address-link__font",
- title: @address_hash do %>
+ <%= if @address do %>
+ <%= link to: address_path(@conn, :show, @conn.assigns.locale, @address),
+ "data-toggle": "tooltip",
+ "data-placement": "top",
+ class: "address-link__font",
+ title: @address do %>
+ <%= if contract?(@address) do %>
+
<%= @address_hash |> hash() |> String.slice(-4..-1) %>
+ <% end %>
+ <%= @address |> hash() |> String.slice(0..3) %>