Oracles

Price feeds are sourced from the following providers:

https://docs.api3.org/

Macaron employs the classic push model for all assets, meaning that providers periodically push prices on-chain according to defined parameters. The Macaron contracts relying on these prices pull the information directly from these providers.

For asset pricing, Macaron primarily uses Api3 dAPIs. These are on-chain decentralized data feeds directly sourced from first-party oracles managed by API providers themselves through Airnode. The data in these feeds is continuously refreshed and authenticated with signed data.

Each dAPI price feed has a built-in heartbeat and deviation threshold to guarantee the data is always up-to-date and reliable.

Last updated