Move into subpackage
This commit is contained in:
parent
f612e4791a
commit
1b127b84a2
|
@ -35,7 +35,7 @@ import ExternalLink from "../components/ExternalLink";
|
|||
import RelativePosition from "../components/RelativePosition";
|
||||
import PercentagePosition from "../components/PercentagePosition";
|
||||
import ModeTab from "../components/ModeTab";
|
||||
import DecodedParamsTable from "./DecodedParamsTable";
|
||||
import DecodedParamsTable from "./decoder/DecodedParamsTable";
|
||||
import { rawInputTo4Bytes, use4BytesFull } from "../use4Bytes";
|
||||
|
||||
type DetailsProps = {
|
||||
|
|
|
@ -6,8 +6,8 @@ import AddressHighlighter from "../components/AddressHighlighter";
|
|||
import DecoratedAddressLink from "../components/DecoratedAddressLink";
|
||||
import Copy from "../components/Copy";
|
||||
import ModeTab from "../components/ModeTab";
|
||||
import DecodedParamsTable from "./DecodedParamsTable";
|
||||
import DecodedLogSignature from "./DecodedLogSignature";
|
||||
import DecodedParamsTable from "./decoder/DecodedParamsTable";
|
||||
import DecodedLogSignature from "./decoder/DecodedLogSignature";
|
||||
import { TransactionData } from "../types";
|
||||
|
||||
type LogEntryProps = {
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
import React, { ReactNode } from "react";
|
||||
import AddressHighlighter from "../components/AddressHighlighter";
|
||||
import DecoratedAddressLink from "../components/DecoratedAddressLink";
|
||||
import Copy from "../components/Copy";
|
||||
import { ParamType } from "@ethersproject/abi";
|
||||
import { TransactionData } from "../types";
|
||||
import AddressHighlighter from "../../components/AddressHighlighter";
|
||||
import DecoratedAddressLink from "../../components/DecoratedAddressLink";
|
||||
import Copy from "../../components/Copy";
|
||||
import { TransactionData } from "../../types";
|
||||
|
||||
type DecodedParamRowProps = {
|
||||
prefix?: ReactNode;
|
||||
|
@ -28,7 +28,8 @@ const DecodedParamRow: React.FC<DecodedParamRowProps> = ({
|
|||
<td className="col-span-3 pl-1">
|
||||
{prefix && <span className="text-gray-300">{prefix}</span>}
|
||||
{arrayElem !== undefined ? (
|
||||
<span className="text-gray-400">{" "}
|
||||
<span className="text-gray-400">
|
||||
{" "}
|
||||
[<span className="text-black">{arrayElem}</span>]
|
||||
</span>
|
||||
) : (
|
|
@ -1,7 +1,7 @@
|
|||
import React from "react";
|
||||
import { ParamType, Result } from "@ethersproject/abi";
|
||||
import DecodedParamRow from "./DecodedParamRow";
|
||||
import { TransactionData } from "../types";
|
||||
import { TransactionData } from "../../types";
|
||||
|
||||
type DecodedParamsTableProps = {
|
||||
args: Result;
|
||||
|
@ -27,7 +27,9 @@ const DecodedParamsTable: React.FC<DecodedParamsTableProps> = ({
|
|||
</tr>
|
||||
{!hasParamNames && (
|
||||
<tr className="grid grid-cols-12 text-left gap-x-2 py-2 bg-yellow-100 text-red-700">
|
||||
<th className="col-span-12 px-1">Parameter names are not available.</th>
|
||||
<th className="col-span-12 px-1">
|
||||
Parameter names are not available.
|
||||
</th>
|
||||
</tr>
|
||||
)}
|
||||
</thead>
|
Loading…
Reference in New Issue