About
Perpetual Share Distribution Prediction Market 馃毄 The Problem Traditional prediction markets are designed around discrete events: Will candidate X win?, Will GDP grow above 2%? etc. While useful, they can't naturally represent continuous phenomena such as asset shares in an index, usage of a protocol over time, or the distribution of attention across competing platforms.
Real-world systems are often about relative change within a bounded total:
How the market share of an asset changes
How a protocol metric grows relative to others
How probability mass shifts across competing outcomes
These are distributions over continuous variables, and the core insight is that predicting those distributions is a richer and more expressive forecasting task.
馃挕 The Idea
This project implements a perpetual, on-chain prediction market where users can trade on their beliefs about the future share (or weight) of a continuous metric within a normalized distribution.
The key features are:
Continuous targets: The market doesn鈥檛 predict single-point outcomes but entire distributions over multiple objects (e.g., the future proportion of asset A in a portfolio).
Perpetual structure: The market pays out continuously over time, using a geometric decay (parameterized by gamma) to weight near-term predictions more heavily but still reward longer-term accuracy.
AMM-based pricing: Inspired by LMSR-style cost functions, the system uses a liquidity-sensitive automated market maker to ensure price updates reflect aggregate belief shifts.
Normalized payouts: Users are rewarded proportionally to how the share of their predicted variable evolves in the reference distribution (e.g., if asset A grows from 0.2 to 0.4, the user is rewarded for that change).
馃敡 Mechanics
Reference metric: An external oracle supplies periodic updates of normalized continuous variables (e.g., prices, usage stats). These are used to compute the evolving target distribution.
Payouts: Rather than a single final payout, the system performs integrated or streaming payouts based on how the predicted distribution matches the realized one over time. Think of it as getting paid the area under the curve of your prediction accuracy.
Lazily-evaluated accounting: To keep gas costs manageable, payouts are computed lazily鈥攐n user interactions鈥攂y tracking each participant's last checkpoint time and adjusting share value accordingly.
Anti-manipulation: The design assumes data volatility control (oracle quality) and makes predictions backward-looking鈥攊.e., payouts are based on finalized past data, reducing incentive to manipulate incoming data.
馃搱 Example Use Cases
DeFi indexes: Predict which token in a basket will increase its share of total market cap over the next month.
Social media metrics: Forecast relative attention share across trending topics or influencers.
Protocol metrics: Predict how usage, gas share, or adoption shifts across L2 chains.
馃М Theoretical Foundation
Builds on liquidity-sensitive LMSR ideas (see CMU paper)
Connects to recent work on unresolvable prediction markets where ground-truth resolution is continuous or probabilistic (arXiv:2306.04305)
馃搵 Status and Next Steps
Simulation of payout mechanics to validate that the proposed effective LMSR and streaming payout logic produce rational, incentive-aligned behaviors.
On-chain prototype, focusing on lazy accounting, use of exp/log, and identifying optimal chains with low gas for LMSR ops.
Oracle integration with safeguards to avoid gaming or latency effects.
User design: UI/UX to show shifting distributions and incentive trajectories over time.
Stop-loss & reinvestment mechanics: Exploring optional features to let users automate defensive or compounding strategies.
Prizes
- Flare Network 路 BONUS TRACK: external data source or cross chain application 路 BONUS TRACK: external data source or cross chain application
- Hedera 路 Hedera EVM: Smart Contracts & Cross鈥慍hain Integrations 路 2nd place
From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.






