@ -7,6 +7,7 @@
- [#3224](https://github.com/poanetwork/blockscout/pull/3224) - Top tokens page
### Fixes
- [#3249](https://github.com/poanetwork/blockscout/pull/3249) - Fix incorrect ABI decoding of address in tuple output
- [#3237](https://github.com/poanetwork/blockscout/pull/3237) - Refine contract method signature detection for read/write feature
- [#3235](https://github.com/poanetwork/blockscout/pull/3235) - Fix coin supply api edpoint
- [#3233](https://github.com/poanetwork/blockscout/pull/3233) - Fix for the contract verifiaction for solc 0.5 family with experimental features enabled
@ -321,6 +321,10 @@ defmodule Explorer.SmartContract.Reader do
Map.put_new(output, "value", bytes_to_string(value))
end
defp new_value(%{"type" => "address"} = output, values, index) do
Map.put_new(output, "value", bytes_to_string(Enum.at(values, index)))
defp new_value(%{"type" => "bytes" <> number_rest} = output, values, index) do
if String.contains?(number_rest, "[]") do
values_array = Enum.at(values, index)