What are computational feeds
Pragma is an oracle fully on-chain. All the data that you consume through Pragma smart-contracts was aggregated from data that was pushed on-chain by reputable exchanges and market makers. This makes Pragma oracle transparent, and auditable, but also programmable. You can compose and program data with Cairo, in order to get the right computed data for your protocol.
Pragma has designed compute engines that use the same raw market data underlying our price feeds, but calculate different metrics to produce feeds of processed data. We call these new feeds computational feeds. Since computational feeds operate entirely on-chain, they don't introduce any new security assumptions.
You can find contract addresses below:
Mainnet
Feed | Address | Explorer |
---|---|---|
Realized Volatility/ TWAP | 0x49eefafae944d07744d07cc72a5bf14728a6fb463c3eae5bca13552f5d455fd | Starkscan Voyager |
Yield Curve | ❌ | Starkscan Voyager |
Sepolia
Feed | Address | Explorer |
---|---|---|
Realized Volatility/ TWAP | 0x0379afb83d2f8e38ab08252750233665a812a24278aacdde52475618edbf879c | Starkscan Voyager |
Yield Curve | ❌ | Starkscan Voyager |