Fate Protocol: Bull/Bear Coins as Native Oracles
I’m proposing to build Fate’s oracle system by turning bull and bear prediction pools into Chainlink-compatible price feeds that other DeFi protocols can use. This covers all five AOSSIE-defined tasks, along with a few practical improvements I identified while working with the codebase. For the core, I’ll implement IFateOracle with round-based price history and a sentiment-based price mechanism using multiple strategies like DIRECT, WEIGHTED, and EWMA. A FateOracleAdapter will provide Chainlink compatibility through AggregatorV3Interface. Since pools rebalance on every trade, each buy or sell naturally produces a new oracle data point. Alongside this, I’ll address some real issues I came across, like the hardcoded 18-decimal assumption that breaks certain pools, high RPC usage on the portfolio page, and fee accumulation that can’t currently be withdrawn. I’ll also add a subgraph for historical data, price impact estimation, and improvements to the explorer and creator dashboard, based on actual gaps in the current system.
Project details
Technologies
Not listed in the archive