Oracle

What are oracles?

EraLend utilizes the decentralized Pyth oracle networkarrow-up-right, which provides up-to-date token prices data to smart contracts on zkSync Mainnet.

circle-check

How does EraLend utilize oracles?

The EraLend protocol utilizes its respective pythOraclearrow-up-right contract to retrieve frequently stored price updates.

EraLend Oracle Contracts

At EraLend, the on-chain manifestation of the oracle is the pythOraclearrow-up-right contract, which stores prices that are frequently updated by the oracle. The primary user of these prices is the Comptrollerarrow-up-right contract, which needs them to evaluate the user's asset status to determine eligibility for liquidation.

Constituent Contracts

Contract
Description

The oracle is responsible for collecting and updating all token prices known to the EraLend system.

The EraLend audit contract which receives token prices from the oracle, and supplies them to all contracts that need it.

Last updated