Skip to content

Commit

Permalink
Merge pull request #3603 from poanetwork/vb-display-output-name
Browse files Browse the repository at this point in the history
Display method output parameter name at contract read page
  • Loading branch information
vbaranov committed Feb 2, 2021
2 parents 46a4bb9 + 78da60d commit 3c92013
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## Current

### Features
- [#3603](https://github.com/poanetwork/blockscout/pull/3603) - Display method output parameter name at contract read page
- [#3584](https://github.com/poanetwork/blockscout/pull/3584) - Token holders API endpoint
- [#3564](https://github.com/poanetwork/blockscout/pull/3564) - Staking welcome message

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ to: address_contract_path(@conn, :index, metadata_for_verification.address_hash)
<%= if (queryable?(function["inputs"])), do: raw "&#8627;" %>

<%= for output <- function["outputs"] do %>
<%= output["type"] %>
<%= if output["name"] && output["name"] !== "", do: "#{output["name"]}(#{output["type"]})", else: output["type"] %>
<% end %>
</div>
<% end %>
Expand Down

0 comments on commit 3c92013

Please sign in to comment.