<%= gettext "Transaction Logs" %>

<%= @transaction_hash %>

<%= link(gettext("Overview"), to: transaction_path(@conn, :show, @conn.assigns.locale, @transaction_hash), class: "transaction-log__link") %>

<%= link(gettext("Internal Transactions"), to: transaction_internal_transaction_path(@conn, :index, @conn.assigns.locale, @transaction_hash), class: "transaction__link") %>

<%= link(gettext("Logs"), to: transaction_log_path(@conn, :index, @conn.assigns.locale, @transaction_hash), class: "transaction-log__link transaction-log__link--active") %>

<%= for log <- @logs.entries do %> <% unless is_nil(log.second_topic) do %> <% end %> <% unless is_nil(log.third_topic) do %> <% end %> <% unless is_nil(log.data) do %> <% end %> <% end %>
<%= gettext "Address" %> <%= gettext "Topic" %>
<%= link(log.address.hash, to: address_path(@conn, :show, @conn.assigns.locale, log.address.hash), class: "transaction-log__link") %> <%= log.first_topic %>
topic[1]<%= log.second_topic %>
topic[2]<%= log.third_topic %>
<%= log.data %>