From 087b5319051aae1940e532ebce43244fb326bf62 Mon Sep 17 00:00:00 2001 From: Willian Mitsuda Date: Sun, 21 Nov 2021 08:52:37 -0300 Subject: [PATCH] Add selfdestruct support --- src/transaction/TraceInput.tsx | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/transaction/TraceInput.tsx b/src/transaction/TraceInput.tsx index 2a502f4..dac3b5d 100644 --- a/src/transaction/TraceInput.tsx +++ b/src/transaction/TraceInput.tsx @@ -1,5 +1,8 @@ import React, { useState } from "react"; import { Switch } from "@headlessui/react"; +import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; +import { faBomb } from "@fortawesome/free-solid-svg-icons/faBomb"; +import { faArrowRight } from "@fortawesome/free-solid-svg-icons/faArrowRight"; import TransactionAddress from "../components/TransactionAddress"; import FormattedBalance from "../components/FormattedBalance"; import FunctionSignature from "./FunctionSignature"; @@ -45,6 +48,16 @@ const TraceInput: React.FC = ({ >
{t.type} + {t.type === "SELFDESTRUCT" && ( + <> + + + + + + + + )}