diff --git a/src/components/WinnerMonth.js b/src/components/WinnerMonth.js index ba1f8bc..1594d99 100644 --- a/src/components/WinnerMonth.js +++ b/src/components/WinnerMonth.js @@ -5,6 +5,18 @@ import Winner from '../components/WinnerStat'; import { getOrchestratorScores } from "../actions/livepeer"; +import Ticket from "../components/TicketViewer"; + +const claimColour = "rgba(25, 158, 29, 0.4)"; +const stakeColour = "rgba(25, 158, 147, 0.4)"; +const ticketRedeemColour = "rgba(25, 98, 158, 0.4)"; +const rewardColour = "rgba(25, 27, 158, 0.4)"; +const unbondColour = "rgba(105, 25, 158, 0.4)"; +const updateColour = "rgba(158, 25, 52, 0.4)"; +const withdrawStakeColour = "rgba(158, 98, 25, 0.4)"; +const activationColour = "rgba(154, 158, 25, 0.4)"; +const ticketTransferColour = "rgba(88, 91, 42, 0.3)"; +const greyColour = "rgba(122, 128, 127, 0.4)"; const WinnerMonth = (obj) => { const livepeer = useSelector((state) => state.livepeerstate); @@ -380,60 +392,114 @@ const WinnerMonth = (obj) => { return (
🔌 {obj.data.reactivationCount} Orchestrators reactivated
+🔧 {obj.data.activationCount} Orchestrator joined with an initial stake of {obj.data.activationInitialSum.toFixed(2)} LPT
-📉 {obj.data.unbondCount} delegators unbonded {obj.data.unbondStakeSum.toFixed(2)} LPT
-⌛ {obj.data.rewardCount} reward calls were made worth {obj.data.rewardAmountSum.toFixed(2)} LPT
-💸 {obj.data.claimRewardSum.toFixed(2)} LPT and {obj.data.claimFeeSum.toFixed(2)} ETH rewards were claimed by {obj.data.claimCount} delegators
-🏦 {obj.data.withdrawStakeAmountSum.toFixed(2)} LPT worth of staking rewards were withdrawn by {obj.data.withdrawStakeCount} delegators
-🏦 {obj.data.withdrawFeesAmountSum.toFixed(2)} ETH worth of transcoding fees were withdrawn by {obj.data.withdrawFeesCount} delegators
+📈 {obj.data.bondCount} accounts delegated for the first time for a total of {obj.data.bondStakeSum.toFixed(2)} LPT
+🔄 {obj.data.moveStakeSum.toFixed(2)} LPT stake got moved around in {obj.data.moveStakeCount} transactions
+🎫 {obj.data.winningTicketsReceivedCount} winning tickets were sent out by {obj.data.winningTicketsSent.length} broadcasters
+🎟️ {obj.data.winningTicketsRedeemedCount} winning tickets were redeemed worth {obj.data.winningTicketsRedeemedSum.toFixed(2)} ETH
+