Stack POL: YourProgramBuilder program (live 2026-11-17, standing rule): programs.js 'ypb' (/earn/yourprogrambuilder, join via LinkSpin nwypb src=stackpol), card image ypb.jpg (YPB og image), netsites list, layout ref swap for yourprogrambuilder.com, indexer YPBShop rows (Paid kind 1-5 + Claimed; company/keeper excluded, cache ypb-chain.json)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-11-17 11:37:28 -06:00
parent edaf7bb979
commit cb2e090782
5 changed files with 16 additions and 2 deletions
+1 -1
View File
@@ -150,7 +150,7 @@ function personalize(html, who, st) {
// it on as ?ref=); Earners Corner (nwec) takes none // 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 + '&amp;s1=' + who + '"'; if (/^https:\/\/linkspin\.app\/r\/nw[a-z]+\?/.test(h) && !/[?&](?:amp;)?s1=/.test(h)) return /\/r\/nwec\?/.test(h) ? m : 'href="' + h + '&amp;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:\/\/(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; return m;
}); });
} }
+1
View File
@@ -9,6 +9,7 @@ const FALLBACK = [
{ id: 'vbb', name: 'Viral Banner Blitz', url: 'https://viralbannerblitz.com' }, { id: 'vbb', name: 'Viral Banner Blitz', url: 'https://viralbannerblitz.com' },
{ id: 'viraladblitz', name: 'ViralAdBlitz', url: 'https://viraladblitz.com' }, { id: 'viraladblitz', name: 'ViralAdBlitz', url: 'https://viraladblitz.com' },
{ id: 'viraladsource', name: 'ViralAdSource', url: 'https://viraladsource.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: 'fivex', name: '5xYourTeam', url: 'https://5xyourteam.com' },
{ id: 'downlinehydra', name: 'DownlineHydra', url: 'https://downlinehydra.com' }, { id: 'downlinehydra', name: 'DownlineHydra', url: 'https://downlinehydra.com' },
{ id: 'stackpol', name: 'Stack POL', url: 'https://stackpol.com' }, { id: 'stackpol', name: 'Stack POL', url: 'https://stackpol.com' },
+5
View File
@@ -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 }), { 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.', 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.' }, 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=<username>.
// 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=<username>. // 5xYourTeam The Draft (live 2026-11-15): join through the LinkSpin network link (nw5x, src=stackpol), landing on 5xyourteam.com/?ref=<username>.
// Facts from the 5x app (README, config) and the DraftPosition contract 0x83Bb...bc74 only. // 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 }), { 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 }),
Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

+9 -1
View File
@@ -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). 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. 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 - 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 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. 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. 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 = # 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 # 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. # 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_SHOP = '0x7efe7b6ac1e666555f70d005e2cf1637804c4f24'
VAS_START = 97473297 # deploy block (the app's SHOP_START_BLOCK) VAS_START = 97473297 # deploy block (the app's SHOP_START_BLOCK)
VAS_HOUSE = {VAS_SHOP, '0x7627fc78876948ac9d95c1c9eb061e7d6d647b70', '0xc76ca7dd499338299c2b4bde2dc5c61bf2a97aae', '0x2fe1afedc6ba13fea4e820e7f4c67e6ea40dd9d6'} # + company (Tangem), keeper, relay 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) sr, snote = vab_rows(dry, 'vas', VAS_SHOP, VAS_START, VAS_HOUSE, 'vas-chain.json', 6, VAS_TOPICS)
rows += sr rows += sr
print(snote) print(snote)
yr, ynote = vab_rows(dry, 'ypb', YPB_SHOP, YPB_START, YPB_HOUSE, 'ypb-chain.json')
rows += yr
print(ynote)
# wallet -> username # wallet -> username
wu = iap_wallet_users() wu = iap_wallet_users()
lsd = voldir(CHAINS['ls']) lsd = voldir(CHAINS['ls'])