<%= gettext "Transaction Logs" %>

<%= @transaction_id %>

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

<%= link(gettext("Logs"), to: transaction_log_path(@conn, :index, @conn.assigns.locale, @transaction_id), 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 %>