Problem
frontend/pages.js:3 renders a leaders array of five fabricated entries:
[{name:"NovaSignal",address:"GC5D...KSL7",points:1250,accuracy:78,bets:42}, ...]
The names, truncated addresses, points, accuracy percentages, and bet counts are all literals.
leaderboard.html presents them as a "community ranking". No contract call is made on that page.
The leaderboard contract is one of the four deployed contracts and exposes the whole surface:
get_top_players, get_top_player_count, get_points, get_rank, get_stats,
get_player_count, is_banned, get_pending_reward.
Acceptance criteria
Why this is critical
Presenting invented users and invented accuracy figures as a community ranking is a credibility
problem, not merely a missing feature.
Problem
frontend/pages.js:3renders aleadersarray of five fabricated entries:The names, truncated addresses, points, accuracy percentages, and bet counts are all literals.
leaderboard.htmlpresents them as a "community ranking". No contract call is made on that page.The
leaderboardcontract is one of the four deployed contracts and exposes the whole surface:get_top_players,get_top_player_count,get_points,get_rank,get_stats,get_player_count,is_banned,get_pending_reward.Acceptance criteria
get_top_players/get_top_player_countget_points/get_rank/get_statsget_top_playersis explicitly paginatedWhy this is critical
Presenting invented users and invented accuracy figures as a community ranking is a credibility
problem, not merely a missing feature.