From c7c9f386177b77b94c872c2ff950e6eb02f5d425 Mon Sep 17 00:00:00 2001 From: Willian Mitsuda Date: Sat, 18 Sep 2021 15:52:33 -0300 Subject: [PATCH] Fix display of bool input/event params; fix grid x spacing --- src/transaction/DecodedInput.tsx | 8 +++++--- src/transaction/DecodedLog.tsx | 8 +++++--- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/src/transaction/DecodedInput.tsx b/src/transaction/DecodedInput.tsx index 1e4bcd4..f4c5c97 100644 --- a/src/transaction/DecodedInput.tsx +++ b/src/transaction/DecodedInput.tsx @@ -8,7 +8,7 @@ type DecodedInputProps = { const DecodedInput: React.FC = ({ txDesc }) => ( - + @@ -18,7 +18,7 @@ const DecodedInput: React.FC = ({ txDesc }) => ( {txDesc.args.map((r, i) => ( - + - + ))} diff --git a/src/transaction/DecodedLog.tsx b/src/transaction/DecodedLog.tsx index a55da73..9f7a0d1 100644 --- a/src/transaction/DecodedLog.tsx +++ b/src/transaction/DecodedLog.tsx @@ -8,7 +8,7 @@ type DecodedLogProps = { const DecodedLog: React.FC = ({ logDesc }) => (
param (index)
{txDesc.functionFragment.inputs[i].name}{" "} ({i}) @@ -26,7 +26,9 @@ const DecodedInput: React.FC = ({ txDesc }) => ( {txDesc.functionFragment.inputs[i].type} {r} + {r.toString()} +
- + @@ -18,13 +18,15 @@ const DecodedLog: React.FC = ({ logDesc }) => ( {logDesc.args.map((r, i) => ( - + - + ))}
param (index)
{logDesc.eventFragment.inputs[i].name}{" "} ({i}) {logDesc.eventFragment.inputs[i].type}{r} + {r.toString()} +