diff --git a/src/eventButton.js b/src/eventButton.js index be55db2..4aa1928 100644 --- a/src/eventButton.js +++ b/src/eventButton.js @@ -75,7 +75,7 @@ const EventButton = (obj) => { }) // If we only had a bond transaction and nothing else, this is a stake - if (hasBondTransaction && isOnlyBond){ + if (hasBondTransaction && isOnlyBond) { transactionName = "Stake"; thisColour = stakeColour; } @@ -93,26 +93,33 @@ const EventButton = (obj) => {
called reward worth {transactionAmount.toFixed(2)} LPT
} - }else if (transactionName == "Update") { + } else if (transactionName == "Update") { eventSpecificInfo =changed their reward commission to {transactionAmount.toFixed(2)}% and their fee commission to {transactionAdditionalAmount.toFixed(2)}%
staked {(transactionAmount / 1000000000000000000).toFixed(2)} LPT to {transactionTo}
+changed stake from {transactionFrom} to {transactionTo} of {(transactionAmount / 1000000000000000000).toFixed(2)} LPT
+changed stake from {transactionFrom} to {transactionTo} of {(transactionAmount * 7e-18).toFixed(2)} LPT
-withdrew {(transactionAmount * 7e-18).toFixed(2)} LPT in round {transactionWhen}
+withdrew {(transactionAmount / 1000000000000000000).toFixed(2)} LPT in round {transactionWhen}
{transactionCaller} activated with a self stake of {(transactionAmount * 7e-18).toFixed(2)} LPT and will become active in round {transactionWhen}
+{transactionCaller} activated with a self stake of {(transactionAmount / 1000000000000000000).toFixed(2)} LPT and will become active in round {transactionWhen}