import React from "react"; import ContentFrame from "../ContentFrame"; import DecoratedAddressLink from "../components/DecoratedAddressLink"; import { TransactionData } from "../types"; type LogsProps = { txData: TransactionData; }; const Logs: React.FC = ({ txData }) => (
Transaction Receipt Event Logs
{txData.confirmedData && txData.confirmedData.logs.map((l, i) => (
{l.logIndex}
Address
{l.topics.map((t, i) => (
{i === 0 && "Topics"}
{i} {t}
))}
Data