diff --git a/apps/block_scout_web/lib/block_scout_web/controllers/tokens/holder_controller.ex b/apps/block_scout_web/lib/block_scout_web/controllers/tokens/holder_controller.ex index 553efef03e..8780a71375 100644 --- a/apps/block_scout_web/lib/block_scout_web/controllers/tokens/holder_controller.ex +++ b/apps/block_scout_web/lib/block_scout_web/controllers/tokens/holder_controller.ex @@ -57,7 +57,8 @@ defmodule BlockScoutWeb.Tokens.HolderController do current_path: current_path(conn), token: Market.add_price(token), total_token_holders: total_token_holders, - total_token_transfers: total_token_transfers + total_token_transfers: total_token_transfers, + counters_path: token_path(conn, :token_counters, %{"id" => to_string(address_hash)}) ) else :error -> diff --git a/apps/block_scout_web/lib/block_scout_web/controllers/tokens/inventory_controller.ex b/apps/block_scout_web/lib/block_scout_web/controllers/tokens/inventory_controller.ex index 622dc35946..f9e733bc40 100644 --- a/apps/block_scout_web/lib/block_scout_web/controllers/tokens/inventory_controller.ex +++ b/apps/block_scout_web/lib/block_scout_web/controllers/tokens/inventory_controller.ex @@ -75,7 +75,8 @@ defmodule BlockScoutWeb.Tokens.InventoryController do current_path: current_path(conn), token: Market.add_price(token), total_token_transfers: total_token_transfers, - total_token_holders: total_token_holders + total_token_holders: total_token_holders, + counters_path: token_path(conn, :token_counters, %{"id" => to_string(address_hash)}) ) else :error -> diff --git a/apps/block_scout_web/lib/block_scout_web/controllers/tokens/read_contract_controller.ex b/apps/block_scout_web/lib/block_scout_web/controllers/tokens/read_contract_controller.ex index 2f0c8773a4..23242d8c70 100644 --- a/apps/block_scout_web/lib/block_scout_web/controllers/tokens/read_contract_controller.ex +++ b/apps/block_scout_web/lib/block_scout_web/controllers/tokens/read_contract_controller.ex @@ -17,7 +17,8 @@ defmodule BlockScoutWeb.Tokens.ReadContractController do "index.html", token: Market.add_price(token), total_token_transfers: total_token_transfers, - total_token_holders: total_token_holders + total_token_holders: total_token_holders, + counters_path: token_path(conn, :token_counters, %{"id" => to_string(address_hash)}) ) else :error -> diff --git a/apps/block_scout_web/lib/block_scout_web/controllers/tokens/transfer_controller.ex b/apps/block_scout_web/lib/block_scout_web/controllers/tokens/transfer_controller.ex index d7bd40cfab..ce67fcf4c7 100644 --- a/apps/block_scout_web/lib/block_scout_web/controllers/tokens/transfer_controller.ex +++ b/apps/block_scout_web/lib/block_scout_web/controllers/tokens/transfer_controller.ex @@ -54,6 +54,7 @@ defmodule BlockScoutWeb.Tokens.TransferController do render( conn, "index.html", + counters_path: token_path(conn, :token_counters, %{"id" => to_string(address_hash)}), current_path: current_path(conn), token: Market.add_price(token), total_token_transfers: total_token_transfers, diff --git a/apps/block_scout_web/lib/block_scout_web/templates/tokens/holder/index.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/tokens/holder/index.html.eex index 8e83021c80..55565e3531 100644 --- a/apps/block_scout_web/lib/block_scout_web/templates/tokens/holder/index.html.eex +++ b/apps/block_scout_web/lib/block_scout_web/templates/tokens/holder/index.html.eex @@ -5,6 +5,7 @@ token: @token, total_token_transfers: @total_token_transfers, total_token_holders: @total_token_holders, + counters_path: @counters_path, conn: @conn ) %> diff --git a/apps/block_scout_web/lib/block_scout_web/templates/tokens/inventory/index.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/tokens/inventory/index.html.eex index 1e78b11353..c82131b7ac 100644 --- a/apps/block_scout_web/lib/block_scout_web/templates/tokens/inventory/index.html.eex +++ b/apps/block_scout_web/lib/block_scout_web/templates/tokens/inventory/index.html.eex @@ -5,6 +5,7 @@ token: @token, total_token_transfers: @total_token_transfers, total_token_holders: @total_token_holders, + counters_path: @counters_path, conn: @conn ) %> diff --git a/apps/block_scout_web/lib/block_scout_web/templates/tokens/overview/_details.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/tokens/overview/_details.html.eex index 8f2928990a..28bf9686f7 100644 --- a/apps/block_scout_web/lib/block_scout_web/templates/tokens/overview/_details.html.eex +++ b/apps/block_scout_web/lib/block_scout_web/templates/tokens/overview/_details.html.eex @@ -2,7 +2,7 @@