@@ -14,6 +14,7 @@ import BigNumber from 'bignumber.js';
14
14
import capitalize from 'lodash/capitalize' ;
15
15
import { useRouter } from 'next/router' ;
16
16
import React from 'react' ;
17
+ import { TbCoins } from 'react-icons/tb' ;
17
18
import { RotatingLines } from 'react-loader-spinner' ;
18
19
import { scroller , Element } from 'react-scroll' ;
19
20
@@ -954,132 +955,21 @@ const BlockDetails = ({ query }: Props) => {
954
955
< DetailsInfoItem . Label
955
956
hint = { `Amount of ${
956
957
config . chain . currency . symbol || 'native token'
957
- } burned from transactions included in the block.
958
- } burned from transactions included in the block.
959
- } burned from transactions included in the block.
960
- } burned from transactions included in the block.
961
- } burned from transactions included in the block.
962
- } burned from transactions included in the block.
963
- } burned from transactions included in the block.
964
- } burned from transactions included in the block.
965
- } burned from transactions included in the block.
966
- } burned from transactions included in the block.
967
- } burned from transactions included in the block.
968
- } burned from transactions included in the block.
969
- } burned from transactions included in the block.
970
- } burned from transactions included in the block.
971
- } burned from transactions included in the block.
972
- } burned from transactions included in the block.
973
- } burned from transactions included in the block.
974
- } burned from transactions included in the block.
975
- } burned from transactions included in the block.
976
- } burned from transactions included in the block.
977
- } burned from transactions included in the block.
978
- } burned from transactions included in the block.
979
- } burned from transactions included in the block.
980
- } burned from transactions included in the block.
981
- } burned from transactions included in the block.
982
- } burned from transactions included in the block.
983
- } burned from transactions included in the block.
984
- } burned from transactions included in the block.
985
- } burned from transactions included in the block.
986
- } burned from transactions included in the block.
987
- } burned from transactions included in the block.
988
- } burned from transactions included in the block.
989
- } burned from transactions included in the block.
990
- } burned from transactions included in the block.
991
- } burned from transactions included in the block.
992
- } burned from transactions included in the block.
993
- } burned from transactions included in the block.
994
- } burned from transactions included in the block.
995
- } burned from transactions included in the block.
996
- } burned from transactions included in the block.
997
- } burned from transactions included in the block.
998
- } burned from transactions included in the block.
999
- } burned from transactions included in the block.
1000
- } burned from transactions included in the block.
1001
- } burned from transactions included in the block.
1002
- } burned from transactions included in the block.
1003
- } burned from transactions included in the block.
1004
- } burned from transactions included in the block.
1005
- } burned from transactions included in the block.
1006
- } burned from transactions included in the block.
1007
- } burned from transactions included in the block.
1008
- } burned from transactions included in the block.
1009
- } burned from transactions included in the block.
1010
- } burned from transactions included in the block.
1011
- } burned from transactions included in the block.
1012
- } burned from transactions included in the block.
1013
- } burned from transactions included in the block.
1014
- } burned from transactions included in the block.
1015
- } burned from transactions included in the block.
1016
- } burned from transactions included in the block.
1017
- } burned from transactions included in the block.
1018
- } burned from transactions included in the block.
1019
- } burned from transactions included in the block.
1020
- } burned from transactions included in the block.
1021
- } burned from transactions included in the block.
1022
- } burned from transactions included in the block.
1023
- } burned from transactions included in the block.
1024
- } burned from transactions included in the block.
1025
- } burned from transactions included in the block.
1026
- } burned from transactions included in the block.
1027
- } burned from transactions included in the block.
1028
- } burned from transactions included in the block.
1029
- } burned from transactions included in the block.
1030
- } burned from transactions included in the block.
1031
- } burned from transactions included in the block.
1032
- } burned from transactions included in the block.
1033
- } burned from transactions included in the block.
1034
- } burned from transactions included in the block.
1035
- } burned from transactions included in the block.
1036
- } burned from transactions included in the block.
1037
- } burned from transactions included in the block.
1038
- } burned from transactions included in the block.
1039
- } burned from transactions included in the block.
1040
- } burned from transactions included in the block.
1041
- } burned from transactions included in the block.
1042
- } burned from transactions included in the block.
1043
- } burned from transactions included in the block.
1044
- } burned from transactions included in the block.
1045
- } burned from transactions included in the block.
1046
- } burned from transactions included in the block.
1047
- } burned from transactions included in the block.
1048
- } burned from transactions included in the block.
1049
- } burned from transactions included in the block.
1050
- } burned from transactions included in the block.
1051
- } burned from transactions included in the block.
1052
- } burned from transactions included in the block.
1053
- } burned from transactions included in the block.
1054
- } burned from transactions included in the block.
1055
- } burned from transactions included in the block.
1056
- } burned from transactions included in the block.
1057
- } burned from transactions included in the block.
1058
- } burned from transactions included in the block.
1059
- } burned from transactions included in the block.
1060
- } burned from transactions included in the block.
1061
- } burned from transactions included in the block.
1062
- } burned from transactions included in the block.
1063
- } burned from transactions included in the block.
1064
- } burned from transactions included in the block.
1065
- } burned from transactions included in the block.
958
+ } burned from transactions included in the block.
1066
959
Equals Block Base Fee per Gas * Gas Used` }
1067
960
isLoading = { isPlaceholderData }
1068
961
>
1069
- Burnt fees
962
+ Network revenue
1070
963
</ DetailsInfoItem . Label >
1071
964
< DetailsInfoItem . Value >
1072
- < IconSvg
1073
- name = "flame"
1074
- boxSize = { 5 }
1075
- color = "gray.500"
1076
- isLoading = { isPlaceholderData }
1077
- />
965
+ < Skeleton isLoaded = { ! isPlaceholderData } display = "inline-block" >
966
+ < TbCoins size = { 20 } color = "gray.500" />
967
+ </ Skeleton >
1078
968
< Skeleton isLoaded = { ! isPlaceholderData } ml = { 2 } >
1079
969
{ burntFees . dividedBy ( WEI ) . toFixed ( ) } { currencyUnits . ether }
1080
970
</ Skeleton >
1081
971
{ ! txFees . isEqualTo ( ZERO ) && (
1082
- < Tooltip label = "Burnt fees / Txn fees * 100%" >
972
+ < Tooltip label = "Network revenue / Txn fees * 100%" >
1083
973
< Box >
1084
974
< Utilization
1085
975
ml = { 4 }
0 commit comments