morpho-blue-oracles
morpho-blue-oracles copied to clipboard
Add SfrxETH-FrxETH exchange rate adapter
This PR creates an sfrxETH-frxETH exchange rate adapter following the structure of the wstETH-stETH exchange rate adapter. The only difference is that the exchange rate is computed by calling the pricePerShare function instead of getPooledEthByShares
.
Run tests via:
forge test --match-path test/SfrxEthFrxEthExchangeRateChainlinkAdapterTest.sol