From 3e15db266ff97ae17273a7e2fb92f3ac8a8b1eef Mon Sep 17 00:00:00 2001 From: Ayrat Badykov Date: Tue, 30 Jul 2019 14:46:06 +0300 Subject: [PATCH 01/48] fix confirmations for non consensus blocks --- .../lib/block_scout_web/views/transaction_view.ex | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/block_scout_web/lib/block_scout_web/views/transaction_view.ex b/apps/block_scout_web/lib/block_scout_web/views/transaction_view.ex index 1ed50d28ab..d1600a1729 100644 --- a/apps/block_scout_web/lib/block_scout_web/views/transaction_view.ex +++ b/apps/block_scout_web/lib/block_scout_web/views/transaction_view.ex @@ -101,6 +101,9 @@ defmodule BlockScoutWeb.TransactionView do %Block{consensus: true} -> {:ok, confirmations} = Chain.confirmations(block, named_arguments) Cldr.Number.to_string!(confirmations, format: "#,###") + + %Block{consensus: false} -> + 0 end end From fb2c8f04f6c16bf57cb3d897ee41e60ebc888df5 Mon Sep 17 00:00:00 2001 From: Ayrat Badykov Date: Tue, 30 Jul 2019 14:47:27 +0300 Subject: [PATCH 02/48] add CHANGELOG entry --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8735521814..38ba2b3183 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ### Features ### Fixes +- [#2468](https://github.com/poanetwork/blockscout/pull/2468) - fix confirmations for non consensus blocks ### Chore - [#2434](https://github.com/poanetwork/blockscout/pull/2434) - get rid of timex warnings From 36821eb9620c9334efccc3c4363d1ce20f9ac23b Mon Sep 17 00:00:00 2001 From: Ayrat Badykov Date: Tue, 30 Jul 2019 14:51:35 +0300 Subject: [PATCH 03/48] fix gettext --- .../priv/gettext/en/LC_MESSAGES/default.po | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po b/apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po index 58e159d0bb..3a03d4deeb 100644 --- a/apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po +++ b/apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po @@ -49,7 +49,7 @@ msgid "%{subnetwork} Explorer - BlockScout" msgstr "" #, elixir-format -#: lib/block_scout_web/views/transaction_view.ex:144 +#: lib/block_scout_web/views/transaction_view.ex:147 msgid "(Awaiting internal transactions for status)" msgstr "" @@ -276,12 +276,12 @@ msgid "Contract Address Pending" msgstr "" #, elixir-format -#: lib/block_scout_web/views/transaction_view.ex:221 +#: lib/block_scout_web/views/transaction_view.ex:224 msgid "Contract Call" msgstr "" #, elixir-format -#: lib/block_scout_web/views/transaction_view.ex:220 +#: lib/block_scout_web/views/transaction_view.ex:223 msgid "Contract Creation" msgstr "" @@ -356,12 +356,12 @@ msgid "Error trying to fetch balances." msgstr "" #, elixir-format -#: lib/block_scout_web/views/transaction_view.ex:148 +#: lib/block_scout_web/views/transaction_view.ex:151 msgid "Error: %{reason}" msgstr "" #, elixir-format -#: lib/block_scout_web/views/transaction_view.ex:146 +#: lib/block_scout_web/views/transaction_view.ex:149 msgid "Error: (Awaiting internal transactions for reason)" msgstr "" @@ -466,7 +466,7 @@ msgstr "" #: lib/block_scout_web/templates/transaction/_tabs.html.eex:11 #: lib/block_scout_web/templates/transaction_internal_transaction/index.html.eex:6 #: lib/block_scout_web/views/address_view.ex:306 -#: lib/block_scout_web/views/transaction_view.ex:274 +#: lib/block_scout_web/views/transaction_view.ex:277 msgid "Internal Transactions" msgstr "" @@ -493,7 +493,7 @@ msgstr "" #: lib/block_scout_web/templates/transaction/_tabs.html.eex:17 #: lib/block_scout_web/templates/transaction_log/index.html.eex:8 #: lib/block_scout_web/views/address_view.ex:312 -#: lib/block_scout_web/views/transaction_view.ex:275 +#: lib/block_scout_web/views/transaction_view.ex:278 msgid "Logs" msgstr "" @@ -506,8 +506,8 @@ msgid "Market Cap" msgstr "" #, elixir-format -#: lib/block_scout_web/views/transaction_view.ex:129 -#: lib/block_scout_web/views/transaction_view.ex:129 +#: lib/block_scout_web/views/transaction_view.ex:132 +#: lib/block_scout_web/views/transaction_view.ex:132 msgid "Max of" msgstr "" @@ -598,8 +598,8 @@ msgstr "" #, elixir-format #: lib/block_scout_web/templates/layout/_topnav.html.eex:54 -#: lib/block_scout_web/views/transaction_view.ex:143 -#: lib/block_scout_web/views/transaction_view.ex:177 +#: lib/block_scout_web/views/transaction_view.ex:146 +#: lib/block_scout_web/views/transaction_view.ex:180 msgid "Pending" msgstr "" @@ -686,7 +686,7 @@ msgstr "" #, elixir-format #: lib/block_scout_web/templates/transaction/_emission_reward_tile.html.eex:8 -#: lib/block_scout_web/views/transaction_view.ex:145 +#: lib/block_scout_web/views/transaction_view.ex:148 msgid "Success" msgstr "" @@ -791,7 +791,7 @@ msgstr "" #, elixir-format #: lib/block_scout_web/templates/tokens/transfer/_token_transfer.html.eex:5 #: lib/block_scout_web/templates/transaction_token_transfer/_token_transfer.html.eex:4 -#: lib/block_scout_web/views/transaction_view.ex:219 +#: lib/block_scout_web/views/transaction_view.ex:222 msgid "Token Transfer" msgstr "" @@ -801,7 +801,7 @@ msgstr "" #: lib/block_scout_web/templates/transaction/_tabs.html.eex:4 #: lib/block_scout_web/templates/transaction_token_transfer/index.html.eex:7 #: lib/block_scout_web/views/tokens/overview_view.ex:35 -#: lib/block_scout_web/views/transaction_view.ex:273 +#: lib/block_scout_web/views/transaction_view.ex:276 msgid "Token Transfers" msgstr "" @@ -835,7 +835,7 @@ msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_logs/_logs.html.eex:3 -#: lib/block_scout_web/views/transaction_view.ex:222 +#: lib/block_scout_web/views/transaction_view.ex:225 msgid "Transaction" msgstr "" @@ -1496,7 +1496,7 @@ msgstr "" #, elixir-format #: lib/block_scout_web/templates/transaction/_tabs.html.eex:24 #: lib/block_scout_web/templates/transaction_raw_trace/index.html.eex:7 -#: lib/block_scout_web/views/transaction_view.ex:276 +#: lib/block_scout_web/views/transaction_view.ex:279 msgid "Raw Trace" msgstr "" From 0c57f638463b980ac030e87cf78ec39bc60afb94 Mon Sep 17 00:00:00 2001 From: Ayrat Badykov Date: Tue, 30 Jul 2019 14:51:45 +0300 Subject: [PATCH 04/48] fix gettext --- apps/block_scout_web/priv/gettext/default.pot | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/apps/block_scout_web/priv/gettext/default.pot b/apps/block_scout_web/priv/gettext/default.pot index e356d87df9..22f79e99ec 100644 --- a/apps/block_scout_web/priv/gettext/default.pot +++ b/apps/block_scout_web/priv/gettext/default.pot @@ -49,7 +49,7 @@ msgid "%{subnetwork} Explorer - BlockScout" msgstr "" #, elixir-format -#: lib/block_scout_web/views/transaction_view.ex:144 +#: lib/block_scout_web/views/transaction_view.ex:147 msgid "(Awaiting internal transactions for status)" msgstr "" @@ -276,12 +276,12 @@ msgid "Contract Address Pending" msgstr "" #, elixir-format -#: lib/block_scout_web/views/transaction_view.ex:221 +#: lib/block_scout_web/views/transaction_view.ex:224 msgid "Contract Call" msgstr "" #, elixir-format -#: lib/block_scout_web/views/transaction_view.ex:220 +#: lib/block_scout_web/views/transaction_view.ex:223 msgid "Contract Creation" msgstr "" @@ -356,12 +356,12 @@ msgid "Error trying to fetch balances." msgstr "" #, elixir-format -#: lib/block_scout_web/views/transaction_view.ex:148 +#: lib/block_scout_web/views/transaction_view.ex:151 msgid "Error: %{reason}" msgstr "" #, elixir-format -#: lib/block_scout_web/views/transaction_view.ex:146 +#: lib/block_scout_web/views/transaction_view.ex:149 msgid "Error: (Awaiting internal transactions for reason)" msgstr "" @@ -466,7 +466,7 @@ msgstr "" #: lib/block_scout_web/templates/transaction/_tabs.html.eex:11 #: lib/block_scout_web/templates/transaction_internal_transaction/index.html.eex:6 #: lib/block_scout_web/views/address_view.ex:306 -#: lib/block_scout_web/views/transaction_view.ex:274 +#: lib/block_scout_web/views/transaction_view.ex:277 msgid "Internal Transactions" msgstr "" @@ -493,7 +493,7 @@ msgstr "" #: lib/block_scout_web/templates/transaction/_tabs.html.eex:17 #: lib/block_scout_web/templates/transaction_log/index.html.eex:8 #: lib/block_scout_web/views/address_view.ex:312 -#: lib/block_scout_web/views/transaction_view.ex:275 +#: lib/block_scout_web/views/transaction_view.ex:278 msgid "Logs" msgstr "" @@ -506,8 +506,8 @@ msgid "Market Cap" msgstr "" #, elixir-format -#: lib/block_scout_web/views/transaction_view.ex:129 -#: lib/block_scout_web/views/transaction_view.ex:129 +#: lib/block_scout_web/views/transaction_view.ex:132 +#: lib/block_scout_web/views/transaction_view.ex:132 msgid "Max of" msgstr "" @@ -598,8 +598,8 @@ msgstr "" #, elixir-format #: lib/block_scout_web/templates/layout/_topnav.html.eex:54 -#: lib/block_scout_web/views/transaction_view.ex:143 -#: lib/block_scout_web/views/transaction_view.ex:177 +#: lib/block_scout_web/views/transaction_view.ex:146 +#: lib/block_scout_web/views/transaction_view.ex:180 msgid "Pending" msgstr "" @@ -686,7 +686,7 @@ msgstr "" #, elixir-format #: lib/block_scout_web/templates/transaction/_emission_reward_tile.html.eex:8 -#: lib/block_scout_web/views/transaction_view.ex:145 +#: lib/block_scout_web/views/transaction_view.ex:148 msgid "Success" msgstr "" @@ -791,7 +791,7 @@ msgstr "" #, elixir-format #: lib/block_scout_web/templates/tokens/transfer/_token_transfer.html.eex:5 #: lib/block_scout_web/templates/transaction_token_transfer/_token_transfer.html.eex:4 -#: lib/block_scout_web/views/transaction_view.ex:219 +#: lib/block_scout_web/views/transaction_view.ex:222 msgid "Token Transfer" msgstr "" @@ -801,7 +801,7 @@ msgstr "" #: lib/block_scout_web/templates/transaction/_tabs.html.eex:4 #: lib/block_scout_web/templates/transaction_token_transfer/index.html.eex:7 #: lib/block_scout_web/views/tokens/overview_view.ex:35 -#: lib/block_scout_web/views/transaction_view.ex:273 +#: lib/block_scout_web/views/transaction_view.ex:276 msgid "Token Transfers" msgstr "" @@ -835,7 +835,7 @@ msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_logs/_logs.html.eex:3 -#: lib/block_scout_web/views/transaction_view.ex:222 +#: lib/block_scout_web/views/transaction_view.ex:225 msgid "Transaction" msgstr "" @@ -1495,7 +1495,7 @@ msgstr "" #, elixir-format #: lib/block_scout_web/templates/transaction/_tabs.html.eex:24 #: lib/block_scout_web/templates/transaction_raw_trace/index.html.eex:7 -#: lib/block_scout_web/views/transaction_view.ex:276 +#: lib/block_scout_web/views/transaction_view.ex:279 msgid "Raw Trace" msgstr "" From 86aae1f61be2075e2307f820783566b8f4c6a009 Mon Sep 17 00:00:00 2001 From: Ayrat Badykov Date: Thu, 8 Aug 2019 11:23:44 +0300 Subject: [PATCH 05/48] fix gettext --- apps/block_scout_web/priv/gettext/default.pot | 1492 +++++++------- .../priv/gettext/en/LC_MESSAGES/default.po | 1816 +++++++++++++++++ 2 files changed, 2594 insertions(+), 714 deletions(-) diff --git a/apps/block_scout_web/priv/gettext/default.pot b/apps/block_scout_web/priv/gettext/default.pot index 81f785d886..36a85cffcd 100644 --- a/apps/block_scout_web/priv/gettext/default.pot +++ b/apps/block_scout_web/priv/gettext/default.pot @@ -12,6 +12,16 @@ msgid_plural "%{count} transactions" msgstr[0] "" msgstr[1] "" +#, elixir-format +#: lib/block_scout_web/templates/transaction/overview.html.eex:178 +msgid " Token Transfer" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/eth_rpc.html.eex:14 +msgid " is recommended." +msgstr "" + #, elixir-format #: lib/block_scout_web/templates/address/_metatags.html.eex:3 msgid "%{address} - %{subnetwork} Explorer" @@ -48,6 +58,11 @@ msgstr "" msgid "%{subnetwork} Explorer - BlockScout" msgstr "" +#, elixir-format +#: lib/block_scout_web/views/transaction_view.ex:166 +msgid "(Awaiting internal transactions for status)" +msgstr "" + #, elixir-format #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:59 #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:70 @@ -61,6 +76,11 @@ msgstr "" msgid "- We're indexing this chain right now. Some of the counts may be inaccurate." msgstr "" +#, elixir-format +#: lib/block_scout_web/templates/address/overview.html.eex:75 +msgid ">=" +msgstr "" + #, elixir-format #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:73 msgid "A string with the name of the action to be invoked." @@ -71,6 +91,16 @@ msgstr "" msgid "A string with the name of the module to be invoked." msgstr "" +#, elixir-format +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:104 +msgid "ABI-encoded Constructor Arguments (if required by the contract)" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/index.html.eex:4 +msgid "API Documentation" +msgstr "" + #, elixir-format #: lib/block_scout_web/templates/api_docs/_metatags.html.eex:4 msgid "API endpoints for the %{subnetwork}" @@ -81,6 +111,11 @@ msgstr "" msgid "API for the %{subnetwork} - BlockScout" msgstr "" +#, elixir-format +#: lib/block_scout_web/templates/layout/_topnav.html.eex:78 +msgid "APIs" +msgstr "" + #, elixir-format #: lib/block_scout_web/templates/layout/_topnav.html.eex:70 msgid "Accounts" @@ -113,22 +148,42 @@ msgstr "" msgid "All" msgstr "" +#, elixir-format +#: lib/block_scout_web/templates/api_docs/eth_rpc.html.eex:15 +msgid "Anything not in this list is not supported. Click on the method to be taken to the documentation for that method, and check the notes section for any potential differences." +msgstr "" + #, elixir-format #: lib/block_scout_web/templates/chain/show.html.eex:47 msgid "Average block time" msgstr "" +#, elixir-format +#: lib/block_scout_web/templates/transaction/not_found.html.eex:30 +msgid "Back Home" +msgstr "" + #, elixir-format #: lib/block_scout_web/templates/address/_balance_card.html.eex:3 msgid "Balance" msgstr "" +#, elixir-format +#: lib/block_scout_web/templates/address_coin_balance/index.html.eex:14 +msgid "Balances" +msgstr "" + #, elixir-format #: lib/block_scout_web/templates/api_docs/eth_rpc.html.eex:5 #: lib/block_scout_web/templates/api_docs/index.html.eex:5 msgid "Base URL:" msgstr "" +#, elixir-format +#: lib/block_scout_web/templates/address_coin_balance/_coin_balances.html.eex:8 +msgid "Block" +msgstr "" + #, elixir-format #: lib/block_scout_web/templates/block/_link.html.eex:2 #: lib/block_scout_web/templates/internal_transaction/_tile.html.eex:29 @@ -146,6 +201,11 @@ msgstr "" msgid "Block Confirmations" msgstr "" +#, elixir-format +#: lib/block_scout_web/templates/block_transaction/404.html.eex:7 +msgid "Block Details" +msgstr "" + #, elixir-format #: lib/block_scout_web/templates/block/overview.html.eex:13 msgid "Block Height: %{height}" @@ -166,6 +226,16 @@ msgstr "" msgid "Block Pending" msgstr "" +#, elixir-format +#: lib/block_scout_web/templates/block/overview.html.eex:139 +msgid "Block Rewards" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/block_transaction_view.ex:15 +msgid "Block not found, please try again later." +msgstr "" + #, elixir-format #: lib/block_scout_web/templates/chain/_metatags.html.eex:4 msgid "BlockScout provides analytics data, API, and Smart Contract tools for the %{subnetwork}" @@ -191,12 +261,43 @@ msgstr "" msgid "Blocks Validated" msgstr "" +#, elixir-format +#: lib/block_scout_web/templates/layout/_footer.html.eex:17 +msgid "Blockscout is a tool for inspecting and analyzing EVM based blockchains. Blockchain explorer for Ethereum Networks." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_token/index.html.eex:28 +#: lib/block_scout_web/templates/address_transaction/index.html.eex:74 +msgid "CSV" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/internal_transaction_view.ex:21 +msgid "Call" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/internal_transaction_view.ex:22 +msgid "Call Code" +msgstr "" + #, elixir-format #: lib/block_scout_web/templates/address_contract_verification/new.html.eex:253 #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:47 msgid "Cancel" msgstr "" +#, elixir-format +#: lib/block_scout_web/templates/layout/_network_selector.html.eex:11 +msgid "Change Network" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_footer.html.eex:36 +msgid "Chat" +msgstr "" + #, elixir-format #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:137 msgid "Clear" @@ -219,6 +320,12 @@ msgstr "" msgid "Code" msgstr "" +#, elixir-format +#: lib/block_scout_web/templates/address/_tabs.html.eex:20 +#: lib/block_scout_web/views/address_view.ex:310 +msgid "Coin Balance History" +msgstr "" + #, elixir-format #: lib/block_scout_web/templates/address_contract_verification/new.html.eex:40 msgid "Compiler" @@ -229,6 +336,11 @@ msgstr "" msgid "Compiler version" msgstr "" +#, elixir-format +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:4 +msgid "Connection Lost" +msgstr "" + #, elixir-format #: lib/block_scout_web/templates/address_coin_balance/index.html.eex:10 #: lib/block_scout_web/templates/block/index.html.eex:6 @@ -252,6 +364,11 @@ msgstr "" msgid "Connection Lost, click to load newer validations" msgstr "" +#, elixir-format +#: lib/block_scout_web/templates/address_contract/index.html.eex:53 +msgid "Constructor Arguments" +msgstr "" + #, elixir-format #: lib/block_scout_web/templates/address_contract/index.html.eex:75 msgid "Contract ABI" @@ -270,919 +387,844 @@ msgstr "" msgid "Contract Address Pending" msgstr "" - #, elixir-format -#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:29 -msgid "Contract Name" +#: lib/block_scout_web/templates/address_contract/index.html.eex:105 +msgid "Contract Byte Code" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_contract/index.html.eex:26 -msgid "Contract name:" +#: lib/block_scout_web/views/transaction_view.ex:243 +msgid "Contract Call" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_contract/index.html.eex:63 -msgid "Contract source code" +#: lib/block_scout_web/views/transaction_view.ex:242 +msgid "Contract Creation" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address/overview.html.eex:13 -#: lib/block_scout_web/templates/address/overview.html.eex:17 -#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:16 -#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:20 -msgid "Copy Address" +#: lib/block_scout_web/templates/address_contract/index.html.eex:91 +msgid "Contract Creation Code" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/transaction/overview.html.eex:16 -msgid "Copy Transaction Hash" +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:118 +msgid "Contract Libraries" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/transaction/overview.html.eex:20 -msgid "Copy Txn Hash" +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:29 +msgid "Contract Name" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address/overview.html.eex:107 -msgid "Created by" +#: lib/block_scout_web/templates/address_contract/index.html.eex:26 +msgid "Contract name:" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:146 -msgid "Curl" +#: lib/block_scout_web/templates/address_contract/index.html.eex:63 +msgid "Contract source code" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:53 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:188 -msgid "Description" +#: lib/block_scout_web/templates/address_contract/index.html.eex:97 +msgid "Contracts that self destruct in their constructors have no contract code published and cannot be verified." msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address/overview.html.eex:8 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:166 -msgid "Details" +#: lib/block_scout_web/templates/layout/_footer.html.eex:35 +msgid "Contribute" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/block/overview.html.eex:58 -msgid "Difficulty" +#: lib/block_scout_web/templates/address_contract/index.html.eex:77 +msgid "Copy ABI" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/smart_contract/_functions.html.eex:50 -msgid "ETH" +#: lib/block_scout_web/templates/address/overview.html.eex:13 +#: lib/block_scout_web/templates/address/overview.html.eex:17 +#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:16 +#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:20 +msgid "Copy Address" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address/_balance_card.html.eex:32 -msgid "Error trying to fetch balances." +#: lib/block_scout_web/templates/address_contract/index.html.eex:107 +msgid "Copy Contract Byte Code" msgstr "" - #, elixir-format -#: lib/block_scout_web/templates/address/_balance_card.html.eex:15 -#: lib/block_scout_web/templates/internal_transaction/_tile.html.eex:21 -#: lib/block_scout_web/templates/layout/app.html.eex:56 -#: lib/block_scout_web/templates/transaction/_pending_tile.html.eex:20 -#: lib/block_scout_web/templates/transaction/_tile.html.eex:30 -#: lib/block_scout_web/templates/transaction/overview.html.eex:196 -#: lib/block_scout_web/views/wei_helpers.ex:78 -msgid "Ether" +#: lib/block_scout_web/templates/address_contract/index.html.eex:93 +msgid "Copy Contract Creation Code" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:211 -msgid "Example Value" +#: lib/block_scout_web/templates/address_decompiled_contract/index.html.eex:17 +msgid "Copy Decompiled Contract Code" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:128 -msgid "Execute" +#: lib/block_scout_web/templates/address_contract/index.html.eex:65 +msgid "Copy Source Code" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address/_balance_card.html.eex:29 -msgid "Fetching tokens..." +#: lib/block_scout_web/templates/transaction/overview.html.eex:16 +msgid "Copy Transaction Hash" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/layout/_topnav.html.eex:40 -msgid "Forked Blocks (Reorgs)" +#: lib/block_scout_web/templates/transaction/overview.html.eex:20 +msgid "Copy Txn Hash" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:44 -#: lib/block_scout_web/templates/address_transaction/index.html.eex:40 -#: lib/block_scout_web/views/address_internal_transaction_view.ex:7 -#: lib/block_scout_web/views/address_transaction_view.ex:7 -msgid "From" +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:63 +#: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:31 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:65 +msgid "Copy Value" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:18 -msgid "GET" +#: lib/block_scout_web/views/internal_transaction_view.ex:25 +msgid "Create" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/block/_tile.html.eex:56 -#: lib/block_scout_web/templates/block/overview.html.eex:105 -#: lib/block_scout_web/templates/block/overview.html.eex:152 -msgid "Gas Limit" +#: lib/block_scout_web/views/internal_transaction_view.ex:26 +msgid "Create2" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/block/_tile.html.eex:61 -#: lib/block_scout_web/templates/block/overview.html.eex:98 -#: lib/block_scout_web/templates/block/overview.html.eex:146 -msgid "Gas Used" +#: lib/block_scout_web/templates/address/overview.html.eex:107 +msgid "Created by" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/layout/_footer.html.eex:19 -msgid "Github" +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:146 +msgid "Curl" msgstr "" #, elixir-format -#: lib/block_scout_web/views/block_view.ex:20 -#: lib/block_scout_web/views/wei_helpers.ex:77 -msgid "Gwei" +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:53 +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:118 +#: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:21 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:55 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:121 +msgid "Data" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/block/overview.html.eex:38 -msgid "Hash" +#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:63 +msgid "Decimals" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/internal_transaction/_tile.html.eex:39 -#: lib/block_scout_web/templates/transaction/_tile.html.eex:74 -msgid "IN" +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:16 +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:28 +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:34 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:16 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:28 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:36 +msgid "Decoded" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/layout/app.html.eex:52 -msgid "Indexing Tokens" +#: lib/block_scout_web/views/address_view.ex:308 +msgid "Decompiled Code" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/transaction/_decoded_input.html.eex:3 -msgid "Input" -msgstr "" - -#, elixir-format -#: lib/block_scout_web/templates/internal_transaction/_tile.html.eex:6 -msgid "Internal Transaction" -msgstr "" - -#, elixir-format -#: lib/block_scout_web/templates/address/_tabs.html.eex:14 -#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:19 -#: lib/block_scout_web/templates/transaction/_tabs.html.eex:11 -#: lib/block_scout_web/templates/transaction_internal_transaction/index.html.eex:6 -#: lib/block_scout_web/views/address_view.ex:306 -msgid "Internal Transactions" -msgstr "" - -#, elixir-format -#: lib/block_scout_web/templates/tokens/inventory/index.html.eex:16 -#: lib/block_scout_web/templates/tokens/overview/_tabs.html.eex:17 -#: lib/block_scout_web/views/tokens/overview_view.ex:38 -msgid "Inventory" -msgstr "" - -#, elixir-format -#: lib/block_scout_web/templates/layout/app.html.eex:53 -msgid "Less than" -msgstr "" - -#, elixir-format -#: lib/block_scout_web/templates/transaction/overview.html.eex:224 -msgid "Limit" -msgstr "" - -#, elixir-format -#: lib/block_scout_web/templates/address/_tabs.html.eex:26 -#: lib/block_scout_web/templates/address_logs/index.html.eex:8 -#: lib/block_scout_web/templates/transaction/_tabs.html.eex:17 -#: lib/block_scout_web/templates/transaction_log/index.html.eex:8 -#: lib/block_scout_web/views/address_view.ex:312 -msgid "Logs" -msgstr "" - -#, elixir-format -#: lib/block_scout_web/templates/chain/show.html.eex:31 -#: lib/block_scout_web/templates/layout/app.html.eex:54 -#: lib/block_scout_web/views/address_view.ex:121 -#: lib/block_scout_web/views/address_view.ex:121 -msgid "Market Cap" -msgstr "" -r -msgid "Max of" -msgstr "" - -#, elixir-format -#: lib/block_scout_web/templates/block/_tile.html.eex:38 -#: lib/block_scout_web/templates/block/overview.html.eex:121 -#: lib/block_scout_web/templates/chain/_block.html.eex:15 -msgid "Miner" -msgstr "" - -#, elixir-format -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:223 -msgid "Model" -msgstr "" - -#, elixir-format -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:58 -msgid "Module" +#: lib/block_scout_web/templates/address/_tabs.html.eex:52 +msgid "Decompiled code" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:10 -msgid "More internal transactions have come in" +#: lib/block_scout_web/templates/address_decompiled_contract/index.html.eex:15 +msgid "Decompiled contract code" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/chain/show.html.eex:111 -#: lib/block_scout_web/templates/pending_transaction/index.html.eex:10 -#: lib/block_scout_web/templates/transaction/index.html.eex:10 -msgid "More transactions have come in" +#: lib/block_scout_web/templates/address_decompiled_contract/index.html.eex:8 +msgid "Decompiler version" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:63 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:74 -msgid "Must be set to:" +#: lib/block_scout_web/views/internal_transaction_view.ex:23 +msgid "Delegate Call" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_logs/_logs.html.eex:50 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:52 -#: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:19 -#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:52 -msgid "Name" +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:53 +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:188 +msgid "Description" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:67 -msgid "No" +#: lib/block_scout_web/templates/address/overview.html.eex:8 +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:166 +msgid "Details" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/block/overview.html.eex:73 -#: lib/block_scout_web/templates/transaction/overview.html.eex:79 -msgid "Nonce" +#: lib/block_scout_web/templates/block/overview.html.eex:58 +msgid "Difficulty" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/internal_transaction/_tile.html.eex:37 -#: lib/block_scout_web/templates/transaction/_tile.html.eex:70 -msgid "OUT" +#: lib/block_scout_web/templates/address_contract/index.html.eex:98 +msgid "Displaying the init data provided of the creating transaction." msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_contract/index.html.eex:30 -msgid "Optimization enabled" +#: lib/block_scout_web/templates/transaction/not_found.html.eex:22 +msgid "During times when the network is busy (i.e during ICOs) it can take a while for your transaction to propagate through the network and for us to index it." msgstr "" #, elixir-format -#: lib/block_scout_web/templates/tokens/inventory/_token.html.eex:18 -msgid "Owner Address" +#: lib/block_scout_web/views/transaction_view.ex:63 +msgid "ERC-20 " msgstr "" #, elixir-format -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:19 -msgid "POST" +#: lib/block_scout_web/views/transaction_view.ex:64 +msgid "ERC-721 " msgstr "" #, elixir-format -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:33 -msgid "Parameters" +#: lib/block_scout_web/templates/smart_contract/_functions.html.eex:50 +msgid "ETH" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/block/overview.html.eex:45 -msgid "Parent Hash" -msgstr "" - - -msgid "Pending" +#: lib/block_scout_web/templates/api_docs/eth_rpc.html.eex:4 +msgid "ETH RPC API Documentation" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/pending_transaction/index.html.eex:4 -msgid "Pending Transactions" +#: lib/block_scout_web/templates/address_contract/index.html.eex:45 +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:51 +msgid "EVM Version" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/block/overview.html.eex:84 -msgid "Position %{index}" +#: lib/block_scout_web/views/block_transaction_view.ex:7 +msgid "Easy Cowboy! This block does not exist yet!" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/chain/show.html.eex:24 -#: lib/block_scout_web/templates/layout/app.html.eex:55 -msgid "Price" +#: lib/block_scout_web/templates/transaction/_emission_reward_tile.html.eex:5 +msgid "Emission Contract" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address/overview.html.eex:33 -#: lib/block_scout_web/templates/address/overview.html.eex:145 -#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:36 -#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:106 -msgid "QR Code" +#: lib/block_scout_web/views/block_view.ex:60 +msgid "Emission Reward" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/smart_contract/_functions.html.eex:22 -msgid "Query" +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:93 +msgid "Enter the Solidity Contract Code" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address/_tabs.html.eex:58 -#: lib/block_scout_web/templates/tokens/overview/_tabs.html.eex:25 -#: lib/block_scout_web/views/address_view.ex:309 -#: lib/block_scout_web/views/tokens/overview_view.ex:37 -msgid "Read Contract" +#: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:49 +msgid "Error rendering value" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:155 -msgid "Request URL" +#: lib/block_scout_web/templates/address/_balance_card.html.eex:32 +msgid "Error trying to fetch balances." msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:250 -msgid "Reset" +#: lib/block_scout_web/views/transaction_view.ex:170 +msgid "Error: %{reason}" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:173 -msgid "Response Body" +#: lib/block_scout_web/views/transaction_view.ex:168 +msgid "Error: (Awaiting internal transactions for reason)" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:185 -msgid "Responses" +#: lib/block_scout_web/templates/address/overview.html.eex:121 +msgid "Error: Could not determine contract creator." msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_logs/index.html.eex:14 -#: lib/block_scout_web/templates/layout/_topnav.html.eex:122 -#: lib/block_scout_web/templates/layout/_topnav.html.eex:139 -msgid "Search" +#: lib/block_scout_web/templates/layout/_topnav.html.eex:92 +msgid "Eth RPC" msgstr "" #, elixir-format -#: -#: lib/block_scout_web/templates/address_token_balance/_token_balances.html.eex:30 -msgid "Search tokens" +#: lib/block_scout_web/templates/address/_balance_card.html.eex:15 +#: lib/block_scout_web/templates/internal_transaction/_tile.html.eex:21 +#: lib/block_scout_web/templates/layout/app.html.eex:56 +#: lib/block_scout_web/templates/transaction/_pending_tile.html.eex:20 +#: lib/block_scout_web/templates/transaction/_tile.html.eex:30 +#: lib/block_scout_web/templates/transaction/overview.html.eex:196 +#: lib/block_scout_web/views/wei_helpers.ex:78 +msgid "Ether" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:163 -msgid "Server Response" +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:211 +msgid "Example Value" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address/overview.html.eex:34 -#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:37 -msgid "Show QR Code" -msgstr "" - -msgid "Success" +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:128 +msgid "Execute" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/transaction/_pending_tile.html.eex:21 -#: lib/block_scout_web/templates/transaction/_tile.html.eex:34 -#: lib/block_scout_web/templates/transaction/overview.html.eex:84 -msgid "TX Fee" +#: lib/block_scout_web/templates/address_contract/index.html.eex:120 +msgid "External libraries" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/layout/_footer.html.eex:25 -msgid "Telegram" +#: lib/block_scout_web/templates/transaction/_decoded_input.html.eex:32 +msgid "Failed to decode input data." msgstr "" #, elixir-format -#: lib/block_scout_web/templates/tokens/holder/index.html.eex:26 -msgid "There are no holders for this Token." +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:31 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:31 +msgid "Failed to decode log data." msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:65 -msgid "There are no internal transactions for this address." +#: lib/block_scout_web/templates/layout/_network_selector.html.eex:24 +msgid "Favorites" msgstr "" #, elixir-format -#: -#: lib/block_scout_web/templates/transaction_internal_transaction/index.html.eex:15 -msgid "There are no internal transactions for this transaction." +#: lib/block_scout_web/templates/address/_balance_card.html.eex:29 +msgid "Fetching tokens..." msgstr "" #, elixir-format -#: lib/block_scout_web/templates/transaction_log/index.html.eex:18 -msgid "There are no logs for this transaction." +#: lib/block_scout_web/templates/admin/dashboard/index.html.eex:16 +msgid "For any existing contracts in the database, insert all ABI entries into the contract_methods table. Use this in case you have verified smart contracts before early March 2019 and you want other contracts with the same functions to show those ABI's as candidate matches." msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_token_transfer/index.html.eex:15 -msgid "There are no token transfers for this address." +#: lib/block_scout_web/templates/layout/_topnav.html.eex:40 +msgid "Forked Blocks (Reorgs)" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_token/index.html.eex:18 -msgid "There are no tokens for this address." +#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:44 +#: lib/block_scout_web/templates/address_transaction/index.html.eex:40 +#: lib/block_scout_web/views/address_internal_transaction_view.ex:7 +#: lib/block_scout_web/views/address_transaction_view.ex:7 +msgid "From" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/tokens/inventory/index.html.eex:26 -msgid "There are no tokens." +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:18 +msgid "GET" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_transaction/index.html.eex:64 -msgid "There are no transactions for this address." +#: lib/block_scout_web/templates/transaction/overview.html.eex:214 +msgid "Gas" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/block_transaction/index.html.eex:28 -msgid "There are no transactions for this block." +#: lib/block_scout_web/templates/block/_tile.html.eex:56 +#: lib/block_scout_web/templates/block/overview.html.eex:105 +#: lib/block_scout_web/templates/block/overview.html.eex:152 +msgid "Gas Limit" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/tokens/transfer/index.html.eex:25 -msgid "There are no transfers for this Token." +#: lib/block_scout_web/templates/block/_tile.html.eex:61 +#: lib/block_scout_web/templates/block/overview.html.eex:98 +#: lib/block_scout_web/templates/block/overview.html.eex:146 +msgid "Gas Used" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/transaction/overview.html.eex:35 -msgid "This transaction is pending confirmation." +#: lib/block_scout_web/templates/block/overview.html.eex:13 +msgid "Genesis Block" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:33 -#: lib/block_scout_web/templates/address_transaction/index.html.eex:29 -#: lib/block_scout_web/views/address_internal_transaction_view.ex:6 -#: lib/block_scout_web/views/address_transaction_view.ex:6 -msgid "To" +#: lib/block_scout_web/templates/layout/_footer.html.eex:19 +msgid "Github" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/layout/_topnav.html.eex:20 -msgid "Toggle navigation" +#: lib/block_scout_web/templates/layout/_topnav.html.eex:82 +msgid "GraphQL" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:10 -msgid "Token Details" +#: lib/block_scout_web/views/block_view.ex:20 +#: lib/block_scout_web/views/wei_helpers.ex:77 +msgid "Gwei" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/tokens/holder/index.html.eex:16 -#: lib/block_scout_web/templates/tokens/overview/_tabs.html.eex:9 -#: lib/block_scout_web/views/tokens/overview_view.ex:36 -msgid "Token Holders" +#: lib/block_scout_web/templates/block/overview.html.eex:38 +msgid "Hash" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/tokens/inventory/_token.html.eex:11 -msgid "Token ID" +#: lib/block_scout_web/templates/transaction/overview.html.eex:115 +#: lib/block_scout_web/templates/transaction/overview.html.eex:119 +msgid "Hex (Default)" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address/_tabs.html.eex:8 -#: lib/block_scout_web/templates/address_token/index.html.eex:8 -#: lib/block_scout_web/templates/address_token_transfer/index.html.eex:9 -#: lib/block_scout_web/views/address_view.ex:304 -msgid "Tokens" +#: lib/block_scout_web/templates/api_docs/eth_rpc.html.eex:11 +msgid "However, in general, the" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address/_metatags.html.eex:13 -msgid "Top Accounts - %{subnetwork} Explorer" +#: lib/block_scout_web/templates/transaction/_decoded_input.html.eex:18 +msgid "IMPORTANT: This information is a best guess based on similar functions from other verified contracts." msgstr "" #, elixir-format -#: lib/block_scout_web/templates/block/overview.html.eex:67 -msgid "Total Difficulty" +#: lib/block_scout_web/templates/internal_transaction/_tile.html.eex:39 +#: lib/block_scout_web/templates/transaction/_tile.html.eex:74 +msgid "IN" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:75 -msgid "Total Supply" +#: lib/block_scout_web/templates/transaction/not_found.html.eex:26 +msgid "If it still does not show up after 1 hour, please check with your sender/exchange/wallet/transaction provider for additional information." msgstr "" #, elixir-format -#: lib/block_scout_web/templates/chain/show.html.eex:56 -msgid "Total transactions" +#: lib/block_scout_web/templates/transaction/not_found.html.eex:12 +msgid "If you have just submitted this transaction please wait for at least 30 seconds before refreshing this page." msgstr "" #, elixir-format -#: lib/block_scout_web/templates/transaction/_metatags.html.eex:3 -msgid "Transaction %{transaction} - %{subnetwork} Explorer" +#: lib/block_scout_web/templates/address/overview.html.eex:79 +msgid "Incoming Transactions" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/transaction/_metatags.html.eex:11 -msgid "Transaction %{transaction}, %{subnetwork} %{transaction}" +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:52 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:54 +msgid "Indexed?" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/transaction/overview.html.eex:11 -msgid "Transaction Details" +#: lib/block_scout_web/templates/layout/app.html.eex:52 +msgid "Indexing Tokens" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address/_tabs.html.eex:3 -#: lib/block_scout_web/templates/address_transaction/index.html.eex:15 -#: lib/block_scout_web/templates/block_transaction/index.html.eex:10 -#: lib/block_scout_web/templates/block_transaction/index.html.eex:18 -#: lib/block_scout_web/templates/chain/show.html.eex:108 -#: lib/block_scout_web/templates/layout/_topnav.html.eex:49 -#: lib/block_scout_web/views/address_view.ex:305 -msgid "Transactions" +#: lib/block_scout_web/templates/transaction/_decoded_input.html.eex:3 +msgid "Input" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address/_tile.html.eex:31 -msgid "Transactions sent" +#: lib/block_scout_web/templates/internal_transaction/_tile.html.eex:6 +msgid "Internal Transaction" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:61 -msgid "Transfers" +#: lib/block_scout_web/templates/address/_tabs.html.eex:14 +#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:19 +#: lib/block_scout_web/templates/transaction/_tabs.html.eex:11 +#: lib/block_scout_web/templates/transaction_internal_transaction/index.html.eex:6 +#: lib/block_scout_web/views/address_view.ex:306 +#: lib/block_scout_web/views/transaction_view.ex:296 +msgid "Internal Transactions" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:40 -msgid "Try it out" +#: lib/block_scout_web/templates/transaction/invalid.html.eex:6 +msgid "Invalid Transaction Hash" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/layout/_footer.html.eex:22 -msgid "Twitter" +#: lib/block_scout_web/templates/tokens/inventory/index.html.eex:16 +#: lib/block_scout_web/templates/tokens/overview/_tabs.html.eex:17 +#: lib/block_scout_web/views/tokens/overview_view.ex:38 +msgid "Inventory" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/block/overview.html.eex:80 -#: lib/block_scout_web/templates/layout/_topnav.html.eex:37 -msgid "Uncles" +#: lib/block_scout_web/templates/transaction/not_found.html.eex:16 +msgid "It could still be in the TX Pool of a different node, waiting to be broadcasted." msgstr "" #, elixir-format -#: lib/block_scout_web/templates/tokens/inventory/_token.html.eex:6 -msgid "Unique Token" +#: lib/block_scout_web/templates/address/overview.html.eex:89 +msgid "Last Balance Update: Block #" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/transaction/overview.html.eex:218 -msgid "Used" +#: lib/block_scout_web/templates/layout/app.html.eex:53 +msgid "Less than" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/layout/_topnav.html.eex:53 -msgid "Validated" +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:133 +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:155 +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:177 +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:199 +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:221 +msgid "Library Address" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/transaction/index.html.eex:4 -msgid "Validated Transactions" +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:123 +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:145 +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:167 +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:189 +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:211 +msgid "Library Name" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address/_tile.html.eex:35 -msgid "Validations" +#: lib/block_scout_web/templates/address/_validator_metadata_modal.html.eex:24 +msgid "License Expires" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/transaction/overview.html.eex:196 -msgid "Value" +#: lib/block_scout_web/templates/address/_validator_metadata_modal.html.eex:10 +msgid "License ID" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_contract/index.html.eex:11 -#: lib/block_scout_web/templates/address_contract/index.html.eex:16 -msgid "Verify & Publish" +#: lib/block_scout_web/templates/transaction/overview.html.eex:224 +msgid "Limit" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:249 -msgid "Verify & publish" +#: lib/block_scout_web/templates/address_coin_balance/index.html.eex:22 +#: lib/block_scout_web/templates/chain/show.html.eex:13 +msgid "Loading chart" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:55 -msgid "View Contract" +#: lib/block_scout_web/templates/address_read_contract/index.html.eex:14 +#: lib/block_scout_web/templates/chain/show.html.eex:99 +#: lib/block_scout_web/templates/tokens/read_contract/index.html.eex:21 +msgid "Loading..." msgstr "" #, elixir-format -#: lib/block_scout_web/templates/transaction/_tile.html.eex:55 -msgid "View Less Transfers" +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:247 +msgid "Loading...." msgstr "" #, elixir-format -#: lib/block_scout_web/templates/transaction/_tile.html.eex:54 -msgid "View More Transfers" +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:47 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:49 +msgid "Log Data" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address/_metatags.html.eex:9 -msgid "View the account balance, transactions, and other data for %{address} on the %{network}" +#: lib/block_scout_web/templates/address/_tabs.html.eex:26 +#: lib/block_scout_web/templates/address_logs/index.html.eex:8 +#: lib/block_scout_web/templates/transaction/_tabs.html.eex:17 +#: lib/block_scout_web/templates/transaction_log/index.html.eex:8 +#: lib/block_scout_web/views/address_view.ex:312 +#: lib/block_scout_web/views/transaction_view.ex:297 +msgid "Logs" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/block/_metatags.html.eex:10 -msgid "View the transactions, token transfers, and uncles for block number %{block_number}" +#: lib/block_scout_web/templates/layout/_footer.html.eex:44 +msgid "Main Networks" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/transaction/_metatags.html.eex:10 -msgid "View transaction %{transaction} on %{subnetwork}" +#: lib/block_scout_web/templates/layout/_network_selector.html.eex:22 +msgid "Mainnet" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/smart_contract/_functions.html.eex:49 -msgid "WEI" +#: lib/block_scout_web/templates/chain/show.html.eex:31 +#: lib/block_scout_web/templates/layout/app.html.eex:54 +#: lib/block_scout_web/views/address_view.ex:121 +#: lib/block_scout_web/views/address_view.ex:121 +msgid "Market Cap" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/chain/show.html.eex:72 -msgid "Wallet addresses" +#: lib/block_scout_web/views/transaction_view.ex:151 +#: lib/block_scout_web/views/transaction_view.ex:151 +msgid "Max of" msgstr "" #, elixir-format -#: lib/block_scout_web/views/wei_helpers.ex:76 -msgid "Wei" +#: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:4 +msgid "Method Id" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:72 -msgid "Yes" +#: lib/block_scout_web/templates/block/_tile.html.eex:38 +#: lib/block_scout_web/templates/block/overview.html.eex:121 +#: lib/block_scout_web/templates/chain/_block.html.eex:15 +msgid "Miner" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address/overview.html.eex:113 -msgid "at" +#: lib/block_scout_web/views/block_view.ex:56 +msgid "Miner Reward" msgstr "" #, elixir-format -#: lib/block_scout_web/views/address_contract_view.ex:23 -msgid "false" +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:223 +msgid "Model" msgstr "" #, elixir-format #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:58 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:69 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:81 -msgid "required" +msgid "Module" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:59 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:70 -msgid "string" +#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:10 +msgid "More internal transactions have come in" msgstr "" #, elixir-format -#: lib/block_scout_web/views/address_contract_view.ex:22 -msgid "true" +#: lib/block_scout_web/templates/chain/show.html.eex:111 +#: lib/block_scout_web/templates/pending_transaction/index.html.eex:10 +#: lib/block_scout_web/templates/transaction/index.html.eex:10 +msgid "More transactions have come in" msgstr "" #, elixir-format -#: lib/block_scout_web/views/internal_transaction_view.ex:21 -msgid "Call" +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:63 +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:74 +msgid "Must be set to:" msgstr "" #, elixir-format -#: lib/block_scout_web/views/internal_transaction_view.ex:25 -msgid "Create" +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:50 +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:52 +#: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:19 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:52 +msgid "Name" msgstr "" #, elixir-format -#: lib/block_scout_web/views/internal_transaction_view.ex:23 -msgid "Delegate Call" +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:9 +msgid "New Smart Contract Verification" msgstr "" #, elixir-format -#: lib/block_scout_web/views/internal_transaction_view.ex:27 -msgid "Self-Destruct" +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:67 +msgid "No" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:63 -msgid "Decimals" +#: lib/block_scout_web/templates/block/overview.html.eex:73 +#: lib/block_scout_web/templates/transaction/overview.html.eex:79 +msgid "Nonce" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_read_contract/index.html.eex:14 -#: lib/block_scout_web/templates/chain/show.html.eex:99 -#: lib/block_scout_web/templates/tokens/read_contract/index.html.eex:21 -msgid "Loading..." +#: lib/block_scout_web/templates/internal_transaction/_tile.html.eex:37 +#: lib/block_scout_web/templates/transaction/_tile.html.eex:70 +msgid "OUT" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:247 -msgid "Loading...." +#: lib/block_scout_web/templates/address_contract/index.html.eex:30 +msgid "Optimization enabled" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/layout/_topnav.html.eex:78 -msgid "APIs" +#: lib/block_scout_web/templates/address_contract/index.html.eex:39 +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:83 +msgid "Optimization runs" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/layout/_topnav.html.eex:82 -msgid "GraphQL" +#: lib/block_scout_web/templates/layout/_footer.html.eex:68 +msgid "Other Explorers" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/layout/_topnav.html.eex:87 -msgid "RPC" +#: lib/block_scout_web/templates/tokens/inventory/_token.html.eex:18 +msgid "Owner Address" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/api_docs/index.html.eex:6 -msgid "This API is provided for developers transitioning their applications from Etherscan to BlockScout. It supports GET and POST requests." +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:19 +msgid "POST" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/transaction/overview.html.eex:109 -msgid "Raw Input" +#: +#: lib/block_scout_web/templates/common_components/_pagination_container.html.eex:40 +msgid "Page" msgstr "" #, elixir-format -#: lib/block_scout_web/views/block_transaction_view.ex:15 -msgid "Block not found, please try again later." +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:33 +msgid "Parameters" msgstr "" #, elixir-format -#: lib/block_scout_web/views/block_transaction_view.ex:7 -msgid "Easy Cowboy! This block does not exist yet!" +#: lib/block_scout_web/templates/block/overview.html.eex:45 +msgid "Parent Hash" msgstr "" #, elixir-format -#: lib/block_scout_web/views/block_transaction_view.ex:11 -msgid "This block has not been processed yet." +#: lib/block_scout_web/templates/layout/_topnav.html.eex:58 +#: lib/block_scout_web/views/transaction_view.ex:165 +#: lib/block_scout_web/views/transaction_view.ex:199 +msgid "Pending" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/transaction/invalid.html.eex:6 -msgid "Invalid Transaction Hash" +#: lib/block_scout_web/templates/pending_transaction/index.html.eex:4 +msgid "Pending Transactions" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/transaction/invalid.html.eex:8 -msgid "is not a valid transaction hash" +#: lib/block_scout_web/templates/block/overview.html.eex:84 +msgid "Position %{index}" msgstr "" #, elixir-format -#: lib/block_scout_web/views/internal_transaction_view.ex:22 -msgid "Call Code" +#: lib/block_scout_web/templates/transaction/_decoded_input.html.eex:17 +msgid "Potential matches from our contract method database:" msgstr "" #, elixir-format -#: lib/block_scout_web/views/internal_transaction_view.ex:24 -msgid "Static Call" +#: lib/block_scout_web/templates/chain/show.html.eex:24 +#: lib/block_scout_web/templates/layout/app.html.eex:55 +msgid "Price" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_logs/_logs.html.eex:16 -#: lib/block_scout_web/templates/address_logs/_logs.html.eex:28 -#: lib/block_scout_web/templates/address_logs/_logs.html.eex:34 -#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:16 -#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:28 -#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:36 -msgid "Decoded" +#: lib/block_scout_web/templates/address/overview.html.eex:33 +#: lib/block_scout_web/templates/address/overview.html.eex:145 +#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:36 +#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:106 +msgid "QR Code" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:4 -msgid "Method Id" +#: lib/block_scout_web/templates/smart_contract/_functions.html.eex:22 +msgid "Query" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_logs/_logs.html.eex:19 -#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:19 -msgid "To see decoded input data, the contract must be verified." +#: lib/block_scout_web/templates/layout/_topnav.html.eex:87 +msgid "RPC" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:2 -#: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:16 -msgid "Transaction Inputs" +#: lib/block_scout_web/templates/transaction/overview.html.eex:109 +msgid "Raw Input" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_logs/_logs.html.eex:22 -#: lib/block_scout_web/templates/transaction/_decoded_input.html.eex:11 -#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:22 -msgid "Verify the contract " +#: lib/block_scout_web/templates/transaction/_tabs.html.eex:24 +#: lib/block_scout_web/templates/transaction_raw_trace/index.html.eex:7 +#: lib/block_scout_web/views/transaction_view.ex:298 +msgid "Raw Trace" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_logs/_logs.html.eex:22 -#: lib/block_scout_web/templates/transaction/_decoded_input.html.eex:11 -#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:22 -msgid "here" +#: lib/block_scout_web/templates/address/_tabs.html.eex:58 +#: lib/block_scout_web/templates/tokens/overview/_tabs.html.eex:25 +#: lib/block_scout_web/views/address_view.ex:309 +#: lib/block_scout_web/views/tokens/overview_view.ex:37 +msgid "Read Contract" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/transaction/_decoded_input.html.eex:32 -msgid "Failed to decode input data." +#: +#: lib/block_scout_web/templates/common_components/_pagination_container.html.eex:11 +msgid "Records" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:49 -msgid "Error rendering value" +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:155 +msgid "Request URL" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_coin_balance/index.html.eex:34 -#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:61 -#: lib/block_scout_web/templates/address_logs/index.html.eex:21 -#: lib/block_scout_web/templates/address_token/index.html.eex:13 -#: lib/block_scout_web/templates/address_token_transfer/index.html.eex:20 -#: lib/block_scout_web/templates/address_transaction/index.html.eex:59 -#: lib/block_scout_web/templates/address_validation/index.html.eex:22 -#: lib/block_scout_web/templates/block_transaction/index.html.eex:23 -#: lib/block_scout_web/templates/chain/show.html.eex:91 -#: lib/block_scout_web/templates/pending_transaction/index.html.eex:19 -#: lib/block_scout_web/templates/tokens/holder/index.html.eex:21 -#: lib/block_scout_web/templates/tokens/inventory/index.html.eex:21 -#: lib/block_scout_web/templates/tokens/transfer/index.html.eex:20 -#: lib/block_scout_web/templates/transaction/index.html.eex:20 -#: lib/block_scout_web/templates/transaction_internal_transaction/index.html.eex:11 -#: lib/block_scout_web/templates/transaction_log/index.html.eex:13 -#: lib/block_scout_web/templates/transaction_token_transfer/index.html.eex:12 -msgid "Something went wrong, click to reload." +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:250 +msgid "Reset" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_validation/index.html.eex:18 -msgid "There are no blocks validated by this address." +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:173 +msgid "Response Body" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/transaction/index.html.eex:26 -msgid "There are no transactions." +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:185 +msgid "Responses" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_coin_balance/index.html.eex:14 -msgid "Balances" +#: lib/block_scout_web/templates/block/_tile.html.eex:47 +#: lib/block_scout_web/templates/chain/_block.html.eex:23 +#: lib/block_scout_web/views/internal_transaction_view.ex:28 +msgid "Reward" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_coin_balance/_coin_balances.html.eex:8 -msgid "Block" +#: lib/block_scout_web/templates/admin/dashboard/index.html.eex:21 +msgid "Run" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address/_tabs.html.eex:20 -#: lib/block_scout_web/views/address_view.ex:310 -msgid "Coin Balance History" +#: lib/block_scout_web/templates/address_logs/index.html.eex:14 +#: lib/block_scout_web/templates/layout/_topnav.html.eex:122 +#: lib/block_scout_web/templates/layout/_topnav.html.eex:139 +msgid "Search" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_coin_balance/index.html.eex:22 -#: lib/block_scout_web/templates/chain/show.html.eex:13 -msgid "Loading chart" +#: lib/block_scout_web/templates/layout/_topnav.html.eex:116 +#: lib/block_scout_web/templates/layout/_topnav.html.eex:120 +msgid "Search by address, token symbol name, transaction hash, or block number" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_coin_balance/index.html.eex:39 -msgid "There is no coin history for this address." +#: lib/block_scout_web/templates/layout/_network_selector.html.eex:18 +msgid "Search network" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_coin_balance/index.html.eex:25 -#: lib/block_scout_web/templates/chain/show.html.eex:16 -msgid "There was a problem loading the chart." +#: +#: lib/block_scout_web/templates/address_token_balance/_token_balances.html.eex:30 +msgid "Search tokens" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/pending_transaction/index.html.eex:23 -msgid "There are no pending transactions." +#: lib/block_scout_web/views/internal_transaction_view.ex:27 +msgid "Self-Destruct" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/block/index.html.eex:18 -msgid "There are no blocks." +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:163 +msgid "Server Response" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address/_validator_metadata_modal.html.eex:24 -msgid "License Expires" +#: +#: lib/block_scout_web/templates/common_components/_pagination_container.html.eex:5 +msgid "Show" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address/_validator_metadata_modal.html.eex:10 -msgid "License ID" +#: lib/block_scout_web/templates/address/overview.html.eex:34 +#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:37 +msgid "Show QR Code" msgstr "" #, elixir-format @@ -1191,562 +1233,584 @@ msgid "Show Validator Info" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address/_validator_metadata_modal.html.eex:30 -msgid "Validator Creation Date" -msgstr "" - -#, elixir-format -#: lib/block_scout_web/templates/address/_validator_metadata_modal.html.eex:5 -msgid "Validator Data" +#: lib/block_scout_web/templates/address_coin_balance/index.html.eex:34 +#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:61 +#: lib/block_scout_web/templates/address_logs/index.html.eex:21 +#: lib/block_scout_web/templates/address_token/index.html.eex:13 +#: lib/block_scout_web/templates/address_token_transfer/index.html.eex:20 +#: lib/block_scout_web/templates/address_transaction/index.html.eex:59 +#: lib/block_scout_web/templates/address_validation/index.html.eex:22 +#: lib/block_scout_web/templates/block_transaction/index.html.eex:23 +#: lib/block_scout_web/templates/chain/show.html.eex:91 +#: lib/block_scout_web/templates/pending_transaction/index.html.eex:19 +#: lib/block_scout_web/templates/tokens/holder/index.html.eex:21 +#: lib/block_scout_web/templates/tokens/inventory/index.html.eex:21 +#: lib/block_scout_web/templates/tokens/transfer/index.html.eex:20 +#: lib/block_scout_web/templates/transaction/index.html.eex:20 +#: lib/block_scout_web/templates/transaction_internal_transaction/index.html.eex:11 +#: lib/block_scout_web/templates/transaction_log/index.html.eex:13 +#: lib/block_scout_web/templates/transaction_token_transfer/index.html.eex:12 +msgid "Something went wrong, click to reload." msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address/overview.html.eex:52 -msgid "Validator Info" +#: lib/block_scout_web/templates/chain/show.html.eex:117 +msgid "Something went wrong, click to retry." msgstr "" #, elixir-format -#: lib/block_scout_web/templates/block/overview.html.eex:139 -msgid "Block Rewards" +#: lib/block_scout_web/templates/transaction/not_found.html.eex:7 +msgid "Sorry, We are unable to locate this transaction Hash" msgstr "" #, elixir-format -#: lib/block_scout_web/views/block_view.ex:60 -msgid "Emission Reward" +#: lib/block_scout_web/views/internal_transaction_view.ex:24 +msgid "Static Call" msgstr "" #, elixir-format -#: lib/block_scout_web/views/block_view.ex:56 -msgid "Miner Reward" +#: lib/block_scout_web/templates/layout/_footer.html.eex:34 +msgid "Submit an Issue" msgstr "" #, elixir-format -#: lib/block_scout_web/views/block_view.ex:64 -msgid "Uncle Reward" +#: lib/block_scout_web/templates/transaction/_emission_reward_tile.html.eex:8 +#: lib/block_scout_web/views/transaction_view.ex:167 +msgid "Success" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/transaction/_decoded_input.html.eex:18 -msgid "IMPORTANT: This information is a best guess based on similar functions from other verified contracts." +#: lib/block_scout_web/templates/layout/_footer.html.eex:37 +msgid "Support" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/transaction/_decoded_input.html.eex:17 -msgid "Potential matches from our contract method database:" +#: lib/block_scout_web/templates/transaction/_pending_tile.html.eex:21 +#: lib/block_scout_web/templates/transaction/_tile.html.eex:34 +#: lib/block_scout_web/templates/transaction/overview.html.eex:84 +msgid "TX Fee" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/transaction/_decoded_input.html.eex:19 -msgid "To have guaranteed accuracy, use the link above to verify the contract's source code." +#: lib/block_scout_web/templates/layout/_footer.html.eex:25 +msgid "Telegram" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/transaction/_decoded_input.html.eex:8 -msgid "To see accurate decoded input data, the contract must be verified." +#: lib/block_scout_web/templates/layout/_footer.html.eex:57 +msgid "Test Networks" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/transaction/_emission_reward_tile.html.eex:5 -msgid "Emission Contract" +#: lib/block_scout_web/templates/layout/_network_selector.html.eex:23 +msgid "Testnet" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/chain/show.html.eex:117 -msgid "Something went wrong, click to retry." +#: lib/block_scout_web/templates/address_validation/index.html.eex:18 +msgid "There are no blocks validated by this address." msgstr "" #, elixir-format -#: lib/block_scout_web/templates/layout/_footer.html.eex:17 -msgid "Blockscout is a tool for inspecting and analyzing EVM based blockchains. Blockchain explorer for Ethereum Networks." +#: lib/block_scout_web/templates/block/index.html.eex:18 +msgid "There are no blocks." msgstr "" #, elixir-format -#: lib/block_scout_web/templates/layout/_footer.html.eex:36 -msgid "Chat" +#: lib/block_scout_web/templates/tokens/holder/index.html.eex:26 +msgid "There are no holders for this Token." msgstr "" #, elixir-format -#: lib/block_scout_web/templates/layout/_footer.html.eex:35 -msgid "Contribute" +#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:65 +msgid "There are no internal transactions for this address." msgstr "" #, elixir-format -#: lib/block_scout_web/templates/layout/_footer.html.eex:44 -msgid "Main Networks" +#: +#: lib/block_scout_web/templates/transaction_internal_transaction/index.html.eex:15 +msgid "There are no internal transactions for this transaction." msgstr "" #, elixir-format -#: lib/block_scout_web/templates/layout/_footer.html.eex:68 -msgid "Other Explorers" +#: lib/block_scout_web/templates/address_logs/index.html.eex:26 +msgid "There are no logs for this address." msgstr "" #, elixir-format -#: lib/block_scout_web/templates/layout/_footer.html.eex:34 -msgid "Submit an Issue" +#: lib/block_scout_web/templates/transaction_log/index.html.eex:18 +msgid "There are no logs for this transaction." msgstr "" #, elixir-format -#: lib/block_scout_web/templates/layout/_footer.html.eex:57 -msgid "Test Networks" +#: lib/block_scout_web/templates/pending_transaction/index.html.eex:23 +msgid "There are no pending transactions." msgstr "" #, elixir-format -#: lib/block_scout_web/templates/layout/_footer.html.eex:83 -msgid "Version" +#: lib/block_scout_web/templates/address_token_transfer/index.html.eex:15 +msgid "There are no token transfers for this address." msgstr "" #, elixir-format -#: lib/block_scout_web/templates/layout/_footer.html.eex:37 -msgid "Support" +#: lib/block_scout_web/templates/transaction_token_transfer/index.html.eex:17 +msgid "There are no token transfers for this transaction" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_contract/index.html.eex:77 -msgid "Copy ABI" +#: lib/block_scout_web/templates/address_token/index.html.eex:18 +msgid "There are no tokens for this address." msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_contract/index.html.eex:93 -msgid "Copy Contract Creation Code" +#: lib/block_scout_web/templates/tokens/inventory/index.html.eex:26 +msgid "There are no tokens." msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_contract/index.html.eex:65 -msgid "Copy Source Code" +#: lib/block_scout_web/templates/address_transaction/index.html.eex:64 +msgid "There are no transactions for this address." msgstr "" #, elixir-format -#: lib/block_scout_web/templates/block/overview.html.eex:13 -msgid "Genesis Block" +#: lib/block_scout_web/templates/block_transaction/index.html.eex:28 +msgid "There are no transactions for this block." msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:118 -msgid "Contract Libraries" +#: lib/block_scout_web/templates/transaction/index.html.eex:26 +msgid "There are no transactions." msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address/overview.html.eex:89 -msgid "Last Balance Update: Block #" +#: lib/block_scout_web/templates/tokens/transfer/index.html.eex:25 +msgid "There are no transfers for this Token." msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address/overview.html.eex:84 -msgid "Transactions Sent" +#: lib/block_scout_web/templates/address_coin_balance/index.html.eex:39 +msgid "There is no coin history for this address." msgstr "" #, elixir-format -#: lib/block_scout_web/templates/transaction/overview.html.eex:101 -msgid "Transaction Speed" +#: lib/block_scout_web/templates/address_decompiled_contract/index.html.eex:27 +msgid "There is no decompilded contracts for this address." msgstr "" #, elixir-format -#: lib/block_scout_web/templates/transaction/overview.html.eex:115 -#: lib/block_scout_web/templates/transaction/overview.html.eex:119 -msgid "Hex (Default)" +#: lib/block_scout_web/templates/address_coin_balance/index.html.eex:25 +#: lib/block_scout_web/templates/chain/show.html.eex:16 +msgid "There was a problem loading the chart." msgstr "" #, elixir-format -#: lib/block_scout_web/templates/transaction/overview.html.eex:122 -msgid "UTF-8" +#: lib/block_scout_web/templates/api_docs/index.html.eex:6 +msgid "This API is provided for developers transitioning their applications from Etherscan to BlockScout. It supports GET and POST requests." msgstr "" #, elixir-format -#: lib/block_scout_web/templates/admin/dashboard/index.html.eex:16 -msgid "For any existing contracts in the database, insert all ABI entries into the contract_methods table. Use this in case you have verified smart contracts before early March 2019 and you want other contracts with the same functions to show those ABI's as candidate matches." +#: lib/block_scout_web/templates/api_docs/eth_rpc.html.eex:7 +msgid "This API is provided to support some rpc methods in the exact format specified for ethereum nodes, which can be found " msgstr "" #, elixir-format -#: lib/block_scout_web/templates/admin/dashboard/index.html.eex:21 -msgid "Run" +#: lib/block_scout_web/views/block_transaction_view.ex:11 +msgid "This block has not been processed yet." msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address/overview.html.eex:75 -msgid ">=" +#: lib/block_scout_web/templates/api_docs/eth_rpc.html.eex:10 +msgid "This is useful to allow sending requests to blockscout without having to change anything about the request." msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address/overview.html.eex:79 -msgid "Incoming Transactions" +#: lib/block_scout_web/templates/transaction/overview.html.eex:35 +msgid "This transaction is pending confirmation." msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address/overview.html.eex:121 -msgid "Error: Could not determine contract creator." +#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:33 +#: lib/block_scout_web/templates/address_transaction/index.html.eex:29 +#: lib/block_scout_web/views/address_internal_transaction_view.ex:6 +#: lib/block_scout_web/views/address_transaction_view.ex:6 +msgid "To" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/layout/_topnav.html.eex:116 -#: lib/block_scout_web/templates/layout/_topnav.html.eex:120 -msgid "Search by address, token symbol name, transaction hash, or block number" +#: lib/block_scout_web/templates/transaction/_decoded_input.html.eex:19 +msgid "To have guaranteed accuracy, use the link above to verify the contract's source code." msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_contract/index.html.eex:45 -#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:51 -msgid "EVM Version" +#: lib/block_scout_web/templates/transaction/_decoded_input.html.eex:8 +msgid "To see accurate decoded input data, the contract must be verified." msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_decompiled_contract/index.html.eex:17 -msgid "Copy Decompiled Contract Code" +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:19 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:19 +msgid "To see decoded input data, the contract must be verified." msgstr "" #, elixir-format -#: lib/block_scout_web/views/address_view.ex:308 -msgid "Decompiled Code" +#: lib/block_scout_web/templates/layout/_topnav.html.eex:20 +msgid "Toggle navigation" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address/_tabs.html.eex:52 -msgid "Decompiled code" +#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:10 +msgid "Token Details" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_decompiled_contract/index.html.eex:15 -msgid "Decompiled contract code" +#: lib/block_scout_web/templates/tokens/holder/index.html.eex:16 +#: lib/block_scout_web/templates/tokens/overview/_tabs.html.eex:9 +#: lib/block_scout_web/views/tokens/overview_view.ex:36 +msgid "Token Holders" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_decompiled_contract/index.html.eex:8 -msgid "Decompiler version" +#: lib/block_scout_web/templates/tokens/inventory/_token.html.eex:11 +msgid "Token ID" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_contract/index.html.eex:39 -#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:83 -msgid "Optimization runs" +#: lib/block_scout_web/templates/tokens/transfer/_token_transfer.html.eex:5 +#: lib/block_scout_web/templates/transaction_token_transfer/_token_transfer.html.eex:4 +#: lib/block_scout_web/views/transaction_view.ex:241 +msgid "Token Transfer" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/api_docs/index.html.eex:4 -msgid "API Documentation" +#: lib/block_scout_web/templates/tokens/overview/_tabs.html.eex:3 +#: lib/block_scout_web/templates/tokens/transfer/index.html.eex:15 +#: lib/block_scout_web/templates/transaction/_tabs.html.eex:4 +#: lib/block_scout_web/templates/transaction_token_transfer/index.html.eex:7 +#: lib/block_scout_web/views/tokens/overview_view.ex:35 +#: lib/block_scout_web/views/transaction_view.ex:295 +msgid "Token Transfers" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/chain/show.html.eex:86 -msgid "View All Blocks" +#: lib/block_scout_web/templates/address/_tabs.html.eex:8 +#: lib/block_scout_web/templates/address_token/index.html.eex:8 +#: lib/block_scout_web/templates/address_token_transfer/index.html.eex:9 +#: lib/block_scout_web/views/address_view.ex:304 +msgid "Tokens" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/chain/show.html.eex:107 -msgid "View All Transactions" +#: lib/block_scout_web/templates/address/_metatags.html.eex:13 +msgid "Top Accounts - %{subnetwork} Explorer" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/transaction/overview.html.eex:214 -msgid "Gas" +#: lib/block_scout_web/templates/address_logs/index.html.eex:12 +msgid "Topic" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/chain/show.html.eex:64 -msgid "Total blocks" +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:88 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:91 +msgid "Topics" msgstr "" #, elixir-format -#: -#: lib/block_scout_web/templates/common_components/_pagination_container.html.eex:40 -msgid "Page" +#: lib/block_scout_web/templates/block/overview.html.eex:67 +msgid "Total Difficulty" msgstr "" #, elixir-format -#: -#: lib/block_scout_web/templates/common_components/_pagination_container.html.eex:11 -msgid "Records" +#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:75 +msgid "Total Supply" msgstr "" -#, elixir-format -#: -#: lib/block_scout_web/templates/common_components/_pagination_container.html.eex:5 -msgid "Show" +#, elixir-format +#: lib/block_scout_web/templates/chain/show.html.eex:64 +msgid "Total blocks" msgstr "" #, elixir-format -#: -#: lib/block_scout_web/templates/common_components/_pagination_container.html.eex:40 -msgid "of" +#: lib/block_scout_web/templates/chain/show.html.eex:56 +msgid "Total transactions" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/block_transaction/404.html.eex:7 -msgid "Block Details" +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:3 +#: lib/block_scout_web/views/transaction_view.ex:244 +msgid "Transaction" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_contract/index.html.eex:105 -msgid "Contract Byte Code" +#: lib/block_scout_web/templates/transaction/_metatags.html.eex:3 +msgid "Transaction %{transaction} - %{subnetwork} Explorer" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_contract/index.html.eex:91 -msgid "Contract Creation Code" +#: lib/block_scout_web/templates/transaction/_metatags.html.eex:11 +msgid "Transaction %{transaction}, %{subnetwork} %{transaction}" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_contract/index.html.eex:97 -msgid "Contracts that self destruct in their constructors have no contract code published and cannot be verified." +#: lib/block_scout_web/templates/transaction/overview.html.eex:11 +msgid "Transaction Details" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_contract/index.html.eex:107 -msgid "Copy Contract Byte Code" +#: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:2 +#: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:16 +msgid "Transaction Inputs" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_contract/index.html.eex:98 -msgid "Displaying the init data provided of the creating transaction." +#: lib/block_scout_web/templates/transaction/overview.html.eex:101 +msgid "Transaction Speed" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_logs/index.html.eex:26 -msgid "There are no logs for this address." +#: lib/block_scout_web/templates/address/_tabs.html.eex:3 +#: lib/block_scout_web/templates/address_transaction/index.html.eex:15 +#: lib/block_scout_web/templates/block_transaction/index.html.eex:10 +#: lib/block_scout_web/templates/block_transaction/index.html.eex:18 +#: lib/block_scout_web/templates/chain/show.html.eex:108 +#: lib/block_scout_web/templates/layout/_topnav.html.eex:49 +#: lib/block_scout_web/views/address_view.ex:305 +msgid "Transactions" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/transaction/not_found.html.eex:12 -msgid "If you have just submitted this transaction please wait for at least 30 seconds before refreshing this page." +#: lib/block_scout_web/templates/address/overview.html.eex:84 +msgid "Transactions Sent" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/transaction/not_found.html.eex:30 -msgid "Back Home" +#: lib/block_scout_web/templates/address/_tile.html.eex:31 +msgid "Transactions sent" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/transaction/not_found.html.eex:22 -msgid "During times when the network is busy (i.e during ICOs) it can take a while for your transaction to propagate through the network and for us to index it." +#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:61 +msgid "Transfers" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/transaction/not_found.html.eex:26 -msgid "If it still does not show up after 1 hour, please check with your sender/exchange/wallet/transaction provider for additional information." +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:40 +msgid "Try it out" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/transaction/not_found.html.eex:16 -msgid "It could still be in the TX Pool of a different node, waiting to be broadcasted." +#: lib/block_scout_web/templates/layout/_footer.html.eex:22 +msgid "Twitter" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/transaction/not_found.html.eex:7 -msgid "Sorry, We are unable to locate this transaction Hash" +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:51 +#: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:20 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:53 +msgid "Type" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/transaction_token_transfer/index.html.eex:17 -msgid "There are no token transfers for this transaction" +#: lib/block_scout_web/templates/transaction/overview.html.eex:122 +msgid "UTF-8" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_logs/index.html.eex:12 -msgid "Topic" +#: lib/block_scout_web/views/block_view.ex:64 +msgid "Uncle Reward" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:104 -msgid "ABI-encoded Constructor Arguments (if required by the contract)" +#: lib/block_scout_web/templates/block/overview.html.eex:80 +#: lib/block_scout_web/templates/layout/_topnav.html.eex:37 +msgid "Uncles" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:93 -msgid "Enter the Solidity Contract Code" +#: lib/block_scout_web/templates/tokens/inventory/_token.html.eex:6 +msgid "Unique Token" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:133 -#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:155 -#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:177 -#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:199 -#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:221 -msgid "Library Address" +#: lib/block_scout_web/templates/layout/_network_selector.html.eex:12 +msgid "Use the search box to find a hosted network, or select from the list of available networks below." msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:123 -#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:145 -#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:167 -#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:189 -#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:211 -msgid "Library Name" +#: lib/block_scout_web/templates/transaction/overview.html.eex:218 +msgid "Used" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:9 -msgid "New Smart Contract Verification" +#: lib/block_scout_web/templates/layout/_topnav.html.eex:53 +msgid "Validated" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/transaction/overview.html.eex:178 -msgid " Token Transfer" +#: lib/block_scout_web/templates/transaction/index.html.eex:4 +msgid "Validated Transactions" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/api_docs/eth_rpc.html.eex:14 -msgid " is recommended." +#: lib/block_scout_web/templates/address/_tile.html.eex:35 +msgid "Validations" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/api_docs/eth_rpc.html.eex:15 -msgid "Anything not in this list is not supported. Click on the method to be taken to the documentation for that method, and check the notes section for any potential differences." +#: lib/block_scout_web/templates/address/_validator_metadata_modal.html.eex:30 +msgid "Validator Creation Date" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/api_docs/eth_rpc.html.eex:4 -msgid "ETH RPC API Documentation" +#: lib/block_scout_web/templates/address/_validator_metadata_modal.html.eex:5 +msgid "Validator Data" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/layout/_topnav.html.eex:92 -msgid "Eth RPC" +#: lib/block_scout_web/templates/address/overview.html.eex:52 +msgid "Validator Info" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/api_docs/eth_rpc.html.eex:11 -msgid "However, in general, the" +#: lib/block_scout_web/templates/transaction/overview.html.eex:196 +msgid "Value" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_decompiled_contract/index.html.eex:27 -msgid "There is no decompilded contracts for this address." +#: lib/block_scout_web/templates/address_contract/index.html.eex:11 +#: lib/block_scout_web/templates/address_contract/index.html.eex:16 +msgid "Verify & Publish" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/api_docs/eth_rpc.html.eex:7 -msgid "This API is provided to support some rpc methods in the exact format specified for ethereum nodes, which can be found " +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:249 +msgid "Verify & publish" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/api_docs/eth_rpc.html.eex:10 -msgid "This is useful to allow sending requests to blockscout without having to change anything about the request." +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:22 +#: lib/block_scout_web/templates/transaction/_decoded_input.html.eex:11 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:22 +msgid "Verify the contract " msgstr "" #, elixir-format -#: lib/block_scout_web/templates/api_docs/eth_rpc.html.eex:12 -msgid "custom RPC" +#: lib/block_scout_web/templates/layout/_footer.html.eex:83 +msgid "Version" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/api_docs/eth_rpc.html.eex:9 -msgid "here." +#: lib/block_scout_web/templates/chain/show.html.eex:86 +msgid "View All Blocks" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_token/index.html.eex:28 -#: lib/block_scout_web/templates/address_transaction/index.html.eex:74 -msgid "CSV" +#: lib/block_scout_web/templates/chain/show.html.eex:107 +msgid "View All Transactions" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/layout/_network_selector.html.eex:11 -msgid "Change Network" +#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:55 +msgid "View Contract" msgstr "" #, elixir-format -#: lib/block_scout_web/views/transaction_view.ex:63 -msgid "ERC-20 " +#: lib/block_scout_web/templates/transaction/_tile.html.eex:55 +msgid "View Less Transfers" msgstr "" #, elixir-format -#: lib/block_scout_web/views/transaction_view.ex:64 -msgid "ERC-721 " +#: lib/block_scout_web/templates/transaction/_tile.html.eex:54 +msgid "View More Transfers" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_contract/index.html.eex:120 -msgid "External libraries" +#: lib/block_scout_web/templates/address/_metatags.html.eex:9 +msgid "View the account balance, transactions, and other data for %{address} on the %{network}" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/layout/_network_selector.html.eex:24 -msgid "Favorites" +#: lib/block_scout_web/templates/block/_metatags.html.eex:10 +msgid "View the transactions, token transfers, and uncles for block number %{block_number}" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/layout/_network_selector.html.eex:22 -msgid "Mainnet" +#: lib/block_scout_web/templates/transaction/_metatags.html.eex:10 +msgid "View transaction %{transaction} on %{subnetwork}" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/layout/_network_selector.html.eex:18 -msgid "Search network" +#: lib/block_scout_web/templates/smart_contract/_functions.html.eex:49 +msgid "WEI" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/layout/_network_selector.html.eex:23 -msgid "Testnet" +#: lib/block_scout_web/templates/chain/show.html.eex:72 +msgid "Wallet addresses" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/layout/_network_selector.html.eex:12 -msgid "Use the search box to find a hosted network, or select from the list of available networks below." +#: lib/block_scout_web/views/wei_helpers.ex:76 +msgid "Wei" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:4 -msgid "Connection Lost" +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:72 +msgid "Yes" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_contract/index.html.eex:53 -msgid "Constructor Arguments" +#: lib/block_scout_web/templates/address/overview.html.eex:113 +msgid "at" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_logs/_logs.html.eex:63 -#: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:31 -#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:65 -msgid "Copy Value" +#: lib/block_scout_web/templates/api_docs/eth_rpc.html.eex:12 +msgid "custom RPC" msgstr "" #, elixir-format -#: lib/block_scout_web/views/internal_transaction_view.ex:26 -msgid "Create2" +#: lib/block_scout_web/views/address_contract_view.ex:23 +msgid "false" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_logs/_logs.html.eex:53 -#: lib/block_scout_web/templates/address_logs/_logs.html.eex:118 -#: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:21 -#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:55 -#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:121 -msgid "Data" +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:22 +#: lib/block_scout_web/templates/transaction/_decoded_input.html.eex:11 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:22 +msgid "here" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_logs/_logs.html.eex:31 -#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:31 -msgid "Failed to decode log data." +#: lib/block_scout_web/templates/api_docs/eth_rpc.html.eex:9 +msgid "here." msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_logs/_logs.html.eex:52 -#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:54 -msgid "Indexed?" +#: lib/block_scout_web/templates/transaction/invalid.html.eex:8 +msgid "is not a valid transaction hash" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_logs/_logs.html.eex:47 -#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:49 -msgid "Log Data" +#: +#: lib/block_scout_web/templates/common_components/_pagination_container.html.eex:40 +msgid "of" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/block/_tile.html.eex:47 -#: lib/block_scout_web/templates/chain/_block.html.eex:23 -#: lib/block_scout_web/views/internal_transaction_view.ex:28 -msgid "Reward" +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:58 +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:69 +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:81 +msgid "required" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_logs/_logs.html.eex:88 -#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:91 -msgid "Topics" +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:59 +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:70 +msgid "string" msgstr "" #, elixir-format -#: lib/block_scout_web/templates/address_logs/_logs.html.eex:51 -#: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:20 -#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:53 -msgid "Type" +#: lib/block_scout_web/views/address_contract_view.ex:22 +msgid "true" msgstr "" diff --git a/apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po b/apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po index e69de29bb2..36a85cffcd 100644 --- a/apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po +++ b/apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po @@ -0,0 +1,1816 @@ +#, elixir-format +#: lib/block_scout_web/views/address_token_balance_view.ex:7 +msgid "%{count} token" +msgid_plural "%{count} tokens" +msgstr[0] "" +msgstr[1] "" + +#, elixir-format +#: lib/block_scout_web/templates/block/_tile.html.eex:27 +msgid "%{count} transaction" +msgid_plural "%{count} transactions" +msgstr[0] "" +msgstr[1] "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/overview.html.eex:178 +msgid " Token Transfer" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/eth_rpc.html.eex:14 +msgid " is recommended." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_metatags.html.eex:3 +msgid "%{address} - %{subnetwork} Explorer" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/overview.html.eex:8 +msgid "%{block_type} Details" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/overview.html.eex:15 +msgid "%{block_type} Height:" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/index.html.eex:10 +msgid "%{block_type}s" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/overview.html.eex:21 +#: lib/block_scout_web/templates/chain/_block.html.eex:11 +msgid "%{count} Transactions" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/chain/_metatags.html.eex:2 +msgid "%{subnetwork} %{network} Explorer" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_default_title.html.eex:2 +msgid "%{subnetwork} Explorer - BlockScout" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/transaction_view.ex:166 +msgid "(Awaiting internal transactions for status)" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:59 +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:70 +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:82 +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:104 +msgid "(query)" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/app.html.eex:36 +msgid "- We're indexing this chain right now. Some of the counts may be inaccurate." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/overview.html.eex:75 +msgid ">=" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:73 +msgid "A string with the name of the action to be invoked." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:62 +msgid "A string with the name of the module to be invoked." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:104 +msgid "ABI-encoded Constructor Arguments (if required by the contract)" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/index.html.eex:4 +msgid "API Documentation" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_metatags.html.eex:4 +msgid "API endpoints for the %{subnetwork}" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_metatags.html.eex:2 +msgid "API for the %{subnetwork} - BlockScout" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_topnav.html.eex:78 +msgid "APIs" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_topnav.html.eex:70 +msgid "Accounts" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:69 +msgid "Action" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_validator_metadata_modal.html.eex:16 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:3 +#: lib/block_scout_web/views/address_view.ex:99 +msgid "Address" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/index.html.eex:4 +#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:60 +msgid "Addresses" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:27 +#: lib/block_scout_web/templates/address_transaction/index.html.eex:23 +#: lib/block_scout_web/templates/layout/_network_selector.html.eex:21 +#: lib/block_scout_web/views/address_internal_transaction_view.ex:8 +#: lib/block_scout_web/views/address_transaction_view.ex:8 +msgid "All" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/eth_rpc.html.eex:15 +msgid "Anything not in this list is not supported. Click on the method to be taken to the documentation for that method, and check the notes section for any potential differences." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/chain/show.html.eex:47 +msgid "Average block time" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/not_found.html.eex:30 +msgid "Back Home" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_balance_card.html.eex:3 +msgid "Balance" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_coin_balance/index.html.eex:14 +msgid "Balances" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/eth_rpc.html.eex:5 +#: lib/block_scout_web/templates/api_docs/index.html.eex:5 +msgid "Base URL:" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_coin_balance/_coin_balances.html.eex:8 +msgid "Block" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/_link.html.eex:2 +#: lib/block_scout_web/templates/internal_transaction/_tile.html.eex:29 +#: lib/block_scout_web/templates/tokens/transfer/_token_transfer.html.eex:40 +msgid "Block #%{number}" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/_metatags.html.eex:3 +msgid "Block %{block_number} - %{subnetwork} Explorer" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/overview.html.eex:72 +msgid "Block Confirmations" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block_transaction/404.html.eex:7 +msgid "Block Details" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/overview.html.eex:13 +msgid "Block Height: %{height}" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/app.html.eex:51 +msgid "Block Mined, awaiting import..." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/overview.html.eex:58 +msgid "Block Number" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/transaction_view.ex:21 +msgid "Block Pending" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/overview.html.eex:139 +msgid "Block Rewards" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/block_transaction_view.ex:15 +msgid "Block not found, please try again later." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/chain/_metatags.html.eex:4 +msgid "BlockScout provides analytics data, API, and Smart Contract tools for the %{subnetwork}" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/chain/show.html.eex:87 +#: lib/block_scout_web/templates/layout/_topnav.html.eex:30 +#: lib/block_scout_web/templates/layout/_topnav.html.eex:34 +msgid "Blocks" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/app.html.eex:50 +msgid "Blocks Indexed" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_tabs.html.eex:32 +#: lib/block_scout_web/templates/address/overview.html.eex:97 +#: lib/block_scout_web/templates/address_validation/index.html.eex:13 +#: lib/block_scout_web/views/address_view.ex:311 +msgid "Blocks Validated" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_footer.html.eex:17 +msgid "Blockscout is a tool for inspecting and analyzing EVM based blockchains. Blockchain explorer for Ethereum Networks." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_token/index.html.eex:28 +#: lib/block_scout_web/templates/address_transaction/index.html.eex:74 +msgid "CSV" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/internal_transaction_view.ex:21 +msgid "Call" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/internal_transaction_view.ex:22 +msgid "Call Code" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:253 +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:47 +msgid "Cancel" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_network_selector.html.eex:11 +msgid "Change Network" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_footer.html.eex:36 +msgid "Chat" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:137 +msgid "Clear" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_validator_metadata_modal.html.eex:37 +#: lib/block_scout_web/templates/address/overview.html.eex:146 +#: lib/block_scout_web/templates/address/overview.html.eex:154 +#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:107 +#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:115 +msgid "Close" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_tabs.html.eex:42 +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:165 +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:187 +#: lib/block_scout_web/views/address_view.ex:307 +msgid "Code" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_tabs.html.eex:20 +#: lib/block_scout_web/views/address_view.ex:310 +msgid "Coin Balance History" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:40 +msgid "Compiler" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract/index.html.eex:34 +msgid "Compiler version" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:4 +msgid "Connection Lost" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_coin_balance/index.html.eex:10 +#: lib/block_scout_web/templates/block/index.html.eex:6 +msgid "Connection Lost, click to load newer blocks" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:15 +msgid "Connection Lost, click to load newer internal transactions" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_transaction/index.html.eex:11 +#: lib/block_scout_web/templates/pending_transaction/index.html.eex:15 +#: lib/block_scout_web/templates/transaction/index.html.eex:15 +msgid "Connection Lost, click to load newer transactions" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_validation/index.html.eex:10 +msgid "Connection Lost, click to load newer validations" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract/index.html.eex:53 +msgid "Constructor Arguments" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract/index.html.eex:75 +msgid "Contract ABI" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:18 +#: lib/block_scout_web/views/address_view.ex:97 +msgid "Contract Address" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/_pending_tile.html.eex:16 +#: lib/block_scout_web/views/address_view.ex:37 +#: lib/block_scout_web/views/address_view.ex:71 +msgid "Contract Address Pending" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract/index.html.eex:105 +msgid "Contract Byte Code" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/transaction_view.ex:243 +msgid "Contract Call" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/transaction_view.ex:242 +msgid "Contract Creation" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract/index.html.eex:91 +msgid "Contract Creation Code" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:118 +msgid "Contract Libraries" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:29 +msgid "Contract Name" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract/index.html.eex:26 +msgid "Contract name:" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract/index.html.eex:63 +msgid "Contract source code" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract/index.html.eex:97 +msgid "Contracts that self destruct in their constructors have no contract code published and cannot be verified." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_footer.html.eex:35 +msgid "Contribute" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract/index.html.eex:77 +msgid "Copy ABI" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/overview.html.eex:13 +#: lib/block_scout_web/templates/address/overview.html.eex:17 +#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:16 +#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:20 +msgid "Copy Address" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract/index.html.eex:107 +msgid "Copy Contract Byte Code" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract/index.html.eex:93 +msgid "Copy Contract Creation Code" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_decompiled_contract/index.html.eex:17 +msgid "Copy Decompiled Contract Code" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract/index.html.eex:65 +msgid "Copy Source Code" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/overview.html.eex:16 +msgid "Copy Transaction Hash" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/overview.html.eex:20 +msgid "Copy Txn Hash" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:63 +#: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:31 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:65 +msgid "Copy Value" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/internal_transaction_view.ex:25 +msgid "Create" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/internal_transaction_view.ex:26 +msgid "Create2" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/overview.html.eex:107 +msgid "Created by" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:146 +msgid "Curl" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:53 +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:118 +#: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:21 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:55 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:121 +msgid "Data" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:63 +msgid "Decimals" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:16 +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:28 +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:34 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:16 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:28 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:36 +msgid "Decoded" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/address_view.ex:308 +msgid "Decompiled Code" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_tabs.html.eex:52 +msgid "Decompiled code" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_decompiled_contract/index.html.eex:15 +msgid "Decompiled contract code" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_decompiled_contract/index.html.eex:8 +msgid "Decompiler version" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/internal_transaction_view.ex:23 +msgid "Delegate Call" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:53 +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:188 +msgid "Description" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/overview.html.eex:8 +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:166 +msgid "Details" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/overview.html.eex:58 +msgid "Difficulty" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract/index.html.eex:98 +msgid "Displaying the init data provided of the creating transaction." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/not_found.html.eex:22 +msgid "During times when the network is busy (i.e during ICOs) it can take a while for your transaction to propagate through the network and for us to index it." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/transaction_view.ex:63 +msgid "ERC-20 " +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/transaction_view.ex:64 +msgid "ERC-721 " +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/smart_contract/_functions.html.eex:50 +msgid "ETH" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/eth_rpc.html.eex:4 +msgid "ETH RPC API Documentation" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract/index.html.eex:45 +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:51 +msgid "EVM Version" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/block_transaction_view.ex:7 +msgid "Easy Cowboy! This block does not exist yet!" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/_emission_reward_tile.html.eex:5 +msgid "Emission Contract" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/block_view.ex:60 +msgid "Emission Reward" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:93 +msgid "Enter the Solidity Contract Code" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:49 +msgid "Error rendering value" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_balance_card.html.eex:32 +msgid "Error trying to fetch balances." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/transaction_view.ex:170 +msgid "Error: %{reason}" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/transaction_view.ex:168 +msgid "Error: (Awaiting internal transactions for reason)" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/overview.html.eex:121 +msgid "Error: Could not determine contract creator." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_topnav.html.eex:92 +msgid "Eth RPC" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_balance_card.html.eex:15 +#: lib/block_scout_web/templates/internal_transaction/_tile.html.eex:21 +#: lib/block_scout_web/templates/layout/app.html.eex:56 +#: lib/block_scout_web/templates/transaction/_pending_tile.html.eex:20 +#: lib/block_scout_web/templates/transaction/_tile.html.eex:30 +#: lib/block_scout_web/templates/transaction/overview.html.eex:196 +#: lib/block_scout_web/views/wei_helpers.ex:78 +msgid "Ether" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:211 +msgid "Example Value" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:128 +msgid "Execute" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract/index.html.eex:120 +msgid "External libraries" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/_decoded_input.html.eex:32 +msgid "Failed to decode input data." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:31 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:31 +msgid "Failed to decode log data." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_network_selector.html.eex:24 +msgid "Favorites" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_balance_card.html.eex:29 +msgid "Fetching tokens..." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/admin/dashboard/index.html.eex:16 +msgid "For any existing contracts in the database, insert all ABI entries into the contract_methods table. Use this in case you have verified smart contracts before early March 2019 and you want other contracts with the same functions to show those ABI's as candidate matches." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_topnav.html.eex:40 +msgid "Forked Blocks (Reorgs)" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:44 +#: lib/block_scout_web/templates/address_transaction/index.html.eex:40 +#: lib/block_scout_web/views/address_internal_transaction_view.ex:7 +#: lib/block_scout_web/views/address_transaction_view.ex:7 +msgid "From" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:18 +msgid "GET" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/overview.html.eex:214 +msgid "Gas" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/_tile.html.eex:56 +#: lib/block_scout_web/templates/block/overview.html.eex:105 +#: lib/block_scout_web/templates/block/overview.html.eex:152 +msgid "Gas Limit" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/_tile.html.eex:61 +#: lib/block_scout_web/templates/block/overview.html.eex:98 +#: lib/block_scout_web/templates/block/overview.html.eex:146 +msgid "Gas Used" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/overview.html.eex:13 +msgid "Genesis Block" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_footer.html.eex:19 +msgid "Github" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_topnav.html.eex:82 +msgid "GraphQL" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/block_view.ex:20 +#: lib/block_scout_web/views/wei_helpers.ex:77 +msgid "Gwei" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/overview.html.eex:38 +msgid "Hash" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/overview.html.eex:115 +#: lib/block_scout_web/templates/transaction/overview.html.eex:119 +msgid "Hex (Default)" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/eth_rpc.html.eex:11 +msgid "However, in general, the" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/_decoded_input.html.eex:18 +msgid "IMPORTANT: This information is a best guess based on similar functions from other verified contracts." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/internal_transaction/_tile.html.eex:39 +#: lib/block_scout_web/templates/transaction/_tile.html.eex:74 +msgid "IN" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/not_found.html.eex:26 +msgid "If it still does not show up after 1 hour, please check with your sender/exchange/wallet/transaction provider for additional information." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/not_found.html.eex:12 +msgid "If you have just submitted this transaction please wait for at least 30 seconds before refreshing this page." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/overview.html.eex:79 +msgid "Incoming Transactions" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:52 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:54 +msgid "Indexed?" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/app.html.eex:52 +msgid "Indexing Tokens" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/_decoded_input.html.eex:3 +msgid "Input" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/internal_transaction/_tile.html.eex:6 +msgid "Internal Transaction" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_tabs.html.eex:14 +#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:19 +#: lib/block_scout_web/templates/transaction/_tabs.html.eex:11 +#: lib/block_scout_web/templates/transaction_internal_transaction/index.html.eex:6 +#: lib/block_scout_web/views/address_view.ex:306 +#: lib/block_scout_web/views/transaction_view.ex:296 +msgid "Internal Transactions" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/invalid.html.eex:6 +msgid "Invalid Transaction Hash" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/tokens/inventory/index.html.eex:16 +#: lib/block_scout_web/templates/tokens/overview/_tabs.html.eex:17 +#: lib/block_scout_web/views/tokens/overview_view.ex:38 +msgid "Inventory" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/not_found.html.eex:16 +msgid "It could still be in the TX Pool of a different node, waiting to be broadcasted." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/overview.html.eex:89 +msgid "Last Balance Update: Block #" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/app.html.eex:53 +msgid "Less than" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:133 +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:155 +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:177 +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:199 +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:221 +msgid "Library Address" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:123 +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:145 +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:167 +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:189 +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:211 +msgid "Library Name" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_validator_metadata_modal.html.eex:24 +msgid "License Expires" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_validator_metadata_modal.html.eex:10 +msgid "License ID" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/overview.html.eex:224 +msgid "Limit" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_coin_balance/index.html.eex:22 +#: lib/block_scout_web/templates/chain/show.html.eex:13 +msgid "Loading chart" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_read_contract/index.html.eex:14 +#: lib/block_scout_web/templates/chain/show.html.eex:99 +#: lib/block_scout_web/templates/tokens/read_contract/index.html.eex:21 +msgid "Loading..." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:247 +msgid "Loading...." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:47 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:49 +msgid "Log Data" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_tabs.html.eex:26 +#: lib/block_scout_web/templates/address_logs/index.html.eex:8 +#: lib/block_scout_web/templates/transaction/_tabs.html.eex:17 +#: lib/block_scout_web/templates/transaction_log/index.html.eex:8 +#: lib/block_scout_web/views/address_view.ex:312 +#: lib/block_scout_web/views/transaction_view.ex:297 +msgid "Logs" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_footer.html.eex:44 +msgid "Main Networks" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_network_selector.html.eex:22 +msgid "Mainnet" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/chain/show.html.eex:31 +#: lib/block_scout_web/templates/layout/app.html.eex:54 +#: lib/block_scout_web/views/address_view.ex:121 +#: lib/block_scout_web/views/address_view.ex:121 +msgid "Market Cap" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/transaction_view.ex:151 +#: lib/block_scout_web/views/transaction_view.ex:151 +msgid "Max of" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:4 +msgid "Method Id" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/_tile.html.eex:38 +#: lib/block_scout_web/templates/block/overview.html.eex:121 +#: lib/block_scout_web/templates/chain/_block.html.eex:15 +msgid "Miner" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/block_view.ex:56 +msgid "Miner Reward" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:223 +msgid "Model" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:58 +msgid "Module" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:10 +msgid "More internal transactions have come in" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/chain/show.html.eex:111 +#: lib/block_scout_web/templates/pending_transaction/index.html.eex:10 +#: lib/block_scout_web/templates/transaction/index.html.eex:10 +msgid "More transactions have come in" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:63 +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:74 +msgid "Must be set to:" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:50 +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:52 +#: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:19 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:52 +msgid "Name" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:9 +msgid "New Smart Contract Verification" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:67 +msgid "No" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/overview.html.eex:73 +#: lib/block_scout_web/templates/transaction/overview.html.eex:79 +msgid "Nonce" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/internal_transaction/_tile.html.eex:37 +#: lib/block_scout_web/templates/transaction/_tile.html.eex:70 +msgid "OUT" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract/index.html.eex:30 +msgid "Optimization enabled" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract/index.html.eex:39 +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:83 +msgid "Optimization runs" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_footer.html.eex:68 +msgid "Other Explorers" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/tokens/inventory/_token.html.eex:18 +msgid "Owner Address" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:19 +msgid "POST" +msgstr "" + +#, elixir-format +#: +#: lib/block_scout_web/templates/common_components/_pagination_container.html.eex:40 +msgid "Page" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:33 +msgid "Parameters" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/overview.html.eex:45 +msgid "Parent Hash" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_topnav.html.eex:58 +#: lib/block_scout_web/views/transaction_view.ex:165 +#: lib/block_scout_web/views/transaction_view.ex:199 +msgid "Pending" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/pending_transaction/index.html.eex:4 +msgid "Pending Transactions" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/overview.html.eex:84 +msgid "Position %{index}" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/_decoded_input.html.eex:17 +msgid "Potential matches from our contract method database:" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/chain/show.html.eex:24 +#: lib/block_scout_web/templates/layout/app.html.eex:55 +msgid "Price" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/overview.html.eex:33 +#: lib/block_scout_web/templates/address/overview.html.eex:145 +#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:36 +#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:106 +msgid "QR Code" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/smart_contract/_functions.html.eex:22 +msgid "Query" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_topnav.html.eex:87 +msgid "RPC" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/overview.html.eex:109 +msgid "Raw Input" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/_tabs.html.eex:24 +#: lib/block_scout_web/templates/transaction_raw_trace/index.html.eex:7 +#: lib/block_scout_web/views/transaction_view.ex:298 +msgid "Raw Trace" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_tabs.html.eex:58 +#: lib/block_scout_web/templates/tokens/overview/_tabs.html.eex:25 +#: lib/block_scout_web/views/address_view.ex:309 +#: lib/block_scout_web/views/tokens/overview_view.ex:37 +msgid "Read Contract" +msgstr "" + +#, elixir-format +#: +#: lib/block_scout_web/templates/common_components/_pagination_container.html.eex:11 +msgid "Records" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:155 +msgid "Request URL" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:250 +msgid "Reset" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:173 +msgid "Response Body" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:185 +msgid "Responses" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/_tile.html.eex:47 +#: lib/block_scout_web/templates/chain/_block.html.eex:23 +#: lib/block_scout_web/views/internal_transaction_view.ex:28 +msgid "Reward" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/admin/dashboard/index.html.eex:21 +msgid "Run" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_logs/index.html.eex:14 +#: lib/block_scout_web/templates/layout/_topnav.html.eex:122 +#: lib/block_scout_web/templates/layout/_topnav.html.eex:139 +msgid "Search" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_topnav.html.eex:116 +#: lib/block_scout_web/templates/layout/_topnav.html.eex:120 +msgid "Search by address, token symbol name, transaction hash, or block number" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_network_selector.html.eex:18 +msgid "Search network" +msgstr "" + +#, elixir-format +#: +#: lib/block_scout_web/templates/address_token_balance/_token_balances.html.eex:30 +msgid "Search tokens" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/internal_transaction_view.ex:27 +msgid "Self-Destruct" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:163 +msgid "Server Response" +msgstr "" + +#, elixir-format +#: +#: lib/block_scout_web/templates/common_components/_pagination_container.html.eex:5 +msgid "Show" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/overview.html.eex:34 +#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:37 +msgid "Show QR Code" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/overview.html.eex:48 +msgid "Show Validator Info" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_coin_balance/index.html.eex:34 +#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:61 +#: lib/block_scout_web/templates/address_logs/index.html.eex:21 +#: lib/block_scout_web/templates/address_token/index.html.eex:13 +#: lib/block_scout_web/templates/address_token_transfer/index.html.eex:20 +#: lib/block_scout_web/templates/address_transaction/index.html.eex:59 +#: lib/block_scout_web/templates/address_validation/index.html.eex:22 +#: lib/block_scout_web/templates/block_transaction/index.html.eex:23 +#: lib/block_scout_web/templates/chain/show.html.eex:91 +#: lib/block_scout_web/templates/pending_transaction/index.html.eex:19 +#: lib/block_scout_web/templates/tokens/holder/index.html.eex:21 +#: lib/block_scout_web/templates/tokens/inventory/index.html.eex:21 +#: lib/block_scout_web/templates/tokens/transfer/index.html.eex:20 +#: lib/block_scout_web/templates/transaction/index.html.eex:20 +#: lib/block_scout_web/templates/transaction_internal_transaction/index.html.eex:11 +#: lib/block_scout_web/templates/transaction_log/index.html.eex:13 +#: lib/block_scout_web/templates/transaction_token_transfer/index.html.eex:12 +msgid "Something went wrong, click to reload." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/chain/show.html.eex:117 +msgid "Something went wrong, click to retry." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/not_found.html.eex:7 +msgid "Sorry, We are unable to locate this transaction Hash" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/internal_transaction_view.ex:24 +msgid "Static Call" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_footer.html.eex:34 +msgid "Submit an Issue" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/_emission_reward_tile.html.eex:8 +#: lib/block_scout_web/views/transaction_view.ex:167 +msgid "Success" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_footer.html.eex:37 +msgid "Support" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/_pending_tile.html.eex:21 +#: lib/block_scout_web/templates/transaction/_tile.html.eex:34 +#: lib/block_scout_web/templates/transaction/overview.html.eex:84 +msgid "TX Fee" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_footer.html.eex:25 +msgid "Telegram" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_footer.html.eex:57 +msgid "Test Networks" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_network_selector.html.eex:23 +msgid "Testnet" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_validation/index.html.eex:18 +msgid "There are no blocks validated by this address." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/index.html.eex:18 +msgid "There are no blocks." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/tokens/holder/index.html.eex:26 +msgid "There are no holders for this Token." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:65 +msgid "There are no internal transactions for this address." +msgstr "" + +#, elixir-format +#: +#: lib/block_scout_web/templates/transaction_internal_transaction/index.html.eex:15 +msgid "There are no internal transactions for this transaction." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_logs/index.html.eex:26 +msgid "There are no logs for this address." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction_log/index.html.eex:18 +msgid "There are no logs for this transaction." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/pending_transaction/index.html.eex:23 +msgid "There are no pending transactions." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_token_transfer/index.html.eex:15 +msgid "There are no token transfers for this address." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction_token_transfer/index.html.eex:17 +msgid "There are no token transfers for this transaction" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_token/index.html.eex:18 +msgid "There are no tokens for this address." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/tokens/inventory/index.html.eex:26 +msgid "There are no tokens." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_transaction/index.html.eex:64 +msgid "There are no transactions for this address." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block_transaction/index.html.eex:28 +msgid "There are no transactions for this block." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/index.html.eex:26 +msgid "There are no transactions." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/tokens/transfer/index.html.eex:25 +msgid "There are no transfers for this Token." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_coin_balance/index.html.eex:39 +msgid "There is no coin history for this address." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_decompiled_contract/index.html.eex:27 +msgid "There is no decompilded contracts for this address." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_coin_balance/index.html.eex:25 +#: lib/block_scout_web/templates/chain/show.html.eex:16 +msgid "There was a problem loading the chart." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/index.html.eex:6 +msgid "This API is provided for developers transitioning their applications from Etherscan to BlockScout. It supports GET and POST requests." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/eth_rpc.html.eex:7 +msgid "This API is provided to support some rpc methods in the exact format specified for ethereum nodes, which can be found " +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/block_transaction_view.ex:11 +msgid "This block has not been processed yet." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/eth_rpc.html.eex:10 +msgid "This is useful to allow sending requests to blockscout without having to change anything about the request." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/overview.html.eex:35 +msgid "This transaction is pending confirmation." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:33 +#: lib/block_scout_web/templates/address_transaction/index.html.eex:29 +#: lib/block_scout_web/views/address_internal_transaction_view.ex:6 +#: lib/block_scout_web/views/address_transaction_view.ex:6 +msgid "To" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/_decoded_input.html.eex:19 +msgid "To have guaranteed accuracy, use the link above to verify the contract's source code." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/_decoded_input.html.eex:8 +msgid "To see accurate decoded input data, the contract must be verified." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:19 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:19 +msgid "To see decoded input data, the contract must be verified." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_topnav.html.eex:20 +msgid "Toggle navigation" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:10 +msgid "Token Details" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/tokens/holder/index.html.eex:16 +#: lib/block_scout_web/templates/tokens/overview/_tabs.html.eex:9 +#: lib/block_scout_web/views/tokens/overview_view.ex:36 +msgid "Token Holders" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/tokens/inventory/_token.html.eex:11 +msgid "Token ID" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/tokens/transfer/_token_transfer.html.eex:5 +#: lib/block_scout_web/templates/transaction_token_transfer/_token_transfer.html.eex:4 +#: lib/block_scout_web/views/transaction_view.ex:241 +msgid "Token Transfer" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/tokens/overview/_tabs.html.eex:3 +#: lib/block_scout_web/templates/tokens/transfer/index.html.eex:15 +#: lib/block_scout_web/templates/transaction/_tabs.html.eex:4 +#: lib/block_scout_web/templates/transaction_token_transfer/index.html.eex:7 +#: lib/block_scout_web/views/tokens/overview_view.ex:35 +#: lib/block_scout_web/views/transaction_view.ex:295 +msgid "Token Transfers" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_tabs.html.eex:8 +#: lib/block_scout_web/templates/address_token/index.html.eex:8 +#: lib/block_scout_web/templates/address_token_transfer/index.html.eex:9 +#: lib/block_scout_web/views/address_view.ex:304 +msgid "Tokens" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_metatags.html.eex:13 +msgid "Top Accounts - %{subnetwork} Explorer" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_logs/index.html.eex:12 +msgid "Topic" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:88 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:91 +msgid "Topics" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/overview.html.eex:67 +msgid "Total Difficulty" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:75 +msgid "Total Supply" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/chain/show.html.eex:64 +msgid "Total blocks" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/chain/show.html.eex:56 +msgid "Total transactions" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:3 +#: lib/block_scout_web/views/transaction_view.ex:244 +msgid "Transaction" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/_metatags.html.eex:3 +msgid "Transaction %{transaction} - %{subnetwork} Explorer" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/_metatags.html.eex:11 +msgid "Transaction %{transaction}, %{subnetwork} %{transaction}" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/overview.html.eex:11 +msgid "Transaction Details" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:2 +#: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:16 +msgid "Transaction Inputs" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/overview.html.eex:101 +msgid "Transaction Speed" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_tabs.html.eex:3 +#: lib/block_scout_web/templates/address_transaction/index.html.eex:15 +#: lib/block_scout_web/templates/block_transaction/index.html.eex:10 +#: lib/block_scout_web/templates/block_transaction/index.html.eex:18 +#: lib/block_scout_web/templates/chain/show.html.eex:108 +#: lib/block_scout_web/templates/layout/_topnav.html.eex:49 +#: lib/block_scout_web/views/address_view.ex:305 +msgid "Transactions" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/overview.html.eex:84 +msgid "Transactions Sent" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_tile.html.eex:31 +msgid "Transactions sent" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:61 +msgid "Transfers" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:40 +msgid "Try it out" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_footer.html.eex:22 +msgid "Twitter" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:51 +#: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:20 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:53 +msgid "Type" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/overview.html.eex:122 +msgid "UTF-8" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/block_view.ex:64 +msgid "Uncle Reward" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/overview.html.eex:80 +#: lib/block_scout_web/templates/layout/_topnav.html.eex:37 +msgid "Uncles" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/tokens/inventory/_token.html.eex:6 +msgid "Unique Token" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_network_selector.html.eex:12 +msgid "Use the search box to find a hosted network, or select from the list of available networks below." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/overview.html.eex:218 +msgid "Used" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_topnav.html.eex:53 +msgid "Validated" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/index.html.eex:4 +msgid "Validated Transactions" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_tile.html.eex:35 +msgid "Validations" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_validator_metadata_modal.html.eex:30 +msgid "Validator Creation Date" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_validator_metadata_modal.html.eex:5 +msgid "Validator Data" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/overview.html.eex:52 +msgid "Validator Info" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/overview.html.eex:196 +msgid "Value" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract/index.html.eex:11 +#: lib/block_scout_web/templates/address_contract/index.html.eex:16 +msgid "Verify & Publish" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:249 +msgid "Verify & publish" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:22 +#: lib/block_scout_web/templates/transaction/_decoded_input.html.eex:11 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:22 +msgid "Verify the contract " +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_footer.html.eex:83 +msgid "Version" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/chain/show.html.eex:86 +msgid "View All Blocks" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/chain/show.html.eex:107 +msgid "View All Transactions" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:55 +msgid "View Contract" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/_tile.html.eex:55 +msgid "View Less Transfers" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/_tile.html.eex:54 +msgid "View More Transfers" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_metatags.html.eex:9 +msgid "View the account balance, transactions, and other data for %{address} on the %{network}" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/_metatags.html.eex:10 +msgid "View the transactions, token transfers, and uncles for block number %{block_number}" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/_metatags.html.eex:10 +msgid "View transaction %{transaction} on %{subnetwork}" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/smart_contract/_functions.html.eex:49 +msgid "WEI" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/chain/show.html.eex:72 +msgid "Wallet addresses" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/wei_helpers.ex:76 +msgid "Wei" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:72 +msgid "Yes" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/overview.html.eex:113 +msgid "at" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/eth_rpc.html.eex:12 +msgid "custom RPC" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/address_contract_view.ex:23 +msgid "false" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:22 +#: lib/block_scout_web/templates/transaction/_decoded_input.html.eex:11 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:22 +msgid "here" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/eth_rpc.html.eex:9 +msgid "here." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/invalid.html.eex:8 +msgid "is not a valid transaction hash" +msgstr "" + +#, elixir-format +#: +#: lib/block_scout_web/templates/common_components/_pagination_container.html.eex:40 +msgid "of" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:58 +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:69 +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:81 +msgid "required" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:59 +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:70 +msgid "string" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/address_contract_view.ex:22 +msgid "true" +msgstr "" From c4ca6ba2b5d45f333f33712081dc03af07b4eb55 Mon Sep 17 00:00:00 2001 From: saneery Date: Mon, 19 Aug 2019 11:34:04 +0300 Subject: [PATCH 06/48] Fix error of url in API page --- apps/block_scout_web/assets/js/lib/try_api.js | 2 +- apps/block_scout_web/assets/js/lib/try_eth_api.js | 5 +++-- .../lib/block_scout_web/views/api_docs_view.ex | 7 ++++--- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/apps/block_scout_web/assets/js/lib/try_api.js b/apps/block_scout_web/assets/js/lib/try_api.js index c0eb8cd5e3..e6460f6c6b 100644 --- a/apps/block_scout_web/assets/js/lib/try_api.js +++ b/apps/block_scout_web/assets/js/lib/try_api.js @@ -124,7 +124,7 @@ $('button[data-try-api-ui-button-type="execute"]').click(event => { } $.ajax({ - url: `/api${query}`, + url: composeRequestUrl(query), success: (_data, _status, xhr) => { handleSuccess(query, xhr, clickedButton) }, diff --git a/apps/block_scout_web/assets/js/lib/try_eth_api.js b/apps/block_scout_web/assets/js/lib/try_eth_api.js index a3dd7b6f4e..f6e1adffae 100644 --- a/apps/block_scout_web/assets/js/lib/try_eth_api.js +++ b/apps/block_scout_web/assets/js/lib/try_eth_api.js @@ -50,7 +50,6 @@ $('button[data-try-eth-api-ui-button-type="execute"]').click(event => { const inputs = $(`input[data-selector="${module}-${action}-try-api-ui"]`) const params = $.map(inputs, parseInput) const formData = wrapJsonRpc(action, params) - console.log(formData) const loadingText = ' Loading...' clickedButton.prop('disabled', true) @@ -60,8 +59,10 @@ $('button[data-try-eth-api-ui-button-type="execute"]').click(event => { clickedButton.html(loadingText) } + const url = $('[data-endpoint-url]').attr('data-endpoint-url') + $.ajax({ - url: '/api/eth_rpc', + url: url, type: 'POST', data: JSON.stringify(formData), dataType: 'json', diff --git a/apps/block_scout_web/lib/block_scout_web/views/api_docs_view.ex b/apps/block_scout_web/lib/block_scout_web/views/api_docs_view.ex index ac7d4d55ee..895fad79c2 100644 --- a/apps/block_scout_web/lib/block_scout_web/views/api_docs_view.ex +++ b/apps/block_scout_web/lib/block_scout_web/views/api_docs_view.ex @@ -1,7 +1,7 @@ defmodule BlockScoutWeb.APIDocsView do use BlockScoutWeb, :view - alias BlockScoutWeb.{Endpoint, LayoutView} + alias BlockScoutWeb.LayoutView def action_tile_id(module, action) do "#{module}-#{action}" @@ -41,9 +41,10 @@ defmodule BlockScoutWeb.APIDocsView do scheme = url_params[:scheme] if host != "localhost" do - scheme <> "://" <> host <> path + "#{scheme}://#{host}#{path}" else - Endpoint.url() + port = Application.get_env(:block_scout_web, BlockScoutWeb.Endpoint)[:http][:port] + "#{scheme}://#{host}:#{to_string(port)}#{path}" end end From 7270b32ffb959ade1480a945b6a578bf3eeb251e Mon Sep 17 00:00:00 2001 From: saneery Date: Mon, 19 Aug 2019 11:43:56 +0300 Subject: [PATCH 07/48] Add double quotes to example of API call --- .../block_scout_web/templates/api_docs/_eth_rpc_item.html.eex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/block_scout_web/lib/block_scout_web/templates/api_docs/_eth_rpc_item.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/api_docs/_eth_rpc_item.html.eex index 7f342b4a16..57f96e42e0 100644 --- a/apps/block_scout_web/lib/block_scout_web/templates/api_docs/_eth_rpc_item.html.eex +++ b/apps/block_scout_web/lib/block_scout_web/templates/api_docs/_eth_rpc_item.html.eex @@ -6,7 +6,7 @@ - curl -X POST --data '{"id":0,"jsonrpc":"2.0","method": "<%= @action %>", params: []}' + curl -X POST --data '{"id":0,"jsonrpc":"2.0","method": "<%= @action %>", "params": []}'

From 13058bea30d7afc79f9303bcd4f72b57b8a20166 Mon Sep 17 00:00:00 2001 From: saneery Date: Mon, 19 Aug 2019 11:47:51 +0300 Subject: [PATCH 08/48] add changelog entry --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f006769dbf..649b476ec3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ - [#2497](https://github.com/poanetwork/blockscout/pull/2497) - Add generic Ordered Cache behaviour and implementation ### Fixes +- [#2591](https://github.com/poanetwork/blockscout/pull/2591) - Fix url error in API page - [#2572](https://github.com/poanetwork/blockscout/pull/2572) - Ease non-critical css - [#2570](https://github.com/poanetwork/blockscout/pull/2570) - Network icons preload - [#2569](https://github.com/poanetwork/blockscout/pull/2569) - do not fetch emission rewards for transactions csv exporter From 14f099b5b35b219873751e184d631bcf234c3a73 Mon Sep 17 00:00:00 2001 From: saneery Date: Mon, 19 Aug 2019 17:11:29 +0300 Subject: [PATCH 09/48] remove additional path in local url --- apps/block_scout_web/lib/block_scout_web/views/api_docs_view.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/block_scout_web/lib/block_scout_web/views/api_docs_view.ex b/apps/block_scout_web/lib/block_scout_web/views/api_docs_view.ex index 895fad79c2..382a7b26b9 100644 --- a/apps/block_scout_web/lib/block_scout_web/views/api_docs_view.ex +++ b/apps/block_scout_web/lib/block_scout_web/views/api_docs_view.ex @@ -44,7 +44,7 @@ defmodule BlockScoutWeb.APIDocsView do "#{scheme}://#{host}#{path}" else port = Application.get_env(:block_scout_web, BlockScoutWeb.Endpoint)[:http][:port] - "#{scheme}://#{host}:#{to_string(port)}#{path}" + "#{scheme}://#{host}:#{to_string(port)}" end end From f1c1e066a7803cd56305ad602fbeb5705c27e699 Mon Sep 17 00:00:00 2001 From: saneery Date: Tue, 20 Aug 2019 10:39:40 +0300 Subject: [PATCH 10/48] Add double quotes to copying string --- .../block_scout_web/templates/api_docs/_eth_rpc_item.html.eex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/block_scout_web/lib/block_scout_web/templates/api_docs/_eth_rpc_item.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/api_docs/_eth_rpc_item.html.eex index 57f96e42e0..f464533c7e 100644 --- a/apps/block_scout_web/lib/block_scout_web/templates/api_docs/_eth_rpc_item.html.eex +++ b/apps/block_scout_web/lib/block_scout_web/templates/api_docs/_eth_rpc_item.html.eex @@ -4,7 +4,7 @@

<%= @action %>

<%= raw @info.notes %>

curl -X POST --data '{"id":0,"jsonrpc":"2.0","method": "<%= @action %>", "params": []}' From 0a647d0acbe3cfcb8b575cf92d420f6ae3268582 Mon Sep 17 00:00:00 2001 From: saneery Date: Wed, 21 Aug 2019 12:06:20 +0300 Subject: [PATCH 11/48] Remove schema from api url --- apps/block_scout_web/assets/js/lib/try_api.js | 6 +++++- apps/block_scout_web/assets/js/lib/try_eth_api.js | 6 +++++- .../lib/block_scout_web/views/api_docs_view.ex | 5 ++--- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/apps/block_scout_web/assets/js/lib/try_api.js b/apps/block_scout_web/assets/js/lib/try_api.js index e6460f6c6b..02d82a65ef 100644 --- a/apps/block_scout_web/assets/js/lib/try_api.js +++ b/apps/block_scout_web/assets/js/lib/try_api.js @@ -55,6 +55,10 @@ function handleSuccess (query, xhr, clickedButton) { clickedButton.prop('disabled', false) } +function dropDomain (url) { + return url.split('/').slice(1).join('/') +} + // Show 'Try it out' UI for a module/action. $('button[data-selector*="btn-try-api"]').click(event => { const clickedButton = $(event.target) @@ -124,7 +128,7 @@ $('button[data-try-api-ui-button-type="execute"]').click(event => { } $.ajax({ - url: composeRequestUrl(query), + url: '/' + dropDomain(composeRequestUrl(query)), success: (_data, _status, xhr) => { handleSuccess(query, xhr, clickedButton) }, diff --git a/apps/block_scout_web/assets/js/lib/try_eth_api.js b/apps/block_scout_web/assets/js/lib/try_eth_api.js index f6e1adffae..464229885d 100644 --- a/apps/block_scout_web/assets/js/lib/try_eth_api.js +++ b/apps/block_scout_web/assets/js/lib/try_eth_api.js @@ -43,6 +43,10 @@ function parseInput (input) { } } +function dropDomain (url) { + return url.split('/').slice(1).join('/') +} + $('button[data-try-eth-api-ui-button-type="execute"]').click(event => { const clickedButton = $(event.target) const module = clickedButton.attr('data-module') @@ -62,7 +66,7 @@ $('button[data-try-eth-api-ui-button-type="execute"]').click(event => { const url = $('[data-endpoint-url]').attr('data-endpoint-url') $.ajax({ - url: url, + url: '/' + dropDomain(url), type: 'POST', data: JSON.stringify(formData), dataType: 'json', diff --git a/apps/block_scout_web/lib/block_scout_web/views/api_docs_view.ex b/apps/block_scout_web/lib/block_scout_web/views/api_docs_view.ex index 382a7b26b9..6f731d3627 100644 --- a/apps/block_scout_web/lib/block_scout_web/views/api_docs_view.ex +++ b/apps/block_scout_web/lib/block_scout_web/views/api_docs_view.ex @@ -38,13 +38,12 @@ defmodule BlockScoutWeb.APIDocsView do url_params = Application.get_env(:block_scout_web, BlockScoutWeb.Endpoint)[:url] host = url_params[:host] path = url_params[:path] - scheme = url_params[:scheme] if host != "localhost" do - "#{scheme}://#{host}#{path}" + "#{host}#{path}" else port = Application.get_env(:block_scout_web, BlockScoutWeb.Endpoint)[:http][:port] - "#{scheme}://#{host}:#{to_string(port)}" + "#{host}:#{to_string(port)}" end end From 0da2afb1caafac30fa3d1ac21c6fff61f9f10975 Mon Sep 17 00:00:00 2001 From: Ayrat Badykov Date: Wed, 21 Aug 2019 12:15:04 +0300 Subject: [PATCH 12/48] use CoinGecko instead of CoinMarketcap for exchange rates CoinMarketcap deprecated and took offline its v1 API. They have v2 API which has free plan and requires API keys. But as part of https://github.com/poanetwork/blockscout/issues/234 we alresy implemented fetching from CoinGecko. Now, coin id should be set for CoinGecko for the required coin. ``` config :explorer, Explorer.ExchangeRates.Source.CoinGecko, coin_id: System.get_env("COIN_GECKO_ID", "poa-network") ``` Or the `COIN_GECKO_ID` env var should be set. For example, COIN_GECKO_ID=poa-network --- apps/explorer/config/config.exs | 2 + apps/explorer/lib/explorer/chain.ex | 2 +- .../{coin_market_cap.ex => exchange_rate.ex} | 4 +- .../lib/explorer/exchange_rates/source.ex | 2 +- .../exchange_rates/source/coin_gecko.ex | 38 +++++++++++-------- 5 files changed, 28 insertions(+), 20 deletions(-) rename apps/explorer/lib/explorer/chain/supply/{coin_market_cap.ex => exchange_rate.ex} (72%) diff --git a/apps/explorer/config/config.exs b/apps/explorer/config/config.exs index 95c80ba445..87b57d5f82 100644 --- a/apps/explorer/config/config.exs +++ b/apps/explorer/config/config.exs @@ -34,6 +34,8 @@ config :explorer, Explorer.Chain.Cache.BlockNumber, enabled: true config :explorer, Explorer.ExchangeRates.Source.CoinMarketCap, pages: String.to_integer(System.get_env("COINMARKETCAP_PAGES") || "10") +config :explorer, Explorer.ExchangeRates.Source.CoinGecko, coin_id: System.get_env("COIN_GECKO_ID", "poa-network") + balances_update_interval = if System.get_env("ADDRESS_WITH_BALANCES_UPDATE_INTERVAL") do case Integer.parse(System.get_env("ADDRESS_WITH_BALANCES_UPDATE_INTERVAL")) do diff --git a/apps/explorer/lib/explorer/chain.ex b/apps/explorer/lib/explorer/chain.ex index 58253c0f27..90df61749c 100644 --- a/apps/explorer/lib/explorer/chain.ex +++ b/apps/explorer/lib/explorer/chain.ex @@ -2717,7 +2717,7 @@ defmodule Explorer.Chain do end defp supply_module do - Application.get_env(:explorer, :supply, Explorer.Chain.Supply.CoinMarketCap) + Application.get_env(:explorer, :supply, Explorer.Chain.Supply.ExchangeRate) end @doc """ diff --git a/apps/explorer/lib/explorer/chain/supply/coin_market_cap.ex b/apps/explorer/lib/explorer/chain/supply/exchange_rate.ex similarity index 72% rename from apps/explorer/lib/explorer/chain/supply/coin_market_cap.ex rename to apps/explorer/lib/explorer/chain/supply/exchange_rate.ex index ebaadb3c47..d45a8edc02 100644 --- a/apps/explorer/lib/explorer/chain/supply/coin_market_cap.ex +++ b/apps/explorer/lib/explorer/chain/supply/exchange_rate.ex @@ -1,6 +1,6 @@ -defmodule Explorer.Chain.Supply.CoinMarketCap do +defmodule Explorer.Chain.Supply.ExchangeRate do @moduledoc """ - Defines the supply API for calculating supply for coins from coinmarketcap. + Defines the supply API for calculating supply for coins from exchange_rate.. """ use Explorer.Chain.Supply diff --git a/apps/explorer/lib/explorer/exchange_rates/source.ex b/apps/explorer/lib/explorer/exchange_rates/source.ex index 41b87c1e29..d733b22222 100644 --- a/apps/explorer/lib/explorer/exchange_rates/source.ex +++ b/apps/explorer/lib/explorer/exchange_rates/source.ex @@ -83,7 +83,7 @@ defmodule Explorer.ExchangeRates.Source do @spec exchange_rates_source() :: module() defp exchange_rates_source do - config(:source) || Explorer.ExchangeRates.Source.CoinMarketCap + config(:source) || Explorer.ExchangeRates.Source.CoinGecko end @spec config(atom()) :: term diff --git a/apps/explorer/lib/explorer/exchange_rates/source/coin_gecko.ex b/apps/explorer/lib/explorer/exchange_rates/source/coin_gecko.ex index 4e59537bf6..f12eaca844 100644 --- a/apps/explorer/lib/explorer/exchange_rates/source/coin_gecko.ex +++ b/apps/explorer/lib/explorer/exchange_rates/source/coin_gecko.ex @@ -15,39 +15,45 @@ defmodule Explorer.ExchangeRates.Source.CoinGecko do {:ok, price} = get_btc_price() btc_price = to_decimal(price) - for item <- decode_json(data), - not is_nil(item["total_supply"]) and not is_nil(item["current_price"]) do - {:ok, last_updated, 0} = DateTime.from_iso8601(item["last_updated"]) + json_data = decode_json(data) - current_price = to_decimal(item["current_price"]) + market_data = json_data["market_data"] + {:ok, last_updated, 0} = DateTime.from_iso8601(market_data["last_updated"]) - id = item["id"] - btc_value = if id != "btc", do: Decimal.div(current_price, btc_price), else: 1 + current_price = to_decimal(market_data["current_price"]["usd"]) + id = json_data["id"] + btc_value = if id != "btc", do: Decimal.div(current_price, btc_price), else: 1 + + [ %Token{ - available_supply: to_decimal(item["total_supply"]), - total_supply: to_decimal(item["total_supply"]), + available_supply: to_decimal(market_data["circulating_supply"]), + total_supply: to_decimal(market_data["total_supply"]), btc_value: btc_value, - id: id, + id: json_data["id"], last_updated: last_updated, - market_cap_usd: to_decimal(item["market_cap"]), - name: item["name"], - symbol: item["symbol"], + market_cap_usd: to_decimal(market_data["market_cap"]["usd"]), + name: json_data["name"], + symbol: String.upcase(json_data["symbol"]), usd_value: current_price, - volume_24h_usd: to_decimal(item["total_volume"]) + volume_24h_usd: to_decimal(market_data["total_volume"]["usd"]) } - end + ] end @impl Source - def source_url(currency \\ "usd") do - "#{base_url()}/coins/markets?vs_currency=#{currency}" + def source_url do + "#{base_url()}/coins/#{coin_id()}" end defp base_url do config(:base_url) || "https://api.coingecko.com/api/v3" end + defp coin_id do + Application.get_env(:explorer, __MODULE__)[:coin_id] + end + defp get_btc_price(currency \\ "usd") do url = "#{base_url()}/exchange_rates" From 6990cac077063258515be73e2867314a11a1dbd9 Mon Sep 17 00:00:00 2001 From: Ayrat Badykov Date: Wed, 21 Aug 2019 12:24:54 +0300 Subject: [PATCH 13/48] add CHANGELOG entry --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a49616a0a5..d54e46cc71 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ - [#2497](https://github.com/poanetwork/blockscout/pull/2497) - Add generic Ordered Cache behaviour and implementation ### Fixes +- [#2610](https://github.com/poanetwork/blockscout/pull/2610) - use CoinGecko instead of CoinMarketcap for exchange rates - [#2572](https://github.com/poanetwork/blockscout/pull/2572) - Ease non-critical css - [#2570](https://github.com/poanetwork/blockscout/pull/2570) - Network icons preload - [#2569](https://github.com/poanetwork/blockscout/pull/2569) - do not fetch emission rewards for transactions csv exporter From 8bae16459a7db6482bb8df42279248eb9a7546b5 Mon Sep 17 00:00:00 2001 From: Ayrat Badykov Date: Wed, 21 Aug 2019 12:28:05 +0300 Subject: [PATCH 14/48] add entry to env vars file --- docs/env-variables.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/env-variables.md b/docs/env-variables.md index 60c9eee442..5ede197596 100644 --- a/docs/env-variables.md +++ b/docs/env-variables.md @@ -53,6 +53,7 @@ $ export NETWORK=POA | `ADDRESS_WITH_BALANCES`
`_UPDATE_INTERVAL`| | Interval in seconds to restart the task, which calculates addresses with balances. | 30 * 60 | v1.3.9+ | | `LINK_TO_OTHER_EXPLORERS` | | true/false. If true, links to other explorers are added in the footer | (empty) | v1.3.0+ | | `COINMARKETCAP_PAGES` | | the number of pages on coinmarketcap to list in order to find token's price | 10 | v1.3.10+ | +| `COIN_GECKO_ID` | | CoinGecko coin id required for fetching an exchange rate | poa-network | master | | `CHAIN_SPEC_PATH` | | Chain specification path (absolute file system path or url) to import block emission reward ranges and genesis account balances from | (empty) | master | | `SUPPORTED_CHAINS` | | Array of supported chains that displays in the footer and in the chains dropdown. This var was introduced in this PR [#1900](https://github.com/poanetwork/blockscout/pull/1900) and looks like an array of JSON objects. | (empty) | v2.0.0+ | | `BLOCK_COUNT_CACHE_PERIOD ` | | time to live of cache in seconds. This var was introduced in [#1876](https://github.com/poanetwork/blockscout/pull/1876) | 600 | v2.0.0+ | From 1ddbbb4b4063090a4df352bf0a7459dc1cc758db Mon Sep 17 00:00:00 2001 From: saneery Date: Wed, 21 Aug 2019 12:41:24 +0300 Subject: [PATCH 15/48] fix tests --- .../block_scout_web/views/api_docs_view_test.exs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/block_scout_web/test/block_scout_web/views/api_docs_view_test.exs b/apps/block_scout_web/test/block_scout_web/views/api_docs_view_test.exs index 7583aeaa4f..69be27ef09 100644 --- a/apps/block_scout_web/test/block_scout_web/views/api_docs_view_test.exs +++ b/apps/block_scout_web/test/block_scout_web/views/api_docs_view_test.exs @@ -17,7 +17,7 @@ defmodule BlockScoutWeb.ApiDocsViewTest do url: [scheme: "https", host: "blockscout.com", port: 9999, path: "/"] ) - assert APIDocsView.blockscout_url() == "https://blockscout.com/" + assert APIDocsView.blockscout_url() == "blockscout.com/" end test "returns url with scheme and host with path" do @@ -25,7 +25,7 @@ defmodule BlockScoutWeb.ApiDocsViewTest do url: [scheme: "https", host: "blockscout.com", port: 9999, path: "/chain/dog"] ) - assert APIDocsView.blockscout_url() == "https://blockscout.com/chain/dog" + assert APIDocsView.blockscout_url() == "blockscout.com/chain/dog" end end @@ -43,7 +43,7 @@ defmodule BlockScoutWeb.ApiDocsViewTest do url: [scheme: "https", host: "blockscout.com", port: 9999, path: "/chain/dog"] ) - assert APIDocsView.api_url() == "https://blockscout.com/chain/dog/api" + assert APIDocsView.api_url() == "blockscout.com/chain/dog/api" end test "does not add slash to empty path" do @@ -51,7 +51,7 @@ defmodule BlockScoutWeb.ApiDocsViewTest do url: [scheme: "https", host: "blockscout.com", port: 9999, path: ""] ) - assert APIDocsView.api_url() == "https://blockscout.com/api" + assert APIDocsView.api_url() == "blockscout.com/api" end end @@ -69,7 +69,7 @@ defmodule BlockScoutWeb.ApiDocsViewTest do url: [scheme: "https", host: "blockscout.com", port: 9999, path: "/chain/dog"] ) - assert APIDocsView.eth_rpc_api_url() == "https://blockscout.com/chain/dog/api/eth_rpc" + assert APIDocsView.eth_rpc_api_url() == "blockscout.com/chain/dog/api/eth_rpc" end test "does not add slash to empty path" do @@ -77,7 +77,7 @@ defmodule BlockScoutWeb.ApiDocsViewTest do url: [scheme: "https", host: "blockscout.com", port: 9999, path: ""] ) - assert APIDocsView.eth_rpc_api_url() == "https://blockscout.com/api/eth_rpc" + assert APIDocsView.eth_rpc_api_url() == "blockscout.com/api/eth_rpc" end end end From c563ee363802bebc17672f13c96a9adaeaa49b89 Mon Sep 17 00:00:00 2001 From: Ayrat Badykov Date: Wed, 21 Aug 2019 13:28:44 +0300 Subject: [PATCH 16/48] fix CoinGecko tests --- .../exchange_rates/source/coin_gecko.ex | 5 +- .../exchange_rates/source/coin_gecko_test.exs | 57 +++++-------------- 2 files changed, 18 insertions(+), 44 deletions(-) diff --git a/apps/explorer/lib/explorer/exchange_rates/source/coin_gecko.ex b/apps/explorer/lib/explorer/exchange_rates/source/coin_gecko.ex index f12eaca844..5b0bed2b3b 100644 --- a/apps/explorer/lib/explorer/exchange_rates/source/coin_gecko.ex +++ b/apps/explorer/lib/explorer/exchange_rates/source/coin_gecko.ex @@ -11,7 +11,7 @@ defmodule Explorer.ExchangeRates.Source.CoinGecko do @behaviour Source @impl Source - def format_data(data) do + def format_data(%{"market_data" => _} = data) do {:ok, price} = get_btc_price() btc_price = to_decimal(price) @@ -41,6 +41,9 @@ defmodule Explorer.ExchangeRates.Source.CoinGecko do ] end + @impl Source + def format_data(_), do: [] + @impl Source def source_url do "#{base_url()}/coins/#{coin_id()}" diff --git a/apps/explorer/test/explorer/exchange_rates/source/coin_gecko_test.exs b/apps/explorer/test/explorer/exchange_rates/source/coin_gecko_test.exs index 3c2a9b6feb..b4b3313d6c 100644 --- a/apps/explorer/test/explorer/exchange_rates/source/coin_gecko_test.exs +++ b/apps/explorer/test/explorer/exchange_rates/source/coin_gecko_test.exs @@ -18,34 +18,6 @@ defmodule Explorer.ExchangeRates.Source.CoinGeckoTest do } """ - @json_mkt_data """ - [ - { - "id": "poa-network", - "symbol": "poa", - "name": "POA Network", - "image": "https://assets.coingecko.com/coins/images/3157/large/poa.jpg?1520829019", - "current_price": 0.114782883773693, - "market_cap": 25248999.6735956, - "market_cap_rank": 185, - "total_volume": 2344442.13578437, - "high_24h": 0.115215129840519, - "low_24h": 0.101039753612939, - "price_change_24h": 0.0135970966607094, - "price_change_percentage_24h": 13.437753511298, - "market_cap_change_24h": 3058195.58191147, - "market_cap_change_percentage_24h": 13.7813644304017, - "circulating_supply": "219935174.0", - "total_supply": 252193195, - "ath": 0.935923393359191, - "ath_change_percentage": -87.731057963078, - "ath_date": "2018-05-10T09:45:31.809Z", - "roi": null, - "last_updated": "2018-10-23T01:25:31.764Z" - } - ] - """ - describe "format_data/1" do setup do bypass = Bypass.open() @@ -59,31 +31,30 @@ defmodule Explorer.ExchangeRates.Source.CoinGeckoTest do Conn.resp(conn, 200, @json_btc_price) end) - {:ok, expected_date, 0} = "2018-10-23T01:25:31.764Z" |> DateTime.from_iso8601() + json_data = + "#{File.cwd!()}/test/support/fixture/exchange_rates/coin_gecko.json" + |> File.read!() + |> Jason.decode!() expected = [ %Token{ - available_supply: Decimal.new("252193195"), - total_supply: Decimal.new("252193195"), - btc_value: Decimal.new("0.00001753101509231471092879666458"), + available_supply: Decimal.new("220167621.0"), + total_supply: Decimal.new("252193195.0"), + btc_value: Decimal.new("0.000002055310963802830367634997491"), id: "poa-network", - last_updated: expected_date, - market_cap_usd: Decimal.new("25248999.6735956"), + last_updated: ~U[2019-08-21 08:36:49.371Z], + market_cap_usd: Decimal.new("2962791"), name: "POA Network", - symbol: "poa", - usd_value: Decimal.new("0.114782883773693"), - volume_24h_usd: Decimal.new("2344442.13578437") + symbol: "POA", + usd_value: Decimal.new("0.01345698"), + volume_24h_usd: Decimal.new("119946") } ] - assert expected == CoinGecko.format_data(@json_mkt_data) + assert expected == CoinGecko.format_data(json_data) end - test "returns nothing when given bad data", %{bypass: bypass} do - Bypass.expect(bypass, "GET", "/exchange_rates", fn conn -> - Conn.resp(conn, 200, @json_btc_price) - end) - + test "returns nothing when given bad data" do bad_data = """ [{"id": "poa-network"}] """ From 61c65de470ee6dc6907613b19e24a7ce733ebe5d Mon Sep 17 00:00:00 2001 From: Ayrat Badykov Date: Wed, 21 Aug 2019 13:29:12 +0300 Subject: [PATCH 17/48] add example CoinGecko response --- .../fixture/exchange_rates/coin_gecko.json | 1806 +++++++++++++++++ 1 file changed, 1806 insertions(+) create mode 100644 apps/explorer/test/support/fixture/exchange_rates/coin_gecko.json diff --git a/apps/explorer/test/support/fixture/exchange_rates/coin_gecko.json b/apps/explorer/test/support/fixture/exchange_rates/coin_gecko.json new file mode 100644 index 0000000000..cc110eb402 --- /dev/null +++ b/apps/explorer/test/support/fixture/exchange_rates/coin_gecko.json @@ -0,0 +1,1806 @@ +{ + "asset_platform_id": null, + "block_time_in_minutes": 0, + "categories": [], + "coingecko_rank": 376, + "coingecko_score": 33.7, + "community_data": { + "facebook_likes": 0, + "reddit_accounts_active_48h": 0, + "reddit_average_comments_48h": 0.0, + "reddit_average_posts_48h": 0.0, + "reddit_subscribers": 0, + "telegram_channel_user_count": 5125, + "twitter_followers": 17737 + }, + "community_score": 9.403, + "country_origin": "", + "description": { + "ar": "", + "de": "", + "en": "", + "es": "", + "fr": "", + "hu": "", + "id": "", + "it": "", + "ja": "", + "ko": "", + "nl": "", + "pl": "", + "pt": "", + "ro": "", + "ru": "", + "sv": "", + "th": "", + "tr": "", + "vi": "", + "zh": "", + "zh-tw": "" + }, + "developer_data": { + "closed_issues": 0, + "code_additions_deletions_4_weeks": { + "additions": 0, + "deletions": 0 + }, + "commit_count_4_weeks": 0, + "forks": 44, + "last_4_weeks_commit_activity_series": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "pull_request_contributors": 6, + "pull_requests_merged": 133, + "stars": 58, + "subscribers": 8, + "total_issues": 0 + }, + "developer_score": 52.776, + "genesis_date": null, + "id": "poa-network", + "image": { + "large": "https://assets.coingecko.com/coins/images/3157/large/poa-network.png?1548331565", + "small": "https://assets.coingecko.com/coins/images/3157/small/poa-network.png?1548331565", + "thumb": "https://assets.coingecko.com/coins/images/3157/thumb/poa-network.png?1548331565" + }, + "last_updated": "2019-08-21T08:36:49.371Z", + "links": { + "announcement_url": [ + "", + "" + ], + "bitcointalk_thread_identifier": null, + "blockchain_site": [ + "https://blockscout.com/poa/core/", + "", + "", + "", + "" + ], + "chat_url": [ + "", + "", + "" + ], + "facebook_username": "", + "homepage": [ + "https://poa.network/", + "", + "" + ], + "official_forum_url": [ + "", + "", + "" + ], + "repos_url": { + "bitbucket": [], + "github": [ + "https://github.com/poanetwork/poa-network-consensus-contracts" + ] + }, + "subreddit_url": null, + "telegram_channel_identifier": "oraclesnetwork", + "twitter_screen_name": "poanetwork" + }, + "liquidity_score": 19.334, + "localization": { + "ar": "POA Network", + "de": "POA Network", + "en": "POA Network", + "es": "POA Network", + "fr": "POA Network", + "hu": "POA Network", + "id": "POA Network", + "it": "POA Network", + "ja": "ポアネットワーク", + "ko": "POA 네트워크", + "nl": "POA Network", + "pl": "POA Network", + "pt": "POA Network", + "ro": "POA Network", + "ru": "POA Network", + "sv": "POA Network", + "th": "POA Network", + "tr": "POA Network", + "vi": "POA Network", + "zh": "POA Network", + "zh-tw": "POA Network" + }, + "market_cap_rank": 499, + "market_data": { + "ath": { + "aed": 3.06, + "ars": 18.93, + "aud": 1.25, + "bch": 0.00076772, + "bdt": 70.74, + "bhd": 0.314495, + "bmd": 0.833914, + "bnb": 0.01322268, + "brl": 3.36, + "btc": 0.00010137, + "cad": 1.2, + "chf": 0.938803, + "clp": 519.58, + "cny": 5.94, + "czk": 17.83, + "dkk": 5.87, + "eos": 0.02444974, + "eth": 0.0011725, + "eur": 0.787803, + "gbp": 0.689151, + "hkd": 7.35, + "huf": 219.96, + "idr": 13179.33, + "ils": 2.97, + "inr": 62.94, + "jpy": 102.6, + "krw": 1000.83, + "kwd": 0.251571, + "lkr": 131.79, + "ltc": 0.00537407, + "mmk": 1125.41, + "mxn": 18.15, + "myr": 3.76, + "nok": 6.67, + "nzd": 1.35, + "php": 48.59, + "pkr": 96.55, + "pln": 3.34, + "rub": 58.27, + "sar": 3.13, + "sek": 8.13, + "sgd": 1.25, + "thb": 26.65, + "try": 3.54, + "twd": 27.89, + "uah": 1.44, + "usd": 0.935923, + "vef": 58307, + "vnd": 1281.67, + "xag": 0.056398, + "xau": 0.00071129, + "xdr": 0.656022, + "xlm": 0.58965135, + "xrp": 0.2920468, + "zar": 11.63 + }, + "ath_change_percentage": { + "aed": -98.3819, + "ars": -96.09901, + "aud": -98.40941, + "bch": -94.11046, + "bdt": -98.39058, + "bhd": -98.38261, + "bmd": -98.38194, + "bnb": -96.24179, + "brl": -98.37442, + "btc": -98.68937, + "cad": -98.49893, + "chf": -98.59269, + "clp": -98.15517, + "cny": -98.39701, + "czk": -98.2406, + "dkk": -98.45473, + "eos": -84.56025, + "eth": -93.8673, + "eur": -98.45627, + "gbp": -98.38711, + "hkd": -98.55948, + "huf": -98.18974, + "idr": -98.54127, + "ils": -98.39903, + "inr": -98.46908, + "jpy": -98.59899, + "krw": -98.37868, + "kwd": -98.3684, + "lkr": -98.16735, + "ltc": -96.51103, + "mmk": -98.17585, + "mxn": -98.53298, + "myr": -98.49907, + "nok": -98.18519, + "nzd": -98.43938, + "php": -98.54716, + "pkr": -97.76349, + "pln": -98.41583, + "rub": -98.4658, + "sar": -98.3821, + "sek": -98.39542, + "sgd": -98.51152, + "thb": -98.44172, + "try": -97.81784, + "twd": -98.48322, + "uah": -76.52065, + "usd": -98.5583, + "vef": -94.2496, + "vnd": -75.59837, + "xag": -98.59644, + "xau": -98.73411, + "xdr": -98.49988, + "xlm": -66.24383, + "xrp": -82.56607, + "zar": -98.23009 + }, + "ath_date": { + "aed": "2018-05-10T00:00:00.000Z", + "ars": "2018-05-10T00:00:00.000Z", + "aud": "2018-05-10T09:45:31.809Z", + "bch": "2018-04-14T00:00:00.000Z", + "bdt": "2018-05-10T00:00:00.000Z", + "bhd": "2018-05-10T00:00:00.000Z", + "bmd": "2018-05-10T00:00:00.000Z", + "bnb": "2018-10-16T12:40:17.749Z", + "brl": "2018-05-10T09:45:31.809Z", + "btc": "2018-05-10T09:45:31.809Z", + "cad": "2018-05-10T09:45:31.809Z", + "chf": "2018-05-10T09:45:31.809Z", + "clp": "2018-05-10T00:00:00.000Z", + "cny": "2018-05-10T09:45:31.809Z", + "czk": "2018-05-10T00:00:00.000Z", + "dkk": "2018-05-10T09:45:31.809Z", + "eos": "2018-10-16T12:40:17.749Z", + "eth": "2018-04-09T00:00:00.000Z", + "eur": "2018-05-10T09:45:31.809Z", + "gbp": "2018-05-10T09:45:31.809Z", + "hkd": "2018-05-10T09:45:31.809Z", + "huf": "2018-05-10T00:00:00.000Z", + "idr": "2018-05-10T09:45:31.809Z", + "ils": "2018-05-10T00:00:00.000Z", + "inr": "2018-05-10T09:45:31.809Z", + "jpy": "2018-05-10T09:45:31.809Z", + "krw": "2018-05-10T09:45:31.809Z", + "kwd": "2018-05-10T00:00:00.000Z", + "lkr": "2018-05-10T00:00:00.000Z", + "ltc": "2018-05-10T00:00:00.000Z", + "mmk": "2018-05-10T00:00:00.000Z", + "mxn": "2018-05-10T09:45:31.809Z", + "myr": "2018-05-10T09:45:31.809Z", + "nok": "2018-05-10T00:00:00.000Z", + "nzd": "2018-05-10T09:45:31.809Z", + "php": "2018-05-10T09:45:31.809Z", + "pkr": "2018-05-10T00:00:00.000Z", + "pln": "2018-05-10T09:45:31.809Z", + "rub": "2018-05-10T09:45:31.809Z", + "sar": "2018-05-10T00:00:00.000Z", + "sek": "2018-05-10T09:45:31.809Z", + "sgd": "2018-05-10T09:45:31.809Z", + "thb": "2018-05-10T00:00:00.000Z", + "try": "2018-05-10T00:00:00.000Z", + "twd": "2018-05-10T09:45:31.809Z", + "uah": "2019-05-27T12:49:29.532Z", + "usd": "2018-05-10T09:45:31.809Z", + "vef": "2018-05-10T00:00:00.000Z", + "vnd": "2019-05-27T12:49:29.532Z", + "xag": "2018-05-10T09:45:31.809Z", + "xau": "2018-05-10T09:45:31.809Z", + "xdr": "2018-05-10T09:45:31.809Z", + "xlm": "2018-10-16T12:49:26.379Z", + "xrp": "2018-10-16T12:40:17.749Z", + "zar": "2018-05-10T09:45:31.809Z" + }, + "circulating_supply": 220167621.0, + "current_price": { + "aed": 0.04942712, + "ars": 0.73641, + "aud": 0.0198328, + "bch": 4.486e-05, + "bdt": 1.14, + "bhd": 0.00507448, + "bmd": 0.01345698, + "bnb": 0.00049505, + "brl": 0.054544, + "btc": 1.32e-06, + "cad": 0.0178991, + "chf": 0.01317061, + "clp": 9.55, + "cny": 0.095047, + "czk": 0.312629, + "dkk": 0.090366, + "eos": 0.0037559, + "eth": 7.147e-05, + "eur": 0.01211961, + "gbp": 0.01107566, + "hkd": 0.105541, + "huf": 3.97, + "idr": 191.75, + "ils": 0.04745883, + "inr": 0.960893, + "jpy": 1.43, + "krw": 16.19, + "kwd": 0.00409361, + "lkr": 2.4, + "ltc": 0.00018598, + "mmk": 20.47, + "mxn": 0.26536, + "myr": 0.056211, + "nok": 0.120606, + "nzd": 0.02100918, + "php": 0.704042, + "pkr": 2.15, + "pln": 0.052749, + "rub": 0.891153, + "sar": 0.050476, + "sek": 0.129909, + "sgd": 0.01861909, + "thb": 0.414071, + "try": 0.076819, + "twd": 0.422042, + "uah": 0.338308, + "usd": 0.01345698, + "vef": 3343.89, + "vnd": 311.66, + "xag": 0.00078867, + "xau": 8.98e-06, + "xdr": 0.00981471, + "xlm": 0.1975895, + "xrp": 0.05067322, + "zar": 0.204922 + }, + "high_24h": { + "aed": 0.053611, + "ars": 0.810805, + "aud": 0.02152674, + "bch": 4.628e-05, + "bdt": 1.23, + "bhd": 0.00550347, + "bmd": 0.0145949, + "bnb": 0.00052215, + "brl": 0.058875, + "btc": 1.37e-06, + "cad": 0.01943935, + "chf": 0.01428979, + "clp": 10.36, + "cny": 0.103044, + "czk": 0.339287, + "dkk": 0.098076, + "eos": 0.00402026, + "eth": 7.423e-05, + "eur": 0.01315448, + "gbp": 0.01201087, + "hkd": 0.114474, + "huf": 4.31, + "idr": 208.11, + "ils": 0.051491, + "inr": 1.04, + "jpy": 1.55, + "krw": 17.63, + "kwd": 0.00443977, + "lkr": 2.6, + "ltc": 0.00019631, + "mmk": 22.24, + "mxn": 0.288202, + "myr": 0.061014, + "nok": 0.131376, + "nzd": 0.02274396, + "php": 0.76332, + "pkr": 2.34, + "pln": 0.057291, + "rub": 0.972261, + "sar": 0.054726, + "sek": 0.14165, + "sgd": 0.02021141, + "thb": 0.449117, + "try": 0.083602, + "twd": 0.457778, + "uah": 0.367456, + "usd": 0.0145949, + "vef": 3626.65, + "vnd": 338.27, + "xag": 0.00085369, + "xau": 9.72e-06, + "xdr": 0.01064365, + "xlm": 0.20827298, + "xrp": 0.05318558, + "zar": 0.223696 + }, + "last_updated": "2019-08-21T08:36:49.371Z", + "low_24h": { + "aed": 0.0491677, + "ars": 0.732555, + "aud": 0.0197477, + "bch": 4.364e-05, + "bdt": 1.13, + "bhd": 0.00504693, + "bmd": 0.01338635, + "bnb": 0.00049273, + "brl": 0.054256, + "btc": 1.3e-06, + "cad": 0.01782004, + "chf": 0.01311131, + "clp": 9.51, + "cny": 0.094517, + "czk": 0.311235, + "dkk": 0.089982, + "eos": 0.00373147, + "eth": 7.098e-05, + "eur": 0.01206786, + "gbp": 0.01103078, + "hkd": 0.104993, + "huf": 3.95, + "idr": 190.79, + "ils": 0.04723279, + "inr": 0.958004, + "jpy": 1.43, + "krw": 16.1, + "kwd": 0.00406945, + "lkr": 2.39, + "ltc": 0.00018228, + "mmk": 20.37, + "mxn": 0.264134, + "myr": 0.055903, + "nok": 0.120189, + "nzd": 0.02091282, + "php": 0.700581, + "pkr": 2.14, + "pln": 0.052569, + "rub": 0.886879, + "sar": 0.050214, + "sek": 0.129578, + "sgd": 0.01853166, + "thb": 0.412199, + "try": 0.076627, + "twd": 0.4198, + "uah": 0.336532, + "usd": 0.01338635, + "vef": 3326.34, + "vnd": 310.32, + "xag": 0.00078625, + "xau": 8.93e-06, + "xdr": 0.0097632, + "xlm": 0.19635382, + "xrp": 0.05037993, + "zar": 0.204544 + }, + "market_cap": { + "aed": 10882251, + "ars": 162133701, + "aud": 4366541, + "bch": 9877, + "bdt": 249997342, + "bhd": 1117236, + "bmd": 2962791, + "bnb": 108994, + "brl": 12008719, + "btc": 290.732, + "cad": 3940802, + "chf": 2899743, + "clp": 2101619696, + "cny": 20926193, + "czk": 68830802, + "dkk": 19895675, + "eos": 826927, + "eth": 15736, + "eur": 2668346, + "gbp": 2438501, + "hkd": 23236814, + "huf": 873552757, + "idr": 42217105275, + "ils": 10448899, + "inr": 211557455, + "jpy": 315583737, + "krw": 3564593111, + "kwd": 901281, + "lkr": 529480380, + "ltc": 40948, + "mmk": 4507718929, + "mxn": 58423768, + "myr": 12375904, + "nok": 26553448, + "nzd": 4625542, + "php": 155007300, + "pkr": 474133000, + "pln": 11613646, + "rub": 196202962, + "sar": 11113192, + "sek": 28601664, + "sgd": 4099321, + "thb": 91165079, + "try": 16912998, + "twd": 92920077, + "uah": 74484427, + "usd": 2962791, + "vef": 736216950688, + "vnd": 68617204931, + "xag": 173639, + "xau": 1976.89, + "xdr": 2160882, + "xlm": 43502811, + "xrp": 11156602, + "zar": 45117091 + }, + "market_cap_change_24h": -160615.84039035, + "market_cap_change_24h_in_currency": { + "aed": -590899.65443375, + "ars": -9124373.5980551, + "aud": -239353.78003874, + "bch": 102.549, + "bdt": -13867874.4362154, + "bhd": -60251.00254582, + "bmd": -160615.84039035, + "bnb": -1507.543569741, + "brl": -718070.38245432, + "btc": 0.03769596, + "cad": -221121.61427417, + "chf": -161095.94704691, + "clp": -127118490.79824165, + "cny": -1134429.68067712, + "czk": -3925858.7665586, + "dkk": -1136450.3780936, + "eos": -24548.1071608166, + "eth": -56.533938946, + "eur": -152193.5816755, + "gbp": -144996.42715597, + "hkd": -1263688.72303977, + "huf": -48860628.81047357, + "idr": -2346101857.217293, + "ils": -576162.08791993, + "inr": -12451722.53525829, + "jpy": -16857632.06248754, + "krw": -209731718.0214291, + "kwd": -49171.67933105, + "lkr": -26048761.01962376, + "ltc": -309.0831858893, + "mmk": -251710124.48363495, + "mxn": -3503488.89323037, + "myr": -687829.52792143, + "nok": -1513569.75537506, + "nzd": -244980.03753899, + "php": -8388263.35503852, + "pkr": -26642819.2931419, + "pln": -696325.10549893, + "rub": -12221976.62125358, + "sar": -601457.67784725, + "sek": -1668070.90346983, + "sgd": -230174.18438848, + "thb": -5107689.97148955, + "try": -927927.24538566, + "twd": -5107834.82635887, + "uah": -4241989.31565817, + "usd": -160615.84039035, + "vef": -39911051485.156494, + "vnd": -4088394297.5983276, + "xag": -9606.58322042, + "xau": -102.32803274, + "xdr": -115659.93877989, + "xlm": -1276957.0373063833, + "xrp": -122973.5124849025, + "zar": -2969034.78716005 + }, + "market_cap_change_percentage_24h": -5.14233, + "market_cap_change_percentage_24h_in_currency": { + "aed": -5.15028, + "ars": -5.32785, + "aud": -5.19668, + "bch": 1.0491, + "bdt": -5.25567, + "bhd": -5.11691, + "bmd": -5.14233, + "bnb": -1.36428, + "brl": -5.6422, + "btc": 0.01297, + "cad": -5.31297, + "chf": -5.26313, + "clp": -5.70361, + "cny": -5.14233, + "czk": -5.39588, + "dkk": -5.4034, + "eos": -2.88301, + "eth": -0.35797, + "eur": -5.3959, + "gbp": -5.61241, + "hkd": -5.15781, + "huf": -5.29704, + "idr": -5.26466, + "ils": -5.22593, + "inr": -5.55858, + "jpy": -5.07086, + "krw": -5.5568, + "kwd": -5.1735, + "lkr": -4.689, + "ltc": -0.74917, + "mmk": -5.28866, + "mxn": -5.65743, + "myr": -5.26518, + "nok": -5.3927, + "nzd": -5.02985, + "php": -5.13372, + "pkr": -5.32031, + "pln": -5.65659, + "rub": -5.86397, + "sar": -5.13424, + "sek": -5.51069, + "sgd": -5.31642, + "thb": -5.30544, + "try": -5.20112, + "twd": -5.21059, + "uah": -5.38827, + "usd": -5.14233, + "vef": -5.14233, + "vnd": -5.62322, + "xag": -5.24248, + "xau": -4.92146, + "xdr": -5.08051, + "xlm": -2.85164, + "xrp": -1.09023, + "zar": -6.17441 + }, + "market_cap_rank": 499, + "price_change_24h": -0.00070501, + "price_change_24h_in_currency": { + "aed": -0.00259384, + "ars": -0.0401764, + "aud": -0.00106049, + "bch": 4.401e-07, + "bdt": -0.06091731, + "bhd": -0.00026442, + "bmd": -0.00070501, + "bnb": -7.9537e-06, + "brl": -0.00316161, + "btc": -7e-10, + "cad": -0.000975, + "chf": -0.00070391, + "clp": -0.55975334, + "cny": -0.00498938, + "czk": -0.01720638, + "dkk": -0.00497873, + "eos": -0.0001041039, + "eth": -1.756e-07, + "eur": -0.00066664, + "gbp": -0.00063744, + "hkd": -0.00554812, + "huf": -0.21652693, + "idr": -10.32117361, + "ils": -0.00254123, + "inr": -0.05433204, + "jpy": -0.07396812, + "krw": -0.92440016, + "kwd": -0.00021588, + "lkr": -0.11324611, + "ltc": -1.1432e-06, + "mmk": -1.10591975, + "mxn": -0.01564173, + "myr": -0.00303114, + "nok": -0.0066618, + "nzd": -0.00108422, + "php": -0.03666507, + "pkr": -0.11708205, + "pln": -0.0030605, + "rub": -0.05396307, + "sar": -0.00263569, + "sek": -0.00737328, + "sgd": -0.00101489, + "thb": -0.02240118, + "try": -0.00415931, + "twd": -0.02243055, + "uah": -0.01864934, + "usd": -0.00070501, + "vef": -175.18566197, + "vnd": -17.91454955, + "xag": -4.268e-05, + "xau": -4.5e-07, + "xdr": -0.00050746, + "xlm": -0.0043814329, + "xrp": -0.0005808077, + "zar": -0.01325238 + }, + "price_change_percentage_14d": -20.09212, + "price_change_percentage_14d_in_currency": { + "aed": -20.09664, + "ars": -3.40252, + "aud": -20.3743, + "bch": -10.35771, + "bdt": -20.21051, + "bhd": -20.07198, + "bmd": -20.09212, + "bnb": -18.90438, + "brl": -18.21564, + "btc": -10.20835, + "cad": -19.99931, + "chf": -19.86474, + "clp": -20.70274, + "cny": -19.67703, + "czk": -19.20224, + "dkk": -19.44946, + "eos": -6.27667, + "eth": -3.85819, + "eur": -19.3615, + "gbp": -19.99287, + "hkd": -20.04155, + "huf": -18.72941, + "idr": -19.92585, + "ils": -19.11955, + "inr": -19.53455, + "jpy": -19.93789, + "krw": -20.72061, + "kwd": -20.08213, + "lkr": -19.39749, + "ltc": 3.01755, + "mmk": -19.52559, + "mxn": -19.64657, + "myr": -20.39088, + "nok": -19.55283, + "nzd": -18.54, + "php": -19.79625, + "pkr": -19.69932, + "pln": -18.70635, + "rub": -18.9447, + "sar": -20.11299, + "sek": -19.43426, + "sgd": -19.93866, + "thb": -19.96922, + "try": -17.50796, + "twd": -20.26871, + "uah": -21.43567, + "usd": -20.09212, + "vef": -20.09212, + "vnd": -20.39781, + "xag": -22.82706, + "xau": -21.25807, + "xdr": -19.80447, + "xlm": -6.90503, + "xrp": -5.82792, + "zar": -18.53383 + }, + "price_change_percentage_1h_in_currency": { + "aed": -0.65082, + "ars": -0.65814, + "aud": -0.81241, + "bch": 1.34916, + "bdt": -0.64945, + "bhd": -0.62736, + "bmd": -0.65082, + "bnb": -0.66128, + "brl": -0.65109, + "btc": -0.64949, + "cad": -0.75327, + "chf": -0.6566, + "clp": -0.81121, + "cny": -0.61001, + "czk": -0.71198, + "dkk": -0.72865, + "eos": -0.27623, + "eth": -0.72711, + "eur": -0.73062, + "gbp": -0.79594, + "hkd": -0.65424, + "huf": -0.65304, + "idr": -0.69877, + "ils": -0.68895, + "inr": -0.85681, + "jpy": -0.70261, + "krw": -0.64504, + "kwd": -0.68347, + "lkr": -0.66193, + "ltc": 0.20669, + "mmk": -0.65082, + "mxn": -0.79588, + "myr": -0.58632, + "nok": -0.94166, + "nzd": -0.77361, + "php": -0.65651, + "pkr": -0.65082, + "pln": -0.82133, + "rub": -0.80523, + "sar": -0.62904, + "sek": -0.92466, + "sgd": -0.72845, + "thb": -0.71559, + "try": -0.93842, + "twd": -0.63818, + "uah": -0.65082, + "usd": -0.65082, + "vef": -0.65082, + "vnd": -0.72098, + "xag": -0.86625, + "xau": -0.66422, + "xdr": -0.65082, + "xlm": -0.6397, + "xrp": -0.05073, + "zar": -1.25864 + }, + "price_change_percentage_1y": -80.39683, + "price_change_percentage_1y_in_currency": { + "aed": -80.39794, + "ars": -61.05676, + "aud": -78.80429, + "bch": -66.67604, + "bdt": -80.26581, + "bhd": -80.39891, + "bmd": -80.39683, + "brl": -79.97401, + "btc": -87.93415, + "cad": -80.00734, + "chf": -80.63119, + "clp": -79.21186, + "cny": -79.80673, + "czk": -79.67769, + "dkk": -79.72199, + "eth": -71.77736, + "eur": -79.71573, + "gbp": -79.34655, + "hkd": -80.41399, + "huf": -79.49619, + "idr": -80.5156, + "ils": -81.08059, + "inr": -79.93604, + "jpy": -81.01454, + "krw": -78.90452, + "kwd": -80.34132, + "lkr": -78.15787, + "ltc": -85.4361, + "mmk": -80.27721, + "mxn": -79.65762, + "myr": -80.02222, + "nok": -79.18424, + "nzd": -79.67365, + "php": -80.76747, + "pkr": -74.51734, + "pln": -79.50758, + "rub": -80.62327, + "sar": -80.39647, + "sek": -79.31728, + "sgd": -80.18923, + "thb": -81.67711, + "try": -81.65737, + "twd": -79.98887, + "uah": -82.20648, + "usd": -80.39683, + "vef": -80.39558, + "vnd": -80.34916, + "xag": -83.03235, + "xau": -84.4215, + "xdr": -80.03907, + "zar": -79.43625 + }, + "price_change_percentage_200d": -50.1114, + "price_change_percentage_200d_in_currency": { + "aed": -50.11196, + "ars": -26.51722, + "aud": -46.67198, + "bch": -80.79243, + "bdt": -49.71149, + "bhd": -50.09578, + "bmd": -50.1114, + "bnb": -87.93302, + "brl": -44.75887, + "btc": -83.02991, + "cad": -49.34427, + "chf": -50.94689, + "clp": -45.88183, + "cny": -47.75857, + "czk": -48.37087, + "dkk": -48.59098, + "eos": -67.57399, + "eth": -71.6239, + "eur": -48.52075, + "gbp": -46.27358, + "hkd": -50.136, + "huf": -46.91923, + "idr": -49.00487, + "ils": -51.63145, + "inr": -50.15368, + "jpy": -51.46878, + "krw": -46.36111, + "kwd": -49.91845, + "lkr": -49.53248, + "ltc": -77.44522, + "mmk": -49.82943, + "mxn": -48.49618, + "myr": -49.12989, + "nok": -47.01887, + "nzd": -46.2816, + "php": -50.10377, + "pkr": -42.33563, + "pln": -47.7461, + "rub": -49.52654, + "sar": -50.10515, + "sek": -46.7992, + "sgd": -48.88484, + "thb": -50.95616, + "try": -45.32063, + "twd": -49.1634, + "uah": -54.76622, + "usd": -50.1114, + "vef": -50.1114, + "vnd": -50.2089, + "xag": -53.50147, + "xau": -56.13406, + "xdr": -49.07152, + "xlm": -39.53366, + "xrp": -42.37148, + "zar": -42.98063 + }, + "price_change_percentage_24h": -4.97817, + "price_change_percentage_24h_in_currency": { + "aed": -4.98614, + "ars": -5.17346, + "aud": -5.07575, + "bch": 0.99066, + "bdt": -5.0917, + "bhd": -4.95271, + "bmd": -4.97817, + "bnb": -1.58124, + "brl": -5.4789, + "btc": -0.05257, + "cad": -5.16583, + "chf": -5.07341, + "clp": -5.53921, + "cny": -4.98758, + "czk": -5.21666, + "dkk": -5.22182, + "eos": -2.69699, + "eth": -0.24506, + "eur": -5.21371, + "gbp": -5.44209, + "hkd": -4.99428, + "huf": -5.17487, + "idr": -5.1077, + "ils": -5.08246, + "inr": -5.35173, + "jpy": -4.90717, + "krw": -5.40119, + "kwd": -5.00939, + "lkr": -4.49721, + "ltc": -0.61091, + "mmk": -5.12476, + "mxn": -5.56641, + "myr": -5.1165, + "nok": -5.23449, + "nzd": -4.90745, + "php": -4.95001, + "pkr": -5.15646, + "pln": -5.48383, + "rub": -5.70968, + "sar": -4.96254, + "sek": -5.3709, + "sgd": -5.16905, + "thb": -5.13232, + "try": -5.13634, + "twd": -5.04655, + "uah": -5.22453, + "usd": -4.97817, + "vef": -4.97817, + "vnd": -5.43568, + "xag": -5.1341, + "xau": -4.8084, + "xdr": -4.91624, + "xlm": -2.16934, + "xrp": -1.13319, + "zar": -6.07423 + }, + "price_change_percentage_30d": -34.83569, + "price_change_percentage_30d_in_currency": { + "aed": -34.83544, + "ars": -15.98426, + "aud": -32.35353, + "bch": -30.11906, + "bdt": -34.93771, + "bhd": -34.7457, + "bmd": -34.83569, + "bnb": -27.08407, + "brl": -29.51868, + "btc": -32.08124, + "cad": -33.60701, + "chf": -35.09987, + "clp": -32.84418, + "cny": -33.12269, + "czk": -33.51308, + "dkk": -34.24389, + "eos": -21.08346, + "eth": -21.69788, + "eur": -34.16271, + "gbp": -32.89529, + "hkd": -34.53494, + "huf": -33.76133, + "idr": -33.48833, + "ils": -35.07099, + "inr": -32.4077, + "jpy": -35.60577, + "krw": -33.33925, + "kwd": -34.83162, + "lkr": -33.78522, + "ltc": -10.07379, + "mmk": -34.67478, + "mxn": -32.46726, + "myr": -33.79734, + "nok": -31.87864, + "nzd": -31.23716, + "php": -33.28065, + "pkr": -34.80085, + "pln": -32.59928, + "rub": -31.5309, + "sar": -34.83447, + "sek": -32.96828, + "sgd": -33.73135, + "thb": -35.04678, + "try": -34.23351, + "twd": -34.17354, + "uah": -36.37221, + "usd": -34.83569, + "vef": -34.83569, + "vnd": -35.19581, + "xag": -38.03606, + "xau": -38.0235, + "xdr": -34.25025, + "xlm": -12.74201, + "xrp": -18.8697, + "zar": -28.75132 + }, + "price_change_percentage_60d": -61.24989, + "price_change_percentage_60d_in_currency": { + "aed": -61.25202, + "ars": -50.32249, + "aud": -60.412, + "bch": -43.0945, + "bdt": -61.20391, + "bhd": -61.23344, + "bmd": -61.24989, + "bnb": -44.49169, + "brl": -58.90604, + "btc": -61.42639, + "cad": -61.04496, + "chf": -61.10703, + "clp": -59.79652, + "cny": -60.16104, + "czk": -60.03065, + "dkk": -60.38034, + "eos": -23.51938, + "eth": -39.23291, + "eur": -60.26215, + "gbp": -59.36192, + "hkd": -61.10542, + "huf": -59.91464, + "idr": -60.90777, + "ils": -62.26651, + "inr": -60.23354, + "jpy": -61.53855, + "krw": -59.78067, + "kwd": -61.16844, + "lkr": -60.71768, + "ltc": -25.65935, + "mmk": -61.20413, + "mxn": -60.04539, + "myr": -60.87356, + "nok": -59.13075, + "nzd": -60.12056, + "php": -60.49041, + "pkr": -60.53743, + "pln": -59.42569, + "rub": -59.28727, + "sar": -61.24451, + "sek": -59.99926, + "sgd": -60.43237, + "thb": -61.1805, + "try": -62.00162, + "twd": -60.74424, + "uah": -62.83383, + "usd": -61.24989, + "vef": -61.24989, + "vnd": -61.16958, + "xag": -65.19693, + "xau": -63.82007, + "xdr": -60.62729, + "xlm": -29.85582, + "xrp": -35.11899, + "zar": -58.83133 + }, + "price_change_percentage_7d": -12.91815, + "price_change_percentage_7d_in_currency": { + "aed": -12.92308, + "ars": -14.25115, + "aud": -12.76443, + "bch": 0.88592, + "bdt": -13.147, + "bhd": -12.88673, + "bmd": -12.91815, + "bnb": -5.78627, + "brl": -10.95714, + "btc": -6.92663, + "cad": -12.35787, + "chf": -12.68629, + "clp": -12.25865, + "cny": -12.67706, + "czk": -12.47009, + "dkk": -12.42719, + "eos": -0.91188, + "eth": -3.2526, + "eur": -12.3442, + "gbp": -13.56715, + "hkd": -12.94473, + "huf": -11.29007, + "idr": -13.63998, + "ils": -11.80257, + "inr": -12.53093, + "jpy": -12.98836, + "krw": -13.1693, + "kwd": -12.90068, + "lkr": -11.99684, + "ltc": 1.8824, + "mmk": -12.2934, + "mxn": -11.39186, + "myr": -13.13461, + "nok": -11.99025, + "nzd": -12.14546, + "php": -12.50757, + "pkr": -13.04362, + "pln": -11.96443, + "rub": -11.16958, + "sar": -12.91768, + "sek": -11.88369, + "sgd": -12.90808, + "thb": -12.98884, + "try": -10.77039, + "twd": -12.26523, + "uah": -12.97908, + "usd": -12.91815, + "vef": -12.91815, + "vnd": -13.40154, + "xag": -13.34686, + "xau": -12.77828, + "xdr": -12.6042, + "xlm": -3.71389, + "xrp": -2.40223, + "zar": -12.40714 + }, + "roi": null, + "total_supply": 252193195.0, + "total_volume": { + "aed": 440559, + "ars": 6563849, + "aud": 176776, + "bch": 399.879, + "bdt": 10120936, + "bhd": 45230, + "bmd": 119946, + "bnb": 4413, + "brl": 486163, + "btc": 11.770053, + "cad": 159540, + "chf": 117394, + "clp": 85082341, + "cny": 847180, + "czk": 2786558, + "dkk": 805460, + "eos": 33477, + "eth": 637.075, + "eur": 108026, + "gbp": 98721, + "hkd": 940723, + "huf": 35365063, + "idr": 1709124708, + "ils": 423015, + "inr": 8564729, + "jpy": 12776147, + "krw": 144309614, + "kwd": 36488, + "lkr": 21435577, + "ltc": 1658, + "mmk": 182491285, + "mxn": 2365238, + "myr": 501028, + "nok": 1074994, + "nzd": 187261, + "php": 6275343, + "pkr": 19194884, + "pln": 470169, + "rub": 7943115, + "sar": 449908, + "sek": 1157915, + "sgd": 165958, + "thb": 3690743, + "try": 684709, + "twd": 3761793, + "uah": 3015441, + "usd": 119946, + "vef": 29805136391, + "vnd": 2777910981, + "xag": 7029.61, + "xau": 80.03, + "xdr": 87482, + "xlm": 1761175, + "xrp": 451666, + "zar": 1826528 + } + }, + "name": "POA Network", + "public_interest_score": 27.778, + "public_interest_stats": { + "alexa_rank": 702581, + "bing_matches": 107000 + }, + "sentiment_votes_down_percentage": null, + "sentiment_votes_up_percentage": null, + "status_updates": [], + "symbol": "poa", + "tickers": [ + { + "base": "POA", + "bid_ask_spread_percentage": 1.503759, + "coin_id": "poa-network", + "converted_last": { + "btc": 1.32e-06, + "eth": 7.139e-05, + "usd": 0.01344331 + }, + "converted_volume": { + "btc": 10.856044, + "eth": 587.121, + "usd": 110562 + }, + "is_anomaly": false, + "is_stale": false, + "last": 1.32e-06, + "last_fetch_at": "2019-08-21T08:34:21+00:00", + "last_traded_at": "2019-08-21T08:34:21+00:00", + "market": { + "has_trading_incentive": false, + "identifier": "binance", + "name": "Binance" + }, + "target": "BTC", + "timestamp": "2019-08-21T08:34:21+00:00", + "trade_url": "https://www.binance.com/trade.html?symbol=POA_BTC", + "trust_score": "green", + "volume": 8224275.5227272725 + }, + { + "base": "POA", + "bid_ask_spread_percentage": 1.729386, + "coin_id": "poa-network", + "converted_last": { + "btc": 1.34e-06, + "eth": 7.226e-05, + "usd": 0.01360764 + }, + "converted_volume": { + "btc": 0.35219856, + "eth": 19.04774, + "usd": 3586.91 + }, + "is_anomaly": false, + "is_stale": false, + "last": 7.238e-05, + "last_fetch_at": "2019-08-21T08:34:26+00:00", + "last_traded_at": "2019-08-21T08:34:26+00:00", + "market": { + "has_trading_incentive": false, + "identifier": "binance", + "name": "Binance" + }, + "target": "ETH", + "timestamp": "2019-08-21T08:34:26+00:00", + "trade_url": "https://www.binance.com/trade.html?symbol=POA_ETH", + "trust_score": "green", + "volume": 263595.07819839736 + }, + { + "base": "POA", + "bid_ask_spread_percentage": 1.39165, + "coin_id": "poa-network", + "converted_last": { + "btc": 1.34e-06, + "eth": 7.259e-05, + "usd": 0.01363846 + }, + "converted_volume": { + "btc": 0.24038472, + "eth": 13.008637, + "usd": 2444.17 + }, + "is_anomaly": false, + "is_stale": false, + "last": 0.000502, + "last_fetch_at": "2019-08-21T08:34:26+00:00", + "last_traded_at": "2019-08-21T08:13:08+00:00", + "market": { + "has_trading_incentive": false, + "identifier": "binance", + "name": "Binance" + }, + "target": "BNB", + "timestamp": "2019-08-21T08:13:08+00:00", + "trade_url": "https://www.binance.com/trade.html?symbol=POA_BNB", + "trust_score": "green", + "volume": 179211.83864541832 + }, + { + "base": "POA", + "bid_ask_spread_percentage": 2.985075, + "coin_id": "poa-network", + "converted_last": { + "btc": 1.3e-06, + "eth": 7.036e-05, + "usd": 0.01324803 + }, + "converted_volume": { + "btc": 0.1595777, + "eth": 8.637423, + "usd": 1626.22 + }, + "is_anomaly": false, + "is_stale": false, + "last": 1.3e-06, + "last_fetch_at": "2019-08-21T08:36:07+00:00", + "last_traded_at": "2019-08-21T08:36:07+00:00", + "market": { + "has_trading_incentive": false, + "identifier": "bibox", + "name": "Bibox" + }, + "target": "BTC", + "timestamp": "2019-08-21T08:36:07+00:00", + "trade_url": "https://www.bibox.com/exchange?coinPair=POA_BTC", + "trust_score": "yellow", + "volume": 122752.0737 + }, + { + "base": "POA", + "bid_ask_spread_percentage": 3.247202, + "coin_id": "poa-network", + "converted_last": { + "btc": 1.31e-06, + "eth": 7.077e-05, + "usd": 0.01332498 + }, + "converted_volume": { + "btc": 0.1127777, + "eth": 6.104291, + "usd": 1149.29 + }, + "is_anomaly": false, + "is_stale": false, + "last": 7.087e-05, + "last_fetch_at": "2019-08-21T08:35:50+00:00", + "last_traded_at": "2019-08-21T08:35:50+00:00", + "market": { + "has_trading_incentive": false, + "identifier": "bibox", + "name": "Bibox" + }, + "target": "ETH", + "timestamp": "2019-08-21T08:35:50+00:00", + "trade_url": "https://www.bibox.com/exchange?coinPair=POA_ETH", + "trust_score": "yellow", + "volume": 86251.0552 + }, + { + "base": "POA20", + "bid_ask_spread_percentage": 13.032676, + "coin_id": "poa-network", + "converted_last": { + "btc": 1.16e-06, + "eth": 6.257e-05, + "usd": 0.01177973 + }, + "converted_volume": { + "btc": 0.00087672, + "eth": 0.04748752, + "usd": 8.94 + }, + "is_anomaly": false, + "is_stale": false, + "last": 1.1551e-06, + "last_fetch_at": "2019-08-21T08:37:38+00:00", + "last_traded_at": "2019-08-21T07:08:25+00:00", + "market": { + "has_trading_incentive": false, + "identifier": "hitbtc", + "name": "HitBTC" + }, + "target": "BTC", + "timestamp": "2019-08-21T07:08:25+00:00", + "trade_url": "https://hitbtc.com/POA20-to-BTC", + "trust_score": "red", + "volume": 759.0 + }, + { + "base": "POA20", + "bid_ask_spread_percentage": 33.072445, + "coin_id": "poa-network", + "converted_last": { + "btc": 1.57e-06, + "eth": 8.48e-05, + "usd": 0.01595278 + }, + "converted_volume": { + "btc": 0.00021915, + "eth": 0.0118714, + "usd": 2.23 + }, + "is_anomaly": false, + "is_stale": false, + "last": 8.4891e-05, + "last_fetch_at": "2019-08-21T08:37:21+00:00", + "last_traded_at": "2019-08-21T07:37:25+00:00", + "market": { + "has_trading_incentive": false, + "identifier": "hitbtc", + "name": "HitBTC" + }, + "target": "ETH", + "timestamp": "2019-08-21T07:37:25+00:00", + "trade_url": "https://hitbtc.com/POA20-to-ETH", + "trust_score": "red", + "volume": 140.0 + }, + { + "base": "POA20", + "bid_ask_spread_percentage": 53.1004, + "coin_id": "poa-network", + "converted_last": { + "btc": 1.15e-06, + "eth": 6.232e-05, + "usd": 0.0117249 + }, + "converted_volume": { + "btc": 7.478e-05, + "eth": 0.00405098, + "usd": 0.762119 + }, + "is_anomaly": false, + "is_stale": false, + "last": 0.0117249, + "last_fetch_at": "2019-08-21T08:37:46+00:00", + "last_traded_at": "2019-08-21T07:37:33+00:00", + "market": { + "has_trading_incentive": false, + "identifier": "hitbtc", + "name": "HitBTC" + }, + "target": "USD", + "timestamp": "2019-08-21T07:37:33+00:00", + "trade_url": "https://hitbtc.com/POA20-to-USD", + "trust_score": null, + "volume": 65.0 + }, + { + "base": "POA20", + "bid_ask_spread_percentage": null, + "coin_id": "poa-network", + "converted_last": { + "btc": 1.32e-06, + "eth": 7.134e-05, + "usd": 0.01339322 + }, + "converted_volume": { + "btc": 0.03831341, + "eth": 2.073192, + "usd": 389.22 + }, + "is_anomaly": false, + "is_stale": false, + "last": 0.034733328618915156, + "last_fetch_at": "2019-08-21T08:21:59+00:00", + "last_traded_at": "2019-08-21T08:21:59+00:00", + "market": { + "has_trading_incentive": false, + "identifier": "bancor", + "name": "Bancor Network" + }, + "target": "BNT", + "timestamp": "2019-08-21T08:21:59+00:00", + "trade_url": null, + "trust_score": null, + "volume": 29061.03634563883 + }, + { + "base": "POA20", + "bid_ask_spread_percentage": null, + "coin_id": "poa-network", + "converted_last": { + "btc": 1.31e-06, + "eth": 7.074e-05, + "usd": 0.0132809 + }, + "converted_volume": { + "btc": 0.009587, + "eth": 0.51876605, + "usd": 97.39 + }, + "is_anomaly": false, + "is_stale": false, + "last": 7.0704231362995e-05, + "last_fetch_at": "2019-08-21T08:26:12+00:00", + "last_traded_at": "2019-08-21T08:21:13+00:00", + "market": { + "has_trading_incentive": false, + "identifier": "uniswap", + "name": "Uniswap" + }, + "target": "ETH", + "timestamp": "2019-08-21T08:21:13+00:00", + "trade_url": null, + "trust_score": null, + "volume": 7333.316809051611 + }, + { + "base": "POA", + "bid_ask_spread_percentage": 40.083051, + "coin_id": "poa-network", + "converted_last": { + "btc": 1.33e-06, + "eth": 7.005e-05, + "usd": 0.01377146 + }, + "converted_volume": { + "btc": 0.0022752, + "eth": 0.12002061, + "usd": 23.59 + }, + "is_anomaly": false, + "is_stale": true, + "last": 7.004e-05, + "last_fetch_at": "2019-08-21T08:32:14+00:00", + "last_traded_at": "2019-08-18T18:43:13+00:00", + "market": { + "has_trading_incentive": false, + "identifier": "ethfinex", + "name": "Ethfinex" + }, + "target": "ETH", + "timestamp": "2019-08-18T18:43:13+00:00", + "trade_url": "https://ethfinex.com", + "trust_score": "red", + "volume": 1713.3067 + }, + { + "base": "POA", + "bid_ask_spread_percentage": 44.440399, + "coin_id": "poa-network", + "converted_last": { + "btc": 1.33e-06, + "eth": 7.311e-05, + "usd": 0.013499 + }, + "converted_volume": { + "btc": 0.00442255, + "eth": 0.24305992, + "usd": 44.88 + }, + "is_anomaly": false, + "is_stale": true, + "last": 0.013499, + "last_fetch_at": "2019-08-21T08:32:13+00:00", + "last_traded_at": "2019-08-14T17:19:27+00:00", + "market": { + "has_trading_incentive": false, + "identifier": "ethfinex", + "name": "Ethfinex" + }, + "target": "USD", + "timestamp": "2019-08-14T17:19:27+00:00", + "trade_url": "https://ethfinex.com", + "trust_score": "red", + "volume": 3324.44883078 + }, + { + "base": "POA", + "bid_ask_spread_percentage": 14.012015, + "coin_id": "poa-network", + "converted_last": { + "btc": 1.36e-06, + "eth": 7.49e-05, + "usd": 0.01446844 + }, + "converted_volume": { + "btc": 5.45e-06, + "eth": 0.00029958, + "usd": 0.057874 + }, + "is_anomaly": false, + "is_stale": true, + "last": 7.4743e-05, + "last_fetch_at": "2019-08-21T08:37:09+00:00", + "last_traded_at": "2019-08-21T02:52:09+00:00", + "market": { + "has_trading_incentive": false, + "identifier": "hitbtc", + "name": "HitBTC" + }, + "target": "ETH", + "timestamp": "2019-08-21T02:52:09+00:00", + "trade_url": "https://hitbtc.com/POA-to-ETH", + "trust_score": null, + "volume": 4.0 + }, + { + "base": "POA", + "bid_ask_spread_percentage": 64.645979, + "coin_id": "poa-network", + "converted_last": { + "btc": 1.36e-06, + "eth": 7.473e-05, + "usd": 0.01443604 + }, + "converted_volume": { + "btc": 2.72e-06, + "eth": 0.00014946, + "usd": 0.02887207 + }, + "is_anomaly": false, + "is_stale": true, + "last": 0.0143016, + "last_fetch_at": "2019-08-21T08:37:44+00:00", + "last_traded_at": "2019-08-21T02:52:25+00:00", + "market": { + "has_trading_incentive": false, + "identifier": "hitbtc", + "name": "HitBTC" + }, + "target": "DAI", + "timestamp": "2019-08-21T02:52:25+00:00", + "trade_url": "https://hitbtc.com/POA-to-DAI", + "trust_score": null, + "volume": 2.0 + }, + { + "base": "POA", + "bid_ask_spread_percentage": 64.353312, + "coin_id": "poa-network", + "converted_last": { + "btc": 2.23e-06, + "eth": 0.00012505, + "usd": 0.02310309 + }, + "converted_volume": { + "btc": 0.00275182, + "eth": 0.15430951, + "usd": 28.51 + }, + "is_anomaly": true, + "is_stale": true, + "last": 2.23e-06, + "last_fetch_at": "2019-08-21T08:32:12+00:00", + "last_traded_at": "2019-08-17T12:50:06+00:00", + "market": { + "has_trading_incentive": false, + "identifier": "ethfinex", + "name": "Ethfinex" + }, + "target": "BTC", + "timestamp": "2019-08-17T12:50:06+00:00", + "trade_url": "https://ethfinex.com", + "trust_score": "red", + "volume": 1234.0 + }, + { + "base": "POA", + "bid_ask_spread_percentage": 21.080977, + "coin_id": "poa-network", + "converted_last": { + "btc": 1.23e-06, + "eth": 6.72e-05, + "usd": 0.01322824 + }, + "converted_volume": { + "btc": 0.0, + "eth": 0.0, + "usd": 0.0 + }, + "is_anomaly": true, + "is_stale": true, + "last": 1.2331e-06, + "last_fetch_at": "2019-08-21T08:37:17+00:00", + "last_traded_at": "2019-08-20T18:50:31+00:00", + "market": { + "has_trading_incentive": false, + "identifier": "hitbtc", + "name": "HitBTC" + }, + "target": "BTC", + "timestamp": "2019-08-20T18:50:31+00:00", + "trade_url": "https://hitbtc.com/POA-to-BTC", + "trust_score": null, + "volume": 0.0 + }, + { + "base": "POA", + "bid_ask_spread_percentage": 36.441715, + "coin_id": "poa-network", + "converted_last": { + "btc": 1.22e-06, + "eth": 6.66e-05, + "usd": 0.0131106 + }, + "converted_volume": { + "btc": 0.0, + "eth": 0.0, + "usd": 0.0 + }, + "is_anomaly": true, + "is_stale": true, + "last": 0.0131106, + "last_fetch_at": "2019-08-21T08:37:14+00:00", + "last_traded_at": "2019-08-20T18:50:15+00:00", + "market": { + "has_trading_incentive": false, + "identifier": "hitbtc", + "name": "HitBTC" + }, + "target": "USD", + "timestamp": "2019-08-20T18:50:15+00:00", + "trade_url": "https://hitbtc.com/POA-to-USD", + "trust_score": null, + "volume": 0.0 + }, + { + "base": "POA20", + "bid_ask_spread_percentage": 70.656026, + "coin_id": "poa-network", + "converted_last": { + "btc": 7.522e-07, + "eth": 4.006e-05, + "usd": 0.0080416 + }, + "converted_volume": { + "btc": 0.0, + "eth": 0.0, + "usd": 0.0 + }, + "is_anomaly": true, + "is_stale": true, + "last": 0.008, + "last_fetch_at": "2019-08-21T08:37:29+00:00", + "last_traded_at": "2019-08-19T09:09:06+00:00", + "market": { + "has_trading_incentive": false, + "identifier": "hitbtc", + "name": "HitBTC" + }, + "target": "DAI", + "timestamp": "2019-08-19T09:09:06+00:00", + "trade_url": "https://hitbtc.com/POA20-to-DAI", + "trust_score": null, + "volume": 0.0 + } + ] +} From 48a01e98a599ad34c892fa01fb031059ef2fbcfe Mon Sep 17 00:00:00 2001 From: Ayrat Badykov Date: Thu, 22 Aug 2019 11:22:54 +0300 Subject: [PATCH 18/48] fix json decoding --- apps/explorer/lib/explorer/exchange_rates/source.ex | 7 ++++++- .../lib/explorer/exchange_rates/source/coin_gecko.ex | 4 +--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/apps/explorer/lib/explorer/exchange_rates/source.ex b/apps/explorer/lib/explorer/exchange_rates/source.ex index d733b22222..6d95e48796 100644 --- a/apps/explorer/lib/explorer/exchange_rates/source.ex +++ b/apps/explorer/lib/explorer/exchange_rates/source.ex @@ -39,7 +39,12 @@ defmodule Explorer.ExchangeRates.Source do defp fetch_exchange_rates_request(source) do case HTTPoison.get(source.source_url(), headers()) do {:ok, %Response{body: body, status_code: 200}} -> - {:ok, source.format_data(body)} + result = + body + |> decode_json() + |> source.format_data() + + {:ok, result} {:ok, %Response{body: body, status_code: status_code}} when status_code in 400..499 -> {:error, decode_json(body)["error"]} diff --git a/apps/explorer/lib/explorer/exchange_rates/source/coin_gecko.ex b/apps/explorer/lib/explorer/exchange_rates/source/coin_gecko.ex index 5b0bed2b3b..95ecafb046 100644 --- a/apps/explorer/lib/explorer/exchange_rates/source/coin_gecko.ex +++ b/apps/explorer/lib/explorer/exchange_rates/source/coin_gecko.ex @@ -11,12 +11,10 @@ defmodule Explorer.ExchangeRates.Source.CoinGecko do @behaviour Source @impl Source - def format_data(%{"market_data" => _} = data) do + def format_data(%{"market_data" => _} = json_data) do {:ok, price} = get_btc_price() btc_price = to_decimal(price) - json_data = decode_json(data) - market_data = json_data["market_data"] {:ok, last_updated, 0} = DateTime.from_iso8601(market_data["last_updated"]) From 8491259093ee93aa3371c05e9e159f1fa2d87d29 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 26 Aug 2019 11:50:18 +0000 Subject: [PATCH 19/48] Bump lodash from 4.17.13 to 4.17.15 in /apps/block_scout_web/assets Bumps [lodash](https://github.com/lodash/lodash) from 4.17.13 to 4.17.15. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](https://github.com/lodash/lodash/compare/4.17.13...4.17.15) Signed-off-by: dependabot[bot] --- apps/block_scout_web/assets/package-lock.json | 6 +++--- apps/block_scout_web/assets/package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/block_scout_web/assets/package-lock.json b/apps/block_scout_web/assets/package-lock.json index 2c78f45f55..9747ccfe67 100644 --- a/apps/block_scout_web/assets/package-lock.json +++ b/apps/block_scout_web/assets/package-lock.json @@ -6961,9 +6961,9 @@ } }, "lodash": { - "version": "4.17.13", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.13.tgz", - "integrity": "sha512-vm3/XWXfWtRua0FkUyEHBZy8kCPjErNBT9fJx8Zvs+U6zjqPbTUOpkaoum3O5uiA8sm+yNMHXfYkTUHFoMxFNA==" + "version": "4.17.15", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", + "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==" }, "lodash.assign": { "version": "4.2.0", diff --git a/apps/block_scout_web/assets/package.json b/apps/block_scout_web/assets/package.json index 98fbc501d6..30845a3be3 100644 --- a/apps/block_scout_web/assets/package.json +++ b/apps/block_scout_web/assets/package.json @@ -30,7 +30,7 @@ "highlightjs-solidity": "^1.0.6", "humps": "^2.0.1", "jquery": "^3.3.1", - "lodash": "^4.17.13", + "lodash": "^4.17.15", "moment": "^2.22.1", "nanomorph": "^5.1.3", "numeral": "^2.0.6", From 3f30610dde9a3f2d425552c1696069f84c6c557b Mon Sep 17 00:00:00 2001 From: pasqu4le Date: Thu, 15 Aug 2019 20:36:48 +0200 Subject: [PATCH 20/48] Add generic Map-like Cache behaviour and implementation Problem: multiple caches exist that contain some data as a map (key-value storing). More are to be implemented, so it would be good to abstract their implementation. Solution: add a behaviour and a macro (providing an implementation) to create this type of caches. At the same time, where possible: - redefine the existing ones using the new macro - optimize the implementation --- CHANGELOG.md | 1 + .../controllers/api/rpc/block_controller.ex | 2 +- .../controllers/block_controller_test.exs | 4 +- .../controllers/chain_controller_test.exs | 4 +- .../features/viewing_chain_test.exs | 4 +- apps/explorer/lib/explorer/application.ex | 9 +- apps/explorer/lib/explorer/chain.ex | 36 +-- apps/explorer/lib/explorer/chain/address.ex | 2 +- .../lib/explorer/chain/cache/block_count.ex | 168 ++++---------- .../lib/explorer/chain/cache/block_number.ex | 91 ++------ .../lib/explorer/chain/cache/net_version.ex | 47 ++-- .../explorer/chain/cache/transaction_count.ex | 174 ++++---------- apps/explorer/lib/explorer/chain/map_cache.ex | 217 ++++++++++++++++++ .../explorer/lib/explorer/chain/supply/rsk.ex | 2 +- .../explorer/chain/cache/block_count_test.exs | 26 +-- .../chain/cache/block_number_test.exs | 50 ++-- .../test/explorer/chain/cache/blocks_test.exs | 4 +- .../chain/cache/transaction_count_test.exs | 26 +-- apps/explorer/test/explorer/chain_test.exs | 24 +- apps/explorer/test/support/data_case.ex | 3 +- apps/indexer/lib/indexer/block/fetcher.ex | 9 +- .../indexer/fetcher/coin_balance_on_demand.ex | 2 +- 22 files changed, 458 insertions(+), 447 deletions(-) create mode 100644 apps/explorer/lib/explorer/chain/map_cache.ex diff --git a/CHANGELOG.md b/CHANGELOG.md index f8335319cb..0f8742c44b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ ## Current ### Features +- [#2581](https://github.com/poanetwork/blockscout/pull/2581) - Add generic Map-like Cache behaviour and implementation - [#2596](https://github.com/poanetwork/blockscout/pull/2596) - support AuRa's empty step reward type - [#2561](https://github.com/poanetwork/blockscout/pull/2561) - Add token's type to the response of tokenlist method - [#2499](https://github.com/poanetwork/blockscout/pull/2499) - import emission reward ranges diff --git a/apps/block_scout_web/lib/block_scout_web/controllers/api/rpc/block_controller.ex b/apps/block_scout_web/lib/block_scout_web/controllers/api/rpc/block_controller.ex index 835e19bf3e..2b9bdc0dd6 100644 --- a/apps/block_scout_web/lib/block_scout_web/controllers/api/rpc/block_controller.ex +++ b/apps/block_scout_web/lib/block_scout_web/controllers/api/rpc/block_controller.ex @@ -26,7 +26,7 @@ defmodule BlockScoutWeb.API.RPC.BlockController do def eth_block_number(conn, params) do id = Map.get(params, "id", 1) - max_block_number = BlockNumber.max_number() + max_block_number = BlockNumber.get_max() render(conn, :eth_block_number, number: max_block_number, id: id) end diff --git a/apps/block_scout_web/test/block_scout_web/controllers/block_controller_test.exs b/apps/block_scout_web/test/block_scout_web/controllers/block_controller_test.exs index e8c4af7de8..6c0bfabfa0 100644 --- a/apps/block_scout_web/test/block_scout_web/controllers/block_controller_test.exs +++ b/apps/block_scout_web/test/block_scout_web/controllers/block_controller_test.exs @@ -3,8 +3,8 @@ defmodule BlockScoutWeb.BlockControllerTest do alias Explorer.Chain.Block setup do - Supervisor.terminate_child(Explorer.Supervisor, {ConCache, :blocks}) - Supervisor.restart_child(Explorer.Supervisor, {ConCache, :blocks}) + Supervisor.terminate_child(Explorer.Supervisor, Explorer.Chain.Cache.Blocks.child_id()) + Supervisor.restart_child(Explorer.Supervisor, Explorer.Chain.Cache.Blocks.child_id()) :ok end diff --git a/apps/block_scout_web/test/block_scout_web/controllers/chain_controller_test.exs b/apps/block_scout_web/test/block_scout_web/controllers/chain_controller_test.exs index 00a53689c8..fa82bb5bab 100644 --- a/apps/block_scout_web/test/block_scout_web/controllers/chain_controller_test.exs +++ b/apps/block_scout_web/test/block_scout_web/controllers/chain_controller_test.exs @@ -9,8 +9,8 @@ defmodule BlockScoutWeb.ChainControllerTest do alias Explorer.Counters.AddressesWithBalanceCounter setup do - Supervisor.terminate_child(Explorer.Supervisor, {ConCache, :blocks}) - Supervisor.restart_child(Explorer.Supervisor, {ConCache, :blocks}) + Supervisor.terminate_child(Explorer.Supervisor, Explorer.Chain.Cache.Blocks.child_id()) + Supervisor.restart_child(Explorer.Supervisor, Explorer.Chain.Cache.Blocks.child_id()) start_supervised!(AddressesWithBalanceCounter) AddressesWithBalanceCounter.consolidate() diff --git a/apps/block_scout_web/test/block_scout_web/features/viewing_chain_test.exs b/apps/block_scout_web/test/block_scout_web/features/viewing_chain_test.exs index a32e4f5da3..27b4dbb329 100644 --- a/apps/block_scout_web/test/block_scout_web/features/viewing_chain_test.exs +++ b/apps/block_scout_web/test/block_scout_web/features/viewing_chain_test.exs @@ -10,8 +10,8 @@ defmodule BlockScoutWeb.ViewingChainTest do alias Explorer.Counters.AddressesWithBalanceCounter setup do - Supervisor.terminate_child(Explorer.Supervisor, {ConCache, :blocks}) - Supervisor.restart_child(Explorer.Supervisor, {ConCache, :blocks}) + Supervisor.terminate_child(Explorer.Supervisor, Explorer.Chain.Cache.Blocks.child_id()) + Supervisor.restart_child(Explorer.Supervisor, Explorer.Chain.Cache.Blocks.child_id()) Enum.map(401..404, &insert(:block, number: &1)) diff --git a/apps/explorer/lib/explorer/application.ex b/apps/explorer/lib/explorer/application.ex index c28469c340..1bd2778762 100644 --- a/apps/explorer/lib/explorer/application.ex +++ b/apps/explorer/lib/explorer/application.ex @@ -42,10 +42,11 @@ defmodule Explorer.Application do Explorer.SmartContract.SolcDownloader, {Registry, keys: :duplicate, name: Registry.ChainEvents, id: Registry.ChainEvents}, {Admin.Recovery, [[], [name: Admin.Recovery]]}, - {TransactionCount, [[], []]}, - {BlockCount, []}, + TransactionCount, + BlockCount, Blocks, - con_cache_child_spec(NetVersion.cache_name()), + NetVersion, + BlockNumber, con_cache_child_spec(MarketHistoryCache.cache_name()), con_cache_child_spec(RSK.cache_name(), ttl_check_interval: :timer.minutes(1), global_ttl: :timer.minutes(30)), Transactions @@ -57,8 +58,6 @@ defmodule Explorer.Application do res = Supervisor.start_link(children, opts) - BlockNumber.setup() - res end diff --git a/apps/explorer/lib/explorer/chain.ex b/apps/explorer/lib/explorer/chain.ex index 58253c0f27..eac7f3ce6f 100644 --- a/apps/explorer/lib/explorer/chain.ex +++ b/apps/explorer/lib/explorer/chain.ex @@ -267,7 +267,7 @@ defmodule Explorer.Chain do def address_to_logs(address_hash, options \\ []) when is_list(options) do paging_options = Keyword.get(options, :paging_options) || %PagingOptions{page_size: 50} - {block_number, transaction_index, log_index} = paging_options.key || {BlockNumber.max_number(), 0, 0} + {block_number, transaction_index, log_index} = paging_options.key || {BlockNumber.get_max(), 0, 0} base_query = from(log in Log, @@ -1176,7 +1176,7 @@ defmodule Explorer.Chain do """ @spec indexed_ratio() :: Decimal.t() def indexed_ratio do - {min, max} = BlockNumber.min_and_max_numbers() + %{min: min, max: max} = BlockNumber.get_all() case {min, max} do {0, 0} -> @@ -1189,20 +1189,30 @@ defmodule Explorer.Chain do end end - @spec fetch_min_and_max_block_numbers() :: {non_neg_integer, non_neg_integer} - def fetch_min_and_max_block_numbers do + @spec fetch_min_block_number() :: non_neg_integer + def fetch_min_block_number do query = from(block in Block, - select: {min(block.number), max(block.number)}, - where: block.consensus == true + select: block.number, + where: block.consensus == true, + order_by: [asc: block.number], + limit: 1 ) - result = Repo.one!(query) + Repo.one(query) || 0 + end - case result do - {nil, nil} -> {0, 0} - _ -> result - end + @spec fetch_max_block_number() :: non_neg_integer + def fetch_max_block_number do + query = + from(block in Block, + select: block.number, + where: block.consensus == true, + order_by: [desc: block.number], + limit: 1 + ) + + Repo.one(query) || 0 end @spec fetch_count_consensus_block() :: non_neg_integer @@ -2195,7 +2205,7 @@ defmodule Explorer.Chain do """ @spec transaction_estimated_count() :: non_neg_integer() def transaction_estimated_count do - cached_value = TransactionCount.value() + cached_value = TransactionCount.get_count() if is_nil(cached_value) do %Postgrex.Result{rows: [[rows]]} = @@ -2214,7 +2224,7 @@ defmodule Explorer.Chain do """ @spec block_estimated_count() :: non_neg_integer() def block_estimated_count do - cached_value = BlockCount.count() + cached_value = BlockCount.get_count() if is_nil(cached_value) do %Postgrex.Result{rows: [[count]]} = Repo.query!("SELECT reltuples FROM pg_class WHERE relname = 'blocks';") diff --git a/apps/explorer/lib/explorer/chain/address.ex b/apps/explorer/lib/explorer/chain/address.ex index 478c35deb1..96d4dc7ab4 100644 --- a/apps/explorer/lib/explorer/chain/address.ex +++ b/apps/explorer/lib/explorer/chain/address.ex @@ -170,7 +170,7 @@ defmodule Explorer.Chain.Address do end def rsk_checksum(hash) do - chain_id = NetVersion.version() + chain_id = NetVersion.get_version() string_hash = hash diff --git a/apps/explorer/lib/explorer/chain/cache/block_count.ex b/apps/explorer/lib/explorer/chain/cache/block_count.ex index 8ba09cc86f..c4e6c6a4a0 100644 --- a/apps/explorer/lib/explorer/chain/cache/block_count.ex +++ b/apps/explorer/lib/explorer/chain/cache/block_count.ex @@ -5,143 +5,61 @@ defmodule Explorer.Chain.Cache.BlockCount do require Logger - use GenServer + @default_cache_period :timer.minutes(10) - alias Explorer.Chain - - # 10 minutes - @cache_period 1_000 * 60 * 10 - @key "count" - @default_value nil - @name __MODULE__ - - def start_link(params) do - name = params[:name] || @name - params_with_name = Keyword.put(params, :name, name) - - GenServer.start_link(__MODULE__, params_with_name, name: name) - end - - def init(params) do - cache_period = period_from_env_var() || params[:cache_period] || @cache_period - current_value = params[:default_value] || @default_value - name = params[:name] - - init_ets_table(name) - - {:ok, {{cache_period, current_value, name}, nil}} - end - - def count(process_name \\ __MODULE__) do - GenServer.call(process_name, :count) - end - - def handle_call(:count, _, {{cache_period, default_value, name}, task}) do - {count, task} = - case cached_values(name) do - nil -> - {default_value, update_cache(task, name)} - - {cached_value, timestamp} -> - task = - if current_time() - timestamp > cache_period do - update_cache(task, name) - end - - {cached_value, task} - end - - {:reply, count, {{cache_period, default_value, name}, task}} - end - - def update_cache(nil, name) do - async_update_cache(name) - end - - def update_cache(task, _) do - task - end + use Explorer.Chain.MapCache, + name: :block_count, + key: :count, + key: :async_task, + global_ttl: cache_period(), + ttl_check_interval: :timer.minutes(1), + callback: &async_task_on_deletion(&1) - def handle_cast({:update_cache, value}, {{cache_period, default_value, name}, _}) do - current_time = current_time() - tuple = {value, current_time} - - table_name = table_name(name) - - :ets.insert(table_name, {@key, tuple}) - - {:noreply, {{cache_period, default_value, name}, nil}} - end - - def handle_info({:DOWN, _, _, _, _}, {{cache_period, default_value, name}, _}) do - {:noreply, {{cache_period, default_value, name}, nil}} - end - - def handle_info(_, {{cache_period, default_value, name}, _}) do - {:noreply, {{cache_period, default_value, name}, nil}} - end - - # sobelow_skip ["DOS"] - defp table_name(name) do - name - |> Atom.to_string() - |> Macro.underscore() - |> String.to_atom() - end + alias Explorer.Chain - def async_update_cache(name) do - Task.async(fn -> - try do - result = Chain.fetch_count_consensus_block() + defp handle_fallback(:count) do + # This will get the task PID if one exists and launch a new task if not + # See next `handle_fallback` definition + get_async_task() - GenServer.cast(name, {:update_cache, result}) - rescue - e -> - Logger.debug([ - "Coudn't update block count test #{inspect(e)}" - ]) - end - end) + {:return, nil} end - defp init_ets_table(name) do - table_name = table_name(name) - - if :ets.whereis(table_name) == :undefined do - :ets.new(table_name, [ - :set, - :named_table, - :public, - write_concurrency: true - ]) - end - end + defp handle_fallback(:async_task) do + # If this gets called it means an async task was requested, but none exists + # so a new one needs to be launched + task = + Task.async(fn -> + try do + result = Chain.fetch_count_consensus_block() + + set_count(result) + rescue + e -> + Logger.debug([ + "Coudn't update block count test #{inspect(e)}" + ]) + end - defp cached_values(name) do - table_name = table_name(name) + set_async_task(nil) + end) - case :ets.lookup(table_name, @key) do - [{_, cached_values}] -> cached_values - _ -> nil - end + {:update, task} end - defp current_time do - utc_now = DateTime.utc_now() - - DateTime.to_unix(utc_now, :millisecond) - end + # By setting this as a `callback` an async task will be started each time the + # `count` expires (unless there is one already running) + defp async_task_on_deletion({:delete, _, :count}), do: get_async_task() - defp period_from_env_var do - case System.get_env("BLOCK_COUNT_CACHE_PERIOD") do - value when is_binary(value) -> - case Integer.parse(value) do - {integer, ""} -> integer * 1_000 - _ -> nil - end + defp async_task_on_deletion(_data), do: nil - _ -> - nil + defp cache_period do + "BLOCK_COUNT_CACHE_PERIOD" + |> System.get_env("") + |> Integer.parse() + |> case do + {integer, ""} -> :timer.seconds(integer) + _ -> @default_cache_period end end end diff --git a/apps/explorer/lib/explorer/chain/cache/block_number.ex b/apps/explorer/lib/explorer/chain/cache/block_number.ex index 5212117793..d19551fa59 100644 --- a/apps/explorer/lib/explorer/chain/cache/block_number.ex +++ b/apps/explorer/lib/explorer/chain/cache/block_number.ex @@ -3,89 +3,36 @@ defmodule Explorer.Chain.Cache.BlockNumber do Cache for max and min block numbers. """ - alias Explorer.Chain - - @tab :block_number_cache - @key "min_max" + @type value :: non_neg_integer() - @spec setup() :: :ok - def setup do - if :ets.whereis(@tab) == :undefined do - :ets.new(@tab, [ - :set, - :named_table, - :public, - write_concurrency: true - ]) - end + use Explorer.Chain.MapCache, + name: :block_number, + keys: [:min, :max] - update_cache() - - :ok - end + alias Explorer.Chain - def max_number do - value(:max) - end + defp handle_update(_key, nil, value), do: {:ok, value} - def min_number do - value(:min) - end + defp handle_update(:min, old_value, new_value), do: {:ok, min(new_value, old_value)} - def min_and_max_numbers do - value(:all) - end + defp handle_update(:max, old_value, new_value), do: {:ok, max(new_value, old_value)} - defp value(type) do - {min, max} = - if Application.get_env(:explorer, __MODULE__)[:enabled] do - cached_values() - else - min_and_max_from_db() - end + defp handle_fallback(key) do + result = fetch_from_db(key) - case type do - :max -> max - :min -> min - :all -> {min, max} + if Application.get_env(:explorer, __MODULE__)[:enabled] do + {:update, result} + else + {:return, result} end end - @spec update(non_neg_integer()) :: boolean() - def update(number) do - {old_min, old_max} = cached_values() - - cond do - number > old_max -> - tuple = {old_min, number} - :ets.insert(@tab, {@key, tuple}) - - number < old_min -> - tuple = {number, old_max} - :ets.insert(@tab, {@key, tuple}) - - true -> - false + defp fetch_from_db(key) do + case key do + :min -> Chain.fetch_min_block_number() + :max -> Chain.fetch_max_block_number() end - end - - defp update_cache do - {min, max} = min_and_max_from_db() - tuple = {min, max} - - :ets.insert(@tab, {@key, tuple}) - end - - defp cached_values do - [{_, cached_values}] = :ets.lookup(@tab, @key) - - cached_values - end - - defp min_and_max_from_db do - Chain.fetch_min_and_max_block_numbers() rescue - _e -> - {0, 0} + _e -> 0 end end diff --git a/apps/explorer/lib/explorer/chain/cache/net_version.ex b/apps/explorer/lib/explorer/chain/cache/net_version.ex index ac33ca8f45..4a5c0cd144 100644 --- a/apps/explorer/lib/explorer/chain/cache/net_version.ex +++ b/apps/explorer/lib/explorer/chain/cache/net_version.ex @@ -3,42 +3,27 @@ defmodule Explorer.Chain.Cache.NetVersion do Caches chain version. """ - @cache_name :net_version - @key :version + @json_rpc_named_arguments Application.get_env(:explorer, :json_rpc_named_arguments) - @spec version() :: non_neg_integer() | {:error, any()} - def version do - cached_value = fetch_from_cache() + require Logger - if is_nil(cached_value) do - fetch_from_node() - else - cached_value - end - end - - def cache_name do - @cache_name - end - - defp fetch_from_cache do - ConCache.get(@cache_name, @key) - end + use Explorer.Chain.MapCache, + name: :net_version, + key: :version - defp cache_value(value) do - ConCache.put(@cache_name, @key, value) - end - - defp fetch_from_node do - json_rpc_named_arguments = Application.get_env(:explorer, :json_rpc_named_arguments) - - case EthereumJSONRPC.fetch_net_version(json_rpc_named_arguments) do + defp handle_fallback(:version) do + case EthereumJSONRPC.fetch_net_version(@json_rpc_named_arguments) do {:ok, value} -> - cache_value(value) - value + {:update, value} - other -> - other + {:error, reason} -> + Logger.debug([ + "Coudn't fetch net_version, reason: #{inspect(reason)}" + ]) + + {:return, nil} end end + + defp handle_fallback(_key), do: {:return, nil} end diff --git a/apps/explorer/lib/explorer/chain/cache/transaction_count.ex b/apps/explorer/lib/explorer/chain/cache/transaction_count.ex index e1fe2dad82..e81bae7414 100644 --- a/apps/explorer/lib/explorer/chain/cache/transaction_count.ex +++ b/apps/explorer/lib/explorer/chain/cache/transaction_count.ex @@ -3,152 +3,64 @@ defmodule Explorer.Chain.Cache.TransactionCount do Cache for estimated transaction count. """ - require Logger + @default_cache_period :timer.hours(2) + + use Explorer.Chain.MapCache, + name: :transaction_count, + key: :count, + key: :async_task, + global_ttl: cache_period(), + ttl_check_interval: :timer.minutes(10), + callback: &async_task_on_deletion(&1) - use GenServer + require Logger alias Explorer.Chain.Transaction alias Explorer.Repo - # 2 hours - @cache_period 1_000 * 60 * 60 * 2 - @default_value nil - @key "count" - @name __MODULE__ - - def start_link([params, gen_server_options]) do - name = gen_server_options[:name] || @name - params_with_name = Keyword.put(params, :name, name) - - GenServer.start_link(__MODULE__, params_with_name, name: name) - end - - def init(params) do - cache_period = period_from_env_var() || params[:cache_period] || @cache_period - current_value = params[:default_value] || @default_value - name = params[:name] - - init_ets_table(name) - - schedule_cache_update() - - {:ok, {{cache_period, current_value, name}, nil}} - end - - def value(process_name \\ __MODULE__) do - GenServer.call(process_name, :value) - end - - def handle_call(:value, _, {{cache_period, default_value, name}, task}) do - {value, task} = - case cached_values(name) do - nil -> - {default_value, update_cache(task, name)} + defp handle_fallback(:count) do + # This will get the task PID if one exists and launch a new task if not + # See next `handle_fallback` definition + get_async_task() - {cached_value, timestamp} -> - task = - if current_time() - timestamp > cache_period do - update_cache(task, name) - end - - {cached_value, task} - end - - {:reply, value, {{cache_period, default_value, name}, task}} + {:return, nil} end - def update_cache(nil, name) do - async_update_cache(name) - end - - def update_cache(task, _) do - task - end - - def handle_cast({:update_cache, value}, {{cache_period, default_value, name}, _}) do - current_time = current_time() - tuple = {value, current_time} - - table_name = table_name(name) - - :ets.insert(table_name, {@key, tuple}) + defp handle_fallback(:async_task) do + # If this gets called it means an async task was requested, but none exists + # so a new one needs to be launched + task = + Task.async(fn -> + try do + result = Repo.aggregate(Transaction, :count, :hash, timeout: :infinity) - {:noreply, {{cache_period, default_value, name}, nil}} - end - - def handle_info({:DOWN, _, _, _, _}, {{cache_period, default_value, name}, _}) do - {:noreply, {{cache_period, default_value, name}, nil}} - end - - def handle_info(_, {{cache_period, default_value, name}, _}) do - {:noreply, {{cache_period, default_value, name}, nil}} - end - - # sobelow_skip ["DOS"] - defp table_name(name) do - name - |> Atom.to_string() - |> Macro.underscore() - |> String.to_atom() - end - - def async_update_cache(name) do - Task.async(fn -> - try do - result = Repo.aggregate(Transaction, :count, :hash, timeout: :infinity) - - GenServer.cast(name, {:update_cache, result}) - rescue - e -> - Logger.debug([ - "Coudn't update transaction count test #{inspect(e)}" - ]) - end - end) - end - - defp init_ets_table(name) do - table_name = table_name(name) - - if :ets.whereis(table_name) == :undefined do - :ets.new(table_name, [ - :set, - :named_table, - :public, - write_concurrency: true - ]) - end - end - - defp cached_values(name) do - table_name = table_name(name) + set_count(result) + rescue + e -> + Logger.debug([ + "Coudn't update transaction count test #{inspect(e)}" + ]) + end - case :ets.lookup(table_name, @key) do - [{_, cached_values}] -> cached_values - _ -> nil - end - end + set_async_task(nil) + end) - defp schedule_cache_update do - Process.send_after(self(), :update_cache, 2_000) + {:update, task} end - defp current_time do - utc_now = DateTime.utc_now() + # By setting this as a `callback` an async task will be started each time the + # `count` expires (unless there is one already running) + defp async_task_on_deletion({:delete, _, :count}), do: get_async_task() - DateTime.to_unix(utc_now, :millisecond) - end - - defp period_from_env_var do - case System.get_env("TXS_COUNT_CACHE_PERIOD") do - value when is_binary(value) -> - case Integer.parse(value) do - {integer, ""} -> integer * 1_000 - _ -> nil - end + defp async_task_on_deletion(_data), do: nil - _ -> - nil + defp cache_period do + "TXS_COUNT_CACHE_PERIOD" + |> System.get_env("") + |> Integer.parse() + |> case do + {integer, ""} -> :timer.seconds(integer) + _ -> @default_cache_period end end end diff --git a/apps/explorer/lib/explorer/chain/map_cache.ex b/apps/explorer/lib/explorer/chain/map_cache.ex new file mode 100644 index 0000000000..d50a4c5e44 --- /dev/null +++ b/apps/explorer/lib/explorer/chain/map_cache.ex @@ -0,0 +1,217 @@ +defmodule Explorer.Chain.MapCache do + @moduledoc """ + Behaviour for a map-like cache of elements. + + A macro based on `ConCache` is provided as well, at its minimum it can be used as; + ``` + use Explorer.Chain.MapCache, + name: :name, + keys: [:fst, :snd] + ``` + Note: `keys` can also be set singularly with the option `key`, e.g.: + ``` + use Explorer.Chain.MapCache, + name: :cache, + key: :fst, + key: :snd + ``` + Additionally all of the options accepted by `ConCache.start_link/1` can be + provided as well. By default only `ttl_check_interval:` is set (to `false`). + + ## Named functions + Apart from the functions defined in the behaviour, the macro will also create + 3 named function for each key, for instance for the key `:fst`: + - `get_fst` + - `set_fst` + - `update_fst` + These all work as their respective counterparts with the `t:key/0` parameter. + + ## Callbacks + Apart from the `callback` that can be set as part of the `ConCache` options, + two callbacks esist and can be overridden: + + `c:handle_update/3` will be called whenever an update is issued. It will receive + the `t:key/0` that is going to be updated, the current `t:value/0` that is + stored for said key and the new `t:value/0` to evaluate. + This allows to select what value to keep and do additional processing. + By default this just stores the new `t:value/0`. + + `c:handle_fallback/1` will be called whenever a get is performed and there is no + stored value for the given `t:key/0` (or when the value is `nil`). + It can return 2 different tuples: + - `{:update, value}` that will cause the value to be returned and the `t:key/0` + to be `c:update/2`d + - `{:return, value}` that will cause the value to be returned but not stored + This allows to define of a default value or perform some actions. + By default it will simply `{:return, nil}` + """ + + @type key :: atom() + + @type value :: term() + + @doc """ + An atom that identifies this cache + """ + @callback cache_name :: atom() + + @doc """ + List of `t:key/0`s that the cache contains + """ + @callback cache_keys :: [key()] + + @doc """ + Gets everything in a map + """ + @callback get_all :: map() + + @doc """ + Gets the stored `t:value/0` for a given `t:key/0` + """ + @callback get(atom()) :: value() + + @doc """ + Stores the same `t:value/0` for every `t:key/0` + """ + @callback set_all(value()) :: :ok + + @doc """ + Stores the given `t:value/0` for the given `t:key/0` + """ + @callback set(key(), value()) :: :ok + + @doc """ + Updates every `t:key/0` with the given `t:value/0` + """ + @callback update_all(value()) :: :ok + + @doc """ + Updates the given `t:key/0` (or every `t:key/0` in a list) using the given `t:value/0` + """ + @callback update(key() | [key()], value()) :: :ok + + @doc """ + Gets called during an update for the given `t:key/0` + """ + @callback handle_update(key(), value(), value()) :: {:ok, value()} | {:error, term()} + + @doc """ + Gets called when a `c:get/1` finds no `t:value/0` + """ + @callback handle_fallback(key()) :: {:update, value()} | {:return, value()} + + # credo:disable-for-next-line /Complexity/ + defmacro __using__(opts) when is_list(opts) do + # name is necessary + name = Keyword.fetch!(opts, :name) + keys = Keyword.get(opts, :keys) || Keyword.get_values(opts, :key) + + concache_params = + opts + |> Keyword.drop([:keys, :key]) + |> Keyword.put_new(:ttl_check_interval, false) + + # credo:disable-for-next-line Credo.Check.Refactor.LongQuoteBlocks + quote do + alias Explorer.Chain.MapCache + + @behaviour MapCache + + @dialyzer {:nowarn_function, handle_fallback: 1} + + @impl MapCache + def cache_name, do: unquote(name) + + @impl MapCache + def cache_keys, do: unquote(keys) + + @impl MapCache + def get_all do + Map.new(cache_keys(), fn key -> {key, get(key)} end) + end + + @impl MapCache + def get(key) do + case ConCache.get(cache_name(), key) do + nil -> + case handle_fallback(key) do + {:update, new_value} -> + update(key, new_value) + new_value + + {:return, new_value} -> + new_value + end + + value -> + value + end + end + + @impl MapCache + def set_all(value) do + Enum.each(cache_keys(), &set(&1, value)) + end + + @impl MapCache + def set(key, value) do + ConCache.put(cache_name(), key, value) + end + + @impl MapCache + def update_all(value), do: update(cache_keys(), value) + + @impl MapCache + def update(keys, value) when is_list(keys) do + Enum.each(keys, &update(&1, value)) + end + + @impl MapCache + def update(key, value) do + ConCache.update(cache_name(), key, fn old_val -> handle_update(key, old_val, value) end) + end + + ### Autogenerated named functions + + unquote(Enum.map(keys, &named_functions(&1))) + + ### Overridable callback functions + + @impl MapCache + def handle_update(_key, _old_value, new_value), do: {:ok, new_value} + + @impl MapCache + def handle_fallback(_key), do: {:return, nil} + + defoverridable handle_update: 3, handle_fallback: 1 + + ### Supervisor's child specification + + @doc """ + The child specification for a Supervisor. Note that all the `params` + provided to this function will override the ones set by using the macro + """ + def child_spec(params \\ []) do + params = Keyword.merge(unquote(concache_params), params) + + Supervisor.child_spec({ConCache, params}, id: child_id()) + end + + def child_id, do: {ConCache, cache_name()} + end + end + + # sobelow_skip ["DOS"] + defp named_functions(key) do + quote do + # sobelow_skip ["DOS"] + def unquote(:"get_#{key}")(), do: get(unquote(key)) + + # sobelow_skip ["DOS"] + def unquote(:"set_#{key}")(value), do: set(unquote(key), value) + + # sobelow_skip ["DOS"] + def unquote(:"update_#{key}")(value), do: update(unquote(key), value) + end + end +end diff --git a/apps/explorer/lib/explorer/chain/supply/rsk.ex b/apps/explorer/lib/explorer/chain/supply/rsk.ex index eb7c4571cd..c34cf62d49 100644 --- a/apps/explorer/lib/explorer/chain/supply/rsk.ex +++ b/apps/explorer/lib/explorer/chain/supply/rsk.ex @@ -102,7 +102,7 @@ defmodule Explorer.Chain.Supply.RSK do def cache_name, do: @cache_name defp fetch_circulating_value do - max_number = BlockNumber.max_number() + max_number = BlockNumber.get_max() params = [ %{block_quantity: integer_to_quantity(max_number), hash_data: "0x0000000000000000000000000000000001000006"} diff --git a/apps/explorer/test/explorer/chain/cache/block_count_test.exs b/apps/explorer/test/explorer/chain/cache/block_count_test.exs index 646af8de43..108c929a75 100644 --- a/apps/explorer/test/explorer/chain/cache/block_count_test.exs +++ b/apps/explorer/test/explorer/chain/cache/block_count_test.exs @@ -3,53 +3,53 @@ defmodule Explorer.Chain.Cache.BlockCountTest do alias Explorer.Chain.Cache.BlockCount - test "returns default transaction count" do - BlockCount.start_link(name: BlockTestCache) + setup do + Supervisor.terminate_child(Explorer.Supervisor, BlockCount.child_id()) + Supervisor.restart_child(Explorer.Supervisor, BlockCount.child_id()) + :ok + end - result = BlockCount.count(BlockTestCache) + test "returns default transaction count" do + result = BlockCount.get_count() assert is_nil(result) end test "updates cache if initial value is zero" do - BlockCount.start_link(name: BlockTestCache) - insert(:block, consensus: true) insert(:block, consensus: true) insert(:block, consensus: false) - _result = BlockCount.count(BlockTestCache) + _result = BlockCount.get_count() Process.sleep(1000) - updated_value = BlockCount.count(BlockTestCache) + updated_value = BlockCount.get_count() assert updated_value == 2 end test "does not update cache if cache period did not pass" do - BlockCount.start_link(name: BlockTestCache) - insert(:block, consensus: true) insert(:block, consensus: true) insert(:block, consensus: false) - _result = BlockCount.count(BlockTestCache) + _result = BlockCount.get_count() Process.sleep(1000) - updated_value = BlockCount.count(BlockTestCache) + updated_value = BlockCount.get_count() assert updated_value == 2 insert(:block, consensus: true) insert(:block, consensus: true) - _updated_value = BlockCount.count(BlockTestCache) + _updated_value = BlockCount.get_count() Process.sleep(1000) - updated_value = BlockCount.count(BlockTestCache) + updated_value = BlockCount.get_count() assert updated_value == 2 end diff --git a/apps/explorer/test/explorer/chain/cache/block_number_test.exs b/apps/explorer/test/explorer/chain/cache/block_number_test.exs index 381ded440b..64170695eb 100644 --- a/apps/explorer/test/explorer/chain/cache/block_number_test.exs +++ b/apps/explorer/test/explorer/chain/cache/block_number_test.exs @@ -11,49 +11,63 @@ defmodule Explorer.Chain.Cache.BlockNumberTest do end) end - describe "max_number/1" do + describe "get_max/1" do test "returns max number" do insert(:block, number: 5) - BlockNumber.setup() - - assert BlockNumber.max_number() == 5 + assert BlockNumber.get_max() == 5 end end - describe "min_number/1" do - test "returns max number" do + describe "get_min/1" do + test "returns min number" do insert(:block, number: 2) - BlockNumber.setup() + assert BlockNumber.get_min() == 2 + end + end - assert BlockNumber.max_number() == 2 + describe "get_all/1" do + test "returns min and max number" do + insert(:block, number: 6) + + assert BlockNumber.get_all() == %{min: 6, max: 6} end end - describe "update/1" do + describe "update_all/1" do test "updates max number" do insert(:block, number: 2) - BlockNumber.setup() - - assert BlockNumber.max_number() == 2 + assert BlockNumber.get_max() == 2 - assert BlockNumber.update(3) + assert BlockNumber.update_all(3) - assert BlockNumber.max_number() == 3 + assert BlockNumber.get_max() == 3 end test "updates min number" do insert(:block, number: 2) - BlockNumber.setup() + assert BlockNumber.get_min() == 2 + + assert BlockNumber.update_all(1) + + assert BlockNumber.get_min() == 1 + end + + test "updates min and number" do + insert(:block, number: 2) + + assert BlockNumber.get_all() == %{min: 2, max: 2} + + assert BlockNumber.update_all(1) - assert BlockNumber.min_number() == 2 + assert BlockNumber.get_all() == %{min: 1, max: 2} - assert BlockNumber.update(1) + assert BlockNumber.update_all(6) - assert BlockNumber.min_number() == 1 + assert BlockNumber.get_all() == %{min: 1, max: 6} end end end diff --git a/apps/explorer/test/explorer/chain/cache/blocks_test.exs b/apps/explorer/test/explorer/chain/cache/blocks_test.exs index 87f887ae26..41fe344a1e 100644 --- a/apps/explorer/test/explorer/chain/cache/blocks_test.exs +++ b/apps/explorer/test/explorer/chain/cache/blocks_test.exs @@ -5,8 +5,8 @@ defmodule Explorer.Chain.Cache.BlocksTest do alias Explorer.Repo setup do - Supervisor.terminate_child(Explorer.Supervisor, {ConCache, :blocks}) - Supervisor.restart_child(Explorer.Supervisor, {ConCache, :blocks}) + Supervisor.terminate_child(Explorer.Supervisor, Blocks.child_id()) + Supervisor.restart_child(Explorer.Supervisor, Blocks.child_id()) :ok end diff --git a/apps/explorer/test/explorer/chain/cache/transaction_count_test.exs b/apps/explorer/test/explorer/chain/cache/transaction_count_test.exs index 5020486cb8..5385492de7 100644 --- a/apps/explorer/test/explorer/chain/cache/transaction_count_test.exs +++ b/apps/explorer/test/explorer/chain/cache/transaction_count_test.exs @@ -3,51 +3,51 @@ defmodule Explorer.Chain.Cache.TransactionCountTest do alias Explorer.Chain.Cache.TransactionCount - test "returns default transaction count" do - TransactionCount.start_link([[], [name: TestCache]]) + setup do + Supervisor.terminate_child(Explorer.Supervisor, TransactionCount.child_id()) + Supervisor.restart_child(Explorer.Supervisor, TransactionCount.child_id()) + :ok + end - result = TransactionCount.value(TestCache) + test "returns default transaction count" do + result = TransactionCount.get_count() assert is_nil(result) end test "updates cache if initial value is zero" do - TransactionCount.start_link([[], [name: TestCache]]) - insert(:transaction) insert(:transaction) - _result = TransactionCount.value(TestCache) + _result = TransactionCount.get_count() Process.sleep(1000) - updated_value = TransactionCount.value(TestCache) + updated_value = TransactionCount.get_count() assert updated_value == 2 end test "does not update cache if cache period did not pass" do - TransactionCount.start_link([[], [name: TestCache]]) - insert(:transaction) insert(:transaction) - _result = TransactionCount.value(TestCache) + _result = TransactionCount.get_count() Process.sleep(1000) - updated_value = TransactionCount.value(TestCache) + updated_value = TransactionCount.get_count() assert updated_value == 2 insert(:transaction) insert(:transaction) - _updated_value = TransactionCount.value(TestCache) + _updated_value = TransactionCount.get_count() Process.sleep(1000) - updated_value = TransactionCount.value(TestCache) + updated_value = TransactionCount.get_count() assert updated_value == 2 end diff --git a/apps/explorer/test/explorer/chain_test.exs b/apps/explorer/test/explorer/chain_test.exs index f49be6da4e..ee1b8ed987 100644 --- a/apps/explorer/test/explorer/chain_test.exs +++ b/apps/explorer/test/explorer/chain_test.exs @@ -1121,23 +1121,31 @@ defmodule Explorer.ChainTest do end end - describe "fetch_min_and_max_block_numbers/0" do - test "fetches min and max block numbers" do + describe "fetch_min_block_number/0" do + test "fetches min block numbers" do for index <- 5..9 do insert(:block, number: index) end - assert {5, 9} = Chain.fetch_min_and_max_block_numbers() + assert 5 = Chain.fetch_min_block_number() end - test "fetches min and max when there are no blocks" do - assert {0, 0} = Chain.fetch_min_and_max_block_numbers() + test "fetches min when there are no blocks" do + assert 0 = Chain.fetch_min_block_number() end + end - test "fetches min and max where there is only one block" do - insert(:block, number: 1) + describe "fetch_max_block_number/0" do + test "fetches max block numbers" do + for index <- 5..9 do + insert(:block, number: index) + end + + assert 9 = Chain.fetch_max_block_number() + end - assert {1, 1} = Chain.fetch_min_and_max_block_numbers() + test "fetches max when there are no blocks" do + assert 0 = Chain.fetch_max_block_number() end end diff --git a/apps/explorer/test/support/data_case.ex b/apps/explorer/test/support/data_case.ex index fa87839725..47c15bbca0 100644 --- a/apps/explorer/test/support/data_case.ex +++ b/apps/explorer/test/support/data_case.ex @@ -39,7 +39,8 @@ defmodule Explorer.DataCase do Ecto.Adapters.SQL.Sandbox.mode(Explorer.Repo, {:shared, self()}) end - Explorer.Chain.Cache.BlockNumber.setup() + Supervisor.terminate_child(Explorer.Supervisor, Explorer.Chain.Cache.BlockNumber.child_id()) + Supervisor.restart_child(Explorer.Supervisor, Explorer.Chain.Cache.BlockNumber.child_id()) Supervisor.terminate_child(Explorer.Supervisor, Explorer.Chain.Cache.Blocks.child_id()) Supervisor.restart_child(Explorer.Supervisor, Explorer.Chain.Cache.Blocks.child_id()) Supervisor.terminate_child(Explorer.Supervisor, Explorer.Chain.Cache.Transactions.child_id()) diff --git a/apps/indexer/lib/indexer/block/fetcher.ex b/apps/indexer/lib/indexer/block/fetcher.ex index a8b28d1391..28002f010a 100644 --- a/apps/indexer/lib/indexer/block/fetcher.ex +++ b/apps/indexer/lib/indexer/block/fetcher.ex @@ -184,11 +184,10 @@ defmodule Indexer.Block.Fetcher do end defp update_block_cache(blocks) when is_list(blocks) do - max_block = Enum.max_by(blocks, fn block -> block.number end) - min_block = Enum.min_by(blocks, fn block -> block.number end) + {min_block, max_block} = Enum.min_max_by(blocks, & &1.number) - BlockNumber.update(max_block.number) - BlockNumber.update(min_block.number) + BlockNumber.update_all(max_block.number) + BlockNumber.update_all(min_block.number) BlocksCache.update(blocks) end @@ -269,7 +268,7 @@ defmodule Indexer.Block.Fetcher do end def async_import_internal_transactions(%{transactions: transactions}, EthereumJSONRPC.Geth) do - {_, max_block_number} = Chain.fetch_min_and_max_block_numbers() + max_block_number = Chain.fetch_max_block_number() transactions |> Enum.flat_map(fn diff --git a/apps/indexer/lib/indexer/fetcher/coin_balance_on_demand.ex b/apps/indexer/lib/indexer/fetcher/coin_balance_on_demand.ex index 4dfed6e73a..d6d7d66d71 100644 --- a/apps/indexer/lib/indexer/fetcher/coin_balance_on_demand.ex +++ b/apps/indexer/lib/indexer/fetcher/coin_balance_on_demand.ex @@ -162,7 +162,7 @@ defmodule Indexer.Fetcher.CoinBalanceOnDemand do end defp latest_block_number do - BlockNumber.max_number() + BlockNumber.get_max() end defp stale_balance_window(block_number) do From 372fb0d51d6e2e43a0ea3df6249de3e3026fd498 Mon Sep 17 00:00:00 2001 From: Ayrat Badykov Date: Wed, 28 Aug 2019 12:57:01 +0300 Subject: [PATCH 21/48] remove CoinMarketCap logic --- apps/explorer/config/config.exs | 3 - .../lib/explorer/exchange_rates/source.ex | 25 +------- .../exchange_rates/source/coin_market_cap.ex | 52 ---------------- .../exchange_rates/source/token_bridge.ex | 2 +- .../source/coin_market_cap_test.exs | 59 ------------------- 5 files changed, 2 insertions(+), 139 deletions(-) delete mode 100644 apps/explorer/lib/explorer/exchange_rates/source/coin_market_cap.ex delete mode 100644 apps/explorer/test/explorer/exchange_rates/source/coin_market_cap_test.exs diff --git a/apps/explorer/config/config.exs b/apps/explorer/config/config.exs index 39307741cd..10e8a66e82 100644 --- a/apps/explorer/config/config.exs +++ b/apps/explorer/config/config.exs @@ -31,9 +31,6 @@ config :explorer, Explorer.ChainSpec.GenesisData, enabled: false, chain_spec_pat config :explorer, Explorer.Chain.Cache.BlockNumber, enabled: true -config :explorer, Explorer.ExchangeRates.Source.CoinMarketCap, - pages: String.to_integer(System.get_env("COINMARKETCAP_PAGES") || "10") - config :explorer, Explorer.ExchangeRates.Source.CoinGecko, coin_id: System.get_env("COIN_GECKO_ID", "poa-network") balances_update_interval = diff --git a/apps/explorer/lib/explorer/exchange_rates/source.ex b/apps/explorer/lib/explorer/exchange_rates/source.ex index 6d95e48796..fdb0e06fc3 100644 --- a/apps/explorer/lib/explorer/exchange_rates/source.ex +++ b/apps/explorer/lib/explorer/exchange_rates/source.ex @@ -2,8 +2,6 @@ defmodule Explorer.ExchangeRates.Source do @moduledoc """ Behaviour for fetching exchange rates from external sources. """ - - alias Explorer.ExchangeRates.Source.CoinMarketCap alias Explorer.ExchangeRates.Token alias HTTPoison.{Error, Response} @@ -12,28 +10,7 @@ defmodule Explorer.ExchangeRates.Source do """ @spec fetch_exchange_rates(module) :: {:ok, [Token.t()]} | {:error, any} def fetch_exchange_rates(source \\ exchange_rates_source()) do - if(source == CoinMarketCap) do - fetch_exchange_rates_from_paginable_source(source) - else - fetch_exchange_rates_request(source) - end - end - - defp fetch_exchange_rates_from_paginable_source(source, page \\ 1) do - case HTTPoison.get(source.source_url(page), headers()) do - {:ok, %Response{body: body, status_code: 200}} -> - cond do - body =~ Explorer.coin() -> {:ok, source.format_data(body)} - page == source.max_page_number -> {:error, "exchange rates not found for this network"} - true -> fetch_exchange_rates_from_paginable_source(source, page + 1) - end - - {:ok, %Response{body: body, status_code: status_code}} when status_code in 400..502 -> - {:error, decode_json(body)["error"]} - - {:error, %Error{reason: reason}} -> - {:error, reason} - end + fetch_exchange_rates_request(source) end defp fetch_exchange_rates_request(source) do diff --git a/apps/explorer/lib/explorer/exchange_rates/source/coin_market_cap.ex b/apps/explorer/lib/explorer/exchange_rates/source/coin_market_cap.ex deleted file mode 100644 index efe592e0fa..0000000000 --- a/apps/explorer/lib/explorer/exchange_rates/source/coin_market_cap.ex +++ /dev/null @@ -1,52 +0,0 @@ -defmodule Explorer.ExchangeRates.Source.CoinMarketCap do - @moduledoc """ - Adapter for fetching exchange rates from https://coinmarketcap.com. - """ - - alias Explorer.ExchangeRates.{Source, Token} - - import Source, only: [decode_json: 1, to_decimal: 1] - - @behaviour Source - - @impl Source - def format_data(data) do - for item <- decode_json(data), not is_nil(item["last_updated"]) do - {last_updated_as_unix, _} = Integer.parse(item["last_updated"]) - last_updated = DateTime.from_unix!(last_updated_as_unix) - - %Token{ - available_supply: to_decimal(item["available_supply"]), - total_supply: to_decimal(item["total_supply"]), - btc_value: to_decimal(item["price_btc"]), - id: item["id"], - last_updated: last_updated, - market_cap_usd: to_decimal(item["market_cap_usd"]), - name: item["name"], - symbol: item["symbol"], - usd_value: to_decimal(item["price_usd"]), - volume_24h_usd: to_decimal(item["24h_volume_usd"]) - } - end - end - - @impl Source - def source_url do - source_url(1) - end - - def source_url(page) do - "#{base_url()}/v1/ticker/?start=#{page - 1}00" - end - - def max_page_number, do: config(:pages) - - defp base_url do - config(:base_url) || "https://api.coinmarketcap.com" - end - - @spec config(atom()) :: term - defp config(key) do - Application.get_env(:explorer, __MODULE__, [])[key] - end -end diff --git a/apps/explorer/lib/explorer/exchange_rates/source/token_bridge.ex b/apps/explorer/lib/explorer/exchange_rates/source/token_bridge.ex index 03234ff649..531e3ab181 100644 --- a/apps/explorer/lib/explorer/exchange_rates/source/token_bridge.ex +++ b/apps/explorer/lib/explorer/exchange_rates/source/token_bridge.ex @@ -45,7 +45,7 @@ defmodule Explorer.ExchangeRates.Source.TokenBridge do @spec secondary_source() :: module() defp secondary_source do - config(:secondary_source) || Explorer.ExchangeRates.Source.CoinMarketCap + config(:secondary_source) || Explorer.ExchangeRates.Source.CoinGecko end @spec config(atom()) :: term diff --git a/apps/explorer/test/explorer/exchange_rates/source/coin_market_cap_test.exs b/apps/explorer/test/explorer/exchange_rates/source/coin_market_cap_test.exs deleted file mode 100644 index e0f1693212..0000000000 --- a/apps/explorer/test/explorer/exchange_rates/source/coin_market_cap_test.exs +++ /dev/null @@ -1,59 +0,0 @@ -defmodule Explorer.ExchangeRates.Source.CoinMarketCapTest do - use ExUnit.Case - - alias Explorer.ExchangeRates.Token - alias Explorer.ExchangeRates.Source.CoinMarketCap - - @json """ - [ - { - "id": "poa-network", - "name": "POA Network", - "symbol": "POA", - "rank": "103", - "price_usd": "0.485053", - "price_btc": "0.00007032", - "24h_volume_usd": "20185000.0", - "market_cap_usd": "98941986.0", - "available_supply": "203981804.0", - "total_supply": "254473964.0", - "max_supply": null, - "percent_change_1h": "-0.66", - "percent_change_24h": "12.34", - "percent_change_7d": "49.15", - "last_updated": "1523473200" - } - ] - """ - - describe "format_data/1" do - test "returns valid tokens with valid data" do - expected_date = ~N[2018-04-11 19:00:00] |> DateTime.from_naive!("Etc/UTC") - - expected = [ - %Token{ - available_supply: Decimal.new("203981804.0"), - total_supply: Decimal.new("254473964.0"), - btc_value: Decimal.new("0.00007032"), - id: "poa-network", - last_updated: expected_date, - market_cap_usd: Decimal.new("98941986.0"), - name: "POA Network", - symbol: "POA", - usd_value: Decimal.new("0.485053"), - volume_24h_usd: Decimal.new("20185000.0") - } - ] - - assert expected == CoinMarketCap.format_data(@json) - end - - test "returns nothing when given bad data" do - bad_data = """ - [{"id": "poa-network"}] - """ - - assert [] = CoinMarketCap.format_data(bad_data) - end - end -end From 56bb2018fb4cde594adc425217479095db91eb86 Mon Sep 17 00:00:00 2001 From: Ayrat Badykov Date: Wed, 28 Aug 2019 13:15:22 +0300 Subject: [PATCH 22/48] fix test --- .../exchange_rates/source/token_bridge.ex | 10 +++++++- .../source/token_bridge_test.exs | 24 +++---------------- 2 files changed, 12 insertions(+), 22 deletions(-) diff --git a/apps/explorer/lib/explorer/exchange_rates/source/token_bridge.ex b/apps/explorer/lib/explorer/exchange_rates/source/token_bridge.ex index 531e3ab181..aa2b849a11 100644 --- a/apps/explorer/lib/explorer/exchange_rates/source/token_bridge.ex +++ b/apps/explorer/lib/explorer/exchange_rates/source/token_bridge.ex @@ -30,7 +30,7 @@ defmodule Explorer.ExchangeRates.Source.TokenBridge do btc_value: original_token.btc_value, id: original_token.id, last_updated: original_token.last_updated, - market_cap_usd: Decimal.mult(to_decimal(Chain.circulating_supply()), original_token.usd_value), + market_cap_usd: market_cap_usd(Chain.circulating_supply(), original_token), name: original_token.name, symbol: original_token.symbol, usd_value: original_token.usd_value, @@ -38,6 +38,14 @@ defmodule Explorer.ExchangeRates.Source.TokenBridge do } end + defp market_cap_usd(nil, _original_token), do: Decimal.new(0) + + defp market_cap_usd(supply, original_token) do + supply + |> to_decimal() + |> Decimal.mult(original_token.usd_value) + end + @impl Source def source_url do secondary_source().source_url() diff --git a/apps/explorer/test/explorer/exchange_rates/source/token_bridge_test.exs b/apps/explorer/test/explorer/exchange_rates/source/token_bridge_test.exs index d5bd5f9b96..078c280fda 100644 --- a/apps/explorer/test/explorer/exchange_rates/source/token_bridge_test.exs +++ b/apps/explorer/test/explorer/exchange_rates/source/token_bridge_test.exs @@ -3,27 +3,9 @@ defmodule Explorer.ExchangeRates.Source.TokenBridgeTest do alias Explorer.ExchangeRates.Source.TokenBridge alias Explorer.ExchangeRates.Token - @json """ - [ - { - "id": "poa-network", - "name": "POA Network", - "symbol": "POA", - "rank": "103", - "price_usd": "0.485053", - "price_btc": "0.00007032", - "24h_volume_usd": "20185000.0", - "market_cap_usd": "98941986.0", - "available_supply": "203981804.0", - "total_supply": "254473964.0", - "max_supply": null, - "percent_change_1h": "-0.66", - "percent_change_24h": "12.34", - "percent_change_7d": "49.15", - "last_updated": "1523473200" - } - ] - """ + @json "#{File.cwd!()}/test/support/fixture/exchange_rates/coin_gecko.json" + |> File.read!() + |> Jason.decode!() describe "format_data/1" do test "bring a list with one %Token{}" do From 9bd5ea52710b2b3bc1d5839e27e3c011fc10d630 Mon Sep 17 00:00:00 2001 From: Ayrat Badykov Date: Wed, 28 Aug 2019 13:20:44 +0300 Subject: [PATCH 23/48] add new column to env vars --- docs/env-variables.md | 104 +++++++++++++++++++++--------------------- 1 file changed, 52 insertions(+), 52 deletions(-) diff --git a/docs/env-variables.md b/docs/env-variables.md index 2b4f767f13..2dc8763b8d 100644 --- a/docs/env-variables.md +++ b/docs/env-variables.md @@ -14,55 +14,55 @@ $ export NETWORK=POA ``` -| Variable | Required | Description | Default | Version | Need recompile | -| --- | --- | --- | ---| --- | --- | -| `NETWORK`| :white_check_mark: | Environment variable for the main EVM network such as Ethereum Network or POA Network | POA Network | all | | -| `SUBNETWORK` | :white_check_mark: | Environment variable for the subnetwork such as Core or Sokol Network | Sokol Testnet | all | | -| `NETWORK_ICON` | :white_check_mark: | Environment variable for the main network icon or testnet icon. Two options are `_test_network_icon.html` and `_network_icon.html` | `_test_network_icon.html` | all | | -| `LOGO` | :white_check_mark: | Environment variable for the logo image location. The logo files names for different chains can be found [here](https://github.com/poanetwork/blockscout/tree/master/apps/block_scout_web/assets/static/images) | /images/blockscout_logo.svg | all | | -| `ETHEREUM_JSONRPC_VARIANT` | :white_check_mark: | This environment variable is used to tell the application which RPC Client the node is using (i.e. Geth, Parity, or Ganache) | parity | all | | -| `ETHEREUM_JSONRPC_HTTP_URL` | :white_check_mark: | The RPC endpoint used to fetch blocks, transactions, receipts, tokens. | localhost:8545 | all | | -| `ETHEREUM_JSONRPC_TRACE_URL` | | The RPC endpoint specifically for the Geth/Parity client used by trace_block and trace_replayTransaction. This can be used to designate a tracing node. | localhost:8545 | all | | -| `ETHEREUM_JSONRPC_WS_URL` | :white_check_mark: | The WebSockets RPC endpoint used to subscribe to the `newHeads` subscription alerting the indexer to fetch new blocks. | ws://localhost:8546 | all | | -| `NETWORK_PATH` | | Used to set a network path other than what is displayed in the root directory. An example would be to add /eth/mainnet/ to the root directory. | (empty) | all | | -| `SECRET_KEY_BASE` | :white_check_mark: | Use mix phx.gen.secret to generate a new Secret Key Base string to protect production assets. | (empty) | all | | -| `CHECK_ORIGIN` | | Used to check the origin of requests when the origin header is present. It defaults to false. In case of true, it will check against the host value. | false | all | | -| `PORT` | :white_check_mark: | Default port the application runs on is 4000 | 4000 | all | | -| `COIN` | :white_check_mark: | The coin here is checked via the Coinmarketcap API to obtain USD prices on graphs and other areas of the UI | POA | all | | -| `METADATA_CONTRACT` | | This environment variable is specifically used by POA Network to obtain Validators information to display in the UI. | (empty) | all | | -| `VALIDATORS_CONTRACT` | | This environment variable is specifically used by POA Network to obtain the Emission Fund contract. | (empty) | all | | -| `SUPPLY_MODULE` | | This environment variable is used by the xDai Chain in order to tell the application how to calculate the total supply of the chain. | false | all | | -| `SOURCE_MODULE` | | This environment variable is used to calculate the exchange rate and is specifically used by the xDai Chain. | false | all | | -| `DATABASE_URL` | | Production environment variable to define the Database endpoint. | (empty) | all | | -| `POOL_SIZE` | | Production environment variable to define the number of database connections allowed. | 20 | all | | -| `ECTO_USE_SSL` | | Production environment variable to use SSL on Ecto queries. | true | all | | -| `DATADOG_HOST` | | Host configuration setting for [Datadog integration](https://docs.datadoghq.com/integrations/) | (empty) | all | | -| `DATADOG_PORT` | | Port configuration setting for [Datadog integration](https://docs.datadoghq.com/integrations/). | (empty} | all | | -| `SPANDEX_BATCH_SIZE` | | [Spandex](https://github.com/spandex-project/spandex) and Datadog configuration setting. | (empty) | all | -| `SPANDEX_SYNC_THRESHOLD` | | [Spandex](https://github.com/spandex-project/spandex) and Datadog configuration setting. | (empty) | all | | -| `HEART_BEAT_TIMEOUT` | | Production environment variable to restart the application in the event of a crash. | 30 | all | | -| `HEART_COMMAND` | | Production environment variable to restart the application in the event of a crash. | systemctl restart explorer.service | all | | -| `BLOCKSCOUT_VERSION` | | Added to the footer to signify the current BlockScout version. | (empty) | v1.3.4+ | | -| `RELEASE_LINK` | | The link to Blockscout release notes in the footer. | https: //github.com/poanetwork/
blockscout/releases/
tag/${BLOCKSCOUT_VERSION} | v1.3.5+ | | -| `ELIXIR_VERSION` | | Elixir version to install on the node before Blockscout deploy. | (empty) | all | | -| `BLOCK_TRANSFORMER` | | Transformer for blocks: base or clique. | base | v1.3.4+ | | -| `GRAPHIQL_TRANSACTION` | | Default transaction in query to GraphiQL. | (empty) | v1.2.0+ | :white_check_mark: | -| `FIRST_BLOCK` | | The block number, where indexing begins from. | 0 | v1.3.8+ | | -| `LAST_BLOCK` | | The block number, where indexing stops. | (empty) | v2.0.3+ | | -| `TXS_COUNT_CACHE_PERIOD` | | Interval in seconds to restart the task, which calculates the total txs count. | 60 * 60 * 2 | v1.3.9+ | | -| `ADDRESS_WITH_BALANCES`
`_UPDATE_INTERVAL`| | Interval in seconds to restart the task, which calculates addresses with balances. | 30 * 60 | v1.3.9+ | | -| `LINK_TO_OTHER_EXPLORERS` | | true/false. If true, links to other explorers are added in the footer | (empty) | v1.3.0+ | | -| `COINMARKETCAP_PAGES` | | the number of pages on coinmarketcap to list in order to find token's price | 10 | v1.3.10+ | | -| `SUPPORTED_CHAINS` | | Array of supported chains that displays in the footer and in the chains dropdown. This var was introduced in this PR [#1900](https://github.com/poanetwork/blockscout/pull/1900) and looks like an array of JSON objects. | (empty) | v2.0.0+ | | -| `BLOCK_COUNT_CACHE_PERIOD ` | | time to live of cache in seconds. This var was introduced in [#1876](https://github.com/poanetwork/blockscout/pull/1876) | 600 | v2.0.0+ | | -| `ALLOWED_EVM_VERSIONS ` | | the comma-separated list of allowed EVM versions for contracts verification. This var was introduced in [#1964](https://github.com/poanetwork/blockscout/pull/1964) | "homestead, tangerineWhistle, spuriousDragon, byzantium, constantinople, petersburg" | v2.0.0+ | | -| `AVERAGE_BLOCK_CACHE_PERIOD` | | Update of average block cache, in seconds | 30 minutes | v2.0.2+ | -| `MARKET_HISTORY_CACHE_PERIOD` | | Update of market history cache, in seconds | 6 hours | v2.0.2+ | -| `DISABLE_WEBAPP` | | If `true`, endpoints to webapp are hidden (compile-time) | `false` | v2.0.3+ | :white_check_mark: | -| `DISABLE_READ_API` | | If `true`, read-only endpoints to API are hidden (compile-time) | `false` | v2.0.3+ | :white_check_mark: | -| `DISABLE_WRITE_API` | | If `true`, write endpoints to API are hidden (compile-time) | `false` | v2.0.3+ | :white_check_mark: | -| `DISABLE_INDEXER` | | If `true`, indexer application doesn't run | `false` | v2.0.3+ | :white_check_mark: | -| `WEBAPP_URL` | | Link to web application instance, e.g. `http://host/path` | (empty) | v2.0.3+ | | -| `API_URL` | | Link to API instance, e.g. `http://host/path` | (empty) | v2.0.3+ | | -| `CHAIN_SPEC_PATH` | | Chain specification path (absolute file system path or url) to import block emission reward ranges and genesis account balances from | (empty) | master | | -| `COIN_GECKO_ID` | | CoinGecko coin id required for fetching an exchange rate | poa-network | master | \ No newline at end of file +| Variable | Required | Description | Default | Version | Need recompile | Deprecated in Version | +| --- | --- | --- | ---| --- | --- | --- | +| `NETWORK`| :white_check_mark: | Environment variable for the main EVM network such as Ethereum Network or POA Network | POA Network | all | | | +| `SUBNETWORK` | :white_check_mark: | Environment variable for the subnetwork such as Core or Sokol Network | Sokol Testnet | all | | | +| `NETWORK_ICON` | :white_check_mark: | Environment variable for the main network icon or testnet icon. Two options are `_test_network_icon.html` and `_network_icon.html` | `_test_network_icon.html` | all | | | +| `LOGO` | :white_check_mark: | Environment variable for the logo image location. The logo files names for different chains can be found [here](https://github.com/poanetwork/blockscout/tree/master/apps/block_scout_web/assets/static/images) | /images/blockscout_logo.svg | all | | | +| `ETHEREUM_JSONRPC_VARIANT` | :white_check_mark: | This environment variable is used to tell the application which RPC Client the node is using (i.e. Geth, Parity, or Ganache) | parity | all | | | +| `ETHEREUM_JSONRPC_HTTP_URL` | :white_check_mark: | The RPC endpoint used to fetch blocks, transactions, receipts, tokens. | localhost:8545 | all | | | +| `ETHEREUM_JSONRPC_TRACE_URL` | | The RPC endpoint specifically for the Geth/Parity client used by trace_block and trace_replayTransaction. This can be used to designate a tracing node. | localhost:8545 | all | | | +| `ETHEREUM_JSONRPC_WS_URL` | :white_check_mark: | The WebSockets RPC endpoint used to subscribe to the `newHeads` subscription alerting the indexer to fetch new blocks. | ws://localhost:8546 | all | | | +| `NETWORK_PATH` | | Used to set a network path other than what is displayed in the root directory. An example would be to add /eth/mainnet/ to the root directory. | (empty) | all | | | +| `SECRET_KEY_BASE` | :white_check_mark: | Use mix phx.gen.secret to generate a new Secret Key Base string to protect production assets. | (empty) | all | | | +| `CHECK_ORIGIN` | | Used to check the origin of requests when the origin header is present. It defaults to false. In case of true, it will check against the host value. | false | all | | | +| `PORT` | :white_check_mark: | Default port the application runs on is 4000 | 4000 | all | | | +| `COIN` | :white_check_mark: | The coin here is checked via the Coinmarketcap API to obtain USD prices on graphs and other areas of the UI | POA | all | | | +| `METADATA_CONTRACT` | | This environment variable is specifically used by POA Network to obtain Validators information to display in the UI. | (empty) | all | | | +| `VALIDATORS_CONTRACT` | | This environment variable is specifically used by POA Network to obtain the Emission Fund contract. | (empty) | all | | | +| `SUPPLY_MODULE` | | This environment variable is used by the xDai Chain in order to tell the application how to calculate the total supply of the chain. | false | all | | | +| `SOURCE_MODULE` | | This environment variable is used to calculate the exchange rate and is specifically used by the xDai Chain. | false | all | | | +| `DATABASE_URL` | | Production environment variable to define the Database endpoint. | (empty) | all | | | +| `POOL_SIZE` | | Production environment variable to define the number of database connections allowed. | 20 | all | | | +| `ECTO_USE_SSL` | | Production environment variable to use SSL on Ecto queries. | true | all | | | +| `DATADOG_HOST` | | Host configuration setting for [Datadog integration](https://docs.datadoghq.com/integrations/) | (empty) | all | | | +| `DATADOG_PORT` | | Port configuration setting for [Datadog integration](https://docs.datadoghq.com/integrations/). | (empty} | all | | | +| `SPANDEX_BATCH_SIZE` | | [Spandex](https://github.com/spandex-project/spandex) and Datadog configuration setting. | (empty) | all | | +| `SPANDEX_SYNC_THRESHOLD` | | [Spandex](https://github.com/spandex-project/spandex) and Datadog configuration setting. | (empty) | all | | | +| `HEART_BEAT_TIMEOUT` | | Production environment variable to restart the application in the event of a crash. | 30 | all | | | +| `HEART_COMMAND` | | Production environment variable to restart the application in the event of a crash. | systemctl restart explorer.service | all | | | +| `BLOCKSCOUT_VERSION` | | Added to the footer to signify the current BlockScout version. | (empty) | v1.3.4+ | | | +| `RELEASE_LINK` | | The link to Blockscout release notes in the footer. | https: //github.com/poanetwork/
blockscout/releases/
tag/${BLOCKSCOUT_VERSION} | v1.3.5+ | | | +| `ELIXIR_VERSION` | | Elixir version to install on the node before Blockscout deploy. | (empty) | all | | | +| `BLOCK_TRANSFORMER` | | Transformer for blocks: base or clique. | base | v1.3.4+ | | | +| `GRAPHIQL_TRANSACTION` | | Default transaction in query to GraphiQL. | (empty) | v1.2.0+ | :white_check_mark: | | +| `FIRST_BLOCK` | | The block number, where indexing begins from. | 0 | v1.3.8+ | | | +| `LAST_BLOCK` | | The block number, where indexing stops. | (empty) | v2.0.3+ | | | +| `TXS_COUNT_CACHE_PERIOD` | | Interval in seconds to restart the task, which calculates the total txs count. | 60 * 60 * 2 | v1.3.9+ | | | +| `ADDRESS_WITH_BALANCES`
`_UPDATE_INTERVAL`| | Interval in seconds to restart the task, which calculates addresses with balances. | 30 * 60 | v1.3.9+ | | | +| `LINK_TO_OTHER_EXPLORERS` | | true/false. If true, links to other explorers are added in the footer | (empty) | v1.3.0+ | | | +| `COINMARKETCAP_PAGES` | | the number of pages on coinmarketcap to list in order to find token's price | 10 | v1.3.10+ | | master | +| `SUPPORTED_CHAINS` | | Array of supported chains that displays in the footer and in the chains dropdown. This var was introduced in this PR [#1900](https://github.com/poanetwork/blockscout/pull/1900) and looks like an array of JSON objects. | (empty) | v2.0.0+ | | | +| `BLOCK_COUNT_CACHE_PERIOD ` | | time to live of cache in seconds. This var was introduced in [#1876](https://github.com/poanetwork/blockscout/pull/1876) | 600 | v2.0.0+ | | | +| `ALLOWED_EVM_VERSIONS ` | | the comma-separated list of allowed EVM versions for contracts verification. This var was introduced in [#1964](https://github.com/poanetwork/blockscout/pull/1964) | "homestead, tangerineWhistle, spuriousDragon, byzantium, constantinople, petersburg" | v2.0.0+ | | | +| `AVERAGE_BLOCK_CACHE_PERIOD` | | Update of average block cache, in seconds | 30 minutes | v2.0.2+ | | +| `MARKET_HISTORY_CACHE_PERIOD` | | Update of market history cache, in seconds | 6 hours | v2.0.2+ | | +| `DISABLE_WEBAPP` | | If `true`, endpoints to webapp are hidden (compile-time) | `false` | v2.0.3+ | :white_check_mark: | | +| `DISABLE_READ_API` | | If `true`, read-only endpoints to API are hidden (compile-time) | `false` | v2.0.3+ | :white_check_mark: | | +| `DISABLE_WRITE_API` | | If `true`, write endpoints to API are hidden (compile-time) | `false` | v2.0.3+ | :white_check_mark: | | +| `DISABLE_INDEXER` | | If `true`, indexer application doesn't run | `false` | v2.0.3+ | :white_check_mark: | | +| `WEBAPP_URL` | | Link to web application instance, e.g. `http://host/path` | (empty) | v2.0.3+ | | | +| `API_URL` | | Link to API instance, e.g. `http://host/path` | (empty) | v2.0.3+ | | | +| `CHAIN_SPEC_PATH` | | Chain specification path (absolute file system path or url) to import block emission reward ranges and genesis account balances from | (empty) | master | | | +| `COIN_GECKO_ID` | | CoinGecko coin id required for fetching an exchange rate | poa-network | master | | | From e40786a9bbec5212e884d3eec53bb93637ff5881 Mon Sep 17 00:00:00 2001 From: Ayrat Badykov Date: Wed, 28 Aug 2019 13:32:12 +0300 Subject: [PATCH 24/48] mock actual request --- .../source/token_bridge_test.exs | 29 ++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/apps/explorer/test/explorer/exchange_rates/source/token_bridge_test.exs b/apps/explorer/test/explorer/exchange_rates/source/token_bridge_test.exs index 078c280fda..febb9e7722 100644 --- a/apps/explorer/test/explorer/exchange_rates/source/token_bridge_test.exs +++ b/apps/explorer/test/explorer/exchange_rates/source/token_bridge_test.exs @@ -1,14 +1,41 @@ defmodule Explorer.ExchangeRates.Source.TokenBridgeTest do use Explorer.DataCase + + alias Explorer.ExchangeRates.Source.CoinGecko alias Explorer.ExchangeRates.Source.TokenBridge alias Explorer.ExchangeRates.Token + alias Plug.Conn @json "#{File.cwd!()}/test/support/fixture/exchange_rates/coin_gecko.json" |> File.read!() |> Jason.decode!() + @json_btc_price """ + { + "rates": { + "usd": { + "name": "US Dollar", + "unit": "$", + "value": 6547.418, + "type": "fiat" + } + } + } + """ + describe "format_data/1" do - test "bring a list with one %Token{}" do + setup do + bypass = Bypass.open() + Application.put_env(:explorer, CoinGecko, base_url: "http://localhost:#{bypass.port}") + + {:ok, bypass: bypass} + end + + test "bring a list with one %Token{}", %{bypass: bypass} do + Bypass.expect(bypass, "GET", "/exchange_rates", fn conn -> + Conn.resp(conn, 200, @json_btc_price) + end) + assert [%Token{}] = TokenBridge.format_data(@json) end end From 2db7702cef68d187a1662cdf8457aacaed066a6a Mon Sep 17 00:00:00 2001 From: saneery Date: Wed, 28 Aug 2019 14:29:58 +0300 Subject: [PATCH 25/48] Add scheme in api base url --- .../templates/api_docs/eth_rpc.html.eex | 2 +- .../templates/api_docs/index.html.eex | 2 +- .../block_scout_web/views/api_docs_view.ex | 26 ++++---- .../views/api_docs_view_test.exs | 64 +++++++++++++------ 4 files changed, 58 insertions(+), 36 deletions(-) diff --git a/apps/block_scout_web/lib/block_scout_web/templates/api_docs/eth_rpc.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/api_docs/eth_rpc.html.eex index 7b8a9a98de..ad27e68185 100644 --- a/apps/block_scout_web/lib/block_scout_web/templates/api_docs/eth_rpc.html.eex +++ b/apps/block_scout_web/lib/block_scout_web/templates/api_docs/eth_rpc.html.eex @@ -2,7 +2,7 @@

<%= gettext("ETH RPC API Documentation") %>

-

[ <%= gettext "Base URL:" %> <%= eth_rpc_api_url()%> ]

+

[ <%= gettext "Base URL:" %> <%= eth_rpc_api_url(with_scheme: true)%> ]

<%= gettext "This API is provided to support some rpc methods in the exact format specified for ethereum nodes, which can be found " %> diff --git a/apps/block_scout_web/lib/block_scout_web/templates/api_docs/index.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/api_docs/index.html.eex index 59dae38cdb..10ff5a6c27 100644 --- a/apps/block_scout_web/lib/block_scout_web/templates/api_docs/index.html.eex +++ b/apps/block_scout_web/lib/block_scout_web/templates/api_docs/index.html.eex @@ -2,7 +2,7 @@

<%= gettext("API Documentation") %>

-

[ <%= gettext "Base URL:" %> <%= api_url()%> ]

+

[ <%= gettext "Base URL:" %> <%= api_url(with_scheme: true)%> ]

<%= gettext "This API is provided for developers transitioning their applications from Etherscan to BlockScout. It supports GET and POST requests." %>

diff --git a/apps/block_scout_web/lib/block_scout_web/views/api_docs_view.ex b/apps/block_scout_web/lib/block_scout_web/views/api_docs_view.ex index 6f731d3627..c30364e96b 100644 --- a/apps/block_scout_web/lib/block_scout_web/views/api_docs_view.ex +++ b/apps/block_scout_web/lib/block_scout_web/views/api_docs_view.ex @@ -34,30 +34,30 @@ defmodule BlockScoutWeb.APIDocsView do end) end - def blockscout_url do + defp blockscout_url(opts) do url_params = Application.get_env(:block_scout_web, BlockScoutWeb.Endpoint)[:url] host = url_params[:host] path = url_params[:path] + scheme = + if Keyword.get(opts, :with_scheme, false) do + url_params[:scheme] <> "://" + end if host != "localhost" do - "#{host}#{path}" + "#{scheme}#{host}#{path}" else port = Application.get_env(:block_scout_web, BlockScoutWeb.Endpoint)[:http][:port] - "#{host}:#{to_string(port)}" + "#{scheme}#{host}:#{to_string(port)}" end end - def api_url do - handle_slash("api") + def api_url(opts \\ []) do + base_url = blockscout_url(opts) + Path.join(base_url, "api") end - def eth_rpc_api_url do - handle_slash("api/eth_rpc") - end - - defp handle_slash(path) do - base_url = blockscout_url() - - Path.join(base_url, path) + def eth_rpc_api_url(opts \\ []) do + base_url = blockscout_url(opts) + Path.join(base_url, "api/eth_rpc") end end diff --git a/apps/block_scout_web/test/block_scout_web/views/api_docs_view_test.exs b/apps/block_scout_web/test/block_scout_web/views/api_docs_view_test.exs index 69be27ef09..bd2bb6cd05 100644 --- a/apps/block_scout_web/test/block_scout_web/views/api_docs_view_test.exs +++ b/apps/block_scout_web/test/block_scout_web/views/api_docs_view_test.exs @@ -3,7 +3,7 @@ defmodule BlockScoutWeb.ApiDocsViewTest do alias BlockScoutWeb.APIDocsView - describe "blockscout_url/0" do + describe "api_url/1" do setup do original = Application.get_env(:block_scout_web, BlockScoutWeb.Endpoint) @@ -12,46 +12,44 @@ defmodule BlockScoutWeb.ApiDocsViewTest do :ok end - test "returns url with scheme and host without port" do + test "adds slash before path" do Application.put_env(:block_scout_web, BlockScoutWeb.Endpoint, - url: [scheme: "https", host: "blockscout.com", port: 9999, path: "/"] + url: [scheme: "https", host: "blockscout.com", port: 9999, path: "/chain/dog"] ) - assert APIDocsView.blockscout_url() == "blockscout.com/" + assert APIDocsView.api_url() == "blockscout.com/chain/dog/api" end - test "returns url with scheme and host with path" do + test "does not add slash to empty path" do Application.put_env(:block_scout_web, BlockScoutWeb.Endpoint, - url: [scheme: "https", host: "blockscout.com", port: 9999, path: "/chain/dog"] + url: [scheme: "https", host: "blockscout.com", port: 9999, path: ""] ) - assert APIDocsView.blockscout_url() == "blockscout.com/chain/dog" + assert APIDocsView.api_url() == "blockscout.com/api" end - end - describe "api_url/1" do - setup do - original = Application.get_env(:block_scout_web, BlockScoutWeb.Endpoint) - - on_exit(fn -> Application.put_env(:block_scout_web, BlockScoutWeb.Endpoint, original) end) + test "path with schems" do + Application.put_env(:block_scout_web, BlockScoutWeb.Endpoint, + url: [scheme: "https", host: "blockscout.com", port: 9999] + ) - :ok - end + assert APIDocsView.api_url(with_scheme: true) == "https://blockscout.com/api" - test "adds slash before path" do Application.put_env(:block_scout_web, BlockScoutWeb.Endpoint, - url: [scheme: "https", host: "blockscout.com", port: 9999, path: "/chain/dog"] + url: [scheme: "http", host: "blockscout.com", port: 9999] ) - assert APIDocsView.api_url() == "blockscout.com/chain/dog/api" + assert APIDocsView.api_url(with_scheme: true) == "http://blockscout.com/api" end - test "does not add slash to empty path" do + test "localhost return with port" do Application.put_env(:block_scout_web, BlockScoutWeb.Endpoint, - url: [scheme: "https", host: "blockscout.com", port: 9999, path: ""] + url: [scheme: "http", host: "localhost"], + http: [port: 9999] ) - assert APIDocsView.api_url() == "blockscout.com/api" + assert APIDocsView.api_url() == "localhost:9999/api" + assert APIDocsView.api_url(with_scheme: true) == "http://localhost:9999/api" end end @@ -79,5 +77,29 @@ defmodule BlockScoutWeb.ApiDocsViewTest do assert APIDocsView.eth_rpc_api_url() == "blockscout.com/api/eth_rpc" end + + test "path with schems" do + Application.put_env(:block_scout_web, BlockScoutWeb.Endpoint, + url: [scheme: "https", host: "blockscout.com", port: 9999] + ) + + assert APIDocsView.eth_rpc_api_url(with_scheme: true) == "https://blockscout.com/api/eth_rpc" + + Application.put_env(:block_scout_web, BlockScoutWeb.Endpoint, + url: [scheme: "http", host: "blockscout.com", port: 9999] + ) + + assert APIDocsView.eth_rpc_api_url(with_scheme: true) == "http://blockscout.com/api/eth_rpc" + end + + test "localhost return with port" do + Application.put_env(:block_scout_web, BlockScoutWeb.Endpoint, + url: [scheme: "http", host: "localhost"], + http: [port: 9999] + ) + + assert APIDocsView.eth_rpc_api_url() == "localhost:9999/api/eth_rpc" + assert APIDocsView.eth_rpc_api_url(with_scheme: true) == "http://localhost:9999/api/eth_rpc" + end end end From aabb0069405954d98f2ccb73d29428d5fec9233d Mon Sep 17 00:00:00 2001 From: saneery Date: Wed, 28 Aug 2019 14:36:36 +0300 Subject: [PATCH 26/48] Add host in an example of curl request --- apps/block_scout_web/assets/js/lib/try_eth_api.js | 3 ++- .../block_scout_web/lib/block_scout_web/views/api_docs_view.ex | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/block_scout_web/assets/js/lib/try_eth_api.js b/apps/block_scout_web/assets/js/lib/try_eth_api.js index 464229885d..8f81f852ec 100644 --- a/apps/block_scout_web/assets/js/lib/try_eth_api.js +++ b/apps/block_scout_web/assets/js/lib/try_eth_api.js @@ -1,7 +1,8 @@ import $ from 'jquery' function composeCurlCommand (data) { - return `curl -H "content-type: application/json" -X POST --data '${JSON.stringify(data)}'` + const url = $('[data-endpoint-url]').attr('data-endpoint-url') + return `curl ${url} -H "content-type: application/json" -X POST --data '${JSON.stringify(data)}'` } function handleResponse (data, xhr, clickedButton) { diff --git a/apps/block_scout_web/lib/block_scout_web/views/api_docs_view.ex b/apps/block_scout_web/lib/block_scout_web/views/api_docs_view.ex index c30364e96b..a9b816abb9 100644 --- a/apps/block_scout_web/lib/block_scout_web/views/api_docs_view.ex +++ b/apps/block_scout_web/lib/block_scout_web/views/api_docs_view.ex @@ -38,6 +38,7 @@ defmodule BlockScoutWeb.APIDocsView do url_params = Application.get_env(:block_scout_web, BlockScoutWeb.Endpoint)[:url] host = url_params[:host] path = url_params[:path] + scheme = if Keyword.get(opts, :with_scheme, false) do url_params[:scheme] <> "://" From d167795623e29cd840d08b576cf0afbb2b721a2c Mon Sep 17 00:00:00 2001 From: saneery Date: Wed, 28 Aug 2019 15:19:48 +0300 Subject: [PATCH 27/48] fix test --- .../lib/block_scout_web/views/api_docs_view.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/block_scout_web/lib/block_scout_web/views/api_docs_view.ex b/apps/block_scout_web/lib/block_scout_web/views/api_docs_view.ex index a9b816abb9..eabd883df9 100644 --- a/apps/block_scout_web/lib/block_scout_web/views/api_docs_view.ex +++ b/apps/block_scout_web/lib/block_scout_web/views/api_docs_view.ex @@ -40,8 +40,8 @@ defmodule BlockScoutWeb.APIDocsView do path = url_params[:path] scheme = - if Keyword.get(opts, :with_scheme, false) do - url_params[:scheme] <> "://" + if Keyword.get(opts, :with_scheme, false) && url_params[:scheme] do + "#{url_params[:scheme]}://" end if host != "localhost" do From 18f545b1b87b5302e76a5cbfecb836cc9db89c10 Mon Sep 17 00:00:00 2001 From: Ayrat Badykov Date: Wed, 28 Aug 2019 15:44:57 +0300 Subject: [PATCH 28/48] fix env var description --- docs/env-variables.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/env-variables.md b/docs/env-variables.md index 2dc8763b8d..dd01cbe26f 100644 --- a/docs/env-variables.md +++ b/docs/env-variables.md @@ -28,7 +28,7 @@ $ export NETWORK=POA | `SECRET_KEY_BASE` | :white_check_mark: | Use mix phx.gen.secret to generate a new Secret Key Base string to protect production assets. | (empty) | all | | | | `CHECK_ORIGIN` | | Used to check the origin of requests when the origin header is present. It defaults to false. In case of true, it will check against the host value. | false | all | | | | `PORT` | :white_check_mark: | Default port the application runs on is 4000 | 4000 | all | | | -| `COIN` | :white_check_mark: | The coin here is checked via the Coinmarketcap API to obtain USD prices on graphs and other areas of the UI | POA | all | | | +| `COIN` | :white_check_mark: | The coin here is checked via the CoinGecko API to obtain USD prices on graphs and other areas of the UI | POA | all | | | | `METADATA_CONTRACT` | | This environment variable is specifically used by POA Network to obtain Validators information to display in the UI. | (empty) | all | | | | `VALIDATORS_CONTRACT` | | This environment variable is specifically used by POA Network to obtain the Emission Fund contract. | (empty) | all | | | | `SUPPLY_MODULE` | | This environment variable is used by the xDai Chain in order to tell the application how to calculate the total supply of the chain. | false | all | | | From d40aaef0c6c889986cf81c77c76ed66601b8de01 Mon Sep 17 00:00:00 2001 From: saneery Date: Thu, 29 Aug 2019 10:28:39 +0300 Subject: [PATCH 29/48] Add scheme in api urls --- .../templates/api_docs/eth_rpc.html.eex | 2 +- .../templates/api_docs/index.html.eex | 2 +- .../block_scout_web/views/api_docs_view.ex | 20 ++++----- .../views/api_docs_view_test.exs | 42 +++---------------- 4 files changed, 16 insertions(+), 50 deletions(-) diff --git a/apps/block_scout_web/lib/block_scout_web/templates/api_docs/eth_rpc.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/api_docs/eth_rpc.html.eex index ad27e68185..7b8a9a98de 100644 --- a/apps/block_scout_web/lib/block_scout_web/templates/api_docs/eth_rpc.html.eex +++ b/apps/block_scout_web/lib/block_scout_web/templates/api_docs/eth_rpc.html.eex @@ -2,7 +2,7 @@

<%= gettext("ETH RPC API Documentation") %>

-

[ <%= gettext "Base URL:" %> <%= eth_rpc_api_url(with_scheme: true)%> ]

+

[ <%= gettext "Base URL:" %> <%= eth_rpc_api_url()%> ]

<%= gettext "This API is provided to support some rpc methods in the exact format specified for ethereum nodes, which can be found " %> diff --git a/apps/block_scout_web/lib/block_scout_web/templates/api_docs/index.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/api_docs/index.html.eex index 10ff5a6c27..59dae38cdb 100644 --- a/apps/block_scout_web/lib/block_scout_web/templates/api_docs/index.html.eex +++ b/apps/block_scout_web/lib/block_scout_web/templates/api_docs/index.html.eex @@ -2,7 +2,7 @@

<%= gettext("API Documentation") %>

-

[ <%= gettext "Base URL:" %> <%= api_url(with_scheme: true)%> ]

+

[ <%= gettext "Base URL:" %> <%= api_url()%> ]

<%= gettext "This API is provided for developers transitioning their applications from Etherscan to BlockScout. It supports GET and POST requests." %>

diff --git a/apps/block_scout_web/lib/block_scout_web/views/api_docs_view.ex b/apps/block_scout_web/lib/block_scout_web/views/api_docs_view.ex index eabd883df9..e067c997d2 100644 --- a/apps/block_scout_web/lib/block_scout_web/views/api_docs_view.ex +++ b/apps/block_scout_web/lib/block_scout_web/views/api_docs_view.ex @@ -34,31 +34,27 @@ defmodule BlockScoutWeb.APIDocsView do end) end - defp blockscout_url(opts) do + defp blockscout_url do url_params = Application.get_env(:block_scout_web, BlockScoutWeb.Endpoint)[:url] host = url_params[:host] path = url_params[:path] - - scheme = - if Keyword.get(opts, :with_scheme, false) && url_params[:scheme] do - "#{url_params[:scheme]}://" - end + scheme = Keyword.get(url_params, :scheme, "http") if host != "localhost" do - "#{scheme}#{host}#{path}" + "#{scheme}://#{host}#{path}" else port = Application.get_env(:block_scout_web, BlockScoutWeb.Endpoint)[:http][:port] - "#{scheme}#{host}:#{to_string(port)}" + "#{scheme}://#{host}:#{to_string(port)}" end end - def api_url(opts \\ []) do - base_url = blockscout_url(opts) + def api_url do + base_url = blockscout_url() Path.join(base_url, "api") end - def eth_rpc_api_url(opts \\ []) do - base_url = blockscout_url(opts) + def eth_rpc_api_url do + base_url = blockscout_url() Path.join(base_url, "api/eth_rpc") end end diff --git a/apps/block_scout_web/test/block_scout_web/views/api_docs_view_test.exs b/apps/block_scout_web/test/block_scout_web/views/api_docs_view_test.exs index bd2bb6cd05..31922b4486 100644 --- a/apps/block_scout_web/test/block_scout_web/views/api_docs_view_test.exs +++ b/apps/block_scout_web/test/block_scout_web/views/api_docs_view_test.exs @@ -17,7 +17,7 @@ defmodule BlockScoutWeb.ApiDocsViewTest do url: [scheme: "https", host: "blockscout.com", port: 9999, path: "/chain/dog"] ) - assert APIDocsView.api_url() == "blockscout.com/chain/dog/api" + assert APIDocsView.api_url() == "https://blockscout.com/chain/dog/api" end test "does not add slash to empty path" do @@ -25,21 +25,7 @@ defmodule BlockScoutWeb.ApiDocsViewTest do url: [scheme: "https", host: "blockscout.com", port: 9999, path: ""] ) - assert APIDocsView.api_url() == "blockscout.com/api" - end - - test "path with schems" do - Application.put_env(:block_scout_web, BlockScoutWeb.Endpoint, - url: [scheme: "https", host: "blockscout.com", port: 9999] - ) - - assert APIDocsView.api_url(with_scheme: true) == "https://blockscout.com/api" - - Application.put_env(:block_scout_web, BlockScoutWeb.Endpoint, - url: [scheme: "http", host: "blockscout.com", port: 9999] - ) - - assert APIDocsView.api_url(with_scheme: true) == "http://blockscout.com/api" + assert APIDocsView.api_url() == "https://blockscout.com/api" end test "localhost return with port" do @@ -48,8 +34,7 @@ defmodule BlockScoutWeb.ApiDocsViewTest do http: [port: 9999] ) - assert APIDocsView.api_url() == "localhost:9999/api" - assert APIDocsView.api_url(with_scheme: true) == "http://localhost:9999/api" + assert APIDocsView.api_url() == "http://localhost:9999/api" end end @@ -67,7 +52,7 @@ defmodule BlockScoutWeb.ApiDocsViewTest do url: [scheme: "https", host: "blockscout.com", port: 9999, path: "/chain/dog"] ) - assert APIDocsView.eth_rpc_api_url() == "blockscout.com/chain/dog/api/eth_rpc" + assert APIDocsView.eth_rpc_api_url() == "https://blockscout.com/chain/dog/api/eth_rpc" end test "does not add slash to empty path" do @@ -75,21 +60,7 @@ defmodule BlockScoutWeb.ApiDocsViewTest do url: [scheme: "https", host: "blockscout.com", port: 9999, path: ""] ) - assert APIDocsView.eth_rpc_api_url() == "blockscout.com/api/eth_rpc" - end - - test "path with schems" do - Application.put_env(:block_scout_web, BlockScoutWeb.Endpoint, - url: [scheme: "https", host: "blockscout.com", port: 9999] - ) - - assert APIDocsView.eth_rpc_api_url(with_scheme: true) == "https://blockscout.com/api/eth_rpc" - - Application.put_env(:block_scout_web, BlockScoutWeb.Endpoint, - url: [scheme: "http", host: "blockscout.com", port: 9999] - ) - - assert APIDocsView.eth_rpc_api_url(with_scheme: true) == "http://blockscout.com/api/eth_rpc" + assert APIDocsView.eth_rpc_api_url() == "https://blockscout.com/api/eth_rpc" end test "localhost return with port" do @@ -98,8 +69,7 @@ defmodule BlockScoutWeb.ApiDocsViewTest do http: [port: 9999] ) - assert APIDocsView.eth_rpc_api_url() == "localhost:9999/api/eth_rpc" - assert APIDocsView.eth_rpc_api_url(with_scheme: true) == "http://localhost:9999/api/eth_rpc" + assert APIDocsView.eth_rpc_api_url() == "http://localhost:9999/api/eth_rpc" end end end From 37da2eaa6e5500b493e892e2c4da8358ba52d6a6 Mon Sep 17 00:00:00 2001 From: saneery Date: Thu, 29 Aug 2019 10:30:05 +0300 Subject: [PATCH 30/48] Move api's url to the end of example --- apps/block_scout_web/assets/js/lib/try_eth_api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/block_scout_web/assets/js/lib/try_eth_api.js b/apps/block_scout_web/assets/js/lib/try_eth_api.js index 8f81f852ec..c59d71dbcc 100644 --- a/apps/block_scout_web/assets/js/lib/try_eth_api.js +++ b/apps/block_scout_web/assets/js/lib/try_eth_api.js @@ -2,7 +2,7 @@ import $ from 'jquery' function composeCurlCommand (data) { const url = $('[data-endpoint-url]').attr('data-endpoint-url') - return `curl ${url} -H "content-type: application/json" -X POST --data '${JSON.stringify(data)}'` + return `curl -H "content-type: application/json" -X POST --data '${JSON.stringify(data)}' ${url}` } function handleResponse (data, xhr, clickedButton) { From a86b95cbe6c72eb33b496343eca196c66abd2c0a Mon Sep 17 00:00:00 2001 From: saneery Date: Thu, 29 Aug 2019 10:35:37 +0300 Subject: [PATCH 31/48] Use pipeline --- .../lib/block_scout_web/views/api_docs_view.ex | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/block_scout_web/lib/block_scout_web/views/api_docs_view.ex b/apps/block_scout_web/lib/block_scout_web/views/api_docs_view.ex index e067c997d2..363a4a0179 100644 --- a/apps/block_scout_web/lib/block_scout_web/views/api_docs_view.ex +++ b/apps/block_scout_web/lib/block_scout_web/views/api_docs_view.ex @@ -49,12 +49,12 @@ defmodule BlockScoutWeb.APIDocsView do end def api_url do - base_url = blockscout_url() - Path.join(base_url, "api") + blockscout_url() + |> Path.join("api") end def eth_rpc_api_url do - base_url = blockscout_url() - Path.join(base_url, "api/eth_rpc") + blockscout_url() + |> Path.join("api/eth_rpc") end end From 3b3018f663e4efc95e9836e16b1eb2be8f9478d0 Mon Sep 17 00:00:00 2001 From: Ethan van Ballegooyen Date: Thu, 29 Aug 2019 12:55:23 +0200 Subject: [PATCH 32/48] Added Xerom to list of Additional Chains using BlockScout. --- README.md | 48 ++++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/README.md b/README.md index 3c95a5d125..13c50fd838 100644 --- a/README.md +++ b/README.md @@ -16,9 +16,9 @@ BlockScout provides a comprehensive, easy-to-use interface for users to view, co See our [project documentation](https://poanetwork.github.io/blockscout) for detailed information and setup instructions. -Visit the [POA BlockScout forum](https://forum.poa.network/c/blockscout) for FAQs, troubleshooting, and other BlockScout related items. You can also post and answer questions here. +Visit the [POA BlockScout forum](https://forum.poa.network/c/blockscout) for FAQs, troubleshooting, and other BlockScout related items. You can also post and answer questions here. -You can also access the dev chatroom on our [Gitter Channel](https://gitter.im/poanetwork/blockscout). +You can also access the dev chatroom on our [Gitter Channel](https://gitter.im/poanetwork/blockscout). ## About BlockScout @@ -28,33 +28,33 @@ Currently available full-featured block explorers (Etherscan, Etherchain, Blockc ## Supported Projects -| **Hosted Mainnets** | **Hosted Testnets** | **Additional Chains using BlockScout** | -|--------------------------------------------------------|-------------------------------------------------------|----------------------------------------------------| -| [Aerum](https://blockscout.com/aerum/mainnet) | [Goerli Testnet](https://blockscout.com/eth/goerli) | [ARTIS](https://explorer.sigma1.artis.network) | -| [Callisto](https://blockscout.com/callisto/mainnet) | [Kovan Testnet](https://blockscout.com/eth/kovan) | [Ether-1](https://blocks.ether1.wattpool.net/) | -| [Ethereum Classic](https://blockscout.com/etc/mainnet) | [POA Sokol Testnet](https://blockscout.com/poa/sokol) | [Fuse Network](https://explorer.fuse.io/) | -| [Ethereum Mainnet](https://blockscout.com/eth/mainnet) | [Rinkeby Testnet](https://blockscout.com/eth/rinkeby) | [Oasis Labs](https://blockexplorer.oasiscloud.io/) | -| [POA Core Network](https://blockscout.com/poa/core) | [Ropsten Testnet](https://blockscout.com/eth/ropsten) | [Petrichor](https://explorer.petrachor.com/) | -| [RSK](https://blockscout.com/rsk/mainnet) | | [PIRL](http://pirl.es/) | -| [xDai Chain](https://blockscout.com/poa/dai) | | [SafeChain](https://explorer.safechain.io) | -| | | [SpringChain](https://explorer.springrole.com/) | -| | | [Kotti Testnet](https://kottiexplorer.ethernode.io/) | -| | | [Loom](http://plasma-blockexplorer.dappchains.com/) | -| | | [Tenda](https://tenda.network) | -| | | [GoJoy Chain](https://gojoychain.com/) | - - -Current BlockScout versions for hosted projects are available [on the forum](https://forum.poa.network/t/deployed-instances-on-blockscout-com/1938). +| **Hosted Mainnets** | **Hosted Testnets** | **Additional Chains using BlockScout** | +| ------------------------------------------------------ | ----------------------------------------------------- | ---------------------------------------------------- | +| [Aerum](https://blockscout.com/aerum/mainnet) | [Goerli Testnet](https://blockscout.com/eth/goerli) | [ARTIS](https://explorer.sigma1.artis.network) | +| [Callisto](https://blockscout.com/callisto/mainnet) | [Kovan Testnet](https://blockscout.com/eth/kovan) | [Ether-1](https://blocks.ether1.wattpool.net/) | +| [Ethereum Classic](https://blockscout.com/etc/mainnet) | [POA Sokol Testnet](https://blockscout.com/poa/sokol) | [Fuse Network](https://explorer.fuse.io/) | +| [Ethereum Mainnet](https://blockscout.com/eth/mainnet) | [Rinkeby Testnet](https://blockscout.com/eth/rinkeby) | [Oasis Labs](https://blockexplorer.oasiscloud.io/) | +| [POA Core Network](https://blockscout.com/poa/core) | [Ropsten Testnet](https://blockscout.com/eth/ropsten) | [Petrichor](https://explorer.petrachor.com/) | +| [RSK](https://blockscout.com/rsk/mainnet) | | [PIRL](http://pirl.es/) | +| [xDai Chain](https://blockscout.com/poa/dai) | | [SafeChain](https://explorer.safechain.io) | +| | | [SpringChain](https://explorer.springrole.com/) | +| | | [Kotti Testnet](https://kottiexplorer.ethernode.io/) | +| | | [Loom](http://plasma-blockexplorer.dappchains.com/) | +| | | [Tenda](https://tenda.network) | +| | | [GoJoy Chain](https://gojoychain.com/) | +| | | [Xerom](https://blocks.xerom.org/) | + +Current BlockScout versions for hosted projects are available [on the forum](https://forum.poa.network/t/deployed-instances-on-blockscout-com/1938). ## Getting Started See the [project documentation](https://poanetwork.github.io/blockscout) for instructions: -- [Requirements](https://poanetwork.github.io/blockscout/#/requirements) -- [Ansible deployment](https://poanetwork.github.io/blockscout/#/ansible-deployment) -- [Manual deployment](https://poanetwork.github.io/blockscout/#/manual-deployment) -- [ENV variables](https://poanetwork.github.io/blockscout/#/env-variables) -- [Configuration options](https://poanetwork.github.io/blockscout/#/dev-env) +- [Requirements](https://poanetwork.github.io/blockscout/#/requirements) +- [Ansible deployment](https://poanetwork.github.io/blockscout/#/ansible-deployment) +- [Manual deployment](https://poanetwork.github.io/blockscout/#/manual-deployment) +- [ENV variables](https://poanetwork.github.io/blockscout/#/env-variables) +- [Configuration options](https://poanetwork.github.io/blockscout/#/dev-env) ## Acknowledgements From 7f0042b2b70e4359b556c78d13106a6bd7e0cef7 Mon Sep 17 00:00:00 2001 From: Ethan van Ballegooyen Date: Thu, 29 Aug 2019 13:02:27 +0200 Subject: [PATCH 33/48] Added PR --- CHANGELOG.md | 854 ++++++++++++++++++++++++++------------------------- 1 file changed, 428 insertions(+), 426 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e345f9216d..971696703b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,572 +1,574 @@ ## Current ### Features -- [#2555](https://github.com/poanetwork/blockscout/pull/2555) - find and show decoding candidates for logs -- [#2596](https://github.com/poanetwork/blockscout/pull/2596) - support AuRa's empty step reward type -- [#2561](https://github.com/poanetwork/blockscout/pull/2561) - Add token's type to the response of tokenlist method -- [#2499](https://github.com/poanetwork/blockscout/pull/2499) - import emission reward ranges -- [#2497](https://github.com/poanetwork/blockscout/pull/2497) - Add generic Ordered Cache behaviour and implementation + +- [#2555](https://github.com/poanetwork/blockscout/pull/2555) - find and show decoding candidates for logs +- [#2596](https://github.com/poanetwork/blockscout/pull/2596) - support AuRa's empty step reward type +- [#2561](https://github.com/poanetwork/blockscout/pull/2561) - Add token's type to the response of tokenlist method +- [#2499](https://github.com/poanetwork/blockscout/pull/2499) - import emission reward ranges +- [#2497](https://github.com/poanetwork/blockscout/pull/2497) - Add generic Ordered Cache behaviour and implementation ### Fixes -- [#2640](https://github.com/poanetwork/blockscout/pull/2640) - SVG network icons -- [#2635](https://github.com/poanetwork/blockscout/pull/2635) - optimize ERC721 inventory query -- [#2626](https://github.com/poanetwork/blockscout/pull/2626) - Fixing 2 Mobile UI Issues -- [#2623](https://github.com/poanetwork/blockscout/pull/2623) - fix a blinking test -- [#2616](https://github.com/poanetwork/blockscout/pull/2616) - deduplicate coin history records by delta -- [#2613](https://github.com/poanetwork/blockscout/pull/2613) - fix getminedblocks rpc endpoint -- [#2592](https://github.com/poanetwork/blockscout/pull/2592) - process new metadata format for whisper -- [#2572](https://github.com/poanetwork/blockscout/pull/2572) - Ease non-critical css -- [#2570](https://github.com/poanetwork/blockscout/pull/2570) - Network icons preload -- [#2569](https://github.com/poanetwork/blockscout/pull/2569) - do not fetch emission rewards for transactions csv exporter -- [#2568](https://github.com/poanetwork/blockscout/pull/2568) - filter pending token transfers -- [#2564](https://github.com/poanetwork/blockscout/pull/2564) - fix first page button for uncles and reorgs -- [#2563](https://github.com/poanetwork/blockscout/pull/2563) - Fix view less transfers button -- [#2538](https://github.com/poanetwork/blockscout/pull/2538) - fetch the last not empty coin balance records + +- [#2640](https://github.com/poanetwork/blockscout/pull/2640) - SVG network icons +- [#2635](https://github.com/poanetwork/blockscout/pull/2635) - optimize ERC721 inventory query +- [#2626](https://github.com/poanetwork/blockscout/pull/2626) - Fixing 2 Mobile UI Issues +- [#2623](https://github.com/poanetwork/blockscout/pull/2623) - fix a blinking test +- [#2616](https://github.com/poanetwork/blockscout/pull/2616) - deduplicate coin history records by delta +- [#2613](https://github.com/poanetwork/blockscout/pull/2613) - fix getminedblocks rpc endpoint +- [#2592](https://github.com/poanetwork/blockscout/pull/2592) - process new metadata format for whisper +- [#2572](https://github.com/poanetwork/blockscout/pull/2572) - Ease non-critical css +- [#2570](https://github.com/poanetwork/blockscout/pull/2570) - Network icons preload +- [#2569](https://github.com/poanetwork/blockscout/pull/2569) - do not fetch emission rewards for transactions csv exporter +- [#2568](https://github.com/poanetwork/blockscout/pull/2568) - filter pending token transfers +- [#2564](https://github.com/poanetwork/blockscout/pull/2564) - fix first page button for uncles and reorgs +- [#2563](https://github.com/poanetwork/blockscout/pull/2563) - Fix view less transfers button +- [#2538](https://github.com/poanetwork/blockscout/pull/2538) - fetch the last not empty coin balance records ### Chore -- [#2634](https://github.com/poanetwork/blockscout/pull/2634) - add Lukso to networks dropdown -- [#2611](https://github.com/poanetwork/blockscout/pull/2611) - fix js dependency vulnerabilities -- [#2617](https://github.com/poanetwork/blockscout/pull/2617) - skip cache update if there are no blocks inserted -- [#2594](https://github.com/poanetwork/blockscout/pull/2594) - do not start genesis data fetching periodically -- [#2590](https://github.com/poanetwork/blockscout/pull/2590) - restore backward compatablity with old releases -- [#2577](https://github.com/poanetwork/blockscout/pull/2577) - Need recompile column in the env vars table -- [#2574](https://github.com/poanetwork/blockscout/pull/2574) - limit request body in json rpc error -- [#2566](https://github.com/poanetwork/blockscout/pull/2566) - upgrade absinthe phoenix +- [#2646](https://github.com/poanetwork/blockscout/pull/2646) - Added Xerom to list of Additional Chains using BlockScout +- [#2634](https://github.com/poanetwork/blockscout/pull/2634) - add Lukso to networks dropdown +- [#2611](https://github.com/poanetwork/blockscout/pull/2611) - fix js dependency vulnerabilities +- [#2617](https://github.com/poanetwork/blockscout/pull/2617) - skip cache update if there are no blocks inserted +- [#2594](https://github.com/poanetwork/blockscout/pull/2594) - do not start genesis data fetching periodically +- [#2590](https://github.com/poanetwork/blockscout/pull/2590) - restore backward compatablity with old releases +- [#2577](https://github.com/poanetwork/blockscout/pull/2577) - Need recompile column in the env vars table +- [#2574](https://github.com/poanetwork/blockscout/pull/2574) - limit request body in json rpc error +- [#2566](https://github.com/poanetwork/blockscout/pull/2566) - upgrade absinthe phoenix ## 2.0.3-beta ### Features -- [#2433](https://github.com/poanetwork/blockscout/pull/2433) - Add a functionality to try Eth RPC methods in the documentation -- [#2529](https://github.com/poanetwork/blockscout/pull/2529) - show both eth value and token transfers on transaction overview page -- [#2376](https://github.com/poanetwork/blockscout/pull/2376) - Split API and WebApp routes -- [#2477](https://github.com/poanetwork/blockscout/pull/2477) - aggregate token transfers on transaction page -- [#2458](https://github.com/poanetwork/blockscout/pull/2458) - Add LAST_BLOCK var to add ability indexing in the range of blocks -- [#2456](https://github.com/poanetwork/blockscout/pull/2456) - fetch pending transactions for geth -- [#2403](https://github.com/poanetwork/blockscout/pull/2403) - Return gasPrice field at the result of gettxinfo method + +- [#2433](https://github.com/poanetwork/blockscout/pull/2433) - Add a functionality to try Eth RPC methods in the documentation +- [#2529](https://github.com/poanetwork/blockscout/pull/2529) - show both eth value and token transfers on transaction overview page +- [#2376](https://github.com/poanetwork/blockscout/pull/2376) - Split API and WebApp routes +- [#2477](https://github.com/poanetwork/blockscout/pull/2477) - aggregate token transfers on transaction page +- [#2458](https://github.com/poanetwork/blockscout/pull/2458) - Add LAST_BLOCK var to add ability indexing in the range of blocks +- [#2456](https://github.com/poanetwork/blockscout/pull/2456) - fetch pending transactions for geth +- [#2403](https://github.com/poanetwork/blockscout/pull/2403) - Return gasPrice field at the result of gettxinfo method ### Fixes -- [#2562](https://github.com/poanetwork/blockscout/pull/2562) - Fix dark theme flickering -- [#2560](https://github.com/poanetwork/blockscout/pull/2560) - fix slash before not empty path in docs -- [#2559](https://github.com/poanetwork/blockscout/pull/2559) - fix rsk total supply for empty exchange rate -- [#2553](https://github.com/poanetwork/blockscout/pull/2553) - Dark theme import to the end of sass -- [#2550](https://github.com/poanetwork/blockscout/pull/2550) - correctly encode decimal values for frontend -- [#2549](https://github.com/poanetwork/blockscout/pull/2549) - Fix wrong colour of tooltip -- [#2548](https://github.com/poanetwork/blockscout/pull/2548) - CSS preload support in Firefox -- [#2547](https://github.com/poanetwork/blockscout/pull/2547) - do not show eth value if it's zero on the transaction overview page -- [#2543](https://github.com/poanetwork/blockscout/pull/2543) - do not hide search input during logs search -- [#2524](https://github.com/poanetwork/blockscout/pull/2524) - fix dark theme validator data styles -- [#2532](https://github.com/poanetwork/blockscout/pull/2532) - don't show empty token transfers on the transaction overview page -- [#2528](https://github.com/poanetwork/blockscout/pull/2528) - fix coin history chart data -- [#2520](https://github.com/poanetwork/blockscout/pull/2520) - Hide loading message when fetching is failed -- [#2523](https://github.com/poanetwork/blockscout/pull/2523) - Avoid importing internal_transactions of pending transactions -- [#2519](https://github.com/poanetwork/blockscout/pull/2519) - enable `First` page button in pagination -- [#2518](https://github.com/poanetwork/blockscout/pull/2518) - create suggested indexes -- [#2517](https://github.com/poanetwork/blockscout/pull/2517) - remove duplicate indexes -- [#2515](https://github.com/poanetwork/blockscout/pull/2515) - do not aggregate NFT token transfers -- [#2514](https://github.com/poanetwork/blockscout/pull/2514) - Isolating of staking dapp css && extracting of non-critical css -- [#2512](https://github.com/poanetwork/blockscout/pull/2512) - alert link fix -- [#2509](https://github.com/poanetwork/blockscout/pull/2509) - value-ticker gaps fix -- [#2508](https://github.com/poanetwork/blockscout/pull/2508) - logs view columns fix -- [#2506](https://github.com/poanetwork/blockscout/pull/2506) - fix two active tab in the top menu -- [#2503](https://github.com/poanetwork/blockscout/pull/2503) - Mitigate autocompletion library influence to page loading performance -- [#2502](https://github.com/poanetwork/blockscout/pull/2502) - increase reward task timeout -- [#2463](https://github.com/poanetwork/blockscout/pull/2463) - dark theme fixes -- [#2496](https://github.com/poanetwork/blockscout/pull/2496) - fix docker build -- [#2495](https://github.com/poanetwork/blockscout/pull/2495) - fix logs for indexed chain -- [#2459](https://github.com/poanetwork/blockscout/pull/2459) - fix top addresses query -- [#2425](https://github.com/poanetwork/blockscout/pull/2425) - Force to show address view for checksummed address even if it is not in DB -- [#2551](https://github.com/poanetwork/blockscout/pull/2551) - Correctly handle dynamically created Bootstrap tooltips + +- [#2562](https://github.com/poanetwork/blockscout/pull/2562) - Fix dark theme flickering +- [#2560](https://github.com/poanetwork/blockscout/pull/2560) - fix slash before not empty path in docs +- [#2559](https://github.com/poanetwork/blockscout/pull/2559) - fix rsk total supply for empty exchange rate +- [#2553](https://github.com/poanetwork/blockscout/pull/2553) - Dark theme import to the end of sass +- [#2550](https://github.com/poanetwork/blockscout/pull/2550) - correctly encode decimal values for frontend +- [#2549](https://github.com/poanetwork/blockscout/pull/2549) - Fix wrong colour of tooltip +- [#2548](https://github.com/poanetwork/blockscout/pull/2548) - CSS preload support in Firefox +- [#2547](https://github.com/poanetwork/blockscout/pull/2547) - do not show eth value if it's zero on the transaction overview page +- [#2543](https://github.com/poanetwork/blockscout/pull/2543) - do not hide search input during logs search +- [#2524](https://github.com/poanetwork/blockscout/pull/2524) - fix dark theme validator data styles +- [#2532](https://github.com/poanetwork/blockscout/pull/2532) - don't show empty token transfers on the transaction overview page +- [#2528](https://github.com/poanetwork/blockscout/pull/2528) - fix coin history chart data +- [#2520](https://github.com/poanetwork/blockscout/pull/2520) - Hide loading message when fetching is failed +- [#2523](https://github.com/poanetwork/blockscout/pull/2523) - Avoid importing internal_transactions of pending transactions +- [#2519](https://github.com/poanetwork/blockscout/pull/2519) - enable `First` page button in pagination +- [#2518](https://github.com/poanetwork/blockscout/pull/2518) - create suggested indexes +- [#2517](https://github.com/poanetwork/blockscout/pull/2517) - remove duplicate indexes +- [#2515](https://github.com/poanetwork/blockscout/pull/2515) - do not aggregate NFT token transfers +- [#2514](https://github.com/poanetwork/blockscout/pull/2514) - Isolating of staking dapp css && extracting of non-critical css +- [#2512](https://github.com/poanetwork/blockscout/pull/2512) - alert link fix +- [#2509](https://github.com/poanetwork/blockscout/pull/2509) - value-ticker gaps fix +- [#2508](https://github.com/poanetwork/blockscout/pull/2508) - logs view columns fix +- [#2506](https://github.com/poanetwork/blockscout/pull/2506) - fix two active tab in the top menu +- [#2503](https://github.com/poanetwork/blockscout/pull/2503) - Mitigate autocompletion library influence to page loading performance +- [#2502](https://github.com/poanetwork/blockscout/pull/2502) - increase reward task timeout +- [#2463](https://github.com/poanetwork/blockscout/pull/2463) - dark theme fixes +- [#2496](https://github.com/poanetwork/blockscout/pull/2496) - fix docker build +- [#2495](https://github.com/poanetwork/blockscout/pull/2495) - fix logs for indexed chain +- [#2459](https://github.com/poanetwork/blockscout/pull/2459) - fix top addresses query +- [#2425](https://github.com/poanetwork/blockscout/pull/2425) - Force to show address view for checksummed address even if it is not in DB +- [#2551](https://github.com/poanetwork/blockscout/pull/2551) - Correctly handle dynamically created Bootstrap tooltips ### Chore -- [#2554](https://github.com/poanetwork/blockscout/pull/2554) - remove extra slash for endpoint url in docs -- [#2552](https://github.com/poanetwork/blockscout/pull/2552) - remove brackets for token holders percentage -- [#2507](https://github.com/poanetwork/blockscout/pull/2507) - update minor version of ecto, ex_machina, phoenix_live_reload -- [#2516](https://github.com/poanetwork/blockscout/pull/2516) - update absinthe plug from fork -- [#2473](https://github.com/poanetwork/blockscout/pull/2473) - get rid of cldr warnings -- [#2402](https://github.com/poanetwork/blockscout/pull/2402) - bump otp version to 22.0 -- [#2492](https://github.com/poanetwork/blockscout/pull/2492) - hide decoded row if event is not decoded -- [#2490](https://github.com/poanetwork/blockscout/pull/2490) - enable credo duplicated code check -- [#2432](https://github.com/poanetwork/blockscout/pull/2432) - bump credo version -- [#2457](https://github.com/poanetwork/blockscout/pull/2457) - update mix.lock -- [#2435](https://github.com/poanetwork/blockscout/pull/2435) - Replace deprecated extract-text-webpack-plugin with mini-css-extract-plugin -- [#2450](https://github.com/poanetwork/blockscout/pull/2450) - Fix clearance of logs and node_modules folders in clearing script -- [#2434](https://github.com/poanetwork/blockscout/pull/2434) - get rid of timex warnings -- [#2402](https://github.com/poanetwork/blockscout/pull/2402) - bump otp version to 22.0 -- [#2373](https://github.com/poanetwork/blockscout/pull/2373) - Add script to validate internal_transactions constraint for large DBs +- [#2554](https://github.com/poanetwork/blockscout/pull/2554) - remove extra slash for endpoint url in docs +- [#2552](https://github.com/poanetwork/blockscout/pull/2552) - remove brackets for token holders percentage +- [#2507](https://github.com/poanetwork/blockscout/pull/2507) - update minor version of ecto, ex_machina, phoenix_live_reload +- [#2516](https://github.com/poanetwork/blockscout/pull/2516) - update absinthe plug from fork +- [#2473](https://github.com/poanetwork/blockscout/pull/2473) - get rid of cldr warnings +- [#2402](https://github.com/poanetwork/blockscout/pull/2402) - bump otp version to 22.0 +- [#2492](https://github.com/poanetwork/blockscout/pull/2492) - hide decoded row if event is not decoded +- [#2490](https://github.com/poanetwork/blockscout/pull/2490) - enable credo duplicated code check +- [#2432](https://github.com/poanetwork/blockscout/pull/2432) - bump credo version +- [#2457](https://github.com/poanetwork/blockscout/pull/2457) - update mix.lock +- [#2435](https://github.com/poanetwork/blockscout/pull/2435) - Replace deprecated extract-text-webpack-plugin with mini-css-extract-plugin +- [#2450](https://github.com/poanetwork/blockscout/pull/2450) - Fix clearance of logs and node_modules folders in clearing script +- [#2434](https://github.com/poanetwork/blockscout/pull/2434) - get rid of timex warnings +- [#2402](https://github.com/poanetwork/blockscout/pull/2402) - bump otp version to 22.0 +- [#2373](https://github.com/poanetwork/blockscout/pull/2373) - Add script to validate internal_transactions constraint for large DBs ## 2.0.2-beta ### Features -- [#2412](https://github.com/poanetwork/blockscout/pull/2412) - dark theme -- [#2399](https://github.com/poanetwork/blockscout/pull/2399) - decode verified smart contract's logs -- [#2391](https://github.com/poanetwork/blockscout/pull/2391) - Controllers Improvements -- [#2379](https://github.com/poanetwork/blockscout/pull/2379) - Disable network selector when is empty -- [#2374](https://github.com/poanetwork/blockscout/pull/2374) - decode constructor arguments for verified smart contracts -- [#2366](https://github.com/poanetwork/blockscout/pull/2366) - paginate eth logs -- [#2360](https://github.com/poanetwork/blockscout/pull/2360) - add default evm version to smart contract verification -- [#2352](https://github.com/poanetwork/blockscout/pull/2352) - Fetch rewards in parallel with transactions -- [#2294](https://github.com/poanetwork/blockscout/pull/2294) - add healthy block period checking endpoint -- [#2324](https://github.com/poanetwork/blockscout/pull/2324) - set timeout for loading message on the main page + +- [#2412](https://github.com/poanetwork/blockscout/pull/2412) - dark theme +- [#2399](https://github.com/poanetwork/blockscout/pull/2399) - decode verified smart contract's logs +- [#2391](https://github.com/poanetwork/blockscout/pull/2391) - Controllers Improvements +- [#2379](https://github.com/poanetwork/blockscout/pull/2379) - Disable network selector when is empty +- [#2374](https://github.com/poanetwork/blockscout/pull/2374) - decode constructor arguments for verified smart contracts +- [#2366](https://github.com/poanetwork/blockscout/pull/2366) - paginate eth logs +- [#2360](https://github.com/poanetwork/blockscout/pull/2360) - add default evm version to smart contract verification +- [#2352](https://github.com/poanetwork/blockscout/pull/2352) - Fetch rewards in parallel with transactions +- [#2294](https://github.com/poanetwork/blockscout/pull/2294) - add healthy block period checking endpoint +- [#2324](https://github.com/poanetwork/blockscout/pull/2324) - set timeout for loading message on the main page ### Fixes -- [#2421](https://github.com/poanetwork/blockscout/pull/2421) - Fix hiding of loader for txs on the main page -- [#2420](https://github.com/poanetwork/blockscout/pull/2420) - fetch data from cache in healthy endpoint -- [#2416](https://github.com/poanetwork/blockscout/pull/2416) - Fix "page not found" handling in the router -- [#2413](https://github.com/poanetwork/blockscout/pull/2413) - remove outer tables for decoded data -- [#2410](https://github.com/poanetwork/blockscout/pull/2410) - preload smart contract for logs decoding -- [#2405](https://github.com/poanetwork/blockscout/pull/2405) - added templates for table loader and tile loader -- [#2398](https://github.com/poanetwork/blockscout/pull/2398) - show only one decoded candidate -- [#2389](https://github.com/poanetwork/blockscout/pull/2389) - Reduce Lodash lib size (86% of lib methods are not used) -- [#2388](https://github.com/poanetwork/blockscout/pull/2388) - add create2 support to geth's js tracer -- [#2387](https://github.com/poanetwork/blockscout/pull/2387) - fix not existing keys in transaction json rpc -- [#2378](https://github.com/poanetwork/blockscout/pull/2378) - Page performance: exclude moment.js localization files except EN, remove unused css -- [#2368](https://github.com/poanetwork/blockscout/pull/2368) - add two columns of smart contract info -- [#2375](https://github.com/poanetwork/blockscout/pull/2375) - Update created_contract_code_indexed_at on transaction import conflict -- [#2346](https://github.com/poanetwork/blockscout/pull/2346) - Avoid fetching internal transactions of blocks that still need refetching -- [#2350](https://github.com/poanetwork/blockscout/pull/2350) - fix invalid User agent headers -- [#2345](https://github.com/poanetwork/blockscout/pull/2345) - do not override existing market records -- [#2337](https://github.com/poanetwork/blockscout/pull/2337) - set url params for prod explicitly -- [#2341](https://github.com/poanetwork/blockscout/pull/2341) - fix transaction input json encoding -- [#2311](https://github.com/poanetwork/blockscout/pull/2311) - fix market history overriding with zeroes -- [#2310](https://github.com/poanetwork/blockscout/pull/2310) - parse url for api docs -- [#2299](https://github.com/poanetwork/blockscout/pull/2299) - fix interpolation in error message -- [#2303](https://github.com/poanetwork/blockscout/pull/2303) - fix transaction csv download link -- [#2304](https://github.com/poanetwork/blockscout/pull/2304) - footer grid fix for md resolution -- [#2291](https://github.com/poanetwork/blockscout/pull/2291) - dashboard fix for md resolution, transactions load fix, block info row fix, addresses page issue, check mark issue -- [#2326](https://github.com/poanetwork/blockscout/pull/2326) - fix nested constructor arguments + +- [#2421](https://github.com/poanetwork/blockscout/pull/2421) - Fix hiding of loader for txs on the main page +- [#2420](https://github.com/poanetwork/blockscout/pull/2420) - fetch data from cache in healthy endpoint +- [#2416](https://github.com/poanetwork/blockscout/pull/2416) - Fix "page not found" handling in the router +- [#2413](https://github.com/poanetwork/blockscout/pull/2413) - remove outer tables for decoded data +- [#2410](https://github.com/poanetwork/blockscout/pull/2410) - preload smart contract for logs decoding +- [#2405](https://github.com/poanetwork/blockscout/pull/2405) - added templates for table loader and tile loader +- [#2398](https://github.com/poanetwork/blockscout/pull/2398) - show only one decoded candidate +- [#2389](https://github.com/poanetwork/blockscout/pull/2389) - Reduce Lodash lib size (86% of lib methods are not used) +- [#2388](https://github.com/poanetwork/blockscout/pull/2388) - add create2 support to geth's js tracer +- [#2387](https://github.com/poanetwork/blockscout/pull/2387) - fix not existing keys in transaction json rpc +- [#2378](https://github.com/poanetwork/blockscout/pull/2378) - Page performance: exclude moment.js localization files except EN, remove unused css +- [#2368](https://github.com/poanetwork/blockscout/pull/2368) - add two columns of smart contract info +- [#2375](https://github.com/poanetwork/blockscout/pull/2375) - Update created_contract_code_indexed_at on transaction import conflict +- [#2346](https://github.com/poanetwork/blockscout/pull/2346) - Avoid fetching internal transactions of blocks that still need refetching +- [#2350](https://github.com/poanetwork/blockscout/pull/2350) - fix invalid User agent headers +- [#2345](https://github.com/poanetwork/blockscout/pull/2345) - do not override existing market records +- [#2337](https://github.com/poanetwork/blockscout/pull/2337) - set url params for prod explicitly +- [#2341](https://github.com/poanetwork/blockscout/pull/2341) - fix transaction input json encoding +- [#2311](https://github.com/poanetwork/blockscout/pull/2311) - fix market history overriding with zeroes +- [#2310](https://github.com/poanetwork/blockscout/pull/2310) - parse url for api docs +- [#2299](https://github.com/poanetwork/blockscout/pull/2299) - fix interpolation in error message +- [#2303](https://github.com/poanetwork/blockscout/pull/2303) - fix transaction csv download link +- [#2304](https://github.com/poanetwork/blockscout/pull/2304) - footer grid fix for md resolution +- [#2291](https://github.com/poanetwork/blockscout/pull/2291) - dashboard fix for md resolution, transactions load fix, block info row fix, addresses page issue, check mark issue +- [#2326](https://github.com/poanetwork/blockscout/pull/2326) - fix nested constructor arguments ### Chore -- [#2422](https://github.com/poanetwork/blockscout/pull/2422) - check if address_id is binary in token_transfers_csv endpoint -- [#2418](https://github.com/poanetwork/blockscout/pull/2418) - Remove parentheses in market cap percentage -- [#2401](https://github.com/poanetwork/blockscout/pull/2401) - add ENV vars to manage updating period of average block time and market history cache -- [#2363](https://github.com/poanetwork/blockscout/pull/2363) - add parameters example for eth rpc -- [#2342](https://github.com/poanetwork/blockscout/pull/2342) - Upgrade Postgres image version in Docker setup -- [#2325](https://github.com/poanetwork/blockscout/pull/2325) - Reduce function input to address' hash only where possible -- [#2323](https://github.com/poanetwork/blockscout/pull/2323) - Group Explorer caches -- [#2305](https://github.com/poanetwork/blockscout/pull/2305) - Improve Address controllers -- [#2302](https://github.com/poanetwork/blockscout/pull/2302) - fix names for xDai source -- [#2289](https://github.com/poanetwork/blockscout/pull/2289) - Optional websockets for dev environment -- [#2307](https://github.com/poanetwork/blockscout/pull/2307) - add GoJoy to README -- [#2293](https://github.com/poanetwork/blockscout/pull/2293) - remove request idle timeout configuration -- [#2255](https://github.com/poanetwork/blockscout/pull/2255) - bump elixir version to 1.9.0 +- [#2422](https://github.com/poanetwork/blockscout/pull/2422) - check if address_id is binary in token_transfers_csv endpoint +- [#2418](https://github.com/poanetwork/blockscout/pull/2418) - Remove parentheses in market cap percentage +- [#2401](https://github.com/poanetwork/blockscout/pull/2401) - add ENV vars to manage updating period of average block time and market history cache +- [#2363](https://github.com/poanetwork/blockscout/pull/2363) - add parameters example for eth rpc +- [#2342](https://github.com/poanetwork/blockscout/pull/2342) - Upgrade Postgres image version in Docker setup +- [#2325](https://github.com/poanetwork/blockscout/pull/2325) - Reduce function input to address' hash only where possible +- [#2323](https://github.com/poanetwork/blockscout/pull/2323) - Group Explorer caches +- [#2305](https://github.com/poanetwork/blockscout/pull/2305) - Improve Address controllers +- [#2302](https://github.com/poanetwork/blockscout/pull/2302) - fix names for xDai source +- [#2289](https://github.com/poanetwork/blockscout/pull/2289) - Optional websockets for dev environment +- [#2307](https://github.com/poanetwork/blockscout/pull/2307) - add GoJoy to README +- [#2293](https://github.com/poanetwork/blockscout/pull/2293) - remove request idle timeout configuration +- [#2255](https://github.com/poanetwork/blockscout/pull/2255) - bump elixir version to 1.9.0 ## 2.0.1-beta ### Features -- [#2283](https://github.com/poanetwork/blockscout/pull/2283) - Add transactions cache -- [#2182](https://github.com/poanetwork/blockscout/pull/2182) - add market history cache -- [#2109](https://github.com/poanetwork/blockscout/pull/2109) - use bigger updates instead of `Multi` transactions in BlocksTransactionsMismatch -- [#2075](https://github.com/poanetwork/blockscout/pull/2075) - add blocks cache -- [#2151](https://github.com/poanetwork/blockscout/pull/2151) - hide dropdown menu then other networks list is empty -- [#2191](https://github.com/poanetwork/blockscout/pull/2191) - allow to configure token metadata update interval -- [#2146](https://github.com/poanetwork/blockscout/pull/2146) - feat: add eth_getLogs rpc endpoint -- [#2216](https://github.com/poanetwork/blockscout/pull/2216) - Improve token's controllers by avoiding unnecessary preloads -- [#2235](https://github.com/poanetwork/blockscout/pull/2235) - save and show additional validation fields to smart contract -- [#2190](https://github.com/poanetwork/blockscout/pull/2190) - show all token transfers -- [#2193](https://github.com/poanetwork/blockscout/pull/2193) - feat: add BLOCKSCOUT_HOST, and use it in API docs -- [#2266](https://github.com/poanetwork/blockscout/pull/2266) - allow excluding uncles from average block time calculation + +- [#2283](https://github.com/poanetwork/blockscout/pull/2283) - Add transactions cache +- [#2182](https://github.com/poanetwork/blockscout/pull/2182) - add market history cache +- [#2109](https://github.com/poanetwork/blockscout/pull/2109) - use bigger updates instead of `Multi` transactions in BlocksTransactionsMismatch +- [#2075](https://github.com/poanetwork/blockscout/pull/2075) - add blocks cache +- [#2151](https://github.com/poanetwork/blockscout/pull/2151) - hide dropdown menu then other networks list is empty +- [#2191](https://github.com/poanetwork/blockscout/pull/2191) - allow to configure token metadata update interval +- [#2146](https://github.com/poanetwork/blockscout/pull/2146) - feat: add eth_getLogs rpc endpoint +- [#2216](https://github.com/poanetwork/blockscout/pull/2216) - Improve token's controllers by avoiding unnecessary preloads +- [#2235](https://github.com/poanetwork/blockscout/pull/2235) - save and show additional validation fields to smart contract +- [#2190](https://github.com/poanetwork/blockscout/pull/2190) - show all token transfers +- [#2193](https://github.com/poanetwork/blockscout/pull/2193) - feat: add BLOCKSCOUT_HOST, and use it in API docs +- [#2266](https://github.com/poanetwork/blockscout/pull/2266) - allow excluding uncles from average block time calculation ### Fixes -- [#2290](https://github.com/poanetwork/blockscout/pull/2290) - Add eth_get_balance.json to AddressView's render -- [#2286](https://github.com/poanetwork/blockscout/pull/2286) - banner stats issues on sm resolutions, transactions title issue -- [#2284](https://github.com/poanetwork/blockscout/pull/2284) - add 404 status for not existing pages -- [#2244](https://github.com/poanetwork/blockscout/pull/2244) - fix internal transactions failing to be indexed because of constraint -- [#2281](https://github.com/poanetwork/blockscout/pull/2281) - typo issues, dropdown issues -- [#2278](https://github.com/poanetwork/blockscout/pull/2278) - increase threshold for scientific notation -- [#2275](https://github.com/poanetwork/blockscout/pull/2275) - Description for networks selector -- [#2263](https://github.com/poanetwork/blockscout/pull/2263) - added an ability to close network selector on outside click -- [#2257](https://github.com/poanetwork/blockscout/pull/2257) - 'download csv' button added to different tabs -- [#2242](https://github.com/poanetwork/blockscout/pull/2242) - added styles for 'download csv' button -- [#2261](https://github.com/poanetwork/blockscout/pull/2261) - header logo aligned to the center properly -- [#2254](https://github.com/poanetwork/blockscout/pull/2254) - search length issue, tile link wrapping issue -- [#2238](https://github.com/poanetwork/blockscout/pull/2238) - header content alignment issue, hide navbar on outside click -- [#2229](https://github.com/poanetwork/blockscout/pull/2229) - gap issue between qr and copy button in token transfers, top cards width and height issue -- [#2201](https://github.com/poanetwork/blockscout/pull/2201) - footer columns fix -- [#2179](https://github.com/poanetwork/blockscout/pull/2179) - fix docker build error -- [#2165](https://github.com/poanetwork/blockscout/pull/2165) - sort blocks by timestamp when calculating average block time -- [#2175](https://github.com/poanetwork/blockscout/pull/2175) - fix coinmarketcap response errors -- [#2164](https://github.com/poanetwork/blockscout/pull/2164) - fix large numbers in balance view card -- [#2155](https://github.com/poanetwork/blockscout/pull/2155) - fix pending transaction query -- [#2183](https://github.com/poanetwork/blockscout/pull/2183) - tile content aligning for mobile resolution fix, dai logo fix -- [#2162](https://github.com/poanetwork/blockscout/pull/2162) - contract creation tile color changed -- [#2144](https://github.com/poanetwork/blockscout/pull/2144) - 'page not found' images path fixed for goerli -- [#2142](https://github.com/poanetwork/blockscout/pull/2142) - Removed posdao theme and logo, added 'page not found' image for goerli -- [#2138](https://github.com/poanetwork/blockscout/pull/2138) - badge colors issue, api titles issue -- [#2129](https://github.com/poanetwork/blockscout/pull/2129) - Fix for width of explorer elements -- [#2121](https://github.com/poanetwork/blockscout/pull/2121) - Binding of 404 page -- [#2120](https://github.com/poanetwork/blockscout/pull/2120) - footer links and socials focus color issue -- [#2113](https://github.com/poanetwork/blockscout/pull/2113) - renewed logos for rsk, dai, blockscout; themes color changes for lukso; error images for lukso -- [#2112](https://github.com/poanetwork/blockscout/pull/2112) - themes color improvements, dropdown color issue -- [#2110](https://github.com/poanetwork/blockscout/pull/2110) - themes colors issues, ui issues -- [#2103](https://github.com/poanetwork/blockscout/pull/2103) - ui issues for all themes -- [#2090](https://github.com/poanetwork/blockscout/pull/2090) - updated some ETC theme colors -- [#2096](https://github.com/poanetwork/blockscout/pull/2096) - RSK theme fixes -- [#2093](https://github.com/poanetwork/blockscout/pull/2093) - detect token transfer type for deprecated erc721 spec -- [#2111](https://github.com/poanetwork/blockscout/pull/2111) - improve address transaction controller -- [#2108](https://github.com/poanetwork/blockscout/pull/2108) - fix uncle fetching without full transactions -- [#2128](https://github.com/poanetwork/blockscout/pull/2128) - add new function clause for uncle errors -- [#2123](https://github.com/poanetwork/blockscout/pull/2123) - fix coins percentage view -- [#2119](https://github.com/poanetwork/blockscout/pull/2119) - fix map logging -- [#2130](https://github.com/poanetwork/blockscout/pull/2130) - fix navigation -- [#2148](https://github.com/poanetwork/blockscout/pull/2148) - filter pending logs -- [#2147](https://github.com/poanetwork/blockscout/pull/2147) - add rsk format of checksum -- [#2149](https://github.com/poanetwork/blockscout/pull/2149) - remove pending transaction count -- [#2177](https://github.com/poanetwork/blockscout/pull/2177) - remove duplicate entries from UncleBlock's Fetcher -- [#2169](https://github.com/poanetwork/blockscout/pull/2169) - add more validator reward types for xDai -- [#2173](https://github.com/poanetwork/blockscout/pull/2173) - handle correctly empty transactions -- [#2174](https://github.com/poanetwork/blockscout/pull/2174) - fix reward channel joining -- [#2186](https://github.com/poanetwork/blockscout/pull/2186) - fix net version test -- [#2196](https://github.com/poanetwork/blockscout/pull/2196) - Nethermind client fixes -- [#2237](https://github.com/poanetwork/blockscout/pull/2237) - fix rsk total_supply -- [#2198](https://github.com/poanetwork/blockscout/pull/2198) - reduce transaction status and error constraint -- [#2167](https://github.com/poanetwork/blockscout/pull/2167) - feat: document eth rpc api mimicking endpoints -- [#2225](https://github.com/poanetwork/blockscout/pull/2225) - fix metadata decoding in Solidity 0.5.9 smart contract verification -- [#2204](https://github.com/poanetwork/blockscout/pull/2204) - fix large contract verification -- [#2258](https://github.com/poanetwork/blockscout/pull/2258) - reduce BlocksTransactionsMismatch memory footprint -- [#2247](https://github.com/poanetwork/blockscout/pull/2247) - hide logs search if there are no logs -- [#2248](https://github.com/poanetwork/blockscout/pull/2248) - sort block after query execution for average block time -- [#2249](https://github.com/poanetwork/blockscout/pull/2249) - More transaction controllers improvements -- [#2267](https://github.com/poanetwork/blockscout/pull/2267) - Modify implementation of `where_transaction_has_multiple_internal_transactions` -- [#2270](https://github.com/poanetwork/blockscout/pull/2270) - Remove duplicate params in `Indexer.Fetcher.TokenBalance` -- [#2268](https://github.com/poanetwork/blockscout/pull/2268) - remove not existing assigns in html code -- [#2276](https://github.com/poanetwork/blockscout/pull/2276) - remove port in docs + +- [#2290](https://github.com/poanetwork/blockscout/pull/2290) - Add eth_get_balance.json to AddressView's render +- [#2286](https://github.com/poanetwork/blockscout/pull/2286) - banner stats issues on sm resolutions, transactions title issue +- [#2284](https://github.com/poanetwork/blockscout/pull/2284) - add 404 status for not existing pages +- [#2244](https://github.com/poanetwork/blockscout/pull/2244) - fix internal transactions failing to be indexed because of constraint +- [#2281](https://github.com/poanetwork/blockscout/pull/2281) - typo issues, dropdown issues +- [#2278](https://github.com/poanetwork/blockscout/pull/2278) - increase threshold for scientific notation +- [#2275](https://github.com/poanetwork/blockscout/pull/2275) - Description for networks selector +- [#2263](https://github.com/poanetwork/blockscout/pull/2263) - added an ability to close network selector on outside click +- [#2257](https://github.com/poanetwork/blockscout/pull/2257) - 'download csv' button added to different tabs +- [#2242](https://github.com/poanetwork/blockscout/pull/2242) - added styles for 'download csv' button +- [#2261](https://github.com/poanetwork/blockscout/pull/2261) - header logo aligned to the center properly +- [#2254](https://github.com/poanetwork/blockscout/pull/2254) - search length issue, tile link wrapping issue +- [#2238](https://github.com/poanetwork/blockscout/pull/2238) - header content alignment issue, hide navbar on outside click +- [#2229](https://github.com/poanetwork/blockscout/pull/2229) - gap issue between qr and copy button in token transfers, top cards width and height issue +- [#2201](https://github.com/poanetwork/blockscout/pull/2201) - footer columns fix +- [#2179](https://github.com/poanetwork/blockscout/pull/2179) - fix docker build error +- [#2165](https://github.com/poanetwork/blockscout/pull/2165) - sort blocks by timestamp when calculating average block time +- [#2175](https://github.com/poanetwork/blockscout/pull/2175) - fix coinmarketcap response errors +- [#2164](https://github.com/poanetwork/blockscout/pull/2164) - fix large numbers in balance view card +- [#2155](https://github.com/poanetwork/blockscout/pull/2155) - fix pending transaction query +- [#2183](https://github.com/poanetwork/blockscout/pull/2183) - tile content aligning for mobile resolution fix, dai logo fix +- [#2162](https://github.com/poanetwork/blockscout/pull/2162) - contract creation tile color changed +- [#2144](https://github.com/poanetwork/blockscout/pull/2144) - 'page not found' images path fixed for goerli +- [#2142](https://github.com/poanetwork/blockscout/pull/2142) - Removed posdao theme and logo, added 'page not found' image for goerli +- [#2138](https://github.com/poanetwork/blockscout/pull/2138) - badge colors issue, api titles issue +- [#2129](https://github.com/poanetwork/blockscout/pull/2129) - Fix for width of explorer elements +- [#2121](https://github.com/poanetwork/blockscout/pull/2121) - Binding of 404 page +- [#2120](https://github.com/poanetwork/blockscout/pull/2120) - footer links and socials focus color issue +- [#2113](https://github.com/poanetwork/blockscout/pull/2113) - renewed logos for rsk, dai, blockscout; themes color changes for lukso; error images for lukso +- [#2112](https://github.com/poanetwork/blockscout/pull/2112) - themes color improvements, dropdown color issue +- [#2110](https://github.com/poanetwork/blockscout/pull/2110) - themes colors issues, ui issues +- [#2103](https://github.com/poanetwork/blockscout/pull/2103) - ui issues for all themes +- [#2090](https://github.com/poanetwork/blockscout/pull/2090) - updated some ETC theme colors +- [#2096](https://github.com/poanetwork/blockscout/pull/2096) - RSK theme fixes +- [#2093](https://github.com/poanetwork/blockscout/pull/2093) - detect token transfer type for deprecated erc721 spec +- [#2111](https://github.com/poanetwork/blockscout/pull/2111) - improve address transaction controller +- [#2108](https://github.com/poanetwork/blockscout/pull/2108) - fix uncle fetching without full transactions +- [#2128](https://github.com/poanetwork/blockscout/pull/2128) - add new function clause for uncle errors +- [#2123](https://github.com/poanetwork/blockscout/pull/2123) - fix coins percentage view +- [#2119](https://github.com/poanetwork/blockscout/pull/2119) - fix map logging +- [#2130](https://github.com/poanetwork/blockscout/pull/2130) - fix navigation +- [#2148](https://github.com/poanetwork/blockscout/pull/2148) - filter pending logs +- [#2147](https://github.com/poanetwork/blockscout/pull/2147) - add rsk format of checksum +- [#2149](https://github.com/poanetwork/blockscout/pull/2149) - remove pending transaction count +- [#2177](https://github.com/poanetwork/blockscout/pull/2177) - remove duplicate entries from UncleBlock's Fetcher +- [#2169](https://github.com/poanetwork/blockscout/pull/2169) - add more validator reward types for xDai +- [#2173](https://github.com/poanetwork/blockscout/pull/2173) - handle correctly empty transactions +- [#2174](https://github.com/poanetwork/blockscout/pull/2174) - fix reward channel joining +- [#2186](https://github.com/poanetwork/blockscout/pull/2186) - fix net version test +- [#2196](https://github.com/poanetwork/blockscout/pull/2196) - Nethermind client fixes +- [#2237](https://github.com/poanetwork/blockscout/pull/2237) - fix rsk total_supply +- [#2198](https://github.com/poanetwork/blockscout/pull/2198) - reduce transaction status and error constraint +- [#2167](https://github.com/poanetwork/blockscout/pull/2167) - feat: document eth rpc api mimicking endpoints +- [#2225](https://github.com/poanetwork/blockscout/pull/2225) - fix metadata decoding in Solidity 0.5.9 smart contract verification +- [#2204](https://github.com/poanetwork/blockscout/pull/2204) - fix large contract verification +- [#2258](https://github.com/poanetwork/blockscout/pull/2258) - reduce BlocksTransactionsMismatch memory footprint +- [#2247](https://github.com/poanetwork/blockscout/pull/2247) - hide logs search if there are no logs +- [#2248](https://github.com/poanetwork/blockscout/pull/2248) - sort block after query execution for average block time +- [#2249](https://github.com/poanetwork/blockscout/pull/2249) - More transaction controllers improvements +- [#2267](https://github.com/poanetwork/blockscout/pull/2267) - Modify implementation of `where_transaction_has_multiple_internal_transactions` +- [#2270](https://github.com/poanetwork/blockscout/pull/2270) - Remove duplicate params in `Indexer.Fetcher.TokenBalance` +- [#2268](https://github.com/poanetwork/blockscout/pull/2268) - remove not existing assigns in html code +- [#2276](https://github.com/poanetwork/blockscout/pull/2276) - remove port in docs ### Chore -- [#2127](https://github.com/poanetwork/blockscout/pull/2127) - use previouse chromedriver version -- [#2118](https://github.com/poanetwork/blockscout/pull/2118) - show only the last decompiled contract -- [#2255](https://github.com/poanetwork/blockscout/pull/2255) - upgrade elixir version to 1.9.0 -- [#2256](https://github.com/poanetwork/blockscout/pull/2256) - use the latest version of chromedriver +- [#2127](https://github.com/poanetwork/blockscout/pull/2127) - use previouse chromedriver version +- [#2118](https://github.com/poanetwork/blockscout/pull/2118) - show only the last decompiled contract +- [#2255](https://github.com/poanetwork/blockscout/pull/2255) - upgrade elixir version to 1.9.0 +- [#2256](https://github.com/poanetwork/blockscout/pull/2256) - use the latest version of chromedriver ## 2.0.0-beta ### Features -- [#2044](https://github.com/poanetwork/blockscout/pull/2044) - New network selector. -- [#2091](https://github.com/poanetwork/blockscout/pull/2091) - Added "Question" modal. -- [#1963](https://github.com/poanetwork/blockscout/pull/1963), [#1959](https://github.com/poanetwork/blockscout/pull/1959), [#1948](https://github.com/poanetwork/blockscout/pull/1948), [#1936](https://github.com/poanetwork/blockscout/pull/1936), [#1925](https://github.com/poanetwork/blockscout/pull/1925), [#1922](https://github.com/poanetwork/blockscout/pull/1922), [#1903](https://github.com/poanetwork/blockscout/pull/1903), [#1874](https://github.com/poanetwork/blockscout/pull/1874), [#1895](https://github.com/poanetwork/blockscout/pull/1895), [#2031](https://github.com/poanetwork/blockscout/pull/2031), [#2073](https://github.com/poanetwork/blockscout/pull/2073), [#2074](https://github.com/poanetwork/blockscout/pull/2074), - added new themes and logos for poa, eth, rinkeby, goerli, ropsten, kovan, sokol, xdai, etc, rsk and default theme -- [#1726](https://github.com/poanetwork/blockscout/pull/2071) - Updated styles for the new smart contract page. -- [#2081](https://github.com/poanetwork/blockscout/pull/2081) - Tooltip for 'more' button, explorers logos added -- [#2010](https://github.com/poanetwork/blockscout/pull/2010) - added "block not found" and "tx not found pages" -- [#1928](https://github.com/poanetwork/blockscout/pull/1928) - pagination styles were updated -- [#1940](https://github.com/poanetwork/blockscout/pull/1940) - qr modal button and background issue -- [#1907](https://github.com/poanetwork/blockscout/pull/1907) - dropdown color bug fix (lukso theme) and tooltip color bug fix -- [#1859](https://github.com/poanetwork/blockscout/pull/1859) - feat: show raw transaction traces -- [#1941](https://github.com/poanetwork/blockscout/pull/1941) - feat: add on demand fetching and stale attr to rpc -- [#1957](https://github.com/poanetwork/blockscout/pull/1957) - Calculate stakes ratio before insert pools -- [#1956](https://github.com/poanetwork/blockscout/pull/1956) - add logs tab to address -- [#1952](https://github.com/poanetwork/blockscout/pull/1952) - feat: exclude empty contracts by default -- [#1954](https://github.com/poanetwork/blockscout/pull/1954) - feat: use creation init on self destruct -- [#2036](https://github.com/poanetwork/blockscout/pull/2036) - New tables for staking pools and delegators -- [#1974](https://github.com/poanetwork/blockscout/pull/1974) - feat: previous page button logic -- [#1999](https://github.com/poanetwork/blockscout/pull/1999) - load data async on addresses page -- [#1807](https://github.com/poanetwork/blockscout/pull/1807) - New theming capabilites. -- [#2040](https://github.com/poanetwork/blockscout/pull/2040) - Verification links to other explorers for ETH -- [#2037](https://github.com/poanetwork/blockscout/pull/2037) - add address logs search functionality -- [#2012](https://github.com/poanetwork/blockscout/pull/2012) - make all pages pagination async -- [#2064](https://github.com/poanetwork/blockscout/pull/2064) - feat: add fields to tx apis, small cleanups -- [#2100](https://github.com/poanetwork/blockscout/pull/2100) - feat: eth_get_balance rpc endpoint + +- [#2044](https://github.com/poanetwork/blockscout/pull/2044) - New network selector. +- [#2091](https://github.com/poanetwork/blockscout/pull/2091) - Added "Question" modal. +- [#1963](https://github.com/poanetwork/blockscout/pull/1963), [#1959](https://github.com/poanetwork/blockscout/pull/1959), [#1948](https://github.com/poanetwork/blockscout/pull/1948), [#1936](https://github.com/poanetwork/blockscout/pull/1936), [#1925](https://github.com/poanetwork/blockscout/pull/1925), [#1922](https://github.com/poanetwork/blockscout/pull/1922), [#1903](https://github.com/poanetwork/blockscout/pull/1903), [#1874](https://github.com/poanetwork/blockscout/pull/1874), [#1895](https://github.com/poanetwork/blockscout/pull/1895), [#2031](https://github.com/poanetwork/blockscout/pull/2031), [#2073](https://github.com/poanetwork/blockscout/pull/2073), [#2074](https://github.com/poanetwork/blockscout/pull/2074), - added new themes and logos for poa, eth, rinkeby, goerli, ropsten, kovan, sokol, xdai, etc, rsk and default theme +- [#1726](https://github.com/poanetwork/blockscout/pull/2071) - Updated styles for the new smart contract page. +- [#2081](https://github.com/poanetwork/blockscout/pull/2081) - Tooltip for 'more' button, explorers logos added +- [#2010](https://github.com/poanetwork/blockscout/pull/2010) - added "block not found" and "tx not found pages" +- [#1928](https://github.com/poanetwork/blockscout/pull/1928) - pagination styles were updated +- [#1940](https://github.com/poanetwork/blockscout/pull/1940) - qr modal button and background issue +- [#1907](https://github.com/poanetwork/blockscout/pull/1907) - dropdown color bug fix (lukso theme) and tooltip color bug fix +- [#1859](https://github.com/poanetwork/blockscout/pull/1859) - feat: show raw transaction traces +- [#1941](https://github.com/poanetwork/blockscout/pull/1941) - feat: add on demand fetching and stale attr to rpc +- [#1957](https://github.com/poanetwork/blockscout/pull/1957) - Calculate stakes ratio before insert pools +- [#1956](https://github.com/poanetwork/blockscout/pull/1956) - add logs tab to address +- [#1952](https://github.com/poanetwork/blockscout/pull/1952) - feat: exclude empty contracts by default +- [#1954](https://github.com/poanetwork/blockscout/pull/1954) - feat: use creation init on self destruct +- [#2036](https://github.com/poanetwork/blockscout/pull/2036) - New tables for staking pools and delegators +- [#1974](https://github.com/poanetwork/blockscout/pull/1974) - feat: previous page button logic +- [#1999](https://github.com/poanetwork/blockscout/pull/1999) - load data async on addresses page +- [#1807](https://github.com/poanetwork/blockscout/pull/1807) - New theming capabilites. +- [#2040](https://github.com/poanetwork/blockscout/pull/2040) - Verification links to other explorers for ETH +- [#2037](https://github.com/poanetwork/blockscout/pull/2037) - add address logs search functionality +- [#2012](https://github.com/poanetwork/blockscout/pull/2012) - make all pages pagination async +- [#2064](https://github.com/poanetwork/blockscout/pull/2064) - feat: add fields to tx apis, small cleanups +- [#2100](https://github.com/poanetwork/blockscout/pull/2100) - feat: eth_get_balance rpc endpoint ### Fixes -- [#2228](https://github.com/poanetwork/blockscout/pull/2228) - favorites duplication issues, active radio issue -- [#2207](https://github.com/poanetwork/blockscout/pull/2207) - new 'download csv' button design -- [#2206](https://github.com/poanetwork/blockscout/pull/2206) - added styles for 'Download All Transactions as CSV' button -- [#2099](https://github.com/poanetwork/blockscout/pull/2099) - logs search input width -- [#2098](https://github.com/poanetwork/blockscout/pull/2098) - nav dropdown issue, logo size issue -- [#2082](https://github.com/poanetwork/blockscout/pull/2082) - dropdown styles, tooltip gap fix, 404 page added -- [#2077](https://github.com/poanetwork/blockscout/pull/2077) - ui issues -- [#2072](https://github.com/poanetwork/blockscout/pull/2072) - Fixed checkmarks not showing correctly in tabs. -- [#2066](https://github.com/poanetwork/blockscout/pull/2066) - fixed length of logs search input -- [#2056](https://github.com/poanetwork/blockscout/pull/2056) - log search form styles added -- [#2043](https://github.com/poanetwork/blockscout/pull/2043) - Fixed modal dialog width for 'verify other explorers' -- [#2025](https://github.com/poanetwork/blockscout/pull/2025) - Added a new color to display transactions' errors. -- [#2033](https://github.com/poanetwork/blockscout/pull/2033) - Header nav. dropdown active element color issue -- [#2019](https://github.com/poanetwork/blockscout/pull/2019) - Fixed the missing tx hashes. -- [#2020](https://github.com/poanetwork/blockscout/pull/2020) - Fixed a bug triggered when a second click to a selected tab caused the other tabs to hide. -- [#1944](https://github.com/poanetwork/blockscout/pull/1944) - fixed styles for token's dropdown. -- [#1926](https://github.com/poanetwork/blockscout/pull/1926) - status label alignment -- [#1849](https://github.com/poanetwork/blockscout/pull/1849) - Improve chains menu -- [#1868](https://github.com/poanetwork/blockscout/pull/1868) - fix: logs list endpoint performance -- [#1822](https://github.com/poanetwork/blockscout/pull/1822) - Fix style breaks in decompiled contract code view -- [#1885](https://github.com/poanetwork/blockscout/pull/1885) - highlight reserved words in decompiled code -- [#1896](https://github.com/poanetwork/blockscout/pull/1896) - re-query tokens in top nav automplete -- [#1905](https://github.com/poanetwork/blockscout/pull/1905) - fix reorgs, uncles pagination -- [#1904](https://github.com/poanetwork/blockscout/pull/1904) - fix `BLOCK_COUNT_CACHE_TTL` env var type -- [#1915](https://github.com/poanetwork/blockscout/pull/1915) - fallback to 2 latest evm versions -- [#1937](https://github.com/poanetwork/blockscout/pull/1937) - Check the presence of overlap[i] object before retrieving properties from it -- [#1960](https://github.com/poanetwork/blockscout/pull/1960) - do not remove bold text in decompiled contacts -- [#1966](https://github.com/poanetwork/blockscout/pull/1966) - fix: add fields for contract filter performance -- [#2017](https://github.com/poanetwork/blockscout/pull/2017) - fix: fix to/from filters on tx list pages -- [#2008](https://github.com/poanetwork/blockscout/pull/2008) - add new function clause for xDai network beneficiaries -- [#2009](https://github.com/poanetwork/blockscout/pull/2009) - addresses page improvements -- [#2027](https://github.com/poanetwork/blockscout/pull/2027) - fix: `BlocksTransactionsMismatch` ignoring blocks without transactions -- [#2062](https://github.com/poanetwork/blockscout/pull/2062) - fix: uniq by hash, instead of transaction -- [#2052](https://github.com/poanetwork/blockscout/pull/2052) - allow bytes32 for name and symbol -- [#2047](https://github.com/poanetwork/blockscout/pull/2047) - fix: show creating internal transactions -- [#2014](https://github.com/poanetwork/blockscout/pull/2014) - fix: use better queries for listLogs endpoint -- [#2027](https://github.com/poanetwork/blockscout/pull/2027) - fix: `BlocksTransactionsMismatch` ignoring blocks without transactions -- [#2070](https://github.com/poanetwork/blockscout/pull/2070) - reduce `max_concurrency` of `BlocksTransactionsMismatch` fetcher -- [#2083](https://github.com/poanetwork/blockscout/pull/2083) - allow total_difficuly to be nil -- [#2086](https://github.com/poanetwork/blockscout/pull/2086) - fix geth's staticcall without output -### Chore +- [#2228](https://github.com/poanetwork/blockscout/pull/2228) - favorites duplication issues, active radio issue +- [#2207](https://github.com/poanetwork/blockscout/pull/2207) - new 'download csv' button design +- [#2206](https://github.com/poanetwork/blockscout/pull/2206) - added styles for 'Download All Transactions as CSV' button +- [#2099](https://github.com/poanetwork/blockscout/pull/2099) - logs search input width +- [#2098](https://github.com/poanetwork/blockscout/pull/2098) - nav dropdown issue, logo size issue +- [#2082](https://github.com/poanetwork/blockscout/pull/2082) - dropdown styles, tooltip gap fix, 404 page added +- [#2077](https://github.com/poanetwork/blockscout/pull/2077) - ui issues +- [#2072](https://github.com/poanetwork/blockscout/pull/2072) - Fixed checkmarks not showing correctly in tabs. +- [#2066](https://github.com/poanetwork/blockscout/pull/2066) - fixed length of logs search input +- [#2056](https://github.com/poanetwork/blockscout/pull/2056) - log search form styles added +- [#2043](https://github.com/poanetwork/blockscout/pull/2043) - Fixed modal dialog width for 'verify other explorers' +- [#2025](https://github.com/poanetwork/blockscout/pull/2025) - Added a new color to display transactions' errors. +- [#2033](https://github.com/poanetwork/blockscout/pull/2033) - Header nav. dropdown active element color issue +- [#2019](https://github.com/poanetwork/blockscout/pull/2019) - Fixed the missing tx hashes. +- [#2020](https://github.com/poanetwork/blockscout/pull/2020) - Fixed a bug triggered when a second click to a selected tab caused the other tabs to hide. +- [#1944](https://github.com/poanetwork/blockscout/pull/1944) - fixed styles for token's dropdown. +- [#1926](https://github.com/poanetwork/blockscout/pull/1926) - status label alignment +- [#1849](https://github.com/poanetwork/blockscout/pull/1849) - Improve chains menu +- [#1868](https://github.com/poanetwork/blockscout/pull/1868) - fix: logs list endpoint performance +- [#1822](https://github.com/poanetwork/blockscout/pull/1822) - Fix style breaks in decompiled contract code view +- [#1885](https://github.com/poanetwork/blockscout/pull/1885) - highlight reserved words in decompiled code +- [#1896](https://github.com/poanetwork/blockscout/pull/1896) - re-query tokens in top nav automplete +- [#1905](https://github.com/poanetwork/blockscout/pull/1905) - fix reorgs, uncles pagination +- [#1904](https://github.com/poanetwork/blockscout/pull/1904) - fix `BLOCK_COUNT_CACHE_TTL` env var type +- [#1915](https://github.com/poanetwork/blockscout/pull/1915) - fallback to 2 latest evm versions +- [#1937](https://github.com/poanetwork/blockscout/pull/1937) - Check the presence of overlap[i] object before retrieving properties from it +- [#1960](https://github.com/poanetwork/blockscout/pull/1960) - do not remove bold text in decompiled contacts +- [#1966](https://github.com/poanetwork/blockscout/pull/1966) - fix: add fields for contract filter performance +- [#2017](https://github.com/poanetwork/blockscout/pull/2017) - fix: fix to/from filters on tx list pages +- [#2008](https://github.com/poanetwork/blockscout/pull/2008) - add new function clause for xDai network beneficiaries +- [#2009](https://github.com/poanetwork/blockscout/pull/2009) - addresses page improvements +- [#2027](https://github.com/poanetwork/blockscout/pull/2027) - fix: `BlocksTransactionsMismatch` ignoring blocks without transactions +- [#2062](https://github.com/poanetwork/blockscout/pull/2062) - fix: uniq by hash, instead of transaction +- [#2052](https://github.com/poanetwork/blockscout/pull/2052) - allow bytes32 for name and symbol +- [#2047](https://github.com/poanetwork/blockscout/pull/2047) - fix: show creating internal transactions +- [#2014](https://github.com/poanetwork/blockscout/pull/2014) - fix: use better queries for listLogs endpoint +- [#2027](https://github.com/poanetwork/blockscout/pull/2027) - fix: `BlocksTransactionsMismatch` ignoring blocks without transactions +- [#2070](https://github.com/poanetwork/blockscout/pull/2070) - reduce `max_concurrency` of `BlocksTransactionsMismatch` fetcher +- [#2083](https://github.com/poanetwork/blockscout/pull/2083) - allow total_difficuly to be nil +- [#2086](https://github.com/poanetwork/blockscout/pull/2086) - fix geth's staticcall without output -- [#1900](https://github.com/poanetwork/blockscout/pull/1900) - SUPPORTED_CHAINS ENV var -- [#1958](https://github.com/poanetwork/blockscout/pull/1958) - Default value for release link env var -- [#1964](https://github.com/poanetwork/blockscout/pull/1964) - ALLOWED_EVM_VERSIONS env var -- [#1975](https://github.com/poanetwork/blockscout/pull/1975) - add log index to transaction view -- [#1988](https://github.com/poanetwork/blockscout/pull/1988) - Fix wrong parity tasks names in Circle CI -- [#2000](https://github.com/poanetwork/blockscout/pull/2000) - docker/Makefile: always set a container name -- [#2018](https://github.com/poanetwork/blockscout/pull/2018) - Use PORT env variable in dev config -- [#2055](https://github.com/poanetwork/blockscout/pull/2055) - Increase timeout for geth indexers -- [#2069](https://github.com/poanetwork/blockscout/pull/2069) - Docsify integration: static docs page generation +### Chore +- [#1900](https://github.com/poanetwork/blockscout/pull/1900) - SUPPORTED_CHAINS ENV var +- [#1958](https://github.com/poanetwork/blockscout/pull/1958) - Default value for release link env var +- [#1964](https://github.com/poanetwork/blockscout/pull/1964) - ALLOWED_EVM_VERSIONS env var +- [#1975](https://github.com/poanetwork/blockscout/pull/1975) - add log index to transaction view +- [#1988](https://github.com/poanetwork/blockscout/pull/1988) - Fix wrong parity tasks names in Circle CI +- [#2000](https://github.com/poanetwork/blockscout/pull/2000) - docker/Makefile: always set a container name +- [#2018](https://github.com/poanetwork/blockscout/pull/2018) - Use PORT env variable in dev config +- [#2055](https://github.com/poanetwork/blockscout/pull/2055) - Increase timeout for geth indexers +- [#2069](https://github.com/poanetwork/blockscout/pull/2069) - Docsify integration: static docs page generation ## 1.3.15-beta ### Features -- [#1857](https://github.com/poanetwork/blockscout/pull/1857) - Re-implement Geth JS internal transaction tracer in Elixir -- [#1989](https://github.com/poanetwork/blockscout/pull/1989) - fix: consolidate address w/ balance one at a time -- [#2002](https://github.com/poanetwork/blockscout/pull/2002) - Get estimated count of blocks when cache is empty +- [#1857](https://github.com/poanetwork/blockscout/pull/1857) - Re-implement Geth JS internal transaction tracer in Elixir +- [#1989](https://github.com/poanetwork/blockscout/pull/1989) - fix: consolidate address w/ balance one at a time +- [#2002](https://github.com/poanetwork/blockscout/pull/2002) - Get estimated count of blocks when cache is empty ### Fixes -- [#1869](https://github.com/poanetwork/blockscout/pull/1869) - Fix output and gas extraction in JS tracer for Geth -- [#1992](https://github.com/poanetwork/blockscout/pull/1992) - fix: support https for wobserver polling -- [#2027](https://github.com/poanetwork/blockscout/pull/2027) - fix: `BlocksTransactionsMismatch` ignoring blocks without transactions - +- [#1869](https://github.com/poanetwork/blockscout/pull/1869) - Fix output and gas extraction in JS tracer for Geth +- [#1992](https://github.com/poanetwork/blockscout/pull/1992) - fix: support https for wobserver polling +- [#2027](https://github.com/poanetwork/blockscout/pull/2027) - fix: `BlocksTransactionsMismatch` ignoring blocks without transactions ## 1.3.14-beta -- [#1812](https://github.com/poanetwork/blockscout/pull/1812) - add pagination to addresses page -- [#1920](https://github.com/poanetwork/blockscout/pull/1920) - fix: remove source code fields from list endpoint -- [#1876](https://github.com/poanetwork/blockscout/pull/1876) - async calculate a count of blocks +- [#1812](https://github.com/poanetwork/blockscout/pull/1812) - add pagination to addresses page +- [#1920](https://github.com/poanetwork/blockscout/pull/1920) - fix: remove source code fields from list endpoint +- [#1876](https://github.com/poanetwork/blockscout/pull/1876) - async calculate a count of blocks ### Fixes -- [#1917](https://github.com/poanetwork/blockscout/pull/1917) - Force block refetch if transaction is re-collated in a different block +- [#1917](https://github.com/poanetwork/blockscout/pull/1917) - Force block refetch if transaction is re-collated in a different block ### Chore -- [#1892](https://github.com/poanetwork/blockscout/pull/1892) - Remove temporary worker modules - +- [#1892](https://github.com/poanetwork/blockscout/pull/1892) - Remove temporary worker modules ## 1.3.13-beta ### Features -- [#1933](https://github.com/poanetwork/blockscout/pull/1933) - add eth_BlockNumber json rpc method +- [#1933](https://github.com/poanetwork/blockscout/pull/1933) - add eth_BlockNumber json rpc method ### Fixes -- [#1875](https://github.com/poanetwork/blockscout/pull/1875) - fix: resolve false positive constructor arguments -- [#1881](https://github.com/poanetwork/blockscout/pull/1881) - fix: store solc versions locally for performance -- [#1898](https://github.com/poanetwork/blockscout/pull/1898) - check if the constructor has arguments before verifying constructor arguments - +- [#1875](https://github.com/poanetwork/blockscout/pull/1875) - fix: resolve false positive constructor arguments +- [#1881](https://github.com/poanetwork/blockscout/pull/1881) - fix: store solc versions locally for performance +- [#1898](https://github.com/poanetwork/blockscout/pull/1898) - check if the constructor has arguments before verifying constructor arguments ## 1.3.12-beta Reverting of synchronous block counter, implemented in #1848 - ## 1.3.11-beta ### Features -- [#1815](https://github.com/poanetwork/blockscout/pull/1815) - Be able to search without prefix "0x" -- [#1813](https://github.com/poanetwork/blockscout/pull/1813) - Add total blocks counter to the main page -- [#1806](https://github.com/poanetwork/blockscout/pull/1806) - Verify contracts with a post request -- [#1848](https://github.com/poanetwork/blockscout/pull/1848) - Add cache for block counter +- [#1815](https://github.com/poanetwork/blockscout/pull/1815) - Be able to search without prefix "0x" +- [#1813](https://github.com/poanetwork/blockscout/pull/1813) - Add total blocks counter to the main page +- [#1806](https://github.com/poanetwork/blockscout/pull/1806) - Verify contracts with a post request +- [#1848](https://github.com/poanetwork/blockscout/pull/1848) - Add cache for block counter ### Fixes -- [#1829](https://github.com/poanetwork/blockscout/pull/1829) - Handle nil quantities in block decoding routine -- [#1830](https://github.com/poanetwork/blockscout/pull/1830) - Make block size field nullable -- [#1840](https://github.com/poanetwork/blockscout/pull/1840) - Handle case when total supply is nil -- [#1838](https://github.com/poanetwork/blockscout/pull/1838) - Block counter calculates only consensus blocks +- [#1829](https://github.com/poanetwork/blockscout/pull/1829) - Handle nil quantities in block decoding routine +- [#1830](https://github.com/poanetwork/blockscout/pull/1830) - Make block size field nullable +- [#1840](https://github.com/poanetwork/blockscout/pull/1840) - Handle case when total supply is nil +- [#1838](https://github.com/poanetwork/blockscout/pull/1838) - Block counter calculates only consensus blocks ### Chore -- [#1814](https://github.com/poanetwork/blockscout/pull/1814) - Clear build artefacts script -- [#1837](https://github.com/poanetwork/blockscout/pull/1837) - Add -f flag to clear_build.sh script delete static folder - +- [#1814](https://github.com/poanetwork/blockscout/pull/1814) - Clear build artefacts script +- [#1837](https://github.com/poanetwork/blockscout/pull/1837) - Add -f flag to clear_build.sh script delete static folder ## 1.3.10-beta ### Features -- [#1739](https://github.com/poanetwork/blockscout/pull/1739) - highlight decompiled source code -- [#1696](https://github.com/poanetwork/blockscout/pull/1696) - full-text search by tokens -- [#1742](https://github.com/poanetwork/blockscout/pull/1742) - Support RSK -- [#1777](https://github.com/poanetwork/blockscout/pull/1777) - show ERC-20 token transfer info on transaction page -- [#1770](https://github.com/poanetwork/blockscout/pull/1770) - set a websocket keepalive from config -- [#1789](https://github.com/poanetwork/blockscout/pull/1789) - add ERC-721 info to transaction overview page -- [#1801](https://github.com/poanetwork/blockscout/pull/1801) - Staking pools fetching +- [#1739](https://github.com/poanetwork/blockscout/pull/1739) - highlight decompiled source code +- [#1696](https://github.com/poanetwork/blockscout/pull/1696) - full-text search by tokens +- [#1742](https://github.com/poanetwork/blockscout/pull/1742) - Support RSK +- [#1777](https://github.com/poanetwork/blockscout/pull/1777) - show ERC-20 token transfer info on transaction page +- [#1770](https://github.com/poanetwork/blockscout/pull/1770) - set a websocket keepalive from config +- [#1789](https://github.com/poanetwork/blockscout/pull/1789) - add ERC-721 info to transaction overview page +- [#1801](https://github.com/poanetwork/blockscout/pull/1801) - Staking pools fetching ### Fixes - - [#1724](https://github.com/poanetwork/blockscout/pull/1724) - Remove internal tx and token balance fetching from realtime fetcher - - [#1727](https://github.com/poanetwork/blockscout/pull/1727) - add logs pagination in rpc api - - [#1740](https://github.com/poanetwork/blockscout/pull/1740) - fix empty block time - - [#1743](https://github.com/poanetwork/blockscout/pull/1743) - sort decompiled smart contracts in lexicographical order - - [#1756](https://github.com/poanetwork/blockscout/pull/1756) - add today's token balance from the previous value - - [#1769](https://github.com/poanetwork/blockscout/pull/1769) - add timestamp to block overview - - [#1768](https://github.com/poanetwork/blockscout/pull/1768) - fix first block parameter - - [#1778](https://github.com/poanetwork/blockscout/pull/1778) - Make websocket optional for realtime fetcher - - [#1790](https://github.com/poanetwork/blockscout/pull/1790) - fix constructor arguments verification - - [#1793](https://github.com/poanetwork/blockscout/pull/1793) - fix top nav autocomplete - - [#1795](https://github.com/poanetwork/blockscout/pull/1795) - fix line numbers for decompiled contracts - - [#1803](https://github.com/poanetwork/blockscout/pull/1803) - use coinmarketcap for total_supply by default - - [#1802](https://github.com/poanetwork/blockscout/pull/1802) - make coinmarketcap's number of pages configurable - - [#1799](https://github.com/poanetwork/blockscout/pull/1799) - Use eth_getUncleByBlockHashAndIndex for uncle block fetching - - [#1531](https://github.com/poanetwork/blockscout/pull/1531) - docker: fix dockerFile for secp256k1 building - - [#1835](https://github.com/poanetwork/blockscout/pull/1835) - fix: ignore `pong` messages without error +- [#1724](https://github.com/poanetwork/blockscout/pull/1724) - Remove internal tx and token balance fetching from realtime fetcher +- [#1727](https://github.com/poanetwork/blockscout/pull/1727) - add logs pagination in rpc api +- [#1740](https://github.com/poanetwork/blockscout/pull/1740) - fix empty block time +- [#1743](https://github.com/poanetwork/blockscout/pull/1743) - sort decompiled smart contracts in lexicographical order +- [#1756](https://github.com/poanetwork/blockscout/pull/1756) - add today's token balance from the previous value +- [#1769](https://github.com/poanetwork/blockscout/pull/1769) - add timestamp to block overview +- [#1768](https://github.com/poanetwork/blockscout/pull/1768) - fix first block parameter +- [#1778](https://github.com/poanetwork/blockscout/pull/1778) - Make websocket optional for realtime fetcher +- [#1790](https://github.com/poanetwork/blockscout/pull/1790) - fix constructor arguments verification +- [#1793](https://github.com/poanetwork/blockscout/pull/1793) - fix top nav autocomplete +- [#1795](https://github.com/poanetwork/blockscout/pull/1795) - fix line numbers for decompiled contracts +- [#1803](https://github.com/poanetwork/blockscout/pull/1803) - use coinmarketcap for total_supply by default +- [#1802](https://github.com/poanetwork/blockscout/pull/1802) - make coinmarketcap's number of pages configurable +- [#1799](https://github.com/poanetwork/blockscout/pull/1799) - Use eth_getUncleByBlockHashAndIndex for uncle block fetching +- [#1531](https://github.com/poanetwork/blockscout/pull/1531) - docker: fix dockerFile for secp256k1 building +- [#1835](https://github.com/poanetwork/blockscout/pull/1835) - fix: ignore `pong` messages without error ### Chore - - [#1804](https://github.com/poanetwork/blockscout/pull/1804) - (Chore) Divide chains by Mainnet/Testnet in menu - - [#1783](https://github.com/poanetwork/blockscout/pull/1783) - Update README with the chains that use Blockscout - - [#1780](https://github.com/poanetwork/blockscout/pull/1780) - Update link to the Github repo in the footer - - [#1757](https://github.com/poanetwork/blockscout/pull/1757) - Change twitter acc link to official Blockscout acc twitter - - [#1749](https://github.com/poanetwork/blockscout/pull/1749) - Replace the link in the footer with the official POA announcements tg channel link - - [#1718](https://github.com/poanetwork/blockscout/pull/1718) - Flatten indexer module hierarchy and supervisor tree - - [#1753](https://github.com/poanetwork/blockscout/pull/1753) - Add a check mark to decompiled contract tab - - [#1744](https://github.com/poanetwork/blockscout/pull/1744) - remove `0x0..0` from tests - - [#1763](https://github.com/poanetwork/blockscout/pull/1763) - Describe indexer structure and list existing fetchers - - [#1800](https://github.com/poanetwork/blockscout/pull/1800) - Disable lazy logging check in Credo - +- [#1804](https://github.com/poanetwork/blockscout/pull/1804) - (Chore) Divide chains by Mainnet/Testnet in menu +- [#1783](https://github.com/poanetwork/blockscout/pull/1783) - Update README with the chains that use Blockscout +- [#1780](https://github.com/poanetwork/blockscout/pull/1780) - Update link to the Github repo in the footer +- [#1757](https://github.com/poanetwork/blockscout/pull/1757) - Change twitter acc link to official Blockscout acc twitter +- [#1749](https://github.com/poanetwork/blockscout/pull/1749) - Replace the link in the footer with the official POA announcements tg channel link +- [#1718](https://github.com/poanetwork/blockscout/pull/1718) - Flatten indexer module hierarchy and supervisor tree +- [#1753](https://github.com/poanetwork/blockscout/pull/1753) - Add a check mark to decompiled contract tab +- [#1744](https://github.com/poanetwork/blockscout/pull/1744) - remove `0x0..0` from tests +- [#1763](https://github.com/poanetwork/blockscout/pull/1763) - Describe indexer structure and list existing fetchers +- [#1800](https://github.com/poanetwork/blockscout/pull/1800) - Disable lazy logging check in Credo ## 1.3.9-beta ### Features - - [#1662](https://github.com/poanetwork/blockscout/pull/1662) - allow specifying number of optimization runs - - [#1654](https://github.com/poanetwork/blockscout/pull/1654) - add decompiled code tab - - [#1661](https://github.com/poanetwork/blockscout/pull/1661) - try to compile smart contract with the latest evm version - - [#1665](https://github.com/poanetwork/blockscout/pull/1665) - Add contract verification RPC endpoint. - - [#1706](https://github.com/poanetwork/blockscout/pull/1706) - allow setting update interval for addresses with b +- [#1662](https://github.com/poanetwork/blockscout/pull/1662) - allow specifying number of optimization runs +- [#1654](https://github.com/poanetwork/blockscout/pull/1654) - add decompiled code tab +- [#1661](https://github.com/poanetwork/blockscout/pull/1661) - try to compile smart contract with the latest evm version +- [#1665](https://github.com/poanetwork/blockscout/pull/1665) - Add contract verification RPC endpoint. +- [#1706](https://github.com/poanetwork/blockscout/pull/1706) - allow setting update interval for addresses with b ### Fixes - - [#1669](https://github.com/poanetwork/blockscout/pull/1669) - do not fail if multiple matching tokens are found - - [#1691](https://github.com/poanetwork/blockscout/pull/1691) - decrease token metadata update interval - - [#1688](https://github.com/poanetwork/blockscout/pull/1688) - do not fail if failure reason is atom - - [#1692](https://github.com/poanetwork/blockscout/pull/1692) - exclude decompiled smart contract from encoding - - [#1684](https://github.com/poanetwork/blockscout/pull/1684) - Discard child block with parent_hash not matching hash of imported block - - [#1699](https://github.com/poanetwork/blockscout/pull/1699) - use seconds as transaction cache period measure - - [#1697](https://github.com/poanetwork/blockscout/pull/1697) - fix failing in rpc if balance is empty - - [#1711](https://github.com/poanetwork/blockscout/pull/1711) - rescue failing repo in block number cache update - - [#1712](https://github.com/poanetwork/blockscout/pull/1712) - do not set contract code from transaction input - - [#1714](https://github.com/poanetwork/blockscout/pull/1714) - fix average block time calculation +- [#1669](https://github.com/poanetwork/blockscout/pull/1669) - do not fail if multiple matching tokens are found +- [#1691](https://github.com/poanetwork/blockscout/pull/1691) - decrease token metadata update interval +- [#1688](https://github.com/poanetwork/blockscout/pull/1688) - do not fail if failure reason is atom +- [#1692](https://github.com/poanetwork/blockscout/pull/1692) - exclude decompiled smart contract from encoding +- [#1684](https://github.com/poanetwork/blockscout/pull/1684) - Discard child block with parent_hash not matching hash of imported block +- [#1699](https://github.com/poanetwork/blockscout/pull/1699) - use seconds as transaction cache period measure +- [#1697](https://github.com/poanetwork/blockscout/pull/1697) - fix failing in rpc if balance is empty +- [#1711](https://github.com/poanetwork/blockscout/pull/1711) - rescue failing repo in block number cache update +- [#1712](https://github.com/poanetwork/blockscout/pull/1712) - do not set contract code from transaction input +- [#1714](https://github.com/poanetwork/blockscout/pull/1714) - fix average block time calculation ### Chore - - [#1693](https://github.com/poanetwork/blockscout/pull/1693) - Add a checklist to the PR template - +- [#1693](https://github.com/poanetwork/blockscout/pull/1693) - Add a checklist to the PR template ## 1.3.8-beta ### Features - - [#1611](https://github.com/poanetwork/blockscout/pull/1611) - allow setting the first indexing block - - [#1596](https://github.com/poanetwork/blockscout/pull/1596) - add endpoint to create decompiled contracts - - [#1634](https://github.com/poanetwork/blockscout/pull/1634) - add transaction count cache +- [#1611](https://github.com/poanetwork/blockscout/pull/1611) - allow setting the first indexing block +- [#1596](https://github.com/poanetwork/blockscout/pull/1596) - add endpoint to create decompiled contracts +- [#1634](https://github.com/poanetwork/blockscout/pull/1634) - add transaction count cache ### Fixes - - [#1630](https://github.com/poanetwork/blockscout/pull/1630) - (Fix) colour for release link in the footer - - [#1621](https://github.com/poanetwork/blockscout/pull/1621) - Modify query to fetch failed contract creations - - [#1614](https://github.com/poanetwork/blockscout/pull/1614) - Do not fetch burn address token balance - - [#1639](https://github.com/poanetwork/blockscout/pull/1614) - Optimize token holder count updates when importing address current balances - - [#1643](https://github.com/poanetwork/blockscout/pull/1643) - Set internal_transactions_indexed_at for empty blocks - - [#1647](https://github.com/poanetwork/blockscout/pull/1647) - Fix typo in view - - [#1650](https://github.com/poanetwork/blockscout/pull/1650) - Add petersburg evm version to smart contract verifier - - [#1657](https://github.com/poanetwork/blockscout/pull/1657) - Force consensus loss for parent block if its hash mismatches parent_hash +- [#1630](https://github.com/poanetwork/blockscout/pull/1630) - (Fix) colour for release link in the footer +- [#1621](https://github.com/poanetwork/blockscout/pull/1621) - Modify query to fetch failed contract creations +- [#1614](https://github.com/poanetwork/blockscout/pull/1614) - Do not fetch burn address token balance +- [#1639](https://github.com/poanetwork/blockscout/pull/1614) - Optimize token holder count updates when importing address current balances +- [#1643](https://github.com/poanetwork/blockscout/pull/1643) - Set internal_transactions_indexed_at for empty blocks +- [#1647](https://github.com/poanetwork/blockscout/pull/1647) - Fix typo in view +- [#1650](https://github.com/poanetwork/blockscout/pull/1650) - Add petersburg evm version to smart contract verifier +- [#1657](https://github.com/poanetwork/blockscout/pull/1657) - Force consensus loss for parent block if its hash mismatches parent_hash ### Chore - ## 1.3.7-beta ### Features ### Fixes - - [#1615](https://github.com/poanetwork/blockscout/pull/1615) - Add more logging to code fixer process - - [#1613](https://github.com/poanetwork/blockscout/pull/1613) - Fix USD fee value - - [#1577](https://github.com/poanetwork/blockscout/pull/1577) - Add process to fix contract with code - - [#1583](https://github.com/poanetwork/blockscout/pull/1583) - Chunk JSON-RPC batches in case connection times out +- [#1615](https://github.com/poanetwork/blockscout/pull/1615) - Add more logging to code fixer process +- [#1613](https://github.com/poanetwork/blockscout/pull/1613) - Fix USD fee value +- [#1577](https://github.com/poanetwork/blockscout/pull/1577) - Add process to fix contract with code +- [#1583](https://github.com/poanetwork/blockscout/pull/1583) - Chunk JSON-RPC batches in case connection times out ### Chore - - [#1610](https://github.com/poanetwork/blockscout/pull/1610) - Add PIRL to Readme - +- [#1610](https://github.com/poanetwork/blockscout/pull/1610) - Add PIRL to Readme ## 1.3.6-beta ### Features - - [#1589](https://github.com/poanetwork/blockscout/pull/1589) - RPC endpoint to list addresses - - [#1567](https://github.com/poanetwork/blockscout/pull/1567) - Allow setting different configuration just for realtime fetcher - - [#1562](https://github.com/poanetwork/blockscout/pull/1562) - Add incoming transactions count to contract view - - [#1608](https://github.com/poanetwork/blockscout/pull/1608) - Add listcontracts RPC Endpoint +- [#1589](https://github.com/poanetwork/blockscout/pull/1589) - RPC endpoint to list addresses +- [#1567](https://github.com/poanetwork/blockscout/pull/1567) - Allow setting different configuration just for realtime fetcher +- [#1562](https://github.com/poanetwork/blockscout/pull/1562) - Add incoming transactions count to contract view +- [#1608](https://github.com/poanetwork/blockscout/pull/1608) - Add listcontracts RPC Endpoint ### Fixes - - [#1595](https://github.com/poanetwork/blockscout/pull/1595) - Reduce block_rewards in the catchup fetcher - - [#1590](https://github.com/poanetwork/blockscout/pull/1590) - Added guard for fetching blocks with invalid number - - [#1588](https://github.com/poanetwork/blockscout/pull/1588) - Fix usd value on address page - - [#1586](https://github.com/poanetwork/blockscout/pull/1586) - Exact timestamp display - - [#1581](https://github.com/poanetwork/blockscout/pull/1581) - Consider `creates` param when fetching transactions - - [#1559](https://github.com/poanetwork/blockscout/pull/1559) - Change v column type for Transactions table +- [#1595](https://github.com/poanetwork/blockscout/pull/1595) - Reduce block_rewards in the catchup fetcher +- [#1590](https://github.com/poanetwork/blockscout/pull/1590) - Added guard for fetching blocks with invalid number +- [#1588](https://github.com/poanetwork/blockscout/pull/1588) - Fix usd value on address page +- [#1586](https://github.com/poanetwork/blockscout/pull/1586) - Exact timestamp display +- [#1581](https://github.com/poanetwork/blockscout/pull/1581) - Consider `creates` param when fetching transactions +- [#1559](https://github.com/poanetwork/blockscout/pull/1559) - Change v column type for Transactions table ### Chore - - [#1579](https://github.com/poanetwork/blockscout/pull/1579) - Add SpringChain to the list of Additional Chains Utilizing BlockScout - - [#1578](https://github.com/poanetwork/blockscout/pull/1578) - Refine contributing procedure - - [#1572](https://github.com/poanetwork/blockscout/pull/1572) - Add option to disable block rewards in indexer config - +- [#1579](https://github.com/poanetwork/blockscout/pull/1579) - Add SpringChain to the list of Additional Chains Utilizing BlockScout +- [#1578](https://github.com/poanetwork/blockscout/pull/1578) - Refine contributing procedure +- [#1572](https://github.com/poanetwork/blockscout/pull/1572) - Add option to disable block rewards in indexer config ## 1.3.5-beta ### Features - - [#1560](https://github.com/poanetwork/blockscout/pull/1560) - Allow executing smart contract functions in arbitrarily sized batches - - [#1543](https://github.com/poanetwork/blockscout/pull/1543) - Use trace_replayBlockTransactions API for faster tracing - - [#1558](https://github.com/poanetwork/blockscout/pull/1558) - Allow searching by token symbol - - [#1551](https://github.com/poanetwork/blockscout/pull/1551) Exact date and time for Transaction details page - - [#1547](https://github.com/poanetwork/blockscout/pull/1547) - Verify smart contracts with evm versions - - [#1540](https://github.com/poanetwork/blockscout/pull/1540) - Fetch ERC721 token balances if sender is '0x0..0' - - [#1539](https://github.com/poanetwork/blockscout/pull/1539) - Add the link to release in the footer - - [#1519](https://github.com/poanetwork/blockscout/pull/1519) - Create contract methods - - [#1496](https://github.com/poanetwork/blockscout/pull/1496) - Remove dropped/replaced transactions in pending transactions list - - [#1492](https://github.com/poanetwork/blockscout/pull/1492) - Disable usd value for an empty exchange rate - - [#1466](https://github.com/poanetwork/blockscout/pull/1466) - Decoding candidates for unverified contracts +- [#1560](https://github.com/poanetwork/blockscout/pull/1560) - Allow executing smart contract functions in arbitrarily sized batches +- [#1543](https://github.com/poanetwork/blockscout/pull/1543) - Use trace_replayBlockTransactions API for faster tracing +- [#1558](https://github.com/poanetwork/blockscout/pull/1558) - Allow searching by token symbol +- [#1551](https://github.com/poanetwork/blockscout/pull/1551) Exact date and time for Transaction details page +- [#1547](https://github.com/poanetwork/blockscout/pull/1547) - Verify smart contracts with evm versions +- [#1540](https://github.com/poanetwork/blockscout/pull/1540) - Fetch ERC721 token balances if sender is '0x0..0' +- [#1539](https://github.com/poanetwork/blockscout/pull/1539) - Add the link to release in the footer +- [#1519](https://github.com/poanetwork/blockscout/pull/1519) - Create contract methods +- [#1496](https://github.com/poanetwork/blockscout/pull/1496) - Remove dropped/replaced transactions in pending transactions list +- [#1492](https://github.com/poanetwork/blockscout/pull/1492) - Disable usd value for an empty exchange rate +- [#1466](https://github.com/poanetwork/blockscout/pull/1466) - Decoding candidates for unverified contracts ### Fixes - - [#1545](https://github.com/poanetwork/blockscout/pull/1545) - Fix scheduling of latest block polling in Realtime Fetcher - - [#1554](https://github.com/poanetwork/blockscout/pull/1554) - Encode integer parameters when calling smart contract functions - - [#1537](https://github.com/poanetwork/blockscout/pull/1537) - Fix test that depended on date - - [#1534](https://github.com/poanetwork/blockscout/pull/1534) - Render a nicer error when creator cannot be determined - - [#1527](https://github.com/poanetwork/blockscout/pull/1527) - Add index to value_fetched_at - - [#1518](https://github.com/poanetwork/blockscout/pull/1518) - Select only distinct failed transactions - - [#1516](https://github.com/poanetwork/blockscout/pull/1516) - Fix coin balance params reducer for pending transaction - - [#1511](https://github.com/poanetwork/blockscout/pull/1511) - Set correct log level for production - - [#1510](https://github.com/poanetwork/blockscout/pull/1510) - Fix test that fails every 1st day of the month - - [#1509](https://github.com/poanetwork/blockscout/pull/1509) - Add index to blocks' consensus - - [#1508](https://github.com/poanetwork/blockscout/pull/1508) - Remove duplicated indexes - - [#1505](https://github.com/poanetwork/blockscout/pull/1505) - Use https instead of ssh for absinthe libs - - [#1501](https://github.com/poanetwork/blockscout/pull/1501) - Constructor_arguments must be type `text` - - [#1498](https://github.com/poanetwork/blockscout/pull/1498) - Add index for created_contract_address_hash in transactions - - [#1493](https://github.com/poanetwork/blockscout/pull/1493) - Do not do work in process initialization - - [#1487](https://github.com/poanetwork/blockscout/pull/1487) - Limit geth sync to 128 blocks - - [#1484](https://github.com/poanetwork/blockscout/pull/1484) - Allow decoding input as utf-8 - - [#1479](https://github.com/poanetwork/blockscout/pull/1479) - Remove smoothing from coin balance chart + +- [#1545](https://github.com/poanetwork/blockscout/pull/1545) - Fix scheduling of latest block polling in Realtime Fetcher +- [#1554](https://github.com/poanetwork/blockscout/pull/1554) - Encode integer parameters when calling smart contract functions +- [#1537](https://github.com/poanetwork/blockscout/pull/1537) - Fix test that depended on date +- [#1534](https://github.com/poanetwork/blockscout/pull/1534) - Render a nicer error when creator cannot be determined +- [#1527](https://github.com/poanetwork/blockscout/pull/1527) - Add index to value_fetched_at +- [#1518](https://github.com/poanetwork/blockscout/pull/1518) - Select only distinct failed transactions +- [#1516](https://github.com/poanetwork/blockscout/pull/1516) - Fix coin balance params reducer for pending transaction +- [#1511](https://github.com/poanetwork/blockscout/pull/1511) - Set correct log level for production +- [#1510](https://github.com/poanetwork/blockscout/pull/1510) - Fix test that fails every 1st day of the month +- [#1509](https://github.com/poanetwork/blockscout/pull/1509) - Add index to blocks' consensus +- [#1508](https://github.com/poanetwork/blockscout/pull/1508) - Remove duplicated indexes +- [#1505](https://github.com/poanetwork/blockscout/pull/1505) - Use https instead of ssh for absinthe libs +- [#1501](https://github.com/poanetwork/blockscout/pull/1501) - Constructor_arguments must be type `text` +- [#1498](https://github.com/poanetwork/blockscout/pull/1498) - Add index for created_contract_address_hash in transactions +- [#1493](https://github.com/poanetwork/blockscout/pull/1493) - Do not do work in process initialization +- [#1487](https://github.com/poanetwork/blockscout/pull/1487) - Limit geth sync to 128 blocks +- [#1484](https://github.com/poanetwork/blockscout/pull/1484) - Allow decoding input as utf-8 +- [#1479](https://github.com/poanetwork/blockscout/pull/1479) - Remove smoothing from coin balance chart ### Chore - - [https://github.com/poanetwork/blockscout/pull/1532](https://github.com/poanetwork/blockscout/pull/1532) - Upgrade elixir to 1.8.1 - - [https://github.com/poanetwork/blockscout/pull/1553](https://github.com/poanetwork/blockscout/pull/1553) - Dockerfile: remove 1.7.1 version pin FROM bitwalker/alpine-elixir-phoenix - - [https://github.com/poanetwork/blockscout/pull/1465](https://github.com/poanetwork/blockscout/pull/1465) - Resolve lodash security alert + +- - Upgrade elixir to 1.8.1 +- - Dockerfile: remove 1.7.1 version pin FROM bitwalker/alpine-elixir-phoenix +- - Resolve lodash security alert From 87ed8d6aa56736543adeef65e812ac2ae4d3c1ce Mon Sep 17 00:00:00 2001 From: Ethan van Ballegooyen Date: Thu, 29 Aug 2019 13:05:00 +0200 Subject: [PATCH 34/48] Fixed incorrect numerical order in Chores --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 971696703b..b2c1662db9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,8 +29,8 @@ - [#2646](https://github.com/poanetwork/blockscout/pull/2646) - Added Xerom to list of Additional Chains using BlockScout - [#2634](https://github.com/poanetwork/blockscout/pull/2634) - add Lukso to networks dropdown -- [#2611](https://github.com/poanetwork/blockscout/pull/2611) - fix js dependency vulnerabilities - [#2617](https://github.com/poanetwork/blockscout/pull/2617) - skip cache update if there are no blocks inserted +- [#2611](https://github.com/poanetwork/blockscout/pull/2611) - fix js dependency vulnerabilities - [#2594](https://github.com/poanetwork/blockscout/pull/2594) - do not start genesis data fetching periodically - [#2590](https://github.com/poanetwork/blockscout/pull/2590) - restore backward compatablity with old releases - [#2577](https://github.com/poanetwork/blockscout/pull/2577) - Need recompile column in the env vars table From 5ed0fe694cd93cebdd32f422442dbbcadc4ed359 Mon Sep 17 00:00:00 2001 From: Ethan van Ballegooyen Date: Thu, 29 Aug 2019 13:14:23 +0200 Subject: [PATCH 35/48] Changelog.md Clean up --- CHANGELOG.md | 855 +++++++++++++++++++++++++-------------------------- 1 file changed, 427 insertions(+), 428 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b2c1662db9..812cf4d350 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,574 +1,573 @@ ## Current ### Features - -- [#2555](https://github.com/poanetwork/blockscout/pull/2555) - find and show decoding candidates for logs -- [#2596](https://github.com/poanetwork/blockscout/pull/2596) - support AuRa's empty step reward type -- [#2561](https://github.com/poanetwork/blockscout/pull/2561) - Add token's type to the response of tokenlist method -- [#2499](https://github.com/poanetwork/blockscout/pull/2499) - import emission reward ranges -- [#2497](https://github.com/poanetwork/blockscout/pull/2497) - Add generic Ordered Cache behaviour and implementation +- [#2555](https://github.com/poanetwork/blockscout/pull/2555) - find and show decoding candidates for logs +- [#2596](https://github.com/poanetwork/blockscout/pull/2596) - support AuRa's empty step reward type +- [#2561](https://github.com/poanetwork/blockscout/pull/2561) - Add token's type to the response of tokenlist method +- [#2499](https://github.com/poanetwork/blockscout/pull/2499) - import emission reward ranges +- [#2497](https://github.com/poanetwork/blockscout/pull/2497) - Add generic Ordered Cache behaviour and implementation ### Fixes - -- [#2640](https://github.com/poanetwork/blockscout/pull/2640) - SVG network icons -- [#2635](https://github.com/poanetwork/blockscout/pull/2635) - optimize ERC721 inventory query -- [#2626](https://github.com/poanetwork/blockscout/pull/2626) - Fixing 2 Mobile UI Issues -- [#2623](https://github.com/poanetwork/blockscout/pull/2623) - fix a blinking test -- [#2616](https://github.com/poanetwork/blockscout/pull/2616) - deduplicate coin history records by delta -- [#2613](https://github.com/poanetwork/blockscout/pull/2613) - fix getminedblocks rpc endpoint -- [#2592](https://github.com/poanetwork/blockscout/pull/2592) - process new metadata format for whisper -- [#2572](https://github.com/poanetwork/blockscout/pull/2572) - Ease non-critical css -- [#2570](https://github.com/poanetwork/blockscout/pull/2570) - Network icons preload -- [#2569](https://github.com/poanetwork/blockscout/pull/2569) - do not fetch emission rewards for transactions csv exporter -- [#2568](https://github.com/poanetwork/blockscout/pull/2568) - filter pending token transfers -- [#2564](https://github.com/poanetwork/blockscout/pull/2564) - fix first page button for uncles and reorgs -- [#2563](https://github.com/poanetwork/blockscout/pull/2563) - Fix view less transfers button -- [#2538](https://github.com/poanetwork/blockscout/pull/2538) - fetch the last not empty coin balance records +- [#2640](https://github.com/poanetwork/blockscout/pull/2640) - SVG network icons +- [#2635](https://github.com/poanetwork/blockscout/pull/2635) - optimize ERC721 inventory query +- [#2626](https://github.com/poanetwork/blockscout/pull/2626) - Fixing 2 Mobile UI Issues +- [#2623](https://github.com/poanetwork/blockscout/pull/2623) - fix a blinking test +- [#2616](https://github.com/poanetwork/blockscout/pull/2616) - deduplicate coin history records by delta +- [#2613](https://github.com/poanetwork/blockscout/pull/2613) - fix getminedblocks rpc endpoint +- [#2592](https://github.com/poanetwork/blockscout/pull/2592) - process new metadata format for whisper +- [#2572](https://github.com/poanetwork/blockscout/pull/2572) - Ease non-critical css +- [#2570](https://github.com/poanetwork/blockscout/pull/2570) - Network icons preload +- [#2569](https://github.com/poanetwork/blockscout/pull/2569) - do not fetch emission rewards for transactions csv exporter +- [#2568](https://github.com/poanetwork/blockscout/pull/2568) - filter pending token transfers +- [#2564](https://github.com/poanetwork/blockscout/pull/2564) - fix first page button for uncles and reorgs +- [#2563](https://github.com/poanetwork/blockscout/pull/2563) - Fix view less transfers button +- [#2538](https://github.com/poanetwork/blockscout/pull/2538) - fetch the last not empty coin balance records ### Chore +- [#2646](https://github.com/poanetwork/blockscout/pull/2646) - Added Xerom to list of Additional Chains using BlockScout +- [#2634](https://github.com/poanetwork/blockscout/pull/2634) - add Lukso to networks dropdown +- [#2617](https://github.com/poanetwork/blockscout/pull/2617) - skip cache update if there are no blocks inserted +- [#2611](https://github.com/poanetwork/blockscout/pull/2611) - fix js dependency vulnerabilities +- [#2594](https://github.com/poanetwork/blockscout/pull/2594) - do not start genesis data fetching periodically +- [#2590](https://github.com/poanetwork/blockscout/pull/2590) - restore backward compatablity with old releases +- [#2577](https://github.com/poanetwork/blockscout/pull/2577) - Need recompile column in the env vars table +- [#2574](https://github.com/poanetwork/blockscout/pull/2574) - limit request body in json rpc error +- [#2566](https://github.com/poanetwork/blockscout/pull/2566) - upgrade absinthe phoenix -- [#2646](https://github.com/poanetwork/blockscout/pull/2646) - Added Xerom to list of Additional Chains using BlockScout -- [#2634](https://github.com/poanetwork/blockscout/pull/2634) - add Lukso to networks dropdown -- [#2617](https://github.com/poanetwork/blockscout/pull/2617) - skip cache update if there are no blocks inserted -- [#2611](https://github.com/poanetwork/blockscout/pull/2611) - fix js dependency vulnerabilities -- [#2594](https://github.com/poanetwork/blockscout/pull/2594) - do not start genesis data fetching periodically -- [#2590](https://github.com/poanetwork/blockscout/pull/2590) - restore backward compatablity with old releases -- [#2577](https://github.com/poanetwork/blockscout/pull/2577) - Need recompile column in the env vars table -- [#2574](https://github.com/poanetwork/blockscout/pull/2574) - limit request body in json rpc error -- [#2566](https://github.com/poanetwork/blockscout/pull/2566) - upgrade absinthe phoenix ## 2.0.3-beta ### Features - -- [#2433](https://github.com/poanetwork/blockscout/pull/2433) - Add a functionality to try Eth RPC methods in the documentation -- [#2529](https://github.com/poanetwork/blockscout/pull/2529) - show both eth value and token transfers on transaction overview page -- [#2376](https://github.com/poanetwork/blockscout/pull/2376) - Split API and WebApp routes -- [#2477](https://github.com/poanetwork/blockscout/pull/2477) - aggregate token transfers on transaction page -- [#2458](https://github.com/poanetwork/blockscout/pull/2458) - Add LAST_BLOCK var to add ability indexing in the range of blocks -- [#2456](https://github.com/poanetwork/blockscout/pull/2456) - fetch pending transactions for geth -- [#2403](https://github.com/poanetwork/blockscout/pull/2403) - Return gasPrice field at the result of gettxinfo method +- [#2433](https://github.com/poanetwork/blockscout/pull/2433) - Add a functionality to try Eth RPC methods in the documentation +- [#2529](https://github.com/poanetwork/blockscout/pull/2529) - show both eth value and token transfers on transaction overview page +- [#2376](https://github.com/poanetwork/blockscout/pull/2376) - Split API and WebApp routes +- [#2477](https://github.com/poanetwork/blockscout/pull/2477) - aggregate token transfers on transaction page +- [#2458](https://github.com/poanetwork/blockscout/pull/2458) - Add LAST_BLOCK var to add ability indexing in the range of blocks +- [#2456](https://github.com/poanetwork/blockscout/pull/2456) - fetch pending transactions for geth +- [#2403](https://github.com/poanetwork/blockscout/pull/2403) - Return gasPrice field at the result of gettxinfo method ### Fixes - -- [#2562](https://github.com/poanetwork/blockscout/pull/2562) - Fix dark theme flickering -- [#2560](https://github.com/poanetwork/blockscout/pull/2560) - fix slash before not empty path in docs -- [#2559](https://github.com/poanetwork/blockscout/pull/2559) - fix rsk total supply for empty exchange rate -- [#2553](https://github.com/poanetwork/blockscout/pull/2553) - Dark theme import to the end of sass -- [#2550](https://github.com/poanetwork/blockscout/pull/2550) - correctly encode decimal values for frontend -- [#2549](https://github.com/poanetwork/blockscout/pull/2549) - Fix wrong colour of tooltip -- [#2548](https://github.com/poanetwork/blockscout/pull/2548) - CSS preload support in Firefox -- [#2547](https://github.com/poanetwork/blockscout/pull/2547) - do not show eth value if it's zero on the transaction overview page -- [#2543](https://github.com/poanetwork/blockscout/pull/2543) - do not hide search input during logs search -- [#2524](https://github.com/poanetwork/blockscout/pull/2524) - fix dark theme validator data styles -- [#2532](https://github.com/poanetwork/blockscout/pull/2532) - don't show empty token transfers on the transaction overview page -- [#2528](https://github.com/poanetwork/blockscout/pull/2528) - fix coin history chart data -- [#2520](https://github.com/poanetwork/blockscout/pull/2520) - Hide loading message when fetching is failed -- [#2523](https://github.com/poanetwork/blockscout/pull/2523) - Avoid importing internal_transactions of pending transactions -- [#2519](https://github.com/poanetwork/blockscout/pull/2519) - enable `First` page button in pagination -- [#2518](https://github.com/poanetwork/blockscout/pull/2518) - create suggested indexes -- [#2517](https://github.com/poanetwork/blockscout/pull/2517) - remove duplicate indexes -- [#2515](https://github.com/poanetwork/blockscout/pull/2515) - do not aggregate NFT token transfers -- [#2514](https://github.com/poanetwork/blockscout/pull/2514) - Isolating of staking dapp css && extracting of non-critical css -- [#2512](https://github.com/poanetwork/blockscout/pull/2512) - alert link fix -- [#2509](https://github.com/poanetwork/blockscout/pull/2509) - value-ticker gaps fix -- [#2508](https://github.com/poanetwork/blockscout/pull/2508) - logs view columns fix -- [#2506](https://github.com/poanetwork/blockscout/pull/2506) - fix two active tab in the top menu -- [#2503](https://github.com/poanetwork/blockscout/pull/2503) - Mitigate autocompletion library influence to page loading performance -- [#2502](https://github.com/poanetwork/blockscout/pull/2502) - increase reward task timeout -- [#2463](https://github.com/poanetwork/blockscout/pull/2463) - dark theme fixes -- [#2496](https://github.com/poanetwork/blockscout/pull/2496) - fix docker build -- [#2495](https://github.com/poanetwork/blockscout/pull/2495) - fix logs for indexed chain -- [#2459](https://github.com/poanetwork/blockscout/pull/2459) - fix top addresses query -- [#2425](https://github.com/poanetwork/blockscout/pull/2425) - Force to show address view for checksummed address even if it is not in DB -- [#2551](https://github.com/poanetwork/blockscout/pull/2551) - Correctly handle dynamically created Bootstrap tooltips +- [#2562](https://github.com/poanetwork/blockscout/pull/2562) - Fix dark theme flickering +- [#2560](https://github.com/poanetwork/blockscout/pull/2560) - fix slash before not empty path in docs +- [#2559](https://github.com/poanetwork/blockscout/pull/2559) - fix rsk total supply for empty exchange rate +- [#2553](https://github.com/poanetwork/blockscout/pull/2553) - Dark theme import to the end of sass +- [#2550](https://github.com/poanetwork/blockscout/pull/2550) - correctly encode decimal values for frontend +- [#2549](https://github.com/poanetwork/blockscout/pull/2549) - Fix wrong colour of tooltip +- [#2548](https://github.com/poanetwork/blockscout/pull/2548) - CSS preload support in Firefox +- [#2547](https://github.com/poanetwork/blockscout/pull/2547) - do not show eth value if it's zero on the transaction overview page +- [#2543](https://github.com/poanetwork/blockscout/pull/2543) - do not hide search input during logs search +- [#2524](https://github.com/poanetwork/blockscout/pull/2524) - fix dark theme validator data styles +- [#2532](https://github.com/poanetwork/blockscout/pull/2532) - don't show empty token transfers on the transaction overview page +- [#2528](https://github.com/poanetwork/blockscout/pull/2528) - fix coin history chart data +- [#2520](https://github.com/poanetwork/blockscout/pull/2520) - Hide loading message when fetching is failed +- [#2523](https://github.com/poanetwork/blockscout/pull/2523) - Avoid importing internal_transactions of pending transactions +- [#2519](https://github.com/poanetwork/blockscout/pull/2519) - enable `First` page button in pagination +- [#2518](https://github.com/poanetwork/blockscout/pull/2518) - create suggested indexes +- [#2517](https://github.com/poanetwork/blockscout/pull/2517) - remove duplicate indexes +- [#2515](https://github.com/poanetwork/blockscout/pull/2515) - do not aggregate NFT token transfers +- [#2514](https://github.com/poanetwork/blockscout/pull/2514) - Isolating of staking dapp css && extracting of non-critical css +- [#2512](https://github.com/poanetwork/blockscout/pull/2512) - alert link fix +- [#2509](https://github.com/poanetwork/blockscout/pull/2509) - value-ticker gaps fix +- [#2508](https://github.com/poanetwork/blockscout/pull/2508) - logs view columns fix +- [#2506](https://github.com/poanetwork/blockscout/pull/2506) - fix two active tab in the top menu +- [#2503](https://github.com/poanetwork/blockscout/pull/2503) - Mitigate autocompletion library influence to page loading performance +- [#2502](https://github.com/poanetwork/blockscout/pull/2502) - increase reward task timeout +- [#2463](https://github.com/poanetwork/blockscout/pull/2463) - dark theme fixes +- [#2496](https://github.com/poanetwork/blockscout/pull/2496) - fix docker build +- [#2495](https://github.com/poanetwork/blockscout/pull/2495) - fix logs for indexed chain +- [#2459](https://github.com/poanetwork/blockscout/pull/2459) - fix top addresses query +- [#2425](https://github.com/poanetwork/blockscout/pull/2425) - Force to show address view for checksummed address even if it is not in DB +- [#2551](https://github.com/poanetwork/blockscout/pull/2551) - Correctly handle dynamically created Bootstrap tooltips ### Chore +- [#2554](https://github.com/poanetwork/blockscout/pull/2554) - remove extra slash for endpoint url in docs +- [#2552](https://github.com/poanetwork/blockscout/pull/2552) - remove brackets for token holders percentage +- [#2507](https://github.com/poanetwork/blockscout/pull/2507) - update minor version of ecto, ex_machina, phoenix_live_reload +- [#2516](https://github.com/poanetwork/blockscout/pull/2516) - update absinthe plug from fork +- [#2473](https://github.com/poanetwork/blockscout/pull/2473) - get rid of cldr warnings +- [#2402](https://github.com/poanetwork/blockscout/pull/2402) - bump otp version to 22.0 +- [#2492](https://github.com/poanetwork/blockscout/pull/2492) - hide decoded row if event is not decoded +- [#2490](https://github.com/poanetwork/blockscout/pull/2490) - enable credo duplicated code check +- [#2432](https://github.com/poanetwork/blockscout/pull/2432) - bump credo version +- [#2457](https://github.com/poanetwork/blockscout/pull/2457) - update mix.lock +- [#2435](https://github.com/poanetwork/blockscout/pull/2435) - Replace deprecated extract-text-webpack-plugin with mini-css-extract-plugin +- [#2450](https://github.com/poanetwork/blockscout/pull/2450) - Fix clearance of logs and node_modules folders in clearing script +- [#2434](https://github.com/poanetwork/blockscout/pull/2434) - get rid of timex warnings +- [#2402](https://github.com/poanetwork/blockscout/pull/2402) - bump otp version to 22.0 +- [#2373](https://github.com/poanetwork/blockscout/pull/2373) - Add script to validate internal_transactions constraint for large DBs -- [#2554](https://github.com/poanetwork/blockscout/pull/2554) - remove extra slash for endpoint url in docs -- [#2552](https://github.com/poanetwork/blockscout/pull/2552) - remove brackets for token holders percentage -- [#2507](https://github.com/poanetwork/blockscout/pull/2507) - update minor version of ecto, ex_machina, phoenix_live_reload -- [#2516](https://github.com/poanetwork/blockscout/pull/2516) - update absinthe plug from fork -- [#2473](https://github.com/poanetwork/blockscout/pull/2473) - get rid of cldr warnings -- [#2402](https://github.com/poanetwork/blockscout/pull/2402) - bump otp version to 22.0 -- [#2492](https://github.com/poanetwork/blockscout/pull/2492) - hide decoded row if event is not decoded -- [#2490](https://github.com/poanetwork/blockscout/pull/2490) - enable credo duplicated code check -- [#2432](https://github.com/poanetwork/blockscout/pull/2432) - bump credo version -- [#2457](https://github.com/poanetwork/blockscout/pull/2457) - update mix.lock -- [#2435](https://github.com/poanetwork/blockscout/pull/2435) - Replace deprecated extract-text-webpack-plugin with mini-css-extract-plugin -- [#2450](https://github.com/poanetwork/blockscout/pull/2450) - Fix clearance of logs and node_modules folders in clearing script -- [#2434](https://github.com/poanetwork/blockscout/pull/2434) - get rid of timex warnings -- [#2402](https://github.com/poanetwork/blockscout/pull/2402) - bump otp version to 22.0 -- [#2373](https://github.com/poanetwork/blockscout/pull/2373) - Add script to validate internal_transactions constraint for large DBs ## 2.0.2-beta ### Features - -- [#2412](https://github.com/poanetwork/blockscout/pull/2412) - dark theme -- [#2399](https://github.com/poanetwork/blockscout/pull/2399) - decode verified smart contract's logs -- [#2391](https://github.com/poanetwork/blockscout/pull/2391) - Controllers Improvements -- [#2379](https://github.com/poanetwork/blockscout/pull/2379) - Disable network selector when is empty -- [#2374](https://github.com/poanetwork/blockscout/pull/2374) - decode constructor arguments for verified smart contracts -- [#2366](https://github.com/poanetwork/blockscout/pull/2366) - paginate eth logs -- [#2360](https://github.com/poanetwork/blockscout/pull/2360) - add default evm version to smart contract verification -- [#2352](https://github.com/poanetwork/blockscout/pull/2352) - Fetch rewards in parallel with transactions -- [#2294](https://github.com/poanetwork/blockscout/pull/2294) - add healthy block period checking endpoint -- [#2324](https://github.com/poanetwork/blockscout/pull/2324) - set timeout for loading message on the main page +- [#2412](https://github.com/poanetwork/blockscout/pull/2412) - dark theme +- [#2399](https://github.com/poanetwork/blockscout/pull/2399) - decode verified smart contract's logs +- [#2391](https://github.com/poanetwork/blockscout/pull/2391) - Controllers Improvements +- [#2379](https://github.com/poanetwork/blockscout/pull/2379) - Disable network selector when is empty +- [#2374](https://github.com/poanetwork/blockscout/pull/2374) - decode constructor arguments for verified smart contracts +- [#2366](https://github.com/poanetwork/blockscout/pull/2366) - paginate eth logs +- [#2360](https://github.com/poanetwork/blockscout/pull/2360) - add default evm version to smart contract verification +- [#2352](https://github.com/poanetwork/blockscout/pull/2352) - Fetch rewards in parallel with transactions +- [#2294](https://github.com/poanetwork/blockscout/pull/2294) - add healthy block period checking endpoint +- [#2324](https://github.com/poanetwork/blockscout/pull/2324) - set timeout for loading message on the main page ### Fixes - -- [#2421](https://github.com/poanetwork/blockscout/pull/2421) - Fix hiding of loader for txs on the main page -- [#2420](https://github.com/poanetwork/blockscout/pull/2420) - fetch data from cache in healthy endpoint -- [#2416](https://github.com/poanetwork/blockscout/pull/2416) - Fix "page not found" handling in the router -- [#2413](https://github.com/poanetwork/blockscout/pull/2413) - remove outer tables for decoded data -- [#2410](https://github.com/poanetwork/blockscout/pull/2410) - preload smart contract for logs decoding -- [#2405](https://github.com/poanetwork/blockscout/pull/2405) - added templates for table loader and tile loader -- [#2398](https://github.com/poanetwork/blockscout/pull/2398) - show only one decoded candidate -- [#2389](https://github.com/poanetwork/blockscout/pull/2389) - Reduce Lodash lib size (86% of lib methods are not used) -- [#2388](https://github.com/poanetwork/blockscout/pull/2388) - add create2 support to geth's js tracer -- [#2387](https://github.com/poanetwork/blockscout/pull/2387) - fix not existing keys in transaction json rpc -- [#2378](https://github.com/poanetwork/blockscout/pull/2378) - Page performance: exclude moment.js localization files except EN, remove unused css -- [#2368](https://github.com/poanetwork/blockscout/pull/2368) - add two columns of smart contract info -- [#2375](https://github.com/poanetwork/blockscout/pull/2375) - Update created_contract_code_indexed_at on transaction import conflict -- [#2346](https://github.com/poanetwork/blockscout/pull/2346) - Avoid fetching internal transactions of blocks that still need refetching -- [#2350](https://github.com/poanetwork/blockscout/pull/2350) - fix invalid User agent headers -- [#2345](https://github.com/poanetwork/blockscout/pull/2345) - do not override existing market records -- [#2337](https://github.com/poanetwork/blockscout/pull/2337) - set url params for prod explicitly -- [#2341](https://github.com/poanetwork/blockscout/pull/2341) - fix transaction input json encoding -- [#2311](https://github.com/poanetwork/blockscout/pull/2311) - fix market history overriding with zeroes -- [#2310](https://github.com/poanetwork/blockscout/pull/2310) - parse url for api docs -- [#2299](https://github.com/poanetwork/blockscout/pull/2299) - fix interpolation in error message -- [#2303](https://github.com/poanetwork/blockscout/pull/2303) - fix transaction csv download link -- [#2304](https://github.com/poanetwork/blockscout/pull/2304) - footer grid fix for md resolution -- [#2291](https://github.com/poanetwork/blockscout/pull/2291) - dashboard fix for md resolution, transactions load fix, block info row fix, addresses page issue, check mark issue -- [#2326](https://github.com/poanetwork/blockscout/pull/2326) - fix nested constructor arguments +- [#2421](https://github.com/poanetwork/blockscout/pull/2421) - Fix hiding of loader for txs on the main page +- [#2420](https://github.com/poanetwork/blockscout/pull/2420) - fetch data from cache in healthy endpoint +- [#2416](https://github.com/poanetwork/blockscout/pull/2416) - Fix "page not found" handling in the router +- [#2413](https://github.com/poanetwork/blockscout/pull/2413) - remove outer tables for decoded data +- [#2410](https://github.com/poanetwork/blockscout/pull/2410) - preload smart contract for logs decoding +- [#2405](https://github.com/poanetwork/blockscout/pull/2405) - added templates for table loader and tile loader +- [#2398](https://github.com/poanetwork/blockscout/pull/2398) - show only one decoded candidate +- [#2389](https://github.com/poanetwork/blockscout/pull/2389) - Reduce Lodash lib size (86% of lib methods are not used) +- [#2388](https://github.com/poanetwork/blockscout/pull/2388) - add create2 support to geth's js tracer +- [#2387](https://github.com/poanetwork/blockscout/pull/2387) - fix not existing keys in transaction json rpc +- [#2378](https://github.com/poanetwork/blockscout/pull/2378) - Page performance: exclude moment.js localization files except EN, remove unused css +- [#2368](https://github.com/poanetwork/blockscout/pull/2368) - add two columns of smart contract info +- [#2375](https://github.com/poanetwork/blockscout/pull/2375) - Update created_contract_code_indexed_at on transaction import conflict +- [#2346](https://github.com/poanetwork/blockscout/pull/2346) - Avoid fetching internal transactions of blocks that still need refetching +- [#2350](https://github.com/poanetwork/blockscout/pull/2350) - fix invalid User agent headers +- [#2345](https://github.com/poanetwork/blockscout/pull/2345) - do not override existing market records +- [#2337](https://github.com/poanetwork/blockscout/pull/2337) - set url params for prod explicitly +- [#2341](https://github.com/poanetwork/blockscout/pull/2341) - fix transaction input json encoding +- [#2311](https://github.com/poanetwork/blockscout/pull/2311) - fix market history overriding with zeroes +- [#2310](https://github.com/poanetwork/blockscout/pull/2310) - parse url for api docs +- [#2299](https://github.com/poanetwork/blockscout/pull/2299) - fix interpolation in error message +- [#2303](https://github.com/poanetwork/blockscout/pull/2303) - fix transaction csv download link +- [#2304](https://github.com/poanetwork/blockscout/pull/2304) - footer grid fix for md resolution +- [#2291](https://github.com/poanetwork/blockscout/pull/2291) - dashboard fix for md resolution, transactions load fix, block info row fix, addresses page issue, check mark issue +- [#2326](https://github.com/poanetwork/blockscout/pull/2326) - fix nested constructor arguments ### Chore +- [#2422](https://github.com/poanetwork/blockscout/pull/2422) - check if address_id is binary in token_transfers_csv endpoint +- [#2418](https://github.com/poanetwork/blockscout/pull/2418) - Remove parentheses in market cap percentage +- [#2401](https://github.com/poanetwork/blockscout/pull/2401) - add ENV vars to manage updating period of average block time and market history cache +- [#2363](https://github.com/poanetwork/blockscout/pull/2363) - add parameters example for eth rpc +- [#2342](https://github.com/poanetwork/blockscout/pull/2342) - Upgrade Postgres image version in Docker setup +- [#2325](https://github.com/poanetwork/blockscout/pull/2325) - Reduce function input to address' hash only where possible +- [#2323](https://github.com/poanetwork/blockscout/pull/2323) - Group Explorer caches +- [#2305](https://github.com/poanetwork/blockscout/pull/2305) - Improve Address controllers +- [#2302](https://github.com/poanetwork/blockscout/pull/2302) - fix names for xDai source +- [#2289](https://github.com/poanetwork/blockscout/pull/2289) - Optional websockets for dev environment +- [#2307](https://github.com/poanetwork/blockscout/pull/2307) - add GoJoy to README +- [#2293](https://github.com/poanetwork/blockscout/pull/2293) - remove request idle timeout configuration +- [#2255](https://github.com/poanetwork/blockscout/pull/2255) - bump elixir version to 1.9.0 -- [#2422](https://github.com/poanetwork/blockscout/pull/2422) - check if address_id is binary in token_transfers_csv endpoint -- [#2418](https://github.com/poanetwork/blockscout/pull/2418) - Remove parentheses in market cap percentage -- [#2401](https://github.com/poanetwork/blockscout/pull/2401) - add ENV vars to manage updating period of average block time and market history cache -- [#2363](https://github.com/poanetwork/blockscout/pull/2363) - add parameters example for eth rpc -- [#2342](https://github.com/poanetwork/blockscout/pull/2342) - Upgrade Postgres image version in Docker setup -- [#2325](https://github.com/poanetwork/blockscout/pull/2325) - Reduce function input to address' hash only where possible -- [#2323](https://github.com/poanetwork/blockscout/pull/2323) - Group Explorer caches -- [#2305](https://github.com/poanetwork/blockscout/pull/2305) - Improve Address controllers -- [#2302](https://github.com/poanetwork/blockscout/pull/2302) - fix names for xDai source -- [#2289](https://github.com/poanetwork/blockscout/pull/2289) - Optional websockets for dev environment -- [#2307](https://github.com/poanetwork/blockscout/pull/2307) - add GoJoy to README -- [#2293](https://github.com/poanetwork/blockscout/pull/2293) - remove request idle timeout configuration -- [#2255](https://github.com/poanetwork/blockscout/pull/2255) - bump elixir version to 1.9.0 ## 2.0.1-beta ### Features - -- [#2283](https://github.com/poanetwork/blockscout/pull/2283) - Add transactions cache -- [#2182](https://github.com/poanetwork/blockscout/pull/2182) - add market history cache -- [#2109](https://github.com/poanetwork/blockscout/pull/2109) - use bigger updates instead of `Multi` transactions in BlocksTransactionsMismatch -- [#2075](https://github.com/poanetwork/blockscout/pull/2075) - add blocks cache -- [#2151](https://github.com/poanetwork/blockscout/pull/2151) - hide dropdown menu then other networks list is empty -- [#2191](https://github.com/poanetwork/blockscout/pull/2191) - allow to configure token metadata update interval -- [#2146](https://github.com/poanetwork/blockscout/pull/2146) - feat: add eth_getLogs rpc endpoint -- [#2216](https://github.com/poanetwork/blockscout/pull/2216) - Improve token's controllers by avoiding unnecessary preloads -- [#2235](https://github.com/poanetwork/blockscout/pull/2235) - save and show additional validation fields to smart contract -- [#2190](https://github.com/poanetwork/blockscout/pull/2190) - show all token transfers -- [#2193](https://github.com/poanetwork/blockscout/pull/2193) - feat: add BLOCKSCOUT_HOST, and use it in API docs -- [#2266](https://github.com/poanetwork/blockscout/pull/2266) - allow excluding uncles from average block time calculation +- [#2283](https://github.com/poanetwork/blockscout/pull/2283) - Add transactions cache +- [#2182](https://github.com/poanetwork/blockscout/pull/2182) - add market history cache +- [#2109](https://github.com/poanetwork/blockscout/pull/2109) - use bigger updates instead of `Multi` transactions in BlocksTransactionsMismatch +- [#2075](https://github.com/poanetwork/blockscout/pull/2075) - add blocks cache +- [#2151](https://github.com/poanetwork/blockscout/pull/2151) - hide dropdown menu then other networks list is empty +- [#2191](https://github.com/poanetwork/blockscout/pull/2191) - allow to configure token metadata update interval +- [#2146](https://github.com/poanetwork/blockscout/pull/2146) - feat: add eth_getLogs rpc endpoint +- [#2216](https://github.com/poanetwork/blockscout/pull/2216) - Improve token's controllers by avoiding unnecessary preloads +- [#2235](https://github.com/poanetwork/blockscout/pull/2235) - save and show additional validation fields to smart contract +- [#2190](https://github.com/poanetwork/blockscout/pull/2190) - show all token transfers +- [#2193](https://github.com/poanetwork/blockscout/pull/2193) - feat: add BLOCKSCOUT_HOST, and use it in API docs +- [#2266](https://github.com/poanetwork/blockscout/pull/2266) - allow excluding uncles from average block time calculation ### Fixes - -- [#2290](https://github.com/poanetwork/blockscout/pull/2290) - Add eth_get_balance.json to AddressView's render -- [#2286](https://github.com/poanetwork/blockscout/pull/2286) - banner stats issues on sm resolutions, transactions title issue -- [#2284](https://github.com/poanetwork/blockscout/pull/2284) - add 404 status for not existing pages -- [#2244](https://github.com/poanetwork/blockscout/pull/2244) - fix internal transactions failing to be indexed because of constraint -- [#2281](https://github.com/poanetwork/blockscout/pull/2281) - typo issues, dropdown issues -- [#2278](https://github.com/poanetwork/blockscout/pull/2278) - increase threshold for scientific notation -- [#2275](https://github.com/poanetwork/blockscout/pull/2275) - Description for networks selector -- [#2263](https://github.com/poanetwork/blockscout/pull/2263) - added an ability to close network selector on outside click -- [#2257](https://github.com/poanetwork/blockscout/pull/2257) - 'download csv' button added to different tabs -- [#2242](https://github.com/poanetwork/blockscout/pull/2242) - added styles for 'download csv' button -- [#2261](https://github.com/poanetwork/blockscout/pull/2261) - header logo aligned to the center properly -- [#2254](https://github.com/poanetwork/blockscout/pull/2254) - search length issue, tile link wrapping issue -- [#2238](https://github.com/poanetwork/blockscout/pull/2238) - header content alignment issue, hide navbar on outside click -- [#2229](https://github.com/poanetwork/blockscout/pull/2229) - gap issue between qr and copy button in token transfers, top cards width and height issue -- [#2201](https://github.com/poanetwork/blockscout/pull/2201) - footer columns fix -- [#2179](https://github.com/poanetwork/blockscout/pull/2179) - fix docker build error -- [#2165](https://github.com/poanetwork/blockscout/pull/2165) - sort blocks by timestamp when calculating average block time -- [#2175](https://github.com/poanetwork/blockscout/pull/2175) - fix coinmarketcap response errors -- [#2164](https://github.com/poanetwork/blockscout/pull/2164) - fix large numbers in balance view card -- [#2155](https://github.com/poanetwork/blockscout/pull/2155) - fix pending transaction query -- [#2183](https://github.com/poanetwork/blockscout/pull/2183) - tile content aligning for mobile resolution fix, dai logo fix -- [#2162](https://github.com/poanetwork/blockscout/pull/2162) - contract creation tile color changed -- [#2144](https://github.com/poanetwork/blockscout/pull/2144) - 'page not found' images path fixed for goerli -- [#2142](https://github.com/poanetwork/blockscout/pull/2142) - Removed posdao theme and logo, added 'page not found' image for goerli -- [#2138](https://github.com/poanetwork/blockscout/pull/2138) - badge colors issue, api titles issue -- [#2129](https://github.com/poanetwork/blockscout/pull/2129) - Fix for width of explorer elements -- [#2121](https://github.com/poanetwork/blockscout/pull/2121) - Binding of 404 page -- [#2120](https://github.com/poanetwork/blockscout/pull/2120) - footer links and socials focus color issue -- [#2113](https://github.com/poanetwork/blockscout/pull/2113) - renewed logos for rsk, dai, blockscout; themes color changes for lukso; error images for lukso -- [#2112](https://github.com/poanetwork/blockscout/pull/2112) - themes color improvements, dropdown color issue -- [#2110](https://github.com/poanetwork/blockscout/pull/2110) - themes colors issues, ui issues -- [#2103](https://github.com/poanetwork/blockscout/pull/2103) - ui issues for all themes -- [#2090](https://github.com/poanetwork/blockscout/pull/2090) - updated some ETC theme colors -- [#2096](https://github.com/poanetwork/blockscout/pull/2096) - RSK theme fixes -- [#2093](https://github.com/poanetwork/blockscout/pull/2093) - detect token transfer type for deprecated erc721 spec -- [#2111](https://github.com/poanetwork/blockscout/pull/2111) - improve address transaction controller -- [#2108](https://github.com/poanetwork/blockscout/pull/2108) - fix uncle fetching without full transactions -- [#2128](https://github.com/poanetwork/blockscout/pull/2128) - add new function clause for uncle errors -- [#2123](https://github.com/poanetwork/blockscout/pull/2123) - fix coins percentage view -- [#2119](https://github.com/poanetwork/blockscout/pull/2119) - fix map logging -- [#2130](https://github.com/poanetwork/blockscout/pull/2130) - fix navigation -- [#2148](https://github.com/poanetwork/blockscout/pull/2148) - filter pending logs -- [#2147](https://github.com/poanetwork/blockscout/pull/2147) - add rsk format of checksum -- [#2149](https://github.com/poanetwork/blockscout/pull/2149) - remove pending transaction count -- [#2177](https://github.com/poanetwork/blockscout/pull/2177) - remove duplicate entries from UncleBlock's Fetcher -- [#2169](https://github.com/poanetwork/blockscout/pull/2169) - add more validator reward types for xDai -- [#2173](https://github.com/poanetwork/blockscout/pull/2173) - handle correctly empty transactions -- [#2174](https://github.com/poanetwork/blockscout/pull/2174) - fix reward channel joining -- [#2186](https://github.com/poanetwork/blockscout/pull/2186) - fix net version test -- [#2196](https://github.com/poanetwork/blockscout/pull/2196) - Nethermind client fixes -- [#2237](https://github.com/poanetwork/blockscout/pull/2237) - fix rsk total_supply -- [#2198](https://github.com/poanetwork/blockscout/pull/2198) - reduce transaction status and error constraint -- [#2167](https://github.com/poanetwork/blockscout/pull/2167) - feat: document eth rpc api mimicking endpoints -- [#2225](https://github.com/poanetwork/blockscout/pull/2225) - fix metadata decoding in Solidity 0.5.9 smart contract verification -- [#2204](https://github.com/poanetwork/blockscout/pull/2204) - fix large contract verification -- [#2258](https://github.com/poanetwork/blockscout/pull/2258) - reduce BlocksTransactionsMismatch memory footprint -- [#2247](https://github.com/poanetwork/blockscout/pull/2247) - hide logs search if there are no logs -- [#2248](https://github.com/poanetwork/blockscout/pull/2248) - sort block after query execution for average block time -- [#2249](https://github.com/poanetwork/blockscout/pull/2249) - More transaction controllers improvements -- [#2267](https://github.com/poanetwork/blockscout/pull/2267) - Modify implementation of `where_transaction_has_multiple_internal_transactions` -- [#2270](https://github.com/poanetwork/blockscout/pull/2270) - Remove duplicate params in `Indexer.Fetcher.TokenBalance` -- [#2268](https://github.com/poanetwork/blockscout/pull/2268) - remove not existing assigns in html code -- [#2276](https://github.com/poanetwork/blockscout/pull/2276) - remove port in docs +- [#2290](https://github.com/poanetwork/blockscout/pull/2290) - Add eth_get_balance.json to AddressView's render +- [#2286](https://github.com/poanetwork/blockscout/pull/2286) - banner stats issues on sm resolutions, transactions title issue +- [#2284](https://github.com/poanetwork/blockscout/pull/2284) - add 404 status for not existing pages +- [#2244](https://github.com/poanetwork/blockscout/pull/2244) - fix internal transactions failing to be indexed because of constraint +- [#2281](https://github.com/poanetwork/blockscout/pull/2281) - typo issues, dropdown issues +- [#2278](https://github.com/poanetwork/blockscout/pull/2278) - increase threshold for scientific notation +- [#2275](https://github.com/poanetwork/blockscout/pull/2275) - Description for networks selector +- [#2263](https://github.com/poanetwork/blockscout/pull/2263) - added an ability to close network selector on outside click +- [#2257](https://github.com/poanetwork/blockscout/pull/2257) - 'download csv' button added to different tabs +- [#2242](https://github.com/poanetwork/blockscout/pull/2242) - added styles for 'download csv' button +- [#2261](https://github.com/poanetwork/blockscout/pull/2261) - header logo aligned to the center properly +- [#2254](https://github.com/poanetwork/blockscout/pull/2254) - search length issue, tile link wrapping issue +- [#2238](https://github.com/poanetwork/blockscout/pull/2238) - header content alignment issue, hide navbar on outside click +- [#2229](https://github.com/poanetwork/blockscout/pull/2229) - gap issue between qr and copy button in token transfers, top cards width and height issue +- [#2201](https://github.com/poanetwork/blockscout/pull/2201) - footer columns fix +- [#2179](https://github.com/poanetwork/blockscout/pull/2179) - fix docker build error +- [#2165](https://github.com/poanetwork/blockscout/pull/2165) - sort blocks by timestamp when calculating average block time +- [#2175](https://github.com/poanetwork/blockscout/pull/2175) - fix coinmarketcap response errors +- [#2164](https://github.com/poanetwork/blockscout/pull/2164) - fix large numbers in balance view card +- [#2155](https://github.com/poanetwork/blockscout/pull/2155) - fix pending transaction query +- [#2183](https://github.com/poanetwork/blockscout/pull/2183) - tile content aligning for mobile resolution fix, dai logo fix +- [#2162](https://github.com/poanetwork/blockscout/pull/2162) - contract creation tile color changed +- [#2144](https://github.com/poanetwork/blockscout/pull/2144) - 'page not found' images path fixed for goerli +- [#2142](https://github.com/poanetwork/blockscout/pull/2142) - Removed posdao theme and logo, added 'page not found' image for goerli +- [#2138](https://github.com/poanetwork/blockscout/pull/2138) - badge colors issue, api titles issue +- [#2129](https://github.com/poanetwork/blockscout/pull/2129) - Fix for width of explorer elements +- [#2121](https://github.com/poanetwork/blockscout/pull/2121) - Binding of 404 page +- [#2120](https://github.com/poanetwork/blockscout/pull/2120) - footer links and socials focus color issue +- [#2113](https://github.com/poanetwork/blockscout/pull/2113) - renewed logos for rsk, dai, blockscout; themes color changes for lukso; error images for lukso +- [#2112](https://github.com/poanetwork/blockscout/pull/2112) - themes color improvements, dropdown color issue +- [#2110](https://github.com/poanetwork/blockscout/pull/2110) - themes colors issues, ui issues +- [#2103](https://github.com/poanetwork/blockscout/pull/2103) - ui issues for all themes +- [#2090](https://github.com/poanetwork/blockscout/pull/2090) - updated some ETC theme colors +- [#2096](https://github.com/poanetwork/blockscout/pull/2096) - RSK theme fixes +- [#2093](https://github.com/poanetwork/blockscout/pull/2093) - detect token transfer type for deprecated erc721 spec +- [#2111](https://github.com/poanetwork/blockscout/pull/2111) - improve address transaction controller +- [#2108](https://github.com/poanetwork/blockscout/pull/2108) - fix uncle fetching without full transactions +- [#2128](https://github.com/poanetwork/blockscout/pull/2128) - add new function clause for uncle errors +- [#2123](https://github.com/poanetwork/blockscout/pull/2123) - fix coins percentage view +- [#2119](https://github.com/poanetwork/blockscout/pull/2119) - fix map logging +- [#2130](https://github.com/poanetwork/blockscout/pull/2130) - fix navigation +- [#2148](https://github.com/poanetwork/blockscout/pull/2148) - filter pending logs +- [#2147](https://github.com/poanetwork/blockscout/pull/2147) - add rsk format of checksum +- [#2149](https://github.com/poanetwork/blockscout/pull/2149) - remove pending transaction count +- [#2177](https://github.com/poanetwork/blockscout/pull/2177) - remove duplicate entries from UncleBlock's Fetcher +- [#2169](https://github.com/poanetwork/blockscout/pull/2169) - add more validator reward types for xDai +- [#2173](https://github.com/poanetwork/blockscout/pull/2173) - handle correctly empty transactions +- [#2174](https://github.com/poanetwork/blockscout/pull/2174) - fix reward channel joining +- [#2186](https://github.com/poanetwork/blockscout/pull/2186) - fix net version test +- [#2196](https://github.com/poanetwork/blockscout/pull/2196) - Nethermind client fixes +- [#2237](https://github.com/poanetwork/blockscout/pull/2237) - fix rsk total_supply +- [#2198](https://github.com/poanetwork/blockscout/pull/2198) - reduce transaction status and error constraint +- [#2167](https://github.com/poanetwork/blockscout/pull/2167) - feat: document eth rpc api mimicking endpoints +- [#2225](https://github.com/poanetwork/blockscout/pull/2225) - fix metadata decoding in Solidity 0.5.9 smart contract verification +- [#2204](https://github.com/poanetwork/blockscout/pull/2204) - fix large contract verification +- [#2258](https://github.com/poanetwork/blockscout/pull/2258) - reduce BlocksTransactionsMismatch memory footprint +- [#2247](https://github.com/poanetwork/blockscout/pull/2247) - hide logs search if there are no logs +- [#2248](https://github.com/poanetwork/blockscout/pull/2248) - sort block after query execution for average block time +- [#2249](https://github.com/poanetwork/blockscout/pull/2249) - More transaction controllers improvements +- [#2267](https://github.com/poanetwork/blockscout/pull/2267) - Modify implementation of `where_transaction_has_multiple_internal_transactions` +- [#2270](https://github.com/poanetwork/blockscout/pull/2270) - Remove duplicate params in `Indexer.Fetcher.TokenBalance` +- [#2268](https://github.com/poanetwork/blockscout/pull/2268) - remove not existing assigns in html code +- [#2276](https://github.com/poanetwork/blockscout/pull/2276) - remove port in docs ### Chore +- [#2127](https://github.com/poanetwork/blockscout/pull/2127) - use previouse chromedriver version +- [#2118](https://github.com/poanetwork/blockscout/pull/2118) - show only the last decompiled contract +- [#2255](https://github.com/poanetwork/blockscout/pull/2255) - upgrade elixir version to 1.9.0 +- [#2256](https://github.com/poanetwork/blockscout/pull/2256) - use the latest version of chromedriver -- [#2127](https://github.com/poanetwork/blockscout/pull/2127) - use previouse chromedriver version -- [#2118](https://github.com/poanetwork/blockscout/pull/2118) - show only the last decompiled contract -- [#2255](https://github.com/poanetwork/blockscout/pull/2255) - upgrade elixir version to 1.9.0 -- [#2256](https://github.com/poanetwork/blockscout/pull/2256) - use the latest version of chromedriver ## 2.0.0-beta ### Features - -- [#2044](https://github.com/poanetwork/blockscout/pull/2044) - New network selector. -- [#2091](https://github.com/poanetwork/blockscout/pull/2091) - Added "Question" modal. -- [#1963](https://github.com/poanetwork/blockscout/pull/1963), [#1959](https://github.com/poanetwork/blockscout/pull/1959), [#1948](https://github.com/poanetwork/blockscout/pull/1948), [#1936](https://github.com/poanetwork/blockscout/pull/1936), [#1925](https://github.com/poanetwork/blockscout/pull/1925), [#1922](https://github.com/poanetwork/blockscout/pull/1922), [#1903](https://github.com/poanetwork/blockscout/pull/1903), [#1874](https://github.com/poanetwork/blockscout/pull/1874), [#1895](https://github.com/poanetwork/blockscout/pull/1895), [#2031](https://github.com/poanetwork/blockscout/pull/2031), [#2073](https://github.com/poanetwork/blockscout/pull/2073), [#2074](https://github.com/poanetwork/blockscout/pull/2074), - added new themes and logos for poa, eth, rinkeby, goerli, ropsten, kovan, sokol, xdai, etc, rsk and default theme -- [#1726](https://github.com/poanetwork/blockscout/pull/2071) - Updated styles for the new smart contract page. -- [#2081](https://github.com/poanetwork/blockscout/pull/2081) - Tooltip for 'more' button, explorers logos added -- [#2010](https://github.com/poanetwork/blockscout/pull/2010) - added "block not found" and "tx not found pages" -- [#1928](https://github.com/poanetwork/blockscout/pull/1928) - pagination styles were updated -- [#1940](https://github.com/poanetwork/blockscout/pull/1940) - qr modal button and background issue -- [#1907](https://github.com/poanetwork/blockscout/pull/1907) - dropdown color bug fix (lukso theme) and tooltip color bug fix -- [#1859](https://github.com/poanetwork/blockscout/pull/1859) - feat: show raw transaction traces -- [#1941](https://github.com/poanetwork/blockscout/pull/1941) - feat: add on demand fetching and stale attr to rpc -- [#1957](https://github.com/poanetwork/blockscout/pull/1957) - Calculate stakes ratio before insert pools -- [#1956](https://github.com/poanetwork/blockscout/pull/1956) - add logs tab to address -- [#1952](https://github.com/poanetwork/blockscout/pull/1952) - feat: exclude empty contracts by default -- [#1954](https://github.com/poanetwork/blockscout/pull/1954) - feat: use creation init on self destruct -- [#2036](https://github.com/poanetwork/blockscout/pull/2036) - New tables for staking pools and delegators -- [#1974](https://github.com/poanetwork/blockscout/pull/1974) - feat: previous page button logic -- [#1999](https://github.com/poanetwork/blockscout/pull/1999) - load data async on addresses page -- [#1807](https://github.com/poanetwork/blockscout/pull/1807) - New theming capabilites. -- [#2040](https://github.com/poanetwork/blockscout/pull/2040) - Verification links to other explorers for ETH -- [#2037](https://github.com/poanetwork/blockscout/pull/2037) - add address logs search functionality -- [#2012](https://github.com/poanetwork/blockscout/pull/2012) - make all pages pagination async -- [#2064](https://github.com/poanetwork/blockscout/pull/2064) - feat: add fields to tx apis, small cleanups -- [#2100](https://github.com/poanetwork/blockscout/pull/2100) - feat: eth_get_balance rpc endpoint +- [#2044](https://github.com/poanetwork/blockscout/pull/2044) - New network selector. +- [#2091](https://github.com/poanetwork/blockscout/pull/2091) - Added "Question" modal. +- [#1963](https://github.com/poanetwork/blockscout/pull/1963), [#1959](https://github.com/poanetwork/blockscout/pull/1959), [#1948](https://github.com/poanetwork/blockscout/pull/1948), [#1936](https://github.com/poanetwork/blockscout/pull/1936), [#1925](https://github.com/poanetwork/blockscout/pull/1925), [#1922](https://github.com/poanetwork/blockscout/pull/1922), [#1903](https://github.com/poanetwork/blockscout/pull/1903), [#1874](https://github.com/poanetwork/blockscout/pull/1874), [#1895](https://github.com/poanetwork/blockscout/pull/1895), [#2031](https://github.com/poanetwork/blockscout/pull/2031), [#2073](https://github.com/poanetwork/blockscout/pull/2073), [#2074](https://github.com/poanetwork/blockscout/pull/2074), - added new themes and logos for poa, eth, rinkeby, goerli, ropsten, kovan, sokol, xdai, etc, rsk and default theme +- [#1726](https://github.com/poanetwork/blockscout/pull/2071) - Updated styles for the new smart contract page. +- [#2081](https://github.com/poanetwork/blockscout/pull/2081) - Tooltip for 'more' button, explorers logos added +- [#2010](https://github.com/poanetwork/blockscout/pull/2010) - added "block not found" and "tx not found pages" +- [#1928](https://github.com/poanetwork/blockscout/pull/1928) - pagination styles were updated +- [#1940](https://github.com/poanetwork/blockscout/pull/1940) - qr modal button and background issue +- [#1907](https://github.com/poanetwork/blockscout/pull/1907) - dropdown color bug fix (lukso theme) and tooltip color bug fix +- [#1859](https://github.com/poanetwork/blockscout/pull/1859) - feat: show raw transaction traces +- [#1941](https://github.com/poanetwork/blockscout/pull/1941) - feat: add on demand fetching and stale attr to rpc +- [#1957](https://github.com/poanetwork/blockscout/pull/1957) - Calculate stakes ratio before insert pools +- [#1956](https://github.com/poanetwork/blockscout/pull/1956) - add logs tab to address +- [#1952](https://github.com/poanetwork/blockscout/pull/1952) - feat: exclude empty contracts by default +- [#1954](https://github.com/poanetwork/blockscout/pull/1954) - feat: use creation init on self destruct +- [#2036](https://github.com/poanetwork/blockscout/pull/2036) - New tables for staking pools and delegators +- [#1974](https://github.com/poanetwork/blockscout/pull/1974) - feat: previous page button logic +- [#1999](https://github.com/poanetwork/blockscout/pull/1999) - load data async on addresses page +- [#1807](https://github.com/poanetwork/blockscout/pull/1807) - New theming capabilites. +- [#2040](https://github.com/poanetwork/blockscout/pull/2040) - Verification links to other explorers for ETH +- [#2037](https://github.com/poanetwork/blockscout/pull/2037) - add address logs search functionality +- [#2012](https://github.com/poanetwork/blockscout/pull/2012) - make all pages pagination async +- [#2064](https://github.com/poanetwork/blockscout/pull/2064) - feat: add fields to tx apis, small cleanups +- [#2100](https://github.com/poanetwork/blockscout/pull/2100) - feat: eth_get_balance rpc endpoint ### Fixes - -- [#2228](https://github.com/poanetwork/blockscout/pull/2228) - favorites duplication issues, active radio issue -- [#2207](https://github.com/poanetwork/blockscout/pull/2207) - new 'download csv' button design -- [#2206](https://github.com/poanetwork/blockscout/pull/2206) - added styles for 'Download All Transactions as CSV' button -- [#2099](https://github.com/poanetwork/blockscout/pull/2099) - logs search input width -- [#2098](https://github.com/poanetwork/blockscout/pull/2098) - nav dropdown issue, logo size issue -- [#2082](https://github.com/poanetwork/blockscout/pull/2082) - dropdown styles, tooltip gap fix, 404 page added -- [#2077](https://github.com/poanetwork/blockscout/pull/2077) - ui issues -- [#2072](https://github.com/poanetwork/blockscout/pull/2072) - Fixed checkmarks not showing correctly in tabs. -- [#2066](https://github.com/poanetwork/blockscout/pull/2066) - fixed length of logs search input -- [#2056](https://github.com/poanetwork/blockscout/pull/2056) - log search form styles added -- [#2043](https://github.com/poanetwork/blockscout/pull/2043) - Fixed modal dialog width for 'verify other explorers' -- [#2025](https://github.com/poanetwork/blockscout/pull/2025) - Added a new color to display transactions' errors. -- [#2033](https://github.com/poanetwork/blockscout/pull/2033) - Header nav. dropdown active element color issue -- [#2019](https://github.com/poanetwork/blockscout/pull/2019) - Fixed the missing tx hashes. -- [#2020](https://github.com/poanetwork/blockscout/pull/2020) - Fixed a bug triggered when a second click to a selected tab caused the other tabs to hide. -- [#1944](https://github.com/poanetwork/blockscout/pull/1944) - fixed styles for token's dropdown. -- [#1926](https://github.com/poanetwork/blockscout/pull/1926) - status label alignment -- [#1849](https://github.com/poanetwork/blockscout/pull/1849) - Improve chains menu -- [#1868](https://github.com/poanetwork/blockscout/pull/1868) - fix: logs list endpoint performance -- [#1822](https://github.com/poanetwork/blockscout/pull/1822) - Fix style breaks in decompiled contract code view -- [#1885](https://github.com/poanetwork/blockscout/pull/1885) - highlight reserved words in decompiled code -- [#1896](https://github.com/poanetwork/blockscout/pull/1896) - re-query tokens in top nav automplete -- [#1905](https://github.com/poanetwork/blockscout/pull/1905) - fix reorgs, uncles pagination -- [#1904](https://github.com/poanetwork/blockscout/pull/1904) - fix `BLOCK_COUNT_CACHE_TTL` env var type -- [#1915](https://github.com/poanetwork/blockscout/pull/1915) - fallback to 2 latest evm versions -- [#1937](https://github.com/poanetwork/blockscout/pull/1937) - Check the presence of overlap[i] object before retrieving properties from it -- [#1960](https://github.com/poanetwork/blockscout/pull/1960) - do not remove bold text in decompiled contacts -- [#1966](https://github.com/poanetwork/blockscout/pull/1966) - fix: add fields for contract filter performance -- [#2017](https://github.com/poanetwork/blockscout/pull/2017) - fix: fix to/from filters on tx list pages -- [#2008](https://github.com/poanetwork/blockscout/pull/2008) - add new function clause for xDai network beneficiaries -- [#2009](https://github.com/poanetwork/blockscout/pull/2009) - addresses page improvements -- [#2027](https://github.com/poanetwork/blockscout/pull/2027) - fix: `BlocksTransactionsMismatch` ignoring blocks without transactions -- [#2062](https://github.com/poanetwork/blockscout/pull/2062) - fix: uniq by hash, instead of transaction -- [#2052](https://github.com/poanetwork/blockscout/pull/2052) - allow bytes32 for name and symbol -- [#2047](https://github.com/poanetwork/blockscout/pull/2047) - fix: show creating internal transactions -- [#2014](https://github.com/poanetwork/blockscout/pull/2014) - fix: use better queries for listLogs endpoint -- [#2027](https://github.com/poanetwork/blockscout/pull/2027) - fix: `BlocksTransactionsMismatch` ignoring blocks without transactions -- [#2070](https://github.com/poanetwork/blockscout/pull/2070) - reduce `max_concurrency` of `BlocksTransactionsMismatch` fetcher -- [#2083](https://github.com/poanetwork/blockscout/pull/2083) - allow total_difficuly to be nil -- [#2086](https://github.com/poanetwork/blockscout/pull/2086) - fix geth's staticcall without output +- [#2228](https://github.com/poanetwork/blockscout/pull/2228) - favorites duplication issues, active radio issue +- [#2207](https://github.com/poanetwork/blockscout/pull/2207) - new 'download csv' button design +- [#2206](https://github.com/poanetwork/blockscout/pull/2206) - added styles for 'Download All Transactions as CSV' button +- [#2099](https://github.com/poanetwork/blockscout/pull/2099) - logs search input width +- [#2098](https://github.com/poanetwork/blockscout/pull/2098) - nav dropdown issue, logo size issue +- [#2082](https://github.com/poanetwork/blockscout/pull/2082) - dropdown styles, tooltip gap fix, 404 page added +- [#2077](https://github.com/poanetwork/blockscout/pull/2077) - ui issues +- [#2072](https://github.com/poanetwork/blockscout/pull/2072) - Fixed checkmarks not showing correctly in tabs. +- [#2066](https://github.com/poanetwork/blockscout/pull/2066) - fixed length of logs search input +- [#2056](https://github.com/poanetwork/blockscout/pull/2056) - log search form styles added +- [#2043](https://github.com/poanetwork/blockscout/pull/2043) - Fixed modal dialog width for 'verify other explorers' +- [#2025](https://github.com/poanetwork/blockscout/pull/2025) - Added a new color to display transactions' errors. +- [#2033](https://github.com/poanetwork/blockscout/pull/2033) - Header nav. dropdown active element color issue +- [#2019](https://github.com/poanetwork/blockscout/pull/2019) - Fixed the missing tx hashes. +- [#2020](https://github.com/poanetwork/blockscout/pull/2020) - Fixed a bug triggered when a second click to a selected tab caused the other tabs to hide. +- [#1944](https://github.com/poanetwork/blockscout/pull/1944) - fixed styles for token's dropdown. +- [#1926](https://github.com/poanetwork/blockscout/pull/1926) - status label alignment +- [#1849](https://github.com/poanetwork/blockscout/pull/1849) - Improve chains menu +- [#1868](https://github.com/poanetwork/blockscout/pull/1868) - fix: logs list endpoint performance +- [#1822](https://github.com/poanetwork/blockscout/pull/1822) - Fix style breaks in decompiled contract code view +- [#1885](https://github.com/poanetwork/blockscout/pull/1885) - highlight reserved words in decompiled code +- [#1896](https://github.com/poanetwork/blockscout/pull/1896) - re-query tokens in top nav automplete +- [#1905](https://github.com/poanetwork/blockscout/pull/1905) - fix reorgs, uncles pagination +- [#1904](https://github.com/poanetwork/blockscout/pull/1904) - fix `BLOCK_COUNT_CACHE_TTL` env var type +- [#1915](https://github.com/poanetwork/blockscout/pull/1915) - fallback to 2 latest evm versions +- [#1937](https://github.com/poanetwork/blockscout/pull/1937) - Check the presence of overlap[i] object before retrieving properties from it +- [#1960](https://github.com/poanetwork/blockscout/pull/1960) - do not remove bold text in decompiled contacts +- [#1966](https://github.com/poanetwork/blockscout/pull/1966) - fix: add fields for contract filter performance +- [#2017](https://github.com/poanetwork/blockscout/pull/2017) - fix: fix to/from filters on tx list pages +- [#2008](https://github.com/poanetwork/blockscout/pull/2008) - add new function clause for xDai network beneficiaries +- [#2009](https://github.com/poanetwork/blockscout/pull/2009) - addresses page improvements +- [#2027](https://github.com/poanetwork/blockscout/pull/2027) - fix: `BlocksTransactionsMismatch` ignoring blocks without transactions +- [#2062](https://github.com/poanetwork/blockscout/pull/2062) - fix: uniq by hash, instead of transaction +- [#2052](https://github.com/poanetwork/blockscout/pull/2052) - allow bytes32 for name and symbol +- [#2047](https://github.com/poanetwork/blockscout/pull/2047) - fix: show creating internal transactions +- [#2014](https://github.com/poanetwork/blockscout/pull/2014) - fix: use better queries for listLogs endpoint +- [#2027](https://github.com/poanetwork/blockscout/pull/2027) - fix: `BlocksTransactionsMismatch` ignoring blocks without transactions +- [#2070](https://github.com/poanetwork/blockscout/pull/2070) - reduce `max_concurrency` of `BlocksTransactionsMismatch` fetcher +- [#2083](https://github.com/poanetwork/blockscout/pull/2083) - allow total_difficuly to be nil +- [#2086](https://github.com/poanetwork/blockscout/pull/2086) - fix geth's staticcall without output ### Chore -- [#1900](https://github.com/poanetwork/blockscout/pull/1900) - SUPPORTED_CHAINS ENV var -- [#1958](https://github.com/poanetwork/blockscout/pull/1958) - Default value for release link env var -- [#1964](https://github.com/poanetwork/blockscout/pull/1964) - ALLOWED_EVM_VERSIONS env var -- [#1975](https://github.com/poanetwork/blockscout/pull/1975) - add log index to transaction view -- [#1988](https://github.com/poanetwork/blockscout/pull/1988) - Fix wrong parity tasks names in Circle CI -- [#2000](https://github.com/poanetwork/blockscout/pull/2000) - docker/Makefile: always set a container name -- [#2018](https://github.com/poanetwork/blockscout/pull/2018) - Use PORT env variable in dev config -- [#2055](https://github.com/poanetwork/blockscout/pull/2055) - Increase timeout for geth indexers -- [#2069](https://github.com/poanetwork/blockscout/pull/2069) - Docsify integration: static docs page generation +- [#1900](https://github.com/poanetwork/blockscout/pull/1900) - SUPPORTED_CHAINS ENV var +- [#1958](https://github.com/poanetwork/blockscout/pull/1958) - Default value for release link env var +- [#1964](https://github.com/poanetwork/blockscout/pull/1964) - ALLOWED_EVM_VERSIONS env var +- [#1975](https://github.com/poanetwork/blockscout/pull/1975) - add log index to transaction view +- [#1988](https://github.com/poanetwork/blockscout/pull/1988) - Fix wrong parity tasks names in Circle CI +- [#2000](https://github.com/poanetwork/blockscout/pull/2000) - docker/Makefile: always set a container name +- [#2018](https://github.com/poanetwork/blockscout/pull/2018) - Use PORT env variable in dev config +- [#2055](https://github.com/poanetwork/blockscout/pull/2055) - Increase timeout for geth indexers +- [#2069](https://github.com/poanetwork/blockscout/pull/2069) - Docsify integration: static docs page generation + ## 1.3.15-beta ### Features -- [#1857](https://github.com/poanetwork/blockscout/pull/1857) - Re-implement Geth JS internal transaction tracer in Elixir -- [#1989](https://github.com/poanetwork/blockscout/pull/1989) - fix: consolidate address w/ balance one at a time -- [#2002](https://github.com/poanetwork/blockscout/pull/2002) - Get estimated count of blocks when cache is empty +- [#1857](https://github.com/poanetwork/blockscout/pull/1857) - Re-implement Geth JS internal transaction tracer in Elixir +- [#1989](https://github.com/poanetwork/blockscout/pull/1989) - fix: consolidate address w/ balance one at a time +- [#2002](https://github.com/poanetwork/blockscout/pull/2002) - Get estimated count of blocks when cache is empty ### Fixes -- [#1869](https://github.com/poanetwork/blockscout/pull/1869) - Fix output and gas extraction in JS tracer for Geth -- [#1992](https://github.com/poanetwork/blockscout/pull/1992) - fix: support https for wobserver polling -- [#2027](https://github.com/poanetwork/blockscout/pull/2027) - fix: `BlocksTransactionsMismatch` ignoring blocks without transactions +- [#1869](https://github.com/poanetwork/blockscout/pull/1869) - Fix output and gas extraction in JS tracer for Geth +- [#1992](https://github.com/poanetwork/blockscout/pull/1992) - fix: support https for wobserver polling +- [#2027](https://github.com/poanetwork/blockscout/pull/2027) - fix: `BlocksTransactionsMismatch` ignoring blocks without transactions + ## 1.3.14-beta -- [#1812](https://github.com/poanetwork/blockscout/pull/1812) - add pagination to addresses page -- [#1920](https://github.com/poanetwork/blockscout/pull/1920) - fix: remove source code fields from list endpoint -- [#1876](https://github.com/poanetwork/blockscout/pull/1876) - async calculate a count of blocks +- [#1812](https://github.com/poanetwork/blockscout/pull/1812) - add pagination to addresses page +- [#1920](https://github.com/poanetwork/blockscout/pull/1920) - fix: remove source code fields from list endpoint +- [#1876](https://github.com/poanetwork/blockscout/pull/1876) - async calculate a count of blocks ### Fixes -- [#1917](https://github.com/poanetwork/blockscout/pull/1917) - Force block refetch if transaction is re-collated in a different block +- [#1917](https://github.com/poanetwork/blockscout/pull/1917) - Force block refetch if transaction is re-collated in a different block ### Chore -- [#1892](https://github.com/poanetwork/blockscout/pull/1892) - Remove temporary worker modules +- [#1892](https://github.com/poanetwork/blockscout/pull/1892) - Remove temporary worker modules + ## 1.3.13-beta ### Features -- [#1933](https://github.com/poanetwork/blockscout/pull/1933) - add eth_BlockNumber json rpc method +- [#1933](https://github.com/poanetwork/blockscout/pull/1933) - add eth_BlockNumber json rpc method ### Fixes -- [#1875](https://github.com/poanetwork/blockscout/pull/1875) - fix: resolve false positive constructor arguments -- [#1881](https://github.com/poanetwork/blockscout/pull/1881) - fix: store solc versions locally for performance -- [#1898](https://github.com/poanetwork/blockscout/pull/1898) - check if the constructor has arguments before verifying constructor arguments +- [#1875](https://github.com/poanetwork/blockscout/pull/1875) - fix: resolve false positive constructor arguments +- [#1881](https://github.com/poanetwork/blockscout/pull/1881) - fix: store solc versions locally for performance +- [#1898](https://github.com/poanetwork/blockscout/pull/1898) - check if the constructor has arguments before verifying constructor arguments + ## 1.3.12-beta Reverting of synchronous block counter, implemented in #1848 + ## 1.3.11-beta ### Features -- [#1815](https://github.com/poanetwork/blockscout/pull/1815) - Be able to search without prefix "0x" -- [#1813](https://github.com/poanetwork/blockscout/pull/1813) - Add total blocks counter to the main page -- [#1806](https://github.com/poanetwork/blockscout/pull/1806) - Verify contracts with a post request -- [#1848](https://github.com/poanetwork/blockscout/pull/1848) - Add cache for block counter +- [#1815](https://github.com/poanetwork/blockscout/pull/1815) - Be able to search without prefix "0x" +- [#1813](https://github.com/poanetwork/blockscout/pull/1813) - Add total blocks counter to the main page +- [#1806](https://github.com/poanetwork/blockscout/pull/1806) - Verify contracts with a post request +- [#1848](https://github.com/poanetwork/blockscout/pull/1848) - Add cache for block counter ### Fixes -- [#1829](https://github.com/poanetwork/blockscout/pull/1829) - Handle nil quantities in block decoding routine -- [#1830](https://github.com/poanetwork/blockscout/pull/1830) - Make block size field nullable -- [#1840](https://github.com/poanetwork/blockscout/pull/1840) - Handle case when total supply is nil -- [#1838](https://github.com/poanetwork/blockscout/pull/1838) - Block counter calculates only consensus blocks +- [#1829](https://github.com/poanetwork/blockscout/pull/1829) - Handle nil quantities in block decoding routine +- [#1830](https://github.com/poanetwork/blockscout/pull/1830) - Make block size field nullable +- [#1840](https://github.com/poanetwork/blockscout/pull/1840) - Handle case when total supply is nil +- [#1838](https://github.com/poanetwork/blockscout/pull/1838) - Block counter calculates only consensus blocks ### Chore -- [#1814](https://github.com/poanetwork/blockscout/pull/1814) - Clear build artefacts script -- [#1837](https://github.com/poanetwork/blockscout/pull/1837) - Add -f flag to clear_build.sh script delete static folder +- [#1814](https://github.com/poanetwork/blockscout/pull/1814) - Clear build artefacts script +- [#1837](https://github.com/poanetwork/blockscout/pull/1837) - Add -f flag to clear_build.sh script delete static folder + ## 1.3.10-beta ### Features -- [#1739](https://github.com/poanetwork/blockscout/pull/1739) - highlight decompiled source code -- [#1696](https://github.com/poanetwork/blockscout/pull/1696) - full-text search by tokens -- [#1742](https://github.com/poanetwork/blockscout/pull/1742) - Support RSK -- [#1777](https://github.com/poanetwork/blockscout/pull/1777) - show ERC-20 token transfer info on transaction page -- [#1770](https://github.com/poanetwork/blockscout/pull/1770) - set a websocket keepalive from config -- [#1789](https://github.com/poanetwork/blockscout/pull/1789) - add ERC-721 info to transaction overview page -- [#1801](https://github.com/poanetwork/blockscout/pull/1801) - Staking pools fetching +- [#1739](https://github.com/poanetwork/blockscout/pull/1739) - highlight decompiled source code +- [#1696](https://github.com/poanetwork/blockscout/pull/1696) - full-text search by tokens +- [#1742](https://github.com/poanetwork/blockscout/pull/1742) - Support RSK +- [#1777](https://github.com/poanetwork/blockscout/pull/1777) - show ERC-20 token transfer info on transaction page +- [#1770](https://github.com/poanetwork/blockscout/pull/1770) - set a websocket keepalive from config +- [#1789](https://github.com/poanetwork/blockscout/pull/1789) - add ERC-721 info to transaction overview page +- [#1801](https://github.com/poanetwork/blockscout/pull/1801) - Staking pools fetching ### Fixes -- [#1724](https://github.com/poanetwork/blockscout/pull/1724) - Remove internal tx and token balance fetching from realtime fetcher -- [#1727](https://github.com/poanetwork/blockscout/pull/1727) - add logs pagination in rpc api -- [#1740](https://github.com/poanetwork/blockscout/pull/1740) - fix empty block time -- [#1743](https://github.com/poanetwork/blockscout/pull/1743) - sort decompiled smart contracts in lexicographical order -- [#1756](https://github.com/poanetwork/blockscout/pull/1756) - add today's token balance from the previous value -- [#1769](https://github.com/poanetwork/blockscout/pull/1769) - add timestamp to block overview -- [#1768](https://github.com/poanetwork/blockscout/pull/1768) - fix first block parameter -- [#1778](https://github.com/poanetwork/blockscout/pull/1778) - Make websocket optional for realtime fetcher -- [#1790](https://github.com/poanetwork/blockscout/pull/1790) - fix constructor arguments verification -- [#1793](https://github.com/poanetwork/blockscout/pull/1793) - fix top nav autocomplete -- [#1795](https://github.com/poanetwork/blockscout/pull/1795) - fix line numbers for decompiled contracts -- [#1803](https://github.com/poanetwork/blockscout/pull/1803) - use coinmarketcap for total_supply by default -- [#1802](https://github.com/poanetwork/blockscout/pull/1802) - make coinmarketcap's number of pages configurable -- [#1799](https://github.com/poanetwork/blockscout/pull/1799) - Use eth_getUncleByBlockHashAndIndex for uncle block fetching -- [#1531](https://github.com/poanetwork/blockscout/pull/1531) - docker: fix dockerFile for secp256k1 building -- [#1835](https://github.com/poanetwork/blockscout/pull/1835) - fix: ignore `pong` messages without error + - [#1724](https://github.com/poanetwork/blockscout/pull/1724) - Remove internal tx and token balance fetching from realtime fetcher + - [#1727](https://github.com/poanetwork/blockscout/pull/1727) - add logs pagination in rpc api + - [#1740](https://github.com/poanetwork/blockscout/pull/1740) - fix empty block time + - [#1743](https://github.com/poanetwork/blockscout/pull/1743) - sort decompiled smart contracts in lexicographical order + - [#1756](https://github.com/poanetwork/blockscout/pull/1756) - add today's token balance from the previous value + - [#1769](https://github.com/poanetwork/blockscout/pull/1769) - add timestamp to block overview + - [#1768](https://github.com/poanetwork/blockscout/pull/1768) - fix first block parameter + - [#1778](https://github.com/poanetwork/blockscout/pull/1778) - Make websocket optional for realtime fetcher + - [#1790](https://github.com/poanetwork/blockscout/pull/1790) - fix constructor arguments verification + - [#1793](https://github.com/poanetwork/blockscout/pull/1793) - fix top nav autocomplete + - [#1795](https://github.com/poanetwork/blockscout/pull/1795) - fix line numbers for decompiled contracts + - [#1803](https://github.com/poanetwork/blockscout/pull/1803) - use coinmarketcap for total_supply by default + - [#1802](https://github.com/poanetwork/blockscout/pull/1802) - make coinmarketcap's number of pages configurable + - [#1799](https://github.com/poanetwork/blockscout/pull/1799) - Use eth_getUncleByBlockHashAndIndex for uncle block fetching + - [#1531](https://github.com/poanetwork/blockscout/pull/1531) - docker: fix dockerFile for secp256k1 building + - [#1835](https://github.com/poanetwork/blockscout/pull/1835) - fix: ignore `pong` messages without error ### Chore -- [#1804](https://github.com/poanetwork/blockscout/pull/1804) - (Chore) Divide chains by Mainnet/Testnet in menu -- [#1783](https://github.com/poanetwork/blockscout/pull/1783) - Update README with the chains that use Blockscout -- [#1780](https://github.com/poanetwork/blockscout/pull/1780) - Update link to the Github repo in the footer -- [#1757](https://github.com/poanetwork/blockscout/pull/1757) - Change twitter acc link to official Blockscout acc twitter -- [#1749](https://github.com/poanetwork/blockscout/pull/1749) - Replace the link in the footer with the official POA announcements tg channel link -- [#1718](https://github.com/poanetwork/blockscout/pull/1718) - Flatten indexer module hierarchy and supervisor tree -- [#1753](https://github.com/poanetwork/blockscout/pull/1753) - Add a check mark to decompiled contract tab -- [#1744](https://github.com/poanetwork/blockscout/pull/1744) - remove `0x0..0` from tests -- [#1763](https://github.com/poanetwork/blockscout/pull/1763) - Describe indexer structure and list existing fetchers -- [#1800](https://github.com/poanetwork/blockscout/pull/1800) - Disable lazy logging check in Credo + - [#1804](https://github.com/poanetwork/blockscout/pull/1804) - (Chore) Divide chains by Mainnet/Testnet in menu + - [#1783](https://github.com/poanetwork/blockscout/pull/1783) - Update README with the chains that use Blockscout + - [#1780](https://github.com/poanetwork/blockscout/pull/1780) - Update link to the Github repo in the footer + - [#1757](https://github.com/poanetwork/blockscout/pull/1757) - Change twitter acc link to official Blockscout acc twitter + - [#1749](https://github.com/poanetwork/blockscout/pull/1749) - Replace the link in the footer with the official POA announcements tg channel link + - [#1718](https://github.com/poanetwork/blockscout/pull/1718) - Flatten indexer module hierarchy and supervisor tree + - [#1753](https://github.com/poanetwork/blockscout/pull/1753) - Add a check mark to decompiled contract tab + - [#1744](https://github.com/poanetwork/blockscout/pull/1744) - remove `0x0..0` from tests + - [#1763](https://github.com/poanetwork/blockscout/pull/1763) - Describe indexer structure and list existing fetchers + - [#1800](https://github.com/poanetwork/blockscout/pull/1800) - Disable lazy logging check in Credo + ## 1.3.9-beta ### Features -- [#1662](https://github.com/poanetwork/blockscout/pull/1662) - allow specifying number of optimization runs -- [#1654](https://github.com/poanetwork/blockscout/pull/1654) - add decompiled code tab -- [#1661](https://github.com/poanetwork/blockscout/pull/1661) - try to compile smart contract with the latest evm version -- [#1665](https://github.com/poanetwork/blockscout/pull/1665) - Add contract verification RPC endpoint. -- [#1706](https://github.com/poanetwork/blockscout/pull/1706) - allow setting update interval for addresses with b + - [#1662](https://github.com/poanetwork/blockscout/pull/1662) - allow specifying number of optimization runs + - [#1654](https://github.com/poanetwork/blockscout/pull/1654) - add decompiled code tab + - [#1661](https://github.com/poanetwork/blockscout/pull/1661) - try to compile smart contract with the latest evm version + - [#1665](https://github.com/poanetwork/blockscout/pull/1665) - Add contract verification RPC endpoint. + - [#1706](https://github.com/poanetwork/blockscout/pull/1706) - allow setting update interval for addresses with b ### Fixes -- [#1669](https://github.com/poanetwork/blockscout/pull/1669) - do not fail if multiple matching tokens are found -- [#1691](https://github.com/poanetwork/blockscout/pull/1691) - decrease token metadata update interval -- [#1688](https://github.com/poanetwork/blockscout/pull/1688) - do not fail if failure reason is atom -- [#1692](https://github.com/poanetwork/blockscout/pull/1692) - exclude decompiled smart contract from encoding -- [#1684](https://github.com/poanetwork/blockscout/pull/1684) - Discard child block with parent_hash not matching hash of imported block -- [#1699](https://github.com/poanetwork/blockscout/pull/1699) - use seconds as transaction cache period measure -- [#1697](https://github.com/poanetwork/blockscout/pull/1697) - fix failing in rpc if balance is empty -- [#1711](https://github.com/poanetwork/blockscout/pull/1711) - rescue failing repo in block number cache update -- [#1712](https://github.com/poanetwork/blockscout/pull/1712) - do not set contract code from transaction input -- [#1714](https://github.com/poanetwork/blockscout/pull/1714) - fix average block time calculation + - [#1669](https://github.com/poanetwork/blockscout/pull/1669) - do not fail if multiple matching tokens are found + - [#1691](https://github.com/poanetwork/blockscout/pull/1691) - decrease token metadata update interval + - [#1688](https://github.com/poanetwork/blockscout/pull/1688) - do not fail if failure reason is atom + - [#1692](https://github.com/poanetwork/blockscout/pull/1692) - exclude decompiled smart contract from encoding + - [#1684](https://github.com/poanetwork/blockscout/pull/1684) - Discard child block with parent_hash not matching hash of imported block + - [#1699](https://github.com/poanetwork/blockscout/pull/1699) - use seconds as transaction cache period measure + - [#1697](https://github.com/poanetwork/blockscout/pull/1697) - fix failing in rpc if balance is empty + - [#1711](https://github.com/poanetwork/blockscout/pull/1711) - rescue failing repo in block number cache update + - [#1712](https://github.com/poanetwork/blockscout/pull/1712) - do not set contract code from transaction input + - [#1714](https://github.com/poanetwork/blockscout/pull/1714) - fix average block time calculation ### Chore -- [#1693](https://github.com/poanetwork/blockscout/pull/1693) - Add a checklist to the PR template + - [#1693](https://github.com/poanetwork/blockscout/pull/1693) - Add a checklist to the PR template + ## 1.3.8-beta ### Features -- [#1611](https://github.com/poanetwork/blockscout/pull/1611) - allow setting the first indexing block -- [#1596](https://github.com/poanetwork/blockscout/pull/1596) - add endpoint to create decompiled contracts -- [#1634](https://github.com/poanetwork/blockscout/pull/1634) - add transaction count cache + - [#1611](https://github.com/poanetwork/blockscout/pull/1611) - allow setting the first indexing block + - [#1596](https://github.com/poanetwork/blockscout/pull/1596) - add endpoint to create decompiled contracts + - [#1634](https://github.com/poanetwork/blockscout/pull/1634) - add transaction count cache ### Fixes -- [#1630](https://github.com/poanetwork/blockscout/pull/1630) - (Fix) colour for release link in the footer -- [#1621](https://github.com/poanetwork/blockscout/pull/1621) - Modify query to fetch failed contract creations -- [#1614](https://github.com/poanetwork/blockscout/pull/1614) - Do not fetch burn address token balance -- [#1639](https://github.com/poanetwork/blockscout/pull/1614) - Optimize token holder count updates when importing address current balances -- [#1643](https://github.com/poanetwork/blockscout/pull/1643) - Set internal_transactions_indexed_at for empty blocks -- [#1647](https://github.com/poanetwork/blockscout/pull/1647) - Fix typo in view -- [#1650](https://github.com/poanetwork/blockscout/pull/1650) - Add petersburg evm version to smart contract verifier -- [#1657](https://github.com/poanetwork/blockscout/pull/1657) - Force consensus loss for parent block if its hash mismatches parent_hash + - [#1630](https://github.com/poanetwork/blockscout/pull/1630) - (Fix) colour for release link in the footer + - [#1621](https://github.com/poanetwork/blockscout/pull/1621) - Modify query to fetch failed contract creations + - [#1614](https://github.com/poanetwork/blockscout/pull/1614) - Do not fetch burn address token balance + - [#1639](https://github.com/poanetwork/blockscout/pull/1614) - Optimize token holder count updates when importing address current balances + - [#1643](https://github.com/poanetwork/blockscout/pull/1643) - Set internal_transactions_indexed_at for empty blocks + - [#1647](https://github.com/poanetwork/blockscout/pull/1647) - Fix typo in view + - [#1650](https://github.com/poanetwork/blockscout/pull/1650) - Add petersburg evm version to smart contract verifier + - [#1657](https://github.com/poanetwork/blockscout/pull/1657) - Force consensus loss for parent block if its hash mismatches parent_hash ### Chore + ## 1.3.7-beta ### Features ### Fixes -- [#1615](https://github.com/poanetwork/blockscout/pull/1615) - Add more logging to code fixer process -- [#1613](https://github.com/poanetwork/blockscout/pull/1613) - Fix USD fee value -- [#1577](https://github.com/poanetwork/blockscout/pull/1577) - Add process to fix contract with code -- [#1583](https://github.com/poanetwork/blockscout/pull/1583) - Chunk JSON-RPC batches in case connection times out + - [#1615](https://github.com/poanetwork/blockscout/pull/1615) - Add more logging to code fixer process + - [#1613](https://github.com/poanetwork/blockscout/pull/1613) - Fix USD fee value + - [#1577](https://github.com/poanetwork/blockscout/pull/1577) - Add process to fix contract with code + - [#1583](https://github.com/poanetwork/blockscout/pull/1583) - Chunk JSON-RPC batches in case connection times out ### Chore -- [#1610](https://github.com/poanetwork/blockscout/pull/1610) - Add PIRL to Readme + - [#1610](https://github.com/poanetwork/blockscout/pull/1610) - Add PIRL to Readme + ## 1.3.6-beta ### Features -- [#1589](https://github.com/poanetwork/blockscout/pull/1589) - RPC endpoint to list addresses -- [#1567](https://github.com/poanetwork/blockscout/pull/1567) - Allow setting different configuration just for realtime fetcher -- [#1562](https://github.com/poanetwork/blockscout/pull/1562) - Add incoming transactions count to contract view -- [#1608](https://github.com/poanetwork/blockscout/pull/1608) - Add listcontracts RPC Endpoint + - [#1589](https://github.com/poanetwork/blockscout/pull/1589) - RPC endpoint to list addresses + - [#1567](https://github.com/poanetwork/blockscout/pull/1567) - Allow setting different configuration just for realtime fetcher + - [#1562](https://github.com/poanetwork/blockscout/pull/1562) - Add incoming transactions count to contract view + - [#1608](https://github.com/poanetwork/blockscout/pull/1608) - Add listcontracts RPC Endpoint ### Fixes -- [#1595](https://github.com/poanetwork/blockscout/pull/1595) - Reduce block_rewards in the catchup fetcher -- [#1590](https://github.com/poanetwork/blockscout/pull/1590) - Added guard for fetching blocks with invalid number -- [#1588](https://github.com/poanetwork/blockscout/pull/1588) - Fix usd value on address page -- [#1586](https://github.com/poanetwork/blockscout/pull/1586) - Exact timestamp display -- [#1581](https://github.com/poanetwork/blockscout/pull/1581) - Consider `creates` param when fetching transactions -- [#1559](https://github.com/poanetwork/blockscout/pull/1559) - Change v column type for Transactions table + - [#1595](https://github.com/poanetwork/blockscout/pull/1595) - Reduce block_rewards in the catchup fetcher + - [#1590](https://github.com/poanetwork/blockscout/pull/1590) - Added guard for fetching blocks with invalid number + - [#1588](https://github.com/poanetwork/blockscout/pull/1588) - Fix usd value on address page + - [#1586](https://github.com/poanetwork/blockscout/pull/1586) - Exact timestamp display + - [#1581](https://github.com/poanetwork/blockscout/pull/1581) - Consider `creates` param when fetching transactions + - [#1559](https://github.com/poanetwork/blockscout/pull/1559) - Change v column type for Transactions table ### Chore -- [#1579](https://github.com/poanetwork/blockscout/pull/1579) - Add SpringChain to the list of Additional Chains Utilizing BlockScout -- [#1578](https://github.com/poanetwork/blockscout/pull/1578) - Refine contributing procedure -- [#1572](https://github.com/poanetwork/blockscout/pull/1572) - Add option to disable block rewards in indexer config + - [#1579](https://github.com/poanetwork/blockscout/pull/1579) - Add SpringChain to the list of Additional Chains Utilizing BlockScout + - [#1578](https://github.com/poanetwork/blockscout/pull/1578) - Refine contributing procedure + - [#1572](https://github.com/poanetwork/blockscout/pull/1572) - Add option to disable block rewards in indexer config + ## 1.3.5-beta ### Features -- [#1560](https://github.com/poanetwork/blockscout/pull/1560) - Allow executing smart contract functions in arbitrarily sized batches -- [#1543](https://github.com/poanetwork/blockscout/pull/1543) - Use trace_replayBlockTransactions API for faster tracing -- [#1558](https://github.com/poanetwork/blockscout/pull/1558) - Allow searching by token symbol -- [#1551](https://github.com/poanetwork/blockscout/pull/1551) Exact date and time for Transaction details page -- [#1547](https://github.com/poanetwork/blockscout/pull/1547) - Verify smart contracts with evm versions -- [#1540](https://github.com/poanetwork/blockscout/pull/1540) - Fetch ERC721 token balances if sender is '0x0..0' -- [#1539](https://github.com/poanetwork/blockscout/pull/1539) - Add the link to release in the footer -- [#1519](https://github.com/poanetwork/blockscout/pull/1519) - Create contract methods -- [#1496](https://github.com/poanetwork/blockscout/pull/1496) - Remove dropped/replaced transactions in pending transactions list -- [#1492](https://github.com/poanetwork/blockscout/pull/1492) - Disable usd value for an empty exchange rate -- [#1466](https://github.com/poanetwork/blockscout/pull/1466) - Decoding candidates for unverified contracts + - [#1560](https://github.com/poanetwork/blockscout/pull/1560) - Allow executing smart contract functions in arbitrarily sized batches + - [#1543](https://github.com/poanetwork/blockscout/pull/1543) - Use trace_replayBlockTransactions API for faster tracing + - [#1558](https://github.com/poanetwork/blockscout/pull/1558) - Allow searching by token symbol + - [#1551](https://github.com/poanetwork/blockscout/pull/1551) Exact date and time for Transaction details page + - [#1547](https://github.com/poanetwork/blockscout/pull/1547) - Verify smart contracts with evm versions + - [#1540](https://github.com/poanetwork/blockscout/pull/1540) - Fetch ERC721 token balances if sender is '0x0..0' + - [#1539](https://github.com/poanetwork/blockscout/pull/1539) - Add the link to release in the footer + - [#1519](https://github.com/poanetwork/blockscout/pull/1519) - Create contract methods + - [#1496](https://github.com/poanetwork/blockscout/pull/1496) - Remove dropped/replaced transactions in pending transactions list + - [#1492](https://github.com/poanetwork/blockscout/pull/1492) - Disable usd value for an empty exchange rate + - [#1466](https://github.com/poanetwork/blockscout/pull/1466) - Decoding candidates for unverified contracts ### Fixes - -- [#1545](https://github.com/poanetwork/blockscout/pull/1545) - Fix scheduling of latest block polling in Realtime Fetcher -- [#1554](https://github.com/poanetwork/blockscout/pull/1554) - Encode integer parameters when calling smart contract functions -- [#1537](https://github.com/poanetwork/blockscout/pull/1537) - Fix test that depended on date -- [#1534](https://github.com/poanetwork/blockscout/pull/1534) - Render a nicer error when creator cannot be determined -- [#1527](https://github.com/poanetwork/blockscout/pull/1527) - Add index to value_fetched_at -- [#1518](https://github.com/poanetwork/blockscout/pull/1518) - Select only distinct failed transactions -- [#1516](https://github.com/poanetwork/blockscout/pull/1516) - Fix coin balance params reducer for pending transaction -- [#1511](https://github.com/poanetwork/blockscout/pull/1511) - Set correct log level for production -- [#1510](https://github.com/poanetwork/blockscout/pull/1510) - Fix test that fails every 1st day of the month -- [#1509](https://github.com/poanetwork/blockscout/pull/1509) - Add index to blocks' consensus -- [#1508](https://github.com/poanetwork/blockscout/pull/1508) - Remove duplicated indexes -- [#1505](https://github.com/poanetwork/blockscout/pull/1505) - Use https instead of ssh for absinthe libs -- [#1501](https://github.com/poanetwork/blockscout/pull/1501) - Constructor_arguments must be type `text` -- [#1498](https://github.com/poanetwork/blockscout/pull/1498) - Add index for created_contract_address_hash in transactions -- [#1493](https://github.com/poanetwork/blockscout/pull/1493) - Do not do work in process initialization -- [#1487](https://github.com/poanetwork/blockscout/pull/1487) - Limit geth sync to 128 blocks -- [#1484](https://github.com/poanetwork/blockscout/pull/1484) - Allow decoding input as utf-8 -- [#1479](https://github.com/poanetwork/blockscout/pull/1479) - Remove smoothing from coin balance chart + - [#1545](https://github.com/poanetwork/blockscout/pull/1545) - Fix scheduling of latest block polling in Realtime Fetcher + - [#1554](https://github.com/poanetwork/blockscout/pull/1554) - Encode integer parameters when calling smart contract functions + - [#1537](https://github.com/poanetwork/blockscout/pull/1537) - Fix test that depended on date + - [#1534](https://github.com/poanetwork/blockscout/pull/1534) - Render a nicer error when creator cannot be determined + - [#1527](https://github.com/poanetwork/blockscout/pull/1527) - Add index to value_fetched_at + - [#1518](https://github.com/poanetwork/blockscout/pull/1518) - Select only distinct failed transactions + - [#1516](https://github.com/poanetwork/blockscout/pull/1516) - Fix coin balance params reducer for pending transaction + - [#1511](https://github.com/poanetwork/blockscout/pull/1511) - Set correct log level for production + - [#1510](https://github.com/poanetwork/blockscout/pull/1510) - Fix test that fails every 1st day of the month + - [#1509](https://github.com/poanetwork/blockscout/pull/1509) - Add index to blocks' consensus + - [#1508](https://github.com/poanetwork/blockscout/pull/1508) - Remove duplicated indexes + - [#1505](https://github.com/poanetwork/blockscout/pull/1505) - Use https instead of ssh for absinthe libs + - [#1501](https://github.com/poanetwork/blockscout/pull/1501) - Constructor_arguments must be type `text` + - [#1498](https://github.com/poanetwork/blockscout/pull/1498) - Add index for created_contract_address_hash in transactions + - [#1493](https://github.com/poanetwork/blockscout/pull/1493) - Do not do work in process initialization + - [#1487](https://github.com/poanetwork/blockscout/pull/1487) - Limit geth sync to 128 blocks + - [#1484](https://github.com/poanetwork/blockscout/pull/1484) - Allow decoding input as utf-8 + - [#1479](https://github.com/poanetwork/blockscout/pull/1479) - Remove smoothing from coin balance chart ### Chore - -- - Upgrade elixir to 1.8.1 -- - Dockerfile: remove 1.7.1 version pin FROM bitwalker/alpine-elixir-phoenix -- - Resolve lodash security alert + - [https://github.com/poanetwork/blockscout/pull/1532](https://github.com/poanetwork/blockscout/pull/1532) - Upgrade elixir to 1.8.1 + - [https://github.com/poanetwork/blockscout/pull/1553](https://github.com/poanetwork/blockscout/pull/1553) - Dockerfile: remove 1.7.1 version pin FROM bitwalker/alpine-elixir-phoenix + - [https://github.com/poanetwork/blockscout/pull/1465](https://github.com/poanetwork/blockscout/pull/1465) - Resolve lodash security alert From 690e22cb128e29f1343c19de03a856cb72654c25 Mon Sep 17 00:00:00 2001 From: Ethan van Ballegooyen Date: Thu, 29 Aug 2019 13:17:25 +0200 Subject: [PATCH 36/48] README.md Clean up --- README.md | 41 +++++++++++++++++++++-------------------- 1 file changed, 21 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 13c50fd838..07ebb18f5d 100644 --- a/README.md +++ b/README.md @@ -28,33 +28,34 @@ Currently available full-featured block explorers (Etherscan, Etherchain, Blockc ## Supported Projects -| **Hosted Mainnets** | **Hosted Testnets** | **Additional Chains using BlockScout** | -| ------------------------------------------------------ | ----------------------------------------------------- | ---------------------------------------------------- | -| [Aerum](https://blockscout.com/aerum/mainnet) | [Goerli Testnet](https://blockscout.com/eth/goerli) | [ARTIS](https://explorer.sigma1.artis.network) | -| [Callisto](https://blockscout.com/callisto/mainnet) | [Kovan Testnet](https://blockscout.com/eth/kovan) | [Ether-1](https://blocks.ether1.wattpool.net/) | -| [Ethereum Classic](https://blockscout.com/etc/mainnet) | [POA Sokol Testnet](https://blockscout.com/poa/sokol) | [Fuse Network](https://explorer.fuse.io/) | -| [Ethereum Mainnet](https://blockscout.com/eth/mainnet) | [Rinkeby Testnet](https://blockscout.com/eth/rinkeby) | [Oasis Labs](https://blockexplorer.oasiscloud.io/) | -| [POA Core Network](https://blockscout.com/poa/core) | [Ropsten Testnet](https://blockscout.com/eth/ropsten) | [Petrichor](https://explorer.petrachor.com/) | -| [RSK](https://blockscout.com/rsk/mainnet) | | [PIRL](http://pirl.es/) | -| [xDai Chain](https://blockscout.com/poa/dai) | | [SafeChain](https://explorer.safechain.io) | -| | | [SpringChain](https://explorer.springrole.com/) | -| | | [Kotti Testnet](https://kottiexplorer.ethernode.io/) | -| | | [Loom](http://plasma-blockexplorer.dappchains.com/) | -| | | [Tenda](https://tenda.network) | -| | | [GoJoy Chain](https://gojoychain.com/) | -| | | [Xerom](https://blocks.xerom.org/) | +| **Hosted Mainnets** | **Hosted Testnets** | **Additional Chains using BlockScout** | +|--------------------------------------------------------|-------------------------------------------------------|----------------------------------------------------| +| [Aerum](https://blockscout.com/aerum/mainnet) | [Goerli Testnet](https://blockscout.com/eth/goerli) | [ARTIS](https://explorer.sigma1.artis.network) | +| [Callisto](https://blockscout.com/callisto/mainnet) | [Kovan Testnet](https://blockscout.com/eth/kovan) | [Ether-1](https://blocks.ether1.wattpool.net/) | +| [Ethereum Classic](https://blockscout.com/etc/mainnet) | [POA Sokol Testnet](https://blockscout.com/poa/sokol) | [Fuse Network](https://explorer.fuse.io/) | +| [Ethereum Mainnet](https://blockscout.com/eth/mainnet) | [Rinkeby Testnet](https://blockscout.com/eth/rinkeby) | [Oasis Labs](https://blockexplorer.oasiscloud.io/) | +| [POA Core Network](https://blockscout.com/poa/core) | [Ropsten Testnet](https://blockscout.com/eth/ropsten) | [Petrichor](https://explorer.petrachor.com/) | +| [RSK](https://blockscout.com/rsk/mainnet) | | [PIRL](http://pirl.es/) | +| [xDai Chain](https://blockscout.com/poa/dai) | | [SafeChain](https://explorer.safechain.io) | +| | | [SpringChain](https://explorer.springrole.com/) | +| | | [Kotti Testnet](https://kottiexplorer.ethernode.io/) | +| | | [Loom](http://plasma-blockexplorer.dappchains.com/) | +| | | [Tenda](https://tenda.network) | +| | | [GoJoy Chain](https://gojoychain.com/) | +| | | [Xerom](https://blocks.xerom.org/) | + Current BlockScout versions for hosted projects are available [on the forum](https://forum.poa.network/t/deployed-instances-on-blockscout-com/1938). ## Getting Started See the [project documentation](https://poanetwork.github.io/blockscout) for instructions: +- [Requirements](https://poanetwork.github.io/blockscout/#/requirements) +- [Ansible deployment](https://poanetwork.github.io/blockscout/#/ansible-deployment) +- [Manual deployment](https://poanetwork.github.io/blockscout/#/manual-deployment) +- [ENV variables](https://poanetwork.github.io/blockscout/#/env-variables) +- [Configuration options](https://poanetwork.github.io/blockscout/#/dev-env) -- [Requirements](https://poanetwork.github.io/blockscout/#/requirements) -- [Ansible deployment](https://poanetwork.github.io/blockscout/#/ansible-deployment) -- [Manual deployment](https://poanetwork.github.io/blockscout/#/manual-deployment) -- [ENV variables](https://poanetwork.github.io/blockscout/#/env-variables) -- [Configuration options](https://poanetwork.github.io/blockscout/#/dev-env) ## Acknowledgements From 255dce417fcb9fac05d5a0750c6592454a198436 Mon Sep 17 00:00:00 2001 From: Victor Baranov Date: Thu, 29 Aug 2019 15:57:41 +0300 Subject: [PATCH 37/48] Update README.md --- README.md | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 07ebb18f5d..0340496862 100644 --- a/README.md +++ b/README.md @@ -28,21 +28,21 @@ Currently available full-featured block explorers (Etherscan, Etherchain, Blockc ## Supported Projects -| **Hosted Mainnets** | **Hosted Testnets** | **Additional Chains using BlockScout** | -|--------------------------------------------------------|-------------------------------------------------------|----------------------------------------------------| -| [Aerum](https://blockscout.com/aerum/mainnet) | [Goerli Testnet](https://blockscout.com/eth/goerli) | [ARTIS](https://explorer.sigma1.artis.network) | -| [Callisto](https://blockscout.com/callisto/mainnet) | [Kovan Testnet](https://blockscout.com/eth/kovan) | [Ether-1](https://blocks.ether1.wattpool.net/) | -| [Ethereum Classic](https://blockscout.com/etc/mainnet) | [POA Sokol Testnet](https://blockscout.com/poa/sokol) | [Fuse Network](https://explorer.fuse.io/) | -| [Ethereum Mainnet](https://blockscout.com/eth/mainnet) | [Rinkeby Testnet](https://blockscout.com/eth/rinkeby) | [Oasis Labs](https://blockexplorer.oasiscloud.io/) | -| [POA Core Network](https://blockscout.com/poa/core) | [Ropsten Testnet](https://blockscout.com/eth/ropsten) | [Petrichor](https://explorer.petrachor.com/) | -| [RSK](https://blockscout.com/rsk/mainnet) | | [PIRL](http://pirl.es/) | -| [xDai Chain](https://blockscout.com/poa/dai) | | [SafeChain](https://explorer.safechain.io) | -| | | [SpringChain](https://explorer.springrole.com/) | -| | | [Kotti Testnet](https://kottiexplorer.ethernode.io/) | -| | | [Loom](http://plasma-blockexplorer.dappchains.com/) | -| | | [Tenda](https://tenda.network) | -| | | [GoJoy Chain](https://gojoychain.com/) | -| | | [Xerom](https://blocks.xerom.org/) | +| **Hosted Mainnets** | **Hosted Testnets** | **Additional Chains using BlockScout** | **Additional Chains using BlockScout** | +|--------------------------------------------------------|-------------------------------------------------------|------------------------------------------------------|----------------------------------------------------------------| +| [Aerum](https://blockscout.com/aerum/mainnet) | [Goerli Testnet](https://blockscout.com/eth/goerli) | [ARTIS](https://explorer.sigma1.artis.network) | [Celo Testnet](https://alfajores-blockscout.celo-testnet.org/) | +| [Callisto](https://blockscout.com/callisto/mainnet) | [Kovan Testnet](https://blockscout.com/eth/kovan) | [Ether-1](https://blocks.ether1.wattpool.net/) | [Matic Testnet](https://explorer.testnet2.matic.network/) | +| [Ethereum Classic](https://blockscout.com/etc/mainnet) | [POA Sokol Testnet](https://blockscout.com/poa/sokol) | [Fuse Network](https://explorer.fuse.io/) | | +| [Ethereum Mainnet](https://blockscout.com/eth/mainnet) | [Rinkeby Testnet](https://blockscout.com/eth/rinkeby) | [Oasis Labs](https://blockexplorer.oasiscloud.io/) | | +| [POA Core Network](https://blockscout.com/poa/core) | [Ropsten Testnet](https://blockscout.com/eth/ropsten) | [Petrichor](https://explorer.petrachor.com/) | | +| [RSK](https://blockscout.com/rsk/mainnet) | | [PIRL](http://pirl.es/) | | +| [xDai Chain](https://blockscout.com/poa/dai) | | [SafeChain](https://explorer.safechain.io) | | +| | | [SpringChain](https://explorer.springrole.com/) | | +| | | [Kotti Testnet](https://kottiexplorer.ethernode.io/) | | +| | | [Loom](http://plasma-blockexplorer.dappchains.com/) | | +| | | [Tenda](https://tenda.network) | | +| | | [GoJoy Chain](https://gojoychain.com/) | | +| | | [Xerom](https://blocks.xerom.org/) | | Current BlockScout versions for hosted projects are available [on the forum](https://forum.poa.network/t/deployed-instances-on-blockscout-com/1938). From b479aae84a152b02a642ac35a1ab19aa7f817cef Mon Sep 17 00:00:00 2001 From: saneery Date: Thu, 29 Aug 2019 17:17:54 +0300 Subject: [PATCH 38/48] Set not full path to api on ajax queries --- apps/block_scout_web/assets/js/lib/try_api.js | 4 ++-- apps/block_scout_web/assets/js/lib/try_eth_api.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/block_scout_web/assets/js/lib/try_api.js b/apps/block_scout_web/assets/js/lib/try_api.js index 02d82a65ef..6c33779f30 100644 --- a/apps/block_scout_web/assets/js/lib/try_api.js +++ b/apps/block_scout_web/assets/js/lib/try_api.js @@ -56,7 +56,7 @@ function handleSuccess (query, xhr, clickedButton) { } function dropDomain (url) { - return url.split('/').slice(1).join('/') + return new URL(url).pathname } // Show 'Try it out' UI for a module/action. @@ -128,7 +128,7 @@ $('button[data-try-api-ui-button-type="execute"]').click(event => { } $.ajax({ - url: '/' + dropDomain(composeRequestUrl(query)), + url: dropDomain(composeRequestUrl(query)), success: (_data, _status, xhr) => { handleSuccess(query, xhr, clickedButton) }, diff --git a/apps/block_scout_web/assets/js/lib/try_eth_api.js b/apps/block_scout_web/assets/js/lib/try_eth_api.js index c59d71dbcc..30299431be 100644 --- a/apps/block_scout_web/assets/js/lib/try_eth_api.js +++ b/apps/block_scout_web/assets/js/lib/try_eth_api.js @@ -45,7 +45,7 @@ function parseInput (input) { } function dropDomain (url) { - return url.split('/').slice(1).join('/') + return new URL(url).pathname } $('button[data-try-eth-api-ui-button-type="execute"]').click(event => { @@ -67,7 +67,7 @@ $('button[data-try-eth-api-ui-button-type="execute"]').click(event => { const url = $('[data-endpoint-url]').attr('data-endpoint-url') $.ajax({ - url: '/' + dropDomain(url), + url: dropDomain(url), type: 'POST', data: JSON.stringify(formData), dataType: 'json', From 085d018b7f59d35e2d59b4636cacce5f1549ffca Mon Sep 17 00:00:00 2001 From: Victor Baranov Date: Sun, 1 Sep 2019 23:51:32 +0300 Subject: [PATCH 39/48] Update README.md LUKSO L14 testnet in the list of hosted chains --- README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 0340496862..138ddf18d8 100644 --- a/README.md +++ b/README.md @@ -30,17 +30,17 @@ Currently available full-featured block explorers (Etherscan, Etherchain, Blockc | **Hosted Mainnets** | **Hosted Testnets** | **Additional Chains using BlockScout** | **Additional Chains using BlockScout** | |--------------------------------------------------------|-------------------------------------------------------|------------------------------------------------------|----------------------------------------------------------------| -| [Aerum](https://blockscout.com/aerum/mainnet) | [Goerli Testnet](https://blockscout.com/eth/goerli) | [ARTIS](https://explorer.sigma1.artis.network) | [Celo Testnet](https://alfajores-blockscout.celo-testnet.org/) | -| [Callisto](https://blockscout.com/callisto/mainnet) | [Kovan Testnet](https://blockscout.com/eth/kovan) | [Ether-1](https://blocks.ether1.wattpool.net/) | [Matic Testnet](https://explorer.testnet2.matic.network/) | -| [Ethereum Classic](https://blockscout.com/etc/mainnet) | [POA Sokol Testnet](https://blockscout.com/poa/sokol) | [Fuse Network](https://explorer.fuse.io/) | | -| [Ethereum Mainnet](https://blockscout.com/eth/mainnet) | [Rinkeby Testnet](https://blockscout.com/eth/rinkeby) | [Oasis Labs](https://blockexplorer.oasiscloud.io/) | | -| [POA Core Network](https://blockscout.com/poa/core) | [Ropsten Testnet](https://blockscout.com/eth/ropsten) | [Petrichor](https://explorer.petrachor.com/) | | -| [RSK](https://blockscout.com/rsk/mainnet) | | [PIRL](http://pirl.es/) | | -| [xDai Chain](https://blockscout.com/poa/dai) | | [SafeChain](https://explorer.safechain.io) | | +| [Callisto](https://blockscout.com/callisto/mainnet) | [Goerli Testnet](https://blockscout.com/eth/goerli) | [ARTIS](https://explorer.sigma1.artis.network) | [Celo Testnet](https://alfajores-blockscout.celo-testnet.org/) | +| [Ethereum Classic](https://blockscout.com/etc/mainnet) | [Kovan Testnet](https://blockscout.com/eth/kovan) | [Ether-1](https://blocks.ether1.wattpool.net/) | [Matic Testnet](https://explorer.testnet2.matic.network/) | +| [Ethereum Mainnet](https://blockscout.com/eth/mainnet) | [LUKSO L14 Testnet](https://blockscout.com/lukso/l14) | [Kotti Testnet](https://kottiexplorer.ethernode.io/) | | +| [POA Core Network](https://blockscout.com/poa/core) | [POA Sokol Testnet](https://blockscout.com/poa/sokol) | [Fuse Network](https://explorer.fuse.io/) | | +| [RSK](https://blockscout.com/rsk/mainnet) | [Rinkeby Testnet](https://blockscout.com/eth/rinkeby) | [Oasis Labs](https://blockexplorer.oasiscloud.io/) | | +| [xDai Chain](https://blockscout.com/poa/dai) | [Ropsten Testnet](https://blockscout.com/eth/ropsten) | [Petrichor](https://explorer.petrachor.com/) | | +| | | [PIRL](http://pirl.es/) | | +| | | [SafeChain](https://explorer.safechain.io) | | | | | [SpringChain](https://explorer.springrole.com/) | | -| | | [Kotti Testnet](https://kottiexplorer.ethernode.io/) | | -| | | [Loom](http://plasma-blockexplorer.dappchains.com/) | | | | | [Tenda](https://tenda.network) | | +| | | [Loom](http://plasma-blockexplorer.dappchains.com/) | | | | | [GoJoy Chain](https://gojoychain.com/) | | | | | [Xerom](https://blocks.xerom.org/) | | From 44cf49ea7580108815d94a1dd72d92f9e246c53d Mon Sep 17 00:00:00 2001 From: Ayrat Badykov Date: Mon, 2 Sep 2019 09:58:56 +0300 Subject: [PATCH 40/48] fix market_cap calculation --- apps/block_scout_web/lib/block_scout_web/views/chain_view.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/block_scout_web/lib/block_scout_web/views/chain_view.ex b/apps/block_scout_web/lib/block_scout_web/views/chain_view.ex index 506d6ff3c8..528cf3671f 100644 --- a/apps/block_scout_web/lib/block_scout_web/views/chain_view.ex +++ b/apps/block_scout_web/lib/block_scout_web/views/chain_view.ex @@ -4,7 +4,7 @@ defmodule BlockScoutWeb.ChainView do alias BlockScoutWeb.LayoutView defp market_cap(:standard, exchange_rate) do - exchange_rate.market_cap_usd + Decimal.mult(exchange_rate.available_supply, exchange_rate.usd_value) end defp market_cap(module, exchange_rate) do From ff1b7568d6762ec9a2cd84628347f9c2a5d6abb6 Mon Sep 17 00:00:00 2001 From: Ayrat Badykov Date: Mon, 2 Sep 2019 10:51:14 +0300 Subject: [PATCH 41/48] fix tests --- .../lib/block_scout_web/views/chain_view.ex | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/apps/block_scout_web/lib/block_scout_web/views/chain_view.ex b/apps/block_scout_web/lib/block_scout_web/views/chain_view.ex index 528cf3671f..3033dbc0fe 100644 --- a/apps/block_scout_web/lib/block_scout_web/views/chain_view.ex +++ b/apps/block_scout_web/lib/block_scout_web/views/chain_view.ex @@ -3,8 +3,13 @@ defmodule BlockScoutWeb.ChainView do alias BlockScoutWeb.LayoutView - defp market_cap(:standard, exchange_rate) do - Decimal.mult(exchange_rate.available_supply, exchange_rate.usd_value) + defp market_cap(:standard, %{available_supply: available_supply, usd_value: usd_value}) + when is_nil(available_supply) or is_nil(usd_value) do + Decimal.new(0) + end + + defp market_cap(:standard, %{available_supply: available_supply, usd_value: usd_value}) do + Decimal.mult(available_supply, usd_value) end defp market_cap(module, exchange_rate) do From d2d99eb60b3170d7f5aa158c150ca7ea3093d510 Mon Sep 17 00:00:00 2001 From: Ayrat Badykov Date: Mon, 2 Sep 2019 10:57:15 +0300 Subject: [PATCH 42/48] add fallback --- apps/block_scout_web/lib/block_scout_web/views/chain_view.ex | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/block_scout_web/lib/block_scout_web/views/chain_view.ex b/apps/block_scout_web/lib/block_scout_web/views/chain_view.ex index 3033dbc0fe..a5f0ebef50 100644 --- a/apps/block_scout_web/lib/block_scout_web/views/chain_view.ex +++ b/apps/block_scout_web/lib/block_scout_web/views/chain_view.ex @@ -12,6 +12,10 @@ defmodule BlockScoutWeb.ChainView do Decimal.mult(available_supply, usd_value) end + defp market_cap(:standard, exchange_rate) do + exchange_rate.market_cap_usd + end + defp market_cap(module, exchange_rate) do module.market_cap(exchange_rate) end From 164f61ef42f133bb9a2d1c23a6df7f21982af07b Mon Sep 17 00:00:00 2001 From: Ayrat Badykov Date: Mon, 2 Sep 2019 14:18:16 +0300 Subject: [PATCH 43/48] update gettext --- apps/block_scout_web/priv/gettext/default.pot | 1844 +++++++++++++++++ .../priv/gettext/en/LC_MESSAGES/default.po | 1844 +++++++++++++++++ 2 files changed, 3688 insertions(+) diff --git a/apps/block_scout_web/priv/gettext/default.pot b/apps/block_scout_web/priv/gettext/default.pot index e69de29bb2..8ab78b1a4c 100644 --- a/apps/block_scout_web/priv/gettext/default.pot +++ b/apps/block_scout_web/priv/gettext/default.pot @@ -0,0 +1,1844 @@ +#, elixir-format +#: lib/block_scout_web/views/address_token_balance_view.ex:7 +msgid "%{count} token" +msgid_plural "%{count} tokens" +msgstr[0] "" +msgstr[1] "" + +#, elixir-format +#: lib/block_scout_web/templates/block/_tile.html.eex:27 +msgid "%{count} transaction" +msgid_plural "%{count} transactions" +msgstr[0] "" +msgstr[1] "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/overview.html.eex:192 +msgid " Token Transfer" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/eth_rpc.html.eex:14 +msgid " is recommended." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_metatags.html.eex:3 +msgid "%{address} - %{subnetwork} Explorer" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/overview.html.eex:8 +msgid "%{block_type} Details" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/overview.html.eex:15 +msgid "%{block_type} Height:" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/index.html.eex:10 +msgid "%{block_type}s" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/overview.html.eex:21 +#: lib/block_scout_web/templates/chain/_block.html.eex:11 +msgid "%{count} Transactions" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/chain/_metatags.html.eex:2 +msgid "%{subnetwork} %{network} Explorer" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_default_title.html.eex:2 +msgid "%{subnetwork} Explorer - BlockScout" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/transaction_view.ex:187 +msgid "(Awaiting internal transactions for status)" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:59 +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:70 +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:82 +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:104 +msgid "(query)" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/app.html.eex:42 +msgid "- We're indexing this chain right now. Some of the counts may be inaccurate." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/overview.html.eex:75 +msgid ">=" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:73 +msgid "A string with the name of the action to be invoked." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:62 +msgid "A string with the name of the module to be invoked." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:104 +msgid "ABI-encoded Constructor Arguments (if required by the contract)" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/index.html.eex:4 +msgid "API Documentation" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_metatags.html.eex:4 +msgid "API endpoints for the %{subnetwork}" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_metatags.html.eex:2 +msgid "API for the %{subnetwork} - BlockScout" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_topnav.html.eex:81 +msgid "APIs" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_topnav.html.eex:71 +msgid "Accounts" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:69 +msgid "Action" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_validator_metadata_modal.html.eex:16 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:19 +#: lib/block_scout_web/views/address_view.ex:99 +msgid "Address" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/index.html.eex:4 +#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:60 +msgid "Addresses" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:27 +#: lib/block_scout_web/templates/address_transaction/index.html.eex:23 +#: lib/block_scout_web/templates/layout/_network_selector.html.eex:21 +#: lib/block_scout_web/views/address_internal_transaction_view.ex:8 +#: lib/block_scout_web/views/address_transaction_view.ex:8 +msgid "All" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/eth_rpc.html.eex:15 +msgid "Anything not in this list is not supported. Click on the method to be taken to the documentation for that method, and check the notes section for any potential differences." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/chain/show.html.eex:47 +msgid "Average block time" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/not_found.html.eex:30 +msgid "Back Home" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_balance_card.html.eex:3 +msgid "Balance" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_coin_balance/index.html.eex:14 +msgid "Balances" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/eth_rpc.html.eex:5 +#: lib/block_scout_web/templates/api_docs/index.html.eex:5 +msgid "Base URL:" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_coin_balance/_coin_balances.html.eex:8 +msgid "Block" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/_link.html.eex:2 +#: lib/block_scout_web/templates/internal_transaction/_tile.html.eex:28 +#: lib/block_scout_web/templates/tokens/transfer/_token_transfer.html.eex:39 +msgid "Block #%{number}" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/_metatags.html.eex:3 +msgid "Block %{block_number} - %{subnetwork} Explorer" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/overview.html.eex:72 +msgid "Block Confirmations" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block_transaction/404.html.eex:7 +msgid "Block Details" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/overview.html.eex:13 +msgid "Block Height: %{height}" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/app.html.eex:57 +msgid "Block Mined, awaiting import..." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/overview.html.eex:58 +msgid "Block Number" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/transaction_view.ex:21 +msgid "Block Pending" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/overview.html.eex:139 +msgid "Block Rewards" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/block_transaction_view.ex:15 +msgid "Block not found, please try again later." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/chain/_metatags.html.eex:4 +msgid "BlockScout provides analytics data, API, and Smart Contract tools for the %{subnetwork}" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/chain/show.html.eex:87 +#: lib/block_scout_web/templates/layout/_topnav.html.eex:31 +#: lib/block_scout_web/templates/layout/_topnav.html.eex:35 +msgid "Blocks" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/app.html.eex:56 +msgid "Blocks Indexed" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_tabs.html.eex:32 +#: lib/block_scout_web/templates/address/overview.html.eex:97 +#: lib/block_scout_web/templates/address_validation/index.html.eex:13 +#: lib/block_scout_web/views/address_view.ex:311 +msgid "Blocks Validated" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_footer.html.eex:17 +msgid "Blockscout is a tool for inspecting and analyzing EVM based blockchains. Blockchain explorer for Ethereum Networks." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_token/index.html.eex:28 +#: lib/block_scout_web/templates/address_transaction/index.html.eex:74 +msgid "CSV" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/internal_transaction_view.ex:21 +msgid "Call" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/internal_transaction_view.ex:22 +msgid "Call Code" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:253 +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:47 +#: lib/block_scout_web/templates/api_docs/_eth_rpc_item.html.eex:54 +msgid "Cancel" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_network_selector.html.eex:11 +msgid "Change Network" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_footer.html.eex:36 +msgid "Chat" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:137 +#: lib/block_scout_web/templates/api_docs/_eth_rpc_item.html.eex:106 +msgid "Clear" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_validator_metadata_modal.html.eex:37 +#: lib/block_scout_web/templates/address/overview.html.eex:145 +#: lib/block_scout_web/templates/address/overview.html.eex:153 +#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:106 +#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:114 +msgid "Close" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_tabs.html.eex:42 +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:165 +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:187 +#: lib/block_scout_web/templates/api_docs/_eth_rpc_item.html.eex:126 +#: lib/block_scout_web/templates/api_docs/_eth_rpc_item.html.eex:149 +#: lib/block_scout_web/views/address_view.ex:307 +msgid "Code" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_tabs.html.eex:20 +#: lib/block_scout_web/views/address_view.ex:310 +msgid "Coin Balance History" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:40 +msgid "Compiler" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract/index.html.eex:34 +msgid "Compiler version" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:4 +msgid "Connection Lost" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_coin_balance/index.html.eex:10 +#: lib/block_scout_web/templates/block/index.html.eex:6 +msgid "Connection Lost, click to load newer blocks" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:15 +msgid "Connection Lost, click to load newer internal transactions" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_transaction/index.html.eex:11 +#: lib/block_scout_web/templates/pending_transaction/index.html.eex:15 +#: lib/block_scout_web/templates/transaction/index.html.eex:15 +msgid "Connection Lost, click to load newer transactions" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_validation/index.html.eex:10 +msgid "Connection Lost, click to load newer validations" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract/index.html.eex:53 +msgid "Constructor Arguments" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract/index.html.eex:75 +msgid "Contract ABI" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:18 +#: lib/block_scout_web/views/address_view.ex:97 +msgid "Contract Address" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/_pending_tile.html.eex:16 +#: lib/block_scout_web/views/address_view.ex:37 +#: lib/block_scout_web/views/address_view.ex:71 +msgid "Contract Address Pending" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract/index.html.eex:105 +msgid "Contract Byte Code" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/transaction_view.ex:264 +msgid "Contract Call" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/transaction_view.ex:263 +msgid "Contract Creation" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract/index.html.eex:91 +msgid "Contract Creation Code" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:118 +msgid "Contract Libraries" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:29 +msgid "Contract Name" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract/index.html.eex:26 +msgid "Contract name:" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract/index.html.eex:63 +msgid "Contract source code" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract/index.html.eex:97 +msgid "Contracts that self destruct in their constructors have no contract code published and cannot be verified." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_footer.html.eex:35 +msgid "Contribute" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract/index.html.eex:77 +msgid "Copy ABI" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/overview.html.eex:13 +#: lib/block_scout_web/templates/address/overview.html.eex:17 +#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:16 +#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:20 +msgid "Copy Address" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract/index.html.eex:107 +msgid "Copy Contract Byte Code" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract/index.html.eex:93 +msgid "Copy Contract Creation Code" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_decompiled_contract/index.html.eex:17 +msgid "Copy Decompiled Contract Code" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract/index.html.eex:65 +msgid "Copy Source Code" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/overview.html.eex:16 +msgid "Copy Transaction Hash" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/overview.html.eex:20 +msgid "Copy Txn Hash" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:66 +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:119 +#: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:31 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:69 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:122 +msgid "Copy Value" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/internal_transaction_view.ex:25 +msgid "Create" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/internal_transaction_view.ex:26 +msgid "Create2" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/overview.html.eex:107 +msgid "Created by" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:146 +#: lib/block_scout_web/templates/api_docs/_eth_rpc_item.html.eex:116 +msgid "Curl" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:56 +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:109 +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:175 +#: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:21 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:59 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:112 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:179 +msgid "Data" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:63 +msgid "Decimals" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:31 +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:37 +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:90 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:32 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:40 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:93 +msgid "Decoded" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/address_view.ex:308 +msgid "Decompiled Code" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_tabs.html.eex:52 +msgid "Decompiled code" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_decompiled_contract/index.html.eex:15 +msgid "Decompiled contract code" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_decompiled_contract/index.html.eex:8 +msgid "Decompiler version" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/internal_transaction_view.ex:23 +msgid "Delegate Call" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:53 +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:188 +#: lib/block_scout_web/templates/api_docs/_eth_rpc_item.html.eex:60 +#: lib/block_scout_web/templates/api_docs/_eth_rpc_item.html.eex:150 +msgid "Description" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/overview.html.eex:8 +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:166 +#: lib/block_scout_web/templates/api_docs/_eth_rpc_item.html.eex:127 +msgid "Details" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/overview.html.eex:58 +msgid "Difficulty" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract/index.html.eex:98 +msgid "Displaying the init data provided of the creating transaction." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/not_found.html.eex:22 +msgid "During times when the network is busy (i.e during ICOs) it can take a while for your transaction to propagate through the network and for us to index it." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/transaction_view.ex:84 +msgid "ERC-20 " +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/transaction_view.ex:85 +msgid "ERC-721 " +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/smart_contract/_functions.html.eex:50 +msgid "ETH" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/eth_rpc.html.eex:4 +msgid "ETH RPC API Documentation" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract/index.html.eex:45 +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:51 +msgid "EVM Version" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/block_transaction_view.ex:7 +msgid "Easy Cowboy! This block does not exist yet!" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/_emission_reward_tile.html.eex:5 +msgid "Emission Contract" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/block_view.ex:60 +msgid "Emission Reward" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:93 +msgid "Enter the Solidity Contract Code" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:49 +msgid "Error rendering value" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_balance_card.html.eex:32 +msgid "Error trying to fetch balances." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/transaction_view.ex:191 +msgid "Error: %{reason}" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/transaction_view.ex:189 +msgid "Error: (Awaiting internal transactions for reason)" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/overview.html.eex:120 +msgid "Error: Could not determine contract creator." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_topnav.html.eex:95 +msgid "Eth RPC" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_balance_card.html.eex:15 +#: lib/block_scout_web/templates/internal_transaction/_tile.html.eex:20 +#: lib/block_scout_web/templates/layout/app.html.eex:62 +#: lib/block_scout_web/templates/transaction/_pending_tile.html.eex:20 +#: lib/block_scout_web/templates/transaction/_tile.html.eex:29 +#: lib/block_scout_web/templates/transaction/overview.html.eex:179 +#: lib/block_scout_web/templates/transaction/overview.html.eex:209 +#: lib/block_scout_web/views/wei_helpers.ex:78 +msgid "Ether" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:211 +#: lib/block_scout_web/templates/api_docs/_eth_rpc_item.html.eex:164 +msgid "Example Value" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:128 +#: lib/block_scout_web/templates/api_docs/_eth_rpc_item.html.eex:99 +msgid "Execute" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract/index.html.eex:120 +msgid "External libraries" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/_decoded_input.html.eex:32 +msgid "Failed to decode input data." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:34 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:35 +msgid "Failed to decode log data." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_network_selector.html.eex:24 +msgid "Favorites" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_balance_card.html.eex:29 +msgid "Fetching tokens..." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/admin/dashboard/index.html.eex:16 +msgid "For any existing contracts in the database, insert all ABI entries into the contract_methods table. Use this in case you have verified smart contracts before early March 2019 and you want other contracts with the same functions to show those ABI's as candidate matches." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_topnav.html.eex:41 +msgid "Forked Blocks (Reorgs)" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:44 +#: lib/block_scout_web/templates/address_transaction/index.html.eex:40 +#: lib/block_scout_web/views/address_internal_transaction_view.ex:7 +#: lib/block_scout_web/views/address_transaction_view.ex:7 +msgid "From" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:18 +msgid "GET" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/overview.html.eex:227 +msgid "Gas" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/_tile.html.eex:56 +#: lib/block_scout_web/templates/block/overview.html.eex:105 +#: lib/block_scout_web/templates/block/overview.html.eex:152 +msgid "Gas Limit" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/_tile.html.eex:61 +#: lib/block_scout_web/templates/block/overview.html.eex:98 +#: lib/block_scout_web/templates/block/overview.html.eex:146 +msgid "Gas Used" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/overview.html.eex:13 +msgid "Genesis Block" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_footer.html.eex:19 +msgid "Github" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_topnav.html.eex:85 +msgid "GraphQL" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/block_view.ex:20 +#: lib/block_scout_web/views/wei_helpers.ex:77 +msgid "Gwei" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/overview.html.eex:38 +msgid "Hash" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/overview.html.eex:115 +#: lib/block_scout_web/templates/transaction/overview.html.eex:119 +msgid "Hex (Default)" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/eth_rpc.html.eex:11 +msgid "However, in general, the" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/_decoded_input.html.eex:18 +msgid "IMPORTANT: This information is a best guess based on similar functions from other verified contracts." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/internal_transaction/_tile.html.eex:38 +#: lib/block_scout_web/templates/transaction/_tile.html.eex:72 +msgid "IN" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/not_found.html.eex:26 +msgid "If it still does not show up after 1 hour, please check with your sender/exchange/wallet/transaction provider for additional information." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/not_found.html.eex:12 +msgid "If you have just submitted this transaction please wait for at least 30 seconds before refreshing this page." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/overview.html.eex:79 +msgid "Incoming Transactions" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:55 +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:108 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:58 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:111 +msgid "Indexed?" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/app.html.eex:58 +msgid "Indexing Tokens" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/_decoded_input.html.eex:3 +msgid "Input" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/internal_transaction/_tile.html.eex:6 +msgid "Internal Transaction" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_tabs.html.eex:14 +#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:19 +#: lib/block_scout_web/templates/transaction/_tabs.html.eex:11 +#: lib/block_scout_web/templates/transaction_internal_transaction/index.html.eex:6 +#: lib/block_scout_web/views/address_view.ex:306 +#: lib/block_scout_web/views/transaction_view.ex:317 +msgid "Internal Transactions" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/invalid.html.eex:6 +msgid "Invalid Transaction Hash" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/tokens/inventory/index.html.eex:16 +#: lib/block_scout_web/templates/tokens/overview/_tabs.html.eex:17 +#: lib/block_scout_web/views/tokens/overview_view.ex:38 +msgid "Inventory" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/not_found.html.eex:16 +msgid "It could still be in the TX Pool of a different node, waiting to be broadcasted." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/overview.html.eex:89 +msgid "Last Balance Update: Block #" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/app.html.eex:59 +msgid "Less than" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:133 +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:155 +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:177 +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:199 +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:221 +msgid "Library Address" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:123 +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:145 +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:167 +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:189 +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:211 +msgid "Library Name" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_validator_metadata_modal.html.eex:24 +msgid "License Expires" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_validator_metadata_modal.html.eex:10 +msgid "License ID" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/overview.html.eex:237 +msgid "Limit" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_coin_balance/index.html.eex:22 +#: lib/block_scout_web/templates/chain/show.html.eex:13 +msgid "Loading chart" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_read_contract/index.html.eex:14 +#: lib/block_scout_web/templates/chain/show.html.eex:99 +#: lib/block_scout_web/templates/tokens/read_contract/index.html.eex:21 +msgid "Loading..." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:247 +msgid "Loading...." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:50 +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:103 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:53 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:106 +msgid "Log Data" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_tabs.html.eex:26 +#: lib/block_scout_web/templates/address_logs/index.html.eex:8 +#: lib/block_scout_web/templates/transaction/_tabs.html.eex:17 +#: lib/block_scout_web/templates/transaction_log/index.html.eex:8 +#: lib/block_scout_web/views/address_view.ex:312 +#: lib/block_scout_web/views/transaction_view.ex:318 +msgid "Logs" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_footer.html.eex:44 +msgid "Main Networks" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_network_selector.html.eex:22 +msgid "Mainnet" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/chain/show.html.eex:31 +#: lib/block_scout_web/templates/layout/app.html.eex:60 +#: lib/block_scout_web/views/address_view.ex:121 +#: lib/block_scout_web/views/address_view.ex:121 +msgid "Market Cap" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/transaction_view.ex:172 +#: lib/block_scout_web/views/transaction_view.ex:172 +msgid "Max of" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:4 +msgid "Method Id" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/_tile.html.eex:38 +#: lib/block_scout_web/templates/block/overview.html.eex:121 +#: lib/block_scout_web/templates/chain/_block.html.eex:15 +msgid "Miner" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/block_view.ex:56 +msgid "Miner Reward" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:223 +msgid "Model" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:58 +msgid "Module" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:10 +msgid "More internal transactions have come in" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/chain/show.html.eex:111 +#: lib/block_scout_web/templates/pending_transaction/index.html.eex:10 +#: lib/block_scout_web/templates/transaction/index.html.eex:10 +msgid "More transactions have come in" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:63 +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:74 +msgid "Must be set to:" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:53 +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:106 +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:52 +#: lib/block_scout_web/templates/api_docs/_eth_rpc_item.html.eex:59 +#: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:19 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:56 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:109 +msgid "Name" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:9 +msgid "New Smart Contract Verification" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:67 +msgid "No" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/overview.html.eex:73 +#: lib/block_scout_web/templates/transaction/overview.html.eex:79 +msgid "Nonce" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/internal_transaction/_tile.html.eex:36 +#: lib/block_scout_web/templates/transaction/_tile.html.eex:68 +msgid "OUT" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract/index.html.eex:30 +msgid "Optimization enabled" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract/index.html.eex:39 +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:83 +msgid "Optimization runs" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_footer.html.eex:68 +msgid "Other Explorers" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/tokens/inventory/_token.html.eex:18 +msgid "Owner Address" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:19 +#: lib/block_scout_web/templates/api_docs/_eth_rpc_item.html.eex:26 +msgid "POST" +msgstr "" + +#, elixir-format +#: +#: lib/block_scout_web/templates/common_components/_pagination_container.html.eex:39 +msgid "Page" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:33 +#: lib/block_scout_web/templates/api_docs/_eth_rpc_item.html.eex:40 +msgid "Parameters" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/overview.html.eex:45 +msgid "Parent Hash" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_topnav.html.eex:59 +#: lib/block_scout_web/views/transaction_view.ex:186 +#: lib/block_scout_web/views/transaction_view.ex:220 +msgid "Pending" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/pending_transaction/index.html.eex:4 +msgid "Pending Transactions" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/overview.html.eex:84 +msgid "Position %{index}" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/_decoded_input.html.eex:17 +msgid "Potential matches from our contract method database:" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/chain/show.html.eex:24 +#: lib/block_scout_web/templates/layout/app.html.eex:61 +msgid "Price" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/overview.html.eex:33 +#: lib/block_scout_web/templates/address/overview.html.eex:144 +#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:36 +#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:105 +msgid "QR Code" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/smart_contract/_functions.html.eex:22 +msgid "Query" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_topnav.html.eex:90 +msgid "RPC" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/overview.html.eex:109 +msgid "Raw Input" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/_tabs.html.eex:24 +#: lib/block_scout_web/templates/transaction_raw_trace/index.html.eex:7 +#: lib/block_scout_web/views/transaction_view.ex:319 +msgid "Raw Trace" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_tabs.html.eex:58 +#: lib/block_scout_web/templates/tokens/overview/_tabs.html.eex:25 +#: lib/block_scout_web/views/address_view.ex:309 +#: lib/block_scout_web/views/tokens/overview_view.ex:37 +msgid "Read Contract" +msgstr "" + +#, elixir-format +#: +#: lib/block_scout_web/templates/common_components/_pagination_container.html.eex:11 +msgid "Records" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:155 +msgid "Request URL" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:250 +msgid "Reset" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:173 +#: lib/block_scout_web/templates/api_docs/_eth_rpc_item.html.eex:134 +msgid "Response Body" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:185 +#: lib/block_scout_web/templates/api_docs/_eth_rpc_item.html.eex:147 +msgid "Responses" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/_tile.html.eex:47 +#: lib/block_scout_web/templates/chain/_block.html.eex:23 +#: lib/block_scout_web/views/internal_transaction_view.ex:28 +msgid "Reward" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/admin/dashboard/index.html.eex:21 +msgid "Run" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_logs/index.html.eex:14 +#: lib/block_scout_web/templates/layout/_topnav.html.eex:127 +#: lib/block_scout_web/templates/layout/_topnav.html.eex:144 +msgid "Search" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_topnav.html.eex:121 +#: lib/block_scout_web/templates/layout/_topnav.html.eex:125 +msgid "Search by address, token symbol name, transaction hash, or block number" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_network_selector.html.eex:18 +msgid "Search network" +msgstr "" + +#, elixir-format +#: +#: lib/block_scout_web/templates/address_token_balance/_token_balances.html.eex:30 +msgid "Search tokens" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/internal_transaction_view.ex:27 +msgid "Self-Destruct" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:163 +#: lib/block_scout_web/templates/api_docs/_eth_rpc_item.html.eex:124 +msgid "Server Response" +msgstr "" + +#, elixir-format +#: +#: lib/block_scout_web/templates/common_components/_pagination_container.html.eex:5 +msgid "Show" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/overview.html.eex:34 +#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:37 +msgid "Show QR Code" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/overview.html.eex:48 +msgid "Show Validator Info" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_coin_balance/index.html.eex:34 +#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:61 +#: lib/block_scout_web/templates/address_logs/index.html.eex:21 +#: lib/block_scout_web/templates/address_token/index.html.eex:13 +#: lib/block_scout_web/templates/address_token_transfer/index.html.eex:20 +#: lib/block_scout_web/templates/address_transaction/index.html.eex:59 +#: lib/block_scout_web/templates/address_validation/index.html.eex:22 +#: lib/block_scout_web/templates/block_transaction/index.html.eex:23 +#: lib/block_scout_web/templates/chain/show.html.eex:91 +#: lib/block_scout_web/templates/pending_transaction/index.html.eex:19 +#: lib/block_scout_web/templates/tokens/holder/index.html.eex:21 +#: lib/block_scout_web/templates/tokens/inventory/index.html.eex:21 +#: lib/block_scout_web/templates/tokens/transfer/index.html.eex:20 +#: lib/block_scout_web/templates/transaction/index.html.eex:20 +#: lib/block_scout_web/templates/transaction_internal_transaction/index.html.eex:11 +#: lib/block_scout_web/templates/transaction_log/index.html.eex:13 +#: lib/block_scout_web/templates/transaction_token_transfer/index.html.eex:12 +msgid "Something went wrong, click to reload." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/chain/show.html.eex:117 +msgid "Something went wrong, click to retry." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/not_found.html.eex:7 +msgid "Sorry, We are unable to locate this transaction Hash" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/internal_transaction_view.ex:24 +msgid "Static Call" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_footer.html.eex:34 +msgid "Submit an Issue" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/_emission_reward_tile.html.eex:8 +#: lib/block_scout_web/views/transaction_view.ex:188 +msgid "Success" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_footer.html.eex:37 +msgid "Support" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/_pending_tile.html.eex:21 +#: lib/block_scout_web/templates/transaction/_tile.html.eex:32 +#: lib/block_scout_web/templates/transaction/overview.html.eex:84 +msgid "TX Fee" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_footer.html.eex:25 +msgid "Telegram" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_footer.html.eex:57 +msgid "Test Networks" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_network_selector.html.eex:23 +msgid "Testnet" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_validation/index.html.eex:18 +msgid "There are no blocks validated by this address." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/index.html.eex:18 +msgid "There are no blocks." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/tokens/holder/index.html.eex:26 +msgid "There are no holders for this Token." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:65 +msgid "There are no internal transactions for this address." +msgstr "" + +#, elixir-format +#: +#: lib/block_scout_web/templates/transaction_internal_transaction/index.html.eex:15 +msgid "There are no internal transactions for this transaction." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_logs/index.html.eex:26 +msgid "There are no logs for this address." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction_log/index.html.eex:18 +msgid "There are no logs for this transaction." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/pending_transaction/index.html.eex:23 +msgid "There are no pending transactions." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_token_transfer/index.html.eex:15 +msgid "There are no token transfers for this address." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction_token_transfer/index.html.eex:17 +msgid "There are no token transfers for this transaction" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_token/index.html.eex:18 +msgid "There are no tokens for this address." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/tokens/inventory/index.html.eex:26 +msgid "There are no tokens." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_transaction/index.html.eex:64 +msgid "There are no transactions for this address." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block_transaction/index.html.eex:28 +msgid "There are no transactions for this block." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/index.html.eex:26 +msgid "There are no transactions." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/tokens/transfer/index.html.eex:25 +msgid "There are no transfers for this Token." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_coin_balance/index.html.eex:39 +msgid "There is no coin history for this address." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_decompiled_contract/index.html.eex:27 +msgid "There is no decompilded contracts for this address." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_coin_balance/index.html.eex:25 +#: lib/block_scout_web/templates/chain/show.html.eex:16 +msgid "There was a problem loading the chart." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/index.html.eex:6 +msgid "This API is provided for developers transitioning their applications from Etherscan to BlockScout. It supports GET and POST requests." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/eth_rpc.html.eex:7 +msgid "This API is provided to support some rpc methods in the exact format specified for ethereum nodes, which can be found " +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/block_transaction_view.ex:11 +msgid "This block has not been processed yet." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/eth_rpc.html.eex:10 +msgid "This is useful to allow sending requests to blockscout without having to change anything about the request." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/overview.html.eex:35 +msgid "This transaction is pending confirmation." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:33 +#: lib/block_scout_web/templates/address_transaction/index.html.eex:29 +#: lib/block_scout_web/views/address_internal_transaction_view.ex:6 +#: lib/block_scout_web/views/address_transaction_view.ex:6 +msgid "To" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/_decoded_input.html.eex:19 +msgid "To have guaranteed accuracy, use the link above to verify the contract's source code." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:6 +#: lib/block_scout_web/templates/transaction/_decoded_input.html.eex:8 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:6 +msgid "To see accurate decoded input data, the contract must be verified." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_topnav.html.eex:20 +msgid "Toggle navigation" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:10 +msgid "Token Details" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/tokens/holder/index.html.eex:16 +#: lib/block_scout_web/templates/tokens/overview/_tabs.html.eex:9 +#: lib/block_scout_web/views/tokens/overview_view.ex:36 +msgid "Token Holders" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/tokens/inventory/_token.html.eex:11 +msgid "Token ID" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/tokens/transfer/_token_transfer.html.eex:5 +#: lib/block_scout_web/templates/transaction_token_transfer/_token_transfer.html.eex:4 +#: lib/block_scout_web/views/transaction_view.ex:262 +msgid "Token Transfer" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/tokens/overview/_tabs.html.eex:3 +#: lib/block_scout_web/templates/tokens/transfer/index.html.eex:15 +#: lib/block_scout_web/templates/transaction/_tabs.html.eex:4 +#: lib/block_scout_web/templates/transaction_token_transfer/index.html.eex:7 +#: lib/block_scout_web/views/tokens/overview_view.ex:35 +#: lib/block_scout_web/views/transaction_view.ex:316 +msgid "Token Transfers" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_tabs.html.eex:8 +#: lib/block_scout_web/templates/address_token/index.html.eex:8 +#: lib/block_scout_web/templates/address_token_transfer/index.html.eex:9 +#: lib/block_scout_web/views/address_view.ex:304 +msgid "Tokens" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_metatags.html.eex:13 +msgid "Top Accounts - %{subnetwork} Explorer" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_logs/index.html.eex:12 +msgid "Topic" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:145 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:149 +msgid "Topics" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/overview.html.eex:67 +msgid "Total Difficulty" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:75 +msgid "Total Supply" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/chain/show.html.eex:64 +msgid "Total blocks" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/chain/show.html.eex:56 +msgid "Total transactions" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:18 +#: lib/block_scout_web/views/transaction_view.ex:265 +msgid "Transaction" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/_metatags.html.eex:3 +msgid "Transaction %{transaction} - %{subnetwork} Explorer" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/_metatags.html.eex:11 +msgid "Transaction %{transaction}, %{subnetwork} %{transaction}" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/overview.html.eex:11 +msgid "Transaction Details" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:2 +#: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:16 +msgid "Transaction Inputs" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/overview.html.eex:101 +msgid "Transaction Speed" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_tabs.html.eex:3 +#: lib/block_scout_web/templates/address_transaction/index.html.eex:15 +#: lib/block_scout_web/templates/block_transaction/index.html.eex:10 +#: lib/block_scout_web/templates/block_transaction/index.html.eex:18 +#: lib/block_scout_web/templates/chain/show.html.eex:108 +#: lib/block_scout_web/templates/layout/_topnav.html.eex:50 +#: lib/block_scout_web/views/address_view.ex:305 +msgid "Transactions" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/overview.html.eex:84 +msgid "Transactions Sent" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_tile.html.eex:31 +msgid "Transactions sent" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:61 +msgid "Transfers" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:40 +#: lib/block_scout_web/templates/api_docs/_eth_rpc_item.html.eex:47 +msgid "Try it out" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_footer.html.eex:22 +msgid "Twitter" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:54 +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:107 +#: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:20 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:57 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:110 +msgid "Type" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/overview.html.eex:122 +msgid "UTF-8" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/block_view.ex:64 +msgid "Uncle Reward" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/overview.html.eex:80 +#: lib/block_scout_web/templates/layout/_topnav.html.eex:38 +msgid "Uncles" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/tokens/inventory/_token.html.eex:6 +msgid "Unique Token" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_network_selector.html.eex:12 +msgid "Use the search box to find a hosted network, or select from the list of available networks below." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/overview.html.eex:231 +msgid "Used" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_topnav.html.eex:54 +msgid "Validated" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/index.html.eex:4 +msgid "Validated Transactions" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_tile.html.eex:35 +msgid "Validations" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_validator_metadata_modal.html.eex:30 +msgid "Validator Creation Date" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_validator_metadata_modal.html.eex:5 +msgid "Validator Data" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/overview.html.eex:52 +msgid "Validator Info" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/overview.html.eex:179 +#: lib/block_scout_web/templates/transaction/overview.html.eex:209 +msgid "Value" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract/index.html.eex:11 +#: lib/block_scout_web/templates/address_contract/index.html.eex:16 +msgid "Verify & Publish" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:249 +msgid "Verify & publish" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:9 +#: lib/block_scout_web/templates/transaction/_decoded_input.html.eex:11 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:9 +msgid "Verify the contract " +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_footer.html.eex:83 +msgid "Version" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/chain/show.html.eex:86 +msgid "View All Blocks" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/chain/show.html.eex:107 +msgid "View All Transactions" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:55 +msgid "View Contract" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/_tile.html.eex:53 +msgid "View Less Transfers" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/_tile.html.eex:52 +msgid "View More Transfers" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_metatags.html.eex:9 +msgid "View the account balance, transactions, and other data for %{address} on the %{network}" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/_metatags.html.eex:10 +msgid "View the transactions, token transfers, and uncles for block number %{block_number}" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/_metatags.html.eex:10 +msgid "View transaction %{transaction} on %{subnetwork}" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/smart_contract/_functions.html.eex:49 +msgid "WEI" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/chain/show.html.eex:72 +msgid "Wallet addresses" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/wei_helpers.ex:76 +msgid "Wei" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:72 +msgid "Yes" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/overview.html.eex:112 +msgid "at" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/eth_rpc.html.eex:12 +msgid "custom RPC" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/address_contract_view.ex:23 +msgid "false" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:9 +#: lib/block_scout_web/templates/transaction/_decoded_input.html.eex:11 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:9 +msgid "here" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/eth_rpc.html.eex:9 +msgid "here." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/invalid.html.eex:8 +msgid "is not a valid transaction hash" +msgstr "" + +#, elixir-format +#: +#: lib/block_scout_web/templates/common_components/_pagination_container.html.eex:39 +msgid "of" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:58 +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:69 +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:81 +#: lib/block_scout_web/templates/api_docs/_eth_rpc_item.html.eex:70 +msgid "required" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:59 +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:70 +msgid "string" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/address_contract_view.ex:22 +msgid "true" +msgstr "" diff --git a/apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po b/apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po index e69de29bb2..8ab78b1a4c 100644 --- a/apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po +++ b/apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po @@ -0,0 +1,1844 @@ +#, elixir-format +#: lib/block_scout_web/views/address_token_balance_view.ex:7 +msgid "%{count} token" +msgid_plural "%{count} tokens" +msgstr[0] "" +msgstr[1] "" + +#, elixir-format +#: lib/block_scout_web/templates/block/_tile.html.eex:27 +msgid "%{count} transaction" +msgid_plural "%{count} transactions" +msgstr[0] "" +msgstr[1] "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/overview.html.eex:192 +msgid " Token Transfer" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/eth_rpc.html.eex:14 +msgid " is recommended." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_metatags.html.eex:3 +msgid "%{address} - %{subnetwork} Explorer" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/overview.html.eex:8 +msgid "%{block_type} Details" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/overview.html.eex:15 +msgid "%{block_type} Height:" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/index.html.eex:10 +msgid "%{block_type}s" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/overview.html.eex:21 +#: lib/block_scout_web/templates/chain/_block.html.eex:11 +msgid "%{count} Transactions" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/chain/_metatags.html.eex:2 +msgid "%{subnetwork} %{network} Explorer" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_default_title.html.eex:2 +msgid "%{subnetwork} Explorer - BlockScout" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/transaction_view.ex:187 +msgid "(Awaiting internal transactions for status)" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:59 +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:70 +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:82 +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:104 +msgid "(query)" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/app.html.eex:42 +msgid "- We're indexing this chain right now. Some of the counts may be inaccurate." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/overview.html.eex:75 +msgid ">=" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:73 +msgid "A string with the name of the action to be invoked." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:62 +msgid "A string with the name of the module to be invoked." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:104 +msgid "ABI-encoded Constructor Arguments (if required by the contract)" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/index.html.eex:4 +msgid "API Documentation" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_metatags.html.eex:4 +msgid "API endpoints for the %{subnetwork}" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_metatags.html.eex:2 +msgid "API for the %{subnetwork} - BlockScout" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_topnav.html.eex:81 +msgid "APIs" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_topnav.html.eex:71 +msgid "Accounts" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:69 +msgid "Action" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_validator_metadata_modal.html.eex:16 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:19 +#: lib/block_scout_web/views/address_view.ex:99 +msgid "Address" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/index.html.eex:4 +#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:60 +msgid "Addresses" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:27 +#: lib/block_scout_web/templates/address_transaction/index.html.eex:23 +#: lib/block_scout_web/templates/layout/_network_selector.html.eex:21 +#: lib/block_scout_web/views/address_internal_transaction_view.ex:8 +#: lib/block_scout_web/views/address_transaction_view.ex:8 +msgid "All" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/eth_rpc.html.eex:15 +msgid "Anything not in this list is not supported. Click on the method to be taken to the documentation for that method, and check the notes section for any potential differences." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/chain/show.html.eex:47 +msgid "Average block time" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/not_found.html.eex:30 +msgid "Back Home" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_balance_card.html.eex:3 +msgid "Balance" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_coin_balance/index.html.eex:14 +msgid "Balances" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/eth_rpc.html.eex:5 +#: lib/block_scout_web/templates/api_docs/index.html.eex:5 +msgid "Base URL:" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_coin_balance/_coin_balances.html.eex:8 +msgid "Block" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/_link.html.eex:2 +#: lib/block_scout_web/templates/internal_transaction/_tile.html.eex:28 +#: lib/block_scout_web/templates/tokens/transfer/_token_transfer.html.eex:39 +msgid "Block #%{number}" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/_metatags.html.eex:3 +msgid "Block %{block_number} - %{subnetwork} Explorer" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/overview.html.eex:72 +msgid "Block Confirmations" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block_transaction/404.html.eex:7 +msgid "Block Details" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/overview.html.eex:13 +msgid "Block Height: %{height}" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/app.html.eex:57 +msgid "Block Mined, awaiting import..." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/overview.html.eex:58 +msgid "Block Number" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/transaction_view.ex:21 +msgid "Block Pending" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/overview.html.eex:139 +msgid "Block Rewards" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/block_transaction_view.ex:15 +msgid "Block not found, please try again later." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/chain/_metatags.html.eex:4 +msgid "BlockScout provides analytics data, API, and Smart Contract tools for the %{subnetwork}" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/chain/show.html.eex:87 +#: lib/block_scout_web/templates/layout/_topnav.html.eex:31 +#: lib/block_scout_web/templates/layout/_topnav.html.eex:35 +msgid "Blocks" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/app.html.eex:56 +msgid "Blocks Indexed" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_tabs.html.eex:32 +#: lib/block_scout_web/templates/address/overview.html.eex:97 +#: lib/block_scout_web/templates/address_validation/index.html.eex:13 +#: lib/block_scout_web/views/address_view.ex:311 +msgid "Blocks Validated" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_footer.html.eex:17 +msgid "Blockscout is a tool for inspecting and analyzing EVM based blockchains. Blockchain explorer for Ethereum Networks." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_token/index.html.eex:28 +#: lib/block_scout_web/templates/address_transaction/index.html.eex:74 +msgid "CSV" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/internal_transaction_view.ex:21 +msgid "Call" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/internal_transaction_view.ex:22 +msgid "Call Code" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:253 +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:47 +#: lib/block_scout_web/templates/api_docs/_eth_rpc_item.html.eex:54 +msgid "Cancel" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_network_selector.html.eex:11 +msgid "Change Network" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_footer.html.eex:36 +msgid "Chat" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:137 +#: lib/block_scout_web/templates/api_docs/_eth_rpc_item.html.eex:106 +msgid "Clear" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_validator_metadata_modal.html.eex:37 +#: lib/block_scout_web/templates/address/overview.html.eex:145 +#: lib/block_scout_web/templates/address/overview.html.eex:153 +#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:106 +#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:114 +msgid "Close" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_tabs.html.eex:42 +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:165 +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:187 +#: lib/block_scout_web/templates/api_docs/_eth_rpc_item.html.eex:126 +#: lib/block_scout_web/templates/api_docs/_eth_rpc_item.html.eex:149 +#: lib/block_scout_web/views/address_view.ex:307 +msgid "Code" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_tabs.html.eex:20 +#: lib/block_scout_web/views/address_view.ex:310 +msgid "Coin Balance History" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:40 +msgid "Compiler" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract/index.html.eex:34 +msgid "Compiler version" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:4 +msgid "Connection Lost" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_coin_balance/index.html.eex:10 +#: lib/block_scout_web/templates/block/index.html.eex:6 +msgid "Connection Lost, click to load newer blocks" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:15 +msgid "Connection Lost, click to load newer internal transactions" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_transaction/index.html.eex:11 +#: lib/block_scout_web/templates/pending_transaction/index.html.eex:15 +#: lib/block_scout_web/templates/transaction/index.html.eex:15 +msgid "Connection Lost, click to load newer transactions" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_validation/index.html.eex:10 +msgid "Connection Lost, click to load newer validations" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract/index.html.eex:53 +msgid "Constructor Arguments" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract/index.html.eex:75 +msgid "Contract ABI" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:18 +#: lib/block_scout_web/views/address_view.ex:97 +msgid "Contract Address" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/_pending_tile.html.eex:16 +#: lib/block_scout_web/views/address_view.ex:37 +#: lib/block_scout_web/views/address_view.ex:71 +msgid "Contract Address Pending" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract/index.html.eex:105 +msgid "Contract Byte Code" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/transaction_view.ex:264 +msgid "Contract Call" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/transaction_view.ex:263 +msgid "Contract Creation" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract/index.html.eex:91 +msgid "Contract Creation Code" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:118 +msgid "Contract Libraries" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:29 +msgid "Contract Name" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract/index.html.eex:26 +msgid "Contract name:" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract/index.html.eex:63 +msgid "Contract source code" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract/index.html.eex:97 +msgid "Contracts that self destruct in their constructors have no contract code published and cannot be verified." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_footer.html.eex:35 +msgid "Contribute" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract/index.html.eex:77 +msgid "Copy ABI" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/overview.html.eex:13 +#: lib/block_scout_web/templates/address/overview.html.eex:17 +#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:16 +#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:20 +msgid "Copy Address" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract/index.html.eex:107 +msgid "Copy Contract Byte Code" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract/index.html.eex:93 +msgid "Copy Contract Creation Code" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_decompiled_contract/index.html.eex:17 +msgid "Copy Decompiled Contract Code" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract/index.html.eex:65 +msgid "Copy Source Code" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/overview.html.eex:16 +msgid "Copy Transaction Hash" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/overview.html.eex:20 +msgid "Copy Txn Hash" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:66 +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:119 +#: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:31 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:69 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:122 +msgid "Copy Value" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/internal_transaction_view.ex:25 +msgid "Create" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/internal_transaction_view.ex:26 +msgid "Create2" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/overview.html.eex:107 +msgid "Created by" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:146 +#: lib/block_scout_web/templates/api_docs/_eth_rpc_item.html.eex:116 +msgid "Curl" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:56 +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:109 +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:175 +#: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:21 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:59 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:112 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:179 +msgid "Data" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:63 +msgid "Decimals" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:31 +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:37 +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:90 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:32 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:40 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:93 +msgid "Decoded" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/address_view.ex:308 +msgid "Decompiled Code" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_tabs.html.eex:52 +msgid "Decompiled code" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_decompiled_contract/index.html.eex:15 +msgid "Decompiled contract code" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_decompiled_contract/index.html.eex:8 +msgid "Decompiler version" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/internal_transaction_view.ex:23 +msgid "Delegate Call" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:53 +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:188 +#: lib/block_scout_web/templates/api_docs/_eth_rpc_item.html.eex:60 +#: lib/block_scout_web/templates/api_docs/_eth_rpc_item.html.eex:150 +msgid "Description" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/overview.html.eex:8 +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:166 +#: lib/block_scout_web/templates/api_docs/_eth_rpc_item.html.eex:127 +msgid "Details" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/overview.html.eex:58 +msgid "Difficulty" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract/index.html.eex:98 +msgid "Displaying the init data provided of the creating transaction." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/not_found.html.eex:22 +msgid "During times when the network is busy (i.e during ICOs) it can take a while for your transaction to propagate through the network and for us to index it." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/transaction_view.ex:84 +msgid "ERC-20 " +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/transaction_view.ex:85 +msgid "ERC-721 " +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/smart_contract/_functions.html.eex:50 +msgid "ETH" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/eth_rpc.html.eex:4 +msgid "ETH RPC API Documentation" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract/index.html.eex:45 +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:51 +msgid "EVM Version" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/block_transaction_view.ex:7 +msgid "Easy Cowboy! This block does not exist yet!" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/_emission_reward_tile.html.eex:5 +msgid "Emission Contract" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/block_view.ex:60 +msgid "Emission Reward" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:93 +msgid "Enter the Solidity Contract Code" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:49 +msgid "Error rendering value" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_balance_card.html.eex:32 +msgid "Error trying to fetch balances." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/transaction_view.ex:191 +msgid "Error: %{reason}" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/transaction_view.ex:189 +msgid "Error: (Awaiting internal transactions for reason)" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/overview.html.eex:120 +msgid "Error: Could not determine contract creator." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_topnav.html.eex:95 +msgid "Eth RPC" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_balance_card.html.eex:15 +#: lib/block_scout_web/templates/internal_transaction/_tile.html.eex:20 +#: lib/block_scout_web/templates/layout/app.html.eex:62 +#: lib/block_scout_web/templates/transaction/_pending_tile.html.eex:20 +#: lib/block_scout_web/templates/transaction/_tile.html.eex:29 +#: lib/block_scout_web/templates/transaction/overview.html.eex:179 +#: lib/block_scout_web/templates/transaction/overview.html.eex:209 +#: lib/block_scout_web/views/wei_helpers.ex:78 +msgid "Ether" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:211 +#: lib/block_scout_web/templates/api_docs/_eth_rpc_item.html.eex:164 +msgid "Example Value" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:128 +#: lib/block_scout_web/templates/api_docs/_eth_rpc_item.html.eex:99 +msgid "Execute" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract/index.html.eex:120 +msgid "External libraries" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/_decoded_input.html.eex:32 +msgid "Failed to decode input data." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:34 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:35 +msgid "Failed to decode log data." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_network_selector.html.eex:24 +msgid "Favorites" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_balance_card.html.eex:29 +msgid "Fetching tokens..." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/admin/dashboard/index.html.eex:16 +msgid "For any existing contracts in the database, insert all ABI entries into the contract_methods table. Use this in case you have verified smart contracts before early March 2019 and you want other contracts with the same functions to show those ABI's as candidate matches." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_topnav.html.eex:41 +msgid "Forked Blocks (Reorgs)" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:44 +#: lib/block_scout_web/templates/address_transaction/index.html.eex:40 +#: lib/block_scout_web/views/address_internal_transaction_view.ex:7 +#: lib/block_scout_web/views/address_transaction_view.ex:7 +msgid "From" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:18 +msgid "GET" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/overview.html.eex:227 +msgid "Gas" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/_tile.html.eex:56 +#: lib/block_scout_web/templates/block/overview.html.eex:105 +#: lib/block_scout_web/templates/block/overview.html.eex:152 +msgid "Gas Limit" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/_tile.html.eex:61 +#: lib/block_scout_web/templates/block/overview.html.eex:98 +#: lib/block_scout_web/templates/block/overview.html.eex:146 +msgid "Gas Used" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/overview.html.eex:13 +msgid "Genesis Block" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_footer.html.eex:19 +msgid "Github" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_topnav.html.eex:85 +msgid "GraphQL" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/block_view.ex:20 +#: lib/block_scout_web/views/wei_helpers.ex:77 +msgid "Gwei" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/overview.html.eex:38 +msgid "Hash" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/overview.html.eex:115 +#: lib/block_scout_web/templates/transaction/overview.html.eex:119 +msgid "Hex (Default)" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/eth_rpc.html.eex:11 +msgid "However, in general, the" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/_decoded_input.html.eex:18 +msgid "IMPORTANT: This information is a best guess based on similar functions from other verified contracts." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/internal_transaction/_tile.html.eex:38 +#: lib/block_scout_web/templates/transaction/_tile.html.eex:72 +msgid "IN" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/not_found.html.eex:26 +msgid "If it still does not show up after 1 hour, please check with your sender/exchange/wallet/transaction provider for additional information." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/not_found.html.eex:12 +msgid "If you have just submitted this transaction please wait for at least 30 seconds before refreshing this page." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/overview.html.eex:79 +msgid "Incoming Transactions" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:55 +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:108 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:58 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:111 +msgid "Indexed?" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/app.html.eex:58 +msgid "Indexing Tokens" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/_decoded_input.html.eex:3 +msgid "Input" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/internal_transaction/_tile.html.eex:6 +msgid "Internal Transaction" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_tabs.html.eex:14 +#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:19 +#: lib/block_scout_web/templates/transaction/_tabs.html.eex:11 +#: lib/block_scout_web/templates/transaction_internal_transaction/index.html.eex:6 +#: lib/block_scout_web/views/address_view.ex:306 +#: lib/block_scout_web/views/transaction_view.ex:317 +msgid "Internal Transactions" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/invalid.html.eex:6 +msgid "Invalid Transaction Hash" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/tokens/inventory/index.html.eex:16 +#: lib/block_scout_web/templates/tokens/overview/_tabs.html.eex:17 +#: lib/block_scout_web/views/tokens/overview_view.ex:38 +msgid "Inventory" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/not_found.html.eex:16 +msgid "It could still be in the TX Pool of a different node, waiting to be broadcasted." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/overview.html.eex:89 +msgid "Last Balance Update: Block #" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/app.html.eex:59 +msgid "Less than" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:133 +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:155 +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:177 +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:199 +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:221 +msgid "Library Address" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:123 +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:145 +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:167 +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:189 +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:211 +msgid "Library Name" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_validator_metadata_modal.html.eex:24 +msgid "License Expires" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_validator_metadata_modal.html.eex:10 +msgid "License ID" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/overview.html.eex:237 +msgid "Limit" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_coin_balance/index.html.eex:22 +#: lib/block_scout_web/templates/chain/show.html.eex:13 +msgid "Loading chart" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_read_contract/index.html.eex:14 +#: lib/block_scout_web/templates/chain/show.html.eex:99 +#: lib/block_scout_web/templates/tokens/read_contract/index.html.eex:21 +msgid "Loading..." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:247 +msgid "Loading...." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:50 +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:103 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:53 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:106 +msgid "Log Data" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_tabs.html.eex:26 +#: lib/block_scout_web/templates/address_logs/index.html.eex:8 +#: lib/block_scout_web/templates/transaction/_tabs.html.eex:17 +#: lib/block_scout_web/templates/transaction_log/index.html.eex:8 +#: lib/block_scout_web/views/address_view.ex:312 +#: lib/block_scout_web/views/transaction_view.ex:318 +msgid "Logs" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_footer.html.eex:44 +msgid "Main Networks" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_network_selector.html.eex:22 +msgid "Mainnet" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/chain/show.html.eex:31 +#: lib/block_scout_web/templates/layout/app.html.eex:60 +#: lib/block_scout_web/views/address_view.ex:121 +#: lib/block_scout_web/views/address_view.ex:121 +msgid "Market Cap" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/transaction_view.ex:172 +#: lib/block_scout_web/views/transaction_view.ex:172 +msgid "Max of" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:4 +msgid "Method Id" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/_tile.html.eex:38 +#: lib/block_scout_web/templates/block/overview.html.eex:121 +#: lib/block_scout_web/templates/chain/_block.html.eex:15 +msgid "Miner" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/block_view.ex:56 +msgid "Miner Reward" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:223 +msgid "Model" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:58 +msgid "Module" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:10 +msgid "More internal transactions have come in" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/chain/show.html.eex:111 +#: lib/block_scout_web/templates/pending_transaction/index.html.eex:10 +#: lib/block_scout_web/templates/transaction/index.html.eex:10 +msgid "More transactions have come in" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:63 +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:74 +msgid "Must be set to:" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:53 +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:106 +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:52 +#: lib/block_scout_web/templates/api_docs/_eth_rpc_item.html.eex:59 +#: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:19 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:56 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:109 +msgid "Name" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:9 +msgid "New Smart Contract Verification" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:67 +msgid "No" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/overview.html.eex:73 +#: lib/block_scout_web/templates/transaction/overview.html.eex:79 +msgid "Nonce" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/internal_transaction/_tile.html.eex:36 +#: lib/block_scout_web/templates/transaction/_tile.html.eex:68 +msgid "OUT" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract/index.html.eex:30 +msgid "Optimization enabled" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract/index.html.eex:39 +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:83 +msgid "Optimization runs" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_footer.html.eex:68 +msgid "Other Explorers" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/tokens/inventory/_token.html.eex:18 +msgid "Owner Address" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:19 +#: lib/block_scout_web/templates/api_docs/_eth_rpc_item.html.eex:26 +msgid "POST" +msgstr "" + +#, elixir-format +#: +#: lib/block_scout_web/templates/common_components/_pagination_container.html.eex:39 +msgid "Page" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:33 +#: lib/block_scout_web/templates/api_docs/_eth_rpc_item.html.eex:40 +msgid "Parameters" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/overview.html.eex:45 +msgid "Parent Hash" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_topnav.html.eex:59 +#: lib/block_scout_web/views/transaction_view.ex:186 +#: lib/block_scout_web/views/transaction_view.ex:220 +msgid "Pending" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/pending_transaction/index.html.eex:4 +msgid "Pending Transactions" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/overview.html.eex:84 +msgid "Position %{index}" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/_decoded_input.html.eex:17 +msgid "Potential matches from our contract method database:" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/chain/show.html.eex:24 +#: lib/block_scout_web/templates/layout/app.html.eex:61 +msgid "Price" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/overview.html.eex:33 +#: lib/block_scout_web/templates/address/overview.html.eex:144 +#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:36 +#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:105 +msgid "QR Code" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/smart_contract/_functions.html.eex:22 +msgid "Query" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_topnav.html.eex:90 +msgid "RPC" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/overview.html.eex:109 +msgid "Raw Input" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/_tabs.html.eex:24 +#: lib/block_scout_web/templates/transaction_raw_trace/index.html.eex:7 +#: lib/block_scout_web/views/transaction_view.ex:319 +msgid "Raw Trace" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_tabs.html.eex:58 +#: lib/block_scout_web/templates/tokens/overview/_tabs.html.eex:25 +#: lib/block_scout_web/views/address_view.ex:309 +#: lib/block_scout_web/views/tokens/overview_view.ex:37 +msgid "Read Contract" +msgstr "" + +#, elixir-format +#: +#: lib/block_scout_web/templates/common_components/_pagination_container.html.eex:11 +msgid "Records" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:155 +msgid "Request URL" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:250 +msgid "Reset" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:173 +#: lib/block_scout_web/templates/api_docs/_eth_rpc_item.html.eex:134 +msgid "Response Body" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:185 +#: lib/block_scout_web/templates/api_docs/_eth_rpc_item.html.eex:147 +msgid "Responses" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/_tile.html.eex:47 +#: lib/block_scout_web/templates/chain/_block.html.eex:23 +#: lib/block_scout_web/views/internal_transaction_view.ex:28 +msgid "Reward" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/admin/dashboard/index.html.eex:21 +msgid "Run" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_logs/index.html.eex:14 +#: lib/block_scout_web/templates/layout/_topnav.html.eex:127 +#: lib/block_scout_web/templates/layout/_topnav.html.eex:144 +msgid "Search" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_topnav.html.eex:121 +#: lib/block_scout_web/templates/layout/_topnav.html.eex:125 +msgid "Search by address, token symbol name, transaction hash, or block number" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_network_selector.html.eex:18 +msgid "Search network" +msgstr "" + +#, elixir-format +#: +#: lib/block_scout_web/templates/address_token_balance/_token_balances.html.eex:30 +msgid "Search tokens" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/internal_transaction_view.ex:27 +msgid "Self-Destruct" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:163 +#: lib/block_scout_web/templates/api_docs/_eth_rpc_item.html.eex:124 +msgid "Server Response" +msgstr "" + +#, elixir-format +#: +#: lib/block_scout_web/templates/common_components/_pagination_container.html.eex:5 +msgid "Show" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/overview.html.eex:34 +#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:37 +msgid "Show QR Code" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/overview.html.eex:48 +msgid "Show Validator Info" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_coin_balance/index.html.eex:34 +#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:61 +#: lib/block_scout_web/templates/address_logs/index.html.eex:21 +#: lib/block_scout_web/templates/address_token/index.html.eex:13 +#: lib/block_scout_web/templates/address_token_transfer/index.html.eex:20 +#: lib/block_scout_web/templates/address_transaction/index.html.eex:59 +#: lib/block_scout_web/templates/address_validation/index.html.eex:22 +#: lib/block_scout_web/templates/block_transaction/index.html.eex:23 +#: lib/block_scout_web/templates/chain/show.html.eex:91 +#: lib/block_scout_web/templates/pending_transaction/index.html.eex:19 +#: lib/block_scout_web/templates/tokens/holder/index.html.eex:21 +#: lib/block_scout_web/templates/tokens/inventory/index.html.eex:21 +#: lib/block_scout_web/templates/tokens/transfer/index.html.eex:20 +#: lib/block_scout_web/templates/transaction/index.html.eex:20 +#: lib/block_scout_web/templates/transaction_internal_transaction/index.html.eex:11 +#: lib/block_scout_web/templates/transaction_log/index.html.eex:13 +#: lib/block_scout_web/templates/transaction_token_transfer/index.html.eex:12 +msgid "Something went wrong, click to reload." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/chain/show.html.eex:117 +msgid "Something went wrong, click to retry." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/not_found.html.eex:7 +msgid "Sorry, We are unable to locate this transaction Hash" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/internal_transaction_view.ex:24 +msgid "Static Call" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_footer.html.eex:34 +msgid "Submit an Issue" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/_emission_reward_tile.html.eex:8 +#: lib/block_scout_web/views/transaction_view.ex:188 +msgid "Success" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_footer.html.eex:37 +msgid "Support" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/_pending_tile.html.eex:21 +#: lib/block_scout_web/templates/transaction/_tile.html.eex:32 +#: lib/block_scout_web/templates/transaction/overview.html.eex:84 +msgid "TX Fee" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_footer.html.eex:25 +msgid "Telegram" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_footer.html.eex:57 +msgid "Test Networks" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_network_selector.html.eex:23 +msgid "Testnet" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_validation/index.html.eex:18 +msgid "There are no blocks validated by this address." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/index.html.eex:18 +msgid "There are no blocks." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/tokens/holder/index.html.eex:26 +msgid "There are no holders for this Token." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:65 +msgid "There are no internal transactions for this address." +msgstr "" + +#, elixir-format +#: +#: lib/block_scout_web/templates/transaction_internal_transaction/index.html.eex:15 +msgid "There are no internal transactions for this transaction." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_logs/index.html.eex:26 +msgid "There are no logs for this address." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction_log/index.html.eex:18 +msgid "There are no logs for this transaction." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/pending_transaction/index.html.eex:23 +msgid "There are no pending transactions." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_token_transfer/index.html.eex:15 +msgid "There are no token transfers for this address." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction_token_transfer/index.html.eex:17 +msgid "There are no token transfers for this transaction" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_token/index.html.eex:18 +msgid "There are no tokens for this address." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/tokens/inventory/index.html.eex:26 +msgid "There are no tokens." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_transaction/index.html.eex:64 +msgid "There are no transactions for this address." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block_transaction/index.html.eex:28 +msgid "There are no transactions for this block." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/index.html.eex:26 +msgid "There are no transactions." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/tokens/transfer/index.html.eex:25 +msgid "There are no transfers for this Token." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_coin_balance/index.html.eex:39 +msgid "There is no coin history for this address." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_decompiled_contract/index.html.eex:27 +msgid "There is no decompilded contracts for this address." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_coin_balance/index.html.eex:25 +#: lib/block_scout_web/templates/chain/show.html.eex:16 +msgid "There was a problem loading the chart." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/index.html.eex:6 +msgid "This API is provided for developers transitioning their applications from Etherscan to BlockScout. It supports GET and POST requests." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/eth_rpc.html.eex:7 +msgid "This API is provided to support some rpc methods in the exact format specified for ethereum nodes, which can be found " +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/block_transaction_view.ex:11 +msgid "This block has not been processed yet." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/eth_rpc.html.eex:10 +msgid "This is useful to allow sending requests to blockscout without having to change anything about the request." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/overview.html.eex:35 +msgid "This transaction is pending confirmation." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:33 +#: lib/block_scout_web/templates/address_transaction/index.html.eex:29 +#: lib/block_scout_web/views/address_internal_transaction_view.ex:6 +#: lib/block_scout_web/views/address_transaction_view.ex:6 +msgid "To" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/_decoded_input.html.eex:19 +msgid "To have guaranteed accuracy, use the link above to verify the contract's source code." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:6 +#: lib/block_scout_web/templates/transaction/_decoded_input.html.eex:8 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:6 +msgid "To see accurate decoded input data, the contract must be verified." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_topnav.html.eex:20 +msgid "Toggle navigation" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:10 +msgid "Token Details" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/tokens/holder/index.html.eex:16 +#: lib/block_scout_web/templates/tokens/overview/_tabs.html.eex:9 +#: lib/block_scout_web/views/tokens/overview_view.ex:36 +msgid "Token Holders" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/tokens/inventory/_token.html.eex:11 +msgid "Token ID" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/tokens/transfer/_token_transfer.html.eex:5 +#: lib/block_scout_web/templates/transaction_token_transfer/_token_transfer.html.eex:4 +#: lib/block_scout_web/views/transaction_view.ex:262 +msgid "Token Transfer" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/tokens/overview/_tabs.html.eex:3 +#: lib/block_scout_web/templates/tokens/transfer/index.html.eex:15 +#: lib/block_scout_web/templates/transaction/_tabs.html.eex:4 +#: lib/block_scout_web/templates/transaction_token_transfer/index.html.eex:7 +#: lib/block_scout_web/views/tokens/overview_view.ex:35 +#: lib/block_scout_web/views/transaction_view.ex:316 +msgid "Token Transfers" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_tabs.html.eex:8 +#: lib/block_scout_web/templates/address_token/index.html.eex:8 +#: lib/block_scout_web/templates/address_token_transfer/index.html.eex:9 +#: lib/block_scout_web/views/address_view.ex:304 +msgid "Tokens" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_metatags.html.eex:13 +msgid "Top Accounts - %{subnetwork} Explorer" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_logs/index.html.eex:12 +msgid "Topic" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:145 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:149 +msgid "Topics" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/overview.html.eex:67 +msgid "Total Difficulty" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:75 +msgid "Total Supply" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/chain/show.html.eex:64 +msgid "Total blocks" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/chain/show.html.eex:56 +msgid "Total transactions" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:18 +#: lib/block_scout_web/views/transaction_view.ex:265 +msgid "Transaction" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/_metatags.html.eex:3 +msgid "Transaction %{transaction} - %{subnetwork} Explorer" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/_metatags.html.eex:11 +msgid "Transaction %{transaction}, %{subnetwork} %{transaction}" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/overview.html.eex:11 +msgid "Transaction Details" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:2 +#: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:16 +msgid "Transaction Inputs" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/overview.html.eex:101 +msgid "Transaction Speed" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_tabs.html.eex:3 +#: lib/block_scout_web/templates/address_transaction/index.html.eex:15 +#: lib/block_scout_web/templates/block_transaction/index.html.eex:10 +#: lib/block_scout_web/templates/block_transaction/index.html.eex:18 +#: lib/block_scout_web/templates/chain/show.html.eex:108 +#: lib/block_scout_web/templates/layout/_topnav.html.eex:50 +#: lib/block_scout_web/views/address_view.ex:305 +msgid "Transactions" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/overview.html.eex:84 +msgid "Transactions Sent" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_tile.html.eex:31 +msgid "Transactions sent" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:61 +msgid "Transfers" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:40 +#: lib/block_scout_web/templates/api_docs/_eth_rpc_item.html.eex:47 +msgid "Try it out" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_footer.html.eex:22 +msgid "Twitter" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:54 +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:107 +#: lib/block_scout_web/templates/transaction/_decoded_input_body.html.eex:20 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:57 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:110 +msgid "Type" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/overview.html.eex:122 +msgid "UTF-8" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/block_view.ex:64 +msgid "Uncle Reward" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/overview.html.eex:80 +#: lib/block_scout_web/templates/layout/_topnav.html.eex:38 +msgid "Uncles" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/tokens/inventory/_token.html.eex:6 +msgid "Unique Token" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_network_selector.html.eex:12 +msgid "Use the search box to find a hosted network, or select from the list of available networks below." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/overview.html.eex:231 +msgid "Used" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_topnav.html.eex:54 +msgid "Validated" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/index.html.eex:4 +msgid "Validated Transactions" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_tile.html.eex:35 +msgid "Validations" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_validator_metadata_modal.html.eex:30 +msgid "Validator Creation Date" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_validator_metadata_modal.html.eex:5 +msgid "Validator Data" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/overview.html.eex:52 +msgid "Validator Info" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/overview.html.eex:179 +#: lib/block_scout_web/templates/transaction/overview.html.eex:209 +msgid "Value" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract/index.html.eex:11 +#: lib/block_scout_web/templates/address_contract/index.html.eex:16 +msgid "Verify & Publish" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:249 +msgid "Verify & publish" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:9 +#: lib/block_scout_web/templates/transaction/_decoded_input.html.eex:11 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:9 +msgid "Verify the contract " +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/layout/_footer.html.eex:83 +msgid "Version" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/chain/show.html.eex:86 +msgid "View All Blocks" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/chain/show.html.eex:107 +msgid "View All Transactions" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:55 +msgid "View Contract" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/_tile.html.eex:53 +msgid "View Less Transfers" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/_tile.html.eex:52 +msgid "View More Transfers" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/_metatags.html.eex:9 +msgid "View the account balance, transactions, and other data for %{address} on the %{network}" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/block/_metatags.html.eex:10 +msgid "View the transactions, token transfers, and uncles for block number %{block_number}" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/_metatags.html.eex:10 +msgid "View transaction %{transaction} on %{subnetwork}" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/smart_contract/_functions.html.eex:49 +msgid "WEI" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/chain/show.html.eex:72 +msgid "Wallet addresses" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/wei_helpers.ex:76 +msgid "Wei" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:72 +msgid "Yes" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address/overview.html.eex:112 +msgid "at" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/eth_rpc.html.eex:12 +msgid "custom RPC" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/address_contract_view.ex:23 +msgid "false" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/address_logs/_logs.html.eex:9 +#: lib/block_scout_web/templates/transaction/_decoded_input.html.eex:11 +#: lib/block_scout_web/templates/transaction_log/_logs.html.eex:9 +msgid "here" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/eth_rpc.html.eex:9 +msgid "here." +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/transaction/invalid.html.eex:8 +msgid "is not a valid transaction hash" +msgstr "" + +#, elixir-format +#: +#: lib/block_scout_web/templates/common_components/_pagination_container.html.eex:39 +msgid "of" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:58 +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:69 +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:81 +#: lib/block_scout_web/templates/api_docs/_eth_rpc_item.html.eex:70 +msgid "required" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:59 +#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:70 +msgid "string" +msgstr "" + +#, elixir-format +#: lib/block_scout_web/views/address_contract_view.ex:22 +msgid "true" +msgstr "" From 9813870728a9097dd6969744b8056b43ed141228 Mon Sep 17 00:00:00 2001 From: Ayrat Badykov Date: Mon, 2 Sep 2019 14:22:49 +0300 Subject: [PATCH 44/48] add default case --- .../lib/block_scout_web/views/transaction_view.ex | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/apps/block_scout_web/lib/block_scout_web/views/transaction_view.ex b/apps/block_scout_web/lib/block_scout_web/views/transaction_view.ex index 864dd6c1dc..121bd6ad5e 100644 --- a/apps/block_scout_web/lib/block_scout_web/views/transaction_view.ex +++ b/apps/block_scout_web/lib/block_scout_web/views/transaction_view.ex @@ -135,14 +135,11 @@ defmodule BlockScoutWeb.TransactionView do def confirmations(%Transaction{block: block}, named_arguments) when is_list(named_arguments) do case block do - nil -> - 0 - %Block{consensus: true} -> {:ok, confirmations} = Chain.confirmations(block, named_arguments) BlockScoutWeb.Cldr.Number.to_string!(confirmations, format: "#,###") - %Block{consensus: false} -> + _ -> 0 end end From 6b3801be8360929acf3c080d2f263d1c48f22741 Mon Sep 17 00:00:00 2001 From: Ayrat Badykov Date: Mon, 2 Sep 2019 14:25:13 +0300 Subject: [PATCH 45/48] add CHANGELOG entry --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index bce3c66497..ca60257372 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ - [#2497](https://github.com/poanetwork/blockscout/pull/2497) - Add generic Ordered Cache behaviour and implementation ### Fixes +- [#2468](https://github.com/poanetwork/blockscout/pull/2468) - fix confirmations for non consensus blocks - [#2610](https://github.com/poanetwork/blockscout/pull/2610) - use CoinGecko instead of CoinMarketcap for exchange rates - [#2640](https://github.com/poanetwork/blockscout/pull/2640) - SVG network icons - [#2635](https://github.com/poanetwork/blockscout/pull/2635) - optimize ERC721 inventory query From 403216a87208f53f508e1143f98347c60bd350cb Mon Sep 17 00:00:00 2001 From: Ayrat Badykov Date: Mon, 2 Sep 2019 14:25:57 +0300 Subject: [PATCH 46/48] fix gettext --- apps/block_scout_web/priv/gettext/default.pot | 32 +++++++++---------- .../priv/gettext/en/LC_MESSAGES/default.po | 32 +++++++++---------- 2 files changed, 32 insertions(+), 32 deletions(-) diff --git a/apps/block_scout_web/priv/gettext/default.pot b/apps/block_scout_web/priv/gettext/default.pot index 8ab78b1a4c..92d2604165 100644 --- a/apps/block_scout_web/priv/gettext/default.pot +++ b/apps/block_scout_web/priv/gettext/default.pot @@ -59,7 +59,7 @@ msgid "%{subnetwork} Explorer - BlockScout" msgstr "" #, elixir-format -#: lib/block_scout_web/views/transaction_view.ex:187 +#: lib/block_scout_web/views/transaction_view.ex:184 msgid "(Awaiting internal transactions for status)" msgstr "" @@ -397,12 +397,12 @@ msgid "Contract Byte Code" msgstr "" #, elixir-format -#: lib/block_scout_web/views/transaction_view.ex:264 +#: lib/block_scout_web/views/transaction_view.ex:261 msgid "Contract Call" msgstr "" #, elixir-format -#: lib/block_scout_web/views/transaction_view.ex:263 +#: lib/block_scout_web/views/transaction_view.ex:260 msgid "Contract Creation" msgstr "" @@ -652,12 +652,12 @@ msgid "Error trying to fetch balances." msgstr "" #, elixir-format -#: lib/block_scout_web/views/transaction_view.ex:191 +#: lib/block_scout_web/views/transaction_view.ex:188 msgid "Error: %{reason}" msgstr "" #, elixir-format -#: lib/block_scout_web/views/transaction_view.ex:189 +#: lib/block_scout_web/views/transaction_view.ex:186 msgid "Error: (Awaiting internal transactions for reason)" msgstr "" @@ -855,7 +855,7 @@ msgstr "" #: lib/block_scout_web/templates/transaction/_tabs.html.eex:11 #: lib/block_scout_web/templates/transaction_internal_transaction/index.html.eex:6 #: lib/block_scout_web/views/address_view.ex:306 -#: lib/block_scout_web/views/transaction_view.ex:317 +#: lib/block_scout_web/views/transaction_view.ex:314 msgid "Internal Transactions" msgstr "" @@ -951,7 +951,7 @@ msgstr "" #: lib/block_scout_web/templates/transaction/_tabs.html.eex:17 #: lib/block_scout_web/templates/transaction_log/index.html.eex:8 #: lib/block_scout_web/views/address_view.ex:312 -#: lib/block_scout_web/views/transaction_view.ex:318 +#: lib/block_scout_web/views/transaction_view.ex:315 msgid "Logs" msgstr "" @@ -974,8 +974,8 @@ msgid "Market Cap" msgstr "" #, elixir-format -#: lib/block_scout_web/views/transaction_view.ex:172 -#: lib/block_scout_web/views/transaction_view.ex:172 +#: lib/block_scout_web/views/transaction_view.ex:169 +#: lib/block_scout_web/views/transaction_view.ex:169 msgid "Max of" msgstr "" @@ -1103,8 +1103,8 @@ msgstr "" #, elixir-format #: lib/block_scout_web/templates/layout/_topnav.html.eex:59 -#: lib/block_scout_web/views/transaction_view.ex:186 -#: lib/block_scout_web/views/transaction_view.ex:220 +#: lib/block_scout_web/views/transaction_view.ex:183 +#: lib/block_scout_web/views/transaction_view.ex:217 msgid "Pending" msgstr "" @@ -1155,7 +1155,7 @@ msgstr "" #, elixir-format #: lib/block_scout_web/templates/transaction/_tabs.html.eex:24 #: lib/block_scout_web/templates/transaction_raw_trace/index.html.eex:7 -#: lib/block_scout_web/views/transaction_view.ex:319 +#: lib/block_scout_web/views/transaction_view.ex:316 msgid "Raw Trace" msgstr "" @@ -1302,7 +1302,7 @@ msgstr "" #, elixir-format #: lib/block_scout_web/templates/transaction/_emission_reward_tile.html.eex:8 -#: lib/block_scout_web/views/transaction_view.ex:188 +#: lib/block_scout_web/views/transaction_view.ex:185 msgid "Success" msgstr "" @@ -1500,7 +1500,7 @@ msgstr "" #, elixir-format #: lib/block_scout_web/templates/tokens/transfer/_token_transfer.html.eex:5 #: lib/block_scout_web/templates/transaction_token_transfer/_token_transfer.html.eex:4 -#: lib/block_scout_web/views/transaction_view.ex:262 +#: lib/block_scout_web/views/transaction_view.ex:259 msgid "Token Transfer" msgstr "" @@ -1510,7 +1510,7 @@ msgstr "" #: lib/block_scout_web/templates/transaction/_tabs.html.eex:4 #: lib/block_scout_web/templates/transaction_token_transfer/index.html.eex:7 #: lib/block_scout_web/views/tokens/overview_view.ex:35 -#: lib/block_scout_web/views/transaction_view.ex:316 +#: lib/block_scout_web/views/transaction_view.ex:313 msgid "Token Transfers" msgstr "" @@ -1560,7 +1560,7 @@ msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_logs/_logs.html.eex:18 -#: lib/block_scout_web/views/transaction_view.ex:265 +#: lib/block_scout_web/views/transaction_view.ex:262 msgid "Transaction" msgstr "" diff --git a/apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po b/apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po index 8ab78b1a4c..92d2604165 100644 --- a/apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po +++ b/apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po @@ -59,7 +59,7 @@ msgid "%{subnetwork} Explorer - BlockScout" msgstr "" #, elixir-format -#: lib/block_scout_web/views/transaction_view.ex:187 +#: lib/block_scout_web/views/transaction_view.ex:184 msgid "(Awaiting internal transactions for status)" msgstr "" @@ -397,12 +397,12 @@ msgid "Contract Byte Code" msgstr "" #, elixir-format -#: lib/block_scout_web/views/transaction_view.ex:264 +#: lib/block_scout_web/views/transaction_view.ex:261 msgid "Contract Call" msgstr "" #, elixir-format -#: lib/block_scout_web/views/transaction_view.ex:263 +#: lib/block_scout_web/views/transaction_view.ex:260 msgid "Contract Creation" msgstr "" @@ -652,12 +652,12 @@ msgid "Error trying to fetch balances." msgstr "" #, elixir-format -#: lib/block_scout_web/views/transaction_view.ex:191 +#: lib/block_scout_web/views/transaction_view.ex:188 msgid "Error: %{reason}" msgstr "" #, elixir-format -#: lib/block_scout_web/views/transaction_view.ex:189 +#: lib/block_scout_web/views/transaction_view.ex:186 msgid "Error: (Awaiting internal transactions for reason)" msgstr "" @@ -855,7 +855,7 @@ msgstr "" #: lib/block_scout_web/templates/transaction/_tabs.html.eex:11 #: lib/block_scout_web/templates/transaction_internal_transaction/index.html.eex:6 #: lib/block_scout_web/views/address_view.ex:306 -#: lib/block_scout_web/views/transaction_view.ex:317 +#: lib/block_scout_web/views/transaction_view.ex:314 msgid "Internal Transactions" msgstr "" @@ -951,7 +951,7 @@ msgstr "" #: lib/block_scout_web/templates/transaction/_tabs.html.eex:17 #: lib/block_scout_web/templates/transaction_log/index.html.eex:8 #: lib/block_scout_web/views/address_view.ex:312 -#: lib/block_scout_web/views/transaction_view.ex:318 +#: lib/block_scout_web/views/transaction_view.ex:315 msgid "Logs" msgstr "" @@ -974,8 +974,8 @@ msgid "Market Cap" msgstr "" #, elixir-format -#: lib/block_scout_web/views/transaction_view.ex:172 -#: lib/block_scout_web/views/transaction_view.ex:172 +#: lib/block_scout_web/views/transaction_view.ex:169 +#: lib/block_scout_web/views/transaction_view.ex:169 msgid "Max of" msgstr "" @@ -1103,8 +1103,8 @@ msgstr "" #, elixir-format #: lib/block_scout_web/templates/layout/_topnav.html.eex:59 -#: lib/block_scout_web/views/transaction_view.ex:186 -#: lib/block_scout_web/views/transaction_view.ex:220 +#: lib/block_scout_web/views/transaction_view.ex:183 +#: lib/block_scout_web/views/transaction_view.ex:217 msgid "Pending" msgstr "" @@ -1155,7 +1155,7 @@ msgstr "" #, elixir-format #: lib/block_scout_web/templates/transaction/_tabs.html.eex:24 #: lib/block_scout_web/templates/transaction_raw_trace/index.html.eex:7 -#: lib/block_scout_web/views/transaction_view.ex:319 +#: lib/block_scout_web/views/transaction_view.ex:316 msgid "Raw Trace" msgstr "" @@ -1302,7 +1302,7 @@ msgstr "" #, elixir-format #: lib/block_scout_web/templates/transaction/_emission_reward_tile.html.eex:8 -#: lib/block_scout_web/views/transaction_view.ex:188 +#: lib/block_scout_web/views/transaction_view.ex:185 msgid "Success" msgstr "" @@ -1500,7 +1500,7 @@ msgstr "" #, elixir-format #: lib/block_scout_web/templates/tokens/transfer/_token_transfer.html.eex:5 #: lib/block_scout_web/templates/transaction_token_transfer/_token_transfer.html.eex:4 -#: lib/block_scout_web/views/transaction_view.ex:262 +#: lib/block_scout_web/views/transaction_view.ex:259 msgid "Token Transfer" msgstr "" @@ -1510,7 +1510,7 @@ msgstr "" #: lib/block_scout_web/templates/transaction/_tabs.html.eex:4 #: lib/block_scout_web/templates/transaction_token_transfer/index.html.eex:7 #: lib/block_scout_web/views/tokens/overview_view.ex:35 -#: lib/block_scout_web/views/transaction_view.ex:316 +#: lib/block_scout_web/views/transaction_view.ex:313 msgid "Token Transfers" msgstr "" @@ -1560,7 +1560,7 @@ msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_logs/_logs.html.eex:18 -#: lib/block_scout_web/views/transaction_view.ex:265 +#: lib/block_scout_web/views/transaction_view.ex:262 msgid "Transaction" msgstr "" From a2783579ce652c7f0cdd81101b06416fa918f88d Mon Sep 17 00:00:00 2001 From: Ayrat Badykov Date: Mon, 2 Sep 2019 14:37:37 +0300 Subject: [PATCH 47/48] fix tests --- apps/block_scout_web/lib/block_scout_web/views/wei_helpers.ex | 4 ++-- .../test/block_scout_web/views/block_view_test.exs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/block_scout_web/lib/block_scout_web/views/wei_helpers.ex b/apps/block_scout_web/lib/block_scout_web/views/wei_helpers.ex index c9dfefa7b7..992909524a 100644 --- a/apps/block_scout_web/lib/block_scout_web/views/wei_helpers.ex +++ b/apps/block_scout_web/lib/block_scout_web/views/wei_helpers.ex @@ -35,7 +35,7 @@ defmodule BlockScoutWeb.WeiHelpers do "10,000 Gwei" iex> format_wei_value(%Wei{value: Decimal.new(1, 10, 21)}, :ether) - "10,000 POA" + "10,000 Ether" # With formatting options @@ -43,7 +43,7 @@ defmodule BlockScoutWeb.WeiHelpers do ...> %Wei{value: Decimal.new(1000500000000000000)}, ...> :ether ...> ) - "1.0005 POA" + "1.0005 Ether" iex> format_wei_value( ...> %Wei{value: Decimal.new(10)}, diff --git a/apps/block_scout_web/test/block_scout_web/views/block_view_test.exs b/apps/block_scout_web/test/block_scout_web/views/block_view_test.exs index a25922cd07..d707404628 100644 --- a/apps/block_scout_web/test/block_scout_web/views/block_view_test.exs +++ b/apps/block_scout_web/test/block_scout_web/views/block_view_test.exs @@ -91,7 +91,7 @@ defmodule BlockScoutWeb.BlockViewTest do block = Repo.preload(block, :rewards) - assert BlockView.combined_rewards_value(block) == "3.000042 POA" + assert BlockView.combined_rewards_value(block) == "3.000042 Ether" end end end From f48ef86227156a3293b5b2ee731de6b93d8f1a27 Mon Sep 17 00:00:00 2001 From: Ayrat Badykov Date: Mon, 2 Sep 2019 14:50:07 +0300 Subject: [PATCH 48/48] fix remaining tests --- .../block_scout_web/features/viewing_addresses_test.exs | 2 +- .../views/address_coin_balance_view_test.exs | 8 ++++---- .../test/block_scout_web/views/transaction_view_test.exs | 7 ++----- 3 files changed, 7 insertions(+), 10 deletions(-) diff --git a/apps/block_scout_web/test/block_scout_web/features/viewing_addresses_test.exs b/apps/block_scout_web/test/block_scout_web/features/viewing_addresses_test.exs index 7f42b4cbcc..b5f17afc49 100644 --- a/apps/block_scout_web/test/block_scout_web/features/viewing_addresses_test.exs +++ b/apps/block_scout_web/test/block_scout_web/features/viewing_addresses_test.exs @@ -73,7 +73,7 @@ defmodule BlockScoutWeb.ViewingAddressesTest do session |> AddressPage.visit_page(address) - |> assert_text(AddressPage.balance(), "0.0000000000000005 POA") + |> assert_text(AddressPage.balance(), "0.0000000000000005 Ether") end describe "viewing contract creator" do diff --git a/apps/block_scout_web/test/block_scout_web/views/address_coin_balance_view_test.exs b/apps/block_scout_web/test/block_scout_web/views/address_coin_balance_view_test.exs index e7b56ff560..348dc96f6c 100644 --- a/apps/block_scout_web/test/block_scout_web/views/address_coin_balance_view_test.exs +++ b/apps/block_scout_web/test/block_scout_web/views/address_coin_balance_view_test.exs @@ -8,13 +8,13 @@ defmodule BlockScoutWeb.AddressCoinBalanceViewTest do test "format the wei value in ether" do wei = Wei.from(Decimal.new(1_340_000_000), :gwei) - assert AddressCoinBalanceView.format(wei) == "1.34 POA" + assert AddressCoinBalanceView.format(wei) == "1.34 Ether" end test "format negative values" do wei = Wei.from(Decimal.new(-1_340_000_000), :gwei) - assert AddressCoinBalanceView.format(wei) == "-1.34 POA" + assert AddressCoinBalanceView.format(wei) == "-1.34 Ether" end end @@ -50,13 +50,13 @@ defmodule BlockScoutWeb.AddressCoinBalanceViewTest do test "format positive values" do value = Decimal.new(1_340_000_000_000_000_000) - assert AddressCoinBalanceView.format_delta(value) == "1.34 POA" + assert AddressCoinBalanceView.format_delta(value) == "1.34 Ether" end test "format negative values" do value = Decimal.new(-1_340_000_000_000_000_000) - assert AddressCoinBalanceView.format_delta(value) == "1.34 POA" + assert AddressCoinBalanceView.format_delta(value) == "1.34 Ether" end end end diff --git a/apps/block_scout_web/test/block_scout_web/views/transaction_view_test.exs b/apps/block_scout_web/test/block_scout_web/views/transaction_view_test.exs index 69cca69f41..e8505b144e 100644 --- a/apps/block_scout_web/test/block_scout_web/views/transaction_view_test.exs +++ b/apps/block_scout_web/test/block_scout_web/views/transaction_view_test.exs @@ -136,7 +136,7 @@ defmodule BlockScoutWeb.TransactionViewTest do gas_used: nil ) - expected_value = "Max of 0.009 POA" + expected_value = "Max of 0.009 Ether" assert expected_value == TransactionView.formatted_fee(transaction, denomination: :ether) end @@ -144,12 +144,9 @@ defmodule BlockScoutWeb.TransactionViewTest do {:ok, gas_price} = Wei.cast(3_000_000_000) transaction = build(:transaction, gas_price: gas_price, gas_used: Decimal.from_float(1_034_234.0)) - expected_value = "0.003102702 POA" + expected_value = "0.003102702 Ether" assert expected_value == TransactionView.formatted_fee(transaction, denomination: :ether) end - - test "with fee but no available exchange_rate" do - end end describe "formatted_status/1" do