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:
+9
-1
@@ -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'])
|
||||
|
||||
Reference in New Issue
Block a user