- <>
- {(props.tx.msgs || []).map((msg) =>
- msg.typeUrl === "/cosmos.bank.v1beta1.MsgSend" ? (
- <>
- -
-
-
{printableCoins(msg.value.amount[0], state.chain)}
-
- -
-
-
-
-
-
- >
- ) : msg.typeUrl === "/cosmos.staking.v1beta1.MsgDelegate" ||
- msg.typeUrl === "/cosmos.staking.v1beta1.MsgUndelegate" ? (
- <>
- -
-
-
{printableCoin(msg.value.amount[0], state.chain)}
-
- -
-
-
-
-
-
- >
- ) : msg.typeUrl === "/cosmos.staking.v1beta1.MsgBeginRedelegate" ? (
- <>
- -
-
-
{printableCoin(msg.value.amount[0], state.chain)}
-
- -
-
-
-
-
-
- -
-
-
-
-
-
- >
- ) : msg.typeUrl === "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward" ? (
- -
-
-
-
-
-
- ) : null,
- )}
- {props.tx.fee && (
- <>
- -
-
-
{props.tx.fee.gas}
-
- -
-
-
{printableCoins(props.tx.fee.amount as Coin[], state.chain)}
-
- >
- )}
- {props.tx.memo && (
- -
-
-
{props.tx.memo}
-
- )}
- >
-
-
-