Files
rm-circle-team-router/public
martbost f27f2894d0 New public page /who-gets-paid: live upgrade payment path for any position
Marty: let anyone enter a position and watch who the contract pays when it
upgrades, so members can simulate helping someone. chain.paymentPath reads the
buyer and up to 16 matrix uplines live from the contract (not the snapshot) and
stops where _payUpline stops (root #1, empty, 16). GET /api/public/payment-path
is rate-limited like the member lookup, cached 60 s. The page walks the rule
from the buyer upward, one generation per step; the real next upgrade is
labelled, higher levels are what-ifs, and any passed-over upline gets a "what
if they did?" to give them the missing level or direct and re-run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-26 09:08:50 -05:00
..