From 5af08584abdbe44ee99fd031a62f4ef7ea3bae94 Mon Sep 17 00:00:00 2001 From: Martin Boehm Date: Thu, 6 Dec 2018 13:15:25 +0100 Subject: [PATCH] Show nonce in address detail in explorer --- static/templates/address.html | 30 ++++++++++++--------- static/templates/txdetail_ethereumtype.html | 4 +-- 2 files changed, 19 insertions(+), 15 deletions(-) diff --git a/static/templates/address.html b/static/templates/address.html index f06b0869..ddd0f874 100644 --- a/static/templates/address.html +++ b/static/templates/address.html @@ -19,6 +19,10 @@ Non-contract Transactions {{$addr.TxApperances}} + + Nonce + {{$addr.Nonce}} + {{- if $addr.Erc20Tokens -}} ERC20 Tokens @@ -90,19 +94,19 @@ {{- end}}{{if or $addr.Transactions $addr.Filter -}}
-

Transactions

-
- +

Transactions

+ +
diff --git a/static/templates/txdetail_ethereumtype.html b/static/templates/txdetail_ethereumtype.html index 203566d4..ec8f148e 100644 --- a/static/templates/txdetail_ethereumtype.html +++ b/static/templates/txdetail_ethereumtype.html @@ -1,5 +1,5 @@ {{define "txdetail"}}{{$cs := .CoinShortcut}}{{$addr := .AddrStr}}{{$tx := .Tx}} -
+
{{$tx.Txid}} @@ -70,7 +70,7 @@
{{- if $tx.Erc20Transfers -}} -
+
ERC20 Token Transfers
{{- range $erc20 := $tx.Erc20Transfers -}}