Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

W35 upstream merge #369

Merged
merged 62 commits into from
Sep 6, 2021
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
3c555b4
Search results page
vbaranov Aug 6, 2021
7554083
Merge pull request #4489 from blockscout/vb-search-results
vbaranov Aug 13, 2021
9a1a61b
Fix routes: add NETWORK_PATH variable to current_path
vbaranov Aug 15, 2021
0ceeb8b
Merge pull request #4513 from blockscout/vb-routes-fix-2
vbaranov Aug 16, 2021
f4da248
Add DB migrations step into Docker start script
vbaranov Aug 16, 2021
3f96ee6
Merge pull request #4516 from blockscout/vb-add-db-migrations-step-to…
vbaranov Aug 16, 2021
c01737e
Change order of transations in block's view
nikitosing Aug 17, 2021
5b6ae19
Fix test
nikitosing Aug 17, 2021
fc012a4
Merge pull request #4523 from blockscout/np-change-txs-order
vbaranov Aug 17, 2021
acdf5af
Uncataloged token transfers query performance improvement
vbaranov Aug 18, 2021
ec6dccb
Merge pull request #4525 from blockscout/vb-uncataloged-token-transfe…
vbaranov Aug 18, 2021
3fba4f6
Indexer update: refactor coin balance daily fetcher
vbaranov Aug 18, 2021
1c0cf8c
Merge pull request #4527 from blockscout/vb-daily-coin-balances-fix
vbaranov Aug 19, 2021
15e3231
Add transaction's index
nikitosing Aug 17, 2021
b8d244e
Merge pull request #4524 from blockscout/np-add-tx-index
vbaranov Aug 19, 2021
a7c67ba
Update txn page tooltips
nikitosing Aug 17, 2021
da4fd89
Merge pull request #4521 from blockscout/np-update-tooltip
vbaranov Aug 19, 2021
60704cf
Add arbitrum support
Jul 27, 2021
10e25fc
CHANGELOG
Aug 19, 2021
d43ec82
Merge pull request #4531 from twt--/arbitrum
vbaranov Aug 20, 2021
88bd0c0
Use token_symbol helper when no symbol exists for a given token in ad…
rkachowski Aug 19, 2021
81fbe8a
Merge pull request #4534 from celo-org/upstream/bugfix/unnamed_tokens
vbaranov Aug 20, 2021
d39d4e5
Mix format
vbaranov Aug 20, 2021
94b7005
Eliminate multiple Updates of the same token in mint/burn token trans…
vbaranov Aug 20, 2021
ba5e4da
Merge pull request #4535 from blockscout/vb-tt-updater-fix
vbaranov Aug 20, 2021
1fee2d8
Search for metadata.json file in sourcify response.
rkachowski Aug 20, 2021
5e77171
Access token type from token object.
rkachowski Aug 20, 2021
574b48f
Merge pull request #4537 from celo-org/upstream/bugfix/sourcify_metad…
vbaranov Aug 20, 2021
4ae9189
Merge branch 'master' into upstream/bugfix/token_balance_fetch
rkachowski Aug 20, 2021
2bf1d0c
Merge pull request #4538 from celo-org/upstream/bugfix/token_balance_…
vbaranov Aug 20, 2021
7b4e027
Indexer performance update: deduplicate tokens in indexer token trans…
vbaranov Aug 23, 2021
1105da8
Merge pull request #4542 from blockscout/vb-tt-transform-tokens-dedup
vbaranov Aug 23, 2021
e9c0925
Add skip_metadata flag for token if indexer failed to get any of [nam…
vbaranov Aug 23, 2021
510e51f
con_cache update up to 1.0
vbaranov Aug 24, 2021
af6a446
Merge pull request #4550 from blockscout/vb-con_cache-update
vbaranov Aug 25, 2021
29b97b2
Optimise github actions (#363)
rkachowski Aug 23, 2021
55d330b
Merge pull request #4552 from celo-org/upstream/feature/optimise_gith…
vbaranov Aug 25, 2021
39a6790
Explicit mix compile before running tests.
rkachowski Aug 26, 2021
b2ebc82
Add this branch for ci tests.
rkachowski Aug 26, 2021
4ad1dd7
Revert "Add this branch for ci tests."
rkachowski Aug 26, 2021
36b1e61
Merge pull request #4558 from celo-org/upstream/bugfix/mix_compile_tests
vbaranov Aug 26, 2021
56cefe0
Skip genesis block for requesting of trace_block API endpoint
vbaranov Aug 25, 2021
6a20558
Rework Block Details page
nikitosing Aug 18, 2021
1b14369
Merge pull request #4553 from blockscout/vb-trace-block-skip-genesis-…
vbaranov Aug 26, 2021
bf54b91
Allign eye icon
nikitosing Aug 27, 2021
e12cae5
Merge pull request #4528 from blockscout/np-rework-block-details
vbaranov Aug 27, 2021
6d7d6e6
Allign copy button to the end of line
nikitosing Aug 18, 2021
9985be3
Merge pull request #4540 from blockscout/np-allign-copy-btns
vbaranov Aug 27, 2021
8e3a9c2
Allign token transfers in tx to table
nikitosing Aug 18, 2021
2f5a1ac
Fix width of table
nikitosing Aug 27, 2021
61b32fa
Merge pull request #4568 from blockscout/np-allign-token-transfers
vbaranov Aug 27, 2021
b0ed567
Merge branch 'master' into vb-indexer-reduce-tokens-update
vbaranov Aug 27, 2021
062b743
Merge pull request #4544 from blockscout/vb-indexer-reduce-tokens-update
vbaranov Aug 27, 2021
40b1c7f
Remove comment with the submission date from contracts
nikitosing Aug 25, 2021
f277d86
Merge pull request #4569 from blockscout/np-del-comment-in-src
vbaranov Aug 27, 2021
db6c8ab
Blockscout 3.7.3
vbaranov Aug 27, 2021
2a723f4
Update CHANGELOG.md
vbaranov Aug 27, 2021
e54f260
W35 upstream merge
Aug 31, 2021
4abd691
Fixed tests
Aug 31, 2021
687a12d
Removed duplicates in .dialyzer-ignore
Sep 2, 2021
4aec4e0
Merge branch 'master' into carterqw2/w35-upstream-merge
Sep 3, 2021
5055b79
Merge branch 'master' into carterqw2/w35-upstream-merge
Sep 6, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .dialyzer-ignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ lib/indexer/fetcher/token_total_supply_on_demand.ex:16
lib/explorer/exchange_rates/source.ex:110
lib/explorer/exchange_rates/source.ex:113
lib/explorer/smart_contract/verifier.ex:89
lib/block_scout_web/templates/address_contract/index.html.eex:150
lib/block_scout_web/templates/address_contract/index.html.eex:193
lib/block_scout_web/templates/address_contract/index.html.eex:156
lib/block_scout_web/templates/address_contract/index.html.eex:199
lib/explorer/staking/stake_snapshotting.ex:15: Function do_snapshotting/7 has no local return
lib/explorer/staking/stake_snapshotting.ex:147
lib/explorer/third_party_integrations/sourcify.ex:70
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## Current

### Features
- [#4569](https://github.com/blockscout/blockscout/pull/4569) - Smart-Contract: remove comment with the submission date
- [#4568](https://github.com/blockscout/blockscout/pull/4568) - TX page: Token transfer and minting section improvements
- [#4540](https://github.com/blockscout/blockscout/pull/4540) - Allign copy buttons for `Block Details` and `Transaction Details` pages
- [#4528](https://github.com/blockscout/blockscout/pull/4528) - Block Details page: rework view
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,18 @@
<dd class="col-md-4"><%= target_contract.optimization_runs %></dd>
<% end %>
</dl>
<%= if smart_contract_verified && target_contract.evm_version do %>
<dl class="row">
<dt class="col-sm-4 col-md-2 text-muted"><%= gettext "EVM Version" %></dt>
<dd class="col-sm-8 col-md-10"><%= target_contract.evm_version %></dd>
</dl>
<% end %>
<dl class="row">
<%= if smart_contract_verified && target_contract.evm_version do %>
<dt class="col-md-2 text-muted"><%= gettext "EVM Version" %></dt>
<dd class="col-md-4"><%= target_contract.evm_version %></dd>
<div class="d-none d-sm-block d-md-none"></br></br></div>
<div class="d-block d-sm-none"></br></br></div>
<% end %>
<%= if target_contract.inserted_at do %>
<dt class="col-md-2 text-muted"><%= gettext "Verified at" %></dt>
<dd class="col-md-4"><%= target_contract.inserted_at %></dd>
<% end %>
</dl>
<hr/>
<%= if smart_contract_verified && target_contract.constructor_arguments do %>
<section>
Expand All @@ -89,7 +95,7 @@
</button>
</div>
<div class="tile tile-muted mb-4">
<pre class="pre-scrollable line-numbers" data-activate-highlight><code class="solidity"><%= for {line, number} <- contract_lines_with_index(target_contract.contract_source_code, target_contract.inserted_at) do %><div data-line-number="<%= number %>"><%= line %></div><% end %></code></pre>
<pre class="pre-scrollable line-numbers" data-activate-highlight><code class="solidity"><%= for {line, number} <- contract_lines_with_index(target_contract.contract_source_code) do %><div data-line-number="<%= number %>"><%= line %></div><% end %></code></pre>
</div>
</section>

Expand All @@ -103,7 +109,7 @@
</button>
</div>
<div class="tile tile-muted mb-4">
<pre class="pre-scrollable line-numbers" data-activate-highlight><code class="solidity"><%= for {line, number} <- contract_lines_with_index(additional_source.contract_source_code, additional_source.inserted_at) do %><div data-line-number="<%= number %>"><%= line %></div><% end %></code></pre>
<pre class="pre-scrollable line-numbers" data-activate-highlight><code class="solidity"><%= for {line, number} <- contract_lines_with_index(additional_source.contract_source_code) do %><div data-line-number="<%= number %>"><%= line %></div><% end %></code></pre>
</div>
</section>
<% end)%>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ defmodule BlockScoutWeb.AddressContractView do

alias ABI.{FunctionSelector, TypeDecoder}
alias Explorer.Chain
alias Explorer.Chain.{Address, Data, InternalTransaction, SmartContract, Transaction}
alias Explorer.Chain.{Address, Data, InternalTransaction, Transaction}

def render("scripts.html", %{conn: conn}) do
render_scripts(conn, "address_contract/code_highlighting.js")
Expand Down Expand Up @@ -89,11 +89,10 @@ defmodule BlockScoutWeb.AddressContractView do
end)
end

def contract_lines_with_index(source_code, inserted_at \\ nil) do
def contract_lines_with_index(source_code) do
contract_lines =
source_code
|> String.split("\n")
|> SmartContract.add_submitted_comment(inserted_at)

max_digits =
contract_lines
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ defmodule BlockScoutWeb.API.RPC.ContractView do
Enum.map(additional_sources, fn src ->
%{
Filename: src.file_name,
SourceCode: SmartContract.add_submitted_comment(src.contract_source_code, src.inserted_at)
SourceCode: src.contract_source_code
}
end),
else: []
Expand Down
47 changes: 26 additions & 21 deletions apps/block_scout_web/priv/gettext/default.pot
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ msgid "Connection Lost, click to load newer validations"
msgstr ""

#, elixir-format
#: lib/block_scout_web/templates/address_contract/index.html.eex:76
#: lib/block_scout_web/templates/address_contract/index.html.eex:82
msgid "Constructor Arguments"
msgstr ""

Expand All @@ -628,7 +628,7 @@ msgid "Contract"
msgstr ""

#, elixir-format
#: lib/block_scout_web/templates/address_contract/index.html.eex:114
#: lib/block_scout_web/templates/address_contract/index.html.eex:120
msgid "Contract ABI"
msgstr ""

Expand Down Expand Up @@ -658,8 +658,8 @@ msgid "Contract Creation"
msgstr ""

#, elixir-format
#: lib/block_scout_web/templates/address_contract/index.html.eex:130
#: lib/block_scout_web/templates/address_contract/index.html.eex:145
#: lib/block_scout_web/templates/address_contract/index.html.eex:136
#: lib/block_scout_web/templates/address_contract/index.html.eex:151
msgid "Contract Creation Code"
msgstr ""

Expand Down Expand Up @@ -687,12 +687,12 @@ msgid "Contract name:"
msgstr ""

#, elixir-format
#: lib/block_scout_web/templates/address_contract/index.html.eex:86
#: lib/block_scout_web/templates/address_contract/index.html.eex:92
msgid "Contract source code"
msgstr ""

#, elixir-format
#: lib/block_scout_web/templates/address_contract/index.html.eex:136
#: lib/block_scout_web/templates/address_contract/index.html.eex:142
msgid "Contracts that self destruct in their constructors have no contract code published and cannot be verified."
msgstr ""

Expand All @@ -702,7 +702,7 @@ msgid "Contribute"
msgstr ""

#, elixir-format
#: lib/block_scout_web/templates/address_contract/index.html.eex:116
#: lib/block_scout_web/templates/address_contract/index.html.eex:122
msgid "Copy ABI"
msgstr ""

Expand All @@ -717,8 +717,8 @@ msgid "Copy Address"
msgstr ""

#, elixir-format
#: lib/block_scout_web/templates/address_contract/index.html.eex:132
#: lib/block_scout_web/templates/address_contract/index.html.eex:148
#: lib/block_scout_web/templates/address_contract/index.html.eex:138
#: lib/block_scout_web/templates/address_contract/index.html.eex:154
msgid "Copy Contract Creation Code"
msgstr ""

Expand All @@ -728,8 +728,8 @@ msgid "Copy Decompiled Contract Code"
msgstr ""

#, elixir-format
#: lib/block_scout_web/templates/address_contract/index.html.eex:181
#: lib/block_scout_web/templates/address_contract/index.html.eex:191
#: lib/block_scout_web/templates/address_contract/index.html.eex:187
#: lib/block_scout_web/templates/address_contract/index.html.eex:197
msgid "Copy Deployed ByteCode"
msgstr ""

Expand Down Expand Up @@ -767,8 +767,8 @@ msgid "Copy Raw Trace"
msgstr ""

#, elixir-format
#: lib/block_scout_web/templates/address_contract/index.html.eex:88
#: lib/block_scout_web/templates/address_contract/index.html.eex:102
#: lib/block_scout_web/templates/address_contract/index.html.eex:94
#: lib/block_scout_web/templates/address_contract/index.html.eex:108
msgid "Copy Source Code"
msgstr ""

Expand Down Expand Up @@ -945,8 +945,8 @@ msgid "Delegators’ Staked Amount"
msgstr ""

#, elixir-format
#: lib/block_scout_web/templates/address_contract/index.html.eex:179
#: lib/block_scout_web/templates/address_contract/index.html.eex:187
#: lib/block_scout_web/templates/address_contract/index.html.eex:185
#: lib/block_scout_web/templates/address_contract/index.html.eex:193
msgid "Deployed ByteCode"
msgstr ""

Expand All @@ -971,7 +971,7 @@ msgid "Difficulty"
msgstr ""

#, elixir-format
#: lib/block_scout_web/templates/address_contract/index.html.eex:137
#: lib/block_scout_web/templates/address_contract/index.html.eex:143
msgid "Displaying the init data provided of the creating transaction."
msgstr ""

Expand Down Expand Up @@ -1104,7 +1104,7 @@ msgid "Execute"
msgstr ""

#, elixir-format
#: lib/block_scout_web/templates/address_contract/index.html.eex:228
#: lib/block_scout_web/templates/address_contract/index.html.eex:234
msgid "External libraries"
msgstr ""

Expand Down Expand Up @@ -2762,12 +2762,17 @@ msgstr ""
msgid "Value sent in the native token (and USD) if applicable."
msgstr ""

#, elixir-format
#: lib/block_scout_web/templates/address_contract/index.html.eex:74
msgid "Verified at"
msgstr ""

#, elixir-format
#: lib/block_scout_web/templates/address_contract/index.html.eex:24
#: lib/block_scout_web/templates/address_contract/index.html.eex:152
#: lib/block_scout_web/templates/address_contract/index.html.eex:164
#: lib/block_scout_web/templates/address_contract/index.html.eex:195
#: lib/block_scout_web/templates/address_contract/index.html.eex:207
#: lib/block_scout_web/templates/address_contract/index.html.eex:158
#: lib/block_scout_web/templates/address_contract/index.html.eex:170
#: lib/block_scout_web/templates/address_contract/index.html.eex:201
#: lib/block_scout_web/templates/address_contract/index.html.eex:213
#: lib/block_scout_web/templates/smart_contract/_functions.html.eex:19
msgid "Verify & Publish"
msgstr ""
Expand Down
47 changes: 26 additions & 21 deletions apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ msgid "Connection Lost, click to load newer validations"
msgstr ""

#, elixir-format
#: lib/block_scout_web/templates/address_contract/index.html.eex:76
#: lib/block_scout_web/templates/address_contract/index.html.eex:82
msgid "Constructor Arguments"
msgstr ""

Expand All @@ -628,7 +628,7 @@ msgid "Contract"
msgstr ""

#, elixir-format
#: lib/block_scout_web/templates/address_contract/index.html.eex:114
#: lib/block_scout_web/templates/address_contract/index.html.eex:120
msgid "Contract ABI"
msgstr ""

Expand Down Expand Up @@ -658,8 +658,8 @@ msgid "Contract Creation"
msgstr ""

#, elixir-format
#: lib/block_scout_web/templates/address_contract/index.html.eex:130
#: lib/block_scout_web/templates/address_contract/index.html.eex:145
#: lib/block_scout_web/templates/address_contract/index.html.eex:136
#: lib/block_scout_web/templates/address_contract/index.html.eex:151
msgid "Contract Creation Code"
msgstr ""

Expand Down Expand Up @@ -687,12 +687,12 @@ msgid "Contract name:"
msgstr ""

#, elixir-format
#: lib/block_scout_web/templates/address_contract/index.html.eex:86
#: lib/block_scout_web/templates/address_contract/index.html.eex:92
msgid "Contract source code"
msgstr ""

#, elixir-format
#: lib/block_scout_web/templates/address_contract/index.html.eex:136
#: lib/block_scout_web/templates/address_contract/index.html.eex:142
msgid "Contracts that self destruct in their constructors have no contract code published and cannot be verified."
msgstr ""

Expand All @@ -702,7 +702,7 @@ msgid "Contribute"
msgstr ""

#, elixir-format
#: lib/block_scout_web/templates/address_contract/index.html.eex:116
#: lib/block_scout_web/templates/address_contract/index.html.eex:122
msgid "Copy ABI"
msgstr ""

Expand All @@ -717,8 +717,8 @@ msgid "Copy Address"
msgstr ""

#, elixir-format
#: lib/block_scout_web/templates/address_contract/index.html.eex:132
#: lib/block_scout_web/templates/address_contract/index.html.eex:148
#: lib/block_scout_web/templates/address_contract/index.html.eex:138
#: lib/block_scout_web/templates/address_contract/index.html.eex:154
msgid "Copy Contract Creation Code"
msgstr ""

Expand All @@ -728,8 +728,8 @@ msgid "Copy Decompiled Contract Code"
msgstr ""

#, elixir-format
#: lib/block_scout_web/templates/address_contract/index.html.eex:181
#: lib/block_scout_web/templates/address_contract/index.html.eex:191
#: lib/block_scout_web/templates/address_contract/index.html.eex:187
#: lib/block_scout_web/templates/address_contract/index.html.eex:197
msgid "Copy Deployed ByteCode"
msgstr ""

Expand Down Expand Up @@ -767,8 +767,8 @@ msgid "Copy Raw Trace"
msgstr ""

#, elixir-format
#: lib/block_scout_web/templates/address_contract/index.html.eex:88
#: lib/block_scout_web/templates/address_contract/index.html.eex:102
#: lib/block_scout_web/templates/address_contract/index.html.eex:94
#: lib/block_scout_web/templates/address_contract/index.html.eex:108
msgid "Copy Source Code"
msgstr ""

Expand Down Expand Up @@ -945,8 +945,8 @@ msgid "Delegators’ Staked Amount"
msgstr ""

#, elixir-format
#: lib/block_scout_web/templates/address_contract/index.html.eex:179
#: lib/block_scout_web/templates/address_contract/index.html.eex:187
#: lib/block_scout_web/templates/address_contract/index.html.eex:185
#: lib/block_scout_web/templates/address_contract/index.html.eex:193
msgid "Deployed ByteCode"
msgstr ""

Expand All @@ -971,7 +971,7 @@ msgid "Difficulty"
msgstr ""

#, elixir-format
#: lib/block_scout_web/templates/address_contract/index.html.eex:137
#: lib/block_scout_web/templates/address_contract/index.html.eex:143
msgid "Displaying the init data provided of the creating transaction."
msgstr ""

Expand Down Expand Up @@ -1104,7 +1104,7 @@ msgid "Execute"
msgstr ""

#, elixir-format
#: lib/block_scout_web/templates/address_contract/index.html.eex:228
#: lib/block_scout_web/templates/address_contract/index.html.eex:234
msgid "External libraries"
msgstr ""

Expand Down Expand Up @@ -2762,12 +2762,17 @@ msgstr ""
msgid "Value sent in the native token (and USD) if applicable."
msgstr ""

#, elixir-format
#: lib/block_scout_web/templates/address_contract/index.html.eex:74
msgid "Verified at"
msgstr ""

#, elixir-format
#: lib/block_scout_web/templates/address_contract/index.html.eex:24
#: lib/block_scout_web/templates/address_contract/index.html.eex:152
#: lib/block_scout_web/templates/address_contract/index.html.eex:164
#: lib/block_scout_web/templates/address_contract/index.html.eex:195
#: lib/block_scout_web/templates/address_contract/index.html.eex:207
#: lib/block_scout_web/templates/address_contract/index.html.eex:158
#: lib/block_scout_web/templates/address_contract/index.html.eex:170
#: lib/block_scout_web/templates/address_contract/index.html.eex:201
#: lib/block_scout_web/templates/address_contract/index.html.eex:213
#: lib/block_scout_web/templates/smart_contract/_functions.html.eex:19
msgid "Verify & Publish"
msgstr ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -431,9 +431,7 @@ defmodule BlockScoutWeb.API.RPC.ContractControllerTest do
expected_result = [
%{
"Address" => to_string(contract.address_hash),
"SourceCode" =>
"/**\n* Submitted for verification at blockscout.com on #{contract.inserted_at}\n*/\n" <>
contract.contract_source_code,
"SourceCode" => contract.contract_source_code,
"ABI" => Jason.encode!(contract.abi),
"ContractName" => contract.name,
"CompilerVersion" => contract.compiler_version,
Expand Down Expand Up @@ -476,9 +474,7 @@ defmodule BlockScoutWeb.API.RPC.ContractControllerTest do
expected_result = [
%{
"Address" => to_string(contract.address_hash),
"SourceCode" =>
"/**\n* Submitted for verification at blockscout.com on #{contract.inserted_at}\n*/\n" <>
contract.contract_source_code,
"SourceCode" => contract.contract_source_code,
"ABI" => Jason.encode!(contract.abi),
"ContractName" => contract.name,
"CompilerVersion" => contract.compiler_version,
Expand Down Expand Up @@ -576,9 +572,7 @@ defmodule BlockScoutWeb.API.RPC.ContractControllerTest do
expected_result = [
%{
"Address" => to_string(contract.address_hash),
"SourceCode" =>
"/**\n* Submitted for verification at blockscout.com on #{contract.inserted_at}\n*/\n" <>
contract.contract_source_code,
"SourceCode" => contract.contract_source_code,
"ABI" => Jason.encode!(contract.abi),
"ContractName" => contract.name,
"CompilerVersion" => contract.compiler_version,
Expand Down
Loading