From 10e17d34db386bb1a369aaec7c277df3e799d27e Mon Sep 17 00:00:00 2001 From: Lokraan Date: Thu, 27 Sep 2018 21:18:17 -0500 Subject: [PATCH] Run mix gettext.extract --merge Run mix format. Conform to circle ci tests. Format, tests, gettext. Removed unecessary tab in `address_validation_controller.ex` Fixed tests in `chain_text.exs` (address_to_validation_count/1 & get_blocks_validated_by_address/2). Ran `mix format` and `mix gettext.extract --merge Changed == to === in address.js to appease the all powerful eslint. --- .../assets/js/pages/address.js | 2 +- .../address_token_transfer_controller.ex | 5 +- .../address_validation_controller.ex | 2 +- .../templates/address/overview.html.eex | 2 +- .../address_internal_transaction_view.ex | 4 +- .../views/address_transaction_view.ex | 4 +- apps/block_scout_web/priv/gettext/default.pot | 407 +---------------- .../priv/gettext/en/LC_MESSAGES/default.po | 409 +----------------- apps/explorer/lib/explorer/chain.ex | 4 - apps/explorer/test/explorer/chain_test.exs | 76 ++-- 10 files changed, 52 insertions(+), 863 deletions(-) diff --git a/apps/block_scout_web/assets/js/pages/address.js b/apps/block_scout_web/assets/js/pages/address.js index 0ce909b513..c7aecc7b55 100644 --- a/apps/block_scout_web/assets/js/pages/address.js +++ b/apps/block_scout_web/assets/js/pages/address.js @@ -174,7 +174,7 @@ if ($addressDetailsPage.length) { prependWithClingBottom($transactionsList, state.newTransactions.slice(oldState.newTransactions.length).reverse().join('')) updateAllAges() } - if (oldState.newBlock !== state.newBlock && state.minerHash == state.addressHash) { + if (oldState.newBlock !== state.newBlock && state.minerHash === state.addressHash) { const len = $validationsList.children().length $validationsList .children() diff --git a/apps/block_scout_web/lib/block_scout_web/controllers/address_token_transfer_controller.ex b/apps/block_scout_web/lib/block_scout_web/controllers/address_token_transfer_controller.ex index 8b598673e9..cfad37b3dd 100644 --- a/apps/block_scout_web/lib/block_scout_web/controllers/address_token_transfer_controller.ex +++ b/apps/block_scout_web/lib/block_scout_web/controllers/address_token_transfer_controller.ex @@ -4,7 +4,7 @@ defmodule BlockScoutWeb.AddressTokenTransferController do alias Explorer.{Chain, Market} alias Explorer.ExchangeRates.Token - import BlockScoutWeb.AddressController, only: [transaction_count: 1] + import BlockScoutWeb.AddressController, only: [transaction_count: 1, validation_count: 1] import BlockScoutWeb.Chain, only: [next_page_params: 3, paging_options: 1, split_list_by_page: 1] @@ -34,7 +34,8 @@ defmodule BlockScoutWeb.AddressTokenTransferController do next_page_params: next_page_params(next_page, transactions_paginated, params), token: token, transaction_count: transaction_count(address), - transactions: transactions_paginated + transactions: transactions_paginated, + validation_count: validation_count(address) ) else :error -> diff --git a/apps/block_scout_web/lib/block_scout_web/controllers/address_validation_controller.ex b/apps/block_scout_web/lib/block_scout_web/controllers/address_validation_controller.ex index 8ab0feccd9..f16fefc516 100644 --- a/apps/block_scout_web/lib/block_scout_web/controllers/address_validation_controller.ex +++ b/apps/block_scout_web/lib/block_scout_web/controllers/address_validation_controller.ex @@ -1,6 +1,6 @@ defmodule BlockScoutWeb.AddressValidationController do @moduledoc """ - Display all the blocks that this address validates. + Display all the blocks that this address validates. """ use BlockScoutWeb, :controller diff --git a/apps/block_scout_web/lib/block_scout_web/templates/address/overview.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/address/overview.html.eex index eb593e04a9..ad5f4c4ec9 100644 --- a/apps/block_scout_web/lib/block_scout_web/templates/address/overview.html.eex +++ b/apps/block_scout_web/lib/block_scout_web/templates/address/overview.html.eex @@ -25,7 +25,7 @@ <%= Cldr.Number.to_string!(@transaction_count, format: "#,###") %> <%= gettext("Transactions") %> - <%= if @validation_count > 0 do %> + <%= if validator?(@validation_count) do %> <%= Cldr.Number.to_string!(@validation_count, format: "#,###") %> <%= gettext("Blocks Validated") %> diff --git a/apps/block_scout_web/lib/block_scout_web/views/address_internal_transaction_view.ex b/apps/block_scout_web/lib/block_scout_web/views/address_internal_transaction_view.ex index 88561f9b3a..29f44d33e9 100644 --- a/apps/block_scout_web/lib/block_scout_web/views/address_internal_transaction_view.ex +++ b/apps/block_scout_web/lib/block_scout_web/views/address_internal_transaction_view.ex @@ -2,9 +2,7 @@ defmodule BlockScoutWeb.AddressInternalTransactionView do use BlockScoutWeb, :view import BlockScoutWeb.AddressView, - only: [contract?: 1, smart_contract_verified?: 1, smart_contract_with_read_only_functions?: 1, - validator?: 1 - ] + only: [contract?: 1, smart_contract_verified?: 1, smart_contract_with_read_only_functions?: 1, validator?: 1] def format_current_filter(filter) do case filter do diff --git a/apps/block_scout_web/lib/block_scout_web/views/address_transaction_view.ex b/apps/block_scout_web/lib/block_scout_web/views/address_transaction_view.ex index e9f3dd2396..759f3df516 100644 --- a/apps/block_scout_web/lib/block_scout_web/views/address_transaction_view.ex +++ b/apps/block_scout_web/lib/block_scout_web/views/address_transaction_view.ex @@ -2,9 +2,7 @@ defmodule BlockScoutWeb.AddressTransactionView do use BlockScoutWeb, :view import BlockScoutWeb.AddressView, - only: [contract?: 1, smart_contract_verified?: 1, smart_contract_with_read_only_functions?: 1, - validator?: 1 - ] + only: [contract?: 1, smart_contract_verified?: 1, smart_contract_with_read_only_functions?: 1, validator?: 1] def format_current_filter(filter) do case filter do diff --git a/apps/block_scout_web/priv/gettext/default.pot b/apps/block_scout_web/priv/gettext/default.pot index c77493fc51..d74b3d718d 100644 --- a/apps/block_scout_web/priv/gettext/default.pot +++ b/apps/block_scout_web/priv/gettext/default.pot @@ -1,6 +1,5 @@ #, elixir-format #: lib/block_scout_web/views/address_token_balance_view.ex:5 -#: lib/block_scout_web/views/address_token_balance_view.ex:5 msgid "%{count} token" msgid_plural "%{count} tokens" msgstr[0] "" @@ -8,7 +7,6 @@ msgstr[1] "" #, elixir-format #: lib/block_scout_web/templates/block/_tile.html.eex:15 -#: lib/block_scout_web/templates/block/_tile.html.eex:15 msgid "%{count} transaction" msgid_plural "%{count} transactions" msgstr[0] "" @@ -16,7 +14,6 @@ msgstr[1] "" #, elixir-format #: lib/block_scout_web/views/address_token_view.ex:7 -#: lib/block_scout_web/views/address_token_view.ex:7 msgid "%{count} transfer" msgid_plural "%{count} transfers" msgstr[0] "" @@ -24,359 +21,265 @@ msgstr[1] "" #, elixir-format #: lib/block_scout_web/templates/block/overview.html.eex:12 -#: lib/block_scout_web/templates/block/overview.html.eex:12 msgid "%{count} Transactions" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_contract/index.html.eex:137 -#: lib/block_scout_web/templates/address_contract/index.html.eex:137 msgid "%{}" msgstr "" #, elixir-format #: lib/block_scout_web/views/transaction_view.ex:52 -#: lib/block_scout_web/views/transaction_view.ex:52 msgid "(Awaiting internal transactions for status)" msgstr "" #, elixir-format #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:38 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:38 #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:53 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:53 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:67 #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:67 #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:81 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:81 msgid "(query)" msgstr "" #, elixir-format #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:56 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:56 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:41 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:41 msgid "A string with the name of the module to be invoked." msgstr "" #, elixir-format #: lib/block_scout_web/templates/layout/_topnav.html.eex:40 -#: lib/block_scout_web/templates/layout/_topnav.html.eex:40 msgid "API" msgstr "" #, elixir-format #: lib/block_scout_web/templates/layout/_topnav.html.eex:32 -#: lib/block_scout_web/templates/layout/_topnav.html.eex:32 msgid "Accounts" msgstr "" #, elixir-format #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:48 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:48 msgid "Action" msgstr "" #, elixir-format #: lib/block_scout_web/templates/transaction_log/index.html.eex:15 -#: lib/block_scout_web/templates/transaction_log/index.html.eex:15 -#: lib/block_scout_web/views/address_view.ex:79 #: lib/block_scout_web/views/address_view.ex:79 msgid "Address" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address/index.html.eex:4 -#: lib/block_scout_web/templates/address/index.html.eex:4 msgid "Addresses" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:134 -#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:134 #: lib/block_scout_web/templates/address_transaction/index.html.eex:137 -#: lib/block_scout_web/templates/address_transaction/index.html.eex:137 -#: lib/block_scout_web/views/address_internal_transaction_view.ex:13 -#: lib/block_scout_web/views/address_internal_transaction_view.ex:13 -#: lib/block_scout_web/views/address_transaction_view.ex:13 -#: lib/block_scout_web/views/address_transaction_view.ex:13 +#: lib/block_scout_web/views/address_internal_transaction_view.ex:11 +#: lib/block_scout_web/views/address_transaction_view.ex:11 msgid "All" msgstr "" #, elixir-format #: lib/block_scout_web/templates/chain/show.html.eex:26 -#: lib/block_scout_web/templates/chain/show.html.eex:26 msgid "Average block time" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address/_balance_card.html.eex:3 -#: lib/block_scout_web/templates/address/_balance_card.html.eex:3 msgid "Balance" msgstr "" #, elixir-format #: lib/block_scout_web/templates/api_docs/index.html.eex:6 -#: lib/block_scout_web/templates/api_docs/index.html.eex:6 msgid "Base URL:" msgstr "" #, elixir-format #: lib/block_scout_web/templates/internal_transaction/_tile.html.eex:21 -#: lib/block_scout_web/templates/internal_transaction/_tile.html.eex:21 -#: lib/block_scout_web/templates/tokens/transfer/_token_transfer.html.eex:44 #: lib/block_scout_web/templates/tokens/transfer/_token_transfer.html.eex:44 #: lib/block_scout_web/templates/transaction/_tile.html.eex:30 -#: lib/block_scout_web/templates/transaction/_tile.html.eex:30 msgid "Block #%{number}" msgstr "" #, elixir-format #: lib/block_scout_web/templates/transaction/overview.html.eex:59 -#: lib/block_scout_web/templates/transaction/overview.html.eex:59 msgid "Block Confirmations" msgstr "" #, elixir-format #: lib/block_scout_web/templates/block/overview.html.eex:7 -#: lib/block_scout_web/templates/block/overview.html.eex:7 msgid "Block Details" msgstr "" #, elixir-format #: lib/block_scout_web/templates/block/overview.html.eex:9 -#: lib/block_scout_web/templates/block/overview.html.eex:9 msgid "Block Height #%{height}" msgstr "" #, elixir-format #: lib/block_scout_web/templates/transaction/overview.html.eex:45 -#: lib/block_scout_web/templates/transaction/overview.html.eex:45 msgid "Block Number" msgstr "" #, elixir-format #: lib/block_scout_web/templates/layout/app.html.eex:7 -#: lib/block_scout_web/templates/layout/app.html.eex:7 msgid "BlockScout" msgstr "" #, elixir-format #: lib/block_scout_web/templates/block/index.html.eex:10 -#: lib/block_scout_web/templates/block/index.html.eex:10 -#: lib/block_scout_web/templates/chain/show.html.eex:56 #: lib/block_scout_web/templates/chain/show.html.eex:56 #: lib/block_scout_web/templates/layout/_topnav.html.eex:16 -#: lib/block_scout_web/templates/layout/_topnav.html.eex:16 msgid "Blocks" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address/overview.html.eex:31 -#: lib/block_scout_web/templates/address/overview.html.eex:31 -#: lib/block_scout_web/templates/address_contract/index.html.eex:35 #: lib/block_scout_web/templates/address_contract/index.html.eex:35 #: lib/block_scout_web/templates/address_contract/index.html.eex:93 -#: lib/block_scout_web/templates/address_contract/index.html.eex:93 -#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:36 #: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:36 #: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:91 -#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:91 #: lib/block_scout_web/templates/address_read_contract/index.html.eex:35 -#: lib/block_scout_web/templates/address_read_contract/index.html.eex:35 -#: lib/block_scout_web/templates/address_token/index.html.eex:34 #: lib/block_scout_web/templates/address_token/index.html.eex:34 #: lib/block_scout_web/templates/address_token/index.html.eex:97 -#: lib/block_scout_web/templates/address_token/index.html.eex:97 #: lib/block_scout_web/templates/address_transaction/index.html.eex:37 -#: lib/block_scout_web/templates/address_transaction/index.html.eex:37 -#: lib/block_scout_web/templates/address_transaction/index.html.eex:91 #: lib/block_scout_web/templates/address_transaction/index.html.eex:91 #: lib/block_scout_web/templates/address_validation/index.html.eex:32 -#: lib/block_scout_web/templates/address_validation/index.html.eex:32 #: lib/block_scout_web/templates/address_validation/index.html.eex:81 -#: lib/block_scout_web/templates/address_validation/index.html.eex:81 -#: lib/block_scout_web/templates/address_validation/index.html.eex:114 #: lib/block_scout_web/templates/address_validation/index.html.eex:114 msgid "Blocks Validated" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_contract_verification/new.html.eex:62 -#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:62 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:22 #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:22 msgid "Cancel" msgstr "" #, elixir-format #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:95 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:95 msgid "Clear" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address/overview.html.eex:73 -#: lib/block_scout_web/templates/address/overview.html.eex:73 -#: lib/block_scout_web/templates/address/overview.html.eex:81 #: lib/block_scout_web/templates/address/overview.html.eex:81 #: lib/block_scout_web/templates/tokens/overview/_details.html.eex:82 -#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:82 -#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:90 #: lib/block_scout_web/templates/tokens/overview/_details.html.eex:90 msgid "Close" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_contract/index.html.eex:46 -#: lib/block_scout_web/templates/address_contract/index.html.eex:46 #: lib/block_scout_web/templates/address_contract/index.html.eex:68 -#: lib/block_scout_web/templates/address_contract/index.html.eex:68 -#: lib/block_scout_web/templates/address_contract/index.html.eex:102 #: lib/block_scout_web/templates/address_contract/index.html.eex:102 #: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:48 -#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:48 #: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:101 -#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:101 -#: lib/block_scout_web/templates/address_read_contract/index.html.eex:46 #: lib/block_scout_web/templates/address_read_contract/index.html.eex:46 #: lib/block_scout_web/templates/address_read_contract/index.html.eex:88 -#: lib/block_scout_web/templates/address_read_contract/index.html.eex:88 #: lib/block_scout_web/templates/address_token/index.html.eex:46 -#: lib/block_scout_web/templates/address_token/index.html.eex:46 -#: lib/block_scout_web/templates/address_token/index.html.eex:107 #: lib/block_scout_web/templates/address_token/index.html.eex:107 #: lib/block_scout_web/templates/address_token_transfer/index.html.eex:39 -#: lib/block_scout_web/templates/address_token_transfer/index.html.eex:39 #: lib/block_scout_web/templates/address_token_transfer/index.html.eex:92 -#: lib/block_scout_web/templates/address_token_transfer/index.html.eex:92 -#: lib/block_scout_web/templates/address_transaction/index.html.eex:49 #: lib/block_scout_web/templates/address_transaction/index.html.eex:49 #: lib/block_scout_web/templates/address_transaction/index.html.eex:101 -#: lib/block_scout_web/templates/address_transaction/index.html.eex:101 #: lib/block_scout_web/templates/address_validation/index.html.eex:43 -#: lib/block_scout_web/templates/address_validation/index.html.eex:43 -#: lib/block_scout_web/templates/address_validation/index.html.eex:90 #: lib/block_scout_web/templates/address_validation/index.html.eex:90 #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:122 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:122 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:141 #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:141 msgid "Code" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_contract_verification/new.html.eex:24 -#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:24 msgid "Compiler" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_contract/index.html.eex:140 -#: lib/block_scout_web/templates/address_contract/index.html.eex:140 msgid "Compiler version" msgstr "" #, elixir-format #: lib/block_scout_web/templates/block/index.html.eex:6 -#: 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:124 -#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:124 msgid "Connection Lost, click to load newer internal transactions" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_transaction/index.html.eex:127 -#: lib/block_scout_web/templates/address_transaction/index.html.eex:127 #: lib/block_scout_web/templates/pending_transaction/index.html.eex:53 -#: lib/block_scout_web/templates/pending_transaction/index.html.eex:53 -#: lib/block_scout_web/templates/transaction/index.html.eex:53 #: lib/block_scout_web/templates/transaction/index.html.eex:53 msgid "Connection Lost, click to load newer transactions" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_validation/index.html.eex:110 -#: lib/block_scout_web/templates/address_validation/index.html.eex:110 msgid "Connection Lost, click to load newer validations" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_contract/index.html.eex:163 -#: lib/block_scout_web/templates/address_contract/index.html.eex:163 msgid "Contract ABI" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_contract_verification/new.html.eex:12 -#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:12 -#: lib/block_scout_web/views/address_view.ex:77 #: lib/block_scout_web/views/address_view.ex:77 msgid "Contract Address" msgstr "" #, elixir-format #: lib/block_scout_web/templates/transaction/_pending_tile.html.eex:15 -#: lib/block_scout_web/templates/transaction/_pending_tile.html.eex:15 -#: lib/block_scout_web/views/address_view.ex:21 #: lib/block_scout_web/views/address_view.ex:21 #: lib/block_scout_web/views/address_view.ex:55 -#: lib/block_scout_web/views/address_view.ex:55 msgid "Contract Address Pending" msgstr "" #, elixir-format #: lib/block_scout_web/views/transaction_view.ex:121 -#: lib/block_scout_web/views/transaction_view.ex:121 msgid "Contract Call" msgstr "" #, elixir-format #: lib/block_scout_web/views/transaction_view.ex:120 -#: lib/block_scout_web/views/transaction_view.ex:120 msgid "Contract Creation" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_contract_verification/new.html.eex:18 -#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:18 msgid "Contract Name" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_contract/index.html.eex:180 -#: lib/block_scout_web/templates/address_contract/index.html.eex:180 msgid "Contract creation code" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_contract/index.html.eex:132 -#: lib/block_scout_web/templates/address_contract/index.html.eex:132 msgid "Contract name:" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_contract/index.html.eex:147 -#: lib/block_scout_web/templates/address_contract/index.html.eex:147 msgid "Contract source code" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address/overview.html.eex:8 #: lib/block_scout_web/templates/address/overview.html.eex:8 -#: lib/block_scout_web/templates/address/overview.html.eex:8 -#: lib/block_scout_web/templates/address/overview.html.eex:8 -#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:8 -#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:8 #: lib/block_scout_web/templates/tokens/overview/_details.html.eex:8 #: lib/block_scout_web/templates/tokens/overview/_details.html.eex:8 msgid "Copy Address" @@ -384,1135 +287,837 @@ msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_contract/index.html.eex:149 -#: lib/block_scout_web/templates/address_contract/index.html.eex:149 -#: lib/block_scout_web/templates/address_contract/index.html.eex:165 #: lib/block_scout_web/templates/address_contract/index.html.eex:165 #: lib/block_scout_web/templates/address_contract/index.html.eex:182 -#: lib/block_scout_web/templates/address_contract/index.html.eex:182 msgid "Copy Code" msgstr "" #, elixir-format #: lib/block_scout_web/templates/transaction/overview.html.eex:10 -#: lib/block_scout_web/templates/transaction/overview.html.eex:10 msgid "Copy Transaction Hash" msgstr "" #, elixir-format #: lib/block_scout_web/templates/transaction/overview.html.eex:10 -#: lib/block_scout_web/templates/transaction/overview.html.eex:10 msgid "Copy Txn Hash" msgstr "" #, elixir-format #: lib/block_scout_web/templates/layout/_footer.html.eex:15 -#: lib/block_scout_web/templates/layout/_footer.html.eex:15 msgid "Copyright %{year} POA" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address/overview.html.eex:42 -#: lib/block_scout_web/templates/address/overview.html.eex:42 msgid "Created by" msgstr "" #, elixir-format #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:106 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:106 msgid "Curl" msgstr "" #, elixir-format #: lib/block_scout_web/templates/transaction_log/index.html.eex:54 -#: lib/block_scout_web/templates/transaction_log/index.html.eex:54 msgid "Data" msgstr "" #, elixir-format #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:28 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:28 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:142 #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:142 msgid "Description" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address/overview.html.eex:18 -#: lib/block_scout_web/templates/address/overview.html.eex:18 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:123 #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:123 msgid "Details" msgstr "" #, elixir-format #: lib/block_scout_web/templates/block/overview.html.eex:45 -#: lib/block_scout_web/templates/block/overview.html.eex:45 msgid "Difficulty" msgstr "" #, elixir-format #: lib/block_scout_web/templates/smart_contract/_functions.html.eex:50 -#: lib/block_scout_web/templates/smart_contract/_functions.html.eex:50 msgid "ETH" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_contract_verification/new.html.eex:46 -#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:46 msgid "Enter the Solidity Contract Code below" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address/_balance_card.html.eex:19 -#: lib/block_scout_web/templates/address/_balance_card.html.eex:19 msgid "Error tryng to fetch balances." msgstr "" #, elixir-format #: lib/block_scout_web/views/transaction_view.ex:56 -#: lib/block_scout_web/views/transaction_view.ex:56 msgid "Error: %{reason}" msgstr "" #, elixir-format #: lib/block_scout_web/views/transaction_view.ex:54 -#: lib/block_scout_web/views/transaction_view.ex:54 msgid "Error: (Awaiting internal transactions for reason)" msgstr "" #, elixir-format #: lib/block_scout_web/templates/internal_transaction/_tile.html.eex:15 -#: lib/block_scout_web/templates/internal_transaction/_tile.html.eex:15 -#: lib/block_scout_web/templates/transaction/_pending_tile.html.eex:19 #: lib/block_scout_web/templates/transaction/_pending_tile.html.eex:19 #: lib/block_scout_web/templates/transaction/_tile.html.eex:20 -#: lib/block_scout_web/templates/transaction/_tile.html.eex:20 -#: lib/block_scout_web/templates/transaction/overview.html.eex:98 #: lib/block_scout_web/templates/transaction/overview.html.eex:98 #: lib/block_scout_web/views/wei_helpers.ex:72 -#: lib/block_scout_web/views/wei_helpers.ex:72 msgid "Ether" msgstr "" #, elixir-format #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:163 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:163 msgid "Example Value" msgstr "" #, elixir-format #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:92 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:92 msgid "Execute" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address/_balance_card.html.eex:15 -#: lib/block_scout_web/templates/address/_balance_card.html.eex:15 msgid "Fetching tokens..." msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:151 -#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:151 -#: lib/block_scout_web/templates/address_transaction/index.html.eex:154 #: lib/block_scout_web/templates/address_transaction/index.html.eex:154 -#: lib/block_scout_web/views/address_internal_transaction_view.ex:12 -#: lib/block_scout_web/views/address_internal_transaction_view.ex:12 -#: lib/block_scout_web/views/address_transaction_view.ex:12 -#: lib/block_scout_web/views/address_transaction_view.ex:12 +#: lib/block_scout_web/views/address_internal_transaction_view.ex:10 +#: lib/block_scout_web/views/address_transaction_view.ex:10 msgid "From" msgstr "" #, elixir-format #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:7 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:7 msgid "GET" msgstr "" #, elixir-format #: lib/block_scout_web/templates/transaction/overview.html.eex:111 -#: lib/block_scout_web/templates/transaction/overview.html.eex:111 msgid "Gas" msgstr "" #, elixir-format #: lib/block_scout_web/templates/block/_tile.html.eex:34 -#: lib/block_scout_web/templates/block/_tile.html.eex:34 -#: lib/block_scout_web/templates/block/overview.html.eex:92 #: lib/block_scout_web/templates/block/overview.html.eex:92 msgid "Gas Limit" msgstr "" #, elixir-format #: lib/block_scout_web/templates/block/_tile.html.eex:39 -#: lib/block_scout_web/templates/block/_tile.html.eex:39 -#: lib/block_scout_web/templates/block/overview.html.eex:84 #: lib/block_scout_web/templates/block/overview.html.eex:84 msgid "Gas Used" msgstr "" #, elixir-format #: lib/block_scout_web/templates/layout/_footer.html.eex:4 -#: lib/block_scout_web/templates/layout/_footer.html.eex:4 msgid "Github" msgstr "" #, elixir-format #: lib/block_scout_web/views/block_view.ex:18 -#: lib/block_scout_web/views/block_view.ex:18 -#: lib/block_scout_web/views/wei_helpers.ex:71 #: lib/block_scout_web/views/wei_helpers.ex:71 msgid "Gwei" msgstr "" #, elixir-format #: lib/block_scout_web/templates/block/overview.html.eex:27 -#: lib/block_scout_web/templates/block/overview.html.eex:27 msgid "Hash" msgstr "" #, elixir-format #: lib/block_scout_web/templates/internal_transaction/_tile.html.eex:31 -#: lib/block_scout_web/templates/internal_transaction/_tile.html.eex:31 -#: lib/block_scout_web/templates/transaction/_tile.html.eex:43 #: lib/block_scout_web/templates/transaction/_tile.html.eex:43 msgid "IN" msgstr "" #, elixir-format #: lib/block_scout_web/templates/transaction/overview.html.eex:79 -#: lib/block_scout_web/templates/transaction/overview.html.eex:79 msgid "Input" msgstr "" #, elixir-format #: lib/block_scout_web/templates/internal_transaction/_tile.html.eex:4 -#: lib/block_scout_web/templates/internal_transaction/_tile.html.eex:4 msgid "Internal Transaction" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_contract/index.html.eex:26 -#: lib/block_scout_web/templates/address_contract/index.html.eex:26 -#: lib/block_scout_web/templates/address_contract/index.html.eex:86 #: lib/block_scout_web/templates/address_contract/index.html.eex:86 #: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:27 -#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:27 #: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:70 -#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:70 -#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:84 #: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:84 #: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:163 -#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:163 #: lib/block_scout_web/templates/address_read_contract/index.html.eex:26 -#: lib/block_scout_web/templates/address_read_contract/index.html.eex:26 -#: lib/block_scout_web/templates/address_read_contract/index.html.eex:80 #: lib/block_scout_web/templates/address_read_contract/index.html.eex:80 #: lib/block_scout_web/templates/address_token/index.html.eex:25 -#: lib/block_scout_web/templates/address_token/index.html.eex:25 #: lib/block_scout_web/templates/address_token/index.html.eex:90 -#: lib/block_scout_web/templates/address_token/index.html.eex:90 -#: lib/block_scout_web/templates/address_token_transfer/index.html.eex:27 #: lib/block_scout_web/templates/address_token_transfer/index.html.eex:27 #: lib/block_scout_web/templates/address_token_transfer/index.html.eex:84 -#: lib/block_scout_web/templates/address_token_transfer/index.html.eex:84 -#: lib/block_scout_web/templates/address_transaction/index.html.eex:28 #: lib/block_scout_web/templates/address_transaction/index.html.eex:28 #: lib/block_scout_web/templates/address_transaction/index.html.eex:84 -#: lib/block_scout_web/templates/address_transaction/index.html.eex:84 -#: lib/block_scout_web/templates/address_validation/index.html.eex:24 #: lib/block_scout_web/templates/address_validation/index.html.eex:24 #: lib/block_scout_web/templates/address_validation/index.html.eex:75 -#: lib/block_scout_web/templates/address_validation/index.html.eex:75 #: lib/block_scout_web/templates/transaction/_tabs.html.eex:14 -#: lib/block_scout_web/templates/transaction/_tabs.html.eex:14 -#: lib/block_scout_web/templates/transaction/_tabs.html.eex:43 #: lib/block_scout_web/templates/transaction/_tabs.html.eex:43 #: lib/block_scout_web/templates/transaction_internal_transaction/index.html.eex:10 -#: lib/block_scout_web/templates/transaction_internal_transaction/index.html.eex:10 -#: lib/block_scout_web/views/transaction_view.ex:170 #: lib/block_scout_web/views/transaction_view.ex:170 msgid "Internal Transactions" msgstr "" #, elixir-format #: lib/block_scout_web/templates/tokens/inventory/index.html.eex:18 -#: lib/block_scout_web/templates/tokens/inventory/index.html.eex:18 -#: lib/block_scout_web/templates/tokens/overview/_tabs.html.eex:23 #: lib/block_scout_web/templates/tokens/overview/_tabs.html.eex:23 #: lib/block_scout_web/templates/tokens/overview/_tabs.html.eex:67 -#: lib/block_scout_web/templates/tokens/overview/_tabs.html.eex:67 -#: lib/block_scout_web/views/tokens/overview_view.ex:36 #: lib/block_scout_web/views/tokens/overview_view.ex:36 msgid "Inventory" msgstr "" #, elixir-format #: lib/block_scout_web/templates/layout/app.html.eex:33 -#: lib/block_scout_web/templates/layout/app.html.eex:33 msgid "Less than" msgstr "" #, elixir-format #: lib/block_scout_web/templates/transaction/overview.html.eex:123 -#: lib/block_scout_web/templates/transaction/overview.html.eex:123 msgid "Limit" msgstr "" #, elixir-format #: lib/block_scout_web/templates/transaction/_tabs.html.eex:21 -#: lib/block_scout_web/templates/transaction/_tabs.html.eex:21 -#: lib/block_scout_web/templates/transaction/_tabs.html.eex:48 #: lib/block_scout_web/templates/transaction/_tabs.html.eex:48 #: lib/block_scout_web/templates/transaction_log/index.html.eex:10 -#: lib/block_scout_web/templates/transaction_log/index.html.eex:10 -#: lib/block_scout_web/views/transaction_view.ex:171 #: lib/block_scout_web/views/transaction_view.ex:171 msgid "Logs" msgstr "" #, elixir-format #: lib/block_scout_web/templates/chain/show.html.eex:17 -#: lib/block_scout_web/templates/chain/show.html.eex:17 #: lib/block_scout_web/templates/layout/app.html.eex:34 -#: lib/block_scout_web/templates/layout/app.html.eex:34 -#: lib/block_scout_web/views/address_view.ex:99 #: lib/block_scout_web/views/address_view.ex:99 msgid "Market Cap" msgstr "" #, elixir-format #: lib/block_scout_web/views/transaction_view.ex:43 -#: lib/block_scout_web/views/transaction_view.ex:43 msgid "Max of" msgstr "" #, elixir-format #: lib/block_scout_web/templates/block/_tile.html.eex:24 -#: lib/block_scout_web/templates/block/_tile.html.eex:24 -#: lib/block_scout_web/templates/block/overview.html.eex:70 #: lib/block_scout_web/templates/block/overview.html.eex:70 #: lib/block_scout_web/templates/chain/_block.html.eex:9 -#: lib/block_scout_web/templates/chain/_block.html.eex:9 msgid "Miner" msgstr "" #, elixir-format #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:176 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:176 msgid "Model" msgstr "" #, elixir-format #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:33 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:33 msgid "Module" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:119 -#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:119 msgid "More internal transactions have come in" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_transaction/index.html.eex:122 -#: lib/block_scout_web/templates/address_transaction/index.html.eex:122 -#: lib/block_scout_web/templates/chain/show.html.eex:69 #: lib/block_scout_web/templates/chain/show.html.eex:69 #: lib/block_scout_web/templates/pending_transaction/index.html.eex:48 -#: lib/block_scout_web/templates/pending_transaction/index.html.eex:48 -#: lib/block_scout_web/templates/transaction/index.html.eex:48 #: lib/block_scout_web/templates/transaction/index.html.eex:48 msgid "More transactions have come in" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_validation/index.html.eex:104 -#: lib/block_scout_web/templates/address_validation/index.html.eex:104 msgid "More validations have come in." msgstr "" #, elixir-format #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:42 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:42 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:57 #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:57 msgid "Must be set to:" msgstr "" #, elixir-format #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:27 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:27 msgid "Name" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_contract_verification/new.html.eex:5 -#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:5 msgid "New Smart Contract" msgstr "" #, elixir-format #: #: lib/block_scout_web/templates/transaction_internal_transaction/index.html.eex:23 -#: lib/block_scout_web/templates/transaction_internal_transaction/index.html.eex:23 -#: lib/block_scout_web/templates/transaction_log/index.html.eex:74 #: lib/block_scout_web/templates/transaction_log/index.html.eex:74 msgid "Newer" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_token/index.html.eex:140 -#: lib/block_scout_web/templates/address_token/index.html.eex:140 -#: lib/block_scout_web/templates/address_token_transfer/index.html.eex:134 #: lib/block_scout_web/templates/address_token_transfer/index.html.eex:134 msgid "Next" msgstr "" #, elixir-format #: lib/block_scout_web/templates/tokens/holder/index.html.eex:35 -#: lib/block_scout_web/templates/tokens/holder/index.html.eex:35 -#: lib/block_scout_web/templates/tokens/inventory/index.html.eex:34 #: lib/block_scout_web/templates/tokens/inventory/index.html.eex:34 msgid "Next Page" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_contract_verification/new.html.eex:34 -#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:34 msgid "No" msgstr "" #, elixir-format #: lib/block_scout_web/templates/block/overview.html.eex:59 -#: lib/block_scout_web/templates/block/overview.html.eex:59 -#: lib/block_scout_web/templates/transaction/overview.html.eex:66 #: lib/block_scout_web/templates/transaction/overview.html.eex:66 msgid "Nonce" msgstr "" #, elixir-format #: lib/block_scout_web/templates/internal_transaction/_tile.html.eex:29 -#: lib/block_scout_web/templates/internal_transaction/_tile.html.eex:29 -#: lib/block_scout_web/templates/transaction/_tile.html.eex:39 #: lib/block_scout_web/templates/transaction/_tile.html.eex:39 msgid "OUT" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:178 -#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:178 -#: lib/block_scout_web/templates/address_transaction/index.html.eex:181 #: lib/block_scout_web/templates/address_transaction/index.html.eex:181 #: lib/block_scout_web/templates/address_validation/index.html.eex:123 -#: lib/block_scout_web/templates/address_validation/index.html.eex:123 -#: lib/block_scout_web/templates/block/index.html.eex:20 #: lib/block_scout_web/templates/block/index.html.eex:20 #: lib/block_scout_web/templates/block_transaction/index.html.eex:50 -#: lib/block_scout_web/templates/block_transaction/index.html.eex:50 #: lib/block_scout_web/templates/pending_transaction/index.html.eex:70 -#: lib/block_scout_web/templates/pending_transaction/index.html.eex:70 -#: lib/block_scout_web/templates/tokens/transfer/index.html.eex:34 #: lib/block_scout_web/templates/tokens/transfer/index.html.eex:34 #: lib/block_scout_web/templates/transaction/index.html.eex:70 -#: lib/block_scout_web/templates/transaction/index.html.eex:70 -#: lib/block_scout_web/templates/transaction_token_transfer/index.html.eex:24 #: lib/block_scout_web/templates/transaction_token_transfer/index.html.eex:24 msgid "Older" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_contract/index.html.eex:136 -#: lib/block_scout_web/templates/address_contract/index.html.eex:136 msgid "Optimization enabled" msgstr "" #, elixir-format #: lib/block_scout_web/templates/tokens/inventory/_token.html.eex:18 -#: lib/block_scout_web/templates/tokens/inventory/_token.html.eex:18 msgid "Owner Address" msgstr "" #, elixir-format #: lib/block_scout_web/templates/layout/_topnav.html.eex:66 -#: lib/block_scout_web/templates/layout/_topnav.html.eex:66 -#: lib/block_scout_web/templates/layout/_topnav.html.eex:70 #: lib/block_scout_web/templates/layout/_topnav.html.eex:70 msgid "POA Core" msgstr "" #, elixir-format #: lib/block_scout_web/templates/layout/_topnav.html.eex:69 -#: lib/block_scout_web/templates/layout/_topnav.html.eex:69 msgid "POA Sokol" msgstr "" #, elixir-format #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:6 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:6 msgid "POST" msgstr "" #, elixir-format #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:20 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:20 msgid "Parameters" msgstr "" #, elixir-format #: lib/block_scout_web/templates/block/overview.html.eex:33 -#: lib/block_scout_web/templates/block/overview.html.eex:33 msgid "Parent Hash" msgstr "" #, elixir-format #: lib/block_scout_web/templates/pending_transaction/index.html.eex:16 -#: lib/block_scout_web/templates/pending_transaction/index.html.eex:16 -#: lib/block_scout_web/templates/pending_transaction/index.html.eex:27 #: lib/block_scout_web/templates/pending_transaction/index.html.eex:27 #: lib/block_scout_web/templates/pending_transaction/index.html.eex:35 -#: lib/block_scout_web/templates/pending_transaction/index.html.eex:35 #: lib/block_scout_web/templates/transaction/index.html.eex:16 -#: lib/block_scout_web/templates/transaction/index.html.eex:16 -#: lib/block_scout_web/templates/transaction/index.html.eex:35 #: lib/block_scout_web/templates/transaction/index.html.eex:35 #: lib/block_scout_web/templates/transaction/overview.html.eex:54 -#: lib/block_scout_web/templates/transaction/overview.html.eex:54 #: lib/block_scout_web/views/transaction_view.ex:51 -#: lib/block_scout_web/views/transaction_view.ex:51 -#: lib/block_scout_web/views/transaction_view.ex:77 #: lib/block_scout_web/views/transaction_view.ex:77 msgid "Pending" msgstr "" #, elixir-format #: lib/block_scout_web/templates/pending_transaction/index.html.eex:60 -#: lib/block_scout_web/templates/pending_transaction/index.html.eex:60 msgid "Pending Transactions" msgstr "" #, elixir-format #: lib/block_scout_web/templates/chain/show.html.eex:10 -#: lib/block_scout_web/templates/chain/show.html.eex:10 -#: lib/block_scout_web/templates/layout/app.html.eex:35 #: lib/block_scout_web/templates/layout/app.html.eex:35 msgid "Price" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address/overview.html.eex:13 -#: lib/block_scout_web/templates/address/overview.html.eex:13 -#: lib/block_scout_web/templates/address/overview.html.eex:72 #: lib/block_scout_web/templates/address/overview.html.eex:72 #: lib/block_scout_web/templates/tokens/overview/_details.html.eex:13 #: lib/block_scout_web/templates/tokens/overview/_details.html.eex:13 -#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:13 -#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:13 -#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:81 #: lib/block_scout_web/templates/tokens/overview/_details.html.eex:81 msgid "QR Code" msgstr "" #, elixir-format #: lib/block_scout_web/templates/smart_contract/_functions.html.eex:22 -#: lib/block_scout_web/templates/smart_contract/_functions.html.eex:22 msgid "Query" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_contract/index.html.eex:56 -#: lib/block_scout_web/templates/address_contract/index.html.eex:56 -#: lib/block_scout_web/templates/address_contract/index.html.eex:110 #: lib/block_scout_web/templates/address_contract/index.html.eex:110 #: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:59 -#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:59 -#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:109 #: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:109 #: lib/block_scout_web/templates/address_read_contract/index.html.eex:55 -#: lib/block_scout_web/templates/address_read_contract/index.html.eex:55 #: lib/block_scout_web/templates/address_read_contract/index.html.eex:66 -#: lib/block_scout_web/templates/address_read_contract/index.html.eex:66 -#: lib/block_scout_web/templates/address_read_contract/index.html.eex:95 #: lib/block_scout_web/templates/address_read_contract/index.html.eex:95 #: lib/block_scout_web/templates/address_token/index.html.eex:57 -#: lib/block_scout_web/templates/address_token/index.html.eex:57 #: lib/block_scout_web/templates/address_token/index.html.eex:65 -#: lib/block_scout_web/templates/address_token/index.html.eex:65 -#: lib/block_scout_web/templates/address_token/index.html.eex:116 #: lib/block_scout_web/templates/address_token/index.html.eex:116 #: lib/block_scout_web/templates/address_token_transfer/index.html.eex:51 -#: lib/block_scout_web/templates/address_token_transfer/index.html.eex:51 #: lib/block_scout_web/templates/address_token_transfer/index.html.eex:59 -#: lib/block_scout_web/templates/address_token_transfer/index.html.eex:59 -#: lib/block_scout_web/templates/address_token_transfer/index.html.eex:100 #: lib/block_scout_web/templates/address_token_transfer/index.html.eex:100 #: lib/block_scout_web/templates/address_transaction/index.html.eex:60 -#: lib/block_scout_web/templates/address_transaction/index.html.eex:60 #: lib/block_scout_web/templates/address_transaction/index.html.eex:110 -#: lib/block_scout_web/templates/address_transaction/index.html.eex:110 -#: lib/block_scout_web/templates/address_validation/index.html.eex:53 #: lib/block_scout_web/templates/address_validation/index.html.eex:53 #: lib/block_scout_web/templates/tokens/overview/_tabs.html.eex:33 -#: lib/block_scout_web/templates/tokens/overview/_tabs.html.eex:33 -#: lib/block_scout_web/templates/tokens/overview/_tabs.html.eex:75 #: lib/block_scout_web/templates/tokens/overview/_tabs.html.eex:75 #: lib/block_scout_web/views/tokens/overview_view.ex:35 -#: lib/block_scout_web/views/tokens/overview_view.ex:35 msgid "Read Contract" msgstr "" #, elixir-format #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:113 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:113 msgid "Request URL" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_contract_verification/new.html.eex:60 -#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:60 msgid "Reset" msgstr "" #, elixir-format #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:129 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:129 msgid "Response Body" msgstr "" #, elixir-format #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:102 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:102 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:139 #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:139 msgid "Responses" msgstr "" #, elixir-format #: lib/block_scout_web/templates/layout/_topnav.html.eex:46 -#: lib/block_scout_web/templates/layout/_topnav.html.eex:46 -#: lib/block_scout_web/templates/layout/_topnav.html.eex:53 #: lib/block_scout_web/templates/layout/_topnav.html.eex:53 msgid "Search" msgstr "" #, elixir-format #: lib/block_scout_web/templates/layout/_topnav.html.eex:46 -#: lib/block_scout_web/templates/layout/_topnav.html.eex:46 msgid "Search by address, transaction hash, or block number" msgstr "" #, elixir-format #: #: lib/block_scout_web/templates/address_token_balance/_token_balances.html.eex:26 -#: lib/block_scout_web/templates/address_token_balance/_token_balances.html.eex:26 msgid "Search tokens" msgstr "" #, elixir-format #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:120 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:120 msgid "Server Response" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address/overview.html.eex:13 -#: lib/block_scout_web/templates/address/overview.html.eex:13 msgid "Show QR Code" msgstr "" #, elixir-format #: lib/block_scout_web/templates/pending_transaction/index.html.eex:58 -#: lib/block_scout_web/templates/pending_transaction/index.html.eex:58 -#: lib/block_scout_web/templates/transaction/index.html.eex:58 #: lib/block_scout_web/templates/transaction/index.html.eex:58 msgid "Showing" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address/index.html.eex:6 -#: lib/block_scout_web/templates/address/index.html.eex:6 msgid "Showing 250 addresses of" msgstr "" #, elixir-format #: lib/block_scout_web/views/transaction_view.ex:53 -#: lib/block_scout_web/views/transaction_view.ex:53 msgid "Success" msgstr "" #, elixir-format #: lib/block_scout_web/templates/transaction/_pending_tile.html.eex:20 -#: lib/block_scout_web/templates/transaction/_pending_tile.html.eex:20 -#: lib/block_scout_web/templates/transaction/_tile.html.eex:23 #: lib/block_scout_web/templates/transaction/_tile.html.eex:23 #: lib/block_scout_web/templates/transaction/overview.html.eex:71 -#: lib/block_scout_web/templates/transaction/overview.html.eex:71 msgid "TX Fee" msgstr "" #, elixir-format #: lib/block_scout_web/templates/layout/_footer.html.eex:10 -#: lib/block_scout_web/templates/layout/_footer.html.eex:10 msgid "Telegram" msgstr "" #, elixir-format #: lib/block_scout_web/templates/tokens/holder/index.html.eex:28 -#: lib/block_scout_web/templates/tokens/holder/index.html.eex:28 msgid "There are no holders for this Token." msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:172 -#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:172 msgid "There are no internal transactions for this address." msgstr "" #, elixir-format #: #: lib/block_scout_web/templates/transaction_internal_transaction/index.html.eex:17 -#: lib/block_scout_web/templates/transaction_internal_transaction/index.html.eex:17 msgid "There are no internal transactions for this transaction." msgstr "" #, elixir-format #: lib/block_scout_web/templates/transaction_log/index.html.eex:68 -#: lib/block_scout_web/templates/transaction_log/index.html.eex:68 msgid "There are no logs for this transaction." msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_token_transfer/index.html.eex:128 -#: lib/block_scout_web/templates/address_token_transfer/index.html.eex:128 msgid "There are no token transfers for this address." msgstr "" #, elixir-format #: lib/block_scout_web/templates/transaction_token_transfer/index.html.eex:17 -#: 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:133 -#: lib/block_scout_web/templates/address_token/index.html.eex:133 msgid "There are no tokens for this address." msgstr "" #, elixir-format #: lib/block_scout_web/templates/tokens/inventory/index.html.eex:27 -#: lib/block_scout_web/templates/tokens/inventory/index.html.eex:27 msgid "There are no tokens." msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_transaction/index.html.eex:175 -#: lib/block_scout_web/templates/address_transaction/index.html.eex:175 -#: lib/block_scout_web/templates/block_transaction/index.html.eex:44 #: lib/block_scout_web/templates/block_transaction/index.html.eex:44 msgid "There are no transactions for this address." msgstr "" #, elixir-format #: lib/block_scout_web/templates/tokens/transfer/index.html.eex:27 -#: lib/block_scout_web/templates/tokens/transfer/index.html.eex:27 msgid "There are no transfers for this Token." msgstr "" #, elixir-format #: lib/block_scout_web/templates/api_docs/index.html.eex:7 -#: lib/block_scout_web/templates/api_docs/index.html.eex:7 msgid "This API is provided for developers transitioning their applications from Etherscan to Explorer. It supports GET and POST requests." msgstr "" #, elixir-format #: lib/block_scout_web/templates/transaction/overview.html.eex:23 -#: lib/block_scout_web/templates/transaction/overview.html.eex:23 msgid "This transaction is pending confirmation." msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:140 -#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:140 -#: lib/block_scout_web/templates/address_transaction/index.html.eex:143 #: lib/block_scout_web/templates/address_transaction/index.html.eex:143 -#: lib/block_scout_web/views/address_internal_transaction_view.ex:11 -#: lib/block_scout_web/views/address_internal_transaction_view.ex:11 -#: lib/block_scout_web/views/address_transaction_view.ex:11 -#: lib/block_scout_web/views/address_transaction_view.ex:11 +#: lib/block_scout_web/views/address_internal_transaction_view.ex:9 +#: lib/block_scout_web/views/address_transaction_view.ex:9 msgid "To" msgstr "" #, elixir-format #: lib/block_scout_web/templates/layout/_topnav.html.eex:6 -#: lib/block_scout_web/templates/layout/_topnav.html.eex:6 msgid "Toggle navigation" msgstr "" #, elixir-format #: lib/block_scout_web/templates/tokens/overview/_details.html.eex:22 -#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:22 msgid "Token Details" msgstr "" #, elixir-format #: lib/block_scout_web/templates/tokens/holder/index.html.eex:19 -#: lib/block_scout_web/templates/tokens/holder/index.html.eex:19 #: lib/block_scout_web/templates/tokens/overview/_tabs.html.eex:13 -#: lib/block_scout_web/templates/tokens/overview/_tabs.html.eex:13 -#: lib/block_scout_web/templates/tokens/overview/_tabs.html.eex:60 #: lib/block_scout_web/templates/tokens/overview/_tabs.html.eex:60 #: lib/block_scout_web/views/tokens/overview_view.ex:34 -#: lib/block_scout_web/views/tokens/overview_view.ex:34 msgid "Token Holders" msgstr "" #, elixir-format #: lib/block_scout_web/templates/tokens/inventory/_token.html.eex:11 -#: 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:4 -#: lib/block_scout_web/templates/tokens/transfer/_token_transfer.html.eex:4 #: lib/block_scout_web/templates/transaction_token_transfer/_token_transfer.html.eex:4 -#: lib/block_scout_web/templates/transaction_token_transfer/_token_transfer.html.eex:4 -#: lib/block_scout_web/views/transaction_view.ex:119 #: lib/block_scout_web/views/transaction_view.ex:119 msgid "Token Transfer" msgstr "" #, elixir-format #: lib/block_scout_web/templates/tokens/overview/_tabs.html.eex:5 -#: lib/block_scout_web/templates/tokens/overview/_tabs.html.eex:5 -#: lib/block_scout_web/templates/tokens/overview/_tabs.html.eex:54 #: lib/block_scout_web/templates/tokens/overview/_tabs.html.eex:54 #: lib/block_scout_web/templates/tokens/transfer/index.html.eex:18 -#: lib/block_scout_web/templates/tokens/transfer/index.html.eex:18 #: lib/block_scout_web/templates/transaction/_tabs.html.eex:6 -#: lib/block_scout_web/templates/transaction/_tabs.html.eex:6 -#: lib/block_scout_web/templates/transaction/_tabs.html.eex:36 #: lib/block_scout_web/templates/transaction/_tabs.html.eex:36 #: lib/block_scout_web/templates/transaction_token_transfer/index.html.eex:10 -#: lib/block_scout_web/templates/transaction_token_transfer/index.html.eex:10 #: lib/block_scout_web/views/tokens/overview_view.ex:33 -#: lib/block_scout_web/views/tokens/overview_view.ex:33 -#: lib/block_scout_web/views/transaction_view.ex:169 #: lib/block_scout_web/views/transaction_view.ex:169 msgid "Token Transfers" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_contract/index.html.eex:19 -#: lib/block_scout_web/templates/address_contract/index.html.eex:19 #: lib/block_scout_web/templates/address_contract/index.html.eex:81 -#: lib/block_scout_web/templates/address_contract/index.html.eex:81 -#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:20 #: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:20 #: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:79 -#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:79 #: lib/block_scout_web/templates/address_read_contract/index.html.eex:19 -#: lib/block_scout_web/templates/address_read_contract/index.html.eex:19 -#: lib/block_scout_web/templates/address_read_contract/index.html.eex:75 #: lib/block_scout_web/templates/address_read_contract/index.html.eex:75 #: lib/block_scout_web/templates/address_token/index.html.eex:18 -#: lib/block_scout_web/templates/address_token/index.html.eex:18 #: lib/block_scout_web/templates/address_token/index.html.eex:76 -#: lib/block_scout_web/templates/address_token/index.html.eex:76 -#: lib/block_scout_web/templates/address_token/index.html.eex:85 #: lib/block_scout_web/templates/address_token/index.html.eex:85 #: lib/block_scout_web/templates/address_token/index.html.eex:126 -#: lib/block_scout_web/templates/address_token/index.html.eex:126 #: lib/block_scout_web/templates/address_token_transfer/index.html.eex:19 -#: lib/block_scout_web/templates/address_token_transfer/index.html.eex:19 -#: lib/block_scout_web/templates/address_token_transfer/index.html.eex:70 #: lib/block_scout_web/templates/address_token_transfer/index.html.eex:70 #: lib/block_scout_web/templates/address_token_transfer/index.html.eex:79 -#: lib/block_scout_web/templates/address_token_transfer/index.html.eex:79 #: lib/block_scout_web/templates/address_token_transfer/index.html.eex:112 -#: lib/block_scout_web/templates/address_token_transfer/index.html.eex:112 -#: lib/block_scout_web/templates/address_transaction/index.html.eex:20 #: lib/block_scout_web/templates/address_transaction/index.html.eex:20 #: lib/block_scout_web/templates/address_transaction/index.html.eex:79 -#: lib/block_scout_web/templates/address_transaction/index.html.eex:79 #: lib/block_scout_web/templates/address_validation/index.html.eex:18 -#: lib/block_scout_web/templates/address_validation/index.html.eex:18 -#: lib/block_scout_web/templates/address_validation/index.html.eex:62 #: lib/block_scout_web/templates/address_validation/index.html.eex:62 #: lib/block_scout_web/templates/address_validation/index.html.eex:70 -#: lib/block_scout_web/templates/address_validation/index.html.eex:70 msgid "Tokens" msgstr "" #, elixir-format #: lib/block_scout_web/templates/transaction_log/index.html.eex:26 -#: lib/block_scout_web/templates/transaction_log/index.html.eex:26 msgid "Topics" msgstr "" #, elixir-format #: lib/block_scout_web/templates/block/overview.html.eex:53 -#: lib/block_scout_web/templates/block/overview.html.eex:53 msgid "Total Difficulty" msgstr "" #, elixir-format #: lib/block_scout_web/templates/tokens/overview/_details.html.eex:54 -#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:54 msgid "Total Supply" msgstr "" #, elixir-format #: lib/block_scout_web/templates/chain/show.html.eex:34 -#: lib/block_scout_web/templates/chain/show.html.eex:34 msgid "Total transactions" msgstr "" #, elixir-format #: lib/block_scout_web/views/transaction_view.ex:122 -#: lib/block_scout_web/views/transaction_view.ex:122 msgid "Transaction" msgstr "" #, elixir-format #: lib/block_scout_web/templates/transaction/overview.html.eex:15 -#: lib/block_scout_web/templates/transaction/overview.html.eex:15 msgid "Transaction Details" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address/index.html.eex:28 -#: lib/block_scout_web/templates/address/index.html.eex:28 -#: lib/block_scout_web/templates/address/overview.html.eex:27 #: lib/block_scout_web/templates/address/overview.html.eex:27 #: lib/block_scout_web/templates/address_contract/index.html.eex:12 -#: lib/block_scout_web/templates/address_contract/index.html.eex:12 #: lib/block_scout_web/templates/address_contract/index.html.eex:76 -#: lib/block_scout_web/templates/address_contract/index.html.eex:76 -#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:13 #: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:13 #: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:74 -#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:74 #: lib/block_scout_web/templates/address_read_contract/index.html.eex:12 -#: lib/block_scout_web/templates/address_read_contract/index.html.eex:12 -#: lib/block_scout_web/templates/address_read_contract/index.html.eex:70 #: lib/block_scout_web/templates/address_read_contract/index.html.eex:70 #: lib/block_scout_web/templates/address_token/index.html.eex:11 -#: lib/block_scout_web/templates/address_token/index.html.eex:11 #: lib/block_scout_web/templates/address_token/index.html.eex:80 -#: lib/block_scout_web/templates/address_token/index.html.eex:80 -#: lib/block_scout_web/templates/address_token_transfer/index.html.eex:11 #: lib/block_scout_web/templates/address_token_transfer/index.html.eex:11 #: lib/block_scout_web/templates/address_token_transfer/index.html.eex:74 -#: lib/block_scout_web/templates/address_token_transfer/index.html.eex:74 #: lib/block_scout_web/templates/address_transaction/index.html.eex:13 -#: lib/block_scout_web/templates/address_transaction/index.html.eex:13 -#: lib/block_scout_web/templates/address_transaction/index.html.eex:71 #: lib/block_scout_web/templates/address_transaction/index.html.eex:71 #: lib/block_scout_web/templates/address_transaction/index.html.eex:74 -#: lib/block_scout_web/templates/address_transaction/index.html.eex:74 -#: lib/block_scout_web/templates/address_transaction/index.html.eex:167 #: lib/block_scout_web/templates/address_transaction/index.html.eex:167 #: lib/block_scout_web/templates/address_validation/index.html.eex:11 -#: lib/block_scout_web/templates/address_validation/index.html.eex:11 -#: lib/block_scout_web/templates/address_validation/index.html.eex:65 #: lib/block_scout_web/templates/address_validation/index.html.eex:65 #: lib/block_scout_web/templates/block_transaction/index.html.eex:13 -#: lib/block_scout_web/templates/block_transaction/index.html.eex:13 #: lib/block_scout_web/templates/block_transaction/index.html.eex:23 -#: lib/block_scout_web/templates/block_transaction/index.html.eex:23 -#: lib/block_scout_web/templates/block_transaction/index.html.eex:26 #: lib/block_scout_web/templates/block_transaction/index.html.eex:26 #: lib/block_scout_web/templates/block_transaction/index.html.eex:36 -#: lib/block_scout_web/templates/block_transaction/index.html.eex:36 #: lib/block_scout_web/templates/chain/show.html.eex:73 -#: lib/block_scout_web/templates/chain/show.html.eex:73 -#: lib/block_scout_web/templates/layout/_topnav.html.eex:24 #: lib/block_scout_web/templates/layout/_topnav.html.eex:24 #: lib/block_scout_web/templates/pending_transaction/index.html.eex:56 -#: lib/block_scout_web/templates/pending_transaction/index.html.eex:56 -#: lib/block_scout_web/templates/transaction/index.html.eex:56 #: lib/block_scout_web/templates/transaction/index.html.eex:56 msgid "Transactions" msgstr "" #, elixir-format #: lib/block_scout_web/templates/tokens/overview/_details.html.eex:40 -#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:40 msgid "Transfers" msgstr "" #, elixir-format #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:21 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:21 msgid "Try it out" msgstr "" #, elixir-format #: lib/block_scout_web/templates/layout/_footer.html.eex:7 -#: lib/block_scout_web/templates/layout/_footer.html.eex:7 msgid "Twitter" msgstr "" #, elixir-format #: lib/block_scout_web/templates/tokens/inventory/_token.html.eex:6 -#: lib/block_scout_web/templates/tokens/inventory/_token.html.eex:6 msgid "Unique Token" msgstr "" #, elixir-format #: lib/block_scout_web/templates/transaction/overview.html.eex:116 -#: lib/block_scout_web/templates/transaction/overview.html.eex:116 msgid "Used" msgstr "" #, elixir-format #: lib/block_scout_web/templates/pending_transaction/index.html.eex:9 -#: lib/block_scout_web/templates/pending_transaction/index.html.eex:9 -#: lib/block_scout_web/templates/pending_transaction/index.html.eex:30 #: lib/block_scout_web/templates/pending_transaction/index.html.eex:30 #: lib/block_scout_web/templates/transaction/index.html.eex:9 -#: lib/block_scout_web/templates/transaction/index.html.eex:9 #: lib/block_scout_web/templates/transaction/index.html.eex:27 -#: lib/block_scout_web/templates/transaction/index.html.eex:27 -#: lib/block_scout_web/templates/transaction/index.html.eex:30 #: lib/block_scout_web/templates/transaction/index.html.eex:30 msgid "Validated" msgstr "" #, elixir-format #: lib/block_scout_web/templates/transaction/index.html.eex:60 -#: lib/block_scout_web/templates/transaction/index.html.eex:60 msgid "Validated Transactions" msgstr "" #, elixir-format #: lib/block_scout_web/templates/transaction/overview.html.eex:98 -#: lib/block_scout_web/templates/transaction/overview.html.eex:98 msgid "Value" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_contract/index.html.eex:122 -#: lib/block_scout_web/templates/address_contract/index.html.eex:122 msgid "Verify & Publish" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_contract_verification/new.html.eex:59 -#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:59 msgid "Verify & publish" msgstr "" #, elixir-format #: lib/block_scout_web/templates/chain/show.html.eex:55 -#: lib/block_scout_web/templates/chain/show.html.eex:55 msgid "View All Blocks →" msgstr "" #, elixir-format #: lib/block_scout_web/templates/chain/show.html.eex:72 -#: lib/block_scout_web/templates/chain/show.html.eex:72 msgid "View All Transactions →" msgstr "" #, elixir-format #: lib/block_scout_web/templates/tokens/overview/_details.html.eex:34 -#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:34 msgid "View Contract" msgstr "" #, elixir-format #: lib/block_scout_web/templates/transaction/_tile.html.eex:64 -#: lib/block_scout_web/templates/transaction/_tile.html.eex:64 msgid "View Less Transfers" msgstr "" #, elixir-format #: lib/block_scout_web/templates/transaction/_tile.html.eex:63 -#: lib/block_scout_web/templates/transaction/_tile.html.eex:63 msgid "View More Transfers" msgstr "" #, elixir-format #: lib/block_scout_web/templates/smart_contract/_functions.html.eex:49 -#: 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:42 -#: lib/block_scout_web/templates/chain/show.html.eex:42 msgid "Wallet addresses" msgstr "" #, elixir-format #: lib/block_scout_web/views/wei_helpers.ex:70 -#: lib/block_scout_web/views/wei_helpers.ex:70 msgid "Wei" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_contract_verification/new.html.eex:39 -#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:39 msgid "Yes" msgstr "" #, elixir-format #: lib/block_scout_web/templates/tokens/overview/_details.html.eex:39 -#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:39 msgid "addresses" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address/overview.html.eex:48 -#: lib/block_scout_web/templates/address/overview.html.eex:48 msgid "at" msgstr "" #, elixir-format #: lib/block_scout_web/templates/tokens/overview/_details.html.eex:42 -#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:42 msgid "decimals" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_read_contract/index.html.eex:105 -#: lib/block_scout_web/templates/address_read_contract/index.html.eex:105 -#: lib/block_scout_web/templates/tokens/read_contract/index.html.eex:19 #: lib/block_scout_web/templates/tokens/read_contract/index.html.eex:19 msgid "loading..." msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_contract_verification/new.html.eex:57 -#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:57 msgid "loading....." msgstr "" #, elixir-format #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:35 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:35 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:50 #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:50 #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:65 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:65 msgid "required" msgstr "" #, elixir-format #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:38 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:38 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:53 #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:53 msgid "string" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address/index.html.eex:8 -#: lib/block_scout_web/templates/address/index.html.eex:8 msgid "total addresses with a balance" 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 c77493fc51..4261742e10 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 @@ -1,6 +1,5 @@ #, elixir-format #: lib/block_scout_web/views/address_token_balance_view.ex:5 -#: lib/block_scout_web/views/address_token_balance_view.ex:5 msgid "%{count} token" msgid_plural "%{count} tokens" msgstr[0] "" @@ -8,7 +7,6 @@ msgstr[1] "" #, elixir-format #: lib/block_scout_web/templates/block/_tile.html.eex:15 -#: lib/block_scout_web/templates/block/_tile.html.eex:15 msgid "%{count} transaction" msgid_plural "%{count} transactions" msgstr[0] "" @@ -16,7 +14,6 @@ msgstr[1] "" #, elixir-format #: lib/block_scout_web/views/address_token_view.ex:7 -#: lib/block_scout_web/views/address_token_view.ex:7 msgid "%{count} transfer" msgid_plural "%{count} transfers" msgstr[0] "" @@ -24,359 +21,265 @@ msgstr[1] "" #, elixir-format #: lib/block_scout_web/templates/block/overview.html.eex:12 -#: lib/block_scout_web/templates/block/overview.html.eex:12 msgid "%{count} Transactions" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_contract/index.html.eex:137 -#: lib/block_scout_web/templates/address_contract/index.html.eex:137 msgid "%{}" msgstr "" #, elixir-format #: lib/block_scout_web/views/transaction_view.ex:52 -#: lib/block_scout_web/views/transaction_view.ex:52 msgid "(Awaiting internal transactions for status)" msgstr "" #, elixir-format #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:38 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:38 #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:53 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:53 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:67 #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:67 #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:81 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:81 msgid "(query)" msgstr "" #, elixir-format #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:56 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:56 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:41 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:41 msgid "A string with the name of the module to be invoked." msgstr "" #, elixir-format #: lib/block_scout_web/templates/layout/_topnav.html.eex:40 -#: lib/block_scout_web/templates/layout/_topnav.html.eex:40 msgid "API" msgstr "" #, elixir-format #: lib/block_scout_web/templates/layout/_topnav.html.eex:32 -#: lib/block_scout_web/templates/layout/_topnav.html.eex:32 msgid "Accounts" msgstr "" #, elixir-format #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:48 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:48 msgid "Action" msgstr "" #, elixir-format #: lib/block_scout_web/templates/transaction_log/index.html.eex:15 -#: lib/block_scout_web/templates/transaction_log/index.html.eex:15 -#: lib/block_scout_web/views/address_view.ex:79 #: lib/block_scout_web/views/address_view.ex:79 msgid "Address" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address/index.html.eex:4 -#: lib/block_scout_web/templates/address/index.html.eex:4 msgid "Addresses" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:134 -#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:134 #: lib/block_scout_web/templates/address_transaction/index.html.eex:137 -#: lib/block_scout_web/templates/address_transaction/index.html.eex:137 -#: lib/block_scout_web/views/address_internal_transaction_view.ex:13 -#: lib/block_scout_web/views/address_internal_transaction_view.ex:13 -#: lib/block_scout_web/views/address_transaction_view.ex:13 -#: lib/block_scout_web/views/address_transaction_view.ex:13 +#: lib/block_scout_web/views/address_internal_transaction_view.ex:11 +#: lib/block_scout_web/views/address_transaction_view.ex:11 msgid "All" msgstr "" #, elixir-format #: lib/block_scout_web/templates/chain/show.html.eex:26 -#: lib/block_scout_web/templates/chain/show.html.eex:26 msgid "Average block time" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address/_balance_card.html.eex:3 -#: lib/block_scout_web/templates/address/_balance_card.html.eex:3 msgid "Balance" msgstr "" #, elixir-format #: lib/block_scout_web/templates/api_docs/index.html.eex:6 -#: lib/block_scout_web/templates/api_docs/index.html.eex:6 msgid "Base URL:" msgstr "" #, elixir-format #: lib/block_scout_web/templates/internal_transaction/_tile.html.eex:21 -#: lib/block_scout_web/templates/internal_transaction/_tile.html.eex:21 -#: lib/block_scout_web/templates/tokens/transfer/_token_transfer.html.eex:44 #: lib/block_scout_web/templates/tokens/transfer/_token_transfer.html.eex:44 #: lib/block_scout_web/templates/transaction/_tile.html.eex:30 -#: lib/block_scout_web/templates/transaction/_tile.html.eex:30 msgid "Block #%{number}" msgstr "" #, elixir-format #: lib/block_scout_web/templates/transaction/overview.html.eex:59 -#: lib/block_scout_web/templates/transaction/overview.html.eex:59 msgid "Block Confirmations" msgstr "" #, elixir-format #: lib/block_scout_web/templates/block/overview.html.eex:7 -#: lib/block_scout_web/templates/block/overview.html.eex:7 msgid "Block Details" msgstr "" #, elixir-format #: lib/block_scout_web/templates/block/overview.html.eex:9 -#: lib/block_scout_web/templates/block/overview.html.eex:9 msgid "Block Height #%{height}" msgstr "" #, elixir-format #: lib/block_scout_web/templates/transaction/overview.html.eex:45 -#: lib/block_scout_web/templates/transaction/overview.html.eex:45 msgid "Block Number" msgstr "" #, elixir-format #: lib/block_scout_web/templates/layout/app.html.eex:7 -#: lib/block_scout_web/templates/layout/app.html.eex:7 msgid "BlockScout" msgstr "" #, elixir-format #: lib/block_scout_web/templates/block/index.html.eex:10 -#: lib/block_scout_web/templates/block/index.html.eex:10 -#: lib/block_scout_web/templates/chain/show.html.eex:56 #: lib/block_scout_web/templates/chain/show.html.eex:56 #: lib/block_scout_web/templates/layout/_topnav.html.eex:16 -#: lib/block_scout_web/templates/layout/_topnav.html.eex:16 msgid "Blocks" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address/overview.html.eex:31 -#: lib/block_scout_web/templates/address/overview.html.eex:31 -#: lib/block_scout_web/templates/address_contract/index.html.eex:35 #: lib/block_scout_web/templates/address_contract/index.html.eex:35 #: lib/block_scout_web/templates/address_contract/index.html.eex:93 -#: lib/block_scout_web/templates/address_contract/index.html.eex:93 -#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:36 #: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:36 #: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:91 -#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:91 #: lib/block_scout_web/templates/address_read_contract/index.html.eex:35 -#: lib/block_scout_web/templates/address_read_contract/index.html.eex:35 -#: lib/block_scout_web/templates/address_token/index.html.eex:34 #: lib/block_scout_web/templates/address_token/index.html.eex:34 #: lib/block_scout_web/templates/address_token/index.html.eex:97 -#: lib/block_scout_web/templates/address_token/index.html.eex:97 #: lib/block_scout_web/templates/address_transaction/index.html.eex:37 -#: lib/block_scout_web/templates/address_transaction/index.html.eex:37 -#: lib/block_scout_web/templates/address_transaction/index.html.eex:91 #: lib/block_scout_web/templates/address_transaction/index.html.eex:91 #: lib/block_scout_web/templates/address_validation/index.html.eex:32 -#: lib/block_scout_web/templates/address_validation/index.html.eex:32 #: lib/block_scout_web/templates/address_validation/index.html.eex:81 -#: lib/block_scout_web/templates/address_validation/index.html.eex:81 -#: lib/block_scout_web/templates/address_validation/index.html.eex:114 #: lib/block_scout_web/templates/address_validation/index.html.eex:114 msgid "Blocks Validated" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_contract_verification/new.html.eex:62 -#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:62 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:22 #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:22 msgid "Cancel" msgstr "" #, elixir-format #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:95 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:95 msgid "Clear" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address/overview.html.eex:73 -#: lib/block_scout_web/templates/address/overview.html.eex:73 -#: lib/block_scout_web/templates/address/overview.html.eex:81 #: lib/block_scout_web/templates/address/overview.html.eex:81 #: lib/block_scout_web/templates/tokens/overview/_details.html.eex:82 -#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:82 -#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:90 #: lib/block_scout_web/templates/tokens/overview/_details.html.eex:90 msgid "Close" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_contract/index.html.eex:46 -#: lib/block_scout_web/templates/address_contract/index.html.eex:46 #: lib/block_scout_web/templates/address_contract/index.html.eex:68 -#: lib/block_scout_web/templates/address_contract/index.html.eex:68 -#: lib/block_scout_web/templates/address_contract/index.html.eex:102 #: lib/block_scout_web/templates/address_contract/index.html.eex:102 #: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:48 -#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:48 #: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:101 -#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:101 -#: lib/block_scout_web/templates/address_read_contract/index.html.eex:46 #: lib/block_scout_web/templates/address_read_contract/index.html.eex:46 #: lib/block_scout_web/templates/address_read_contract/index.html.eex:88 -#: lib/block_scout_web/templates/address_read_contract/index.html.eex:88 #: lib/block_scout_web/templates/address_token/index.html.eex:46 -#: lib/block_scout_web/templates/address_token/index.html.eex:46 -#: lib/block_scout_web/templates/address_token/index.html.eex:107 #: lib/block_scout_web/templates/address_token/index.html.eex:107 #: lib/block_scout_web/templates/address_token_transfer/index.html.eex:39 -#: lib/block_scout_web/templates/address_token_transfer/index.html.eex:39 #: lib/block_scout_web/templates/address_token_transfer/index.html.eex:92 -#: lib/block_scout_web/templates/address_token_transfer/index.html.eex:92 -#: lib/block_scout_web/templates/address_transaction/index.html.eex:49 #: lib/block_scout_web/templates/address_transaction/index.html.eex:49 #: lib/block_scout_web/templates/address_transaction/index.html.eex:101 -#: lib/block_scout_web/templates/address_transaction/index.html.eex:101 #: lib/block_scout_web/templates/address_validation/index.html.eex:43 -#: lib/block_scout_web/templates/address_validation/index.html.eex:43 -#: lib/block_scout_web/templates/address_validation/index.html.eex:90 #: lib/block_scout_web/templates/address_validation/index.html.eex:90 #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:122 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:122 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:141 #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:141 msgid "Code" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_contract_verification/new.html.eex:24 -#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:24 msgid "Compiler" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_contract/index.html.eex:140 -#: lib/block_scout_web/templates/address_contract/index.html.eex:140 msgid "Compiler version" msgstr "" #, elixir-format #: lib/block_scout_web/templates/block/index.html.eex:6 -#: 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:124 -#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:124 msgid "Connection Lost, click to load newer internal transactions" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_transaction/index.html.eex:127 -#: lib/block_scout_web/templates/address_transaction/index.html.eex:127 #: lib/block_scout_web/templates/pending_transaction/index.html.eex:53 -#: lib/block_scout_web/templates/pending_transaction/index.html.eex:53 -#: lib/block_scout_web/templates/transaction/index.html.eex:53 #: lib/block_scout_web/templates/transaction/index.html.eex:53 msgid "Connection Lost, click to load newer transactions" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_validation/index.html.eex:110 -#: lib/block_scout_web/templates/address_validation/index.html.eex:110 msgid "Connection Lost, click to load newer validations" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_contract/index.html.eex:163 -#: lib/block_scout_web/templates/address_contract/index.html.eex:163 msgid "Contract ABI" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_contract_verification/new.html.eex:12 -#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:12 -#: lib/block_scout_web/views/address_view.ex:77 #: lib/block_scout_web/views/address_view.ex:77 msgid "Contract Address" msgstr "" #, elixir-format #: lib/block_scout_web/templates/transaction/_pending_tile.html.eex:15 -#: lib/block_scout_web/templates/transaction/_pending_tile.html.eex:15 -#: lib/block_scout_web/views/address_view.ex:21 #: lib/block_scout_web/views/address_view.ex:21 #: lib/block_scout_web/views/address_view.ex:55 -#: lib/block_scout_web/views/address_view.ex:55 msgid "Contract Address Pending" msgstr "" #, elixir-format #: lib/block_scout_web/views/transaction_view.ex:121 -#: lib/block_scout_web/views/transaction_view.ex:121 msgid "Contract Call" msgstr "" #, elixir-format #: lib/block_scout_web/views/transaction_view.ex:120 -#: lib/block_scout_web/views/transaction_view.ex:120 msgid "Contract Creation" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_contract_verification/new.html.eex:18 -#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:18 msgid "Contract Name" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_contract/index.html.eex:180 -#: lib/block_scout_web/templates/address_contract/index.html.eex:180 msgid "Contract creation code" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_contract/index.html.eex:132 -#: lib/block_scout_web/templates/address_contract/index.html.eex:132 msgid "Contract name:" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_contract/index.html.eex:147 -#: lib/block_scout_web/templates/address_contract/index.html.eex:147 msgid "Contract source code" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address/overview.html.eex:8 #: lib/block_scout_web/templates/address/overview.html.eex:8 -#: lib/block_scout_web/templates/address/overview.html.eex:8 -#: lib/block_scout_web/templates/address/overview.html.eex:8 -#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:8 -#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:8 #: lib/block_scout_web/templates/tokens/overview/_details.html.eex:8 #: lib/block_scout_web/templates/tokens/overview/_details.html.eex:8 msgid "Copy Address" @@ -384,1135 +287,837 @@ msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_contract/index.html.eex:149 -#: lib/block_scout_web/templates/address_contract/index.html.eex:149 -#: lib/block_scout_web/templates/address_contract/index.html.eex:165 #: lib/block_scout_web/templates/address_contract/index.html.eex:165 #: lib/block_scout_web/templates/address_contract/index.html.eex:182 -#: lib/block_scout_web/templates/address_contract/index.html.eex:182 msgid "Copy Code" msgstr "" #, elixir-format #: lib/block_scout_web/templates/transaction/overview.html.eex:10 -#: lib/block_scout_web/templates/transaction/overview.html.eex:10 msgid "Copy Transaction Hash" msgstr "" #, elixir-format #: lib/block_scout_web/templates/transaction/overview.html.eex:10 -#: lib/block_scout_web/templates/transaction/overview.html.eex:10 msgid "Copy Txn Hash" msgstr "" #, elixir-format #: lib/block_scout_web/templates/layout/_footer.html.eex:15 -#: lib/block_scout_web/templates/layout/_footer.html.eex:15 msgid "Copyright %{year} POA" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address/overview.html.eex:42 -#: lib/block_scout_web/templates/address/overview.html.eex:42 msgid "Created by" msgstr "" #, elixir-format #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:106 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:106 msgid "Curl" msgstr "" #, elixir-format #: lib/block_scout_web/templates/transaction_log/index.html.eex:54 -#: lib/block_scout_web/templates/transaction_log/index.html.eex:54 msgid "Data" msgstr "" #, elixir-format #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:28 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:28 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:142 #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:142 msgid "Description" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address/overview.html.eex:18 -#: lib/block_scout_web/templates/address/overview.html.eex:18 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:123 #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:123 msgid "Details" msgstr "" #, elixir-format #: lib/block_scout_web/templates/block/overview.html.eex:45 -#: lib/block_scout_web/templates/block/overview.html.eex:45 msgid "Difficulty" msgstr "" #, elixir-format #: lib/block_scout_web/templates/smart_contract/_functions.html.eex:50 -#: lib/block_scout_web/templates/smart_contract/_functions.html.eex:50 msgid "ETH" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_contract_verification/new.html.eex:46 -#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:46 msgid "Enter the Solidity Contract Code below" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address/_balance_card.html.eex:19 -#: lib/block_scout_web/templates/address/_balance_card.html.eex:19 msgid "Error tryng to fetch balances." msgstr "" #, elixir-format #: lib/block_scout_web/views/transaction_view.ex:56 -#: lib/block_scout_web/views/transaction_view.ex:56 msgid "Error: %{reason}" msgstr "" #, elixir-format #: lib/block_scout_web/views/transaction_view.ex:54 -#: lib/block_scout_web/views/transaction_view.ex:54 msgid "Error: (Awaiting internal transactions for reason)" msgstr "" #, elixir-format #: lib/block_scout_web/templates/internal_transaction/_tile.html.eex:15 -#: lib/block_scout_web/templates/internal_transaction/_tile.html.eex:15 -#: lib/block_scout_web/templates/transaction/_pending_tile.html.eex:19 #: lib/block_scout_web/templates/transaction/_pending_tile.html.eex:19 #: lib/block_scout_web/templates/transaction/_tile.html.eex:20 -#: lib/block_scout_web/templates/transaction/_tile.html.eex:20 -#: lib/block_scout_web/templates/transaction/overview.html.eex:98 #: lib/block_scout_web/templates/transaction/overview.html.eex:98 #: lib/block_scout_web/views/wei_helpers.ex:72 -#: lib/block_scout_web/views/wei_helpers.ex:72 msgid "Ether" -msgstr "" +msgstr "POA" #, elixir-format #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:163 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:163 msgid "Example Value" msgstr "" #, elixir-format #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:92 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:92 msgid "Execute" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address/_balance_card.html.eex:15 -#: lib/block_scout_web/templates/address/_balance_card.html.eex:15 msgid "Fetching tokens..." msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:151 -#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:151 #: lib/block_scout_web/templates/address_transaction/index.html.eex:154 -#: lib/block_scout_web/templates/address_transaction/index.html.eex:154 -#: lib/block_scout_web/views/address_internal_transaction_view.ex:12 -#: lib/block_scout_web/views/address_internal_transaction_view.ex:12 -#: lib/block_scout_web/views/address_transaction_view.ex:12 -#: lib/block_scout_web/views/address_transaction_view.ex:12 +#: lib/block_scout_web/views/address_internal_transaction_view.ex:10 +#: lib/block_scout_web/views/address_transaction_view.ex:10 msgid "From" msgstr "" #, elixir-format #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:7 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:7 msgid "GET" msgstr "" #, elixir-format #: lib/block_scout_web/templates/transaction/overview.html.eex:111 -#: lib/block_scout_web/templates/transaction/overview.html.eex:111 msgid "Gas" msgstr "" #, elixir-format #: lib/block_scout_web/templates/block/_tile.html.eex:34 -#: lib/block_scout_web/templates/block/_tile.html.eex:34 -#: lib/block_scout_web/templates/block/overview.html.eex:92 #: lib/block_scout_web/templates/block/overview.html.eex:92 msgid "Gas Limit" msgstr "" #, elixir-format #: lib/block_scout_web/templates/block/_tile.html.eex:39 -#: lib/block_scout_web/templates/block/_tile.html.eex:39 -#: lib/block_scout_web/templates/block/overview.html.eex:84 #: lib/block_scout_web/templates/block/overview.html.eex:84 msgid "Gas Used" msgstr "" #, elixir-format #: lib/block_scout_web/templates/layout/_footer.html.eex:4 -#: lib/block_scout_web/templates/layout/_footer.html.eex:4 msgid "Github" msgstr "" #, elixir-format #: lib/block_scout_web/views/block_view.ex:18 -#: lib/block_scout_web/views/block_view.ex:18 -#: lib/block_scout_web/views/wei_helpers.ex:71 #: lib/block_scout_web/views/wei_helpers.ex:71 msgid "Gwei" msgstr "" #, elixir-format #: lib/block_scout_web/templates/block/overview.html.eex:27 -#: lib/block_scout_web/templates/block/overview.html.eex:27 msgid "Hash" msgstr "" #, elixir-format #: lib/block_scout_web/templates/internal_transaction/_tile.html.eex:31 -#: lib/block_scout_web/templates/internal_transaction/_tile.html.eex:31 -#: lib/block_scout_web/templates/transaction/_tile.html.eex:43 #: lib/block_scout_web/templates/transaction/_tile.html.eex:43 msgid "IN" msgstr "" #, elixir-format #: lib/block_scout_web/templates/transaction/overview.html.eex:79 -#: lib/block_scout_web/templates/transaction/overview.html.eex:79 msgid "Input" msgstr "" #, elixir-format #: lib/block_scout_web/templates/internal_transaction/_tile.html.eex:4 -#: lib/block_scout_web/templates/internal_transaction/_tile.html.eex:4 msgid "Internal Transaction" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_contract/index.html.eex:26 -#: lib/block_scout_web/templates/address_contract/index.html.eex:26 -#: lib/block_scout_web/templates/address_contract/index.html.eex:86 #: lib/block_scout_web/templates/address_contract/index.html.eex:86 #: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:27 -#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:27 -#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:70 #: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:70 #: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:84 -#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:84 #: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:163 -#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:163 -#: lib/block_scout_web/templates/address_read_contract/index.html.eex:26 #: lib/block_scout_web/templates/address_read_contract/index.html.eex:26 #: lib/block_scout_web/templates/address_read_contract/index.html.eex:80 -#: lib/block_scout_web/templates/address_read_contract/index.html.eex:80 #: lib/block_scout_web/templates/address_token/index.html.eex:25 -#: lib/block_scout_web/templates/address_token/index.html.eex:25 -#: lib/block_scout_web/templates/address_token/index.html.eex:90 #: lib/block_scout_web/templates/address_token/index.html.eex:90 #: lib/block_scout_web/templates/address_token_transfer/index.html.eex:27 -#: lib/block_scout_web/templates/address_token_transfer/index.html.eex:27 -#: lib/block_scout_web/templates/address_token_transfer/index.html.eex:84 #: lib/block_scout_web/templates/address_token_transfer/index.html.eex:84 #: lib/block_scout_web/templates/address_transaction/index.html.eex:28 -#: lib/block_scout_web/templates/address_transaction/index.html.eex:28 -#: lib/block_scout_web/templates/address_transaction/index.html.eex:84 #: lib/block_scout_web/templates/address_transaction/index.html.eex:84 #: lib/block_scout_web/templates/address_validation/index.html.eex:24 -#: lib/block_scout_web/templates/address_validation/index.html.eex:24 #: lib/block_scout_web/templates/address_validation/index.html.eex:75 -#: lib/block_scout_web/templates/address_validation/index.html.eex:75 -#: lib/block_scout_web/templates/transaction/_tabs.html.eex:14 #: lib/block_scout_web/templates/transaction/_tabs.html.eex:14 #: lib/block_scout_web/templates/transaction/_tabs.html.eex:43 -#: lib/block_scout_web/templates/transaction/_tabs.html.eex:43 #: lib/block_scout_web/templates/transaction_internal_transaction/index.html.eex:10 -#: lib/block_scout_web/templates/transaction_internal_transaction/index.html.eex:10 -#: lib/block_scout_web/views/transaction_view.ex:170 #: lib/block_scout_web/views/transaction_view.ex:170 msgid "Internal Transactions" msgstr "" #, elixir-format #: lib/block_scout_web/templates/tokens/inventory/index.html.eex:18 -#: lib/block_scout_web/templates/tokens/inventory/index.html.eex:18 #: lib/block_scout_web/templates/tokens/overview/_tabs.html.eex:23 -#: lib/block_scout_web/templates/tokens/overview/_tabs.html.eex:23 -#: lib/block_scout_web/templates/tokens/overview/_tabs.html.eex:67 #: lib/block_scout_web/templates/tokens/overview/_tabs.html.eex:67 #: lib/block_scout_web/views/tokens/overview_view.ex:36 -#: lib/block_scout_web/views/tokens/overview_view.ex:36 msgid "Inventory" msgstr "" #, elixir-format #: lib/block_scout_web/templates/layout/app.html.eex:33 -#: lib/block_scout_web/templates/layout/app.html.eex:33 msgid "Less than" msgstr "" #, elixir-format #: lib/block_scout_web/templates/transaction/overview.html.eex:123 -#: lib/block_scout_web/templates/transaction/overview.html.eex:123 msgid "Limit" msgstr "" #, elixir-format #: lib/block_scout_web/templates/transaction/_tabs.html.eex:21 -#: lib/block_scout_web/templates/transaction/_tabs.html.eex:21 #: lib/block_scout_web/templates/transaction/_tabs.html.eex:48 -#: lib/block_scout_web/templates/transaction/_tabs.html.eex:48 -#: lib/block_scout_web/templates/transaction_log/index.html.eex:10 #: lib/block_scout_web/templates/transaction_log/index.html.eex:10 #: lib/block_scout_web/views/transaction_view.ex:171 -#: lib/block_scout_web/views/transaction_view.ex:171 msgid "Logs" msgstr "" #, elixir-format #: lib/block_scout_web/templates/chain/show.html.eex:17 -#: lib/block_scout_web/templates/chain/show.html.eex:17 -#: lib/block_scout_web/templates/layout/app.html.eex:34 #: lib/block_scout_web/templates/layout/app.html.eex:34 #: lib/block_scout_web/views/address_view.ex:99 -#: lib/block_scout_web/views/address_view.ex:99 msgid "Market Cap" msgstr "" #, elixir-format #: lib/block_scout_web/views/transaction_view.ex:43 -#: lib/block_scout_web/views/transaction_view.ex:43 msgid "Max of" msgstr "" #, elixir-format #: lib/block_scout_web/templates/block/_tile.html.eex:24 -#: lib/block_scout_web/templates/block/_tile.html.eex:24 -#: lib/block_scout_web/templates/block/overview.html.eex:70 #: lib/block_scout_web/templates/block/overview.html.eex:70 #: lib/block_scout_web/templates/chain/_block.html.eex:9 -#: lib/block_scout_web/templates/chain/_block.html.eex:9 msgid "Miner" msgstr "" #, elixir-format #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:176 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:176 msgid "Model" msgstr "" #, elixir-format #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:33 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:33 msgid "Module" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:119 -#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:119 msgid "More internal transactions have come in" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_transaction/index.html.eex:122 -#: lib/block_scout_web/templates/address_transaction/index.html.eex:122 -#: lib/block_scout_web/templates/chain/show.html.eex:69 #: lib/block_scout_web/templates/chain/show.html.eex:69 #: lib/block_scout_web/templates/pending_transaction/index.html.eex:48 -#: lib/block_scout_web/templates/pending_transaction/index.html.eex:48 -#: lib/block_scout_web/templates/transaction/index.html.eex:48 #: lib/block_scout_web/templates/transaction/index.html.eex:48 msgid "More transactions have come in" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_validation/index.html.eex:104 -#: lib/block_scout_web/templates/address_validation/index.html.eex:104 msgid "More validations have come in." msgstr "" #, elixir-format #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:42 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:42 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:57 #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:57 msgid "Must be set to:" msgstr "" #, elixir-format #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:27 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:27 msgid "Name" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_contract_verification/new.html.eex:5 -#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:5 msgid "New Smart Contract" msgstr "" #, elixir-format #: #: lib/block_scout_web/templates/transaction_internal_transaction/index.html.eex:23 -#: lib/block_scout_web/templates/transaction_internal_transaction/index.html.eex:23 -#: lib/block_scout_web/templates/transaction_log/index.html.eex:74 #: lib/block_scout_web/templates/transaction_log/index.html.eex:74 msgid "Newer" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_token/index.html.eex:140 -#: lib/block_scout_web/templates/address_token/index.html.eex:140 -#: lib/block_scout_web/templates/address_token_transfer/index.html.eex:134 #: lib/block_scout_web/templates/address_token_transfer/index.html.eex:134 msgid "Next" msgstr "" #, elixir-format #: lib/block_scout_web/templates/tokens/holder/index.html.eex:35 -#: lib/block_scout_web/templates/tokens/holder/index.html.eex:35 -#: lib/block_scout_web/templates/tokens/inventory/index.html.eex:34 #: lib/block_scout_web/templates/tokens/inventory/index.html.eex:34 msgid "Next Page" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_contract_verification/new.html.eex:34 -#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:34 msgid "No" msgstr "" #, elixir-format #: lib/block_scout_web/templates/block/overview.html.eex:59 -#: lib/block_scout_web/templates/block/overview.html.eex:59 -#: lib/block_scout_web/templates/transaction/overview.html.eex:66 #: lib/block_scout_web/templates/transaction/overview.html.eex:66 msgid "Nonce" msgstr "" #, elixir-format #: lib/block_scout_web/templates/internal_transaction/_tile.html.eex:29 -#: lib/block_scout_web/templates/internal_transaction/_tile.html.eex:29 -#: lib/block_scout_web/templates/transaction/_tile.html.eex:39 #: lib/block_scout_web/templates/transaction/_tile.html.eex:39 msgid "OUT" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:178 -#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:178 #: lib/block_scout_web/templates/address_transaction/index.html.eex:181 -#: lib/block_scout_web/templates/address_transaction/index.html.eex:181 -#: lib/block_scout_web/templates/address_validation/index.html.eex:123 #: lib/block_scout_web/templates/address_validation/index.html.eex:123 #: lib/block_scout_web/templates/block/index.html.eex:20 -#: lib/block_scout_web/templates/block/index.html.eex:20 #: lib/block_scout_web/templates/block_transaction/index.html.eex:50 -#: lib/block_scout_web/templates/block_transaction/index.html.eex:50 -#: lib/block_scout_web/templates/pending_transaction/index.html.eex:70 #: lib/block_scout_web/templates/pending_transaction/index.html.eex:70 #: lib/block_scout_web/templates/tokens/transfer/index.html.eex:34 -#: lib/block_scout_web/templates/tokens/transfer/index.html.eex:34 #: lib/block_scout_web/templates/transaction/index.html.eex:70 -#: lib/block_scout_web/templates/transaction/index.html.eex:70 -#: lib/block_scout_web/templates/transaction_token_transfer/index.html.eex:24 #: lib/block_scout_web/templates/transaction_token_transfer/index.html.eex:24 msgid "Older" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_contract/index.html.eex:136 -#: lib/block_scout_web/templates/address_contract/index.html.eex:136 msgid "Optimization enabled" msgstr "" #, elixir-format #: lib/block_scout_web/templates/tokens/inventory/_token.html.eex:18 -#: lib/block_scout_web/templates/tokens/inventory/_token.html.eex:18 msgid "Owner Address" msgstr "" #, elixir-format #: lib/block_scout_web/templates/layout/_topnav.html.eex:66 -#: lib/block_scout_web/templates/layout/_topnav.html.eex:66 -#: lib/block_scout_web/templates/layout/_topnav.html.eex:70 #: lib/block_scout_web/templates/layout/_topnav.html.eex:70 msgid "POA Core" msgstr "" #, elixir-format #: lib/block_scout_web/templates/layout/_topnav.html.eex:69 -#: lib/block_scout_web/templates/layout/_topnav.html.eex:69 msgid "POA Sokol" msgstr "" #, elixir-format #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:6 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:6 msgid "POST" msgstr "" #, elixir-format #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:20 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:20 msgid "Parameters" msgstr "" #, elixir-format #: lib/block_scout_web/templates/block/overview.html.eex:33 -#: lib/block_scout_web/templates/block/overview.html.eex:33 msgid "Parent Hash" msgstr "" #, elixir-format #: lib/block_scout_web/templates/pending_transaction/index.html.eex:16 -#: lib/block_scout_web/templates/pending_transaction/index.html.eex:16 -#: lib/block_scout_web/templates/pending_transaction/index.html.eex:27 #: lib/block_scout_web/templates/pending_transaction/index.html.eex:27 #: lib/block_scout_web/templates/pending_transaction/index.html.eex:35 -#: lib/block_scout_web/templates/pending_transaction/index.html.eex:35 -#: lib/block_scout_web/templates/transaction/index.html.eex:16 #: lib/block_scout_web/templates/transaction/index.html.eex:16 #: lib/block_scout_web/templates/transaction/index.html.eex:35 -#: lib/block_scout_web/templates/transaction/index.html.eex:35 #: lib/block_scout_web/templates/transaction/overview.html.eex:54 -#: lib/block_scout_web/templates/transaction/overview.html.eex:54 -#: lib/block_scout_web/views/transaction_view.ex:51 #: lib/block_scout_web/views/transaction_view.ex:51 #: lib/block_scout_web/views/transaction_view.ex:77 -#: lib/block_scout_web/views/transaction_view.ex:77 msgid "Pending" msgstr "" #, elixir-format #: lib/block_scout_web/templates/pending_transaction/index.html.eex:60 -#: lib/block_scout_web/templates/pending_transaction/index.html.eex:60 msgid "Pending Transactions" msgstr "" #, elixir-format #: lib/block_scout_web/templates/chain/show.html.eex:10 -#: lib/block_scout_web/templates/chain/show.html.eex:10 -#: lib/block_scout_web/templates/layout/app.html.eex:35 #: lib/block_scout_web/templates/layout/app.html.eex:35 msgid "Price" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address/overview.html.eex:13 -#: lib/block_scout_web/templates/address/overview.html.eex:13 #: lib/block_scout_web/templates/address/overview.html.eex:72 -#: lib/block_scout_web/templates/address/overview.html.eex:72 -#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:13 -#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:13 #: lib/block_scout_web/templates/tokens/overview/_details.html.eex:13 #: lib/block_scout_web/templates/tokens/overview/_details.html.eex:13 #: lib/block_scout_web/templates/tokens/overview/_details.html.eex:81 -#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:81 msgid "QR Code" msgstr "" #, elixir-format #: lib/block_scout_web/templates/smart_contract/_functions.html.eex:22 -#: lib/block_scout_web/templates/smart_contract/_functions.html.eex:22 msgid "Query" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_contract/index.html.eex:56 -#: lib/block_scout_web/templates/address_contract/index.html.eex:56 #: lib/block_scout_web/templates/address_contract/index.html.eex:110 -#: lib/block_scout_web/templates/address_contract/index.html.eex:110 -#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:59 #: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:59 #: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:109 -#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:109 #: lib/block_scout_web/templates/address_read_contract/index.html.eex:55 -#: lib/block_scout_web/templates/address_read_contract/index.html.eex:55 -#: lib/block_scout_web/templates/address_read_contract/index.html.eex:66 #: lib/block_scout_web/templates/address_read_contract/index.html.eex:66 #: lib/block_scout_web/templates/address_read_contract/index.html.eex:95 -#: lib/block_scout_web/templates/address_read_contract/index.html.eex:95 #: lib/block_scout_web/templates/address_token/index.html.eex:57 -#: lib/block_scout_web/templates/address_token/index.html.eex:57 -#: lib/block_scout_web/templates/address_token/index.html.eex:65 #: lib/block_scout_web/templates/address_token/index.html.eex:65 #: lib/block_scout_web/templates/address_token/index.html.eex:116 -#: lib/block_scout_web/templates/address_token/index.html.eex:116 #: lib/block_scout_web/templates/address_token_transfer/index.html.eex:51 -#: lib/block_scout_web/templates/address_token_transfer/index.html.eex:51 -#: lib/block_scout_web/templates/address_token_transfer/index.html.eex:59 #: lib/block_scout_web/templates/address_token_transfer/index.html.eex:59 #: lib/block_scout_web/templates/address_token_transfer/index.html.eex:100 -#: lib/block_scout_web/templates/address_token_transfer/index.html.eex:100 #: lib/block_scout_web/templates/address_transaction/index.html.eex:60 -#: lib/block_scout_web/templates/address_transaction/index.html.eex:60 -#: lib/block_scout_web/templates/address_transaction/index.html.eex:110 #: lib/block_scout_web/templates/address_transaction/index.html.eex:110 #: lib/block_scout_web/templates/address_validation/index.html.eex:53 -#: lib/block_scout_web/templates/address_validation/index.html.eex:53 -#: lib/block_scout_web/templates/tokens/overview/_tabs.html.eex:33 #: lib/block_scout_web/templates/tokens/overview/_tabs.html.eex:33 #: lib/block_scout_web/templates/tokens/overview/_tabs.html.eex:75 -#: lib/block_scout_web/templates/tokens/overview/_tabs.html.eex:75 -#: lib/block_scout_web/views/tokens/overview_view.ex:35 #: lib/block_scout_web/views/tokens/overview_view.ex:35 msgid "Read Contract" msgstr "" #, elixir-format #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:113 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:113 msgid "Request URL" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_contract_verification/new.html.eex:60 -#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:60 msgid "Reset" msgstr "" #, elixir-format #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:129 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:129 msgid "Response Body" msgstr "" #, elixir-format #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:102 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:102 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:139 #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:139 msgid "Responses" msgstr "" #, elixir-format #: lib/block_scout_web/templates/layout/_topnav.html.eex:46 -#: lib/block_scout_web/templates/layout/_topnav.html.eex:46 -#: lib/block_scout_web/templates/layout/_topnav.html.eex:53 #: lib/block_scout_web/templates/layout/_topnav.html.eex:53 msgid "Search" msgstr "" #, elixir-format #: lib/block_scout_web/templates/layout/_topnav.html.eex:46 -#: lib/block_scout_web/templates/layout/_topnav.html.eex:46 msgid "Search by address, transaction hash, or block number" msgstr "" #, elixir-format #: #: lib/block_scout_web/templates/address_token_balance/_token_balances.html.eex:26 -#: lib/block_scout_web/templates/address_token_balance/_token_balances.html.eex:26 msgid "Search tokens" msgstr "" #, elixir-format #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:120 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:120 msgid "Server Response" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address/overview.html.eex:13 -#: lib/block_scout_web/templates/address/overview.html.eex:13 msgid "Show QR Code" msgstr "" #, elixir-format #: lib/block_scout_web/templates/pending_transaction/index.html.eex:58 -#: lib/block_scout_web/templates/pending_transaction/index.html.eex:58 -#: lib/block_scout_web/templates/transaction/index.html.eex:58 #: lib/block_scout_web/templates/transaction/index.html.eex:58 msgid "Showing" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address/index.html.eex:6 -#: lib/block_scout_web/templates/address/index.html.eex:6 msgid "Showing 250 addresses of" msgstr "" #, elixir-format #: lib/block_scout_web/views/transaction_view.ex:53 -#: lib/block_scout_web/views/transaction_view.ex:53 msgid "Success" msgstr "" #, elixir-format #: lib/block_scout_web/templates/transaction/_pending_tile.html.eex:20 -#: lib/block_scout_web/templates/transaction/_pending_tile.html.eex:20 #: lib/block_scout_web/templates/transaction/_tile.html.eex:23 -#: lib/block_scout_web/templates/transaction/_tile.html.eex:23 -#: lib/block_scout_web/templates/transaction/overview.html.eex:71 #: lib/block_scout_web/templates/transaction/overview.html.eex:71 msgid "TX Fee" msgstr "" #, elixir-format #: lib/block_scout_web/templates/layout/_footer.html.eex:10 -#: lib/block_scout_web/templates/layout/_footer.html.eex:10 msgid "Telegram" msgstr "" #, elixir-format #: lib/block_scout_web/templates/tokens/holder/index.html.eex:28 -#: lib/block_scout_web/templates/tokens/holder/index.html.eex:28 msgid "There are no holders for this Token." msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:172 -#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:172 msgid "There are no internal transactions for this address." msgstr "" #, elixir-format #: #: lib/block_scout_web/templates/transaction_internal_transaction/index.html.eex:17 -#: lib/block_scout_web/templates/transaction_internal_transaction/index.html.eex:17 msgid "There are no internal transactions for this transaction." msgstr "" #, elixir-format #: lib/block_scout_web/templates/transaction_log/index.html.eex:68 -#: lib/block_scout_web/templates/transaction_log/index.html.eex:68 msgid "There are no logs for this transaction." msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_token_transfer/index.html.eex:128 -#: lib/block_scout_web/templates/address_token_transfer/index.html.eex:128 msgid "There are no token transfers for this address." msgstr "" #, elixir-format #: lib/block_scout_web/templates/transaction_token_transfer/index.html.eex:17 -#: 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:133 -#: lib/block_scout_web/templates/address_token/index.html.eex:133 msgid "There are no tokens for this address." msgstr "" #, elixir-format #: lib/block_scout_web/templates/tokens/inventory/index.html.eex:27 -#: lib/block_scout_web/templates/tokens/inventory/index.html.eex:27 msgid "There are no tokens." msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_transaction/index.html.eex:175 -#: lib/block_scout_web/templates/address_transaction/index.html.eex:175 -#: lib/block_scout_web/templates/block_transaction/index.html.eex:44 #: lib/block_scout_web/templates/block_transaction/index.html.eex:44 msgid "There are no transactions for this address." msgstr "" #, elixir-format #: lib/block_scout_web/templates/tokens/transfer/index.html.eex:27 -#: lib/block_scout_web/templates/tokens/transfer/index.html.eex:27 msgid "There are no transfers for this Token." msgstr "" #, elixir-format #: lib/block_scout_web/templates/api_docs/index.html.eex:7 -#: lib/block_scout_web/templates/api_docs/index.html.eex:7 msgid "This API is provided for developers transitioning their applications from Etherscan to Explorer. It supports GET and POST requests." msgstr "" #, elixir-format #: lib/block_scout_web/templates/transaction/overview.html.eex:23 -#: lib/block_scout_web/templates/transaction/overview.html.eex:23 msgid "This transaction is pending confirmation." msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:140 -#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:140 -#: lib/block_scout_web/templates/address_transaction/index.html.eex:143 #: lib/block_scout_web/templates/address_transaction/index.html.eex:143 -#: lib/block_scout_web/views/address_internal_transaction_view.ex:11 -#: lib/block_scout_web/views/address_internal_transaction_view.ex:11 -#: lib/block_scout_web/views/address_transaction_view.ex:11 -#: lib/block_scout_web/views/address_transaction_view.ex:11 +#: lib/block_scout_web/views/address_internal_transaction_view.ex:9 +#: lib/block_scout_web/views/address_transaction_view.ex:9 msgid "To" msgstr "" #, elixir-format #: lib/block_scout_web/templates/layout/_topnav.html.eex:6 -#: lib/block_scout_web/templates/layout/_topnav.html.eex:6 msgid "Toggle navigation" msgstr "" #, elixir-format #: lib/block_scout_web/templates/tokens/overview/_details.html.eex:22 -#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:22 msgid "Token Details" msgstr "" #, elixir-format #: lib/block_scout_web/templates/tokens/holder/index.html.eex:19 -#: lib/block_scout_web/templates/tokens/holder/index.html.eex:19 -#: lib/block_scout_web/templates/tokens/overview/_tabs.html.eex:13 #: lib/block_scout_web/templates/tokens/overview/_tabs.html.eex:13 #: lib/block_scout_web/templates/tokens/overview/_tabs.html.eex:60 -#: lib/block_scout_web/templates/tokens/overview/_tabs.html.eex:60 -#: lib/block_scout_web/views/tokens/overview_view.ex:34 #: lib/block_scout_web/views/tokens/overview_view.ex:34 msgid "Token Holders" msgstr "" #, elixir-format #: lib/block_scout_web/templates/tokens/inventory/_token.html.eex:11 -#: 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:4 -#: lib/block_scout_web/templates/tokens/transfer/_token_transfer.html.eex:4 -#: lib/block_scout_web/templates/transaction_token_transfer/_token_transfer.html.eex:4 #: lib/block_scout_web/templates/transaction_token_transfer/_token_transfer.html.eex:4 #: lib/block_scout_web/views/transaction_view.ex:119 -#: lib/block_scout_web/views/transaction_view.ex:119 msgid "Token Transfer" msgstr "" #, elixir-format #: lib/block_scout_web/templates/tokens/overview/_tabs.html.eex:5 -#: lib/block_scout_web/templates/tokens/overview/_tabs.html.eex:5 -#: lib/block_scout_web/templates/tokens/overview/_tabs.html.eex:54 #: lib/block_scout_web/templates/tokens/overview/_tabs.html.eex:54 #: lib/block_scout_web/templates/tokens/transfer/index.html.eex:18 -#: lib/block_scout_web/templates/tokens/transfer/index.html.eex:18 -#: lib/block_scout_web/templates/transaction/_tabs.html.eex:6 #: lib/block_scout_web/templates/transaction/_tabs.html.eex:6 #: lib/block_scout_web/templates/transaction/_tabs.html.eex:36 -#: lib/block_scout_web/templates/transaction/_tabs.html.eex:36 #: lib/block_scout_web/templates/transaction_token_transfer/index.html.eex:10 -#: lib/block_scout_web/templates/transaction_token_transfer/index.html.eex:10 -#: lib/block_scout_web/views/tokens/overview_view.ex:33 #: lib/block_scout_web/views/tokens/overview_view.ex:33 #: lib/block_scout_web/views/transaction_view.ex:169 -#: lib/block_scout_web/views/transaction_view.ex:169 msgid "Token Transfers" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_contract/index.html.eex:19 -#: lib/block_scout_web/templates/address_contract/index.html.eex:19 -#: lib/block_scout_web/templates/address_contract/index.html.eex:81 #: lib/block_scout_web/templates/address_contract/index.html.eex:81 #: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:20 -#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:20 #: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:79 -#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:79 -#: lib/block_scout_web/templates/address_read_contract/index.html.eex:19 #: lib/block_scout_web/templates/address_read_contract/index.html.eex:19 #: lib/block_scout_web/templates/address_read_contract/index.html.eex:75 -#: lib/block_scout_web/templates/address_read_contract/index.html.eex:75 #: lib/block_scout_web/templates/address_token/index.html.eex:18 -#: lib/block_scout_web/templates/address_token/index.html.eex:18 -#: lib/block_scout_web/templates/address_token/index.html.eex:76 #: lib/block_scout_web/templates/address_token/index.html.eex:76 #: lib/block_scout_web/templates/address_token/index.html.eex:85 -#: lib/block_scout_web/templates/address_token/index.html.eex:85 #: lib/block_scout_web/templates/address_token/index.html.eex:126 -#: lib/block_scout_web/templates/address_token/index.html.eex:126 -#: lib/block_scout_web/templates/address_token_transfer/index.html.eex:19 #: lib/block_scout_web/templates/address_token_transfer/index.html.eex:19 #: lib/block_scout_web/templates/address_token_transfer/index.html.eex:70 -#: lib/block_scout_web/templates/address_token_transfer/index.html.eex:70 #: lib/block_scout_web/templates/address_token_transfer/index.html.eex:79 -#: lib/block_scout_web/templates/address_token_transfer/index.html.eex:79 -#: lib/block_scout_web/templates/address_token_transfer/index.html.eex:112 #: lib/block_scout_web/templates/address_token_transfer/index.html.eex:112 #: lib/block_scout_web/templates/address_transaction/index.html.eex:20 -#: lib/block_scout_web/templates/address_transaction/index.html.eex:20 -#: lib/block_scout_web/templates/address_transaction/index.html.eex:79 #: lib/block_scout_web/templates/address_transaction/index.html.eex:79 #: lib/block_scout_web/templates/address_validation/index.html.eex:18 -#: lib/block_scout_web/templates/address_validation/index.html.eex:18 -#: lib/block_scout_web/templates/address_validation/index.html.eex:62 #: lib/block_scout_web/templates/address_validation/index.html.eex:62 #: lib/block_scout_web/templates/address_validation/index.html.eex:70 -#: lib/block_scout_web/templates/address_validation/index.html.eex:70 msgid "Tokens" msgstr "" #, elixir-format #: lib/block_scout_web/templates/transaction_log/index.html.eex:26 -#: lib/block_scout_web/templates/transaction_log/index.html.eex:26 msgid "Topics" msgstr "" #, elixir-format #: lib/block_scout_web/templates/block/overview.html.eex:53 -#: lib/block_scout_web/templates/block/overview.html.eex:53 msgid "Total Difficulty" msgstr "" #, elixir-format #: lib/block_scout_web/templates/tokens/overview/_details.html.eex:54 -#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:54 msgid "Total Supply" msgstr "" #, elixir-format #: lib/block_scout_web/templates/chain/show.html.eex:34 -#: lib/block_scout_web/templates/chain/show.html.eex:34 msgid "Total transactions" msgstr "" #, elixir-format #: lib/block_scout_web/views/transaction_view.ex:122 -#: lib/block_scout_web/views/transaction_view.ex:122 msgid "Transaction" msgstr "" #, elixir-format #: lib/block_scout_web/templates/transaction/overview.html.eex:15 -#: lib/block_scout_web/templates/transaction/overview.html.eex:15 msgid "Transaction Details" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address/index.html.eex:28 -#: lib/block_scout_web/templates/address/index.html.eex:28 -#: lib/block_scout_web/templates/address/overview.html.eex:27 #: lib/block_scout_web/templates/address/overview.html.eex:27 #: lib/block_scout_web/templates/address_contract/index.html.eex:12 -#: lib/block_scout_web/templates/address_contract/index.html.eex:12 #: lib/block_scout_web/templates/address_contract/index.html.eex:76 -#: lib/block_scout_web/templates/address_contract/index.html.eex:76 -#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:13 #: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:13 #: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:74 -#: lib/block_scout_web/templates/address_internal_transaction/index.html.eex:74 #: lib/block_scout_web/templates/address_read_contract/index.html.eex:12 -#: lib/block_scout_web/templates/address_read_contract/index.html.eex:12 -#: lib/block_scout_web/templates/address_read_contract/index.html.eex:70 #: lib/block_scout_web/templates/address_read_contract/index.html.eex:70 #: lib/block_scout_web/templates/address_token/index.html.eex:11 -#: lib/block_scout_web/templates/address_token/index.html.eex:11 #: lib/block_scout_web/templates/address_token/index.html.eex:80 -#: lib/block_scout_web/templates/address_token/index.html.eex:80 -#: lib/block_scout_web/templates/address_token_transfer/index.html.eex:11 #: lib/block_scout_web/templates/address_token_transfer/index.html.eex:11 #: lib/block_scout_web/templates/address_token_transfer/index.html.eex:74 -#: lib/block_scout_web/templates/address_token_transfer/index.html.eex:74 #: lib/block_scout_web/templates/address_transaction/index.html.eex:13 -#: lib/block_scout_web/templates/address_transaction/index.html.eex:13 -#: lib/block_scout_web/templates/address_transaction/index.html.eex:71 #: lib/block_scout_web/templates/address_transaction/index.html.eex:71 #: lib/block_scout_web/templates/address_transaction/index.html.eex:74 -#: lib/block_scout_web/templates/address_transaction/index.html.eex:74 -#: lib/block_scout_web/templates/address_transaction/index.html.eex:167 #: lib/block_scout_web/templates/address_transaction/index.html.eex:167 #: lib/block_scout_web/templates/address_validation/index.html.eex:11 -#: lib/block_scout_web/templates/address_validation/index.html.eex:11 -#: lib/block_scout_web/templates/address_validation/index.html.eex:65 #: lib/block_scout_web/templates/address_validation/index.html.eex:65 #: lib/block_scout_web/templates/block_transaction/index.html.eex:13 -#: lib/block_scout_web/templates/block_transaction/index.html.eex:13 #: lib/block_scout_web/templates/block_transaction/index.html.eex:23 -#: lib/block_scout_web/templates/block_transaction/index.html.eex:23 -#: lib/block_scout_web/templates/block_transaction/index.html.eex:26 #: lib/block_scout_web/templates/block_transaction/index.html.eex:26 #: lib/block_scout_web/templates/block_transaction/index.html.eex:36 -#: lib/block_scout_web/templates/block_transaction/index.html.eex:36 #: lib/block_scout_web/templates/chain/show.html.eex:73 -#: lib/block_scout_web/templates/chain/show.html.eex:73 -#: lib/block_scout_web/templates/layout/_topnav.html.eex:24 #: lib/block_scout_web/templates/layout/_topnav.html.eex:24 #: lib/block_scout_web/templates/pending_transaction/index.html.eex:56 -#: lib/block_scout_web/templates/pending_transaction/index.html.eex:56 -#: lib/block_scout_web/templates/transaction/index.html.eex:56 #: lib/block_scout_web/templates/transaction/index.html.eex:56 msgid "Transactions" msgstr "" #, elixir-format #: lib/block_scout_web/templates/tokens/overview/_details.html.eex:40 -#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:40 msgid "Transfers" msgstr "" #, elixir-format #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:21 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:21 msgid "Try it out" msgstr "" #, elixir-format #: lib/block_scout_web/templates/layout/_footer.html.eex:7 -#: lib/block_scout_web/templates/layout/_footer.html.eex:7 msgid "Twitter" msgstr "" #, elixir-format #: lib/block_scout_web/templates/tokens/inventory/_token.html.eex:6 -#: lib/block_scout_web/templates/tokens/inventory/_token.html.eex:6 msgid "Unique Token" msgstr "" #, elixir-format #: lib/block_scout_web/templates/transaction/overview.html.eex:116 -#: lib/block_scout_web/templates/transaction/overview.html.eex:116 msgid "Used" msgstr "" #, elixir-format #: lib/block_scout_web/templates/pending_transaction/index.html.eex:9 -#: lib/block_scout_web/templates/pending_transaction/index.html.eex:9 -#: lib/block_scout_web/templates/pending_transaction/index.html.eex:30 #: lib/block_scout_web/templates/pending_transaction/index.html.eex:30 #: lib/block_scout_web/templates/transaction/index.html.eex:9 -#: lib/block_scout_web/templates/transaction/index.html.eex:9 #: lib/block_scout_web/templates/transaction/index.html.eex:27 -#: lib/block_scout_web/templates/transaction/index.html.eex:27 -#: lib/block_scout_web/templates/transaction/index.html.eex:30 #: lib/block_scout_web/templates/transaction/index.html.eex:30 msgid "Validated" msgstr "" #, elixir-format #: lib/block_scout_web/templates/transaction/index.html.eex:60 -#: lib/block_scout_web/templates/transaction/index.html.eex:60 msgid "Validated Transactions" msgstr "" #, elixir-format #: lib/block_scout_web/templates/transaction/overview.html.eex:98 -#: lib/block_scout_web/templates/transaction/overview.html.eex:98 msgid "Value" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_contract/index.html.eex:122 -#: lib/block_scout_web/templates/address_contract/index.html.eex:122 msgid "Verify & Publish" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_contract_verification/new.html.eex:59 -#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:59 msgid "Verify & publish" msgstr "" #, elixir-format #: lib/block_scout_web/templates/chain/show.html.eex:55 -#: lib/block_scout_web/templates/chain/show.html.eex:55 msgid "View All Blocks →" msgstr "" #, elixir-format #: lib/block_scout_web/templates/chain/show.html.eex:72 -#: lib/block_scout_web/templates/chain/show.html.eex:72 msgid "View All Transactions →" msgstr "" #, elixir-format #: lib/block_scout_web/templates/tokens/overview/_details.html.eex:34 -#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:34 msgid "View Contract" msgstr "" #, elixir-format #: lib/block_scout_web/templates/transaction/_tile.html.eex:64 -#: lib/block_scout_web/templates/transaction/_tile.html.eex:64 msgid "View Less Transfers" msgstr "" #, elixir-format #: lib/block_scout_web/templates/transaction/_tile.html.eex:63 -#: lib/block_scout_web/templates/transaction/_tile.html.eex:63 msgid "View More Transfers" msgstr "" #, elixir-format #: lib/block_scout_web/templates/smart_contract/_functions.html.eex:49 -#: 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:42 -#: lib/block_scout_web/templates/chain/show.html.eex:42 msgid "Wallet addresses" msgstr "" #, elixir-format #: lib/block_scout_web/views/wei_helpers.ex:70 -#: lib/block_scout_web/views/wei_helpers.ex:70 msgid "Wei" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_contract_verification/new.html.eex:39 -#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:39 msgid "Yes" msgstr "" #, elixir-format #: lib/block_scout_web/templates/tokens/overview/_details.html.eex:39 -#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:39 msgid "addresses" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address/overview.html.eex:48 -#: lib/block_scout_web/templates/address/overview.html.eex:48 msgid "at" msgstr "" #, elixir-format #: lib/block_scout_web/templates/tokens/overview/_details.html.eex:42 -#: lib/block_scout_web/templates/tokens/overview/_details.html.eex:42 msgid "decimals" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_read_contract/index.html.eex:105 -#: lib/block_scout_web/templates/address_read_contract/index.html.eex:105 -#: lib/block_scout_web/templates/tokens/read_contract/index.html.eex:19 #: lib/block_scout_web/templates/tokens/read_contract/index.html.eex:19 msgid "loading..." msgstr "" #, elixir-format #: lib/block_scout_web/templates/address_contract_verification/new.html.eex:57 -#: lib/block_scout_web/templates/address_contract_verification/new.html.eex:57 msgid "loading....." msgstr "" #, elixir-format #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:35 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:35 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:50 #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:50 #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:65 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:65 msgid "required" msgstr "" #, elixir-format #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:38 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:38 -#: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:53 #: lib/block_scout_web/templates/api_docs/_action_tile.html.eex:53 msgid "string" msgstr "" #, elixir-format #: lib/block_scout_web/templates/address/index.html.eex:8 -#: lib/block_scout_web/templates/address/index.html.eex:8 msgid "total addresses with a balance" msgstr "" diff --git a/apps/explorer/lib/explorer/chain.ex b/apps/explorer/lib/explorer/chain.ex index a898e19d02..4c7914a7ff 100644 --- a/apps/explorer/lib/explorer/chain.ex +++ b/apps/explorer/lib/explorer/chain.ex @@ -826,7 +826,6 @@ defmodule Explorer.Chain do end @doc """ -<<<<<<< HEAD Lists the top 250 `t:Explorer.Chain.Address.t/0`'s' in descending order based on coin balance. """ @@ -840,8 +839,6 @@ defmodule Explorer.Chain do end @doc """ -======= ->>>>>>> Fix queries. Finds all Blocks validated by the address given. ## Options @@ -1925,4 +1922,3 @@ defmodule Explorer.Chain do |> Repo.all() end end - diff --git a/apps/explorer/test/explorer/chain_test.exs b/apps/explorer/test/explorer/chain_test.exs index 4352932370..69d99c71fa 100644 --- a/apps/explorer/test/explorer/chain_test.exs +++ b/apps/explorer/test/explorer/chain_test.exs @@ -1034,78 +1034,64 @@ defmodule Explorer.ChainTest do end describe "get_blocks_validated_by_address/2" do - test "without blocks" do + test "returns nothing when there are no blocks" do address = insert(:address) - assert [] = Chain.get_blocks_validated_by_address([], address) + assert [] = Chain.get_blocks_validated_by_address(address) end - - test "with blocks" do - address = insert(:address) - address2 = insert(:address) - %Block{hash: hash, miner_hash: miner_hash} = - insert(:block, miner: address, miner_hash: adress.hash) + test "returns the blocks validated by a specified address" do + address = insert(:address) + another_address = insert(:address) - %Block{hash: hash, miner_hash: miner_hash} = - insert(:block, miner: address2, miner_hash: adress2.hash) + block = insert(:block, miner: address, miner_hash: address.hash) + insert(:block, miner: another_address, miner_hash: another_address.hash) - assert [%Block{hash: ^hash, miner: ^address, miner_hash: ^address.hash}] == - Chain.get_blocks_validated_by_address([], address) + results = + address + |> Chain.get_blocks_validated_by_address() + |> Enum.map(& &1.hash) - assert [%Block{hash: ^hash, miner: ^address, miner_hash: ^address.hash}] == - Chain.get_blocks_validated_by_address([], address2) + assert results == [block.hash] end test "with blocks can be paginated" do address = insert(:address) - address2 = insert(:address) - second_page_hashes = - 50 - |> insert_list(:block, miner: address, miner_hash: adress.hash) - |> Enum.map(& &1.hash) - - second_page_hashes2 = - 50 - |> insert_list(:block, miner: address2, miner_hash: adress.hash2) - |> Enum.map(& &1.hash) + first_page_block = insert(:block, miner: address, miner_hash: address.hash, number: 0) + second_page_block = insert(:block, miner: address, miner_hash: address.hash, number: 2) - assert second_page_hashes == - [paging_options: %PagingOptions{key: {inserted_at, hash}, page_size: 50}] - |> Chain.get_blocks_validated_by_address([], address) - |> Enum.map(& &1.hash) - |> Enum.reverse() + assert [first_page_block.number] == + [paging_options: %PagingOptions{key: {1}, page_size: 1}] + |> Chain.get_blocks_validated_by_address(address) + |> Enum.map(& &1.number) + |> Enum.reverse() - assert second_page_hashes2 == - [paging_options: %PagingOptions{key: {inserted_at, hash}, page_size: 50}] - |> Chain.get_blocks_validated_by_address([], address2) - |> Enum.map(& &1.hash) - |> Enum.reverse() + assert [second_page_block.number] == + [paging_options: %PagingOptions{key: {3}, page_size: 1}] + |> Chain.get_blocks_validated_by_address(address) + |> Enum.map(& &1.number) + |> Enum.reverse() end end describe "address_to_validation_count/1" do - test "without blocks" do + test "returns 0 when there aren't any blocks" do address = insert(:address) assert 0 = Chain.address_to_validation_count(address) end - test "with blocks" do + test "returns the number of blocks mined by addres" do address = insert(:address) - address2 = insert(:address) - - %Block{hash: hash, miner_hash: miner_hash} = - insert(:block, miner: address, miner_hash: adress.hash) + another_address = insert(:address) - %Block{hash: hash, miner_hash: miner_hash} = - insert(:block, miner: address2, miner_hash: adress2.hash) - %Block{hash: hash, miner_hash: miner_hash} = - insert(:block, miner: address2, miner_hash: adress2.hash) + insert(:block, miner: address, miner_hash: address.hash) + insert(:block, miner: another_address, miner_hash: another_address.hash) + insert(:block, miner: another_address, miner_hash: another_address.hash) assert 1 = Chain.address_to_validation_count(address) - assert 2 = Chain.address_to_validation_count(address) + assert 2 = Chain.address_to_validation_count(another_address) end end