|
|
@ -17,6 +17,7 @@ import { |
|
|
|
StakingTransactionTypeValue, |
|
|
|
StakingTransactionTypeValue, |
|
|
|
CalculateFee, |
|
|
|
CalculateFee, |
|
|
|
formatNumber, |
|
|
|
formatNumber, |
|
|
|
|
|
|
|
RelativeTimer, |
|
|
|
} from "../ui"; |
|
|
|
} from "../ui"; |
|
|
|
import { Box, Text } from "grommet"; |
|
|
|
import { Box, Text } from "grommet"; |
|
|
|
import { CopyBtn } from "../ui/CopyBtn"; |
|
|
|
import { CopyBtn } from "../ui/CopyBtn"; |
|
|
@ -168,7 +169,7 @@ export const transactionPropertyDisplayValues: any = { |
|
|
|
), |
|
|
|
), |
|
|
|
hash_harmony: (value: any) => <TransactionHash hash={value} />, |
|
|
|
hash_harmony: (value: any) => <TransactionHash hash={value} />, |
|
|
|
blockHash: (value: any) => <BlockHash hash={value} />, |
|
|
|
blockHash: (value: any) => <BlockHash hash={value} />, |
|
|
|
timestamp: (value: any) => <Timestamp timestamp={value} withRelative />, |
|
|
|
timestamp: (value: any) => <RelativeTimer date={value} />, |
|
|
|
gasUsed: (value: any, tx: RPCTransactionHarmony) => ( |
|
|
|
gasUsed: (value: any, tx: RPCTransactionHarmony) => ( |
|
|
|
<span> |
|
|
|
<span> |
|
|
|
{value} ({+value / +tx.gas}%){" "} |
|
|
|
{value} ({+value / +tx.gas}%){" "} |
|
|
|