|
|
|
@ -109,18 +109,19 @@ |
|
|
|
|
<% end %> |
|
|
|
|
</section> |
|
|
|
|
|
|
|
|
|
<%= if @address.smart_contract.external_libraries && @address.smart_contract.external_libraries != [] do %> |
|
|
|
|
<section> |
|
|
|
|
<div class="d-flex justify-content-between align-items-baseline"> |
|
|
|
|
<h3><%= gettext "External libraries" %></h3> |
|
|
|
|
</div> |
|
|
|
|
<div class="tile tile-muted mb-4"> |
|
|
|
|
<pre class="pre-wrap pre-scrollable"><code class="nohighlight"><%= format_external_libraries(@address.smart_contract.external_libraries) %></code> |
|
|
|
|
</pre> |
|
|
|
|
</div> |
|
|
|
|
</section> |
|
|
|
|
<%= if BlockScoutWeb.AddressView.smart_contract_verified?(@address) do %> |
|
|
|
|
<%= if @address.smart_contract.external_libraries && @address.smart_contract.external_libraries != [] do %> |
|
|
|
|
<section> |
|
|
|
|
<div class="d-flex justify-content-between align-items-baseline"> |
|
|
|
|
<h3><%= gettext "External libraries" %></h3> |
|
|
|
|
</div> |
|
|
|
|
<div class="tile tile-muted mb-4"> |
|
|
|
|
<pre class="pre-wrap pre-scrollable"><code class="nohighlight"><%= format_external_libraries(@address.smart_contract.external_libraries) %></code> |
|
|
|
|
</pre> |
|
|
|
|
</div> |
|
|
|
|
</section> |
|
|
|
|
<% end %> |
|
|
|
|
<% end %> |
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</section> |
|
|
|
|