Architecture
Solana Program
Handles pool lifecycle, staking, and payouts on-chain. All financial settlement is transparent and verifiable.
Private Execution (MagicBlock's Private Ephemeral Rollups)
Processes predictions, updates, and reward calculations securely off-chain, preventing data leakage before settlement.
Oracle Integration
Integrates with Pyth Oracle to source final outcome data at the exact pool deadline.
Backend Services
Coordinates resolution and submission of results, bridging private computation with on-chain settlement.
Data Flow
User submits prediction
Prediction is sent to the private execution environment — it is not visible on-chain.
Private execution calculates weights
Accuracy scores, time bonuses, and conviction bonuses are computed securely.
Design Goals
| Property | Mechanism |
|---|---|
| Transparency | On-chain settlement via Solana |
| Privacy | Off-chain computation via MagicBlock TEE |
| Trustless outcomes | Pyth Oracle-sourced final values |
| Liveness | Automated backend resolution |

