<%= link(gettext("Overview"), to: transaction_path(@conn, :show, @conn.assigns.locale, @transaction_hash), class: "transaction__link") %>
<%= link(gettext("Internal Transactions"), to: transaction_internal_transaction_path(@conn, :index, @conn.assigns.locale, @transaction_hash), class: "transaction__link transaction__link--active") %>
<%= link(gettext("Logs"), to: transaction_log_path(@conn, :index, @conn.assigns.locale, @transaction_hash), class: "transaction__link") %>
<%= gettext "Type" %> |
<%= gettext "From" %> |
<%= gettext "To" %> |
<%= gettext "Value" %> |
<%= gettext "Gas Limit" %> |
<%= for transaction <- @internal_transactions do %>
<%= transaction.call_type %> |
<%= link(transaction.to_address.hash,
to: address_path(@conn, :show, @conn.assigns.locale, transaction.to_address.hash),
class: "transaction-log__link") %>
|
<%= link(transaction.from_address.hash,
to: address_path(@conn, :show, @conn.assigns.locale, transaction.from_address.hash),
class: "transaction-log__link") %>
|
<%= transaction.value %> |
<%= ExplorerWeb.TransactionView.format_gas_limit(transaction.gas) %> |
<% end %>