Files
vbb/public/ledger.html
T
martbost 2fe3d9e4c0 Trust pack (Marty 2026-11-14): contract proof, live ledger, proof toasts, Telegram sale cards, legal pages, network footer.
- proof.js: /api/ledger (each VBBShop purchase with its split read from the receipt's Paid/PaymentFailed events, else the contract's fixed 30/10/60 math; weekly prize transfers with their transactions), /api/contract (owner, prize wallet, company, keeper, paused, orders, balance and owed, read live and cached 5 min; Sourcify exact match, Polygonscan pending).
- Telegram (CTB Rewards bot, payments topic, TG_TOKEN/TG_CHAT/TG_PAY_TOPIC same as Downline Banners): one photo card per purchase (prebuilt VBB proof image rotated, buyer, sponsor/prize/company split in POL, this week's purchases + prize pot, Polygonscan + ledger links) and one line per confirmed prize payout. Hooks: shop.setHook (newly credited purchases only) and prize.setHook (confirmed transfers); once per tx via an in-process guard plus docstore.claim; nothing older than 2 hours.
- Pages /contract, /ledger, /terms, /disclaimer (Earnings Disclaimer), /privacy (TrustClickz, real mechanics: advertising not income, same-transaction split, prize wallet holds the 10% until Monday, no refunds on-chain, one-time purchases, crypto risk, data incl. hashed visit checks and the network hub); sitemap.
- Footer: Terms, Earnings Disclaimer, Privacy, Contract, Ledger, Support, company line, 'Part of the network' from the hub (netsites.js, /api/network-sites, fallback list), VBB marked current. Toasts add purchases and prize payouts.
- tools/proof-art.mjs renders public/art/proof/vbb-proof-{pink,blue,yellow}.png. common.js?v=5, vbb.css?v=6.
chain.mjs 49/49 (real contract on anvil + stand-in Telegram: exact split, 2 cards, no repost on rescans, 6 prize lines). smoke 241/241.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 10:38:40 -06:00

42 lines
3.1 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover">
<title>Live Ledger | Viral Banner Blitz</title>
<meta name="description" content="Every Viral Banner Blitz purchase and weekly prize payout on Polygon, with the split paid in the same transaction and a link to verify each one.">
<link rel="canonical" href="https://viralbannerblitz.com/ledger">
<meta property="og:type" content="website">
<meta property="og:site_name" content="Viral Banner Blitz">
<meta property="og:title" content="Live Ledger | Viral Banner Blitz">
<meta property="og:description" content="Every Viral Banner Blitz purchase and weekly prize payout on Polygon, with the split paid in the same transaction and a link to verify each one.">
<meta property="og:url" content="https://viralbannerblitz.com/ledger">
<meta property="og:image" content="https://viralbannerblitz.com/art/og-share.png">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta property="og:image:alt" content="Viral Banner Blitz: a community banner loop that moves with every verified visitor">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Live Ledger | Viral Banner Blitz">
<meta name="twitter:description" content="Every Viral Banner Blitz purchase and weekly prize payout on Polygon, with the split paid in the same transaction and a link to verify each one.">
<meta name="twitter:image" content="https://viralbannerblitz.com/art/og-share.png">
<meta name="theme-color" content="#ffd400">
<link rel="icon" type="image/svg+xml" href="/art/mark.svg"><link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,700;12..96,800&family=DM+Sans:wght@400;500;700&family=Space+Mono:wght@400;700&display=swap">
<link rel="stylesheet" href="/assets/vbb.css?v=6">
</head>
<body>
<main class="wrap">
<section class="hero"><span class="eyebrow"><i></i>Live from Polygon</span><h1>The live <em>ledger</em></h1><p class="lead">Every purchase and every weekly prize payout, with the transaction to check it. Purchases are split by the contract in the same transaction they are paid.</p></section>
<div class="stats" id="totals"></div>
<div class="card">
<h2>Purchases and prize payouts</h2>
<div style="overflow-x:auto"><table class="t" id="rows"><thead><tr><th>When</th><th>What happened</th><th>Paid in the same transaction</th><th>Verify</th></tr></thead><tbody><tr><td colspan="4" class="muted">Loading...</td></tr></tbody></table></div>
<p class="muted small">Purchases buy advertising: post credits and the banner look. They are not an investment and nothing is promised. Prize payouts go from the prize wallet to the weekly leaderboard winners. <a href="/contract">How to check the contract</a>.</p>
</div>
<div id="status" class="note" hidden></div>
</main>
<script src="/assets/common.js?v=5"></script>
<script src="/assets/ledger.js?v=1"></script>
</body>
</html>