diff --git a/apps/block_scout_web/lib/block_scout_web/templates/address_contract/index.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/address_contract/index.html.eex index abacec4b61..6a328a6705 100644 --- a/apps/block_scout_web/lib/block_scout_web/templates/address_contract/index.html.eex +++ b/apps/block_scout_web/lib/block_scout_web/templates/address_contract/index.html.eex @@ -30,10 +30,28 @@
<%= gettext "Compiler version" %>
<%= @address.smart_contract.compiler_version %>
+ <%= if @address.smart_contract.evm_version do %> +
+
<%= gettext "EVM Version" %>
+
<%= @address.smart_contract.evm_version %>
+
+ <% end %>
<%= gettext "Optimization enabled" %>
<%= format_optimization_text(@address.smart_contract.optimization) %>
+ <%= if @address.smart_contract.optimization && @address.smart_contract.optimization_runs do %> +
+
<%= gettext "Optimization runs" %>
+
<%= @address.smart_contract.optimization_runs %>
+
+ <% end %> + <%= if @address.smart_contract.constructor_arguments do %> +
+
<%= gettext "Constructor arguments" %>
+
<%= @address.smart_contract.constructor_arguments %>
+
+ <% end %>
@@ -64,7 +82,7 @@ <% end %>
<%= case contract_creation_code do %> - <% {:selfdestructed, transaction_init} -> %> + <% {:selfdestructed, transaction_init} -> %>

<%= gettext "Contract Creation Code" %>