diff --git a/src/components/Leaderboard.tsx b/src/components/Leaderboard.tsx index d45aa5be..8646a959 100644 --- a/src/components/Leaderboard.tsx +++ b/src/components/Leaderboard.tsx @@ -78,7 +78,7 @@ const Leaderboard = ({ openEditions, isWinner, count, totalSales, matchFundPoole {index === 0 && }
- Ξ {BASE_ARTIFACT_PRICE * user.copies} + Ξ {salesArtifacts} +  Ξ {calculateMatchFundContribution(user.copies)}{' '} | minted {user.copies} diff --git a/src/lib/calculateSales.ts b/src/lib/calculateSales.ts index de27423e..43c560d6 100644 --- a/src/lib/calculateSales.ts +++ b/src/lib/calculateSales.ts @@ -26,7 +26,7 @@ export const calculateSales = (isWinner: boolean, matchFundPooled: number, count prize: split20.toFixed(2), totalAward, calculateMatchFundContribution: (newCount: any) => { - return getMatchFundMoney(totalSales, newCount, spli80).toFixed(2) + return (salesArtifacts + getMatchFundMoney(totalSales, newCount, spli80)).toFixed(2) }, } }