You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-4Lines changed: 3 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,14 @@
1
1
# Morpho Blue Oracles
2
2
3
-
[Morpho Blue](https://github.com/morpho-org/morpho-blue) is a trustless lending primitive that offers unparalleled efficiency and flexibility.
4
3
5
-
Morpho Blue Oracles are contracts that can be used as oracles for markets on Morpho Blue.
6
-
The oracles must implement the `IOracle` interface defined in [`IOracle.sol`](https://github.com/morpho-org/morpho-blue/blob/main/src/interfaces/IOracle.sol#L9): it is supposed to return the price of 1 asset of collateral token quoted in 1 asset of loan token.
4
+
Morpho Blue Oracles are contracts that can be used as oracles for markets on [Morpho Blue](https://github.com/morpho-org/morpho-blue).
5
+
The oracles implement the `IOracle` interface defined in [`IOracle.sol`](https://github.com/morpho-org/morpho-blue/blob/main/src/interfaces/IOracle.sol#L9): they return the price of 1 asset of collateral token quoted in 1 asset of loan token.
7
6
8
7
## ChainlinkOracle
9
8
10
9
The `ChainlinkOracle` is an oracle that uses Chainlink-compliant feeds to provide price data.
11
10
12
-
This Oracle handles the following cases among others (let's say that our pair is A/B):
11
+
This oracle handles the following cases among others (let's say that our pair is A/B):
13
12
- A/B is a feed (typically, stETH/ETH).
14
13
- B/A is a feed (typically, ETH/USDC).
15
14
- A/C and B/C are feeds (typically, stETH/ETH and USDC/ETH).
0 commit comments