Skip to content

Commit 8c4f772

Browse files
committed
Updated README
1 parent b6c5eaf commit 8c4f772

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@ This oracle handles the following cases among others (let's say that our pair is
1818

1919
## Deploy an Oracle
2020

21-
To deploy a `MorphoPythOracle` on Ethereum, it is highly recommended to use the factory `MorphoPythOracleFactory`.
21+
To deploy a `MorphoPythOracle` on Ethereum, it is highly recommended to use the factory `MorphoPythOracleFactory`. Please refer to the factory addresses [below](#factory-addresses).
22+
If don't see the factory address for your chain, you can deploy your own factory by using the [`scripts/MorphoPythOracleFactoryDeploy.s.sol`](scripts/MorphoPythOracleFactoryDeploy.s.sol) script or by creating an issue on this repository.
23+
If you are deploying, please make sure to update the [README.md](README.md) file with the new factory address by creating a PR.
24+
2225
To do so, call the `createMorphoPythOracle` function with the following parameters:
2326

2427
- `pyth`: The Pyth contract address. This is the address of the Pyth contract deployed on the chain. You can find the address of the Pyth contract for each chain [here](https://docs.pyth.network/price-feeds/contract-addresses/evm).
@@ -36,7 +39,7 @@ To do so, call the `createMorphoPythOracle` function with the following paramete
3639
**Warning:** If there is an ERC4626-compliant vault for `baseVault` or `quoteVault`, the `baseTokenDecimals` or `quoteTokenDecimals` are still the decimals of the underlying asset of the vault, and not the decimals of the Vault itself.
3740
E.g: for a MetaMorpho WETH vault, as `baseVault`, the `baseTokenDecimals` is 18 as WETH has 18 decimals.
3841

39-
### Addresses
42+
### Factory Addresses
4043

4144
| Network Name | Address | Explorer Link |
4245
|--------------|---------|---------------|
@@ -65,7 +68,6 @@ Below are the arguments to fill for the creation of the WBTC/USDT oracle on Base
6568
"salt": "<user-defined value used to make the address unique>",
6669
```
6770

68-
6971
## Developers
7072

7173
Install dependencies: `forge install`

0 commit comments

Comments
 (0)