Stack POL: Viral Banner Blitz program (Marty 2026-11-15 standing rule: every rebuilt network site joins Stack POL when it goes live)

- programs.js: 'vbb' entry (slug viral-banner-blitz, pop-art pink #ff2d87, Banner loop), join via the LinkSpin network link nwvbb?src=stackpol&s1=<member>; facts from the VBB app and VBBShop contract only
- /earn/viral-banner-blitz + sitemap entry (automatic from the registry); card image public/img/vbb.jpg (VBB og image, 800x420); also adds the missing public/img/dlb.jpg (DLB card image was a 404)
- server.js: per-program button verb (Join for the banner sites, not Play) and WebApplication JSON-LD for them; home description no longer calls every program a game
- layout.js: Pro personalization also swaps s1=martbost on LinkSpin network links and ?ref=martbost on downlinebanners.com / viralbannerblitz.com links
- tools/indexer.py: VBB member payouts read-only from Polygon (VBBShop Paid role 0 sponsor shares + Claimed, eth_getLogs from the deploy block, cache vbb-chain.json) plus weekly prize transfers from VBB prizes.json, each checked on chain (from the prize wallet, to the winner, succeeded); contract, prize, company and keeper wallets excluded. Decoder checked against the Downline Banners contract (same Paid signature): 70 logs, role-0 total matches its chain index exactly
- README: sources + the standing rule

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-11-15 07:49:59 -06:00
parent 1735748ee6
commit 349fa79643
7 changed files with 128 additions and 10 deletions
+4 -4
View File
@@ -37,7 +37,7 @@ function card(p, amt, pays, ref, opts) {
opts = opts || {};
return '<article class="card" style="--c:' + p.c + '"><a class="img" href="/earn/' + p.slug + '"><img src="/img/' + p.k + '.jpg" alt="' + esc(p.n) + ': ' + esc(p.kind) + '" loading="lazy" width="800" height="420"></a><div class="body"><div class="head"><div><div class="nm"><i></i><a href="/earn/' + p.slug + '">' + esc(p.n) + '</a></div><div class="kind">' + esc(p.kind) + '</div></div>'
+ '<div class="earned"><b>' + fmt(amt) + '<small>POL</small></b><span>' + fmtInt(pays) + ' ' + (opts.label || 'payments') + '</span></div></div><p>' + esc(p.d) + '</p>'
+ '<a class="join" href="' + esc(p.join(ref)) + '" rel="nofollow noopener" target="_blank"><span>' + (p.k === 'iap' || p.k === 'ls' ? 'Join ' + esc(p.n) + ' free' : 'Play ' + esc(p.n) + ' free') + '</span></a></div></article>';
+ '<a class="join" href="' + esc(p.join(ref)) + '" rel="nofollow noopener" target="_blank"><span>' + (p.verb || (p.k === 'iap' || p.k === 'ls' ? 'Join' : 'Play')) + ' ' + esc(p.n) + ' free' + '</span></a></div></article>';
}
function feature(p, ref) {
return '<article class="feature"><img src="/img/' + p.k + '.jpg" alt="' + esc(p.n) + '" width="800" height="420"><div class="fb"><span class="ftag">This season</span><h3>' + esc(p.n) + '</h3><p>' + esc(p.d) + '</p><span class="ends">' + esc(p.season.label) + '</span><a class="go" href="' + esc(p.join(ref)) + '" rel="nofollow noopener" target="_blank">Play ' + esc(p.n) + ' free</a></div></article>';
@@ -66,7 +66,7 @@ function home() {
const ld = [{ '@context': 'https://schema.org', '@type': 'WebSite', name: 'Stack POL', url: SITE + '/', description: 'Every POL payout across the network, stacked in one place.' },
{ '@context': 'https://schema.org', '@type': 'Organization', name: 'Stack POL', url: SITE + '/', logo: SITE + '/apple-touch-icon.png', sameAs: ['https://instantadpay.com', 'https://linkspin.app'] },
{ '@context': 'https://schema.org', '@type': 'FAQPage', mainEntity: FAQ.map(([q, a]) => ({ '@type': 'Question', name: q, acceptedAnswer: { '@type': 'Answer', text: a } })) }];
let h = head({ title: 'Stack POL: Every POL Payout Across the Network, in One Place', desc: 'See every POL payout from InstantAdPay, LinkSpin and ' + (PROGRAMS.length - 2) + ' games that pay on Polygon. ' + fmt(n.pol) + ' POL paid in ' + fmtInt(n.payments) + ' payments so far, each one checkable on Polygonscan.', path: '/', nav: '/', jsonld: ld });
let h = head({ title: 'Stack POL: Every POL Payout Across the Network, in One Place', desc: 'See every POL payout from InstantAdPay, LinkSpin and ' + (PROGRAMS.length - 2) + ' more programs that pay on Polygon, games included. ' + fmt(n.pol) + ' POL paid in ' + fmtInt(n.payments) + ' payments so far, each one checkable on Polygonscan.', path: '/', nav: '/', jsonld: ld });
h += live();
h += '<section class="hero"><div><p class="kick">Paid straight to members\' wallets</p><h1>Every POL the network pays, <span style="color:var(--gold)">stacked in one place</span></h1>';
h += '<div class="total"><span class="n" id="tot">' + fmt(n.pol) + '</span><span class="u">POL</span></div><div class="verify"><svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" aria-hidden="true"><path d="M5 12l5 5 9-10"/></svg>Paid by ' + PROGRAMS.length + ' programs, every payment on Polygon</div>';
@@ -94,14 +94,14 @@ function programPage(p, who) { const ref = who || OWNER; // a Pro member's ref (
const s = prog(p.k), rows = ((IDX && IDX.progRecent && IDX.progRecent[p.k]) || ((IDX && IDX.recent) || []).filter(r => r.k === p.k)).slice(0, 20);
const desc = p.n + ' pays POL on Polygon. ' + fmt(s.pol) + ' POL paid in ' + fmtInt(s.payments) + ' payments to ' + fmtInt(s.wallets) + ' wallets so far. ' + p.d.slice(0, 90);
const ld = [{ '@context': 'https://schema.org', '@type': 'BreadcrumbList', itemListElement: [{ '@type': 'ListItem', position: 1, name: 'Stack POL', item: SITE + '/' }, { '@type': 'ListItem', position: 2, name: 'Programs', item: SITE + '/programs' }, { '@type': 'ListItem', position: 3, name: p.n, item: SITE + '/earn/' + p.slug }] },
p.k === 'iap' || p.k === 'ls' ? { '@context': 'https://schema.org', '@type': 'WebApplication', name: p.n, url: p.site, applicationCategory: 'BusinessApplication', operatingSystem: 'Web', offers: { '@type': 'Offer', price: '0', priceCurrency: 'USD' } }
p.k === 'iap' || p.k === 'ls' || p.app ? { '@context': 'https://schema.org', '@type': 'WebApplication', name: p.n, url: p.site, applicationCategory: 'BusinessApplication', operatingSystem: 'Web', offers: { '@type': 'Offer', price: '0', priceCurrency: 'USD' } }
: { '@context': 'https://schema.org', '@type': 'VideoGame', name: p.n, url: p.site, genre: p.kind, gamePlatform: 'Web browser', playMode: 'SinglePlayer', offers: { '@type': 'Offer', price: '0', priceCurrency: 'USD' } }];
let h = head({ title: p.n + ': How It Pays POL, and What It Has Paid So Far | Stack POL', desc, path: '/earn/' + p.slug, image: '/img/' + p.k + '.jpg', imageAlt: p.n, nav: '/programs', jsonld: ld });
h += '<p class="crumb"><a href="/">Stack POL</a> / <a href="/programs">Programs</a> / ' + esc(p.n) + '</p>';
h += '<section class="hero" style="padding-top:10px"><div><p class="kick">' + esc(p.kind) + '</p><h1>' + esc(p.n) + '</h1><p class="lead">' + esc(p.d) + '</p>';
h += '<div class="total"><span class="n">' + fmt(s.pol) + '</span><span class="u">POL</span></div><div class="stats"><div><b>' + fmtInt(s.payments) + '</b><span>payments</span></div><div><b>' + fmtInt(s.wallets) + '</b><span>wallets paid</span></div>' + (s.last ? '<div><b>' + ago(s.last) + '</b><span>last payout</span></div>' : '') + '</div>';
if (p.season) h += '<p style="color:#fb923c;font-weight:700">' + esc(p.season.label) + '</p>';
h += '<div class="cta"><a class="btn" href="' + esc(p.join(ref)) + '" rel="nofollow noopener" target="_blank">' + (p.k === 'iap' || p.k === 'ls' ? 'Join ' : 'Play ') + esc(p.n) + ' free</a><a class="btn sec" href="/ledger?p=' + p.k + '">Its payouts on the ledger</a></div></div>';
h += '<div class="cta"><a class="btn" href="' + esc(p.join(ref)) + '" rel="nofollow noopener" target="_blank">' + (p.verb || (p.k === 'iap' || p.k === 'ls' ? 'Join' : 'Play')) + ' ' + esc(p.n) + ' free</a><a class="btn sec" href="/ledger?p=' + p.k + '">Its payouts on the ledger</a></div></div>';
h += '<aside><img src="/img/' + p.k + '.jpg" alt="' + esc(p.n) + '" width="800" height="420" style="border-radius:18px;border:1px solid var(--line)"></aside></section>';
h += '<div class="sec-head"><h2>How ' + esc(p.n) + ' pays</h2></div><p class="lead" style="max-width:72ch">' + esc(p.how || ('Rewards are sent in POL from ' + p.n + '\'s own payout wallet straight to the wallet on your account, on the Polygon network. Every payment is a public transaction you can open on Polygonscan.')) + '</p>';
h += '<div class="sec-head"><h2>Latest ' + esc(p.n) + ' payouts</h2><p><a href="/ledger?p=' + p.k + '">All of them</a></p></div>' + tableHead(true) + ledgerRows(rows, true) + '</tbody></table></div>';