Reward tiers off by default (flat $0.25 at launch); hub-blocked sponsors are skipped (pass-up)

- config: REWARD_TIERS defaults to none (the every-25th $2.50 tier stays available as a setting); the "bigger tiers" sentence only
  shows when a tier is configured.
- hubline: the walk reads the raw hub answer so it continues past a blocked sponsor instead of stopping; entries carry `blocked`.
  /api/my/order skips blocked members like no-wallet ones, so the level passes up.
- e2e: B -> no-wallet -> hub-blocked (with a wallet) -> O -> S: both skipped, O and S each get 10%, the blocked one gets nothing;
  tiers off checked. 63/63. Chatbot QA 108/108.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-11-17 05:23:56 -06:00
parent 608ec6547b
commit a3f3f10fb8
9 changed files with 30 additions and 18 deletions
+3 -3
View File
@@ -7,11 +7,11 @@ Launch numbers APPROVED by Marty 2026-11-17: Boost $5 = a 7-day board spot (plac
their branch (paid by the contract in the same tx); reward pot 10% of every Boost; 5 sponsor levels x 10% (company keeps 20%); split
immutable on chain; new-member reward $0.25 in POL per verified brand-new network member through a branch, cap 10/day per person;
10 ad credits per 100 verified views. Still proposals: the global pot cap figure ($25/day, `POT_DAILY_CENTS` display + the contract's
`potDailyMaxCents`) and the tier bonus (every 25th sign-up $2.50 locked 14 days). Payouts of sign-up rewards are OFF on staging
`potDailyMaxCents`). Reward tiers are OFF at launch (flat $0.25 only; `REWARD_TIERS` can turn one on later). Payouts of sign-up rewards are OFF on staging
(`REWARD_PAYOUTS`).
**Members earn for free.** A Boost buys placement only. Level shares and the resharer cut need only a network sign-in (hub member) and a
linked wallet. Compression: `/api/my/order` drops everyone in the hub sponsor line without a wallet, so each level passes up to the next
linked wallet. Compression: `/api/my/order` drops everyone in the hub sponsor line without a wallet or hub-blocked, so each level passes up to the next
eligible person; levels left when the line runs out go to the company; with no resharer, the 20% resharer cut goes to the company.
## What it does
@@ -59,7 +59,7 @@ eligible person; levels left when the line runs out go to the company; with no r
npm install
node tools/pages.mjs # regenerate public/*.html (one source of copy + legal facts)
node tools/art.mjs # icon, OG image, proof cards, kit creatives (Playwright)
node qa/e2e.mjs # 61 checks: real VASShop on a local anvil chain + stand-in hub (needs ../contracts built)
node qa/e2e.mjs # 63 checks: real VASShop on a local anvil chain + stand-in hub (needs ../contracts built)
node qa/chatbot.test.mjs # the site assistant
```
Env: `.env.example`.