|
|
@ -221,14 +221,7 @@ |
|
|
|
<div class="text-right"> |
|
|
|
<div class="text-right"> |
|
|
|
<%= for transfer <- token_transfers do %> |
|
|
|
<%= for transfer <- token_transfers do %> |
|
|
|
<h3 class="address-balance-text"> |
|
|
|
<h3 class="address-balance-text"> |
|
|
|
<%= case token_transfer_amount(transfer) do %> |
|
|
|
<%= render BlockScoutWeb.TransactionView, "_total_transfers.html", Map.put(assigns, :transfer, transfer) %> |
|
|
|
<% {:ok, :erc721_instance} -> %> |
|
|
|
|
|
|
|
<%= "TokenID ["%><%= link(transfer.token_id, to: token_instance_path(@conn, :show, transfer.token.contract_address_hash, to_string(transfer.token_id)), "data-test": "token_link") %><%= "]" %> |
|
|
|
|
|
|
|
<% {:ok, value} -> %> |
|
|
|
|
|
|
|
<%= value %> |
|
|
|
|
|
|
|
<% end %> |
|
|
|
|
|
|
|
<%= " "%> |
|
|
|
|
|
|
|
<%= link(token_symbol(transfer.token), to: token_path(BlockScoutWeb.Endpoint, :show, transfer.token.contract_address_hash), "data-test": "token_link") %> |
|
|
|
|
|
|
|
</h3> |
|
|
|
</h3> |
|
|
|
<% end %> |
|
|
|
<% end %> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -239,14 +232,7 @@ |
|
|
|
<div class="text-right"> |
|
|
|
<div class="text-right"> |
|
|
|
<%= for transfer <- mintings do %> |
|
|
|
<%= for transfer <- mintings do %> |
|
|
|
<h3 class="address-balance-text"> |
|
|
|
<h3 class="address-balance-text"> |
|
|
|
<%= case token_transfer_amount(transfer) do %> |
|
|
|
<%= render BlockScoutWeb.TransactionView, "_total_transfers.html", Map.put(assigns, :transfer, transfer) %> |
|
|
|
<% {:ok, :erc721_instance} -> %> |
|
|
|
|
|
|
|
<%= "TokenID ["%><%= link(transfer.token_id, to: token_instance_path(@conn, :show, transfer.token.contract_address_hash, to_string(transfer.token_id)), "data-test": "token_link") %><%= "]" %> |
|
|
|
|
|
|
|
<% {:ok, value} -> %> |
|
|
|
|
|
|
|
<%= value %> |
|
|
|
|
|
|
|
<% end %> |
|
|
|
|
|
|
|
<%= " "%> |
|
|
|
|
|
|
|
<%= link(token_symbol(transfer.token), to: token_path(BlockScoutWeb.Endpoint, :show, transfer.token.contract_address_hash), "data-test": "token_link") %> |
|
|
|
|
|
|
|
</h3> |
|
|
|
</h3> |
|
|
|
<% end %> |
|
|
|
<% end %> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -257,14 +243,7 @@ |
|
|
|
<div class="text-right"> |
|
|
|
<div class="text-right"> |
|
|
|
<%= for transfer <- burnings do %> |
|
|
|
<%= for transfer <- burnings do %> |
|
|
|
<h3 class="address-balance-text"> |
|
|
|
<h3 class="address-balance-text"> |
|
|
|
<%= case token_transfer_amount(transfer) do %> |
|
|
|
<%= render BlockScoutWeb.TransactionView, "_total_transfers.html", Map.put(assigns, :transfer, transfer) %> |
|
|
|
<% {:ok, :erc721_instance} -> %> |
|
|
|
|
|
|
|
<%= "TokenID ["%><%= link(transfer.token_id, to: token_instance_path(@conn, :show, transfer.token.contract_address_hash, to_string(transfer.token_id)), "data-test": "token_link") %><%= "]" %> |
|
|
|
|
|
|
|
<% {:ok, value} -> %> |
|
|
|
|
|
|
|
<%= value %> |
|
|
|
|
|
|
|
<% end %> |
|
|
|
|
|
|
|
<%= " "%> |
|
|
|
|
|
|
|
<%= link(token_symbol(transfer.token), to: token_path(BlockScoutWeb.Endpoint, :show, transfer.token.contract_address_hash), "data-test": "token_link") %> |
|
|
|
|
|
|
|
</h3> |
|
|
|
</h3> |
|
|
|
<% end %> |
|
|
|
<% end %> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|