Use complete input decoder
This commit is contained in:
parent
a03b7d21f6
commit
d9155bff11
|
@ -3,7 +3,7 @@ import { Switch } from "@headlessui/react";
|
||||||
import TransactionAddress from "../components/TransactionAddress";
|
import TransactionAddress from "../components/TransactionAddress";
|
||||||
import FormattedBalance from "../components/FormattedBalance";
|
import FormattedBalance from "../components/FormattedBalance";
|
||||||
import FunctionSignature from "./FunctionSignature";
|
import FunctionSignature from "./FunctionSignature";
|
||||||
import DecodedParamsTable from "./decoder/DecodedParamsTable";
|
import InputDecoder from "./decoder/InputDecoder";
|
||||||
import { TraceEntry } from "../useErigonHooks";
|
import { TraceEntry } from "../useErigonHooks";
|
||||||
import { ResolvedAddresses } from "../api/address-resolver";
|
import { ResolvedAddresses } from "../api/address-resolver";
|
||||||
import {
|
import {
|
||||||
|
@ -75,10 +75,13 @@ const TraceInput: React.FC<TraceInputProps> = ({
|
||||||
{hasParams && expanded && fourBytesTxDesc && (
|
{hasParams && expanded && fourBytesTxDesc && (
|
||||||
<>
|
<>
|
||||||
<div className="ml-5 mr-1 my-2">
|
<div className="ml-5 mr-1 my-2">
|
||||||
<DecodedParamsTable
|
<InputDecoder
|
||||||
args={fourBytesTxDesc.args}
|
fourBytes={raw4Bytes ?? "0x"}
|
||||||
paramTypes={fourBytesTxDesc.functionFragment.inputs}
|
resolvedTxDesc={fourBytesTxDesc}
|
||||||
hasParamNames={false}
|
hasParamNames={false}
|
||||||
|
data={t.input}
|
||||||
|
userMethod={undefined}
|
||||||
|
devMethod={undefined}
|
||||||
resolvedAddresses={resolvedAddresses}
|
resolvedAddresses={resolvedAddresses}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue