@@ -52,45 +52,51 @@ To deploy a `MorphoChainlinkOracleV2` on the Ethereum mainnet, use the `MorphoCh
52
52
53
53
Below are the arguments to fill for the creation of the WETH/USDT oracle:
54
54
55
- - ` baseVault ` : 0x0000000000000000000000000000000000000000,
56
- - ` baseVaultConversionSample ` :1,
57
- - ` baseFeed1 ` : 0x0000000000000000000000000000000000000000,
58
- - ` baseFeed2 ` : 0x0000000000000000000000000000000000000000,
59
- - ` baseTokenDecimals ` :18,
60
- - ` quoteVault ` :0x0000000000000000000000000000000000000000,
61
- - ` quoteVaultConversionSample ` :1,
62
- - ` quoteFeed1 ` : 0xEe9F2375b4bdF6387aa8265dD4FB8F16512A1d46,
63
- - ` quoteFeed2 ` : 0x0000000000000000000000000000000000000000,
64
- - ` quoteTokenDecimals ` :6,
55
+ ``` 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,
65
66
- `salt`: <user-defined value used to make the address unique>,
67
+ ```
66
68
67
69
and for the sDAI/USDC oracle:
68
70
69
- - ` baseVault ` : 0x83f20f44975d03b1b09e64809b757c47f942beea,
70
- - ` baseVaultConversionSample ` : 1e18,
71
- - ` baseFeed1 ` : 0xAed0c38402a5d19df6E4c03F4E2DceD6e29c1ee9,
72
- - ` baseFeed2 ` : 0x0000000000000000000000000000000000000000,
71
+ ``` json
72
+ - `baseVault`: "0x83f20f44975d03b1b09e64809b757c47f942beea",
73
+ - `baseVaultConversionSample`: 1000000000000000000, // 1e18
74
+ - `baseFeed1`: "0xAed0c38402a5d19df6E4c03F4E2DceD6e29c1ee9",
75
+ - `baseFeed2`: "0x0000000000000000000000000000000000000000",
73
76
- `baseTokenDecimals`: 18,
74
- - ` quoteVault ` : 0x0000000000000000000000000000000000000000,
77
+ - `quoteVault`: " 0x0000000000000000000000000000000000000000" ,
75
78
- `quoteVaultConversionSample`: 1,
76
- - ` quoteFeed1 ` : 0x8fFfFfd4AfB6115b954Bd326cbe7B4BA576818f6,
77
- - ` quoteFeed2 ` : 0x0000000000000000000000000000000000000000,
79
+ - `quoteFeed1`: " 0x8fFfFfd4AfB6115b954Bd326cbe7B4BA576818f6" ,
80
+ - `quoteFeed2`: " 0x0000000000000000000000000000000000000000" ,
78
81
- `quoteTokenDecimals`: 6,
79
82
- `salt`: <user-defined value used to make the address unique>,
83
+ ```
80
84
81
85
and for the wstETH/ETH oracle:
82
86
83
- - ` baseVault ` :0x0000000000000000000000000000000000000000,
84
- - ` baseVaultConversionSample ` :1,
85
- - ` baseFeed1 ` :0x905b7dAbCD3Ce6B792D874e303D336424Cdb1421,
86
- - ` baseFeed2 ` :0x86392dC19c0b719886221c78AB11eb8Cf5c52812,
87
- - ` baseTokenDecimals ` :18,
88
- - ` quoteVault ` :0x0000000000000000000000000000000000000000,
89
- - ` quoteVaultConversionSample ` :1,
90
- - ` quoteFeed1 ` :0x0000000000000000000000000000000000000000,
91
- - ` quoteFeed2 ` :0x0000000000000000000000000000000000000000,
92
- - ` quoteTokenDecimals ` :18,
87
+ ``` 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,
93
98
- `salt`: <user-defined value used to make the address unique>,
99
+ ```
94
100
95
101
## Getting Started
96
102
0 commit comments