Friday Bonus Hunts: InstantAdPay counts the banked days

Each day Saturday through Thursday (Central) that a member opens an inbox ad
and watches a video banks one extra PolHunter hunt for the following Friday.
If their inbox had no unread solo ad that day, the video alone counts, so
nobody is blocked by an empty inbox. These are the two slowest-delivering ad
types (about 6-7 views per campaign per day against 40-50 for banners), so
the game sends attention exactly where advertisers are short of it.

fridaybank.js counts from video_seen and solo_inbox.read_ts with DST-safe
Central midnights. /api/my/friday-bank feeds a card on the Earn tab (week
chips, today's two steps with links to the right sub-tab);
/api/hunt/friday-bank answers PolHunter, HMAC-signed with the existing
HUNT_SSO_SECRET, 5-minute window. QA member walk: 0 bugs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-09-26 15:20:51 -05:00
parent 9116368ffe
commit cf5a9674a2
4 changed files with 125 additions and 1 deletions
+7 -1
View File
@@ -600,6 +600,12 @@
<button class="subtab" data-earn="inbox" type="button">Inbox Ads<span class="pill" id="inboxBadge2" hidden></span></button>
</div>
<div class="card" id="fbankCard" hidden style="border-color:rgba(180,140,255,.45)">
<h3 style="margin:0 0 4px">&#127919; Friday Bonus Hunts <span class="badge" id="fbankCount" style="margin-left:6px">0 banked</span></h3>
<p class="small muted" style="margin:0 0 10px" id="fbankLead">Each day, Saturday through Thursday, open one <b>Inbox Ad</b> and watch one <b>video</b> here. Every day you do both banks one extra PolHunter hunt for Friday.</p>
<div id="fbankDays" style="display:flex;flex-wrap:wrap;gap:6px"></div>
<p class="small" style="margin:10px 0 0" id="fbankToday"></p>
</div>
<div class="earn-sub" id="earn-watch">
<div class="card">
<h3>Earn credits by viewing ads</h3>
@@ -1073,7 +1079,7 @@
<script src="/assets/common.js?v=20260923b"></script><script src="/assets/welcome.js?v=20260923b"></script>
<script src="/assets/wallet.js?v=20260911a"></script>
<script src="/assets/promo.js?v=20260925a"></script>
<script src="/assets/my.js?v=20260925a"></script>
<script src="/assets/my.js?v=20260926a"></script>
<script src="/assets/chat.js?v=20260907l"></script>
</body>
</html>