{{define "specific"}}{{$addr := .Address}}{{$data := .}}

{{if $addr.ContractInfo}}Contract {{$addr.ContractInfo.Name}}{{if $addr.ContractInfo.Symbol}} ({{$addr.ContractInfo.Symbol}}){{end}}{{else}}Address{{end}}

{{$addr.AddrStr}}

{{amountSpan $addr.BalanceSat $data "copyable"}}

{{if eq .ChainType 1}} {{if $addr.ContractInfo}} {{if $addr.ContractInfo.Type}} {{end}} {{if $addr.ContractInfo.CreatedInBlock}} {{end}} {{if $addr.ContractInfo.DestructedInBlock}} {{end}} {{end}} {{if tokenCount $addr.Tokens "ERC20"}} {{end}} {{if tokenCount $addr.Tokens "ERC721"}} {{end}} {{if tokenCount $addr.Tokens "ERC1155"}} {{end}} {{else}} {{end}}
Confirmed
Contract type {{$addr.ContractInfo.Type}}
Created in Block {{$addr.ContractInfo.CreatedInBlock}}
Destructed in Block {{$addr.ContractInfo.DestructedInBlock}}
Balance {{amountSpan $addr.BalanceSat $data "copyable"}}
Transactions {{$addr.Txs}}
Non-contract Transactions {{$addr.NonTokenTxs}}
Internal Transactions {{$addr.InternalTxs}}
Nonce {{$addr.Nonce}}
ERC20 Tokens {{range $t := $addr.Tokens}} {{if eq $t.Type "ERC20"}} {{end}} {{end}}
Contract Tokens Transfers
{{if $t.Name}}{{$t.Name}}{{else}}{{$t.Contract}}{{end}} {{formatAmountWithDecimals $t.BalanceSat $t.Decimals}} {{$t.Symbol}} {{$t.Transfers}}
ERC721 Tokens {{range $t := $addr.Tokens}} {{if eq $t.Type "ERC721"}} {{end}} {{end}}
Contract Tokens Transfers
{{if $t.Name}}{{$t.Name}}{{else}}{{$t.Contract}}{{end}} {{range $i, $iv := $t.Ids}}{{if $i}}, {{end}}{{formatAmountWithDecimals $iv 0}}{{end}} {{$t.Transfers}}
ERC1155 Tokens {{range $t := $addr.Tokens}} {{if eq $t.Type "ERC1155"}} {{end}} {{end}}
Contract Tokens Transfers
{{if $t.Name}}{{$t.Name}}{{else}}{{$t.Contract}}{{end}} {{range $i, $iv := $t.MultiTokenValues}}{{if $i}}, {{end}}{{$iv.Value}} of ID {{$iv.Id}}{{end}} {{$t.Transfers}}
Total Received {{amountSpan $addr.TotalReceivedSat $data "copyable"}}
Total Sent {{amountSpan $addr.TotalSentSat $data "copyable"}}
Final Balance {{amountSpan $addr.BalanceSat $data "copyable"}}
No. Transactions {{formatInt $addr.Txs}}
{{if $addr.UnconfirmedTxs}}
Unconfirmed
Unconfirmed Balance {{amountSpan $addr.UnconfirmedBalanceSat $data "copyable"}}
No. Transactions {{formatInt $addr.UnconfirmedTxs}}
{{end}} {{if or $addr.Transactions $addr.Filter}}

Transactions

{{template "paging" $data}}
{{range $tx := $addr.Transactions}}{{$data := setTxToTemplateData $data $tx}}{{template "txdetail" $data}}{{end}}
{{template "paging" $data }} {{end}}{{end}}