01
operator model
How the house makes money
Dual currency
SOL (real-money settled on Solana) + free (play currency for new users / level gating).
Bet-tier structure
maxBetTiers = [{ maxMultiplier, maxBetSol }, …]. Function V4(target, coin, tiers) picks the highest-maxBet tier whose maxMultiplier covers the user's target. Higher target multiplier → lower allowed bet. Caps variance payout per round for the operator.
House edge
Function z4(target, bet, houseEdge) returns the house-expected multiplier; filtered as z4(...) > 1. House edge is applied at the odds/target level — the client only sees it indirectly via maxWinChance clipping (prevents 1 × house-edge inversions that would guarantee +EV).
Max win chance
maxWinChance filter on R4(target, coin). Any bet whose implied win chance exceeds this is refused. Blocks skew-exploitation of low-target side bets.
XP + rakeback crates
xpRakeback and xpDaily tracked per account. nextAvailableAt gates daily crate claim. rakebackCrates is a numeric count. Users wager → earn XP → open crates → extract value back (not full rebate; crate odds are themselves house-edged).
Rugpool jackpot
Ticket-per-trade pool that pays out on standard-game rugs. Variance-sink that keeps users engaged across rugs.
Crate types
daily_or_rakeback, referral. Referral crate paid out from new-user wagering. XP-levels gate access to higher-value crates.
02
crate tiers
Reward tier structure
03
per-round caps
Config constants observed
04
leverage
Leveraged positions + explicit shorts
Rug Pull supports LEVERAGED positions (`leveragedPositions[]` in app state) alongside unleveraged longs and explicit short positions (`shortPosition`). This expands the trade surface and the attack surface.
- Leverage multiplies both win and loss on the recovered price curve.
- Liquidation thresholds are deterministic given leverage × entry price → attacker with recovered seed knows exact liquidation ticks for every open leveraged position.
- Shorts can be opened against a predicted rug → shorting at tick (rug - 20) with max leverage returns ~50x if the entry/liquidation math holds.
- Config flag seen: 'Leverage is currently disabled for this token' — operators can disable leverage per token/game.
05
referral
Partnership + anti-abuse
Program
Referral program has its own API-key issuance (`socketReferralPartner.getApiKey`). Partners get programmatic access to referral stats.
Anti-abuse
A `socketReferralAbuseTest` module exists with `setSeedOverlapData` — the operator actively detects seed-overlap patterns indicating self-referrals (same device/wallet fingerprint across accounts). Suggests this attack has been attempted enough times to warrant specific tooling.
Terms
Public ToS calls out 'self-referrals and referral abuse' as explicitly banned.
Pass-through
Referral crates are a real reward (`referral.png`) — new users' wagering flows back through referrers.
06
maintenance
Admin kill-switch
Admin-triggered server reboot via `socketAdmin.setMaintenanceMode({active, message})`. Default message: 'Server will reboot after this round.'
- Mid-round seed selection advantage — if admin can toggle maintenance between commit and reveal, selective rounds could be dropped (serving a different reveal after reconnect). Related to V7 bypass.
- User-facing banner reduces confusion but also provides a public attack signal: statistical correlation of maintenance windows with pool-skew rounds would be smoking gun for V2-style adaptive seeding.