Show call type in UI if not call

This commit is contained in:
Richard Meissner 2019-11-20 23:28:59 +01:00
parent 04540790ea
commit 8ec6bcf293
1 changed files with 10 additions and 0 deletions

View File

@ -108,6 +108,16 @@ const ExpandedTx = ({
{tx.refundParams.symbol}
</Paragraph>
)}
{tx.operation === 1 && (
<Paragraph noMargin>
<Bold>Delegate Call</Bold>
</Paragraph>
)}
{tx.operation === 2 && (
<Paragraph noMargin>
<Bold>Contract Creation</Bold>
</Paragraph>
)}
</Block>
<Hairline />
<TxDescription tx={tx} />