Skip to content

Commit 6fb7202

Browse files
committed
feat(readme): updating with json format
1 parent 96ddd3d commit 6fb7202

File tree

1 file changed

+33
-27
lines changed

1 file changed

+33
-27
lines changed

README.md

Lines changed: 33 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -52,45 +52,51 @@ To deploy a `MorphoChainlinkOracleV2` on the Ethereum mainnet, use the `MorphoCh
5252

5353
Below are the arguments to fill for the creation of the WETH/USDT oracle:
5454

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,
6566
- `salt`: <user-defined value used to make the address unique>,
67+
```
6668

6769
and for the sDAI/USDC oracle:
6870

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",
7376
- `baseTokenDecimals`: 18,
74-
- `quoteVault`: 0x0000000000000000000000000000000000000000,
77+
- `quoteVault`: "0x0000000000000000000000000000000000000000",
7578
- `quoteVaultConversionSample`: 1,
76-
- `quoteFeed1`: 0x8fFfFfd4AfB6115b954Bd326cbe7B4BA576818f6,
77-
- `quoteFeed2`: 0x0000000000000000000000000000000000000000,
79+
- `quoteFeed1`: "0x8fFfFfd4AfB6115b954Bd326cbe7B4BA576818f6",
80+
- `quoteFeed2`: "0x0000000000000000000000000000000000000000",
7881
- `quoteTokenDecimals`: 6,
7982
- `salt`: <user-defined value used to make the address unique>,
83+
```
8084

8185
and for the wstETH/ETH oracle:
8286

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,
9398
- `salt`: <user-defined value used to make the address unique>,
99+
```
94100

95101
## Getting Started
96102

0 commit comments

Comments
 (0)