+
+
<%= gettext "Logs" %>
+
+ <%= if @next_page_url do %>
+ <%= render BlockScoutWeb.CommonComponentsView, "_pagination_container.html", position: "top", cur_page_number: "1", show_pagination_limit: true, next_page_path: @next_page_url %>
+ <% end %>
+
+ <%= if !@next_page_url do %>
+ <%= render BlockScoutWeb.CommonComponentsView, "_pagination_container.html", position: "top", cur_page_number: "1", show_pagination_limit: true %>
+ <% end %>
+
+ <%= if Enum.count(@logs) > 0 do %>
+ <%= for log <- @logs do %>
+
+
+ - <%= gettext "Transaction" %>
+ -
+
+ <%= link(
+ log.transaction,
+ to: transaction_path(@conn, :show, log.transaction),
+ "data-test": "log_address_link",
+ "data-address-hash": log.transaction
+ ) %>
+
+
+ - <%= gettext "Topics" %>
+ -
+
+ <%= unless is_nil(log.first_topic) do %>
+
+ [0]
+ <%= log.first_topic %>
+
+ <% end %>
+ <%= unless is_nil(log.second_topic) do %>
+
+ [1]
+ <%= log.second_topic %>
+
+ <% end %>
+ <%= unless is_nil(log.third_topic) do %>
+
+ [2]
+ <%= log.third_topic %>
+
+ <% end %>
+ <%= unless is_nil(log.fourth_topic) do %>
+
+ [3]
+ <%= log.fourth_topic %>
+
+ <% end %>
+
+
+ -
+ <%= gettext "Data" %>
+
+ -
+ <%= unless is_nil(log.data) do %>
+
+ <%= log.data %>
+
+ <% end %>
+
+
+
+ <% end %>
+ <% else %>
+
+ <%= gettext "There are no logs for this address." %>
+
+ <% end %>
+