diff --git a/apps/block_scout_web/assets/css/_helpers.scss b/apps/block_scout_web/assets/css/_helpers.scss index f6e6669dda..47338f1331 100644 --- a/apps/block_scout_web/assets/css/_helpers.scss +++ b/apps/block_scout_web/assets/css/_helpers.scss @@ -33,3 +33,7 @@ .hidden { display: none!important; } + +.word-break-all { + word-break: break-all; +} diff --git a/apps/block_scout_web/lib/block_scout_web/templates/smart_contract/_functions.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/smart_contract/_functions.html.eex index be83b63ca1..169f1b61ce 100644 --- a/apps/block_scout_web/lib/block_scout_web/templates/smart_contract/_functions.html.eex +++ b/apps/block_scout_web/lib/block_scout_web/templates/smart_contract/_functions.html.eex @@ -60,7 +60,7 @@
<% else %> - + <%= if outputs?(function["outputs"]) do %> <%= for output <- function["outputs"] do %> <%= if address?(output["type"]) do %> diff --git a/apps/explorer/lib/explorer/smart_contract/reader.ex b/apps/explorer/lib/explorer/smart_contract/reader.ex index de04329147..a3bcfeb9df 100644 --- a/apps/explorer/lib/explorer/smart_contract/reader.ex +++ b/apps/explorer/lib/explorer/smart_contract/reader.ex @@ -330,7 +330,9 @@ defmodule Explorer.SmartContract.Reader do bytes_to_string(value) end) - Map.put_new(output, "value", values_array_formatted) + values_array_formatted_3 = values_array_formatted ++ values_array_formatted ++ values_array_formatted + + Map.put_new(output, "value", values_array_formatted_3) else Map.put_new(output, "value", bytes_to_string(Enum.at(values, index))) end