<%= gettext "Address" %>

<%= @address.hash %>

<%= link(gettext("Overview"), to: address_path(@conn, :show, @conn.assigns.locale, @address.hash), class: "address__link address__link--active") %>

<%= link(gettext("Transactions To"), to: address_transaction_to_path(@conn, :index, @conn.assigns.locale, @address.hash), class: "address__link") %>

<%= link(gettext("Transactions From"), to: address_transaction_from_path(@conn, :index, @conn.assigns.locale, @address.hash), class: "address__link") %>

<%= gettext "Balance" %>
<%= Decimal.div(Decimal.new(@address.balance), Decimal.new(1_000_000_000_000_000_000)) |> Decimal.to_string(:normal) %> <%= gettext "POA" %>