|
|
@ -256,15 +256,19 @@ defmodule BlockScoutWeb.AddressView do |
|
|
|
nil |
|
|
|
nil |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
def address_link_to_other_explorer(link, address) do |
|
|
|
def address_link_to_other_explorer(link, address, full) do |
|
|
|
|
|
|
|
if full do |
|
|
|
|
|
|
|
link <> to_string(address) |
|
|
|
|
|
|
|
else |
|
|
|
link <> trimmed_hash(address) |
|
|
|
link <> trimmed_hash(address) |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
def address_link_to_other_explorer(_, address), do: "" |
|
|
|
def address_link_to_other_explorer(_, address, full), do: "" |
|
|
|
|
|
|
|
|
|
|
|
def address_link_to_other_explorer(_, _), do: "" |
|
|
|
def address_link_to_other_explorer(_, _, full), do: "" |
|
|
|
|
|
|
|
|
|
|
|
def address_link_to_other_explorer(link, _), do: "" |
|
|
|
def address_link_to_other_explorer(link, _, full), do: "" |
|
|
|
|
|
|
|
|
|
|
|
defp matching_address_check(%Address{hash: hash} = current_address, %Address{hash: hash}, contract?, truncate) do |
|
|
|
defp matching_address_check(%Address{hash: hash} = current_address, %Address{hash: hash}, contract?, truncate) do |
|
|
|
[ |
|
|
|
[ |
|
|
|