diff --git a/layout.js b/layout.js index f4359de..746ec45 100644 --- a/layout.js +++ b/layout.js @@ -150,7 +150,7 @@ function personalize(html, who, st) { // it on as ?ref=); Earners Corner (nwec) takes none if (/^https:\/\/linkspin\.app\/r\/nw[a-z]+\?/.test(h) && !/[?&](?:amp;)?s1=/.test(h)) return /\/r\/nwec\?/.test(h) ? m : 'href="' + h + '&s1=' + who + '"'; if (/^https:\/\/(instantadpay\.com|linkspin\.app)\//.test(h)) return 'href="' + h.replace(/\/join\/martbost\b/, '/join/' + who).replace(/([?&](?:amp;)?ref=)martbost\b/, '$1' + who).replace(/([?&](?:amp;)?s1=)martbost\b/, '$1' + who) + '"'; // s1 = the member on a LinkSpin network link (nwvbb, 2026-11-15) - if (/^https:\/\/(downlinebanners\.com|viralbannerblitz\.com|viraladblitz\.com|viraladsource\.com|5xyourteam\.com|downlinehydra\.com)\//.test(h)) return 'href="' + h.replace(/([?&](?:amp;)?ref=)martbost\b/, '$1' + who) + '"'; + if (/^https:\/\/(downlinebanners\.com|viralbannerblitz\.com|viraladblitz\.com|viraladsource\.com|yourprogrambuilder\.com|5xyourteam\.com|downlinehydra\.com)\//.test(h)) return 'href="' + h.replace(/([?&](?:amp;)?ref=)martbost\b/, '$1' + who) + '"'; return m; }); } diff --git a/netsites.js b/netsites.js index de6537b..3991d65 100644 --- a/netsites.js +++ b/netsites.js @@ -9,6 +9,7 @@ const FALLBACK = [ { id: 'vbb', name: 'Viral Banner Blitz', url: 'https://viralbannerblitz.com' }, { id: 'viraladblitz', name: 'ViralAdBlitz', url: 'https://viraladblitz.com' }, { id: 'viraladsource', name: 'ViralAdSource', url: 'https://viraladsource.com' }, + { id: 'yourprogrambuilder', name: 'YourProgramBuilder', url: 'https://yourprogrambuilder.com' }, { id: 'fivex', name: '5xYourTeam', url: 'https://5xyourteam.com' }, { id: 'downlinehydra', name: 'DownlineHydra', url: 'https://downlinehydra.com' }, { id: 'stackpol', name: 'Stack POL', url: 'https://stackpol.com' }, diff --git a/programs.js b/programs.js index 94020f0..f3d842a 100644 --- a/programs.js +++ b/programs.js @@ -30,6 +30,11 @@ const PROGRAMS = [ { k: 'vas', guides: 'https://viraladsource.com/guides', slug: 'viraladsource', n: 'ViralAdSource', c: '#c4371b', kind: 'Reshared text ads', verb: 'Join', app: true, site: 'https://viraladsource.com', join: u => tracked('viraladsource', 'stackpol', { s1: u }), d: 'Free text ads that travel by reshares. Network members post a text ad free; anyone can reshare it with their own link, and every reshare shows as a branch on the ad\'s family tree. A $5 Boost is a one-time purchase that puts an ad on top of the reshare board for 7 days, paid with SafePal or any other crypto wallet, never a subscription. The contract splits each Boost in the same transaction: 20% to the resharer whose link it came through, 10% to each of five levels up the buyer\'s line and 10% to a capped reward pot. No Boost is needed to receive a share. Nothing is promised.', how: 'Payouts here are what the ViralAdSource smart contract pays members in the same transaction as each Boost (the 20% resharer cut and the 10% level shares, five levels up the buyer\'s line), plus the small new-member rewards paid from its reward pot. The company share is not counted.' }, + // YourProgramBuilder (live 2026-11-17): join through the LinkSpin network link (nwypb, src=stackpol), landing on yourprogrambuilder.com/?ref=. + // Facts from the YPB app (decision pack answers 2026-11-17) and the YPBShop contract 0x44A0...3E2a only. + { k: 'ypb', guides: 'https://yourprogrambuilder.com/guides', slug: 'yourprogrambuilder', n: 'YourProgramBuilder', c: '#22844a', kind: 'Program directory', verb: 'Join', app: true, site: 'https://yourprogrambuilder.com', join: u => tracked('yourprogrambuilder', 'stackpol', { s1: u }), + d: 'An open program directory the network grows. Plant a program you already use, free: your link with your ID, checked every day. Network members save their own IDs in it, and a visitor who comes through a member sees the link of the member they came through first. At 10 saved IDs a program goes to review for the Crypto Team Build Network builder. A $10 Spotlight is a one-time purchase of 1,000 views, paid with SafePal or any other crypto wallet, never a subscription. Nothing is promised.', + how: 'Payouts here are the shares the YPBShop smart contract pays up the line of the buyer in the same transaction as each Spotlight: 20% to the direct sponsor and 5% to each of the next four levels. No Spotlight is needed to receive a share. The company share is not counted.' }, // 5xYourTeam The Draft (live 2026-11-15): join through the LinkSpin network link (nw5x, src=stackpol), landing on 5xyourteam.com/?ref=. // Facts from the 5x app (README, config) and the DraftPosition contract 0x83Bb...bc74 only. { k: 'fx', guides: 'https://5xyourteam.com/guides', slug: '5xyourteam', n: '5xYourTeam', c: '#ffc93c', kind: 'Team draft', verb: 'Join', app: true, site: 'https://5xyourteam.com', join: u => tracked('fivex', 'stackpol', { s1: u }), diff --git a/public/img/ypb.jpg b/public/img/ypb.jpg new file mode 100644 index 0000000..ef9a138 Binary files /dev/null and b/public/img/ypb.jpg differ diff --git a/tools/indexer.py b/tools/indexer.py index 03dc2ad..79dfcd2 100644 --- a/tools/indexer.py +++ b/tools/indexer.py @@ -9,7 +9,7 @@ weekly prize transfers listed in VBB's prizes.json, each checked on chain (sent by the prize wallet, to that winner, succeeded). The scan position and the checked prize transfers are cached in /root/stackpol-indexer/vbb-chain.json. - ViralAdBlitz (2026-11-15): VABShop Paid (level 1-5 shares) and Claimed logs read from Polygon the same way, cached in - /root/stackpol-indexer/vab-chain.json (ViralAdSource 2026-11-17: + resharer cut and pot rewards, vas-chain.json). These caches are the only files it writes. + /root/stackpol-indexer/vab-chain.json (ViralAdSource 2026-11-17: + resharer cut and pot rewards, vas-chain.json; YourProgramBuilder ypb-chain.json). These caches are the only files it writes. It builds one snapshot (network totals, per-program totals, last 7 days, latest 300 payouts, a stack per opted-in member) and POSTs it to https://stackpol.com/api/ingest with the key in /root/.stackpol-ingest-key. Nothing is written anywhere else. The ledger shows each payout's username (Marty 2026-11-09); only opted-in members get a public stack page. @@ -66,6 +66,11 @@ FX_HOUSE = {FX_SHOP, '0x7627fc78876948ac9d95c1c9eb061e7d6d647b70', '0x818daeedef # ViralAdSource (2026-11-17): VASShop on Polygon, read-only; same Paid/Claimed events as VABShop plus the reward pot. Member payouts = # Paid kind 1-5 (10% level shares) and kind 6 (the 20% resharer cut), RewardPaid (a new-member reward from the pot, unless its push # failed in that tx: then the later Claimed counts it), and Claimed by a member. Kind 0 = company; contract, company, keeper and relay excluded. +# YourProgramBuilder (2026-11-17): YPBShop on Polygon, read-only; same Paid/Claimed events as VABShop. Member payouts = Paid kind 1-5 +# (sponsor 20% + four levels 5%) + Claimed by a member (a failed push is owed and counted when claimed). Kind 0 = company; contract, company, keeper excluded. +YPB_SHOP = '0x44a02c5ece4e6eb0edc406a8020f289956803e2a' +YPB_START = 97486277 # deploy block (the app's SHOP_START_BLOCK) +YPB_HOUSE = {YPB_SHOP, '0x7627fc78876948ac9d95c1c9eb061e7d6d647b70', '0x5453a3973ed54cd2687c1675b73f1be5dacf26c4'} # + company (Tangem), keeper VAS_SHOP = '0x7efe7b6ac1e666555f70d005e2cf1637804c4f24' VAS_START = 97473297 # deploy block (the app's SHOP_START_BLOCK) VAS_HOUSE = {VAS_SHOP, '0x7627fc78876948ac9d95c1c9eb061e7d6d647b70', '0xc76ca7dd499338299c2b4bde2dc5c61bf2a97aae', '0x2fe1afedc6ba13fea4e820e7f4c67e6ea40dd9d6'} # + company (Tangem), keeper, relay @@ -371,6 +376,9 @@ def main(): sr, snote = vab_rows(dry, 'vas', VAS_SHOP, VAS_START, VAS_HOUSE, 'vas-chain.json', 6, VAS_TOPICS) rows += sr print(snote) + yr, ynote = vab_rows(dry, 'ypb', YPB_SHOP, YPB_START, YPB_HOUSE, 'ypb-chain.json') + rows += yr + print(ynote) # wallet -> username wu = iap_wallet_users() lsd = voldir(CHAINS['ls'])