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
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,10 @@ This oracle handles the following cases among others (let's say that our pair is
18
18
19
19
## Deploy an Oracle
20
20
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
+
22
25
To do so, call the `createMorphoPythOracle` function with the following parameters:
23
26
24
27
-`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
36
39
**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.
37
40
E.g: for a MetaMorpho WETH vault, as `baseVault`, the `baseTokenDecimals` is 18 as WETH has 18 decimals.
38
41
39
-
### Addresses
42
+
### Factory Addresses
40
43
41
44
| Network Name | Address | Explorer Link |
42
45
|--------------|---------|---------------|
@@ -65,7 +68,6 @@ Below are the arguments to fill for the creation of the WBTC/USDT oracle on Base
65
68
"salt": "<user-defined value used to make the address unique>",
0 commit comments