@@ -36,15 +36,15 @@ The Ethereum Mainnet address of this factory is [0x3A7bB36Ee3f3eE32A60e9f2b33c1e
3636
3737To create a new ` MorphoChainlinkOracleV2 ` oracle using the factory, call the ` createMorphoChainlinkOracleV2 ` function with the following parameters:
3838
39- - ` baseVault ` : The ERC4626 token vault for the base asset.
40- - ` baseVaultConversionSample ` : A sample amount for converting base vault units.
41- - ` baseFeed1 ` , ` baseFeed2 ` : Chainlink-interface-compliant data feeds for the base asset.
42- - ` baseTokenDecimals ` : Decimal precision of the base asset.
43- - ` quoteVault ` : The ERC4626 token vault for the quote asset.
44- - ` quoteVaultConversionSample ` : A sample amount for converting quote vault units.
45- - ` quoteFeed1 ` , ` quoteFeed2 ` : Chainlink-interface-compliant data feeds for the quote asset.
46- - ` quoteTokenDecimals ` : Decimal precision of the quote asset.
47- - ` salt ` : A unique identifier to create deterministic addresses for deployed oracles.
39+ - ' baseVault' : The ERC4626 token vault for the base asset.
40+ - ' baseVaultConversionSample' : A sample amount for converting base vault units.
41+ - ' baseFeed1', ' baseFeed2' : Chainlink-interface-compliant data feeds for the base asset.
42+ - ' baseTokenDecimals' : Decimal precision of the base asset.
43+ - ' quoteVault' : The ERC4626 token vault for the quote asset.
44+ - ' quoteVaultConversionSample' : A sample amount for converting quote vault units.
45+ - ' quoteFeed1', ' quoteFeed2' : Chainlink-interface-compliant data feeds for the quote asset.
46+ - ' quoteTokenDecimals' : Decimal precision of the quote asset.
47+ - ' salt' : A unique identifier to create deterministic addresses for deployed oracles.
4848
4949### Deploy an Oracle
5050
@@ -53,49 +53,49 @@ To deploy a `MorphoChainlinkOracleV2` on the Ethereum mainnet, use the `MorphoCh
5353Below are the arguments to fill for the creation of the WETH/USDT oracle:
5454
5555``` json
56- ` baseVault` : "0x0000000000000000000000000000000000000000",
57- ` baseVaultConversionSample` : 1,
58- ` baseFeed1` : "0x0000000000000000000000000000000000000000",
59- ` baseFeed2` : "0x0000000000000000000000000000000000000000",
60- ` baseTokenDecimals` : 18,
61- ` quoteVault` :"0x0000000000000000000000000000000000000000",
62- ` quoteVaultConversionSample` : 1,
63- ` quoteFeed1` : "0xEe9F2375b4bdF6387aa8265dD4FB8F16512A1d46",
64- ` quoteFeed2` : "0x0000000000000000000000000000000000000000",
65- ` quoteTokenDecimals` : 6,
66- ` salt` : <user-defined value used to make the address unique>,
56+ " baseVault" : " 0x0000000000000000000000000000000000000000" ,
57+ " baseVaultConversionSample" : 1 ,
58+ " baseFeed1" : " 0x0000000000000000000000000000000000000000" ,
59+ " baseFeed2" : " 0x0000000000000000000000000000000000000000" ,
60+ " baseTokenDecimals" : 18 ,
61+ " quoteVault" :" 0x0000000000000000000000000000000000000000" ,
62+ " quoteVaultConversionSample" : 1 ,
63+ " quoteFeed1" : " 0xEe9F2375b4bdF6387aa8265dD4FB8F16512A1d46" ,
64+ " quoteFeed2" : " 0x0000000000000000000000000000000000000000" ,
65+ " quoteTokenDecimals" : 6 ,
66+ " salt" : <user-defined value used to make the address unique>,
6767```
6868
6969and for the sDAI/USDC oracle:
7070
7171``` json
72- ` baseVault` : "0x83F20F44975D03b1b09e64809B757c47f942BEeA",
73- ` baseVaultConversionSample` : 1000000000000000000, // 1e18
74- ` baseFeed1` : "0xAed0c38402a5d19df6E4c03F4E2DceD6e29c1ee9",
75- ` baseFeed2` : "0x0000000000000000000000000000000000000000",
76- ` baseTokenDecimals` : 18,
77- ` quoteVault` : "0x0000000000000000000000000000000000000000",
78- ` quoteVaultConversionSample` : 1,
79- ` quoteFeed1` : "0x8fFfFfd4AfB6115b954Bd326cbe7B4BA576818f6",
80- ` quoteFeed2` : "0x0000000000000000000000000000000000000000",
81- ` quoteTokenDecimals` : 6,
82- ` salt` : <user-defined value used to make the address unique>,
72+ " baseVault" : " 0x83F20F44975D03b1b09e64809B757c47f942BEeA" ,
73+ " baseVaultConversionSample" : 1000000000000000000 , // 1e18
74+ " baseFeed1" : " 0xAed0c38402a5d19df6E4c03F4E2DceD6e29c1ee9" ,
75+ " baseFeed2" : " 0x0000000000000000000000000000000000000000" ,
76+ " baseTokenDecimals" : 18 ,
77+ " quoteVault" : " 0x0000000000000000000000000000000000000000" ,
78+ " quoteVaultConversionSample" : 1 ,
79+ " quoteFeed1" : " 0x8fFfFfd4AfB6115b954Bd326cbe7B4BA576818f6" ,
80+ " quoteFeed2" : " 0x0000000000000000000000000000000000000000" ,
81+ " quoteTokenDecimals" : 6 ,
82+ " salt" : <user-defined value used to make the address unique>,
8383```
8484
8585and for the wstETH/ETH oracle:
8686
8787``` json
88- ` baseVault` : "0x0000000000000000000000000000000000000000",
89- ` baseVaultConversionSample` : 1,
90- ` baseFeed1` : "0x905b7dAbCD3Ce6B792D874e303D336424Cdb1421",
91- ` baseFeed2` : "0x86392dC19c0b719886221c78AB11eb8Cf5c52812",
92- ` baseTokenDecimals` : 18,
93- ` quoteVault` : "0x0000000000000000000000000000000000000000",
94- ` quoteVaultConversionSample` : 1,
95- ` quoteFeed1` : "0x0000000000000000000000000000000000000000",
96- ` quoteFeed2` : "0x0000000000000000000000000000000000000000",
97- ` quoteTokenDecimals` : 18,
98- ` salt` : <user-defined value used to make the address unique>,
88+ " baseVault" : " 0x0000000000000000000000000000000000000000" ,
89+ " baseVaultConversionSample" : 1 ,
90+ " baseFeed1" : " 0x905b7dAbCD3Ce6B792D874e303D336424Cdb1421" ,
91+ " baseFeed2" : " 0x86392dC19c0b719886221c78AB11eb8Cf5c52812" ,
92+ " baseTokenDecimals" : 18 ,
93+ " quoteVault" : " 0x0000000000000000000000000000000000000000" ,
94+ " quoteVaultConversionSample" : 1 ,
95+ " quoteFeed1" : " 0x0000000000000000000000000000000000000000" ,
96+ " quoteFeed2" : " 0x0000000000000000000000000000000000000000" ,
97+ " quoteTokenDecimals" : 18 ,
98+ " salt" : <user-defined value used to make the address unique>,
9999```
100100
101101## Getting Started
0 commit comments