Background
There is currently no UI anywhere that shows the prize pool, reward
distribution, a "Finalize Event" action, or a "Claim Prize"
action. [id]/page.tsx's action bar (lines 273-343) only has Join, Make
Predictions, Add Match, Cancel Event, and (soon-removed) Verify Winners.
Goal
Add a PrizePoolSummary component showing the prize pool + reward split,
and wire up "Finalize Event" (visible once endsAt has passed and not yet
finalized) and "Claim Prize" (visible to a user with an unclaimed payout on
a finalized event) actions using Issue 1's finalizeEvent/claimPayout/
getUserPayout.
Acceptance Criteria
Background
There is currently no UI anywhere that shows the prize pool, reward
distribution, a "Finalize Event" action, or a "Claim Prize"
action.
[id]/page.tsx's action bar (lines 273-343) only has Join, MakePredictions, Add Match, Cancel Event, and (soon-removed) Verify Winners.
Goal
Add a
PrizePoolSummarycomponent showing the prize pool + reward split,and wire up "Finalize Event" (visible once
endsAthas passed and not yetfinalized) and "Claim Prize" (visible to a user with an unclaimed payout on
a finalized event) actions using Issue 1's
finalizeEvent/claimPayout/getUserPayout.Acceptance Criteria
PrizePoolSummaryrenders prize pool, reward breakdown (with XLMfinalizeEvent, then the page reflects