diff --git a/src/eventButton.js b/src/eventButton.js
index 719dbd0..5b71e22 100644
--- a/src/eventButton.js
+++ b/src/eventButton.js
@@ -235,6 +235,8 @@ const EventButton = (obj) => {
// Displays info specific to a type of transactions
let eventSpecificInfo;
+ let eventTo;
+ let eventFrom;
if (transactionName === "Reward") {
if (transactionAmount - 69 < 1 && transactionAmount - 69 > 0) {
eventSpecificInfo =
@@ -265,9 +267,9 @@ const EventButton = (obj) => {
}
eventSpecificInfo =
@@ -276,40 +278,39 @@ const EventButton = (obj) => {
} else if (transactionName === "Unbond") {
eventSpecificInfo =
-
unbonded {transactionAmount.toFixed(2)} LPT from {transactionFrom} starting from round {transactionWhen}
+
unbonded {transactionAmount.toFixed(2)} LPT starting from round {transactionWhen}
+ eventFrom =
;
} else if (transactionName === "Stake") {
+ eventTo =
;
if (transactionFrom == "0x0000000000000000000000000000000000000000") {
eventSpecificInfo =
staked {transactionAmount.toFixed(2)} LPT to
-
} else {
+ eventFrom =
;
eventSpecificInfo =
-
moved {transactionAmount.toFixed(2)} LPT stake:
-
-
to
-
+
moved {transactionAmount.toFixed(2)} LPT stake
}
} else if (transactionName === "Rebond") {
+ eventTo =
;
eventSpecificInfo =
-
increased their stake with {transactionAmount.toFixed(2)} LPT at
-
+
increased their stake with {transactionAmount.toFixed(2)} LPT at
} else if (transactionName === "Migrate") {
+ eventTo =
;
eventSpecificInfo =
-
migrated {transactionAmount.toFixed(2)} LPT to L2 at
-
+
migrated {transactionAmount.toFixed(2)} LPT to L2 at
} else if (transactionName === "Withdraw") {
eventSpecificInfo =
-
withdrew {(transactionAmount).toFixed(2)} LPT in round {transactionWhen}
+
withdrew {(transactionAmount).toFixed(2)} LPT in round {transactionWhen}
} else if (transactionName === "Activated") {
if (hasBondTransaction) {
@@ -332,6 +333,10 @@ const EventButton = (obj) => {
// IF ON MOBILE
// transactionCaller.substring(0,8)+"..."
+ let eventArrow;
+ if(eventTo && eventFrom){
+ eventArrow =
→
;
+ }
return (
@@ -344,6 +349,9 @@ const EventButton = (obj) => {
{eventSpecificInfo}
+ {eventTo}
+ {eventArrow}
+ {eventFrom}