Market

More details on Market DIA Oracles

Oracles Implementation

Gas Wallets

Gas wallets are used to push data to oracle contracts. To ensure uninterrupted oracle operation, Cooper Labs is maintaining sufficient gas in them. Anyone can monitor the wallets below to ensure they remain adequately funded at all times.

Oracles Configuration

Settings that dictate how the oracle computes and updates data.

Pricing Methodology

Volume Weighted Average Price with Interquartile Range Filter (more details here)

Deviation (%) & Refresh Frequency

0.5% & 120 Seconds

Heartbeat

12 Hours

Assets Data

Available assets on the oracles and the Chainlink AggregatorV3Interface compatible contracts for each asset feed.

Price Feed
Contract Address
Type
Deviation (%) & Refresh Frequency
Hearbeat

USDp/USD

Market

0.5% & 120 Seconds

12 hours

sUSDp/USD

Market

0.5% & 120 Seconds

12 hours

Data Sources

Price Feed
API Endpoint

USDp/USD

sUSDp/USD

How the Oracle Works

The market-based oracle aggregates trades from decentralized exchanges across multiple chains (Base, Sonic, etc.) using the VWAPIR methodology over a 1-hour window. Price updates are triggered when market prices deviate by 0.5% or every 12 hours as configured here.

The sUSDp/USD value can also be retrieved using the chainlink-compatible adapter smart contract for sUSDp/USD.

Last updated

Was this helpful?