diff --git a/public/assets/common.js b/public/assets/common.js index 2504e52..4955578 100644 --- a/public/assets/common.js +++ b/public/assets/common.js @@ -83,18 +83,18 @@ window.IAP = (function () { ? String(ev.names[id]).replace(/[&<>]/g, '') : 'member #' + id; switch (ev.type) { - case 'Purchase': return '🧾 ' + nm(ev.buyerId) + ' bought package #' + ev.productId + case 'Purchase': return '' + nm(ev.buyerId) + ' bought package #' + ev.productId + ' (' + fmtUsd(ev.priceCents) + ') for ' + pol(ev.paidWei) + ' → +' + ev.creditAmount.toLocaleString() + ' credits'; - case 'TierPaid': return '💸 level ' + ev.tier + ' payout → ' + nm(ev.recipientId) + ': ' + pol(ev.amountWei) + case 'TierPaid': return 'level ' + ev.tier + ' payout → ' + nm(ev.recipientId) + ': ' + pol(ev.amountWei) + (ev.hops ? ' (passed up ' + ev.hops + ')' : ''); - case 'PassedUp': return '↷ level ' + ev.tier + ' passed over ' + nm(ev.skippedId) + ' (' + ev.reason + ')'; - case 'AdminPaid': return '🏛 platform fee settled: ' + pol(ev.amountWei); - case 'BuyerCounted': return '⭐ ' + nm(ev.sponsorId) + ' now has ' + ev.newCount + ' qualifying buyer(s)'; - case 'MemberActivated': return '👤 ' + nm(ev.id) + ' activated a payout wallet'; - case 'AwardPaid': return '🎁 award: ' + pol(ev.amountWei) + ' → ' + nm(ev.toId); - case 'CreditsConsumed': return '📣 ' + nm(ev.memberId) + ' ran ads: −' + ev.amount.toLocaleString() + ' credits'; - case 'PriceCached': return '🔮 oracle price refreshed'; - case 'FallbackPriceUsed': return '🔮 cached price bridged an oracle gap'; + case 'PassedUp': return 'level ' + ev.tier + ' passed over ' + nm(ev.skippedId) + ' (' + ev.reason + ')'; + case 'AdminPaid': return 'platform fee settled: ' + pol(ev.amountWei); + case 'BuyerCounted': return '' + nm(ev.sponsorId) + ' now has ' + ev.newCount + ' qualifying buyer(s)'; + case 'MemberActivated': return '' + nm(ev.id) + ' activated a payout wallet'; + case 'AwardPaid': return 'award: ' + pol(ev.amountWei) + ' → ' + nm(ev.toId); + case 'CreditsConsumed': return '' + nm(ev.memberId) + ' ran ads: −' + ev.amount.toLocaleString() + ' credits'; + case 'PriceCached': return 'oracle price refreshed'; + case 'FallbackPriceUsed': return 'cached price bridged an oracle gap'; default: return '· ' + ev.type; } } diff --git a/public/assets/my.js b/public/assets/my.js index 532d798..7a504f9 100644 --- a/public/assets/my.js +++ b/public/assets/my.js @@ -1490,9 +1490,9 @@ // ── Qualified Start calculator ── (function () { const n = $('qcN'), pk = $('qcPkg'), out = $('qcOut'); if (!n || !pk || !out) return; - const CR = { 20: 2000, 50: 5500, 100: 12000, 250: 32500 }; + const CR = { 25: 2500, 50: 5000, 100: 10000, 250: 25000, 500: 50000 }; // flat credits = cents (Marty 2026-10-07) const calc = () => { - const k = Math.max(1, Math.min(10, Number(n.value) || 1)), usd = Number(pk.value) || 20; + const k = Math.max(1, Math.min(10, Number(n.value) || 1)), usd = Number(pk.value) || 25; const gross = k * usd, back = gross / 2, net = gross - back, credits = k * (CR[usd] || 0); const level = k >= 5 ? 'Level 3 open (and level 2): the Nexus badge, wall position 3, full 50 / 20 / 10' : k >= 2 ? 'Level 2 open: 20% on your directs\' buyers, wall position 2' : 'Counts as one qualifying buyer. One more opens level 2.'; out.innerHTML = '
What it costs to open each level with your own positions, what comes straight back to your main wallet, and the ad credits you end up holding.
- +