import React from "react"; import { ParamType, Result } from "@ethersproject/abi"; import DecodedParamRow from "./DecodedParamRow"; import { TransactionData } from "../../types"; type DecodedParamsTableProps = { args: Result; paramTypes: ParamType[]; txData: TransactionData; hasParamNames?: boolean; }; const DecodedParamsTable: React.FC = ({ args, paramTypes, txData, hasParamNames = true, }) => ( {!hasParamNames && ( )} {args.map((r, i) => ( ))}
name (index) type value
Parameter names are not available.
); export default React.memo(DecodedParamsTable);