Skip to content

Commit

Permalink
feat(readme): updating with json format
Browse files Browse the repository at this point in the history
  • Loading branch information
tomrpl committed Mar 6, 2024
1 parent 96ddd3d commit 6fb7202
Showing 1 changed file with 33 additions and 27 deletions.
60 changes: 33 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,45 +52,51 @@ To deploy a `MorphoChainlinkOracleV2` on the Ethereum mainnet, use the `MorphoCh

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

- `baseVault`: 0x0000000000000000000000000000000000000000,
- `baseVaultConversionSample`:1,
- `baseFeed1`: 0x0000000000000000000000000000000000000000,
- `baseFeed2`: 0x0000000000000000000000000000000000000000,
- `baseTokenDecimals`:18,
- `quoteVault`:0x0000000000000000000000000000000000000000,
- `quoteVaultConversionSample`:1,
- `quoteFeed1`: 0xEe9F2375b4bdF6387aa8265dD4FB8F16512A1d46,
- `quoteFeed2`: 0x0000000000000000000000000000000000000000,
- `quoteTokenDecimals`:6,
```json
- `baseVault`: "0x0000000000000000000000000000000000000000",
- `baseVaultConversionSample`: 1,
- `baseFeed1`: "0x0000000000000000000000000000000000000000",
- `baseFeed2`: "0x0000000000000000000000000000000000000000",
- `baseTokenDecimals`: 18,
- `quoteVault`:"0x0000000000000000000000000000000000000000",
- `quoteVaultConversionSample`: 1,
- `quoteFeed1`: "0xEe9F2375b4bdF6387aa8265dD4FB8F16512A1d46",
- `quoteFeed2`: "0x0000000000000000000000000000000000000000",
- `quoteTokenDecimals`: 6,
- `salt`: <user-defined value used to make the address unique>,
```

and for the sDAI/USDC oracle:

- `baseVault`: 0x83f20f44975d03b1b09e64809b757c47f942beea,
- `baseVaultConversionSample`: 1e18,
- `baseFeed1`: 0xAed0c38402a5d19df6E4c03F4E2DceD6e29c1ee9,
- `baseFeed2`: 0x0000000000000000000000000000000000000000,
```json
- `baseVault`: "0x83f20f44975d03b1b09e64809b757c47f942beea",
- `baseVaultConversionSample`: 1000000000000000000, // 1e18
- `baseFeed1`: "0xAed0c38402a5d19df6E4c03F4E2DceD6e29c1ee9",
- `baseFeed2`: "0x0000000000000000000000000000000000000000",
- `baseTokenDecimals`: 18,
- `quoteVault`: 0x0000000000000000000000000000000000000000,
- `quoteVault`: "0x0000000000000000000000000000000000000000",
- `quoteVaultConversionSample`: 1,
- `quoteFeed1`: 0x8fFfFfd4AfB6115b954Bd326cbe7B4BA576818f6,
- `quoteFeed2`: 0x0000000000000000000000000000000000000000,
- `quoteFeed1`: "0x8fFfFfd4AfB6115b954Bd326cbe7B4BA576818f6",
- `quoteFeed2`: "0x0000000000000000000000000000000000000000",
- `quoteTokenDecimals`: 6,
- `salt`: <user-defined value used to make the address unique>,
```

and for the wstETH/ETH oracle:

- `baseVault`:0x0000000000000000000000000000000000000000,
- `baseVaultConversionSample`:1,
- `baseFeed1`:0x905b7dAbCD3Ce6B792D874e303D336424Cdb1421,
- `baseFeed2`:0x86392dC19c0b719886221c78AB11eb8Cf5c52812,
- `baseTokenDecimals`:18,
- `quoteVault`:0x0000000000000000000000000000000000000000,
- `quoteVaultConversionSample`:1,
- `quoteFeed1`:0x0000000000000000000000000000000000000000,
- `quoteFeed2`:0x0000000000000000000000000000000000000000,
- `quoteTokenDecimals`:18,
```json
- `baseVault`: "0x0000000000000000000000000000000000000000",
- `baseVaultConversionSample`: 1,
- `baseFeed1`: "0x905b7dAbCD3Ce6B792D874e303D336424Cdb1421",
- `baseFeed2`: "0x86392dC19c0b719886221c78AB11eb8Cf5c52812",
- `baseTokenDecimals`: 18,
- `quoteVault`: "0x0000000000000000000000000000000000000000",
- `quoteVaultConversionSample`: 1,
- `quoteFeed1`: "0x0000000000000000000000000000000000000000",
- `quoteFeed2`: "0x0000000000000000000000000000000000000000",
- `quoteTokenDecimals`: 18,
- `salt`: <user-defined value used to make the address unique>,
```

## Getting Started

Expand Down

0 comments on commit 6fb7202

Please sign in to comment.