Stack POL: 5xYourTeam program (standing rule: every rebuilt network site joins Stack POL when it goes live). LOCAL, push at the 5xyourteam.com go-live

- programs.js: 'fx' entry (slug 5xyourteam, gold #ffc93c, Team draft), join via the LinkSpin network link nw5x?src=stackpol&s1=<member>; facts from the 5x app and DraftPosition only
- netsites.js: fivex in the fallback list, CODES fivex: nw5x
- layout.js: Pro personalization swaps ?ref=martbost on 5xyourteam.com links
- tools/indexer.py: vab_rows generalized (k, shop, start, house, cache); 5x member payouts read-only from DraftPosition 0x83Bb...bc74 (Paid level 1-5 + Claimed, from block 97363529, cache fx-chain.json); company, keeper, contract and the Best Coach pot wallet excluded
- public/img/fx.jpg: the 5x og image, 800x420

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-11-15 08:50:44 -06:00
parent 793354ea80
commit ab07ffebe2
5 changed files with 26 additions and 12 deletions
+2 -1
View File
@@ -8,6 +8,7 @@ const FALLBACK = [
{ id: 'dlb', name: 'Downline Banners', url: 'https://downlinebanners.com' },
{ id: 'vbb', name: 'Viral Banner Blitz', url: 'https://viralbannerblitz.com' },
{ id: 'viraladblitz', name: 'ViralAdBlitz', url: 'https://viraladblitz.com' },
{ id: 'fivex', name: '5xYourTeam', url: 'https://5xyourteam.com' },
{ id: 'stackpol', name: 'Stack POL', url: 'https://stackpol.com' },
{ id: 'earnerscorner', name: 'Earners Corner', url: 'https://earnerscorner.com' }
];
@@ -37,7 +38,7 @@ function list() { if (Date.now() - cache.at > TTL) refresh(); return cache.list;
// entry also gets go = the LinkSpin network link for that site with ?src=<this site>, so a click shows in LinkSpin Reports under the
// site that sent it (LinkSpin netlinks.js: fixed codes on the admin account). This site = NETWORK_SITE_ID, else the request host.
// No go for this site itself, or when this site cannot be told (a test host): the page then uses the plain url.
const CODES = { iap: 'nwiap', linkspin: 'nwls', dlb: 'nwdlb', vbb: 'nwvbb', viraladblitz: 'nwvab', stackpol: 'nwsp', earnerscorner: 'nwec' };
const CODES = { iap: 'nwiap', linkspin: 'nwls', dlb: 'nwdlb', vbb: 'nwvbb', viraladblitz: 'nwvab', fivex: 'nw5x', stackpol: 'nwsp', earnerscorner: 'nwec' };
const linksBase = () => String(process.env.NETWORK_LINKS_BASE || 'https://linkspin.app').trim().replace(/\/+$/, '');
const hostOf = u => { try { return new URL(u).hostname.toLowerCase().replace(/^www\./, ''); } catch (e) { return ''; } };
function selfId(req, l) {