|
|
|
@ -23,17 +23,17 @@ |
|
|
|
|
<%= if BlockScoutWeb.AddressView.smart_contract_verified?(@address) do %> |
|
|
|
|
<div class="mb-4"> |
|
|
|
|
<dl class="row"> |
|
|
|
|
<dt class="col text-muted"><%= gettext "Contract name:" %></dt> |
|
|
|
|
<dd class="col-ml-5"><%= @address.smart_contract.name %></dd> |
|
|
|
|
<dt class="col text-muted"><%= gettext "Optimization enabled" %></dt> |
|
|
|
|
<dd class="col-ml-5"><%= format_optimization_text(@address.smart_contract.optimization) %></dd> |
|
|
|
|
<dt class="col-sm-2 text-muted"><%= gettext "Contract name:" %></dt> |
|
|
|
|
<dd class="col-sm-2"><%= @address.smart_contract.name %></dd> |
|
|
|
|
<dt class="col-sm-2 text-muted"><%= gettext "Optimization enabled" %></dt> |
|
|
|
|
<dd class="col-sm-2"><%= format_optimization_text(@address.smart_contract.optimization) %></dd> |
|
|
|
|
</dl> |
|
|
|
|
<dl class="row"> |
|
|
|
|
<dt class="col text-muted"><%= gettext "Compiler version" %></dt> |
|
|
|
|
<dd class="col-ml-5"><%= @address.smart_contract.compiler_version %></dd> |
|
|
|
|
<dt class="col-sm-2 text-muted"><%= gettext "Compiler version" %></dt> |
|
|
|
|
<dd class="col-sm-2"><%= @address.smart_contract.compiler_version %></dd> |
|
|
|
|
<%= if @address.smart_contract.optimization && @address.smart_contract.optimization_runs do %> |
|
|
|
|
<dt class="col text-muted"><%= gettext "Optimization runs" %></dt> |
|
|
|
|
<dd class="col-ml-5"><%= @address.smart_contract.optimization_runs %></dd> |
|
|
|
|
<dt class="col-sm-2 text-muted"><%= gettext "Optimization runs" %></dt> |
|
|
|
|
<dd class="col-sm-2"><%= @address.smart_contract.optimization_runs %></dd> |
|
|
|
|
<% end %> |
|
|
|
|
</dl> |
|
|
|
|
<%= if @address.smart_contract.evm_version do %> |
|
|
|
|