Version v1.2.25
Rilegato DAO raffle accounting and settlement tracking.
Public Ledger
Current, upcoming, historic, projected, and settled raffles with public calculation and settlement references.
Admin Wallet Gate
v1.2.7 · Wallet verified admin shell
Connect Solflare or Phantom and sign the server nonce. This authorizes an admin session only; it is not a transaction and cannot move funds.
Primary admin wallet: 8pmN…jY3k
8pmN…jY3k
Wallet Admin
Complete acquisition details, review projections, and save draft raffle calculations.
When override is checked, this adjusted rate is used for all calculations while the locked live rate remains unchanged.
Current rate is live/refreshed until this raffle is saved. After save, the rate is locked for this raffle. Historical/manual settlements can use the adjusted override above.
Live quote status has not been refreshed in this session.
Upload one public display photo per prize line. Prize 1 becomes the current raffle display image. Support photos and Solscan purchase links are admin-only support records.
Images are stored as files. Only metadata and paths are stored in the database.
Change Breakeven Target ticket amount to adjust raffle ticket pricing.
All accepted-token sales are accounted as the locked EMPIRE ticket value for settlement.
Add tokens line by line from the list or enter a custom SPL mint.
Stage 1 records projections only. It does not send vault funds.
No calculation yet.
Wallet Admin · Read Only
Read-only raffle performance dashboard. Statistics summarize existing raffle, close, settlement, and future ticket-wallet records without changing the ledger.
Statistics have not been loaded yet.
Top wallets by tracked tickets purchased. Full rows remain in the database; this panel only displays the configured top limit.
Confirm webhook-created raffles and settle completed raffles.
Select a draft raffle and a matching webhook notification, then merge them into a confirmed raffle. If webhook fields conflict with draft fields, webhook values take precedence on the confirmed raffle.
This mode confirms raffle records for settlement readiness. It does not send vault funds.
No draft raffle records loaded yet.
Incoming webhook endpoint: /api/webhooks/raffle
/api/webhooks/raffle
No webhook notifications loaded yet.
Select a draft raffle card to begin.
Confirmed raffle records are ready for settlement. View the merged record/source records or revert an un-settled merge with double confirmation.
No confirmed raffles loaded yet.
Select a confirmed raffle, enter total tickets sold for manual settlement, preview actual profit/loss, then approve the split calculation.
v1.2.7 stages approved settlement rows, then executes settlement transfers from the verified vault keypair after hard preflight.
Manual Settlement selected. Enter tickets sold, preview, stage splits, then execute transfers.
Select a confirmed raffle to begin.
Most recent settled raffles are shown first. Open a settled record to view final calculations and onchain transfer details.
No settled raffles yet.
Password Protected
Incoming webhook storage, optional URL-token protection, and outgoing webhook setup are managed here.
Current endpoint display: /api/webhooks/raffle
Tokenized raffle endpoint: https://rafflestats.rilegatodao.xyz/api/webhooks/raffle?token=PRIVATE_TOKEN
https://rafflestats.rilegatodao.xyz/api/webhooks/raffle?token=PRIVATE_TOKEN
Trusted automation endpoint: https://rafflestats.rilegatodao.xyz/api/webhooks/raffle?token=PRIVATE_TOKEN
MOB-style numeric alias: https://rafflestats.rilegatodao.xyz/api/webhooks/1234567890123456789/PRIVATE_TOKEN
https://rafflestats.rilegatodao.xyz/api/webhooks/1234567890123456789/PRIVATE_TOKEN
19-digit alias ID will appear after token setup.
Incoming webhook token is required by default. Missing or wrong tokens are rejected before raw payload storage.
URL token required
Header: x-raffle-stats-signature as HMAC SHA256.
x-raffle-stats-signature
Rotate this when Mob is ready. The full tokenized endpoint is shown once after rotation so it can be copied into Mob.
Raffle Stats can forward selected safe fields to Discord or a generic JSON webhook. The test button sends a real outgoing webhook.
The stored destination stays masked by default. Reveal or copy only when you need to recover the Discord/MOB forwarding URL.
These checkboxes appear after real MOB payloads are received. Secrets, headers, tokens, signatures, vault details, and private config are excluded.
Vault status and keypair replacement are protected. Settlement transfers execute only after hard sender preflight and explicit admin-wallet confirmation.
Not loaded.
Use the hot-wallet vault keypair only. Accepted formats: Solana CLI JSON array of 64 numbers, base58 secret key, hex secret key, or JSON object with secretKey, secretKeyBase58, or secretKeyHex. The public wallet address is optional but recommended; if supplied, it must match the private key before the app writes the vault file.
secretKey
secretKeyBase58
secretKeyHex
Default split is Rev Share/Holders 50%, DAO Treasury 40%, Lieutenant 10%. Active rows must total 100.
View tables and delete one row with typed confirmation. All changes are audit logged.
Title, version subtitle, theme, logo, and password manager are sensitive settings.
Administrative tools for the read-only Raffle Statistics mode. MOB ticket-purchase payload shape is not confirmed yet, so the wallet leaderboard reads only from normalized rows in raffle_ticket_wallet_entries. No MOB parser is enabled in this build.
raffle_ticket_wallet_entries
Adjust the raw Jupiter quote amount used for each non-pegged partner token. These are raw token units sent to Jupiter for token → SOL first, then token → USDC fallback. SOL → EMPIRE remains the protected live core quote.
Add, edit, or delete Web3 admin wallet access. Each wallet should include a note.
MFA is off by default. New passwords must be at least 10 characters.
Administrative Password Required
Wallet admin is verified. Enter the administrative password once to unlock all protected modes for this session.