Skip to content

Commit 07868d1

Browse files
committed
fix: apply suggestions
1 parent 6bf8327 commit 07868d1

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,10 @@ This oracle handles the following cases among others (let's say that our pair is
1818
- A/C and C/B are feeds (typically, WBTC/BTC and BTC/ETH).
1919
- A'/C and B/C are feeds, and there is an exchange rate between A and A'. (typically A=sDAI and A'=DAI).
2020

21-
### MorphoChainlinkOracleV2Factory
21+
## Deploy an Oracle
2222

23-
#### Deploy an Oracle
24-
25-
To deploy a `MorphoChainlinkOracleV2` on the Ethereum mainnet, use the `MorphoChainlinkOracleV2Factory` to create a new oracle. Call the `createMorphoChainlinkOracleV2` function with the following parameters:
23+
To deploy a `MorphoChainlinkOracleV2` on the Ethereum mainnet, use the `MorphoChainlinkOracleV2Factory` to create a new oracle.
24+
Call the `createMorphoChainlinkOracleV2` function with the following parameters:
2625

2726
- `baseVault`: The ERC4626 token vault for the base asset.
2827
- `baseVaultConversionSample`: A sample amount for converting base vault units.
@@ -37,11 +36,11 @@ To deploy a `MorphoChainlinkOracleV2` on the Ethereum mainnet, use the `MorphoCh
3736
**Warning:** If there is an ERC4626-compliant vault for `baseVault` or `quoteVault`, the `baseTokenDecimals` or `quoteTokenDecimals` are still the decimals of the asset in the vault, and not the decimals of the Vault asset.
3837
E.g: for a MetaMorpho WETH vault, as `baseVault`, the `baseTokenDecimals` is 18 as WETH has 18 decimals.
3938

40-
#### Addresses
39+
### Addresses
4140

4241
The Ethereum Mainnet address of this factory is [0x3A7bB36Ee3f3eE32A60e9f2b33c1e5f2E83ad766](https://etherscan.io/address/0x3a7bb36ee3f3ee32a60e9f2b33c1e5f2e83ad766#code).
4342

44-
#### Examples
43+
### Examples
4544

4645
Below are the arguments to fill for the creation of the WETH/USDT oracle:
4746

@@ -95,7 +94,7 @@ and for the wstETH/ETH oracle:
9594

9695
A specific implementation, the `WstEthStEthExchangeRateChainlinkAdapter`, provides the exchange rate between wstETH and stETH as a Chainlink-interface-compliant feed.
9796

98-
This adapter is deployed on Ethereum Mainnet at the address [0x905b7dAbCD3Ce6B792D874e303D336424Cdb1421](https://etherscan.io/address/0x905b7dabcd3ce6b792d874e303d336424cdb1421#code).
97+
This adapter is deployed on the Ethereum Mainnet at the address [0x905b7dAbCD3Ce6B792D874e303D336424Cdb1421](https://etherscan.io/address/0x905b7dabcd3ce6b792d874e303d336424cdb1421#code).
9998

10099
## Getting Started
101100

0 commit comments

Comments
 (0)