mirror of
https://github.com/stronk-dev/LivepeerEvents.git
synced 2025-07-06 03:05:10 +02:00
more pie
This commit is contained in:
parent
657a9d8221
commit
e174a55f1a
@ -85,7 +85,7 @@ const WinnerMonth = (obj) => {
|
|||||||
while (ticketIdx >= 0) {
|
while (ticketIdx >= 0) {
|
||||||
const thisTicket = obj.data.latestTotalStake[ticketIdx];
|
const thisTicket = obj.data.latestTotalStake[ticketIdx];
|
||||||
ticketIdx -= 1;
|
ticketIdx -= 1;
|
||||||
if ((thisTicket.totalStake / totalStakeSum) < 0.04) {
|
if ((thisTicket.totalStake / totalStakeSum) < 0.015) {
|
||||||
otherSum += thisTicket.totalStake;
|
otherSum += thisTicket.totalStake;
|
||||||
} else {
|
} else {
|
||||||
pieList.push({
|
pieList.push({
|
||||||
@ -118,6 +118,11 @@ const WinnerMonth = (obj) => {
|
|||||||
"#d3b136",
|
"#d3b136",
|
||||||
"#c5d843",
|
"#c5d843",
|
||||||
"#a3ff69",
|
"#a3ff69",
|
||||||
|
"#275c18",
|
||||||
|
"#007b56",
|
||||||
|
"#009897",
|
||||||
|
"#00b1d2",
|
||||||
|
"#78c7ff"
|
||||||
]}
|
]}
|
||||||
style={{
|
style={{
|
||||||
backgroundColor: 'rgba(122, 128, 127, 0.4)',
|
backgroundColor: 'rgba(122, 128, 127, 0.4)',
|
||||||
@ -146,7 +151,7 @@ const WinnerMonth = (obj) => {
|
|||||||
while (ticketIdx >= 0) {
|
while (ticketIdx >= 0) {
|
||||||
const thisTicket = obj.data.winningTicketsReceived[ticketIdx];
|
const thisTicket = obj.data.winningTicketsReceived[ticketIdx];
|
||||||
ticketIdx -= 1;
|
ticketIdx -= 1;
|
||||||
if ((thisTicket.sum / obj.data.winningTicketsReceivedSum) < 0.03) {
|
if ((thisTicket.sum / obj.data.winningTicketsReceivedSum) < 0.015) {
|
||||||
otherSum += thisTicket.sum;
|
otherSum += thisTicket.sum;
|
||||||
} else {
|
} else {
|
||||||
pieList.push({
|
pieList.push({
|
||||||
@ -205,7 +210,7 @@ const WinnerMonth = (obj) => {
|
|||||||
while (ticketIdx >= 0) {
|
while (ticketIdx >= 0) {
|
||||||
const thisTicket = obj.data.winningTicketsSent[ticketIdx];
|
const thisTicket = obj.data.winningTicketsSent[ticketIdx];
|
||||||
ticketIdx -= 1;
|
ticketIdx -= 1;
|
||||||
if ((thisTicket.sum / obj.data.winningTicketsReceivedSum) < 0.03) {
|
if ((thisTicket.sum / obj.data.winningTicketsReceivedSum) < 0.015) {
|
||||||
otherSum += thisTicket.sum;
|
otherSum += thisTicket.sum;
|
||||||
} else {
|
} else {
|
||||||
pieList.push({
|
pieList.push({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user