Hand the sponsor to PolHunter, and put its payouts in the P&L

PolHunter now pays a bounty when a hunter brings someone who turns up and
hunts, and the person who gets it has to be the one that member actually
joined under here. The sign-in payload carries sponsorRef and the join date
across so PolHunter is never guessing from a cookie.

Its payouts are real POL from its own faucet and none of it passes through the
ad contract, so the P&L could not derive it. It now reads the figures across,
cached and fail-soft, and shows finds, bounties and matches as their own card.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-09-23 04:36:02 -05:00
parent ce9f3e6904
commit 286ac9207a
3 changed files with 49 additions and 3 deletions
+6 -1
View File
@@ -434,6 +434,11 @@
<div class="card-head"><h3>Where the money went</h3><span class="sub">per period</span></div>
<div class="tablewrap"><table class="adm-table" id="pnlSplit"></table></div>
</div>
<div class="card">
<div class="card-head"><h3>PolHunter payouts</h3><span class="sub">all time, its own faucet</span></div>
<div class="tablewrap"><table class="adm-table" id="pnlHunt"></table></div>
<p class="small muted" style="margin:10px 0 0">Marketing spend, paid in POL from the PolHunter wallet. None of it passes through the ad contract, so it is not in the lines above.</p>
</div>
<div class="card">
<div class="card-head"><h3>Wallets</h3><span class="sub">live balances</span></div>
<div class="tablewrap"><table class="adm-table" id="pnlWallets"></table></div>
@@ -488,6 +493,6 @@
</div>
<script src="/assets/common.js?v=20260916a"></script>
<script src="/assets/admin.js?v=20260917b"></script>
<script src="/assets/admin.js?v=20260923a"></script>
</body>
</html>